question regarding sRGB white point luminance and black level scaling

I am reviewing https://www.w3.org/Graphics/Color/srgb and found the following information.

Reference display white point luminance: 80 cd/m2.
I believe your code normalizes linear RGB value of 1 to represent 100 cd/m2. Should a correction factor be applied for sRGB since it's reference display white point is 80 cd/m2?

There is also mention of "black normalized values" being computed for ICC v4.
Is this being handled with the range (full vs. limited) option?

The nominal white point is only used when converting to an absolute luminance scale (ST.2084). I do not see why sRGB (i.e. computer) images should be handled differently from BT.709 (i.e. television) images. Moreover, I believe sRGB only describes the reference viewing condition. No actual sRGB display runs at 80 cd/m^2, which is usually not even physically possible.

Full/limited range is only about quantization. It is not considered by the colorspace module, which works only on real numbers. I am not familiar with ICC, but in color management, there is the notion of black point compensation when adapting images for real displays (to avoid black crush, etc.). z.lib does not consider this. It is related to tone mapping.

The use cases I'm considering include overlaying video and graphics from difference sources. In these use cases, making sure the difference sources have the same luminance scale is very important. I don't believe that peak_luminance parameter is supported for sRGB, so adding that support would help.
Matching reference white and black points would also apply to my use cases.

For relative transfer functions, there is no specific correction needed to change the brightness level, so e.g. a sRGB graphic can be embedded on a BT.709 image simply by adjusting the nonlinearity (i.e. BT.709 = pow(pow(sRGB, 2.2), 1 / 2.4). Black point compensation is a display-specific matter and should be addressed in display calibration software. It is essentially a form of tone mapping that deals with the inability of a display to reproduce the darkest coded shades.

I think we can agree that the different standards have different levels for reference white and reference black.
One question I have is "Are these differences accounted for in the conversion to and from linear RGB?" In other words, are reference white in sRGB and reference white in BT.709 converted to the same linear RGB value, given that the color space is the same?
Another question is "What is the scale of the linear RGB values?" Does 1.0 luminance (computed from linear R,G,B) correspond to 100 cd/m2?

For any relative transfer function, the maximum diffuse white value always maps to 1.0 in linear light (and 1.0 in nonlinear light). The peak luminance level is used only when converting to/from ST.2084, to map the relative scale into absolute light. Assuming a full-range 8-bit input signal, the coded value 255 always maps to 1.0 linear light in any SDR transfer function. In STD-B67, the halfway coded value always maps to 1.0. Outside of conversions involving ST.2084, a luminance of 1.0 has no physical meaning.

Thanks for answering my questions. I am closing this issue.


O and U sumbols are not supported in sequence mode

Steps to Reproduce

Toggle to Macro - Sequence mode -> Switch to PEP (Peptides)
Start new sequence
Type OU

Actual behavior
Canvas is empty

Expected behavior
OU appeared on the canvas

Investigation:

Where was no task for peptide support in sequence mode (in road map - no ticket id)
O and U symbols haven't been supported because we didn't have such peptides in the Library
Others symbols have been supported in the context of import/export to FASTA/Sequence
And O symbol was missed even there - https://github.com/epam/Indigo/issues/1755#issuecomment-1972978475

Versions

Ketcher Version 2.25.0-rc.4 Build at 2024-09-23; 17:24:38
Indigo Toolkit Version 1.24.0-rc.3.0-g692080c62-wasm32-wasm-clang-19.0.0
Chrome Version 129.0.6668.59 (Official Build) (64-bit)
Win10

Tested. Bug fixed.

Desktop:

OS: Windows 11
Browser Chrome
Version 128.0.6613.120 (Official Build) (64-bit)

Ketcher version
[Version 2.26.0-rc.2]
Indigo version
[Version 1.25.0-rc.2]


improve access to information on about and career pages

this work is still being defined
more details in the design doc

Closing as not planned.


Add more announcements

Multiple announcements have been released under FOI that are not yet on the website. These include:

TPE Onboard
London Overground/Elizabeth Line Station
Bakerloo Line Onboard
Central Line Onboard
And many more.

it would be nice for these to be on the website!

Please split these into separate issues to be tracked individually

Adding all of these files to the website is a lot of work. Currently, the focus is on adding files for the Merseyrail Class 777. I have personally collected station files for the London Overground/Elizabeth Line which are in Adobe format. However, converting them to MP3 or WAV would require a considerable amount of effort. Additionally, the files would need to be renamed to match the announcements. This process would also take a significant amount of time.

Please split these into separate issues to be tracked individually

@davwheat Will do! If I knew how to add the announcements to the repo myself I would do it. I’ll try to figure it out!

Please split these into separate issues to be tracked individually

@davwheat Will do! If I knew how to add the announcements to the repo myself I would do it. I’ll try to figure it out!

@davwheat Could you guide me on adding TPE and London Overground/Elizabeth line station announcement files to this repo? I have the files.

Please split these into separate issues to be tracked individually

@davwheat Will do! If I knew how to add the announcements to the repo myself I would do it. I’ll try to figure it out!

@davwheatCan you guide me through adding the TPE files and LO/Liz line files to this repository? I already have the files.

Please split these into separate issues to be tracked individually

I will do it now, they haven't done so.

Multiple announcements have been released under FOI that are not yet on the website. These include:

TPE Onboard
London Overground/Elizabeth Line Station
Bakerloo Line Onboard
Central Line Onboard
And many more.

it would be nice for these to be on the website!

@opott What are these others? I will also create issues for these.


python310Packages.advantage-air: 0.4.1 -> 0.4.2

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 206612 run on x86_64-linux 1

1 package failed to build:

home-assistant-component-tests.advantage_air

2 packages built:

python310Packages.advantage-air
python39Packages.advantage-air

Test failure is
tests/components/advantage_air/test_light.py::test_light_async_setup_entry
       >   /build/source/tests/conftest.py:222: UserWarning: Lingering timer after test <TimerHandle when=6282.955719402931 async_track_point_in_utc_time.<locals>.run_action(<Job HassJobT...ffee65f2f80>>>) at /build/source/homeassistant/helpers/event.py:1305>
       >     warnings.warn(f"Lingering timer after test {handle}")

Not sure if it's just an issue on my machine or not

Result of nixpkgs-review pr 206612 run on x86_64-linux 1

1 package failed to build:

home-assistant-component-tests.advantage_air

2 packages built:

python310Packages.advantage-air
python39Packages.advantage-air

Not sure if it's just an issue on my machine or not

I can reproduce the issue. We need to wait for the component update in Home Assistant if we don't want to override the version.


no feeds in list

Attached is my feedlist from emoncms for my account but no feeds are shown in the app

great this is now fixed :)


Fixing spelling correction

#Fixing spelling correction into namespace section.

Proposed changes
Misspelling correction
Unreleased project version (optional)

Related issues (optional)

@mstanleyjones , how do we kick off the health checks again?

Thanks, @mmorejon :)


Issue: Getting error while integrating Confluence Spaces including attachments

Issue you'd like to raise.
below is my code
`        confluence_url = config.get("confluence_url", None)
username = config.get("username", None)
api_key = config.get("api_key", None)
space_key = config.get("space_key", None)
documents = []
    embedding = OpenAIEmbeddings()
    loader = ConfluenceLoader(
        url=confluence_url,
        username=username,
        api_key=api_key
    )
    for space_key in space_key:
        documents.extend(loader.load(space_key=space_key,include_attachments=True,limit=100))`

The error I am getting:
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://api.media.atlassian.com/file/UNKNOWN_MEDIA_ID/binary?token=sometoken&name=Invalid file id - UNKNOWN_MEDIA_ID&max-age=2940
Suggestion:
No response

by installing latest version of langchain, the problem resolved

400 Client Error: Bad Request for url: https://api.media.atlassian.com/file/UNKNOWN_MEDIA_ID/binary?


agent sinks into the ground in tutorial 1

when I start the tutorial 1, the agent sinks into the ground (and dies at the second launch)

I have the same error here. As far as I tested, it happens when the agent starting position is not specified in the mission, so it is not specific to tutorial 1. You can specify it with the startAt method from MissionSpec API (http://microsoft.github.io/malmo/0.30.0/Documentation/classmalmo_1_1_mission_spec.html#ab572120d07b277350d48bb869aaeaf58)
Below a screenshot of what it looks like with tutorial one for example. The agent is partially in the ground and will sunk in the ground at next launch. Moreover the only possible move there is to jump.

And this is with a default flat generator :


Rename 'interpolate' functions to 'regrid'

The 'interpolate' functions are all doing regridding, so that's a better name for them.
cc @astrofrog

Coverage remained the same at 74.325% when pulling 1fe329ccf1f887e62b2b52b46b4f4321af75d557 on keflavich:rename_interpolate into 8968ff8424f27b246234716143b1f1f63f748beb on radio-astro-tools:master.

Hmmm.  I find interpolate to be a more precise name.  Regridding comes with connotations of behaving well statistically, whereas you know you are screwing something up by interpolating.  Current implementations in spectral_cube don't behave well.  I have a student working on a Fourier implementation.
That being said, the right move here may be to leave regrid as per this PR and then stick in a method='interpolate' as the default and then use method='fourier' for later.

I like the approach.  I think @astrorog's point was that the interpolation being done is regridding, in the sense that the output is not on the same grid as the input.  The same is true of interpolation, though...
:+1: to Fourier upsampling, though!  That's my favorite!
see https://github.com/keflavich/image_registration/blob/master/image_registration/fft_tools/upsample.py

on fourier upsampling, this approach is probably nicer:
https://github.com/keflavich/image_registration/blob/master/image_registration/fft_tools/zoom.py#L6
https://github.com/keflavich/image_registration/blob/master/image_registration/fft_tools/scale.py#L4
(it looks like I may have done the math for those... so best to double check it)

@astrofrog, @low-sky because interpolate and regrid each seem to carry different implicational baggage depending on who you ask, I'm going to leave this as interpolate for now - technically, that is what is being done under the hood (np.interp), and interpolation without regridding is probably nonsense?


Support for using Razor Class Library in Blazor Appllication

Don't know whether this issue should be raised here or in Demo Repo.
Current Blazor samples uses the UI and static content from sample project, whereas when we architect or develop Blazor applications we mainly keep the UI in a separate Razor Class library project so that it can be utilized in different project heads (like WASM , PWA )  When I tried to do that in Chromely it was not able to use the static resources like css and js files can you please suggest a solution for this.
You can see the demo implementation here : https://github.com/techierathore/TrBlazorEx

@techierathore
You need to register the assembly as embedded resource - https://github.com/chromelyapps/Chromely/blob/master/Documents/registering_resource_handlers.md
var config = DefaultConfiguration.CreateForRuntimePlatform();
var assemblyOptions = new AssemblyOptions("embeddedAssemblyName.dll", null, "app");
config.UrlSchemes.Add(new UrlScheme(DefaultSchemeName.ASSEMBLYRESOURCE, "assembly", "app", string.Empty,   UrlSchemeType.AssemblyResource, false, assemblyOptions));

An embeddable sample project - https://github.com/chromelyapps/demo-projects/tree/master/v_5.0/regular-chromely/Chromely.External.Controllers
https://github.com/chromelyapps/demo-projects/blob/53ccbdd22eac818ebf96df594f6fc81369965772/v_5.0/regular-chromely/Chromely.External.Controllers/Chromely.External.Controllers.csproj#L18
See these issues where it was discussed,
https://github.com/chromelyapps/Chromely/issues/147
https://github.com/chromelyapps/Chromely/issues/207

Thanks @mattkol for quick response, my apologies that I missed it. Is there any way we can have a discussion about Chromely and would love to contribute in a anyway I can. Is there any IM channels for discussion like gitter/discord/slack etc.

@techierathore sure, there is gitter.
Also I am hoping to expand on some series of Howtos - https://github.com/chromelyapps/Chromely/search?q=Howto&type=issues
If this works for you it will be appreciated if you contribute by creating an issue. It is just going to be simple skeletal way to embed resources. Just highlighting the relevant code and have an attachment. I noticed that this is most helpful in answering developers questions.
Thanks.

Thanks @mattkol , I have joinned the gitter lobby and has asked a few queries related to executing the samples on Mac as I am facing issue in that. Let me know if you want me to create an issue for those. Once my sample application works correectly then I am planning to create video/blog series about using How to build cross platform desktop app with Blazor and Chromely.
Thanks


Add GCERegionService for GCE branch

Hi @nuwang @afgane @chiniforooshan @mbookman
This pull request includes the following changes:

Add GCERegionService and related classes;
Use ServiceAccountCredentials.from_json_keyfile_dict instead of from_json_keyfile_name, so that credentials_dict can be passed in directly from config (per the comment in Pull Request #16).

This pull request passed the test_region_service.py.

@baizhang Works great! 👍  I was thinking about the credential handling a bit more and realised that there are some interesting options that the new from_json_keyfile_dict method enables - so it would be great to know what you think. At present the GCE_PROJECT_NAME property is required. However, when the keyfile_dict is passed in, the dict internally contains the PROJECT_NAME. We could possibly extract the value automatically and thus make the GCE_PROJECT_NAME optional. However, I'm guessing that the default_credentials method will always require the GCE_PROJECT_NAME to be explicitly specified. So what's the best thing to do here -  is one design decision we will need to make.
The other is to decide whether to continue supporting the GCE_SERVICE_CREDS_FILE property. My thinking is that perhaps we could have a prioritised order as follows.

GCE_SERVICE_CREDS_FILE
GCE_SERVICE_CREDS_DICT
GCE default credentials.
What do you think?

Hi @nuwang
Thanks for your review and merging the pull request!
The current priority order of credential handling is

If GCE_SERVICE_CREDS_DICT is provided in config, use GCE_SERVICE_CREDS_DICT;
If GCE_SERVICE_CREDS_DICT is not provided, but GCE_SERVICE_CREDS_FILE is set, parse  GCE_SERVICE_CREDS_FILE into credentials_dict;
If none of the above, use GCE default credentials.

My understanding is that using GCE default credentials is the recommended approach. In this pull request, I did not remove the option of using GCE_SERVICE_CREDS_FILE, because I found it quite convenient to load the credentials file specified by environment variable (at least for testing and development purposes).
@mbookman is the expert on the best practice of GCE credentials. Matt, could you please comment on the design of credential handling?
Thanks,
Bai

Providing multiple options (if all considered useful) is fine for the credentials passing, however the preferred approach that we have discussed is to:

Only use the end user credentials for the creation of the Galaxy master node on Google Compute Engine.
When a user connects to the Galaxy master node to change the cluster size nodes and their associated disk resources would be created using the credentials of the Compute Engine service account.

This avoids passing the end user credentials to the Galaxy master as well as saving them on the Galaxy master.


Prefil <?php\n\n in textarea

First of all, I love this AST Viewer. I currently use it daily.
Would it be possible to add the following default value in the code textarea?
<?php

This would make it easier to immediately test a code part.

Hi @ruudk! Thank you for liking the AST Viewer; we hope it can be helpful to you.
We are planning to add the following support:
If the pasted content does not start with <?php, we will automatically prepend a <?php\n. This will perfectly support the case of pasting a code block.

That's clever.

We've implemented a simple version, you can give it a try =D.

Super handy, thanks!


How do I assign a related object on import?

I am trying to add a new user when importing a user profile, the latter being an extension of Django’s user model, and thus to be assigned to the profile as a related object:
class UserProfileResource(resources.ModelResource):

  def before_import(self, dataset, dry_run, **kwargs):
    if 'id' not in dataset.headers:
      dataset.insert_col(0, [''], 'id')
    data = dataset.dict[0]
    username = data['username']
    email = data['email']
    try:
      user = User.objects.get(username=username, email=email)
    except User.DoesNotExist:
      user = User.objects.create_user(username=username, email=email)
    dataset.append_col([user.id], 'user_id')
    print dataset
    super(UserProfileResource, self).before_import(dataset, dry_run, **kwargs)

  def before_save_instance(self, instance, dry_run, **kwargs):
    print instance.__dict__
    super(UserProfileResource, self).before_save_instance(instance, dry_run, **kwargs)

  class Meta:
    model = UserProfile

I am getting the new user instance in the data base as well as the additional column with the correct user ID in before_import() but in before_save_instance() the property user_id is None:
print dataset:
id|username|first_name|last_name|email       |building|apartment|user_id
--|--------|----------|---------|------------|--------|---------|-------
  |erster  |Erster    |Test<EMAIL_ADDRESS>   |123.0    |225

print instance.dict:
{'user_id': None, 'reset_date': None, '_django_version': '1.8.4', 'image': u'', '_state': <django.db.models.base.ModelState object at 0
x10ac414d0>, 'temp_password': u'', 'id': None}

As a result I get the following error after I submit the XLS in Django:
Line number: 1 - UserProfile has no user.
OrderedDict([('id', ''), (u'username', u'erster'), (u'first_name', u'Erster'), (u'last_name', u'Test'), (u'email', u'erster@te.st'), (u'building', 1.0), (u'apartment', 123.0), ('user_id', 225)])
Traceback (most recent call last):
File "/Users/tobi/.virtualenvs/infoboard/lib/python2.7/site-packages/import_export/resources.py", line 380, in import_data
row_result.object_repr = force_text(instance)
File "/Users/tobi/.virtualenvs/infoboard/lib/python2.7/site-packages/django/utils/encoding.py", line 92, in force_text
s = six.text_type(s)
RelatedObjectDoesNotExist: UserProfile has no user.

Any ideas?

OK, I now found out it might be a better idea to use the init_instance() method:
class UserProfileResource(resources.ModelResource):

  def init_instance(self, data, *args, **kwargs):
    instance = super(UserProfileResource, self).init_instance(*args, **kwargs)
    user = User.objects.create_user(username=data['username'], email=data['email'])
    user.first_name = data['first_name']
    user.last_name = data['last_name']
    instance.user = user
    print instance.user.pk
    return instance

However, now I get this exception, although instance.user.pk is the actual ID of the new user object.
IntegrityError at /-/admin/auth/user/process_import/
UNIQUE constraint failed: api_userprofile.user_id

What am I doing wrong?

@bmihelac forgive me for bumping this; I could really need some help…

I now managed to implement the import of UserProfiles, reverting back to the before_import() method:
class UserProfileResource(resources.ModelResource):

  def before_import(self, dataset, dry_run, *args, **kwargs):
    user_ids = []

    for data in dataset.dict:
      username = data['username']
      email = data['email']
      building = Building.objects.get(pk=data['building'])
      apartment = data['apartment']

      try:
        user = User.objects.get(username=username, email=email)
      except User.DoesNotExist:
        user = User.objects.create_user(username=username, email=email)
        user.first_name = data['first_name']
        user.last_name = data['last_name']
        user.save()

      try:
        location = Location.objects.get(user=user, building=building, apartment=apartment)
      except Location.DoesNotExist:
        location = Location(user=user, building=building, apartment=apartment)
        location.save()

      user_ids.append(user.id)

    dataset.insert_col(0, user_ids, 'user')
    return super(UserProfileResource, self).before_import(dataset, dry_run, *args, **kwargs)

  class Meta:
    model = UserProfile
    fields = ('user', 'username', 'first_name', 'last_name', 'email', 'building', 'apartment')
    import_id_fields = ('user',)

For the sake of completeness, here is also the UserProfile model:
class UserProfile(models.Model):
  user = models.OneToOneField(User, primary_key=True)
  image = models.ImageField(upload_to='profiles/%Y/%m', blank=True, verbose_name='Bild')
  temp_password = models.CharField(u'Temporäres Kennwort', max_length=255, blank=True)
  reset_date = models.DateTimeField(u'Gültig bis', blank=True, null=True, help_text='')

@p3k  glad you make it work, here are my thoughts on this.
I would override get_or_init_instance method and get or initialize User object setting it as private attribute of UserProfile instance.
Then import_obj would be overriden and if dry_run is False I would save user and assign it to current instance.
See https://django-import-export.readthedocs.org/en/latest/import_workflow.html for all hooks you can use when importing.

@bmihelac Could you help me out? I know your comment was in 2015, but I'm hoping you can still help me as I am clueless right now. I am having a similar issue. I have a bit more complex model, but I followed your advice. I have the following get_or_init_instance:
class StudentResource(resources.ModelResource):
    def get_or_init_instance(self, instance_loader, row):
        print("=================")
        print(row)

        for key, value in row.items():
            print(key, value)

        initials = row['person__initials']  # TODO: Check if this is a tablib error with ufeff character (BOM)
        firstname = row['person__firstname']
        preposition = row['person__preposition']
        surname = row['person__surname']
        netid = row['person__netid']
        street_name = row['person__street_name']
        house_number = row['person__house_number']
        postcode = row['person__postcode']
        city = row['person__city']
        country = row['person__country']
        email = row['person__email']
        phone_mobile = row['person__phone_mobile']
        gender = row['person__gender']
        birthdate = row['person__birthdate']
        mail_announcements = row['person__mail_announcements']
        mail_company = row['person__mail_company']
        mail_education = row['person__mail_education']
        machazine = row['person__machazine']

        person = Person.objects.create(
            initials=initials,
            firstname=firstname,
            preposition=preposition,
            surname=surname,
            netid=netid,
            street_name=street_name,
            house_number=house_number,
            postcode=postcode,
            city=city,
            country=country,
            email=email,
            phone_mobile=phone_mobile,
            gender=gender,
            birthdate=dateutil.parser.parse(birthdate),
            mail_announcements=mail_announcements,
            mail_company=mail_company,
            mail_education=mail_education,
            machazine=machazine
        )

        print("PERSON ID", person.id)

        print("=================", flush=True)
        return super(StudentResource, self).get_or_init_instance(instance_loader, row)
        # TODO link student to person here

    def get_instance(self, instance_loader, row):
        try:
            params = {}
            for key in instance_loader.resource.get_import_id_fields():
                field = instance_loader.resource.fields[key]
                params[field.attribute] = field.clean(row)
            return self.get_queryset().get(**params)
        except Exception:
            return None

    class Meta:
        model = Student
        use_transactions = True
        fields = ('person__initials', 'person__firstname', 'person__preposition', 'person__surname', 'person__netid', 'student_number', 'person__street_name', 'person__house_number', 'person__postcode', 'person__city', 'person__country', 'person__email', 'person__phone_mobile', 'person__gender', 'person__birthdate', 'yearbook_permission', 'person__mail_announcements', 'person__mail_company', 'person__mail_education', 'person__machazine', 'first_year', 'study', 'emergency_phone', 'emergency_name')

The person gets created and gets an ID, but how do I link it to student? The relationship is as follows:
class Student(models.Model):
...(omitted)
    person = models.OneToOneField(Person, primary_key=True, on_delete=models.CASCADE)
...(omitted)


Correct misspelling (dasboard => dashboard)

There's a minor misspelling ('dasboard') that should be changed to 'dashboard'.

@seishan Good news - I have finally relented and go reading glasses! 😆
Thanks for spotting this and submitting a fix!


No crate exists with this name?

error: no matching package named lzw-compression found
location searched: registry crates-io
required by package `blockchain v0.1.0

@viraladmin here's the link: https://crates.io/crates/lzw-compress
You are saying another crate is giving an error about this crate?

@viraladmin I will resolve this since I haven't heard back. Feel free to re-open.


OBJ export broken

Hello! I'm opening this issue as a part of the JOSS review: https://github.com/openjournals/joss-reviews/issues/4928
There is a problem with OBJ export. It seems that there are two issues:

The results are rotated 90 degrees over the x-axis.
Normals are flipped for all faces.

Here are the results of the example case HelsingborgResidential and CitySurface in .stl, .vtu, and .obj:

@ipadjen should be fixed now! Care to double check?

I gave it a look, this is what I see:

Face orientations are fixed.
CitySurface is still 90 degrees rotated, whereas the other .objs are fine. I noticed it might be a design decision due to Blender?
The results still look different from .stls and vtus. Could it be that vertex normals are still weirdly oriented? OBJ is on the right of the figure.

@ipadjen Thanks for this! Checking again with my coauthor @dwastberg

@ipadjen Which viewer are you using for the last screenshot? Is it Paraview?

Yes, the screenshot is from Paraview. I also checked it in MeshLab and a similar thing -- STL vs OBJ are colored differently.

@ipadjen latest fix should handle everything! The STL now is the basis, and OBJ is a mere internal Assimp transformation, so WriteSTL parameter is now obsolete!

Looks good now!

ok closing this @anderslogg


Autorest Regen Preview to 3.0.0-alpha.20240115.1 by Dapeng Zhang from refs/pull/4132/merge

Triggered from https://github.com/Azure/autorest.csharp/pull/4132

API change check
API changes are not detected in this pull request.


[Enhancement] Model reload

Proposed enhancement: trigger model reload. Now it's impossible (?) to reload model. The workaround is to disable and reenable the node. It would be perfect to be able to automatize it.

Yeah that is a great idea! Thanks for the PR! Let me check on it and add it! Cool!

v1.3.0 published on npm


⚠ Slack has degraded performance

In e2f86f0, Slack (https://status.slack.com/api/v2.0.0/current) experienced degraded performance:

HTTP code: 200
Response time: 177 ms

Resolved: Slack performance has improved in 9d82cc1.


How to change two etcd cluster to on single

I run my single etcd within a docker and mount data out. when add a second etcd it always faild, so i want to change back to run a single etcd. but it can't be started, what can id do, any helps, Thanks~
So poor my English...

@yehaha9876 You can't configure membership back to 1, because 2-node cluster quorum is 2.
Try
etcd --data-dir=%backup_data_dir% --force-new-cluster

from the single node.
And add back second node.


Disabling auto session on startup is not working

One could technically do nvim "+let g:auto_session_enable = 0" but it doesn't seem to be working right now.
Originally posted by @rmagatti in https://github.com/rmagatti/auto-session/issues/42#issuecomment-876473978

I think nvim +X is defined as running the command after the config and/or the first file. nvim --cmd X would run the command before any config file.
But that also doesn't work so thats strange...

This actually works.
nvim "+let g:auto_session_enabled = v:false"


never compile

Hi,
This project is exactly what I needed, but I cannot manage to compile my state machine. I got some 'out of memory' error during my testing but I'm not sure it was not because of a mistake of mine. I wanted to try to run the code locally, so that I can try to dirty-hack it, but cannot figure how to do so. Some instruction about that would also be greatly appreciated !!
for reference here is what I tried to compile:
// City block spiral expander, to use with recursive blueprint
// G as input: from ghost reader mod
// output X, Y: offsets of blueprint, O: bp to print from book
10:
  W = 100 // bp width
  H = 50 // bp height
  L = 1 // current side lenght
  C = 1 // current cell on side (1..L)
  D = 0 // current direction
  X = 0
  Y = 0
  => 30
30: // handle one cell
  // TODO might need some step to clear area first
  O = 1
  D = D % 4
  => 40
40: // wait construction started
  G != 0 => 50 // ghost reader provided signal
50: // wait construction ended
  G == 0 => 60
60: // loop through the blueprint of the book
  O = O + 1
  O == 3 => 90
  => 40
90: // update directon, side lenght, x, y
  D == 1 => 110
  D == 2 => 120
  D == 3 => 130
  => 140
110:
  X = X - W
  => 150
120:
  Y = Y + H
  => 150
130:
  X = X + W
  => 150
140:
  Y = Y - H
  => 150
150:
  C = C + 1
  C > L => 160
  => 30
160:
  C = 1
  D = D + 1
  D % 2 == 0 => 170
  => 30
170:
  L = L + 1
  => 30

Cool :)
don't worry about that, take all the time you need/want !

Hey @crazyiop, I tried adding your code incrementally, and it got slower and slower as I went.
My guess is the compiler has an infinite loop when making a state graph, but I wasn't able to test this theory because console.log statements weren't printing for some reason. It's been a long time since I've worked on this, so I can't remember why that would happen (my guess is Webpack-related). Any ideas?

Thanks for trying @aebabis .
I did not event successfully run it locally (I'm no web/js dev :p) so I did not really test anything. But I kind of found a workaround:
as I also found that it is the size that was the implicit limit:
I compiled the code by parts (3 blocks). I just need to have the missing dummy redirection like :
(outside of block):
     => start of block

so all the blocks compiles. Then red wire each block together, remove the few 'init' combinator that may be in duplicate and remove the combinator that translate the dummy redirection. To ease debug/incremental tests, I spaced each block to have room for added instruction without recompiling everything.
So it's a bit of extra step, but still sooooo cool to have such complex circuit working from a few line of code :grinning:  !!

I think I may have fixed this issue with my PR #29 .
When I stepped through my large program I found that it out-of-memory errored on the parsing step alone, so I just optimized the grammar definition to include a tokenizer.
It will now compile this example almost instantly.


[MM-28140] e2e/system_console/customization: add T1027

Summary
Adds T1027: Custom branding is enabled but no image has been uploaded
Ticket Link
https://mattermost.atlassian.net/browse/MM-28140

/update-branch

@mgdelacroix Ping me when ready for re-review.


InvalidCastException: Cannot cast from source type to destination type.

In ProgressiveRewards.cs the line:
	List<ItemInstance> grantedItems = (List<ItemInstance>)result.FunctionResult;

Throws an exception:
InvalidCastException: Cannot cast from source type to destination type.
When looking at the contents of result.FunctionResult it was a List<System.Object>. It did not seem to matter whether or not items were being granted (ie whether there were items in the list).
I am using the .unitypackage from here:
https://github.com/PlayFab/UnitySDK/blob/master/PlayFabClientSDK.unitypackage
public const string VersionString = "UnitySDK-0.32.160711";
Any ideas on how I can fix this?
Thanks

More information is available here and a potential solution in my answer:
https://community.playfab.com/questions/3816/list-is-returned-as-list.html#comment-3829

Yep this is now updated to the correct deserialization syntax.


Rename Chat to AI Tutor

Rename Chat to AI Tutor

visit /dashboard

@iomodo May I work on this issue

@iomodo Created PR on this if there is anything else please do let me know


[request] Make UuidValue more usable

Hi, I have some suggestions to make your valuable package fit better the everyday use:

Provide an Uint8List parse/unparse methods. Nowadays most packages uses Uint8List when working with bytes. I know that it is easy converting it from a List<int> but I guess it would be a plus.
Keep the value in UuidValue as Uint8List instead of String. This will avoid the problem that two Uuids that differs only because one has uppercases and the other has lowercases could be considered different. At least "canonicalize" the internal value to lowercases while creating an instance.
In UuidValue class Implement == operator and hashCode getter.

Thanks in advance.

Just a simple example of what I was talking.
This is obviously only a suggestion, a fast and furious class made just to fit my needs.
import 'dart:typed_data';
import 'package:uuid/uuid.dart' as uid;

class UuidValue extends uid.UuidValue {
  UuidValue(String uuid) : super(uuid.toLowerCase());

  UuidValue.fromByteList(Uint8List byteList, {int? offset})
      : this(uid.Uuid.unparse(byteList, offset: offset ?? 0));
  UuidValue.v4() : this(uid.Uuid().v4());

  @override
  bool operator ==(Object other) => other is UuidValue && uuid == other.uuid;

  @override
  int get hashCode => uuid.hashCode;
}

These are great suggestions and I will probably get these in soon. The UuidValue thing was a request also, as this library wasnt originally designed to work in a fully object oriented way, So with backwards compatibility requirements, I wasnt sure how people were going to use UuidValue and what features it needed.  So this helps, thank you for opening the request.

Ok, I added a bunch of stuff in 3.0.3. I added the hashcode, and operator overload. Added some Uint8List outputting functions. Lowercase internal (i already did this when I parsed stuff, but forgot to do it elsewhere.)
For now, I am going to keep it a String, mostly because a lot of the code assumed strings and I don't want to break backwards compatibility too much.
Also Uint8List will slowly make it back into the library. This library has been around since the beginnings of Dart. And things changed a lot. Originally this was a server-side only library, when server-side dart had some popularity (its why I got into it, as a an alternative for Node). Then someone wanted Web support. That's fine, but at the time, typed_data was server-side only, so I had to switch to List<int> to support web. Things changed since then, and typed_data is now on the frontend too, but I have always been conservative with the type because of how many times I have had to retype this library.
It is also why the design of this library is kind of data to modern Dart. It was designed at a time when things were very different.
I might make a 4.0.0 project/branch/milestone and completely redesign this library, but it might take a bit if I decided to do it, as I don't use dart much anymore because they kind of killed server-side back in the day. People tried to keep it alive, but even now projects like Aqueduct and such are being abandoned. A shame since I loved backend dart. I am a backend/devops developer, so I never really do any frontend, so Flutter or Web is never on my radar for anything (yet)
But I am proud of this library and my other dart libraries, so I try to keep them up to date and maintain them as much as possible, even if a bit disconnected from the community and news.
Sorry for the long post, long story short, if you want anything added, feel free to ask, or open a PR. I am always open to expand and adjust, I just assume people are happy with it if I don't get Issues/PRs. So thank you for this issue.
I will try to work on improving the library for more modern Dart design.


Minor Fixes

Hi,
this merge request fixes some minor issues.
It was created with help of Feram.
If it helped to improve this repository,
please consider to star Feram's repo to show some love! 😊
PS:
The Feram team is currently working on making this technology
available for everyone. If you want to be one of the first to use it,
please sign up up for the newsletter on feram.co.

This is the third such PR I am seeing today. It feels like spam to me (trying to drum up interested in some random bot). Please stop.


The trait bound std::vec::Vec<u8>: std::convert::From<hyper::body::chunk::Chunk> is not satisfied

Chunk is being removed from Hyper per my own request, in favor of using bytes::Bytes: https://github.com/hyperium/hyper/pull/1932#issuecomment-529516529
That will probably obviate this issue; however, note that master is not guaranteed to build right now as I'm still refactoring.

Fixed on latest master.


report an error when --max-error > 1 and no --view is provided

Closes #1004. Closes #2139. This is the simplest fix to the problem that occurred several times. Since a default view (equal to the whole state) would slow down the search beyond reasonable, we simply tell the user to find a good view, when --max-error > 1.

[x] Tests added for any new code
[x] Ran make fmt-fix (or had formatting run automatically on all files edited)
[ ] Documentation added for any new functionality
[x] Entries added to ./unreleased/ for any new functionality

Codecov Report

Merging #2144 (b17ef77) into main (b39ce05) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

:exclamation: Current head b17ef77 differs from pull request most recent head 559a71e. Consider uploading reports for the commit 559a71e to get more accurate results

@@            Coverage Diff             @@
##             main    #2144      +/-   ##
==========================================
- Coverage   77.03%   77.02%   -0.02%
==========================================
  Files         424      424
  Lines       13854    13857       +3
  Branches     1878     1892      +14
==========================================
  Hits        10673    10673
- Misses       3181     3184       +3

Impacted Files
Coverage Δ

...ala/at/forsyte/apalache/infra/passes/options.scala
0.00% <0.00%> (ø)

...at/forsyte/apalache/tla/tooling/opt/CheckCmd.scala
0.00% <0.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

@konnov I think you pointed out here https://github.com/informalsystems/apalache/issues/1004#issuecomment-1235252123 that we also need to update documentation?


laggy

this doesn't give me a feel of smooth, instad it give me very laggy feel, like not enough RAM/CPU, which those's usage are very low

Try disabling picom, also what gpu do you have?


Google maps url broken in email

Also, in the copy, call the the Tauranga City Council on;

Removed the link.


add tests for link-extras step

Only the main method is not covered by tests. Mostly worthless to get coverage on that. Approved.


refactor(nix/build): replace builtins.filterSource and builtins.path

Not only is filterSource deprecated but also path is compatible with nix-illegal characters in their names, like @.

bors merge


dart null safety is not working anymore

when you switch null safety option it does nothing
it still defines the parameters as regular ones not null safe type.
in previes version it was working.

It is working. Fields are only nullable if they are actually sometimes null in the sample.

@dvdsgl  I am wondering whether to add a new attribute to satisfy that all fields can be empty to adapt to different scenarios.

Isn't that this?

Isn't that this?

OK， I thought there was no such attribute


Test Net run issue

Hi,
Thanks for sharing the codes. I am trying to run the codes on Binance test net but I am getting below error:
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.binance.binance_tld', port=443): Max retries exceeded with url: /api/v3/ping (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f12e8610760>: Failed to establish a new connection: [Errno -2] Name or service not known'))
Could you please assist ? Thanks

You have to set binance_tld property in the auth.yml file.

Have you pulled the latest changes?

Yes,  I started frm the scratch again. This time I created API from my binance account not test net. However, I am getting below error now:
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.binance.binance_tld', port=443): Max retries exceeded with url: /api/v3/ping (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fe47664ccd0>: Failed to establish a new connection: [Errno -2] Name or service not known'))

Yes, I started frm the scratch again. This time I created API from my binance account not test net. However, I am getting below error now:
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.binance.binance_tld', port=443): Max retries exceeded with url: /api/v3/ping (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fe47664ccd0>: Failed to establish a new connection: [Errno -2] Name or service not known'))

You need to update your auth file and change binance_tld: "BINANCE_TLD" to binance_tld: "COM" or binance_tld: "US" depending with the country you are in.

Great! that resolved it! Thank you!

@sinash14 @CyberPunkMetalHead please close this issue


Coverts float to int when using JSON to generate Python

Instead of using the float from the key in the JSON file it generates methods in the Python code that treat it as an int. It seems to only do this when numbers end with .0. Changing any key's value in the input JSON from .0 to .01 will result in it being treated as a float in the generated Python functions.
For value ending in .0, treats as int:
JSON = "dataSamplingRate": 1250000.0 to Python dict= "dataSamplingRate": 1250000
For value ending in .01, treats as float:
JSON = "dataSamplingRate": 1250000.01 to Python dict= "dataSamplingRate": 1250000.01

Same as #1345


Error with image paths (SASS files)

Hey,
I installed sass-loader and sass-node and everthing works fine, but I have problems with my image paths. I always get this error: Module not found: Error: Can't resolve './assets/images/background_test.jpg' in 'D:\webprojects\gs-portfolio\src\components\pages'  @ ./~/css-loader!./~/vue-loader/lib/style-rewriter.js?id=data-v-44c827be!./~/sass-loader/lib/loader.js!./~/vue-loader/lib/selector.js?type=styles&index=0!./src/components/pages/Home.vue 6:73-119
This is my folder structure:
assets
-images
--background_test.jpg
-styles
--main.scss
I didn't changed my webpack config file, I'm very in webpack.

since the component is in the /components directory, the path should be:
../assets/images/background_test.jpg (notice the two dots)

Two dots same error!

Well, your component is nested 2 folders deep, so you need ../../.
Please read up on relative paths.

Sorry, I copied the wrong error:
./~/css-loader!./~/vue-loader/lib/style-rewriter.js?id=data-v-7d52047c!./~/sass-loader/lib/loader.js!./~/vue-loader/lib/selector.js?type=styles&index=0!./src/App.vue
Module not found: Error: Can't resolve '../../images/background_test.jpg' in 'D:\webprojects\gs-portfolio\src'
 @ ./~/css-loader!./~/vue-loader/lib/style-rewriter.js?id=data-v-7d52047c!./~/sass-loader/lib/loader.js!./~/vue-loader/lib/selector.js?type=styles&index=0!./src/App.vue 7:64087-64130
 @ ./~/vue-style-loader!./~/css-loader!./~/vue-loader/lib/style-rewriter.js?id=data-v-7d52047c!./~/sass-loader/lib/loader.js!./~/vue-loader/lib/selector.js?type=styles&index=0!./src/App.vue
 @ ./src/App.vue
 @ ./src/main.js
 @ multi ./build/dev-client ./src/main.js

I think its a webpack problem.
I imported my main.scss file in App.vue

Can't resolve '../../images/background_test.jpg'

Is the image outside of the /src directory?
Because all loaders are configured to only work on content in /src and /test. There's a special directory /src/assets where you should put such assets.

I hava similar issue, when I run npm run dev all is ok, but when running unit test npm run unitI get this error:
ERROR in ./~/css-loader?{"minimize":false}!./~/sass-loader/lib/loader.js?{}!./src/assets/styles/main.scss
Module not found: Error: Can't resolve './assets/img/bg_network_purple.svg' in '/Users/wladimircoka/Documents/Develop/logahub/src/assets/styles'
 @ ./~/css-loader?{"minimize":false}!./~/sass-loader/lib/loader.js?{}!./src/assets/styles/main.scss 7:209572-209617
 @ ./src/assets/styles/main.scss
 @ ./src ^\.\/(?!main(\.js)?$)
 @ ./test/unit/index.js
03 03 2017 01:20:52.238:INFO [karma]: Karma v1.5.0 server started at http://<IP_ADDRESS>:9876/
03 03 2017 01:20:52.240:INFO [launcher]: Launching browser PhantomJS with unlimited concurrency
03 03 2017 01:20:52.251:INFO [launcher]: Starting browser PhantomJS
03 03 2017 01:20:53.135:INFO [PhantomJS 2.1.1 (Mac OS X 0.0.0)]: Connected on socket zQeZT4atqRJZ8DNgAAAA with id 75929886
PhantomJS 2.1.1 (Mac OS X 0.0.0) ERROR
  Error: Cannot find module "./assets/img/bg_network_purple.svg"
  at webpack:///src/assets/styles/main.scss:7:0 <- index.js:16980

PhantomJS 2.1.1 (Mac OS X 0.0.0): Executed 0 of 0 ERROR (0.187 secs / 0 secs)

The problem is with the background image at my main.scss but only when testing not in dev:
.background-login {
  background-image: url(assets/img/bg_network_purple.svg);
}

My image is in /src/assets/ .

I have a similar error with vue-style-loader. Searches show it is webpack. Cannot find 'module' when trying to load background image from css/scss as @dimirc. It's being HOURS and many searches. I won't why the an example in vue.js package weren't included?

I have the same problem, I tried to replicate the problem in the project https://github.com/joohncruz/poc-vuejs-webpack-global-style.

src

assets

icons (ico_atalho.png)

components

Hello

BB

style

styles.scss

styles.scss
$auxiliary-color: #1EB6CD ;
.teste-url {
background: $primary-color;
background-image: url('./assets/icons/ico_atalho.png'):
}
Error response:
url('./assets/icons/ico_atalho.png'):  Error response
This relative module was not found:

* ./assets/icons/ico_atalho.png in ./~/css-loader?{"minimize":false,"sourceMap":false}!./~/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-059a7fc7","scoped":false,"hasInlineConfig":false}!./~/sass-loader/lib/loader.js?{"sourceMap":false}!./~/sass-resources-loader/lib/loader.js?{"resources":"D://Projetos//github//poc-vuejs-webpack-global-style//src//assets//styles.scss"}!./~/vue-loader/lib/selector.js?type=styles&index=0!./src/components/Hello.vue

if help
check this out
https://github.com/vuejs-templates/webpack/issues/208#issuecomment-279959781

I was having the same problem, until i realised that I need to use a tilde (~/) in all (S)CSS references instead of (./). This is not well documented in the Vue CLI chapter on static assets.

Had the same issue when integrating vue-styleguide with some components that required some fonts from sass file. The solution provided by @mlachance did the trick for me.

just try like below
eg. src="/assets/images/sss.jpg"

For anyone using sass-loader and separate css file (not inside a .vue), the correct solution is what @mlachance wrote. Say your image is src/assets/image.png and your stylesheet is src/style.scss, this will work:
background: url(~/../assets/image.png)

@andsav Sadly this does not work for me, perhaps because the scss is in another module, see https://github.com/vuejs/vue-cli/issues/5633.

Using @import relies on sass-loader's buggy url() handling. This is the correct way to import external styles into a Vue component:
<!-- relative path -->
<style lang="scss" src="./assets/styles/index.scss"></style>
<!-- module path -->
<style lang="scss" src="my-package/style.scss"></style>

I am also having same problem


Role descriptions

The PR adds a description of each role

Same for QGEP https://github.com/QGEP/docs/pull/66

Typo "qgep" -> "qwat"

Thanks! Can be merged!


Source Link check doesn't look in tools directory

Type: Feature request
NPE version: 5.6.25+a5e5448620
OS version: Windows 10
Installed from: Microsoft Store
I wanted to see if I had done my Source Link right in my package, so I opened it up in NPE.

This package doesn't have a lib folder, which I suspect is why NPE couldn't detect any need for source link. But it does have a tools folder that contains binaries that I want source link info for.
Can NPE be updated to search for source link info under tools?

For now, this is by design since tools are likely to include files that are out of the author's control.
I'm happy to include tools if there's a way we can look for "first party" things.

Ya, I wondered about that. I can't think of a good way to solve that.
Thanks for your consideration.

For tools, we might be able to get the tool name from the manifest and check that file. If there are other related files, that could be challenging.
The logic to gather files is here: https://github.com/NuGetPackageExplorer/NuGetPackageExplorer/blob/master/PackageViewModel/SymbolValidation/SymbolValidator.cs#L83-L85


chore: Add ksiddiqu as release actor

Added kaleem as release actor
Signed-off-by: ksiddiqu<EMAIL_ADDRESS>

Hi @kaleemsiddiqu looks okay would you mind to create repository secret in format:
Name Surname <email@adress> and please store it to the RELEASE_ACTOR_KALEEMSIDDIQU variable

I see secret there thanks ! merging


adds instruction during factory_bot setup in rspec

Thanks for your contribution! See 8ad9cb1d716016c18c7fb349b32e474bb0aa4d94 for why I am closing this.


point range and voxel size

hi,@open-mmlab team
I custom and train my own data, but I got low recall and AP. None of them are more than 40 percent accurate.
I reanalyzed my own point cloud data and found that his XYZ coordinates exceeded the point cloud range in YAML, and many of my X coordinates were negative numbers.I would like to ask if the point cloud scope in YAML should be changed in this case to train again? or some other advice to help me sovle this problem? It means a lot to me .Looking forward to your reply! Thanks again!

Try to follow the dataset_cfg of waymo and nus https://github.com/open-mmlab/OpenPCDet/blob/26a16123cf820e29ed565f4ad53964c66f3ea030/tools/cfgs/dataset_configs/waymo_dataset.yaml#L5


I utilize the project in https://github.com/vvilhonen/cargo-aws-lambda

Do you think it would make sense to reference it in README here?

oh nice. I sry I missed the message. feel free to drop a pr. very nice work

Thanks for the amazingly useful docker builder! This just adds couple of lines of rusoto code to deploy the product. The PR can be found here https://github.com/softprops/lambda-rust/pull/48


btsnd_hcic_ble_sync_sem_init compile error in esp-idf v5.0 release version (IDFGH-11410)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v5.0.2-285-g7493b907ef
Operating System used.
Linux
How did you build your project?
Command line with Make
If you are using Windows, please specify command line type.
None
What is the expected behavior?
like esp32 target, can build and run.
What is the actual behavior?
strange when switch from esp32 target to esp32c3target.
Steps to reproduce.

build esp32 target OK
build esp32c3 target failed

Build or installation Logs.
/home/daniel/SnapDragonfly/esp-idf-v5.0/components/bt/host/bluedroid/hci/hci_layer.c: In function 'hci_layer_init_env':
/home/daniel/SnapDragonfly/esp-idf-v5.0/components/bt/host/bluedroid/hci/hci_layer.c:189:5: error: implicit declaration of function 'btsnd_hcic_ble_sync_sem_init'; did you mean 'btsnd_hcic_ble_set_phy'? [-Werror=implicit-function-declaration]
  189 |     btsnd_hcic_ble_sync_sem_init();
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |     btsnd_hcic_ble_set_phy
/home/daniel/SnapDragonfly/esp-idf-v5.0/components/bt/host/bluedroid/hci/hci_layer.c: In function 'hci_layer_deinit_env':
/home/daniel/SnapDragonfly/esp-idf-v5.0/components/bt/host/bluedroid/hci/hci_layer.c:215:5: error: implicit declaration of function 'btsnd_hcic_ble_sync_sem_deinit' [-Werror=implicit-function-declaration]
  215 |     btsnd_hcic_ble_sync_sem_deinit();
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/daniel/SnapDragonfly/esp-idf-v5.0/components/bt/host/bluedroid/hci/hci_layer.c: In function 'filter_incoming_event':
/home/daniel/SnapDragonfly/esp-idf-v5.0/components/bt/host/bluedroid/hci/hci_layer.c:452:36: error: implicit declaration of function 'btsnd_hcic_ble_get_sync_info'; did you mean 'btsnd_hcic_ble_ext_scan_enable'? [-Werror=implicit-function-declaration]
  452 |             BlE_SYNC *sync_info =  btsnd_hcic_ble_get_sync_info();
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                    btsnd_hcic_ble_ext_scan_enable
/home/daniel/SnapDragonfly/esp-idf-v5.0/components/bt/host/bluedroid/hci/hci_layer.c:452:36: warning: initialization of 'BlE_SYNC *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
[878/1163] Building C object esp-idf/bt/CMakeFiles/__idf_bt.dir/host/bluedroid/main/bte_main.c.objninja: build stopped: subcommand failed.
HINT: Please check that the function name is correct. Also it is possible that you've forgot to import btsnd_hcic_ble_sync_sem_init library(s) in header file or add the necessary REQURIES component. Try to add missing libraries to your project header file or check idf_component_register(REQUIRES ...) section in your component CmakeList.txt file. For more information run 'idf.py docs -sp api-guides/build-system.html'.
Also, please check if the function has been removed, renamed or replaced by an alternative function - refer to the migration guide for more information.
ninja failed with exit code 1, output of the command is in the /home/daniel/SnapDragonfly/SnapAirUnit/build/log/idf_py_stderr_output_22338 and /home/daniel/SnapDragonfly/SnapAirUnit/build/log/idf_py_stdout_output_22338

More Information.
No response

@lida2003
Hi,how can I reproduce the issue?

@lida2003 Hi,how can I reproduce the issue?

Follow this guide(https://github.com/SnapDragonfly/SnapAirUnit/blob/main/docs/Build_and_Flash.md)  with latest git version.

@lida2003
Is the Bluetooth Low Energy configuration option turned on?
Location: (Top) → Component config → Bluetooth → Bluedroid Option

I reproduced the issue when I disable "Bluetooth Low Energy configuration" in menuconfig:
LATFORM -D_POSIX_READER_WRITER_LOCKS -Wno-implicit-fallthrough -Wno-unused-const-variable -Wno-format -MD -MT esp-idf/bt/CMakeFiles/__idf_bt.dir/host/bluedroid/hci/hci_layer.c.obj -MF esp-idf/bt/CMakeFiles/__idf_bt.dir/host/bluedroid/hci/hci_layer.c.obj.d -o esp-idf/bt/CMakeFiles/__idf_bt.dir/host/bluedroid/hci/hci_layer.c.obj   -c /home/zhanghaipeng/esp_v5/esp-idf/components/bt/host/bluedroid/hci/hci_layer.c
/home/zhanghaipeng/esp_v5/esp-idf/components/bt/host/bluedroid/hci/hci_layer.c: In function 'hci_layer_init_env':
/home/zhanghaipeng/esp_v5/esp-idf/components/bt/host/bluedroid/hci/hci_layer.c:189:5: error: implicit declaration of function 'btsnd_hcic_ble_sync_sem_init'; did you mean 'btsnd_hcic_ble_set_phy'? [-Werror=implicit-function-declaration]
189 |     btsnd_hcic_ble_sync_sem_init();
|     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
|     btsnd_hcic_ble_set_phy
/home/zhanghaipeng/esp_v5/esp-idf/components/bt/host/bluedroid/hci/hci_layer.c: In function 'hci_layer_deinit_env':
/home/zhanghaipeng/esp_v5/esp-idf/components/bt/host/bluedroid/hci/hci_layer.c:215:5: error: implicit declaration of function 'btsnd_hcic_ble_sync_sem_deinit' [-Werror=implicit-function-declaration]
215 |     btsnd_hcic_ble_sync_sem_deinit();
|     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/zhanghaipeng/esp_v5/esp-idf/components/bt/host/bluedroid/hci/hci_layer.c: In function 'filter_incoming_event':
/home/zhanghaipeng/esp_v5/esp-idf/components/bt/host/bluedroid/hci/hci_layer.c:452:36: error: implicit declaration of function 'btsnd_hcic_ble_get_sync_info'; did you mean 'btsnd_hcic_ble_ext_scan_enable'? [-Werror=implicit-function-declaration]
452 |             BlE_SYNC *sync_info =  btsnd_hcic_ble_get_sync_info();
|                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
|                                    btsnd_hcic_ble_ext_scan_enable
/home/zhanghaipeng/esp_v5/esp-idf/components/bt/host/bluedroid/hci/hci_layer.c:452:36: warning: initialization of 'BlE_SYNC *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
[897/1162] Building C object esp-idf/bt/CMakeFiles/__idf_bt.dir/host/bluedroid/stack/avrc/avrc_sdp.c.objninja: build stopped: subcommand failed.

but when I enable it, the issue gone:
used-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -DconfigENABLE_FREERTOS_DEBUG_OCDAWARE=1 -std=gnu17 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER="v5.0.2-285-g7493b907ef" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS -Wno-format -MD -MT esp-idf/main/CMakeFiles/__idf_main.dir/btspp.c.obj -MF esp-idf/main/CMakeFiles/__idf_main.dir/btspp.c.obj.d -o esp-idf/main/CMakeFiles/__idf_main.dir/btspp.c.obj   -c ../main/btspp.c
In file included from ../main/handle.h:4,
from ../main/btspp.c:34:
../main/blink.h:48:5: error: unknown type name 'led_strip_handle_t'
48 |     led_strip_handle_t strip;
|     ^~~~~~~~~~~~~~~~~~
../main/btspp.c: In function 'task_bt_start_spp':
../main/btspp.c:413:5: warning: 'esp_spp_init' is deprecated: Please use esp_spp_enhanced_init [-Wdeprecated-declarations]
413 |     if ((ret = esp_spp_init(g_esp_spp_mode)) != ESP_OK) {
|     ^~
In file included from ../main/btspp.c:21:
/home/zhanghaipeng/esp_v5/esp-idf/components/bt/host/bluedroid/api/include/api/esp_spp_api.h:261:11: note: declared here
261 | esp_err_t esp_spp_init(esp_spp_mode_t mode) attribute((deprecated("Please use esp_spp_enhanced_init")));
|           ^~~~~~~~~~~~
[1105/1138] Building C object esp-idf/espressif__mdns/CMakeFiles/__idf_espressif__mdns.dir/mdns.c.objninja: build stopped: subcommand failed.

Is the Bluetooth Low Energy configuration option turned on?
Location: (Top) → Component config → Bluetooth → Bluedroid Option

Yes, but when enable "Bluetooth Low Energy configuration", managed component led_strip can't be used.

@lida2003
You need to declare the dependency on the led_strip component.
for example,incomponents/command/cmd_udp/CMakeLists.txt
idf_component_register(SRCS "cmd_udp.c"
                    INCLUDE_DIRS . ../../../ ../../../main ../../button/include
                    PRIV_REQUIRES driver esp_timer esp_event led_strip)

target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")

and add
#include "led_strip.h"

in main/blink.h

@zhp0406
We have declared the dependency on the led_strip component.
When enable "Bluetooth Low Energy configuration", then it fails.

@lida2003
I understand. Please test the following fix：
0001-fix-bt-bluedroid-Fix-bluedroid-menuconfig-error.patch

@lida2003
It should be noted that the ESP32 only supports Classic Bluetooth and does not support BLE. If you require BLE features, please use ESP32c2, ESP32c6, ESP32c3, or ESP32s3.

@lida2003
After you have applied my patch, if there are still failures, please provide me with the latest failure log so that I can analyze the reasons.thanks.

If you require BLE features, please use ESP32c2, ESP32c6, ESP32c3, or ESP32s3.

No, we don't need BLE.

If you require BLE features, please use ESP32c2, ESP32c6, ESP32c3, or ESP32s3.

No, we don't need BLE.

If you only use Classic Bluetooth, then only ESP32 is supported.

After you have applied my patch, if there are still failures, please provide me with the latest failure log so that I can analyze the reasons.thanks.

daniel@palfocus:~/SnapDragonfly/esp-idf-v5.0$ git apply 0001-fix-bt-bluedroid-Fix-bluedroid-menuconfig-error.patch
error: patch failed: components/bt/host/bluedroid/Kconfig.in:1133
error: components/bt/host/bluedroid/Kconfig.in: patch does not apply

daniel@palfocus:~/SnapDragonfly/esp-idf-v5.0$ git remote -v
origin  git@github.com:espressif/esp-idf.git (fetch)
origin  git@github.com:espressif/esp-idf.git (push)
daniel@palfocus:~/SnapDragonfly/esp-idf-v5.0$ git log -n 1
commit 7493b907efd081332c1f1ef3167181727fbef922 (HEAD -> release/v5.0, origin/release/v5.0)
Merge: 96c4ec8df2 9156bbb55c
Author: Roland Dobai<EMAIL_ADDRESS>Date:   Fri Jun 9 00:52:47 2023 +0800

    Merge branch 'feature/extend_proj_desc_json_v5.0' into 'release/v5.0'

    extend information in project_description.json (v5.0)

    See merge request espressif/esp-idf!24126

If you use Classic Bluetooth, then only ESP32 is supported.

We need this code to work on ESP32C3 :)

@lida2003
If you are using ESP32c3, do you still need to use Classic Bluetooth? SPP is a classic feature. I will provide you with the latest patch based on your version shortly.

SPP is a classic feature. I will provide you with the latest patch based on your version shortly.

Yes, we need spp and wifi features.

I have created the following patch based on the version you provided (commit hash: 6e8eb2a059ae11bed0edcd8fa7d9c62d142cc1d9). This patch addresses some issues in the bluedroid menuconfig.
This issue may cause the BLE code to be invoked even after BLE is turned off, resulting in a compilation failure.
0001-fix-bt-bluedroid-Fix-bluedroid-menuconfig.patch

Yes, we need spp and wifi features.

If you want to use Classic Bluetooth and Wi-Fi, only the ESP32 chip supports it; currently, other chips do not support this feature.

If you want to use Classic Bluetooth and Wi-Fi, only the ESP32 chip supports it; currently, other chips do not support this feature.

ESP32-C3 doesn't support Classic Bluetooth SPP ?

If you want to use Classic Bluetooth and Wi-Fi, only the ESP32 chip supports it; currently, other chips do not support this feature.

ESP32-C3 doesn't support Classic Bluetooth SPP ?

yes,ESP32-C3 doesn't support Classic Bluetooth SPP.ESP32-C3 only support BLE.
ESP32 support BLE and Classic Bluetooth.

What I have missed here. The spec says it support Bluetooth 5.0, no spp?
Is there any SPP over BLE features, like https://docs.silabs.com/bluetooth/2.13/code-examples/applications/spp-serial-port-profile-over-ble ?

@lida2003
You may have some misunderstandings about Bluetooth LE: Bluetooth 5 in the document. This explanation is for BLE.
SPP is originally a profile for classic Bluetooth, and there is no corresponding profile in BLE.
However, BLE simulates SPP and implements transparent transmission. We have two examples based on BLE for transparent transmission.I'm not sure if I can meet your requirements in all cases.
BLE SPP example：
https://github.com/espressif/esp-idf/tree/master/examples/bluetooth/bluedroid/ble/ble_spp_server
https://github.com/espressif/esp-idf/tree/master/examples/bluetooth/bluedroid/ble/ble_spp_client

I have found https://docs.espressif.com/projects/esp-idf/en/v4.3/esp32c3/api-reference/bluetooth/esp_spp.html, which states esp32c3 supports classic bt spp profile.
The above ble spp demo (server/client) is NOT like classic spp profile, where pc already has the driver. And pc doesn't have ble spp driver.

@lida2003
Yes, BLE's SPP belongs to a custom profile, not a profile that is recognized as a standard by the Bluetooth Special Interest Group (SIG).

@lida2003
If you insist on using the ESP32-C3 chip, you will need to give up using classic Bluetooth and explore other methods to implement your functionality.

How to explain the description below:  esp-idf v4.3 esp32c3 bluetooth/esp_spp
https://docs.espressif.com/projects/esp-idf/en/v4.3/esp32c3/api-reference/bluetooth/esp_spp.html

@lida2003
I sincerely apologize for the confusion. There is a misguidance in the document. This is an error in the document, and ESP32-C3 does not support Classic Bluetooth. The document will be updated accordingly.

OK, if we implement a ble spp. Is there any application avaliable out there on PC(linux, windows)?

@lida2003
Currently, I haven't come across any relevant applications. maybe you need to make it yourself.

OK


[Bazel CI] Error Unrecognized Bazel flag "incompatible_remote_results_ignore_disk" with Bazel@HEAD

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3917#01900aa0-2cd4-425b-95c9-5086b533bee2
Platform: MacOs, Windows, Ubuntu
Logs:
ERROR: --incompatible_remote_results_ignore_disk :: Unrecognized option: --incompatible_remote_results_ignore_disk
Traceback (most recent call last):
  File "/Users/buildkite/builds/bk-imacpro-17/bazel/bazel-at-head-plus-downstream/bazelci.py", line 4468, in <module>
    sys.exit(main())
             ^^^^^^
  File "/Users/buildkite/builds/bk-imacpro-17/bazel/bazel-at-head-plus-downstream/bazelci.py", line 4436, in main
    execute_commands(
  File "/Users/buildkite/builds/bk-imacpro-17/bazel/bazel-at-head-plus-downstream/bazelci.py", line 1335, in execute_commands
    PrepareRepoInCwd(True, initial_setup=True)
  File "/Users/buildkite/builds/bk-imacpro-17/bazel/bazel-at-head-plus-downstream/bazelci.py", line 1323, in PrepareRepoInCwd
    os.environ["OUTPUT_BASE"] = get_output_base(bazel_binary)
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/buildkite/builds/bk-imacpro-17/bazel/bazel-at-head-plus-downstream/bazelci.py", line 2086, in get_output_base
    return execute_command_and_get_output(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/buildkite/builds/bk-imacpro-17/bazel/bazel-at-head-plus-downstream/bazelci.py", line 2690, in execute_command_and_get_output
    process = subprocess.run(
              ^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bazel', 'info', 'output_base']' returned non-zero exit status 2.

CC Greenteam @salmasamy

CC @sgammon

Thx for CC @sgowroji; will fix in next release

@sgammon As the CI is still failing we are moving this to Disable pipeline. Once the issue is fixed then we will move back to Downstream.

No problem, I'll tag you once it is fixed @sgowroji


use setup script instead of postInstall

means you aren't running full prod build when following dev steps, saving $$$
fixes #167

Might have to test on heroku

https://devcenter.heroku.com/articles/node-best-practices#hook-things-up
:( the demo might not work. Should I then merge then and figure a way for heroku deployment?

using environment vars will work, pretty much exactly like their example
"postInstall": "if [ $BUILD_ASSETS ]; then npm run build; fi"

I'll update tomororw

@choonkending can you test heroku with this change?

@psimyn Sorry, just tested, doesn't work. Heroku doesn't build it :( I wonder why.


run wordcount giving following error

17/04/03 18:03:31 INFO ipc.Client: Retrying connect to server: hadoop-master/<IP_ADDRESS>:8032. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
17/04/03 18:03:32 INFO ipc.Client: Retrying connect to server: hadoop-master/<IP_ADDRESS>:8032. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
17/04/03 18:03:33 INFO ipc.Client: Retrying connect to server: hadoop-master/<IP_ADDRESS>:8032. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
17/04/03 18:03:34 INFO ipc.Client: Retrying connect to server: hadoop-master/<IP_ADDRESS>:8032. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
17/04/03 18:03:35 INFO ipc.Client: Retrying connect to server: hadoop-master/<IP_ADDRESS>:8032. Already tried 4 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
17/04/03 18:03:36 INFO ipc.Client: Retrying connect to server: hadoop-master/<IP_ADDRESS>:8032. Already tried 5 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)

same problem

same problem, how to solve?

same problem

I think I have found the answer. This problem is caused by oom.  So try to turn up your memory to 3G，it will work perfectly.

I think I have found the answer. This problem is caused by oom.  So try to turn up your memory to 3G，it will work perfectly.

thanks a lot! it works

I think I have found the answer. This problem is caused by oom.  So try to turn up your memory to 3G，it will work perfectly.

How to turn up the memory? Thanks a lot


TypeError: Cannot read property 'type' of undefined

[x ] I am running the latest version
[x] I checked the documentation and found no answer
[x] I checked to make sure that this issue has not already been filed
[ x] I'm reporting the issue to the correct repository (for multi-repository projects)
I have error after run command 'npm start':
Failed to compile.
./src/layouts/Admin.js
TypeError: Cannot read property 'type' of undefined
Occurred while linting /material-dashboard-react/src/layouts/Admin.js:43
at Array.forEach ()

Hello there, @Pirantul ,
Thank you for your interest in working with our products.
This is actually an error from the react-scripts package, here is the link to the mentioned issue: https://github.com/facebook/create-react-app/issues/7753
To solve the issue, please run the following: npm i -E<EMAIL_ADDRESS>Best,
Manu

I got a different error:
node_modules/eslint/lib/rules/no-octal-escape.js:41
                    /^(?:[^\\]|\\.)*?\\([0-3][0-7]{1,2}|[4-7][0-7]|0(?=[89])|[1-7])/su
                    ^

SyntaxError: Invalid regular expression flags

The recommended workaround does fix this problem aswell.


FIX PICKING RANDOM JOKE

Picking random jokes often picked the joke already picked on the next random pick.

To make it really random, follow these...

Create a collection of picked random jokes
If a random joke query is made, select a random joke
Check if the selected joke is already selected recently or present in the collection
If present, pick another random joke and check again if present, if not return the picked joke.
Reset the collection if all the random jokes already picked.

I could give it a try if you'd like. I was looking at the JokeService class and was thinking that generateRandomJoke() should be in a separate class from the record stuff. I'm trying to learn more architecture-related stuff so any thoughts on that would be appreciated.

Hi, sorry for late response, just got back from school. Thanks for giving your response about my project. I am currently new to building APIs with Spring and it's architecture, I am open for help, you can do the thing that you suggest which is to separate the method in the record JokeService, well I just used record because of it's features such as no need for accessors and auto-wiring will be easy. You can fork the main branch and create a PR on your changes. Thanks

fix unused Category parameter in method. Found on commit: 8618456b29f1613e67da4c70b74cf61fa477b72d

Another thought: how about an sqlite database for the jokes? Then just have a view table that calls ORDER BY RAND(). I think it would be slightly more elegant than relying on Math.random() (which, if I'm not mistaken, isn't technically random, but maybe that's Python's version). Also, in my (quite inexperienced) opinion, SQL is a lot easier to work with than JSON.
Am I over-complicating the solution or do you think it would work?

I think it will work. The JSON jokes are only temporary so that I can test. If implemented this every-time the endpoint was called there will be a call to the database which might cause performance issues. In my solution I want to load all the jokes initially from the database(any db) then load it to a collection, then when the endpoint was called, then it won't need to a query on the db because we can now use the collection that contains all the jokes(I found this faster than making a query every-time)

I actually postponed this because I have an urgent project. But, this is still wip

Yeah, that makes much more sense using H2, actually. I'll play around with it a bit more.

Yes, H2 is good when doing testing stuff


Option to git rm (delete) a file

Firstly, thanks a lot for GitLens, it's awesome. Makes git a helluva lot more powerful in vscode.
I'm looking for a way to effectively run git rm src/path/to/current/file from within vscode. I can delete the file from the explorer, but then I need to tell git it was deleted. Not sure if I've missed this, searched high and low but couldn't find it.

Other than git rm removing the file from both the index (e.g. staged changes) and the working tree, git doesn't do anything else special. So unless you've staged the file and then want to delete it -- in 1 command (because you can just unstage it and then delete it normally) there isn't any reason I know of to need to use git rm

@eamodio On macOS there's a difference between "move to trash" and rm. I usually prefer git rm as it uses rm underneath, which I prefer to putting files into my system trash.
I understand that you don't see a reason to use git rm. Are you open to a PR adding the option, or it's something you're not interested in supporting?

Hrm, where would you want to see this option?

I'd imagine it in the command palette while I'm looking at a file.  In deeply nested files, it's often tricky to find that precise file to run git rm path. If I could open the command palette and git rm the current file, that would be awesome. The confidence that I'm deleting the correct file would be the win for me.

Hrm -- I don't think I'm comfortable with such a destructive action in the command palette. VS Code doesn't even offer a command to delete the current file. I also don't think GitLens is the right place for it. I could possibly see it being added as a context menu item, e.g. Delete (Permanently) from a file in the VS Code Git changes view.
Would you mind opening a feature request on the vscode repo for that?

@eamodio Makes sense. The advantage of git rm is that it will fail without --force if the file has been modified from the HEAD. It's a "safer" permanent deletion in a sense. It only deletes the file if it's currently identical to what is committed. That means it's a lot less "destructive" than a straight rm. Happy to submit a feature request on VS Code, I can see that it also might fit better into the core git commands. Thanks for all the replies, I know it's a lot of work maintaining open source software, and I appreciate the time you've put into answering my questions.


feat: add connector bingx

Before submitting this PR, please make sure:

[x] Your code builds clean without any errors or warnings
[x] You are using approved title ("feat/", "fix/", "docs/", "refactor/")

A description of the changes proposed in the pull request:
Tests performed by the developer:
Tips for QA testing:

Closing in prio to https://github.com/hummingbot/hummingbot/pull/7280 (another pr for bing-x connector)


Support Electron

Electron, which is similar to NW.js, has node.js require() but not define(), so currently is not supported.
If change
    else if (typeof define === 'function' && define.amd && typeof nodeRequire !== 'undefined') {
        // amd under node-webkit
        define([], factory.bind(null, navigator, null, nodeRequire('net'), nodeRequire('tls')));
    }

to
    else if (typeof nodeRequire !== 'undefined') {
        factory(navigator, null, nodeRequire('net'), nodeRequire('tls'));
    }

it works in Electron.
It seems define() is not necessary even in NW.js?

the whole header was pretty stupid, i will put up a fix right away

Fixed with https://github.com/whiteout-io/tcp-socket/commit/dac0697cf04aa03c09ddd25612dd74641e11282f

published as v0.5.6


Avast detects 20.11.1 as malware

What version of pkg are you using?
5.11.5
What version of Node.js are you using?
20.12.1
What operating system are you using?
Win 11
What CPU architecture are you using?
x64
What Node versions, OSs and CPU architectures are you building for?
windows
Describe the Bug

Expected Behavior
it shouldn't detect as virus
To Reproduce
you need to have avast free antivirus installed,
then do pkg .

Sincerly I don't think there is much we can do here

btw, how can i tell pkg to use other version instead of 20.11.1 ?

Specify another target or downgrade pkg to use older versions

Specify another target

i use --target=win , what do you mean in different target plz?

downgrade pkg to use older versions

Do you see it an easy optionality to be added, to specific the version during packaging itself, so we could i.e. pkg --node-version 20.8.2? if it's easy thing to add I could pushed a PR, just I am not familiar with this repo and it might take me some time

actually it's not possible to provide a custom exec to use for the package but yeah you could send a PR if you want

would you share 2 words - is it enough just to change the download file version, or it would also need to entail other logical changes across other files?

also, should I seek that change  pkg itself or or pkg-fetch?

I think it should be done on pkg side as pkg-fetch is used only to fetch the binary and in your case you want to override exactly this part

It's just a false positive, they happen


Fix Notification URL

Mentioned in #473 - when a notification is clicked, the wrong event is opened in the Calendar.
it looks like in #518 the chrome alarm name was changed json. This prevents the correct calendar URL from ever being discovered in the onClicked listener, which then returns the URL for the last event in feeds.events.

@googlebot I signed it!

@googlebot I fixed it.

Thank you for fixing this!


Added async compute to fptl light list build.

Also removed Compute Deferred Lighting from fptl and the associated shader that was not in use and causing compile errors on ps4.

Spoke with Rob. A few more things to remove/clean. But looking good.

Made some more deletions as suggested by Morten following the removal of compute deferred lighting.


Shashmit kumar _20bcb7011(frontend)

couldn't find files. It says files deleted, please request a new PR. Thanks


why default connect database is test

var Mongolass = require('mongolass');
var mongolass = new Mongolass();
mongolass.connect(undefined);

When the connection string is undefined, I hold it throw error, but it connect test database actually.

mongolass.connect(undefined);

equal to
mongolass.connect();

so, connected to default localhost:27017/test.

Why not throw error when connection string is undefined, connected to default localhost:27017/test is troubling.

welcome pr~


NameError: name 'init_empty_weights' is not defined

any context? 🤣

Probably want to look for this? https://github.com/NielsRogge/Transformers-Tutorials/issues/131


Introduce timeout between invocations

Bug
Apparently, the bot currently faces an issue where it cannot handle multiple consecutive invocations effectively. In some cases, the most recent invocation tends to overwrite the previous ones.
Strategy
To address this problem, we propose implementing a "cool down" or timeout mechanism. This will allow the bot to work more smoothly by ensuring that it has sufficient time to create GitHub commits sequentially and maintain the desired behavior.

Note: A TTL duration is deemed invalid if it is shorter than the constant timeout.


avx512: implements mm{256,512}_roundscale_p*

Implements mm256_roundscale_ps, mm256_roundscale_pd, mm512_roundscale_ps, mm512_roundscale_pd, x_mm512_round_ps, x_mm512_round_pd.
All tests were generated using intel-all-gcc-10 and implementations were tested on intel-all-gcc-10, gcc-10, clang-11, emscripten, icc.

Nice work; this looks great.  Sorry these are turning out to be such a pain, but you're doing a really good job dealing with it.
I'm going to go ahead and merge it, but as a follow up how about adding fallbacks to _mm512_round_{ps,pd} to smaller versions similar to what we have on cmp (while you're at it, it would be great if you could do the same for _mm256_round_{ps,pd})?  We should really have 128/256-bit fallbacks in place wherever possible to keep performance good; without them we can't take advantage of all the implementations in _mm_round_{ps,pd} ☹


implement common traits

feat: impl Hash for BPlusTree
feat: derive Debug
feat: impl Default for BPlusTree using vec backed node store
feat: impl PartialEq for BPlusTree

questions I have for now are,

what do you think of Hash and PartialEq?
should I drop the intent to implement Display since std::collections BTree doesn't?
what should I write tests for? Perhaps testing that Hash is different for tuples that don't have prefix collisions?


remove Jenkinsfile

What have you changed?
Please explain in detail what the changes are in this PR and why they are needed:

Just remove Jenkins file
Don't assume reviewers understand the original issue.

What is the type of the changes?
Pick one of the following and delete the others:

Misc (remove Jenkins file)

How is the PR tested?
No need test

/run-all-tests

/run-integration-cop-push-down-test

/run-integration-cop-push-down-test

DOC failed, please sign your commits, thanks!


existingConfigmap not found in the chart

Describe the bug
The document says existingConfigmap is a valid option. However when trying to search for it in the chart, I don't see it anywhere. https://github.com/search?q=repo%3Ajp-gouin%2Fhelm-openldap+existingConfigmap&type=code
How do I inject custom ldif file to the pod without overriding anything? I am trying to figure out how to add a custom olcSyncrepl  block and inject into the pod so that I can manually ssh into the pod and apply it or let it apply during booting. I want my openldap to replicate to another openldap that is in another k8s cluster. customLdifFiles will override the default ldif files which is not what I want. I thought existingConfigmap might help. Or is there any other option?

You might want to add your configuration under customSchemaFiles  which I think is more appropriate for your needs


jetbrains.*: 2020.1 -> 2020.1.1

Motivation for this change
I want to get rid of the annoying window saying that there's an update :)
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

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

Result of nixpkgs-review pr 87231 1

11 packages built:
- jetbrains.clion
- jetbrains.datagrip
- jetbrains.goland
- jetbrains.idea-community
- jetbrains.idea-ultimate
- jetbrains.phpstorm
- jetbrains.pycharm-community
- jetbrains.pycharm-professional
- jetbrains.rider
- jetbrains.ruby-mine
- jetbrains.webstorm

https://github.com/NixOS/nixpkgs/pull/87231
11 package built:
jetbrains.clion jetbrains.datagrip jetbrains.goland jetbrains.idea-community jetbrains.idea-ultimate jetbrains.phpstorm jetbrains.pycharm-community jetbrains.pycharm-professional jetbrains.rider jetbrains.ruby-mine jetbrains.webstorm


Compress API responses

Closes #190

Lot easier than it would have been if we hadn't migrated to Express, yeah.


Jekyll must be disabled for Github Pages, else KaTeX test on line 840 fails

Jekyll's error message:
Rendering Liquid: temml/test/katex-tests.md github-pages 228 | Error: Liquid syntax error (line 840): Variable '{{\tiny a+b}' was not properly terminated with regexp: /\}\}/```

The tables in https://github.com/ronkok/Temml/blob/main/test/katex-tests.md are written in the reStructuredText grid table format. If Jekyll is written to read Markdown pipe tables, then it is not surprising to see a problem.

ahh got it