Prototype topic generation using gpt-3.5-turbo-16k

Description
This PR adds a topicgenerator program that generates topics using OpenAI's GPT-3.5-turbo-16k AI model. The program uses the Chat Completions API to ask the AI model to summarize the contents of the main descriptor file. Unfortunately, we can't send everything because the AI model has a token limit. The gpt-3.5-turbo-16k model has a limit of 16,385 tokens. You can see the limits of the various models here.
I chose to use gpt-3.5-turbo-16k over gpt-3.5-turbo and gpt-4 because it has a greater token limit. gpt-3.5-turbo has a limit of 4,097 tokens and gpt-4 has a limit of 8,192 tokens. I also chose gpt-3.5-turbo-16k over the more powerful gpt-4 because it's faster, has a higher rate limit, and cheaper (can see pricing per token here). In my experimentation, gpt-4 was much slower, and it kept running into time-outs.
For the purposes of the prototype, this program takes in a CSV file that contains the TRS ID and version name of the entries to generate topics for. When we want to run through all the entries, we'll have to modify this program, but for now, I think this is okay while we evaluate the topics that it generates.
The program outputs a CSV file containing the AI topics, as well as other information like the number of tokens used, whether or not the descriptor file was truncated, etc.
Results
I ran this program on 23 entries, specified in the entries.csv file. I selected the most starred workflows, some of Ash's workflows, a notebook, and a tool. Feel free to suggest more workflows to add! The results are in the results directory.
I did add a CSV file of topics generated using GPT4 so people can compare the topics from GPT 3.5-turbo and GPT 4. Note how not every entry in entries.csv has a corresponding row in the GPT4 CSV file. This is because the request timed out. It also took much longer to run.
The program as is in the PR does not use GPT4, but the PR can easily be modified to do so. What do others think about GPT 3.5 vs GPT 4? IMO, I think GPT 3.5 does just fine for our purpose, but I'm not a workflow developer :slightly_smiling_face:
Review Instructions
Not sure if reviewable by others unless they have an OpenAI API key.
Issue
SEAB-5907
Security
If there are any concerns that require extra attention from the security team, highlight them here.
Please make sure that you've checked the following before submitting your pull request. Thanks!

[x] Check that you pass the basic style checks and unit tests by running mvn clean install in the project that you have modified (until https://ucsc-cgl.atlassian.net/browse/SEAB-5300 adds multi-module support properly)
[x] Ensure that the PR targets the correct branch. Check the milestone or fix version of the ticket.
[x] If you are changing dependencies, check with dependabot to ensure you are not introducing new high/critical vulnerabilities
[x] If this PR is for a user-facing feature, create and link a documentation ticket for this feature (usually in the same milestone as the linked issue). Style points if you create a documentation PR directly and link that instead.

This is cool!  Some random thoughts:

The cost is linear with the number of tokens, and, in this case, we submit a relatively large query Q, composed of our ask A and the primary descriptor source S, and the ai responds with a short response R.  If that's true, and |Q| >> |A| + |R|, we could make additional asks with short responses for very small incremental cost.  Some ideas for additional asks:

"Make that shorter." (to get below 140 chars)
"Make that more technical." / "Rephrase that for the layperson."
"Convert that to a verb phrase." (to eliminate the "This workflow does" prefix)
"Generate a list of search keywords."
"What data formats does it use?"
"Who are the authors?"
"What institution(s) are they with?"
Even if we don't anticipate immediately using the results, the extra questions are almost free.  We could warehouse them for possible later use...

Would be interesting to see how well it condenses a description into a topic sentence, both with and without the accompanying primary descriptor source.
Potentially, could condense the input to save cost.  For example, we could filter the images from the notebook json.  Might even be able to use a much faster, cheaper "assistant" model to preprocess the input...

I like the GPT-3.5 topic sentences a little better but I'm not sure why.

This is cool! Some random thoughts:

(None of this needs to happen in this PR).

Another idea; we'll probably regenerate/refresh this information someday, so it might make sense to have a mechanism to tell if the input has changed, so we can skip the unchanged entries (if it makes sense).  Maybe store a hash of the input (in this case, the primary descriptor) in the output?

1. Per my [limited] understanding, the cost is linear with the number of tokens, and, in this case, we submit a relatively large query, composed of our ask A and the primary descriptor source S, and the ai responds with a response R.  If that's true, and |S| >> |A| + |R|, we could make additional short asks with short responses for very small incremental cost.  Some ideas for additional asks:

* "Make that shorter." (to get below 140 chars)

* "Make that more technical." / "Rephrase that for the layperson."

* "Convert that to a verb phrase." (to eliminate the "This workflow does" prefix)

* "Generate a list of search keywords."

* "What data formats does it use?"

* "Who are the authors?"

* "What institution(s) are they with?"
  Even if we don't anticipate immediately using the results, the extra asks are almost free.  We could warehouse them for possible later use...

The extra asks are not quite free. In order to do extra asks, we have to send the entirety of the previous conversation, including the initial "Summarize this workflow" ask and its response, which chews into the context limit for the extra asks. One way to get around that is to summarize the previous conversation then submit the extra ask, but I think this is something we can do in a follow-up ticket if we want to go down this route.

Updated the request so that the sentence starts with a verb and re-generated the GPT-3.5-turbo topics. Removed the GPT-4 topic results because it seems like we're okay with GPT-3.5-turbo

1. Per my [limited] understanding, the cost is linear with the number of tokens, and, in this case, we submit a relatively large query, composed of our ask A and the primary descriptor source S, and the ai responds with a response R.  If that's true, and |S| >> |A| + |R|, we could make additional short asks with short responses for very small incremental cost.  Some ideas for additional asks:

* "Make that shorter." (to get below 140 chars)

* "Make that more technical." / "Rephrase that for the layperson."

* "Convert that to a verb phrase." (to eliminate the "This workflow does" prefix)

* "Generate a list of search keywords."

* "What data formats does it use?"

* "Who are the authors?"

* "What institution(s) are they with?"
  Even if we don't anticipate immediately using the results, the extra asks are almost free.  We could warehouse them for possible later use...

The extra asks are not quite free. In order to do extra asks, we have to send the entirety of the previous conversation, including the initial "Summarize this workflow" ask and its response, which chews into the context limit for the extra asks. One way to get around that is to summarize the previous conversation then submit the extra ask, but I think this is something we can do in a follow-up ticket if we want to go down this route.

Bummer, this news makes me frowny (not at you, Kathy, at the API).  Seems unfair to get billed over and over again for repeated input tokens that represent the "current session" state, we already paid for them.  Oh well.
If we did ever want to submit multiple asks, another approach might be to submit all the asks in the same prompt, something like:
Given the following information, do A, B, C, and D, and separate each result by X.


How to specify target cols in M task with custom data?

Hello, I want to set several cols of inputs as my target cols, How should I set param "target" in train.sh?
besides, when I remove "target" in train sh, it will got an error because of code below:
https://github.com/thuml/Time-Series-Library/blob/b9c6f4c486b339eca185f52da1b913eb8ef48d80/data_provider/data_loader.py#L233-L235

Hi, if you use the 'M' setting, all the cols will be the targets.
The OT col will only be meanfuling when you adopt the 'S' and 'MS' setting.


Tribal partners login

Dr. Fisher reported that logging in with the tribalpartners username on Safari, the data in browse didn't load. I can't reproduce this, and tested on both dev and prod.
However, in testing, I noticed that the tribalpartners login only works on the browse_login form, not the login_form page. The non-Shib login there just fails silently with no error message.
I can't fix this using my local because logging in with the tribalpartners username on either login form locally doesn't work; on browse_login, I get the error message "Problem: based on your login, it appears you're not authorized to use this database-browser. If you believe you should be able to login to this system, please contact someone at this https://indigenousslavery.org/people/ web-page for assistance." which is at least correct failure behavior (nts: language there needs improvement), and have the same silent failure on login_form.

according to Birkin:

the tribal-partners login was not meant for the data-entry-form /login/ screen (that shows shib and non-shib login options -- so it should fail there. The goal was to have folk be able to log into the browse/exp.search area and not be able to edit stuff.

So my current understanding of this bug:

the partner login should work locally on browse_login
the partner login should trigger the manual_login_error message on login_form

From Feb 24...

... I can't fix this using my local because logging in with the tribalpartners username on either login form locally doesn't work ...

@elizabethyalkut Depending on how you're running locally, you can use these credentials.

So my current understanding of this bug:

the partner login should work locally on browse_login
the partner login should trigger the manual_login_error message on login_form

@elizabethyalkut Correct to both.

@elizabethyalkut -- It's not clear to me if the tribal-partner login really wasn't working for Lin -- or that he was confused because the data-entry-form login-button (that takes you to the shib/manual-login page) appears in the header of the browse-page -- and it didn't used to appear on the browse-page.
(see the SR authentication google-doc for the screenshots of how the browse page used to look -- or try git checkout da922fba29c7268095b8229c9c748849d4458ca0)
So maybe he clicked that login link, went to the data-entry-form login-page, and tried to enter the tribal-partner credentials into the manual-login form, which would fail.

From Feb 24...

... I can't fix this using my local because logging in with the tribalpartners username on either login form locally doesn't work ...

@elizabethyalkut Depending on how you're running locally, you can use these credentials.

Thank you, that was the info I needed!

So maybe he clicked that login link, went to the data-entry-form login-page, and tried to enter the tribal-partner credentials into the manual-login form, which would fail.

I suspect that's what happened. I am working on making this more comprehensible, now I have a better understanding of the authentication model.

Addressed in commit e8631fcbb58e54f0ca3b3d7a21cd039369789024


Fix failling test: TestExtraction.testRandom3()

The issue is related to encoding a file which contains the following: 0x00 0x33 which gets incorrectly encoded as

\03 (NULL character then printable 3).

However, the correct encoding should be one of the following:

\0003 (octal, printable 3)
\0\x33 (NULL, HEX)
\0\or \0\063


Release built for windows server 2012 failing to pass parameters to ErlSrv

I've got a little api web server (iz_client) that I need to deploy to windows server 2012 and am having a bit of trouble figuring out why it's failing to run as a service. The app is a bare bones phoenix app with HTTPoison being the only other dependency (exrm 1.0.6). I was able to successfully build a release and can run it from inside the phoenix directory with:
.\rel\iz_client\bin\iz_client console

In addition, I can install the service just fine with:
.\rel\iz_client\bin\iz_client install

However, I initially was unable to get the following command to work after the install:
.\rel\iz_client\bin\iz_client start

The windows event logs were saying that the process had unexpectedly quit and the reason was that not enough parameters had been passed to ErlSrv. I then dug around in the generated release code and made the following change on line 208 of iz_client.bat to get the start command working:
:: Start the Windows service
:start
@call :generate_config
@%erlsrv% start \"%service_name%\" <- This is my change, I had to escape the quotes
@goto :eof

Once the start command started working in powershell I opened up the services manager to configure the installed service and starting the service resulted in the same error as when I initially tried the powershell start command (not enough parameters passed to ErlSrv). This led me to believe that the service had been installed incorrectly. I then started looking at the install command and discovered that none of the variables were being set so that ErlSrv was adding a service with no arguments (resulting in the not enough parameters error). Here is the code from line 181-193 in the iz_client.bat file. I tried to echo a variable to confirm my suspicions and discovered that nothing is output for the %description% variable.
:install
@if "" == "%2" (
  :: Install the service
  set args=%erl_opts% %conform_opts% -setcookie %cookie% ++ -rootdir \"%rootdir%\"
  set svc_machine=%erts_dir%\bin\start_erl.exe
  set description=Erlang node %node_name% in %rootdir%
  echo %description% test
  %erlsrv% add %service_name% %node_type% "%node_name%" -c "%description%" ^
            -w "%rootdir%" -m "%svc_machine%" -args "%args%" ^
            -stopaction "init:stop()."
) else (

This is my first time dealing with a batch file so I'm not sure why these variables are not being set. If this is a known issue and there is an easy solution (seems like this may be the case) I'd really appreciate any help you can offer. Please let me know if you need more info.

For anyone who run into the same problem, simply replace the install block with https://github.com/erlware/relx/blob/master/priv/templates/extended_bin_windows#L142-L157


chore: replace shebang with shellcheck :art:

Description
This commit replaces every shebang directive with shellcheck.
Motivation and Context
Fixes #2202
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] My code follows the code style of this project.
[x] I have read the CONTRIBUTING document.

@robertoschiavone Thanks for your contribution. This effort to uplift shellcheck was decided to be too large, so instead we ask contributors to only uplift sections of the code they are also otherwise improving. To support this on-going effort, we have a clean_files.txt to track which should be linted. You can read more about that here.


Remove not needed dependency

This is either cleanup or just silly question which arise when I play with #1239.
It seems that assemblySource task is added two times. I not that familiar with Gradle, but for me that seems as duplication, just using different syntax.

/cc @ryanmkurtz

You are probably right.  Let me just test your change as a sanity check and then i'll accept it.


Get Cropper Canvas Bug

After I clicked destroy button, and click the get cropper canvas button. Image become blank.

I have fixed this. Thank you!


[MLIR][DISC] pattern conversion from tf2mhlo: ConvertPadOpDynamic and ConvertGatherNdOpDynamic

We are porting our MLIR-based dynamic shape compiler to tf community (From OP def, Patttern, to Optimization pass, etc).
This is the first PR about tf2mhlo pattern conversion, which including ConvertPadOpStaticDynamic and ConvertGatherNdOpStaticDynamic.
The rest pattern conversions we will add:

ConvertConvOpxxx
ConvertGatherV2Opxxx
ConvertRangeOpxxx
ConvertSigmoidOpxxx
ConvertSliceOpxxx
ConvertSplitOpxxx
ConvertSqueezeOpxxx
ConvertStridedSliceOpxxx
ConvertTileOpxxx
ConvertUnpackOpxxx
ConvertPrintOp
ConvertSigmoidGradOpxxx
ConvertSignOpxxx

Previous discussions：RFC, discussion_1, Recording of meeting.

We see internal test failures, looking like:
google3.third_party.tensorflow.python.framework.errors_impl.UnknownError: 2 root error(s) found.
  (0) Unknown: <unknown>:0: error: loc("depthwise/SpaceToBatchND"): 'mhlo.dynamic_pad' op can't be translated to XLA HLO
<unknown>:0: note: loc("depthwise/SpaceToBatchND"): see current operation: %7 = "mhlo.dynamic_pad"(%arg0, %1, %5, %6, %0) : (tensor<4x6x6x48xf32>, tensor<f32>, tensor<4xi64>, tensor<4xi64>, tensor<4xi64>) -> tensor<4x6x6x48xf32>

	 [[{{node depthwise/SpaceToBatchND}}]]
  (1) Unknown: <unknown>:0: error: loc("depthwise/SpaceToBatchND"): 'mhlo.dynamic_pad' op can't be translated to XLA HLO
<unknown>:0: note: loc("depthwise/SpaceToBatchND"): see current operation: %7 = "mhlo.dynamic_pad"(%arg0, %1, %5, %6, %0) : (tensor<4x6x6x48xf32>, tensor<f32>, tensor<4xi64>, tensor<4xi64>, tensor<4xi64>) -> tensor<4x6x6x48xf32>

	 [[{{node depthwise/SpaceToBatchND}}]]
	 [[depthwise/BatchToSpaceND/_9]]
0 successful operations.

I can get more information out of these tests tomorrow I think, let me know!

We see internal test failures, looking like:
google3.third_party.tensorflow.python.framework.errors_impl.UnknownError: 2 root error(s) found.
  (0) Unknown: <unknown>:0: error: loc("depthwise/SpaceToBatchND"): 'mhlo.dynamic_pad' op can't be translated to XLA HLO
<unknown>:0: note: loc("depthwise/SpaceToBatchND"): see current operation: %7 = "mhlo.dynamic_pad"(%arg0, %1, %5, %6, %0) : (tensor<4x6x6x48xf32>, tensor<f32>, tensor<4xi64>, tensor<4xi64>, tensor<4xi64>) -> tensor<4x6x6x48xf32>

	 [[{{node depthwise/SpaceToBatchND}}]]
  (1) Unknown: <unknown>:0: error: loc("depthwise/SpaceToBatchND"): 'mhlo.dynamic_pad' op can't be translated to XLA HLO
<unknown>:0: note: loc("depthwise/SpaceToBatchND"): see current operation: %7 = "mhlo.dynamic_pad"(%arg0, %1, %5, %6, %0) : (tensor<4x6x6x48xf32>, tensor<f32>, tensor<4xi64>, tensor<4xi64>, tensor<4xi64>) -> tensor<4x6x6x48xf32>

	 [[{{node depthwise/SpaceToBatchND}}]]
	 [[depthwise/BatchToSpaceND/_9]]
0 successful operations.

I can get more information out of these tests tomorrow I think, let me know!

Fixed. We expected if paddings is a variable, tf.pad should become mhlo.dynamic_pad. But as we haven't implemented downstream logic, this transform breaks the test.

This was merged


Error. Redirects to relative path in the actions are not working, the are made absolute

What version of Remix are you using?
1.5.1
Steps to Reproduce

Create a nested route with a button that calls the action. For instance /admin/login
In the action do a redirect with a relative path, for instance export const action = async () => redirect("relative");
The redirection is made to "/relative" instead of to /admin/relative or /admin/login/relative

import type { ActionFunction } from "@remix-run/node";
import { redirect } from "@remix-run/node";
import { Form, Link } from "@remix-run/react";

export const action: ActionFunction = async ({ request }) => {
  return redirect("relative");
};

export default function ExamplePage() {
  return (
    <>
      <Link to="relative">Go to relative with Link</Link>
      <Form method="post">
        <button type="submit">Go to relative with Action</button>
      </Form>
    </>
  );
}

Expected Behavior
The redirections in an action to a relative path are made relative and not absolute.

Actual Behavior
The redirections in an action to a relative path are made absolute.

A typical use case is the /notes/new action, redirecting to the note page after creating the new one. redirect(note.id). Using the relative way, the notes "module/folder" doesn't need to know its position in the whole tree.

I found this related issue: https://github.com/remix-run/remix/issues/91

Would you mind opening a PR with a failing test case? https://github.com/remix-run/remix/blob/dev/integration/bug-report-test.ts

Created

CI ran and it's failing, perfect 👌🏼
Closing this issue in favor of the bug-PR


Improve Plugins Developer Experience

[ ] Update stablestudio-plugin README
[ ] Make plugins installable via GitHub URL
[ ] Make sure hot-reloading works out-of-the-box


Failed to colcon build xarm_controller

Hi friends. When I tried to colcon build xarm in step 4.5, I encountered following issue, it seems that I don't have the hpp file named "hardware_interface/types/hardware_interface_status_values.hpp", which led to fail to build xarm_controller.
Terminal information:
walt@WaltUbuntu:~/dev_ws$ colcon build
Starting >>> xarm_description
Starting >>> xarm_msgs
Starting >>> xarm_sdk
Finished <<< xarm_description [2.88s]
Finished <<< xarm_sdk [5.10s]
Finished <<< xarm_msgs [34.1s]
Starting >>> xarm_api
Finished <<< xarm_api [24.0s]
Starting >>> xarm_controller
stderr: xarm_controller
In file included from /home/walt/dev_ws/src/xarm_ros2/xarm_controller/src/hardware/uf_robot_fake_system_hardware.cpp:9:
/home/walt/dev_ws/src/xarm_ros2/xarm_controller/include/xarm_controller/hardware/uf_robot_fake_system_hardware.h:21:10: fatal error: hardware_interface/types/hardware_interface_status_values.hpp: No such file or directory
21 | #include "hardware_interface/types/hardware_interface_status_values.hpp"
|          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/walt/dev_ws/src/xarm_ros2/xarm_controller/src/hardware/uf_robot_system_hardware.cpp:9:
/home/walt/dev_ws/src/xarm_ros2/xarm_controller/include/xarm_controller/hardware/uf_robot_system_hardware.h:21:10: fatal error: hardware_interface/types/hardware_interface_status_values.hpp: No such file or directory
21 | #include "hardware_interface/types/hardware_interface_status_values.hpp"
|          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
compilation terminated.
gmake[2]: *** [CMakeFiles/uf_robot_hardware.dir/build.make:76: CMakeFiles/uf_robot_hardware.dir/src/hardware/uf_robot_system_hardware.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: *** [CMakeFiles/uf_robot_hardware.dir/build.make:90: CMakeFiles/uf_robot_hardware.dir/src/hardware/uf_robot_fake_system_hardware.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/uf_robot_hardware.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
Failed   <<< xarm_controller [4.85s, exited with code 2]
Summary: 4 packages finished [1min 3s]
1 package failed: xarm_controller
1 package had stderr output: xarm_controller
4 packages not processed

I'm using Ubuntu 22 and Ros2 Humble

Hi, @Jinzhou511
ros2 humble please switch to humble branch


P2P and Get seeds backgrounds added

🗃 Github Issue Or Explanation for this PR. (What is it supposed to do and Why is needed)
No issue
✅ Checklist

[x] Github issue details are up to date for people to QA.
[x] I have tested all my changes.

🕵♂ Notes for Code Reviewer
Just logic and assets for those cards.
🙈 Screenshots

👯♀ Paired with
"nobody"

On Iphone 13, will double check on android

same thing happens on pixel 5

On Iphone 13, will double check on android

same thing happens on pixel 5

Could you tell what is the issue I don't see the difference 🧐

On Iphone 13, will double check on android

same thing happens on pixel 5

Could you tell what is the issue I don't see the difference 🧐

The bottom right leafs is not in the corner. Creo q tiene q estar pegada ah la derecha.

On Iphone 13, will double check on android

same thing happens on pixel 5

Could you tell what is the issue I don't see the difference 🧐

The bottom right leafs is not in the corner. Creo q tiene q estar pegada ah la derecha.

I think is easier if they get separated into two pngs

I think is easier if they get separated into two pngs

I see you are absolutely righ


Date is completely off

Inside the workspace container, the date is completely off.
running the date cmd returns Sat Apr 25 01:53:38 UTC 2020
As of this writing, the correct date is Fri May 1 02:00 UTC 2020
I've tried bringing the containers down and restarting, but the problem persists.
How can I have my workspace container date the say as my local system time?

seems to be with docker desktop, rather than laradock


feat: Convert predicate to arrow filter and push down to parquet reader

This implements the feature of row filtering when reading Parquet files in Iceberg scan. It is achieved by converting predicates into Parquet Arrow filter which is used to filter rows during reading in Parquet reader.
This implements AlwaysTrue, AlwaysFalse, And, Or, Not, Binary, partial Unary predicates. Unimplemented predicates (some Unary and Set predicates) are because no existing kernels to be used in arrow. I'll implement them in following works.
close #265

cc @viirya Is this ready for review or you still need to do more update?

@liurenjie1024 It is ready for review. I will fix the conflicts.

I've addressed some of above reviews. I will resolve other reviews soon. Thanks.

@liurenjie1024 Thanks for review. Sorry for late. I addressed the comments by rewriting the visitors using the new API. I replied with another questions.

@liurenjie1024 I've addressed your comments. Please take a look when you can. Thanks.

Thanks @liurenjie1024. I just resolved the conflicts.

Thanks @liurenjie1024 for your review!


MessageProperties setDelay maximum value problem

Integer maximum value<PHONE_NUMBER>
but the maximum value for rabbitmq-delayed-message-exchange is (2^32)-1=4294967295
Is it a bug or a feature?
https://github.com/spring-projects/spring-amqp/blob/7c945986f82329d6adc23ce8c9b7483ea0301145/spring-amqp/src/main/java/org/springframework/amqp/core/MessageProperties.java#L454

So, you idea is to let this header to be set to that<PHONE_NUMBER> as maximum?
Since the Integer cannot be more than<PHONE_NUMBER>, we probably need to change it to the Long and validate respectively.
Is that what you think?
Thanks

Yeah, I think that's right.
But would it be better to change it to Longor add a method like setDelayLong?
My English is not good, Sorry.

Yes, setDelayLong() is good compromise for the current version.
We may mark the integer one as @Deprecated and will consider to remove it in the next version.
Please, consider to contribute such a fix: https://github.com/spring-projects/spring-amqp/blob/main/CONTRIBUTING.adoc


The problem of MonthlyDOWTrigger

When I try to create a MonthlyDOWTrigger, I find that I can just leave the "weeks" control empty, when I click OK and everything looks good, and but if I try to save the task, it is an exception show: "(79,8):Weeks:"
Maybe just forget to check the value of "weeks" when click OK.
Originally posted: 2016-05-10T02:43:06

Maybe because forget to assign true to monthlyOnWeekDropDown.RequireAtLeastOneCheckedItem in Microsoft.Win32.TaskScheduler.UIComponents.MonthlyTriggerUI.
Hope it will be helpful
Originally posted: 2016-05-10T19:32:06

That was it. Fixed in 2.5.20
Originally posted: 2016-05-13T17:23:37


Better debugging tools for powerbi desktop

Firstly sorry if this is the wrong place to post this. But here goes.
Is it possible to somehow attach a javascript debugger to powerbi desktop? Currently it is a royal pain in the ... to figure out errors in custom visuals that only come up in the PowerBI Desktop client.
I have posted a similar question over at the powerbi community (https://community.powerbi.com/t5/Developer/Debugging-custom-visual-PowerBI-desktop-errors/m-p/43029), but I'm sure you have some internal way of testing powerbi desktop, which to me looks to be using chromium embedded so maybe there some remote way to connect to the browser running inside of powerbi desktop.

@sjkp As i know, we don't have any way to attach a remote debugger to Power BI Desktop for now.

@ignatvilesov is it something that is planned? Or at least better error messages while we wait.


UI is Chinese

Hello @wood3n.
Ok having the docs in Chinese I can translate them. But why hardcoding values in the library?

Can you make it so that users of your library can at least define their text, placeholders etc.?
Thank you

@HighLiuk Hi, thanks for your feedback, but I was so busy recently, I plan to give this component a props like locales to implement this feature. Maybe I'll have it done by next week.


Explicit lifecycle for HealthChecksRegistry

The HikariConnectionsHealthCheck seems to permanently hold connections and prevent the data source from cleaning up.
Below,  is a demonstration.
import arrow.continuations.SuspendApp
import arrow.core.Either
import arrow.fx.coroutines.closeable
import arrow.fx.coroutines.continuations.ResourceScope
import arrow.fx.coroutines.resourceScope
import com.sksamuel.cohort.HealthCheckRegistry
import com.sksamuel.cohort.hikari.HikariConnectionsHealthCheck
import com.zaxxer.hikari.HikariConfig
import com.zaxxer.hikari.HikariDataSource
import kotlinx.coroutines.Dispatchers
import kotlin.system.exitProcess
import kotlin.time.DurationUnit
import kotlin.time.toDuration

data class Services(val hikariDataSource: HikariDataSource)

fun createHikariDS(): HikariDataSource =
    HikariConfig().apply {
        jdbcUrl = "jdbc:h2:mem:kjs;DB_CLOSE_DELAY=-1"
        username = "sa"
        password = ""
        maximumPoolSize = 1
    }.let { HikariDataSource(it) }

// Makes all the components into resources and bundles them up.
suspend fun ResourceScope.createServices(dataSource: HikariDataSource): Services =
    Services(
        hikariDataSource = closeable { dataSource }
    )

fun createHealthChecks(ds: HikariDataSource): HealthCheckRegistry =
    HealthCheckRegistry(Dispatchers.Default) {
        register(HikariConnectionsHealthCheck(ds, 1), 5.toDuration(DurationUnit.SECONDS))
    }

fun main() {
    val dataSource = createHikariDS()
    // This causes the server to not exit because it holds a connection on the dataSource.
    val registry = createHealthChecks(dataSource)
    SuspendApp {
        resourceScope {
            Either.catch {
                createServices(dataSource)
                require(false) { "So, does it close?" }
            }.onLeft {
                println("Fatal exception in server: ${it.message}")
            }
        }
    }
    println("DONE")
    // HealthChecks holds a DB connection, which hangs the process.
//    exitProcess(0)
}

This health check simply uses ds.hikariPoolMXBean.totalConnections from a HikariDataSource.
Maybe you need to call .close() on the source when you're finished and want to shut down.

It does call close on the Hikari CP.  You can see it in the debugger.
Nevertheless, the CP does not close.
On Sat, Jun 10, 2023 at 5:15 PM Sam @.***> wrote:

This health check simply uses ds.hikariPoolMXBean.totalConnections from a
HikariDataSource.
Maybe you need to call .close() on the source when you're finished and
want to shut down.
—
Reply to this email directly, view it on GitHub
https://github.com/sksamuel/cohort/issues/41#issuecomment-1585869787,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALGGT3EIG4IILQKGZWNFY3XKUE3TANCNFSM6AAAAAAY7WL2TY
.
You are receiving this because you authored the thread.Message ID:
@.***>

Ok it's not the DB pool, it's the registry itself.
I'm adding a fix to the pending 2.1.0 release.

This was fixed back in 2.1


Fix for issue #17

Also added `SVUNIT_CLK_GEN macro for issue #18.

I had 4 failures from the SVUnit testsuite both before and after my changes.


Doesn't prefix transform and translateX correctly

I found out that prefixer doesn't prefix transform and translateX correctly.
import { prefix } from 'inline-style-prefixer'
const mockDecl = {
  transform: 'translateX(2em)'
}

console.log('prefixer result', prefix(mockDecl))

This code will log this:
{ transform: 'translateX(2em)' }

Instead of:
{
webkitTransform: 'translateX(2em)',
    msTransform: 'translateX(2em)',
        transform: 'translateX(2em)'
}

This is due to the browser support of transform. The default browser settings, which you can find in the README, don't require transform to be prefixed at all. After all, it's pretty much supported in every modern browser.
If you still need it to be prefixed, I'd recommend to create your custom prefixer (see the docs on how to do that) which a custom browser version range.

This is due to the browser support of transform. The default browser settings, which you can find in the README, don't require transform to be prefixed at all. After all, it's pretty much supported in every modern browser.
If you still need it to be prefixed, I'd recommend to create your custom prefixer (see the docs on how to do that) which a custom browser version range.


The ScanScribe dataset

I have noticed a released version at https://huggingface.co/datasets/edward2021/ScanScribe/tree/main, but the scene_ids seem strange and not correspond to a similar form as scene0000_00.

Yes, these are ids from 3R-Scan dataset.

Thanks for the reply! Will the pre-training scripts and pre-training dataset on ScanNet be released?

For the ScanNet part, training data are formed from existing dataset including ScanRefer, ScanQA, and Referit3D.


Clean code and fix issues reported by staticcheck

Security Insights
No security relevant content was detected by automated scans.
Action Items

Review PR for security impact; comment "security review required" if needed or unsure
Verify aviary.yaml coverage of security relevant code

Questions or Comments? Reach out on Slack: #support-infosec.

Any change this PR could be reviewed?

@sarroutbi Wondering the same about my own PR. The project seems pretty dead to me.

Hello @matthinrichsen-wf . Can you please check, when possible, if this PR can be merged after your recommendations?
Thanks !!!


Add PR template

Closes https://relationalai.atlassian.net/browse/RAI-15498.

Does this actually add a template? How do i use it? I tried making a PR (e.g. from https://github.com/RelationalAI/julia/compare/v1.9.2+RAI...RelationalAI:julia:v1.9.3+RAI) and i was expecting the PR description box to be populated with this template, but it wasn't... Does this template PR need to be to the default branch (master)? https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/about-issue-and-pull-request-templates#pull-request-templates

Apparently this PR doesn't work on nix-shell. On fe86606a6900b4e9029272466dbf35fa60c3ccb7 I get:
make: *** [Makefile:62: julia-deps] Error 2
error: builder for '/nix/store/1g42i0djvdb9pdibv5la5nfvhq945n43-julia-1.9.2.drv' failed with exit code 2

While it works just fine on a202a8e7da5942ecefac4c78f666ae49755afc25.


304 create sitefarm experts api endpoint

A call to the experts model API looks at a header for a profile. If the profile contains "site-farm" the JSON is formatted for the Site Farm requirements.

Rewrote services/base-service/models/expert/api.js using middleware syntax as recommended by JM above.

@rakunkel-ucd This looks better, but I undid your changes from thisDoc to aeResponse do you want to test this before I commit?


Migrating wiki don't require token, so we should move it out of the require form

Fix #17628 and also #17642

make L-G-T-M work.

Please send backport


Responsive design using ng grid

How can we make ng grid responsive. So that it should be able to display proper on desktop as well as mobile.

+1 for stacked columns as default.

If someone is looking at a row as a complete record, then the stacked approach is fine, but if you're comparing fields across rows (looking for a security with a specific set of criteria) then it's not.

Wouldn't it be case for a grouping + drill-down? Or color-coding column content?
Anyways, having devices adapted for people (even excel people) is counterproductive, IMHO.

I also vote for stacked columns plugin or built-in.

+1 :-)


The first openinig of the Value-panel doesn't take into account the selected cell

Description
These steps can help to reproduce it more reliably:

turn off all the small buttons including Value-panel (if they were turned on) under the main button with the text "Panels"
close the previously opened Result tab and re-execute the query again

https://github.com/user-attachments/assets/038dfa2c-0b57-4cef-b207-1fe770a685bd
DBeaver Version
Enterprise Edition 24.2.1-202409122322
Operating System
Windows 10
Database and driver
PostgreSQL 16
PostgreSQL JDBC Driver 42.7.4
Steps to reproduce
No response
Additional context
No response

Thank you for bug report.


Update GH Actions to newer versions

This is because they rely on older NodeJS version that will soon become deprecated by Github

@kondziorex7 the node actions are already updated on main branch but you can update the PR for the checkout actions only


Search history clicks on web do not populate the search box.

Describe the bug
When I click to move focus to the search box I am shown my search history as expected. When I click an entry I am taken back to the search / suggested follows page.
To Reproduce
Steps to reproduce the behaviour:

Click Search and fill out the search input with something, then search to populate the search history
Go back to the home page
Go back to search and click the search input box
The search history is displayed
Click an entry in the search history

Expected behaviour
The search page will be populated with the selected search terms and a search begins.
(As an aside clicking the x to delete the entry doesn't work either)
VIDEO!
https://github.com/bluesky-social/social-app/assets/796298/b9eb722e-b3f1-4acc-9eaa-ccd6cdb816a9
Details

Platform: Web
Platform version: Build version: 1.75.0; Platform: web
App version: Microsoft Edge 123.0.2420.65

Additional context

It works when the developer options are active, but it doesn't work when they are closed.Is this the same behavior you're experiencing as well, or is it different for you?
I am  trying to fix it.

@Nikhildotasara if by developer options you mean what edge calls DevTools then opening that window makes no difference.

Yupp i meant the dev tools which are visible when we inspect the page.
Also sometimes it works fine even if the dev tools are inactive or not visible.(Very rare)
Here is the screenrecord of this
Uploading Screencast from 2024-04-02 19-26-41.webm…

Yupp i meant that only,
 but i tried in chrome.
Also sometimes it works fine even if the dev tools are inactive (but it is rare)..


docs: add Server into ToC

title: "Add Server definition into Table of Contents"

Related issue(s):

/rtm


[Requesting a Feature] Please add more pretrained networks in Applications

Currently I heavily use different networks with pretrained weights obtained in different locations. Some of them like DenseNet, for example, overperform existing ResNet50 or Inception on some tasks. Keras changes very fast and some of these networks stop working correctly. It's the reason why I'm still mostly use Keras 1.2. I propose to add the following CNNs directly in Keras applications with pre-trained weights:
DenseNet (121, 161, 169): https://github.com/flyyufelix/DenseNet-Keras
ResNet-101: https://gist.github.com/flyyufelix/65018873f8cb2bbe95f429c474aa1294
ResNet-152: https://gist.github.com/flyyufelix/7e2eafb149f72f4d38dd661882c554a6
SqueezeNet: https://github.com/rcmalli/keras-squeezenet
Inception v4: https://github.com/titu1994/Inception-v4/releases
Full list of nets (suitable to Keras 2.0.5 + Tensorflow and Theano):
https://github.com/flyyufelix/cnn_finetune

Probably, you've seen this, but anyway you can use another implementation of DenseNet (121, 161, 169) with pretrained weights from keras-contrib

vfdev-5 , didn't see it actually, will try. Thank you.


[API] need more control?

some times it's waste time to load all data,maybe I just want to get 10 data, but you give me 1000 data.so I think pagination is needed to optimize the API request

Here we go, sorry for the late reply.


feat: code field in form

Description

Add code editor, to form, this will help users take input of schema like executors etc in YAML, JSON format.
Fixes #174
Checklist

[x] My code follows the contributing guidelines of this project.
[x] I am aware that all my commits will be squashed into a single commit, using the PR title as the commit message.
[x] I have performed a self-review of my own code.
[x] I have commented my code in hard-to-understand areas.
[x] I have updated the user-facing documentation to describe any new or changed behavior.
[x] My changes generate no new warnings.
[x] I have added tests that prove my fix is effective or that my feature works.
[x] I have not reduced the existing code coverage.

Comments

@anuragxxd @SalihuDickson can you guys please help me figure why the css parts are not changing the label style. Checkout the styles component in the docs.
PS: I've added CSS parts and I think this might be due to a left out CSS part or some irregularity in previously existing parts.

hey @JaeAeich, you can't change the style because you haven't added "label" as one of the css parts for the code component. You need to go into the code component and add a part for the label for that component, you can then export that css part as "label" in the form component.

@SalihuDickson still same, plus if you look at it the styles are getting applied in places they shouldn't be, like the border which includes the text field as well as label. Lemme know if you find something, Illl look into it as well :)

Check out the #324 have replaced the code components there with ace editor.

Hey @JaeAeich, are you working on this PR or can we close this?


This PR fixes #144309

This PR fixes #144545

@bra1nDump  Is there any problem about this PR？

@luoriyuhui21 I don't have write rights to this repo. You need to wait for someone from vscode team to review it.
I just came across your pull request in 'good first issues' read it and added my 2 cents :D

@luoriyuhui21 I took a slightly different approach and have a mostRecentEditorsCountingForLimit to make it really obvious that the setting reduces the set of editors that are considered for the limit, can you please test this change works fine for you?
Thanks!

https://github.com/microsoft/vscode/pull/144545

@luoriyuhui21 I took a slightly different approach and have a mostRecentEditorsCountingForLimit to make it really obvious that the setting reduces the set of editors that are considered for the limit, can you please test this change works fine for you?
Thanks!

OK, I test your changes in my project. It works fine in vscode.
And your changes  make code more easy to read, which is better. it is ok for me, thank you.


No handlers could be found for logger "mxboard.event_file_writer"

Hello, i install mxboard and run the demo py, but raise errors:
No handlers could be found for logger "mxboard.event_file_writer"
my conda list is as follows:
mxboard                   0.1.0
mxnet                     1.2.0
tensorboard               1.12.0
tensorflow                1.12.0
how can i solve this, thank u very much!

+1

Did you try python 3? It didn't work with py2 for me but py3 is ok

Thanks for reporting the issue. It should now be fixed in the master branch. Can you checkout the latest code from the master branch and do python2.7 setup.py install?

works for me now

Thanks for confirming. Closing the issue now.

+1
Python 2.7.16 :: Anaconda, Inc.
mxboard 0.1.0
mxnet 1.4

same problem here, how to solve it?


Fixed ENAMETOOLONG error in setup_console_socket

In reference to the error found here: https://github.com/containers/youki/issues/2910
sun_path has a max length of 108 bytes: https://man7.org/linux/man-pages/man7/unix.7.html
And including the absolute path name can make the resulting address of the socket path too long for sun_path.
Quick solution, move to the container_dir first, that way the sun_path is always just as long as the name "console-socket" itself, and doesn't break depending on the length of the runtime filepath.
I also wrapped this update in code that saves the previous directory and moves back to it afterwords. I personally doubt this is necessary and may simply be wasted clock cycles. Since we tend to use absolute path names in general, both to navigate and to access specific links. Nevertheless, I didn't want to make that call. If repositioning the directory afterwards is not necessary that could certainly be cleaned out. Cargo test passes in either case.

Hey, thanks for helping us with this! Unfortunately I'm afraid we'll need some time to get to reviewing this PR, as there are already several others in the backlog, and the maintainers are a bit busy at the moment. I'll ping you if any changes are needed when I get to checking this, but as the diff is small, this should be ok in general.
Also, is https://github.com/containers/youki/pull/2914 duplicate of this? Can you close that? Thanks!

No worries! The duplicate has been closed.

Hey, the DCO is failing probably due to directly committing the code from the suggestion. Given that the original suggestion was by utam0k and you have committed it directly from github, I don't think you have any problem with signing DCO. I will sign the last commit myself and force push in sometime unless you want to do it yourself or have any problems.

Manually setting DCO to pass and merging.


Adding Code Questions w/ New Question Type Architecture

Added new question type (Code Fill In)
UI:

Question Creation (allows the creation of multiple question types)
Adds interface for:

New question type answer (both responses + see correction)
Quiz details
Adds generic code mirror implementation to be extended in other implementations using code

Codecov Report

Merging #255 (6d42f50) into develop (1dfd519) will decrease coverage by 3.61%.
The diff coverage is 4.93%.

@@              Coverage Diff              @@
##             develop     #255      +/-   ##
=============================================
- Coverage      64.07%   60.45%   -3.62%
+ Complexity      1338     1330       -8
=============================================
  Files            139      153      +14
  Lines           5514     5811     +297
  Branches         317      327      +10
=============================================
- Hits            3533     3513      -20
- Misses          1825     2144     +319
+ Partials         156      154       -2

Impacted Files
Coverage Δ
Complexity Δ

...tecnico/socialsoftware/tutor/TutorApplication.java
66.66% <ø> (-4.77%)
2.00 <0.00> (ø)

...ialsoftware/tutor/answer/dto/AnswerDetailsDto.java
100.00% <ø> (ø)
1.00 <0.00> (ø)

...software/tutor/answer/dto/CodeFillInAnswerDto.java
0.00% <0.00%> (ø)
0.00 <0.00> (?)

...e/tutor/answer/dto/CodeFillInCorrectAnswerDto.java
0.00% <0.00%> (ø)
0.00 <0.00> (?)

...tor/answer/dto/CodeFillInSpotCorrectAnswerDto.java
0.00% <0.00%> (ø)
0.00 <0.00> (?)

...ware/tutor/answer/dto/CorrectAnswerDetailsDto.java
100.00% <ø> (ø)
1.00 <0.00> (ø)

...co/socialsoftware/tutor/impexp/domain/Visitor.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

...tecnico/socialsoftware/tutor/question/Updator.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

...socialsoftware/tutor/question/domain/Question.java
87.21% <ø> (ø)
59.00 <0.00> (ø)

...oftware/tutor/question/domain/QuestionDetails.java
75.00% <ø> (ø)
5.00 <0.00> (ø)

... and 40 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1dfd519...6d42f50. Read the comment docs.


[lexical-markdown] Fix: normalize markdown in $convertFromMarkdownString to comply with CommonMark spec (2nd try)

Description
See https://github.com/facebook/lexical/pull/6627
The only commits added since the first PR are:

fix single line code - fixed an additional bug that I noticed on the fly, where code blocks that started and ended on the same line left the flag open, causing subsequent lines to not be normalized.
fix table - fixed the problem with tables that @potatowagon mentioned

For both cases I added corresponding tests.

I can't reproduce the failing test. I've tried in plain text, firefox. Is the problem only on Linux?

Could you try to re-run the failed test?
I'm not sure if it's flaky. On the one hand, the test that fails is in a code block that parses to markdown. On the other hand, I can't reproduce it on my Mac or PC :/

Re-running failed jobs now

I can repro. Haven't looked at the code but there's a very bad performance issue in all browsers in that test case (hangs for >10 seconds on my laptop in chrome after the second click to the markdown button), but probably just bad enough that the firefox test fails.
npm run test-e2e-plain-firefox packages/lexical-playground/__tests__/e2e/Hashtags.spec.mjs:472:3

https://github.com/user-attachments/assets/4747cc67-c9f0-4128-8b01-dee8e6f11fcd

https://github.com/user-attachments/assets/4b687c85-2cb9-4888-aca3-66e6a1e83afe
lgtm


[sourcekit test] Split -sanitizer= test out and add REQUIRES

This test requires the sanitizer runtime libraries, so split it out and
add the requisite REQUIRES lines.

@swift-ci please smoke test

Thanks @ahoppen for reporting this one!


Jacoco

Summary of changes

Add com.dicedmelon.gradle.jacoco-android plugin to Card and Core modules
Add starter unit tests for CardClient and PaymentsClient
Remove boilerplate unit tests generated by Android Studio
Update README with in formation on how to run code coverage analysis

Checklist
~- [ ] Added a changelog entry~
Authors

@sshropshire

This looks great! I'll create another story for the backlog to update the unit test gradle command for GitHub Actions.

Ah good call! 👍


Can't get new input state added to the existing ones

Hey,
I was trying to add a new custom form-control state to an input field using form-validation-state , next to is-valid and is-invalid.
I figured I'd add an is-waiting state with a loading circular icon. This was what I came up with:
$form-feedback-waiting-color:         $gray-500;
$form-feedback-icon-waiting-color:         $gray-500;
$form-feedback-icon-waiting:        str-replace(url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='#{$form-feedback-icon-waiting-color}' viewBox='0 0 8 8'%3e%3cpath stroke='#{$form-feedback-icon-waiting-color}' d='M4 0c-1.65 0-3 1.35-3 3h-1l1.5 2 1.5-2h-1c0-1.11.89-2 2-2v-1zm2.5 1l-1.5 2h1c0 1.11-.89 2-2 2v1c1.65 0 3-1.35 3-3h1l-1.5-2z' transform='translate(0 1)'/%3e%3c/svg%3E"), "#", "%23") !default;

$form-validation-states: (
  "waiting": (
    "color": $form-feedback-waiting-color,
    "icon": $form-feedback-icon-waiting
  ),
);

@import "node_modules/bootstrap/scss/variables";

It wasn't working, despite the configuration being right. After some debugging, I realized it won't work (at least not on Chrome which I'm on now), because of the .was-validated &:#{$state}, definition: https://github.com/twbs/bootstrap/blob/da5f428b356d1d612f8d29905f01e8e839c670b6/scss/mixins/_forms.scss#L55
If I comment this one line out in bootstrap, it starts working (the icon SVG needs some extra work though). So I'm guessing Chrome just throws the entire definition away because of the said SASS/CSS definition.
Is there a way to fix this? Because of that, I had to resort to some custom css/javascript with fontawesome, which is at least animated when the state is is-waiting.

Yeah, the selectors are invalid CSS, so it's crapping out on you. I've had a go at a solution in #28447.


How to Remove Question at top of the screen.

I also had this problem.   Just received a Dell 7730 with 4K screen set to 226% / 216dpi.   Enabled the proper Key setting described in Layers.   Always get the question at the top of the screen saying Reset to DPI-Aware.   I have to click the X to make question go away.   If I have configured it to be DPI UNAWARE, why keep questioning me?  Visual Studio 2017 - 15.8.5

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

ID: 43b74bf9-71c6-2559-66f7-2e17de0702ef
Version Independent ID: 9ad214a4-3ae0-f7e6-bb89-86067d97059d
Content: Disable DPI-awareness in Visual Studio
Content Source: docs/framework/winforms/disable-dpi-awareness-visual-studio.md
Product: visual-studio-dev15
GitHub Login: @gewarren
Microsoft Alias: gewarren

I believe there'll be an option to dismiss the gold bar with the message in Visual Studio 2017 version 15.9.

@OliaG @merriemcgaw can you confirm that?

@mairaw that is correct. We're getting it in Preview 4 I think. But it's going in.

Hi,
Just wanted to revisit this again.   I am now at VS 2017 15.9.2 and still have the issue. with the question at the top when viewing projects.


don't create tab on update

Extension updates happen at random times, unannounced. Opening a new tab steals focus and disrupts tasks. This is an awesome set-it-and-forget-it extension and it shouldn't be jumping in my face.
Simple fix: don't do it. A more interesting possibility would be to replace the new tab with a small overlay on the current page.

This is just a onetime thing. We’ll disable it for updates in the next version. We just wanted existing users to be aware. Normally it will only show when you install it fresh.

That's one too many! But all right, I forgive you <3

Yeah I hate when extensions open new tabs when they update, but as Sindre said this only ever happens once for everyone, and for new users only when they install the extension (which is fair)

@bfred-it In hindsight we should at least have opened the tab in the background and not steal focus.

Still in time! Lots of chrome users haven’t seen the update yet. PR? 🙂


How can update to latest version ?

Hello,
how can update Wireguard-UI To the latest version that is put on the main page with the name "wireguard-ui v0.6.2" ? I read in the Issues that do not work "image: linuxserver/wireguard:latest" and one user said we should use "image: linuxserver/wireguard:v1.0.20210914-ls6" .. now what should i do now ?

is that working? because in the latest once I remember "linuxserver/wireguard:latest" isn't working!

"wireguard-ui v0.6.2" and "linuxserver/wireguard:latest" are completely different things. I do not use linuxserver/wireguard, and cannot help with it. If you need "wireguard-ui v0.6.2", use ngoduykhanh/wireguard-ui:latest

Is there already a solution to install the update?


Prevent recursive keypress processing?

Let's say I have the following skhdrc:
home : skhd -k "cmd - left"
end : skhd -k "cmd - right"

This does what I'm looking for - home and end move to the ends of the current line.
But now say I add this (either before or after; doesn't seem to matter):
cmd - left : skhd -k "alt - left"
cmd - right : skhd -k "alt - right"

now home and end move by single words, presumably because this happens:
home -> cmd-left -> alt-left

What I am looking to do is to stop the parsing after the first translation, and not have skhd reinterpret its own output. Is this possible?
Relevant related comment from last year
Thanks!

I've worked around the issue by changing to these bindings:
home : skhd -k "ctrl - a"
end : skhd -k "ctrl - e"

but the issue I think still stands. This would be great to have in general.

+1
I remapped ctrl-tab to be switching workspaces and now want to switch tabs in safari and other apps with ctrl-h and ctrl-l.
This would be easily solved if skhd doesn't intercept skhd -k ... initiated key presses. I think for most cases, it would make sense to do it like that. I cannot think of a scenario where I would actually want skhd to intercept it.


Agents cannot see all tickets

if agent_restrict is set to 0 or 1 the agent can see only his own tickets
Agent view

Administrator View

any help please?

Is that ticket assigned to that agent?

Maybe I have misunderstand something, please correct me if I am wrong
Feature list talks about

Tickets access restrictions (Only ticket owner, an agent, or an admin whom has access to the ticket)
Settings option to allow agents access to all tickets or to restrict agents access to only their assigned tickets

I understood that "agent_restrict" enable/disable the agent to see all tickets (even not assigned to him)? The problem if I set it to 0 or 1 it does not change anything in the list of the agent. Thanks for help

I have the same problem


Start from Weak Subjectivity State

Describe the solution you'd like
Lodestar should be able to boot from a trusted BeaconState that is not genesis. See Weak Subjectivity doc for motivation.
Additional context
https://notes.ethereum.org/@adiasg/weak-subjectvity-eth2

This should be ready for mainnet launch.

So I suppose this helps save a lot of time for Initial Sync.
Does this include calculating Weak Subjectivity Checkpoint States and export it somewhere through Rest api for example?

no, i think storage/retrieval should be tackled separately

#1455 updates chain initialization, tweaks chain.initForkChoice and others, will be helpful for this


Auto corrected by following Format Ruby Code

Auto corrected by following Format Ruby Code
Click here to configure it on awesomecode.io

Coverage decreased (-0.1%) to 77.727% when pulling c4ecaf1771a7375c780c832f0fbcf25c85f5d0b7 on awesomecode-format-ruby-code-48660 into 33f4b3e7add7fcfeb621c697092d0191ab1ca9c3 on master.


Add support for time keywords for sky map axes

This PR adds a small addition to support additional keywords for time based map axes, based on the same time format standards used elsewhere in GADF.

Thanks for the review @lmohrmann, @TarekHC and @maxnoe. I don't have merge rights here so please go ahead if you think it's ready...


Your Gitlab repositories is privates

Hi,
By default Gitlab repositories is privates.
Regards

No, Its open source repositories.


Substitute for 2025-01-14 Foundation board meeting

We need to select a substitute for the 2024-12-10 Foundation board meeting place of @spastorino.
According to our policy, we need to make a public announcement (that's this issue) and agree by consensus to a substitute (also this issue).
cc @rust-lang/leadership-council

@rfcbot fcp merge
I've checked availability, and am able to fill in on this date. Having recently arranged for the selection of project directors, I both have some useful context and am somewhat interested to join a meeting to build more, and will work with @spastorino in advance of the meeting to ensure that our key interests are represented in the same spirit as him being there, so if it pleases the council, I'm happy to fill in here.

@rfcbot fcp merge


Import project into cruft

Import the project into a cruft template for maintenance.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.31%. Comparing base (1a5ed90) to head (2b5e460).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #329   +/-   ##
=======================================
  Coverage   94.31%   94.31%
=======================================
  Files           6        6
  Lines         299      299
=======================================
  Hits          282      282
  Misses         17       17

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Unable to get link from response generator callback

I was working on a request/response application that maintains a session state for the lifetime of a Link. When the requester identifies on the link, a session is started and this session state lasts until the link is torn down.
Digging through the source code, I didn't find any way to get back to the link from the response generator callback.
response_generator(path, data, request_id, remote_identity, requested_at)

It would be possible to find the correct link by remote identity, but this limits the application to identified links only and only one link per remote identity (which wouldn't work for this application). I realize it would be a breaking API change, but adding the link_id to the parameter list would resolve the problem.
As a workaround, I used a big hack and wrapped the RNS.Link.handle_request function:
_link_handle_request_orig = RNS.Link.handle_request

def link_handle_request(self, request_id, unpacked_request):
    global sessions
    for session in sessions:
        if session.link.link_id == self.link_id:
            RNS.log("Associating packet to session", RNS.LOG_DEBUG)
            session.next_request_id = request_id
    _link_handle_request_orig(self, request_id, unpacked_request)

RNS.Link.handle_request = link_handle_request

Hmm, this should actually be possible, and I could've sworn I already implemented it... Let me just have a look :)

Thanks for bringing this up @acehoss. It's added now in fc818f00f1b34a563390f362dd83b7c56b01b1c9, and the callback signature has also been updated in the API documentation.
It'll be in the next release, but you can start using if you just import RNS directly from a clone of this repo or just make debug your own temporary wheels.

Just as a note, the old signature (without link_id) is still possible to use, as to not break backwards compatibility, but may go away in the future. For now I'll just leave it in though.

Awesome, thanks!

Let me know if it works out ok for your purposes or not!

Works great, thanks!


Fix for Issue #260

This is my first pull request. I hope this can help. Please let me know if you have any questions or better ideas on how to fix this.
EXAMPLE ISSUE: The field's decimal places = 2. So the db stores .00. But in the model's save() method performs calculations on that field which result in python truncating the zeros to .0. This causes model_instance_diff() to incorrectly detect a change.
THE FIX:  check if the field is a DecimalField. If so then remove all trailing zeros and the decimal. Used the code from this answer https://stackoverflow.com/questions/11227620/drop-trailing-zeros-from-decimal

Codecov Report

Merging #261 into master will decrease coverage by 0.28%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##           master     #261      +/-   ##
==========================================
- Coverage   82.45%   82.17%   -0.29%
==========================================
  Files          19       19
  Lines         513      516       +3
==========================================
+ Hits          423      424       +1
- Misses         90       92       +2

Impacted Files
Coverage Δ

src/auditlog/diff.py
83.09% <50.00%> (-2.20%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c3b0604...e3d3892. Read the comment docs.

I think this can be resolved in a smarter way, by finding an alternative to the string conversion that currently happens.
Most likely comparing bare values works, but this is something that may not be the case for all values. This way we can leverage the __eq__ magic method of Python.
Creating special cases for fields is something I rather not do, as you are likely to end up with many of them that all need to be maintained.


Refactor equals/hashCode strategy

As mentioned in #164 we should think about a sensible way of creating hash codes for nodes. Does it really make sense to only implement this in the base class or do we actually want to create specific implementations for each node type?

Idea: Use hashing helpers from other frameworks


Update README.md

adds language highlighting

That's what I get for sleep dep. :wink:

@echopoint I got you 😄

@echopoint get some sleep 💤


/lib/modules can't be read-only

DKMS: build completed.

falco-probe.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.4.78-k8s/kernel/extra/
mkdir: cannot create directory '/lib/modules/4.4.78-k8s/kernel/extra': Read-only file system
cp: cannot create regular file '/lib/modules/4.4.78-k8s/kernel/extra/falco-probe.ko': No such file or directory

depmod...

When I remove the read-only flag, this works fine

those errors are expected since we don't want to make changes to the underlying host. falco will work regardless

I'm confused... why does it try that if it works regardless and why does it give an error at all then? if it's expected, i would think it would be suppressed then, as otherwise it's extremely misleading and disorienting

Hello! I am just starting to play with Falco and I lost a couple of minutes trying to find out what was wrong with my setup before finding this issue. If really it's the expected behavior, it should not be displayed as an error. My 2 cents! 😃

Came here after trying to see what was wrong with my configuration... missing a falco-probe.ko file sounds problematic.
the least that could be done, augment the logs with
"this is normal, ignore this error if you system is readonly, or you are running in a container"


Outbound channel close error is propagated to stream

This PR resolves issue #93

Codecov Report

Merging #95 into master will decrease coverage by 0.31%.
The diff coverage is 81.81%.

@@             Coverage Diff              @@
##             master      #95      +/-   ##
============================================
- Coverage     85.29%   84.98%   -0.32%
  Complexity       19       19
============================================
  Files            15       15
  Lines           306      313       +7
  Branches         49       52       +3
============================================
+ Hits            261      266       +5
  Misses           16       16
- Partials         29       31       +2

Impacted Files
Coverage Δ
Complexity Δ

...rcoferrer/krotoplus/coroutines/call/FlowControl.kt
83.78% <81.81%> (+0.45%)
0 <0> (ø)
:arrow_down:

...otoplus/coroutines/client/ClientBidiCallChannel.kt
91.3% <0%> (-4.35%)
0% <0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9e81e7f...c3b722f. Read the comment docs.

I still need to add notes for the reason behind closing outbound channels with an error before cancelling it in the client channel impls. If we close a channel with our server error before cancelling it then we can ensure that any user code that is attempting to send on the outbound channel will throw the server exception. Cancel is just a means to free up the outbound message handler so that our coroutine scope can complete.
I also still need to add tests exercising this use case.
Client Tests: Client Streaming, BidiStreaming
Server Tests: Server Streaming, BidiStreaming


Java 8 & Gradle with Unit test

Create simple code challenge with gradle using TDD, optionally including JUnit, Integration tests or Spring Framework

[x] Gradle
[x] JDK8 (looking into 9)
[x] Spring framework
[x] TDD with JUnit 4, WebMvcTest & SpringBootTest
[ ] Add more cases
[ ] Add Hateoas (Spring ?)
[x] Use ascii art
[ ] Try spring cli (with zsh autocomplete)


Docker image upload is failing

The GHA docker upload workflow is failing on the latest tag:
 The push refers to repository [ghcr.io/intersectmbo/cardano-db-sync]
190fe373008b: Preparing
6a7775dbe07b: Preparing
ca8fa9811680: Preparing
denied: permission_denied: write_package
Error: Process completed with exit code 1.

Added actions access to the workflow


A mock field is created when simd init

Summary of Bug

A mock field is created in app_state when simd init
mock is not module, but the field is added.
{
  "chain_id": "simd-testing",
  "consensus_params": {},
  "app_state": {
…
    "mint": {...},
    "mock": null,
    "params": null,
...
  }
}

Version

lbm-sdk v0.46.0-rc9
Steps to Reproduce

For Admin Use

[x] Not duplicate issue
[x] Appropriate labels applied
[ ] Appropriate contributors tagged
[x] Contributor assigned/self-assigned

At #651, the ibcmock module was included in the module initialization and begin block, end blocker, init genesis order.
So ,there was a bug in genesis.json including the ibcmock.
Here, I tried to remove ibcmock, but this has proven to be impossible currently.
If you look at the structure of cosmos, cosmos-sdk and ibc-go are separated from each other. And these are combined and distributed in the form of gaia.
So, cosmos-sdk doesn't need any import for ibc.
However, the structure of lbm includes ibc as a module in lbm-sdk.
Therefore, when creating a simapp, ibcmock must also be included as a module.
Because lbm doesn't need to include ibcmock, I decide it's not an issue and close.


Automated Package Upgrade

:tada: This PR is included in version 5.0.264 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Custom STYLES not applied in live queries and templates

It looks like CSS specified in STYLES is not correctly applied inside Live Query iframes.
For instance, specifying --editor-font doesn't work inside  the Live Query iframe, but works correctly on the parent frame.
There is no #sb-root element inside the iframe, but either of these two rules work for the rest of the page elements.
#sb-main {
   --editor-font: "Arial" !important;
}

html {
   --editor-font: "Arial" !important;
}

Originally posted by @msolo in https://github.com/silverbulletmd/silverbullet/issues/530#issuecomment-1773965867

I think this was already addressed some time ago


Support for Windows 10 Universal Application Platform (UAP)

I would really like to give a try to BrightstarDB in my Windows 10 store app.

I would like to second this request for Windows 10 support I have been looking for a replacement for SQLite.

@CrafttDev, @fgoulet - I hear you guys. I'll see what I can do!

Yeah this can really be helpful! But I assume that for now, we can still implement the PCL and leave the storage later when the UWP support comes up?

Yeah I think you can - there are some API differences which will bite you when you are ready to convert the project over to UWP, but from the work I've done so far on porting dotNetRDF over to .NET Core it seems that they aren't to hard to work around.

Further comment on this as I've looked into it a bit more. As far as I can see from the testing I have done so far, the PCL version of BrightstarDB will work just fine for a Windows Store 10 app (at least I have managed to use it to compile a very simple app that uses BrightstarDB).
I feel that for now this is "good enough". Ideally I think we need to get to the point of supporting some flavour(s) of .NET Core - this would work for UWP apps as well as DNX and mono. I'm not sure of exactly when this would get done as I think it also requires a discussion with Rob and the other dotNetRDF developers about their plans.
So, I'm going to close this issue as a Wont Fix.
However, if anyone disagrees with my evaluation or if you find that actually you do have an issue getting the PCL version of B* running with your Windows 10 app, please feel free to open another issue but please be as specific as possible about what you are trying to achieve and what the problem appears to be.


Updated german translation

Check if this PR fulfills these requirements:

[x] My changes respect the Kodi add-on development rules
[x] I have read the CONTRIBUTING document.
[x] I made sure there wasn't another one Pull Requests opened for the same update/change
[x] I have successfully tested my changes locally

Types of changes

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

Description
I have updated the german trnaslation for this plugin.

missing a lot of translations
you can use a software like Meld to compare en_gb file to your language file
finish translating then i will gladly to merge

Hi,
thanks for the hint, I added a complete translation. I was just assuming that new strings are always at the end of the file. :)


Will the software be updated? 有无继续开发计划

It is a good project, but now seems not be updated.
And i try to modify cppla's version, I use golang to rewrite the client program, and i want to rewrite the server program too.
The server program is wirtten by C++,However, my C++/C code is so poor. So could you someone work with me?
Thanks!

PS  i try to compile the server program in windows, but it can not work,

my version: https://github.com/CHN-STUDENT/ServerStatus/
cppla version: https://github.com/cppla/ServerStatus/
很好的项目，但是现在为什么不填坑了？
cppla 的版本很好用，我也照着他的版本重写了golang 版本的客户端，现在能跨平台检测了，我现在希望继续优化重写服务端，但是我的C++水平太次了，所以呢，不知道有没有人给我点指点意见？

挺好的，你可以把写好golang client提交给上游。

撸了Rust 版 https://github.com/zdz/ServerStatus-Rust


Cannot read property 'getIn' of undefined

I'm getting error when rendering
<OAuthSignInButton
          provider=...
          endpoint=... />

I'm specifying both required provider and endpoint props, but I get this error:
Uncaught TypeError: Cannot read property 'getIn' of undefined

I have the same issue

@venil7 and @wormyy, do you have a reproduction for us?

I got the same error, which seemed to be caused by not having the reducer specified
import {authStateReducer} from "redux-auth";
// create your main reducer
const reducer = combineReducers({
  auth: authStateReducer,
  // ... add your own reducers here
});

It'd be nice if it handled this a bit better, either handling the null value, or returning an error telling people what to do. Also, the instructions in the README don't mention setting up the reducer. The example app certainly has it in there, but it also has a lot of other stuff that a real app doesn't need.

If you use 'combineReducers' from 'redux-immutable' as opposed to 'redux', it will throw that error because, in order to get the 'auth' state, it needs to be retrieved via 'store.getState().get('auth')' as opposed to 'store.getState().auth', since it is now an immutable.  How is it possible to work around this?  I am using redux-immutable for combineReducers and would like to keep it this way.

Hey @nyjy85,
I came across the same issue and there is a problem with initialState being undefined or plain object.
You can just wrap authStateReducer with initial immutable state like this:
import { authStateReducer } from "redux-auth";
import Immutable from "immutable";

const auth = (state = {}, action) => {
  return authStateReducer(Immutable.fromJS(state), action);
}

const appReducer = combineReducers({
  auth,
  ...
});

I'm getting the same error but probably on a different place (a promise?)
Uncaught (in promise) TypeError: Cannot read p roperty 'getIn' of undefined(…)
This happens as soon as I render  <EmailSignInForm />.
I'm using combineReducers  from redux-immutable and wrapped the reducer with @hhhonzik code.
I'm also using the library in a client-only architecture so that could be the problem? (regarding #7)

@dpereira411, have you added AuthGlobals component to your root template? Have you executed configure from 'redux-auth'?

I'm having this issue too, even after setting up AuthGlobals, the reducer and executing configure

@lynndylanhurley Hey maybe time to do something, people can't use your module :)

@l1br3 - write me a failing test and I'll fix it.

Sorry @lynndylanhurley but I definitely stoped using your module as I couldn't make it work because of this error. I just alarm you on the importance of this blocking problem.
So I won't take the time to write a test, sorry again.

I cannot reproduce this issue. That may be because it's been fixed in one of the latest releases, or because your environments are different than mine. So I'm going to close this issue out.
Anyone, feel free to re-open the issue (or create a duplicate) if you can provide a failing test, or if you can explain how your environment is different from the working demo app and how that difference is causing problems.

@lynndylanhurley If it helps at all, I was trying to implement this in a https://github.com/mxstbr/react-boilerplate/tree/master/app boilerplate app, after including thunk and making sure that everything in the config notes was followed. I can write up an example repo and point you to it later today if that helps. My main suspicion is that since the react boilerplate uses sagas instead of thunk, maybe having them both is confusing the app ?

Thanks @arjshiv, that may be the case.

No worries, I'll have a test repo up and hopefully you can help me debug. BTW, I love what you've done, and I have my fingers crossed that I'll be able to use it once we get past this :)

@lynndylanhurley Please check out this commit to se what I had. You'll need to run npm install and then npm start and it should open up the app at localhost:3000

For more context, this is on MacOS

@arjshiv - thanks for sending that detailed example.
@nyjy85 was right - the problem is that the redux-auth components expect there to be a normal javascript object called auth at the root level of your store. Her comment above explains the problem you're having.
In your application, the entire store is an Immutable.js Map, and the redux-auth components don't know how to read that.
I'll try to include a fix this for the next release, but it will be a bit of work and I'm not sure when it will be ready by.
It looks like you've included @hhhonzik's workaround:
const auth = (state = {}, action) => { //otherwise this reducer doesn't work with redux-immutable
  return authStateReducer(Immutable.fromJS(state), action);
};

But it doesn't seem to be solving the problem.
@hhhonzik - was there anything else you needed to do to work past this issue?

@lynndylanhurley Thanks for taking a look. The most immediate workaround I can think of is not to use Immutable in the app and use something like seamless-immutable instead (or just plain Object.assign to make an 'immutable' state), but that will not scale for your framework since most people building larger apps that require authentication are moving towards using Immutable states. @hhhonzik Any tips you have would also be greatly appreciated!

Hey guys, any updates on this ? @lynndylanhurley

@arjshiv - I'll need to provide a configuration option for accessing the auth reducer store from the root store. I'm super busy with work but hopefully I'll have this ready by next Monday or so.

No worries, appreciate the help!
On Tue, Jul 26, 2016 at 11:33 AM Lynn Dylan Hurley<EMAIL_ADDRESS>wrote:

@arjshiv https://github.com/arjshiv - I'll need to provide a
configuration option for accessing the auth reducer store from the root
store. I'm super busy with work but hopefully I'll have this ready by next
Monday or so.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lynndylanhurley/redux-auth/issues/20#issuecomment-235306626,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB6FO_iD0Be0Y-auAJQ5rwqZGiUuaycXks5qZijkgaJpZM4HQbq-
.

+1 on the redux-immutable problem.

Hi @lynndylanhurley ,
I just hardcoded every container of redux-auth so it access auth like this:
export default connect((state) => ({ auth: state.get('auth') }))

And is working, I believe that if we isolate the selector in a module and it handles this immutable case for the meanwhile, then we could further give the users to be able to customize this selector.
If you guide me a bit I could help you with a PR.

Is anyone still thinking about this? I've hit the same issue and would rather pick up where you left off than start from scratch :)

@jimbofreedman, By the meantime I think you could fork the repo and do what I did on my last comment.

@jimbofreedman I did what you told to do, and I could get it working, but after including  I got the same error from before (connect.js:154 Uncaught (in promise) TypeError: Cannot read property 'getIn' of undefined(…)). Where did you include the AuthGlobals in your project? (using react-boilerplate)

I was bumping into this issue. My problem was that I was using redux-persist, which includes autoRehydrate() middleware that returns a POJO rather than an Immutable.js Map.

Same problem as @alukach integrating with redux-persist. Any suggestions?

@MrHash I believe someone finishing the PR from #62 would do the trick.
Also, I think you could lean on the createTransform function from redux-persist to convert anything stored in localstorage to a Map object. I haven't had a chance to try this, but I believe this type of thing is what the function was intended for.
Let me know what ends up working for you.

Hey @lynndylanhurley any news with fixing this issues or removing useless immutable.js dependency?

Hi,
I have the same issue, which I could fix when server rendering by adding the following:
Object.defineProperty(store.getState(), 'auth', { get: function() { return this.get('auth'); } });
before injecting the store to the Provider component.
It fixes the issue when server side rendering because now you can access the auth property of the store state by doing state.auth.
The problem on the client side comes (I think) from the fact that the state being immutable, the state object is overwritten every time the state changes, so the defined getter does not exist anymore.
One solution would be to patch redux-immutable to redefine the auth property every time the state changes. What do you think of that? Is it possible? I am currently searching how to achieve that in the redux-immutable library.
Another solution that would come from redux-auth library would be to add named export to every component module and let the developper declare how to connect to the store himself, that is by doing as previously proposed:
export default connect((state) => ({ auth: state.get('auth') }))
Any thought on the above solutions?
I think the second one is pretty easy to implement.
Thanks in advance,
Cheers

Just to update on my previous comment:
I finally found a solution that works both for server-side rendering and client side. I wrapped my combined reducer with a new reducer function as follows:
const reducer = createReducer();

const reduxAuthPatchedReducer = (state, action) => {
  const returnedState = reducer(state, action)
  Object.defineProperty(returnedState, 'auth', { get: function() { return this.get('auth'); } });
  return returnedState;
}

It is not very nice but it solves the problem and I don't see any side effect so far.
Don't hesitate to tell me if you see an issue with this solution.


Facing issue regarding opening paths file.

Hey,
I use go get to get a copy of meg.
But it's been showing me error failed to open paths file: file ./paths not found

just happened to me too.
I had it working but I wanted to delete it and rebuild it.
now i get this error
before i deleted it, it worked fine.
wonder what can it be.
weird...

I am having this same issue, how to fix it ?

same issue here

@tomnomnom

For those looking for the solution to this.. Reading is essential.
Without any arguments, meg will read paths from a file called ./paths, and hosts from a file called ./hosts. There will also be no output:
If you don't have those files, just create them. touch paths && touch hosts


ATS regression test failing on SDK_API_HttpHookAdd

Regression test(SDK_API_HttpHookAdd) still in progress
[SDK_API_HttpHookAdd] TSHttpHookAdd : [TestCase1] <<FAIL>> { Hooks not called or request failure. Hook mask = 0
 HTTP/1.0 404 Not Found
Date: Thu, 11 Jul 2019 18:25:15 GMT
Server: ATS/9.0.0
Cache-Control: no-store
Content-Type: text/html
Content-Language: en
Content-Length: 297

<TITLE>Not Found on Accelerator</TITLE>

Not Found on Accelerator

Description: Your request on the specified host was not found.
Check the location and try again.

 }
[SDK_API_HttpHookAdd] TSHttpTxnReenable : [TestCase1] <<FAIL>> { Txn not re-enabled properly }
    REGRESSION_RESULT SDK_API_HttpHookAdd:                      FAILED
REGRESSION_TEST DONE: FAILED
11:25:17 homer:(master)~/dev/apache/trafficserver$

I haven't been able to reproduce this on a clean build.

my test:
#!/bin/bash

# turn on bash debug
set -x

# stop ATS
sudo /usr/local/bin/trafficserver stop
sudo pkill -9 traffic_manager
sudo pkill -9 traffic_server

# clean up
cd ~/dev/apache/trafficserver
git clean -xfd
git checkout -- .
sudo rm -rf /usr/local/etc/trafficserver /usr/local/var/trafficserver /usr/local/var/log/trafficserver /usr/local/lib/libts* /usr/local/lib64/libts*

# build
autoreconf -if
./configure --enable-ccache
make -j 16
if [ $? -ne 0 ]; then exit 125; fi
sudo make install -j
if [ $? -ne 0 ]; then exit 126; fi

# test ATS
sudo /usr/local/bin/trafficserver stop
sudo /usr/local/bin/trafficserver start
if [ $? -ne 0 ]; then exit 127; fi

# stop ATS
sudo /usr/local/bin/trafficserver stop
sudo pkill -9 traffic_manager
sudo pkill -9 traffic_server

# run regression test
for i in {1..100}; do
  sudo /usr/local/bin/traffic_server -R 1
  #sudo /usr/local/bin/traffic_server -R 1 -r SDK_API_HttpHookAdd
  if [ $? -ne 0 ]; then exit 1; fi
done


NullReferenceException from SqlInternalTransaction.GetServerTransactionLevel()

Describe the bug
We had an incident with database which resulted in several errors from server. Unfortunatelly I don't have details on exact reason for it, could be low memory conditions as I see RADAR_PRE_LEAK_64 error in event logs for one of our apps. But one of errors was NRE from SqlClient code with following stack traces:
Exception message: Object reference not set to an instance of an object.
Stack trace:
   at Microsoft.Data.SqlClient.SqlInternalTransaction.GetServerTransactionLevel()
   at Microsoft.Data.SqlClient.SqlInternalTransaction.CheckTransactionLevelAndZombie()
   at Microsoft.Data.SqlClient.SqlInternalTransaction.Commit()
   at Microsoft.Data.SqlClient.SqlTransaction.Commit()
   at System.Data.Common.DbTransaction.CommitAsync(CancellationToken cancellationToken)

Exception message: Object reference not set to an instance of an object.
Stack trace:
   at Microsoft.Data.SqlClient.SqlInternalTransaction.GetServerTransactionLevel()
   at Microsoft.Data.SqlClient.SqlInternalTransaction.CheckTransactionLevelAndZombie()
   at Microsoft.Data.SqlClient.SqlInternalTransaction.Rollback()

To reproduce
No idea, but other errors we seen were:
SqlException: The server failed to resume the transaction. Desc: xxx. The transaction active in this session has been committed or aborted by another session.

and
SqlException: New request is not allowed to start because it should come with valid transaction descriptor.

last one is actually incorrect according to documentation as we don't use distributed transaction. Maybe related to https://github.com/dotnet/SqlClient/issues/2683 but not sure as we don't use encryption.
Expected behavior
Dunno, server error handling in a way it doesn't throw NRE.
Further technical details
Microsoft.Data.SqlClient version: 5.1.4 (a bit old, but I don't see any functional changes to SqlInternalTransaction code in newer versions)
.NET target: net8.0
SQL Server version/Operating system: Microsoft SQL Server 2019 (RTM-CU28-GDR) (KB5042749) - 15.0.4390.2 (X64)   Aug 12 2024 13:08:42   Copyright (C) 2019 Microsoft Corporation  Web Edition (64-bit) on Windows Server 2019 Datacenter 10.0 <X64> (Build 17763: ) (Hypervisor)
Additional context
There was report with same error before https://github.com/dotnet/SqlClient/issues/1121

Do you have a repro you can share? This would help us reproduce the issue and investigate the root cause.

Currently I don't have an idea how to reproduce it. Looking at code I suspect it could be a race condition
between CheckTransactionLevelAndZombie() call from failed transaction operation (commit/rollback/save)
https://github.com/dotnet/SqlClient/blob/main/src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/SqlInternalTransaction.cs#L168
and CloseFromConnection() call from TdsParser
https://github.com/dotnet/SqlClient/blob/main/src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/SqlInternalTransaction.cs#L213
//
// thread 1: !IsZombied checks that _innerConnection is set
// thread 2: Zombie cleans _innerConnection
// thread 1: access null _innerConnection in GetServerTransactionLevel() call

Probably when one of those two other errors I mentioned in initial report occur - it could trigger race condition, but I have no idea how to force such errors from server to test this.  I see both CheckTransactionLevelAndZombie and CloseFromConnection called, but wasn't able to trigger race conditions.
I will see if I can come up with more ideas how to reproduce it


Allow ContentResponse to receive multiple components next to a title

Signed-off-by: ftovaro<EMAIL_ADDRESS>What this PR does / why we need it:
Allows ContentResponse to receive multiple components, this is an extension our titles and gives the option to have complex titles with buttons, links, icons and other components.

Which issue(s) this PR fixes

Fixes #2302

Special notes for your reviewer:
Release note:
release-note

Great job!


Issue in displaying pickerdailog in fragment

hello,i have tried this code
Calendar now = Calendar.getInstance(); DatePickerDialog dpd = DatePickerDialog.newInstance(   MainActivity.this,   now.get(Calendar.YEAR),   now.get(Calendar.MONTH),   now.get(Calendar.DAY_OF_MONTH) ); dpd.show(getFragmentManager(), "Datepickerdialog");
in my fragment,since we need to change the context where in the above code passes MainActivity.this,i also tried with this code.
Calendar now = Calendar.getInstance();                 DatePickerDialog dpd = new DatePickerDialog();                 dpd.show(getFragmentManager(), "Datepickerdialog");
this code displays the dailog but its interface doesnt get called when picking a date range
i have also tried passing getActivty() and getContecxt() but none works,please help

voila it simply worked by using this code
Calendar now = Calendar.getInstance();                 DatePickerDialog dpd = DatePickerDialog.newInstance(                         nameOfMyFragment.this,                         now.get(Calendar.YEAR),                         now.get(Calendar.MONTH),                         now.get(Calendar.DAY_OF_MONTH)                 );                 dpd.show(getFragmentManager(), "Datepickerdialog");             }

Ensure your Fragment Class implements DatePickerDialog.OnDateSetListener
eg

java
public class DashboardFragment extends Fragment implements DatePickerDialog.OnDateSetListener {


explorer: blocks having real transactions are not available

Probably something goes wrong in processing such blocks

Looks like only the coinoutput from the genesis transaction is missing

https://github.com/rivine/rivine/commit/4227004de97ab011be037bbfe7c89781f275a8c0


Update plugin-bearychat.yml

Description
Plugin repo in BearyInnovative organization:
https://github.com/bearyinnovative/jenkins-bearychat-plugin
Plugin repo in JenkinsCI organization:
https://github.com/jenkinsci/bearychat-plugin
@yuanbobo please approve this permission .

Submitter checklist for changing permissions

Always

[x] Add link to plugin/component Git repository in description above

When adding new uploaders (this includes newly created permissions files)

[x] Make sure to @mention an existing maintainer to confirm the permissions request, if applicable
[x] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[x] All newly added users have logged in to Artifactory at least once

I agree it. shonenada is our team member. cc @orrc

@yuanbohan Does @shonenada need write access to the Git repository as well?

@daniel-beck yes, he will be the maintainer.

Thank you both, @yuanbohan @daniel-beck.

Granted @shonenada commit access.

Thank you @daniel-beck .


Add support for bulk insert

Hibernate offers insert statements which is very nice for batch operations. I already programmed an addition which will also allow to use the RETURNING clause. Combining the rich criteria API for selects with insert statements works like a charm and reduces roundtrips.

This might help: http://blog.jooq.org/tag/insert-returning/

Note that when implementing CTEs with inserts, in oracle have a custom syntax: http://stackoverflow.com/questions/24008316/insert-into-from-cte

Hibernate implementation is finished. Haven't started with Datanucleus yet, but it should be doable.

Follow ups are https://github.com/Blazebit/blaze-persistence/issues/184 and https://github.com/Blazebit/blaze-persistence/issues/185


Typing performance is laggy for long sentence with hyperlinks

VSCode Version:1.2.1
OS Version:Window 10

This seems very odd.
Steps to Reproduce:

Create an empty file (just blah.txt) and paste in the follow Markdown sentence:

For debugging other languages and runtimes (including [PHP](https://marketplace.visualstudio.com/items?itemName=felixfbecker.php-debug), [Ruby](https://marketplace.visualstudio.com/items?itemName=rebornix.Ruby), [Go](https://marketplace.visualstudio.com/items?itemName=lukehoban.Go), [C#](https://marketplace.visualstudio.com/items?itemName=ms-vscode.csharp), [Python](https://marketplace.visualstudio.com/items?itemName=donjayamanne.python) and many others), please look for `Debuggers` [extensions](/docs/editor/extension-gallery.md) in our [VS Code Marketplace](https://marketplace.visualstudio.com/vscode/Debuggers) extension.

Now type words anywhere in the sentence.  The typing performance is laggy and ackward.
Typing elsewhere in the file feels responsive.

Keyboard navigation is also slow in the sentence.

@gregvanl I am not seeing this slowness. Can you please profile and attach the CPU profile trace. Here I am doing it:

F1 > Developer tools
Profile tab
Start profiling
Do the typing or whatever causes slowness
Stop profiling
Save the cpu profile

It would be preferable if you could do this in a dev environment such that the function names are not all garbled, but I would take it anyways :). Anything to help me repro.

@gregvanl Do you have a laptop with a touchscreen?

Closing after a number of days without a reply.


Add zenodo config

The Zenodo configuration file automatically configures the Zenodo metadata for the software entity publication.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 51.111%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
799

Relevant Lines:
1491

💛  - Coveralls


Autoslim on mmsegmentation models example?

Describe the question you meet
Can autoslim be used on mmsegmentation models like pspnet or segformer? I can't find search_mmseg.py in dir tools/mmseg like search_mmcls.py in dir tools/mmcls
Do you please offer some more prune method or detailed examples ?
Thanks!

Currently， pruner only supports CNN-based models.
We have not verified the performance of AutoSlim on segmentation, and we will release related settings after verification.

Thanks for your reply!

Due to a lack of manpower, the progress of transferring AutoSlim to other tasks is not very satisfactory.
We are reproducing BigNAS, if it goes well, we will release the BigNAS example on semantic segmentation in June


update text module to v0.3.8 due to DoS vulnerability

The golang text module version we were using is vulnerable to a DoS attack, as explained in
https://github.com/LightBitsLabs/discovery-client/security/dependabot/1. Fix it by upgrading the text module.
Issue: LBM1-29010

retest this please

retest this please

Approved offline by @ronen-lb , merging


Developed .html files and tests for method element(final By locator).

issue #12
test for method element(final By locator).

@vefimofff I fixed and pushed.


multiple issues flashing

It seems pyupdi is very broken at the moment, various errors like "UPDI not OK - reinitialisation required", "AttributeError: 'UpdiApplication' object has no attribute 'progmode'".
I managed to find an older copy of this program, and added manually the changes for reading fuses/more devices.
Sadly, it seems mraardvark seems to have little time, and I cant really figure out which changes made the bork.
I hope mraardvaark is OK ?

Über-apologies for the mess.  I am quite alright... just the norwegian summer is too short, intense, and this year beautifully warm to sit in and fix this mess :/


more info about -mux option

Hi, I have a question about mux option. If I consider the value of mux as 100, does it mean that I can only have 100 connections or does it mean that if I reach 100 connections, a new physical connection will be created for the 101th-200th connection?

https://www.v2ray.com/en/configuration/mux.html

https://www.v2ray.com/en/configuration/mux.html
Max number of multiplexed connections that one physical connection can handle at a time

I read this but there is no explanation about whether new connections are made or not? Just saying, this number specifies the capacity of a physical connection.
However, now on my server, I have set the mux value to 80, but the number of connections created is 170, so I think that a new physical connection will be created when it reaches the maximum. Please let me know if it is true.

@AaronChen0

https://www.v2ray.com/en/configuration/mux.html
Max number of multiplexed connections that one physical connection can handle at a time

I read this but there is no explanation about whether new connections are made or not? Just saying, this number specifies the capacity of a physical connection.
However, now on my server, I have set the mux value to 80, but the number of connections created is 170, so I think that a new physical connection will be created when it reaches the maximum. Please let me know if it is true.
Thank you.

Hi Mas.,
As far as I know, the mux value refers to the capacity of a physical connection. So when the capacity is reached, another physical connection is created to service the extra virtual connections. Basically, what you said is right.


Remove preinstall script

Remove preinstall script.

coverage: 100.0%. remained the same
when pulling 5d140e572c0e36c286fa849220dbb72a5c88e9f4 on remove_preinstall_script
into 2028c9c3acf3a524cfc50df91490dee35f833e08 on master.