only one row of data is returned per request Cursor mode

A few days ago, I modified the crawler code according to the tutorial. (http://docs.tweepy.org/en/latest/cursor_tutorial.html)
oldcode：
while len(new_tweets) > 0:
   new_tweets = api.user_timeline(screen_name = screen_name, count = 200, max_id = maxid)
   alltweets.extend(new_tweets)
   maxid = alltweets[-1].id - 1

newcode：
for status in tweepy.Cursor(api.user_timeline(screen_name = screen_name)).items():
    process_status(status)

but In newcode Cursor mode, only one row of data is returned per request.
So that , before it reached  RateLimitError,  only get about  20000 row of data
but in old way, i total get about  300000 row of data , before it reached  RateLimitError.
(maybe it  fetch 200 row of data in per request?)
Is there something wrong with my code or the Original  tweetpy's API was designed be that?
I hope Cursor mode will return as much data as possible  in per request.

for status in tweepy.Cursor(api.user_timeline(screen_name = screen_name)).items():
    process_status(status)

This will error with tweepy.error.TweepError: This method does not perform pagination.
Instead, screen_name should be passed as a parameter to the Cursor constructor.
See http://docs.tweepy.org/en/latest/cursor_tutorial.html#passing-parameters-into-the-api-method.
You can still pass the count parameter to the Cursor constructor, e.g.:
for status in tweepy.Cursor(api.user_timeline, screen_name = screen_name, count = 200).items():
    process_status(status)

The Cursor will pass the argument to user_timeline for each request, so that it'll retrieve up to 200 Tweets, instead of the default of 20.

oh man，you are my saver


Reproduce Fig. 4 from paper

Hi, thank you for this great work.
How would one reproduce Figure 4 from your paper i.e "The average sparsity pattern"?
Thanks

I think just calculate the number of times each location gets pruned across different filters, from which you can get the frequency where each location gets pruned. Then simply use the frequency to plot the sparsity pattern.


Unexpected interaction between between dm_control and JAX

The order of importing jax and dm_control has a large effect on FPS.
I'm using dm-control==1.0.3, jax==0.3.1 and jaxlib==0.3.0+cuda11.cudnn82
The script below reproduces the issue, with code adapted from https://github.com/ikostrikov/jaxrl/tree/main/jaxrl/wrappers
What should be the correct order of importing the libraries?
fast = True
if fast:
    from dm_control import suite
    import jax
else:
    import jax
    from dm_control import suite

from dm_env import specs
import numpy as np
from typing import Dict, Optional, OrderedDict
import copy
import gym
from gym import core, spaces

def dmc_spec2gym_space(spec):
    if isinstance(spec, OrderedDict):
        spec = copy.copy(spec)
        for k, v in spec.items():
            spec[k] = dmc_spec2gym_space(v)
        return spaces.Dict(spec)
    elif isinstance(spec, specs.BoundedArray):
        return spaces.Box(low=spec.minimum,
                          high=spec.maximum,
                          shape=spec.shape,
                          dtype=spec.dtype)
    elif isinstance(spec, specs.Array):
        return spaces.Box(low=-float('inf'),
                          high=float('inf'),
                          shape=spec.shape,
                          dtype=spec.dtype)
    else:
        raise NotImplementedError

class DMCEnv(core.Env):
    def __init__(self,
                 domain_name: str,
                 task_name: str,
                 task_kwargs: Optional[Dict] = {},
                 environment_kwargs=None):
        assert 'random' in task_kwargs, 'please specify a seed, for deterministic behaviour'

        self._env = suite.load(domain_name=domain_name,
                               task_name=task_name,
                               task_kwargs=task_kwargs,
                               environment_kwargs=environment_kwargs)
        self.action_space = dmc_spec2gym_space(self._env.action_spec())

        self.observation_space = dmc_spec2gym_space(
            self._env.observation_spec())

        self.seed(seed=task_kwargs['random'])

    def __getattr__(self, name):
        return getattr(self._env, name)

    def step(self, action):
        assert self.action_space.contains(action)

        time_step = self._env.step(action)
        reward = time_step.reward or 0
        done = time_step.last()
        obs = time_step.observation

        info = {}
        if done and time_step.discount == 1.0:
            info['TimeLimit.truncated'] = True

        return obs, reward, done, info

    def reset(self):
        time_step = self._env.reset()
        return time_step.observation

def make_env(env, seed):
    domain_name, task_name = env.split('-')
    env = DMCEnv(
        domain_name = domain_name,
        task_name   = task_name,
        task_kwargs = {'random': seed}
    )
    if isinstance(env.observation_space, gym.spaces.Dict):
        env = gym.wrappers.FlattenObservation(env)
    return env

env = make_env('humanoid-run', 42)
for t in range(10000):
    action = env.action_space.sample()
    next_state, reward, done, info = env.step(action)

OOC, how big is the impact?

I think nearly up to 1.5x

Just so I understand, this script does nothing with JAX other than importing it, right? dm_control itself doesn't do anything with JAX.
If it's easy, could you please do the timing around the environment loop rather than timing the whole script?
My first hypothesis is that it's to do with the time taken to import the libraries rather than runtime speed, and that there may be some caching which makes whichever script you run second load faster.

Thanks for your script! This makes sense.

We still don't know the cause for this.
It's not a high priority issue for us, so it's unlikely to be fixed soon.
For now, could you import in alphabetical order? 😝

@dyth could you please check if the issue still persists as of https://github.com/deepmind/dm_control/commit/ac6d2cd7af7f6d20bbc0e51df8ba41016a07f1f9 ?

@saran-t I can confirm that dm_control v1.0.5 solved the issue! The importing order does not matter now. Moreover, it is ~20% faster than before (fast=True in v1.0.3). Thank you!

That's great to hear! I still have no idea how the Jax import order enters into the picture though. The fix is to do with dm_control performance generally.


Brightness buttons seem to take single increment steps, instead of bigger ones.

It takes about a minute to go from lowest brightness to highest brightness.
Not sure if it is related to this latest commit: Brightness RAW
It was working before and I doubt I dabbled with the settings myself, but that could very well be.
New to the sway-edition and I think it's great and very easy to work with, once I understand what parts do what.
Also: Is there a specific place where manjaro-sway discussions are centered or are they meant to take place here on github?
Not sure if there is an IRC or a Discord or the Manjaro forum.
I am working on a GPU %-indicator module for the waybar, which I have sort of working for the dGPU, and working now on the intel iGPU, mostly as a learning project, but an indicator of whether the dGPU is running/rendering would be helpful as a minimal icon.

Yes, it takes about 8 or 9 presses of the brightness down button, for it to register as a 1% decrease.

Same here.
The weird thing is that the latest commit is not yet available to me. Had to test this by manually updating my config to reflect the latest commit.

this surely is related to the latest commit (and not released yet afaik). it is hard to find a solution that suits everyone due to how "light" works.
It had the additional parameter "T" that allows an increase by percentage so perhaps we should use that instead. See my thoughts so far here.

I think light -A 5 is already interpreted as percentage:

Increase backlight brightness by 5 percent
https://github.com/haikarainen/light

Cheers, I didn't even know about that command, as I am new to most of this.
I will most likely make a bindsym to quickly go to max brightness and one for minimum brightness, and from there I can go to the slower and more fine-tuned scrolling.
Thanks for linking the 'light' page, will have a read through that next.
A small update on the iGPU % indicator, there's most likely a bug in the JSON output of 'intel_gpu_top', so it can only give the initial value, but can't update like the values of htop can, due to a missing bracket. So I hope that can get fixed relatively soon, so I could further work on that module for waybar. The radeon (AMD) one works, but the code could use some polishing, as I copied it from another redditor.
Eventually, both the iGPU and dGPU indicators could use the same value, and make use of the tooltip.

this works, as long as the scale of your device is so, that 5% of your scale is greater than 1 single increment on your scale. If your scale is 1-15 (which it is on a lot of devices according to arch wiki), then 5% is lower than 1. And then upping it by 5% wont do anything.

Clear, so we need to find a way that works for both?
In the meantime, I have added these two bindsyms that just go to min/max the brightness.
bindsym shift+XF86MonBrightnessDown exec light -S 1
bindsym shift+XF86MonBrightnessUp exec light -S 100

Probably this needs some check as to what the minimal step is, percentage-wise. But the 100 must clearly work for all the other devices, I would think.

What would do: dynamically calculating the minimum percentage needed and taking it if its bigger than e.g. 5%. That should be possible.

So, not sure if you'd have to both check 'intel_backlight' and 'acpi_video0', but the former gives me:
937```

which seems to make sense with the roughly 9 presses for a 1% increase.

On the [wiki](https://wiki.archlinux.org/title/backlight#ACPI) here they mention the 15 value, like you said:

```cat /sys/class/backlight/acpi_video0/max_brightness
15

So we should do a check there, but I am not sure if we can make the `backlight/$VARIABLE/max_brightness. Because you'd need to check for the correct device/driver thingy.
But once that is done, I think it can work as intended.

Maybe rawmode should work. And if the max_brightness > 15 or 20, then go for percentages, and if lower go for the raw steps. I like the extra granularity, but as a first interaction, it seems really to be broken, but with the SHIFT bindsyms, it works rather well for my usecase at least, so I will keep that.
But in general 15 or 20 stepped brightness works much better and intuitive.

there hopefully are be better ways, but how about:
MAX_BRIGHTNESS=$(light -O && light -S 100 && light -r -G && light -I)
FIVE_PERCENT=$( printf "%.0f\n" $(( MAX_BRIGHTNESS * 0.05 )) )
BRIGHTNESS_RAW_STEP=$( [ $FIVE_PERCENT -ge 1 ] && echo $FIVE_PERCENT || echo 1  )

if that percentage works, it should be really easy to add this add a little script that gets called.

@boredland Note that the max raw value can be obtained by light -Mr.
See https://github.com/haikarainen/light/issues/128

very good find. so, imo we can determine it using this:
 printf "%.0f\n" $(( $(light -Mr) * 0.05 )) | grep -Eo '[1-9]{1}[0-9]{0,3}' || echo 1

This will do it as well as light -r -A does tolerate floats.
echo $(( $(light -Mr) * 0.05 < 1 ? 1 : $(( $(light -Mr) * 0.05 )) ))

you may try this as for example .config/sway/config.d/04-brightness.conf:
set $brightness_step bash -c 'echo $(( $(light -Mr) / 100 * 5 < 1 ? 1 : $(( $(light -Mr) / 100 * 5 )) ))'
set $brightness_up light -r -A $($brightness_step)
set $brightness_down light -r -U $($brightness_step)

$unbindsym XF86MonBrightnessUp
$unbindsym XF86MonBrightnessDown

$bindsym XF86MonBrightnessUp exec $brightness_up && $onscreen_bar $(light -G | cut -d'.' -f1)
$bindsym XF86MonBrightnessDown exec $brightness_down && $onscreen_bar $(light -G | cut -d'.' -f1)

Yes, this works great! in 20 steps for me in the test file.
The only thing that would make it more optimal, would to go with the lowest possible value before going fully dark. So more granularity between 0-5%. As that's where each value matters more than let's say 95-100%. I will have a think on how to implement that, but it's been helpful to see how this all works. I didn't know about the onscreen_bar, but another smaller bug is the muted microphone, that only fills up half the bar, instead of the full bar.
Will see if I can fight the right code for this and whether this is also device specific. Either it can be made 100 as in full, or you could show the strength of the microphone input from the pulseaudio.

We can set the minimal value to 1 on boot using light -N 1. The other point I don't really get tbh.
This is how the audio bar looks for me:
https://user-images.githubusercontent.com/4662748/148132664-fa88c635-21cf-4da0-b20d-ab42fa4ccf28.mp4

Ah, in that case it works as intended. It might have been that I had set my mic to 50% and therefor it looked like it was either zero or one, and then stuck in the middle.
So it already did show the strength of the mic, I just hadn't checked or wasn't aware.

For whatever reason, this does not work for me on a framework laptop:
❯ brightnessctl
Device 'intel_backlight' of class 'backlight':
	Current brightness: 1 (0%)
	Max brightness: 96000
# Lots of brightness-up-presses (Fn+F8)
❯ brightnessctl
Device 'intel_backlight' of class 'backlight':
	Current brightness: 1 (0%)
	Max brightness: 96000

well, there may be a rounding issue :/ here you can see which is the minimal step: https://github.com/manjaro-sway/desktop-settings/blob/sway/community/sway/etc/sway/definitions#L37
would be interesting what that is on your machine.

Looks all fine and dandy:
❯ echo $(( $(light -Mr) / 100 * 5 < 1 ? 1 : $(( $(light -Mr) / 100 * 5 )) ))
4800
❯ bash -c 'echo $(( $(light -Mr) / 100 * 5 < 1 ? 1 : $(( $(light -Mr) / 100 * 5 )) ))'
4800
❯ light -S 1
❯ light
1.00
❯ brightness_step=4800
❯ light -r -A $brightness_step
❯ light
6.00

Maybe the key itself is not recognised correctly?

Aha, showkey does not show the keys indeed ^^

oh, damn.

Alright, it's a device issue ;)
https://community.frame.work/t/12th-gen-not-sending-xf86monbrightnessup-down/20605/13
So you can close this

ah, cool this is going to be tackled in the driver!


Mypy: improve type hints

Describe the bug
Hello!
The translate function returns a Dict[str, Any].
When using the result of a translation, I want to read the loc attribute.
Eg: error.get("loc")
But it leads to a Mypy error: Value of type "Optional[Any]" is not indexable.
To correct this, I use the ErrorDict  type included in the pydantic lib, to improve type checking. If we look at the pydantic source code, we get:
Loc = Tuple[Union[int, str], ...]

class _ErrorDictRequired(TypedDict):
    loc: Loc
    msg: str
    type: str

class ErrorDict(_ErrorDictRequired, total=False):
    ctx: Dict[str, Any]

which is an equivalent of:
class ErrorDict(TypedDict, total=False):
    loc: Loc
    msg: str
    type: str
    ctx: Dict[str, Any]

Proposal
Instead of returning a Dict[str, Any], the translate function should return a pydantic ErrorDict.
Environment

OS: Linux Ubuntu 22.04
pydantic-i18n version: 0.3.0
Python version: 3.10

Hi @Merinorus Thanks a lot for your time and fix. Of course, I will review it soon and this fix will be in the next release

Hi @Merinorus This issue was fixed in PR #88
It'll be released soon


Allow Curious Reader app to operate with past manifest structures

User Story
As a developer,
I want to make sure the Curious Reader app can handle past manifest structures,
So that if we make a change to the current manifest structure, it doesn't break the app from working.
Acceptance Criteria
Given that I have two manifests with different structures,
When I load both manifests,
Then the app should decide how to handle the manifest and allow the app to operate normally.

Hey @burrage ,
In this task we want to make sure the Curious Reader app can handle past manifest structures,
As I understand it, our goal is to ensure that the app can seamlessly handle both the existing JSON structure and any potential future modifications. This hinges on the major and minor version updates present in the web_app_manifest.json file hosted on the WordPress Server.
Could you kindly confirm if my understanding aligns with the intended task? I just want to make sure that I'm on the right track. Your clarification would be greatly appreciated.

@amitsinghsutara That's it exactly.
So for an Acceptance Criteria test, you can basically just make a second JSON that has some sort of structural change (doesn't matter what it is-- we can keep it simple like adding an extra field let's say). What we're really looking at here is the START of some code scaffolding as you mentioned that reads in the version number and then decides how to handle it.
With that scaffolding in place, when we DO make a real change to the JSON structure, we already have some code in place for how the app would behave.

If we wanted to think of an even better Acceptance Criteria test, the change to the JSON structure could be something that would break operation of the app-- but don't go too wild with this because it's basically a made-up change to the structure that we aren't actually doing!
Part of this exercise might also entail thinking up additional tasks on how we might prevent breaking changes from making it to production around this JSON file?
Given our desired process flow and the overarching technical infrastructure we are using, how could we help the app continue working given a change is really what we are thinking about here :-)


Add Dungeonchain paths to IBC registry

Added
dungeonchain-osmosis
dungeonchain-cosmoshub
Channels checked and working.

The chain names must be in alphabetical order.

Resolved, thanks for the heads up!

@JeremyParish69


sqlplus - no listener

Hello,
I have the following when I am trying to connect to the database:
PS D:> sqlplus system/oracle@//localhost:1521/orcl
SQL*Plus: Release <IP_ADDRESS>.0 Production on Wed Jun 12 09:19:22 2019
Copyright (c) 1982, 2016, Oracle.  All rights reserved.
ERROR:
ORA-12541: TNS:no listener
PS D:> sqlplus system/oracle@localhost/orcl
SQL*Plus: Release <IP_ADDRESS>.0 Production on Wed Jun 12 09:19:36 2019
Copyright (c) 1982, 2016, Oracle.  All rights reserved.
ERROR:
ORA-12541: TNS:no listener
Container is started as you did in the readme file.
PS: I also tried by replacing localhost by <IP_ADDRESS> or <IP_ADDRESS>.
Thanks for your help,
Cyryl

Hi @cyryl1972
indeed you are correct, sqlplus gaves me the same error, when I use SQLcl it works...
sql system/oracle@localhost:1521/orcl

This is strange, thus both tools should use the same connection string settings...Nevertheless I usually create an entry in my local tnsnames.ora, and this works for both pretty well:
orcl_docker =
  (description =
    (address_list =
      (address = (protocol = tcp)(host = <IP_ADDRESS>)(port = 1521))
    )
    (connect_data =
      (server = dedicated)
      (service_name = orcl)
    )
  )

Hello @Dani3lSun,
Thanks for this quick-like-hell answer ;-)
it is working adding --privileged flag.
I have also restarted docker process (I am using Docker Desktop on Windows host).
This issue is closed.
have a good day,
Cyryl

That's confusing that the flag --privileged has an impact on this...It is more insecure if you use this on a container, thus it has more rights, but for development on localhost it should be fine...
I tried the following connection string, and this also works with sqlplus:
sqlplus system/oracle@'(description=(address_list=(address=(protocol=tcp)(host=<IP_ADDRESS>)(port=1521)))(connect_data=(server=dedicated)(service_name=orcl)))'

@Dani3lSun

Maybe it's a thing between OCI (sqlplus) and JDBC Thin Client (SQLcl), but for my understanding both just use TCP/IP...I will close this issue now, thus it works now for you! :)

It is strange. I am at all a docker expert ... so maybe I don't understand all the things.
I did another test:

restart docker process
run container without --privileged flag
sqlplus is working fine !!

so sorry for bothering you for a non-existent issue.


Incorrect type inferred with early return

When returning early from a function, types are not inferred correctly in functions defined later in the function. This occurs only with strictNullChecks turned on. Playground.
TypeScript Version<EMAIL_ADDRESS><EMAIL_ADDRESS>Code
interface hasMethods {
    remove(): void
    getExports(key: string): {[key: string]: any} | undefined
}

let obj: hasMethods = {
    remove: () => { },
    getExports: () => undefined
}

;(function () {
    let x = obj.getExports('test')
    if (!x) return
    // No error, as expected
    x.test()
    // Error, x might be undefined
    obj.remove = () => x.test()
}())

x is a mutable variable. Since x might be mutated at some point, we can't be sure that a reference to x in a callback will still have x defined.
In this case you're not actually mutating x, so use const instead.


Upgrade to Java 17

(Also investigate removal of Lombok)

Blocked for now.
https://github.com/AxonFramework/AxonFramework/issues/1826


Cleanup NetBeans license header for xml.jaxb

Review and cleanup the license header in xml.jaxb
 !????? xml.jaxb/src/org/netbeans/modules/xml/jaxb/CodeTemplates.xml
 !????? xml.jaxb/src/org/netbeans/modules/xml/jaxb/layer.xml
 !????? xml.jaxb/src/org/netbeans/modules/xml/jaxb/ui/Bundle.properties

See a long introduction about what we are doing here: https://cwiki.apache.org/confluence/display/NETBEANS/List+of+Modules+to+Review

Duplicate of #219


properly deprecated to_colormap(cm, n)

to_colormap(cm, n) got removed without properly deprecating it, and without actually testing & exporting the new way of doing things (categorical_colors).
This adds an descreptive error to to_colormap(cm, n) and tests, exports and fixes categorical_colors

The original PR: https://github.com/JuliaPlots/Makie.jl/pull/1723


Add CardFactory to bot-builder

The ToAttachment functionality has already been implemented on the card classes themselves, so no need for a CardFactory to implement this functionality.


androidx.preference 1.1.0-alpha02

New features

You can now set a SummaryProvider on a Preference to dynamically configure its summary whenever the Preference is updated, or becomes visible to the user.
Added default SummaryProvider implementations for ListPreference and EditTextPreference, which when set will automatically update the summary of the Preference to reflect its saved value, or ‘Not Set’ if no value has been saved. These can be set with app:useSimpleSummaryProvider=”true”

...
Bug fixes

Fixed iconSpaceReserved not working correctly with PreferenceCategories.
Fixed PreferenceCategories not using colorAccent for their title’s color below API 21.
Fixed some SeekBarPreference layout inconsistencies below API 21.

Why the string "Not Set"? How to localize it? What if one think "None" is better?
All in all, please don't add functionality to basic preferences, they should only contain fixes; extend them with AutoSummaryEditTextPreference etc is much better.

Wow didn't expect Google doing this, my apologies. I've nothing to say now.

Sorry for the delay, I was abroad.
The "Not set" text has translations, so it shouldn't be a problem, and the SummaryProvider is not enabled by default. Maybe it will be useful someday though 😅

1.1.0-alpha02 is updated with even more new features.

1.1.0-alpha04 of the lib is coming soon...

1.1.0-alpha04 is out. The README is to-be-updated.

Also, 1.1.0-alpha05 is out as a quick fix for appcompat 1.1.0-alpha05 (contains fragment 1.1.0-alpha08 which is the actual cause) being incompatible with preferences 1.1.0-alpha01 through 1.1.0-alpha04.


Search function in Select

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
In Javas we used select2 for dropdownlists and there when you searched for something and then you select it, its just selected in the list. In autocomplete atm, you only see the searched item.  If you quickly want to change the selected item to the next item in the list, you need to delete the searched text and then typ in the next item in the list.
Also being able to search in a multiselect would be handy.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Being able to filter within the list from mudselect. Example given: https://select2.org/dropdown
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

I think this feature is very much needed.
Someone else had asked about this in another issue some time ago and the suggestion was that Autocomplete does the same thing. It really doesn't.
The biggest difference is that with Autocomplete the user can still type anything into the input field and leave it that way, not selecting an item from the dropdown (if anything even comes up). Because of this we have had to put in place all sorts of crazy validation code to make sure our users aren't entering invalid data from what should be a dropdown (this dropdown has over 100 values in it)
If the Select field could be filtered or searched then the user could ONLY pick from something in the list.
PrimeVue has a great example of this in their "Dropdown" control where you can only select a valid value from the dropdown.
https://primefaces.org/primevue/showcase/#/dropdown

@mikes-gh could you pick this for milestones? I think it's worth it

Is this feature still gonna be done? I think it could be really useful for people, especially on the site I'm working on.

It's in the nice to have list, but as far as I know, nobody is working in it at this moment. There are some serious things to solve first. So, it's available if someone wants to work in it

I am putting it on the high priority list. But as long as nobody is stepping up to PR this it is probably going to sit there for some time.

This issue is now organized in our feature requests project
Note: the issue is closed but that doesn't mean that this won't be implemented. Check the project to see how it is scheduled. If enough users vote for a different scheduling it can be changed. Also, if you want to PR this feature you may do so any time.
You can still discuss this feature here!

Was searching to see if this functionality was already requested and found this. Looks like PR #3702 is implemented and just needs to be updated to resolve the conflicts and add some tests.

Good news. The extension component MudSelectExtended now has the SearchBox parameter.
https://user-images.githubusercontent.com/78308169/216813134-429912bf-cc67-41af-96c3-69519dba26df.mp4
Ready on NuGet: https://www.nuget.org/packages/CodeBeam.MudExtensions/6.2.2
Try online: https://codebeam-mudextensions.pages.dev/mudselectextended

hi, does this search work only with string type or with any other class type?

hi, does this search work only with string type or with any other class type? tried with a custom class. it listed the objects but the search was not working

Probably, it doesn't work with complex types for now, but i think we can add search function with ToStringFunc output

hi, does this search work only with string type or with any other class type? tried with a custom class. it listed the objects but the search was not working

https://user-images.githubusercontent.com/78308169/216959748-bdf42560-8b6f-4227-bf38-613aa33c70dd.mp4
Added ToStringFunc into MudListExtended, now both MudListExtended and MudSelectExtended's search will work with complex objects if you set ToStringFunc. Will come in the new release on extension package.

hi, does this search work only with string type or with any other class type? tried with a custom class. it listed the objects but the search was not working

20230206_142259.mp4
Added ToStringFunc into MudListExtended, now both MudListExtended and MudSelectExtended's search will work with complex objects if you set ToStringFunc. Will come in the new release on extension package.

How can i customize the search functionality
Each time the user type something i want to call an endpoint that return the list of items for the search
Like normal searchFunc in mud auto compete

I guys need some else with implementing this dynamically. I tried multiple times not even AI could find a fix. I am using Guild Id but since I implement the search function i am not able to see the names in the dropdown list just the Ids.

@kemar-art please create a new issue and provide a minimal repro of your problem on try.mudblazor.com (no code screenshots, we don't want to copy code off your pictures manually!). You can tag me in the new issue and I'll try to help if I can.

@henon Thanks but this is project I am working on for a client so I am not able to share the repo. But I was able to get it work by stop using the Id which is Guid and use the name which is string and then on the code behind find the name that was selected and get the Id from there and send it over to the database. Bur I am having some issue with validation what using MudSelectExtended. If you could point me to material to implement validation when using MudSelectExtended I would really appreciate it.

For MudSelectExtended please ask on their github issues at https://github.com/CodeBeamOrg/CodeBeam.MudBlazor.Extensions


[#Noissue] Support version like patch form

Hi.
I have checked that an error occurs when running with agent of latest released 2.5.1-p1 version.
(If you build and use the 2.5.1-p1 tag, then you can get following error .)
java.lang.IllegalStateException: pinpoint-bootstrap-x.x.x(-SNAPSHOT)(-RCx).jar not found.
	at com.navercorp.pinpoint.bootstrap.agentdir.AgentDirBaseClassPathResolver.resolve(AgentDirBaseClassPathResolver.java:73)
	at com.navercorp.pinpoint.bootstrap.PinpointBootStrap.resolveAgentDir(PinpointBootStrap.java:132)
	at com.navercorp.pinpoint.bootstrap.PinpointBootStrap.start(PinpointBootStrap.java:100)

It seems that the version like patch from (-p1) is not supported, I have fixed it.
You can close the PR at any time if your intention is to not support building and using it.
Thanks :)

Thank you for your contribution.
If you don't mind, Could you create an issue?

Thanks.
I am going to make issue :)


Meta Data

Is there any way to scrape data from meta tags?

Just use the selectors for the meta tags. They should work just fine. :smile:

Just use the selectors for the meta tags. They should work just fine. :smile:


Throw exception when reaching max number of iterations

I believe that when computing the transformation with ICP an exception should be thrown then reaching the max number of allowed iterations.
AFAIK currently it is not possible to know if the ICP computation stopped because we reached the max number of iterations or because other checker signalized that the ICP converged. Throwing an exception that contains the last computed transformation would give the option to the user to discard the result (since in most of the cases this will mean that the ICP didn't converge) or use it anyway, if the computed transformation is still relevant for the application.

I'm adding the same comment I did to your pull request here, as I think it make more sense to have this discussion here.
There is a small link with the issue #23 here.
There seem to be a general need to have access to more information through the API about the iterative process either live or after the iterations. So, I agree with @HannesSommer that there is some planning to be done here.
It would make sense to collect here what kind of information users want to access and list so we can rethink properly the TransformationChecker and Inspector class.


Adding EventHub lifecycle tests;include necessary depencency

Relates to #691
@zhongyi-Zhang: Added a function inside the lifecycle test for EventHub and added the appropriate dependency.

It looks the vendor verification failed. Could you run make dep to fix it?

@zhongyi-zhang : I formatted the imports, fixed some other lint warnings and included the Gopkg.lock file to pass the dep ensure. "make dep" worked for me but I had forgotten to include the lock file. Thanks!

@aljannuzzi thanks for following up. Could you fix the lint issues according to the linked "Details"? The make lint should work locally, too.

Hi @zhongyi-zhang , thanks for your guidance. Quick comment: I noticed that in the line 133 in the Makefile, GOPATH is being set as /tmp$$GOPATH. Shouldn't it be /tmp$$PRJ_DIR?
I suspect "dep ensure" is not being executed because of that and it is making the vendored code test fail and all the others. As I've run locally make dep, I have it working from my side.
I will add the changaed make file as part of the commit as well so you can evaluate.
Thanks again!

Oh, quay.io is down... Our base image is there. Ci blocked now :(.

@zhongyi-zhang : do I need to submitt it again or just wait for the jobs to be re-scheduled? Thanks!


test: [M3-8526] - Update remaining Linode Create Cypress tests run against Linode Create v2

Description 📝

Updates remaining Cypress test to run against Linode Create v2 rather than Linode Create v1 🧪
This PR will allow be to begin deleting Linode Create v1

How to test 🧪

Verify Cypress tests pass ✅
Verify all Linode Create related tests run against Linode Create v2

As an Author I have considered 🤔

[ ] 👀 Doing a self review
[ ] ❔ Our contribution guidelines
[ ] 🤏 Splitting feature into small PRs
[x] ➕ Adding a changeset
[ ] 🧪 Providing/Improving test coverage
[ ] 🔐 Removing all sensitive information from the code and PR description
[ ] 🚩 Using a feature flag to protect the release
[ ] 👣 Providing comprehensive reproduction steps
[ ] 📑 Providing or updating our documentation
[ ] 🕛 Scheduling a pair reviewing session
[ ] 📱 Providing mobile support
[ ] ♿  Providing accessibility support

Okay, I essentially extracted out some tests from packages/manager/cypress/e2e/core/linodes/legacy-create-linode.spec.ts into new files like create-linode-with-disk-encryption.spec.ts and create-linode-with-dc-specific-pricing.spec.ts so we can retain the coverage @mjac0bs


DBZ-5490 Document the case when message.key.columns is set and REPLICA IDENTITY of the tables is not FULL.

It breaks tombstone events to have the proper key created because non-primary key columns will be null, and their values in the key will also be null.

@PlugaruT Applied, thanks


move to go modules

Checklist
Not all of these might apply to your change but the more you are able to check
the easier it will be to get your contribution merged.

[X] CI passes
[X] Description of proposed change
[ ] Documentation (README, docs/, man pages) is updated
[ ] Existing issue is referenced if there is one
[ ] Unit tests for the proposed change

move from deprecated govendor to go modules

This is great! Thank you for the contribution!


Json formater reports results incorrectly when  there is an exception in the Around block

Hi,
I want to fail tests that take too long, that's why I am using a timeout in the Around block, as per the documentation. The problem with the json formatter is that when a timeout happens the test step is not marked as failure.
Feature File:
Feature: Really long test

Scenario: Long Test
  Given foo
  Then bar

Step Definitions
Given /foo/ do
  puts "foo"
  sleep 5
end

Then /bar/ do
  puts 'bar'
end

Around do |scenario, block|
  begin
    Timeout.timeout(2) { block.call }
  rescue Timeout::Error => e
    scenario.fail(e)
  end
end

Output:
[
  {
    "uri": "features/docs/test.feature",
    "id": "really-long-test",
    "keyword": "Feature",
    "name": "Really long test",
    "description": "",
    "line": 1,
    "elements": [
      {
        "id": "really-long-test;long-test",
        "keyword": "Scenario",
        "name": "Long Test",
        "description": "",
        "line": 3,
        "type": "scenario",
        "steps": [
          {
            "keyword": "Given ",
            "name": "foo",
            "line": 4,
            "output": [
              "foo"
            ]
          }
        ]
      }
    ]
  }
]

Expected Output:
[
  {
    "uri": "features/docs/test.feature",
    "id": "really-long-test",
    "keyword": "Feature",
    "name": "Really long test",
    "description": "",
    "line": 1,
    "elements": [
      {
        "id": "really-long-test;long-test",
        "keyword": "Scenario",
        "name": "Long Test",
        "description": "",
        "line": 3,
        "type": "scenario",
        "steps": [
          {
            "keyword": "Given ",
            "name": "foo",
            "line": 4,
            "output": [
              "foo"
            ],
            "result": {
              "status": "failed",
             "error_message": "Timeout...."
            }
          }
        ]
      }
    ]
  }
]

I believe the error occurs because the Formatter::Json#after_test_step is not called, when there is an exception in the around block
This error impacts those who Jenkins because the jenkins plug-in depends on the json formatter working properly.
Versions:
Ruby 2.2.1p85
Cucumber 2.0.2

Thanks for the excellent bug report.
Around hooks are implemented in a peculiar way, so I can imagine how something like this could happen.

The big underlying problem here is in IMHO that with (the current implementation of) around hooks and scenario.fail, a test case can fail without a test step have failed (and been reported to the formatters). The important invariant should be that the result of the test case is the same as the result of the test step that "dominates" the test case result. That is, the result object for the failing test case should be equivalent (except for the duration), with the result object of the one test step that failed.
I have realized that around hooks are not reported as test steps to the formatters, and to some extent deciding when to send before_test_step and after_test_step for an around hook is not straight forward. But as long a an around hook can cause a test case to fail, that need to be done - maybe send both before_test_step and after_test_step after the around hook has executed (with the duration zero in the result).

There's a fundamental problem with the current modelling of Around hooks, for me. Around hooks are not test steps themselves - the entire test case is nested within the Around hook. It's almost like they're test cases that contain test cases, Russian-doll style.
In that (Russian-doll) model, we'd need for the formatters to be able to deal with test cases to fail without any test steps. I can envisage other reasons why test cases without steps might fail (e.g. they fail a new strict rule about scenario names being mandatory, or we have a new rule that says scenarios without steps should be marked as pending). So maybe we should reconsider the invariant and make the formatters able to cope with this situation? WDYT?

A conflict here is that the json report does not include the result for a scenario, only the results for all the steps and hooks of it. And introducing the result for the scenario, would probably mean that all existing tools that process the json report would ignore them anyway.
Pragmatically we could change the JsonFormatter to detect if the after_test_case reports the result of the test case as failed, while all test steps were passed, and report that case as a failed after hook. Then existing tools should be able to detect the failure, even tough it is reported in a not entirely correct way.

I see. That sounds like a good workaround.
We could even do that deeper within Cucumber (effectively modelling the Around hook code as a TestStep), but I wonder whether that would just end up as confusing...?

One questing from this example is when using an around hook to wrap the execution of a test case in a timeout, will the formatters still receive paired before_/after_ calls, or will the experience this (which is indicated from that there are no result for the Given step in the json file):
before_test_case
  before_test_step
    <the timeout triggers>
after_test_case

In that case the invariant that if before_ has fired for a test case or test step, then also after_ will fired for that test case or test step, is violated.


Fix docstring relating to stacked recurrent layers

The docstring did not specify the need to use return_sequences=True when creating a stacked recurrent network. I have replaced the original example with a more descriptive one.

I felt that the removed lines were redundant, given the new example. I expanded the comment on the new example to explicitly state that the input size is only required on the first layer.


Error message color does not have enough contrast with default console backgrounds

The vsts cli is built on knack and we have received several customer complaints that the color of red used does not provide enough contrast with the standard console backgrounds, and is therefore hard to read.  Is it possible to adjust the default error message color to a brighter red that provides more contrast?  It would also be good to provide a mechanism for the consuming application to choose the colors.  This way we can implement a way customers can configure this in our application if they don't like the default.
Actual feedback from customer:
The error messages are printed in dark red. That's very hard to read.

@derekbekoe I would like to take this up.

The library should honor the hosting console's (the user's preferences) display colors and not choose an arbitrary color.
This is an accessibility issue and should be given appropriate priority. It should really not be considered a feature request.

I made this change to my local repo, but am not sure how to go about testing it where I want to see the change ultimately effected.

Is there a script that will make a locally usable knack that I can use in a local copy of azure-cli, that i can then build and run?  Or should I just pip install the knack package into the azure-cli and edit there?

If you have cloned the repo, you should be able to go to the root of that repo and run pip install -e <path to knack setup.py file> --ignore-installed.
The other option would be to modify the code in you virtual environment's site-packages folder where you have the CLI installed.

@StingyJack Here is the difference in the two colors (LIGHTRED_EX on top, RED at bottom) on windows command prompt. I also tried on powershell and the LIGHTRED_EX seems much better in contrast.

Fixed by PR #147.


remove RealmSet.deleteAll()

handle RealmSet in realm.deleteMany and add a test for it
fix realm.deleteMany(RealmList) to invoke Core whith ManagedRealmLists only

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

4 of 4 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.09%) to 88.737%

Totals

Change from base Build<PHONE_NUMBER>:
0.09%

Covered Lines:
2994

Relevant Lines:
3374

💛  - Coveralls


Add Python3.11 to build matrix

Now that Python 3.11 is out, we should test the lib against it.
This PR adds Python 3.11 to the build matrix, but 3.10 is still used as the main version during releases++.
Also generated a requirements for 3.11 and added support in the Makefile.

@tillahoffmann As far as I can remember it took a while to generate the requirements.txt, but nowhere near an hour. I'll take a look tomorrow and check it out myself.

Great, thank you!

I've added a build to compile the requirements in #331. Here's an example of a slow build for 3.11 https://github.com/testcontainers/testcontainers-python/actions/runs/4681865266/jobs/8294990576. Any thoughts much appreciated.

@tillahoffmann Looking into it. A fresh install on my M1 Macbook Air takes about ~20 seconds, but I'll try spinning up a new Python container and see how it behaves there. Probably a lot of non-standard config on my computer.
From the logs in the run you provided it seems to struggle to find compatible dependencies, which leads to backtracking and trying out most of the distributions available. This does not happen on my computer, so there might be some already built or resolved cache locally. A fresh Ubuntu image will hopefully trigger the problem, I'll try that out as a first theory.

Happy to help!
A bit unrelated, but I just wanted to highlight this to you, as I see you are planning a major version release pretty soon: https://github.com/testcontainers/testcontainers-python/pull/314
I've implemented a change which makes the behaviour of the library more similar to the other implementations of testcontainers, by using Ryuk for cleaning up containers instead of having to rely on a fallback with a garbage collector with the del method (and also opens up more possibilites for using a container without having to keep a reference to the container at all times).
There has been a discussion going on in that PR on whether to enable the Ryuk cleanup by default, which would make the lib work in the same way as other implementations. HOWEVER that change in behaviour should be considered a breaking change, and requires a major version bump if we are to follow semantic versioning. I am open to making the last few changes required for enabling Ryuk by default on short notice in the PR. Is that something you could consider including in the v4 major release?


Failure when try to publish an extension for 'Productivity'

have an extension that uses the productivity category
you get the error below

Error: Failed Request: Bad Request(400) - The category 'Productivity' is not available in language 'en-us'.

Productivity doesn't seem to exist as a category in https://marketplace.visualstudio.com/?VScode=1 . Category names are fixed by the Marketplace. 😕

We should then not have it in our intellisense list I suggest

@joaomoreno You added it through https://github.com/Microsoft/vscode/pull/7304.
Removing it...

Thanks @aeschli, I must've missed @seanmcbreen's comment.


Feature Request: Please add support for spring-webflux (spring boot 2.0 / spring 5)

I was lately playing around with spring-webflux, the new reactive microframework by spring 5.
I tried to integrate springfox swagger & swagger-ui into a webflux application, but it failed.
It looks like there are hardcoded dependencies to spring mvc.
(see: https://github.com/bastman/skeleton-springboot-webflux-kotlin )
Are there any plans to integrate with webflux?
Spring boot 2.0 - including webflux is close to the first RC release. I would love to have springfox swagger working with that.
Thanks.

Yes there is definitely plans to support it. Closing this a duplicate of #1773


Wrong Results On Verification Of Outlook Emails

On verifying emails of outlook domain from verifier, it gives reachable: no for emails which actually exists and are currently in use.
These are the results on verification of a valid email address :
{
email<EMAIL_ADDRESS>reachable: "no",
syntax: {
username: "ratnesh.xdeliver",
domain: "outlook.com",
valid: true,
},
smtp: {
host_exists: true,
full_inbox: false,
catch_all: false,
deliverable: false,
disabled: false,
},
gravatar: null,
suggestion: "",
disposable: false,
role_account: false,
free: true,
has_mx_records: true,
}
Please review and provide solution or reasons @lryong .
Thank You!!

@Blacklion14
We send an RCPT request to the target mailbox through an smtp client and only mark the reachable field as true if there is a correct response (smtp.deliverable==true) from the other side.
The outlook mailbox should have restrictions on external RCPT, so this is probably a false alarm. We haven't had time to do research on outlook mailbox check reachability, so we welcome the community to share the existing solutions.


graph issue in chat box

The inconsistency is produced when a users conversation is a little long and some users is disconnected, the label of disconnect is not shown well.

fixed


Security Group Id for specifying ingress/egress rules creates incorrect JSON

When creating an ingress/egress rule using a security group ID, this creates incorrect JSON. For example, the following:
EC2SecurityGroupRule{
	SourceSecurityGroupIdXXSecurityGroupIngressXOnlyX: Ref(s.elbSecurityGroupLogicalName()).String(),
	IpProtocol:                                        String(tcpProtocol),
	FromPort:                                          Integer(httpsPort),
	ToPort:                                            Integer(httpsPort),
},

Generates the JSON:
{
    "FromPort": 443,
    "IpProtocol": "tcp",
    "SourceSecurityGroupId (SecurityGroupIngress only)": {
        "Ref": "LBSecurityGroupGamma"
    },
    "ToPort": 443
}

The expected output is:
{
    "FromPort": 443,
    "IpProtocol": "tcp",
    "SourceSecurityGroupId": {
        "Ref": "LBSecurityGroupGamma"
    },
    "ToPort": 443
}

This is probably due to how the scraper is scraping the AWS website, causing it to include the (SecurityGroupIngress only) as seen here:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-rule.html#cfn-ec2-security-group-rule-sourcesecuritygroupid

@crewjam same issue here


Refactor ABI and support event packing

fixes a few minor issues also

What issue does this refactor solve? Can you provide a more detailed description as to why this PR is required?


Fixed problem in older devices and Fixed crash of nuget manager;

Fixed problem in older devices and Fixed crash of nuget manager;

will look into the changes hopefully today, increase the version and build release

@guilherme-mantovani had to open a new pr to fix that, because i can't change files, which i had to fix
but another question, why does your nuget-manager crash?
do you use mac or windows?
I looked up the xamarin forms nuspec file. It lüüks similar to our nuspec file

I use windows 10, visual studio 2015. The nuget crashes  only in the version 0.6.5, making all the nuget manager pages stop working.

Just to link the mentioned PR: #51
I guess the nuget crash still exists?

Now the app is working, but the nuget is still broken. I found the problem: in the nuspec file, the tag title need to be before the version tag. Thanks for the version.

mhh the title-tag is in our current nuspec-file before the version-tag
But I will compare our nuspec with the nuspec from Xamarin forms. Maybe it is also due to the different filesystem structure
opened an issue for that. #52
Will close this here, because PR #51 solved the problem of the autofocus


x/tools/gopls: failed to import standard libraries

What version of rules_go are you using?
v0.50.1
What version of gazelle are you using?
v0.39.1
What version of Bazel are you using?
7.1.1
Does this issue reproduce with the latest releases of all the above?
The version above is relatively new I think.
What operating system and processor architecture are you using?
Ubuntu 24.04, x86_64 (Intel(R) Core(TM) i7-10700)
gopls version
(version: v0.17.0 built with go: go1.23.4)
go env
GO111MODULE=''
GOARCH='amd64'
GOBIN=''
GOCACHE='/home/wanjia-he/.cache/go-build'
GOENV='/home/wanjia-he/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/home/wanjia-he/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/home/wanjia-he/go'
GOPRIVATE=''
GOPROXY='https://goproxy.woa.com,direct'
GOROOT='/home/wanjia-he/.cache/bazel/_bazel_wanjia-he/c3e05d378a37a82e15a3115ca8042150/external/go_sdk'
GOSUMDB='sum.woa.com+643d7a06+Ac5f5VOC4N8NUXdmhbm8pZSXIWfhek5JSmWdWrq7pLX4'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/home/wanjia-he/.cache/bazel/_bazel_wanjia-he/c3e05d378a37a82e15a3115ca8042150/external/go_sdk/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.23.0'
GODEBUG=''
GOTELEMETRY='local'
GOTELEMETRYDIR='/home/wanjia-he/.config/go/telemetry'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/dev/null'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build971942491=/tmp/go-build -gno-record-gcc-switches'

What did you do?
Our project uses bazel with a monorepo setup, I am using vscode and trying to get gopls working with my golang projects. The OS I am running is ubuntu 24.04.
My vscode settings looks like this:
"go.goroot": "${workspaceFolder}/bazel-${workspaceFolderBasename}/external/go_sdk",
    "go.toolsEnvVars": {
      "GOPACKAGESDRIVER": "${workspaceFolder}/scripts/gopackagesdriver.sh",
      "GOPACKAGESDRIVER_BAZEL_BUILD_FLAGS": "--strategy=GoStdlibList=local",
    },
    "go.enableCodeLens": {
      "runtest": false
    },
    "gopls": {
      "build.directoryFilters": [
        "-bazel-bin",
        "-bazel-out",
        "-bazel-testlogs",
        "-bazel-robotics",
      ],
      "formatting.gofumpt": true,
      "formatting.local": "data_pipeline",
      "ui.completion.usePlaceholders": true,
      "ui.semanticTokens": true,
      "ui.codelenses": {
        "gc_details": false,
        "regenerate_cgo": false,
        "generate": false,
        "test": false,
        "tidy": false,
        "upgrade_dependency": false,
        "vendor": false
      },
      "verboseOutput": true
    },
    "go.useLanguageServer": true,
    "go.lintOnSave": "off",
    "go.vetOnSave": "off",
    "go.languageServerFlags": [
      "-rpc.trace"
    ]

Here is my sample golang code:
package main

import "fmt"

func main() {
	fmt.Println("this is an agent in go")
}

What did you see happen?
So compling is fine with the project, the external packages (including the pb.go packages generated from .proto files with bazel) is working well, I can use F12 to go to the definitions, use autofills etc. However, the standard libraries are broken, e.g. fmt, http.
The source code of "fmt" package is there under ***/go_sdk/src directory.
When I hover the mouse on "fmt", it shows error:
could not import fmt (missing metadata for import of "fmt")compilerBrokenImport
If I press F12, it says:
No definition found for "fmt"
What did you expect to see?
When I hover on "fmt" and press F12, vscode should take me to the source code of "fmt".
When I call fmt.***, autofill should work.
Editor and settings
No response
Logs
[Trace - 20:44:31.202 PM] Sending request 'textDocument/hover - (118)'.
Params: {"textDocument":{"uri":"file:///home/wanjia-he/Documents/robotics/data_pipeline/upload_agent_go/main.go"},"position":{"line":2,"character":11}}
[Error - Received] 20:44:31.202 PM #118 no package data for import "fmt"
[Error - 12:44:31 PM] Request textDocument/hover failed.
Message: no package data for import "fmt"
Code: 0
[Trace - 20:44:31.385 PM] Sending request 'textDocument/hover - (119)'.
Params: {"textDocument":{"uri":"file:///home/wanjia-he/Documents/robotics/data_pipeline/upload_agent_go/main.go"},"position":{"line":2,"character":10}}
[Error - Received] 20:44:31.385 PM #119 no package data for import "fmt"
[Error - 12:44:31 PM] Request textDocument/hover failed.
Message: no package data for import "fmt"
Code: 0
[Trace - 20:44:31.543 PM] Sending request 'textDocument/codeAction - (120)'.
Params: {"textDocument":{"uri":"file:///home/wanjia-he/Documents/robotics/data_pipeline/upload_agent_go/main.go"},"range":{"start":{"line":2,"character":7},"end":{"line":2,"character":12}},"context":{"diagnostics":[{"range":{"start":{"line":2,"character":7},"end":{"line":2,"character":12}},"message":"could not import fmt (missing metadata for import of "fmt")","code":"BrokenImport","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#BrokenImport"},"severity":1,"source":"compiler"}],"only":["quickfix"],"triggerKind":1}}
[Trace - 20:44:31.544 PM] Received response 'textDocument/codeAction - (120)' in 0ms.
Result: null
[Trace - 20:44:31.544 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/12/19 20:44:31 fixImports(filename="/home/wanjia-he/Documents/robotics/data_pipeline/upload_agent_go/main.go"), srcDir="/home/wanjia-he/Documents/robotics/data_pipeline/upload_agent_go/main.go" ...%!(EXTRA string=/home/wanjia-he/Documents/robotics/data_pipeline/upload_agent_go)\n"}
[Info  - 12:44:31 PM] 2024/12/19 20:44:31 fixImports(filename="/home/wanjia-he/Documents/robotics/data_pipeline/upload_agent_go/main.go"), srcDir="/home/wanjia-he/Documents/robotics/data_pipeline/upload_agent_go/main.go" ...%!(EXTRA string=/home/wanjia-he/Documents/robotics/data_pipeline/upload_agent_go)

There is a similar issue: https://github.com/bazel-contrib/rules_go/issues/3110
But the error is not exactly same and the solution doesn't work for my case.

Update my solution here, it turns out in our project .bazelrc file, following options were set for some other purposes:
build --linkopt="-Wl,-rpath,\$ORIGIN"
build --linkopt="-Wl,-rpath,\$ORIGIN/lib"
Just comment out those 2 lines and things start to work.


 margin only works with specified direction

node, npm, react-native, react and native-base version, expo version if used, xcode version
React native version 0.57.1<EMAIL_ADDRESS><EMAIL_ADDRESS>Expected behaviour
Card should take marginVertical, marginHorizontal, and margin as props
Actual behaviour
Card only responds to marginBottom, marginTop, marginRight, marginLeft
Steps to reproduce
<!--
```
<Card margin = 10 />
```

The original poster was correct, the margin style does not get applied. You must specify the marginLeft, marginRight, etc. in order for it to work.


Please create v1 tag or branch

So people can depend on vsoch/pull-request-action@v1
https://docs.github.com/en/free-pro-team@latest/actions/creating-actions/about-actions#using-release-management-for-actions

We have releases for each version... can you clarify what you want?

I want to be able to depend on vsoch/pull-request-action@v1 instead of @1.m.p and update it with each patch release. Providing v1 tag or branch is the recommended best practice. Please read the link.

I'm not sure I agree with this suggested practice (it's akin to a latest container, a moving target) but I'm happy to create a branch for you https://github.com/vsoch/pull-request-action/tree/v1. Cheers!

Thank you. I too don't agree with that "floating" tag, but unfortunately, that's how most other actions work. If v1 branch always points to the latest release / tag, it should work the same for GitHub Actions, and does not require force pushes.
Thank you again!


Config should be able to read all the possible cmd line options

As a user of gember, I'm now using following command to generate what I want within my project:
pnpm gember component --typescript --path=app/components --class-based logo

I would love to have to provide minimum arguments as pretty much everything is always the same. In my mind default arguments should be stored in gember config file so that I can commit it and everyone can use those defaults without thinking.
Namely following arguments:

--typescript
--path
--class-based

Yes indeed, I was already working on supporting all CLI options in the config file. Will try to finish it asap.


XML Namespace Redesign

Support for XML Namespaces has been redesigned and reimplemented. This has achieved a significant improvement in performance for parsing XML documents, as well as transformations.
In the new design, namespace nodes represent namespace declarations. These are mainly used when serialising a tree. The iterator namespace_iter() will return all in-scope namespace nodes. The namespace module provides a static mapping of prefix to namespace URI, NamespaceMap, that is used in the XML parser and transformations.
QualifiedName now stores Rc, instead of String. Elements and Attributes now use Rc, instead of QualifiedName. Namespaces use Rc. This allows names, and components of names, to be shared instead of being copied, resulting in the aforementioned significant performance increases. NamespaceMaps are also Rc-shared to avoid cloning.
The parser has a facility for interning values. This ensures that parsed strings are shared. However, sharing only occurs within the document being parsed. The next step will be to globally intern values, which will speed up value equality comparisons (comparing pointers rather than content), increase sharing (reducing memory consumption), and reduce copying/cloning. However, there is a risk of memory leakage if done in a naive fashion.
Documents are now created using the new_document() method of the Node trait. This makes document creation consistent with other node creation.

Hi Steve, I'm on a business  this week but I'll be back by Sunday, will give it a review when I can but it'll probably be Tuesday at the earliest.

Hi Steve,
conformance::xml::eduni_namespaces_10_notwf::rmtns10009
conformance::xml::eduni_namespaces_10_notwf::rmtns10010
conformance::xml::eduni_namespaces_10_notwf::rmtns10011
conformance::xml::eduni_namespaces_10_notwf::rmtns10012
conformance::xml::eduni_namespaces_10_notwf::rmtns10035
conformance::xml::eduni_namespaces_10_notwf::rmtns10036
conformance::xml::eduni_namespaces_11_notwf::rmtns11005
conformance::xml::eduni_namespaces_errata1e_notwf::rmtnse1013a
conformance::xml::eduni_namespaces_errata1e_notwf::rmtnse1013b
conformance::xml::ibm_notwf::ibmnotwf_p40ibm40n05xml
conformance::xml::ibm_notwf::ibmnotwf_p44ibm44n04xml
conformance::xml::oasis_notwf::op44fail5
conformance::xml::xmltest_notwf_sa::notwfsa038
Grabbed a chance to run tests and these are failing on my machine, will check when I get a chance.

Yes, those tests are failing for me as well. Let me know when you've had a look. I probably won't be able to look at them until later this week.

Right, there is no duplicate checking on the xmlns declarations, but thats easy to fix.
How would you like to handle xmlns declarations across children?
<doc> 	<element1 xmlns:a="namespace1"/> 	<a:element2/> </doc>
Currently parses, assigning namespace1 to element2.
The intention with the vector of hashmaps was that its depth would only ever be the amount of ancestors between it and the root node, so when we ran down some child nodes we'd always push onto the vector for dealing with that element, but pop off before we move onto the child.
I could look to create a specialized many0 combinator that resets the namespaces between iteration?

Playing around, the new combinator I suggested above seems to be the best way to fix it, I think I'll go with that. Just need to implement duplicate checking and we'll be sorted.

Hi Daniel,
OK, sounds good.
Cheers,
Steve

On 25 Sep 2024, at 6:38 AM, Daniel Murphy @.***> wrote:
Playing around, the new combinator I suggested above seems to be the best way to fix it, I think I'll go with that. Just need to implement duplicate checking and we'll be sorted.
—
Reply to this email directly, view it on GitHub https://github.com/ballsteve/xrust/pull/106#issuecomment-2372341701, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUCP5QKJPAMITPSUQDUSDL3ZYHEWDAVCNFSM6AAAAABORGQO52VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZSGM2DCNZQGE.
You are receiving this because you authored the thread.

Just pushed some fixes to this branch, some duplicate checking for attributes.
xslt_issue_58 is failing, we serialize namespaces based on the namespace nodes on the element but don't add any namespace nodes on the literal_element construct.

OK, I'll take a look at the literal_element transform

Pushed a change to fix Issue 58. When literal_element is creating the element, it checks if it is in a namespace. If so, it creates and adds a Namespace node. This fixes the test (with a little adjustment to the test itself).
However, because elements are created bottom-up this will result in lots of redundant Namespace declarations. The fix for that is to remove redundant declarations from the child element nodes as part of literal_element. I've left that as a TODO.
Also, need to add namespace declarations for attributes, if required. Also a TODO.

This is looking good, we'll need to review documentation as part of the prep for the next release but can merge this now.


SteamVR_UpdatePoses script still required in Unity's 5.6 Release

Unity has officially released Unity 5.6 (and 5.6.1!) and it is no longer in beta. However, it still requires you to add the SteamVR_UpdatePoses script to the main camera.
This has officially been classified as Won't Fix by the Unity Team so it is probably time to merge Pull Request #14 so that people do not need to continue to use a workaround to have this work out of the box with the latest version of Unity.
Thanks!

Hello @LordNed, discussion of #14 should be made on the pull request, not in a separate issue report. I've gone ahead and copied you post. Closing.


Bootstrap refactor of Template show/edit/create pages

ES6 and Bootstrap refactoring of the Org Admin, Template Show/Edit/Create pages page

visual inspection on stage. closing issue.


Setup the project by creating models and functions to create and display

On this branch, we set up webpack and linters. Then we create basic functions to save and fetch saved scores

Hi @Munsa1 . Thanks for your review. However. I don't have any idea on what those linters errors mean. They're not related to my code and  I'm not getting them locally. Kindly help me to fix them.
Thanks


Getting Error: Command Failed & .... & was unexpected at this time.

I seem to always be getting this error right here, no matter what I do.
Error: Command failed: & "C:\Users\{{USERNAME}}\AppData\Local\peat_media_converter\app-1.0.3\resources\app\bin\ffmpeg.exe" -i "[INPUT].mp4" -an -vcodec rawvideo -y -r 25 -hide_banner -loglevel error -vf scale=min(640\,iw):-1 "D:\converter_output\[OUTPUT]_converted.avi" && & "C:\Users\{{USERNAME}}\AppData\Local\peat_media_converter\app-1.0.3\resources\app\bin\ffs.exe" "D:\converter_output\[OUTPUT]_converted.avi"<PHONE_NUMBER> "D:\converter_output" & was unexpected at this time.

Could the error stem from the fact that chaining commands with && is not supported in Windows PowerShell?
As a note, running ffmpeg commands through Windows PowerShell and CMD works fine. Though I did have to change && to ;.
OS: Windows 11 Home 22H2
Release version: 1.0.3
Appreciate any input! Splendid program you've built here.

Thank you for letting me know, I’m not sure why it works on some windows installations and not others, but this could be a way of making it more reliable. I can push an update in a couple of days, unless you’re desperate for it this weekend. On Feb 10, 2024, at 5:14 AM, Daffa Muhammad Romero @.***> wrote:
I seem to always be getting this error right here, no matter what I do.
Error: Command failed: & "C:\Users{{USERNAME}}\AppData\Local\peat_media_converter\app-1.0.3\resources\app\bin\ffmpeg.exe" -i "[INPUT].mp4" -an -vcodec rawvideo -y -r 25 -hide_banner -loglevel error -vf scale=min(640,iw):-1 "D:\converter_output[OUTPUT]_converted.avi" && & "C:\Users{{USERNAME}}\AppData\Local\peat_media_converter\app-1.0.3\resources\app\bin\ffs.exe" "D:\converter_output[OUTPUT]_converted.avi"<PHONE_NUMBER> "D:\converter_output" & was unexpected at this time.
Could the error stem from the fact that chaining commands with && is not supported in Windows PowerShell?
As a note, running ffmpeg commands through Windows PowerShell and CMD works fine. Though I did have to change && to ;.
OS: Windows 11 Home 22H2
Release version: 1.0.3
Appreciate any input! Splendid program you've built here.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

Wholly appreciate the quick reply.
Don't worry, I'm not in need of an immediate fix; feel free to work on it as you please.  In the meantime, I'm completely fine with running ffmpeg through the command line. Thank you!

This has been finally fixed in v1.0.4.
Background information:
Unless specified explicitly, nodejs executes commands using your default command shell, which depending on your Windows configuration could be either cmd.exe or powershell.exe
The commands in PEAT Media Converter were designed to run in cmd.exe so for users where powershell.exe was the default, every conversion would fail.
This release explicitly sets the command shell to be used as cmd.exe

Hell yeah brother. Nice one 👍


Make a release

Publish in nixpkgs and crates.io
Make sure to share the ownership in crates.io

[x] publish on crates.io
[ ] publish in nixpkgs

TODO: also publish on nixpkgs

the build is currently failing in nixpkgs:
failures:

---- hash::tests::test_opt_all stdout ----
thread 'hash::tests::test_opt_all' panicked at 'assertion failed: `(left == right)`
  left: `"SRI\tsha256-Y39OVtscIh6VSH4WBwCDM/eGPFEOxzXtgnHU708CnqU=\nbase16\t637f4e56db1c221e95487e1607008333f7863c510ec735ed8271d4ef4f029ea5\nbase32\t19cy097yzm3ihbnkbiqfa4y8dxrkhc00f5ky92aiw8hwvdb4wzv3\nbase64\tY39OVtscIh6VSH4WBwCDM/eGPFEOxzXtgnHU708CnqU=\n"`,
 right: `"\n        SRI \tsha256-Y39OVtscIh6VSH4WBwCDM/eGPFEOxzXtgnHU708CnqU=\n        base16\t637f4e56db1c221e95487e1607008333f7863c510ec735ed8271d4ef4f029ea5\n        base32\t19cy097yzm3ihbnkbiqfa4y8dxrkhc00f5ky92aiw8hwvdb4wzv3\n        base64\tY39OVtscIh6VSH4WBwCDM/eGPFEOxzXtgnHU708CnqU=\n        "`', src/hash.rs:218:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- hash::tests::test_opt_sri stdout ----
thread 'hash::tests::test_opt_sri' panicked at 'assertion failed: `(left == right)`
  left: `"SRI\tsha256-Y39OVtscIh6VSH4WBwCDM/eGPFEOxzXtgnHU708CnqU="`,
 right: `"SRI \tsha256-Y39OVtscIh6VSH4WBwCDM/eGPFEOxzXtgnHU708CnqU="`', src/hash.rs:213:9


RuntimeError: failed to invoke XNNPACK runtimeNode number 205 (TfLiteXNNPackDelegate) failed to invoke.

Hello, I'am running yolo v4 on raspberry pi wwith tensorflow 2.9. I met this error while running. Please help me. Thanks
Traceback (most recent call last):
File "/home/pi/Final_Project/tensorflow-yolov4-tflite-ok/detectvideo.py", line 97, in
app.run(main)
File "/home/pi/.local/bin/.virtualenvs/hope_env/lib/python3.9/site-packages/absl/app.py", line 312, in run
_run_main(main, args)
File "/home/pi/.local/bin/.virtualenvs/hope_env/lib/python3.9/site-packages/absl/app.py", line 258, in _run_main
sys.exit(main(argv))
File "/home/pi/Final_Project/tensorflow-yolov4-tflite-ok/detectvideo.py", line 63, in main
interpreter.invoke()
File "/home/pi/.local/bin/.virtualenvs/hope_env/lib/python3.9/site-packages/tensorflow/lite/python/interpreter.py", line 915, in invoke
self._interpreter.Invoke()
RuntimeError: failed to invoke XNNPACK runtimeNode number 205 (TfLiteXNNPackDelegate) failed to invoke.

Hi @TranDuyNhat ,
This issue is related to Tensorflow , please post this issue in Tensorflow repo since this is MediaPipe repo.


java.lang.NoClassDefFoundError: net/lightoze/gwt/i18n/client/LocaleFactory

Will it have an end? :worried:

This is even worst, a GWT client specific class, it shouldnt be in the
server part ever.
2016-02-25 11:27 GMT+01:00 Antonio Tapiador<EMAIL_ADDRESS>
Will it have an end? [image: :worried:]
—
Reply to this email directly or view it on GitHub
https://github.com/P2Pvalue/swellrt/issues/116.

@pablojan, if you recall, I used a library to be able to translate as in GWT clients in the server. this is not used now and I will change the way translations are done. I will update a new tagged version with this fixed ASAP.
I am still looking for the good way to test if something else is broken... @pablojan, @atd, ideas wellcomed!

@atfornes I am thinking about it, but the only thing it occurs to me is running the tests against the docker image. Of course, it only would discover errors if there are tests covering that part

Apart from a automatic process to check integrity, rules are easy:

If a .jar dependency is added to the project => add packages to .jar
build configuration (build-swellrt.xml dist-server)
If a new java package is added to the project, add it (or check if
they're already included)  => add packages to .jar build configuration
(build-swellrt.xml dist-server)

2016-02-25 11:38 GMT+01:00 Antonio Tapiador<EMAIL_ADDRESS>
@atfornes https://github.com/atfornes I am thinking about it, but the
only thing it occurs to me is running the tests against the docker image.
Of course, it only would discover errors if there are tests covering that
part
—
Reply to this email directly or view it on GitHub
https://github.com/P2Pvalue/swellrt/issues/116#issuecomment-188718853.


Requirements for stromnetzgraz not found: ['pyJWT==2.7.0'].

Sorry for being annoying again. But newest homeassistant version has conflicting dependencies again.
 Logger: homeassistant.util.package
Source: util/package.py:107
First occurred: 08:57:05 (3 occurrences)
Last logged: 08:57:20
Unable to install package pyJWT==2.7.0: ERROR: Cannot install pyJWT==2.7.0 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts [notice] A new release of pip is available: 23.1.2 -> 23.2.1 [notice] To update, run: pip install --upgrade pip

Should we just use this as requirements?
  "requirements": ["pandas==2.0.2", "pyJWT", "stromnetzgraz==0.1.5"],

or is it bad practice?


BMW offline for four days

Describe the bug
My BMW i3 has been displayed as offline for four days, see screenshot. The following message appears in EVCC:

vehicle soc: vehicle not available: cannot create vehicle 'template': cannot create vehicle 'bmw': unexpected status: 401 (Unauthorized)

The My BMW app works fine, I can also log in to BMW with my credentials. The configuration has been working for many weeks without any problems. The problem occurs with v0.117.4 latest as well as v0.117.4 nightly.

Steps to reproduce
Simply open EVCC, the vehicle is immediately displayed as offline.
Configuration details
# open evcc at http://evcc.local:7070
network:
  schema: http
  host: ****** # .local suffix announces the hostname on MDNS
  port: ******

log: info
levels:
  cache: error

interval: 10s # control cycle interval

sponsortoken: ******

meters:
- type: template
  template: tesla-powerwall
  usage: grid
  host: ******
  password: ******
  name: grid1
- type: template
  template: tesla-powerwall
  usage: pv
  host: ******
  password: ******
  name: pv2
- type: template
  template: tesla-powerwall
  usage: battery
  host: ******
  password: ******
  name: battery3

chargers:
- type: template
  template: go-e-v3
  host: ******
  name: wallbox4
- type: template
  template: go-e-v3
  host: ******
  name: wallbox5

vehicles:
- type: template
  template: bmw
  title: BMWi3s
  user: ******
  password: ******.
  vin: ******
  capacity: 38
  phases: 3
  mode: pv
  minSoC: 15
  targetSoC: 100
  minCurrent: 6
  maxCurrent: 16
  name: bmwi3s
- type: mercedes
  name: eqv300
  title: MercedesEQV300
  vin:  ****** # WDB111111ZZZ22222
  # clientId: ******
  clientId: ******
  # clientSecret: ******
  clientSecret: ******
  capacity: 90
  phases: 3

loadpoints:
- title: WBNord
  charger: wallbox4
  vehicle: eqv300
  mode: pv
  phases: 0
  mincurrent: 6
  maxcurrent: 16
  resetOnDisconnect: false
- title: WBOst
  charger: wallbox5
  vehicle: bmwi3s
  mode: pv
  phases: 0
  mincurrent: 6
  maxcurrent: 16
  resetOnDisconnect: false

site:
  title: Mein Zuhause
  prioritySoC: 84 # Hausbatterie bekommt bis zum SoC 100% Priorität beim laden
  bufferSoC: 85 # Hausbatterie wird oberhalb SoC 80% als Puffer genutzt
  residualPower: -100 # Positiver Wert: Verbleibende Netzeinspeiseleistung, Negativer Wert: Verbleibende Netzbezugsleistung
  meters:
    grid: grid1
    pvs:
    - pv2
    batteries:
    - battery3

influx:
  url: ******
  database: ******
  user: ******
  password: ******

Log details
2023-06-11T09:47:08.626361303Z	stdout	[lp-1  ] DEBUG 2023/06/11 11:47:08 pv charge current: 6.82A = 0A + 6.82A (-4708W @ 3p)
2023-06-11T09:47:08.626094354Z	stdout	[lp-1  ] DEBUG 2023/06/11 11:47:08 phase scale3p in 42s
2023-06-11T09:47:08.625653413Z	stdout	[lp-1  ] DEBUG 2023/06/11 11:47:08 available power 4708W > 4140W min 3p threshold
2023-06-11T09:47:08.511873068Z	stdout	[lp-1  ] DEBUG 2023/06/11 11:47:08 charger status: B
2023-06-11T09:47:08.438000924Z	stdout	[lp-1  ] DEBUG 2023/06/11 11:47:08 charge meter total import: 1387.040kWh
2023-06-11T09:47:08.309251646Z	stdout	[lp-1  ] DEBUG 2023/06/11 11:47:08 charge currents: [0 0 0]A
2023-06-11T09:47:08.163021869Z	stdout	[site  ] DEBUG 2023/06/11 11:47:08 site power: -4708W
2023-06-11T09:47:08.162809339Z	stdout	[site  ] DEBUG 2023/06/11 11:47:08 grid power: -4598W
2023-06-11T09:47:08.151494492Z	stdout	[site  ] DEBUG 2023/06/11 11:47:08 battery power: -10W
2023-06-11T09:47:08.151284477Z	stdout	[site  ] DEBUG 2023/06/11 11:47:08 battery soc: 100%
2023-06-11T09:47:08.131233509Z	stdout	[site  ] DEBUG 2023/06/11 11:47:08 pv power: 6736W
2023-06-11T09:47:08.109341916Z	stdout	[site  ] DEBUG 2023/06/11 11:47:08 static grid tariff
2023-06-11T09:47:08.109144774Z	stdout	[lp-2  ] DEBUG 2023/06/11 11:47:08 charge power: 0W
2023-06-11T09:47:07.979252826Z	stdout	[lp-1  ] DEBUG 2023/06/11 11:47:07 charge power: 0W
2023-06-11T09:47:07.838248542Z	stdout	[site  ] DEBUG 2023/06/11 11:47:07 ----
2023-06-11T09:46:58.808217326Z	stdout	[lp-2  ] DEBUG 2023/06/11 11:46:58 max charge current: 7A
2023-06-11T09:46:58.762338958Z	stdout	[lp-2  ] DEBUG 2023/06/11 11:46:58 pv timer inactive
2023-06-11T09:46:58.762277454Z	stdout	[lp-2  ] DEBUG 2023/06/11 11:46:58 pv timer reset
2023-06-11T09:46:58.762221133Z	stdout	[lp-2  ] DEBUG 2023/06/11 11:46:58 pv charge current: 7A = 0A + 7A (-4833W @ 3p)
2023-06-11T09:46:58.762177487Z	stdout	[lp-2  ] DEBUG 2023/06/11 11:46:58 phase scale3p in 1m0s
2023-06-11T09:46:58.762117779Z	stdout	[lp-2  ] DEBUG 2023/06/11 11:46:58 start phase scale3p timer
2023-06-11T09:46:58.761886311Z	stdout	[lp-2  ] DEBUG 2023/06/11 11:46:58 available power 4833W > 4140W min 3p threshold
2023-06-11T09:46:58.671725502Z	stdout	[lp-2  ] ERROR 2023/06/11 11:46:58 vehicle soc: vehicle not available: cannot create vehicle 'template': cannot create vehicle 'bmw': unexpected status: 401 (Unauthorized)
2023-06-11T09:46:58.556025225Z	stdout	[lp-2  ] DEBUG 2023/06/11 11:46:58 charge meter total import: 3763.866kWh
2023-06-11T09:46:58.420615084Z	stdout	[lp-2  ] DEBUG 2023/06/11 11:46:58 guard timer inactive
2023-06-11T09:46:58.420401484Z	stdout	[lp-2  ] DEBUG 2023/06/11 11:46:58 charger: guard elapse
2023-06-11T09:46:58.420342152Z	stdout	[lp-2  ] DEBUG 2023/06/11 11:46:58 pv timer inactive
2023-06-11T09:46:58.420225280Z	stdout	[lp-2  ] DEBUG 2023/06/11 11:46:58 pv timer elapse
2023-06-11T09:46:58.419728476Z	stdout	[lp-2  ] INFO 2023/06/11 11:46:58 car connected
2023-06-11T09:46:58.419521274Z	stdout	[lp-2  ] DEBUG 2023/06/11 11:46:58 charger status: B
2023-06-11T09:46:58.310992901Z	stdout	[lp-2  ] DEBUG 2023/06/11 11:46:58 charge meter total import: 3763.866kWh
2023-06-11T09:46:58.180665894Z	stdout	[lp-2  ] DEBUG 2023/06/11 11:46:58 charge currents: [0 0 0]A
2023-06-11T09:46:58.136080768Z	stdout	[site  ] DEBUG 2023/06/11 11:46:58 site power: -4833W
2023-06-11T09:46:58.135912738Z	stdout	[site  ] DEBUG 2023/06/11 11:46:58 grid power: -4733W
2023-06-11T09:46:58.125695993Z	stdout	[site  ] DEBUG 2023/06/11 11:46:58 battery power: 0W
2023-06-11T09:46:58.125295095Z	stdout	[site  ] DEBUG 2023/06/11 11:46:58 battery soc: 100%
2023-06-11T09:46:58.097052189Z	stdout	[site  ] DEBUG 2023/06/11 11:46:58 pv power: 6854W
2023-06-11T09:46:58.082693963Z	stdout	[site  ] DEBUG 2023/06/11 11:46:58 static grid tariff
2023-06-11T09:46:58.082508555Z	stdout	[lp-2  ] DEBUG 2023/06/11 11:46:58 charge power: 0W
2023-06-11T09:46:58.001275115Z	stdout	[lp-1  ] DEBUG 2023/06/11 11:46:58 charge power: 0W
2023-06-11T09:46:57.839455053Z	stdout	[site  ] DEBUG 2023/06/11 11:46:57 ----
2023-06-11T09:46:50.439251135Z	stdout	[lp-1  ] DEBUG 2023/06/11 11:46:50 pv timer inactive
2023-06-11T09:46:50.439202767Z	stdout	[lp-1  ] DEBUG 2023/06/11 11:46:50 pv timer reset
2023-06-11T09:46:50.439130964Z	stdout	[lp-1  ] DEBUG 2023/06/11 11:46:50 pv charge current: 6.99A = 0A + 6.99A (-4822W @ 3p)
2023-06-11T09:46:50.438622758Z	stdout	[lp-1  ] DEBUG 2023/06/11 11:46:50 phase scale3p in 1m0s
2023-06-11T09:46:50.438577159Z	stdout	[lp-1  ] DEBUG 2023/06/11 11:46:50 start phase scale3p timer
2023-06-11T09:46:50.438521333Z	stdout	[lp-1  ] DEBUG 2023/06/11 11:46:50 available power 4822W > 4140W min 3p threshold
2023-06-11T09:46:50.438438622Z	stdout	[lp-1  ] ERROR 2023/06/11 11:46:50 vehicle soc: Get "https://api.mercedes-benz.com/vehicledata/v2/vehicles/W1VVVKFZ8P4198606/containers/electricvehicle": oauth2: token expired and refresh token is not set
2023-06-11T09:46:50.438391115Z	stdout	[lp-1  ] DEBUG 2023/06/11 11:46:49 charge meter total import: 1387.040kWh
2023-06-11T09:46:50.438351846Z	stdout	[lp-1  ] DEBUG 2023/06/11 11:46:49 guard timer inactive
2023-06-11T09:46:50.438299543Z	stdout	[lp-1  ] DEBUG 2023/06/11 11:46:49 charger: guard elapse
2023-06-11T09:46:50.438241104Z	stdout	[lp-1  ] DEBUG 2023/06/11 11:46:49 pv timer inactive
2023-06-11T09:46:50.438192433Z	stdout	[lp-1  ] DEBUG 2023/06/11 11:46:49 pv timer elapse
2023-06-11T09:46:50.438143835Z	stdout	[lp-1  ] INFO 2023/06/11 11:46:49 car connected
2023-06-11T09:46:50.438092450Z	stdout	[lp-1  ] DEBUG 2023/06/11 11:46:49 charger status: B
2023-06-11T09:46:50.438040511Z	stdout	[lp-1  ] DEBUG 2023/06/11 11:46:49 charge meter total import: 1387.040kWh
2023-06-11T09:46:50.437976295Z	stdout	[lp-1  ] DEBUG 2023/06/11 11:46:49 charge currents: [0 0 0]A
2023-06-11T09:46:50.437847193Z	stdout	[site  ] DEBUG 2023/06/11 11:46:49 site power: -4822W
2023-06-11T09:46:49.448238480Z	stdout	[site  ] DEBUG 2023/06/11 11:46:49 grid power: -4712W
2023-06-11T09:46:48.831791370Z	stdout	[site  ] DEBUG 2023/06/11 11:46:48 battery power: -10W
2023-06-11T09:46:48.831571847Z	stdout	[site  ] DEBUG 2023/06/11 11:46:48 battery soc: 100%
2023-06-11T09:46:48.808396857Z	stdout	[site  ] DEBUG 2023/06/11 11:46:48 pv power: 6817W
2023-06-11T09:46:48.365619053Z	stdout	[site  ] DEBUG 2023/06/11 11:46:48 static grid tariff
2023-06-11T09:46:48.365580184Z	stdout	[lp-2  ] DEBUG 2023/06/11 11:46:48 charge power: 0W
2023-06-11T09:46:48.365539235Z	stdout	[lp-1  ] DEBUG 2023/06/11 11:46:48 charge power: 0W
2023-06-11T09:46:48.365496293Z	stdout	[main  ] INFO 2023/06/11 11:46:47 new version available: 0.118.0
2023-06-11T09:46:48.365454426Z	stdout	[site  ] DEBUG 2023/06/11 11:46:47 ----
2023-06-11T09:46:48.365390915Z	stdout	[main  ] INFO 2023/06/11 11:46:47 ensure the oauth client redirect/callback is configured for MercedesEQV300: http://<IP_ADDRESS>:7070/oauth/vehicles/1/callback
2023-06-11T09:46:48.365351282Z	stdout	[lp-2  ] DEBUG 2023/06/11 11:46:47 max charge current: 6A
2023-06-11T09:46:48.365306871Z	stdout	[lp-2  ] INFO 2023/06/11 11:46:47 vehicle updated: unknown -> BMWi3s (offline)
2023-06-11T09:46:48.365268063Z	stdout	[lp-2  ] DEBUG 2023/06/11 11:46:47 guard timer inactive
2023-06-11T09:46:48.365229287Z	stdout	[lp-2  ] DEBUG 2023/06/11 11:46:47 pv timer inactive
2023-06-11T09:46:48.365182540Z	stdout	[lp-2  ] DEBUG 2023/06/11 11:46:47 phase timer inactive
2023-06-11T09:46:48.365140782Z	stdout	[lp-1  ] DEBUG 2023/06/11 11:46:47 max charge current: 6A
2023-06-11T09:46:48.365091202Z	stdout	[lp-1  ] INFO 2023/06/11 11:46:47 vehicle updated: unknown -> MercedesEQV300
2023-06-11T09:46:48.365032974Z	stdout	[lp-1  ] DEBUG 2023/06/11 11:46:47 guard timer inactive
2023-06-11T09:46:48.364689216Z	stdout	[lp-1  ] DEBUG 2023/06/11 11:46:47 pv timer inactive
2023-06-11T09:46:48.364647372Z	stdout	[lp-1  ] DEBUG 2023/06/11 11:46:47 phase timer inactive
2023-06-11T09:46:48.364608031Z	stdout	[site  ] DEBUG 2023/06/11 11:46:47 static grid tariff
2023-06-11T09:46:48.364561506Z	stdout	[lp-2  ] INFO 2023/06/11 11:46:47     charge:    power ✓ energy ✓ currents ✓
2023-06-11T09:46:48.364467089Z	stdout	[lp-2  ] INFO 2023/06/11 11:46:47   meters:      charge ✓
2023-06-11T09:46:48.364421752Z	stdout	[lp-2  ] INFO 2023/06/11 11:46:47   charger:     power ✓ energy ✓ currents ✓ phases ✓ wakeup ✗
2023-06-11T09:46:48.364383915Z	stdout	[lp-2  ] INFO 2023/06/11 11:46:47   mode:        pv
2023-06-11T09:46:48.364345750Z	stdout	[lp-2  ] INFO 2023/06/11 11:46:47 loadpoint 2:
2023-06-11T09:46:48.364304684Z	stdout	[lp-1  ] INFO 2023/06/11 11:46:47     charge:    power ✓ energy ✓ currents ✓
2023-06-11T09:46:48.364259505Z	stdout	[lp-1  ] INFO 2023/06/11 11:46:47   meters:      charge ✓
2023-06-11T09:46:48.364214792Z	stdout	[lp-1  ] INFO 2023/06/11 11:46:47   charger:     power ✓ energy ✓ currents ✓ phases ✓ wakeup ✗
2023-06-11T09:46:48.364175765Z	stdout	[lp-1  ] INFO 2023/06/11 11:46:47   mode:        pv
2023-06-11T09:46:48.364135823Z	stdout	[lp-1  ] INFO 2023/06/11 11:46:47 loadpoint 1:
2023-06-11T09:46:48.364091682Z	stdout	[site  ] INFO 2023/06/11 11:46:47     vehicle 2: range ✓ finish ✗ status ✗ climate ✗ wakeup ✗
2023-06-11T09:46:48.364043680Z	stdout	[site  ] INFO 2023/06/11 11:46:47     vehicle 1: range ✗ finish ✗ status ✗ climate ✗ wakeup ✗
2023-06-11T09:46:48.364005072Z	stdout	[site  ] INFO 2023/06/11 11:46:47   vehicles:
2023-06-11T09:46:48.363959548Z	stdout	[site  ] INFO 2023/06/11 11:46:47     battery 1: power ✓ energy ✗ currents ✗ soc ✓ capacity ✓
2023-06-11T09:46:48.363916670Z	stdout	[site  ] INFO 2023/06/11 11:46:47     pv 1:      power ✓ energy ✓ currents ✗
2023-06-11T09:46:48.363872453Z	stdout	[site  ] INFO 2023/06/11 11:46:47     grid:      power ✓ energy ✗ currents ✗
2023-06-11T09:46:48.363828729Z	stdout	[site  ] INFO 2023/06/11 11:46:47   meters:      grid ✓ pv ✓ battery ✓
2023-06-11T09:46:48.363781760Z	stdout	[site  ] INFO 2023/06/11 11:46:47 site config:
2023-06-11T09:46:48.363737185Z	stdout	[site  ] WARN 2023/06/11 11:46:47 vehicle 'MercedesEQV300' does not support automatic detection
2023-06-11T09:46:48.363666925Z	stdout	[site  ] WARN 2023/06/11 11:46:47 vehicle 'BMWi3s (offline)' does not support automatic detection
2023-06-11T09:46:48.363615526Z	stdout	[site  ] WARN 2023/06/11 11:46:47 battery configured but residualPower is missing (add residualPower: 100 to site)
2023-06-11T09:46:48.363569067Z	stdout	[site  ] WARN 2023/06/11 11:46:47 deprecated: use 'battery' instead of 'batteries'
2023-06-11T09:46:48.363472436Z	stdout	[site  ] WARN 2023/06/11 11:46:47 deprecated: use 'pv' instead of 'pvs'
2023-06-11T09:46:47.445858570Z	stdout	[site  ] DEBUG 2023/06/11 11:46:47 static grid tariff
2023-06-11T09:46:47.067176599Z	stdout	[main  ] ERROR 2023/06/11 11:46:47 creating vehicle bmwi3s failed: cannot create vehicle 'template': cannot create vehicle 'bmw': unexpected status: 401 (Unauthorized)
2023-06-11T09:46:46.040147166Z	stdout	[db    ] INFO 2023/06/11 11:46:46 using sqlite database: /root/.evcc/evcc.db
2023-06-11T09:46:45.535357474Z	stdout	[main  ] INFO 2023/06/11 11:46:45 starting ui and api at :7070
2023-06-11T09:46:45.532806954Z	stdout	[main  ] INFO 2023/06/11 11:46:45 using config file: /etc/evcc.yaml
2023-06-11T09:46:45.493657582Z	stdout	[main  ] INFO 2023/06/11 11:46:45 evcc 0.117.4 (05e22817)

What type of operating system are you running?
Docker container
Version
v0.117.4

My i3 works fine. Please provide credentials to<EMAIL_ADDRESS>

Thank you for this quick reply - and sorry. In fact, I forgot to create a new password that complies with BMW's new password policy. I thought as long as the My BMW app works, it's not because of that.

BMW's new password policy

Thank you, good to know!


parselmouth.PraatError: Unknown variable:

This llibrary looks awesome!  I'm trying to repeat the first example locally.
I created a folder called my-voice-analysis/Mysp and placed the myspsolution.praat file in that folder and a wav file called about_time.wav that is a 4 second clip of a man speaking. From the my-voice-analysis firectory, I try running:
mysp=__import__("my-voice-analysis")
p="about_time" # Audio File title
c = r"Mysp"
mysp.myspgend(p,c)

I get the following error:
>>> mysp.myspgend(p,c)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/anaconda3/envs/conda3/lib/python3.7/site-packages/my-voice-analysis/__init__.py", line 231, in myspgend
    objects= run_file(sourcerun, -20, 2, 0.3, "yes",sound,path, 80, 400, 0.01, capture_output=True)
parselmouth.PraatError: Unknown variable:
« (ln(f_one
Script line 295 not performed or completed:
« lnf0 = (ln(f_one)-5.65)/0.31 »
Script not completed.

Any idea?  Thanks!

Please put down the path to the directory as c=r"C:/user/.../myspsolution.praat"
another possibility, if your audio contents background noise the file won't be analysed.
Please let me know if you run again into problems.....I will fix the background noise problem and other fixations to make it easy to use

@codeundercoverdev
Please put down the path to the directory as c=r"C:/user/.../myspsolution.praat"
another possibility, if your audio contents background noise the file won't be analysed.
I revised myspsolution.praat and my-voice-analysis at pypi ....please consider to download the formar one and upgrade you my-voice-analysis from pypi.
Please let me know if you run again into problems.....I will fix the background noise problem and other fixations to make it easy to use

Hi @Shahabks , I am using a Mac, so there is no c drive.  The file should be targeted correctly with the code I have. Also, there is no background noise in the file.  Any ideas?

oh, didn't see your second message. I'll try upgrading and let you know.

hi @codeundercoverdev
I would suggest you add the following two line codes
[in]
my=import("my-voice-analysis")
# Add the following two lines
p=input("enter the path to the dataset:   ")
#then copy/paste   C:\Users\Desktop\dataset
m=input("enter the audio file name:    ")   # the audio fiile name without extention
  my.mysppaus(m,p)
  my.myspsr(m,p)
  my.myspatc(m,p)
  my.myspst(m,p)
  my.myspod(m,p)
  my.myspbala(m,p)
  my.myspf0mean(m,p)
  my.myspf0sd(m,p)
 my.myspf0med(m,p)
 my.myspf0min(m,p)
 my.myspf0max(m,p)
my.myspf0q25(m,p)
 my.myspf0q75(m,p)
 my.mysptotal(m,p)
 my.mysppron(m,p)
 my.myspgend(m,p)

[out]
================= RESTART: C:\Users\ta\Desktop\myvoiceee.py =================
enter the path to the dataset:   C:\Users\ta\Desktop\testasr\dataset\audioFiles
enter the audio file name:    sound
[]
number_ of_syllables= 66
[]
number_of_pauses= 2
[]
rate_of_speech= 3 # syllables/sec original duration
[]
articulation_rate= 4 # syllables/sec speaking duration
[]
speaking_duration= 17.7 # sec only speaking duration without pauses
[]
original_duration= 19.6 # sec total speaking duration with pauses
[]
balance= 0.9 # ratio (speaking duration)/(original duration)
[]
f0_mean= 146.83 # Hz global mean of fundamental frequency distribution
[]
f0_SD= 18.95 # Hz global standard deviation of fundamental frequency distribution
[]
f0_MD= 145.0 # Hz global median of fundamental frequency distribution
[]
f0_min= 71 # Hz global minimum of fundamental frequency distribution
[]
f0_max= 237 # Hz global maximum of fundamental frequency distribution
[]
f0_quan25= 140 # Hz global 25th quantile of fundamental frequency distribution
[]
f0_quan75= 153 # Hz global 75th quantile of fundamental frequency distribution
[]
0
number_ of_syllables      66
number_of_pauses           2
rate_of_speech             3
articulation_rate          4
speaking_duration       17.7
original_duration       19.6
balance                  0.9
f0_mean               146.83
f0_std                 18.95
f0_median                145
f0_min                    71
f0_max                   237
f0_quantile25            140
f0_quan75                153
[]
Pronunciation_posteriori_probability_score_percentage= :89.96
[]
a Male, mood of speech: speaking passionately, p-value/sample size= :0.00 5

NOTE: if the audio file is not clear you will see the following message
Try again the sound of the audio was not clear [the 3rd output]
I hope it works for you

@codeundercoverdev
Hello Phil, have you tried the a/m algorithm? the issue fixed?
I would be grateful if you let me know your latest experience

Getting an error
Below is my script
my=import("my-voice-analysis")
p=input("D:\Appshark\Projects\xxx")
m=input("D:\Appshark\Projects\xxx\25641692.wav")
my.mysppaus(m,p)
File "", line 1
my=import("my-voice-analysis")
^
SyntaxError: invalid syntax

please rewrite your script as:
[in]
after symbol "=" enter twice underline "__" and without any space, type
"import" and again without pace twice underline "__" and then
("my-voice-analysis")
my=import("my-voice-analysis")
p=input("Enter the path to the audio file:")
m=input("Enter the audio file name:")
ouut=my.mysppaus(m,p)
print(ouut)
after running the script the followings will pop out:
[out]
your machine ask
Enter the path to the audio file: (please enter the path)
...D:\Appshark\Projects\xxx
Enter the audio file name: (please enter the audio file name without
extension .wav)
... 25641692
that is it.
note: in some python versions you might need to get "input" command
differently. Please let me know if you run into error again.
On Wed, 17 Apr 2019 at 01:09, Dr. Shiulee Chakraborty <
<EMAIL_ADDRESS>wrote:

Getting an error
Below is my script
my=import("my-voice-analysis")
p=input("D:\Appshark\Projects\xxx")
m=input("D:\Appshark\Projects\xxx\25641692.wav")
my.mysppaus(m,p)
File "", line 1
my=import("my-voice-analysis")
^
SyntaxError: invalid syntax
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Shahabks/my-voice-analysis/issues/1#issuecomment-483727721,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Aad97oRyL5HpgHKbRrsHDUQlxaKEbA94ks5vhfXIgaJpZM4bJx2_
.

Hi @Shahabks,  I am doing exactly what you have done up there but I cannot get pass through "Try again the sound of the audio was not clear". Is it linked to the quality of the file ? Although I doubt it because I use The Ryerson Audio-Visual Database of Emotional Speech and Song (RAVDESS) which are audio files of good quality.

Hello, could you please make sure

the audio files are .wav.
the length of recorded voice is 7 sec. +,
Utterances without long fillers or very long pauses

If you still run into issues please let me have more information on the
issue to help you
On Fri, 12 Jul 2019 at 00:51, wil2210<EMAIL_ADDRESS>wrote:

Hi @Shahabks https://github.com/Shahabks, I am doing exactly what you
have done up there but I cannot get pass through "Try again the sound of
the audio was not clear". Is it linked to the quality of the file ?
Although I doubt it because I use The Ryerson Audio-Visual Database of
Emotional Speech and Song (RAVDESS) which are audio files of good quality.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Shahabks/my-voice-analysis/issues/1?email_source=notifications&email_token=AGTX33VW3JNEMPRPMZ73A33P65JGZA5CNFSM4GZHDW72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZXEO6Q#issuecomment-510543738,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGTX33T6DROY5NI2JQTUUDDP65JGZANCNFSM4GZHDW7Q
.

Same issue here, tried everything :/
Any updates on this @Shahabks or @wil2210 ?

could you please send me your code as well as the audio file you wish to
analyse? I check on it
On Tue, 19 Nov 2019 at 06:04, Will Silveira<EMAIL_ADDRESS>wrote:

Same issue here, tried everything :/
Any updates on this @Shahabks https://github.com/Shahabks or @wil2210
https://github.com/wil2210 ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Shahabks/my-voice-analysis/issues/1?email_source=notifications&email_token=AGTX33RLOAZ5MXQDBZWV5VDQUL7PNA5CNFSM4GZHDW72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEL45RY#issuecomment-555208391,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGTX33TEKOJZ6S5JNFU2XX3QUL7PNANCNFSM4GZHDW7Q
.

@Shahabks Here it is: https://www.dropbox.com/s/da97dh0jcwnip0s/voice-analysis.zip?dl=0

Sorry Will, my access to the dropbox of yours is denied ..... perhaps it
something about my system setup.......could you send them here, gmail
On Tue, 19 Nov 2019 at 09:46, Will Silveira<EMAIL_ADDRESS>wrote:

@Shahabks https://github.com/Shahabks Here it is:
https://www.dropbox.com/s/da97dh0jcwnip0s/voice-analysis.zip?dl=0
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Shahabks/my-voice-analysis/issues/1?email_source=notifications&email_token=AGTX33WVQNWR2B3CWOL7YBLQUMZPXA5CNFSM4GZHDW72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEMODVA#issuecomment-555278804,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGTX33Q7CDW4HHTLTA3FD4DQUMZPXANCNFSM4GZHDW7Q
.

Sent!

Nevermind, reinstalled all and managed it to work :)
Thanks!


Unbreakable snow

Describe the bug
Sometimes AdvancedSeasons creates snow which cannot be broken.
It cannot be broken in survival.
It cannot be broken in creative.
It cannot be removed with world edit.
Blocks cannot be placed where the snow is.
It does not disappear in summer.
It's basically forever corrupting the world and the only thing you can do is bury it underground or wash it away with water.
It shows up as minecraft:snow layers:1 but nothing you do can remove it.
No errors.
Present in Spigot 1.20.6, AdvancedSeasons 1.3.2
https://github.com/AdvancedPlugins/Seasons/assets/4374351/2c4b40aa-591a-4620-957b-17c56040bf8a
How to reproduce
Play the game with seasons enabled.
Break snow until you find snow that cannot be broken.
Screenshots / Videos
No response
Server Log
No response

Have you tried relogging? We can't really place blocks that cannot be broken, this seems more like a visual issue. Try relogging, if that does not help try restarting and let me know if any of these helped / it disappeared after

Have you tried relogging? We can't really place blocks that cannot be broken, this seems more like a visual issue. Try relogging, if that does not help try restarting and let me know if any of these helped / it disappeared after

I have. It did not help.

It's your problem solved?

Is your problem solved?

On its on? No, I don't think that's generally how things work.

It's a very strange bug. Would you be willing to send your server folder to help me find the problem?

It's a very strange bug. Would you be willing to send your server folder to help me find the problem?

No, but I can try to provide more information.
The affected snow layers act like entities almost. When you try to break them you get the combat fatigue indicator which you wouldn't normally get with blocks.
All attempts to break the snow layers are like trying to break air, nothing is happening. They can't be interacted with.
If you break the block below the snow falls, the it still can't be broken.
Using water bucket can get rid of the  water. Also using lava bucket can melt the snow.
You also can't place a block in the same space as the snow.

Another hypothesis is that the block is somehow in a state of infinite gravity. That is, it will try to fall all the time even if it is on a block. This state does not allow the block to be broken.