go.*,vendor: Bump the sigs.k8s.io/kind dependency to v0.12.0

Signed-off-by: timflannagan<EMAIL_ADDRESS>
Description of the change:
Update the sigs.k8s.io/kind dependency that's used in the e2e suite's kind provisioner to the v0.12.0 release which is based on top of k8s 1.23.
Motivation for the change:
Avoid skew between the client and server k8s dependencies in this repository.
Reviewer Checklist

[ ] Implementation matches the proposed design, or proposal is updated to match implementation
[ ] Sufficient unit test coverage
[ ] Sufficient end-to-end test coverage
[ ] Docs updated or added to /doc
[ ] Commit messages sensible and descriptive
[ ] Tests marked as [FLAKE] are truly flaky
[ ] Tests that remove the [FLAKE] tag are no longer flaky

/lgtm


ingest audio files with custom thumbnails

we're not doing this anymore - the plan is to have default thumbnails


Setting correct types for select options and also return types for find-functions, Fixes #11.

Hello, I didn't notice that you had submitted this PR, so I pushed changes that fixes #11 and also added tests. Thank you still for your contribution, but will close this for now!


how to avoid sending dotfiles on a http response

Like files in a .git folder or a .filename

func containsDot(r *http.Request) {
}

Hi,
the Go project does not use its bug tracker for general discussion or asking questions about the language. The Github bug tracker is only used for tracking bugs and proposals going through the Proposal Process.
Please see the Questions wiki page; it has a list of good places for asking questions. Thanks!
Closing here, since this is not a bug.

@ALTree please give me an answer or a resource to learn

Here's a list of places were you can ask questions about Go: https://github.com/golang/go/wiki/Questions#asking-questions


Feature Request: FOOTER_INFO mutiline support

Type

[ ] General question or discussion
[ ] Propose a brand new feature
[X] Request modification of existing behavior or design

What is the problem that your feature request solves

FOOTER_INFO  config support muti line
Describe the ideal specific solution you'd want, and whether it fits into any broader scope of changes

What hacks or alternative solutions have you tried to solve the problem?

How badly do you want this new feature?

[ ] It's an urgent deal-breaker, I can't live without it
[ ] It's important to add it in the near-mid term future
[X] It would be nice to have eventually

[ ] I'm willing to contribute dev time / money to fix this issue
[ ] I like ArchiveBox so far / would recommend it to a friend
[ ] I've had a lot of difficulty getting ArchiveBox set up

For now I recommend people take advantage of the CUSTOM_TEMPLATES_DIR config option. That option allows you to override arbitrary HTML inside the templates, and you can easily add any HTML you need to the footer.
https://github.com/ArchiveBox/ArchiveBox/wiki/Configuration#custom_templates_dir
If you run archivebox version you can see the directory containing the default templates:
[i] Source-code locations:
 √  PACKAGE_DIR           25 files        valid     /Users/squash/Documents/opt/ArchiveBox/archivebox
 √  TEMPLATES_DIR         4 files         valid     /Users/squash/Documents/opt/ArchiveBox/archivebox/templates

You can create a new dir containing whatever templates you want to override from TEMPLATES_DIR, then set CUSTOM_TEMPLATES_DIR to point to it and ArchiveBox will load your custom HTML in favor of the defaults.


Adds device context manager

Proposed changes
Utilize python contextlib to easily swap out what device is being used without having to keep track, updated fft tests to showcase effectiveness.
Checklist
Put an x in the boxes that apply.

[x] I have read the CONTRIBUTING document
[x] I have run pre-commit run --all-files to format my code / installed pre-commit prior to committing changes
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have updated the necessary documentation (if needed)

Very nice! I've been wanting to do something like this on the C++ side to simplify writing ops which take streams

Yeah its pretty handy when you only have a device specific implementation. In c++ could probably achieve something similar with a lambda + macro

Love it. We have been putting off doing that for a while now.
If you plan on doing the same in C++ then I 'd suggest RAII instead of lambda. Basically a simple struct that keeps the old device and sets the desired device on construction and resets to the old device on destruction. Managing device scopes is literally done with C++ scopes after that. Also this should be able to take a stream instead of simply a device so we can use it in the ops or gradients to simplify things if we want to.

💯 I was about to make the exact same comment re stream and RAII on the C++ side.
I don't want to overly complexify things, but I also wonder if we should do it on the C++ side and bind it in core instead of putting it in mlx.utils 🤔 . Seems sufficiently useful.

Something like this ? (kindof annoying the signatures dont match as default_device returns a const ref)
struct StreamContextManager {
  public:
  StreamContextManager(StreamOrDevice s) {
    _stream = default_stream(default_device());
    set_default_stream(to_stream(s));
  }

  ~StreamContextManager() {
    set_default_stream(_stream);
  }

  private:
    Stream _stream;
};

Pushed some progress, though it seems like after calling set_default_device in c++ it doesn't seem to have an affect from python. I can confirm that the stream is cpu in context manager but the subsequent ops calls still use gpu. Will mess with this more, but just pushing in case this is something you guys ran into before

nvm, fixing it now

Updated and added docs, works nicely with the with keyword.
Couldn't get the decorator part working as I'd like, but it's not essential so will just leave it as is for now. If anyone is interested in adding decorator support, essentially just need to add __call__ def to the PyStreamContextManager class that takes in a py::function  argument and return a wrapper function that calls enter func(*args, **kwargs) exit in that order.

Yea right it's not so elegant on the implementation side. I don't love that, though I think it could certainly be done and without breaking any downstream code.
But let's at least consider alternative names. For example another option is lower case stream is the context manager:
with mx.stream(...):
   ....

Personally I like that a lot more than mx.StreamConstextManager even though it introduces a bit of ambiguity between Stream and stream.
Any other suggestions?

I think dropping the manager part and leaving it as StreamContext fits its purpose.
with mx.StreamContext(mx.cpu):
   ...

I think dropping the manager part and leaving it as StreamContext fits its purpose.

I still like simple mx.stream more but that is certainly an improvement.
Just for some points of comparison:

PyTorch uses torch.cuda.device(..) as the context manager
Jax uses jax.default_device(..) as the context manager

For streams torch uses a class called StreamContext they have a wrapper called stream that returns an instance of it

Lol so they do both of our suggestions. What's the point of having both, wouldn't one just always use torch.stream?

added the stream wrapper function so we support both options similar to torch

Wonderful, thanks!! That's really nice!
Two more comments, then I think we are good:

Could you update the C++ to be StreamContext as well? Seems better to be consistent there.
Update the tests and docs to use the stream wrapper. I think it would be good to have that as the preferred option.

I pushed a few changes to the docs to fix some issues there.
Also I noticed that the following runs:
with mx.stream(None):
  pass

That should probably not run I think.


DS-3366 Fix handleresolver by removing out.close

https://jira.duraspace.org/browse/DS-3366

Just to record it here... 6.0 seems to have the same code: https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/handle/HandleResolverReader.java#L154
The odd thing is that 6.0 seems to work (at least on demo.dspace.org, as noted in the JIRA ticket), but this line doesn't seem to work for 5.6.  We should figure out why that is. :)

Verified this bug also does exist when running dspace-6_x branch from a vagrant-dspace VM, and that this one liner fixes the problem. Merging & cherry-picking to all active branches.


Google Colab upgraded CUDA in their base container images to 12.2, and now notebooks depending on bitsandbytes are all broken

System Info
CUDA SETUP: Detected CUDA version 122
CUDA SETUP: Required library version not found: libbitsandbytes_cuda122_nocublaslt.so. Maybe you need to compile it from source?
Then bitsandbytes attempt to compile it automatically but setup.py gets confused when detecting paths and fails. And then the notebook fails.
CUDA SETUP: Something unexpected happened. Please compile from source:
git clone git@github.com:TimDettmers/bitsandbytes.git
cd bitsandbytes
CUDA_VERSION=122_nomatmul
python setup.py install
CUDA SETUP: Setup Failed!
CUDA SETUP: Something unexpected happened. Please compile from source:
git clone git@github.com:TimDettmers/bitsandbytes.git
cd bitsandbytes
CUDA_VERSION=122_nomatmul
python setup.py install
/usr/local/lib/python3.10/dist-packages/bitsandbytes/cuda_setup/main.py:145: UserWarning: /usr/lib64-nvidia did not contain ['libcudart.so', 'libcudart.so.11.0', 'libcudart.so.12.0'] as expected! Searching further paths...
warn(msg)
/usr/local/lib/python3.10/dist-packages/bitsandbytes/cuda_setup/main.py:145: UserWarning: WARNING: The following directories listed in your path were found to be non-existent: {PosixPath('/sys/fs/cgroup/memory.events /var/colab/cgroup/jupyter-children/memory.events')}
warn(msg)
/usr/local/lib/python3.10/dist-packages/bitsandbytes/cuda_setup/main.py:145: UserWarning: WARNING: The following directories listed in your path were found to be non-existent: {PosixPath('8013'), PosixPath('http'), PosixPath('//<IP_ADDRESS>')}
warn(msg)
/usr/local/lib/python3.10/dist-packages/bitsandbytes/cuda_setup/main.py:145: UserWarning: WARNING: The following directories listed in your path were found to be non-existent: {PosixPath('--logtostderr --listen_host=<IP_ADDRESS> --target_host=<IP_ADDRESS> --tunnel_background_save_url=https'), PosixPath('//colab.research.google.com/tun/m/cc48301118ce562b961b3c22d803539adc1e0c19/gpu-v100-s-uz348on3qd9l --tunnel_background_save_delay=10s --tunnel_periodic_background_save_frequency=30m0s --enable_output_coalescing=true --output_coalescing_required=true')}
warn(msg)
/usr/local/lib/python3.10/dist-packages/bitsandbytes/cuda_setup/main.py:145: UserWarning: WARNING: The following directories listed in your path were found to be non-existent: {PosixPath('/datalab/web/pyright/typeshed-fallback/stdlib,/usr/local/lib/python3.10/dist-packages')}
warn(msg)
/usr/local/lib/python3.10/dist-packages/bitsandbytes/cuda_setup/main.py:145: UserWarning: WARNING: The following directories listed in your path were found to be non-existent: {PosixPath('/env/python')}
warn(msg)
/usr/local/lib/python3.10/dist-packages/bitsandbytes/cuda_setup/main.py:145: UserWarning: WARNING: The following directories listed in your path were found to be non-existent: {PosixPath('module'), PosixPath('//ipykernel.pylab.backend_inline')}
warn(msg)
/usr/local/lib/python3.10/dist-packages/bitsandbytes/cuda_setup/main.py:145: UserWarning: WARNING: Compute capability < 7.5 detected! Only slow 8-bit matmul is supported for your GPU!
warn(msg)
Reproduction
Use anything on Colab that depends on bitsandbytes.
Expected behavior
After pip installs bitsandbytes from requirements, CUDA version "122" is detected and libbitsandbytes_cuda122_nocublaslt.so is available, is loaded successfully, and the notebook operates normally.

Hi @apurtell
Thanks for the issue! I quickly tried to install bnb on a free-tier google colab instance: https://colab.research.google.com/drive/1PO6Vy0ECeA-AL2wYa9iQV8YlcdS8pueb?usp=sharing are you using Gcolab pro?

!apt-get update
!apt-get install cuda-toolkit-11-8
import os
os.environ["LD_LIBRARY_PATH"] += ":" + "/usr/local/cuda-11/lib64"
os.environ["LD_LIBRARY_PATH"] += ":" + "/usr/local/cuda-11.8/lib64"

The above is not a solution. It could be a workaround, for some.
Native libraries compiled for various CUDA versions are shipped and selected by bitsandbytes according to detected version. What is missing here are native libraries compiled for recent CUDA versions. That is something that should be provided in new releases.
Alternatively if the existing shipped native libraries will still link and function as expected with recent CUDA versions, then the native library selection logic can be changed to attempt a fallback to whatever is most recent.
Falling back to compiling from source is definitely a reasonable last resort, but of course it’s not going to work wherever someone has (rightly) removed the compiler toolchain from container or VM images, which should be expected, because it is a very basic security hardening step.

I never said it was a solution
For me, I work at Google Colab, it is a solution

I hope you find the "solution"

Come on, be professional. Is Reddit or X down?

I am a basic user
If I were a professional, I would read the comment, check what was proposed, and appreciate the comment, even if it is a partial solution, because if you publish a problem, it is because you do not have a solution, and there are people who want to help you
I had your problem and I solved it by reading a comment from another basic user on another github, and I implemented it and it worked where I work (google colab)
pd: I don't use fb/ig/tw, but I understand your sarcasm,

!apt-get update !apt-get install cuda-toolkit-11-8 import os os.environ["LD_LIBRARY_PATH"] += ":" + "/usr/local/cuda-11/lib64" os.environ["LD_LIBRARY_PATH"] += ":" + "/usr/local/cuda-11.8/lib64"

Hi,
can you tell me where in collab I have to paste this code, and instead of what?
I worked with the ShivamShrirao colab. It was great but now I only get errors.
thanks!


Integration into ESPHome

I'm intrigued by this piece of software, and I would love to be able to integrate it into my CC2652 POE Coordinator, that's running ESP32 with a CC2652 Zigbee module in it as well.
Has anyone attempted this yet?

See https://github.com/esphome/feature-requests/issues/454.
We didn't make any progress yet, so if you are able to help, all help is welcome. 😉

Almost there https://github.com/esphome/feature-requests/issues/454

Should be working now? It would be awesome if this would be intergraded into ESPHome for updates and editing.

@robbinonline yes it is working. not merged yet but with this  branch and this config
ble_client:
  - mac_address: XX:XX:XX:XX:XX:XX
    id: cover
    maintain_connection: false

cover:
  - platform: template
    name: cover_test
    optimistic: true
    open_action:
      - ble_client.ble_write:
          id: cover
          service_uuid: CBA20D00-224D-11E6-9FB8-0002A5D5C51B
          characteristic_uuid: CBA20002-224D-11E6-9FB8-0002A5D5C51B
          # List of bytes to write.
          value: [0x57, 0x0F, 0x45, 0x01, 0x05, 0xFF, 0x00]
    close_action:
      - ble_client.ble_write:
          id: cover
          service_uuid: CBA20D00-224D-11E6-9FB8-0002A5D5C51B
          characteristic_uuid: CBA20002-224D-11E6-9FB8-0002A5D5C51B
          # List of bytes to write.
          value: [0x57, 0x0F, 0x45, 0x01, 0x05, 0xFF, 0x64]
    stop_action:
      - ble_client.ble_write:
          id: cover
          service_uuid: CBA20D00-224D-11E6-9FB8-0002A5D5C51B
          characteristic_uuid: CBA20002-224D-11E6-9FB8-0002A5D5C51B
          # List of bytes to write.
          value: [0x57, 0x0F, 0x45, 0x01, 0x00, 0xFF]

Works great!

@ppanagiotis Thanks! I have to found out how to use this branch in hacs and then give it a try!

@robbinonline I don't know if you've figured it out, but I created a quick repo with those changes that you can use directly from your esphome config :
external_components:
  - source:
      type: git
      url: https://github.com/Ulrar/esphome-temp.git
      ref: ble_write_action
    components: [ ble_client ]

The only change I made myself is hardcoding the const.py change so it can be imported as an external components while we wait for it to be merged.
Seems to work well with switchbot curtains so far for me.
I'll add that you probably want some extra code to parse the BLE advertisements sent by the curtains for both the battery level and the current status (open / close), here's what my config looks like for that :
sensor:
  - platform: template
    name: $sbcbw Right Battery
    id: ${sbcbw_nospace}_right_battery
    unit_of_measurement: '%'
    device_class: battery
    accuracy_decimals: 0
    icon: "mdi:battery"
    update_interval: 180s

  - platform: template
    name: $sbcbw Left Battery
    id: ${sbcbw_nospace}_left_battery
    unit_of_measurement: '%'
    device_class: battery
    accuracy_decimals: 0
    icon: "mdi:battery"
    update_interval: 180s

esp32_ble_tracker:
  id: $device_name
  scan_parameters:
    interval: 320ms
    window: 320ms
  on_ble_advertise:
    - mac_address: !secret curtain_bay_window_mac
      then:
        - lambda: |-
            switchbot_curtain( &x
                             , id(${sbcbw_nospace}_cover)
                             , id(${sbcbw_nospace}_left_battery)
                             );
    - mac_address: !secret curtain2_bay_window_mac
      then:
        - lambda: |-
            switchbot_battery_only(&x, id(${sbcbw_nospace}_right_battery));

ble_client:
  - mac_address: !secret curtain_bay_window_mac
    id: ${sbcbw_nospace}
    maintain_connection: false

cover:
  - platform: template
    id: ${sbcbw_nospace}_cover
    device_class: curtain
    name: ${sbcbw}
    optimistic: true
    has_position: true
    open_action:
      - ble_client.ble_write:
          id: ${sbcbw_nospace}
          service_uuid: CBA20D00-224D-11E6-9FB8-0002A5D5C51B
          characteristic_uuid: CBA20002-224D-11E6-9FB8-0002A5D5C51B
          value: [0x57, 0x0F, 0x45, 0x01, 0x05, 0xFF, 0x00]
    close_action:
      - ble_client.ble_write:
          id: ${sbcbw_nospace}
          service_uuid: CBA20D00-224D-11E6-9FB8-0002A5D5C51B
          characteristic_uuid: CBA20002-224D-11E6-9FB8-0002A5D5C51B
          value: [0x57, 0x0F, 0x45, 0x01, 0x05, 0xFF, 0x64]

And here's the code for those two functions called from the lambdas :
void switchbot_battery_only( const esp32_ble_tracker::ESPBTDevice *x
                           , esphome::template_::TemplateSensor* batteryEnt
                           )
{
    for (auto data : x->get_service_datas())
    {
        batteryEnt->publish_state(data.data[2] & 0b01111111);
    }
}

void switchbot_curtain( const esp32_ble_tracker::ESPBTDevice *x
            , esphome::template_::TemplateCover *curtainEnt
            , esphome::template_::TemplateSensor* batteryEnt
            )
{
    for (auto data : x->get_service_datas())
    {
        if(data.data.size() == 6)
        {
            int8_t battLevel = 0;
            int8_t position = 0;

            battLevel = data.data[2] & 0b01111111;
            position = data.data[3] & 0b01111111;

            curtainEnt->position = (100 - position) / 100;
            curtainEnt->publish_state();
            batteryEnt->publish_state(battLevel);
        }
    }
}

This is all very much a work in progress but with that I have proper cover entities working (and displaying their open/close status correctly in home assistant) for the curtains, and I'm getting the battery level for both switchbots. Still some work to be done to implement the position action, to be able to set the curtains to an arbitrary open position in percents.
The switchbot app doesn't display the mac address of the second curtain bot when they're groupped for one window, I used nRF Connect on my phone to find it. Another option would be to ungroup them, write it down then re-group them I guess.
I have more code to handle contact sensors as well, if anyone is interested.
I wonder what it'd take to make all of this into a generic switchbot component, it'd depend on rbaron's PRs getting merged but it would be nice.

For anyone following this I've updated my branch with @rbaron's latest changes, and updated my comment above to add the position action. Switchbots can now be set to any % using the slider in home assistant, thanks rbaron !


Fix carousel images.

This change is

This still needs some work. The carousel images switch from one image to the other on clicks in random places on the page, like the scroll bar.


Infinite masked

I have had a problem where when someone killed them self with the killbind mod and also have a mask they would make two masked.
This is totally not a big problem but when someone died on the ship with mask items around them, they would make hundreds of masked.
LogOutput.log
IDK if this helps

Hi a possible fix has been implemented (1.0.5). Please let me know how it goes.

I'll assume it is fixed

Well ot hasn't happened again so yeah 👍


Invalid check for singular matrix

https://github.com/NCAR/micm/blob/d0cba322a123aad462dae076962656e0e830a0ea/include/micm/solver/rosenbrock.hpp#L577C2-L585

This is the original code. Line 284-286 seem to be the problem lines
https://github.com/NCAR/micm/blob/d0cba322a123aad462dae076962656e0e830a0ea/test/regression/old_micm/src/kinetics.F90#L251-L306

Stacy says that the MOZART solver in CAM-Chem does not check for singular matrices and this has never caused a problem. Maybe let's create an option in RosenbrockSolver to enable/disable these checks (with the default being disabled). We can then create a separate set of Decompose functions that checks if U_ii is very small before dividing by it in the last step of the algorithm and if so returns a singular matrix flag.


Oxedions/ssh logs

Attempt to solve issues #557 and #537
Will also consider #418

Dear @ginomcevoy
You are completely right, my bad. I fixed the readme.


SSL DH_KEY_TOO_SMALL

Checklist

[ ] I'm reporting a broken site support issue
[x] I've verified that I'm running youtube-dl version 2019.09.01
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar bug reports including closed ones
[x] I've read bugs section in FAQ

Verbose log
# youtube-dl -v "https://www.ceskatelevize.cz/porady/10316155327-horizont-ct24/219411058050906/"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://www.ceskatelevize.cz/porady/10316155327-horizont-ct24/219411058050906/']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.09.01
[debug] Python version 2.7.16 (CPython) - Linux-4.19.0-5-amd64-x86_64-with-debian-10.0
[debug] exe versions: ffmpeg 4.1.4-1, ffprobe 4.1.4-1, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[CeskaTelevizePorady]<PHONE_NUMBER>50906: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [SSL: DH_KEY_TOO_SMALL] dh key too small (_ssl.c:727)> (caused by URLError(SSLError(1, u'[SSL: DH_KEY_TOO_SMALL] dh key too small (_ssl.c:727)'),))
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 627, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2229, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python2.7/urllib2.py", line 429, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 447, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 2724, in https_open
    req, **kwargs)
  File "/usr/lib/python2.7/urllib2.py", line 1198, in do_open
    raise URLError(err)

Description
This issue shall not be in my opinion related to single website, because it's not parser, but the ssl/tls connectivity layer itself. I found no option to tweak ssl/tls options related to DH key size (or supported tls versions)

Problem on their server https://www.ssllabs.com/ssltest/analyze.html?d=www.ceskatelevize.cz
Contact them to fix it.

I'm sorry, but I don't see any error / warning related to security on the page. I'm using Chrome 78.0.3904.9 (Official Build) dev (64-bit).
Can you maybe provide a screenshot of said error? I'm willing to let them know to fix their ssl
This is what I see in the security panel of developer tools, but that is far from "error"

This has been fixed. The website of Česká televize has now B certification on ssllabs.com, and youtube-dl 2020.01.01 can download this show without any problem.

For the others, who is also trying to overcome DH_KEY_TOO_SMALL error, following could be helpful.
Parameter --legacy-server-connect was enough for me to resolve downloading from (any ?) weak host.
🥳

But https://github.com/ytdl-org/youtube-dl/issues/25020#issuecomment-1463020328.


bio check

check for all classes if

[x] bio was posted
[x] bio was included in google docs

get in contact with students that did not do that via private piaza post. in some cases if we know they have not posted to piazza we need to also send via canvas to make sure they know what we do

bios were graded

issued


ElasticSearch Rest  BulkIndex NPE fix for Race condition

As per https://github.com/Netflix/conductor/issues/1553, there is a race condition in BulkRequestBuilder class of ElasticSearch which is used in ElasticSearchDAO transport client. In our setup, this NullPointerException happens in case of ElasticSearchRestDAO as well. ElasticSearchRestDAO uses BulkRequest object which in turn uses ArrayList to maintain the index requests is not synchronized. Hence this problem occurs in Rest implementation as well. So using an approach similar to https://github.com/Netflix/conductor/pull/1554 to use thread-safe wrapper for Rest implementation as well. Verified that in high throughput scenario the NullPointerExceptions are happening no more. Thanks, @skissane for the initial solution.

Pull Request Test Coverage Report for Build 3908

17 of 21 (80.95%)  changed or added relevant lines in 2 files are covered.
16 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.09%) to 69.01%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

es5-persistence/src/main/java/com/netflix/conductor/dao/es5/index/BulkRequestWrapper.java
10
14
71.43%

Files with Coverage Reduction
New Missed Lines
%

cassandra-persistence/src/main/java/com/netflix/conductor/dao/cassandra/CassandraEventHandlerDAO.java
8
69.86%

cassandra-persistence/src/main/java/com/netflix/conductor/dao/cassandra/CassandraMetadataDAO.java
8
55.79%

Totals

Change from base Build 3905:
-0.09%

Covered Lines:
11731

Relevant Lines:
16999

💛  - Coveralls

@skissane Referencing your comment from #1554 , can you please comment on this pull request.


Discord webhook posting when the IP hasn't changed.

Got multiple webhook notifications saying its detected a new IP but the IP is exactly the same, its not consistent but random instead. The script is being ran every minute with CRON. Here's a screenshot for reference.

I'm currently away, in the mean time @AgingOrange will you be able to help take a look?

Same problem here! Any update on this issue?

Heya! This bug is really hard to track down, but I highly suspect that maybe the issue arises when the script failed to get a valid response at the getting dns_records step.
Am I sure about that?  At most cases, the credentials used in the script should hardly change, unless someone rotated their passwords or else.
However, there are instances where Cloudflare API servers are having a hard time both in June & July, which will cause API request to be dropped, or failed. But at that time frame, they said only Russia users are affected sooo....... yeah, weird.
Sorry for the essay like comment, but anyways!
Try editing the script's code from line 49, original code looks like
logger "DDNS Updater: Check Initiated"
record=$(curl -s -X GET "https://api.cloudflare.com/client/v4/zones/$zone_identifier/dns_records?type=A&name=$record_name" \
                      -H "X-Auth-Email: $auth_email" \
                      -H "$auth_header $auth_key" \
                      -H "Content-Type: application/json")

Change it to this
logger "DDNS Updater: Check Initiated"
record=$(curl --write-out "%{http_code}" -s -X GET "https://api.cloudflare.com/client/v4/zones/$zone_identifier/dns_records?type=A&name=$record_name" \
                      -H "X-Auth-Email: $auth_email" \
                      -H "$auth_header $auth_key" \
                      -H "Content-Type: application/json")

record_status=$(echo $record | tail -c 4)

if (( $record_status >= 400 && $record_status <= 530 )); then
  logger -s "DDNS Updater: Error while checking record identifier!"
  exit 1
fi

Since I have no idea when Cloudflare server suffers outages, will it still manage to return a JSON response so we can match it with case in "\"success\":false". So I just changed it to match a range of HTTP Status Code from 400 to 530.
I'm not making a PR for now, because I still don't know if the problem is exactly it or not.
So please, go and change the code, and see if that really fixed the issue.
Thank you for reading the news-alike comment.

Thanks for the fast response! I hope this can help a lot of people thanks a lot! 你太棒了！

So far this fix is looking good @Sailboat265 but its only been running for 3 days, time will tell if it has the same issue. Regardless good fix and hopefully gets pulled into the next release. 👍

Same issue

Same issue. Maybe it could be related to my ISP, but I think this would have been detected by the script.
Very weird. I will try to debug, maybe I'll find something.

@Nevah5 Have you applied this fix? It has worked for mine.
https://github.com/K0p1-Git/cloudflare-ddns-updater/issues/44#issuecomment-1224764967

@Nevah5 Have you applied this fix? It has worked for mine.
https://github.com/K0p1-Git/cloudflare-ddns-updater/issues/44#issuecomment-1224764967

Whoops, I thought I did it, but I might have forgotten to save it. Still weird behaviour though, because it seems like it didn't log anything since a few days ago.

@Sailboat265
Issue has come back and is still reporting the same IP address.

try this https://github.com/timothymiller/cloudflare-ddns

@harukodi
I don't think they even support Discord webhooks which is why I stuck with this option. The false positives aren't a deal breaker but should be still be considered a bug. Thanks anyway.

DDNS.txt
Ignore my terrible exiting for the Discord response. 😅
@Sailboat265

Hi, sorry for the late response, uni stuff's catching up a bit...
nahhh, your exiting is alright.
Sorry for asking silly questions but how did you know that the new IP is same as old IP?

The issue that's happening is I'm being pinged about my IP changing when it has in fact not changed at all, I can only assume others are experiencing this and just haven't reported it.

@Sailboat265

@rossiscool123 Thanks for re-explaining it again! I think I need some sleep lmao, been very forgetful about things.

The issue that's happening is I'm being pinged about my IP changing when it has in fact not changed at all, I can only assume others are experiencing this and just haven't reported it.

Hmmm strange, I've not got any notice of this potential bug even though the script has been running on my raspi for months ady

@rossiscool123 Uhhh sorry, can you go try sudo cat /var/log/syslog | grep DDNS
Then, make sure to find the line, that matches exactly the date, and time where the duplicate ping was triggered.
Maybe that could shred some light on what's actually going on...

Hope you don't mind I censored the last bit of my IP and the domains its resolving to. I couldn't get any data further than this and trying to get more data ended up killing my SSH connection.

@Sailboat265

@rossiscool123 Thanks so much for the screenshot.
Can you send a screenshot of discord message as well? Between Dec 18 00:39 to 00:51.
Ohhh and pls mark the duplicated message again like you did, since only you can see the full IP.

Fix for now.
#50


Django 2 requires Python 3 which breaks a Chapter 3 example

In Chapter 3, section "Configure the Application servers" when you go to install Django
$ ansible app -b -m easy_install -a "name=django state=present"
<IP_ADDRESS> | FAILED! => {
    "changed": false,
    "msg": "Traceback (most recent call last):
    ...
    AttributeError: 'module' object has no attribute 'lru_cache'\n"
}

This is because Django 2 requires Python 3.
The easy fix is to pin to a version of Django (1.11) that can use Python 2.
$ ansible app -b -m easy_install -a "name=django==1.11 state=present"
<IP_ADDRESS> | SUCCESS => {
    "binary": "/bin/easy_install",
    "changed": true,
    "name": "django==1.11",
    "virtualenv": null
}
<IP_ADDRESS> | SUCCESS => {
    "binary": "/bin/easy_install",
    "changed": true,
    "name": "django==1.11",
    "virtualenv": null
}

I also just encountered this error and confirm fix from @everett-toews is good.  Thanks.

Same here. Thanks.

Another Workaround (what I did) - though everett-toews solution is simpler:

Download latest version of pip
ansible app -b -a "curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py""

Install latest pip
ansible app -b -a "python get-pip.py"

Upgrade setuptools
ansible app -b -a "python -m pip install --upgrade pip setuptools wheel"

Install Django
ansible app -b -a "python -m pip install django"

The best way to get around this issue for now (without trying to get Python 3 on CentOS 7, which is another task for another day :) is to use the version modifier to tell easy_install to install a version <2:
ansible app -b -m easy_install -a "name=django<2 state=present"

I'm updating the book text now and will have an updated version on LeanPub shortly. Thanks for the bug report and all the feedback here!

I have this error too. Aha, closed an hour ago. WOW! <2 works. What a great reader experience!


Add a new member request template

Based on approval from TOC today:  https://docs.google.com/document/d/1gsSbMwg0j2pzsHs7mRN3CmkN-nugBnPMSj9thkHB3fk/edit#

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: linsun
If they are not already assigned, you can assign the PR to them by writing /assign @linsun in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@geeknoid @rshriram should we do this in the community repo instead?  I think that would address shriram's concern on creating too many issues for istio/istio.

@linsun: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
f8aa68889fa7cd02e60eff62c37911617fed369b
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@linsun: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
f0cd20b9bcbb22f8d90579269d7999ffb30423e1
link
/test e2e-simple

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Yeah, let's move to this to the community repo.


Broken link

Link to virtual hacking lab isnt working.

@Aman-zishan Can you fix it and open a PR

Issue fixed!


Missing gene information

Hi,
I tried to retrieve additional information from gene_summary but some information of genes appear missing.
Working example:
gemini query -q "select synonym from gene_summary where gene='ARTEMIS'" db
Another example where gene is in variants but not in gene_summary
gemini query -q "select synonym from gene_summary where gene='CTD-3193O13.9'" db
Hence some variants disappeared when joining the tables. Ideally if gene information is not present the variants should still show with NAs in the gene_summary field. How to get around with this possibility?

Hi!
How did you load information to GEMINI.db?
First query works for me:
gemini query -q "select synonym from gene_summary where gene='ARTEMIS'" NA12878-1-ensemble.db
A-SCID,FLJ11360,SNM1C,DCLRE1C,SCIDA
A-SCID,FLJ11360,SNM1C,DCLRE1C,SCIDA

For the second query are you sure that this gene exists in annotations?
http://useast.ensembl.org/Human/Search/Results?q=CTD-3193O13.9;site=ensembl;facet_species=Human;page=1;perpage=10
The only one I see with the similar name in GEMINI.db is
CTD-2021J15.2
I hope this helps.
Sergey


Apple Lossless Mp4 silent on Xiaomi device.

Media3 Version
1.0.0-beta02
Devices that reproduce the issue
Xiaomi 10s
Devices that do not reproduce the issue
Pixel 3
Reproducible in the demo app?
Not tested
Reproduction steps
Play test file
Expected result
Audible sound
Actual result
No sound
Media
Test file: https://gitlab.com/ultrasonic/ultrasonic/uploads/0cec528339691a713351898ea51e3731/Black_Star.m4a
Bug Report

[ ] You will email the zip file produced by adb bugreport to<EMAIL_ADDRESS>after filing this issue.

The user was playing the same files with our app fine when it was using traditional Android Media. Now they are silent.

what exactly do you mean by "traditional Android Media"?
I meant that we were using a plain MediaPlayer before and according to the user there it worked fine.

 Is that with mediaplayer too? I can't play this file with MediaPlayer, I tried a Pixel 3 and a Pixel 4.

Ok, that was what i was trying. But now i realized the server might have transcoded it, need to check that.

I see. I'll repeat my initial comment that this audio format is not guaranteed to supported by the platform. It could be that some devices have a decoder for it, but it's down to the OEM. If you use the ffmpeg decoder module, you will be able to play the file with ExoPlayer across devices.
I'll close this issue, feel free to re-open


Update strings.xml

Fix typos
Make some parts better to understand
@franciscofranco Where is the string for ,,E-mail". It should be ,,E-Mail" in German. Thanks for your awesome app!

Hi Fiona. I didn't allow e-mail to be translated because it's an universal name and I didn't want it to be messed with. Is that ok with you?

Hi Franciso, maybe you can edit it manually on your side? If not, that's fine too 😉

I can change it on my end yeah :)


Add the skipIndexing option

Retrieve the skipIndexing (true/false) from the options, and use it to determine if the indexation has to be done or not.
This can be usefull for example if a user is in development mode, and doesn't want to index the changes he just made.

When a user is developing his gatsby website they maybe do not want MeiliSearch plugin to re-index on every rebuild. We should add a skipIndexing option in the settings
    options: {
        host: 'http://localhost:7700',
        apiKey: 'masterKey',
        skipIndexing: true, // HERE
        queries: {
          ...
        },
      },

When this option is activated, the plugin should not fetch and index data.
exports.onPostBuild = async function ({ graphql, reporter }, config) {
  const activity = reporter.activityTimer(PLUGIN_NAME)
  activity.start()
  try {
    const { queries, host, apiKey = '', skipIndexing } = config
    if (skipIndexing) {
      // quit
    }
....


Not working with electron

Hi,
This component is working well with web browser like Chrome or Firefox.
But when I use it for Electron desktop app, the time-picker can't open, it showed error when I click on the box the change the time
Please check this picture:

This is something I've run into as well. Specific to this error, there is a string ref on an input in the Header that need to be updated to use a callback instead.

Hi,
I don't know how but now it's working
The following is the config in webpack that was not working
...
plugins: [
        new webpack.ProvidePlugin({
            '$': 'jquery'
        }),
        new webpack.ExternalsPlugin('commonjs', [
            'electron', 'rc-time-picker' /*some other packages I don't show here*/
        ])
    ],
...

Then I removed  'rc-time-picker' in the webpack config file and it became:
...
 new webpack.ExternalsPlugin('commonjs', [
     'electron' /*some other packages I don't show here*/
])
...

Then it's working now...
@plaeski Can you try this?


[Bug] The job ran successfully, but the operation and maintenance center did not display the job status

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened

What you expected to happen
作业提交并成功执行，但是运维中心无法查看该作业的运行情况。
How to reproduce
同一个作业启动停止多次，或者更改启动模式在启动
Anything else
No response
Version
1.0.2
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

日志没报错

你好，@github-actions，知道原因了是执行作业时间过长超过了flink job提交等待的时间了，有没有什么办法可以优化下，提高作业提交的效率

 你好，@github-actions，知道原因了是执行作业时间过长超过了flink job提交等待的时间了，有没有什么办法可以优化下，提高作业提交的效率

设置如下配置


bump otel

updated gorm and applied some api changes

label -> attribute
TraceID -> TraceID().String()

Please merge this, would be very useful


Add workaround for symbol class leak

Going to merge this now as it's an optional feature. Can revert if there are any objections.
(Merging without appveyor for now as the queue is long. Will revert if appveyor fails.)


add support for http

Thanks, looks great!  Is there any chance you might be able to update the README.md with the option usage on how to set the env var?

Yes of course, I'll do it right now.

And it's done, as you requested.

LGTM!  Thanks!


Blockwise uses Task class

This migrates Blockwise to the Task class (xref https://github.com/dask/dask/issues/9969)

Tests all pass. Next up is perf testing. Review can start but I recommend starting with https://github.com/dask/dask/pull/11569 first since this one builds on that

In a follow up PR I will remove the SubgraphCallable object. It's only use is in the fuse_subgraph code path of the fusion code that is effectively unused now (and off by default)

Can we please ask for a migration guide, and how to make our code backward compatible?

Can we please ask for a migration guide, and how to make our code backward compatible?

An update to the documentation is overdue and something I plan for in the next couple of days. Can you point to a package or issue that is affected (I assume dask-awkward)? blockwise isn't used that widely as a user facing API so I expected the splash zone to be small to moderate in size. I'm also happy to help with a migration (most of the time this is straight forward)


MAINT: interpolate: const qualify cython arrays

Reference issue

This is the first step for #20196
What does this implement/fix?

This commit const qualifies Cython array arguments where possible.
Additional information

This will be the first PR from a series of PRs (one for each submodule). Please review this one thoroughly so that any mistakes I make are caught early and not propagated through to other submodules.

Merged, thanks Kai.


Fixed build script for windows.

Windows would throw "NODE_ENV is not recognized as an internal or external command" when running build script. This was due to a missing cross-env command.

LGTm!

Thanks @edmiester777 !!


Picker Is Not Shown Anymore

After the recent updates the picker is not shown anymore when clicking on the emoji symbol on our discourse. Can somebody confirm this issue?

Could you link to the site in question? Are there any errors in the console, CSS / HTML customizations, or other plugins that may be interfering? Which version of Discourse are you running?

Oh sure! It’s https://community.hom.ee
Currently running Discourse 2.4.2 (7cc7baf378)
I can’t spot any errors in the console. I also checked the custom styling and removed it completely - didn’t change the situation. Before updating recently it all worked fine. We didn’t change any configuration (css or plugins) since then.

Hmm the latest fixes are for the beta branch (currently 2.5.0.beta3). Discourse unfortunately doesn't offer an easy way that I know of to version plugin releases to particular branches of the app, meaning there are discrepencies between versions at times. If you're able to upgrade to the beta branch for a time, I'd recommend that, or alternatively waiting until 2.5.x hits the stable branch.
Sorry for not offering a more helpful solution!

So with 2.5.0 it should work again? 🤔

Yep; I can confirm it's working on the demo site (https://discourse-babble.com), which is running 2.5.0:

@p0fi It works perfect for me. I'm on Discourse 2.5.0.beta3

Same problem here with v2.4.5

Can confirm that the issue does not exist anymore on discourse > 2.5.0 🤙🏼


Migration guide for moving from islands 0.5.* to 1.*?

It would be pretty sweet if you distilled a bit of the conversation from https://github.com/mitchlloyd/ember-islands/issues/14 into version 1's README file. I'm currently upgrading our islands setup, and as a programmer new to ember it has been a bit tricky so far :)
I will give it a shot and if I am successful and think there is a straightforward "upgrade path", I'll post notes here or make a pull request.

Sure! I think the trickiest thing is migrating from a world where you didn't need to render a route at all (pre 1.x) to a world where rendering a template is the entry point to begin rendering island components. In other words, 1.x will render your application template and application route whereas 0.x did not.
Honestly, this can be a non-trivial hump to get over in an application that has a lot of setup in the application route, controller, and template. The bottom line is that there are public APIs to prevent this rendering in Ember.
I'm keeping my eyes on all the Fastboot and Engines APIs as they make their way into Ember. My hope is that the boot process will continue to become more flexible and open up public APIs that would allow Ember Islands to boot an application with an Event Dispatcher that does not load the application template.

I would be interested in feedback about the 0.5 to 1.0 upgrade path if you have any. For now I'll close this issue but let me know if there's anything you found that may be useful for other users.


Is ROS being used in the project?

I saw the mention of URDF files but couldnt find a trace of ROS anywhere. If ROS is not used where for example in the project are these URDF files used?
I wanted to implment this project but only in simulation. Is this possible without having a physical setup?

Hi @Robotgir, the URDF files are provided in case anybody would like to work with them. At the moment they are used to load the robot model in Crocoddyl in the DDP trajectory optimization
https://github.com/dfki-ric-underactuated-lab/torque_limited_simple_pendulum/blob/6caf96f4663ef8034b60dbd6d34ced5f1d8d5081/software/python/simple_pendulum/trajectory_optimization/ddp/boxfddp.py#L117
ROS is currently not used in the project.
This project can absolutely be used in simulation only :) See here for simulation examples of various control methods.

Thanks for the answer!
I have noticed the python simulation files but was not sure how they would visually simulate without using ROS.
So the project uses "Crocoddyl" for visual simulation correct? I have never used Crocoddyl but should not be hard to use it looking at the doccumentaion available.
Correct me if i am understanding something wrong.
Thanks alot @fwiebe

Most of the simulations and visualizations are realized with the dependency-free plant for the pendulum dynamics. The simulator class performs the integration and provides a visualization with matplolib.animation.
The simulated DDP trajectory (see this example and here the implementation) can be visualized in the gepetto viewer, for which interfaces inside crocoddyl exist https://github.com/dfki-ric-underactuated-lab/torque_limited_simple_pendulum/blob/6caf96f4663ef8034b60dbd6d34ced5f1d8d5081/software/python/simple_pendulum/trajectory_optimization/ddp/boxfddp.py#L247


Make request for static entities

Make request for GET static entities (lang, quality, gquality, countrues, sources etc)

https://oneom.tk/data/config
ready

add Statuses, Genres and Networks please

ready


No history - consumption showing as 0W

Hello - first, THANK YOU for developing this plugin. You're awesome.
I got it up and running yesterday (APC SMT2200 UPS -> usb cable -> Synology DSM NUT -> network -> Mac Mini running homebridge). It's registered as a contact sensor and not an outlet. Looking at past issues maybe this is expected?
The core issue for me is that it's not registering any consumption (the Eve app shows it's collecting data entries, but they are all 0.00. Voltage is also showing as 0. Any help appreciated!
Here's the dump of ups info:
user@Mac-Mini ~ % ups -H <IP_ADDRESS> info
{
  "version": "Network UPS Tools upsd DSM7-2-1-NewModel-repack-64570-230831 - http://www.networkupstools.org/",
  "apiVersion": "1.2",
  "devices": {
    "ups": {
      "description": "Unavailable",
      "nCients": "1",
      "clients": [
        "<IP_ADDRESS>"
      ],
      "commands": [
        "beeper.disable",
        "beeper.enable",
        "beeper.mute",
        "beeper.off",
        "beeper.on",
        "load.off",
        "load.off.delay",
        "shutdown.reboot",
        "shutdown.stop"
      ],
      "constants": {
        "battery.charge": "100",
        "battery.charge.low": "10",
        "battery.charge.warning": "50",
        "battery.runtime": "3275",
        "battery.runtime.low": "150",
        "battery.type": "PbAc",
        "battery.voltage": "53.1",
        "battery.voltage.nominal": "48.0",
        "device.mfr": "American Power Conversion",
        "device.model": "Smart-UPS_2200",
        "device.serial": "myRemovedSerialNumber",
        "device.type": "ups",
        "driver.name": "usbhid-ups",
        "driver.parameter.pollfreq": "30",
        "driver.parameter.pollinterval": "5",
        "driver.parameter.port": "auto",
        "driver.parameter.synchronous": "no",
        "driver.version": "DSM7-2-1-NewModel-repack-64570-230831",
        "driver.version.data": "APC HID 0.96",
        "driver.version.internal": "0.41",
        "ups.beeper.status": "enabled",
        "ups.delay.shutdown": "20",
        "ups.firmware": "UPS 06.0 / ID=1027",
        "ups.mfr": "American Power Conversion",
        "ups.mfr.date": "2022/06/19",
        "ups.model": "Smart-UPS_2200",
        "ups.productid": "0003",
        "ups.serial": "myRemovedSerialNumber",
        "ups.status": "OL",
        "ups.timer.reboot": "-1",
        "ups.timer.shutdown": "-1",
        "ups.vendorid": "051d"
      },
      "variables": {
        "battery.charge.low": "10",
        "battery.runtime.low": "150",
        "ups.delay.shutdown": "20"
      }
    }
  }
}

and here's a snippet of the Homebridge log for the plugin:
[9/7/2024, 5:16:00 PM] [Mech Room Rack UPS] hardware: Mac mini (M1, 2020)
[9/7/2024, 5:16:00 PM] [Mech Room Rack UPS] os: macOS Sonoma 14.6.1 (23G93)
[9/7/2024, 5:16:01 PM] [Mech Room Rack UPS] Mech Room Rack UPS: logLevel: set to 2
[9/7/2024, 5:16:01 PM] [Mech Room Rack UPS] Mech Room Rack UPS: Name: set to "Mech Room Rack UPS"
[9/7/2024, 5:16:01 PM] [Mech Room Rack UPS] Mech Room Rack UPS: Serial Number: set to "myRemovedSerialNumber"
[9/7/2024, 5:16:01 PM] [Mech Room Rack UPS] Mech Room Rack UPS: Manufacturer: set to "American Power Conversion"
[9/7/2024, 5:16:01 PM] [Mech Room Rack UPS] Mech Room Rack UPS: Model: set to "Smart-UPS_2200"
[9/7/2024, 5:16:01 PM] [Mech Room Rack UPS] Mech Room Rack UPS: Firmware Revision: set to "UPS 06.0 / ID=1027"
[9/7/2024, 5:16:01 PM] [Mech Room Rack UPS] Mech Room Rack UPS: myRemovedSerialNumber: American Power Conversion Smart-UPS_2200 NaNV UPS with 48V PbAc battery from undefined
[9/7/2024, 5:16:01 PM] [Mech Room Rack UPS] Mech Room Rack UPS: Name: set to "Mech Room Rack UPS"
[9/7/2024, 5:16:01 PM] [Mech Room Rack UPS] Mech Room Rack UPS: Configured Name: set to "Mech Room Rack UPS"
[9/7/2024, 5:16:01 PM] [Mech Room Rack UPS] Mech Room Rack UPS: Log Level: set to 2
[9/7/2024, 5:16:01 PM] [Mech Room Rack UPS] Mech Room Rack UPS: Last Event: set to ""
[9/7/2024, 5:16:01 PM] [Mech Room Rack UPS] Mech Room Rack UPS: Contact Sensor State: set to 0
[9/7/2024, 5:16:01 PM] [Mech Room Rack UPS] Mech Room Rack UPS: Mute: set to false
[9/7/2024, 5:16:01 PM] [Mech Room Rack UPS] Mech Room Rack UPS: Status Fault: set to 0
[9/7/2024, 5:16:01 PM] [Mech Room Rack UPS] Mech Room Rack UPS Battery: Name: set to "Mech Room Rack UPS Battery"
[9/7/2024, 5:16:01 PM] [Mech Room Rack UPS] Mech Room Rack UPS Battery: Configured Name: set to "Mech Room Rack UPS Battery"
[9/7/2024, 5:16:01 PM] [Mech Room Rack UPS] Mech Room Rack UPS Battery: Battery Level: set to 100%
[9/7/2024, 5:16:01 PM] [Mech Room Rack UPS] Mech Room Rack UPS Battery: Charging State: set to 0
[9/7/2024, 5:16:01 PM] [Mech Room Rack UPS] Mech Room Rack UPS Battery: Status Low Battery: set to 0
[9/7/2024, 5:16:01 PM] [Mech Room Rack UPS] Mech Room Rack UPS Battery: lowBatteryThreshold: set to 10%
[9/7/2024, 5:16:01 PM] [Mech Room Rack UPS] Mech Room Rack UPS Battery: Voltage: set to 30V [max]
[9/7/2024, 5:16:01 PM] [Mech Room Rack UPS] Mech Room Rack UPS Battery: Remaining Duration: set to 0 seconds
[9/7/2024, 5:16:01 PM] [Mech Room Rack UPS] Mech Room Rack UPS Consumption: Name: set to "Mech Room Rack UPS Consumption"
[9/7/2024, 5:16:01 PM] [Mech Room Rack UPS] Mech Room Rack UPS Consumption: Configured Name: set to "Mech Room Rack UPS Consumption"
[9/7/2024, 5:16:01 PM] [Mech Room Rack UPS] Mech Room Rack UPS Consumption: Total Consumption: set to 0 kWh
[9/7/2024, 5:16:01 PM] [Mech Room Rack UPS] Mech Room Rack UPS Consumption: Consumption: set to 0 W
[9/7/2024, 5:16:01 PM] [Mech Room Rack UPS] Mech Room Rack UPS History: Name: set to "Mech Room Rack UPS History"
[9/7/2024, 5:16:01 PM] [Mech Room Rack UPS] Mech Room Rack UPS History: Configured Name: set to "Mech Room Rack UPS History"
[9/7/2024, 5:17:00 PM] [Mech Room Rack UPS] Mech Room Rack UPS Battery: Remaining Duration: get: return 0 seconds
[9/7/2024, 5:17:21 PM] [Mech Room Rack UPS] Mech Room Rack UPS Battery: Remaining Duration: get: return 0 seconds
[9/7/2024, 5:17:27 PM] [Mech Room Rack UPS] Mech Room Rack UPS Battery: Remaining Duration: get: return 0 seconds
[9/7/2024, 5:17:34 PM] [Mech Room Rack UPS] Mech Room Rack UPS: request 18: GET NUMLOGINS ups
[9/7/2024, 5:17:34 PM] [Mech Room Rack UPS] Mech Room Rack UPS: warning: request 18: error: send in progress
[9/7/2024, 5:17:39 PM] [Mech Room Rack UPS] Mech Room Rack UPS Battery: Remaining Duration: get: return 0 seconds
[9/7/2024, 5:17:42 PM] [Mech Room Rack UPS] Mech Room Rack UPS: request 17: INSTCMD ups test.battery.start.quick
[9/7/2024, 5:17:42 PM] [Mech Room Rack UPS] Mech Room Rack UPS: warning: request 17: error: timeout after 15s
[9/7/2024, 5:18:07 PM] [Mech Room Rack UPS] Mech Room Rack UPS: Configured Name: changed to "Mech Room Rack UPS Alarm" (from "Mech Room Rack UPS")
[9/7/2024, 5:18:07 PM] [Mech Room Rack UPS] Mech Room Rack UPS Alarm: Name: set to "Mech Room Rack UPS Alarm" (from "Mech Room Rack UPS")
[9/7/2024, 5:18:07 PM] [Mech Room Rack UPS] Mech Room Rack UPS Battery: Remaining Duration: get: return 0 seconds
###(no more log entries overnight)

Here's the dump of ups info:

It doen't look like your UPS reports consumption, nor anything that can be used to compute this.  My UPS reports ups.realpower.nominal (nominal power in W) and ups.load (percentage of nominal power provided), which Homebridge UPS uses to compute consumption.  I've also seen UPSs that report output.current (in A) and output.voltage (in V), which Homebridge UPS can use alternatively.

[9/7/2024, 5:16:01 PM] [Mech Room Rack UPS] Mech Room Rack UPS Battery: Voltage: set to 30V [max]

Hm, you have a (nominal) 48V battery, which actually runs at 53.1V.  I need to change the range for Voltage on the Battery service.

[9/7/2024, 5:17:42 PM] [Mech Room Rack UPS] Mech Room Rack UPS: request 17: INSTCMD ups test.battery.start.quick
[9/7/2024, 5:17:42 PM] [Mech Room Rack UPS] Mech Room Rack UPS: warning: request 17: error: timeout after 15s

You would see this when no user has been configured on the UPS daemon for Homebridge UPS to send commands.  See https://github.com/ebaauw/homebridge-ups/wiki/NUT-Setup#synology-dsm-71.

Really appreciate the response.

It doesn't look like your UPS reports consumption, nor anything that can be used to compute this.

Fascinating. Thank you! I will root around to see if it reports anything in other variables.

[9/7/2024, 5:17:42 PM] [Mech Room Rack UPS] Mech Room Rack UPS: request 17: INSTCMD ups test.battery.start.quick
[9/7/2024, 5:17:42 PM] [Mech Room Rack UPS] Mech Room Rack UPS: warning: request 17: error: timeout after 15s
You would see this when no user has been configured on the UPS daemon for Homebridge UPS to send commands.

Huh...I did define a user and added that user info to the config in Homebridge UI. Here is what I added (pw removed/replaced):
[apcuser]
    password = myRemovedPassword
    actions = SET
    instcmds = ALL

I am totally new when it comes to NUT. Maybe I should add apcuser master to that group?
Very grateful for your development efforts.

You need to restart the daemon on Synology (by disabling and re-enabling the UPS).

I kicked (rebooted) the daemon and that seems to have done it (or at least no complaints in the logs). Thank you! Couple of last observations:
It appears that newer APC UPS simply don't report useful variables: https://github.com/networkupstools/nut/issues/1868#event-9651181996
I have a smaller UPS as well (SMT1500) and plugged it in, but still no joy on voltage reading. Log entry below, Eve app still shows 0V.
[9/8/2024, 12:53:02 PM] [Mech Room Rack UPS] Mech Room Rack UPS Battery: Voltage: set to 26.5V
Defer to you as to whether to close this issue as I don't think you can do anything about the lack of consumption data, or leave it open if you want to expand the Voltage range on the Battery service (and try and figure out what's going on with the Eve app).
Voltage is not a big deal to me, but happy to help troubleshoot if useful. Thanks again for everything.

It appears that newer APC UPS simply don't report useful variables

It's been trial and error to see which constants (NUT speak) are supported by what UPS.  No one seems to document this, so you need access to the device to find out.  I developed Homebridge UPS for my APS Back-UPS ES 850G2 (model reported through NUT) / Back-UPS BE 850G2 GR (commercial model) and update it when someone raises an issue for another model.  For now, I'm still bluntly exposing all functionality of Homebridge UPS, ignoring whether the UPS actually reports it.

Log entry below, Eve app still shows 0V.
[9/8/2024, 12:53:02 PM] [Mech Room Rack UPS] Mech Room Rack UPS Battery: Voltage: set to 26.5V

There's the battery voltage, exposed on the Battery service, and the AC voltage, exposed on the Consumption service.  Neither Apple's Home not Eve shows the first one, but Home+ and HomeSpy do.  The second is shown by Eve, but the UPS needs to provide it to Homebridge UPS (or it shows 0V).  The log entry above is for the battery voltage, with the upper limit of 30V (assuming a max nominal voltage of 24V).

It's registered as a contact sensor and not an outlet. Looking at past issues maybe this is expected?

Yes, HomeKit wants an Outlet to be user-switchable, and I haven't yet come across UPSs where you can switch on/off the outlets through NUT.

Ah gotcha, thanks for educating me. For posterity/Google: APC SMT1500RM2UC and APC SMT2200RM2UC don't report consumption variables and related at this time (ups.realpower.nominal, ups.load, voltage, among others), which is not the fault of this plugin. However, the primary dev on this plugin is awesome and patient. :-) Closing!


documentation is broken

Hello,
Your documentation site is broken, All javascript seems not to works correctly and the design is broken too.

Thanks for submitting a issue. This is fixed now


Laravel mail not working with custom smtp settings

Laravel Version: 5.8
PHP Version: 7.2

Description:
I'm trying to setup custom smtp settings. I've setup smtp server  on shared hosting. Laravel mail function return nothing. Then i've tested it by using SwiftMailer. Swiftmailer return the success message but didn't get the email in the inbox.
This SMTP server working fine with PHPMailer.And received emails in the inbox without any problem
Steps To Reproduce:

Please try upgrading to Laravel 6.x or greater and see if the problem still persists since 5.8 is no longer being supported and 6.x is the LTS release.

@ryangjchandler Thank you. I tried this.but no luck :(

Are you using the new MAIL_MAILER env variable? https://github.com/laravel/laravel/blob/develop/config/mail.php#L16

Hey there,
Can you first please try one of the support channels below? If you can actually identify this as a bug, feel free to report back and I'll gladly help you out and re-open this issue.

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

Thanks!


Debug your bot locally

"Use the https endpoint provided by ngrok in your app manifest. "
What?  How?  There is no https endpoint in the MicrosoftTeams.schema.  Not on the root and not in bots?  This is very very unhelpful and very confusing.  Is this actually possible or do i have to deploy the thing whenever i want to test?
Everything in teams seems to revolve around the botId rather than any URLs.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 45ca0926-65fc-66a5-b881-5b99a589f2ec
Version Independent ID: b9e40da9-1029-f65f-18b5-f450a8ea87d2
Content: Test and debug your bot locally - Teams
Content Source: msteams-platform/bots/how-to/debug/locally-with-an-ide.md
Product: msteams
GitHub Login: @clearab
Microsoft Alias: anclear

@Garviell You can locally debug your code using ngrok. Please follow the docs here. This will give you a https url that you can use to connect to your application.

You will then need to use this https url as the endpoint to your Bot. To do this please follow the steps here:

Login to the azure portal where you have created the bot.
Search for your Bot and open it.
Click on Settings and update your Bots messaging enpoint as: https://[Yourngrok]/api/messages and save.

Add the https url in your application config file.
Your Bot will then start listening to this endpoint and you can debug it locally. You can use this ngrok url to add tabs inside your manifest as well.

Yes thank you i figured that out shortly after giving that feedback.
You should probably update the docs I hightlighted though or just make them link to the other article.  Standing the way they are they are actively misleading


Getting an invalid opcode when attempting to play audio

Songbird version: 0.4.0
Rust version (rustc -V): rustc 1.75.0 (82e1608df 2023-12-21)
Serenity/Twilight version: Serenity 0.12.0
Errors:
2024-01-18T04:08:56.394732Z DEBUG runner{config=Config { crypto_mode: Normal, gateway_timeout: Some(10s), mix_mode: Stereo, preallocated_tracks: 1, driver_retry: Retry { strategy: Backoff(ExponentialBackoff { min: 250ms, max: 10s, jitter: 0.1 }), retry_limit: Some(5) }, use_softclip: true, driver_timeout: Some(10s), disposer: Some(DisposalThread(Sender)), scheduler: None }}: songbird::ws: Unexpected JSON: invalid value: integer `18`, expected opcode in [0--9] + [12--13] at line 1 column 8. Payload: {"op":18,"d":{"user_id":"478651159507107842","flags":2}}
2024-01-18T04:08:56.394778Z DEBUG runner{config=Config { crypto_mode: Normal, gateway_timeout: Some(10s), mix_mode: Stereo, preallocated_tracks: 1, driver_retry: Retry { strategy: Backoff(ExponentialBackoff { min: 250ms, max: 10s, jitter: 0.1 }), retry_limit: Some(5) }, use_softclip: true, driver_timeout: Some(10s), disposer: Some(DisposalThread(Sender)), scheduler: None }}: songbird::ws: Unexpected JSON: invalid value: integer `20`, expected opcode in [0--9] + [12--13] at line 1 column 8. Payload: {"op":20,"d":{"user_id":"478651159507107842","platform":0}}

aka
songbird::ws: Unexpected JSON: invalid value: integer '18', expected opcode in [0--9] + [12--13] at line 1 column 8. Payload: {"op":18,"d":{"user_id":"478651159507107842","flags":2}}
songbird::ws: Unexpected JSON: invalid value: integer '20', expected opcode in [0--9] + [12--13] at line 1 column 8. Payload: {"op":20,"d":{"user_id":"478651159507107842","platform":0}}

That makes sense - thank you!


Signature Add-on

Has anyone made a signature pad add-on yet?  Maybe using this library..
https://github.com/szimek/signature_pad

I haven't seen any, but it shouldn't be that difficult.
There are guides and examples (and a generator) on how to write add-ons at: https://github.com/OptimalBPM/angular-schema-form-add-ons
The official guid is at: https://github.com/Textalk/angular-schema-form/blob/master/docs/extending.md

I have created angular-schema-form-signature. It's based on my explicit use-case, and as such has quite limited functionality for now, I would appreciate feedback on how you would like to be able to customise the signature field.

Ok, I had a quick look, and I have the following feedback:
Expand on the documentation, explain in short what the signature is and what data it generates, do not expect people to follow links too much, those are for reference stuff.
With regards to options, I added some new bullets to the add-ons-repo wiki:
https://github.com/json-schema-form/angular-schema-form-add-ons/wiki/Creating-a-new-add-on#do


Update documentation.

See #1018

@facebook-github-bot shipit

Thanks for importing. If you are an FB employee go to Phabricator to review.


Refactor or removal of V1 / V2 Binary code logic.

Background
This repository is now decentralised and soon we will do a release with this repo which will be for the marketplace 1:1 mapping for vscode and b2k cli version.
Given the code has legacy meaningful code which evolved with time we want to be little surgical for this removal just so that we make sure we don’t include any breaking behaviours, this workitem is generated for the careful understanding and simplification of that logic of Binary Manager. Mostly likely will be fun to simplify some parts of this code where I think we can preserve v2 logic and remove v1 but key thing is to understand the logical behaviour which will directly resonate in the PR for sure.
The existence of V2 was always to improve the Binary download experience and mechanism.
Solution
At an abstract level we can make clean one of the existing BinaryManager module with a clear Promise, which will also mean that we will end up re-accessing the existence of IBinariesUtility interface because previously it existed because of 2 respective utility v1 and v2 modules which will no longer exist after this work. Regarding quick refactor design I would say we keep to DRY, non-repetitive, and use Promises for type checking, make sure any error gets bubbled to the top and gets pinged that way. In case while refactoring we can see scope of better error management then we should add Errorable class for any error handling which can grow as we improve this extension.
This work should be more focused on simplifying line 97
        const binariesUtility: IBinariesUtility = BinariesManager.getBinariesUtility(this._logger, context, commandEnvironmentVariables, accountContextManager, expectedCLIVersion);

The module which contains the relevant logic is this: BinariesManager.getBinariesUtility
I think the simplest solution would be we continue with V2 behaviour but before we drop V1 lets just make sure what are the key differences before we short-circuit that part of the code form this refactor.
Once the above is understood, it will be likely we can make this nested  if condition simpler as well.
Thanks heaps, ☕💡 cc: @elenavillamil , @hsubramanianaks , @qpetraroia , @sabbour , @gambtho and @Vidya2606  and just as fyi @daniv-msft thank you.

Closing this since this was taken care long time back. Thank you.


gthumb: 3.8.3 -> 3.10.0

Semi-automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/gthumb/versions.
meta.description for gthumb is: "Image browser and viewer for GNOME"
meta.homepage for gthumb is: "https://wiki.gnome.org/Apps/Gthumb"
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 3.10.0 with grep in /nix/store/14ha9nh52a39qaz220jafc0zw6pwq1b2-gthumb-3.10.0

directory tree listing: https://gist.github.com/7a6e7fdf20eb9ed5cfee1ead49f53c00

du listing: https://gist.github.com/df6f016c4ffd9abc77ad270f4c9e5202

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
gthumb

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/14ha9nh52a39qaz220jafc0zw6pwq1b2-gthumb-3.10.0 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A gthumb https://github.com/r-ryantm/nixpkgs/archive/67ee391c5625fca45d8d9085afcf91f8761171ec.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/14ha9nh52a39qaz220jafc0zw6pwq1b2-gthumb-3.10.0
ls -la /nix/store/14ha9nh52a39qaz220jafc0zw6pwq1b2-gthumb-3.10.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the change, simply because they are already broken on the target branch.
Result of nixpkgs-review 1

1 package built:
- gthumb

Maintainer pings
cc @mimame for testing.

Changes:
	(https://ftp.gnome.org/pub/GNOME/sources/gthumb/3.9/gthumb-3.9.1.news)
	version 3.9.1
	-------------

	 New features and user visible changes:

	  * Added ability to customize the keyboard shortcuts.
	  * Added a shortcuts window to show the available shortcuts.
	  * Added option to change the mouse wheel action.
	  * Image viewer: added ability to define the transparency style.
	  * Video viewer: allow to view the video at the original size; show the zoom
	    factor in the statusbar.
	  * Edit comment/tags dialogs: use the header bar; allow to change the current
	    image from the dialog.
	  * Add to catalog: use the header bar; allow to change the current image from
	    the dialog.
	  * Search: added ability to search in multiple folders.
	  * Scripts: added %T to insert a timestamp in the command.
	  * Folder tree:
	    * better drag&drop support: allow to move a catalog into a library, and a
	      library into another library, show an error if the drop operation is not
	      possible;
	    * added an 'Open in Terminal' command in the context menu.
	  * Overwrite dialog: show video previews as well, fixed dialog size.
	  * Preferences: allow to specify a catalog or any other location as startup
	    location.
	  * Trash/Delete files: show progress for long operations.
	  * File properties: added the file size in bytes.
	  * File properties: added a context menu command to customize the visibile
	    properties.
	  * Toolbar: show edit comment/tags in browser mode as well.
	  * Export tools: removed from the toolbar.  Some tools moved to the tools
	    menu, others as a submenu in the gears menu.
	  * Fixed window size when started the first time.
	  * Updated app icon to follow the new GNOME style.
	  * Rewritten README in markdown, updated screenshots.
	  * Appdata: added release and OARS tags for flathub compatibility. (Tobias Mueller)

	(https://ftp.gnome.org/pub/GNOME/sources/gthumb/3.10/gthumb-3.10.0.news)
	version 3.10.0
	--------------

	 New features and user visible changes:

	  * Edit metadata dialogs: moved the lock button on the header bar; show the
	    navigation bar only when the lock button is active.
	  * Open location dialog: allow to use tilde as a home folder shortcut.

	 Bugs fixed:

	  * Install missing .ui file

	 New or updated application translations:

	  * Brazilian Portuguese (Rafael Fontenelle)
	  * Dutch (Justin van Steijn)
	  * Indonesian (Andika Triwidada)
	  * Italiano (Gianvito Cavasoli)
	  * Japanese (sicklylife)
	  * Polish (Piotr Drąg)
	  * Spanish - Spain (Daniel Mustieles)
	  * Swedish (Anders Jonsson)
	  * Turkish (Emin Tufan Çetin)
	  * Ukrainian (Yuri Chornoivan)

	 New or updated manual translations:

	  * Dutch (Justin van Steijn)


No output file

Hi - followed all your instructions but the .py file is not producing an output file.
I managed to screenshot the DOS screen and could make out, something similar to
Type error: 'encoding' is an invalid keyword argument for this function.
Sorry, complete novice with such things!

Make sure you have Python installed and that the script is being run with Python

Thanks for prompt reply. I've followed your Youtube video step-by-step.
Attempted the output stage three times with no luck??
On 17 December 2016 at 14:45, Matteo Contrini<EMAIL_ADDRESS>wrote:

Make sure you have Python installed and that the script is being run with
Python
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/matteocontrini/sms-wp-to-android/issues/28#issuecomment-267763576,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXev2iEVxTM1ITwVVfoOy1WquMmL6MMmks5rI-dlgaJpZM4LP45c
.

Oh I wasn't aware of that video, it's not actually mine :)
Another of way of launching the script would be to browser in Windows Explorer to the folder where you have the convert.py file, then click in the "address bar" at the top of the windows and write cmd. Then, in the window that opens, type python convert.py.
If it doesn't work, post here the output of that window.

Ah, sorry. Thought it was you!
Output file below.
[image: Inline images 1]
On 17 December 2016 at 14:55, Matteo Contrini<EMAIL_ADDRESS>wrote:

Oh I wasn't aware of that video, it's not actually mine :)
Another of way of launching the script would be to browser in Windows
Explorer to the folder where you have the convert.py file, then click in
the "address bar" at the top of the windows and write cmd. Then, in the
window that opens, type python convert.py.
If it doesn't work, post here the output of that window.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/matteocontrini/sms-wp-to-android/issues/28#issuecomment-267764217,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXev2ggpPlh2RNPH6KTFto0pGg0jRLsCks5rI-nvgaJpZM4LP45c
.

Images don't get uploaded, post the output text, please.

Thank you - below.
C:\SMS backup\smsBackup\sms-wp-to-android-master>convert.py
Total count of messages: 3570
[====================] processing 3570Traceback (most recent call last):
File "C:\SMS backup\smsBackup\sms-wp-to-android-master\convert.py", line
90, i
n
with open(os.path.join(path, 'wp_messages.xml'), 'w', encoding='utf-8')
as f
ile:
TypeError: 'encoding' is an invalid keyword argument for this function
On 17 December 2016 at 15:47, Matteo Contrini<EMAIL_ADDRESS>wrote:

Images don't get uploaded, post the output text, please.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/matteocontrini/sms-wp-to-android/issues/28#issuecomment-267766574,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXev2lCloimvUN2pHYuILgd1evtmone2ks5rI_YVgaJpZM4LP45c
.

Download the updated repository and try again. It should work!

Perfect - thank you so much for your help.
On 17 December 2016 at 16:28, Matteo Contrini<EMAIL_ADDRESS>wrote:

Download the updated repository and try again. It should work!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/matteocontrini/sms-wp-to-android/issues/28#issuecomment-267768594,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXev2ly8Rt-3fWI2Vg9L1Bjfg8R4x_SSks5rI_-HgaJpZM4LP45c
.


Docs: Add LoadBalancerClass to BGP CP Service Announcements

Update the service-announcements docs for LoadBalancerClass support when https://github.com/cilium/cilium/pull/26905 merges.

/assign


linux

Will this run on linux? I had issues trying to get it to run on ubuntu.
It works perfect on windows though.
Thanks!

Yes, sure
I’m using it in my ubuntu machine

Yes, sure
I’m using it in my ubuntu machine

I got it working, thanks!


Atom.Object.defineProperty.get is deprecated.

atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace),
which returns an HTMLElement.
Atom.Object.defineProperty.get (/Applications/Atom.app/Contents/Resources/app/src/atom.js:55:11)
StatusBarSummaryView.render (/Users/jamescooper/.atom/packages/linter/lib/statusbar-summary-view.coffee:11:21)

Yup. Just got this myself. See my pull request for the fix.
https://github.com/AtomLinter/Linter/pull/354

Duplicate of #343

Closing as dupe of #343.


#697 Another solution of #851

…tTimeout and checking availability for each peer

PR is added to the queue for testing as 1. task. (76e0cfc)

Hi @artemjackson, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

Test (Fail) 80798427 build is completed (76e0cfc)
See https://github.com/ThaliTester/TestResults/tree/8079842776e0cfc__697_Another_solution_of__851_artemjackson/ for the logs

Selected #851 as more obvious one. Closed.


0.8.x Bug Fixes Addendum

Correct some issues outlined in:
#2058

This includes the version bump and is pretty much effectively 0.8.11 but this will be held until issue #2078 is dealt with.

You can disable the crash logging and publish 0.8.11 and then do 0.8.12 with the crashlogs enabled. Or leave them disabled and enable them again in 0.9.x on the basis that soon you probably won't be bothered about crashes in 0.8.x (which are pretty rare now anyway). (Aside from the crash I had yesterday on 0.8.9 I cannot remember the last time I had a crash in 0.8.x.)


Add Maintainability and Technical Debt estimation tools

Add all of the following three tools to your projects:
[Sonarqube](https://sonarcloud.io/)
    After doing the exercises you should already have done this.
[Code Climate](https://codeclimate.com/)
[Better Code Hub](https://bettercodehub.com/)

The task should be easy and quick to perform. To any of the three tools, you can login via Github and just select the corresponding repository/-ies.

React on the issues that these tools are 'complaining' about. You do not have to fix everything. But prominent issues that you agree on, should be fixed from now on. Be aware of that the tools automatically analyze new versions of your projects, i.e., check that your future work does not introduce new issues and decreases the quality metrics.

currently setting up sonarcloud on branch #feature/#114

Could also add this project. I got it running locally:

Currently have current problem with sonarcloud:

To disable I must go to sonarcloud website and disable it in Administration > Analysis Method. However I do not see this option. It may be a permissions problem on sonarcloud.

Request has been sent to "owner of repo" for both Code Climate & Better Code Hub

All third party access requests have been granted.

Summary
Better Code Hub
Does not have much configuration for when to run, besides a single button for automatic pull request run. (which I enabled)
You can do some configuration in the .bettercodehub.yml in the root directory:

Exclude files and directories from analysis
Configure programming languages
Define architecture components
Customize file filtering

This is how it went for the main branch. A batch has also been added to the readme.md on dev to flex quality.
To see the weighted metric go to link

Highlights
The major issues better code hub finds are:

too long files (not allowed to be > 60 lines)
code duplication (according to it we have 0 lines of non duplicated code)
no interfaces
missing automated tests

Code Climate
Has github actions for test coverage, though I am unable to make it work link to recommended action Furthermore they have a bunch of integrations E.g. they have integrations for github issues (basically, we can generate issues off of whatever it finds. e.g. too many returns #130),
Code climate also has support for exclusion of files like better code hub, but their configuration is easier to do via GUI, than through their .yaml file advanced configuration documentation.
This is the result from the main branch

Highlights
The major issues code climate finds are:

code duplication
too many return statements

SoundCloud (sonarcloud)
Sonar cloud seems to be the largest and more categorized. It looks into different types of review e.g. security, bugs, duplication etc. and grades each one separately. Also keeping track over time.  It has its own github action that I have setup, but as above comment states, I am struggling with an error. The automated pull request checker seems to work though. These are our results from sonarcloud on the main branch:

Highlights
The major issues are:

passwords are hardcoded in the tests (security)
there should be an alt attribute on (bugs)
TODOs, unused variables etc. (code smells)

Could also add this project. I got it running locally:

I feel like the other three are sufficient.
I did look it through though, however it seems to me we need a go get path, which is not just our git hub repo, as it seems.

Setup
Better Code Hub
Login to their website and add the repository (only public)
Create .bettercodehub.yml in root directory
Climate Code
Login to their website and add repository (only public)
Go to repo settings (on website) and add wanted integrations
For test coverage create an action secret (CC_TEST_REPORTER_ID) with the id from website [couldn't make it work] - old action can still be viewed in actions yml file
SonarCloud
Login to their website and add repository
create sonar-project.properties in root directory
For github action add SONAR_TOKEN found on website to secrets (would not work caused by other CI)


Added UI for View Offers, modified README

Signed-off-by: test<EMAIL_ADDRESS>

@varasudha194 Could you limit your Commit message subject/title to about 50-72 characters. And put a detailed description of what changes are going in in the commit message body.

Closed due to inactivity


Create vlog4j-reasoner module to move vlog-specific code from core

It would be good to move the reasoner implementation package out of core to an own module. The core module should not depend on vlog4j-base. The reasoner interfaces would remain in core.

I started implementing this change on branch reasoner-module-#127, where I moved vLog specific code to new  vlog4j-vlog module.
As seen in the code, this separation raises several issues:

Every DataSource implementation contains code that is vLog specific. Moreover, some of them implement VLogDataSource interface. If these classes are moved to vlog4j-vlog module, then the vlog4j-parser module would need a vlog4j-vlog dependency.

Some package-private classes and methods need now to become public (for example, QueryResultImpl,  if we want to keep them in vlog4j-core).

As InMemoryDataSource uses a package-private method of TermToVLogConverter, it requires it to be in the same package as the to/from vLog converters and the VLogjReasoner
-vlog4j-rdfhas a test dependency to vlog4j-vlog, because it tests reasoning over some RDF data. Perhaps these tests should be removed.

EmptyQueryResultIterator is now the only class in vlog4j.core.reasoner.implementation package. Perhaps it should be moved to vlog4j-vlog .

I've picked this up again as part of the modular-reasoners branch in 10c1fd75629a0ac6b834b7552cd58d28f89359a6.

Backend-specific DataSource code is now handled by a DataSourceConfigurationVisitor implemented by each reasoner backend, so DataSources stay in rulewerk-core, and rulewerk-parser avoids a dependency on rulewerk-vlog.
The test dependency of rulewerk-rdf on rulewerk-vlog remains for now; moving the tests to rulewerk-vlog would then have that depending on rulewerk-rdf. It seems to me that such tests are prime candidates for splitting out into an integration-tests module.
I have broken the InMemoryDataSource dependency on TermToVLogConverter by reimplementing the code (admittedly, this is not the nicest solution, but better than nothing). In general, the InMemoryDataSource interface is quite VLog-specific right now and could benefit from being made more generic.
vlog4j.core.reasoner.implementation still contains more than a single class, even though some of them are now public instead of package-private.

InMemoryDataSource  is now abstract, and we have VLogInMemoryDataSource for VLog-specific implementation


Create realtime-marketing-form-client-side-extensibility

Realtime form extensibility stub

@microsoft-github-policy-service agree


Add license stubs

Fixes #29

Coverage remained the same at 100.0% when pulling 44293ea61ca976a6d11a181a7e7add06da13c691 on licenseheaders into 4b4dc9c4040d7f78187f76921af7f15c342074cc on master.


Support redirect to https for project sbt files

Given urls starting with http://flywaydb.org/repo redirects to https, and the ff project sbt file:
// project/plugins.sbt

addSbtPlugin("org.flywaydb" % "flyway-sbt" % "4.0.1")

resolvers += "Flyway" at "http://flywaydb.org/repo"

Starting sbt fails since the pom and hash fails to download.
http://flywaydb.org/repo/org/flywaydb/flyway-sbt_2.10_0.13/4.0.1/flyway-sbt-4.0.1.pom
         [          ] 0 B (0 B / s)
https://repo1.maven.org/maven2/com/jcraft/jsch/0.1.46/jsch-0.1.46.pom
  100.0% [##########] 3.3 KiB (5.5 KiB / s)
[error]
[error] 1 error(s):
[error]   org.flywaydb:flyway-sbt;sbtVersion=0.13;scalaVersion=2.10:4.0.1:
[error]     not found: /Users/jvliwanag/.sbt/0.13/plugins/target/resolution-cache/org.flywaydb/flyway-sbt/scala_2.10/sbt_0.13/4.0.1/resolved.xml.xml
[error]     Not found
[error]     not found: https://repo.typesafe.com/typesafe/ivy-releases/org.flywaydb/flyway-sbt/scala_2.10/sbt_0.13/4.0.1/ivys/ivy.xml
[error]     not found: https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.flywaydb/flyway-sbt/scala_2.10/sbt_0.13/4.0.1/ivys/ivy.xml
[error]     not found: /Users/jvliwanag/.ivy2/local/org.flywaydb/flyway-sbt/scala_2.10/sbt_0.13/4.0.1/ivys/ivy.xml
[error]     not found: https://repo1.maven.org/maven2/org/flywaydb/flyway-sbt_2.10_0.13/4.0.1/flyway-sbt-4.0.1.pom
[error]     not found: /doesnotexist/repository/org.flywaydb/flyway-sbt/scala_2.10/sbt_0.13/4.0.1/ivys/ivy.xml
[error]     not found: /usr/local/Cellar/typesafe-activator/1.3.2/libexec/repository/org.flywaydb/flyway-sbt/scala_2.10/sbt_0.13/4.0.1/ivys/ivy.xml
[error]     not found: http://repo.typesafe.com/typesafe/releases/org/flywaydb/flyway-sbt_2.10_0.13/4.0.1/flyway-sbt-4.0.1.pom
[error]     not found: http://repo.typesafe.com/typesafe/ivy-releases/org.flywaydb/flyway-sbt/scala_2.10/sbt_0.13/4.0.1/ivys/ivy.xml
[error]     checksum format error: /Users/jvliwanag/.coursier/cache/v1/http/flywaydb.org/repo/org/flywaydb/flyway-sbt_2.10_0.13/4.0.1/flyway-sbt-4.0.1.pom.sha1
java.lang.Exception: Encountered 1 error(s) in dependency resolution

Curiously, the url (http://flywaydb.org/...) where coursier attempted to download form is not listed in the not found section of the error log.
Fixing the resolver to the proper https file of course fixes the issue.
resolvers += "Flyway" at "https://flywaydb.org/repo"

Looks like this is only an issue on project/*.sbt files. The main sbt files (not in project) are not affected.

The error seems to originate from http://flywaydb.org/repo/org/flywaydb/flyway-sbt_2.10_0.13/4.0.1/flyway-sbt-4.0.1.pom.sha1, whose format isn't recognized (as the line checksum format error: /Users/jvliwanag/.coursier/cache/v1/http/flywaydb.org/repo/org/flywaydb/flyway-sbt_2.10_0.13/4.0.1/flyway-sbt-4.0.1.pom.sha1 implies - it could point straightaway at the right URL admittedly).
Would it be a problem to post its content here (it's just a checksum...)?

It looks like coursier attempted to download:
http://flywaydb.org/repo/org/flywaydb/flyway-sbt_2.10_0.13/4.0.1/flyway-sbt-4.0.1.pom.sha1
but since it was a 301 redirect, it failed to do so. So the ff ended up to be an empty file:
/Users/jvliwanag/.coursier/cache/v1/http/flywaydb.org/repo/org/flywaydb/flyway-sbt_2.10_0.13/4.0.1/flyway-sbt-4.0.1.pom.sha1
Thus the invalid checksum. Tried all this with an empty cache folder.

Apparently flyway.org itself is not working properly.
% curl -D - http://flywaydb.org/repo/org/flywaydb/flyway-sbt/4.0.1/flyway-sbt-4.0.1.pom
HTTP/1.1 301 Moved Permanently
Date: Tue, 08 Nov 2016 03:05:44 GMT
Transfer-Encoding: chunked
Connection: keep-alive
Set-Cookie: __cfduid=d88095cdf0ee097fb00933642220d579e1478574344; expires=Wed, 0
8-Nov-17 03:05:44 GMT; path=/; domain=.flywaydb.org; HttpOnly
Location: https://flywaydb.org/repo/org/flywaydb/flyway-sbt/4.0.1/flyway-sbt-4.0
.1.pom
Server: cloudflare-nginx
CF-RAY: 2fe5ce17c26d1b97-SEA

%

However, the HTTPS URL in the Location header is 404.
% curl -D - https://flywaydb.org/repo/org/flywaydb/flyway-sbt/4.0.1/flyway-sbt-4.0.1.pom
HTTP/1.1 404 Not Found
Date: Tue, 08 Nov 2016 03:05:58 GMT
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Set-Cookie: __cfduid=d54490c2f8c15234d5c1815a6c8b8a2e11478574358; expires=Wed, 0
8-Nov-17 03:05:58 GMT; path=/; domain=.flywaydb.org; HttpOnly
Access-Control-Allow-Origin: *
X-GitHub-Request-Id: 6CA2F5F0:31ED:1533EAE:58214114
Server: cloudflare-nginx
CF-RAY: 2fe5ce6dff2a2a19-SEA

<!DOCTYPE HTML>

    <meta charset="UTF-8">
    <meta http-equiv="refresh" content="1;url=/">

    <title>Page Not Found</title>

Page Not Found! Return to the home page

%

Does it work with SBT or Maven?

Closing this. The upcoming releases of both coursier and sbt-coursier should follow http to https redirections by default.


Check converters on ingestion

Was able to ingest an Operation that had an invalid converters.json (did not match the keys in the operation_spec.json

No longer an issue with change to format of operation_spec.json


YAML models for metabolomics analysis activities

This exists on the Berkeley fork (src/data/valid/MetabolomicsAnalysis-1.yaml), closing.


Changed clockrate of OPUS results in browser crash

Hey Guys,
I'm stuck by the problem just as the title says.
First, whether my concepts are correct or not: Is the clockrate a sampling rate or a sampling frequency, etc? If I'm wrong, plz show me where I can find and config the settings about OPUS's sampling.
I just uncomment the sentences about OPUS and comment those about the default PCMU, to use OPUS instead of PCMU. It works by default. But, when I try changing the default clockrate(48000) to 96000, 32000, 24000, 8000, and even 44100, the firefox(both win10 and linux) crashes.
PS: I just modify rtp_media_config.js, any other else stay default. It's my first time to use OPUS. If I'm wrong anywhere, plz show me : )
Thx

Thx @jjahifi . I think it's webrtc thing. It seems I still have a great deal of work to do.


Installing with --no-dev fails

When you try to install BookStack with composer install --no-dev this will fail since some packages like barryvdh/laravel-ide-helper are not installed, but expected in config/app.php.
Installing with the no-dev option is a thing often used by deployment-systems. I use deployer and have to override some solid defaults to make it work. Also composer might change the way how they deal with packages in require-dev and only load require packages by default.
If the package is required for running BookStack it should be included in the required section. Are the entries in app.php still required or are these packages already using autodiscovery (at least laravel-ide-helper does)? If so, we can remove them.

@lommes Yeah, I totally agree with the above.
It looks like all the third party providers have auto-discovery but I know for the PDF libs and Intervention I used non-default aliases/Facades since the defaults are very generic and could get confused with other classes. Not sure if that will have an impact and how auto-discovery works there.

Just pushed c6844324d0e354e728b385b8d238780cd65052e7 to cover this.
I've left the non-dev service providers in there as it's nice to be able to see all required app service providers used listed in one place.


Cyclic dependencies may coerce Shake into successful termination

This often happens to me when I accidentally introduce a cyclic dependency in the new GHC build system. In particular, it happened after this commit: https://github.com/snowleopard/shaking-up-ghc/commit/a33ab012f0e9e997035d7bd6c3ce0535cc9cbed2.
The corresponding travis log shows successful termination of Shake after firing only a dozen of build rules, way too early: https://travis-ci.org/snowleopard/shaking-up-ghc/builds/100424741.
@ndmitchell Can you reproduce?

I don't suppose you have anything smaller to reproduce...? Although maybe this is the kick I need to start playing with your GHC build system, so I'll see if I can take a proper look tomorrow.

I actually tried to produce a simpler example, but in those cases Shake terminated with an appropriate error. So, this is the only test I have for now.

I can now reproduce, trying to track it down.

$ ./build.bat -j -VV libraries/integer-gmp/include/ghc-gmp.h
...
Error when running Shake build system:
* libraries/integer-gmp/include/ghc-gmp.h
* libraries/integer-gmp/stage1/package-data.mk
* libraries/ghc-prim/stage1/package-data.mk
* rts/stage1/package-data.mk
* inplace/bin/ghc-pkg.exe
* utils/ghc-pkg/stage0/build/CRT_noglob.o
* OracleQ (DependenciesKey ("utils/ghc-pkg/stage0/build/.dependencies","utils/ghc-pkg/stage0/build/CRT_noglob.o"))
* utils/ghc-pkg/stage0/build/.dependencies
* utils/ghc-pkg/stage0/build/.hs-dependencies
Build system error - recursion detected:
  Key type:   FileQ
  Key value:  libraries/integer-gmp/include/ghc-gmp.h
Rules may not be recursive

So seems if I build a specific key (the recursive one) I get a good stack.

A reproducible test case:
action ["rec1","rec2"]
"rec1" %> \out -> need ["rec2"]
"rec2" %> \out -> need ["rec1"]

The issue is that I keep a stack which I use to detect cycles. However, here we are simultaneously putting rec1 and rec2 in a waiting state, and then getting each to wait for the other, so there's no obvious point at which the cycle appears. A fundamental issue with Shake, and no immediate idea how to fix it - but at least the test case makes it much easier to debug.

Thinking about it, if the Waiting state of a child captured the stack in the Status constructor then I would probably have enough information to detect a cycle.

My comment about Waiting is entirely incorrect - it lets you see who is waiting, but not what they are waiting for, so is incomplete information.
I solved this by at the end of a computation checking if anything is still waiting, and if so, throwing an error about all of those waiting. This will be everything involved in the cycle, but it's not a stack. I still expect this to be the rare form of rule recursion, so happy enough with good but not perfect detection.

Thanks for fixing! This should make debugging of cyclic dependencies a lot easier.

The stack is already stored in the pending actions, just not accessible directly because it's type IO (). I think Shake could get stack traces if it marked all Waiting keys as Errors and then ran them.

That's an awesome idea! Mark them as error, catch the ShakeException, put them back together somehow. Not sure what the details would look like, but certainly preferable to Andrey's mess. I wonder if any individual one would be sufficient?

I tried the approach suggested by @Mathnerd314 - it was a bit variable. If you have A -> B -> C  then if you set C to error you get a complete stack (awesome), and if you set A to error you get nothing. Of course, there's no way to know which to set to error, and if you set them all, you pretty much guarantee A being the one to report. I also tried augmenting Waiting with the stack, and that gives you everything you want, apart from the last entry (since you don't actually know who it's waiting on), and thus you can't distinguish cycles from non-cycles.
After all that, I'm just going to leave it as it is.