tailwind intellisense inside the tailwind tempalte

Is there an existing issue for this?

[X] I have searched the existing issues

Do you want this issue prioritized?

[ ] Yes, I have sponsored
[X] Not urgent

Current Behavior
when using the tailwind example from the starters (both old and new), there's no intellisens for tailwind inside the packages/app components.
that's because the tailwind intellisense plugin (either VScode or WebStorm) needs a tailwind.config.js file at the root of the "workspace".
Expected Behavior
full tailwind intellisense inside the packages/app folder, due to being the main directory we code at.
a quick fix for that is to put a "dummy" tailwind config file either at the root of the project or at the root of packages/app.
don't mind opening a PR if it's worth "fixing".
Steps To Reproduce
No response
Versions
- Solito:
- Next.js:
- Expo:
- React Native:

Screenshots
No response
Reproduction
No response

Yes, I've seen this issue as well. Like you said, adding the root workspace tailwind.config.js file will fix it, though I'd love to see if anyone has any other thoughts on the topic.
// tailwind.config.js
// Dummy file to enable Tailwind CSS Intellisense
module.exports = require("./packages/app/tailwind.config.js") // Relative path to real config file

I originally found this solution here: https://github.com/tailwindlabs/tailwindcss-intellisense/issues/345#issuecomment-896412228.

Interesting, I don't use tailwind so I can't offer much help here. I thought you could customize this somewhere but I'm not sure

All we need to do is add the dummy file, you mind if I open a PR about it?

Go for it!


[DO-NOT-MERGE] Testing fix for pyspark test test_memory_limit

Please ignore the content; will raise another PR once the patch fixes the test.

Test build #116441 has started for PR 27159 at commit b77f9d8.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/21229/
Test PASSed.

Test build #116441 has finished for PR 27159 at commit b77f9d8.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/116441/
Test PASSed.

retest this, please

Test build #116450 has started for PR 27159 at commit b77f9d8.

retest this, please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/21238/
Test PASSed.

Test build #116451 has started for PR 27159 at commit b77f9d8.

Test build #116451 has finished for PR 27159 at commit b77f9d8.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/116451/
Test FAILed.

Test build #116450 has finished for PR 27159 at commit b77f9d8.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

3 tests ran so far, 1 failed from other flaky test, 2 passed. Looks like working so far. Closing.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/116450/
Test PASSed.


Make smaller again.

You can either get the images to show up on the live page or on the preview page, but not both.  Whee!


d3-polyfill?

Seems like that could just be an import with side-effects if desired, rather than building it into d3-bundler. For example:
import "d3-polyfill-map";

Though, not sure how you’d support multiple optional polyfills without making separate repos?

Another option is that our code could import Map from a module that we write, which could either expose the available native implementation or provide a polyfill. And then we wouldn’t pollute the global namespace with our polyfill, though clients could use it if they desire.

Removed in 48d4e88b9fea7f7f4d0b8db7b0b0ed577a0499c2.


[WIP] AS: Add TDX Verifier

resolve: #30
Verify the evidence generated by https://github.com/confidential-containers/attestation-agent/pull/110

The use of ring might cause some problems with IBM s390x arch. I suggest to replace it with RustCrypto in this pr or another. If another, I'd like to help.


added nonce capability

Please check if the PR fulfills these requirements

[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Other... Please describe:

What is the current behavior? (You can also link to an open issue here)
#455
Currently, webpack does provide a way to add nonces to scripts. Given that the future of CSP could be a more nonce-based approach, having support for nonces is increasingly important.
https://research.google.com/pubs/pub45542.html
What is the new behavior?
When user specifies webpack_nonce, a nonce is added to all loaded scripts. Because nonces are generally different on each page load, the nonce is specified in the entry file, not in the config file, similarly to a public path not known ahead of time.
Does this PR introduce a breaking change?

[ ] Yes
[x] No

If this PR contains a breaking change, please describe the following...

Impact:
Migration path for existing applications:
Github Issue(s) this is regarding:

Other information:

Could you explain why you need this nonce attribute on the script tag? From what I know it's only required for inline script tags...
cc @samertm

Recent research out of Google suggests that using nonces for external scripts as well as inline scripts is a better way to write CSPs, since it avoids problems with transitive trust given to certain external sources. https://research.google.com/pubs/pub45542.html

+1, we're planning on using this patch at Dropbox

Pling
Please at least sign the CLA so another person can pick up your commit and continue it.

I've made the necessary changes, but unfortunately there's another merge conflict in the stats test cases. I'm on a different computer now than I was, but all that I need to do is run those test cases and figure out what the new outputs should be – I'm just not sure what I need to install to do this. Can someone point me in the right direction? I installed Yarn, but it doesn't seem to be working (various packages missing) and before I go down that rabbit hole, I was wondering whether there was an easier way to just run the single Stats.test.js file.
I'd really like to get this done soon, and since I'm on Thanksgiving break from school I should actually be able to finish it all quickly once I get these tests running.

npm install
npm link
npm link webpack
npm test
node test/statsCases/accept-stats.js

instead of npm test you could also run mocha -g "Stats" after npm install mocha -g.
Make sure to run npm run beautify-lint and npm run lint. This will point you to wrong spacing etc.

PR looks great. I'll merge it once you signed the CLA. Make sure your commits include the correct email.

Email issue should be fixed now!

Great thanks for the PR

@lunasofia Thanks for this addition. I can't get it to work since there is no documentation found anywhere about this. Any hints? Should I just add __webpack_nonce__ = 'value'; in my HTML head?

@ruudk you should set it in your index.js file, I believe

Hello @lunasofia. Is there any documentation about this feature and how to implement it?
I assume I need to set the webpack_nonce = "myToken" somewhere in a config file but I don't know where.  You specified an index.js, can you, please, tell me where it is?
My application uses :
Angular-cli : 1.0.3
ngtools/webpack : 1.3.1
webpack : 2.2.0

@lunasofia @sokra, I'm trying to wrap my head around this and I feel like I'm missing something very obvious. I've added the magic string in my app's entry point, e.g. __webpack_nonce__ = "somenoncy";, https://twitter.com/probablyup/status/909475500514529280, but I don't see webpack adding it to inline script that it injects, e.g.
<script>!function(e){function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var r=window.webpackJsonp;...

Is there something in my webpack config that I need to add as well to "nonce"ify my inline scripts injected by webpack?

Hi! I'm so sorry I haven't been responding to questions here. I worked on this for an internship, and did not have the time to keep up to date on the project after my internship ended. It's likely that @samertm will be able to answer your questions.


Fix xcursor scaling

Describe your PR, what does it fix/add?
#5009 introduces libhyprcursor support. However, it breaks xcursor scaling since related wlr_xcursor_manager_load function calls are deleted. For users using xcursor as fallback to hyprcursor, these codes are necessary to make cursor size scale properly.
This pr fixes xcursor scaling by adding wlr_xcursor_manager_load(m_pWLRXCursorMgr, m->scale); back.
Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)
No
Is it ready for merging, or does it need work?
Ready.

It seems that the problem is already fixed in 09e1128da29741ecdf193b3091afa54b061a915f. I will close this pull request. Sorry for the inconvenience.


chore(master): release git-jira-branch 1.0.4

:robot: I have created a release beep boop
1.0.4 (2024-03-20)
Bug Fixes

correct the description for the jira-key arg of the open command (#231) (d46ecda)
deps: bump the production-dependencies group with 4 updates (#233) (5041ce6)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ccntrq/git-jira-branch/releases/tag/git-jira-branch-v1.0.4 :sunflower:


Setup google maps link to each address in list view

Setups a google maps link in list view:

Resolves https://github.com/findthemasks/findthemasks/issues/126

Adding the markers next (sorry I like small PRs)


error when extract optical flow

Hi!
When I try this:
bash scripts/extract_optical_flow.sh SRC_FOLDER OUT_FOLDER NUM_WORKER
It only output one line
Extracting optical flow from videos in folder: /data1/sxm/Thumos14/thumos2014/frame/videos/videos
Then nothing happened and I haven't got any images or optical flows in my OUT_FOLDER...
I wonder why..Is there anybody face the same problem???

I am experiencing the same problem. I'm already using python2 in a virtual environment, any idea how to fix?

chek the output folder is correct, the error would be fixed

chek the output folder is correct, the error would be fixed
@badstones I think my output folder is correct，but I also want to know the path how to set

I also encountered this problem, but this problem is randomly appearing during the extraction process. What's the problem?

我也找到原因了..好像是因为我提取的frame和flow的文件名不正确....

请问文件名如何设置？能不能举个例子

@badstones  @SongKAY What's the correct output folder name?

请教下，有人遇到过local/errors.log: data or file not found 这个问题吗？
anybody got the problem "local/errors.log: data or file not found" ?

Not sure what is the problem. Have succeeded in building DenseFlow?

@a258sa258s 你的问题解决了么？

我也找到原因了..好像是因为我提取的frame和flow的文件名不正确....

@SongKAY  How could you solve that prblem？

Here is another fixing. The channels of my videos‘ collection are various, like tiktok, youtube, or phone shooting. And part of the videos got the problem while the others goes well.
I found that there are tiny varainces in the videos' format, such as 'frame/second', 'encoder' and 'tbr' (show them using cmd "ffmpeg -i 'XXX.mp4' "). Problem fixed after I convert them to a more standard format using cmd "ffmpeg -y -i XXX.mp4 -r 30 -strict -2" (-r 30 set f/s=30; -strict -2 keeps the original audio encoder).

我遇到了同样的问题，最后发现是磁盘空间满了


crash when dropping a big file

dropping a big file (4GB) on the quick upload feature results in a crash

Clarifying tasks added by @lidel:

[x] dont crash when dropping >128MB in Chrome
[ ] don't break silently in Firefox when Buffer max size is breached

Streaming versions of ipfs.add need upstream fixes too.

https://github.com/ipfs/js-ipfs-api/issues/339
https://github.com/tableflip/ipfs-postmsg-proxy/issues/25
https://github.com/tableflip/ipfs-postmsg-proxy/issues/26
https://github.com/tableflip/ipfs-postmsg-proxy/issues/27

I partially addressed this in #483.
Streaming only helps if embedded js-ipfs node is used.
When external node is used js-ipfs-api seems to buffer entire thing in memory which causes the crash (even when streaming API is used). For that case we just refuse uploads over limit until the issue is fixed upstream (https://github.com/ipfs/js-ipfs-api/issues/654).
I was unable to address Firefox error under 2GB as I am working on low-memory laptop, will look at it next week.

cc https://github.com/ipfs-shipyard/ipfs-webui/issues/762#issuecomment-416475393


Feature: Remote Cache DNS Cache Duration

Proposal
Hello!
Problem
We ran into a DNS mishap where we changed one of our DNS entries to the wrong host. Our metrics eventually started failing and we had alert detection in place for that.
The problem is that Prometheus cached the DNS entry for 30 minutes; Prometheus succeeded to remote write to the previous DNS IPs for the cache duration and the missing metrics detection was extremely delayed.
Feature
It's not clear to me if the long Prometheus DNS cache is intentional or not, so this could be a bug. Our Kubernetes cluster's coreDNS DNS TTL is 30 seconds. Does Prometheus resolve the remote write host and cache the IPs for an extended period of time?
My feature request is to add a configuration to https://prometheus.io/docs/prometheus/latest/configuration/configuration/#remote_write that allows a user to define the DNS cache. The new configuration could also add other DNS-specific configurations.

Hello,
We are also facing a similar issue. We are building a blue-green server migration automation. When the DNS has been mapped to the new instance, it resolves to the old instance when pinged from the EC2 Prometheus is running on. Due to this, we get downtime alerts, as the the prometheus instance resolves the DNS to the new endpoints, only after the old instance has been stopped. Is there a way we can flush the DNS cache?

Hello,
We seem to be encountering a similar issue. In our case, we're using a latency-based Route53 record for our remote-write receiver endpoint, with Prometheus running in Agent mode to push metrics to this endpoint.
During testing, we scaled down the regional endpoint, expecting Prometheus to switch over to another record under the latency-based configuration. However, instead of switching, we observed that the Prometheus agent continues to attempt connections using the previously cached IPs, even though a DNS resolution on the Prometheus agent shows it should be using the new set of IPs.

Hello from the Bug Scrub Meeting!
We glanced over the code quickly and as far we see we use a standard http DNS client, we don't cache anything. There was a recent change where added round robin feature which you may try, but it does not add/touch caching.
It's likely that it's a TCP keep alive for HTTP Remote Write connections. Since the previous connection still works, DNS change will not trigger a connection reset.
To sum up, it seems the DNS handling works as intended. Do you propose some advanced feature to handle DNS changes that would impact connection etc?
In any case a reproduction unit test would be amazing for this!


Move class definitions from request package object to companion objects

This is a major reorganization of the request package motivated by the reasons I mention in #289.
Moving implicit classes in particular to companion objects makes prioritization a little simpler (no more LowPriorityX stuff in request) and may speed up compilation a bit.
If this looks good to everyone we can give the same treatment to response and route.

:+1:
Looks great! Thanks!

Cool, I'll aim to wrap up response and route over lunch.


BUG on start

i can't start the windows version on windows 10!
also i can't start the all platform version either

i have java
on the windows version

on the all platform one:

Oh, I see what's happening for the native installer. We need to build a 32 bit version for the native installer.
I need to update the download page with that information as well.
As a side note, you might wanna upgrade you computer. Most people use 64bit nowadays: http://www.howtogeek.com/228042/how-to-switch-from-32-bit-windows-10-to-64-bit-windows-10/
For the Java installer: Which file are you starting when you see the error? Which version of Java do you have installed?

for the java i will check...and i think i need to change my computer to be in 64bits :(
sorry for late answer, i forgot this


Verification debug + Hasura config update

We have updated tests related to contract verification and also updated the hasura metadata configuration to address pre-existing bug.  In the first instance we have decided to expose all tables and relations to ship something ASAP.  We have updated hasura metadata to v3.  The metadata will now read reefexplorer connection string from env var HASURA_GRAPHQL_DATABASE_URL, this should be added to deployment configuration (it should be identical to HASURA_GRAPHQL_METADATA_DATABASE_URL).

Hasura starts with this config.
Have to check when FE work completes if any table links are still needed (now deployed are all tables linked for FE dev)


Cannot execute flutter commands if the flutter sdk directory folder name starts with !

Steps to Reproduce
Set the Environment variable for flutter sdk path from a directory name starting with "!" and run the command "flutter doctor"

@raditha thanks for reporting! Would you mind including the output you get in this scenario? It would be useful to know what OS you're running on as well.

The following seemed to work fine for me on Linux:
mkdir bug14951; cd bug14951
curl https://storage.googleapis.com/flutter_infra/releases/beta/linux/flutter_linux_v0.4.4-beta.tar.xz | tar xJ
mv 'flutter' '!flutter'
cd '!flutter'
bin/flutter doctor

Please let us know if this still occurs for you. For now I will close this issue since we don't have enough information to act on. If you do still see this please file a new bug with as much information as you can provide. Thanks!


[TypeScript] Fix the InputBaseComponentProps type

[x] I have followed (at least) the PR section of the contributing guide.

related to #14068

The error is related to code formatting. I'm currently out. If anyone can kindly run yarn prettier for this PR I would really appreciate it!


touchable: Do not block UI while executing press.

Fix for #2837.

In fact, I browsed around a bit, and here's a specific case where I think the experience will be made worse by delaying like this.
Touchable is used in ComponentWithOverlay -- itself a super generic utility component.
That in turn is used in AvatarItem.
And the onPress supplied by AvatarItem looks like this:
  handlePress = () => {
    const { email, onPress } = this.props;
    Animated.timing(this.animatedValue, {
      toValue: 0,
      duration: 300,
      useNativeDriver: true,
      easing: Easing.elastic(),
    }).start(() => onPress(email));
  };

So when we do call that, it should return very quickly; there's no cost to calling it immediately. And on the other hand, calling that is how we set up a UI animation that's going to run for 300ms, and which will be handled by the native animation driver, outside JS. So if we delay calling it... that animation is delayed in starting. Which is going to look janky, and which we didn't need to do. :-/


Brings automated mocha tests in alignment with qunit tests.

@wibblymat thoughts on this?
This adds some tests for options and removes the older qunit tests.
I noticed a few issues with the travis build when mocha fails so I've fixed that and I also spotted an issue with the sw-toolbox map not being generated in the right place so thats fixed now.

@gauntface This was filed a few weeks back. Are you still interested in this being brought in in it's current form (once reviewed)?

I'll take a look at fixing up this PR and all tests in Firefox on Monday

@addyosmani @wibblymat Thoughts on this PR?

@googlebot I'm a Googler. This is fine.


Just doing this to pass time before “the wave”

waving my nuts ain't ya


chore: add proseWrap prettier config to wrap markdown

I no longer want to try to achieve consistent line lengths in markdown
so I'd prefer prettier to do that for me.

Personally, I think it's very much better to not wrap lines in .md files, and let the editor do that instead.
With this change you have to save the file and run prettier, instead of just having the text flow naturally as you type it in your editor. You are also now forced to 80 chars width instead of the size of your window.
Lastly, I think that the diffs often become much harder to read, when inserting a few words in the beginning of the paragraph changes every line under it. When the paragraph is on one line in the source, GitHub (and others) shows a nice diff that highlights the added words in green, that won't work when multiple lines are changed around...

I think the crucial thing is that this way we enforce a consistent style with the commit hooks or if people don't have them set up properly at least the CI will fail. Otherwise we end up with an inconsistent mess like right now where some paragraphs in the same file apparently have been written with a soft-wrapping editor and others with a hard-wrapping editor…
So in this case I'm with @broofa 😛

Would have preferred to set prettier to put everything on one line then, that way any developer can soft-wrap to whatever width they want... Anyhow, not a big deal...


UI changes on Send screen.

-Please create as per the design.
-Reduce the QR scanner size and also decrease the space between QR scannerand Send to contact.

Lets reduce the scanner and image size so that controls below the scanner are visible.

Screen shot from previous version of the screen showing a more compact layout with less space between components and a smaller QR scanner.

-Verified this issue on staging app version 1.3.1(164)


Custom Environment

custom wrapper around the environment that tracks when invalid actions are masked and modifies the information sent to the agent accordingly

invalid multiple actions masking on each step of an episode in PPO algorithm using stable_baselines3, in the case of 40 discrete actions and should choose next best action by implementing prediction function
how i can do that

`#added rule that only applicable mutation are allowed
    invalid_actions = self.not_applicable_mutations()
    if action_index in invalid_actions:
        i=0
        print("action changed to: " ,action_index)
        probs=self.calculate_probibity()
        for prob in probs[0]:
            if i in invalid_actions:
                probs[0][i]=0.0
            i+=1

        action_index = np.argmax(probs)
        print("action changed to: " ,action_index)

`
is this legal way to change invalid action to valid in env step function?

invalid_actions = self.not_applicable_actions()
if action_index in invalid_actions:
    i=0
    print("action changed to: " ,action_index)
    probs=self.calculate_probibity()
    for prob in probs[0]:
        if i in invalid_actions:
            probs[0][i]=0.0
        i+=1

    action_index = np.argmax(probs)
    print("this next best action: " ,action_index)

invalid_actions = self.not_applicable_actions()
if action_index in invalid_actions:
    i=0
    print("action changed to: " ,action_index)
    probs=self.calculate_probibity()
    for prob in probs[0]:
        if i in invalid_actions:
            probs[0][i]=0.0
        i+=1

    action_index = np.argmax(probs)
    print("this next best action: " ,action_index)

this code is in step function to take next best valid action in case of agent choses invalid one

class MaskInvalidActions(gym.ActionWrapper):
    def __init__(self, env):
        super().__init__(env)
        self.invalid_actions

    def reset(self, **kwargs):

        return self.env.reset(**kwargs)

    def step(self, action):
        print("Action change")
        invalid_actions = self.env.not_actions()
        if action in invalid_actions:
            i=0
            print("action changed to: " ,action)
            probs=self.env.calculate_probibity()
            for prob in probs[0]:
                if i in invalid_actions:
                    probs[0][i]=0.0
                i+=1

            action = np.argmax(probs)
            print("action changed to: " ,action)

        obs, reward, done, info = self.env.step(action)

        # Update invalid actions
        self.invalid_actions = info.get('invalid_actions', self.invalid_actions)

        return obs, reward, done, info

is this a right way?


Provide each: in software templates

Feature Suggestion
Consider the example of creating virtual machines via a gitops process. If we consider backstage as it currently functions, we can articulate this sort of thing as:
spec:
  parameters:
    # ...
steps:
- name: fetch-repo
   action: fetch:plain
- name: fetch-template
   action: fetch:template
 - name: publish
   action: publish:github:pull-request

Now imagine we want to make more than one of these for some static N. We can obviously fill this out multiple times but there should be a better way!
Consider also the case of collecting user input in an array form and wanting to do things for each of them. In the VM request form, I may be hitting "add item" in an array input to add multiple things, or using a multiselect, or any number of possible inputs to add additional VMs I wish to create, and I want to act across these. This currently is not possible via backstage without making custom actions that call out to specific actions for each permutation of this.
It would be fantastic if each of these were solvable, and would allow all manners of automation possibilities using backstage templates.
Possible Implementation
If we just consider what we may like to do in some sort of repeating block, we could tell it to do something N times and if we had access to the index, we could coerce backstage to grab that element where it matters.
- name: Fetch Template
   action: fetch:template
   times: 10
   input:
     url: ./template
     targetPath: '...'
     values:
       version: ${{parameters.version}}
       index: ${{index}}
       object: ${{parameters.objects[$index]}}

We may also want to iterate over them, so something like:
- name: Fetch Template
   action: fetch:template
   each: ${{parameters.objects}}
   input:
     url: ./template
     targetPath: '...'
     values:
       version: ${{parameters.version}}
       index: ${{index}}
       object: ${{object}}

We can probably coerce nunjucks to generate 0..n from an n, so we could get by with just the second I think.
I don't think ${{object}} or ${{index}} are necessarily good ways to articulate those, but illustrate the idea.
Context
There are a large number of automations that boil down to "ask user for input and do it a bunch of times" and I think backstage is exceptionally positioned to be able to make these go away with largely the same primitives that make software templates so useful for n=1.

Think I'm a bigger fan of the each over times, although maybe there is a use for both to avoid duplication and repetition.
Thinking that it would also be good to indicate that index and object are different, and only to be used in the scope of actions with the each repeater, so something like ${{ $item }} or ${{ $index }} could be nicer.

Fine with the additional $. Maybe $item and $index because object carries different connotations?
I agree about times but there should be some way to express that idea somehow. If it can be articulated via nunjucks, that seems reasonable to remove the special casing.
An alternative name to each is across, as well. In the context of test matrices, this verbiage makes sense. I have no terribly strong feelings about the names here though =)

If it can be articulated via nunjucks, that seems reasonable to remove the special casing.

I think this is pretty hard to do if we want to keep the entire document still valid yaml, which we do. Having nunjucks blocks in the middle of the yaml to repeat steps is I think pretty impossible, but I like what you're thinking. It's why I was trying to keep some of the nunjucks semantics around

I think the above implementation of each makes sense for repeating one single step multiple times. How would it work when you want to repeat a set of steps? Let's say you want to execute 2 steps and the output of the first one feeds the input of the second one.
It might be worth considering setting the $stepId in the template step so we can use outputs as directed here.

I think this all - at least the multiple-steps idea - starts to sound way too complex. Should it really be in scope for the scaffolder? Sounds more like it's better to write custom actions at this point, and having the framework export implementation pieces such that the loops will be trivial to implement for the adopter. What if the implementation of the fetch:template action was basically () => fetchTemplateImplementation(), such that anybody could make their own loop calling fetchTemplateImplementation any way they see fit?

That implementation also makes sense to me, even more when you need to just tweak actions based on specific requirements.
The multiple-steps can also implemented if outputs for repeated actions work and can be accessed as arrays too. As an example, let's say you want to create code for multiple regions but before creating some code you need to get attributes for each region. I'd expect to have something like this:
...

- id: get-config-${{each.key}}
  name: Retrieve ${{each.name}} config
  action: custom:getRegionConfig # custom code to get the region config
  each: ${{parameters.regions}} # array or object
  input:
    region: ${{each.name}}

- name: Fetch template for ${{each.name}}
  action: fetch:template
  each: ${{parameters.versions}} # array or object
  input:
    url: ./template
    targetPath: versions/${{each.key}}
    values:
      config1: ${{ steps.['get-config-${{each.key}}'].output.config1 }} # notation needs to be reviewed

...

We're thinking that this has a very big risk of adding more complexity to the scaffolder than what it's worth, and would like to explore some other options for how we could achieve similar things with other methods.
One option to explore could be to add a way to invoke actions from within another action, perhaps something like this?
const multiLogAction = createTemplateAction<{ message: string; count: number }>({
  id: 'debug:log-multi',
  description: 'Logs multiple times',
  schema: {
    input: {
      type: 'object',
      required: ['message', 'count'],
      properties: {
        message: {
          type: 'string'
        },
        count: {
          type: 'number',
        }
      }
    }
  },
  async handler(ctx) {
    for (let i = 0; i < ctx.input.count; i++) {
      await ctx.invokeAction('debug:log', {
        message: ctx.input.message,
      })
    }
  }
})

A downside here is that we're not able to access the TypeScript types of the actions we're invoking. We could work around that by being able to pass in a reference to the action as well, it's just a bit tricky to get at the reference at times.

I think fundamentally, if I can do an action once, it shouldn't require me making a custom action to do it more than once. That burden seems too high to impose on users, IMO. A custom action makes composing them much harder and requires you to surface details like params, inputs, outputs in multiple places which feels burdensome on users. It will also result in excessive wrapping of built ins, which just feels wrong, to me.

This is still an issue. Please reopen.

Could we keep this issue open? I am now facing similar issues and would like to know what alternatives we have... is creating a custom action the only alternative?

I've been experimenting with this on this on the side, in a non public repo currently. Here's my findings so far:
It's a little awkward, and doesn't allow infinite recursion, but the actions are given in a list in the scaffolder, with a pointer to the action handler, so that list can be used as a param to a new custom action, which can generically take in the list of the steps, and verify their inputs using the same mechanism that the normal scaffolder uses for input validation. Because there's no UI support, names and ids don't really matter for display purposes, but names are necessary if your steps are returning output.
Not having UI support is really annoying here, as that would help tremendously when visualizing what's happening. I may eventually get around to doing something with that, but it's the last thing I'll do if I get this working fully. But conceptually, it seems to be working okay ish in my experiments so far. I am still figuring out the best way to propagate the context through (beyond a simple Array.prototype.reduce, though I may be able to get away with that if I'm clever in how I do it). I am also unsure the best way to introduce the index/value through the various steps, so I'm doing a simple recursive descent with a String replace for now. Eventually that will have to grow up a bit, to deal with "across" for maps, but it works fine for the basic testing I'm doing. My error handling is a bit wonky, as some of the async promise chaining stuff gets annoying in JS land, but I'll eventually get that working.
I also introduced an "offset" for the index, which has been useful in practice. And you can consider "times" as a special case of "across", so this may eventually simplify the API of the action.
My feeling is this should really get first class support, as it doesn't seem like it will be that bad in the total code and will be super useful once working. It's really just propagating the contexts, inputs, outputs through properly in a way that is sane, and reducing over the steps, with a chained context.

I'm also facing the same problem, would love to see a solution.

OK - so I think that we should head down implementation at this point.  Thinking that @Rugvip's suggestion is probably the cleanest: https://github.com/backstage/backstage/issues/8890#issuecomment-1012377281
I'd also like to suggest that we still include the ability to call other actions from actions part of this. Something like ctx.invokeAction({...}) or something.

If no one picks this up, then feeling that maybe could work on this after #10430

@benjdlambert This is the feature missing from the template system right now. Do you have an idea when you will be able to work on this feature ? Just to have an idea if I should start working on this on my side or not :D

Not had time to look at this yet, so if you want to go ahead and try and implement something like this then go ahead 👍
Feeling still that this is the way we want to go: https://github.com/backstage/backstage/issues/8890#issuecomment-1184180513

Is there any update on this topic? Would love to have this functionality

@JetteBke it's still open for contributions, no movement yet unfortunately.

I will give the implementation a try 🤞


Memory layout page currently results in a 404

I'd fix it myself, but I did a bit of digging and not exactly sure why it's not linking properly.  I'm assuming someone else will be able to find it much more quickly :)
https://rust-embedded.github.io/embedonomicon/memory-layout.html, which is what shows up in hyperlinks in the Embedonomicon, ends up taking you to http://embedonomicon.rust-embedded.org/memory-layout.html.
Thanks for this resource - learned a lot from it.

https://rust-embedded.github.io/embedonomicon/memory-layout.html

This link is working for me at the moment but, indeed, our DNS stuff is a bit funky atm. For the time being I would suggest using https://rust-embedded.github.io/bookshelf/ since it's unaffected by the DNS. Eventually we'll have that page as our docs landing page under doc.rust-embedded.org or some other domain.


Module not found for updated scenario

Hi I am trying to update the scenario but when I execute "armory run" with my edited file, I get the following error.
Let me know what I am missing?

I run the armory interactive which show all file exists.

Do you get the same error when running the command as python -m armory run cifar10_baseline_edited.json?

Yes, same error.

I solved this by editing file in docker container folder /opt/conda/lib/python3.7/site-packages/armory/scenarios


zarrdump fails with IndexError

(fv3net) OliWM@oliwm-vm:~/repos/nudge-to-obs-manuscript-workflow/fv3net$ zarrdump gs://vcm-ml-intermediate/2020-01-06-C384-grid-spec-with-area-dx-dy.zarr
Traceback (most recent call last):
  File "/home/OliWM/miniconda3/envs/fv3net/bin/zarrdump", line 8, in <module>
    sys.exit(dump())
  File "/home/OliWM/miniconda3/envs/fv3net/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/home/OliWM/miniconda3/envs/fv3net/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/home/OliWM/miniconda3/envs/fv3net/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/OliWM/miniconda3/envs/fv3net/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/home/OliWM/miniconda3/envs/fv3net/lib/python3.7/site-packages/zarrdump/core.py", line 20, in dump
    if _zarr_object_is_xarray_dataset(zarr_obj):
  File "/home/OliWM/miniconda3/envs/fv3net/lib/python3.7/site-packages/zarrdump/core.py", line 56, in _zarr_object_is_xarray_dataset
    array = obj[array_keys[0]]
IndexError: list index out of range

This happened because the consolidated metadata was out of date.


Increase netty version to address security vulnerabilities

Hi team,
Would it be possible to upgrade the netty version to 4.1.70.Final to address the following security vulnerabilities:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21409
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-37136
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-37137
Please let me know if there is anything else that is needed to make the change.
Cheers,
Scott

@sstrang Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@sstrang Thank you for signing the Contributor License Agreement!

Care to squash your changes into a single commit?

Care to squash your changes into a single commit?

Done! Sorry about that; I'm used to squashing on merge.

Thank you for your contribution. That's merged and backported now.

I'm used to squashing on merge.

We try to start with a clean state to reduce the amount of merge effort.


Add support for Signal app

Service

Add Signal message application support
Link to your repository

android app store
Additional Information

Signal is ad free, crypted and FB free

Signal support would be cool. How can this be implemented, given the Signal app is an Electron app, too? https://github.com/signalapp/Signal-Desktop
(I'm no node expert, so 🤷♂)

Duplicate of #241.


hasMany relation field js not worked

Describe the bug
hasMany relation field js not worked
2- 3- item
file upload not worked
inputmask not worked
date_picker not worked

choosen js not worked from hasMany relation fiield

Could you please specify errors, and give some code examples you have used?

now fixed in will release soon.


Settings Reader

@tejalprabhu01, the bug reported in #1955 has been addressed in this PR. A test case added gives some insights on how it can be parsed. Please let me know if it suits your use case. This is only used for old case files though.
cc @mkundu1


rio ps and rio revision shows different scale numbers

rio version v0.3.1 (e4253f2e)
steps to reproduce:

rio run -p 8080/http --name demo monachus/rancher-demo:yellow
siege -b -c200 https://demo-default.$DOMAIN.on-rio.io:9443/load

@harutyundermenjyan Can you test with latest rc v0.4.0-rc3? I don't see the problem right now.

Yes, it behaves correctly now.
Thank you for fix and contacting me by considering my opinion before closing it.


Dataset.repr causing dask to be computed.

Printing a Dataset object will show array values (#206), but it will also cause a dask-backed array to be computed so that the data variable values can be computed:
<xarray.Dataset>
Dimensions:  (time: 182, x: 420, y: 489)
Coordinates:
  * time     (time) datetime64[ns] 1990-03-02T23:11:16 1990-03-02T23:11:39 ...
  * y        (y) float64 -3.919e+06 -3.919e+06 -3.919e+06 -3.919e+06 ...
  * x        (x) float64 1.538e+06 1.538e+06 1.538e+06 1.538e+06 1.538e+06 ...

When a DataArray is printed, it doesn't compute values when using dask:
<xarray.DataArray u'ls5_nbar_albers' (time: 182, y: 489, x: 420)>
dask.array<concate..., shape=(182, 489, 420), dtype=float64, chunksize=(1, 489, 420)>
Coordinates:
  * time      (time) datetime64[ns] 1990-03-02T23:11:16 1990-03-02T23:11:39 ...
  * y         (y) float64 -3.919e+06 -3.919e+06 -3.919e+06 -3.919e+06 ...
  * x         (x) float64 1.538e+06 1.538e+06 1.538e+06 1.538e+06 1.538e+06 ...

There is a check to make sure the data is not remote, but not based on dask status, see: https://github.com/pydata/xarray/blob/master/xarray/core/formatting.py#L173
Is there a way to indicate that computing a particular dask is an expensive operation and it should not be calculated?

Showing a preview of values in a dask dataset can be very convenient for interactive use, so I'm loathe to turn it off entirely. I agree that it's not always useful, though.
The current check for remote data is a complete hack that should probably be removed :).
What do you think about adding an user configurable option to disable printing lazily computed values in datasets? You could then write something like xarray.set_options(preview_lazy_data=False):
http://xarray.pydata.org/en/stable/generated/xarray.set_options.html

That sounds like a great solution. I'll get a PR up with the preview_lazy_data option preventing formatting when var._in_memory is false.


Bug: Toast - TypeError: Cannot read properties of undefined (reading 'content')

Build: content="b7475012e9b161bf205e89a9d2c4439adbd56d9e"
Localhost displays a console error related to toast reading content.
The console errors are as follows in all 3 browser types(Chromium, Firefox, Safari):
Uncaught TypeError: Cannot read properties of undefined (reading 'content')
    at toToastItem (react-toastify.esm.mjs:168:1)
    at deleteToast (react-toastify.esm.mjs:457:1)

STR

Update to the most recent version of develop
Build/rebuild Docker containers
Go to http://localhost:3000/# in a browser
Open dev tools - console
Click the "Create a Fractal" button
Observe console error related to toast

Error no longer a problem


checkpoint module's call

Proposed changes
Change nn.utils to checkpoint the module's __call__ directly instead of an arbitrary function.
Let's us do stuff like:
self.layers = [nn.utils.checkpoint(l) for l in self.layers]

Added checkpointing to the docs
Added a few tests to make sure the checkpoint module has the right attributes etc.

Moving back to draft until we figure out what to do here. Making a new class at each call to checkpoint is way too slow.

The latest version works pretty well, it makes a new checkpointed class for every unique incoming class. It is not that elegant so I am ok not merging it and/or refining parts that are sticky. But just to show that this way can be done if we want to keep pushing.
Benchmarks:
This PR
Training a transformer with 153.883 M parameters
Iter 10: Train loss 8.825, It/sec 4.382, Peak memory 4.240 GB
Iter 20: Train loss 8.139, It/sec 4.607, Peak memory 4.240 GB
Iter 30: Train loss 7.839, It/sec 4.611, Peak memory 4.240 GB
Iter 40: Train loss 7.672, It/sec 4.610, Peak memory 4.240 GB

Old version
Training a transformer with 153.883 M parameters
Iter 10: Train loss 8.829, It/sec 4.383, Peak memory 4.240 GB
Iter 20: Train loss 8.265, It/sec 4.605, Peak memory 4.240 GB
Iter 30: Train loss 8.033, It/sec 4.610, Peak memory 4.240 GB

I'm kind of ok with this version (modulo comments).. we could mark the API as somewhat experimental, so we can iterate without worrying about back-comaptibility. I find it more usable than what we had before.
For completeness, other directions to consider:

Decorating call instead and toggling with some kind of flag (as discussed with @angeloskath).
Keep the original version and just use a different method name and/or arguments to module

I'm closing this PR for now and working on a variation of functions in nn.utils instead.. the solution here is a bit too hacky / too much magic IMO


Finished / to read status not imported from goodreads csv

As the title says after importing my books from goodreads all books have a status of "unassigned".
It would be great if books that are in the "read" shelf and/or have a "date read" set are automatically assigned a status of finished, and books that are in the "to-read" shelf get a status of "to read" in booktracker.
Also an indicator that an import is running would be nice, or even better a progress bar during import. It was not clear to me if the import was actually running or not after selecting a goodreads csv.

Thanks for the feedback! I think those are all great ideas, and I'll add them to my list to implement down the line


Run project opens window always at the center of the main screen

Tested versions
Reproducible in 4.2.2.stable
Not reproducible in 3.x
System information
Godot v4.2.2.stable.mono - Ubuntu 22.04.4 LTS 22.04 - X11 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1050 Ti (nvidia; 535.171.04) - Intel(R) Core(TM) i5-6600 CPU @ 3.30GHz (4 Threads)
Issue description
As title says, no matter what I try, I cannot change the initial window position when running a project from the editor.
I would like to run my projects fullscreen on my second monitor like I did in 3.x but I cannot even change the window position on my main screen.
-Center of other screen does nothing
-Initial screen set to 1 does nothing
-Absolute with any position does nothing
Steps to reproduce
-open any project
-change Initial Position Type to center of other screen or absolute with any value or set Initial Screen to 1
-run the project it will start in the center of the main screen
Minimal reproduction project (MRP)
any project

You need to use the editor setting, the project setting affects the exported project, use run/window_placement settings

Sorry, for being stupid

No worries, can be hard to find


How to train CarNeRF on custom dataset?

Thank you for your fantastic work!
I am trying to use mars with custom dataset, so pretrained car latent is unusable.
It seems using object_model_template=CarNeRFModelConfig(_target=CarNeRF) in configuration will ask for existed car latent, however what I can get now is just your provided ones (which is trained on kitti/vkitti).
So how can I train the CarNeRF on my custom dataset from scratch?

Hi! @tendo518
CarNeRF is actually another recent work of our lab (URL), please refer to their project page for more information.

Hi! @tendo518
CarNeRF is actually another recent work of our lab (URL), please refer to their project page for more information.

Thanks for your reply!
Since code of Car-stuido is not open-sourced yet, one method to train custom dataset is object_model_template=NerfactoModelConfig() to use bare nerf for car modeling?
Or I can use CarNeRF pretrained in kitti/vkitti, will this hurt accuracy of reconstruction results on custom scene?
Besides, sorry for duplicating, if you can point out where I can find duplicated content, it will help me a lot (apologize for my bad searching skill)

Hi!
As for searching the duplicated content, you can search it here for issues might help.
Using CarNeRF pretrained in Kitti/vkitti seems infeasible as different datasets will use different object id. If the latent code doesn't have the corresponding object id it will raise a KeyError.
Maybe you can generate a latent code randomly, then optimize and save it during the training.

Hi!
As for searching the duplicated content, you can search it here for issues might help.
Using CarNeRF pretrained in Kitti/vkitti seems infeasible as different datasets will use different object id. If the latent code doesn't have the corresponding object id it will raise a KeyError.
Maybe you can generate a latent code randomly, then optimize and save it during the training.

Thanks to your help, I will try to use random latent code generation

Hi!
As for searching the duplicated content, you can search it here for issues might help.
Using CarNeRF pretrained in Kitti/vkitti seems infeasible as different datasets will use different object id. If the latent code doesn't have the corresponding object id it will raise a KeyError.
Maybe you can generate a latent code randomly, then optimize and save it during the training.

Thanks to your help, I will try to use random latent code generation

Hi! Have you tried to use random latent code generation? Perhaps we can discuss this issue. @tendo518

Hey guys, as a kind reminder, the CarStudio paper is accepted by RAL and their code is available now at https://github.com/lty2226262/Car_studio


Build issues on macOS

Two issues with building on macOS (v13.6.6 with Apple Silicon M1 Pro, using Apple's clang 15.0.0)

Apple's sys/random.h does not declare "getrandom()" but instead declares "getentropy()" that
has only 2 parameters and returns an "int" with 0 indicating success and -1 indicating failure, so
I needed to change rand_bytes.h to have something like:

  const int got = getentropy(buf, len);
  if (got == -1) {
    // print error message, exit with error
    errx(-1, "getrandom() failed");
  }

Apple's clang does not support --sanitize=leak, so I had to remove that one...

I have tried this with gcc 13.1.0 with the same results. With that change to rand_bytes.h and Makefile, compilation is fine and all tests pass with both clang and gcc.

Hi @rod-chapman,
Thanks for the fix.  I changed rand_bytes() to use getentropy() and removed -fsanitize=leak from the Makefile.  These fixes will go out with the next release tag.


added test cases

Explanation
added test cases in the test_parse function

Related issue
closes #1053

Proposed Changes

Checklist

[x] I have read the contributing guidelines.
[x] I have read the PR documentation guide and followed the process including adding proof manifests to this PR.
[x] This is a bug fix and I have added unit tests that prove my fix is effective.

Further Comments

@swastik959 some fixes are needed...


Backup usages are still generated after VM deletion

ISSUE TYPE

Bug Report

COMPONENT NAME
Usage

CLOUDSTACK VERSION
<IP_ADDRESS>
<IP_ADDRESS>

CONFIGURATION
Backup framework enabled
OS / ENVIRONMENT
N/A
SUMMARY
When a VM is assigned to a backup offering, deleting the VM do not stop the generation of backup usages.
STEPS TO REPRODUCE
1. Deploy a VM
2. Assign the VM to a backup offering
3. Ensure at least one backup is created
4. Delete the VM

EXPECTED RESULTS
The usage records for backups (usage type 28) should stop when the VM is destroyed.

ACTUAL RESULTS
Backup usage records are generated indefinitely.

Fixed in https://github.com/apache/cloudstack/pull/5017
@olivierlemasle we concluded the fix is not necessary for this bug, which is expected - we should continue billing until all backups are removed. The issue fixed in the PR is (a) remove VM from backup offering when VM is expunged and no backups exist, (b) remove VM from backup offering when there is only 1 backup which is deleted.


Fix WaPo Regressions

Only add the title if it's present (non-empty Optional)
Add kicker to the contents field
Update regression numbers for slight changes

Fixes #654 and #658


fix dynamic qt in debug macos

fixes https://github.com/microsoft/vcpkg/issues/32497

[ ] Changes comply with the maintainer guide
[ ] SHA512s are updated for each updated download
[x] The "supports" clause reflects platforms that may be fixed by this new version
[ ] Any fixed CI baseline entries are removed from that file.
[x] Any patches that are no longer applied are deleted from the port's directory.
[ ] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[ ] Only one version is added to each modified port's versions file.

Please update port version.


I can't run the sample app as is, I keep getting this error

products.js - getProducts (line 17) error: {
  "sys": {
    "type": "Error",
    "id": "InvalidQuery"
  },
  "message": "The query you sent was invalid. Probably a filter or ordering specification is not applicable to the type of a field.",
  "details": {
    "errors": [
      {
        "name": "unknownContentType",
        "value": "DOESNOTEXIST"
      }
    ]
  },
  "requestId": "cec85c2a-3411-417e-b3a8-8a9c6811a33b"
}

Follow the instructions in the Readme about using your own content and it'll work

or change the following files:

Change line 7 and line 14 of the services/products.js file replacing product with 2PqfXUJwE8qSYKuM0U6w8M
Change line 7 and line 14 of the services/categories.js file replacing category with 6XwpTaSiiI2Ak2Ww0oi6qa

and it'll work with the original demo data.

@cachrisman I'm still getting this error in the latest version of the app. I'm using my own Space ID and production Access token. Any ideas?


Make Code Safer

The power of SAM is that you can execute ruby code, but this also lets you do malicious things.  Can we create a ruby sandbox that lets people execute code but not have access to the DB?

http://phrogz.net/programmingruby/taint.html


API: renaming const and import

As @ry mentioned:

"import" and "const" are keywords in JS, so I think "graph.import" and "graph.const" are undesirable choices.

Now a propose is that:

use constant instead of const by keeping consistence with Python
use load or other name not in keywords list should address this issue basically

Hi @ry this looks good to you?

Yes, those are good alternatives.


Bugg 1.16.5 Showing Light Overlays disables bobbing.

Version 1.18.12&13 stop bobbing happening when enabling light overlays.

This was done intentionally and should only happen when Optifine is installed. I have done this because of a compatibility issue with Optifine. I hope to find a better solution for this in the future.

Fixed


ci: Update ok-to-test.yml to run only on pull request comments

The expression was treated as a string and always evaluated as true.

@JarLob Thank you so much for this fix.


⚠ Bofrost.lu has degraded performance

In b4d494a, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1016 ms

Resolved: Bofrost.lu performance has improved in 1bb1143 after 13 minutes.


How to access remote Docker private registry

The script which you provide has to be executed in the host where docker registry is deployed.
Is there a way to access remote docker private registry on v2.
Api doesnt work for me

No, it has to be executed on a system that includes the filesystem where the images are stored.  I use NFS to mount the image filesystem on any host I need to run the script.  You could use the ssh command to run a command on a remote host:
ssh<EMAIL_ADDRESS>' /usr/local/bin/view-private-registry'
Hope that helps.

I understand thats the way of accessing it by mounting the file system over nfs.
What if i have some 50 nodes and i have to mount using autofs or nfs which consumes network bandwidth and again an administration of this..
I understand your script clearly, however do you have any idea on calling remote api instead of mounting directory over nfs on all the clients.

Here is a script that can access the view-private-registry script remotely from any of your 5000 nodes.  It includes the ssh command line in my earlier response.
I am running a Docker Swarm cluster with Docker 1.12r5.  I only start my containers on the cluster manager nodes which have the  mounted NFS registry V2 filesystem.

Hope that answered your question, Not hearing back from you I am closing the incident.  Feel free to reopen if you need to.


iOS 8.3 issue

works perfectly on my app for android, however for iOS just throws error "index.html  TypeError: undefined is not an object (evaluating 'window.imagePicker.getPictures')

Looks like the plugin hasn't been initialized properly, are you sure you added the plugin for iOS as well as for Android?

I have a single project for both platforms, added <gap:plugin name="com.synconset.imagepicker" version="1.0.4" /> to config.xml and built each native package. worked for android, didn't work for iOS.

resolved by recreating ios application template. thanks for response.

No problem, glad it's fixed!


Timestamp with negative fraction in binary notation should throw error

Example: https://github.com/amzn/ion-tests/blob/master/iontestdata/bad/timestamp/timestampNegativeFraction.10n
Spec also needs to be updated to clarify this https://amzn.github.io/ion-docs/binary.html

Here's the relevant code block.
Note that the internal-facing Precision::FRACTION enum is currently @Deprecated. This shouldn't impact this bugfix, but we will be building on a deprecated mechanism.

Relevant file in the spec repo.


fix: ui style

closes: #ISSUE_Number

Change logs

Describe your change clearly, including what problem is being solved or what document is being added or updated.

Contributor's checklist
Here are some reminders before you submit your pull request:

Make sure that your Pull Request has a clear title and commit message. You can take the Git commit template as a reference.
Sign the Contributor License Agreement as prompted for your first-time contribution (One-time setup).
Learn the code contribution and doc contribution guides for better collaboration.
Make sure that your changes deployment preview is successful.
List your communications in the GitHub Issues or Discussions (if has or needed).
Feel free to ask for the @cloudberrydb/doc team or other people to help review and approve.

Hi:
It looks better now, but could you help improve it further? It still scrolls horizontally and has a large blank area.

Could you amend your commit message title to be more detailed?

ok


add sipeed board support

add -B argument
add reset_to_isp func

also change process bar character by @mwilkinsonjr


core: Fix overriding the visibility of the main window

Summary
Fixes #558
See changlog
Checklist

[x] cargo fmt
[x] cargo clippy
[x] cargo test
[x] updated CHANGES.md

Hey @AaronErhardt, is there anything stopping this from being merged? There's some contributions I'm looking into making to Relm4, but I'm trying to avoid having a bunch of stacked PRs.

Sorry, I forgot about this PR, but it should be save to merge.


https://liferay.design/lexicon seems broken on Chrome / Chromium

Describe the bug
https://liferay.design/lexicon seems broken on Chrome / Chromium
Version 73.0.3683.75 (Developer Build) built on Debian 9.8, running on Debian 9.11 (64-bit)
There is no scrollbar visible and you can't scroll the page even with up and down arrows.
To Reproduce

Go to 'https://liferay.design/lexicon'
Click on 'https://liferay.design/lexicon'
No scrollbar
Can't scroll with arrows

The error console displays:
The resource  was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate as value and it is preloaded intentionally.
Expected behavior
The page is expected to show a scrollbar and be scrollable
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Version 73.0.3683.75 (Developer Build) built on Debian 9.8, running on Debian 9.11 (64-bit)
Smartphone (please complete the following information):

Device: [e.g. iPhone X]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Hey @chrberndt — thanks again for filing this issue!
I'm having some trouble reproducing it, maybe you can point me in the right direction — here's what I've tried so far:

how can I run an older version of chrome
older versions of chrome for various platforms — (they don't have version 73 for mac — it goes from v71 to 75 — I tried 71 but it seems to be working)

Do you know of any way to run different versions of chrome?
Alternatively, if you could troubleshoot further, perhaps by inspecting the page you could narrow down if there's a styling class causing this or maybe even a console error?

Hi @plhnk - as far as I can see the issue is not limited to old versions of chromium. Unfortunately I encounter the same behaviour (no scrollbar, no scrolling with arrows) with Chromium Version 80.0.3987.100 (Official Build) snap (64-bit) on Ubuntu 18.04.3 LTS as well.
Maybe a Chromium and or Linux issue? You might want to check https://liferay.design/lexicon/ with Chrome / Chromium 80 which is available for mac as well. See: https://www.chromium.org/getting-involved/download-chromium

thanks @chrberndt — I believe this may be isolated to Linux?
Behaves as expected:

(Chromium v82.0.4 on macOS 10.14.6)
Perhaps we can schedule a time to screenshare? I'm currently out of office, but will be available on Monday, March 16. Ping me in Slack and we can coordinate from there.

Hi guys,
Just to add more information, Jacob Cerda reported these tickets yesterday using Ubuntu 18.04.4:

https://issues.liferay.com/browse/LEXI-895
https://issues.liferay.com/browse/LEXI-896

I also run my own tests:
OS
Windows 10 Pro (v1903)
BROWSERS
Edge v81.0.416.64 (64 bits)

Chrome v81.0.4044.129 (64 bits)

thanks for linking @drakonux — I'll look into it...
In other news, what is going on w/the type in your screenshots??

Just Windows I think :), but let's talk in #726 if you want...

Hi, @plhnk I still don't see the scrollbars using Edge and Chrome. And using Firefox I only can see the scrollbar in the side panel of the Lexicon Site.
Firefox

Maybe you should reopen this ticket or do you need a new one?

Hi, @plhnk I still don't see the scrollbars using Edge and Chrome. And using Firefox I only can see the scrollbar in the side panel of the Lexicon Site.
Firefox

Maybe you should reopen this ticket or do you need a new one?

Hm — yes @drakonux can you make a new one? I tried reproducing a little, but couldn't. Since this isn't related to this older issue, better to start a new one.

Hm — yes @drakonux can you make a new one? I tried reproducing a little, but couldn't. Since this isn't related to this older issue, better to start a new one.


Phone Battery level does not work after Stream Deck software Update

After updating to latest software the Home assistant Plug-In does not report Battery Level of my Samsung Phone any more.

I have checked the sensor in HA and it is reporting the Phone Battery level in HA correctly.
Other features of the Plugin still seem to work OK.
Can you help or is this a bug?

Same here. Weather and Phone Battery level dont work anymore. Anything else works (for example Battery Health)

looks like it's related to #139 which i think has been an issue before

Closing this isssue (not fixed) as duplicate of https://github.com/cgiesche/streamdeck-homeassistant/issues/139 (Workaround inside!).


Perform inference in C++/Java

Description
Is there any code to do inference on a saved model within C++/Java ? I do see python examples in the README.md. Is it possible to perform similar inference for other languages too ?

Hi, thanks for interest in PECOS.
Currently we do not have plan for providing C++/Java interfaces.
For C++, it is possible to write your own code to load and inference, by taking a look at https://github.com/amzn/pecos/blob/mainline/pecos/core/libpecos.cpp#L28 and https://github.com/amzn/pecos/blob/mainline/pecos/core/libpecos.cpp#L70. But still, PECOS does not plan to provide C++ interfaces so we could not provide official examples.


Font Issue in Open/Save dialog

Hello,
I'm working on Linux Mint Cinnamon and Kubuntu. Both show the same issue. When I run Ardublockly from shell (ardublockly_run.sh) and click either "Open" or "Save" no letters are readable:

When I open Ardublockly in Chrome (http://localhost:8000/ardublockly/) it works as expected.

Same problem in ubuntu 18.04 LTS. Ardublockly cannot be used because the compiler location can not be set. Made a new issue in this forum to adress this bug.

@barnycloud , there is at least the workaround with the url in a browser. Besides that you can edit the config file and set the path to the Arduino compiler.

Same problem. Linux Mint 19.3.
Similar problem arised in another electron project:
https://github.com/LightTable/LightTable/issues/2343
and the solution was this libpangoft update:
https://github.com/ArchI3Chris/LightTable-Square-Fix

I've figured out how to do it, and it perfectly works for me.
Clone the 2 files from this github project: https://github.com/ArchI3Chris/LightTable-Square-Fix .
If you download it one by one or in a zip file, then it breaks the symlink, you have to recreate it.
If you have downloaded the executable Ardulbockly, copy the 2 files into the ardublockly/arduexec/ folder.
If you are using the source code version, copy them into the ardublockly/package/electron/node_modules/electron-prebuilt/dist/ folder.
Happy new year!

@Chacha75 many thanks for this explanation. I can confirm that this fixes my issues on Kubuntu and Mint


Don't work with MineClone

Some technical blocks in MCL have different node groups. also, some nodes (eg kelp) will cause error on generate.

I can't really reproduce this, I've tried creating a new skygrid world in both MCL2 and MCL5 and hasn't crashed. What specific nodes crash the game, or are there broken technical nodes that spawn?


Revert "Add -dapr-listen-address option to daprd (#3429)"

This reverts commit 87d76e4dbc4d910644c04a13cc479379cea7c98a.
Cherry picking from release branch.
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[ ] Code compiles correctly
[ ] Created/updated tests
[ ] Unit tests passing
[ ] End-to-end tests passing
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Specification has been updated / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Provided sample for the feature / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

Could share revert reason here?

Could share revert reason here?

Reason is in https://github.com/dapr/dapr/pull/3456. This PR is just the cherry-pick back into master from the release branch.

/ok-to-test

/ok-to-test

/ok-to-test

/ok-to-test

/ok-to-test

/ok-to-test

/ok-to-test


E5108 index out of range in util.mark bytecol_to_utfcol

Pressing <tab> when not in a snippet with expand_or_locally_jumpable() throws an error due to an out of range index in util/mark.lua. This only happens occasionally, and I haven't been able to find a hard and fast rule yet when it happens. Actually triggering and expanding a snippet fixes the issue at least temporarily.
E5108: Error executing lua: ...m/site/pack/packer/opt/luasnip/lua/luasnip/util/mark.lua:36: index out of range
stack traceback:
        [C]: in function 'str_utfindex'
        ...m/site/pack/packer/opt/luasnip/lua/luasnip/util/mark.lua:36: in function 'bytecol_to_utfcol'
        ...m/site/pack/packer/opt/luasnip/lua/luasnip/util/mark.lua:49: in function 'pos_begin_end'
        ...e/nvim/site/pack/packer/opt/luasnip/lua/luasnip/init.lua:143: in function 'in_snippet'
        ...e/nvim/site/pack/packer/opt/luasnip/lua/luasnip/init.lua:151: in function 'expand_or_locally_jumpable'
        .../aikow/.config/nvim/lua/aiko/plugins/configs/luasnip.lua:52: in function <.../aikow/.config/nvim/lua/aiko/plugins/configs/luasnip.lua:51>

My Configuration
I've made sure that nothing else was influencing this, by creating a clean init.lua, only requiring packer and luasnip, and adding the following keybinding.
vim.keymap.set(
  { "i" },
  "<Tab>",
  function()
    if require("luasnip").expand_or_locally_jumpable() then
      ls.expand_or_jump()
    else
      feedkeys("<tab>")
    end
  end,
  { silent = true }
)

Oh that sucks, I thought that code was rock-solid by now :/
I played around with it a bit, but also can't reproduce it.
It's possible that such errors are caused by leftover marks ("leftover" as in the snippets text is deleted, but its extmarks are still around), what is your regular config? Do you have delete_check_events (responsible for cleaning up snippets whose text is deleted) set to eg. "TextChanged"?

I've been testing that with your suggestions and haven't had any of the issues since.

Nice, I'll implement a fix tomorrow


templates: Address Bicep Lint Warnings

The bicep-lint leg went red, I suspect due to a new version of bicep which was released?  I don't think these bicep templates are wrong, so I'm just disabling the lint warnings.

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: azd-starter-bicep
Remote: azure-samples-staging
Branch: pr/4565
You can initialize this project with:
azd init -t Azure-Samples/azd-starter-bicep -b pr/4565

View Changes | Compare Changes

Project: todo-csharp-cosmos-sql
Remote: azure-samples-staging
Branch: pr/4565
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-cosmos-sql -b pr/4565

View Changes | Compare Changes

Project: todo-csharp-sql-swa-func
Remote: azure-samples-staging
Branch: pr/4565
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql-swa-func -b pr/4565

View Changes | Compare Changes

Project: todo-csharp-sql
Remote: azure-samples-staging
Branch: pr/4565
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql -b pr/4565

View Changes | Compare Changes

Project: todo-java-mongo-aca
Remote: azure-samples-staging
Branch: pr/4565
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo-aca -b pr/4565

View Changes | Compare Changes

Project: todo-java-mongo
Remote: azure-samples-staging
Branch: pr/4565
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo -b pr/4565

View Changes | Compare Changes

Project: todo-nodejs-mongo-aca
Remote: azure-samples-staging
Branch: pr/4565
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aca -b pr/4565

View Changes | Compare Changes

Project: todo-nodejs-mongo-aks
Remote: azure-samples-staging
Branch: pr/4565
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aks -b pr/4565

View Changes | Compare Changes

Project: todo-nodejs-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/4565
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-swa-func -b pr/4565

View Changes | Compare Changes

Project: todo-nodejs-mongo
Remote: azure-samples-staging
Branch: pr/4565
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo -b pr/4565

View Changes | Compare Changes

Project: todo-python-mongo-aca
Remote: azure-samples-staging
Branch: pr/4565
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-aca -b pr/4565

View Changes | Compare Changes

Project: todo-python-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/4565
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-swa-func -b pr/4565

View Changes | Compare Changes

Project: todo-python-mongo
Remote: azure-samples-staging
Branch: pr/4565
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo -b pr/4565

View Changes | Compare Changes

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: azd-starter-bicep
Remote: azure-samples-staging
Branch: pr/4565
You can initialize this project with:
azd init -t Azure-Samples/azd-starter-bicep -b pr/4565

View Changes | Compare Changes

Project: todo-csharp-cosmos-sql
Remote: azure-samples-staging
Branch: pr/4565
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-cosmos-sql -b pr/4565

View Changes | Compare Changes

Project: todo-csharp-sql-swa-func
Remote: azure-samples-staging
Branch: pr/4565
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql-swa-func -b pr/4565

View Changes | Compare Changes

Project: todo-csharp-sql
Remote: azure-samples-staging
Branch: pr/4565
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql -b pr/4565

View Changes | Compare Changes

Project: todo-java-mongo-aca
Remote: azure-samples-staging
Branch: pr/4565
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo-aca -b pr/4565

View Changes | Compare Changes

Project: todo-java-mongo
Remote: azure-samples-staging
Branch: pr/4565
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo -b pr/4565

View Changes | Compare Changes

Project: todo-nodejs-mongo-aca
Remote: azure-samples-staging
Branch: pr/4565
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aca -b pr/4565

View Changes | Compare Changes

Project: todo-nodejs-mongo-aks
Remote: azure-samples-staging
Branch: pr/4565
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aks -b pr/4565

View Changes | Compare Changes

Project: todo-nodejs-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/4565
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-swa-func -b pr/4565

View Changes | Compare Changes

Project: todo-nodejs-mongo
Remote: azure-samples-staging
Branch: pr/4565
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo -b pr/4565

View Changes | Compare Changes

Project: todo-python-mongo-aca
Remote: azure-samples-staging
Branch: pr/4565
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-aca -b pr/4565

View Changes | Compare Changes

Project: todo-python-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/4565
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-swa-func -b pr/4565

View Changes | Compare Changes

Project: todo-python-mongo
Remote: azure-samples-staging
Branch: pr/4565
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo -b pr/4565

View Changes | Compare Changes

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: azd-starter-bicep
Remote: azure-samples-staging
Branch: pr/4565
You can initialize this project with:
azd init -t Azure-Samples/azd-starter-bicep -b pr/4565

View Changes | Compare Changes

Project: todo-csharp-cosmos-sql
Remote: azure-samples-staging
Branch: pr/4565
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-cosmos-sql -b pr/4565

View Changes | Compare Changes

Project: todo-csharp-sql-swa-func
Remote: azure-samples-staging
Branch: pr/4565
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql-swa-func -b pr/4565

View Changes | Compare Changes

Project: todo-csharp-sql
Remote: azure-samples-staging
Branch: pr/4565
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql -b pr/4565

View Changes | Compare Changes

Project: todo-java-mongo-aca
Remote: azure-samples-staging
Branch: pr/4565
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo-aca -b pr/4565

View Changes | Compare Changes

Project: todo-java-mongo
Remote: azure-samples-staging
Branch: pr/4565
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo -b pr/4565

View Changes | Compare Changes

Project: todo-nodejs-mongo-aca
Remote: azure-samples-staging
Branch: pr/4565
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aca -b pr/4565

View Changes | Compare Changes

Project: todo-nodejs-mongo-aks
Remote: azure-samples-staging
Branch: pr/4565
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aks -b pr/4565

View Changes | Compare Changes

Project: todo-nodejs-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/4565
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-swa-func -b pr/4565

View Changes | Compare Changes

Project: todo-nodejs-mongo
Remote: azure-samples-staging
Branch: pr/4565
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo -b pr/4565

View Changes | Compare Changes

Project: todo-python-mongo-aca
Remote: azure-samples-staging
Branch: pr/4565
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-aca -b pr/4565

View Changes | Compare Changes

Project: todo-python-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/4565
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-swa-func -b pr/4565

View Changes | Compare Changes

Project: todo-python-mongo
Remote: azure-samples-staging
Branch: pr/4565
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo -b pr/4565

View Changes | Compare Changes

/check-enforcer override


Swagger openapi support for JWT?

Hi,
Is it possible to set security schemes components as described in the swagger documentation (https://swagger.io/docs/specification/authentication/bearer-authentication/) to handle jwt token using the javalin openapi plugin via annotations?
I need to set a header "Authorization: Bearer myJWTtoken" for each rest call but I don't know if its possible and how to do it using the javalin plugin.

Let's close this and focus on #805, since it has more info.


Esc to close the floating window (similar functionality as telescope.nvim)

Is your feature request related to a problem? Please describe.
Feature for adding an ability to close the existing float window by pressing <Esc>.
Describe the solution you'd like
Ability of closing float window by pressing <Esc>.  If multiple windows are opened then the windows close same in stack fashion (last in first out).
Describe alternatives you've considered
Right now, the floating windows can be closed by :q<CR> or all of them by gP.
Additional context
I am trying to get the same intuition for closing the floating window as given by telescope.nvim. It currently closes via  and  (if in normal mode).

Hey, as mentioned before a few times, I'm not down to adding this as built-in. You can use hooks to get the behaviour you want though.
https://github.com/rmagatti/goto-preview/issues/61#issuecomment-1130194398
Cheers!


Add BitArray#to_slice to return a UInt8 slice useful for

At least in mysql protocol I needed the ability to read/write a bit array to a IO. In this scenario snapping to a byte boundary instead of the UInt32 internal representation.

@asterite done. Probably the last time I would write a tuple as { ... } :-)

\o/


x/tools/godoc/vfs/zipfs: remove zipfs package

Once golang.org/cl/133355 is in, and #27205 is resolved, I don't think we need the zipfs package for godoc anymore.
As far as I know, it was created as a workaround for Google App Engine restrictions on number of files allowed in an app deployment.

Such a change would affect its users.
Do we have a policy to follow to removing non-internal subrepo packages? How do we decide when to do it? How to do it (perhaps deprecate first, remove after some pre-determined time; or something else)?

Can we move this to the subrepos? I use this package heavily in several products.

By now we have answers to those questions from 6 years ago: removing a golang.org/x package involves deprecating it, isolating it to its own nested module, tagging that, and then deleting from main branch. See past examples like #57051, #56783, #59676, #70229, and so on (also see #60557 which is about documenting the process better).
This issue would need to go through the proposal process, though.


Tutorial markdown changes for React18

Since ReactDOM.render has been deprecated from React-18, we have to have start using createRoot which is part of react-dom/client.
The starter code having the ReactDOM.createRoot but we documented like we have to import ReactDOM from 'react-dom'. They will face this warning in the console, if they followed like that.
Warning: You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".
This one will make confusions in new react developers.
Changes👇
Before:

After:

Thanks :)

This closes #4569. Thank you very much indeed!


add yi-1.5 example to model library

We hope the open-source community can be promptly informed that ollama supports the yi-1.5 series. We have updated the list of example models in the README.md. Thank you for your time. @jmorganca

The examples on the list are some of the most popular models in Ollama. I don't know if this model will make it on the list.

Based on download numbers, our model deserves to be included in this list as it surpasses models like Neural Chat. We hope you will consider adding our model to this list so that more people can learn about us. This will benefit both us and the community.

Hi @WolfTheDeveloper
We believe including Yi-1.5 on the list would benefit all sides, and here's why:
1. Good performance
The Yi models have demonstrated strength. Specifically, Yi-Large-Preview is ranked just two places behind the latest GPT-4o in the verified category of the ApacaEval (2024/05).

Beyond benchmarks, the community has also provided positive feedback on the performance of the recently open-sourced Yi-1.5 (5/13).

2. Proven collaboration
Ollama and Yi have a strong history of collaboration:

Ollama integrated the Yi model when it was first open-sourced in 2023/11.
Moreover, the integration of Yi-1.5 was impressively swift, happening on the same day it was open-sourced (5/13).
Additionally, now Ollama is actively seeking to establish connections with the team behind Yi (of course we've already connected).

Besides, we're writing the tutorial of "Running Yi-1.5 on Ollama", and will add it to Yi-1.5 README.

3. User convenience
Adding Yi-1.5 to the list also provides Ollama users with more quick and diverse options.

Thank you! We've added ollama support for Yi! Looking forward to a closer collaboration for the next model release!


main() in sample,py() should be calling activate()

In the main() function, the call to activate() is commented out. This means when someone runs sample.py for the first time, the activation will fail, and there isn't even a proper test for an LA_FAIL return code, so it drops down to the default case and prints some misleading message about a trial being tampered with.
sample.py should work the first time you run it. This means the call to activate() in main() needs to be uncommented. Also, the code in main should explicitly check for LA_FAIL.

Hi,
The. activation is a one time process, that is why it is commented. Ideally, it should be enabled through a command line param. We will update the samples soon.


feat: handle incorrect presentationTimeOffset in live streams

Close https://github.com/shaka-project/shaka-player/issues/3632
Problem description
Live streams sometimes have incorrect presentationTimeOffset because packager and encoder are not in sync.
Other players can still play these streams, but shaka cannot.
Code Change
When fetching init segments parse the timescale which is needed to compute actual media segment presentation times.
When we see a change in the value of segmentReference.timestampOffset parse moof.traf.tfdt.baseMediaDecodeTime and then compare the actual segment start time ((baseMediaDecodeTime / timescale) + segmentReference.timestampOffset )with segmentReference.startTime.
If that difference is greater than config value streaming.maxTimestampDiscrepancy then adjust reference.timestampOffset to compensate. Save this adjustment for use on other media segments until a change in the original segmentReference.timestampOffset triggers fresh comparison of expected and actual segment start times.
This feature is controlled with these settings

streaming.correctTimestampOffset - when true perform this correction
streaming.maxTimestampDiscrepancy - when the discrepancy is less than this value, use the original value

I have seen that you are parsing MDHD for the time scale in initSegmentReference, I think this is also done in #4389, so we should think about unifying this , so as not to be parsing MP4 in a duplicate way. @dave-nicholas

PR #4387 is currently parsing the timescale from the media segment instead of the init segment, and does not recognize possibility of different timescales for different tracks. We have seen streams in which the timescale is available only in the init segments.
Note also that the mp4_cea_parser.js has code that parses timescale from the init segment in the same way that we are in the timestamp_offset_corrector. I copied that code from that location since it was no readily reused without refactoring.
Perhaps we should create a new file util/mp4_segment_parsers.js which would have the common code in a function pase_init_segment_timescales() which would return a Map<number,number> mapping tracks to timescales.

This is an interesting fix, and I'm not against it.
But for the sake of curiosity, what would happen if we instead had an option to output sequenceMode: true from the DASH parser?  It should be easy enough to hard-code sequenceMode: true and load the out-of-sync content to see what happens.  @caridley, can you try that experiment for us?
Of course, an option for that in DASH would not be usable on platforms that don't support sequence mode (Tizen 2, Tizen 3, and WebOS 3 as far as we are aware).  But I'd still like to know if it's viable.

@joeyparrish Note/opinion: although I am delighted with how the sequence mode works, we should not further restrict the platforms, in case the sequence mode works, it should be configurable and disabled by default for DASH.

@joeyparrish Note/opinion: although I am delighted with how the sequence mode works, we should not further restrict the platforms, in case the sequence mode works, it should be configurable and disabled by default for DASH.

Completely agreed.

@caridley can you rebase to resolve the errors in the tests? Thanks!

I am working on a PR to support sequence mode in DASH

I've been reviewing, but I haven't finished this yet.  I hope to have a review done by EOD, and to merge if there are no issues.

@caridley there are some lint errors, can you fix it? Thanks!

I took the liberty of fixing the latest merge conflicts (caused by a PR just merged this morning).  I'll re-review today.

@joeyparrish  We recently changed direction on this, because we ran into another segment time problem in some live streams that could not easily be addressed with this approach. Some live streams were showing large discrepancies in baseMediaDecodeTime for short periods of time (~ 4 segments). Once again other video players (non MSE) on other devices were not having a problems, presumably because they use "sequence mode" style of playback.
To deal with this new problem of transient discrepancies in segment vs manifest times as well as the longer term discrepancies we have chosen to update the baseMediaDecodeTime in the media segments instead of changing the timestampOffset. If there is interest in the new approach I can submit a new PR.
FYI we are not certain that sequence mode is a panacea for this kind of problem because of it's susceptibility to AV sync issues.
This PR can be closed.


[Extensibility Request] Filter on "Message ID" in table "Sent Mail" and "Email Outbox"

Hi,
it would be great if you could provide a way to filter on the field Message ID in the tables Sent Mail and Email Outbox.
I need a way to find the Sent Mail only by its Message ID, for example when the event Codeunit::Email (8901), 'OnAfterSendEmail' is raised. This event only provides the Message ID. Currently the field has the property Access = Internal, so I cannot filter on it to find the Sent Mail.
The same problem may occur with the Email Outbox table.
Proposals for solution:

Make access modifier external or
Add a FilterMessageID(Guid) method to the mentioned tables or
Add a GetByMessageID(Guid) method to the mentioned tables

Version: DE Business Central 19.3 (Platform 19.0.34506.35491 + Application 19.3.34541.35597)

@NilsGruettner If you need a temporary solution:
    local procedure TestMailFilter()
    var
        EmailOutbox: Record "Email Outbox";
        MailRecordRef: RecordRef;
        MessageIdFieldRef: FieldRef;
    begin
        MailRecordRef.GetTable(EmailOutbox);
        MessageIdFieldRef := MailRecordRef.Field(2); // Message ID
        MessageIdFieldRef.SetFilter('41a3c20d-923a-4b88-acd2-e791c02a97ef');

        if MailRecordRef.FindFirst() then begin
            Message('ok' + Format(MailRecordRef.Field(2).Value));
        end else
            Message('not ok');
    end;

@dannoe Thanks for the suggestion, I will give this a try!

@NilsGruettner Thanks for getting in touch.
What exactly is the scenario you are trying to cover? Why do you need to get the Sent Email by Message ID? A bit of a context would be great!

@mazhelez Thanks for your reply.
I want to write a log entry with information from the Sent Email record. Right now the only possibility to get the sent email after sending, is to subscribe EventSubscriber(ObjectType::Table, Database::"Sent Email", 'OnAfterInsertEvent', which is bad, because an error in this subscriber will break the email sending transaction and lead to data inconsistencies.
The better approach would be to subscribe to EventSubscriber(ObjectType::Codeunit, Codeunit::Email, 'OnAfterSendEmail' and EventSubscriber(ObjectType::Codeunit, Codeunit::"Mail Management", 'OnSendViaEmailModuleOnAfterEmailSend'.
Alas, the OnAfterSendEmail Publisher only provides a MessageID, thus I would need to utilize the workaround mentioned above to get the Sent Email record.
The workaround, though, should be considered as a bug that should lead to a runtime error at some point in the future.

@NilsGruettner thank you for clarifying!
In the upcoming release, the plan is to ship the so-called isolated events.
I think an event of this type after an email has been sent would be ideal to address your scenario.

@mazhelez Oh, that is an awesome feature and that would definitely be the best solution.
In this case I would propose that the OnAfterSendEmail event should be transformed into an isolated event and then raised every time a mail is sent. Currently the event is only raised if the mail is sent in a background session.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.