NullPointerException: null cannot be cast to non-null type com.kizitonwose.calendar.view.internal.weekcalendar.WeekCalendarAdapter

Library information:

Version: implementation "com.kizitonwose.calendar:view:2.3.0"
View or Compose module: view

Describe the bug
Error when opening the application which inflates this class:
java.lang.NullPointerException: null cannot be cast to non-null type com.kizitonwose.calendar.view.internal.weekcalendar.WeekCalendarAdapter
at com.kizitonwose.calendar.view.internal.weekcalendar.WeekCalendarLayoutManager.getAdapter(WeekCalendarLayoutManager.kt:13)
To Reproduce (if applicable)
Steps to reproduce the behavior:
Open the App

Steps to reproduce the behavior:
Open the App

Which app is this? The sample app?

Oh, sorry for a poor explanation. I was migrating from 1.0 to 2.0 version of the calendar in the app. Every once in a while when I open the app (my app), the app crashes and I see this error.
My XML:
<androidx.fragment.app.FragmentContainerView
            android:id="@+id/week_calendar_fragment"
            android:name="com.xxx.ui.today.calendar.WeekCalendarFragment"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@id/banner"/>

<com.kizitonwose.calendar.view.WeekCalendarView
            android:id="@+id/week_calendar_view"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/calendar_toolbar"
            app:cv_dayViewResource="@layout/item_view_calendar_day"
            app:cv_outDateStyle="endOfRow"
            app:cv_orientation="horizontal"
            app:cv_scrollPaged="true"
            android:transitionGroup="true"
            android:transitionName="@{@string/calendar_week_transition_name}"/>

Code in the Fragment:
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
        _binding = FragmentCalendarWeekBinding.bind(view)

        binding.weekCalendarView.apply {
            // In case the user enters from the landscape, just take the smallest number.
            dayWidth = min(dm.widthPixels, dm.heightPixels) / NUM_DAYS_TO_SHOW
            daySize = DaySize.SeventhWidth
            dayBinder = CVDayBinder()
        }

        val localDate = LocalDate.now()
        binding.weekCalendarView.setup(
            localDate.minusMonths(10), localDate.plusMonths(2), DayOfWeek.SUNDAY)

            binding.weekCalendarView.doOnAttach { binding.weekCalendarView.scrollToDate(selectedDate) }

        // Each time user scrolls back and forth, refresh the data.
        binding.weekCalendarView.weekScrollListener =
            object : WeekScrollListener {
                override fun invoke(week: Week) {
                    todayViewModel.getHabitDays(week.days.first().date, week.days.last().date)

                    // Because Sunday is the first day, we need to % number of days.
                    // Otherwise it doesn't work correctly if the user selected a Sunday.
                    val dayOfWeek = (selectedDate.dayOfWeek.value % NUM_DAYS_TO_SHOW)
                    // Scroll to the same day in the previous/next week.
                    todayViewModel.setDate(week.days[dayOfWeek].date)
                }
            }

...

override fun onDestroyView() {
        super.onDestroyView()
        binding.weekCalendarView.adapter = null
        _binding = null
    }

    /**
     * Class representing Day view binder. It is responsible for binding [HabitDay] to the given day
     * in the calendar.
     */
    inner class CVDayBinder : WeekDayBinder<DayViewContainer> {
        override fun bind(container: DayViewContainer, data: WeekDay) =
            container.bind(data.date, selectedDate, null)

        override fun create(view: View) =
            DayViewContainer(
                view, requireContext(), viewLifecycleOwner, todayViewModel, dayWidth) { date ->
                    selectNewDay(date)
                }
    }

The crash error only points to the errors in the kizitonwose part of the code. So not sure what part of my code would cause this. Thank you

This is because you remove the adapter which is managed internally and something from your code outlives the view lifecycle (could be scroll listener etc) and tries to access the calendar which causes the crash. You need to remove this binding.weekCalendarView.adapter = null from your  onDestroyView(). If you must keep it, you need to set the internal layout manager to null as well.

Understood, so if I want to keep it, scroll listener should be notified as well? I guess, chasing the leak canary leaks and removing/nullifying everything when the view is destroy is the reason why the adapter was set to null explicitly. Is there a better way of 'cleaning up' and making sure things don't outlive the view? Thank you

Maybe something like this could work:
binding.weekCalendarView.adapter = null
binding.weekCalendarView.layoutManager = null
binding.weekCalendarView.weekScrollListener = null

Hey @akrulec is this resolved?

I have tried a version where I only set binding to null in on destroy:
   override fun onDestroyView() {
        super.onDestroyView()
        _binding = null
    }

and I still see crashes, so I'm going to try a version now that clears all three objects before setting binding to null.

@akrulec Any updates on this?

Yes, sorry for late response. I removed everything from onDestroy, and there is no more leaks and no more crashes. Just nullifying the _binding works.
override fun onDestroyView() {
   super.onDestroyView()
   _binding = null
}


Cannot click anything when run in vs2019 for mac

Thanks.
When I run this proj in vs2019 for mac, I get an issue.
Anything, such as ribbon items, tabs, or even messagebox "ok" button or the close "x",  is also cannot be clicked.
Could you please check it on Mac?
But I can only move this form.
And I find out maybe it's too slow to invalidate views...

Oh! Thanks a lot. It works.


Handle PDFJ.getDocument error

Hi,
I have a lot of pdf wich can not be opened by the lib and the directive does not handle errors.
you just have to handle the  PDFJS.getDocument() promise error.
and allow to bind a function to handle it outside the directive
Thank you

thanks for the idea @picolo74!
It is important to handle the error. Please try this now as updated in the readme.

Thank you, works great !


feat(sdk-trace-base): improve log messages when dropping span events

Which problem is this PR solving?
After the number of events added to a span exceeds span limits a warning log message "Dropping extra events." is emitted for each dropped event on the span.
In case the number of span events is much higher than the limit, the log is overloaded by "Dropping extra events." which imo are not necessary.
The specifications says

There SHOULD be a log emitted to indicate to the user that an attribute, event, or link was discarded due to such a limit. To prevent excessive logging, the log should not be emitted once per span, or per discarded attribute, event, or links.

which I'm bit confused about.
Imo the good approach is similar to what BatchSpanProcessor does with maxQueueSize - log debug message for the first dropped event and then log warning message with the number of dropped events when the span ends.
Short description of the changes
When dropping an event we'll first check if this is the first dropped event before logging a message.
When the span is closed and there are some dropped events, we'll emit a warning log with the number of dropped events.
This change could be breaking for users relying on the exact wording of the log message or relying on the warning message being emitted when the first event is dropped.
Type of change

[x] New feature (non-breaking change which adds functionality)

How Has This Been Tested?
I added a check for log messages to 'should drop extra events'.

[x] Run Span.tests.ts

Checklist:

[x] Followed the style guidelines of this project
[x] Unit tests have been added
[ ] Documentation has been updated

I believe the spec statements were assuming that exceeding span limits, like attribute counts and event counts,  is likely to be a bug in the code base in the libraries or end application and can hardly be alleviated at runtime. Excessive logging can lead to a worse case at runtime in such cases.
IMO this is different from the maxQueueSize as the queue would be drained and the condition can be alleviated automatically.

Thank you for the clarification. The change LGTM.


Add --persist-every command line option

Main idea is that persisting can at times be expensive, and every 5 seconds may be too frequent. Allow users to set there own while retaining the default of every 5 seconds.
--persist-every would set the persistWaitTime argument here: https://github.com/ajvb/kala/blob/master/job/cache.go#L69 which is passed in here https://github.com/ajvb/kala/blob/master/main.go#L150.
Per @jrxFive's comment here: https://github.com/ajvb/kala/pull/130#issuecomment-255533627

I'm up for this! =D Claim!

PR at #133! Cheers! =D

Fixed with #133


Refactor repetition in raiden_contracts/tests/test_deploy_script.py

raiden_contracts/tests/test_deploy_script.py contains three very similar functions  test_deploy_script_*.  These should be refactored.

The three are not so identical.


[Feature Request] Add MPR to README

I maintain the mangadesk, mangadesk-git, and mangadesk-bin packages on the MPR. I believe having it listed in the README would help those trying to install it on Ubuntu.

thanks for notifying.
im not the best when it comes to package managers, so i am not too sure what the exact instructions will be exactly.
in the near future i think i will create a separate markdown file (which will be linked in the main readme) for installation instructions through package managers. the main readme is getting pretty crowded.
in the meantime, you could submit a small pr adding the install/uninstall instructions for Ubuntu.
thanks!

Sounds good to me, I'll get right on it.


Do not require CDTs for qt6

Manually ran a diff on the logs between qt6 branch and PR of:

[x] linux_64

No differences visually seen in the Configure summary

[x] linux_aarch64

I notice the the native build seems many more opengl options enabled.
However, the cross compiled build has the same options enabled as before.

[x] osx x86_64

It sees that QDoc and Clang-based lupdate parser are now enabled, they were not before.

[x] osx arm

No observed differences in the Configure Summary

Logs with timestamps removed so you can see a "vimdiff"
compare_qt_logs.zip

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Bootstrapping strategy is discussed (lightly) https://github.com/conda-forge/pyside2-feedstock/pull/136/files#r997301030

A few x libraries that may be missing:

libxss
X11_Xxf86misc

todo: consider specifying more features on linux.
FEATURE_DEFINES=""
if [[ "${target_platform}" == "linux-64" ]]; then
    # Do we even want EGL or EGLFS at all?? they were never enabled for
    # any linux platform
    FEATURE_DEFINES="${FEATURE_DEFINES} -DFEATURE_egl=ON"
    FEATURE_DEFINES="${FEATURE_DEFINES} -DFEATURE_eglfs=ON"
fi

@jschueller what do you think of this approach. I believe it got through locally.
I still have to manually make sure I haven't accidentally removed some features but I'm hopeful

this is fine with me

osx arm seems to timeout from time to time


[BUG]移植libbpf的examples/bashreadline时，报错./uprobe_helpers.h:8:10: fatal error: 'gelf.h' file not found

Describe the bug
移植libbpf的examples/bashreadline时，报错./uprobe_helpers.h:8:10: fatal error: 'gelf.h' file not found
To Reproduce
Steps to reproduce the behavior:
在example下新建bashreadline目录，从https://github.com/iovisor/bcc/tree/master/libbpf-tools移植libbpf的bashreadline.c，bashreadline.h、bashreadline.bpf.c，编译时缺少头文件btf_helpers.h、trace_helpers.h、uprobe_helpers.h，将helpers.c和helpers.h拷贝到bashreadline目录下，编译时发现缺少gelf.h，报错如下：
root@ubuntu1:/home/user/v0.3.22/wasm-bpf/examples/bashreadline# make
ln -f -s ../../wasm-sdk/c/libbpf-wasm.h libbpf-wasm.h
/opt/wasi-sdk/bin/clang -O2 --sysroot=/opt/wasi-sdk/share/wasi-sysroot -Wl,--allow-undefined,--export-table -o bashreadline.wasm bashreadline.c
In file included from bashreadline.c:6:
/opt/wasi-sdk/share/wasi-sysroot/include/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
#error "wasm lacks signal support; to enable minimal signal emulation, \
 ^
In file included from bashreadline.c:17:
./uprobe_helpers.h:8:10: fatal error: 'gelf.h' file not found
#include <gelf.h>
         ^~~~~~~~
2 errors generated.
make: *** [Makefile:64: bashreadline.wasm] Error 1

请教-D_WASI_EMULATED_SIGNAL和-lwasi-emulated-signal应该怎么加，即使加了'gelf.h' file not found问题可能也无法解决，请问gelf头文件应该怎么加到wasm里？
Expected behavior
编译通过，可以正常运行

OS: [e.g. Windows]
Version [e.g. 10]
wasm-bpf：v0.1.0
root@ubuntu1:/home/user/v0.3.22/wasm-bpf/examples/bashreadline# uname -r
5.19.0-21-generic

Make sure you have elfutils installed on your machine.

ubuntu虚拟机上有这个头文件的，我装了libelf-dev，elfutils装不成功。
root@ubuntu1:/# find -name gelf.h
./usr/include/gelf.h

root@ubuntu1:/# apt install elfutils
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 elfutils : Depends: libasm1 (>= 0.132) but it is not going to be installed
 linux-tools-5.19.0-1008-gcp : Depends: linux-gcp-tools-5.19.0-1008 but it is not going to be installed
 linux-tools-5.19.0-1008-ibm : Depends: linux-ibm-tools-5.19.0-1008 but it is not going to be installed
 linux-tools-5.19.0-1008-kvm : Depends: linux-kvm-tools-5.19.0-1008 but it is not going to be installed
 linux-tools-5.19.0-1008-oracle : Depends: linux-oracle-tools-5.19.0-1008 but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

执行apt --fix-broken install还是失败，问题'gelf.h' file not found没有解决
root@ubuntu1:/# apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  linux-gcp-tools-5.19.0-1008 linux-ibm-tools-5.19.0-1008 linux-kvm-tools-5.19.0-1008 linux-oracle-tools-5.19.0-1008
The following NEW packages will be installed:
  linux-gcp-tools-5.19.0-1008 linux-ibm-tools-5.19.0-1008 linux-kvm-tools-5.19.0-1008 linux-oracle-tools-5.19.0-1008
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
32 not fully installed or removed.
Need to get 0 B/32.4 MB of archives.
After this operation, 111 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 91807 files and directories currently installed.)
Preparing to unpack .../linux-gcp-tools-5.19.0-1008_5.19.0-1008.8_amd64.deb ...
Unpacking linux-gcp-tools-5.19.0-1008 (5.19.0-1008.8) ...
dpkg: error processing archive /var/cache/apt/archives/linux-gcp-tools-5.19.0-1008_5.19.0-1008.8_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/libcpupower.so.5.19.0-1008', which is also in package linux-azure-tools-5.19.0-1008 5.19.0-1008.8
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../linux-ibm-tools-5.19.0-1008_5.19.0-1008.8_amd64.deb ...
Unpacking linux-ibm-tools-5.19.0-1008 (5.19.0-1008.8) ...
dpkg: error processing archive /var/cache/apt/archives/linux-ibm-tools-5.19.0-1008_5.19.0-1008.8_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/libcpupower.so.5.19.0-1008', which is also in package linux-azure-tools-5.19.0-1008 5.19.0-1008.8
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../linux-kvm-tools-5.19.0-1008_5.19.0-1008.8_amd64.deb ...
Unpacking linux-kvm-tools-5.19.0-1008 (5.19.0-1008.8) ...
dpkg: error processing archive /var/cache/apt/archives/linux-kvm-tools-5.19.0-1008_5.19.0-1008.8_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/libcpupower.so.5.19.0-1008', which is also in package linux-azure-tools-5.19.0-1008 5.19.0-1008.8
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../linux-oracle-tools-5.19.0-1008_5.19.0-1008.8_amd64.deb ...
Unpacking linux-oracle-tools-5.19.0-1008 (5.19.0-1008.8) ...
dpkg: error processing archive /var/cache/apt/archives/linux-oracle-tools-5.19.0-1008_5.19.0-1008.8_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/libcpupower.so.5.19.0-1008', which is also in package linux-azure-tools-5.19.0-1008 5.19.0-1008.8
No apport report written because MaxReports is reached already
                                                              dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/linux-gcp-tools-5.19.0-1008_5.19.0-1008.8_amd64.deb
 /var/cache/apt/archives/linux-ibm-tools-5.19.0-1008_5.19.0-1008.8_amd64.deb
 /var/cache/apt/archives/linux-kvm-tools-5.19.0-1008_5.19.0-1008.8_amd64.deb
 /var/cache/apt/archives/linux-oracle-tools-5.19.0-1008_5.19.0-1008.8_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

请教-D_WASI_EMULATED_SIGNAL和-lwasi-emulated-signal应该怎么加

Try adding it to the examples/bashreadline/Makefile you made as a flag

Makefile拷贝自bootstrap，修改了APP = bashreadline，-D_WASI_EMULATED_SIGNAL和-lwasi-emulated-signal应该加在哪一行？怎么加？我尝试修改了这行，没生效
clang -g -O2 -target bpf -D_WASI_EMULATED_SIGNAL -Wl,wasi-emulated-signal -D__TARGET_ARCH_$(ARCH) $(INCLUDES) $(CLANG_BPF_SYS_INCLUDES) -c $(filter %.c,$^) -o $@

It should be added here
https://github.com/eunomia-bpf/wasm-bpf/blob/2f52ca59302de7dd9341862f67b8ba2be2a02d89/examples/bootstrap/Makefile#L60

添加了-D_WASI_EMULATED_SIGNAL和-lwasi-emulated-signal后，问题wasm lacks signal support解决；
但问题'gelf.h' file not found仍然存在，该问题需要重新提交wasi-sdk issue吗？
root@ubuntu1:/home/user/v0.3.22/wasm-bpf/examples/bashreadline# make
ln -f -s ../../wasm-sdk/c/libbpf-wasm.h libbpf-wasm.h
/opt/wasi-sdk/bin/clang -O2 --sysroot=/opt/wasi-sdk/share/wasi-sysroot -D_WASI_EMULATED_SIGNAL -Wl,--allow-undefined,--export-table,--wasi-emulated-signal -o bashreadline.wasm bashreadline.c
In file included from bashreadline.c:17:
./uprobe_helpers.h:8:10: fatal error: 'gelf.h' file not found
#include <gelf.h>
         ^~~~~~~~
1 error generated.
make: *** [Makefile:64: bashreadline.wasm] Error 1
root@ubuntu1:/home/user/v0.3.22/wasm-bpf/examples/bashreadline#

No, I still think this problem is because elfutils not be installed. Please try it on another system that could install elfutils success.

Sorry, I got a mistake about it. The reason this gelf.h is not wasi target. So the logical way is compiling libelf (and any other dependencies) with wasi-sdk.

好的 我看下wasi-sdk怎么编译 libelf。

wasm没有自带的包吗？我还没学会用wasi-sdk怎么编译 libelf

wasm没有自带的包吗？我还没学会用wasi-sdk怎么编译 libelf

Currently Wasm does not support dynamic linking, so you must link all of your codes (including dependencies) together. So just add the sources of libelf into your project.

Closed as completed


Can not update after commit 9c4dc5db

When trying to update vuls I keep getting the error:
dep ensure -v
[snip the successful Wrote lines]
grouped write of manifest, lock and vendor: error while writing out vendor tree: failed to write dep tree: failed to export github.com/kotakanbe/go-cve-dictionary: fatal: failed to unpack tree object 9c4dc5db721c165bb3f10b2981449fd2c4572c1f
: exit status 128
make: *** [dep] Error 1

I thought it might be a bad update or something, so I completely deleted my  $GOPATH/src folder and started over with the instructions from here: https://vuls.io/docs/en/install-manually-centos.html
Everything went smoothly until I got to the installation of vuls. Once again the 'make install' was failing out with the same error in the same place. Thinking maybe it was my system, I tried on a different one. Same error.
Any thoughts on how to get around it?

So I just tried on a fresh VM and it worked. I 'rm -rf $GOPATH' and started from scratch and it just worked. Not sure what is going on but the update didn't like that commit for some reason. Checking if the same 'delete it all' method works on the other host.


Post Office preset not showing

If I create a node and type "post" in the search box then the "Post Office" preset is not showing up.
This behaviour is happening on http://preview.ideditor.com/master
Using iD on openstreetmap.org the "Post Office" preset appears.

Fixed in 3629f6b5b8fb27e85a2efffa9ce086a94cf0a0de. Thanks for finding this!


Unable to load DLL 'libwkhtmltox' in IIS windows 2012 R2

I am getting the below error, Unable to load DLL 'libwkhtmltox'. Given below are the configurations
Application is working fine with development server in IIS express. but while deployed in IIS(windows 2012 R2 - .net Core 2.0), application
is throwing the above error in both scenarios.
1)libwkhtmltox(12.4) is copied in the root directory.
2)Even we have tried the option of loading the DLL from the LoadUnmanagedLibrary.. as well.
Please support.

Are you using (lib)wkhtmltox.dll with the correct bitness? Try using (lib)wkhtmltox.dll x86 if you have the x64 version - or vice versa.
You can specify the correct version to be used per configuration in csproj:
 <ItemGroup Condition="'$(Configuration)' == 'Debug'">
    <None Include="./lib/Wkhtmltopdf/wkhtmltox-x64.dll" Link="libwkhtmltox.dll" CopyToOutputDirectory="PreserveNewest" />
  </ItemGroup>

  <ItemGroup Condition="'$(Configuration)' == 'Release'">
    <None Include="./lib/Wkhtmltopdf/wkhtmltox-x86.dll" Link="libwkhtmltox.dll" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>

See the recipe where this is used: https://github.com/rdvojmoc/DinkToPdf/issues/70

Check my answer here on issue #76

Hello, Check the answer from here.
https://stackoverflow.com/questions/55430532/dinktopdf-net-core-not-able-to-load-dll-files.
I used that and it worked very well.

https://github.com/rdvojmoc/DinkToPdf/issues/76#issuecomment-518975970


add validation for AZ count

Towards: https://github.com/giantswarm/giantswarm/issues/13481
We want to add validation for the number of AZs in awscontrolplanes

I tested this in gauss and all looks good.


Update README.md with philosophy

Signed-off-by: Robert Osazuwa Ness<EMAIL_ADDRESS>

Reopens and closes PR 60
Changes proposed in this pull request:

Adds some design philosophy to the README

Before submitting

[ ] I've read and followed all steps in the Making a pull request
section of the CONTRIBUTING docs.
[ ] I've updated or added any relevant docstrings following the syntax described in the
Writing docstrings section of the CONTRIBUTING docs.
[ ] If this PR fixes a bug, I've added a test that will fail without my fix.
[ ] If this PR adds a new feature, I've added tests that sufficiently cover my new functionality.

After submitting

[ ] All GitHub Actions jobs for my pull request have passed.

Thanks @robertness !


Possible to add the tvOS 18 Snoopy Screensavers?

General troubleshooting tips
Before logging an issue please check that:

[ ] You have the latest version installed (There may be a beta version that fixes your issue), see here for the latest releases and bug fixes: https://github.com/JohnCoates/Aerial/releases
[ ] Your issue isn't already mentioned in our issues. You may find a workaround there or a similar request already made.
[ ] Your problem isn't mentioned in the troubleshooting page.

If none of this fixes your issue, tell us about the problem you are experiencing or the feature you'd like to request.
Required information
In order to help us sort your issue, we ask that you provide the following information:

[ ] Mac model:
[ ] macOS version:
[ ] Monitor setup:

If appropriate, please enable Debug mode and Log to disk in Advanced tab and replicate your bug, then attach the AerialLog.txt file (You can access this file through the Advanced tab).
Description of issue / Feature request
{{Replace this}}

I'm not sure those are videos, but likely they are animations ?
If they are videos, and someone finds them, sure, we can add them, but as far as I know we don't know much about them.

Update…..tvOS 18.2 was released today. Here’s what Apple’s release notes say about the Snoopy Screensavers: This update introduces Snoopy as a new screen saver, brings ultra-widescreen support for playing movies and shows, adds HomePod support for recent Enhance Dialogue improvements, and includes performance and stability improvements.Screen saversSnoopy and Woodstock take over the screen with delightful animations that adapt to the day, weather, and holidays.Available on Apple TV 4K (2nd generation and later).About Apple TV 4K and Apple TV HD software updates - Apple Supportsupport.apple.comBegin forwarded message:From: John Cordell @.>Date: December 4, 2024 at 12:00:14 PM CSTTo: Aerial JohnCoates @.>Cc: Aerial JohnCoates @.>, Subscribed @.>Subject: Re: [JohnCoates/Aerial] Possible to add the tvOS 18 Snoopy Screensavers? (Issue #1383)Hi,I have a 4th generation Apple TV (~2015?) and the Snoopy Screensavers are not showing up on my system although it runs tvOS Beta 18.2.  I think I read that they only run on the latest model 4K Apple TV’s.On another note, Guillaume Louel, a huge thank you for all your work over the years on Aerial as well as John Coates too!    The work that was done to get Aerial to run so well on the last couple of version of MacOS (including Aerial Companion) is very much appreciated as well as the weather customizations you added awhile ago.Happy holidays,JohnOn Dec 4, 2024, at 10:22 AM, Guillaume Louel @.***> wrote:
I'm not sure those are videos, but likely they are animations ?
If they are videos, and someone finds them, sure, we can add them, but as far as I know we don't know much about them.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

Hello, I would like to chime in on this topic, as I am also curious to getting these Snoopy screensavers on macOS. I've done some digging the past week and have discovered that the new tvOS 18.2 Snoopy wallpapers are unfortunately generated on-device in real time. I did some more digging and was able to begin extracting the asset files from tvOS, but it's a process. I'm not even sure if they could be used to make a simple (or few) loop to use, but I can provide the asset files upon request. Attached is an example asset file that I've extracted.


sleep, deepsleep and hibernate modes

Hi,
What's are the difference between sleep, deep sleep and hibernate modes ?
Then, I cannot put teensy 3.2 in sleep for 5 minutes, what's the maximum sleep period we can have ?
Thank you.

sleep, deepSleep and hibernate are different levels of putting the Teensy into low power modes with deepSleep and hibernate being the same mode but hibernate puts the USB regulator in low power mode only able to supply limited current to the 3.3v out on the Teensy.
To sleep for 5 min use the rtc (alarm driver)

What kind of sleep mode is used when RTC (alarm driver) is used?

RTC works with all of them.

RTC works with all of them.

Could you help me out with how do I set the sleeping mode for RTC? I didn't find it in the homepage of the project.

Take a look at this example, it shows all the wake ups including the RTC.

Take a look at this example, it shows all the wake ups including the RTC.

Yeah thanks that's what I am already doing to set up the RTC sleep. I know that. What I am asking is how to change the sleep mode RTC uses. Like say I want hibernation instead of deepSleep when RTC is used to sleep. Is that possible? If not then I'd like to know what sleep mode is used when the RTC routine for sleeping is used. Thanks

The RTC works exactly the same in any sleep mode (sleep, deepSleep, hibernate).


Product name is Unknown, but it is Milan

Hi,
I fetched the attestation report using the QuoteProvider method GetRawQuote (provider.GetRawQuote(reportData)). These are the last bytes of the attestation report:
000004a0: ecae 0c0f 9502 43b1 afa2 0ae2 e0d5 65b6  ......C.......e.
000004b0: 3000 0000 0800 0000 0000 0000 0000 0000  0...............
000004c0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000004d0: 0800 0000 020f 8000                      ........

When I try to verify the report, I get that the product is Unknown, but we have a Milan processor. I can see in dmesg that SNP is enabled, and I can start the SNP VM and retrieve the report. Can you kindly provide your opinion on what is the problem here? This should not be a duplicate issue, as I found this issue.
When I run cpuid I get this output:
   version information (1/eax):
      processor type  = primary processor (0)
      family          = 0xf (15)
      model           = 0x1 (1)
      stepping id     = 0x1 (1)
      extended family = 0xa (10)
      extended model  = 0x0 (0)
      (family synth)  = 0x19 (25)
      (model synth)   = 0x1 (1)
      (simple synth)  = AMD EPYC (3rd Gen) (Milan B1) [Zen 3], 7nm

Which is not a part of the attestation report.
Kind regards,
Danko

Apologies I didn't see this issue until now. Are you running CPUID on the host or in the guest?
Your ExtraPlatformInfo entry is odd. The size is 8 bytes, but that should be taking the first 4 bytes of the block. It's in the second 4 bytes. Your Cpu1Eax value is 0x30000000, which is also very strange, since it doesn't follow the CPUID(1) expected format at all. I don't know what your hypervisor is, but it's populating the CPUID table with a dubious value.

Thank you for the answer. The CPUID instruction was ran on the host.
I am using QEMU to run my VM and QEMU was built using the build.sh script from the AMDSEV/ADMSEV (snp-latest branch) repository. The QEMU version that I am using currently was built last year, so I guess there might be a bug in their fork. I will build the latest version from the same repo and check. Thank you for the help.
Kind regards,
Danko


Update to 'new' kafka client API

In updating the kafka dependency version, many if not all of the client code this project uses have been deprecated. The spout should be reading messages from kafka using the new API.

Project to be archived.

Project to be archived.


Double sliding because of another css transition

When I click the arrow or grab the slide, it will sliding twice.
For anyone who get similiar issue, do not apply another css transition to slider pro element.
In my case, this code cause it :yum:
* {
  -webkit-transition: all .2s ease;
  -moz-transition: all .2s ease;
  -ms-transition: all .2s ease;
  -o-transition: all .2s ease;
  transition: all .2s ease;
}

It would be good if slider-pro can negate code above, if not it's fine.
I hope this will usefull for others.
Thank you for your awesome works :+1:

Thank you for sharing! I will leave particular situations like this to be handled particularly.
Cheers.


added required field to dpp::component

discord resource:
https://discord.com/developers/docs/interactions/message-components#component-object-component-structure

also removed the experimental comments for text inputs

is it needed to add this to to_json()?

is it needed to add this to to_json()?

yes probably

is it needed to add this to to_json()?

yes probably

Done :)


port to Django 2.1 and Python 3.7

Update the portions of our development and production packaging which specify Django 2.0 and Python 3.6 to talk about Django 2.1 and Python 3.7. Bump the minimum required version of django-ucamwebauth to be Django 2.1 compatible.
Make tox neutral on the precise version of Python it uses (beyond Python3) since we always run tox inside a container and it should just use whatever Python 3 is given to it.

Deployed to development environment. Tested, and all working as expected. Merging.


I think this should be blah blah....

Task with Low priority was created by Sebastian Nemeth:
I think this should be blah blah....

Environment: Chrome 43 on Windows with 1920x955 screen size.
Attachments:
Screenshot.jpg
Check it in your website or get more details...

So I'm making a comment from GitHub now - does it appear in TD?


Enable OSX build

Coverage remained the same at 97.285% when pulling f446f05ae23d3b76fbf57729d1408d8b2d228a70 on feature/osx-build into 279c3143bfb0748c5859696f0d87ef5454514756 on master.


When two views overlap, there seems to be a bug

My code is as follows
`let bottomView = UIView(frame: CGRect(x: 44, y: 44, width: 200, height: 200))
bottomView.backgroundColor = .red
view.addSubview(bottomView)
    // same position, has alpha 0.5
    let topView = UIView(frame: CGRect(x: 44, y: 44, width: 200, height: 200))
    topView.backgroundColor = UIColor(white: 1, alpha: 1)
    view.addSubview(topView)

    topView.applyPerspective(.iOS14WidgetAnimatable)`

Are you apply to top view, why? Maybe need for parent-bottom?

Maybe the bottom view is just a decorative background

Can you create empty project for check it?

This can be replicated by adding the following code to any of the viewControllers
`import UIKit
import SPPerspective
class ViewController: UIViewController {
override func viewDidLoad() {
    super.viewDidLoad()

    let bottomView = UIView(frame: CGRect(x: 0, y: 0, width: 400, height: 400))
    bottomView.backgroundColor = .red
    view.addSubview(bottomView)

    let topView = UIView(frame: CGRect(x: 44, y: 44, width: 200, height: 200))
    topView.backgroundColor = UIColor(white: 1, alpha: 1)
    view.addSubview(topView)

    topView.applyPerspective(.iOS14WidgetAnimatable)

}

}`

Thanks!
Fixed in 1.3.0 version.


Add usage of migrate diff to baselining docs to figure out why migrate dev might tell you to reset after you successfully baselined

I believe we resolved this. The migration folder name required either a timestamp or a number before the number prefix


Add an example with next.js to the repo to get started easily

Of course, no problem.

Of course, no problem.

app-router
pages-router


[bug]it doesn't work with output of table driven benchmarks in go

the output is
goos: darwin
goarch: amd64
pkg: github.com/0chain/gosdk/zboxcore/sdk
cpu: Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz
BenchmarkChunkedUploadFormBuilder/10M_64K-8         	      39	 312026046 ns/op	264405427 B/op	 1799151 allocs/op
BenchmarkChunkedUploadFormBuilder/10M_6M-8          	     318	  38583357 ns/op	35552045 B/op	   30195 allocs/op
BenchmarkChunkedUploadFormBuilder/10M_64K_NoHash-8  	      37	 305542242 ns/op	264406763 B/op	 1799159 allocs/op
BenchmarkChunkedUploadFormBuilder/10M_6M__NoHash-8  	     315	  39228720 ns/op	35551235 B/op	   30194 allocs/op
BenchmarkChunkedUploadFormBuilder/100M_64K-8        	       4<PHONE_NUMBER> ns/op<PHONE_NUMBER> B/op	18111513 allocs/op
BenchmarkChunkedUploadFormBuilder/100M_6M-8         	      32	 371133831 ns/op	343483354 B/op	  216628 allocs/op
BenchmarkChunkedUploadFormBuilder/100M_64K_NoHash-8 	       4<PHONE_NUMBER> ns/op<PHONE_NUMBER> B/op	18111571 allocs/op
BenchmarkChunkedUploadFormBuilder/100M_6M__NoHash-8 	      31	 349546589 ns/op	343483543 B/op	  216629 allocs/op
BenchmarkChunkedUploadFormBuilder/500M_64K-8        	       1<PHONE_NUMBER>4 ns/op<PHONE_NUMBER>8 B/op	90618221 allocs/op
BenchmarkChunkedUploadFormBuilder/500M_6M-8         	       6<PHONE_NUMBER> ns/op<PHONE_NUMBER> B/op	  977624 allocs/op
BenchmarkChunkedUploadFormBuilder/500M_64K_NoHash-8 	       1<PHONE_NUMBER>5 ns/op<PHONE_NUMBER>0 B/op	90618212 allocs/op
BenchmarkChunkedUploadFormBuilder/500M_6M__NoHash-8 	       6<PHONE_NUMBER> ns/op<PHONE_NUMBER> B/op	  977628 allocs/op
BenchmarkChunkedUploadFormBuilder/1G_64K-8          	       1<PHONE_NUMBER>9 ns/op<PHONE_NUMBER>4 B/op	185675100 allocs/op
BenchmarkChunkedUploadFormBuilder/1G_60M-8

https://github.com/rhysd/github-action-benchmark/blob/a1914d7dcbe14d006e4b5f12c7ff303a82a411f1/src/extract.ts#L211
const reExtract = /^(Benchmark\w+)(-\d+)?\s+(\d+)\s+([0-9.]+)\s+(.+)$/; does not work

fixed it in #78

This was fixed in https://github.com/benchmark-action/github-action-benchmark/pull/32

I am setting up a new workflow and I don't see this working.
https://github.com/google/mtail/actions/runs/8950770002/job/24586426328
The -.* suffix is still being stripped from the names of the table-driven runs.


Dont use Object as class name

object is a reserved keyword for PHP 7.2: we can't use it anymore for class names.
This pull request renames Concrete\Core\Foundation\Object to Concrete\Core\Foundation\ConcreteObject.
Furthermore, to grant backward compatibility, for PHP versions < 7 this PR defines Concrete\Core\Foundation\Object as an alias of Concrete\Core\Foundation\ConcreteObject.

For TravisCI, nightly resolves to the master branch of PHP, which is 7.3-dev.
That's why I also added https://github.com/concrete5/concrete5/pull/5820/commits/2d14b922c9e5f1e8909926aaea8b18c76f7ea846

I bet I'm the first one to see this :wink:

This all looks good to me. The one thing we spoke about was adding a LegacyObject class that gets aliased to Object so that we can log an error or something so that packages stop using it.

Are you going to apply this to 5.7 as well? The same issues exists in the latest <IP_ADDRESS> as well, preventing it to run on php 7.2

I don't think that the core team is going to maintain the 5.7 series, since it's possible to upgrade to version 8+


FieldUserHoverCard in FieldUserRenderer doesn't updated

Category
[ ] Enhancement
[ x ] Bug
[ ] Question
Version
Please specify what version of the library you are using: [ 1.17.0 ]
Expected
displayName in props FieldUserHoverCard is updated after state changing in FieldUserRenderer
Steps to Reproduce

Thanks!

Hi @a1exymoroz!
Thank you for reporting this!
It has been fixed and will be included in the next release.
Could you please test it in your scenario using beta version?

It is working, Thanks!
But I have 2 questions.
When will you update react?
How can I contribute?(you don't have CONTRIBUTION.md)


Species name included in share button

Whatsapp:

X:

Facebook: Unluckily, Meta decided to deprecate the "quote" attribute from sharer.php. Hence, it's not possible to add the species name into Facebook unless an App is created

Added linkedin share button:

As stated in: https://gist.github.com/HoldOffHunger/1998b92acb80bc83547baeaff68aaaf4 and https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/plugins/share-plugin, Linkedin no longer supports quote nor summary attributes

Added Linkedin share button feature:

As stated in https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/plugins/share-plugin and https://gist.github.com/HoldOffHunger/1998b92acb80bc83547baeaff68aaaf4, Linkedin no longer supports quote and summary attributes


Reduce overhead of JavaScript calls

In the web our layout state calculation is actually massively dominated by the calls to performance.now(). However before we can even call .now() on the performance object, we first need to even get that. So you first have to get the window object and access its performance field. So overall that's three calls into JavaScript. If we however cache the performance object, we can reduce it to just a single call. That seems to improve the layout state calculation performance by over 2x.
Optimally we would only take a single time stamp per layout state calculation, as otherwise there might be slight disagreements between the individual values shown in the layout state. That's however a much bigger refactoring, so that's something we can look into in the future.

Yeah, I thought about that too, but I think that's a bit too hacky tbh. We rather want to have some kind of "TimerSnapshot" or so, which could also help in some tests and with the synchronization protocol or so.


Add flag to create properties for public fields [moved]

This is Issue 252 moved from a Google Code project.
Added on 2013-08-27T14:07:41.000Z by<EMAIL_ADDRESS>Please review that bug for more context and additional comments, but update this bug.
Original labels: Type-Enhancement, Priority-Low

Harry Cheung created pull request 463. He's offered to sync it with the current j2objc HEAD, and we'll pull it in when he does.

@jonnolen So the pull request mentioned above looks promising, but I'm curious what you're doing in the meantime to get RAC binding working without public properties coming over from Java - this seems like a pretty big roadblock to ReactiveCocoa+j2objc at this point.

The @Property annotation is now supported.


Taxonomy incorrectly inserted in FGDC to ISO -2 translation

A direct FGDC CSDGM xml translation to ISO -2 is showing taxonomy artifacts that are not in the FGDC record. No taxonomy information exists in the FGDC record. The -2 file shows a md:MD_MetadataExtensionInformation section with boiler plate taxonomy elements.
wsr_nhdpv2.1.zip

The FGDC biological profile extends sections of the metadata in addition to taxonomy.  I leave the extension information in the output primarily because we use the biological profile version of 19115-2, although the extension does primarily highlight taxonomy.  Is it causing trouble?  If so I can place it conditionally.

It seems to throw off those that read the XML, me included.  I think it avoids these questions if the extension
doesn't exist at all unless biological content exists. I think this could
be applied to other extensions we have or will define. With any extension
there is likely a required element that can be used as a decision point for
whether extended content exists and therefore the requisite extension be
applied.
On Wed, Aug 7, 2019 at 2:26 PM stansmith907<EMAIL_ADDRESS>wrote:

The FGDC biological profile extends sections of the metadata in addition
to taxonomy. I leave the extension information in the output primarily
because we use the biological profile version of 19115-2, although the
extension does primarily highlight taxonomy. Is it causing trouble? If so I
can place it conditionally.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/adiwg/mdTranslator/issues/213?email_source=notifications&email_token=ABPKCLYHVCWIWP5FLUI5AG3QDNDYDA5CNFSM4IJZAED2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3Z4CHA#issuecomment-519291164,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPKCL4V2WTVRDWRCVCUMTDQDNDYDANCNFSM4IJZAEDQ
.

Just to be clear, the biological profile made changes to Spacial_Domain, Analytical_Tools, Lineage, Digital_Transfer_Information, DateTime, and Time_Period in addition to adding the Taxonomy section.  The extension is the only means I know of to alert metadata intake programs that the biological profile is being used.   Not knowing this could effect some XML readers, but not sure how likely this would be.  If we are only confusing human readers, how much of a concern is that?

I'd suggest leaving the extension info in place and explaining it with a comment. I doubt very many users will actually take the time to read XML.

Given all of the sections affected, I would prefer to leave the extension in place and not rely on conditional insertion. I think that adds an unnecessary complication.

So what about funding? Should we not put an extension in for that? Are we
going to put in every xml record, extension declarations for everything we
might extend just in case it is used? What is special about the biological
extension?
Exactly, we don't know how records will be used downstream once published.
I guess my point is why put superfluous information into a record that
doesn't belong there, has nothing to do with the content, and that implies
content or content conformance that doesn't exist in the record?
On Wed, Aug 7, 2019 at 3:07 PM Josh Bradley<EMAIL_ADDRESS>wrote:

Given all of the sections affected, I would prefer to leave the extension
in place and not rely on conditional insertion. I think that adds an
unnecessary complication.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/adiwg/mdTranslator/issues/213?email_source=notifications&email_token=ABPKCL6LIU6ROSBLAEGKUBTQDNIRJA5CNFSM4IJZAED2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3Z6KGA#issuecomment-519300376,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPKCL7ZZ57LKI3FRIU4L43QDNIRJANCNFSM4IJZAEDQ
.

Funding is not translated to ISO. The extensions only apply to ISO 19115 output. I should think it's fairly standard practice to include the extension if you're outputting to the biological profile as SOP, regardless of whether that particular metadata file contains information in the extended classes.
For reference: ftp://ftp.ncddc.noaa.gov/pub/Metadata/Online_ISO_Training/Intro_to_ISO/schemas/ISObio/

But it is not SOP for geology data, hydrology data, etc. So are you trying
to say it should be in the standard, but isn't so its "extended" and the
ISO output is supported by the extension. If somebody wrote another
extension we choose to except that extension or not in our translations?
All this I guess is irregardless of content, but identifying what
"standard" the record is supported under?
On Wed, Aug 7, 2019 at 4:15 PM Josh Bradley<EMAIL_ADDRESS>wrote:

Funding is not translated to ISO. The extensions only apply to ISO 19115
output. I should think it's fairly standard practice to include the
extension if you're outputting to the biological profile as SOP, regardless
of whether that particular metadata file contains information in the
extended classes.
For reference:
ftp://ftp.ncddc.noaa.gov/pub/Metadata/Online_ISO_Training/Intro_to_ISO/schemas/ISObio/
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/adiwg/mdTranslator/issues/213?email_source=notifications&email_token=ABPKCL7QIYDA5AFZ53TWYKTQDNQQNA5CNFSM4IJZAED2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD32BSYY#issuecomment-519313763,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPKCLZD53ZPGAZQLAYUB4TQDNQQNANCNFSM4IJZAEDQ
.


Data Analysis and Price Forecasting of Crude Oil

In this feature we use Crudeoil as the target variable that we got to predict and we are going to use 6 features to do that (Gold, Silver, ChinaOilCorp, BTC(Bitcoin), Usdollar, NaturalGas).
here is some visualization of result after implementation

pls assign it me @Niketkumardheeryan
I'm contributor of GSsoc'24  i want to work on it

Alreay there ,these kind of models..


#1747 Upgrade Rust dependencies

Upgrade Rust dependencies
Pull Request Template
Checklist

[X] Confirmed that run-checks all script has been executed.
[X] Made sure the book is up to date with changes in this PR.

Related Issues/PRs
1747
Changes
Upgrade all of the Rust dependencies
Testing
Linking it to FSRS and then to Anki

Somehow the CI is broken, maybe there is a dependency not updated in the xtask project? @syl20bnr

It looks like that was triggered by the migration from .cargo/config to .cargo/cargo.toml.
Please check the fix which worked on my machine.

It does not work on the CI. You can put it back into the config file.

It does not work on the CI. You can put it back into the config file.

The problem was that I migrated the crate 1.78.0 which throws warnings around using .cargo/config. The solution is renaming it to .cargo/config.toml and upgrading Rust everywhere, including the the Github Actions.

I'm running the actions on my own fork right now. I contact you once all the tests pass.

Thank you.
Does it work if we create a symlink from config to config.toml to keep both ?

I'm running the actions on my own fork right now. I contact you once all the tests pass.

Thank you.
Does it work if we create a symlink from config to config.toml to keep both ?

Yes after much reading that is required only to preserve compatibility between Rust 1.38.0 and 1.78.0, which we neither need and it might throw wrong warnings. The solution that worked was renaming .cargo/config to .cargo/config.toml.
Btw here are my pipelines and I have a couple of subtle problems dunno if you can help with:
1- Suddenly, it started discovering old typos! That I could fix.
2- The file assets/ModuleSerialization.xml is mentioned in _typos.toml but it has been removed a long time ago.
3- tests (windows-2022, 1.78.0, std) fails due to:
INTEL MKL ERROR: The specified module could not be found. mkl_def.1.dll.
Intel MKL FATAL ERROR: Cannot load mkl_def.1.dll.

I can reproduce the same error on Windows even on 1.75. Looking into it.

@ahmedyarub I updated your branch, please note that I rewrote the history and forced push to restart from your first commits so you'll need to hard reset your PR branch locally.
The windows errors comes up with tch 0.16, I reverted it to 0.15, is that OK with you ? For the cargo config file, turns out that we can just keep cargo/config.toml and it is OK. Can you try that it works with you ?

@ahmedyarub I updated your branch, please note that I rewrote the history and forced push to restart from your first commits so you'll need to hard reset your PR branch locally.
The windows errors comes up with tch 0.16, I reverted it to 0.15, is that OK with you ? For the cargo config file, turns out that we can just keep cargo/config.toml and it is OK. Can you try that it works with you ?

You know I reached this library by updating Anki which forced me to update FSRS which forced me to update this lib lol. I would be happy to update tch BUT I lost my job yesterday. Feel free to merge it and in a couple of months there will be much more contributions.

 I wish you all the best in your job search.
Just to confirm, FSRS does not rely on tch, so we should be good on that front. I'll go ahead and merge this.
Thank you for all your hard work and good luck!

 I wish you all the best in your job search.
Just to confirm, FSRS does not rely on tch, so we should be good on that front. I'll go ahead and merge this.
Thank you for all your hard work and good luck!

I'm so thankful for the warm words, they are really helping me pushing through.
Unfortunately I know very little about your project although I have a master degree in AI.
Long story short, I'll be both using and contributing to it once I'm done with LeetCode and that non-sense.
Keep up the great work!
Just a glimpse of my humble publications (I have much more as a freelancer). I have abandoned research a couple of years ago.
Here are also some of my freelance projects on controlling robots with  Continuous time autoregressive recurrent neural networks SCTRNN https://fb.watch/r_fr0SIVq1/


[WIP]Feature/issue 660

Implement underscore feature
make sure underscore using in the right way

1_2_3 => 123
1_2.3_4 => 12.34
1__2 => Error
1 => Error
1 => Error
This closes #660

Well I think @SD10 has a good point. Keeping those information to parser allows us to provide more sophisticated error message

Here we are already transforming the token into a literal for Int:
https://github.com/goby-lang/goby/blob/c00ad0ca3d6b779b6ab737dea906637ac62e4708/compiler/parser/data_type_parsing.go#L12
Here for Float:
https://github.com/goby-lang/goby/blob/c00ad0ca3d6b779b6ab737dea906637ac62e4708/compiler/parser/data_type_parsing.go#L26
This is just my opinion. I'm a newbie 😊

It's also worth noting that in the Ruby lexer the underscores are maintained:
...
[[2, 7], :on_int, "1_000_000"],


Add Statistics Notebook

What I am changing

Add an example notebook for using the statistics endpoint

How I did it

I made a Python Notebook that uses the statistics endpoint :)

How you can test it

Related Issues

#451

Happy to make any edits or improvements! Thanks a lot


Roots fails to run after install

Okay so I get roots installed I created a new site. messed around for awhile then I went to add the blog template to mess with that. However, when I run it says -bash: roots: command not found.
not quite sure what happened here. Any help?

There isn't nearly enough information for me to be able to tell what happened here, but I'd give it a 99% chance that it's something a little messed up with your machine rather than an issue with roots. This type of issue is better to take to https://gitter.im/jescalan/roots, since it's a support request rather than a bug, come meet me there!


The select error state is not displaying the error message correctly

I am using the Select component in 2 projects and I have an issue with the error state : the error message is showing as a valid message (green with the check icon)

When I inspect the error message, the paragraph has 2 classes (fr-valid-text fr-error-text).
I am using the code from the story : https://react-dsfr-components.etalab.studio/iframe.html?viewMode=docs&id=components-select--error-state&args=#error-state

Can you provide the props you are giving to the Select component?

I have copied the example from the storybook, the props are these one:
  nativeSelectProps={{}}
  state="error"
  stateRelatedMessage="Texte d’erreur obligatoire"

The storybook is the actual lib running, the code when you copy the code you're getting the actuall code that generates what you see in the storybook.
The answer is to update @codegouv/react-dsfr to the latest version.
Please let us know if your problem isn't solved.
Best regads

Just tested it on a fresh Vite project, but I couldn't reproduce this behavior.
@jdirand I would also suggest to update to the latest version of react-dsfr.

Thanks guys, working fine with the latest version!


python3Packages.geopandas: add optional dependencies

Description of changes
The geopandas repository contains pyproject.toml with defined optional
dependencies
https://github.com/geopandas/geopandas/blob/v1.0.1/pyproject.toml. This was
added here: https://github.com/geopandas/geopandas/pull/3163. These
optional dependencies are also checked by included tests in the package though
these tests are skipped if they are not in the environment. They have,
consequently, previously been skipped automatically.
Following other Python packages, I believe the geopandas build should
include these in the nativeCheckInputs so that the full package
functionality is tested and that users can access the list of optional
dependencies through geopandas.passthru.optional-dependencies.all if, e.g.,
the user wants to include them in propagatedBuildInputs.

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] 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/)
24.11 Release Notes (or backporting 23.11 and 24.05 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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

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

2 packages marked as broken and skipped:

python312Packages.shimmy
python312Packages.shimmy.dist

50 packages built:

python311Packages.bsuite
python311Packages.bsuite.dist
python311Packages.folium
python311Packages.folium.dist
python311Packages.geodatasets
python311Packages.geodatasets.dist
python311Packages.geopandas
python311Packages.geopandas.dist
python311Packages.geoparquet
python311Packages.geoparquet.dist
python311Packages.inequality
python311Packages.inequality.dist
python311Packages.libpysal
python311Packages.libpysal.dist
python311Packages.mapclassify
python311Packages.mapclassify.dist
python311Packages.momepy
python311Packages.momepy.dist
python311Packages.osmnx
python311Packages.osmnx.dist
python311Packages.plotnine
python311Packages.plotnine.dist
python311Packages.shimmy
python311Packages.shimmy.dist
python311Packages.wktutils
python311Packages.wktutils.dist
python312Packages.bsuite
python312Packages.bsuite.dist
python312Packages.folium
python312Packages.folium.dist
python312Packages.geodatasets
python312Packages.geodatasets.dist
python312Packages.geopandas
python312Packages.geopandas.dist
python312Packages.geoparquet
python312Packages.geoparquet.dist
python312Packages.inequality
python312Packages.inequality.dist
python312Packages.libpysal
python312Packages.libpysal.dist
python312Packages.mapclassify
python312Packages.mapclassify.dist
python312Packages.momepy
python312Packages.momepy.dist
python312Packages.osmnx
python312Packages.osmnx.dist
python312Packages.plotnine
python312Packages.plotnine.dist
python312Packages.wktutils
python312Packages.wktutils.dist

I requested two small changes, otherwise I am good to merge this PR.

I requested two small changes, otherwise I am good to merge this PR.

I previously used the order as set in pyproject.toml upstream but now it is alphabetical.


Provider request Wordpress Oauth Provider wp-oauth.com

I would like to request a wordpress based provider be added.
https://wp-oauth.com/

Taking into account the WP fame being one of most vulnerable apps on the web, it is an anti-pattern to implement security provider on top of Wordpress 😀

Posted a USD$120 bounty on this request on https://www.bountysource.com/issues/42309789-provider-request-wordpress-oauth-provider-wp-oauth-com


feat: add cue prompt support to pam-u2f

Motivation for this change
The u2f module allows one to set a custom cue prompt. The current pam configuration doesn't specify an option for that.
Partially takes care of #156993.
Things done

Built on platform(s)

[x] 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/)
22.05 Release Notes (or backporting 21.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

[x] Fits CONTRIBUTING.md.

Do I have to update the changelog?
The changes aren't tested as well. I do not know how to test it locally to be honest.


Differentiate between http and events via flags when creating a function

When we create a function we should be able to pass a flag that makes the difference between a http endpoint or an event endpoint.

http endpoint are what we have now, you curl the function, the runtime injects the function and wraps it into http CRUD.

kubeless function create hello --trigger-http

event endpoints: a consumer gets started and listens to a Kafka managed topic. when we publish a message to that topic, the consumer gets the message and executes the method.
https://cloud.google.com/functions/docs/tutorials/pubsub

kubeless function create hello --trigger-topic <topic_name>

For now, we should be able to handle things without a specified topic name. We will use kubeless as a topic name. that way:
kubeless function create hello --trigger-topic

should work. Just read the value and if none, set it to kubeless.

when we create an event based function , the runtime is the same deployment structure , only the image changes. I am working on it, but should be something like skippbox/kubeless-event-consumer:0.0.1

ok the skippbox/kubeless-event-consumer:0.0.1 image is pushed and should work.
so if we create a pubsub function we can check the logs and we will see the events being consumed.

so I added a commit for this https://github.com/skippbox/kubeless/commit/8241dc13cf3cfca679abe121e2dfb3bf9700b626
So we could run the event consumer with this example cmd below:
$ kubeless create function <function_name> --trigger-topic kubeless --runtime python27 --handler hello.handler --from-file hello.py

Probably we have to think a bit about the flags... I see gcloud only has --trigger-http and/or --trigger-topic. We are mixing between aws lambda and gcloud styles.

I am going to close this since it works as expected. We need to clean up the CLI in a commit later this week or next.


Fix TextureStorage not assigning default scale

While I don't know the exact conditions to cause it, I've had builds occasionally fail when processing the _render_target_get_sdf_rect functions, citing a value wasn't initalized (default switch case did nothing). The issue was fixed by mirroring the switch implementation in _render_target_allocate_sdf for the two relevant files

I think this should be fixed by ensuring the value is valid, and have an error in the default case as it's not a correct state

I would be fine with that route, but I was mirroring the implementation of another function that also handles scale. Would that mean the error case should be applied there as well?

I think it's more important to identify how an invalid value could have gotten in, that indicates problems, and shouldn't just be patched over

It'd be more involved to try and replicate the scenario that caused it, but that's a very valid point. It was happening often (exclusively?) when experimenting with double-precision int structs (godotengine/godot-proposals#7071), so I'll try to work backwards from there

Alright, figured it out! I recreated the scenario by making Vector2i use int64_t instead of int32_t and this was the failing output:
D:\Godot\Github\godot\drivers\gles3\storage\texture_storage.cpp(2320) : error C2220: the following warning is treated as an error
D:\Godot\Github\godot\drivers\gles3\storage\texture_storage.cpp(2320) : warning C4701: potentially uninitialized local variable 'scale' used

So line 2320 was the culprit, not strictly because a default case was passed, but because it was using the Vector2i * operator against an int when it was expecting an int64_t. So even though there's an implicit conversion between int32_t and int64_t, this only appears to take effect in a context where int32_t was initialized. Changing "scale" to int64_t fixed the issue, even when uninitalized
So while the proposed change in this PR is technically appropriate, it wasn't actually reaching that stage in practice. Instead, I'll shift direction to your initial proposal and assign an error to the default cases

Thanks!


Exits at vosk.wavguess(f) without an error

I added a print("hello luavosk") after vosk.wavguess(f)
Nothing shows up
test directory
https://github.com/igor725/lua-vosk/releases/download/v1.3-4/lua51-mingw-x64.zip
libvosk.dll:
https://github.com/alphacep/vosk-api/releases/download/v0.3.45/vosk-win64-0.3.45.zip
libvosk.dll was tested with C code and it works
https://github.com/alphacep/vosk-api
windows x64

Probably your Lua VM is compiled with different compiler. You need to build lua-vosk yourself with MSVC (I think). MSVC and MinGW uses different IO handles to store files in memory. So libraries compiled by different compilers may not work correctly in one application.

libvosk.dll was tested with C code and it works

The function wavguess has nothing to do with libvosk.dll, by the way. It's implemented in my library only.

The exit at vosk.wavguess(f) only happens with Love 11.2
https://github.com/love2d/love/releases/download/11.2/love-11.2-win64.zip
I built Lua 5.4.6 and tested after this issue and thought the problem was consistent.
https://www.lua.org/ftp/lua-5.4.6.tar.gz
https://www.lua.org/manual/5.4/readme.html
raylib 5.0 Windows Installer 64bit (MinGW compiler) ... raylib\w64devkit\bin
make mingw
After two days of testing, the error i get with lua 5.4.6 is
lua: error loading module 'luavosk' from file '.\luavosk.dll':
The specified module could not be found.
I was trying to avoid compiling headaches and bloat.
I am sure if i follow your instructions, it will work since you have tested it.
https://docs.igvx.ru/lua-vosk/
Thanks

After two days of testing, the error i get with lua 5.4.6 is
Pre-built lua-vosk release binary is complied ONLY for Lua 5.1 (it won't work with Lua > 5.1)

If you avoid using wavguess with release binary in LÖVE, it will work just fine (probably). Sadly, I don't have enough time to fix it atm.

If you avoid using wavguess with release binary in LÖVE, it will work just fine (probably). Sadly, I don't have enough time to fix it atm.
Replacing wavguess ... with

file = love.filesystem.newFile( 'rec.wav' )
decoder = love.sound.newDecoder( file)
local nsamp, isfloat =decoder:getSampleRate( ), false
worked!

Thanks

I think I fixed wavguess function. It should not crash your VM anymore.
https://github.com/igor725/lua-vosk/releases/tag/v1.3-5

Fixed!
Love 11.2 and Lua 5.1.5 work.
Thanks


4.9.3

@rultor release tag is 4.9.3

@rultor release tag is 4.9.3

@portlek OK, I will release it now. Please check the progress here

@rultor release tag is 4.9.3

@portlek Done! FYI, the full log is here (took me 9min)


leetcode CLI submit code to the wrong id

Sometimes, I found leetcode submit --id xxx submit the code to a wrong question id
For example, I have a source code file saved in ~/leetcode/986.. Then, I run leetcode submit --id 986 to submit the code, and I found that the code is submitted to question 949. This issue also happened to other question ids like: 708, 509 etc
The LeetCode site is doing some id-remapping tricks to break external CLI? Or, this is just a bug?

I fixed it in 0.0.20. LeetCode website does have a frondEnd id to backEnd id mapping.

@chishui How could I get the id mapping? It is messed up again.


Standardize YAML error location

Change location reporting in YAML::ParseException to line:column
This shorter notation is already used in JSON::ParseException and INI::ParseException and the compiler.

We should use the longer version everywhere. The short version is too cryptic.

I don't think it's cryptic, just concise. Which is good because it makes better error messages.
The meaning is pretty self-explanatory in the context. This notation is ubiquitous.

The meaning is pretty self-explanatory in the context. This notation is ubiquitous.

@straight-shoota I disagree, at 3:7 is far is from being self-explanatory, I'd understand if the context would be a filename:line:col format, which indeed is pretty clear, but that's not the case.

Has anyone ever complained about not understanding what the location reference in a JSON::ParseError message means?

I'd understand if the context would be a filename:line:col format

I agree that this would really be a great enhancement. Similar to compiler exceptions, we could add a filename property to location-based exceptions which can be set when the exception bubbles up to a scope where such information exists:
File.open("file.json", "r") do |file|
  JSON.parse(file)
rescue exc : JSON::ParseException
  exc.filename = "file.json"
end

I've changed to the longer line x, column y format everywhere. Seems to be most favoured and also more common.

@straight-shoota Sth went wrong with the rebase?

Ah no, I forgot to actually change the pre-existing occurances of line:column format. 🤦


Feature type
New Feature
Description
If this util manages to get some data, add option for users to "time-travel" and redo requests from collected data by time. For example, user should be able to choose to redo all requests from 11:00 to 12:00. Each req should wait for previous one to finish ( togglable via config ), or config in this application should allow to add metadata for each request, so they can be chained.

Finished with #23


fix: cause of memory leak name2entry

If the specific key in name2entry is not removed, it will cause a memory leak. Please review.

Thanks for contribution!


Store org data as a part of the session

Summary
It would be great to be able to access the user's org data as a part of the session. For most saas companies the org data is arguably just as important, so having this built in would be great. Alternatively, it could be a nice bonus for user's to be able to specify "what" metadata they want to encrypt in the session
Proposal
Update the places a session is set w/ org
let org = null
if (organizationId) {
    org = await workos.organizations.getOrganization(organizationId)
}

const newSession = {
  accessToken,
  refreshToken,
  user: session.user,
  impersonator: session.impersonator,
  org, <------------------------ new
};

Happy to contribute!

The organization ID is actually stored within the access token, which itself is a JWT. It's also included by default in the return object from withAuth.
This means you can get the org ID (if the user is part of an org) directly by using the withAuth method:
export async function loader({ request }: LoaderFunctionArgs) {
  const { organizationId } = await withAuth(request);

  return json({
    organizationId,
  });
}

Any reason you'd want it in the root level of the session object as well?
As for storing additional metadata in the cookie, what sort of data are you looking to store there? I'm wondering if in that case you should just set your own cookie with your own data, separate from the WorkOS session cookie.

Closing this due to inactivity, feel free to reopen if you're still having problems.


extract_xpaths_from_html not reflected in most recent lavague-core==0.2.35

@lyie28, I'm following the Navigation engine docs here: https://docs.lavague.ai/en/latest/docs/module-guides/navigation-engine/
context = "\n".join(nodes)
action = nav_engine.get_action_from_context(context, instruction)
display(Code(action, language="python"))

When I run this code in my notebook, I get "KeyError: 'authorized_xpaths'". I'm running lavague-core==0.2.35 and lavague 1.1.19.
I see some changes were made last week to NavigationEngine: https://github.com/lavague-ai/LaVague/blame/b343013e67e965a579c4c415083a5e771dbf6d00/lavague-core/lavague/core/navigation.py#L177
It seems like I'm in a state where the NAVIGATION_ENGINE_PROMPT_TEMPLATE has been updated to include authorized_xpaths, but the get_action_from_context method changes are not reflected in most recent version of lavague-core.

Hi @rtreddick - thanks for this. You're absolutely right. Unfortunately, a few things haven't been updated on the docs as we've been focusing on some other changes at the moment - I'll fix this one now.  Do let us know if you have any other issues or feel free to directly open a PR if you want to suggest a change directly :)

Hi @rtreddick - thanks for this. I checked and we don't have the issue when installing from local but I see the issue if I download from the pypi package so I will find the package that needs updated and publish the latest version

That’s what I was thinking. Just the package on PyPi wasn’t up to date.
On Fri, Sep 6, 2024 at 8:50 AM Laura Yie @.***> wrote:

Hi @rtreddick https://github.com/rtreddick - thanks for this. I checked
and we don't have the issue when installing from local but I see the issue
if I download from the pypi package so I will find the package that needs
updated and publish the latest version
—
Reply to this email directly, view it on GitHub
https://github.com/lavague-ai/LaVague/issues/599#issuecomment-2333982226,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMLXAKWP36F7WMURUD5BG3TZVGQKPAVCNFSM6AAAAABNW3RQDKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZTHE4DEMRSGY
.
You are receiving this because you were mentioned.Message ID:
@.***>


qemu: support OpenGL acceleration (VirGL)

UTM seems to have been supporting VirGL with forked repos:
https://github.com/utmapp/UTM/blob/62bd84c78c045870c580df34c1ba233d75e02995/patches/sources#L38-L45
I'm not sure we can just use them in Homebrew's QEMU. Maybe we need a custom Tap.

Another interesting addition would be to see if it would be possible to add VirtualGL support, to the VNC server.

Support for Venus was recently merged to QEMU: https://github.com/qemu/qemu/commit/e4bad9cc5e3a8193988d42a1ca8416afe3220d08

Patches in https://github.com/akihikodaki/virglrenderer/commits/macos/ are still not upstreamed to https://gitlab.freedesktop.org/virgl/virglrenderer
(Where is the merge request?)

@akihikodaki May I ask if you are planning to submit your macOS patches in https://github.com/akihikodaki/virglrenderer/commits/macos/ to the upstream repo (https://gitlab.freedesktop.org/virgl/virglrenderer)?
Thanks!

@AkihiroSuda It depends on a libepoxy change which has not landed yet: https://github.com/anholt/libepoxy/pull/239
cc: @ebassi


Error when publish_limit is no longer equal to 0

Seen in #121 ; if publish_limit is not equal to 0, then error is raised
2015-11-17 22:15:00,084: INFO/MainProcess] Scheduler: Sending due task publish-data (django_th.tasks.publish_data)
[2015-11-17 22:15:00,086: INFO/MainProcess] Received task: django_th.tasks.publish_data[f734df8a-6503-46ed-9810-c32c8670bdad]
[2015-11-17 22:15:00,104: ERROR/MainProcess] Task django_th.tasks.publish_data[f734df8a-6503-46ed-9810-c32c8670bdad] raised unexpected: TypeError("object of type 'NoneType' has no len()",)
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/celery/app/trace.py", line 240, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/celery/app/trace.py", line 438, in __protected_call__
    return self.run(*args, **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/django_th/tasks.py", line 158, in publish_data
    datas = getattr(service_provider, 'process_data')(service.id)
  File "/usr/local/lib/python3.4/dist-packages/th_rss/my_rss.py", line 85, in process_data
    return PublishingLimit.get_data('th_rss', cache_data, trigger_id)
  File "/usr/local/lib/python3.4/dist-packages/django_th/publishing_limit.py", line 41, in get_data
    if len(cache_data) > limit:
TypeError: object of type 'NoneType' has no len()

if that concerns a new trigger, click on the button "off" then reclick on "on" this will set a trigger date otherwise right now I put 0 to the limit and could flood trello :)

I give it up - seems my two instances are messy (the old one upgraded or the new one from scratch). Wil check it later.


Sparkle: Replace Nokogiri with REXML

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[x] Have you successfully run brew tests with your changes locally?

Some folks have had issues with the nokogiri gem in relation to the Sparkle strategy (as seen in #11486) and it was suggested that we simply replace nokogiri with rexml. This seemed like a good idea to me, as we were also having issues with the output from Homebrew.install_bundler_gems! on brew livecheck --json runs that involve the Sparkle strategy (i.e., the bundle output prevents livecheck's output from being exclusively JSON). Using rexml would fix both of those issues and that's the goal of this PR.

One challenge with this was replacing the behavior of nokogiri's #remove_namespaces! method, as rexml doesn't have anything similar. From what I gathered in testing this and looking through the existing Sparkle code, the intention was to remove prefixes from element and attribute names.
There are some small variations between Sparkle XML files (generally where upstream is doing something weird or incorrect), so we can't reliably use item.elements["sparkle:version"] and we need to be able to use a prefix-agnostic item.elements["version"]. I can expand on this further but suffice to say that removing prefixes is necessary to work for all of the casks that are currently using the Sparkle strategy.

The other tricky part of this was that one cask, svnx, uses the sparkle prefix but doesn't define it. As a result, rexml gives an Undefined prefix sparkle found error when running             REXML::Document.new(content). nokogiri doesn't mind this but rexml won't even make a best-effort attempt at parsing this (e.g., omitting undefined prefixes) and fails with an REXML::UndefinedNamespaceException error.
My workaround for this is to rescue this error, remove any instances of the prefix in the content from elements/attributes, and try to reparse it once (raising the error if it fails again). This works for svnx, so I think it's generally fine for now. If we encounter related issues with other casks in the future, we can revisit this code.

Looking to the future, there are two small areas in brew outside of livecheck where nokogiri is used to parse XML. I'm going to look into migrating these to rexml as well, as that would allow us to drop nokogiri entirely (unless/until we need to use it for HTML parsing). I wanted to handle those changes separately from this, so any discussion in this PR could be focused on the context of the Sparkle strategy and we can land this fix for #11486.

Review period will end on 2021-06-28 at 15:05:23 UTC.

Review period ended.


Array.apply not support ie8 in TextBlock even if I'm add the polyfill

could you change it to Array.from?

ie8? seriously? not even Microsoft supports ie8 anymore 😝
Anyway, to answer to your two questions:

I'm sorry, but I don't think we should change the code to support a 10years old browser that is no longer officially supported by anyone. If you really need to support IE8, I suggest you polyfill Array.apply directly on your project
Array.from is muuuch more recent than Array.apply and is not even supported by IE11 => so I guess you're already using polyfills? In this case, adding the polyfill for Array.apply should not be a problem then :)

I'm already try to  use es3ify-loader and babel-polyfill to polyfill Array.apply,but failed. fortunately the Array.from success

Ok, Array.apply is actually supported by IE8, but for some reason in IE8 it has a different API...
We could take advantage of ES6 by doing it as [...Array(5)] and let babel do their job

published a fix in 1.0.10

I'm sorry to say that your another solution failed...

In addition if we don't use babel ,the problem will not just Array.from

if you don't want Array.from, you could replace range.map by for

That's weird, I tested it on IE10 and it looked to me that it correctly initialized an array without errors.
What error are you getting? Can you write it here?

There is no exception,just the range.map failed to traverse in ie8,I don't know why

@guxingke201 I'm sorry, but if that didn't work I'm out of options: I'm not going to write bad code to support IE8.
I'm very pleased that you appreciate react-placeholder and wish to use it in your app, but I can't refactor code from ES6 to ES3 to support a browser that is no longer neither by Microsoft nor by React. I hope you will understand.
PS: to be honest, react-placeholder never even supported IE < 11 as it deeply uses flexbox for its layout :)
PPS: you should still be able to pass a custom placeholder, compatible with IE8, as children. You can look at this example for more information.


remove two extra asterisks in note tag example

closes (#9037)

check url is here
https://deploy-preview-9038--kubernetes-io-master-staging.netlify.com/docs/home/contribute/style-guide/#shortcodes

/lgtm
/approve


firewall setup during installation fails due to firewalld service not running

https://github.com/ilbuonmarcio/mrczlnks/blob/1efee153df6ba1073944f4714d15b535da1a5f10/install.sh#L282-L286
firewall-cmd commands are not working due to firewalld service not runnable inside chroots.
We need to find a new solution!

Deleted code, ignored for now


Not working with track IR 5

I'm using track IR 5, with software version <IP_ADDRESS>545.
The precision gaze mouse doesn't seem to be picking up anything from track IR.
I tried to choose GazePlusMouse as the title, however that title does not exist.

Nevermind, I had to update my games library to see it.


v1.7 backports 2020-06-05

#11884 -- endpoint: Implement new Invalid endpoint state (@christarazi)

Once this PR is merged, you can update the PR labels via:
$ for pr in 11884; do contrib/backporting/set-labels.py $pr done 1.7; done

test-backport-1.7


Dashboard-level filters are not applying to charts (that are in-scope)

Bug description
In mixed charts, query B does not seem to inherit default dashboard-level filters sometimes...
How to reproduce the bug
Hard to reproduce consistently but:

Create a mixed chart with 2 queries, and a primary AND secondary Y-axis.
Primary chart should be a line chart, secondary chart should be a bar chart.
Create a dashboard-level date filter with a default value that is from 2023-11-01 to Now.
Refresh dashboard
Repeat steps 1&2
Refresh dashboard
Notice that query B is not filtered to the default dashboard-level date filter.
Go into edit the chart and notice that query A has automatically added the dashboard-level filter in its filter section:

However, query B does not seem to have inherited the dashboard level filter.

What I expect:
All charts are filtered to date ranges from 2023-11-01 to Now. All queries in mixed chart have inherited the dashboard-level filters into its filter section.
What I see:
My chart I created after my dashboard filter shows all date ranges (not filtered)
Screenshots/recordings
See above
Superset version
master / latest-dev
Python version
I don't know
Node version
I don't know
Browser
Chrome
Additional context
No response
Checklist

[X] I have searched Superset docs and Slack and didn't find a solution to my problem.
[X] I have searched the GitHub issue tracker and didn't find a similar bug report.
[x] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

Ah edit: it seems like query B is not inheriting the dashboard level filters:

Query B ^ date filter says no filter
Whereas Query A inherits the dashboard filter:

Same here.

Same here

+1

+1


What's the maximum header size limit?

Version
current from master
Platform
Linux
Description
I'm using hyper in curl, and when I receive a HTTP/1 response with many response headers, hyper cuts off the response and returns an error due to message head is too large. (With a HYPERE_INVALID_PEER_MESSAGE error)
I cannot find what this exact limit is. I can't even find it in the hyper source code.

To be more specific, are you asking about the list of headers, or the length of any single header? If receiving a lot of headers, the current limit of name/value pairs in hyper is 100. That was picked somewhat arbitrarily, and could be increased if more than that were common, but so far no one has ever needed it 🤷 .

Thanks for this.
I can't tell you what's right but it seems Firefox, Chrome (and curl) all accept name/value pairs all the way until they reach the maximum response header size. Which seems to be limited to somewhere between 256KB and 1MB.

I'm not sure about client-side, but Apache httpd 2.4's default LimitRequestFields (100) and LimitRequestFieldSize (8190) settings imply if a request's headers go much over 800KB, default httpd configurations will reject it.  These limits can be changed of course, but the manual cautions that should not be necessary under normal circumstances.

No, that limit is for the HTTP/1 decoder. HTTP/2 has a setting that you can send, SETTINGS_MAX_HEADER_LIST_SIZE , to tell peer how much you're willing to accept, and hyper will enforce it for you.

the current limit of name/value pairs in hyper is 100. That was picked somewhat arbitrarily, and could be increased if more than that were common, but so far no one has ever needed it

I ran into the same problem (message head is too large) for reqwest and I found my way here to this thread.
Just wanted to +1 on this. It would be fantastic if we can have the MAX_HEADERS be configurable.

need to be increased or can be configurable.

Hi, we've encountered same problem here. Our HTTP request has 100+ headers and hyper failed with error.
Is there any plan to make it configurable?

I think this was resolved in #3532 but the issue seems to have been left open

Good call, thanks for conneting the issue!


Add WeChatWork as Authentication

Feature Description
In China, many companies use enterprise WeChat to uniformly manage employee accounts.

translate 在中国，许多公司使用企业微信统一管理员工账号。

Screenshots
No response

我们通过oauth2的配置，已经实现了企业微信的登录了

Closing as wechatwork supports OIDC. Might be worth documenting this.


Make Website Mobile Friendly

My personal website breaks when you resize it in a few places. It definitely does not look good when at mobile size.
Suggestion: use CSS break points to make the page responsive
first remove all the style elements from the html and make sure the document still works
put solved issue in a branch called mobileFriendly

Im starting to work on this

Im still working on it some progress has been made


RabbitMQ.Client 6.2.3 - Semaphore Disposed Exception thrown in AsyncConsumerWorkService

Relates to an Issue raised on the RabbitMQ.Client Repo: https://github.com/rabbitmq/rabbitmq-dotnet-client/issues/1153
This library supports concurrency for consumers, which when under a little load, can experience this issue when an Application is terminating or a Connection is dropped.

Removed Exception Handling in 9bcc3c345de8c2654774134c621e701104939bb9


How do I set the spacing between X-axis coordinates in LineChart

How do I set the spacing between X-axis coordinates in LineChart

Hi. may I ask you what is your use case? is there any design?


Style problem in safari when use sidenav

https://github.com/user-attachments/assets/e3029c38-5e9e-4520-b566-3c41c8d5eb56

The bug has been fixed.


Reland: Add visual density for menu default style (#114878)

Reverts #121810
Fixes #114850
The scuba failure should be expected behavior because the compact visual density will cause the horizontal padding decrease to 8.0. Will attach a CL fix.

The title should be "Reland: Add visual ..." (we try to avoid multiple Revert:'s because it gets really confusing to know if it's "in" or "out").

Were there any changes from the original PR?

Were there any changes from the original PR?

No. This is the same with the original PR. The scuba failure is because the test is for desktop and the compact visual density decreases the horizontal padding. So I'm going to attach a CL for the app to give it the default padding.


Comparator date time stamp

Compare time stamps first. If equal, then compare date stamp (which is a ZonedDateTime).
If either of the date stamps are null, then consider them equal.
The date stamps are only compared if the time stamps are not equal. In practical use, the DateTimeStamps being compared will both have non-null date stamps, or will both  have null date stamps. You won't have one date stamp null and the other not because the DateTimeStamps are created by the parser from the parsed log line. The log line will have a time stamp, a date stamp, or both a date and time stamp. Therefore, just comparing if either is null is sufficient.

LGTM, and given @dsgrieve addressed @karianna's comments, I'm merging.


0.52.0RC1 issues

Things broken on the farm for 0.52.0RC1:

CUDA 9 on windows 64bit, python 3.8, np1.18: numba.cuda.tests.cudapy.test_multithreads.TheMultiThreadCompiling, self.assertEqual(p.exitcode, 0) fails as p.exitcode is 0xC0000005. CC @gmarkall
PPC64LE and ARM7vl: numba.tests.test_vectorization.TestVectorization.test_slp, seems like it can't vectorize what's present to a 2 x double.
OSX, all builds: Bizarrely, numba.tests.npufunc.test_errors.TestFloatingPointExceptions.test_remainder_float is failing with an assertion error, the length of the warnings/error messages doesn't match (essentially, none were found when one was expected).
Windows 32bit, all builds: Fails tests numba.tests.test_vectorization.TestVectorization.*, there's no vector.body in the LLVM IR. Also fails numerous tests in the family numba.tests.test_dyn_array.TestNd* with an integer size matching problem in the error message.
Linux x86_64, test environments containing SVML: Fails tests numba.tests.tests_parfors.TestParforsVectorizer.{test_unsigned_refusal_to_vectorize, test_vectorizer_fastmath_asm} errors are related to instruction generation being incorrect.
AArch64: libm has versioned symbol GLIBC_2.29 missing. Testing fails.

https://github.com/numba/numba/pull/6372 sorts out 5.

@sklam investigated 3. Looks to be the split-optimiser with the cheap pass at O1 being too strong, moving to O0 seems to fix and could well increase compilation speed.

https://github.com/numba/numba/pull/6378 hopefully fixes 2 and half of 4.

1. CUDA 9 on windows 64bit, python 3.8, np1.18: `numba.cuda.tests.cudapy.test_multithreads.TheMultiThreadCompiling`, `self.assertEqual(p.exitcode, 0)` fails as `p.exitcode` is `0xC0000005`. CC @gmarkall

Another potential data point on this issue: https://github.com/numba/numba/pull/6367#issuecomment-712166266

Closing, all issue resolved.

I still get 6. with version 0.54.0rc2:
    import numba
  File "/tmp/sim-wdnD78jmvr/.venv/lib/python3.9/site-packages/numba/__init__.py", line 39, in <module>
    from numba.core.decorators import (cfunc, generated_jit, jit, njit, stencil,
  File "/tmp/sim-wdnD78jmvr/.venv/lib/python3.9/site-packages/numba/core/decorators.py", line 12, in <module>
    from numba.stencils.stencil import stencil
  File "/tmp/sim-wdnD78jmvr/.venv/lib/python3.9/site-packages/numba/stencils/stencil.py", line 11, in <module>
    from numba.core import types, typing, utils, ir, config, ir_utils, registry
  File "/tmp/sim-wdnD78jmvr/.venv/lib/python3.9/site-packages/numba/core/ir_utils.py", line 16, in <module>
    from numba.core.extending import _Intrinsic
  File "/tmp/sim-wdnD78jmvr/.venv/lib/python3.9/site-packages/numba/core/extending.py", line 19, in <module>
    from numba.core.pythonapi import box, unbox, reflect, NativeValue  # noqa: F401
  File "/tmp/sim-wdnD78jmvr/.venv/lib/python3.9/site-packages/numba/core/pythonapi.py", line 12, in <module>
    from numba import _helperlib
ImportError: /lib/aarch64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /tmp/sim-wdnD78jmvr/.venv/lib/python3.9/site-packages/numba/_helperlib.cpython-39-aarch64-linux-gnu.so)

@GillesC thanks for the report, as this issue is for a closed and completed release, any chance you could please open a new issue with the problem you are seeing and describe your system in that? Many thanks for your help.


MemRef should be able to point to a MemBlock with a negative offset.

A related issue: from1DIdx and to1DIdx are using urem/udiv, but this seems fishy

Related: LLVM's pointer can have a negative offset from the address of an allocation But it is not clear whether this should be supported in MemRef.


Adding qualified variables in the UI is broken

The UI only seems to save out the first qualified variable property, even after adding new ones.

It seems to happen if adding a new variable that comes alphabetically before another property (after it has been sorted), so it looks like a problem that occurs during/after the sorting operation.


Bootstrap: Explicitly use json protocol for postMessages

Summary of Changes

add protocol query parameter to align with recent changes to Afterpay checkout
maintain "legacy" postMessage format for the endTransaction message

CC @huwr @diwang-afterpay @slyap11 @DemiJiang @srbartlett .

Okay, this is fine. Would one of @diwang-afterpay @slyap11 @srbartlett @greg-wb-ap be able to help me to deploy this somewhere please (once @DemiJiang has tested)?

Okay, I'll merge this, but for real deployment it will need to be submitted to static.afterpay.com: https://github.com/AfterpayTouch/paylater-static/tree/master/static.secure-afterpay.com.au/mobile-sdk/bootstrap

created https://github.com/AfterpayTouch/paylater-static/pull/208


Update Profile Endpoint

Do the code for the backend endpoint /profile, which will update the user profile.
Can be used to change name, email, and affiliation.
Can be used to change other things in the future.
Password should stay the same.

Currently, it is not working as intended in all forms. The user has to enter in both password1 and password2 in order to update the profile. Otherwise, it fails. Also, until I figure out how to extract the password from the authentication, I am not sure how to verify the entered password, is the correct password. Updating the profile should not allow the user to change their password in this manner without some sort of other security check.


Unable to unzip the models.zip

Hi,
Thanks for providing the code for the paper!
However, the provided models.zip can not be extracted using unzip models.zip.
Could you help with that?

can you show the error information?


Cannot build on an aarch64 host

Describe the bug
I have tried following the documentation to build VHD, VHDX and ISO images, and have yet to get anything to work.
I am using this as the documentation source: https://github.com/microsoft/azurelinux/blob/3.0/toolkit/docs/quick_start/quickstart.md
It appears that something with the RPM fetch is failing, AFAICT:
WARN[0022][imagepkgfetcher] Failed to clone packages in a single transaction, will retry with individual transactions... (retry cancelled, last error:
exit status 243)
WARN[0022][imagepkgfetcher]     Check log file '/home/wilrob02/workspace/azurelinux/build/logs/imggen/imagepkgfetcher.log' for more details from package manager.
ERRO[0046][imagepkgfetcher] Also failed to clone packages with individual transactions. Error: retry cancelled, last error:
exit status 243
ERRO[0046][imagepkgfetcher]     Check log file '/home/wilrob02/workspace/azurelinux/build/logs/imggen/imagepkgfetcher.log' for more details from package manager.
PANI[0046][imagepkgfetcher] Failed to clone RPM repo. Error: retry cancelled, last error:

The log file has this:
time="2024-12-04T13:37:05-06:00" level=debug msg="shim package not found or not installed"
time="2024-12-04T13:37:05-06:00" level=debug msg="Error(1011) : No matching packages"

Am I missing some build dependency here? Do I have to build on Ubuntu?
To Reproduce

Fedora 42 (I have also tried f40 and f41)
AArch64 Host
run command from toolkit directory:

sudo make image -j8 REBUILD_TOOLS=y REBUILD_PACKAGES=n CONFIG_FILE=./imageconfigs/core-efi.json 2>&1 | tee logz
sudo make image -j8 REBUILD_TOOLS=y REBUILD_PACKAGES=n CONFIG_FILE=./imageconfigs/core-legacy.json
sudo make iso -j8 REBUILD_TOOLS=y REBUILD_PACKAGES=n CONFIG_FILE=./imageconfigs/full.json

Expected behavior
A successful build

@billatarm you are building a x86_64 image on an aarch64 host. I did a build of imageconfigs/core-efi-aarch64.json on a rpi4 running f41 using 3.0-stable branch and it worked w/out errors.
End of build console output:
---cut---
INFO[0000][roast] Converting (1) artifacts
WARN[0208][roast] Skipping move. Source and destination are the same file (/home/zcobol/azurelinux/out/images/core-efi-aarch64/core-3.0.20241205.2353.vhdx).
INFO[0208][roast] [1/1] Converted (/home/zcobol/azurelinux/build/imagegen/core-efi-aarch64/imager_output/disk0.raw) -> (/home/zcobol/azurelinux/out/images/core-efi-aarch64/core-3.0.20241205.2353.vhdx)

Command used for testing:
sudo make image -j2 REBUILD_TOOLS=y REBUILD_PACKAGES=n CONFIG_FILE=./imageconfigs/core-efi-aarch64.json
Host info:
     Static hostname: raspi
           Icon name: computer-desktop
             Chassis: desktop 🖥
          Machine ID: bce81e82720c42719356e4d033c0b970
             Boot ID: 460f23db95e74ddb814827bb4150ad07
    Operating System: Fedora Linux 41 (Server Edition)
         CPE OS Name: cpe:/o:fedoraproject:fedora:41
      OS Support End: Tue 2025-05-13
OS Support Remaining: 5month 5d
              Kernel: Linux 6.11.4-301.fc41.aarch64
        Architecture: arm64
     Hardware Vendor: raspberrypi
      Hardware Model: Raspberry Pi 4 Model B Rev 1.2
    Firmware Version: 2024.10
       Firmware Date: Tue 2024-10-01
        Firmware Age: 2month 5d

Ok, so this is a documentation issue, we need to update the documentation to cover both x86-64 and AArch64. I like that x86-64 arch specific config files don't have an arch suffix. Is there a hosted bootable image?

@billatarm Good timing for that question! The main README's ISO section was just updated today with a link to a bootable 3.0 aarch64 ISO.