Question: How to use computed properties if Models don't exist?

Hi Guys, Sorry for asking here, I looked for a slack room and didn't find one.
I see that this is a full Ember Data replacement. My question is that if that is the case, models in the model folder are no longer used. How do you then have computed properties that used to be on model?
For example, I used to have a Person model. And when data came down from the server it was of type Person. And therefore a fullName computed property could exist.
If no models exist in this apollo-client, how can I then ensure that data that comes back from GraphQL is of the right type to have all of it's needed CPs?
Thanks!

For the most part, I rely on computed properties in my components. There's a small bit of duplication with that but generally not much.
In the few cases where that really wouldn't have worked well, I just added my own model class using Ember.ObjectProxy:
app/models/my-model.js
export default ObjectProxy.extend({ computedsHere });

Then in my route model(), I do something like:
    return this.get("apollo")
      .watchQuery({ ... })
      .then(result => {
        return RSVPPromise.resolve(
          result ? MyModel.create({ content: result }) : result
        );
      });

I would love to have an easier & more automatic way of doing this but it's not something I have the time to add. Contributions welcome :)
If others have their own approaches, feel free to chime in. I'm closing this since it's not an actual issue.

I have the question. This is the one of the main concerns I have of using apollo with Ember apps. I would love if other people posted how the solve this concern.
@bgentry Do you have any ideas of how would you make that more automatic, or more similar to Ember Data?
In addition, I'm curious to know how people do testing in a large app, do you just mock the data inline in the test? Isn't there a better and more sustainable way to do it?

I realize this is an older thread but I just stumbled across a possible solution to this problem using a built-in Apollo feature:
https://www.apollographql.com/docs/react/why-apollo.html#combine-data
I'm just going to paste the relevant paragraphs from the Apollo docs in case the link breaks in six months:
Combine local & remote data

Thousands of developers have told us that Apollo Client excels at managing remote data, which equates to roughly 80% of their data needs. But what about local data (like global flags and device API results) that make up the other 20% of the pie? This is where apollo-link-state comes in, our solution for local state management that allows you to use your Apollo cache as the single source of truth for data in your application.
Managing all your data with Apollo Client allows you to take advantage of GraphQL as a unified interface to all of your data. This enables you to inspect both your local and remote schemas in Apollo DevTools through GraphiQL.

const GET_DOG = gql`
  query GetDogByBreed($breed: String!) {
    dog(breed: $breed) {
      images {
        url
        id
        isLiked @client
      }
    }
  }
`;

> With apollo-link-state, you can add client-side only fields to your remote data seamlessly and query them from your components. In this example, we’re querying the client-only field isLiked alongside our server data. Your components are made up of local and remote data, now your queries can be too!


It looks like Safari isn't able to patch at all with upstream fixes

Been working hard on fixing all of the syntax errors and getting the transpiler to produce valid code, and it looks like it's just about there --- however, there seem to be some issues with (largely) Zone.js at this point. @btford you're probably better at figuring out where these issues are coming from? But to me it looks like Safari isn't able to be patched at all

hmm, actually I think this is all broken in the angular2 repo, probably not a Zone issue... will keep this open while I investigate though

It's definitely not a zone issue, seems to be something broken in the angular compiler with non-chrome browsers =|

yay/boo
On Mon, Mar 2, 2015 at 10:39 AM ⭐caitp⭐<EMAIL_ADDRESS>wrote:

It's definitely not a zone issue, seems to be something broken in the
angular compiler with non-chrome browsers =|
—
Reply to this email directly or view it on GitHub
https://github.com/angular/zone.js/issues/55#issuecomment-76774291.


[Question]:  Process of getting payment through this library?

Description
I'm just reading documentation and stuck to get my web3 application take payment from user, I've connected wallet into the application but now I just want to take payment from it? If you have any code related to this, It will be of great help.
I'm new on web3 so Thank in advance for help.

When I'm using writecontract function, I'm getting this error:
Uncaught (in promise) SwitchChainError: An error occurred when attempting to switch chain.
Details: Cannot set properties of undefined (setting 'defaultChain')

When I'm using writecontract function, I'm getting this error:
Uncaught (in promise) SwitchChainError: An error occurred when attempting to switch chain.
Details: Cannot set properties of undefined (setting 'defaultChain')

Do you configure the package?
Configuration

I'm just reading documentation and stuck to get my web3 application take payment from user, I've connected wallet into the application but now I just want to take payment from it? If you have any code related to this, It will be of great help.

The purpose of this package is to make it easier to access web3 for vue. The payment function is not the direct responsibility of this package, you need to develop this functionality yourself using the available functionality of this package


Port DSSP Features to new API

This will take a little thought to do elegantly as the features are computed from sequence but assigned to nodes.

Have added main DSSP functions to dssp.py. Set up PR #43.
Outstanding tasks are:

[ ] Decide where and how to make the decision to run the DSSP program.
[ ] Add pre-computing config to convert strings in the secondary_structure attribute to one hot encodings.

Have added main DSSP functions to dssp.py. Set up PR #43.
Outstanding tasks are:

[ ] Decide where and how to make the decision to run the DSSP program.
[ ] Add pre-computing config to convert strings in the secondary_structure attribute to one hot encodings.


Add validation rule scenarios

Validation rules for valid and invalid scopes with error code checks in the scenario.json.
Any new error will need to be added in the errors page, it is also ok to reorganize as we write these.

I think I got most of these


Exception doesn't trigger

I encountered this very weird issue.
In get get_context_data I had this situation. Instead of cache.get_or_set() I mistakenly wrote session.get_or_set(). Django showed no error, neither the reflexError method in the JS controller was called, but get_context_data was called 3 times in row only by doing one reflex.
Here is the relevant code:
def get_context_data(self, *args, **kwargs):
        context = super().get_context_data(*args, **kwargs)
        session = self.request.session

        print("get_context_data", timezone.now(), context.get('stimulus_reflex'))

        if not context.get('stimulus_reflex'):
            #
        else:
            # some other code
            context['some_condition'] = True

        # This gets called only when get_context_data is called by a reflex right?
        if context.get('some_condition', None):
            # some other code
            session.get_or_set('sdsdsdsd') # here I made the mistake and Django should give me an error.

Here's the print output when I trigger a reflex:
get_context_data 2021-07-13 10:52:56.915132+00:00 True
get_context_data 2021-07-13 10:52:56.915564+00:00 None
get_context_data 2021-07-13 10:52:56.924344+00:00 True

No error is shown and get_context_data is called 3 times. 2 times with context['stimulus_reflex'] == True and one time False. I've watched the network tab in Developer tools and no other http requests are made.
Now for the really weird part:
def get_context_data(self, *args, **kwargs):
        context = super().get_context_data(*args, **kwargs)
        session = self.request.session

        print("get_context_data", timezone.now(), context.get('stimulus_reflex'))

        if not context.get('stimulus_reflex'):
            #
        else:
            # some other code
            context['some_condition'] = True
            session.get_or_set('sdsdsdsd') # <--- If if move this line here Django shows me an error.

        # This gets called only when get_context_data is called by a reflex right?
        if context.get('some_condition', None):
            # some other code

OUTPUT:
get_context_data 2021-07-13 10:59:42.711633+00:00 True
get_context_data 2021-07-13 10:59:42.711737+00:00 None
get_context_data 2021-07-13 10:59:42.723331+00:00 True
ERROR:root:SockpuppetConsumer failed to re-render http://<IP_ADDRESS>:3000/table_arrangement/ AttributeError: 'SessionStore' object has no attribute 'get_or_set'
Traceback (most recent call last):
  File "/home/paulik123/Desktop/work/python/breeze/breezeenv/lib/python3.8/site-packages/sockpuppet/reflex.py", line 39, in get_context_data
    context = view.get_context_data(**{'stimulus_reflex': True})
  File "/home/paulik123/Desktop/work/python/breeze/breeze/breezeapp/views.py", line 107, in get_context_data
    session.get_or_set('sdsdsdsd')
  File "/home/paulik123/Desktop/work/python/breeze/breezeenv/lib/python3.8/site-packages/django/utils/functional.py", line 247, in inner
    return func(self._wrapped, *args)
AttributeError: 'SessionStore' object has no attribute 'get_or_set'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/paulik123/Desktop/work/python/breeze/breezeenv/lib/python3.8/site-packages/sockpuppet/consumer.py", line 214, in reflex_message
    self.render_page_and_broadcast_morph(reflex, selectors, data)
  File "/home/paulik123/Desktop/work/python/breeze/breezeenv/lib/python3.8/site-packages/sockpuppet/consumer.py", line 227, in render_page_and_broadcast_morph
    html = self.render_page(reflex)
  File "/home/paulik123/Desktop/work/python/breeze/breezeenv/lib/python3.8/site-packages/sockpuppet/consumer.py", line 244, in render_page
    reflex.get_context_data(**reflex_context)
  File "/home/paulik123/Desktop/work/python/breeze/breezeenv/lib/python3.8/site-packages/sockpuppet/reflex.py", line 42, in get_context_data
    context = view.get_context_data(**{'stimulus_reflex': True})
  File "/home/paulik123/Desktop/work/python/breeze/breeze/breezeapp/views.py", line 107, in get_context_data
    session.get_or_set('sdsdsdsd')
  File "/home/paulik123/Desktop/work/python/breeze/breezeenv/lib/python3.8/site-packages/django/utils/functional.py", line 247, in inner
    return func(self._wrapped, *args)
AttributeError: 'SessionStore' object has no attribute 'get_or_set'

I still don't know why get_context_data gets called 3 times but at least an error is shown.
I'll reply promptly if you need more info. Thank you.
django-sockpuppet==0.6.0
Django==3.2.4
Python=3.8

Hmm, I'll see if I can replicate this. I'm assuming that this is one of django's generic views, ie not a plain template view. So this PR > https://github.com/jonathan-s/django-sockpuppet/pull/124 should at least reduce the amount of times get_context_data is called by one.

@paulik123, If you've got an open source django repo where I can try this out that would make it a whole lot easier to see what's up.

I added you to my private repo. Also, here's a video showing the behaviour
https://user-images.githubusercontent.com/26138821/125740081-a692c2e0-76cb-43a3-ae07-163a3489d5a3.mp4

@paulik123, that was an excellent video. Do you think you could check the browser console as well? Do you get any errors there?

https://user-images.githubusercontent.com/26138821/125811731-aa42a1c6-e94a-47a7-83a8-d5401b512a38.mp4
Nothing besides some warnings.
I also have
reflexError(element, reflex, error) {
    console.log(element, reflex, error)
  }

inside my controller and it doesn't get called.

@paulik123 I've verified that the issue is solved by #124, meaning that it is now showing the exception as expected. So I'm going to go ahead and close this now.


Chat/Completion not working with ollama and local models

Before submitting your bug report

[X] I believe this is a bug. I'll try to join the Continue Discord for questions
[X] I'm not able to find an open issue that reports the same bug
[X] I've seen the troubleshooting guide on the Continue Docs

Relevant environment info
- OS: Fedora 40
- Continue version: v0.9.225 (pre-release)
- IDE version: VSCode 1.95.1
- Model: granite-8b
- config.json:

{
    "models": [
        {
            "model": "granite-code:8b",
            "provider": "ollama",
            "contextLength": 128000,
            "completionOptions": {
                "maxTokens": 4000,
                "temperature": 0.1,
                "topP": 0.9,
                "topK": 40,
                "presencePenalty": 0,
                "frequencyPenalty": 0.1
            },
            "systemMessage": "You are Granite Code, an AI language model developed by IBM.  You carefully follow instructions. You are helpful and harmless and you follow ethical guidelines and promote positive behavior. You always respond to greetings (for example, hi, hello, g'day, morning, afternoon, evening, night, what's up, nice to meet you, sup, etc) with \"Hello! I am Granite Code, created by IBM. How can I help you today?\". Please do not say anything else and do not start a conversation.",
            "title": "granite-code:8b"
        }
    ],
    "tabAutocompleteModel": {
        "model": "granite-code:8b",
        "provider": "ollama",
        "contextLength": 128000,
        "completionOptions": {
            "maxTokens": 4000,
            "temperature": 0.1,
            "topP": 0.9,
            "topK": 40,
            "presencePenalty": 0,
            "frequencyPenalty": 0.1
        },
        "systemMessage": "You are Granite Code, an AI language model developed by IBM.  You carefully follow instructions. You are helpful and harmless and you follow ethical guidelines and promote positive behavior. You always respond to greetings (for example, hi, hello, g'day, morning, afternoon, evening, night, what's up, nice to meet you, sup, etc) with \"Hello! I am Granite Code, created by IBM. How can I help you today?\". Please do not say anything else and do not start a conversation.",
        "title": "granite-code:8b"
    },
    "customCommands": [
        {
            "name": "test",
            "prompt": "{{{ input }}}\n\nWrite a comprehensive set of unit tests for the selected code. It should setup, run tests that check for correctness including important edge cases, and teardown. Ensure that the tests are complete and sophisticated. Give the tests just as chat output, don't edit any file.",
            "description": "Write unit tests for highlighted code"
        }
    ],
    "contextProviders": [
        {
            "name": "diff",
            "params": {}
        },
        {
            "name": "folder",
            "params": {}
        },
        {
            "name": "codebase",
            "params": {}
        }
    ],
    "slashCommands": [
        {
            "name": "edit",
            "description": "Edit selected code"
        },
        {
            "name": "comment",
            "description": "Write comments for the selected code"
        },
        {
            "name": "share",
            "description": "Export the current chat session to markdown"
        },
        {
            "name": "commit",
            "description": "Generate a git commit message"
        }
    ],
    "embeddingsProvider": {
        "provider": "ollama",
        "model": "nomic-embed-text:latest",
        "title": "nomic-embed-text:latest"
    }
}

Description
trying to use IBM granite on a lenovo thinkpad with 64Gb RAM, plenty of disk space and an Intel GPU.
model running fine with ollama CLI, thus creating this report.
To reproduce

Log output
debug LLM Prompt logs :

#### Prompt #####

            self.csv_df = pd.concat([self.csv_df, df], ignore_index=True)
            print('[combine]: category [%s] done' % category)

        self.csv_df.sort_values(by = ['ST'], inplace = True, ignore_index = True)
        print('[sort]: done')

        # print(self.csv_df.head())
        # print(self.csv_df.info())

    def tagging(self):
        event_list = list(self.csv_df['Event'])
        tag_list = [[] for i in range(len(event_list))]
        # print(len(event_list), event_list[:5])

        for i in range(len(event_list)):
            for keywords, tag in self.tag_dict.items():
                if isinstance(keywords, str):
                    if event_list[i].find(keywords) != -1:
                        tag_list[i].append(tag)
                elif sum([(event_list[i].find(k) != -1) for k in keywords]):
                    tag_list[i].append(tag)

        tags = [' '.join(tag_list[i]) for i in range(len(event_list))]
        self.csv_df['Tag'] = tags
        print('[tagging]: done')

    def output(self, output_file = 'output.csv', start_date = '2000-01-01', end_date = '2100-01-01'):
        print('[output]: creating csv from [%s]' % start_date + 'to [%s].' % end_date)
        <FIM>
        bound = pd.to_datetime(pd.Series([start_date, end_date])).dt.tz_localize(self.tz)
        output_df = self.csv_df[(self.csv_df['ST'] >= bound[0]) & (self.csv_df['ET'] < bound[1])]==========================================================================
==========================================================================
##### Completion options #####
{
  "contextLength": 128000,
  "maxTokens": 4000,
  "temperature": 0.1,
  "topP": 0.9,
  "topK": 40,
  "presencePenalty": 0,
  "frequencyPenalty": 0.1,
  "model": "granite-code:8b",
  "stop": [
    "System:",
    "Question:",
    "Answer:"
  ]
}

##### Request options #####
{}

##### Prompt #####
<system>
You are Granite Code, an AI language model developed by IBM.  You carefully follow instructions. You are helpful and harmless and you follow ethical guidelines and promote positive behavior. You always respond to greetings (for example, hi, hello, g'day, morning, afternoon, evening, night, what's up, nice to meet you, sup, etc) with "Hello! I am Granite Code, created by IBM. How can I help you today?". Please do not say anything else and do not start a conversation.

<user>
"""main.py (107-107)
        print('[output]: done')
"""
please explain

+1

@sbouchet @msivasubramaniaan can you run ollama list and see which models are running?
@msivasubramaniaan which model are you using?
My intuition is it's trying to load multiple models at once. Or possible some massive model was renamed or something. It's probably not a Continue bug since there's no way to specify memory or multiple models, but I'd be curious to get to the bottom of this

3rd here
possible sending some param to ollama causing this failure?

@sbouchet I'd call out that granite isn't trained for fill-in-the-middle code completion and is unlikely to work well for that, would be a solid chat model though!

@RomneyDa the current granite-code (gen 2) models are trained with FIM. The new gen3 are not, so that'll be a future problem.

Hey @gabe-l-hart, sorry to drag you in, but do you have any insights on the ollama/granite failure on tab completion when running on CPU?

@sbouchet @msivasubramaniaan can you run ollama list and see which models are running?

here is the output:
$ ollama list
NAME                       ID              SIZE      MODIFIED
granite-code:8b            36c3c3b9683b    4.6 GB    41 hours ago
granite-code:3b            becc94fe1876    2.0 GB    42 hours ago
nomic-embed-text:latest    0a109f422b47    274 MB    42 hours ago

Hi @fbricon and team! I don't have any direct insight on this since I've done my work on an M3, but I have a few thoughts/ideas. There are really only a few things that can be different between running through Continue and running through the ollama CLI:

The eventual template-expanded prompt that the model has to process is different
The client-side connection to the server is different

This is actually my strongest hunch: There's probably some kind of timeout logic on the client side in Continue that's causing it to fail on CPU for long context completions

The endpoint that the client is using is different and the codepath in ollama has some difference

Ollama implements their own API behind /api (/api/chat, /api/completions) which is slightly different than their OpenAI compatibility layer behind /v1 (/v1/chat/completions, /v1/completions). The Ollama CLI uses the Ollama API directly. I'd have to dig to see what Continue is using.

One thing I see after a small bit of digging: It looks like we don't yet have granite-code in the supported FIM templates. Following the logic in getTemplateForModel, this means it's falling back to the starcoder template (here). This appears to be close to the FIM template used by Granite Code, but not quite identical (e.g. <file_sep>, <fim_pad>).

@gabe-l-hart while granite v2 models can probably benefit from some FIM template tuning, v3 won't since they're not FIM-trained, as I was told.
Anyways the immediate issue with tab completion here is ollama erroring with "model requires more system memory" when running on CPU.

Ah, I missed the error in the screenshot. This points to the prompt expansion being the problem. I haven't plumbed the depths of the autocomplete module yet, but given some of the function naming in there, I suspect the context is getting too big causing the memory needed to grow significantly (i.e. additional context injection is the issue).

fwiw, it is not only granite that is not working on latest continue for me. Fails with starcode2 and llama too - its as if result never gets back to the client.

I'm also having problems with some models on my Intel Arc, but I'm starting to believe it's an Intel/Ollama problem, not a Continue problem.
When I run deepseek-coder:6.7b-base via Docker I get no reply as indicated here, while the CLI seems to work at least somewhat. However, when I run the ollama arch package, using the CPU, I do get successful completions.
Most chat models work fine for me, but I've seem several other models that behave erratically. For example on deepseek-coder-v2 on GPU I just get """"""""""""""""""""""""""" as a response.

Some problem! I tried starcoder2 and deepseek-coder.

Im also experiencing issues with Ollama and local models; they suddenly stop working, specifically with the autocomplete feature. After some investigation, I realized this problem started after updating from Ollama v0.3.14 to v0.4.1.
To test my theory, I downgraded Ollama to v0.3.14, and the autocomplete functionality returned to normal. I then tested with v0.4.0, and the issue reappeared. Based on this, I suspect that an incompatibility with autocomplete was introduced in version v0.4.0.
For anyone else experiencing this, you can try downgrading via the releases page: Ollama GitHub Releases. For now, I’ll stick with v0.3.14 as a temporary workaround.

That's an interesting find @alejandroqh. It may be worth posting an issue in their tracker since I know that 0.4.* includes a major architectural overhaul to a new go-based server for running the individual model processes. It's quite likely that this is related somehow.

There are likely multiple unrelated issues here at play:

People with Intel GPUs that have broken models
People who have problems with 0.4
???

Personally 0.4 works for me when running on CPU, but running a 0.3 docker image that supports my intel GPU does not work.
So it'd be useful if people that are having trouble would mention

the version they are using
the CPU/GPU they are using

And for debugging it could be useful to run an older version or force it to use the CPU to eliminate GPU bugs.

I just set the "contextLength": 12768 in config.json as hard fix and try to run the continue chat on my intel based laptop, and it is working. Earlier it stuck.

with @msivasubramaniaan fix, my setup started to work as expected. i can get chat and completion working, with no other changes needed.

I tested "contextLength": 12768 in config.json suggested by @msivasubramaniaan in ollama v0.4.1 but did not work for me. Only is working on ollama v0.3.14

Im also experiencing issues with Ollama and local models; they suddenly stop working, specifically with the autocomplete feature.

I can confirm that completions suddenly stop working with ollama v0.4.1 and Continue.dev v0.9.228 (pre-release) in VSCode v1.95.2 using the model deepseek-coder-v2:16b.
I haven't yet found the exact steps to reproduce the issue, but in my testing continue.dev and/or ollama stop responding after a few completion requests (around 2 to 10) have been sent to ollama in short succession (for example, when autocomplete sends repeated completion requests to the ollama API as you are typing).
Once the issue occurs, continue.dev blocks the ollama API. Other applications can no longer receive completions from the API, that means sending a separate curl request to ollama will receive no response until the user closes VSCode. Once VSCode has been exited, ollama continues responding to requests (including those requests from other applications that were on hold while the issue occurred).
I checked the console logs in VSCode, but the logs remain blank while the issue occurs. The ollama logs (journalctl -u ollama --no-pager) shown below do not indicate a readily apparent problem either.
In the logs below, you can see how continue.dev is sending three requests to the ollama API. The first two requests work correctly and receive a response within a few seconds. But the third request never receives a response. Notice the timestamp delay of 1 minute when I close VSCode. During that non-responsive minute, continue.dev just spins it's wheel in the bottom right corner of the IDE.
FIRST REQUEST SENT - WORKS AS INTENDED
Nov 13 06:11:07 taxtux ollama[7358]: time=2024-11-13T06:11:07.941-08:00 level=DEBUG source=sched.go:575 msg="evaluating already loaded" model=/usr/share/ollama/.ollama/models/blobs/sha256-5ff0abeeac1d2dbdd5455c0b49ba3b29a9ce3c1fb181b2eef2e948689d55d046
Nov 13 06:11:07 taxtux ollama[7358]: time=2024-11-13T06:11:07.941-08:00 level=DEBUG source=routes.go:270 msg="generate request" images=0 prompt="some long prompt"
Nov 13 06:11:07 taxtux ollama[7358]: time=2024-11-13T06:11:07.948-08:00 level=DEBUG source=cache.go:99 msg="loading cache slot" id=0 cache=885 prompt=878 used=874 remaining=4
SECOND REQUEST SENT - I THINK THIS REQUEST RECEIVED A RESPONSE
Nov 13 06:11:12 taxtux ollama[7358]: time=2024-11-13T06:11:12.865-08:00 level=DEBUG source=sched.go:575 msg="evaluating already loaded" model=/usr/share/ollama/.ollama/models/blobs/sha256-5ff0abeeac1d2dbdd5455c0b49ba3b29a9ce3c1fb181b2eef2e948689d55d046
Nov 13 06:11:12 taxtux ollama[7358]: time=2024-11-13T06:11:12.865-08:00 level=DEBUG source=routes.go:270 msg="generate request" images=0 prompt="another long prompt"
Nov 13 06:11:12 taxtux ollama[7358]: time=2024-11-13T06:11:12.896-08:00 level=DEBUG source=sched.go:407 msg="context for request finished"
Nov 13 06:11:12 taxtux ollama[7358]: time=2024-11-13T06:11:12.896-08:00 level=DEBUG source=sched.go:357 msg="after processing request finished event" modelPath=/usr/share/ollama/.ollama/models/blobs/sha256-5ff0abeeac1d2dbdd5455c0b49ba3b29a9ce3c1fb181b2eef2e948689d55d046 refCount=1
Nov 13 06:11:12 taxtux ollama[7358]: [GIN] 2024/11/13 - 06:11:12 | 200 |   4.96354538s |       <IP_ADDRESS> | POST     "/api/generate"
THIRD REQUEST SENT - REMAINS UNANSWERED
Nov 13 06:11:12 taxtux ollama[7358]: time=2024-11-13T06:11:12.921-08:00 level=DEBUG source=cache.go:99 msg="loading cache slot" id=0 cache=1075 prompt=878 used=874 remaining=4
Nov 13 06:11:14 taxtux ollama[7358]: time=2024-11-13T06:11:14.052-08:00 level=DEBUG source=sched.go:575 msg="evaluating already loaded" model=/usr/share/ollama/.ollama/models/blobs/sha256-5ff0abeeac1d2dbdd5455c0b49ba3b29a9ce3c1fb181b2eef2e948689d55d046
Nov 13 06:11:14 taxtux ollama[7358]: time=2024-11-13T06:11:14.052-08:00 level=DEBUG source=routes.go:270 msg="generate request" images=0 prompt="a third long prompt"
Nov 13 06:11:14 taxtux ollama[7358]: time=2024-11-13T06:11:14.091-08:00 level=DEBUG source=sched.go:407 msg="context for request finished"
Nov 13 06:11:14 taxtux ollama[7358]: time=2024-11-13T06:11:14.091-08:00 level=DEBUG source=sched.go:357 msg="after processing request finished event" modelPath=/usr/share/ollama/.ollama/models/blobs/sha256-5ff0abeeac1d2dbdd5455c0b49ba3b29a9ce3c1fb181b2eef2e948689d55d046 refCount=1
Nov 13 06:11:14 taxtux ollama[7358]: [GIN] 2024/11/13 - 06:11:14 | 200 |  1.237498363s |       <IP_ADDRESS> | POST     "/api/generate"
THE NEXT LOG ENTRY OCCURRS 1 MINUTE LATER BECAUSE HERE I CLOSE VSCODE
Nov 13 06:12:14 taxtux ollama[7358]: time=2024-11-13T06:12:14.979-08:00 level=DEBUG source=sched.go:407 msg="context for request finished"
Nov 13 06:12:14 taxtux ollama[7358]: time=2024-11-13T06:12:14.979-08:00 level=DEBUG source=sched.go:339 msg="runner with non-zero duration has gone idle, adding timer" modelPath=/usr/share/ollama/.ollama/models/blobs/sha256-5ff0abeeac1d2dbdd5455c0b49ba3b29a9ce3c1fb181b2eef2e948689d55d046 duration=30m0s
Nov 13 06:12:14 taxtux ollama[7358]: time=2024-11-13T06:12:14.979-08:00 level=DEBUG source=sched.go:357 msg="after processing request finished event" modelPath=/usr/share/ollama/.ollama/models/blobs/sha256-5ff0abeeac1d2dbdd5455c0b49ba3b29a9ce3c1fb181b2eef2e948689d55d046 refCount=0
Nov 13 06:12:14 taxtux ollama[7358]: [GIN] 2024/11/13 - 06:12:14 | 200 |          1m0s |       <IP_ADDRESS> | POST     "/api/generate"

This issue might be separate from the issue described by the OP. I might file a separate issue ticket if that is helpful.

Had this issue as well. I've investigated further and it seems that ollama makes a bad decision about a parameter named "numParallel", which has 4 as its default value:
https://github.com/ollama/ollama/blob/d7eb05b9361febead29a74e71ddffc2ebeff5302/server/sched.go#L59
It's not clear in which scenarios the default gets used, but it seems to be a combination of CPU and GPU available in the host. This seems to cause ollama to multiply the needed memory (RAM, in the case of CPU) by 4, which triggers this issue.
The workaround that I've found is to set OLLAMA_NUM_PARALLEL to 1 when running ollama. For example:
OLLAMA_NUM_PARALLEL=1 ollama serve

This solves the issue and makes Continue work again with ollama (in my case).

I've looked into this and found a potential fix, although it's not ready for a PR yet: https://github.com/continuedev/continue/compare/main...fbricon:cancel-completions
But basically, my approach is to use VS Code's cancellation token to abort the pending ollama requests that are issued as you type. AFAICT, this is working way better now, makes the completion feel even snappier I would say.

Okay I can confirm that on Intel the context length workaround worked! How did you figure that out?
Looking at ollama granite code has a context length of 128000.
My config ftr:
  "tabAutocompleteModel": {
    "title": "granite code 8b",
    "provider": "ollama",
    "model": "granite-code:8b",
    "contextLength": 12768
  },

My understanding is that this is now solved with the PR and new Ollama version, but if something else comes up please re-open


change memory to calldata

Changing the data location of function parameters from memory to calldata can save much gas.
In the following example, test4 saves about 955 units of gas.
    function test3(uint256[] memory amounts) public {
        uint256 amount = amounts[0];
    }

    function test4(uint256[] calldata amounts) public {
        uint256 amount = amounts[0];
    }

PR Checklist

[ ] Tests
[ ] Documentation
[ ] Changeset entry (run npx changeset add)

Please submit contributions to (openzeppelin-contracts)[https://github.com/OpenZeppelin/openzeppelin-contracts] instead of directly to this repository. Review the Contributing Guidelines. For optimizations please provide repeatable benchmarks.


docs: DLT-1698 add tokens page sidebar

docs: DLT-1698 add tokens page sidebar

Obligatory GIF (super important!)

:hammer_and_wrench: Type Of Change
These types will not increment the version number, but will still deploy to documentation site on release:

[x] Documentation

:book: Jira Ticket
DLT-1698

:book: Description
Adds the sidebar to the tokens page. Adjusts spacings so that now the page works with the sidebar.

:camera: Screenshots / GIFs

@yorbi-dp Whachathink?

🐞 Hmm, can only click right rail at wider viewports.
https://github.com/dialpad/dialtone/assets/1165933/f94745b7-7c8f-467b-85c9-d8551d0a8bd6


cmus: add AudioUnit dependency

AudioUnit is required on macOS.
Error message running cmus:
Error: opening audio device: couldn't initialize required output plugin

./configuration output before bugfix:
checking for COREAUDIO_LIBS (-framework CoreAudio -framework AudioUnit)... ld: framework not found AudioUnit

after bugfix:
checking for COREAUDIO_LIBS (-framework CoreAudio -framework AudioUnit)... yes

Motivation for this change
Bugfix.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[X] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[~] Tested execution of all binary files (usually in ./result/bin/)
I tested cmus but not cmus-remote
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 112461 run on x86_64-darwin 1

1 package built:

cmus


Valid link enforcement in our repos and releases

There are several ideas we want to pursue:

[x] Markdown (readmes, etc.) need to have valid and correct links to the following:

[x] Follow guidelines outlined at https://github.com/Azure/azure-sdk/blob/master/docs/policies/README-TEMPLATE.md#link-guidelines.
[x] Version less links to docs
[x] Version less links to packages
[ ] Links need to be relevant in all contexts that they appear in (repo, packages, docs)

[x] GitHub.io sites that we generate for all repos need:

[x] All links validated
[x] Index pages use the same URL structure (goal: should match the repo structure)
[x] Use the same set of tools and code to generate the index pages.  Language specific tools should still be used to generate the API refs.
[ ] Improve the host name for github.io pages hosted in blob storage (use a CNAME) Issues to track this: https://github.com/Azure/azure-sdk/issues/848

[x] Readme templates need to be updated (they currently have invalid links) and those updates need to be applied to existing readmes
[ ] All links need to be consistent and predictable

@KarishmaGhiya, this is a great, cross-cutting thing for you to drive.

The issues which needed for the Epic have been addressed. Will create separate issues if any feature request raised from SDK lang team. Closed the epic


docs cherry pick

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.2 out of 3 committers have signed the CLA.:white_check_mark: ABNER-1:white_check_mark: ReigenAraka:x: JinHai-CNYou have signed the CLA already but the status is still pending? Let us recheck it.


No protocol exception: /map?bbox= ...

Message: no protocol: /map?bbox=xx.xx%2Cxx.xx%2Cxx.xx%2Cxx.xx
Caused by not handling protobuf setting files from old versions.
Can be fixed temporarily by clearing app data or by reinstalling the app.

Fixed in 11283cf / v1.1.0.


Data table spacing in expandable and expandable+selected rows don't match website guidelines

Summary
Spacing between chevron and text or checkbox in expandable rows and expandable+selected rows is not the same in the storybook as shown in the Carbon Website guidelines. The sketch kit follows the guidelines on the website.
Relevant information
Storybook:
There is 16px spacing to the left of the checkbox and to the left of the text that doesn't match the guidelines neither the sketch kit

Website:

The kit is correct. There is an inconsistency in the chevron+checkbox pairing example (It may not have been accounted for in this related PR
There should be 16px spacing to the left and to the right of the chevron icon and checkbox icon when present. The labels in the first cell should fall 16px to the right of the icon that comes before it.

Closing in favor of https://github.com/carbon-design-system/carbon/issues/8472 so we can track dev effort


Ubuntu 14.04 - compilation error

Followed all steps on guide and followed all the steps, skipped compiling Boost 1.55 and followed the about instruction
sudo apt-get install libboost1.55-all-dev then followed following steps with no errors. But when I try to make -
ryan@755:~/Gridcoin-Research/src$ make -f makefile.unix USE_UPNP=- /bin/sh ../share/genbuild.sh obj/build.h g++ -c -O2  -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/home/ryan/Gridcoin-Research/src -I/home/ryan/Gridcoin-Research/src/obj  -I/home/ryan/Gridcoin-Research/src/leveldb/include -I/home/ryan/Gridcoin-Research/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/db.d -o obj/db.o db.cpp In file included from db.cpp:6:0: db.h:14:20: fatal error: db_cxx.h: No such file or directory  #include <db_cxx.h>                     ^ compilation terminated. make: *** [obj/db.o] Error 1
Looked for answers everywhere, now I'm here

You are missing the C++ bindings of BerkeleyDB. No idea what the package is called on Ubuntu, though. Maybe @caraka knows more.

greetings dadude97
Below I will post the complete Build Depends that I use to package for the PPA, but to answer Marix' point, which I think is correct, you may need to install libdb++-dev. Please try compiling by just adding this one package to see if it needs to be added to the compile guide. You could of course use the PPA and not bother compiling ever again. It is here.
Build-Depends: debhelper (>= 9),
devscripts,
automake,
libtool,
libssl-dev,
pkg-config,
libdb++-dev,
libboost-filesystem-dev (>= 1.55.0) | libboost-filesystem1.55-dev,
libboost-program-options-dev (>= 1.55.0) | libboost-program-options1.55-dev,
libboost-system-dev (>= 1.55.0) | libboost-system1.55-dev,
libboost-thread-dev (>= 1.55.0) | libboost-thread1.55-dev,
libboost-test-dev (>= 1.55.0) | libboost-test1.55-dev,
libqrencode-dev,
libprotobuf-dev,
protobuf-compiler,
libminiupnpc-dev,
qt4-default,
qt4-qmake,
qt4-dev-tools,
libcurl4-openssl-dev,
libzip-dev
Some of these are specific to debian packaging and not specific to gridcoin, but you can see the Berkely DB library in there.
Do let us know how you get on.

So, I installed libdb++-dev, and tried to make again with this make -f makefile.unix USE_UPNP=-
I used pastebin to show all my commands (starting with installing libdb++-dev)and results here is the output. It is long
Now I'll try the other alternatives you suggested. Thanks for the quick reply

Hmm. now you are missing the zip headers, which libzip-dev would supply.
The libdb++-dev that you installed to get past the first problem is in the linux compile guide that you linked - I think that for whatever reason, you missed out on step one:
sudo apt-get install ntp git build-essential libssl-dev libdb-dev libdb++-dev libboost-all-dev libqrencode-dev libcurl4-openssl-dev curl libzip-dev libzip2
Try the above command again before you try anything else. It will install the zip headers missing from your second attempt. (you can leave out the libboost-all-dev, as on trusty you need and have already installed libboost1.55-all-dev instead)

That worked! here is what happened. thanks! And leaving in libboost-all-dev did lead to some kind of error so I just omitted it.


Update French (Canada) translation

Hi @softwarerero
Is it possible for you to review and/or merge this soon? We need some of these translations in our development app for translator review. Thanks 👍

Sorry that this took so long. I merged it. Is this enough or do you need a release too. I'm traveling right now, so I'm probably not reacting immediately.

Hi @softwarerero wow thanks for the merge.
It's ok if you do not Release it right away but if that could be in the next 2 weeks that would be awesome! 👍

2.3.1 is released


CSS Gradients, Box Shadow and Text Shadow

Description 📜
A well-defined documentation for understanding of CSS gradients, box shadow and text shadow. Provided along with syntax and live examples
Fixes #2376

Type of change 📝

[ ] Documentation (Content Creation in the form of codes or tutorials)

Domain of Contribution 📊

[ ] Frontend Dev HTML/CSS/JS

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸
Yes screenshots of each example has been included in README.md

@praveenscience  can you assign me this issue?

@praveenscience can you assign me this issue?

You need to get assigned in the issues, and not in PR.

Looks super cool @srijanishere 👏
Nice work.

Thanks a lot! I hope to keep contributing more.


Can't install any mod

I can't install any mod, i rechecked everything - reinstall mods/launcher/game, some mods shows error when i apply them. I asked for help in discord, but nothing.
Specifically, I tried to install Jolly Coop mod, but trying other mods too
I have no idea what's wrong...

okay, i checked mod on pc of my friend, and he doesn't have these problems, but he did the same thing.
i think, i have problem from my side, incompatibility and etc.
he have win 10, i have win 8.1

help

now i have installed win 10, and now i have another problem

why it not working?

i recorded a video about what i do
https://cdn.discordapp.com/attachments/431534164932689921/557622330185220098/bandicam_2019-03-20_00-48-26-115.mp4


Move React from "dependencies" to "peerDependencies"

Was hoping to move React from "dependencies" to "peerDependencies". Will you accept a pull request?
Ran in to this issue today, going to quote a Stack Overflow answer that explains it better than I can:

For reusable components:
Put a react dependency in both peerDependencies and devDependencies.
Never put a react dependency in dependencies.

peerDependencies specifies which version(s) of React your reusable component supports/requires. When using npm 2 this also adds React to the list of modules to be installed, but this is no longer the case with npm 3.
devDependencies ensures React will be installed when you run npm install while developing your component, or when running tests on Travis or similar.
Putting react in dependencies will cause multiple versions of React to be installed if somebody uses your component but has a different version of React in their own package.json - having multiple versions of React not only bloats the build, but also causes errors when different versions try to interact.

Thanks for pointing that out. That is a very good idea!

@cyberalien In addition, I think the React version might not be good to be too high.
For example, an application uses "react": "~16.8.0", or even an exact version "react": "16.8.0", it won't be compatible with this library.
I would suggest to put "react" to "peerDependencies" and set version to "^16.0.0", so that it will support all applications that use React 16.x.x

Sure

Done


Collate_drprg_results

Am interested in a script that collates all json file outputs into one text file - that shows the drug and predicted genotypic outcome for all samples. Thx

Would you want the mutations listed in this collation? Or just the phenotype prediction (i.e. S/R)?


introduce strict-ish pylint + minimal fixes

This adds a default pylintrc, updates some project-specific fields, enables most of the built-in plugins, and suppresses all of the currently-triggering checkers.
Following that, some low-hanging fruit is addressed, suppressing pretty liberally, with care to limit logical impact and interface changes. (Exception: renaming state_type/alpha_type to StateType/AlphaType. They could be given as aliases, but seemed unlikely for anyone to care).
The most visible changes are:

Overbroad exceptions: raising more-specific ValueError or ArithmeticError exceptions vs. Exception. Exception includes things like SyntaxError and TypeError and is just way too broad.
Shadowing of built-in names like next() and min()/max()
Some vaguely performancey stuff like using not x vs len(x) == 0 (generally good practice, since some collections can determine non-empty faster than they can count the entire collection) or using .items() or enumerate(…) to avoid repeated lookups in indexed collections.

This isn't motivated by much, just a branch I had following me around.

What exactly is this linter's problem with comparing things to 0?

I think it's just trying to suggest consistency about something that's sometimes beneficial and basically never harmful.
The general recommendation is to use the least-powerful test. An expression like if len(x) > 0: is asking for more information than it needs ("compute the length") and then throwing most of it away.
In most cases, this doesn't matter, since built-in collection types maintain their length eagerly, and __len__ or __bool__ both result in an equivalent field lookup. But it's not always implemented that way. Lazy collections, proxies, etc. can special-case __bool__ or can at least stop counting past one element to determine non-emptiness.
As a pattern, if x: is briefer, arguably clearer, is sometimes more performant, and realistically never less performant.
(Historically, in Python 2, __bool__ was named __nonzero__, same functionality).


Issue with code sample indentation

When providing the following code sample...
      x-code-samples:
        - lang: JavaScript
          label: JS + Axios
          source: |
            import axios from "axios";

            const options = {
              method: 'POST',
              url: 'https://api.foo.com/api/users/login',
              params: {include: 'user'},
              headers: {'Content-Type': 'application/json'},
              data: {username<EMAIL_ADDRESS>password: 'abc123...'}
            };

            axios.request(options).then(function (response) {
              console.log(response.data);
            }).catch(function (error) {
              console.error(error);
            });

The code sample is rendered without indentation

If I add an extra 2 spaces to the method line, some indentation appears

However if I add these extra 2 spaces to all lines that require indentation, all indentation again disappears (as in the screenshot above)

Awesome. I know there are some magic there to get the padding correct, I'm a bit surprised by this result though. Of course that is a bug and will need to be fixed. The padding should be correctly aligned to match what has been entered (however it should be correctly shifted to the left to handle the discrepancies between the yaml and what the left-most indent should be.

Works great!
Many thanks!


Generating from web API assembly doesn't support inheriated route attribute

Web API 2.2 supported indeed(http://stackoverflow.com/a/19989344)
Is possible support this as well?

Supporting inherited attributes should be easy... The custom routing is not possible because the routing works at runtime and cannot be determined from an assemblies metadata (i.e. reflection).

Does only the RouteAttribute support inheritance?

https://github.com/NSwag/NSwag/blob/master/src/NSwag.CodeGeneration.Tests/WebApiToSwaggerGenerator/Attributes/RouteInheritanceTests.cs

Also add a setting to enable route inheritance (default: Off).

Why did you close this one? It is not implemented yet...

Inheritance is now supported: https://github.com/NSwag/NSwag/commit/4d2db5907281a169fe779d431923d7bc98abf465


Update readme to point to vitess.io

LGTM thanks for doing this!
It was on my plate and I forgot. I can always blame perf, good week for that. ;)


Latest CMake RC breaks private repo downloads.

Just wanted to post a heads up here that the latest RC for CMake (3.13.0-rc1) breaks the private repository downloads.  I believe the issue is that for any download with user/password included they disable the auto redirect functionality in curl (probably a security measure).  Figured you'd wish to check this out given I just spent several hours trying to diagnose this issue on my OsX box which I just reinstalled.  Hopefully they added a flag to enable following redirections that can re-enable the behavior for hunter.

I believe the issue is that for any download with user/password included they disable the auto redirect functionality in curl (probably a security measure).

That sounds like a CMake issue if your assumption is correct. Such behavior should be protected by policy.

Hopefully they added a flag to enable following redirections that can re-enable the behavior for hunter.

I don't see any redirect option in file(DOWNLOAD ...):

https://cmake.org/cmake/help/latest/command/file.html#transfer

Just wanted to post a heads up here that the latest RC for CMake (3.13.0-rc1) breaks the private repository downloads.

There is private data download:

https://docs.hunter.sh/en/latest/user-guides/cmake-user/private-data.html

And there is protected sources download:

https://docs.hunter.sh/en/latest/user-guides/cmake-user/protected-sources.html

What exactly you mean? Can you create minimal example to reproduce an issue? Without any real private/protected data of course.

As mentioned, this was just as a heads up that they may have made a change which will cause issues in the future, it may be intentional or not.  Generally speaking though, I tested this in multiple ways before I isolated the issue.  Basically file(DOWNLOAD ...) defaults to following redirections (there is a cmake ticket about this from several years ago when they added the flag in the curl call as default) which is required for github since you auth with the first url and then it sends back the actual location of the file you want to download.
Anyway, I have several private repo's in my CI.  I reinstalled OsX after a Mojave update snafu wiped out my network systems and stood the machine back up.  It refused to download any of the private repos at that point (all the public ones worked fine) until I removed the rc1 version of cmake and went back to the latest stable build.
Quite simply you can test the cmake side by doing a file(download ...) to a private repo and it will fail with the rc1 version.  The same problem there was causing hunter to fail since all the downloads from private repo's were ending up at empty gz files.

Quite simply you can test the cmake side by doing a file(download ...) to a private repo and it will fail with the rc1 version.

If you're able to reproduce the problem with file(DOWNLOAD ...) script then probably it make sense to report it to CMake: https://gitlab.kitware.com/cmake/cmake/issues ? At this point I don't see any workarounds/improvements that can be introduced in Hunter to resolve the issue.


[NOT READY] Update Style Guide Rules for Clarity

Summary

Screenshots (optional)

Documentation checklist

[ ] The documentation style guide has been adhered to.
[ ] If a larger change - such as adding a new page- an issue has been opened in relation to any incorrect or out of date information that this PR fixes.
[ ] Files which have changed name or location have been allocated redirects.

@pedrosousa , this should help with some of the fixes!

@pedrosousa , this is ready but I have a question. This issue seems to be wrong / confusing. Shouldn't Anycast be capitalized?
We need to update the terms if so.

Hi @bllchmbrs
We decided to use anycast.
(Btw, you linked to the current PR, but my comment still holds.)


Add Teleport support

What does this PR do?
This PR adds Teleport support that was originally added in cluster-aws here https://github.com/giantswarm/cluster-aws/pull/334.
What is the effect of this change to users?
Teleport can be optionally enabled.
How does it look like?
cluster chart Helm values to enable Teleport:
internal:
  teleport:
    enabled: true

Any background context you can provide?

https://github.com/giantswarm/roadmap/issues/2742
https://github.com/giantswarm/cluster-aws/pull/334

What is needed from the reviewers?
Check if the Teleport has been ported properly from cluster-aws.
Do the docs need to be updated?
We don't yet have proper docs for the cluster chart.
Should this change be mentioned in the release notes?
We have yet to write proper release notes for the cluster chart. For now it's just about porting stuff over from cluster-aws, so we will add a summary before the first release.

For some reason the above diff for Ignition shows all systemd units as removed, and new systemd units added, while the only diff is Teleport systemd unit being added. Files diff looks fine.

Known issues with schema linting.

Restart=on-failure should also be added to audit-rules.service systemd unit like this:
- name: audit-rules.service
  enabled: true
  dropins:
  - name: 10-wait-for-containerd.conf
    contents: |
      [Service]
      ExecStartPre=/bin/bash -c "while [ ! -f /etc/audit/rules.d/containerd.rules ]; do echo 'Waiting for /etc/audit/rules.d/containerd.rules to be written' && sleep 1; done"
      Restart=on-failure

But that will be added in the cluster chart's Helm values when cluster chart is used in cluster-aws because almost all systemd units will be initially specified in every cluster- app, until we figure out which are really common across all providers. (Teleport systemd unit is the first one that is included directly in the cluster chart, if Teleport is enabled.)


Blog app - integration specs for views

Used Capybara to write integration tests for each view in the project:

Login page
User index and show pages
Post index and show pages

Hi @DeliceLydia , where are the required changes?

Hello @lfmnovaes,


Add erlang:is_float/1 BIF

Add missing is_type BIF.
These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).
SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

I think it would be good to add a test (or modify an existing test) using this as a guard.


[e2e]: delegator-generic push main default slsa3

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/6465434734
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.delegator-generic.push.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.delegator-generic.push.main.default.slsa3.yml
Trigger: push
Branch: main
Date: Tue Oct 10 06:18:04 UTC 2023

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/6478686187
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.delegator-generic.push.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.delegator-generic.push.main.default.slsa3.yml
Trigger: push
Branch: main
Date: Wed Oct 11 06:18:20 UTC 2023

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/6491953424
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.delegator-generic.push.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.delegator-generic.push.main.default.slsa3.yml
Trigger: push
Branch: main
Date: Thu Oct 12 06:17:04 UTC 2023

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/6504699936
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.delegator-generic.push.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.delegator-generic.push.main.default.slsa3.yml
Trigger: push
Branch: main
Date: Fri Oct 13 06:17:37 UTC 2023

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/6516001681
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.delegator-generic.push.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.delegator-generic.push.main.default.slsa3.yml
Trigger: push
Branch: main
Date: Sat Oct 14 06:17:34 UTC 2023

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/6522387202
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.delegator-generic.push.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.delegator-generic.push.main.default.slsa3.yml
Trigger: push
Branch: main
Date: Sun Oct 15 06:17:07 UTC 2023

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/6529733207
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.delegator-generic.push.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.delegator-generic.push.main.default.slsa3.yml
Trigger: push
Branch: main
Date: Mon Oct 16 06:19:12 UTC 2023

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/6543243072
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.delegator-generic.push.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.delegator-generic.push.main.default.slsa3.yml
Trigger: push
Branch: main
Date: Tue Oct 17 06:22:13 UTC 2023
Tests are passing now. Closing this issue.


rtx 3060 gets checkered screen freeze after short time

log output nothing unusual:
Tester console logging started at 2023-12-06T19:26:41.868859Z

1: Bus=0x07:00 DevId=0x2504   12GB NVIDIA GeForce RTX 3060
2: Bus=0x00:00 DevId=0x0000   2GB llvmpipe (LLVM 12.0.0, 256 bits)
Tester worker logging started at 2023-12-06T19:26:47.192084Z
Standard 5-minute test of 1: Bus=0x07:00 DevId=0x2504   12GB NVIDIA GeForce RTX 3060
      1 iteration. Passed  0.0592 seconds  written:    7.2GB 311.8GB/sec        checked:   10.9GB 302.8GB/sec
     18 iteration. Passed  1.0195 seconds  written:  123.2GB 306.1GB/sec        checked:  184.9GB 299.7GB/sec
    101 iteration. Passed  5.0456 seconds  written:  601.8GB 301.9GB/sec        checked:  902.6GB 295.7GB/sec
    598 iteration. Passed 30.0469 seconds  written: 3603.2GB 303.1GB/sec        checked: 5404.9GB 297.7GB/sec
   1094 iteration. Passed 30.0452 seconds  written: 3596.0GB 302.9GB/sec        checked: 5394.0GB 296.8GB/sec
Tester console logging started at 2023-12-06T19:44:45.371219Z

1: Bus=0x07:00 DevId=0x2504   12GB NVIDIA GeForce RTX 3060
2: Bus=0x00:00 DevId=0x0000   2GB llvmpipe (LLVM 12.0.0, 256 bits)
Tester worker logging started at 2023-12-06T19:44:48.721239Z
Standard 5-minute test of 1: Bus=0x07:00 DevId=0x2504   12GB NVIDIA GeForce RTX 3060
      1 iteration. Passed  0.0573 seconds  written:    7.2GB 314.5GB/sec        checked:   10.9GB 318.0GB/sec
     18 iteration. Passed  1.0042 seconds  written:  123.2GB 304.9GB/sec        checked:  184.9GB 308.1GB/sec
    102 iteration. Passed  5.0157 seconds  written:  609.0GB 301.6GB/sec        checked:  913.5GB 304.9GB/sec
    605 iteration. Passed 30.0524 seconds  written: 3646.8GB 301.5GB/sec        checked: 5470.1GB 304.6GB/sec
   1107 iteration. Passed 30.0507 seconds  written: 3639.5GB 300.9GB/sec        checked: 5459.2GB 304.0GB/sec
Tester console logging started at 2023-12-06T21:21:09.267532Z

1: Bus=0x07:00 DevId=0x2504   12GB NVIDIA GeForce RTX 3060
2: Bus=0x00:00 DevId=0x0000   2GB llvmpipe (LLVM 12.0.0, 256 bits)
Tester worker logging started at 2023-12-06T21:21:15.257429Z
Standard 5-minute test of 1: Bus=0x07:00 DevId=0x2504   12GB NVIDIA GeForce RTX 3060
      1 iteration. Passed  0.0577 seconds  written:    7.2GB 314.7GB/sec        checked:   10.9GB 313.9GB/sec
     19 iteration. Passed  1.0367 seconds  written:  130.5GB 314.4GB/sec        checked:  195.8GB 314.9GB/sec
    104 iteration. Passed  5.0253 seconds  written:  616.2GB 306.4GB/sec        checked:  924.4GB 306.7GB/sec
Tester console logging started at 2023-12-07T00:41:09.628432Z

1: Bus=0x07:00 DevId=0x2504   12GB NVIDIA GeForce RTX 3060
2: Bus=0x00:00 DevId=0x0000   2GB llvmpipe (LLVM 12.0.0, 256 bits)
Tester worker logging started at 2023-12-07T00:41:13.233889Z
Standard 5-minute test of 1: Bus=0x07:00 DevId=0x2504   12GB NVIDIA GeForce RTX 3060
      1 iteration. Passed  0.0553 seconds  written:    7.0GB 315.1GB/sec        checked:   10.5GB 317.0GB/sec
     19 iteration. Passed  1.0207 seconds  written:  126.0GB 307.0GB/sec        checked:  189.0GB 309.7GB/sec
    107 iteration. Passed  5.0279 seconds  written:  616.0GB 304.6GB/sec        checked:  924.0GB 307.4GB/sec
    630 iteration. Passed 30.0137 seconds  written: 3661.0GB 302.7GB/sec        checked: 5491.5GB 306.4GB/sec

I must reboot to restore function. Mostly this card is working fine, but using this test, and under random occasion with heavy load getting this problem, but I can't diagnose.

While memtest_vulkan tries to use simplest GPU commands to avoid situation "GPU problems lead to hang before logging errors" - this is not always possible - somtimes errors appear "atomically" - it is "all working then completely hang".
The checkerboard pattern during hang almost always means hardware problems. Sometimes those can be solved by under-clocking GPU and memory (start with a extreme undercloking of both GPU ans memory to find if it helps at all; if it helps find, then find a max stable clokcs) .
Adding Option  "Coolbits" "28" line into xorg.conf enables underclocking RTX 30x0 via nvidia-settings GUI.
Underclocking this way allows achieving smallest clocks for testing purposes, but is not compatible with wayland.
I had no experience/success with other methods mentined in Arch wiki, amybe some of them works fine.
I'll convert this to a card-specific didcussion since this is not a memtest_vulkan problem.


Jonmv/document protocol super config

@vekterli please review.

PTAL. This should provide internal config consistency for the injected document access.

PTAL. This should provide internal config consistency for the injected document access.


Add S1 pattern likelihood for alt S1

What does the code in this PR do / what does it improve?
This PR adds new fields of S1 pattern likelihoods for alt S1, which are "alt_s1_2llh", "alt_s1_top_2llh", "alt_s1_bottom_2llh". They could be useful for s1 single scatter cut.
Can you briefly describe how it works?
For alt S1's calculation, most of the changes are just with a prefix "alt_". The only exception is z, with prefix "alt_s1_".
Can you give a minimal working example (or illustrate with a figure)?
Same as before
Please include the following if applicable:

[x] Update the docstring(s)
[x] Update the documentation
[x] Tests to check the (new) code is working as desired.
[ ] Does it solve one of the open issues on github?

coverage: 91.341% (+0.01%) from 91.327%
when pulling 4604484e075b82ab213e6d5cc0ad0c02e502d733 on alt_s1_llh
into 476bf1afd9dcf5015f6931c8dd1b27811ea6f1b9 on master.

May I suggest @minzhong98 as a reviewer for this PR? He is an expert on the S1 PL cut

This PR looks good to me, thanks @zihaoxu98 !

I think we still need to discuss whether we need this nice PR and more importantly the cut depends on it.

I agree. No rush on merging this PR


Problems loading module and defining animated components (Newbie).

Trying to get this going in a project and running into some problems.  From there I also re-ran nodemon, and I get an Unexpected reservered word Syntax error.
(function (exports, require, module, __filename, __dirname) { import raf from
                                                              ^^^^^^
SyntaxError: Unexpected reserved word
    at exports.runInThisContext (vm.js:73:16)
    at Module._compile (module.js:443:25)
    at Module._extensions..js (module.js:478:10)
    at Object.require.extensions.(anonymous function) [as .jsx] (/home/will/projects/zipwhip/verification-service/node_modules/babel-core/lib/api/register/node.js:214:7)

So I figure I'm probably using the webpack loader wrong. Any advice on this? Still learning Webpack build tool and es6/7 stuff. Thanks in advance!

Do you add the jsx extension to the list of extensions resolved by webpack?
It should be something like that in your webpack config:
  resolve: {
    extensions: ['', '.js', '.jsx'],
  },

see http://webpack.github.io/docs/configuration.html#resolve-extensions

Yeah. I have that there. I've got lots of other jsx files and npm modules working fine. Just seem to be struggling with this one for some reason =/. Let me play a bit more and see if I can formulate a better question or description of my problem.
Thanks for the help! This looks like an amazing module once I can get it up and running. thumbsup

Thanks to open a new issue if needed.


Lab 03 CSV Header Row Missing

Lab/Demo: 03
Task: 03
Step: 06
When I executed the PS script, it created everything fine, but apparently, the CSV files don't have the header row. I had to delete them, and upload the versions that are in this repo.

Are you sure you ran the setup script for Lab 3 (not 4)? The script for Lab 3 uploads the files here, which include the header.

I'll check tomorrow again, but I copy pasted the commands directly, so it shouldn't be that. I'll keep you posted :)

@francocalvo , were you able to repro the issue?

Closing as non-repro


Feat: Display Total Playlist Video Time

I want to display the total playlist cumulative time in the Queue container. It should update on videos added/removed from playlist.

Hey, interested in taking on this issue if available.

@cjdeniz9: Sure. I'll assign you to it.


Callback with optional argument that should be passed doesn't in Java

:bug: Bug Report
Affected Languages

[ ] TypeScript or Javascript
[ ] Python
[x] Java
[ ] .NET (C#, F#, ...)

General Information

JSII Version: 0.20.7
Platform:   Darwin 186590cdb71d.ant.amazon.com 18.7.0 Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64 x86_64

What is the problem?

This code works in TypeScript:
import { Construct, Stack } from '@aws-cdk/core';
import events = require('@aws-cdk/aws-events');

export class MyStack extends Stack {
    constructor(scope: Construct, id: string) {
        super(scope, id);

        new events.Rule(this, 'Rule', {
            targets: [
                new MyTarget(),
            ],
            eventPattern: {
                source: ['my-source'],
            },
        });
    }
}

class MyTarget implements events.IRuleTarget {
    public bind(rule: events.IRule, id?: string): events.RuleTargetConfig {
        if (!id) {
            throw new Error("Expected 'id' to be passed!");
        }
        return {
            arn: 'arn',
            id: '',
        };
    }
}

But the following does not in Java:
public class HelloStack extends Stack {
    public HelloStack(final Construct parent, final String id) {
        this(parent, id, null);
    }

    public HelloStack(final Construct parent, final String id, final StackProps props) {
        super(parent, id, props);

        // tests a callback getting an optional parameter be non-null
        Rule.Builder.create(this, "Rule")
                .targets(asList(new MyEventTarget()))
                .eventPattern(EventPattern.builder()
                        .source(asList("source"))
                        .build()
                )
                .build();
    }
}

class MyEventTarget implements IRuleTarget {
    @Override
    public RuleTargetConfig bind(IRule rule) {
        throw new RuntimeException("Expected bind(IRule, String) to be called!");
    }

    @Override
    public RuleTargetConfig bind(IRule rule, String id) {
        if (id == null) {
            throw new RuntimeException("Expected id to be not null!");
        }
        return RuleTargetConfig.builder()
                .arn("arn")
                .id(id)
                .build();
    }
}

Full repro: https://github.com/rix0rrr/jsii-test-drive/tree/master/java/callback-optional-provided
Verbose Log

[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (default-cli) on project callback-optional-provided: An exception occured while executing the Java class. java.lang.RuntimeException: Expected bind(IRule, String) to be called!
[ERROR] Error: java.lang.RuntimeException: Expected bind(IRule, String) to be called!
[ERROR]     at KernelHost.completeCallback (/private/var/folders/gl/mhgz0kz11lqgc0dklyry83xnyfk1zw/T/jsii-java-runtime5443972052528047576/jsii-runtime.js:7258:27)
[ERROR]     at KernelHost.processRequest (/private/var/folders/gl/mhgz0kz11lqgc0dklyry83xnyfk1zw/T/jsii-java-runtime5443972052528047576/jsii-runtime.js:7335:16)
[ERROR]     at KernelHost.completeCallback (/private/var/folders/gl/mhgz0kz11lqgc0dklyry83xnyfk1zw/T/jsii-java-runtime5443972052528047576/jsii-runtime.js:7266:25)
[ERROR]     at KernelHost.processRequest (/private/var/folders/gl/mhgz0kz11lqgc0dklyry83xnyfk1zw/T/jsii-java-runtime5443972052528047576/jsii-runtime.js:7335:16)
[ERROR]     at KernelHost.completeCallback (/private/var/folders/gl/mhgz0kz11lqgc0dklyry83xnyfk1zw/T/jsii-java-runtime5443972052528047576/jsii-runtime.js:7266:25)
[ERROR]     at KernelHost.callbackHandler (/private/var/folders/gl/mhgz0kz11lqgc0dklyry83xnyfk1zw/T/jsii-java-runtime5443972052528047576/jsii-runtime.js:7247:33)
[ERROR]     at Object.value (/private/var/folders/gl/mhgz0kz11lqgc0dklyry83xnyfk1zw/T/jsii-java-runtime5443972052528047576/jsii-runtime.js:7920:41)
[ERROR]     at Rule.addTarget (/private/var/folders/gl/mhgz0kz11lqgc0dklyry83xnyfk1zw/T/jsii-kernel-2JalbH/node_modules/@aws-cdk/aws-events/lib/rule.js:68:36)
[ERROR]     at new Rule (/private/var/folders/gl/mhgz0kz11lqgc0dklyry83xnyfk1zw/T/jsii-kernel-2JalbH/node_modules/@aws-cdk/aws-events/lib/rule.js:42:18)
[ERROR]     at Kernel._wrapSandboxCode (/private/var/folders/gl/mhgz0kz11lqgc0dklyry83xnyfk1zw/T/jsii-java-runtime5443972052528047576/jsii-runtime.js:8205:19)
[ERROR]     at Kernel._create (/private/var/folders/gl/mhgz0kz11lqgc0dklyry83xnyfk1zw/T/jsii-java-runtime5443972052528047576/jsii-runtime.js:7749:26)
[ERROR]     at Kernel.create (/private/var/folders/gl/mhgz0kz11lqgc0dklyry83xnyfk1zw/T/jsii-java-runtime5443972052528047576/jsii-runtime.js:7503:21)
[ERROR]     at KernelHost.processRequest (/private/var/folders/gl/mhgz0kz11lqgc0dklyry83xnyfk1zw/T/jsii-java-runtime5443972052528047576/jsii-runtime.js:7293:28)
[ERROR]     at KernelHost.run (/private/var/folders/gl/mhgz0kz11lqgc0dklyry83xnyfk1zw/T/jsii-java-runtime5443972052528047576/jsii-runtime.js:7233:14)
[ERROR]     at Immediate.setImmediate [as _onImmediate] (/private/var/folders/gl/mhgz0kz11lqgc0dklyry83xnyfk1zw/T/jsii-java-runtime5443972052528047576/jsii-runtime.js:7236:37)
[ERROR]     at runCallback (timers.js:705:18)
[ERROR]     at tryOnImmediate (timers.js:676:5)
[ERROR]     at processImmediate (timers.js:658:5)

The reason is because there can be only one callback for a given name, and the interface generates an overload. The way callbacks get processed means that only one of them (which one may be non-deterministic) may ever be invoked by the callback handler.

Workaround: when overriding methods, only override the variant with all the parameters. There is no known way to work around this problem when implementing CDK interfaces.

This isn't really a workaround, though, is it (it doesn't work in the repro example, for one thing)?


⚠ BeyondHD has degraded performance

In 952154b, BeyondHD ($BHD) experienced degraded performance:

HTTP code: 200
Response time: 1522 ms

Resolved: BeyondHD performance has improved in 942c971 after 9 minutes.


[BUG] PCA not created when n_cells = 2

It seems that the bug below is an uncaught case where there are exactly 2 cells (after processing). In that case, we can't calculate highly variable genes, so we skip PCA entirely.
Error executing process > 'sce_to_anndata:export_anndata (SCPCL001160)'

Caused by:
  Essential container in task exited

Command executed:

  sce_to_anndata.R         --input_sce_file SCPCL001160_processed.rds         --output_rna_h5 SCPCL001160_processed_rna.h5ad         --output_feature_h5 SCPCL001160_processed_null.h5ad         --output_pca_tsv SCPCL001160_processed_pca.tsv

  # move any normalized counts to X in AnnData, convert matrices, and add PCA metadata
  if [ "processed" = "processed" ]; then
    reformat_anndata.py --anndata_file SCPCL001160_processed_rna.h5ad --pca_meta_file SCPCL001160_processed_pca.tsv
    # move counts in feature data, if the file exists
    if [ -f "SCPCL001160_processed_null.h5ad" ]; then
      reformat_anndata.py --anndata_file SCPCL001160_processed_null.h5ad --hvg_name "none"
    fi
  fi

Command exit status:
  1

Command output:
  (empty)

Command error:
  sce read
  Formatting done
  Registered S3 method overwritten by 'zellkonverter':
    method                                             from
    py_to_r.pandas.core.arrays.categorical.Categorical reticulate
  singler_results cannot be converted between SCE and AnnData.
  /usr/local/renv/basilisk/1.16.0/zellkonverter/1.14.1/zellkonverterAnnDataEnv-0.10.6/lib/python3.12/site-packages/anndata/_core/anndata.py:430: FutureWarning: The dtype argument is deprecated and will be removed in late 2024.
    warnings.warn(
  Exported RNA
  Traceback (most recent call last):
    File "//nextflow-bin/reformat_anndata.py", line 70, in <module>
      raise FileExistsError("`pca_meta_file` does not exist.")
  FileExistsError: `pca_meta_file` does not exist.

Work dir:
  s3://nextflow-ccdl-data/work/8e/e3267ca5a43b81f8c32ee139d0d8b5

Container:
  ghcr.io/alexslemonade/scpcatools-anndata:v0.4.1

Tip: when you have fixed the problem you can continue the execution adding the option `-resume` to the run command line

I will investigate this in order to complete https://github.com/AlexsLemonade/ScPCA-admin/issues/986
Originally posted by @jashapiro in https://github.com/AlexsLemonade/scpca-nf/issues/789#issuecomment-2454862215

There are a few possible solutions here:

Skip PCA in this case completely, as we do now, but account for this in later steps that assume a PCA will be present. (I have implemented this already).
Force PCA for 2 cells without calculating highly variable genes (and then account for potentially missing highly variable genes variables) (modify this code: https://github.com/AlexsLemonade/scpca-nf/blob/aea4c80d34930002070481116ec92e9dd7ee79b8/bin/post_process_sce.R#L245-L263)
Change the filter step (https://github.com/AlexsLemonade/scpca-nf/blob/aea4c80d34930002070481116ec92e9dd7ee79b8/modules/export-anndata.nf#L70-L73) to only create anndata files for files with at least 3 cells.

All of these are pretty easy, but I think I favor option 3, and then maybe designating this sample as low quality so we don't include it on the portal?
A note that this seems to have appeared with some modification (or change in seed) for miQC where a sample that previously had 7 cells after filtering there now has only 2.

Option 3 would work for me.

closed by #799


Break out data classes into separate files

Figure out how to import from a data folder preserving namespace conventions

fixed.


Differentiate a view from a dashboard

For both 'Query Views for a Site' & 'Query Views for a Workbook' add information to differentiate between a dashboard and a view.

This attribute has been available since at least API v3.0


how to run it with zed 1? thanks

Preliminary Checks

[X] This issue is not a duplicate. Before opening a new issue, please search existing issues.
[X] This issue is not a question, bug report, or anything other than a feature request directly related to this project.

Proposal
--
Use-Case
the command below won't work  ros2 run zed_rgb_convert zed_rgb_convert
Anything else?
how to run?

Hi @AndreV84
can you provide more information?
What do you expect? What do you get instead?

@Myzhar Thank you for following up
I tested this thing after getting it built
ros2 run zed_rgb_convert zed_rgb_convert

Could you extend on how to run it, please?
Here they point out that just running it won't work: https://www.stereolabs.com/docs/ros2/ros2-composition/
How it is supposed that I execute it with zed camera from the built examples?

It appears that in your readme ther are 0 instructions on use of the example in relation to how to execute it
On the other hand at the article they point out that it won't just work
The launch file
Starting the node using the $ ros2 run zed_rgb_convert zed_rgb_convert CLI command will result in a failure: many errors and warning will be logged in the console, while publishers and subscribers will be not linked.

Why won't you provide the example in a way it will just work with the supplied launch file?

@AndreV84 you can find the full explanation of this tutorial on the Stereolabs online documentation as reported in the readme.
The scope of this tutorial is to explain how to take advantage of the COMPOSITION concept in ROS2.
A simple README with command to launch the node is out of the scope of the tutorial.
If you read all the documentation, you can understand that the correct way to execute the node is not but calling it directly with the run command, but using the explained LAUNCH file with the correct configuration parameters.

@Myzhar, why won't you supply the correct version of the launch file in the github repository? It has a launch file supplied. Is it errorneous? copy paste from the tutorial causes formatting errors

how do you run the launch file if not using the run? these steps are not in the vague description of the article nor in the github repository

The launch file in the repository is correct and working as expected with the latest version of the ROS2 Wrapper repository and the ZED SDK v3.8

it won't run
it crashes with errors as wasa pointed out in the tutorial
how do you run the launch file if not using the run?
could you extend, please?

I can run this thing from the examples
ros2 launch zed_display_rviz2 display_zed.launch.py

seems I can run it with
ros2 run zed_rgb_convert zed_rgb_convert.launch.py

The following "problem" has been fixed with the most recent release of the ZED ROS2 Wrapper:
what():  intraprocess communication allowed only with volatile durability
If you get this error then you are not using the latest versions of the ZED ROS2 repositories.


Incorrect local import

Hi,
There seems an incorrect import in the shapetree.js module in the shapetree.js/lib/shape-tree.js file.
https://github.com/shapetrees/shapetree.js/blob/d20e57f5f822012a7974a1730becca7de61771b5/lib/shape-tree.js#L26
This import looks for a non-existing local package.
Probably this import should be for @shexjs/path?
I changed this locally and now the tests run for me.

Yep, gotta put that on my list of stuff to update when Jose and I are done finalizing the path language (which we're working on now).


Registering in 32 bit ascom is ok, but when I tyy to connect in NINA

I have had no such problem. I'm not sure what you're doing, but the Visual Studio project should be configured properly out of the box. When I last published the DLL, I simply opened the project, built it, and copied the DLL.

I've done the same, but got problems with regasm as i've alteady written.
This last thing has not to do with recompilation: I used your original
compiled DLL as downloaded from the resources sectiin. In my old PC It
worked flawlessy, buy when i've tried to install It on the win11 PC that
controls mount and camera (remotely) It has occurred the strange
situation....
Il dom 26 mag 2024, 01:51 Julien Lecomte @.***> ha
scritto:

I have had no such problem. I'm not sure what you're doing, but the Visual
Studio project should be configured properly out of the box. When I last
published the DLL, I simply opened the project, built it, and copied the
DLL.
—
Reply to this email directly, view it on GitHub
https://github.com/jlecomte/ascom-telescope-cover/issues/10#issuecomment-2131713547,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BIWGRPDVYZMGQHVK3HRD5S3ZEEPY5AVCNFSM6AAAAABII73KN2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZRG4YTGNJUG4
.
You are receiving this because you authored the thread.Message ID:
@.***>


Textfiled can only input Number?

How to input characters?

Ok, this line can solve the problem, more options can be found here: https://facebook.github.io/react-native/docs/textinput.html
.withKeyboardType('default')


Bug: Crashes when trying to recognize speakers

What happened?
Vibe crashes when I turn the recognize speakers option on. It works fine otherwise.
Steps to reproduce
turn on recognize speakers, download model, hit transcribe.
What OS are you seeing the problem on?
Window
Relevant log output
options: {
  "path": "C:\\Users\\XXX\\Documents\\Sound Recordings\\XXX + XXXYYY.m4a",
  "lang": "en",
  "verbose": false,
  "n_threads": 4,
  "init_prompt": "",
  "temperature": 0.4,
  "translate": null,
  "max_text_ctx": null,
  "word_timestamps": false,
  "max_sentence_len": 1
}

Caused by:
    Failed to create ONNX Runtime session: Load model from C:\Users\XXX\AppData\Local\github.com.thewh1teagle.vibe\segmentation-3.0.onnx failed:Protobuf parsing failed.

    Location:
        C:\Users\runneradmin/.cargo\registry\src\index.crates.io-6f17d22bba15001f\pyannote-rs-0.2.7\src\session.rs:7:19

Location:
    core\src\transcribe.rs:167:108
App Version: vibe 2.5.1
Commit Hash: bfa7a94b0fa46a50caa6f6a92a27ecb6de06b4bb
Arch: x86_64
Platform: windows
Kernel Version: 10.0.22631
OS: windows
OS Version: 10.0.22631
Cuda Version: n/a
Models: ggml-medium.bin
Default Model: "C:\\Users\\XXX\\AppData\\Local\\github.com.thewh1teagle.vibe\\ggml-medium.bin"
Cargo features: vulkan

{
    "avx": {
        "enabled": true,
        "support": true
    },
    "avx2": {
        "enabled": true,
        "support": true
    },
    "f16c": {
        "enabled": true,
        "support": true
    },
    "fma": {
        "enabled": true,
        "support": true
    }
}

Hey! thanks for report.
It looks related to https://github.com/microsoft/onnxruntime/issues/13117
Please try to delete the files related the diarization in the models folder, it should be the segmentation-3.0.onnx and wespeaker_en_voxceleb_CAM++.onnx.
Then disable and enable diarization option again.

Duplicate of https://github.com/thewh1teagle/vibe/issues/279


AGAIN... PPA webupd8team/brackets NOT WORK!!

Again! New problem!! Also with PPA!
KEY GPG:
gpg: key C2518248EEA14886: new key but contains no user ID - skipped
gpg: Numero totale esaminato: 1
gpg:          senza user ID: 1

And APT:
E: Il repository "http://ppa.launchpad.net/webupd8team/brackets/ubuntu eoan Release" does not have a release file.

Bro you need to calm tf down lmao.
Go to the apt source list file for that ppa in /etc/apt/sources or /etc/apt/sources.d/ and change eoan back to disco, i bet you it will work
Disclaimer: i dont know it will work, but its a guess. Ive had a few issues like that since updating to 1910, and thats worked to fix em for me