Save logins between runs

What:

I logged in into a website

what I see:

after restart I need to login again to a website

what I expect:

after restart I am at the same page like before
already logged in like before

Hi @muescha !
Login on most common websites (I use it for youtube a lot) works afaik...
Are you able to share a specific website you're having issues with? I may just create an account and see if there's an obvious problem there.
Keep in mind: Pipper is not a "real" browser - It's just a glorified webview.
Basic checks made by website you visit can either detect it as such or report it as an unsupported browser, and this can lead to some strange behaviours.
For example, while I can login and stay logged in on YouTube, the session is much shorther than in Chrome (days vs weeks), I would bet that is some kind of security measure they implement (for reasons I'm too dumb to understand 😅 )

I mean to sage the session inbetween the starts of the app:

startet pipper from xcode with the play button
logged into a page
quit pipper
startet pipper again xcode with the play button
I'm logged out and need to login again.

I just pushed a fix. Indeed, I was not saving cookies.
What's strange is that most SSO seemed to work fine.
Let me know if the issue is solved!

the fix still not save the cookies.
even when I switch between the bookmarks:

Hit on Home icon - change to a different bookmark
Hit on Home icon - change to a previous bookmark
Cookies are gone, I'm not logged in

Mmmh
Can you check this screen capture? I left some notes.
Seems to me cookies are working, in the video I show a basic example with cookie banners not showing up as expected.
Do you have any specific examples of a non-working website?


crash with UserWarning when repeatedly appending to HDFStore

When merging HDF5 files and thus appending to a Series stored in a node, I get the following stacktrace from time to time, with no really clear reproducer. By no clear reproducer, I meaning it happens always at the same place after having looped over several 'to merge' files but it does not appear if I run a sequence of separate processes for each file.
My pseudocode is as follows:
def merge_stores(out_store, in_store_files):
  open(out_store, 'a')
  for in_store_file in in_store_files:
    in_store = pd.HDFStore(in_store_file, 'r')
    for key in in_store.keys():
      out_store.put(key, in_store.get(key), format='t', append=True, min_itemsize=48)

And here is the stack trace I have at the put:
/opt/anaconda/lib/python2.7/site-packages/tables/group.py:1156: UserWarning: problems loading leaf /PC40102D/table::
  Attribute chunksize exists in node PC40102D, but can't get it.

The leaf will become an ``UnImplemented`` node.
  % (self._g_join(childname), exc))
!!!!!!!!!!!!!!!!!!
Uncaught exception
!!!!!!!!!!!!!!!!!!
Traceback (most recent call last):
  File "mergehdf5.py", line 100, in <module>
    main()
  File "mergehdf5.py", line 95, in main
    merge_files(options.outputfile, files, delete=False, append=options.append)
  File "mergehdf5.py", line 81, in merge_files
    out_store_keys = merge_file(out_store, in_store, out_store_keys, append=append)
  File "mergehdf5.py", line 52, in merge_file
    out_store.put(key, to_merge_in, format='t', append=True, min_itemsize=STR_SIZE)
  File "/opt/anaconda/lib/python2.7/site-packages/pandas/io/pytables.py", line 818, in put
    self._write_to_group(key, value, append=append, **kwargs)
  File "/opt/anaconda/lib/python2.7/site-packages/pandas/io/pytables.py", line 1270, in _write_to_group
    s.write(obj=value, append=append, complib=complib, **kwargs)
  File "/opt/anaconda/lib/python2.7/site-packages/pandas/io/pytables.py", line 3891, in write
    obj=obj, data_columns=obj.columns, **kwargs)
  File "/opt/anaconda/lib/python2.7/site-packages/pandas/io/pytables.py", line 3605, in write
    **kwargs)
  File "/opt/anaconda/lib/python2.7/site-packages/pandas/io/pytables.py", line 3136, in create_axes
    if self.infer_axes():
  File "/opt/anaconda/lib/python2.7/site-packages/pandas/io/pytables.py", line 2137, in infer_axes
    s = self.storable
  File "/opt/anaconda/lib/python2.7/site-packages/pandas/io/pytables.py", line 2832, in storable
    return getattr(self.group, 'table', None)
  File "/opt/anaconda/lib/python2.7/site-packages/tables/group.py", line 811, in __getattr__
    return self._f_get_child(name)
  File "/opt/anaconda/lib/python2.7/site-packages/tables/group.py", line 684, in _f_get_child
    return self._v_file._get_node(childpath)
  File "/opt/anaconda/lib/python2.7/site-packages/tables/file.py", line 1562, in _get_node
    node = self._node_manager.get_node(nodepath)
  File "/opt/anaconda/lib/python2.7/site-packages/tables/file.py", line 436, in get_node
    node = self.node_factory(key)
  File "/opt/anaconda/lib/python2.7/site-packages/tables/group.py", line 1158, in _g_load_child
    return UnImplemented(self, childname)
  File "/opt/anaconda/lib/python2.7/site-packages/tables/unimplemented.py", line 69, in __init__
    super(UnImplemented, self).__init__(parentnode, name)
  File "/opt/anaconda/lib/python2.7/site-packages/tables/leaf.py", line 262, in __init__
    super(Leaf, self).__init__(parentnode, name, _log)
  File "/opt/anaconda/lib/python2.7/site-packages/tables/node.py", line 271, in __init__
    self._v_objectid = self._g_open()
  File "/opt/anaconda/lib/python2.7/site-packages/tables/unimplemented.py", line 72, in _g_open
    (self.shape, self.byteorder, object_id) = self._open_unimplemented()
  File "hdf5extension.pyx", line 2095, in tables.hdf5extension.UnImplemented._open_unimplemented (tables/hdf5extension.c:19140)
TypeError: argument 2 to map() must support iteration
DEBUG MODE
Closing remaining open files:/var/engdata/hdf5output/hdf5/M002-20150104-comp.hdf5...done/tmp/M002-201501-comp.hdf5...done```

pls post pd.show_versions()

I will post this data on Monday because I'm not at work. But from memory I
have pytables 3.1.1 and pandas 0.14.2. This is the latest anaconda
distribution for Linux x86_64 .
Of course I open the store correctly, the pseudo code is not right in that
respect.
I deeply hope we can sort this out quick because this issue came up as part
of an evaluation for a 10 years long big data project and this just gave me
a big set back with respect to maturity of the code base for this usage.
Thank you
envoyé de mon GSM
sent from my mobile
On Feb 13, 2015 6:09 PM, "jreback"<EMAIL_ADDRESS>wrote:

pls post pd.show_versions()
—
Reply to this email directly or view it on GitHub
https://github.com/pydata/pandas/issues/9483#issuecomment-74288538.

Here the script used, one printed in_store and the output of pd.show_versions() is:
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://binstar.org
>>> import pandas as pd
>>> pd.show_versions()

INSTALLED VERSIONS
------------------
commit: None
python: 2.7.8.final.0
python-bits: 64
OS: Linux
OS-release: 3.10.0-123.el7.x86_64
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8

pandas: 0.14.1
nose: 1.3.4
Cython: 0.21
numpy: 1.9.0
scipy: 0.14.0
statsmodels: 0.5.0
IPython: 2.2.0
sphinx: 1.2.3
patsy: 0.3.0
scikits.timeseries: None
dateutil: 1.5
pytz: 2014.7
bottleneck: None
tables: 3.1.1
numexpr: 2.3.1
matplotlib: 1.4.0
openpyxl: 1.8.5
xlrd: 0.9.3
xlwt: 0.7.5
xlsxwriter: 0.5.7
lxml: 3.4.0
bs4: 4.3.2
html5lib: None
httplib2: None
apiclient: None
rpy2: None
sqlalchemy: 0.9.7
pymysql: None
psycopg2: None
>>>

Interestingly I do not reproduce the issue while running the same script on Windows with pandas 0.15.2

Unfortunately updating pandas to 0.15.2 on the linux box does not fix the issue.
Here is the output from pd.show_versions() on the windows box where the issue is not present:
Python 2.7.7 |Anaconda 2.0.1 (64-bit)| (default, Jun 11 2014, 10:40:02) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://binstar.org
>>> import pandas as pd
>>> pd.show_versions()

INSTALLED VERSIONS
------------------
commit: None
python: 2.7.7.final.0
python-bits: 64
OS: Windows
OS-release: 7
machine: AMD64
processor: Intel64 Family 6 Model 42 Stepping 7, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None

pandas: 0.15.2
nose: 1.3.3
Cython: 0.20.1
numpy: 1.9.0
scipy: 0.14.0
statsmodels: 0.5.0
IPython: 2.3.0
sphinx: 1.2.2
patsy: 0.3.0
dateutil: 1.5
pytz: 2014.3
bottleneck: None
tables: 3.1.1
numexpr: 2.3.1
matplotlib: 1.4.1
openpyxl: 1.8.5
xlrd: 0.9.3
xlwt: 0.7.5
xlsxwriter: 0.5.5
lxml: 3.3.5
bs4: 4.3.1
html5lib: None
httplib2: None
apiclient: None
rpy2: None
sqlalchemy: 0.9.4
pymysql: None
psycopg2: None
>>>

you might have an issue with an older HDF libraries on your linux box. you can try conda update hdf5.

My linux box is not connected to the internet and I can't seem to find an hdf5 package on continuum repositories - still looking further, though.
conda list |grep hdf5 shows hdf5 1.8.13 on the linux box and nothing on the windows one

All right, just found hdf5 1.8.14 for anaconda. Upgrading and coming back to tell the results.

This did not do it. I have the exact same stacktrace after upgrading HDF5 library.

you can try posting on pytables. No idea what your problem is.

@migdard Closing this. If you still have problem, feel free to reopen or comment further here


Database <IP_ADDRESS> box enhancement to allow configuring system time zone

For the Oracle Database <IP_ADDRESS> box, would you consider an enhancement to allow optional configuration of the system time zone via an environment variable in the Vagrantfile? When the OS default (UTC) is used, it can lead to confusing SYSDATE/SYSTIMESTAMP results when querying the database (unless one is in the UTC time zone, of course). Allowing configuration of the system time zone would make it easier for developers to get results that are consistent with their production databases.
This proposed enhancement would involve adding a bullet point at the end of the Customization section of README.md, and adding a block similar to the following in the install.sh script:
# set system time zone if requested
if [ "$SYSTEM_TIMEZONE" ]; then
   sudo timedatectl set-timezone $SYSTEM_TIMEZONE
   echo "INSTALLER: System time zone set to $SYSTEM_TIMEZONE"
fi

Yeah, I believe that makes a lot of sense.
Even better would be if the timezone is detected from the host by default and can be overwritten?
How would that sound? Just have to check how that is done in vagrant.
@scoter-oracle, do you think that this ER also makes sense for the other boxes or does it not matter so much for them. I remember having issues with OAuth2 when the time(zone) is off. So that could be a hurdle for folks that want to use the VM for some web development.

I think using the host time zone by default but allowing it to be overridden would be ideal. I'm not a Vagrant/Ruby expert, but I'll look into it. Thank you for your consideration!

I like the idea of introducing automatic timezone; using a plugin could sort it out, like https://github.com/tmatilai/vagrant-timezone . Comments ?
We have also to consider that the host can be Win/Linux/MacOS.....

If the plugin meets the need, I'm all for it. However, the readme for the vagrant-timezone plugin states: "The configuration is done on vagrant up and vagrant reload actions. Note that no services are restarted automatically so they may keep using the old time zone information." It would need to be tested, but it sounds like the database could start before the time zone is set.
I found a discussion on Stack Overflow that might be helpful. Perhaps a few lines of Ruby would work across host OSs.

Here is another similar one. Seems like it can be done via some lines of Ruby code itself (look whether the timezone environment variable is set, if not, set it to the current one. This brings me to another ER whether or not we should be able to detect environment variables on the host and pass them in automatically in general. Will open a new ER for that though to keep the discussions separate.

The following works in my test environment (Windows 10 x64 version 1607, VirtualBox 5.2.12, Vagrant 2.1.1). It should work on other host OSs, but I haven't tested it.
First, in the Vagrantfile, add the following immediately before the Vagrant.configure block:
# get host time zone for setting VM time zone; can override in env section below
require 'time'
offset = ((Time.zone_offset(Time.now.zone) / 60) / 60)
timezone_suffix = offset >= 0 ? "-#{offset.to_s}" : "+#{(-offset).to_s}"
SYSTEM_TIMEZONE = 'Etc/GMT' + timezone_suffix

Next, in the Vagrantfile, add a variable in the environment section: "SYSTEM_TIMEZONE"     => SYSTEM_TIMEZONE
Finally, in install.sh, add the following before the Oracle Database prereq installation:
# set system time zone
sudo timedatectl set-timezone $SYSTEM_TIMEZONE
echo "INSTALLER: System time zone set to $SYSTEM_TIMEZONE"

By default, this sets the VM time zone to the host time zone. In the environment section of the Vagrantfile, a different time zone can be specified either by name (e.g., "America/Los_Angeles") or by an offset from GMT (e.g., "Etc/GMT-2").
This doesn't look for the host TZ environment variable. It should be easy to add that functionality, but it may be better suited for the more general environment variable ER.

Hey @PaulNeumann, if you fancy you can submit a PR for this one as well as I won't have time to look at this in the next couple of weeks either. :/

Will do, and thanks! Would it make sense to do this for the <IP_ADDRESS> box as well? The changes would be the same for both boxes.

@gvenzl, I added a commit for this to my fork here. I haven't submitted a PR, because @AmedeeBulle commented on the commit, pointing out that this approach won't work for half-hour time zones (like India). If you have a moment to look at the commit comments, I think I need some guidance on how you'd like to proceed (or whether to proceed at all).

I'd like to try to move this forward, if possible.
As @AmedeeBulle noted, my initial commit for this issue didn't properly handle host time zones that aren't integer hour offsets from GMT (e.g., India). There are (at least) 3 possibilities for how to proceed:

Scrap the enhancement entirely
Remove the time zone calculation and simply allow the user to specify a time zone in the Vagrantfile
Default to setting the VM time zone to the host time zone when the host time zone is an integer hour offset from GMT. Otherwise, fall back to UTC (which would be the default anyway). In either case, allow the user to override the calculated time zone in the Vagrantfile.

In my opinion, option 3 makes the most sense. It automatically sets the VM time zone sensibly, and allows users to easily specify a different time zone, if desired.

Already merged, thanks @PaulNeumann


Add Italian README.it.md

Added Italian translation for README.md
I created a translation of the Readme in Italian because I saw that it was missing

[ ] Integration tests (if applicable)

Closes #

(Also heads up, you might end up with a merge conflict if I merge #1199 first)


Add singular cryptography interfaces for generating, signing and verifying

In a ton of places throughout the codebase, wherever we make a call to on of the crypto crates' generate()/sign()/verify() functions we always have to have a match statement. For example,
        let private_key = Arc::new(match curve {
            Curve::Ed25519 => Ed25519::generate(),
            Curve::Secp256k1 => Secp256k1::generate(),
        }?);

This is an obvious place where DRY and the convenience would save us a lot of lines of code (and overhead). We should create singular interfaces for this set of functionality, within the crypto crate, perhaps multiple different functions depending on what the required set of parameters are (rust doesn't support function overloading, so prefer to use required parameters with named functions; for example sign_crv(curve: Curve) and sign_crv_str(curve: &str)).

oh interesting, I can see @diehuxx you're already thinking about this with #156, nice!


Cannot import tmgen.uniform

I tried to install the package and followed the document at https://tmgen.readthedocs.io/en/latest/quickstart.html#download-and-installation, but it seems this can not work. No modules or available methods are inside the package.
Tried dir(tmgen), the output does not have modules like uniform.
I am wondering if how I can make it work.

Hi @yzexeter, thank you for reporting this issue.
This was a problem with documentation, the correct import statement is actually from tmgen.models import uniform_tm. I have updated the documentation to reflect this.

Thank you @progwriter for your help.


Histogram result

=== Feature request ===
(as we discussed yesterday:) a histogram (parameterised with containing data and # of buckets) could be a useful instance of Data.Result IMHO.

We discussed this way back in Oct'14, of course, but I have some WIP that will make this possible. I hope to update in the next few weeks...

Sounds cool, and good to hear from you!
I don't remember the details of our conversation - of course one hard part is how to choose bucket boundaries... curious to see what you had in mind.


Allow empty tiered replicants map for load rules

This PR makes some changes around the allowed tiered replicants for load rules. It allows values empty tiered replicant in load rules, which would translate to the segment being marked as used, but not loaded on any historical for example:
{
    "interval": "2019-08-25T12:00:00.000Z/2019-08-26T00:00:00.000Z",
    "type": "loadByInterval"
  }

A new validation is also added, if a tiered replicant is being specified, it should be more than 0 (instead of allowing 0 as before), as it now only makes sense to specify it if the segment needs to be loaded on a historical.

This PR has:

[ ] been self-reviewed.

[ ] using the concurrency checklist (Remove this item if the PR doesn't have any relation to concurrency.)

[ ] added documentation for new or modified features or behaviors.
[ ] a release note entry in the PR description.
[ ] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[ ] added or updated version, license, or notice information in licenses.yaml
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[ ] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[ ] added integration tests.
[ ] been tested in a test Druid cluster.

I think Option 1 has the potential to be confusing. For example
  {
    "type": "loadByInterval",
    "tieredReplicants": {},
    "interval": "2010-01-01/2020-01-01"
  }

and
  {
    "type": "loadByInterval",
    "interval": "2010-01-01/2020-01-01"
  }

would result in one loading the segments on historicals and one would not, which would end up being difficult to understand moving forward.

We could also include a new flag called allowNullTieredReplicants which is defaulted to true and does not change the current behavior ie we set the default tier rules in case NullTieredReplicants is null.
If users set this to false the new behavior is enabled. The web-console starts setting this new flag for every request.  That would solve the backward compatibility piece.
Its Option 1 with a new flag.
cc @kfaraz @adarshsanjeev


Extend CLI import documentation

Use program/option markup
Add description of --debug and --skip arguments

--no-rebase

Since you're modifying this page you might as well fix a few typos:

https://github.com/openmicroscopy/ome-documentation/pull/1146/files#diff-ae91cc23e02b919798cb9420c37c0e05R16 Most of commands
https://github.com/openmicroscopy/ome-documentation/pull/1146/files#diff-ae91cc23e02b919798cb9420c37c0e05R44 Remove the -h, and if you feel like it update the version string

Other than that looks good.

Commits pushed. Note that 934a4300840018b746a74201d78e3dc289e02a94 attempts to add an more thorough description of the large datasets import problem /cc @hflynn

Erm, there's a separate page for CLI importing at https://www.openmicroscopy.org/site/support/omero5.1-staging/users/command-line-import.html
It would probably be better to update that and reference it from this page rather than starting another big import section here.
Sorry I didn't spot that earlier.

The page you linked is about the Java-only command-line importer (which is used by the import plugin of the Python CLI). And some options described by this PR only apply to the Python CLI. Maybe we need to decide of a single page for all command-line import tools. But from my point-of-view we are largely moving towards exposing the Python CLI as the entry point for all command-line actions.

Oh. That's not confusing at all :( Can we explain that somewhere?

Yes maybe we should use this opportunity to reorganize the command-line section. A proposal would be something like
users/command-line-interface/index.txt
users/command-line-interface/installing.txt
users/command-line-interface/import.txt
users/command-line-interface/sessions.txt
users/command-line-interface/tag.txt

where the import.txt page would discuss the Python import but also mention the standalone Java command-line importer on the same page, preventing duplication. Also it would allow to address other CLI doc tickets.
The major impact of this is that it would "break" links to users/command-line-interface.txt /cc @ximenesuk @joshmoore

If we're going to break things, now is the time to do it. I'd vote for users/cli/index etc rather than the full command-line-interface though.

Fair enough. Closing this then. I will open a restructuration-only PR this evening then we can review individual sections.

@sbesson Advanced warning- if you're planning to modify omero/autogen as part of this I've also got some pending changes https://github.com/manics/ome-documentation/compare/sys_dev_whatsnew...manics:sys_dev_whatsnew_autogen

Thanks for the heads-up. No I plan to touch the static Sphinx content only as part of my PR. But it is nice to see you plan to push to omero/downloads/cli as it matches @hflynn's suggestion .


first stab at watch and serve implementation

The RFC for this feature, https://github.com/rustwasm/rfcs/pull/10, hasn't been formally accepted yet, but I was wondering how hard it'd be to build these features, and apparently it's possible to build a simple but functional prototype in <200 lines of new code.
Things I like about this code:

preserving build option logic verbatim is easy with #[structopt(flatten)]
a RwLock is perfect for holding the server until the build finishes
using an external crate for file handling means we get the right MIME type basically for free (although i could probably be using the hyper-staticfile crate more effectively)
a zero-element mpsc sync channel allows the watch event thread to pass a notification to the watch build thread only if it isn't already building and discard changes found while building (a more naive approach would queue three new builds if three files were changed while building, and that's not good)

Things that need to be resolved:

[ ] can the server listen on both ipv4 and ipv6 loopback addresses? i can't tell if hyper supports that
[ ] which files should be watched? the cargo-watch crate appears to watch the entire crate directory except for things in .gitignore and a handful of manually defined exclusions
[ ] do these subcommands need to cleanly exit on Ctrl-C or is it fine to just exit the program immediately?
[ ] how should any of this be automatically tested?
[ ] ideally, if some set of files are changed during the build process, the build should rerun once; this could probably just be achieved by giving the build channel a buffer size of 1 instead of 0, but i'd have to test further to be sure that it works

Hi @boringcactus; thanks so much for this PR! Sorry this has taken a while to review. @ashleygwilliams and I had a call about this PR yesterday and we reviewed it together.
We found this PR to be an excellent starting point, and are happy to land the code. A few adjustments will need to be made though: specifically fixing the merge conflict, and adding tests. But @ashleygwilliams has said she would pick that up.
Either way we're really excited about this PR, and wanted to let you know we're planning to move ahead with the work you've done! Thanks so much!

Hi team, any news on this PR? I came from cargo-web and would love that we have a serve command.


GoXLR crashes, when pressing a Sampler Button

my GoXLR crashes/disconnects/restarts when pressing a sampler button with a soundeffect
goxlr-daemon --log-level debug is not very informative
11:43:40 [DEBUG] (16) goxlr_usb::device::libusb::device: Error when attempting to write control.
11:43:40 [DEBUG] (16) goxlr_usb::device::libusb::device: Checking Disconnect for device: Bus 002 Device 020: ID 1220:8fe0
11:43:40 [WARN] Error Received from S201212188CQK: No such device (it may have been disconnected)
11:43:40 [INFO] [S201212188CQK] Device Disconnected
11:43:41 [INFO] Connected to possible GoXLR device at Bus 002 Device 021: ID 1220:8fe0
11:43:41 [DEBUG] (16) goxlr_usb::device::libusb::device: Handling initial request
11:43:41 [DEBUG] (16) goxlr_usb::device::base: [2c, 13, 0, 0, 69, 0, 0, 0, 66, 21, 6, 0, 7, 0, 0, 0, 64, 0, 0, 0, 9, 30, 10, 0]
11:43:41 [INFO] Configuring GoXLR, Profile: VaporwaveAF, Mic Profile: DEFAULT

also
11:47:35 [WARN] Unable to Start TTS Service

how do I get the TTS Service to work?
PC Stats:
Kubuntu 23.04
Kernel 6.2.0-20-generic
Full Size GoXLR
Utility Version
0.11.1
Firmware: <IP_ADDRESS>

Hi, chan you check dmesg when the GoXLR crashes, and see if there's any information there please?

[ 6277.632971] usb 2-1: USB disconnect, device number 2
[ 6277.922376] usb 2-1: new high-speed USB device number 12 using xhci_hcd
[ 6278.842375] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?
[ 6278.970370] usb 2-1: new high-speed USB device number 13 using xhci_hcd
[ 6279.134686] usb 2-1: New USB device found, idVendor=1220, idProduct=8fe0, bcdDevice= 1.00
[ 6279.134691] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6279.134692] usb 2-1: Product: GoXLR
[ 6279.134693] usb 2-1: Manufacturer: TC-Helicon
[ 6279.244516] usb 2-1: parse_audio_format_rates_v2v3(): unable to find clock source (clock -71)
[ 6279.245150] usb 2-1: uac_clock_source_is_valid(): cannot get clock validity for id 41
[ 6279.245153] usb 2-1: clock source 41 is not valid, cannot use
[ 6279.309229] usb 2-1: USB disconnect, device number 13
[ 6279.622339] usb 2-1: new high-speed USB device number 14 using xhci_hcd
[ 6279.782943] usb 2-1: New USB device found, idVendor=1220, idProduct=8fe0, bcdDevice= 1.00
[ 6279.782947] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6279.782949] usb 2-1: Product: GoXLR
[ 6279.782950] usb 2-1: Manufacturer: TC-Helicon
[ 6279.852080] usb 2-1: can't set config #1, error -71
[ 6279.852149] usb 2-1: USB disconnect, device number 14
[ 6280.134338] usb 2-1: new high-speed USB device number 15 using xhci_hcd
[ 6280.262401] usb 2-1: Device not responding to setup address.
[ 6280.474363] usb 2-1: Device not responding to setup address.
[ 6280.682335] usb 2-1: device not accepting address 15, error -71
[ 6281.026312] usb 2-1: new high-speed USB device number 16 using xhci_hcd
[ 6281.182953] usb 2-1: New USB device found, idVendor=1220, idProduct=8fe0, bcdDevice= 1.00
[ 6281.182957] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6281.182958] usb 2-1: Product: GoXLR
[ 6281.182959] usb 2-1: Manufacturer: TC-Helicon
[ 6281.260091] usb 2-1: can't set config #1, error -71
[ 6281.260150] usb 2-1: USB disconnect, device number 16
[ 6281.546300] usb 2-1: new high-speed USB device number 17 using xhci_hcd
[ 6281.706959] usb 2-1: New USB device found, idVendor=1220, idProduct=8fe0, bcdDevice= 1.00
[ 6281.706964] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6281.706965] usb 2-1: Product: GoXLR
[ 6281.706966] usb 2-1: Manufacturer: TC-Helicon
[ 6281.804549] usb 2-1: parse_audio_format_rates_v2v3(): unable to find clock source (clock -71)
[ 6281.805165] usb 2-1: uac_clock_source_is_valid(): cannot get clock validity for id 41
[ 6281.805168] usb 2-1: clock source 41 is not valid, cannot use
[ 6281.869261] usb 2-1: USB disconnect, device number 17
[ 6282.182287] usb 2-1: new high-speed USB device number 18 using xhci_hcd
[ 6282.334962] usb 2-1: New USB device found, idVendor=1220, idProduct=8fe0, bcdDevice= 1.00
[ 6282.334965] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6282.334966] usb 2-1: Product: GoXLR
[ 6282.334967] usb 2-1: Manufacturer: TC-Helicon
[ 6282.637342] retire_capture_urb: 19 callbacks suppressed
[ 6287.274272] usb 2-1: USB disconnect, device number 18
[ 6287.582185] usb 2-1: new high-speed USB device number 19 using xhci_hcd
[ 6287.740007] usb 2-1: New USB device found, idVendor=1220, idProduct=8fe0, bcdDevice= 1.00
[ 6287.740011] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6287.740012] usb 2-1: Product: GoXLR
[ 6287.740013] usb 2-1: Manufacturer: TC-Helicon
[ 6287.757382] retire_capture_urb: 89 callbacks suppressed
[ 6291.998937] usb 2-1: USB disconnect, device number 19
[ 6292.302068] usb 2-1: new high-speed USB device number 20 using xhci_hcd
[ 6292.465793] usb 2-1: New USB device found, idVendor=1220, idProduct=8fe0, bcdDevice= 1.00
[ 6292.465797] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6292.465799] usb 2-1: Product: GoXLR
[ 6292.465800] usb 2-1: Manufacturer: TC-Helicon
[ 6292.781433] retire_capture_urb: 96 callbacks suppressed
[ 6300.621128] retire_capture_urb: 77 callbacks suppressed
[ 7034.307300] usb 2-1: USB disconnect, device number 20
[ 7035.014692] usb 2-1: new high-speed USB device number 21 using xhci_hcd
[ 7035.166533] usb 2-1: New USB device found, idVendor=1220, idProduct=8fe0, bcdDevice= 1.00
[ 7035.166537] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 7035.166538] usb 2-1: Product: GoXLR
[ 7035.166539] usb 2-1: Manufacturer: TC-Helicon
[ 7043.570993] retire_capture_urb: 86 callbacks suppressed


Can I clone a VM from a pure ESXi 6.7?

Without a vCenter,  when I running the clone_vm example, there was a first problem in the example resource_pool = cluster.resourcePool, since I don't have (can't create ) a cluster.
If I make the resource_pool as None, the example print "there was an error" and I saw the EXSi Job having a 'Clone VM' operation but it states "the operation is not supported on the object".
Is there any other way in my case that can clone a VM ?
Thanks!

ESXi does not support the Clone API.
To re-invent the clone you would probably have to do a number of steps:

Use FileManager to MakeDirectory for the cloned VM location.
Use VirtualDiskManager to CopyVirtualDisk of the source to the destination location.
Create the cloned VM based off the ConfigInfo of the source. ConfigInfo and ConfigSpec don't match up too perfectly, so you'd have to write something to handle the differences. Point the fileInfo to the directory you created and possibly have to name the vmx file. For the disk's deviceSpec, you should just operation="add" with no fileOperation because you'll be using the ones you copied in step 2.

If you want to clone a VM that is powered on, then you'll also have to take a snapshot prior to step 2 and call CopyVirtualDisk of the disk's parent backing because I don't think you can copy the disk while it is in use.
If you need features like guest customization, then I don't think ESX has any APIs that do that.


merge from konsum-frontend-svelte

package.json

chore(deps): add ^3.48.0 remove ^3.47.0 (devDependencies.svelte)

:tada: This PR is included in version 1.31.17 :tada:
The release is available on:

npm package (@latest dist-tag)
v1.31.17
GitHub release

Your semantic-release bot :package::rocket:


Trouble referencing JSON files

Uploading or linking JSON data package specification files appears not to work on csvlint.io and reports the following error when a validation is run?
Schema problem: Empty Schema

The schema provided is empty. This file cannot be parsed against the CSV.

(OS/X 10.9.5, Chrome 48.0, Firefox 44.0)

Hi Tony
Do you have an example schema I can try please?

Hi Stuart
I tried a few from https://github.com/datasets/

Hi Tony
At the moment, we don't support schemas from within datapackage.json files (unless part of a zipped datapackage). See the schemas section for more info. If I've got the wrong end of the stick, please let me know!
Cheers

I was separately loading them.. (i.e. I either unzipped locally and then tried to upload separate parts, or linked to the raw file on github (I tried both approaches).
One thing I noticed was that the CSV upload overtly uploaded on the page (showed a progress bar etc, then a completed confirmation) but the JSON upload didn't... it just sits there:

The console log shows nothing.

Yeah, the background uploading doesn't happen with json files, but I see why that could be confusing. I'll open a separate issue for this.

Stuart
I'm still a little confused...
I expected the linter to allow me to upload a CSV file and a JSON file and then check the CSV against the JSON spec. But it seems whatever I try to do, I can't get this to work.
So have I misunderstood, or am I doing something wrong?!

We do support schema validation, but not from within a `datapackage.json. An example schema looks like this:
https://gist.githubusercontent.com/ldodds/9070198/raw/44076fa619d9c89188197130ca596cc99a25d693/senior-staff-organagram.json


The outout of the Chat Input is not been recognized as text by OpenAI model

Describe the bug

I have implemented the flow:
Chat Input [output message/text] -> [input] OpenAI Model [output text] -> [input] Chat Output.

When running the playground chat to test the flow I receive the error message:
Error building vertex Azure OpenAI: 2 validation errors for HumanMessage content str type expected (type=type_error.str) content value is not a valid list (type=type_error.list)

Input Chat :
from typing import Optional

from langflow.base.io.chat import ChatComponent
from langflow.schema.message import Message
from langflow.field_typing import Text
from typing import Union
class ChatInput(ChatComponent):
display_name = "Chat Input"
description = "Get chat inputs from the Playground."
icon = "ChatInput"
def build_config(self):
    build_config = super().build_config()
    build_config["input_value"] = {
        "input_types": [],
        "display_name": "Text",
        "multiline": True,
    }
    build_config["return_message"] = {
        "display_name": "Return Record",
        "advanced": True,
    }

    return build_config

def build(
    self,
    sender: Optional[str] = "User",
    sender_name: Optional[str] = "User",
    input_value: Optional[str] = None,
    files: Optional[list[str]] = None,
    session_id: Optional[str] = None,
    return_message: Optional[bool] = True,
) -> Union[Message, Text]:

    # THis has been included to make sure the input is a string
    if isinstance(input_value, list):
        input_value = " ".join(input_value)
    elif not isinstance(input_value, str):
        input_value = str(input_value)

    # Included to check the output of the Chat Input
    print(f"Processed input_value: {input_value} (type: {type(input_value)})")

    # Output:

"""
Processed input_value: Hello (type: <class 'str'>)
D:\Dev\LangChain\lesson1\venv\Lib\site-packages\pydantic\main.py:1042: PydanticDeprecatedSince20: The __fields__ attribute is deprecated, use model_fields instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.7/migration/
warnings.warn(
D:\Dev\LangChain\lesson1\venv\Lib\site-packages\pydantic\main.py:347: UserWarning: Pydantic serializer warnings:
Expected Union[str, dict[any, any], general-fields] but got list - serialized value may not be as expected
return self.pydantic_serializer.to_python(
"""
    return super().build_with_record(
        sender=sender,
        sender_name=sender_name,
        input_value=input_value,
        files=files,
        session_id=session_id,
        return_message=return_message,
    )

Screenshots

@dosu, You provide the same code I gave you. I have tried that code and its not working. Any other way to solve this?

same as #2182

Please insert the API key directly instead of using a variable. There is still a bug with using the variable.

I am still getting the error when inputting the API key directly. Are there adjustments needed to the code?

duplicated of #2182 and working 1.0.5


Reversal of .bin()

I'm wondering if there is a way to revert calling .bin().  Something like:
x1 = Fxp(3.4)
x_bin = x1.bin()
x2 = from_bin(x_bin)
assert x1 == x2

My use case is to convert into the notation, do some operations, then convert the result back over.  I see the constructor can take in a binary value but it looks like it only takes in a "normal" python bit string.  Is this possible currently?

The method bin returns a string without 0b prefix to maintain compatibility with python. So, you can add this prefix before create a new Fxp or when you get binary string, taking into account that you need to specify the fractional format. I can give you some examples to solve that:
x1 = Fxp(3.4)
x_bin = x1.bin() # or '0b' + x1.bin()
x2 = Fxp('0b' + x_bin, like=x1) # also works with fractional dot format

If you don't want to keep x1 you should create Fxp with a particular dtype or work with a fractional binary string format:
x1 = Fxp(3.4)
x_bin = x1.bin(frac_dot=True)
x2 = Fxp('0b' + x_bin)

In the last example x2 could have a different size than x1 because leading or trailing zeros.

Thanks for the quick response.  The first example works in my case since the original will still be around so I'll go with that. It'd be a nice enhancement to go from just the output string on its own (as long as frac_dot was specified) back to an Fxp.

Yes, it would be good!
I'll try to include that in next release. Thanks for the recommendation.

Hi @francof2a ,
I am facing issue with fraction part using above method.
float_val = 256.2
ret_int = Fxp(float_val, n_word=32, signed=True, n_frac=2, n_int=29,)
ret_float = Fxp("0b"+ ret_int.bin(),  n_word=32, signed=True, n_frac=2, n_int=29,)
print(ret_float)

output is 256 but I need 256.2

solved in v0.4.9


SO-4663: OSGI console_command 'codesystems' formatting improvements

Codecov Report

Merging #761 (1cbd8b8) into 7.x (438cd66) will decrease coverage by 0.03%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##                7.x     #761      +/-   ##
============================================
- Coverage     58.85%   58.82%   -0.04%
- Complexity    12821    12823       +2
============================================
  Files          1774     1774
  Lines         65501    65539      +38
  Branches       6460     6466       +6
============================================
+ Hits          38550    38551       +1
- Misses        23939    23977      +38
+ Partials       3012     3011       -1

Impacted Files
Coverage Δ
Complexity Δ

...ional/snowowl/core/console/CodeSystemsCommand.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

.../snomed/core/ecl/SnomedEclRefinementEvaluator.java
87.16% <0.00%> (-0.60%)
108.00% <0.00%> (ø%)

...index/src/com/b2international/index/es/EsNode.java
85.88% <0.00%> (+1.17%)
16.00% <0.00%> (+1.00%)

...wl/fhir/core/model/conceptmap/TranslateResult.java
83.87% <0.00%> (+6.45%)
7.00% <0.00%> (+1.00%)

Continue to review full report at Codecov.

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


error: externally-managed-environment

Hello,
Trying to install on OpenBSD 7.5 with pip install shell-gpt I'm getting the error below, any help or orientation will be appreciated.
error: externally-managed-environment

× This environment is externally managed
╰─> This Python installation is managed by pkg_add(1).

    To install Python packages system-wide, use the OS packages where
    possible, for example: "pkg_add py3-somepackage".

    Otherwise, for software which is not available in packages,
    it is recommended to create a "venv" (virtual environment, see
    https://docs.python.org/3/library/venv.html) and install it there.
    For standalone applications, pipx (in the py3-pipx package) can
    help manage this for you.

note: If you believe this is a mistake, please contact your Python installation or OS distribution
provider. You can override this, at the risk of breaking your Python installation or OS, by passing
--break-system-packages.
hint: See PEP 668 for the detailed specification.

this is a python/os issue, not a shell_gpt issue

Thank you for the link, great info and it helped a lot. It's installing correctly now, I just followed the instructions to create and activate the virtual environment, as the error message indicates as one of the options to fix it. I didn't try the other options since the virtual environment fixed it. OpenBSD users must replace the "source" command by a period (.) when activating the virtual environment, so "source .venv/bin/activate" will be actually ". .venv/bin/activate".
This ticket can be closed as Solved.
Thank you!

Is there a workaround or a solution to this ? Happening on Ubuntu 24.04 as well. Python 3.12.
Activating .venv every time breaks the paradigm to have it available in the shell by default. Any suggestions I should follow ?

python encourages venv so pip install is not recommended anymore
just make sure you have pipx installed and run
pipx install shell_gpt
if you use litellm pipx install shell_gpt[litellm]


Deprecated re2.max_program_size.error_level

Title: Deprecated re2.max_program_size.error_level
Description:
envoy envoy_bug envoy bug failure: false. Details: The Envoy community is attempting to remove global integers. Given you use re2.max_program_size.error_level please immediately file an upstream issue to retain the functionality as it will otherwise be removed following the usual deprecation cycle. since https://github.com/envoyproxy/envoy/pull/20168.
As far as I know, there is no alternative for this option. The proto api/envoy/type/matcher/v3/regex.proto even explicitly recommends to use this field.
We need some non-deprecated way to to make Envoy allow larger regex's than the default (100)
cc @alyssawilk
[optional Relevant Links:]

Any extra documentation required to understand the issue.

cc: @alyssawilk

Coming back to this I would say we should support it if no one is using it. If as you say it's mentioned in the APIs I think we'd have to leave it around for a full year, but if no one has had complaints after a year because no one uses it, why should we keep it in the code base?

We do use it and will continue to use it unless an alternative is implemented. We have strong requirements to have regex over the default size

Ah sorry, that wasn't clear.  I'll make sure I replace it then. Thanks for responsibly (and quickly!) reporting!

I'm thinking that for this one perhaps this would be a good candidate for a CLI flag and some kind of global value? I just don't see anyone setting this on a per regex basis. The other option would be an env variable, though we don't have any precedent for that.

I can also just leave the runtime variable as-is, and do the plumbing to not have the access illegal.  I think that'd be the minimum if I can do it without refactoring the world


Fixes for usage of use-ssl option

Elasticsearch url generation depending on useSSL value.
Cerebro configuration.

Fix (partial) for #161

@splisson-altair this is still a breaking change, if users bump the operator version and the flag use-ssl is not configured in the CRD golang will set values as false. You should set the values of  use-ssl as true if it's not yet configured in the CRD.

@gianrubio I agree but I have not figured out how to detect that a value is not set in the CRD vs it being defined to false. From what I found unless one use a constructor, it's not possible to detect that in the struct. Any idea ?

Maybe replace use-ssl by http-scheme, string "http" or "https" , that I can test for empty string and default to https

Given your latest change, this should not be a breaking change to upgrade the operator, correct?

@SEJeff It should not. But I was only able to test with 2 configs (with and without) on my k8s cluster, so I'd say it should not break but to be tested more thoroughly.

This errors out for me when I run:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xe1880b]

goroutine 53 [running]:
github.com/upmc-enterprises/elasticsearch-operator/pkg/k8sutil.(*K8sutil).CreateClientDeployment(0xc4201c2720, 0xc4205320c0, 0x37, 0xc42041e118, 0xc4202b2440, 0x11, 0x0, 0x0, 0x0, 0x0, ...)
	/home/steve/godev/src/github.com/upmc-enterprises/elasticsearch-operator/pkg/k8sutil/deployments.go:121 +0x8eb
github.com/upmc-enterprises/elasticsearch-operator/pkg/processor.(*Processor).processElasticSearchCluster(0xc4201da9c0, 0xc42041e000, 0xc42007fe68, 0x1)
	/home/steve/godev/src/github.com/upmc-enterprises/elasticsearch-operator/pkg/processor/processor.go:298 +0x835
github.com/upmc-enterprises/elasticsearch-operator/pkg/processor.(*Processor).processElasticSearchClusterEvent(0xc4201da9c0, 0xc42041e000, 0x0, 0x0)
	/home/steve/godev/src/github.com/upmc-enterprises/elasticsearch-operator/pkg/processor/processor.go:230 +0x118
github.com/upmc-enterprises/elasticsearch-operator/pkg/processor.(*Processor).WatchElasticSearchClusterEvents.func1(0xc4200460c0, 0xc4201da9c0, 0xc4200a1740, 0xc4200b8420, 0xc42032d150)
	/home/steve/godev/src/github.com/upmc-enterprises/elasticsearch-operator/pkg/processor/processor.go:85 +0x1f8
created by github.com/upmc-enterprises/elasticsearch-operator/pkg/processor.(*Processor).WatchElasticSearchClusterEvents
	/home/steve/godev/src/github.com/upmc-enterprises/elasticsearch-operator/pkg/processor/processor.go:81 +0x78
exit status 2

@stevesloka I added pointer nil checks that should fix that

I did some tests.
Setting use-ssl: false worked well. The cluster was running without SSL and health checks passed. I was able to connect from client without any issues.
Setting use-ssl: true also worked fine, cluster was deployed with SSL and health checks passed again.
If I omitt use-ssl, default was false and it should be set to true?
I see the this message in operator, but still cluster is deployed without SSL:
time="2018-04-26T07:30:48Z" level=info msg="use-ssl not specified, defaulting to UseSSL=true"

@komljen thanks for testing, I think defaulting to true for ssl would be best. @splisson-altair do you want to make that change? If not we could merge and do a followup PR.

Thanks. I ll look into it
Sébastien
On Apr 26, 2018, at 05:58, Steve Sloka <notifications<EMAIL_ADDRESS>wrote:
@komljenhttps://github.com/komljen thanks for testing, I think defaulting to true for ssl would be best. @splisson-altairhttps://github.com/splisson-altair do you want to make that change? If not we could merge and do a followup PR.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/upmc-enterprises/elasticsearch-operator/pull/175#issuecomment-384631767, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJ8dUxvjDnsWsXDaNSh8jKqAP-yYsmVGks5tscRtgaJpZM4TKbqh.

An assignment was missing for a new cluster. The cluster spec receive din the function is used for new cluster, not the one updated in refreshCluster

I set use-ssl=false and it still created certs:
time="2018-04-26T20:28:19Z" level=info msg="use-ssl false"
time="2018-04-26T20:28:19Z" level=info msg="Using [upmcenterprises/docker-elasticsearch-kubernetes:6.1.3_0] as image for es cluster"
time="2018-04-26T20:28:19Z" level=info msg="use-ssl false"
time="2018-04-26T20:28:19Z" level=info msg="Creating new certs!"
time="2018-04-26T20:28:19Z" level=info msg="Creating ca cert..."
time="2018-04-26T20:28:19Z" level=info msg="Creating node cert..."
time="2018-04-26T20:28:19Z" level=info msg="Creating kibana cert..."
time="2018-04-26T20:28:20Z" level=info msg="Creating cerebro cert..."
time="2018-04-26T20:28:21Z" level=info msg="Converting node to pkcs12..."
time="2018-04-26T20:28:21Z" level=info msg="Converting ca cert to jks..."
time="2018-04-26T20:28:21Z" level=info msg="Converting node cert to jks..."
time="2018-04-26T20:28:21Z" level=info msg="Discovery Service not found, creating..."

Yes it will require to modify the way the StatefulSet struct is built.
I'm also looking into that area of the code to allow updating Resources requests and limits. AFAIK currently one need to delete the cluster to do that with the operator.

I'm going to merge this, we can fix the certs piece in another PR


Better formatting of uptime

In-stream (where I'm CodeAndData), you mentioned a desire for better formatting of the duration than this line.
Unfortunately, moment.js doesn't support doing that directly and has rebuffed requests so far to implement such a feature, so it's a roll-your-own. I tend to just code that stuff up myself than to try to find some third party plugin, so...
I played around with that and got to this CodePen, which I think is pretty nice. Feel free to use or modify as you like.

@allcontributors please add @nihonjinrxs for code

Thanks for the help @nihonjinrxs!  We got it working on stream today!


chore: generate go.mod files

Closes #2090

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-5lHf64IXfvmr
Commit ID: d1b30b4f720672b488e73b6bbe187744971bf8e5
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-5lHf64IXfvmr
Commit ID: ba6c92c46cbe6856de52cc986180c70860cb5c79
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-5lHf64IXfvmr
Commit ID: 9485d2510cb437b0e0306b6cdbac6cc9678d96ec
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-5lHf64IXfvmr
Commit ID: a61358bd4c9a358cafda8861839db6d642906b4d
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-5lHf64IXfvmr
Commit ID: 69297b58aafe1d53b5643909dbbbf2ba6187e0e6
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-5lHf64IXfvmr
Commit ID: 47e712ddb2434041669c1c9a08816baff7910570
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-5lHf64IXfvmr
Commit ID: f42e56eb837b931f3b6271e292afd1cd7db149cd
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-5lHf64IXfvmr
Commit ID: 6a91f96041e7a63be1488c9408ba7883f2d171f3
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-5lHf64IXfvmr
Commit ID: a1ad9c59b3f40ef029983fc540c3d68ead8f4b0c
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-5lHf64IXfvmr
Commit ID: 6a91f96041e7a63be1488c9408ba7883f2d171f3
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-5lHf64IXfvmr
Commit ID: 0dfaf7a68eaa64b962c78f3c9bc4b81782ba4604
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-5lHf64IXfvmr
Commit ID: 23dd96604dcf38730c0c4993adc82344f632ffb9
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-5lHf64IXfvmr
Commit ID: 2961a3d2ebb445bd6f8ca872630cbea5e89d1525
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-5lHf64IXfvmr
Commit ID: 05bb727abf6f0ec77a2d06e066efd1fe20457dfc
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Upgrade observability bundle

What this PR does / why we need it
Checklist

[x] Update changelog in CHANGELOG.md.

Trigger e2e tests

/test create
/test upgrade

We use grizzly for the e2e tests and it's currently being recreated so we can't run tests atm.

Makes sense :D

Can you test it manually?

Well, yes but I'd rather not do it on all providers :D

grizzly is being recreated this week. I don't know how urgent this ugprade is, but if it's not urgent you could wait until grizzly is up and running again.

Sure thing :)

Superseeded by https://github.com/giantswarm/default-apps-aws/pull/169


required T1w

Currently, the pipeline REQUIRES a T1w image in the input BIDSdir, but I'd like to run on a dataset of only TSE slabs (/scratch/jdekrake/Hippocampal_AutoTop_tests/Generalizability_dataset on graham). The data is from the ASHS atlas from the recent Berron 7T segmentation paper.
Here is my error
(venv) [jdekrake@gra798 hippdev]$ hippunfold /scratch/jdekrake/Hippocampal_AutoTop_tests/Generalizability_dataset/bids/ /scratch/jdekrake/Hippocampal_AutoTop_tests/Generalizability_dataset/hippunfold_tse participant --cores all
TypeError in line 21 of /scratch/jdekrake/hippdev/hippunfold/workflow/Snakefile:
generate_inputs_config() got an unexpected keyword argument 'limit_to'
  File "/scratch/jdekrake/hippdev/hippunfold/workflow/Snakefile", line 21, in <module>

Traceback (most recent call last):
  File "/scratch/jdekrake/hippdev/venv/bin/hippunfold", line 33, in <module>
    sys.exit(load_entry_point('hippunfold', 'console_scripts', 'hippunfold')())
  File "/scratch/jdekrake/hippdev/hippunfold/run.py", line 10, in main
    app.run_snakemake()
  File "/scratch/jdekrake/hippdev/venv/lib/python3.7/site-packages/snakebids/app.py", line 197, in run_snakemake
    run(snakemake_cmd)
  File "/scratch/jdekrake/hippdev/venv/lib/python3.7/site-packages/snakebids/app.py", line 41, in run
    raise Exception("Non zero return code: %d"%process.returncode)

which I attribute to this line: https://github.com/khanlab/hippunfold/blob/68a137fa900b7a8d40b6a5760f16928b62209943/workflow/Snakefile#L10
I'm not super familiar, but I think removing this will break further preprocessing (https://github.com/khanlab/hippunfold/blob/master/workflow/rules/preproc_t2.smk)
For the time being I can see a workaround using T1w data that is available, but only in their cropped hippocampal space. @akhanf just wondering if you think it would be worth having the ability to run with no T1w?

Relatedly, for datasets like this it would be nice to be able to skip the bulk of the preprocessing as well (eg. T1-T2 registration, N4 correction, etc). I wonder if we could add a flag to skip everything except the registration to space-CorObl?

Re: skipping pre-processing (averaging, n4 etc) and T1/T2 co-registration I actually implemented that in the last couple days (still in my dev branch) -- there are  --skip_preproc and --skip_coreg options there.  I can probably do a PR soon to merge this and a bunch of new things actually...
As for a workflow that doesn't require T1w at all, it is doable -- would need to use the T2w image to register to corobl, and then instead of bringing everything to T1w space, would bring it all to T2w space.. I think could make that happen by making the reference space a wildcard (instead of hardcoding to T1w), but overall will be a pretty substantial change.. So for the time being, one hack that could work is updating the config to actually pull in the T2w image in place of the T1w, and doing the same for the CITI corobl template. Would be best to do this with the above mentioned --skip_coreg in place too, so that it doesn't try to register to itself..

Great, thanks.
For the time being I was able to use my workaround with the cropped T1w data.
Also, the specific error message I was getting was just because I had to update snakebids in my environment - something we should remember to do periodically while developing!

also, I just merged in a new PR, has changes from the last few weeks of development now

Awesome!
Another thing I'm noticing since I'm trying to run these cropped images: the parallelization is setup such that one error stops all processes. Perhaps we could have the process continue for other subjects even if one subject fails?
Similarly, I think processing of one hemisphere should continue even if the other hemisphere fails - which would be really helpful since the dataset I'm looking at now had cropped separately around the left/right hippocampi

Yep, you can use the --keep-going flag (is a snakemake option)..
If you're running many subjects at once you can also use the cc-slurm
profile, the execution groups are set-up so it will submit one slurm job
per subject
On Thu, Dec 10, 2020 at 4:43 PM jordandekraker<EMAIL_ADDRESS>wrote:

Awesome!
Another thing I'm noticing since I'm trying to run these cropped images:
the parallelization is setup such that one error stops all processes.
Perhaps we could have the process continue for other subjects even if one
subject fails?
Similarly, I think processing of one hemisphere should continue even if
the other hemisphere fails - which would be really helpful since the
dataset I'm looking at now had cropped separately around the left/right
hippocampi
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/khanlab/hippunfold/issues/12#issuecomment-742818815,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACXV2XKRYNLR7E7UHNB2DHDSUE6HXANCNFSM4UVSBIKA
.

--
Ali R. Khan, PhD
Canada Research Chair in Computational Neuroimaging
Assistant Professor, Medical Biophysics
Scientist, Robarts Research Institute
Schulich School of Medicine & Dentistry, Western University
e<EMAIL_ADDRESS>t.<PHONE_NUMBER> (x24280)
w. www.khanlab.ca

Also, the other useful flag is --keep-incomplete  so it doesn't delete
output from failed rules
On Thu, Dec 10, 2020 at 4:49 PM Ali Khan<EMAIL_ADDRESS>wrote:

Yep, you can use the --keep-going flag (is a snakemake option)..
If you're running many subjects at once you can also use the cc-slurm
profile, the execution groups are set-up so it will submit one slurm job
per subject
On Thu, Dec 10, 2020 at 4:43 PM jordandekraker<EMAIL_ADDRESS>wrote:

Awesome!
Another thing I'm noticing since I'm trying to run these cropped images:
the parallelization is setup such that one error stops all processes.
Perhaps we could have the process continue for other subjects even if one
subject fails?
Similarly, I think processing of one hemisphere should continue even if
the other hemisphere fails - which would be really helpful since the
dataset I'm looking at now had cropped separately around the left/right
hippocampi
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/khanlab/hippunfold/issues/12#issuecomment-742818815,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACXV2XKRYNLR7E7UHNB2DHDSUE6HXANCNFSM4UVSBIKA
.

--
Ali R. Khan, PhD
Canada Research Chair in Computational Neuroimaging
Assistant Professor, Medical Biophysics
Scientist, Robarts Research Institute
Schulich School of Medicine & Dentistry, Western University
e<EMAIL_ADDRESS>t.<PHONE_NUMBER> (x24280)
w. www.khanlab.ca

--
Ali R. Khan, PhD
Canada Research Chair in Computational Neuroimaging
Assistant Professor, Medical Biophysics
Scientist, Robarts Research Institute
Schulich School of Medicine & Dentistry, Western University
e<EMAIL_ADDRESS>t.<PHONE_NUMBER> (x24280)
w. www.khanlab.ca

Fantastic. Do you think its worth including these flags in the usage text? Or would these be considered more general snakemake options?

Was thinking of exposing some of the more useful snakemake flags in the
usage, and also might be useful to have some sensible defaults (maybe by
having some built in profiles like cc-slurm), but those are things that
should be done in snakebids. We should make an issue there as a placeholder
for the time being.
On Thu., Dec. 10, 2020, 4:55 p.m. jordandekraker<EMAIL_ADDRESS>wrote:

Fantastic. Do you think its worth including these flags in the usage text?
Or would these be considered more general snakemake options?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/khanlab/hippunfold/issues/12#issuecomment-742824362,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACXV2XK2TOVNJKJFKO4G3S3SUE7UZANCNFSM4UVSBIKA
.

Since snakemake flags are now being enumerated on the documentation page, i'm going to close this.

Since snakemake flags are now being enumerated on the documentation page, i'm going to close this.


Update eframe, add trunk setup

This takes the work started in #9, and updates eframe.
I'm going to start this as a draft PR, since although everything compiles, there are still some areas that I need to fix, and have questions about.
The biggest item is migrating the use of the App trait; previously, the setup function was used to prepare the websocket listener. Some of the logic in this PR might not be feature similar just yet.
This will close #9.

awesome to see you used my issue & commit :) good luck with the PR!

Hi
@AngelOnFira is this going to be merged ?

This has been in draft for too long. Please try to make your PRs small and focused. If you want to update eframe or add trunk, please do so in separate PRs


AUI-1837

Hey @mairatma,
Attached is an update for http://issues.liferay.com/browse/AUI-1837.  I am not sure if we need unit tests for this since this is such a specialized case.  If you think we should, we can revisit and add a unit test for this scenario.
Please let me know if you have any questions.
Thanks!

Just started reviewing :) :octocat: Sent from GH.

I think that since this bug is important enough that we've added a fix for it, then it should be important for us to have a test to protect agains regressions. Tests are also good for documenting behavior that would otherwise be forgotten with time, so we're trying to always cover everything that we can.
So the code looks good to me, but it would be good to have tests for both the fix for the centering and the fix for zero height/width.

Hey @mairatma,
Not a problem.  We will add tests to this pull request as well.
Please let me know if you have any questions.  Thanks!

Hey @mjbradford89,
Can we add some unit tests for this issue?  Can you resend me a new pull request once we have added them?
Please let me know if you have any questions.  Thanks!

New Pull Request: https://github.com/mjbradford89/alloy-ui/pull/60


Read Data - Gibberish Text Output to file

When i run the below command
curl -i -L GET -H "Authorization: Bearer <REDACTED>" 'https://<yourstorename>.azuredatalakestore.net/webhdfs/v1/myfile.txt?op=OPEN' -o c:\myfile.txt
I getting the file created, but the output is gibberish as below
謟÷岮＂囹죛¶ﾌ홿䎠㓟扰
Is there something i am missing.
The ADLS is encrypted, when i run without the Output redirection, i am able to see my content of the file in Command Prompt.
Is there something that anyone could suggest ?
Thanks

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

ID: 5ea17b14-1587-dce5-c12c-2f775b692c92
Version Independent ID: c0f43d1e-6b0d-70a4-8ecb-5afe0102eb8c
Content: REST API: Filesystem operations on Azure Data Lake Storage Gen1
Content Source: articles/data-lake-store/data-lake-store-data-operations-rest-api.md
Service: data-lake-store
GitHub Login: @twooley
Microsoft Alias: twooley

Thanks for the feedback and bringing this to our notice . At this time we are reviewing the feedback and will update the document as appropriate .

@madhanan : We tried to repro this issue , but for us -o option is writing the same info which we see in stdout . Even we did checked the API using Postman and  it also works fine . At this we understand the document and API are working as expected . Since you are getting the correct output which no direction , points to be something to do with curl . We suggest you to reach out to the MSDN and other forums and see if you get some help there .
We are going ahead and closing this issue now  , if you feel appropriate you can always re-open this .

@himanshusinha : I have tried in other bash shell provided by GIT installation in windows.
Still i am facing the same error. I don't suppose it to be an error in CURL.
My ADLS is encrypted using BYOK, may be something is missing.
My Command in GIT Bash Terminal:
curl -L GET https://<<adlsname>>.azuredatalakestore.net/webhdfs/v1/Error.txt?op=OPEN \
-H "Authorization: Bearer <<TOKEN>>" \
-o /c/Users/<<user>>/Desktop/Errr.txt

output :
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2168  100  2168    0     0  27794      0 --:--:-- --:--:-- --:--:-- 27794
100   183  100   183    0     0    901      0 --:--:-- --:--:-- --:--:--   901
100 65323    0 65323    0     0  87097      0 --:--:-- --:--:-- --:--:--  131k
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   568    0   568    0     0    596      0 --:--:-- --:--:-- --:--:--   596System.Management.Automation.PSInvalidOperationException: Run Login-AzureRmAccount to login.
   at Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet.get_DefaultContext()
   at Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet.BeginProcessing()
   at System.Management.Automation.Cmdlet.DoBeginProcessing()
   at System.Management.Automation.CommandProcessorBase.DoBegin()
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException

Since i am using output redirector, technically it should print the output in saved files.
But i am getting the content of the file in the terminal where as the output in file is still gibberish.
Output Redirected File Content :
‹ Esµ\ÿì½évÛ8¶0ú¿×:ïÀv”íŽ......

Is there something i am missing ?
Kind Regards,
Madhanan

Finally found the issue.
Tried without the GET keyword. It worked.. Whew.. !!!
Command Prompt
curl -L https://<<adlsname>>.azuredatalakestore.net/webhdfs/v1/Error.txt?op=OPEN ^
-H "Authorization: Bearer <<TOKEN>>" ^
-o c:\Error.txt

@madhanan Thanks for the update, which might be beneficial to other community members reading this thread.


Missing sprites results in a 404 error

pb.pokemon_sprite()
Tries to retrieve a sprite even if a sprite doesn't exist resulting in a 404 error.
I raised an issue on pokeapi https://github.com/PokeAPI/sprites/issues/9
Could pokemon_sprite check and return a None object if there is no sprite?

Throwing a 404 error is the intended behavior, if I'm understanding your issue correctly. If PokeAPI doesn't have the sprite for whatever reason, this allows you, the programmer, to handle that special case in the best way. For example, you want the variable to be None if the sprite can't be found. However, some other programmer might want to load a default image if the sprite can't be found. You should use try/except statements to catch the 404 and set the desired variable to None.
Also, I think throwing a 404 is a good thing to do if someone's code is bugged, and might be requesting 'sprites/typo' (just as an example bad request). That way, instead of the error passing silently, the developer can see what the bad request was, and fix the issue.
From the Zen of Python, (Tim Peters)

Errors should never pass silently.
Unless explicitly silenced.

I'll be closing this for inactivity within a week, if no new activity is indicated.


Couldn't find the module

Hi mpociot,
I am trying to use your module on an iphone app but I get this error.
I am using Titanium build: <IP_ADDRESS>410281727 and SDK 3.4.1.
Thank you!

Could you please provide a more detailed error description?
How did you install the module?
Take a look at: http://gitt.io/component/de.marcelpociot.collectionview

I installed it by unziping the dist file into my "modules/iphone" folder of my project.
I did it just like with the other modules I work with.

Could you please provide a log file?

Hello,
i have the same Problem. iOS:
[DEBUG] :  Reading stylesheet from: /Users/andreaskopf/Library/Developer/CoreSimulator/Devices/65A9925A-3C77-4F2A-BF08-BFCEAF93C33C/data/Containers/Bundle/Application/DDDD8D8B-4BBE-425F-89AA-4C51DD88485F/TEST APP.app/stylesheet.plist
[DEBUG] :  2015-01-13 20:48:26.702 TEST APP[34093:910199] You've implemented -[ application:performFetchWithCompletionHandler:], but you still need to add "fetch" to the list of your supported UIBackgroundModes in your Info.plist.
[INFO] :   TEST APP/<IP_ADDRESS>.2 (<IP_ADDRESS>82e8f)
[DEBUG] :  2015-01-13 20:48:26.703 TEST APP[34093:910199] You've implemented -[ application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.
[DEBUG] :  Loading: /Users/andreaskopf/Library/Developer/CoreSimulator/Devices/65A9925A-3C77-4F2A-BF08-BFCEAF93C33C/data/Containers/Bundle/Application/DDDD8D8B-4BBE-425F-89AA-4C51DD88485F/TEST APP.app/app.js, Resource: app_js
[INFO] :   [object DeMarcelpociotCollectionviewModule] loaded
[DEBUG] :  Loading: /Users/andreaskopf/Library/Developer/CoreSimulator/Devices/65A9925A-3C77-4F2A-BF08-BFCEAF93C33C/data/Containers/Bundle/Application/DDDD8D8B-4BBE-425F-89AA-4C51DD88485F/TEST APP.app/de.marcelpociot.collectionview.js, Resource: de_marcelpociot_collectionview_js
[DEBUG] :  Loading: /Users/andreaskopf/Library/Developer/CoreSimulator/Devices/65A9925A-3C77-4F2A-BF08-BFCEAF93C33C/data/Containers/Bundle/Application/DDDD8D8B-4BBE-425F-89AA-4C51DD88485F/TEST APP.app/CollectionView.js, Resource: CollectionView_js
[ERROR] :  Script Error Couldn't find module: CollectionView
[DEBUG] :  Application booted in 97.488999 ms
BG
Andy

It works:
wrong:
var listView = require("CollectionView")".createCollectionView({
right:
var listView = collectionView.createCollectionView({

@ak0815 this only works on iOS.
To support iOS and Android you need to use the CommonJS file, provided in the "lib" folder , and include it in your Titanium project.
See: https://github.com/mpociot/TiCollectionView/blob/master/lib/CollectionView.js
I think the documentation needs to clarifies this a bit more.

Thanks. Now it works :-)
One Question:
How do I enable Waterfall? To:
layout:'LAYOUT_WATERFALL',
columnCount:3,
minimumColumnSpacing:10,
minimumInteritemSpacing:5,
renderDirection:'DIRECTION_SHORTEST_FIRST'
BG
Andy

These properties are module constants.
Apply them like this:
var collectionView = require("de.marcelpociot.collectionview");

var listView = collectionView.createCollectionView({
    layout: collectionView.LAYOUT_WATERFALL,
    columnCount: 3,
    minimumColumnSpacing: 20,
    minimumInteritemSpacing: 50,
    renderDirection: collectionView.DIRECTION_LEFT_TO_RIGHT,
    // Other properties...
});

Thank you very much

Thank you very much @mpociot  and @ak0815 !
With your explanation I was able to get it working.


Minor UX tweaks

Update notifications to say what command they're from
Alert the results of nslookup & copy it to the clipboard

Thanks! I will look into this as soon as I can :)


Avoid depending on sysctl in the kind.sh script for IPv6 determination

The sysctl command may not be installed, or in the default path (e.g., in case of Debian), causing errors like:
  ./contrib/scripts/kind.sh: line 12: sysctl: command not found
  ./contrib/scripts/kind.sh: line 12: [: ==: unary operator expected

Instead, let's just directly access the content of the corresponding proc file, so that we don't depend on external tools.
Fixes: f7fdeef2cc19 ("ipfamily should be set by platform configuration.")

/test


Clarify what can be done without superuser permissions

I'm quite intrigued by the possibility of unprivileged VMs in macOS and am wondering what HyperKit functionality I'd be missing out on by running it as non-root, and how fundamental that is to the model.
(this ticket was prompted by @puffnfresh's tweet https://twitter.com/puffnfresh/status/869875923553734656)

the only bit which requires root is VMnet for networking and you can use VPNKit for that without requiring root. LinuxKit as well as the go bindings https://github.com/moby/hyperkit/blob/master/go/hyperkit.go have sample code for that

That's awesome, thanks! It still seems like ultimately VPNKit would need to be run with privileges though, right? But it would allow the individual HyperKit invocations to avoid being privileged?
cc @LnL7 who's probably also interested

No, VPNKit does not need to run with privileges because it just re-opens TCP/UDP connections as normal sockets. It also has functionality to listen on local ports and forward connections to the VM, again no privileges  needed  unless the ports are privileged.

That sounds perfect, thanks!


I been changing the contributors.html

To be on the contribution list you actually have to contribute with something :)
Closing this but you can make a new pull request when you contributed.


frontend design aspirations

It feels like there’s a lot we can learn from Coinbase’s frontend interface, as it’s intuitive and user-friendly. Here's a few examples. Specifically, a notification system might be something worth considering.

@TalDerei do you have access to the Figma file with the V2 designs? would be useful to leave comments there

@TalDerei do you have access to the Figma file with the V2 designs? would be useful to leave comments there

I have access, will leave all frontend related comments there going forward


Documentation should be more generalized for different platforms

Currently the getting started guide is specifically designed for users running Docker-for-mac. The docs should be generalized for many systems, such as windows, minikube, k3s, etc. (Thanks to @nabadger for brining this up)
@janhoy has given a great start to this with his training course: https://gist.github.com/4bc3398822b8b68ec94c60a05474e409
But it would be great if we could provide documentation that let you specify the system that you are using at the top and all examples would follow your system from then on. Don't think this is possible in markdown, but eventually it would be a great goal.

microk8s looks like a good option for a platform-independent tutorial option.
Will look into modifying the tutorial with it.


[BUG] Datepicker not working anymore since last update (.10) with disabled input

I've just upgraded Material from .8 to .10 and since then, my datepickers are not working anymore. Here is the code.
<md-form-field>
	<input mdInput [mdDatepicker]="pickerFrom1" placeholder="From" [(ngModel)]="KpiRfcNbFrom" [max]="KpiRfcNbTo" disabled="disabled"/>
	<button mdSuffix md-button (click)="pickerFrom1.open()">
		<md-icon>today</md-icon>
	</button>
	<md-datepicker #pickerFrom1 [startAt]="KpiRfcNbFrom" (selectedChanged)="changeDateRange($event, 'rfcnb', 'from')"></md-datepicker>
</md-form-field>

The problem is because I've specified disabled="disabled" on the input. But I want to disable the input. I don't want the user to be able to enter manually the date, he must use the datepicker.
Why this change ? How do I disable my input now ?

@Robouste You should use [disabled]="disabled".
Closing this issue.

I don't think you understand the problem. I want to disable the input but not the button. Why adding disable to the input to disable the trigger ?  I don't think it's logical.
Please do not close the issue because I still don't know how to disable my inputs without disabling the datepicker.

@Robouste can you try https://github.com/angular/material2/issues/6877#issuecomment-327531291? I think your issue was misinterpreted, as what you're trying to accomplish should be possible.

@willshowell Thanks ! That was the solution :)


"slug" is mentioned in Document.ts but does not appear in the api search response.

There is a "slugs" property, but no singular "slug" property.

Uh, also in Document.ts alternateLanguages, firstPublicationDate and lastPublicationDate are given as camelCase but in the search response they are snake_case. Bug?

Hi @danielhuggins, thanks for reporting this. Someone will look into this as soon as we are able.

Yeah there's also the problem that "Document" is being confused for the
browser "Document" type.
On 22 March 2018 at 16:04, Levi Mykel Gable<EMAIL_ADDRESS>wrote:

Hi @danielhuggins https://github.com/danielhuggins, thanks for
reporting this. Someone will look into this as soon as we are able.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/prismicio/prismic-javascript/issues/37#issuecomment-375361163,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APXqaBnJOar_W2_WYWVFfh1rCNOvIr6dks5tg8t7gaJpZM4SyncF
.

@danielhuggins @levimykel #45 fixes this. Would be awesome if someone could merge that.

Oh #38 is also fixing this and the approach in #39 is also really nice and similar to how the mongodb driver is typed.

Fixed in https://github.com/prismicio/prismic-javascript/pull/48

@srenault Sorry but that does not fix that the document exported is still the one coming from dom.d.ts because the imports are missing that the other PRs add.
Should I open another issue for that?

Hey @despairblue. How can I reproduce your issue?


Treat array indexes as ints in Array.from JsFunction parameter

This parameter represents the array index of that item, which should be an int.

SGTM. Thanks for the patch. I'll import it and then close the PR.

committed: 2174c374a1987cb5bc572d07df6006acdc16bda1


RTSP - restored h264grabber -> rRTSPServer chain

After identifying a series of stability problems on the new version of rRTSPServer (especially on the MStar platform) I restored the old method with h264grabber.
This change is a breaking change regarding the ports of the RTSP service: low and high resolution streams cannot share the same port because they are 2 running processes (as in version 0.1.3).
If anyone wants to try it ...
This is the changelog:

Add rtsp and snapshot links to the homepage
Restored chain h264grabber -> rRTSPServer from 0.1.3 (with and withoud audio)
Bump mqttv4 to the last version (move mq and add retains)
Update live555 to the last version
Add ipc_multiplexer and ipc_read (if you want to develop your own events manager)
Add patch to unblock open action on audio fifo
Fix video cleaning procedure
Move rmm start position
Add reset to factory feature
Add scripts to cleanup sources
Change output file option in imggrabber
Fix bug about swith on/off camera

y20gam_0.1.6.tar.gz

Ill try it
Need I to restore original sytem,or simply write that to a sd card and boot up the cam?

Simply copy to sd and restart.
Backup your config.

seems to have a lot of lag. like a good 30 seconds or more

now, can connect on high res stream but lost signal every 2 minutes or have some glitch.

Lot of lag here so, but dont crash.
Release version 0.1.6 its neerly perfect, but it have cuts every time there is heavy movement on image.
I have an IOS app that have an option to force TCP conecction, and with this app I have no cuts ever.
Is there anyway to modifi version 0.1.6 to reject udp connections?
Any mod on startup script or so. It would be a simply workaround for my use case.
When I use that app forcing TCP  the image timing is perfect on any situation, and i have no cuts, but in OBS the cam runs well until a heavy movement on screen (high bitrate I supposse) make the stream crash and reconnect on few seconds, but it make the cam unnusable.
Moding source code and compiling is a hard way to me, but I can tray if theres no other way.
Any Idea ?
I tried the sysctrl on ssh but busybox lacks of sysctrl.
Im a nebbie.
Thanks in advance.

Hello, i will try to build with a lower framerate (15.0) on rRTSPServer.patch ...

Lot of lag here so, but dont crash.
Release version 0.1.6 its neerly perfect, but it have cuts every time there is heavy movement on image.
I have an IOS app that have an option to force TCP conecction, and with this app I have no cuts ever.
Is there anyway to modifi version 0.1.6 to reject udp connections?
Any mod on startup script or so. It would be a simply workaround for my use case.
When I use that app forcing TCP the image timing is perfect on any situation, and i have no cuts, but in OBS the cam runs well until a heavy movement on screen (high bitrate I supposse) make the stream crash and reconnect on few seconds, but it make the cam unnusable.
Moding source code and compiling is a hard way to me, but I can tray if theres no other way.
Any Idea ?
I tried the sysctrl on ssh but busybox lacks of sysctrl.
Im a nebbie.
Thanks in advance.

Many users use udp, I can't remove it.
And I don't know if I able to edit the live555 code.
I think it's better to force the client to use tcp if it works better in your system.

maybe add an option to force tcp or udp

I have just tested the firmware and I really like it.
It is indeed a bit laggy - but in my system setup (only low stream - nothing else) it is acceptable.
The lag is about 5 seconds.
The firmware runs stable.
The last weeks I was running 0.1.3 because the newer versions were not stable for me.
What I really like with the new firmware is the link to the RTSP-stream. So I do not have to look in the documentation each time, and I do not have to modify it with the correct IP address - because it is already mentioned in the link.
Thanks a lot roleoroleo for this!
In case you are interested in my wish list:
I would like to see the RTSP-stream as a link to a new page in the browser. My browser is set up in that way that it does automatically start VLC when I try to open an RTSP link. But the actual way, by just copying and pasting is also fine for me.
And I think you had mentioned somewhere that it is not possible to have different resolutions than "low" and "high". If you find a way to select other resolutions that would be really great.
Nevertheless in total so far I fully appreciate your excellent work.
Thanks!

In case you are interested in my wish list:
I would like to see the RTSP-stream as a link to a new page in the browser. My browser is set up in that way that it does automatically start VLC when I try to open an RTSP link. But the actual way, by just copying and pasting is also fine for me.

No problem, it's a simple href, I will add it to the next release.

And I think you had mentioned somewhere that it is not possible to have different resolutions than "low" and "high". If you find a way to select other resolutions that would be really great.

Sorry but this is not possible (for my knowledge).

Nevertheless in total so far I fully appreciate your excellent work.

Thank you.


Unable to load in iOS: Application virodemo has not been registered.

Fresh install, just configured to XCode and built the app for the first time. Getting the error:
Application virodemo has not been registered
It mentions to kill the package manager and restart $ npm start in the project's root folder, which I did. Same result. Any thoughts there?

At the root of your project, you should have an index.js file, does it look like the following?
import { AppRegistry } from 'react-native';
import App from './App.js';

AppRegistry.registerComponent('virodemo', () => App);

// The below line is necessary for use with the TestBed App
AppRegistry.registerComponent('ViroSample', () => App);

It looks like your app is looking for a component named virodemo, but one hasn't been registered in Javascript.

Ah shoot ok, that makes sense. We're in react-native world now. I thought it was still a Viro specific error.
Thank you!

Yep, although do let us know if for some reason our setup steps result in you still needing to modify files or perform a few other steps to get it working.


InheritedWidget gets removed in Nested MaterialApp - Navigator fails

I'm nesting 3 MaterialApp objects in such hierarchy:
   m1
m2    m3

I'm using InheritedWidget for app state in m2 and m3.
If the depth 0 is '/' then when the Navigator depth is > 1 the state.of(context) throws:
cannot get property of null
m2 and m3 are separate flutter projects,
m2 on the lib/main.dart uses absolute imports
m3 on the lib/main.dart uses relative imports
haven't tested > 1 depth on m3

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.


Chapter 15: the path of file is wrong.

@cyfyifanchen thanks for the feedback, we have a PR with this fixed!


Provide a configurable way to manipulate the module version

We should - like in the old cloudflight-gradle-plugin - provide the possibility to manipulate the current version of a build.
In the old plugin, bound to TeamCity, we are using code like that:
class BuildUtils {

    private static final String VERSION_SUFFIX_SNAPSHOT = '-SNAPSHOT'
    private static final String VERSION_SUFFIX_BUILD_COUNTER = '-b'

    private static final Logger BUILD_LOG = Logging.getLogger 'io.cloudflight.gradle.build'

    static void deduceBuildProperties(Project project) {
        if (isTeamcityBuild(project)) {
            def configuration = new Properties()
            configuration.load(new FileReader(project.teamcity['teamcity.configuration.properties.file'] as String))

            if (EnvironmentUtils.isVerifyBuild()) {
                // gitlab auto-merge feature requires version number to equal git-hash
                project.version = configuration.getProperty('build.vcs.number')
            } else if (!EnvironmentUtils.isPublishBuild()) {
                // teamcity-shared library also allows to call the publish task on the master build, in that case we set the env parameter
                // PUBLISH_BUILD to false there and then we do want to publish -SNAPSHOT versions to our repository on successful master builds

                if (appendBuildCounterOnDefaultBuild()) {
                    project.version += VERSION_SUFFIX_BUILD_COUNTER + configuration.getProperty("build.counter")
                } else {
                    // add git -SNAPSHOT to version number
                    project.version += VERSION_SUFFIX_SNAPSHOT
                }
            }

            TeamCityUtils.setBuildNumber(project.version as String)

        } else if (!EnvironmentUtils.isPublishBuild() && !EnvironmentUtils.isVerifyBuild()) {
            // only use snapshot versions locally
            project.version += VERSION_SUFFIX_SNAPSHOT
        }

        // copy group and build version to all modules
        for (def child : project.allprojects) {
            child.group = project.group
            child.version = project.version
        }
    }
}

The version number is therefore being adapted directly from the Gradle-Plugin, and is being enriched with data from the CI-Server
In contrary, in this repository here (autoconfigure-gradle-plugin) we are using a very simplified form:
if (System.getenv("RELEASE") != "true") {
    version = "$version-SNAPSHOT"
}

The version for release builds is being injected by the CI-Server (Github Actions) in that case.
What we should do is to provide some kind of strategy interface to the autoconfigure-gradle-plugin which takes care about that, and which can also be configured/extended from outside. The default could be the version we are using here inside this plugin (just appending the -SNAPSHOT suffix for local builds)
What we could do in any case is to propagate the build number of the root module to all other modules:
        // copy group and build version to all modules
        for (def child : project.allprojects) {
            child.group = project.group
            child.version = project.version
        }

We should probably also consider https://blog.dipien.com/automatic-semantic-versioning-on-your-gradle-project-6343b626b27b

Or https://github.com/ajoberstar/reckon

I tried https://github.com/ajoberstar/reckon at https://github.com/cloudflightio/json-wrapper and looks really promising:

Add the plugin as settings-plugin: https://github.com/cloudflightio/json-wrapper/blob/0.5.1/settings.gradle.kts
Remove the version from build.gradle: https://github.com/cloudflightio/json-wrapper/blob/0.5.1/build.gradle.kts
Adapt github-publish.yml: https://github.com/cloudflightio/json-wrapper/blob/0.5.1/.github/workflows/github-publish.yml

The workflow now is not to create a release any more via the Github pages and manually enter the release number, but instead you go to the actions, select the "Publish package to the Maven Central Repository" workflow and then you are prompted the following dialog:

If we are currently running on 0.5.0-SNAPSHOT and the last release was 0.4.5, then depending on your selection of the scope, your new version will be:

patch: 0.4.6
minor: 0.5.0
major: 1.0.0

No need to manually adjust any versions, just as mentioned in https://github.com/ajoberstar/reckon
The tag is being created by the reckon plugin in this line.
After that you can/should create the release-page under https://github.com/cloudflightio/json-wrapper/releases and the select the already created tag, and add the changelog there.

Intersting is also the new  ReckonSettingsPlugin  which implements Plugin<Settings> and can therefore perform code before the real project-based plugins are being executed. See https://github.com/ajoberstar/reckon/releases/tag/0.17.0-beta.4 and https://github.com/ajoberstar/reckon/issues/147 for insights.
In case we would embed this plugin into ours we would most likely need to somehow reuse that concept, i.e. provide our own Settings plugin in addition to what we have already.