Error reported while installing sqlpp11-mysql

I kept reporting the following error when I installed sqlpp11-mysql again:
I m sure my date path and sqlpp11 path are correct
-- The C compiler identification is GNU 8.3.0 -- The CXX compiler identification is GNU 8.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - found -- Found Threads: TRUE   CMake Warning (dev) at /usr/local/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:438 (message):   The package name passed to find_package_handle_standard_args(MYSQL) does   not match the name of the calling package (MySql).  This can lead to   problems in calling code that expectsfind_packageresult variables   (e.g.,_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
cmake/FindMySql.cmake:49 (find_package_handle_standard_args)
CMakeLists.txt:36 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.
-- Found MYSQL: /usr/lib/x86_64-linux-gnu/libmysqlclient.so
-- Using /usr/bin/c++ (compiler id: GNU)
CMake Error at CMakeLists.txt:43 (message):
Can't find file date/date.h
Can't find date/date.h in /home/mscg/project/sqlpp11-connector-mysql-master/sqlpp11-connector-mysql-master/../date/include
Please either

git clone https://github.com/howardhinnant/date /home/mscg/project/sqlpp11-connector-mysql-master/sqlpp11-connector-mysql-master/../date/include
set DATE_INCLUDE_DIR to point to the dir containing date/date.h from the date library
e.g. download and unzip a current version from https://github.com/howardhinnant/date to ../date

 -DDATE_INCLUDE_DIR=../date/include}

CMake Error at CMakeLists.txt:58 (message):
Can't find file sqlpp11/sqlpp11.h
Can't find sqlpp11/sqlpp11.h in /home/mscg/project/sqlpp11-connector-mysql-master/sqlpp11-connector-mysql-master/../sqlpp11/include
Please either

git clone https://github.com/rbock/sqlpp11 /home/mscg/project/sqlpp11-connector-mysql-master/sqlpp11-connector-mysql-master/../sqlpp11/include
download and unzip a current version from https://github.com/rbock/sqlpp11 to /home/mscg/project/sqlpp11-connector-mysql-master/sqlpp11-connector-mysql-master/../sqlpp11/include
set SQLPP11_INCLUDE_DIR to point to the dir containing sqlpp11/sqlpp11.h

-- Configuring incomplete, errors occurred!
See also "/home/mscg/project/sqlpp11-connector-mysql-master/sqlpp11-connector-mysql-master/build/CMakeFiles/CMakeOutput.log".
See also "/home/mscg/project/sqlpp11-connector-mysql-master/sqlpp11-connector-mysql-master/build/CMakeFiles/CMakeError.log".`
CMakeError.log file:
`Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
Change Dir: /home/mscg/project/sqlpp11-connector-mysql-master/sqlpp11-connector-mysql-master/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_9eab5/fast && /usr/bin/make  -f CMakeFiles/cmTC_9eab5.dir/build.make CMakeFiles/cmTC_9eab5.dir/build
make[1]: Entering directory '/home/mscg/project/sqlpp11-connector-mysql-master/sqlpp11-connector-mysql-master/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_9eab5.dir/src.c.o
/usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD   -o CMakeFiles/cmTC_9eab5.dir/src.c.o -c /home/mscg/project/sqlpp11-connector-mysql-master/sqlpp11-connector-mysql-master/build/CMakeFiles/CMakeTmp/src.c
Linking C executable cmTC_9eab5
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9eab5.dir/link.txt --verbose=1
/usr/bin/cc -rdynamic CMakeFiles/cmTC_9eab5.dir/src.c.o -o cmTC_9eab5
/usr/bin/ld: CMakeFiles/cmTC_9eab5.dir/src.c.o: in function main': src.c:(.text+0x2d): undefined reference to pthread_create'
/usr/bin/ld: src.c:(.text+0x39): undefined reference to pthread_detach' /usr/bin/ld: src.c:(.text+0x45): undefined reference to pthread_cancel'
/usr/bin/ld: src.c:(.text+0x56): undefined reference to `pthread_join'
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_9eab5.dir/build.make:99: cmTC_9eab5] Error 1
make[1]: Leaving directory '/home/mscg/project/sqlpp11-connector-mysql-master/sqlpp11-connector-mysql-master/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:127: cmTC_9eab5/fast] Error 2
Source file was:
#include <pthread.h>
static void* test_func(void* data)
{
return data;
}
int main(void)
{
pthread_t thread;
pthread_create(&thread, NULL, test_func, NULL);
pthread_detach(thread);
pthread_cancel(thread);
pthread_join(thread, NULL);
pthread_atfork(NULL, NULL, NULL);
pthread_exit(NULL);
return 0;
}
`

I am not sure I can help you with that?
If cmake cannot find your files, they aren't where it expects them, but I cannot see your directory structure or how/where you called cmake?
Seeing that cmake has trouble finding mysel and pthread seems to indicate that there are some fundamental flaws in your setup?
Did you maybe copy the whole build directory from one machine to another?
I think I would start by deleting the build directory, create a new one and start from scratch. It might be a caching issue of cmake.

我不确定我能帮到你吗？
如果 cmake 找不到您的文件，则它们不在它期望的位置，但是我看不到您的目录结构或您如何/在何处调用 cmake？
看到 cmake 无法找到 mysel 和 pthread 似乎表明您的设置存在一些基本缺陷？
您是否可能将整个构建目录从一台机器复制到另一台机器？
我想我会首先删除构建目录，创建一个新目录并从头开始。这可能是cmake的缓存问题。

I am not sure I can help you with that?
If cmake cannot find your files, they aren't where it expects them, but I cannot see your directory structure or how/where you called cmake?
Seeing that cmake has trouble finding mysel and pthread seems to indicate that there are some fundamental flaws in your setup?
Did you maybe copy the whole build directory from one machine to another?
I think I would start by deleting the build directory, create a new one and start from scratch. It might be a caching issue of cmake.

Sorry, just accidentally click close
I tried to install MySQL on a different computer, but it still failed. The picture above is the specific details. Can you help me see if there is any problem.

I think you were close.
Try cmake ../ -DSQLPP11_INCLUDE_DIR=/usr/local/include -DDATE_INCLUDE_DIR=/usr/local/include

I think you were close.
Try cmake ../ -DSQLPP11_INCLUDE_DIR=/usr/local/include -DDATE_INCLUDE_DIR=/usr/local/include

Thank you very much for your guidance. This method has been compiled successfully!


Create PULL_REQUEST_TEMPLATE.md

Is your feature request related to a problem? Please describe.
Improve repository code standards by creating a pull request template.
Describe the solution you'd like
Create a simple PR template to enforce repo standards on prs.
Might use pandas pr template as reference.

[ ] closes #xxxx (Replace xxxx with the GitHub issue number)
[ ] Tests added and passed if fixing a bug or adding a new feature
[ ] All code checks passed.
[ ] Added type annotations to new arguments/methods/functions.
[ ] Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

Feel free to open a pull request 👍
Some notes:

the links link to pandas
also this doc/source/whatsnew/vX.X.X.rst is not relevant to us. Maybe replace it with adding the docs needed in the right docs path


⚠ Bofrost.be has degraded performance

In 75e9cce, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1556 ms

Resolved: Bofrost.be performance has improved in c0a1088.


Use secondary highlight color to highlight features on map when multiple features are seleceted and navigated from the Information panel

Describe requirements
In 2024.R02 release, we added to support to highlight rows in the table using secondary color when there are multiple feature selected and navigated from Info panel.
In continuation of this, we would like to add support for the same capability in map.

Reference issue: https://github.com/Esri/solutions-components/issues/580
Alternatives
No response
Other Relevant Info
No response
Impact
No response

@azizaparveen
We have analyzed this more and below is our approach
To highlight the features on the map, we will create the GraphicsLayer with the secondary highlight color.
When more than one features are selected from the feature table then highlight the last selected feature with a secondary color by adding the GraphicsLayer on the map
If any feature is already highlighted, then remove that highlight by removing the GraphicsLayer
If the selected feature is 'Point', 'Polyline' or 'Polygon', then the highlighted feature will be shown as below

@azizaparveen @jmhauck
Approach
We have analyzed this more and below is our approach to achieving this functionality

To show secondary highlighted features, we will add one GraphicsLayer on the map.
When feature(s) are selected from the feature table then highlight the currently active feature with a secondary color(yellow) by adding the graphics on the GraphicsLayer
If any feature is already highlighted, then clear the GraphicsLayer and add new graphics
If the selected feature is 'Point', 'Polyline' or a 'Polygon', then the highlighted feature will be shown as below

Point
PolyLine
Polygonn

@jmhauck  - please let us know if you see any other approach to achieve this

@sumitzarkar I'm wondering if it would be better to emphasize the corresponding feature using FeatureEffect rather than the seemingly heavier graphics work.

@jmhauck, @sumitzarkar, at the AGOL status call today they discussed at the 4.31 (R3) release of the js api they are adding support for multiple highlights in the map. The Web Editor is already using this and seems like we could take advantage of this in this case.

@chris-fox @azizaparveen
We will hold on this ticket till the Api is upgraded and we get this feature in devbuilds.

Looks like this was just postponed to 4.32:
https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/62899
Do we want to consider postponing this update as well to wait until the functionality is available?

@chris-fox I am ok with pushing it to R1.

@sarahmcdonald7


Create F2_6.c

void intToString(int num, char result[], int* pos) {
if (num == 0) {
result[(*pos)++] = '0';
return;
}
int digits[10];
int count = 0;
if (num < 0) {
    result[(*pos)++] = '-';
    num = -num;
}
while (num > 0) {
    digits[count++] = num % 10;
    num /= 10;
}
for (int i = count - 1; i >= 0; i--) {
    result[(*pos)++] = '0' + digits[i];
}

}
int add(int c1, int n1, int d1, int c2, int n2, int d2, char result[], int len) {
int commonDenominator = d1 * d2;
int numeratorSum = n1 * d2 + n2 * d1;
int characteristicSum = c1 + c2 + numeratorSum / commonDenominator;
numeratorSum %= commonDenominator;
int pos = 0;
intToString(characteristicSum, result, &pos);

result[pos++] = '.';

if (numeratorSum == 0) {
    result[pos++] = '0';
} else {
    int divisor = commonDenominator / 10;
    while (divisor > 0 && numeratorSum / divisor == 0) {
        result[pos++] = '0';
        divisor /= 10;
    }
    while (divisor > 0) {
        result[pos++] = '0' + numeratorSum / divisor;
        numeratorSum %= divisor;
        divisor /= 10;
    }
}

result[pos] = '\0';
return 1;

}
int subtract(int c1, int n1, int d1, int c2, int n2, int d2, char result[], int len) {
int commonDenominator = d1 * d2;
int numeratorDiff = n1 * d2 - n2 * d1;
int characteristicDiff = c1 - c2 + numeratorDiff / commonDenominator;
numeratorDiff %= commonDenominator;
int pos = 0;
intToString(characteristicDiff, result, &pos);

result[pos++] = '.';

if (numeratorDiff == 0) {
    result[pos++] = '0';
} else {
    int divisor = commonDenominator / 10;
    while (divisor > 0 && numeratorDiff / divisor == 0) {
        result[pos++] = '0';
        divisor /= 10;
    }
    while (divisor > 0) {
        result[pos++] = '0' + numeratorDiff / divisor;
        numeratorDiff %= divisor;
        divisor /= 10;
    }
}

result[pos] = '\0';
return 1;

}

I am working on this.

The intToString function is robust converting integers to strings (positive and negative) by reversing digits in an integer array. Similarly, the add and subtract functions effectively handle mixed numbers using integer arithmetic and character arrays. With separate functions for different tasks, the code becomes easier to understand and maintain. Overall, it is a good implementation.Similarly, the add and subtract functions effectively handle mixed numbers using integer arithmetic and character arrays.
For better readability and description, comments can be added to the code to clearly state each function's task.
Here are some suggestions to make the code even stronger:
Ensure each function and significant code block has a clear comment explaining its purpose and functionality.
Add error handling to ensure robustness, especially in functions dealing with inputs and array bounds.
Validate input parameters to prevent potential issues such as buffer overflows or invalid calculations.
Define constants for any repeated values, like 10 for the digit array length, to make the code more maintainable.
Ensure edge cases are handled, such as extremely large or small integers, and document any assumptions.
Break down complex functions into smaller, more manageable functions to enhance readability.


Camera not released even after stop() is called

I used fotoapparat to handle the camera. After the event was completed, I called fotoapparat.stop() {fotoapparat is an instance of Fototapparat class}
And next step was to open camera for another activity which cannot be done.
Alert Message pops:
"Seems there is an issue with the camera. This could be because of other apps running on phone or a hardware issue. Restarting this device might solve this problem."

When are you calling stop()? Could you perhaps share some code with us? That would help.

I'm using the FrameProcessor for live processing. Then when result is found I call fotoapparat.stop(). What I want is that the code should wait for the camera to be released.

The FrameProcessor is working in its own thread which means that it very well might be that the frame is processed already after Activity is stopped. You would need to handle that case.
On top of that, Fotoapparat should always be operated from UI thread. Therefore make sure you are not calling stop() directly from FrameProcessor but first at least wrap it in runOnUiThread (or use Handler, View.post or whatever else to make it run on UI thread).


Proxy cannot connect to rancher cluster

When trying to connect to a cluster managed by rancher (RKE)
I am getting the following error
proxy.go:170 "You kube context contains a server path /k8s/clusters/gjgjgjgjg, use --append-server-path to automatically append the path to each request"
And then it opens the cluster management interface - but shows now resuources there, because i guess not able to fetch them.
Screenshots

Environment:

Lens Version: 5.4.1
OS: Ubuntu 20.02
Installation method (e.g. snap or AppImage in Linux):
dpkg -i Lens-5.4.1-latest.20220304.1.amd64.deb

Kubeconfig:
apiVersion: v1
kind: Config
clusters:
  - name: my-cluster
    cluster:
      server: https://rancher.domain.net/k8s/clusters/hjhjhjhjh
      insecure-skip-tls-verify: false
  - name: my-cluster-Ubuntu-2004-node-2
    cluster:
      server: https://<IP_ADDRESS>:6443
      certificate-authority-data: >-
        tututututututututututututututututututututututut
      insecure-skip-tls-verify: false
  - name: my-cluster-Ubuntu-2004-node-1
    cluster:
      server: https://<IP_ADDRESS>:6443
      certificate-authority-data: >-
        gjgjgjgjgjjgjgjgjgjgjgjgjgjgjgjghghghg
      insecure-skip-tls-verify: false
users:
  - name: my-cluster
    user:
      token: >-
        kubeconfig-user-fgfgfgf:XOXOXOXO
contexts:
  - context:
      cluster: my-cluster
      namespace: my-namespace
      user: my-cluster
    name: my-context

Is there any way to configure this --append-server-path flag when connecting to cluster?

--append-server-path flag was introduced in Kubernetes in version 1.23(https://github.com/kubernetes/kubernetes/pull/97350) that is now bundled with Lens 5.4. Previously we have tackled this issue on Lens side, but now it seems that kubectl proxy is returning error without that flag (why it's not on by default?).
However, we've switched to use our own proxy implementation https://github.com/lensapp/lens/pull/4924 on master so I would assume this is not the issue there. Should we add that flag for Lens 5.4. @Nokel81 WDYT?

I tested this and I'm able to see the error too. However, dashboard is working fine and I can see resources when selecting all namespaces (or something else than default).

Sorry my bad, I am also able to see resources when selecting "All namespaces"

I'm still having this issue with 5.4.4.
I'm not sure if the following is caused by the same issue:
My rancher cluster (in purple/blue) does not realize that I am connected. I can see my resources however.

My docker-desktop cluster (in green) does realize that I am connected.

@Nokel81 seems like it!

Same issue here after upgrading kubernetes cluster to 1.23.5.
I can't connect with Lens trough rancher (proxy) on a Kubernetes cluster.
Oops, something went wrong.
Error: socket hang up

Oops, something went wrong.
Error: socket hang up

W0503 21:57:35.359125 31469 proxy.go:170] Your kube context contains a server path /k8s/clusters/[cluster-name], use --append-server-path to automatically append the path to each request

Authentication proxy started

Refreshing connection status ...

Error: ESOCKETTIMEDOUT

E0503 21:58:05.367274 31469 proxy_server.go:147] Error while proxying request: context canceled

Lens: Lens: 5.4.6-latest.20220428.1
Rancher: v2.6.4
Kubernetes: 1.23.5

Same issue here after upgrading kubernetes cluster to 1.23.5. I can't connect with Lens trough rancher (proxy) on a Kubernetes cluster.
Oops, something went wrong.
Error: socket hang up

Oops, something went wrong.
Error: socket hang up

W0503 21:57:35.359125 31469 proxy.go:170] Your kube context contains a server path /k8s/clusters/[cluster-name], use --append-server-path to automatically append the path to each request

Authentication proxy started

Refreshing connection status ...

Error: ESOCKETTIMEDOUT

E0503 21:58:05.367274 31469 proxy_server.go:147] Error while proxying request: context canceled

Lens: Lens: 5.4.6-latest.20220428.1 Rancher: v2.6.4 Kubernetes: 1.23.5

Kubernetes 1.23 is experimental in rancher 2.64.
I could fix the connection issue by activating in rancher an experimental feature Flags called proxy
To access this feature : Settings / Feature Flags Proxy
On the new rancher UI this feature is locked .
You have to switch on old UI to be able to activate it and in my case restart rancher

@igorrenquin So does that mean that with Kube 1.22 using Lens works with rancher?

@igorrenquin So does that mean that with Kube 1.22 using Lens works with rancher?

In my case yes, no issue and no need to activate experimental proxy as kubernetes 1.22 is one of the supported kubernetes version by rancher.

@igorrenquin Is this still an issue for you?

@igorrenquin Is this still an issue for you?

@Nokel81 no more an issue.
the issue was cause by rancher . Rancher v version did'nt support kubernetes version. Enabling the feature flag proxy fixed the problem until Rancher support kubernetes v1.23


SCTP code does only compile on linux

The new code located in io.netty.channel.socket.sctp package does only compile with on linux (maybe also solaris).
At least on windows and osx it fails the build because "com.sun.nio.scpt" package is not present.

I think that can be closed for now as we now have it in a extra module


how can I get the Public IvS dataset?

hello, the paper mentioned the Public IvS dataset and some other paper used the dataset for training; so I want to ask where can I get the Public IvS dataset?

Please contact the author of the follow paper for the Public IvS dataset:
Zhu, Xiangyu, et al. "Large-scale Bisample Learning on ID vs. Spot Face Recognition." arXiv preprint arXiv:1806.03018 (2018).


Not secure add new user

All fields have no limit for char . And if you adding long names its spoiling view of table.
Password has no any requirements .
How to recover password if forgotten?
Email don't need to be real.
Any protection from Cross-site scripting?

@ckiss Status?


Registers J2SE platform using reflection to avoid the impl dependency

Reflection is ugly, but it works.
Now we can release for any NetBeans version. That API is super-old so, stable.
Fixes #25

@geertjanw please look into this one too.

Thanks!


Fixed some Sonar complaints

SonarQube analysis reported 15 issues

 1 major
 11 minor
 3 info

Watch the comments in this conversation to review them.
3 extra issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 AncientFungus:LGEPR: Cppcheck cannot find all the include files (use --check-config for details)
 VorbisFile.cpp#L8: Member variable 'VorbisFile::sampleRate' is not initialized in the constructor.
 SoundManager.cpp#L153: The function 'GetListeners' is never used.

SonarQube analysis reported 15 issues

 1 major
 11 minor
 3 info

Watch the comments in this conversation to review them.
3 extra issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 AncientFungus:LGEPR: Cppcheck cannot find all the include files (use --check-config for details)
 VorbisFile.cpp#L8: Member variable 'VorbisFile::sampleRate' is not initialized in the constructor.
 SoundManager.cpp#L153: The function 'GetListeners' is never used.

iamheman

SonarQube analysis reported 15 issues

 1 major
 11 minor
 3 info

Watch the comments in this conversation to review them.
3 extra issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 AncientFungus:LGEPR: Cppcheck cannot find all the include files (use --check-config for details)
 VorbisFile.cpp#L8: Member variable 'VorbisFile::sampleRate' is not initialized in the constructor.
 SoundManager.cpp#L153: The function 'GetListeners' is never used.

SonarQube analysis reported 14 issues

 1 major
 11 minor
 2 info

Watch the comments in this conversation to review them.
3 extra issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 AncientFungus:LGEPR: Cppcheck cannot find all the include files (use --check-config for details)
 VorbisFile.cpp#L8: Member variable 'VorbisFile::sampleRate' is not initialized in the constructor.
 SoundManager.cpp#L158: The function 'GetListeners' is never used.


No windows 11 method

Would at least like a link to download a good openssh client for windows 10/11. Not just, oh click a few things and IF you see it here, download it here.  There's also no windows 11 version. So can't find anything that's relevant on that page. It's also the first page to come up on goodl when searching openssh windows
After a little bit of searching
It's
System > optional Features
This is where you will see if openssh is installed. Windows 11.
Doesn't show on installed applications.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 18a5a4e5-2604-23c2-1374-68a6974170bc
Version Independent ID: f93809cc-eb5e-6b9b-ed58-c8811a8ee21f
Content: Get started with OpenSSH for Windows
Content Source: WindowsServerDocs/administration/OpenSSH/OpenSSH_Install_FirstUse.md
Product: windows-server
Technology: administration
GitHub Login: @robinharwood
Microsoft Alias: roharwoo

Hey @SickProdigy
Thanks again for contacting Microsoft, we value your feedback.
A documentation change was recently made addressing installing OpenSSH on Windows 11 devices and is currently live. We will now be closing this thread.
Thank you and have a most pleasant day.
#please-close


Ruby Garbage Collection problems

There are a few problems with how garbage collection is handled by Ruby:

The wrapper structs for call credentials, channel, channel credentials, server, and server credentials have a mark member, which is always Qnil (and therefore does nothing) in each case except the server case.

The documentation for those members is inconsistent. In one place it is called a "peer ruby object" intended to "minimize copying when a  is created from ruby", and in another it is described as "Holder of ruby objects involved in constructing the ". In the server, the only place where it is used, it points to the completion queue used to create the server.

In the server, even though the server holds a reference to the completion queue used to construct it, this does not guarantee finalizer execution order. If a server holds the last reference to a completion queue, they will both not be marked in the same GC cycle, and as far as I can tell, there is no guarantee on execution of finalizer order of objects destroyed in the same GC sweep.

Each of the mentioned wrapping types has an init_copy initializer, that creates an object from another existing object of the same type. As currently written, in each case the wrapped C struct will be freed by the first of those objects to be finalized, invalidating any copies.

grpc_rb_server_free is a complete mess.

In addition, several wrapping files declare IDs that appear to be intended to preserve references to other objects (e.g. https://github.com/grpc/grpc/blob/master/src/ruby/ext/grpc/rb_call.c#L67), but they are never used.

This was fixed by #6886.


Maintainership of this library

I'm interested in being the maintainer of this library and intend to publish it to Hackage.
This is a really nice library as after playing around with it, I think it offers exactly the ergonomics that I'm after.
No intervention is required on your part.

The new library is here and published oops.
Thank you so much for this library!


Add JsonFlatFileDataStore to Community repos

Add JsonFlatFileDataStore to Community repos

https://github.com/dotnet/datalab/issues/22


[SPARK-48246][BUILD] Add a new ScalaStyle Rule RedundantIfChecker

What changes were proposed in this pull request?
The pr aims to add a new ScalaStyle Rule RedundantIfChecker.
Why are the changes needed?
Make code logic more direct and intuitive.
Does this PR introduce any user-facing change?
No.
How was this patch tested?

Manually test.
Pass GA.

Was this patch authored or co-authored using generative AI tooling?
No.

@panbingkun Does the Java side have similar rules? There are similar cases in the Java code, for example:
https://github.com/apache/spark/blob/cae2248bc13d8bde7c48a1d7479df68bcd31fbf1/sql/core/src/main/java/org/apache/spark/sql/execution/datasources/orc/OrcAtomicColumnVector.java#L52-L62

@panbingkun Does the Java side have similar rules? There are similar cases in the Java code, for example:
https://github.com/apache/spark/blob/cae2248bc13d8bde7c48a1d7479df68bcd31fbf1/sql/core/src/main/java/org/apache/spark/sql/execution/datasources/orc/OrcAtomicColumnVector.java#L52-L62

There are similar rules on the java side (), which I have updated,
but unfortunately, it does not recognize the above case.


contiv-crd: added code-generator scripts and updated dep

The code-generator script mentioned in plugins/apis/contivtelemtery/v1/doc.go
was missing from the dependencies. To extend types the script is needed.

Performed dep ensure with the newly added package

Coverage decreased (-0.07%) to 75.758% when pulling 12498b168ea90320c0276d05c3f66478cbbc4967 on brecode:contiv-crd into eed39e7bfd8f1da09a5c4826c4d5c835b9fb9527 on contiv:master.


Bipartite Graph

🚀 Feature
A basic algorithm to check whether the given graph is bipartite or not. In simple words, whether it can be coloured in two different colours so that every edge connects two vertices with different colours.
Have you read the Contributing Guidelines on Pull Requests?
Yes
Motivation
As it has not been added in any issue in Hakin Codes.
Pitch
Important standard graph algorithm
Assignees :
C :
CPP :
Python :
Java :
C# :
JavaScript :
GO :

Please assign this issue to me for C++ as a part of Hackin Codes @atarax665 @SKAUL05 @iamrajiv

Please assign this issue to me for Python as a part of Hackin Codes @atarax665 @SKAUL05 @iamrajiv

assign me for java

Please assign this issue to me in javascript as a part of HakinCodes


Viewing User models in ActiveAdmin makes Intercom Messenger act as if you are that user

Version info

intercom-rails version: 0.3.8
Rails version: 5.1.5

Expected behavior
When viewing users as an AdminUser in ActiveAdmin, Intercom messenger should not be active.
Actual behavior
When viewing a User as an AdminUser in ActiveAdmin, Intercom messenger suddenly appears as if I were the User whose record I am viewing.
Steps to reproduce

Create a User model with Devise
Install ActiveAdmin and create an AdminUser model
Create an admin module for editing User records
View a User record in ActiveAdmin
Congrats, Intercom now things you are the user you are viewing.

Logs

Ah, it looks like intercom-rails picks up @user by default as the current user.
Setting config.user.current = Proc.new { current_user } seems to have resolved the issue.


Cannot delete wires unless I create a new one

When a chip is not selected and I hover on a wire and try to delete it with backspace, nothing happens. The only way to delete it is by left clicking on it and then pressing backspace twice.

How are you running the program? I just grabbed the linux release on Ubuntu, and it seems to be working fine.


Strongly Typed Formik, v3

You can test these changes (and v3 in general) out in development by hot swapping formik for<EMAIL_ADDRESS>(or whatever the latest version is here). NOT for production use!

Adds strong types to Formik by typing Fields with Field<Value, FormValues>. This is an extremely breaking change. You can view only the changes related to this PR here: THESE CHANGES
You can opt into types by using createTypedField<YourFormValuesType>() (anywhere) or useTypedField<YourFormValuesType>() (in component), or you can just use <Field<number, YourValuesType> />)
Pass it to a variable starting with a Capital letter (so JSX knows it is a custom component) and you can get full type inferences from your field. Check out the examples here: https://codesandbox.io/s/serene-napier-4wjxs?file=/src/App.tsx
This currently does not support passing ExtraProps through Field, like:
<Field myExtraProp={true} as={MyComponentExpectingMyExtraProp} />

Todo:

[x] FieldArray
[x] Type "AnyFieldName" with a flat list of possible field names.
[ ] Switch to Interface inheritance over intersections where possible (esp FieldConfig types) to improve TS performance when inferring FieldConfig variants. docs. It might also help us infer ExtraProps.

TL;DR: type oneOf = interface IA extends A, B, C {} | interface IB extends A, B, D {} is fast, but
type oneOf = type (A & B & C) | type (A & B & D) is quite slow.

[ ] Doesn't seem like PathMatchingValue matches extending values, like PathMatchingValue<number, Values> is not extensible to paths matching number | "".

setFieldValue<number>(field: PathMatchingValue<number | "">, value: number) cannot be inferred, must manually call setFieldValue<number | "">.

[ ] Support textarea props, like rows. Previously this would be inferred by ExtraProps but as="textarea" doesn't have extra props.
[ ] Support ExtraProps

The following can be worked around by simply using untyped variants of these complex fields

[ ] Add subfield for FieldArray to connect ${props.path}.${index} with ValueMatchingPath<number, ValueMatchingPath<Path, Values>> which is a very complicated way of saying (infer Value)[].
[ ] Add support for multi-checkboxes
[ ] Check whether select multiple works.

I am using this branch on Turborepo. Will report back with errors

Really excited for this.

@nandorojo linked an npm package above you can use to play with these changes if you want to test them out. I can't promise it won't break anything!

Added PathLikeValue alongside PathMatchingValue for functions like setFieldValue where the value might be a narrower type and the path could match a wider type, like setFieldValue("numberOrString", numValue);. There's still an issue specifically with constant strings, like number | "" that will require casting due to https://github.com/microsoft/TypeScript/issues/30808


Integration with preset-env - compile target option

Prior art:

https://github.com/babel/babili/pull/387#issuecomment-274878437

Some optimizations which involve creating new functions or replacing or adding new functions or variables could be simplified to use the newer JS syntax (arrow functions, object methods, shorthand properties, default params, etc...). But we need an option to specify the target language version.
With babel-preset-env data it is possible to specify the target browsers, nodejs versions and use a particular feature - say arrow-functions, or spread-operator based on the computed values.

I think this relies on enhancing the cli. Because the new cli would take presets options and some other babel options !??


Changing key/display breaks moving

If I set the key and display parameters, the destination list does not show up in the ui. It seems to be around the the filter that finds the item is using a "this" property which is not in scope. If I modify it to pass in the property, moving items between lists does not work

Thanks. You uncovered a problem with the findItemIndex method when comparing items the source list to the internal lists. I believe I have the issue resolved now in the main branch if you could confirm the fix works for your use case.

Looks like it worked, issue closed!


chore(SDK): provide more meaningful SDK pretty names

The pretty names for each SDK platform and build target has been
updated to include the library and build target to make it easier
to see which SDK option is for which output device.

@bddckr what do you think about these for names?

Oh nice, these offers all the info!

They call it PC, Mac & Linux Standalone. Desktop is a hard one because people may be like "yo brah it's a laptop tho"

Yeah go with Standalone then. Should be known by Unity using devs.


fix: my collection nav bugs

The type of this PR is: Bugfix
This PR resolves CX-708
Description
This was actually a few different bugs.

We were showing the native back button when entering the My Collection flow, since this flow is managed by react native navigators instead we should use react-native back buttons that pop from the react native navigators.
The goBack method for our native back buttons was selecting the wrong NavigationController to pop from and the result was tapping back would first pop all viewControllers from React Native managed navigators and then pop the showing VC, this has been updated to check that the navigationController is our subclass before popping.
Our set up navigation call was a little too eager and was replacing navigators which still had content causing the back button and pushing vcs to stop working. Added a check to see if a navigator exists before creating a new one and a clean up call to reset navigation when we leaving the MyCollection flow.
Since we are no longer showing native back button in this flow when leaving update the calls to use the navigate function so other flows can get the native back button.

PR Checklist (tick all before merging)

[x] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[x] I have added tests for my changes, or my changes don't require testing, or I have included a link to a separate Jira ticket covering the tests.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added an app state migration, or my changes do not require one. (What are migrations?)
[x] I have added a CHANGELOG.yml entry or my changes do not require one.

This all makes sense to me. Is there a reason it's still marked as draft?

Yeah there is another bug here where other My Collection screens are replacing the navigation controllers of previous My Collection screens, going to try to wrap up today.

Closing in favor of https://github.com/artsy/eigen/pull/4102 which addresses these issues 🎉


dotenv configuration

I am using the latest version of Flask which supports .env files when python-dotenv package is installed. It conflicts with dotenv package vendored within pipenv.

It would be nice to have dont_load_env (default false) at pipenv section within Pipfile so there will be no need to provide PIPENV_DONT_LOAD_ENV=1 every time running pipenv. It would be useful not only in case of Flask usage but in case I want to use python-dotenv on my own.

Pipenv loads .env file using override=True argument so I cannot overwrite environment from CLI:
VAR=1 pipenv run ....

It would be great to have dont_override_env (default false) at pipenv section within Pipfile (and PIPENV_DONT_OVERRIDE_ENV environment variable also).

I feel it is usually a personal choice whether .env should be loaded, so a project-wide setting seems awkward. An environment variable would be more appropriate.
How does the Flask configuration conflict with Pipenv’s dotenv loading, however? I’d think it is generally safe to load the same dotenv file multiple times. Maybe we should fix the incompatibility as well.

I agree that using .env is a personal choice and maybe it worth to do something for not to load .env twice when using Flask.
But overriding existing environment variables seems to be unexpected behavior (Flask, for instance, doesn't override existing variables as False is the default value for argument override within python-dotenv itself). So using for example PIPENV_DONT_OVERRIDE_ENV environment variable to not to override existing variables every time would be annoying. For instance:
PIPENV_DONT_OVERRIDE_ENV=1 SOME_VAR="some value" pipenv run some_cmd
How can it be configured if not by project setting (for example dont_override_env) within Pipfile?

override=False is probably not an option either because it would then be impossible to, well, override things. It is unfortunately quite common for people to have a value globally, and override it in a project’s .env. IIRC there was even a debate a while back, and we decided to keep the current implementation. This is quite tricky :(

Hmm.. So if I want to override some environment variable once for a single command run then I should add or replace its value within my .env?

I am definitely not accepting a PR that adds a project setting to the pipfile without Kenneth signing off on it, you need to submit a PEEP if you want that.


Added MS Teams And Ability to download project as archive

Added MS Teams support for integrations
Added Project Archive download functions to be able to download repo as an archive file

Bump the version number to 2.5.6 and I'll accept it.


Seeing a "Not Found" page.

Hi,
Using docker-compose.yml:
version: '3.3'
services:
tasks.md:
container_name: tasks.md
image: baldissaramatheus/tasks.md
ports:
- 8383:8080
volumes:
- ./cards:/api/files
- ./styles:/usr/share/nginx/html/stylesheets
environment:
- TZ=America/Toronto
- PGID=1000
- PUID=1000
- TITLE="My tasks board"
- BASE_PATH=/tasks
restart: unless-stopped
Start-up only shows this:
Creating network "tasksmd_default" with the default driver
Creating tasks.md ... done
Attaching to tasks.md
tasks.md    |
When I connect to http://host:8383 I see only "Not Found". It used to work, but I think it stopped about a day or so ago. Is there something else I can try?

Its probably because you set the BASE_PATH variable as /tasks, so the app is running on http://host:8383/tasks.
Try opening http://host:8383/tasks and check if it works. If you want to run it without the /tasks path you have to remove that variable from your docker-compose file

Marking as closed - issue resolved due to my incorrect local changes..

Great! I'll close then


Error of android

erro de flutter " unexpected lock protocol found in lock file expected 1, found 0"
This erro is in my flutter app when a run and build in Android

Hi @WinikeCuamba
Please see this StackOverflow if it helps.
This looks like an issue with Gradle rather than Flutter itself. Closing as this is neither a Flutter framework bug nor a feature request. Next time when open an issue, please try to provide all information indicated in the template so that we can address this issue properly (See bug issue template here).


[ncp] add support for NCP power state change

This commit adds a configuration option to enable NCP power state
control. When enabled spinel property SPINEL_PROP_POWER_STATE can be
used to get/set the desired NCP power state. The get/set handlers for
this property can be  specified using newly added config options
NCP_PLAT_GET_POWER_STATE_FUNC and NCP_PLAT_SET_POWER_STATE_FUNC.

New pushed commit implements the new design.


Please Help: How to dynamically add array of objects to React Hook Form (TS + ShadCN + Zod)?

I'm fairly new to React and I'm trying to build a dynamic form that includes an array of route stops using RHF + Typescript + Zod + ShadCN. I've reviewed the docs and have been able to implement simple text and []string fields, but am blocked at the section of a dynamic object array.
I followed the instructions here to add the ShadCN form components. Below is the relevant code. I'm using useFieldArray and it makes perfect sense for string arrays, but I can't get it to work for an object array. I've shown the different things I've tried in the comments of the field. When I try {...form.register(stops.${index}.city)}, it correctly renders the default values, but the submit button doesn't do anything and the validation will throw undefined or false negatives for wrong input. The other fields work just fine. I would greatly appreciate any help on this! Thank you for your time!
import "./styles.css";
import { zodResolver } from "@hookform/resolvers/zod";
import { useFieldArray, useForm } from "react-hook-form";
import * as z from "zod";

import { Button } from "./button";
import {
  Form,
  FormControl,
  FormDescription,
  FormField,
  FormItem,
  FormLabel,
  FormMessage,
} from "./form";
import { Input } from "./input";

const stopObj = z.object({
  order: z.coerce.number(),
  zip: z.string(),
  city: z.string({ required_error: "This field is required." }),
  state: z
    .string({ required_error: "This field is required." })
    .max(2, "2-letter state abbreviation"),
  country: z.coerce
    .string()
    .max(2, "Two-letter country code (ISO 3166-1 alpha-2)"),
});

const formSchema = z.object({
  firstName: z.string({ required_error: "This field is required." }),
  currency: z.enum(["USD", "CAD"]),
  stops: z
    .array(stopObj)
    .min(2, "2 stops minimum required (pickup and dropoff)"),
});

export default function App() {
  const form = useForm<z.infer<typeof formSchema>>({
    resolver: zodResolver(formSchema),
    defaultValues: {
      firstName: "John",
      currency: "USD",
      stops: [
        { order: 1, city: "New York", state: "NY", zip: "02116", country: "US" },
        { order: 2, city: "Austin", state: "TX", zip: "12345", country: "US" },
      ],
    },
  });

  async function onSubmit(values: z.infer<typeof formSchema>) {
    console.log("onSubmit:", values);
  }

  const { fields } = useFieldArray({ name: "stops", control: form.control });

  return (

        <Form {...form}>

              Complete Form

          <form onSubmit={form.handleSubmit(onSubmit)} className="space-y-4">

                <FormField
                  control={form.control}
                  name="firstName"
                  render={({ field }) => (
                    <FormItem>
                      <FormLabel>First Name</FormLabel>
                      <FormControl>
                        <Input placeholder="John" {...field} />
                      </FormControl>
                      <FormMessage />
                    </FormItem>
                  )}
                />

              <FormField
                control={form.control}
                name="currency"
                render={({ field }) => (
                  <FormItem>
                    <FormLabel>Currency</FormLabel>
                    <FormControl>
                      <Input placeholder="USD" {...field} />
                    </FormControl>
                    <FormDescription>USD or CAD.</FormDescription>
                    <FormMessage />
                  </FormItem>
                )}
              />

            {/* FIXME how to correctly render and update each stop object?? */}
            {fields.map((field, index) => (
              <FormField
                control={form.control}
                key={field.id}
                name={`stops.${index}`}
                render={({ field }) => (
                  <>
                    <FormItem>
                      <FormLabel>City</FormLabel>
                      <FormDescription />
                      <FormControl>
                        <Input
                          {...field.value.city}
                          // {...form.register(`stops.${index}.city`)}
                          // defaultValue={field.name}
                          // value={field.value.city}
                          // onChange={(e) => field.onChange(e.target.value)}
                          // onBlur={(e) => field.onBlur(e.target.value)}
                        />
                      </FormControl>
                      <FormMessage />
                    </FormItem>

                    <FormItem>
                      <FormLabel>State</FormLabel>
                      <FormDescription />
                      <FormControl>
                        <Input
                          {...form.register(`stops.${index}.state`)}
                          // defaultValue={field.name}
                        />
                      </FormControl>
                      <FormMessage />
                    </FormItem>
                  </>
                )}
              />
            ))}

            <Button
              type="submit"
              className="bg-orange-500 font-extrabold w-full"
            >
              Submit
            </Button>
          </form>
        </Form>

  );
}

Screenshot
Here's a screenshot. The currency enum field works as expected, but the city & state ones do not. Even the behavior shown in the image inconsistent. It took me a few retries for the issue to appear again so I could screenshot. I'm also not getting console or compiler errors.

Try something like this. Not perfect but closer to what you are looking for I think!
First I changed the zod schema a little bit. I used trim() to get rid of whitespace and ensure it is more than 1 character. This stops empty inputs being accepted in validation.
I also changed .max(2)to .length(2)
const stopObj = z.object({
  order: z.coerce.number(),
  zip: z.string().trim().min(1),
  city: z.string({ required_error: "This field is required." }).trim().min(1),
  state: z
    .string({ required_error: "This field is required." })
    .trim()
    .length(2, "2-letter state abbreviation"),
  country: z.coerce
    .string()
    .trim()
    .length(2, "Two-letter country code (ISO 3166-1 alpha-2)"),
});

Then I changed the form bits to this:
{fields.map((field, index) => (

    <FormField
      control={form.control}
      name={`stops.${index}.city`}
      render={({ field }) => (
        <FormItem>
          <FormLabel>City</FormLabel>
          <FormDescription />
          <FormControl>
            <TextFieldInput {...field} />
          </FormControl>
          <FormMessage />
        </FormItem>
      )}
    />
    <FormField
      control={form.control}
      name={`stops.${index}.state`}
      render={({ field }) => (
        <FormItem>
          <FormLabel>State</FormLabel>
          <FormDescription />
          <FormControl>
            <TextFieldInput {...field} />
          </FormControl>
          <FormMessage />
        </FormItem>
      )}
    />

))}

@Sophie1142  I've found out why FormMessage component displays undefined when the field has an error:
errors of dynamic array fields aren't typed as FieldError, and FormMessage component extracts the form field error from useFormField hook which is typed only as FieldError | undefined.
So I've made a workaround using type guards to extend and check the type of error variable from useFormField hook.
Here's the type of dynamic array field error:
type ArrayFieldError = Merge<
  FieldError,
  FieldErrorsImpl<{
    value: string;
    id: string;
  }>>

And then I used both ArrayFieldError and FieldError types in this function to check the error variable type:
const isFormArrayField = (
  arg: FieldError | ArrayFieldError
): arg is ArrayFieldError => {
  return (arg as ArrayFieldError).value !== undefined;
};

And finally, I refactored shadcn's FormMessage component accordingly (located in form.tsx/form.jsx):
type FormFieldError = FieldError | ArrayFieldError | undefined;
const FormMessage = React.forwardRef<HTMLParagraphElement,
  React.HTMLAttributes<HTMLParagraphElement>
>
(({ className, children, ...props }, ref) => {
  const { error, formMessageId } = useFormField();

  const extendedError = error as FormFieldError;

  let body;
  if (extendedError === undefined) {
    body = children;
  } else if (isFormArrayField(extendedError)) {
    body = String(extendedError.value?.message);
  } else {
    body = String(extendedError.message);
  }

  if (!body) {
    return null;
  }

  return (

      {body}

  );
});
FormMessage.displayName = "FormMessage";

Hope this helps! It's not the cleanest code but it worked for me.

@kevinmitch14 @StickyFingaas Y'all are too kind! I was able to get v1 out the door by hard-coding just 2 stops, but your answers will help when I inevitably have to support multiple stops. Thank youuuu!

so beautiful so elegant just nothing understanding


Investigate MapBox dependency-related Download failures during build

Before https://github.com/ably/ably-asset-tracking-android/pull/936/commits/1b20a6b0f5801dd86d7c43de29a66c36b81c64c5, for Gradle running on Java 19, we were seeing:
> Task :core-sdk:processDebugUnitTestJavaRes NO-SOURCE
java.lang.instrument.IllegalClassFormatException: Error while instrumenting jdk/proxy2/$Proxy3.

	at org.jacoco.agent.rt.internal_3570298.CoverageTransformer.transform(CoverageTransformer.java:94)
	at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244)

and other related problems. That ☝ Jacoco upgrade appears to have fixed that.

The final fix required to get this PR green was updating the MapBox secrets for this repository, given the ones we were using had expired.

@QuintinWillison - do we actually need the JVM bump and TLS workaround? If not, maybe it's worth reverting those to reduce risk as we're approaching release time and don't want other things mysteriously failing at this point?

@jaley I agree regarding the TLS workaround and I will push a commit for that shortly, but I would rather leave the JVM "bump" in there. It relates purely to the JVM that underlies the Gradle build tools, so I don't expect it to have any effect on the built product that is published to Maven Central. It also ensures that we support developers who are using different local Java environments via the check workflow.


uBlock Origin blocks some network requests from Stripe elements

Summary
I tested multiple popular ad blockers. All with standard config and in an isolated environment with Chrome Version 74.0.3687.0 (64-Bit):

Name
Works?

Adblock Plus
:white_check_mark:

AdBlock
:white_check_mark:

Ghostery
:white_check_mark:

uBlock Origin
:x:

Other information

Related:
stripe/react-stripe-elements#222
stripe/stripe-php#528
stripe/react-stripe-elements#256

@fred-stripe Hello, some of our users are reporting an issue with uBlock on Firefox blocking stripe and causing the elements not to render.
I could not reproduce the error on OSX but have confirmed the issue via our logs.
Browser name
Firefox
Browser version
66.0
Language
ja
User Agent
Mozilla/5.0 (Windows NT 6.1; rv:66.0) Gecko/20100101 Firefox/66.0
Operating System
Windows 7

Thanks

Probably not the same issue, but this might help someone else.
I just had a problem where the presence of uBlock Origin made elements.getElement(CardElement) fail to return the element if called too quickly. I was running this as soon as useElements() returned something, then passing the cardElement ref to some other code. This worked fine without ublock.
The fix was to pass the elements ref to that other code, and only call elements.getElement(CardElement) at the moment of checkout (which is a better approach anyway).


Use uint32_t to store size()

I didn't touch the size_t, as it's even better IMHO.
uint32_t was the most used for size() in your code, so I went with that for everything else.

When changing it anyways, what is motivation of not using size_t?

@Voultapher: that's literally the only other message in this thread; did you read it? :wink:

uint32_t was the most used for size() in your code, so I went with that for everything else.

sure, but afaik using uint32_t would be technically wrong and by that a bug that should be addressed. As this pull request is about changing this behavior, why not switch every size() storing variable to size_t, the way it is meant to be used.

Actually using size_t is a source of bugs as it builds as its meaning changes from signed to unsigned and its size in bytes also changes, which is very risky for things like boundary checks. Using such an unreliable type as parameter for interfaces doesn't provide any benefit and the problems it causes are well known. There are other reasons that comes to mind such as -1 not having the same bit pattern for uint32_t as for int64_t, which is another source of bugs that may go unnoticed.


Update winget.resw

Translation of InstallationDisclaimer1 was wrong and it is fixed.
Microsoft Reviewers: Open in CodeFlow

Filed as 27986301 internally for update.  Thank you for the feedback.

The fix should be in #560 , thanks for your contribution 😄


Fix RTTIDump for VR

The class is REL::Offset in F4, not REL::OFFSET
There are other compile errors, but I'm not sure what you want to do about them:

OFFSET_<...>_IDs.hs are duplicates of <...>_IDs.hs, causing compilation to fail because of redefinition
the namespaces of the _IDs_VR.hs are duplicates of the vanilla ones, causing compilation to fail because of redefinition

Thanks. For the ID_VR namespace, that is a bug caused by the maintenance script pulling in random files into fallout.h. My local fix is to remove all files that start with OFFSET from fallout.h. I need to fix the script though to ignore those files.

For reference I mentioned it here. https://github.com/alandtse/Buffout4/issues/7#issue-1602612922


Membership information

Clearly display information on membership options and benefits, including pricing, perks, and any initiation fees.

[ ] Membership Application
[ ] ACH Payment Form
[ ] ACH Image w/ Payment Info
[ ] Description Text

Requirements for Membership Page

Membership levels: Display information on different membership levels, including pricing, privileges, and any initiation fees. This information should be presented in an easy-to-understand format, with clear descriptions of each level.

Membership benefits: Clearly outline the benefits of membership, such as access to the golf course(s), tennis courts, pool(s), fitness center, dining options, and meeting rooms. Highlight any exclusive member events or programs.

Membership requirements: Clearly state the requirements for membership, including any residency or sponsorship requirements, as well as any age restrictions.

Membership application: Provide an online membership application form that is easy to fill out and submit. It should include all necessary information and allow applicants to select their desired membership level.

Potential Features

Membership FAQs: Include a frequently asked questions (FAQs) section that addresses common questions about membership, such as how to renew membership, how to cancel membership, and what happens if a member moves away.

Testimonials: Include testimonials from current members, highlighting the benefits and value of membership. This can help to attract new members and build trust.

Membership policies: Clearly state the club's policies on issues such as guest access, dress code, and etiquette. This information should be readily available for members and guests to refer to.

Page Text
Individual Membership - $1100 per year
Enjoy the privileges of the Clubhouse, Pro Shop, and Grounds with our Individual Membership. This membership is perfect for those who have attained the age of eighteen and wish to enjoy the benefits of the Pana Country Club. Green fees are required for family members or guests who play golf.
Family Membership - $1345 per year
Our Family Membership is perfect for married couples and their children who want to enjoy the benefits of the Pana Country Club. This membership includes the immediate family, including spouse and children up to the age of 18 (or 24 if they are enrolled in school). Family members and their immediate family may also enjoy the privileges of the clubhouse, Pro Shop, and the Grounds. Green fees are required for family members or guests who play golf.
Junior Membership - $400 per year
Our Junior Membership is available to immediate family members of family membership holders who have attained the age of eighteen but not exceeding twenty-one years of age if said persons are enrolled in a program seeking an academic degree at an accredited post-secondary, degree-granting institution. Junior members may enjoy the privileges of the Clubhouse, Pro Shop, and the Grounds.
Out-of-Town Discount - $50 off a Family or Individual Membership
This discount is available to any member who lives outside of Pana or the Pana School District.
Non-Resident Membership - 50% of Regular Fee (Membership Only -- Not Storage)
Our Non-Resident Membership is available to single or married persons (and their immediate family) living thirty-five miles or more from the Pana Country Club. Non-resident members will have the same privileges of the membership class for which they purchase/qualify. For example, a single non-resident member may enjoy the privileges of the clubhouse, Pro Shop, and the Grounds. A social non-resident member may only enjoy the privileges of the Clubhouse and the Pro Shop.
We hope you'll consider becoming a member of the Pana Country Club, where you can enjoy golf, dining, and social events with friends and family. Contact us today to learn more about our membership options and to schedule a tour of our facilities.

ACH Form: https://www.panacountryclub.com/uploads/3/4/9/5/34956669/pcc_auth_form_ach.pdf
Membership Form: https://www.panacountryclub.com/uploads/3/4/9/5/34956669/2022_membership_application__pdf_.pdf


Generate changelog from GitHub releases

Not a commitment to doing this, but exploring the option of using a CHANGELOG file.
Rendered preview
Generated with the following
#!/usr/bin/env python
#
# Generate a changelog file from existing GitHub releases.
#
# Usage:
#
#   generate-changelog <repo>
#
# Example:
#
#   generate-changelog astral-sh/ruff > CHANGELOG.md
#

import os
import re
import sys

from github import Github
from github.GitRelease import GitRelease

# Header for each release tag
RELEASE_HEADER = "## {release.tag_name}"

# Substitutations for items in the body of the release
# Applied in-order (a previous replacement can be further modified by a later one)
# Expects a regular expression pattern / replacement tuple
BODY_SUBS: tuple[tuple[str, str]] = (
    # Indent these headers
    ("## New Contributors", "### New Contributors"),
    ("## Summary", "### Summary"),
    # Remove this header
    ("\n## What's Changed", ""),
    # In some older releases, the first match will not exist and all of the changes
    # will be in a single header
    ("## What's Changed", "\n\n### Changes"),
    # Remove the generated note
    (
        "<!-- Release notes generated using configuration in .github/release.yml at .* -->",
        ""
    ),
)

def format_release(release: GitRelease) -> str:
    """Convert a release into formatted notes."""
    formatted_notes = RELEASE_HEADER.format(release=release)
    formatted_notes += "\n\n"

    body = release.body
    for pattern, replacement in BODY_SUBS:
        body = re.sub(pattern, replacement, body)

    # Remove an excessive whitespace blocks
    while "\r\n\r\n\r\n" in body:
        body = body.replace("\r\n\r\n\r\n", "\n\n")
    while "\n\n\n" in body:
        body = body.replace("\n\n\n", "\n\n")

    formatted_notes += body.lstrip()
    formatted_notes += "\n\n"
    return formatted_notes

def main(repository_name: str, token: str, limit: int | None = None):
    gh = Github(token)
    repo = gh.get_repo(repository_name)

    yield "# Changelog\n\n"

    for i, release in enumerate(repo.get_releases()):
        if limit is not None and i > limit:
            return
        if not release.body:
            # Empty release, exclude it from the changelog
            continue
        yield format_release(release)

if __name__ == "__main__":
    token = os.environ.get("GITHUB_TOKEN")
    name = sys.argv[1] if len(sys.argv) > 1 else None
    if name is None:
        print("A repository must be provided.")
        exit(1)

    for line in main(name, token):
        print(line, end="")

I previously authored a script to generate the release notes for a CHANGELOG file using GitHub's generator https://github.com/PrefectHQ/prefect/blob/main/scripts/generate-release-notes.py which we could adapt here allowing us to continue using GitHub labeling to reduce the maintenance burden of writing notes while allowing for peer review of notes. Releases can link to the header in the CHANGELOG file.

I'm cool with the general approach of using a script (and this one specifically) to create the changelog, what I don't fully understand is when this would happen and how it would relate to the rest of the release process. We write the release notes when we convert the release from Draft, so the changelog itself wouldn't end up being part of the release at present.


[$1000] iOS - Chat - User is directed to the last accessed conversation instead of Concierge chat

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Access a conversation from the chat
Log out of NewDot
Click on a link that is sent in another app: https://staging.new.expensify.com/concierge
Verify that you are taken to the login screen
Log in to NewDot
Verify you're navigated to the concierge chat after login

Expected Result:
User should be directed to the Concierge chat after login since they clicked on concierge conv link before login
Actual Result:
User is directed to the last accessed conversation before logout, instead of concierge chat
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[X] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Y
Reproducible in production?: N (links are not working in IOS)
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

https://github.com/Expensify/App/assets/43995119/5fe19164-e26e-4721-afbd-5eecf5219ede
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01e55e86b6d93829ac
Upwork Job ID:<PHONE_NUMBER>915187712
Last Price Increase: 2023-06-01

Verify you're navigated to the concierge chat after login

This seems like it's taken from a TestRail case, am I correct @mvtglobally? If so, I wonder why we need this to be the case.

Slack: https://expensify.slack.com/archives/C03U7DCU4/p1684426512880779

Okay, @mvtglobally - could we amend whatever testrail case this is? Landing in your last chat is the expected way, so going to assign this to you so you can update testrail.

@twisterdotcom can you help me with what exact steps/ actions are no longer relevant?

Okay, damn I lost this because I unassigned. Taking it back. @neil-marcellini set me straight here that because you clicked from /concierge, you should land in /concierge, even if it's after signing in.

Hmmm I've worked on this logic before and happy to take over on this one and handle it internally

For anyone looking into this, the logic for this lives here

@Santhosh-Sellavel I'm gonna be going OOO next week, so if you start receiving proposals and I'm not around to help review them feel free to ask another internal engineer to help you move things forward.

Waiting on proposals.

Bumping the amount

I wasn't able to reproduce

Okay @cubuspl42 - I agree, now I can't.
I do not know what fixed this, but I'm going to close.
https://github.com/Expensify/App/assets/9133401/afb7d6ed-0083-46ee-adac-3ec51af6ae71


Remove broken code in readme files. (python, cpp, c#, java, etc)

Remove broken code
Lots of broken code in the algorithm folder.
Test the code on readme files and remove those that are not working.

Can I be assigned to this issue? Thank you!

@jhuynh06 Sure

The issue is still open as their is lots of broken code.

fork the repository in your local machine and check for codes in readme files. And test the code in a online compiler or local computer if you have that language installed in your machine.  And if a code is not running properly you can do two things if you can fix the error fix it and remove it if you can't and submit a pr.

P.S. I have some knowledge in Python. Some readme files use this correct?

@Technic143 yes

Hello! I corrected: M Colouring Problem\readme.md via PyCharm and pushed this. Can you check did I do it correctly, can you use this?

You have to create a PUll request. @Technic143

I did it in PyCharm, and Pull request was sent to GitHub. Or nevertheless I have to repeat this on GitHub?

sorry, Pull is not Push,,,

I did, correct?

@Technic143 merged.

OK see thanks!

@Technic143 welcome.

Yes. You can fix any typos. Small or big. @Technic143

Hello! Found, that in 0/1 Knapsack Problem chapter Readme file, Python code doesn't work, an error appears. The program is without any comments - this is not easy to check. Is it necessary to find the mistake in the code or maybe find another code in the internet? Or I can try to create own code for the task, what do you think?

@Technic143 you can fix the code any way you want.

OK. I found that the program was created by Nathan Rice and this is at GitHub now. It has this header including some comments (with #) and some data (look below). If to add the data, the program in Readme starts to work.
Should I place both: comments and data or only data?
"""
Author: Nathan Rice
0-1 Knapsack Problem using best first branch and bound method
Returns maxprofit with list storing the index position of the items in the best solution.
The profit is maximized while staying under the weight limit.
This program uses a priority queue to store the nodes ordered by best bound,
the node with the highest bound value is returned when removing from the priority queue.
The best first approach arrives at an optimal solition faster than breadth first search.
"""
#examples
W = 13
i  pi  wi pi/wi
1 $20  2   10
2 $30  5   6
3 $35  7   5
4 $12  3   4
5 $3   1   3
#problem definition
n = 5 #items given
W = 13 # capacity of knapsack
p = [0, 20, 30, 35, 12, 3] # profit of each item (starts with item 0 = $0)
w = [0, 2, 5, 7, 3, 1] # weight of each item
p_per_weight = [0, 10, 6, 5, 4, 3] #price per weight
#example 6.1
items are ordered by price per weight
n = 4
W = 16
p = [40, 30, 50, 10]
w = [2, 5, 10, 5]
p_per_weight = [20, 6, 5, 2]

@Technic143 no problem. Test don't support c#.

Hi i saw that in buble sort it doesnt have an example in c# can add an exmple code ?

@TsiG-404 sure.

Hey there,
I'm intersted in contributing to this issue do let me know how I can help

@adkbbx you can add a new section, update or improve the existing readme.

https://github.com/shhossain/computer_science/pull/770
Updated formatting for Sorting Methods documentation in the readme's. Also fixed some typos and errors I found.


coredns-adopter - poll apiserver to start

Fixes https://github.com/giantswarm/roadmap/issues/1588
This PR:

adds an initContainer to the coredns-adopter to poll for the apiserver being ready and accessible before starting with the adoption

Testing
Description on how cluster-shared can be tested.

[ ] fresh install works

[ ] AWS
[ ] Azure
[ ] KVM

[ ] upgrade from previous version works

[ ] AWS
[ ] Azure
[ ] KVM

Other testing
Description of features to additionally test for cluster-shared installations.

[ ] check reconciliation of existing resources after upgrading
[ ] X still works after upgrade
[ ] Y is installed correctly

Checklist

[x] Update changelog in CHANGELOG.md.
[x] Make sure values.yaml and values.schema.json are valid.

What's the best way to test this before merging?

Create a new PR for cluster-aws that bumps the cluster-shared version to the dev version of this and deploy a new cluster with that.

@fiunchinho just one small change needed but tested and working as expected :)


#2266 metadata menu tab uses old design styles

Description
metadata menu tab is changed according to recovered style sheet
Related Issue :
#2266
How Has This Been Tested?
Check that the metadata menu is well displayed overall
Need additional checks?
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have read the CONTRIBUTING document.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have added tests to cover my changes.

Additional Context

run build
deploy to 1


mailto: link with multiple emails (and potentially a subject) isn't handled correctly

It looks mailto: link with multiple emails (and potentially a subject) might not have been handled correctly,
The links has the following format (I removed the real email addresses for privacy concerns, but if there emails addresses are necessary to recreate this you could check here, it's public):
mailto:user_a@address,user_b@gmail.com,user_c@another.address?subject=someSubjectOfTheEmail

And I got the following error:

[✖] mailto:user_a@address,user_b@gmail.com,user_c@another.address?subject=someSubjectOfTheEmail → Status: 400

I'm not sure if this is an isemail issue though, but I noticed it's no longer maintained:

This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

@DanielYang59

I'm not sure if this is an isemail issue though, but I noticed it's no longer maintained:

See https://github.com/tcort/markdown-link-check/issues/371

Hi Mike,
Thanks for letting me know. I don't know much about the internal working of markdown-link-check  so not sure if I should propagate the issue to actual worker (isemail or node-email-verifier or whatever)

@DanielYang59

Thanks for letting me know. I don't know much about the internal working of markdown-link-check  so not sure if I should propagate the issue to actual worker (isemail or node-email-verifier or whatever)

I'm not familiar with this in-depth, but It's probably an enhancement request for this repo. You can check yourself about the functionality of node-email-verifier, which looks like it only deals with a single e-mail address and not a complete mailto: link with multiple addresses and a subject field.

the code of the email check is here https://github.com/tcort/link-check/blob/3263c3b65917375c209928ca2b1ad4102824da36/lib/proto/mailto.js#L8. It only checks the text between the mailto: and the ? character as a single email. It should try to split the string using the comma separator and loop on each single email found


Added MmapOptions::no_reserve method

Added MmapOptions::no_reserve method to support not to reserve swap space for this mapping. Linux only.

I'd also like to add support for windows, but its API is not designed to be completely transparent, need use VirtualAlloc to commit the pages, any suggestions?
Creating a shared memory block that can grow in size

any suggestions?

I have zero expertise about VirtualAlloc and winapi in general. But I would suggest calling commit implicitly.

any suggestions?

I have zero expertise about VirtualAlloc and winapi in general. But I would suggest calling commit implicitly.

Ok, I guess we need introduce a new Index layer to calling commit implicitly.

I think for feature parity, it would suffice to just commit the whole range during creation on Windows, not lazily during access. This will avoid all the abstractions and indirections into during dereferencing.

I think for feature parity, it would suffice to just commit the whole range during creation on Windows, not lazily during access. This will avoid all the abstractions and indirections into during dereferencing.
Agreed, for most scenarios it's possible to commit all memory at creation time.

However, for some special scenarios, such as the need for a huge sparse array or the need to be able to scale the memory size at runtime, it is not possible to predict exactly how much memory will be needed at creation time.

But since this crate is a portable layer as much as possible, we do not need to support everything the underlying OS do. We can choose a sane common denominator and since we canot avoid increasing the complexity of this crate significantly if we interpret no_reserve to always apply to whole mapping, I think we can relegate these special cases to using the underlying OS API directly.

But since this crate is a portable layer as much as possible, we do not need to support everything the underlying OS do. We can choose a sane common denominator and since we canot avoid increasing the complexity of this crate significantly if we interpret no_reserve to always apply to whole mapping, I think we can relegate these special cases to using the underlying OS API directly.

That's why my https://github.com/RazrFalcon/memmap2-rs/pull/115/commits/9326e4e6a7365e42a86aee09703f0cda526e80ee commit just add a Mmap::commit method for the no_reserve case.
It's okay. If you don't like the feature, I can close the PR.

It's okay. If you don't like the feature, I can close the PR.

I did not say that. I dislike the additional complexity introduced by the third commit. Either requiring explicit action by the caller or implicit commit upon creation are fine in my opinion.


Website generation codes should not be included in pull request.

@TinyAllen
By reviewing this PR, https://github.com/apache/incubator-skywalking-website/pull/9/files . I noticed a very serious issue. Everytime, we asked for contributor to pull requests all generated codes, which makes people very hard to review.
We need the following feature before accepting this pr for long term benefits.

Make sure every time we generated images/htmls/css,  and all of old ones should be deleted. From my local tests, I don't find that. Look like the images become more and more. So is our delete script not right?
Set a jerkins or use some CI somewhere, to generate and push static pages automatically. @JaredTan95 should have direct access to website repo, and you should have an Apache account soon.

New CI script works fine. And apache/incubator-skywalking-website#9  has been merged.
FYI @wu-sheng @TinyAllen


Waiting For Message

How to fix that waiting for message issue

Showing waiting for message i already implemented that function

That function is useless if you don't setup a working store. Make sure you implement a store to store messages and that function or anything similar will pull message from that store. This also won't work for old messages that was send from baileys and not stored previously
Correct me if im wrong. Good luck!

That function is useless if you don't setup a working store. Make sure you implement a store to store messages and that function or anything similar will pull message from that store. This also won't work for old messages that was send from baileys and not stored previously
Correct me if im wrong. Good luck!

Do you have any example to setups a working store

Just check the official example.

Just check the official example.

Got it


Update developer-guidance-speculative-execution.md

Provide location for VS 2015 Update 3 patch that contains support for /Qspectre

@GreatKeeper : Thanks for your contribution! The author, @"mamillmsft", has been notified to review your proposed change.

@corob-msft : Thanks for your contribution! The author, @"mike-blome", has been notified to review your proposed change.

@corob-msft : Thanks for your contribution! The author, @"mikeblome", has been notified to review your proposed change.


Importing ohlife entires in zip file causes error: "Failed to import: 'NoneType' object has no attribute 'strftime'"

Steps:

zip ohlife.txt entries as a zip file
import into mylife, via the "settings" page

Hi, I got the same issue there, but what weird is, the zip file can be uploaded locally, while it doesn't work on appspot.

Ah must be a version difference in the unzipping? or python?
@Scorpkinger go down the list of differences between the local and appspot tech stack and we can narrow down what the cause is

Ok, @Scorpkinger ,  I've added a fix for this now. Please get the latest version of the sourcetest the import again and see if it works this time.

Oh, also, if you just read the original blog post when installing this, please follow the instructions in http://einaregilsson.com/mylife-google-cloud-storage-support/ as well to set up a Google Cloud Storage bucket. That wasn't necessary in the first version, but now it is which makes the whole thing a bit more complicated, which is annoying :/

Thanks a lot, Einar, Everything just works fine now, LOL
On Sun, Jan 3, 2016 at 7:45 AM, Einar Egilsson<EMAIL_ADDRESS>wrote:

Oh, also, if you just read the original blog post when installing this,
please follow the instructions in
http://einaregilsson.com/mylife-google-cloud-storage-support/ as well to
set up a Google Cloud Storage bucket. That wasn't necessary in the first
version, but now it is which makes the whole thing a bit more complicated,
which is annoying :/
—
Reply to this email directly or view it on GitHub
https://github.com/einaregilsson/MyLife/issues/3#issuecomment-168439731.

Ok, great to hear. Closing this issue then :)


Allow iOS12 minimum target

Summary
We would like to switch from our self generated model (using quicktype) to this awesome package.
However we are currently still facing iOS 12, but the changes needed to support the version are only a few.
I decided to provide the community with the patch, and hope it might be appreciated.
If maintaining an older iOS version or crypto fallback hinders future development then I would understand and just keep it in a fork.
What do you think?
Tested scenarios
iOS12 local terminal api

Hi @scriptease ,
Thank you for opening this PR.
We really appreciate the proposed patch. However, backporting the library to iOS 12 is not something we are considering, given that iOS 17 will be out in September, and iOS 12 will be 5 years old at that point.
If I can make a suggestion however, for your own fork, I am not sure the changes you made in the tests are actually testing the iOS 12 API. Unless you explicitly run tests on different iOS versions, only the newer version of the API will be used.
Regards,
Yurii
Adyen

Hi,
thanks for the consideration.
You're correct about the unit tests not being able to run the code in the newest Xcode, but the code change itself is working in production on some iPad mini 2s.
I'll keep my fork around until the last customer switches from iOS12 (hopefully soon).
Kind regards


Add a developer fee to Fair Burn

Allow Fair Burn to take in an optional developer fee percent. This would be deducted from the burn percentage as a way to incentivize third party smart contract developers.

I think this is done right ?


docs: update egs to use distro

Is your feature request related to a problem? Please describe.
Describe the solution you'd like
Describe alternatives you've considered
Additional context

wip here in case it helps: https://github.com/honeycombio/example-greeting-service/tree/vera.switch-python-distro
updated name-service to use the distro, but not seeing telemetry coming from name service :(

Created this issue to look into it https://github.com/honeycombio/honeycomb-opentelemetry-python/issues/109

wip here in case it helps: https://github.com/honeycombio/example-greeting-service/tree/vera.switch-python-distro
updated name-service to use the distro, but not seeing telemetry coming from name service :(

After spending way too much time messing with things, I realized the problem is the FLASK_DEBUG=true in the .flaskenv file. I updated that and the Dockerfile and got that working with the python docker-compose.
Using tilt for some reason isn't letting it hang together properly (at least on my end), and it's missing the service name. So we'll need to figure out if that's a tilt problem somewhere or something else to document?

Using tilt for some reason isn't letting it hang together properly (at least on my end), and it's missing the service name

this is no longer an issue, seems to be related to local caching.


CC2538 flash driver that supports non-volatile setting API

This issue mainly includes the following functions

Flash Driver API (#485)
CC2538 Flash Driver
Posix Flash Driver simulator (#605)
OT Settings implementation

All the functions are implemented in PR #428 .
I closed it and would submit 4 separate PRs for each function of this issue.
It may be easier for code review.

Resolves by #775.


[staging-next] rhash: fix build on darwin

Clang requires upstream patch to fix configure script
We're in crunch time for the 21.11 release and this causes lots of rebuilds,
so the patch is applied conditionally to give Hydra a break. After it
gets auto-merged into staging, I'll do a followup PR to make it
unconditional.

Motivation for this change
https://github.com/NixOS/nixpkgs/pull/146259
Things done

Built on platform(s)

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

Hydra is pretty bored, darwin wise

Yes, which works out great here since afaict it's linux that's under the most build pressure :)


Question about Step1 and Step2 being separated steps.

Hi thank you for this interesting work!
The paper mentions that MAGPIE is a 2-stage pipeline (step1 is instruction generation and step2 is response generation). How is it different to the strategy where Step1 and 2 are unified in one pass? Since LLM is auto regressive, wouldn't the model generate instruction and response altogether?

Hey Xinya, thanks for the question! yeah, you're right, technically you generate query 1, response 1, query 2, response 2 all in the same inference (by setting specific stopping criteria).  We choose to use multiple stages to collect them step by step so that we can have more control:

we'll need to remove some duplicate queries and queries that are noisy/too easy (see our paper for details). Noisy queries may not end properly with the correct <|eot_id|> so we need to post-process them.
we'll need to adjust temperature for sampling query/responses. we find using a high temp for sampling queries is better and lower temp for sampling responses.
also we use API-like inference engine for some inference which would be more efficient for us to monitor the progress by splitting the data collection stages.

That makes sense. Thank you for such a quick reply!


Node problem in glitch website please help us by giving one time solution on glitch website support please

Is this template will not work in glitch

I don't use glitch, I don't know how it work and why it won't work


0.12 dev

Warnings

:warning:
These new JS files do not have Flow enabled: html5/render/vue/components/slider/slider-neighbor.js, html5/test/render/vue/core/node.js, html5/test/render/vue/helper/main.js, html5/test/render/vue/helper/mixin/done.js, html5/test/render/vue/helper/mixin/index.js, html5/test/render/vue/utils/component.js

  Generated by :no_entry_sign: dangerJS

          1 Message

:book:
Executed 53 tests, with 0 failures (0 unexpected) in 49.341 (49.425) seconds

  Generated by :no_entry_sign: danger


Modify ClipTime to adjust the datetime to local time before clipping

Fixes #557
In some cases (depending on the current time and time zone), the calculation of the difference between two dates was based on the previous or next day of the selected one.
To fix this issue, we need to "convert" FromDate and ToDate to local time (because CalendarDatePicker uses local time to generate the datetime) before clipping the time.
This PR will make sure that FromDate and ToDate are correctly set and really match what the user selected.
Description of the changes:

Modify ClipTime and add an extra parameter to "convert" the current UTC FILETIME to Local FILETIME prior to clipping the time.

How changes were validated:

Manually tested with different time zones, date and time.

m_dateResult = today;

I like your fix in that it will make debugging issues easier overall.  Does it make sense to use local times for addition and subtraction of dates as well?  I kind of go back and forth on this, as it might not because that math is easier to wrap my head around (in my mind at least).

Refers to: src/CalcViewModel/DateCalculatorViewModel.cpp:67 in 1e17d32. [](commit_id = 1e17d32fa6925a1642c5271dc38c599724253255, deletion_comment = False)

m_dateResult = today;

I like your fix in that it will make debugging issues easier overall. Does it make sense to use local times for addition and subtraction of dates as well? I kind of go back and forth on this, as it might not because that math is easier to wrap my head around (in my mind at least).
Refers to: src/CalcViewModel/DateCalculatorViewModel.cpp:67 in 1e17d32. [](commit_id = 1e17d32, deletion_comment = False)

The calculation must use UTC because of DTS (see this old issue: https://github.com/microsoft/calculator/issues/268)


byte b3 = 1; byte b4 = -b3;  //should not compile

The following code should not compile:
> cat t9.java
public class t9 {
public static void main(java.lang.String[] $0s)
{
setStrictJava(true);
byte b2 = 128;  //should not
compile
byte b1 = -b2;  //should not
compile
System.out.println("b1 = "+b1+"
b2 = "+b2);
byte b3 = 1;
byte b4 = -b3;  //should not
compile
System.out.println("b3 = "+b3+"
b4 = "+b4);
return;
}
}
Process cat exited with code 0
Which it does not:
> javac t9.java
t9.java:3: cannot find symbol
symbol  : method setStrictJava(boolean)
location: class t9
setStrictJava(true);
^
t9.java:4: possible loss of precision
found   : int
required: byte
byte b2 = 128;  //should not
compile
^
t9.java:5: possible loss of precision
found   : int
required: byte
byte b1 = -b2;  //should not
compile
^
t9.java:8: possible loss of precision
found   : int
required: byte
byte b4 = -b3;  //should not
compile
^
4 errors
Process javac exited with code 1
But BeanShell runs it with interesting results:
> java -classpath ../bsh-2.0b5.jar bsh.Interpreter t9.java
b1 = -128 b2 = -128
b3 = 1 b4 = -1
Process java exited with code 0
Reported by: nigel_galloway
Original Ticket: "beanshell/bugs/226":https://sourceforge.net/p/beanshell/bugs/226

Closed duplicate #365


Crash while entering a value with an "dot" thousand seperator

Steps to reproduce the behaviour

Use a localized version (e.g. german language)
Doubleclick on any account to open it
Enter "1500" for decrease ("Abnahme" in german) and save
Copy this value here "5.531,25" (without quotes)
Doubleclick on the 1500 in GnuCash, so that "1.500,00" is selected
Press CTRL-V to paste the previous copied value

Crash

Expected behaviour
"1.500,00"  gets replaced with "5.531,25"
Actual behaviour
Crash
Software specifications
GnuCash 4.2 (portable)
Windows10

https://bugs.gnucash.org/show_bug.cgi?id=797999


Question: Is new state type checked?

Hi, great library. I just have a general question which I didn't understand from the readme. I'm talking specifically about the Standard Reducer approach.
I understand that type checking is applied when dispatching actions. But what about the state returned by a reducer? If yes, I'm assuming type checking is applied to the entire state tree? Which seems expensive if you've only just updated 1 element in an array..
Thanks

Hi,

Which seems expensive

Type checking will run only in development:
https://github.com/gcanti/redux-tcomb/blob/master/lib/getCheckedReducer.js#L14

Thanks @gcanti
Ok got it. Type checks are applied to state returned by reducers, but only during a dev build. That's great thanks.


File zipper

Its a file zipper means it can encode and decode using Huffman Encoding
But as of now it can encode and decode only the .txt files

@Rizwan-S  Sir,kindly assign me this issue .I am a particiapnt of LGMSOC-21


Remove Rule during policy editing not working

During policy editing, you select the "Remove Rule" and the rule is removed from the GUI and the file is saved, but looking at the XML the rule is not removed.

Can you please share examples of rules that are not removed from your XML

This seems to go hand in hand with the issue "Policy XML file retains previously removed file rules"
Removing any rule type from an existing XML file is not removed from the new version created, but instead is removed from the previous version.
As example you would edit Base_v<IP_ADDRESS>.xml and remove rules and the tool creates a new file Base_v<IP_ADDRESS>.xml.
File Base_v<IP_ADDRESS>.xml still has the removed rules within the xml, but Base_v<IP_ADDRESS>.xml will not have the rules.

Duplicate of #296


1.20.1 DEV Version Shop out of range

Expected behavior
I expect /ts addProduct and /ts setProduct etc to work when looking at a sign with [trade]
Observed/Actual behavior
It says No Shop in range, regardless of permissions or how close I am to the chest
On stable TradeShop it works as expected, so this is something that broke in the DEV build.
Steps/models to reproduce

Place a chest
Put a sign on said chest
Type [Trade]

The sign then turns red and says Trade in red.

type /ts AddProduct while holding an item you want to sell

Then you get the error
Plugin list
AutoMessage, BetterMessages, BlockProt, CoreProtect, CustomBansPlus, Deathpos, emotecraft, GrimAC, HackedServer, InvSeePlusPlus InvSeePlusPlus_Clear, InvSeePlusPlus_Give, JetsAntiAFKPro, JoinSounds, LPC, LuckPerms, Multiverse-Core, Multiverse-Inventories, NoMobGriefing, Orebfuscator PhantomSMP, PlaceholderAPI, ProtocolLib, *SimpleSit, spark, TradeShop, voicechat, WorldEdit, WorldGuard
TradeShop version and Minecraft version (CraftBukkit/Spigot/Paper/...)
Purpurmc 2015 (latest)
#187 on origin/2.6.1-RC [383c2a]
Agreements

[X] I have searched for and ensured there isn't already an open issue regarding this.
[X] My version of Minecraft and TradeShop are supported by the TradeShop Dev Team (when in doubt, first ask on the Discord).

Other
No response

This is resolved in #188 :)