SelectionGroup nested in FieldGroup doesn't display

For a form if you nest a SelectionGroup inside a FieldGroup it will only display the fields within the SelectionGroup, the radio boxes don't display and therefore the both SelectionGroups display.
Example:
$fields = FieldList::create(
    FieldGroup::create(
        TextField::create('Name', 'Name')
    ),
    FieldGroup::create(
        SelectionGroup::create(
            'Test1or2',
            array(
                SelectionGroup_Item::create(
                    'Test1', array(
                        TextField::create('Test1', 'Test1')
                    ),
                    'Test1'
                ),
                SelectionGroup_Item::create(
                    'Test2', array(
                        TextField::create('Test2', 'Test2')
                    ),
                    'Test2'
                )
            )
        )
    )
),
FieldList::create(
    FormAction::create('submit', 'Submit')
)

From looking into it it could be because there is no SelectionGroup_small.ss template however adding this to my theme templates doesn't resolve the issue.

Hello, which framework version are you testing this with? Thanks. :)

Hi @tractorcow 3.5.1 is what I'm using.

Thank you. :D

Just updated to 3.5.3 just to be sure, still there.

Still a problem on SS4.


Cannot read property 'duration' of undefined

Expected behavior
No error.
Actual behavior
logger.js:47 Uncaught TypeError: Cannot read property 'duration' of undefined
at logger.js:47
at index.js:79
at index.js:33
at index.js:23
hooks.on('render', function (timings) {
if (!timings) return logger('info')('render')
47> var duration = timings.render.duration.toFixed()
Getting this error on every page reload/refresh.
Steps to reproduce behavior
Static (client only) app started this way:
const tree = app.start();
document.body.appendChild(mainView());
const mainWrapper = document.getElementById('approot');
mainWrapper.appendChild(tree);
function mainView (state, emit) {
return html

}
Removing API call from DOMContentLoaded listener eliminates the error:    emitter.on('DOMContentLoaded', function () {...API call...})
Error did not occur when starting app this way:
if (!module.parent) {
app.mount('body')
} else {
module.exports = app
}

Had the same error before, but only related to choo-devtools (choo-log before)
see: https://github.com/choojs/choo-log/issues/84

Heya, what's your OS / Browser versions? This is not good; I thought we solved this by adding try…catch everywhere, but there might be some latent browser bugs at play here. Thanks!

Mmm there are some weird things here. First, why are you trying it like this
const tree = app.start();
document.body.appendChild(mainView());
const mainWrapper = document.getElementById('approot');
mainWrapper.appendChild(tree);

Second, as I can see, you are not using devtools module, where I had the issue before. And finally, what do you mean by

Removing API call from DOMContentLoaded listener eliminates the error: emitter.on('DOMContentLoaded', function () {...API call...})

How does that API call looks like?

Here's the app
Chrome Version 62.0.3202.94 (Official Build) (64-bit),  OSX 10.12.6: ...error does not occur on Firefox.

First, why are you trying it like this
I'm not totally familiar with how to structure a choo app.  App was created with create-choo-app so I followed that pattern with each 'page' returning "html</body.  This caused a couple problems...1 If I used bel() more than once in a view it would say html was not a function.  2. Baqend is attaching an iframe to body so returning body would wipe out anything attached to it...plus I think we don't want to replace  on every view...and sometimes we want to attach other things to  when the app loads, like analytics.  I'm open to other ways to structure the app...there aren't a ton of examples to go by.  This one worked but introduced the issue we're discussing now.

you are not using devtools module
I'm using devtools.  If I comment out "app.use(require('choo-devtools')())" the error goes away.

And finally, what do you mean by
Commenting out this line also causes the issue to go away.

This is already solved in choo-devtools. Closing.


Bump up rk-entry to v1.0.8 which enables Loki syncer

Codecov Report

Merging #12 (fa61bb4) into master (e614735) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #12      +/-   ##
==========================================
+ Coverage   93.47%   93.49%   +0.01%
==========================================
  Files          18       18
  Lines         843      845       +2
==========================================
+ Hits          788      790       +2
  Misses         42       42
  Partials       13       13

Impacted Files
Coverage Δ

boot/echo_entry.go
93.01% <100.00%> (+0.03%)
:arrow_up:

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 e614735...fa61bb4. Read the comment docs.


[BUG] the 'file' feild of appender 'TASKLOGFILE' in logs/worker_logback.xml maybe wrong!

version: 1.1.0

the file name maybe as following:
${log.base}/${processDefinitionId}/${processInstanceId}/${taskInstanceId}.log
it is lack of a '$' that may cause the local dir is

yes, it has been fixed in the lastest branch .

yes, it has been fixed in the lastest branch .

in the dev-db branch, will be released later!


Support for multiple resolutions

Now that RPI TV 4K is going to be a thing it might be a good time to look into options for rendering at different sizes and aspect ratios, something I had thought about in the past but was never of great importance.
All this would really entail is having the options set by the user and using them to compute how imagemagick should render, since the majority can be rendered at any size (the only limit on them looking good is the size of embedded images).

There would probably need to be some re-working of the drawing methods to make the design work better at 2x -- single pixel strokes and shadow distances would need to be doubled outside of the dimensions of each geo.
Otherwise yeah, double every pixel value in a template XML and voila: 4K.

Yeah I figured it would just take some scaling logic for 16:9 resolutions, and padding/scaling logic for others (others really meaning 4:3, but while we're at it might as well just make it support cinematic ones as well for the hell of it).
Do we want this set at event level? I could see this being really useful if we end up straddling two resolutions like we did in the past with HD/SD. All you'd need to do is change the event from HD to 4K and re-render all titles.


[CR-54] IO test improvement.

Work item: https://cockroachlabs.atlassian.net/browse/CR-54
Release note: none

PTAL.
I will make adjustment once I get updated io distribution from @srosenberg.
Also have existing discussion with @a-entin, may made additional config changes.
The basic change is in and it generates result successfully.

Not sure why you want/need separate files, but it looks okay to me. :lgtm:


Fix issue #20295 - std.zip: zip64 with 0xff bytes in end of central dir record do not work

While working on this fix I realised, that I missed two magic constant signatures when I merged two older PRs. I adapted them too. Hope, this is ok.

This is a regression, where the original PR has not made it to stable yet. Therefore I target master, not stable.

It would be really helpful and aid in code review if you could provide links to or cite the relevant portions of the specifications that these changes are in accordance with.

Sorry, I was not aware of that. I'm using https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT
You can find the end of central dir record in 4.3.16. What I overlooked was <IP_ADDRESS>.

The code is becoming a bit difficult to follow, so I'm hoping a future refactoring can reduce the amount of arithmetics and comparisons done at every step.

I hope so too. :-)
By the way. As far as I know, today new stable will be created. I'm not sure, but I think, things will be easier, when this PR is merged before this step, isn't it?


Add Consul to README

Consul has recently switched to using BoltDB as its backend store. It is used to store Raft logs to persist cluster state, and so far we love it! It has enabled us to shed the pain of compiling for multiple platforms with CGO. Keep up the great work, and thank you!

Woohoo! That's what I like to hear. :) I'm glad is working for you guys.


Strip comments from config file before parsing

This allows comments to happily exist in the config file. It's nice to allow teams to explain their rules or whatever else they need.

Thanks. One of the things I hate about using json is the lack of comments.


Fixed some names translations to fit their name in base game.

(Also corrected a small grammatical issue with the corrupted disc)

@Chaxiraxi Thank you! It is released in v1.1.7.


docs(ecopass-kit): Updated the EcoPass KIT Adoption View

Why do we create this PR?
We want to update the adoption view from the Eco Pass kit for release 24.05.
What we want to achieve with this PR?
Have an adoption view with the latest models and descriptions. With the images and diagrams corrected and ready for the IP check.
What's new?
Added

Added reference to standards in the text to reference the development view standard list.
Added e-drive payload to the ecopass kit adoption view
Added option to hide the payloads in the adoption view

Updated

Updated the business architecture diagram, removing the versions and extra passports
Updated the value chain diagram, removing the empty space in the left corner of the image.
Updated adoption view descriptions with new chapters

Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review:

[x] DEPENDENCIES are up-to-date. Dash license tool. Committers can open IP issues for restricted libs. (NO DEPENDENCIES)
[x] Copyright and license header are present on all affected files
[ ] LINTING issues are resolved.
[ ] CHANGELOG updated

In teory the linting shall be fixed now

@matbmoser There are some new conflicting files. Would you be so kind to fix it?

@danielmiehle done!

@danielmiehle lets merge the #789 PR first then I solve the changelog linting issues while resolving the merge


Support multimodal input

Reading over https://platform.openai.com/docs/guides/vision, it seems like there's a new trend toward multimodal inputs. From the API docs:
"content": [
  {
    "type": "text",
    "text": "What’s in this image?"
  },
  {
    "type": "image_url",
    "image_url": {
    "url": "data:image/jpeg;base64,{base64_image}"
  }
}

Let's teach Breadboard to support such inputs!

My intuition here is to make the input UI control do all the heavy lifting. Basically, if we specify:
{
  "type": "object",
  "format": "multipart"
}

in the input schema, it will start acting as a multipart UI control: allow adding multiple parts within the input. Image parts and text part, for the moment.
Once submitted, the input will turn them into a JSON object that then could be formatted into the right shape with JSONata or plain JS.

@paullewis ^^^

Yes! 👍🏻

Basic and barely working implementation is in. We will polish it up as we go along.
For information purposes, here's the graph that uses multipart input:
https://github.com/google/labs-prototypes/blob/main/seeds/breadboard-web/src/boards/openai-gpt-4-vision.ts


fix region default value

Signed-off-by: liuying<EMAIL_ADDRESS>
What type of PR is this?
/kind bug

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #127
Special notes for reviewers:

Does this PR introduced a user-facing change?

Additional documentation, usage docs, etc.:

Codecov Report

Merging #128 (16a6865) into master (55e50a3) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #128   +/-   ##
=======================================
  Coverage   47.46%   47.46%
=======================================
  Files           6        6
  Lines         552      552
  Branches      152      152
=======================================
  Hits          262      262
  Misses        227      227
  Partials       63       63

/cherrypick release-1.1


Issue encountered when Installing maven dependencies this repository as the Unable to find javadoc command

mvn clean install
[INFO] Reactor Summary:
[INFO]
[INFO] Certificate Processor 0.1 .......................... FAILURE [ 14.497 s]
[INFO] cert-play-service 1.2.0 ............................ SKIPPED
[INFO] all-actors 1.2.0 ................................... SKIPPED
[INFO] es-utils 1.0.0 ..................................... SKIPPED
[INFO] cert-service 1.2.0 ................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  17.783 s
[INFO] Finished at: 2024-04-05T10:47:13Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.2.0:jar (attach-javadocs) on project cert-processor: MavenReportException: Error while generating Javadoc: Unable to find javadoc command: The environment variable JAVA_HOME is not correctly set. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

closed this issue


flex-container column not working on IE 11

As the title says, when I use flex container column, the flex item it's not displaying as it should be.
it is display in the same place  ( 1 over other 1)

Edit: the explanation on the site (http://ui.lumapps.com/css/flexbox) seems to be wrong. When declaring a flex-container="column"
the following div don't need the "flex-item" declaration (which is why IE 11 fail to load the column correctly)

Thanks for reporting! We've updated our documentation. Wait for the v1.0.0rc4 release :-)


help me

keybase great

keybase great

https://github.com/keybase/client/issues/21219#issue-527640897

I am from Pakistan. I have entered my 2 number but still I didn't qualifying

Plz help


In enter_tree(), set_anchors_and_margins_preset() fails to set margins

Godot version
3.4.4.stable
System information
Windows 10, GLES3, Radeon RX 580 (22.5.2)
Issue description
Calling set_anchors_and_margins_preset (or similar methods) in _enter_tree doesn't correctly set the margins.
Steps to reproduce

Open reproduction project.
Add custom node CustomNode to scene.
While set_anchors_and_margins_preset was called, the panel location is not correct.
Toggle the resize_trigger variable export on the node, running set_anchors_and_margins_preset instead within _process.
Panel location is now correct.

Minimal reproduction project
Bug.zip

This is basically the same as #24859, which was resolved with a warning. But looks like this case is not covered.


Unclear what Organize Imports does

Testing #158636
I understand what Sort Imports does, but it's less clear to me what Organize Imports does--if I use Sort Imports and then Organize Imports they both end up doing something different to the imports in the file. Could we have the tooltips for these indicate what they are supposed to do?
Additionally it seems like the entries in the Source Actions dropdown are not contextually disabled, like the entries in the Refactor dropdown (e.g. if in a file that contains no imports, the actions for imports still show up).

This has been the name for a long time. Organize is intentionally generic as it's meant to be something you run without really thinking. It magically cleans up your imports (by sorting them and removing unused imports). Sort was added after organize as a way to just sort without removing unused
It's always enabled because it's like format. We still let users run format even if the code is already formatted. If we disabled when the imports were already sorted, using a keybinding for organize imports  would show error messages


object_store: fix typo in with_connect_timeout_disabled that actually disabled non-connect timeouts

@tustvold should be easy review 😄


Refactor conf write function into own function

This change (1) reduces the complexity of the Run function and
(2) makes more parts of the CLI testable. Now we are able to test
that the writing portion is actually correct and handles errors
appropriately.

Codecov Report

Merging #30 into master will increase coverage by 1.33%.
The diff coverage is 88.88%.

@@            Coverage Diff             @@
##           master      #30      +/-   ##
==========================================
+ Coverage   88.63%   89.97%   +1.33%
==========================================
  Files          16       16
  Lines         792      798       +6
==========================================
+ Hits          702      718      +16
+ Misses         78       68      -10
  Partials       12       12

Impacted Files
Coverage Δ

pkg/tstune/backup.go
85% <0%> (ø)
:arrow_up:

pkg/tstune/tuner.go
81.76% <94.11%> (+3.55%)
:arrow_up:

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 801b1e5...884f720. Read the comment docs.


Can't use PgPass file for PosgreSQL user authentication in DBeaver 7.1.0 (from Snap Store)

System information:

Operating system (distribution) and version: Ubuntu 18.04.4 LTS
Window manager: gdm3
DBeaver version: <IP_ADDRESS>005311732
Additional extensions: - (fresh install from Snap Store)

Connection specification:

Database name and version: PostgreSQL 9.1.24
Driver name: PostgreSQL JDBC Driver
Do you use tunnels or proxies (SSH, SOCKS, etc)? : SSH (shouldn't matter according to repro steps)

Describe the problem you're observing:
I am unable to configure a PostgreSQL database connection using a PgPass file as the authentication method for the database user. Attempting to do so gives an error message noting that the pgpass file was not found (in the wrong location).
Steps to reproduce:

Install DBeaver from the "Ubuntu Software" manager
Open DBeaver
Open "Connect to database" window
Select "PostgreSQL"
Fill in the fields in the "Server" section with valid data (configured with the username below in the pgpass file)
Fill in the "Username" field in the "Authentication" section with valid data (configured with the connection data above in the pgpass file)
Change "Authentication" to "PgPass"
Click the "Test Connection ..." button
Notice that an error popup appears saying "PgPass file '/home/<current_user>/snap/dbeaver-ce/59/.pgpass' not found"

hi @bloopeti ,
sorry for the late response. Is it still actual against the recent version?

cannot reproduce it, dbeaver successfully connect to postgres using pgpass in mentioned case

Actually I just had the same issue.
At the company I work we use scripting to generate short lived data base credentials that are stored in ~/.pgpass.
The dbeaver snap however looks for the pgpass file in ~/snap/dbeaver-ce/110. Is it possible to change the location dbeaver looks for the pgpass file?
For now I work around the issue by copying the pgpass file into dbeaver's snap home folder. Symlinking did not work, I assume because of the snap's strict mode.

I use DBeaver inside Eclipse on rhel8 (not snap) and it does not work for me.
org.jkiss.dbeaver.model.exec.DBCException: Authentication error: Couldn't get password from PGPASS file
So where does DBeaver expect to find the pgpass file?
Obviously not in ~/.pgpass


Separate out the tests to be their own step in the extension

ADO: Done
GitHub: Pending

Since GitHub actions doesn't allow looping, I think I'm going to close the issue for now.


st2chatops process discovery bro-hack

Adresses stackstorm/st2#2779

This fixes st2ctl status for st2chatops:
$ st2ctl status

##### st2 components status #####
st2actionrunner PID: 1862
st2api PID: 1870
st2api PID: 2050
st2stream PID: 1877
st2stream PID: 2055
st2auth PID: 1884
st2auth PID: 2056
st2garbagecollector PID: 1891
st2notifier PID: 1898
st2resultstracker PID: 1905
st2rulesengine PID: 1912
st2sensorcontainer PID: 1920
st2chatops PID: 1929            #<----------
mistral-server is not running.
mistral-api is not running.

So far there are no positional parameters in hubot, so it's relatively safe time-bomb :smile:
But I like this more, comparing to another hack https://github.com/StackStorm/st2/pull/2780, because it uses st2chatops explicitly, so it's more obvious to discover and shows st2chatops instead of hubot for st2ctl status.

As a bonus, caught the bug when additional arguments were not passed to hubot at all.
"@" -> "$@"

Error:
Setting up st2chatops (1.6dev) ...
[Wed Jun 29 2016 15:44:17 GMT+0000 (UTC)] DEBUG Loading adapter slack
[Wed Jun 29 2016 15:44:18 GMT+0000 (UTC)] ERROR No services token provided to Hubot

It means private env HUBOT_SLACK_TOKEN is not available for my forked PRs.

cc @emedvedev @lakshmi-kannan please :+1: / :-1: and merge if it's ok.

LGTM, but I haven't tested it.
Thanks.

I like this one more.
On 6 Jul 2016 22:09 +0300, Tomaz<EMAIL_ADDRESS>wrote:

LGTM, but I haven't tested it.
Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly,view it on GitHub(https://github.com/StackStorm/st2chatops/pull/45#issuecomment-230873835), ormute the thread(https://github.com/notifications/unsubscribe/AAI3QlyTWvIArsvClQTgMlg0NIjiCTvvks5qS_12gaJpZM4JBQAg).

Alright, the build is green, after I set up CircleCI for my repo and added own HUBOT_SLACK_TOKEN.

Let's roll.


Bug fixes + minor doc site improvements

What's in this PR

Update text variant of sl-button to strip all padding so that it aligns better with other elements on the screen (Link in review app)
Add Link page for documentation of default link style and link button options (Link in review app)
Fix sl-checkbox and sl-radio bug where a contained checkbox or radio had a hover state even when disabled (Link in review app)
Fix padding cascade bug for sl-dialog body for announcement variant (Link in review app)
Fix sl-button bug where a disabled link (a) button still opens the href link (Link in review app)
Misc doc site improvements

Update props tables to be more readable with no scrolling
Add "no footer" and default width examples to sl-dialog docs
Fix bug where Event names are hidden when SLIM preview is selected
Fix bug where icon doesn't display for component properties where reflect is true

Screenshots of props table update
Old props table
Full table isn't visible without horizontal scroll

Updated props table
Updated styling & layout so that no scrolling is needed to see the full table

@kathleenteamshares @kdonovan -- Could you both take a look at some recent additions to this PR?
There was an additional component update that we needed to make & rather than cut this patch release first and open another PR, I added to this PR so that we can just wrap all the changes in a new minor release.
Updated the main PR notes to reflect all the changes. TY both! 🙏


Show an empty state page when you don't have any servers

Currently you're being dropped in the Server overview page, without any guidance
on what to do. By adding this blank slate I hope to at least help the user take
the first step
Screen

:+1:


Replace setInterval with setTimeout to ensure that multiple modules with same updateInterval would be updated at the same time

The new implementation method uses Unix Time as a reference to sync the visual updates between separately configured modules. Instead of using setInterval, which causes random update time between modules, the modification uses setTimeout with dynamic timeout period force all modules to execute the scheduled action at a commonly defined time.
It is very useful when e-ink display device is used because it can ensure that all modules would update at the same time. So the e-ink display would not be so flashy.
#2742 is linked with this

Closed. (See issue for explanation)


Questions about the new 0.7.3 update

What is your question?
There aren't going to be much questions due to some small updates
Q: Can you still use the Voices.ogg. (aka the merged version of Voices-Player.ogg and Voices-Opponent.ogg)
and if we can still use it, does it have an effect for it? (Just realized that some fan builds for some mods did the separate vocals before this update)
Q: I know there aren't going to be updates about Winning Icons but was there any plans for it before it was unintended for the engine?
Q: What were the minor bug fixes? (My possible guest is when the code running the application when doing something crashes unexpected)
I know this isn't part of the questions but will there be a message that happens whenever no weeks or freeplay songs are shown?
(That's all the question I have for now)

I know the second question wasn't an update related.

I tried it, and it worked well. Are you one of the developers of the engine because I ran into a problem when the game lags. Whenever the game lags, both vocals and instrumental are off sync with the notes.

This happens sometimes but not all the time

Yes
No
I don't remember all of them, this is just an "etc." type thing, you can check the commits for it


feature: less chatty progress indicator

Feature Description
When using KubeFlex in a GitHub workflow, the log is spammed with the progress spinners from KubeFlex.
Proposed Solution
Do less chatty progress indicators.
Want to contribute?

[ ] I would like to work on this issue.

Additional Context
No response

@pdettori

@namasl  would you be interested in looking into a solution for this?

We could have a flag that switches off the spinning wheel progress indicator when running in the CI/CD

Addressed by #175


Performance measures test data FAST_LCF checkpoint model

Dear @yangheng95,
Thanks for making and maintaining this repo, it's great!
I have some trouble to get the accuracy and F1 scores for the Restaurant Test data Gold. (Ideally I want to make a confusion matrix).
What is the easiest way to get F1 scores for APC & ATE after running a checkpoint model on test data? Does the model store these metrics somewhere?
Alternatively, how do you compare your predictions to the TRUE test data (Restaurant Test data Gold annotated)? I can easily transform the models' predictions ('atepc_inference.result_json') to a pandas dataframe. But it is very hard to transform the test data stored in integrated datasets (from ABSAdatasets) (it is in IOB format) to that exact same format (pandas dataframe) in order to test performance. Do you have a script for that, or a certain function? I was not able to find it.
Btw: I used the multilingual checkpoint model (FAST-LCF-ATEPC) on the Restaurant14 Test data Gold
(But, ultimately I want to use this model on Dutch data. That is why I want to know how to test performance).
Thanks a lot,
Karsten
Code:
import pyabsa as pyabsa

from pyabsa import available_checkpoints
# The results of available_checkpoints() depend on the PyABSA version
checkpoint_map = available_checkpoints()  # show available checkpoints of PyABSA of current version

from pyabsa.functional import ABSADatasetList
from pyabsa.functional import ATEPCCheckpointManager
inference_source = ABSADatasetList.Restaurant14
aspect_extractor = ATEPCCheckpointManager.get_aspect_extractor(checkpoint='multilingual')
atepc_result = aspect_extractor.extract_aspect(inference_source=inference_source,
                                               save_result=True,
                                               print_result=True,  # print the result
                                               pred_sentiment=True,  # Predict the sentiment of extracted aspect terms
                                               )

import pandas as pd
df_restaurant_EN_test_pred = pd.read_json('atepc_inference.result_EN.json')

is there any update on this problem? thank you.


Refactors API query to only send one request per update

Refactors querying of WienerLinien API to improve the performance of the component.
Now only one Request will be sent to the API and query all stops at once. This should avoid IP-based blocks according to the fair-use rules in https://www.data.gv.at/katalog/dataset/wiener-linien-echtzeitdaten-via-datendrehscheibe-wien

Thanks! Great idea!
adding the sensor two times to have first and next will query the api twice but at least not for every stop ;)
do you think we can maybe optimise it further so you don't need to add to add the sensor again if you want first or next?
maybe instead of the fist next option you define how many departures you want to see? would that be a good idea?


Plugin: DOME_Color.value seems to be ordered as 0xAABBGGRR but docs say It's 0xAARRGGBB

That's probably just me messing up the order (byte order is always confusing). The only other reason it might be wrong is if your device is a different "endianness" to standard, but that would have resulted in many more problems.

Following up on this, can you check your device architecture for me, so we can figure out which option is correct? Thanks :)

This was on lubuntu 64 bit. I will test with other architectures and try to replicate as well

It's more about the processor than operating system: ARM, AMD and Intel chips all use different byte arrangements in memory. I may have just messed it up on my end when documenting it though.

I've corrected the docs for this, I just need to double check that the DOME_Color struct is correct too.


Support encrypted PDFs

Support for Pdftk's input_pw option to decrypt encrypted pdfs. Maybe in rename to --decrypt. Maybe add --encrypt as well.

I confused the project with hellerbarde/stapler.


1.6.0 breaks webpack build

I'm experiencing the following error with 1.6.0 while doing a production build with webpack, reverting to 1.5.0 fixes the problem.
=============
Failed to compile.

./node_modules/antd/es/_util/wave.js
Cannot find module: 'css-animation/es/Event'. Make sure this package is installed.

You can install this package by running: npm install css-animation/es/Event.

To mitigate the issue I added the following to my package.json
"resolutions": {
    "css-animation": "1.5.0"
  }

To be clear, 1.6.0 is breaking antd
Looking at the diff here https://diff.intrinsic.com/css-animation/1.5.0/1.6.0
the changes introduced are breaking changes in 1.6.0 is breaking changes. Therefore, according to semver the new version should be 2.X.X. i.e major version should be bumped not minor or patch...
I'm pretty sure a lot of other packages that depend on this are breaking now

Also getting the error related to 1.6.0 in azure:
Module not found: Error: Can't resolve 'css-animation/es/Event' in 'D:\a\1\s\ui\node_modules\antd\es\_util'

@vidhu not sure whom to blame here, consumers or publishers.
Of course publishers has to respect semver, however, I think consumers also should also take some preventive actions like not using the internals of a library or if they have to, at least stick with a specific version.

Well, I am using "rc-collapse" which is in turn using this package
With this package's new release, its breaking!
Module not found: Error: Can't resolve 'css-animation'

The 1.6.0 changed file path, so it should be 2.0.0 in this case for semver, otherwise npm will use the 1.6.0 for ^1.x.x and break the packages.

<EMAIL_ADDRESS>
no main ?????

Same here

Antd is a huge library, they should fixed the version of their dependencies. Now we have to guess the next dependency update will cause this similar error.

explicitly install 1.5.0 to patch antd
"css-animation": "1.5.0" (in package.json)

what a big things

sorry, 1.6.1(1.5.0) published

This is a really bad update.😭


Switch/Incorporate Go?

Python is fantastic for what we've been doing so far, which consists of making queries to our GHTorrent database and a Flask API to those queries.
Now that we are going to begin working on metrics that require analyzing repos, I'm not sure Python+GitPython will meet our needs well. GitPython has a beautiful API but it is probably too slow to make a usable web app that is able to deliver the more complicated metrics without some serious caching.
PyGit2 would probably be fast enough for our needs, but then the installation requirements for Windows users would be more involved. We could containerize it, but then we lose the benefits of having a Python library. Also it's GPL, and a modified GPL at that, so I'm not even sure we can use it.
One solution is to store every repo we analyze and keep them up to sync, analyzing them when they change and storing the results. Essentially we'd be keeping a database up to date with our metrics. That would allow for practically instant response when users look for a repo, but limit the scope of which repos they can look at, much like http://gittrends.io/
I think a better solution would be switching to Go.
I was looking for solutions when I stumbled upon go-git which is written in Go, and would let us download and manipulate git repos entirely in memory. It is created by a company that is doing some ML stuff on the code from every GitHub repo out there, so it was made to tackle a problem similar to ours. We would still cache, and we'd likely want to still download large/popular repos to avoid re-downloading them over and over, but for smaller, more obscure repos our Go package could download them and analyze them in seconds. The entire GitHub ecosystem would be open to our users, while still being practical for us and fast for them.
We would also get the other benefits of Go, including easy cross-platform binaries with no dependencies, and much better general performance vs Python. This would make it trivial for our users to host their own ghdata or use it behind firewalls.
The disadvantage is that go-git doesn't have close to the same breadth as GitPython, so we'd have to reimplement a lot of GoPython's functionality. One important example is it lacks git blame
What do you all think?
If Go is not an option, any thoughts on the best way to deal with the slowness of GitPython?

I'm not very familiar with Go (although I do have the Go Gopher in my
office).
Speed=awesome. I think you hit on my question right there at the end. With
a switch and refactoring, are the gains in performance offset by losses in
function? I know that we don't know the suite of metrics yet, but some of
the trends seem to indicate a need for external data and the ability to
containerize metrics.
On Thu, Mar 9, 2017 at 2:06 PM, Derek Howard<EMAIL_ADDRESS>wrote:

Python is fantastic for what we've been doing so far, which consists of
making queries to our GHTorrent database and a Flask API to those queries.
Now that we are going to begin working on metrics that require analyzing
repos, I'm not sure Python+GitPython will meet our needs well. GitPython
https://github.com/gitpython-developers/GitPython has a beautiful API
but it is probably too slow to make a usable web app that is able to
deliver the more complicated metrics without some serious caching.
PyGit2 http://www.pygit2.org/ would probably be fast enough for our
needs, but then the installation requirements for Windows users would be
more involved. We could containerize it, but then we lose the benefits of
having a Python library. Also it's GPL, and a modified GPL at that, so I'm
not even sure we can use it.
One solution is to store every repo we analyze and keep them up to sync,
analyzing them when they change and storing the results. Essentially we'd
be keeping a database up to date with our metrics. That would allow for
practically instant response when users look for a repo, but limit the
scope of which repos they can look at, much like http://gittrends.io/
I think a better solution would be switching to Go.
I was looking for solutions when I stumbled upon go-git
https://github.com/src-d/go-git which is written in Go, and would let
us download and manipulate git repos entirely in memory. It is created by a
company that is doing some ML stuff on the code from every GitHub repo out
there, so it was made to tackle a problem similar to ours. We would still
cache, and we'd likely want to still download large/popular repos to avoid
re-downloading them over and over, but for smaller, more obscure repos our
Go package could download them and analyze them in seconds. The entire
GitHub ecosystem would be open to our users, while still being practical
for us and fast for them.
We would also get the other benefits of Go, including easy cross-platform
binaries with no dependencies, and much better general performance vs
Python. This would make it trivial for our users to host their own ghdata
or use it behind firewalls.
The disadvantage is that go-git doesn't have close to the same breadth as
GitPython, so we'd have to reimplement a lot of GoPython's functionality.
One important example is its lack git blame
What do you all think?
If Go is not an option, any thoughts on the best way to deal with the
slowness of GitPython?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/OSSHealth/ghdata/issues/28, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAoDUPE-LLvmbI5n8CB_JVbeHFtRzO00ks5rkFu6gaJpZM4MYkMU
.

--
Mutual of Omaha Associate Professor
Information Systems
College of Information Science & Technology
University of Nebraska Omaha
http://faculty.ist.unomaha.edu/mgermonprez/cv.txt

I believe go-git has all the functionality we need. On a second pass, I realized go-git does support git blame. Many of our metrics will involve actually parsing source files (LICENSE, CONTRIBUTING, package files, etc.) for which go-git/go in general will be way faster

@abuhman what are your thoughts on Go? I'm guessing you haven't worked with it before (but C?).

I'm not familiar with Go or the speed differences.  Right now I'm using GitPython, and the biggest slowdown has come from GHTorrent SQL queries to get the organizations for the user (which I was able to greatly speed up by temporarily storing the results in a variable).  If there are delays in GitPython, I haven't noticed in comparison to the SQL.  However, so far I only have it looking at a the blame history of a single file.  I don't have blame history an entire repository working yet.
Should I also be working on getting the blame history using go-git?
By C do you mean the programming language?  I only ask because I don't see it mentioned earlier.  I have some previous experience with C (actually probably more than with Python) and I've been reviewing concepts this semester.  Are we using C for something?

I just mentioned C because I think that Go has similarities.
On Fri, Mar 10, 2017 at 2:44 PM, abuhman<EMAIL_ADDRESS>wrote:

I'm not familiar with Go or the speed differences. Right now I'm using
GitPython, and the biggest slowdown has come from GHTorrent SQL queries to
get the organizations for the user (which I was able to greatly speed up by
temporarily storing the results in a variable). If there are delays in
GitPython, I haven't noticed in comparison to the SQL. However, so far I
only have it looking at a the blame history of a single file. I don't have
blame history an entire repository working yet.
Should I also be working on getting the blame history using go-git?
By C do you mean the programming language? I only ask because I don't see
it mentioned earlier. I have some previous experience with C (actually
probably more than with Python) and I've been reviewing concepts this
semester. Are we using C for something?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/OSSHealth/ghdata/issues/28#issuecomment-285779599,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAoDUJR9G5-Euci5G_qJf3QbaasvGKe8ks5rkbYjgaJpZM4MYkMU
.

--
Mutual of Omaha Associate Professor
Information Systems
College of Information Science & Technology
University of Nebraska Omaha
http://faculty.ist.unomaha.edu/mgermonprez/cv.txt

okay

Are we talking about switching to Go just for this metric?  If it's in Go, would we have this metric be separate from ghdata or would we try to integrate it once it was written?

@abuhman I'm suggesting switching to Go for everything that needs to look at the actual repos

ok, gotcha

@howderek can chime in on this but I think that the conversation was about refactoring everything on ghdata to use Go, not just the git

So it's mainly about download speed for obtaining the repos locally?

@germonprez Entirely switching to Go is certainly a possibility and probably a good idea. We could then write a Python library that knows how to talk to our Go server and not lose any functionality, and only increases in speed.
@abuhman It's mainly about go-git's capability to do everything in memory, it will be much faster and it removes a lot of the hurdles we'd face with GitPython

My only reservations on Go is its current use. I know it's on the upswing for internet programming but so was Ruby a while back. That said, I don't think that is enough to argue against a switch.
@howderek, what would the Python library look like? What's in it?


Show more than 10 MRU files in Startify

How do I show more than 10 MRU files in Startify? I see there is a items_number option internally in the code but I don't know how to modify it.

also, i could design a metatable for the sections to actually definitively give themes a decent API for making small changes like this.
i don't have a ton of free time to add features to this plugin, i barely have enough free time to maintain it at the moment, so PRs welcome and appreciated! it's really an easy plugin to hack on

I currently use the following this setup to generalize bookmark creation and highlighting.
Just thought you may find it also useful


Teams attendanceInterval joinDateTime/leaveDateTime are sometimes null

Sometimes, either field can be null.
This hasn't happened to me during testing, only now that I've had the first few hundred attendees with several intervals each imported into my app.
Are there known circumstances that cause this, that could be added to the docs? Can we expect this to be fixed?

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

ID: 53bb12de-56da-a75c-0f03-ab9c2849ca50
Version Independent ID: 669ad2e8-3828-d359-d02a-25427587427e
Content: attendanceInterval resource type - Microsoft Graph v1.0
Content Source: api-reference/v1.0/resources/attendanceinterval.md
Product: cloud-communications
Technology: microsoft-graph
GitHub Login: @awang119
Microsoft Alias: MSGraphDocsVteam

Hi @ngiessel could you please share an example request and response body, as well as the full response header? Thanks!


[Housekeeping] Clean up Enums to make JSON features more transparent

In the interest of making it really easy to tell exactly which JSON schema features we do/don't support, I'm making usage of enums a bit more consistent.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 61.04%. Comparing base (ed7e8a7) to head (ed7cc51).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

:exclamation:  There is a different number of reports uploaded between BASE (ed7e8a7) and HEAD (ed7cc51). Click for more details.
HEAD has 22 uploads less than BASE

Flag
BASE (ed7e8a7)
HEAD (ed7cc51)

24
2

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1011      +/-   ##
==========================================
- Coverage   69.26%   61.04%   -8.23%
==========================================
  Files          62       62
  Lines        4425     4441      +16
==========================================
- Hits         3065     2711     -354
- Misses       1360     1730     +370

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


VS throws C4819 (because degree symbol)

Because the dialog.h compiler error using utf-16le with BOM to save src/usb-pad/dx/dialog.h

Note for future reference: msvc uses opsys' locale. For weird character support save as unicode with BOM.


Parser for ios/xe show ap dot11 5ghz channel

submit pr

Cisco PR#218

Completed in https://github.com/CiscoTestAutomation/genieparser/pull/252


[#67] Make 'sourceFile' and 'targetFile' plain strings

The paths are used to generate a consistency check which runs on Linux.
The goal here is to avoid having any OS-specific logic. It's simpler to
ask for the paths as strings rather than use Path, the library
doesn't really make use of the features that Path gives.

I decided Path is better for the sake of type-safety, to avoid stringly-typed API. I'll tackle this issue another way.


⚙ Component structures (?)

A feature to organize components in structures.
The structures will upgrade the components, letting them express like a complex
and beautiful version of 'Lego blocks' or atoms that give sense to the UI.
A > B
The A component contains B inside.

A > C
The A component contains B inside.

A > B & C
The A component contains B and C inside.

A complex component system
This recursive system makes sense. You can make atoms that can be used alone, and change them when they belong to another component, creating molecules. Creating infinite layers and deep UIs
A > B > F

A > C > F

Sorry I will leave this repo >:(


enhancement: mocking $fetch before app starts (@sidebase/nuxt-auth)

I've have run into use case that seems peculiar, but I wanted to pose it here in case it's something that would make sense to bundle into this package as an enhancement.
Put simply, I needed to do something like registerEndpoint, but to be able to set it up before the Nuxt app starts. We've tried calling registerEndpoint as early as possible, but from what I've seen, this just mocks calls for once the Vue app is mounted to the window, not before.
What I've landed on as a solution is have a Nuxt plugin that's only included for test runs which replaces the global $fetch with a mock implementation of $fetch wrapped in vi.fn(), plus a mock implementation of $fetch.create. That's coupled with an object that can be configured with the return values like so:
const endpointMocks = {
  'http://<IP_ADDRESS>:8000/api/1.0': {
    some: {
      endpoint: () => ({ ok: true }),
    },
  },
};

Right now it catches any call that doesn't match a path in this object, and raises an error instead of making a request.
Is this a feature that would be desirable to be included as part of nuxt-vitest? Or perhaps would this be better suited as its own module/package elsewhere?

let's track this in https://github.com/nuxt/test-utils/issues/577.


Custom widget that opens a new activity to collect answer

Is your feature request related to a problem? Please describe.
Create a custom widget that sends an intent to open a new activity (we can probably just pick a URL ourselves). In the new activity the developer should be able to use the activity result API to return the picked answer.
Describe the solution you'd like
A custom widget in the contrib folder of the sdc library
Describe alternatives you've considered
@soura-b fyi
Additional context
Na
Would you like to work on the issue?
Na

looking into it

from @jjtswan

Code to create a custom questionnaire widget that has a read-only textbox displaying a default answer, with a button next to it which would trigger your activity to select the facility.
Example of how to bind that widget into an example questionnaire

Custom widget view context can be used to launch the activity, but we also need to read activity result back, therefore view context is not enough to just start the activity.
We need to find the way to use ActivityResult api in sdc to read result from activity.
We need to define ActivityResult api and pass reference to custom widget from QuestionnaireFragment to custom widget to start the activity and read the result back.

Custom widget view context can be used to launch the activity, but we also need to read activity result back, therefore view context is not enough to just start the activity.
We need to find the way to use ActivityResult api in sdc to read result from activity.
We need to define ActivityResult api and pass reference to custom widget from QuestionnaireFragment  to start the activity and read the result back.
Currently, referring ActivityResult api reference.

Do you have a branch to share?
You're saying we need to change the widget interface to include activity context?

#1313


remove botservice

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:
docker run -it microsoft/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/williexu/azure-cli-extensions.git@ci_fixes#subdirectory=src/$EXT&egg=$EXT"

@stevengum once the url has been fixed, you can feel free to re-add the extension back.


build_visit:p7z build fails on macOS 10.14 (Xcode 11.3)

Describe the bug
Tons of unresolved symbols from std libs --- example:
      NWindows::NTime::FileTimeToDosTime(_FILETIME const&, unsigned int&) in TimeUtils.o
  "_abort", referenced from:
      WaitForMultipleObjects(unsigned int, NWindows::NSynchronization::CBaseHandleWFMO* const*, int, unsigned int) (.cold.1) in Synchronization.o
      WaitForMultipleObjects(unsigned int, NWindows::NSynchronization::CBaseHandleWFMO* const*, int, unsigned int) (.cold.2) in Synchronization.o
      WaitForMultipleObjects(unsigned int, NWindows::NSynchronization::CBaseHandleWFMO* const*, int, unsigned int) (.cold.3) in Synchronization.o
  "_chdir", referenced from:
      NWindows::NFile::NDir::SetCurrentDir(wchar_t const*) in FileDir.o

I think it is related to p7z using the -m32 flag, when the dev environment only has 64-bit libs.
make -C CPP/7zip/Bundles/Alone all
cc -c -I. -I../../../../C -I../../../../CPP/myWindows -I../../../../CPP/include_windows -I../../../../CPP -m32 -O -DENV_MACOSX -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE   ../../../../C/7zCrc.c

ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd, missing required architecture i386 in file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd
Undefined symbols for architecture i386:

Desktop

OS and version: macOS 10.14
VisIt Version: 3.2.x (develop)

Seems we should make a different decision here for 10.14 and beyond:
cp makefile.macosx_gcc_32bits makefile.machine

looks like this might be failing to take the right path:
cd $P7ZIP_BUILD_DIR || error "Can't cd to P7ZIP build dir."
if [[ "$OPSYS" == "Darwin" ]] ; then
    DTDIGITS=$(echo ${MACOSX_DEPLOYMENT_TARGET} | tr -d'.')
    if [[ $DTDIGITS -le 109 ]]; then #
        cp makefile.macosx_gcc_32bits makefile.machine
    else
        cp makefile.macosx_llvm_64bits makefile.machine
    fi
fi

Might this get you past this for time being...
https://apps.apple.com/us/app/the-unarchiver/id425424353?mt=12
Mark

tr: illegal option -- .
usage: tr [-Ccsu] string1 string2
       tr [-Ccu] -d string1
       tr [-Ccu] -s string1
       tr [-Ccu] -ds string1 string2

Add a space between -d and '.' in the DTDIGITS=` line

I think the input isn't set (MACOSX_DEPLOYMENT_TARGET) - which is strange, but Since this test looks for 109, which is quite old -- I think it make sense to cut out the 32-bit path and just use the 64-bit path.

That make sense. What version of OSX is ARL on?

How about this....
cd $P7ZIP_BUILD_DIR || error "Can't cd to P7ZIP build dir."
if [[ "$OPSYS" == "Darwin" ]] ; then
    if [[ -z "${MACOSX_DEPLOYMENT_TARGET}" ]]; then
            cp makefile.macosx_llvm_64bits makefile.machine
    else
        DTDIGITS=$(echo ${MACOSX_DEPLOYMENT_TARGET} | tr -d'.')
        if [[ $DTDIGITS -le 109 ]]; then #
            cp makefile.macosx_gcc_32bits makefile.machine
        else
            cp makefile.macosx_llvm_64bits makefile.machine
        fi
    fi
fi

i think it was the space :-), but this logic looks good, I'll test and use it.

Resolved for 3.1.2 in #4492 and on develop with #4499


Is this error a bug

Your Question
my code like:

db := G.DB

if in.BrandId != 0 {
    db = db.Where("`brand_id` = ?", in.BrandId)
}
if in.CategoryId != 0 {
    db = db.Where("`parent_id` = ?", in.CategoryId)
}

var goods []MD.DocGoods
if err = db.Find(&goods).Error; err != nil {
    return
}

The SQL will be
SELECT * FROM `goods` WHERE `goods`.`deleted_at` IS NULL

But, there is an error : unsupported data type: 0xc000765780: Table not set, please set it like: db.Model(&user) or db.Table("users")
If I just use db.Find(&goods),it will be OK.

The document you expected this should be explained

Expected answer

I'm not sure if this error is a mistake

hello @ancheGT  can you provide a demo in https://github.com/go-gorm/playground?

I guess its a usage issue, feel free to recreate another issue with reproducible demo
thank you.

I also encountered this problem, the difference is because the model has more fields than the database table.
Looking for a perfect solution

Is this correct ? @huangjingui

I am also facing the same issue. Is there any solution available for this ??

add  gorm:"-"  to struct


🚀 The feature, motivation and pitch
Do we have a plan to support voice models like qwen-audio?
Alternatives
No response
Additional context
No response
Before submitting a new issue...

[X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

@fyabc are you interested in implementing this?

@fyabc are you interested in implementing this?

Hi, our team are developing on Qwen2-Audio vllm support, please check this branch, and @faychu will take effort on it.

that's great

When do we expect to support qwen2 audio

@fyabc are you interested in implementing this?

Hi, our team are developing on Qwen2-Audio vllm support, please check this branch, and @faychu will take effort on it.

@fyabc Very excitied to see this release! Please feel free to ping me for review when the PR's up.

When do we expect to support qwen2 audio

We expect to support qwen2audio within one month.

@faychu,
Hi ,pro
I follow your branch and have done some adaptation work with the latest version of VLLM. It worked well in a single audio per request scenario, but I am having trouble in the multi-audio per request scenario since the latest VLLM audio batch seems to have two dimensions: batch and sub-batch. Could you please give me some advice?

the latest version of VL

@faychu, Hi ,pro I follow your branch and have done some adaptation work with the latest version of VLLM. It worked well in a single audio per request scenario, but I am having trouble in the multi-audio per request scenario since the latest VLLM audio batch seems to have two dimensions: batch and sub-batch. Could you please give me some advice?

Can you share your adaptation work? Thanks


Cannot load LLaMA models saved with latest transformers

System Info
TGI: latest docker image.
Information

[X] Docker
[ ] The CLI directly

Tasks

[X] An officially supported command
[ ] My own modifications

Reproduction
With this PR merged, inv_freq tensors are not in the weights.
Shard complete standard error output:

You are using a model of type llama to instantiate a model of type . This is not supported for all configurations of models and can yield errors.
Traceback (most recent call last):

  File "/opt/conda/bin/text-generation-server", line 8, in <module>
    sys.exit(app())

  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/cli.py", line 81, in serve
    server.serve(

  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/server.py", line 184, in serve
    asyncio.run(

  File "/opt/conda/lib/python3.9/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)

  File "/opt/conda/lib/python3.9/asyncio/base_events.py", line 647, in run_until_complete
    return future.result()

  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/server.py", line 136, in serve_inner

   model = get_model(

  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/models/__init__.py", line 185, in get_model
    return FlashLlama(

  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/models/flash_llama.py", line 67, in __init__
    model = FlashLlamaForCausalLM(config, weights)

  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/models/custom_modeling/flash_llama_modeling.py", line 456, in __init__
    self.model = FlashLlamaModel(config, weights)

  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/models/custom_modeling/flash_llama_modeling.py", line 394, in __init__
    [

  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/models/custom_modeling/flash_llama_modeling.py", line 395, in <listcomp>
    FlashLlamaLayer(

  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/models/custom_modeling/flash_llama_modeling.py", line 331, in __init__
    self.self_attn = FlashLlamaAttention(

  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/models/custom_modeling/flash_llama_modeling.py", line 188, in __init__
    self.rotary_emb = PositionRotaryEmbedding.load(

  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/utils/layers.py", line 474, in load
    inv_freq = weights.get_tensor(f"{prefix}.inv_freq")

  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/utils/weights.py", line 66, in get_tensor
    filename, tensor_name = self.get_filename(tensor_name)

  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/utils/weights.py", line 53, in get_filename
    raise RuntimeError(f"weight {tensor_name} does not exist"

RuntimeError: weight model.layers.0.self_attn.rotary_emb.inv_freq does not exist

Expected behavior
Create inv_freq tensors on the fly.

even i am facing the same issue

https://github.com/huggingface/text-generation-inference/pull/793
Fix in the works. Now we have to make sure this doesn't break older llama version (which current PR should).
This inv_freq tensor is different on disk than what is calculated (no idea where the difference comes from). Therefore we should have a switch of some kind now.

thank a lot.

sha-0e8b478
Shoudl work, can you confirm ?

@Narsil Thanks. Currently blocked on #778 .


L515 LiDAR Camera is not activate on android application.

Required Info

Camera Model
L515

Firmware Version
<IP_ADDRESS>

Operating System & Version
android

android Version
7.0

Platform
android zenfoneAR

SDK Version
2.35.2

I tried to use following android application on ASUS Zenfone (android version is 7.0).
https://github.com/IntelRealSense/librealsense/tree/master/wrappers/android/examples/capture
However, above application with L515 is not executed.
(this application is compiled with librealsense SDK v2.35.2)
No error message showed.
Conneted with L515, the word "Connect a Realsense camera" is disappered and black screen keeped.
Next, it worked when change device to D435(depth and color image displayed.)
So Only the case that connected L515 is not work.
How should I solve this problem?
(In intel realsense viewer v2.35.2, L515 LiDAR camera is now well working.)

Hi @dorazarashi
At the moment, L515 does not work via USB2. Perhaps phone connector / cable is causing the camera to enumerate as USB2?

Hi @dorodnic
Thank you for reply.  Connector and cable type is USB3 .
(I used some USB3 cable that includes attached cable of L515.)
I will check if it is not recognized as USB2 on the application.

I checked following code on android application , and usb_type was 2.1.
String usb_type = dl.createDevice(0).getInfo(CameraInfo.USB_TYPE_DESCRIPTOR);
Cable and usb type-c conversion connector is USB3.0 , but ZenfoneAR's connector was found to be USB2.0.
I will run application on the other android phone(USB3.0). Thank you for advice.


DDI-376: Adding new API reference overview and dressing up API home page

to improve breadcrumb nav experience and to orient newer users, I added an API references landing page and updated the APIs home page to better display our wares.
Deadline
ASAP
Change type

[X] Doc update.
[X] New documentation.

PR checklist:

[X] My documentation follows the style guidelines of this project.
[X] I previewed my documentation on a local server using mkdocs serve.
[X] Running mkdocs serve didn't generate any failures.
[X] I have performed a self-review of my own documentation.

Re-built in AWS and everything built without issue, I think GH action is having a burp.


ALUtil.getStringList is returning incorrect values with OpenJDK 10.0.1

Environment

LWJGL version: 3.2.0 build 12
Platform: Windows
Module: openal

Description
ALUtil.getStringList is returning incorrect values on OpenJDK 10.0.1 64 bit.
	System.out.println(ALUtil.getStringList(0, ALC11.ALC_ALL_DEVICES_SPECIFIER));
	System.out.println(ALC11.alcGetString(0, ALC11.ALC_ALL_DEVICES_SPECIFIER));

prints

It works with Java 1.8.0_74 64 bit:
[OpenAL Soft on Speakers (Realtek High Definition Audio)]
OpenAL Soft on Speakers (Realtek High Definition Audio)
I also tried with ALC_CAPTURE_DEVICE_SPECIFIER with similar results:
1.8:
[OpenAL Soft on Microphone (Realtek High Definition Audio), OpenAL Soft on Microphone (DroidCam Virtual Audio)]
OpenAL Soft on Microphone (Realtek High Definition Audio)
10.0.1:

The bad characters are different every time.
Edit:
It works correctly when I move getStringList to my own class and add two buffer.position() calls:
public static List<String> getStringList(long deviceHandle, int token) {
    long __result = nalcGetString(deviceHandle, token);
    if (__result == 0) {
        return null;
    }

    ByteBuffer buffer = MemoryUtil.memByteBuffer(__result, Integer.MAX_VALUE);

    List<String> strings = new ArrayList<>();

    int offset = 0;
    while (true) {
        if (buffer.get() == 0) {
            int limit = buffer.position() - 1;
            if (limit == offset) { // Previous char was also a \0 == end of list.
                break;
            }
            buffer.position(0);
            strings.add(MemoryUtil.memUTF8(buffer, limit - offset, offset));
            buffer.position(limit + 1);
            offset = buffer.position();
        }
    }

    return strings;
}

It looks like the java9 MemoryTextDecoding here (https://github.com/LWJGL/lwjgl3/blob/14a47551f2ec55361c31654c89c0c5c006cb3997/modules/lwjgl/core/src/main/java9/org/lwjgl/system/MemoryTextDecoding.java) uses the buffer's position while the java 8 version does not.

Thanks @Alex-----! The fix will be available in 3.2.1 snapshot 2.


Adds py.typed to get type safe usage of modal_proto package

This marker is required by many (all?) type checkers to treat the import as something other than "Any"

Nice!


Fix dashboard view selections

Description:
Currently the desktop and mobile viewport sizes differ in the current Image Cards size (2-3 columns sizes show images, single doesn't).
Let's make it so that the image is not hidden on Image Cards, and add these views in the menu selection.
Image cards
Image + History cards
History cards
Simple cards

@io53 let's fix the image aspect ratio to this example. Current size is incorrect.

I think the spec should be more like: keep these (red and blue) widths unmodified and strectch the image to be taller if height of the the card changes.


Stuck sender shards can block the reader

An indefinitely stuck send, whether due to an unrecoverable error being returned as recoverable, or due to persistently long timeouts, has a potential to block the sender.
The problem is mitigated in #87, but not fully resolved. This requires a misbehaving OTLP server to achieve, but has been reproduced using the stresstest program included in that PR and a faulty test server.
#87 added a backstop to abort sends after they have persistently failed for several export timeouts, which ensures progress, but does not ensure good progress if the rate of the trigger (whatever the cause) is high enough.
The current behavior ensures that the sidecar does not get stuck, but does not ensure good progress, and when this is happening the queue manager resharding logic begins reducing the number of shards. This can result in a nearly-stuck process following #87.

This has been mitigated in recent releases. These points will show send outcome as "aborted".


Raise a more informative error on test failure

xref https://github.com/coiled/coiled-runtime/pull/40#issuecomment-1098595761
cc @mrocklin

Thanks for the review @phobson


Skip typo correction by default

What
The current precision of typo correction is around 80%, which is too low for practical use.
It's better to skip typo correction by default and ask users to specify the typo option if needed.

PR #169 solves this issue.


[Designer] The designer does not resolve facts

If you just go to https://adaptivecards.io/designer/ you will directly see this (wihtout any changes to default card):

The facts are not rendered even though the data is provided corretly (at least it looks correct to me)

Hi @Mrxx99,
Since the FactSet is bound to the data, you need to be in Preview mode for it to render properly.

Let me know if you have any other questions!

Since the FactSet is bound to the data, you need to be in Preview mode for it to render properly.

But why are then the other bound properties displayed when not in Preview mode, that seems to be inconsistent. How is the FactSet (${properties}) different to e.g. the description (${description})?

@Mrxx99 We provided special handling for TextBlocks in Design mode. This is the only portion of the templating library that will work without switching to Preview mode.


Add fix to docker compose file for WSL2

Update docker-compose.yml to support Docker Desktop running on WSL2 (permissions error).
Hi @DanWahlin I was in your workshop session on Monday (I was the one having the issues with WSL2). I met with another participant later (our friend from Japan) who figured out this fix. It now works on my machine. I'm unsure if this will break other configurations.

Thanks @philip-young! I’m out of the office for the next 10 days but as soon as I get a chance I’ll try this out. Appreciate it!

Had a little time to try this out on my Mac before leaving the hotel and the change didn't affect anything (since it's in the container itself I didn't think it would) so merging. Really appreciate the contribution!

Great!! Glad to hear!


Doesn't work with binding

<paper-date-picker date="[[ date ]]"></paper-date-picker>
for example date is binding and the value is 2016-12-01
it will give error:
Invalid date: undefined
paper-calendar.html:617 Invalid date: 2016-12-01

repeated like ~1.000 times

I can reproduce this. My current workaround is using two properties (via wrapper component), one for outer change (called date), other for inner (called value):
properties: {
    date: {
        type: String,
            notify: true,
            observer: '_onDateChanged'
    },
    value: {
        type: String
    }
},
_onDateChanged: function (date) {
    // when date is set from <paper-input>, update datepicker
    var input = Date.parse(date);
    if (!isNaN(input)) {
        // not a NaN means a valid date string
        var upd = new Date(input);
        // <paper-date-picker> resets hours, so we need to do the same
        // https://github.com/bendavis78/paper-date-picker/issues/50
        upd.setHours(0);
        // only update value if it has changed
        if (this.value !== upd) {
            this.value = upd;
        }
    }
},

Not sure, but it's likely that Date.parse() could be called by this component itself.
@bendavis78 WDYT?

I have the same problem and can't bind date, min-date or max-date.
Strangely enough the example from README.md reads:
<paper-date-picker id="picker" date="[[date]]"></paper-date-picker>
So the binding is supposed to work.

I'm not having this issue, but if you can recreate the problem using something like JSFiddle @diegocerdan I might be able to fix it for you.


Error On Favicon: unsupported file type: undefined

What version of starlight are you using?
0.21.5
What version of astro are you using?
4.6.3
What package manager are you using?
npm
What operating system are you using?
Mac
What browser are you using?
Chrome
Describe the Bug
Everything worked fine on Astro <3. When updating now the favicon loading breaks (or so it looks).
I upgraded as a requirement to add Cloudflare support, but even when removing CF, the issue remains.
unsupported file type: undefined   Stack trace:     at /Users/thegreataxios/skale/docs.skale.space/node_modules/astro/dist/assets/utils/vendor/image-size/lookup.js:18:9
Link to Minimal Reproducible Example
https://github.com/skalenetwork/docs.skale.space/tree/thegreataxios/core/update-astro
Participation

[ ] I am willing to submit a pull request for this issue.

Thanks for your report :raised_hands: I think in this case, there are 3 issues:

You are upgrading from v0.11.2 to v0.21.5 but v0.12.0 included a breaking change to the hero.image frontmatter schema that you are using in your src/content/docs/index.mdx file.
You are specifying for the image the following properties: alt, light, dark and file. The schema is now a bit more strict. It only accepts alt & file OR alt & light & dark OR just html. In your case, removing the file property should fix this issue.

In version 0.16.0, a change to an internal API (virtual:starlight/components) you are using was made. You will need to update your imports to use the individual virtual modules now available for each component, for example virtual:starlight/components/EditLink.

The third issue seems to be related to some of your SVGs file which encounter what seems to be this error from the image-size library which is now vendored with Astro since v4.4.0.

Replacing the content of src/assets/skale_logo_b.svg and src/assets/skale_logo_w.svg with another SVG content seems to remove the issue and the page renders correctly.
Maybe @OliverSpeir has more ideas about this one? We may need to setup a smaller reproduction and open an issue in the Astro repository if confirmed.

Yeah I'd say this issue can move to Astro, I was able to recreate but don't have a fix yet
Maybe SVGO like the original image-size issue.
I assume we can get a patch working (maybe naively underestimating the issue)

I just opened an issue in the Astro repo regarding the SVG error with a small reproduction.
Considering the other issues where Starlight related and due to breaking changes during the upgrade process, I think we can now close this issue.
Thanks for your report (I also tagged you in the other issue so you can follow up on it).


feat: port init/cc_lemmas.lean

I started porting logic/lemmas.lean, but found that I needed cc_lemmas.lean first.
Compare to

the Lean 3 version: https://github.com/leanprover-community/lean/blob/fc13c8c72a15dab71a2c2b31410c2cadc3526bd7/library/init/cc_lemmas.lean
the lean3port version: https://github.com/leanprover-community/lean/blob/fc13c8c72a15dab71a2c2b31410c2cadc3526bd7/library/init/cc_lemmas.lean

The main adjustments I needed to make were of the form (true_iff_iff _) -> true_iff_iff, because the mathlib4 version of true_iff_iff (and similar lemmas) takes its argument implicitly, which the mathlib3 version takes it explicitly.

The main adjustments I needed to make were of the form (true_iff_iff _) -> true_iff_iff, because the mathlib4 version of true_iff_iff (and similar lemmas) takes its argument implicitly, which the mathlib3 version takes it explicitly.

In the mentoring meeting today, @digama0 said that we do indeed want true_iff_iff and friends to take an implicit argument, and the only reason that the Lean 3 versions take explicit arguments is that they are in core and therefore difficult to change.

bors merge

bors merge


Code - macOS: Implement Dock Tile Persistence Method

Reference: https://theevilbit.github.io/beyond/beyond_0032/

Can't implement due to time constraints


Video Player HLS(m3u8) video error - VideoError, Video player had error com.google.android.exoplayer2.ExoPlaybackException: Source error, null, null

Hey I'm trying to fetch for an HLS (.m3u8) video from Firebase Firestore with the following URL sample https://firebasestorage.googleapis.com/v0/b/picmoni-6e741.appspot.com/o/Stories%2FVideos%2F5cc5ff96-223b-4e9a-8308-cd98fac98830%2Fmaster.m3u8?alt=media&token=1fd5da08-f374-4909-84fd-cea93b056fe0
I use the flutters video player to get and play the video as follows
if (combinedList[selectedIndex].media == 'Video') {
      _videoController = VideoPlayerController.network(
          combinedList[selectedIndex].content,
          formatHint: VideoFormat.hls);
      _videoController.initialize().then((_) {
        setState(() {});
        _animController.duration = _videoController.value.duration;
        _videoController.play();
        _animController.forward();
      });
      _videoController.addListener(() {
        if (_videoController.value.hasError) {
          print(_videoController.value.errorDescription);
        }
        if (_videoController.value.initialized) {}
        if (_videoController.value.isBuffering) {}
      });
    }

return Scaffold(
  body: Container(
    color: Colors.red,
    child: Center(
      child: AspectRatio(
        aspectRatio: _videoController
            .value.aspectRatio,
        child: VideoPlayer(_videoController),
      ),
    ),
  ),
);

Here is the error I get from the debug console:
D/ViewRootImpl@34419c1[MainActivity](27998): ViewPostIme pointer 0
D/ViewRootImpl@34419c1[MainActivity](27998): ViewPostIme pointer 1
I/ExoPlayerImpl(27998): Init e289076 [ExoPlayerLib/2.12.2] [a50, SM-A505F, samsung, 29]
12
I/System.out(27998): (HTTPLog)-Static: isSBSettingEnabled false
E/ExoPlayerImplInternal(27998): Playback error
E/ExoPlayerImplInternal(27998):   com.google.android.exoplayer2.ExoPlaybackException: Source error
E/ExoPlayerImplInternal(27998):       at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:554)
E/ExoPlayerImplInternal(27998):       at android.os.Handler.dispatchMessage(Handler.java:103)
E/ExoPlayerImplInternal(27998):       at android.os.Looper.loop(Looper.java:237)
E/ExoPlayerImplInternal(27998):       at android.os.HandlerThread.run(HandlerThread.java:67)
E/ExoPlayerImplInternal(27998):   Caused by: com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException: Response code: 404
E/ExoPlayerImplInternal(27998):       at com.google.android.exoplayer2.upstream.DefaultHttpDataSource.open(DefaultHttpDataSource.java:341)
E/ExoPlayerImplInternal(27998):       at com.google.android.exoplayer2.upstream.StatsDataSource.open(StatsDataSource.java:84)
E/ExoPlayerImplInternal(27998):       at com.google.android.exoplayer2.upstream.DataSourceInputStream.checkOpened(DataSourceInputStream.java:101)
E/ExoPlayerImplInternal(27998):       at com.google.android.exoplayer2.upstream.DataSourceInputStream.open(DataSourceInputStream.java:64)
E/ExoPlayerImplInternal(27998):       at com.google.android.exoplayer2.upstream.ParsingLoadable.load(ParsingLoadable.java:177)
E/ExoPlayerImplInternal(27998):       at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:415)
E/ExoPlayerImplInternal(27998):       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/ExoPlayerImplInternal(27998):       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/ExoPlayerImplInternal(27998):       at java.lang.Thread.run(Thread.java:919)
I/flutter (27998): Video player had error com.google.android.exoplayer2.ExoPlaybackException: Source error
E/flutter (27998): [ERROR:flutter/lib/ui/ui_dart_state.cc(184)] Unhandled Exception: PlatformException(VideoError, Video player had error com.google.android.exoplayer2.ExoPlaybackException: Source error, null, null)
E/flutter (27998):

Here is the flutter doctor - v
$ flutter doctor -v
[√] Flutter (Channel master, 1.26.0-2.0.pre.84, on Microsoft Windows [Version 10.0.19042.685], locale en-US)
    • Flutter version 1.26.0-2.0.pre.84 at C:\flutter
    • Framework revision cda1fae6b6 (3 days ago), 2020-12-18 04:04:02 -0500
    • Engine revision 1be6f414e7
    • Dart version 2.12.0 (build 2.12.0-166.0.dev)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at C:\Users\USER\AppData\Local\Android\Sdk
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = C:\Users\USER\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 4.1.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code (version 1.52.1)
    • VS Code at C:\Users\USER\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.17.0

[√] Connected device (3 available)
    • SM A505F (mobile) • RZ8MB0906JE • android-arm64  • Android 10 (API 29)
    • Chrome (web)      • chrome      • web-javascript • Google Chrome 87.0.4280.88
    • Edge (web)        • edge        • web-javascript • Microsoft Edge 87.0.664.66

• No issues found!

And here is a minimal reproducible code of the error with flutter run -v
[+1212 ms] D/ViewRootImpl@98401f2[MainActivity]( 2600): ViewPostIme pointer 0
[  +56 ms] D/ViewRootImpl@98401f2[MainActivity]( 2600): ViewPostIme pointer 1
[ +317 ms] W/android.picmon( 2600): Accessing hidden method Landroid/media/AudioTrack;->getLatency()I (greylist, reflection, allowed)
[  +16 ms] I/ExoPlayerImpl( 2600): Init 7d36bdb [ExoPlayerLib/2.12.2] [a50, SM-A505F, samsung, 29]
[  +81 ms] I/System.out( 2600): (HTTPLog)-Static: isSBSettingEnabled false
[   +3 ms] I/System.out( 2600): (HTTPLog)-Static: isSBSettingEnabled false
[+1813 ms] I/System.out( 2600): (HTTPLog)-Static: isSBSettingEnabled false
[   +9 ms] I/System.out( 2600): (HTTPLog)-Static: isSBSettingEnabled false
[ +577 ms] I/System.out( 2600): (HTTPLog)-Static: isSBSettingEnabled false
[  +16 ms] I/System.out( 2600): (HTTPLog)-Static: isSBSettingEnabled false
[ +326 ms] I/System.out( 2600): (HTTPLog)-Static: isSBSettingEnabled false
[   +5 ms] I/System.out( 2600): (HTTPLog)-Static: isSBSettingEnabled false
[+1536 ms] I/System.out( 2600): (HTTPLog)-Static: isSBSettingEnabled false
[  +27 ms] I/System.out( 2600): (HTTPLog)-Static: isSBSettingEnabled false
[+2257 ms] I/System.out( 2600): (HTTPLog)-Static: isSBSettingEnabled false
[ +141 ms] I/System.out( 2600): (HTTPLog)-Static: isSBSettingEnabled false
[ +240 ms] E/ExoPlayerImplInternal( 2600): Playback error
[   +4 ms] E/ExoPlayerImplInternal( 2600):   com.google.android.exoplayer2.ExoPlaybackException: Source error
[  +64 ms] E/ExoPlayerImplInternal( 2600):       at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:554)
[   +2 ms] E/ExoPlayerImplInternal( 2600):       at android.os.Handler.dispatchMessage(Handler.java:103)
[   +1 ms] E/ExoPlayerImplInternal( 2600):       at android.os.Looper.loop(Looper.java:237)
[   +1 ms] E/ExoPlayerImplInternal( 2600):       at android.os.HandlerThread.run(HandlerThread.java:67)
[        ] E/ExoPlayerImplInternal( 2600):   Caused by: com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException: Response code: 404
[   +1 ms] E/ExoPlayerImplInternal( 2600):       at com.google.android.exoplayer2.upstream.DefaultHttpDataSource.open(DefaultHttpDataSource.java:341)
[        ] E/ExoPlayerImplInternal( 2600):       at com.google.android.exoplayer2.upstream.StatsDataSource.open(StatsDataSource.java:84)
[  +39 ms] E/ExoPlayerImplInternal( 2600):       at com.google.android.exoplayer2.upstream.DataSourceInputStream.checkOpened(DataSourceInputStream.java:101)
[   +1 ms] E/ExoPlayerImplInternal( 2600):       at com.google.android.exoplayer2.upstream.DataSourceInputStream.open(DataSourceInputStream.java:64)
[   +1 ms] E/ExoPlayerImplInternal( 2600):       at com.google.android.exoplayer2.upstream.ParsingLoadable.load(ParsingLoadable.java:177)
[        ] E/ExoPlayerImplInternal( 2600):       at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:415)
[        ] E/ExoPlayerImplInternal( 2600):       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
[        ] E/ExoPlayerImplInternal( 2600):       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
[   +1 ms] E/ExoPlayerImplInternal( 2600):       at java.lang.Thread.run(Thread.java:919)
[        ] I/flutter ( 2600): Video player had error com.google.android.exoplayer2.ExoPlaybackException: Source error
[        ] E/flutter ( 2600): [ERROR:flutter/lib/ui/ui_dart_state.cc(184)] Unhandled Exception: PlatformException(VideoError, Video player had error
com.google.android.exoplayer2.ExoPlaybackException: Source error, null, null)
[   +1 ms] E/flutter ( 2600):

Your help will be highly appreciated

How should I also update the HLS playlist URLs when I store files as follows in the stories folder in videos folder? as shown below
Future<String> _uploadFile(filePath, folderName) async {
    final file = new File(filePath);
    final basename = p.basename(filePath);
    String videoUrl;

    final Reference ref = FirebaseStorage.instance
        .ref()
        .child('Stories')
        .child('/Videos')
        .child(folderName)
        .child(basename);
    UploadTask uploadTask = ref.putFile(file);

    uploadTask.snapshotEvents.listen((TaskSnapshot snapshot) {
      final double progress = snapshot.bytesTransferred / snapshot.totalBytes;
      setState(() {
        _progress = progress;
      });
    });

The code to update playlist URLs as follows
 void _updatePlaylistUrls(File file, String videoName) {
    final lines = file.readAsLinesSync();
    List<String> updatedLines = [];

    for (final String line in lines) {
      var updatedLine = line;
      if (line.contains('.ts') || line.contains('.m3u8')) {
        updatedLine = '$videoName%2F$line?alt=media';
      }
      updatedLines.add(updatedLine);
    }
    final updatedContents =
        updatedLines.reduce((value, element) => value + '\n' + element);

    file.writeAsStringSync(updatedContents);
  }

Here is a screenshot of my Firestore file storage

Hi @BrianTum ,
As for the first issue, you're getting a 404 error from exoplayer:
E/ExoPlayerImplInternal(27998):   Caused by: com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException: Response code: 404

Trying to go to the link for your video, you get a 404 from the browser, so the url is broken:
https://firebasestorage.googleapis.com/v0/b/picmoni-6e741.appspot.com/o/Stories%2FVideos%2F5cc5ff96-223b-4e9a-8308-cd98fac98830%2Fmaster.m3u8?alt=media&token=1fd5da08-f374-4909-84fd-cea93b056fe0
To check what the correct url should be, you can get the download link of the file from firebase console, then compare it to your url.

Thank you @syonip for your feedback. I found the solution. Problem was on updating the HLS files. I store the file in Subdolders in Firebase Storage i.e. inside videos in stories folders and so I had to rename my HLS files to fetch from these folders i.e.
updatedLine = 'Stories%2FVideos%2F$videoName%2F$line?alt=media';

It's still slow in fetching the videos... Any idea of how to improve video performance?

The performance is a combination of many factors, so I would try to isolate the problem by performing tests:

You can test the serving itself using an online hls tester, try googling "test hls stream".
If the stream loads fast in the testers, the problem could be in your player. Test it with a sample app of exoplayer native (no flutter).
Test a firebase file that's not hls, does that work fast?
Test serving a test HLS stream that's not yours, within your flutter app, is that fast?

These test can help you figure out where the problem is.

The performance is a combination of many factors, so I would try to isolate the problem by performing tests:

You can test the serving itself using an online hls tester, try googling "test hls stream".
If the stream loads fast in the testers, the problem could be in your player. Test it with a sample app of exoplayer native (no flutter).
Test a firebase file that's not hls, does that work fast?
Test serving a test HLS stream that's not yours, within your flutter app, is that fast?

These test can help you figure out where the problem is.

Hey @syonip and @BrianTum , maybe you can help me figure out what's wrong with my project. My files either are not accessible, or are malformed.
I can access them freely, though, and paths seem to be right, so I can't pinpoint the issue...
Here is a screenshot of the bucket

Here is the link to the master file
https://firebasestorage.googleapis.com/v0/b/test-a5584.appspot.com/o/video_stream%2Fvideo1%2Fmaster.m3u8?alt=media


Is possible add this device?

Hi!, i've recently buy one outlet that have a RGB LED light too. With the API only I get on/off the outlet part. Were possible add this devices?. I've put in the config.json several "dps's" but no success.

I've get writing this in config.json, turn on/off LED and switch alone or together....
{
"name": "Enchufe Luz",
"id": "00153632807d3a796b43",
"key": "b2c62dd97417f483",
"ip": "<IP_ADDRESS>",
"options": {
"dps": 1
}
},
{
"name": "LED enchufe",
"id": "00153632807d3a796b43",
"key": "b2c62dd97417f483",
"ip": "<IP_ADDRESS>",
"options": {
"dps": 27
}
},

That's interesting, I've never heard of a device like that.  Mind linking to where you bought it from?
Brightness controls have been added; you can use them by setting type to dimmer (see README).
RGB controls still have not been added, I'll mention you in the main issue for that so you'll be notified when support is added.

Here is the link:
https://www.amazon.es/gp/product/B07GH7XRB5/ref=oh_aui_detailpage_o07_s00?ie=UTF8&psc=1

Thanks for your support!


Update terraform-version to 1.8.0 from 1.7.4

Looks like terraform build needs to be restricted to zos v2r5 CI instances.
CEE3728S The use of a function, which is not supported by this release of Language Environment was detected.
         From entry point runtime.mstart_stub at compile unit offset +00000000266B57C4 at entry offset +000000000000125C at address<PHONE_NUMBER>6B57C4.
***ERROR: Install failed. Log: /jenkins/workspace/Port-Build/terraform/log.STABLE/20240411_151438_install.log


Signature suspension (#198)

This PR implements signature suspension, as detailed in issue #198. In the UI, this has been added as a button in the debug panel.
It is non-trivial to get right because of the labelling logic, which is currently ignored. Do not use it on actual proofs until this is fixed.
My current implementation seems to be producing malformed rewrite which do not compose, so the inductive step of the suspension algorithm is definitely broken.

This seems to have fixed the panics. @calintat if you can figure out labels we can merge.

This looks fantastic Chiara. I looked at this via the link above but couldn't see any UI mechanic. What is your plan there. A button at the top of the signature to avoid cluttering the left hand menu?
By the way suspension in general makes sense more locally, it doesn't have to be for the entire signature.

The current UI puts it as a button in the UI panel, which is not brilliant.
I have not thought too much about UI, generally suspending things seems like something that gets done rather infrequently, but if we want to support local suspensions (e.g. of folders), then some UI is really needed.
The local suspensions are likely going to be a messy thing to implement: if we suspend a generator, then we must ensure that every diagram in which that generator has ended up gets suspended as well. We could embrace this and allow to do selections of generators in the signature (with something like CTRL+CLICK) and then suspend them and their dependencies. The ability to select multiple generators/folders could then be recycled to implement a feature to identify generators (#523).
I definitely also want to support suspension with only one base generator, which is super quick  to implement.

I looked at the preview URL but I can't see a button in the menu bar for this.

It's in the debug panel.

Thanks this is interesting, I have now played with it a bit.
I was actually imagining a different notion of suspension, where everything lives over a single new object. This would turn monoidal category data into braided monoidal category data, braided monoidal into symmetric monoidal, etc. This is the notion of suspension that I am familiar with from this paper: https://arxiv.org/abs/q-alg/9503002
Can you explain a bit about this notion of suspension you've implemented? And let's discuss the different ways it could act, and what we'd use it for.

Small note to make is that we could get away with just doing the UI for the more general suspension (with two fresh 0-cells) if we had generator identifications (#197), as we could then combine the two new generators into a unique one.

Hi Chiara, I still don't think that gives the procedure I was describing. If we start with an object of a monoidal category, this is an object X with an endomorphism f:X->X. After "suspending" this in Baez's sense, we should have f:id(X) -> id(X). But this is not what either of your suspension operations gives.

Oh okay I now understand, they are indeed different constructions, I stand corrected.
The problem I see with implementing the Baez-style suspension is that it fails globularity for non-endomorphisms. This means that the UI for it should be more granular, which requires a bit of discussion. But outside that it should be relatively straightforward to implement (without labels), and I can take a stab at it at some point.
Should I close this PR?

Let's chat later this week.

Ah interesting! I hadn't realised there is another notion of suspension.
The one we implemented is the standard notion of suspension from topology (https://ncatlab.org/nlab/show/suspension). This is also described in Thibaut's thesis for CaTT: given a context $\Gamma$, its suspension $\Sigma \Gamma$ is obtained by adding two fresh variables $s, t : *$ and replacing every $x : *$ with $x : s \to t$.
I suggest we call this path suspension, and the variant where $s = t$ can be called loop suspension.
Now John Baez's notion of suspension is a functor of $k$-tuply monoidal $n$-categories to $(k + 1)$-tuply monoidal $n$-categories. In terms of signatures, this can be implemented as follows. Given a signature $\Gamma$, there are two cases:

If $\Gamma$ has more than one 0-generator, it's the same process as loop suspension.
If $\Gamma$ has a unique 0-generator, say $x$, and no $j$-generators for $0 < j < k$, then replace every occurrence of $x$ with $\mathrm{id}(x)$.

I suggest we call this abelianization. This can be used to convert a set into a monoid into a commutative monoid, or a category into monoidal category into a braided monoidal category into a symmetric monoidal category, and so on.

Thanks for that nice analysis Calin.
A subtlety is that we want the strict rather than weak identity $\text{id}(x)$ of course.

Will implement other ideas discussed in a future cleanup commit.

@regular-citizen I realised we can combine the suspend and abelianize functions. I think it makes the code nicer.

@regular-citizen I realised we can combine the suspend and abelianize functions. I think it makes the code nicer.
Basically the only difference between the two is whether you suspend over fresh generators or an existing generator.

This is great! Thanks for implementing this patch, it does make things much neater.

Here is another idea: we can make suspension a button on a generator. You can abelianize by clicking suspend on the unique 0-cell, and you can do reduced suspension by first creating a fresh generator and then clicking suspend on that. The only downside is there would be no way to do standard suspension.

Here is another idea: we can make suspension a button on a generator.

I don't think this is optimal because we would like to support standard suspension. However we agreed today with Jamie to implement the generator identification feature in a similar way. It would involve a button that identifies a generator with its predecessor, if the diagrams have compatible boundaries.
I definitely want to hide the suspension buttons from view if the signature is empty though.

How about we have two buttons (suspend source and suspend target) and make them work like set boundary?

How about we have two buttons (suspend source and suspend target) and make them work like set boundary?

I'm not sure I understand this.

As in you press "suspend source" on a 0-generator and it remembers your choice and then when you press "suspend target" on either the same generator or a different, it does the suspension.

I'm not sure I like this too much but we would do something similar for generator identifications, so maybe it's worth considering.

We discussed this with @calintat, the UI should be a single "suspension" button on 0-cells. To do a reduced suspension, we would add a fresh generator, and do suspension on that, and abelianization could be done by suspending an existing generator.
Standard suspension would not be supported due to its failure modes.
The existing algorithm support all of this, so this can be implemented as soon as labels have been figured out.

Standard suspension would not be supported due to its failure modes.

We could support that as an action on the whole signature (same as it's already implemented).


hspec 2.2.4

hspec-2.2.4 (Simon Hengel<EMAIL_ADDRESS>@sol) is out of bounds for:

[ ] point-octree-<IP_ADDRESS> (==2.2.3). Michael Litchard<EMAIL_ADDRESS>@mlitchard. @mgajda @mlitchard

@mlitchard @mgajda


add idle_notify_v1 protocol.

I'm not sure how to test it except making swayidle run without complaining about the display not supporting idle protocol.
Should i commit the changes made to tiny ?

Any chance you can clear up some of the lint errors in the CI? Thanks!

It should be fixed now.


[WIP] add etcd kv service test

@xiang90 @hongchaodeng @skyao @sijie could someone help fix testng issue? I am not familiar with testng.

I am not familiar with testng too. I am wondering why we didn't use junit?

@skyao seems you add testng, could you help with this?

i think @StupidHod is trying testng. Can we make sure we only use one testing framework?

@xiang90 I am ok about testng.


Enforce deletion of temporary XML files

PR Summary:
Change the temporary file creation from tempfile.mkstemp to
tempfile.NamedTemporaryFile.
mkstemp creates a temporary file with a file handle that can be
accessed in a secure manner, preventing possible race conditions.
However, mkstemp also requires manual deletion of the file
after its purpose has been served.
This file was never being deleted, and would pollute the $TMPDIR
of the user who was running Foyer.
Instances of mkstemp have been replaced with NamedTemporaryFile,
which provides a higher level interface to created temp files,
and all instances where these are used are captured in try,finally
blocks, to ensure that they are removed after the XML files have been
processed.
Resolves #244
PR Checklist

[ ] Includes appropriate unit test(s)
[ ] Appropriate docstring(s) are added/updated
[x] Code is (approximately) PEP8 compliant
[x] Issue(s) raised/addressed?

I tested this locally.
To test:

Run the unit tests for foyer without this change
check for leftover tmp xml files

ls $TMPDIR/*.xml

delete the files

rm $TMPDIR/*.xml
Apply this change

run the tests again
check for leftover tmp xml files

ls $TMPDIR/*.xml

This should return an error, as there are no xml files to find

Just for an  extreme example, I was using a local machine to atomtype ~30K systems, my tmp folder afterwards was filled with approximately ~7GB of tmp xml files.

Works for me locally.
In:
git checkout master
rm $TMPDIR/*xml
py.test -q --disable-warnings
ls $TMPDIR/*xml | wc -l
rm $TMPDIR/*xml
git checkout file_open_fixes
pip install -e .
py.test -q --disable-warnings
ls $TMPDIR/*xml | wc -l

Out:
(master)$ bash test_file_open_fixes.sh
Already on 'master'
Your branch is up to date with 'upstream/master'.
............................................................................................................................................... [ 93%]
..........                                                                                [100%]
153 passed, 172 warnings in 64.49 seconds
     182
Switched to branch 'file_open_fixes'
Obtaining file:///Users/mwt/software/foyer
Installing collected packages: foyer
  Found existing installation: foyer 0.6.2
    Uninstalling foyer-0.6.2:
      Successfully uninstalled foyer-0.6.2
  Running setup.py develop for foyer
Successfully installed foyer
............................................................................................................................................... [ 93%]
..........                                                                                [100%]
153 passed, 172 warnings in 50.33 seconds
ls: /var/folders/2w/dfnzsrm57_730c_n_h0f3psc0000gn/T//*xml: No such file or directory
       0


Add more filename support for gulp and grunt.

Should be merged after #866

I'll count the days until we got glob support...

Wishful thinking...


Bundle workflow release

In this case not much to say, but in general let's always try to have at least one-sentence commit message.

/lgtm
/approve