Make sure Google Analytics is working

I had to rewrite the ReactGA setup to work with React Router V4. I found a solution online and implemented this into the refactor/upgrade-react-router branch (will also be in develop when merged), but have not been able to test this. Will need to double-check this before going live.

Sharing this bookmark that has possible solutions if we find out this isn't working as intended.
https://github.com/react-ga/react-ga/issues/122

The RR4 migration is now in develop so this will need to be tested there

https://github.com/react-ga/react-ga/wiki/React-Router-v4-Redux-Middleware

I have added the tracking ID and verified that it is working in Google Analytics.


Hi,clear method is not working when I submit form by ajax.

The clear method of this plugin is not working. Because, when i use this method it didn't do clean operation but just create a new instance above the previous instance. It is my code ：
$.ajaxFileUpload({
type: "POST",
url: "generateGreyLicense",
dataType: "json",
secureuri: false,
fileElementId: ['licReqx'],
data: params,
success: function (data) {
$(":file").filestyle('clear');
}
});

This plugin does not support bootstrap-filestyle so far due to the change of the input file element.


Legend spinner goes on and on

Saw this during Will's NCEAS roundtable. I thought I put a timeout on that...

Saw this happen again today on Will's machine. Might be related to Esri services?


Build Row key from entity UID and columns IDs

React should invalidate cached rows after order of columns is changed.
Fixes problem with table crashing with:
"Rendered fewer hooks than expected. This may be caused by an accidental early return statement."
Steps to re-create problem:

go to Provider list page
in column Management Dialog hide actions column (last column without label)

Codecov Report
Base: 37.67% // Head: 37.72% // Increases project coverage by +0.05% :tada:

Coverage data is based on head (88de9ba) compared to base (4d82fb3).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #96      +/-   ##
==========================================
+ Coverage   37.67%   37.72%   +0.05%
==========================================
  Files          72       72
  Lines        2426     2428       +2
  Branches      649      649
==========================================
+ Hits          914      916       +2
  Misses       1400     1400
  Partials      112      112

Impacted Files
Coverage Δ

pkg/web/src/app/queries/mocks/providers.mock.ts
100.00% <ø> (ø)

src/components/TableView/TableView.tsx
95.65% <100.00%> (+0.41%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Offset setting from HA

When trying to set offset with:
select.ariston_ch_fixed_temperature
There is an error poping up and rhis parameter won't change.

I have made a temporary fix for this, you can check at my forked repo here:
https://github.com/pouzak/ariston-remotethermo-home-assistant-v2/tree/ch_fixed_temperature_fix
Also I'm planing to add some additonal sensors/selects for heat pumps, like resistors state (already added to 'more_sensors' branch), dhw boost, queit mode and etc.


Extremely slow performance / freezing Neovim

Describe the bug
I'm seeing extremely slow performance inserting ([ around line 150 in a ~1600 line file. It takes ~20 seconds for the [ to insert. 😵
Steps to reproduce

Open https://github.com/rouge8/jit.rs/blob/2a3e5dbc7d603f465c1f3083c655613d9a69b87d/tests/merge_test.rs#L147
After line 147, type let tree = BTreeMap::from([
Wait ~20 seconds after typing the [ before it appears.

Expected behavior
Text should insert instantly.

I can't reproduce this:
https://user-images.githubusercontent.com/36493671/143666498-da804aac-cf62-40c1-a767-81ee3ab9895c.mp4

I even tried downloading the entire project, it inserts instantly

(I do have rainbow enabled there, they are all different shades of blue/grey)

Interesting, it must be an interaction between plugins or something… I’ll try debugging more

I can still reproduce with a minimal set of plugins:
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate', 'branch': '0.5-compat'}
Plug 'p00f/nvim-ts-rainbow'

What looks different in your recording is that you're autocompleting the ), so you're typing:
let tree = BTreeMap::from()

and then inserting the [. Admittedly that still is slow for me...

And this is my Treesitter config:
lua <<EOF
require'nvim-treesitter.configs'.setup {
  ensure_installed = "maintained",
  ignore_install = {},
  highlight = {
    enable = true,
    disable = {"rst"},
    additional_vim_regex_highlighting = false,
  },
  rainbow = {
    enable = true,
    extended_mode = true,
    max_file_lines = nil,
  },
  matchup = {
    enable = true,
  },
}
EOF

I can reproduce this when I disable https://github.com/jiangmiao/auto-pairs

fwiw you can get around this without an autopair plugin by inserting the closing bracket first

This might be related to https://github.com/steelsojka/pears.nvim/issues/11#issue-864786260


Update algorithms options

Some algorithms don't run in-place, so it doesn't make sense to "visualize" them. I need to check if it is possible to do the sorting in-place, otherwise remove it from the list to be selected.

@LucasPilla i could give it a try if its ok

Sure!

@LucasPilla if you still need more people, I'd love to give this a shot as well.

@zen1405 I dont know what @shivamAmrutia has done so far, but you could help as well.
I think its better if you comment here on which algorithms you are working.

Hey @LucasPilla . can you assign this to me?
Thanks,
Ven

Hey @LucasPilla would like to work on this. @raghavaraghav3 let me know if I can help with anything.

Hello @LucasPilla, I'm new to open source & would like to work on this. @raghavaraghav3 let's work & learn together if you're comfortable.

Hi, I am new to open source. I am interested in working on this. can you assign it to me. lets learn and work

Hi, can I try this issue if it is still available to contribute to?

Hi, I would love to contribute to this issue.

Hey @skbedi, this issue has been completed. Feel free to contribute with other issues or open an issue if you have some idea. I will open some issues as well, you can contribute to them if you wish.


[New Practice Exercise]: Dnd Character

For #48in24, the Crystal track missing a few exercises, we would appreciate contributors to help out with implementing exercises.
#✅ Getting started
Before you start, write a message in this issue that you like to claim the issue.
Docs
This doc do you have to read first, if you are a first-time contributor:
How to use the Crystal track generator
General information about how to implement practice exercise
Here are some documents that might be useful (not mandatory to read):
Contributing to Exercism | Exercism and GitHub | - Contributor Pull Request Guide
What are those Weird Task Tags about?
Exercism Formatting and Style Guide
Exercism Markdown Specification
Reputation
Start
Fetch configlet by:
bin/fetch-configlet

Then
bin/configlet create --practice-exercise dnd-character

Read problem spec canonical data, then look at already written test_template.ecr, which can be found under most practice exercises .meta folder.
Then write a template, to test if the template works you can just (this requires Crystal to be installed):
bin/generator.sh dnd-character

After that should the spec file be updated if not an error should have been raised which may or may not have to be solved.
Then you just write a solution and put that in .meta/src/example.cr, then make a stub file in src/<exercise_name>. Then in config.json of the exercise add your GitHub username and you just push and your pr is ready for review.
Got stuck?
No problem, we are here to help, just drop a comment in the issue with what you need help with.

Going to have a look at this 🙇

FYI, I think the first link (How to use the Crystal track generator) in your issue template is broken. Should it be:  https://github.com/exercism/crystal/tree/main/document-generator?

FYI, I think the first link (How to use the Crystal track generator) in your issue template is broken. Should it be: https://github.com/exercism/crystal/tree/main/document-generator?

Thanks! Can you make a PR to fix this?


[C++] Describe Result and ARROW_ASSIGN_OR_RAISE

Confusingly RAISE does not raise an exception

Also describe what compilers/warnings are needed to get the compiler to warn/error if you drop a Status or Result on the floor


Add support for xlsx and pdf downloads

See downloads

[x] xlsx
[ ] pdf

you can do xlsx like this:
`    ui.tags.script(type="text/javascript", src="https://oss.sheetjs.com/sheetjs/xlsx.full.min.js")
 async with TabulatorContext("tabulator") as table:
      table.trigger_download("xlsx", "data.xlsx", {"sheetName":"sheetName"})

`

@j0bekt01 Yes, this is already implemented with use_sheetjs as shown in this example.
Issue is still open because of the pdf support. Maybe I will split the issues.


Add support for podman and streaming images from read-only registries with some other artifact storage.

This PR does a few things:

Adds support for podman by porting the store/fs.go file (and dependencies) from the stargz-snapshotter into the soci-snapshotter and hooking it up to a new binary that was added, the soci-store.
Adds a hook that makes the snapshotter attempt to retrieve artifacts from the local filesystem before the local OCI store and remote container registry. This is used in our set up to support streaming images from registries that we can't write to, the executor will fetch the artifacts elsewhere and store them in the right place locally.
Adds a hook that looks up the image-to-index mapping from the local filesystem before the remote container registry. This is, again, used to support streaming images from registries that we can't write to. Note that the mapping is from the hash of the image's config which changes when the image contents change, not its tag which may not change.

This is pretty similar to the version of the soci-snapshotter we have running in production now, though I rebased it to the awslabs/soci-snapshotter head and cleaned it up a bit.

FYI diff is much more reasonable if you compare the store/ files against their stargz-snapshotter counterparts.


[Improvement]: Optimize the final tarball to keep it within the specified size for 0.7

Search before asking

[X] I have searched in the issues and found no similar issues.

What would you like to be improved?
Currently the final tarball is too big to upload for apache release, we need to optimize the final tarball to keep it within the specified size for 0.7
How should we improve?

make plugin optional
make paimon jar optional

Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Subtasks
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

this issue has been resolved by #3304


Initial OracleLinux 7.x support

This adds support for OracleLinux.
Mosty it's a case of doing the same as RedHat but we install docekr from the Oracle Yum Repos.

OK I believe I've sorted the CNCF via my Employer.

@garthy  Is OracleLinux a custom operating system based on centos?

OracleLinux is based on RHEL[1] but with extra pacakages in including docker and newer kernels provided called UEK[2] based on newer mainline Linux kernel versions but having 100% compatibility with RHEL.
[1] - https://en.wikipedia.org/wiki/Oracle_Linux
[2] - http://www.oracle.com/technetwork/server-storage/linux/technologies/uek-overview-2043074.html

/needs-rebase
pls rebase and fix merge conflicts.


added net7.0 target framework and sdk version in global.json

Done! In the latest commit see that net6.0 has been removed.  Thanks for the feedback!


Error in battle_city.py

Traceback (most recent call last):
File "C:/Users/User/Downloads/Compressed/AirGesture-master/battle_city.py", line 12, in
tf.flags.DEFINE_integer("width", 640, "Screen width")
AttributeError: module 'tensorflow' has no attribute 'flags'
Need helps....asap !

The issue seems to be that the code is built against tensorflow v1. If you are using Tensorflow V2, you'll get this error. Apparently Tensorflow has a tool for upgrading old Tensorflow code but I'm having trouble running the tool.
Tool details can be found at https://www.tensorflow.org/guide/upgrade . Let me know if you come right with the tool as I'd love to get it working on my side.


提问

pprint(spider.search_video(input('')))
输入内容带有loli，就会崩溃
loli
lolita
萝莉
咯哩
洛丽塔
等等

Traceback (most recent call last):
File "", line 1, in
File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydev_bundle/pydev_umd.py", line 197, in runfile
pydev_imports.execfile(filename, global_vars, local_vars)  # execute the script
File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/pydev_imps/pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "/Users/line/PycharmProjects/untitled/BaiduSpider-master/sousuo.py", line 11, in
pprint(spider.search_video(input('')))
File "/Users/line/PycharmProjects/untitled/BaiduSpider-master/main.py", line 629, in search_video
pages = wrap.findAll('a', class='filter-item')[1:-1]
AttributeError: 'NoneType' object has no attribute 'findAll'

Traceback (most recent call last):
File "", line 1, in
File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydev_bundle/pydev_umd.py", line 197, in runfile
pydev_imports.execfile(filename, global_vars, local_vars)  # execute the script
File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "/Users/line/PycharmProjects/untitled/BaiduSpider-master/sousuo.py", line 11, in
pprint(spider.search_video(input('')))
File "/Users/line/PycharmProjects/untitled/BaiduSpider-master/main.py", line 636, in search_video
'total': max(pages)
ValueError: max() arg is an empty sequence

我只找到这一个关键词

谢谢，我一会看一下

这个bug已经修复了，可以clone最新的commit查看，谢谢提出！


multi-language support?

I have tried your project for "普通话". It appears a result that generator will skip the num when the input text mix up with Chinese character and number. For example, "台风奥马尔是继1976年的台风帕梅拉以来吹袭关岛的最强台风"， it will skip ”1976“ in ”.wav“.  How can I  add '1976' prounce in result?

@zfxSteven  I did not handle the numbers for Mandarin. One way to solving this problem is directly changing the Arabic numbers in your texts to Chinese letters. If you wish to solve this with programming rather than handcrafting you can check numbers.py to see how the numbers are handled in the preprocessing script for English.


feat: fedimint-cli module wallet check-address and gateway-cli check-address

We need a way to check peg-in address manually from CLI for both of them.

Assigning to myself, but if someone from @fedimint/lightning wants to do at least the gw part, it might be much easier for them.


Include a zpk2tf function

As it stands, a function that takes zeroes, poles, gain into numerator, denominator transfer function coefficient arrays only lives in scipy.signal or can be imported from control.matlab, and used to create a transfer function my_tf as follows:
my_tf= tf(*zpk2tf(...))
Why not instead can python-control have a method that directly takes zeroes, poles, gain into a transfer function, i.e.
my_tf=zpk2tf(..)?

Hi @ovega14 I agree it would be very nice to have this functionality outside of the matlab module.
Its not clear to me how we could implement that functionality inside TransferFunction because the three-argument case is already taken by TransferFunction(num, den, dt). Might be possible to include a keyword to make it explicit like TransferFunction(zeros, poles, gain, [dt,] usezpk=True), but implementing that logic seems like it would be awkward.
Probably most expedient is to just move the import of scipy's zpk2tf' (and might as well bring in zpk2sswhile you're at it) into theLTI` module rather than the matlab module, and then they will be available everywhere, including the matlab module.
This might be an opportunity to also invent a more pythonic additional long name for them as well, e.g. zero_pole_gain_to_tf, but they are so apt and convenient I am not sure that is necessary.
Feel free to contribute a pull request.

Whoever takes on implementing this should make sure that zpk2tf and zpk2ss eventually create a NamedIOSystem, versus a lower level TransferFunction or StateSpace object.  That will allow the output system to be compatible with the I/O system functionality (including named input/output signals for connecting things together).  A diagram of the dependencies can be found here.

Should we import zpk2tf and zpk2ss from scipy into the LTI module? If so, then these functions will not directly return a NamedIOSystem, nor a TransferFunction or StateSpace object. As a reminder, these functions return numerator and denominator coefficient arrays of a transfer function given zeroes, poles, and gain. Should we then redefine the two functions (zpk2tf and zpk2ss) to conform to this expected python-control behavior?

Yes functions in the control namespace should return a python-control conforming system. Hence @murrayrm's request to return NamedIOSystem. This requires a wrapper rather than a simple import.


[QUESTION] Removing Leaning Pathways

WEB PART NOT LOADING: If you are getting the error: "Microsoft 365 learning pathways has a configuration issue. Ask your administrator for assistance". Please review the Diagnosing Pre-Check guidance before submitting your bug.

Submit your question
We're planning the installation of Learning Pathways for our tenant.    If we decide not to use Learning Pathways and we abandon it, is there a way to remove it from the tenant entirely?     Do we just delete the site collection?
What is the context of your question

[X ] Installation
[ ] Learning Pathways Content
[ ] SharePoint Success Content
[ ] Administration
[ ] Custom Content
[ ] Viewer Web Part

What is your question

Provide related screen-shots to help us understand your question

Closed due to inactivity. If this is still an issue please create a new ticket and reference this one.


Eq.7 in the paper

Hi, thanks for you excellent work. I noticed a potential typo error in Eq.7. Given F_\theta denotes a Denoiser (w.r.t. x_t) formulated by one-step DDIM sampling, should x_{\pi, t} be corrected as x_{\pi} in Eq.7? Looking forward to your reply, thanks.

Hi. Yes, you are right—it is a typo. It should align with Table 1. Thank you for your correction.


Fix missing env

Prevents missing .env files from breaking both iOS & Android.
This is happening in our Ignite project which is a boilerplate for React Native.  We want .env to live in .gitignore which means, we'd have to write a script to automatically generate this file.
Which is problematic because it wouldn't run on git pull.
Related:
https://github.com/luggit/react-native-config/issues/7

Hey, please merge this!

Looks great, thank you! :+1:


Does this still work?

Hi,
I'm running this on a mac with php 5.6 in a terminal.
I'm trying a basic example to get a list. I get the first print_r response containing the object. But nothing returns from send call. No errors either.
Thanks,
Jamie

@jamoir can you show me a sample of your code?

createRequest(RightmoveADF::GetBranchPropertyList);
//set the details for the request
$objRequest->network->network_id = NETWORK_ID;
$objRequest->branch->branch_id = BRANCH_ID;
//$objRequest->branch->channel = Frozensheep\RightmoveADF\Values\Channels::Lettings;
print_r(json_encode($objRequest));
//send the request
$objResponse = $objRightmoveADF->send($objRequest);
print_r($objResponse);
?>
This outputs the json object fine, but not the
config is this
//full path to the PEM certificate
define('CERT_FILE', '~/Desktop/Work/GIT/emp/portal_uploader/source/certificates/estatemagictest.pem');
//the password
define('CERT_PASS', 'Bfsdsdsdy');
//the network ID
define('NETWORK_ID', 10175);
//the brand ID
define('BRAND_ID', 1234);
//the branch ID
define('BRANCH_ID', 176435);
//the a property REF
define('PROPERTY_REF', 'PROP_1’);
Thanks,
Jamie
On 7 Nov 2017, at 19:15, Georgios Panayi <notifications<EMAIL_ADDRESS>wrote:
@jamoirhttps://github.com/jamoir can you show me a sample of your code?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/giwrgos88/rightmove-adf/issues/1#issuecomment-342590658, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AC05rYPBRDMTxkCYMJfLslTTQcbgdWRHks5s0KxFgaJpZM4QVSN_.

I've just tried this on my live ubuntu server. And it worked! So not sure what is going wrong locally on my mac.
Are there any other requirements I should know about?

Hi,
I've resolved this now.
First off I enabled verbose debugging. Something that should probably be mentioned in the test example and initial docs. Very useful!
$objResponse = $objRightmoveADF->send($objRequest, '', true);
This then told me the cert wasn't the right one.
On the mac you need to use the P12 cert and on linux the .pem one works.
Also to make matters harder, the right move test server had crashed so it was working and then stopped so completely baffled me during the testing of this. Their support is good and fast though.
Awesome library guys, works very well.
Thanks,
Jamie

@jamoir I used the pem that rightmove gave me, but it was 2 years ago, I don't know if they changed anything since then, but I don't think is the pem the issue. It will be good to debug your code to see what the error is

@jamoir I used the pem that rightmove gave me, but it was 2 years ago, I don't know if they changed anything since then, but I don't think is the pem the issue. It will be good to debug your code to see what the error is


Add .factorypath to .gitignore (Visual Studio Code)

Visual Studio Code makes use of additional files in its project definitions.
It would be useful to add these to .gitignore to make it easier for anyone using this tool/ide

this is already done


mds: initial pr for mds support

This should add the initial MDS support required to start scraping the critical MDS metrics. This change specifically surfaces the daemon state that we can alert on and/or track changes across.

Looks good to me, but gonna give others time to review cuz it's a larger piece of code


prompt_nvm:6: command not found: node

Hey guys.. Just downloaded/installed this theme and I likely did something wrong.  I'm getting the above error after any and every command.  The commands complete correctly, but this error is appended at the end each time.
10:36:19  bhart@Vostok  ~/.oh-my-zsh/custom  ⬡    master ✔ 
$ cd ~/
prompt_nvm:6: command not found: node
10:36:24  bhart@Vostok  ~  ⬡  
$ ls
Bitlocker.zip       'Google Drive'  Pictures          wcidff.rst
Desktop             Groups          Public            windows10_work.vmdk
Documents           logs            'SpiderOak Hive'  wireless-info
Downloads           'mac mini'      Templates         wireless-info.tar.gz
'GNTC\Groups'       Music           Videos            wireless-info.txt
'GNTC\Groups.kdbx'  openvpn         vm_share
prompt_nvm:6: command not found: node

Ah nevermind guys.. This is what I get for not searching before I created this issue.  Identical to: https://github.com/caiogondim/bullet-train.zsh/issues/192


README needs to link to publication of aircraft model

drop in link to https://www.mitre.org/publications/technical-papers/derivation-of-a-point-mass-aircraft-model-used-for-fast-time

Done. Will be available in the next release.


migrate kraken.upgrade

update files in kraken.upgrade to reflect new configuration file

this is blocked at the moment because the k2recon branch of k2 doesn't include these files.

attempt to use git checkout --patch
this will merge files to the currently checked out branch

PR was merged


feat: use node 16.x

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Change member index to person index

Fix error message for add member command

Codecov Report
Base: 48.65% // Head: 48.65% // No change to project coverage :thumbsup:

Coverage data is based on head (c5c9858) compared to base (b15d4d6).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #204   +/-   ##
=========================================
  Coverage     48.65%   48.65%
  Complexity      578      578
=========================================
  Files           151      151
  Lines          2758     2758
  Branches        362      362
=========================================
  Hits           1342     1342
  Misses         1302     1302
  Partials        114      114

Impacted Files
Coverage Δ

...seedu/address/logic/commands/AddMemberCommand.java
13.33% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Improve UI of website

Description
Improve UI of whole website in multiple PRs
Screenshots
No response

I would like to work on the navigation bar and a few styling regarding the home page.

I would like to work on this issue, please assign it to me

Should we allow multiple people to work on this issue? @arpit456jain

yes it would be better if multiple people do small contributions , so as to get an amazing output

No @KKhushhalR2405 assign them one by one and this should be one single issue for UI
Give them 3 to 4 days otherwise assign issue to next one

@srinjoy-26 go ahead

@srinjoy-26 any updates ??

Sir I will make a pr day after tomorrow
On Sun, 27 Mar 2022, 20:00 Arpit Jain, @.***> wrote:

@srinjoy-26 https://github.com/srinjoy-26 any updates ??
—
Reply to this email directly, view it on GitHub
https://github.com/arpit456jain/CodingEasy/issues/204#issuecomment-1079943350,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVXTY53HQK3QLZ2KVKPEGT3VCBWJNANCNFSM5RBLVREA
.
You are receiving this because you were mentioned.Message ID:
@.***>

@srinjoy-26 any updates ??

Sir assign someone else , I am unable to figure out the files in the project , its getting very complex.

@Manik-Aggarwal r u interested

Yes

I would like to work on this issue under GSSOC'22

@Manik-Aggarwal
Please update the status of your work

@Anjuli08
What change you will be working on?
Please specify, so that we can assign you.

I can work on the navbar and CSS of the home page if no changes are done on it yet

@Anjuli08 go ahead

I would like to work on this issue

@ishashukla183
Please specify what changes you would add?


Geeting Error Failed to create thread

Description
Geeting Error Failed to create thread.
Exception: Failed to create thread: No error (0) StackTrace:    at Confluent.Kafka.Impl.SafeKafkaHandle.Create(RdKafkaType type, IntPtr config)
at Confluent.Kafka.Producer..ctor(IEnumerable1 config, Boolean manualPoll, Boolean disableDeliveryReports)    at Confluent.Kafka.Producer2..ctor(IEnumerable1 config, ISerializer1 keySerializer, ISerializer1 valueSerializer, Boolean manualPoll, Boolean disableDeliveryReports)    at Confluent.Kafka.Producer2..ctor(IEnumerable1 config, ISerializer1 keySerializer, ISerializer`1 valueSerializer)
How to reproduce
My app is hosted in ISS where on class publish and consume on different threads. This class is exposed through API.
We are hitting this API 300 times with 3 second delay.
Checklist
Please provide the following information:

[ ] Confluent.Kafka nuget version: "0.11.3"
[ ] Apache Kafka version:
[ ] Client configuration:
[ ] Operating system: Windows app hosted in IIS
[ ] Provide logs (with "debug" : "..." as necessary in configuration)
[ ] Provide broker log excerpts
[ ] Critical issue

librdkafka is apparently failing when attempting to create a thread. I don't know why this would occur. I'm not that familiar with IIS, but you could try tweaking parameters related to threads, though I would have guessed you can only control the number of request handling threads (and i don't know how this would affect the ability of librdkafka to create and manage threads, unless you're running into OS limits, but that doesn't seem likely).

I don't have more insight on this without reviewing code - i'm wondering if you're doing something that would result in many producers/consumers getting created and not disposed. closing since this is old and i've not seen this issue anywhere else, but feel free to re-open with more details if this is still a problem.

Thanks for reply. Problem had solved. I was creating too many producer. I changed my code and use one producer to post my data in different topics.


[ERROR] HAPPE - ERROR - write sample information to excel file

Dear HAPPE Team:
I got the error as below,  May you give me some suggestion? Thank you so much
(Python3_6) HAPPE -v 2023NKSC_F1reseq_allele2_maf0.05_DP20_missing0.9.recode.vcf.gz -g config.ini -c NKSCsample.color -i NKSCsample_inf.tsv -o ./HAPPE
[2023-03-06 21:11:02,529] - HAPPE - INFO - deal args.
[2023-03-06 21:11:02,529] - HAPPE - INFO - Filter samples and variants.
[2023-03-06 21:11:02,531] - HAPPE - INFO - convert file format.
[2023-03-06 21:11:04,243] - HAPPE - INFO - hierarchy clustering.
cluster min and max: 1 29
[2023-03-06 21:11:06,848] - HAPPE - INFO - read snp information file.
[2023-03-06 21:11:06,848] - HAPPE - INFO - calc out the snp_info_row_num = 7.
[2023-03-06 21:11:06,848] - HAPPE - INFO - plot tree to excel file.
[2023-03-06 21:11:09,489] - HAPPE - INFO - get sample information start col and get sample order.
[2023-03-06 21:11:09,496] - HAPPE - INFO - write sample information to excel file.
Traceback (most recent call last):
File "/home/hsiang/miniconda3/envs/Python3_6/lib/python3.6/site-packages/HAPPE/sampleinf2excel_V2.py", line 97, in
color_fill = PatternFill(fgColor=color_d[sample], fill_type="solid")
KeyError: '6_9'
[2023-03-06 21:11:10,120] - HAPPE - ERROR - write sample information to excel file -- retrun code:256

Hi,
According to the error message, it seems that the sample "6_9" is not in the file you provided with the -c option, please refer to the example for sample information preparation: https://github.com/fengcong3/HAPPE/tree/main/example/data/02.sample_information
Best,
Cong Feng

As there hasn't been any recent activity, I am going to close this issue now.


Deprecation plans

Now that libsass is deprecated, what are the plans for this project ? Should it be marked as deprecated as well ?

Is there any existing or potential replacement for this gem for Rails? Currently there seems to be a problem with a long compile time (approx. 2 minutes) and this has been going on for almost 2 years. There are suggestions for solutions like amalgamate or shipping precompiled , but from what I can see they are not merged and updated for a long time.
https://github.com/sass/sassc-ruby/issues/132
https://github.com/sass/libsass/pull/2979
https://github.com/sass/sassc-rails/issues/152
https://github.com/sass/sassc-rails/issues/151
https://github.com/sass/sassc-ruby/issues/189#issuecomment-758327172

libsass is deprecated, but Dart Sass is still alive and well. I also noticed that Dart programs can be compiled to native executables. Perhaps sassc-ruby can be distributed with precompiled Dart Sassc binaries? (In the same way that wkhtmltopdf-binary is distributed with precompiled binaries?)

@cyclotron3k sassc-ruby does not use the sassc executable. It uses the libsass C library through FFI.
The replacement will more likely be dart-sass-embedded, for which a Ruby host is in progress at https://github.com/ntkme/sass-embedded-host-ruby

@stof any idea on how use this gem in the assets pipeline?

Now you can use sassc-embedded as a drop in replacement for sassc.
See https://github.com/sass/sassc-ruby/pull/233 for details.

I think https://github.com/rails/dartsass-rails is the official replacement from Rails' point of view.

I think https://github.com/rails/dartsass-rails is the official replacement from Rails' point of view.

The rails team is moving away from sprockets. Doing so comes with the cost of missing features, such as custom sass functions in Ruby that many existing projects rely on. The purpose of the shim is to help existing projects to migrate.
For new projects, it will be up to the developer to pick whatever fits, but I see a lack of maintenance from the dartsass-rails project. The sass-embedded gem is updated with everytime dart-sass release, but the dart-sass binary in dartsass-rails hasn't been updated in the past 7 month.

I've have made a PR which merge's @ntkme 's dart-sass shim code into this repo. The code on that branch is now being used successfully at TableCheck and Discourse in production I believe.
I'd like to propose to nominate new maintainers for this gem so that we can continue to support it. I'm willing to be an interim maintainer if no one else is available.

@johnnyshields do you plan to keep updating your current dart-sass branch? I'd convert it to a full fork, with open issues, and merge it to your main branch and start telling people to use it.

OK I'll handle that today. Thanks!

dartsass-ruby gem is released! 🎉

Looks like we also need to fork sassc-rails. I'll get on that now.

Here is my comment from a different but similar issue regarding the effort of replace sassc completely with my shim:
TL;DR: If you care about the experience, please directly integrate with sass-embedded or ask the dependency you use to do so. I would encourage the community to contribute such integration in other projects.
The main problem is that many apps have sassc as dependency in gemspec and require 'sassc' in dependency code that they don't have any control over. This means you really have to fork every single project using sassc just to replace the sassc dependency in gemspec.
There are quite a few other issues. Dart Sass made the decision to revamp the importer behavior and which is very different from sassc. In Dart Sass, an @import or @use directive will strictly map to only one file, whereas in sassc, it used to be possible use glob like @import 'modules/*' to import multiple files. In order to support this, sassc-embedded uses a custom importer that generates an intermediate stylesheet to import all the files resolved from a glob pattern. This is not only discouraged as it defeats the purpose of the new module system (@use), and will be broken once Sass drops support of @import in the future. There are a few more things made more strict in Dart Sass that sassc-embedded  has they loosen to be compatible with sassc, for example, to allow importing files without extension name, which can be a security issue depends on system configuration. Other than importers, there's the issue with custom functions in sassc that functions are registered as globals rather than locals, leading to thread safety problems like https://github.com/rails/sprockets/pull/759, and eventually affect performance even after the fix. Not to mention no way to access keyword arguments and other new features not being supported (not possible without breaking existing code).
My take is that sassc-embedded is nothing but a stopgap solution to buy some time and let users in the ruby ecosystem migrate their Sass/Scss code to the latest Sass implementation with minimum effort.
The shim is not meant to be the long term solution, as the sass-embedded gem with the new Ruby API closely mirroring the new JS API from upstream is the future.
While it is nice to everyone else that you want to maintain an obsolete technology, promoting it as a permanent solution is just a step backward.

@ntkme

Please directly integrate with sass-embedded or ask the dependency you use to do so.

Yep, that's exactly what the new dartsass-ruby gem does.

There are quite a few other issues.

It would be good document the known issues and put it in the gem's README. Users should be aware.

While it is nice to everyone else that you want to maintain an obsolete technology, promoting it as a permanent solution is just a step backward.

From my perspective:

There needs to be a gem that provides Sass integration with Rails asset pipeline (Sprockets).
The rails/dartsass-rails gem is not a good solution, as it requires running external processes. It feels like a step backward from what sassc-rails did.
Re: the gems I've released, the only thing "permanent" is the gem's interface with Rails. The internals of the gem can be refactored if/when new Sass APIs become available.

It would be great if you could join as a co-maintainer, or I can transfer full ownership to you if you prefer. I just want a released gem that we can use today and improve in the future.

Yep, that's exactly what the new dartsass-ruby gem does.

What I meant is to completely rewrite sprockets sass integration to directly use sass-embedded. There will be a few breaking changes in terms of features, but otherwise when Dart Sass 2.0 is released the shim will no longer work and it will actually be impossible to shim at that point due to already planned breaking changed. This is nothing but buy you time before that happens.

OK, noted. Well hopefully someone can refactor dartsass-sprockets when that time comes and release it as a new major version.
Are the new APIs ready in sass-embedded today?

@johnnyshields See the documentation https://rubydoc.info/gems/sass-embedded/Sass, this Ruby API is an exact mirror of the official new JS API.

OK I understand now. Your shim adds support for SassC features that were intentionally dropped or made more strict in Dart Sass. So users will have no choice but to upgrade their SCSS files.
I will work to sunset the shim code and make it so that dartsass-sprockets connects directly to sass-embedded with as little adapter code as possible.


I am not able to step into scikit-learn functions

F11 is not working for me.

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

ID: f46b5339-857e-3398-c654-97bd9757ea44
Version Independent ID: ed197ab6-8b08-2d23-d8b5-5a85eedda590
Content: Working with Python Tutorial, Step 4, debugging - Visual Studio
Content Source: docs/python/tutorial-working-with-python-in-visual-studio-step-04-debugging.md
Product: visual-studio-dev15
GitHub Login: @kraigb
Microsoft Alias: kraigb

The Step Into feature works only when you have the source code for the function you're stepping into. By default, expect Step Into to work only for code in your own project or code in a library that's implemented in Python and not C/C++. In the case of scikit-learn, those libraries are likely implemented in C++ and so you cannot step into them using the Python debugger. It is possible to do so, however, if you use Python/C++ mixed-mode debugging and have the scikit-learn symbols present on your computer. For more information on that debugging mode, see https://docs.microsoft.com/en-us/visualstudio/python/debugging-mixed-mode-c-cpp-python-in-visual-studio?view=vs-2017 and https://docs.microsoft.com/en-us/visualstudio/python/debugging-symbols-for-mixed-mode-c-cpp-python?view=vs-2017.
I don't know if symbols are available for scikit-learn; you'll need to check its repo, https://github.com/scikit-learn/scikit-learn.

The problem is that pycharm works perfectly for me. I am honestly a pycharm user because of this.

Be sure to include that point in an issue files for PTVS; the engineering team will want to know that.


www. run demo without local media devices or w/o a secure context

Sometimes just showing the video/audio in the browser is enough.
This PR aims to connect the browser even when the system does not have a camera and microphone, or a connection without a security context is required

thank you!


Figure out why bgfx crashes inside release

For some reason bgfx crashes in here https://github.com/emoon/ProDBG/blob/master/src/native/external/bgfx/src/bgfx.cpp#L2127 and this also happens in the new upgrade being done in https://github.com/emoon/ProDBG/issues/101
By printing out some allocations in seems something wrong is being tried to be freed
make makeRef 0x7fc12ac2b710
make makeRef 0x7fc12ac2aa10
make makeRef 0x7fc12ac291c0
make makeRef 0x7fc12ac0cbb0
make makeRef 0x7fc12ac03b10
make makeRef 0x7fc12ac32370
make makeRef 0x7fc12ac03140
make makeRef 0x7fc12ac02350
make makeRef 0x7fc12ac02520
make makeRef 0x7fc12ac03030
make makeRef 0x7fc12ac02730
free memRef (0x7fc12ac2b710) releaseFn 0x0
free memRef (0x7fc12ac2aa10) releaseFn 0x0
free memRef (0x7fc12ac291c0) releaseFn 0x0
free memRef (0x7fc12ac0cbb0) releaseFn 0x0
free memRef (0x7fc12ac03b10) releaseFn 0x0
free memRef (0x7fc12ac32370) releaseFn 0x0
free memRef (0x7fc12ac03140) releaseFn 0x0
free memRef (0x7fc12ac02350) releaseFn 0x0
free memRef (0x7fc12ac02520) releaseFn 0x0
free memRef (0x7fc12ac03030) releaseFn 0x0
free memRef (0x7fc12ac02730) releaseFn 0x0
free memRef (0x7fc12c810330) releaseFn 0x7fc12c810002

Has been fixed!


Better Task Killing Logic

When scaling down, Marathon should make like a lion and cull the weakest tasks first:

Out-of-date tasks that are unhealthy or not-yet-healthy
Any out-of-date tasks
Unhealthy tasks for the current app version
Not-yet-healthy tasks for the current app version

This appears to fit with some slightly odd behaviour I was seeing.
In the case of a growing cluster, where the number of app instances was being scaled with a target of 30.  If a request was made to scale back to 1 all the the healthy instances would be killed, dropping the running instance count to 0 until one of the instances in a state of 'deploying' came online to fulfil the requirement.

We've made major improvements here.


nativelib plugin not loading

Godot version
3.5 Rc 5
System information
dont have any idea
Issue description

the nativelib addon isnt working
Steps to reproduce
i dont know
Minimal reproduction project
No response

You should report this to the nativelib addon developer, not Godot developers.

You should report this to the nativelib addon developer, not Godot developers.

the problem is only on this version of godot. then why should i report the plugin author?

There's no guarantee that a plugin, which I don't even know, would work on any Godot version. Maybe this one requires specific Godot versions. It refers to some repository which is likely one that the plugin author needs to create for specific Godot versions, and they likely haven't done so for 3.5 yet.
But that's just speculation, and most importantly: it's the plugin author's job to find out why their plugin doesn't work and if that's a plugin issue or a Godot issue, not ours.

yeah you are right. but i saw on some release that they do some changes to run this plugin.

here is an example

That's about load native libraries on Android. This has nothing to do with this "nativelib" plugin, which, again, we don't know of. There are thousands of plugins for Godot, we don't know or test all of them.

NativeLib is https://drmoriarty.github.io/nativelib/, but it's a third-party resource.


Implement a project search bar in the header

Add a quick search for projects in the header.
We should consider if we use ElasticSearch for it for autocomplete, etc.

Ideally it will float in the middle and be a bit wider than this mockup.

This will be resolved in the imbi-ui PR #5


[plugin] Allow disabling additionalProperties generation

Assume you work with an existing set of JSON files that you can't modify. If you be useful to be able to set
<additionalProperties>false</additionalProperties>

in pom.xml so the Java Object is generated without additionalProperties and without the needs to change the original JSON.

Thanks for raising this. It sounds like a really simple change, I don't see a problem with including this.

@joelittlejohn That would make it super simple to automate something like
JSON Feeds => jsonschema2pojo => Java Object => Cassandra Mapper => Save to Cassandra

Right now the Datasax's Cassandra driver complains about
Exception in thread "main" java.lang.IllegalArgumentException: Cannot find matching getter and setter for field 'additionalProperties'
	at com.datastax.driver.mapping.ReflectionMapper$ReflectionFactory.createColumnMapper(ReflectionMapper.java:230)
	at com.datastax.driver.mapping.AnnotationParser.convert(AnnotationParser.java:160)

Thanks for the fast answer!

Another benefit of doing this: at present if you use source type 'JSON' there's no way to indicate that you want to disable additional properties, so it's not possible to turn them off. With this change they could at least be turned off globally.


Api Gateway Proxy Support

I've implemented a proof-of-concept API Gateway Proxy Request -> Lambda -> Apex -> HTTP mux handler here: https://bitbucket.org/mikehouston/apex-proxy/src
The example works with Martini, but it would also work with the net/http MuxServer or anything else which provides a ServeHTTP method just as easily.
It's based on the type declarations used by this project:
https://github.com/eawsy/aws-lambda-go-net/tree/master/service/lambda/runtime/net/apigatewayproxy
Would this be something worth adding to go-apex? I'm happy to clean it up and submit it as a PR as a new subpackage.

Yeah that would be great to have! I was going to work on similar for net/http to support the apex.Handler signature so we can just apex.Handle(apex.Serve(h)) where h is just a http.Handler. Something like that

Alternatively we could keep this repo as AWS services, but have apex/proxy repo or similar. Let me know what you think there, happy to add you to the org and whatnot

Yes, I like the idea of adapting to the apex.Handler interface, that makes it a bit cleaner I think.
A separate repo would make sense as it is a slightly different style of handler - happy to work with whichever structure you prefer.

Actually in here might be fine for now since it's required anyway

What's your feeling on cloning/vendoring the event types from the eawsy project?
In order to keep this repo self-contained, it would make sense to copy them here and refer to the original project in the source and README - they are licensed under Apache 2.
At the moment they are the only non-stdlib dependency.

The request/response structs would be the same regardless of who wrote them (since they have to be) so copy/pasting those would be fine.
Not sure what's going on with their listener stuff, ours would be a little different supporting http.Handler I guess, but similar to set up the request.


[Feature Request] Please add a way to manually sort entries on the gamelist.

Issue description
Hello. I would like to ask for a way to manually sort games.
There's lot's of games tha end up in weird positions within the gamelist. Games like "The Legend of Zelda" and "Zelda II: The Adventure of Link" end up apart when, ideally, they would end up next to each other. "Blood Omen: Legacy of Kain" and "Legacy of Kain: Soul Reaver" also end up apart. The Castlevania trilogy on GBA ends up wrong. Castlevania: Aria of Sorrow appears first on the list but it was the last of the trilogy. Mortal Kombat, Mortal Kombat II and Mortal Kombat 3 also appear ou of order. There are more examples. But that could be easily corrected if a way to manually sort the entries in the gamelist existed.
So, add a way for the users to make their gameslists tidier please.

Why don’t you rename the names in the metadata with whatever makes sense to you?
The examples you give here all follow different patterns…

I just don't thinks it's aesthetically pleasing to do. I also don't think changing the name makes sense. Zelda II was called that deliberately. Renaming the game to "The Legend of Zelda II" just to launch the game and see the real title wouldn't feel right.

So, in short, I believe it's more pleasing if the name appears as it does in-game, while mainting the games organized as you would in, say, a shelf or something like that. Zelda II is Zelda II, and it comes after the The Legend of Zelda :)

Hello,
I agree that a "SORTNAME" feature would be fine.

I also use this feature extensively in my retropie build on my pi4.  I also love that batocera allows me to re-use the gamelists and artwork I spent forever building there, but was surprised to see that my gamelists weren't displaying in the order I'd hoped (Street Fighter Alpha: Warrior's Dreams after Street Fighter Alpha 2 and 3, for example).  It's more important to me to leave the names exactly as they should be than it is for them to be in the "right" order, but the  feature that retropie has allows us OCD-ish folks to have our cake and eat it two (have both titles AND order be right).  It's a bummer we can't do the same here.


Accessing executables in virtualenv path on pipenv shell

Is there currently any way of running an executable in [virtualenv-path]/bin/ automatically after pipenv forks to the subshell? For example, I'm installing awscli in a virtual environment and I'd like to setup auto-completion with aws_completer which is installed with it.
Right now it seems like PATH is being set after .bashrc is sourced. Would it be a bad idea to do the opposite? If not, I could add something like this to my .bashrc:
hash aws_completer 2>/dev/null && complete -C $(which aws_completer) aws

Setting PATH before bashrc would indeed be a bad idea. If the user has PATH manipulation in bashrc, it would override our PATH modification. This is extremely common for e.g. pyenv users, where shims are added at the very front of PATH
export PATH=~/.pyenv/shims:$PATH

If we add to PATH before bashrc, executables in virtualenv (e.g. python) would be shadowed by shims (e.g. ~/.local/shims/python), breaking the shell.


[WIP] scope between bug fix

So far this is the nicest solution that I've come up with, but it only successfully runs on mysql which isn't ideal, and is why I have the test deactivated (sqlite). I also ran locally with postgresql and failed.
As an alternative, the MySQL query that successfully runs is:
SELECT DISTINCT
	(thread_id)
FROM
	participants a
WHERE
	user_id IN(1 , 2)
AND EXISTS(
	SELECT
		1
	FROM
		participants b
	WHERE
		a.thread_id = b.thread_id
	GROUP BY
		thread_id
	HAVING
		COUNT(DISTINCT user_id) = 2
)
GROUP BY
	thread_id
HAVING
	COUNT(thread_id) = 2

but this is a beast to try and run within the scope and Eloquent. I'm just posting this here to see if anyone else has any ideas or wants to take a crack at it. I'll keep pushing tomorrow.

I've described how this issue could be solved with more "light" queries in any database engine: https://github.com/cmgmyr/laravel-messenger/issues/209#issuecomment-282402653
But it will be only good for private messaging or very small chat rooms. Otherwise participants field will be type of text and as result it wouldn't be an optimized way.

@a-komarev yeah, that's what I was trying to accomplish with the group concat and make it work dynamically without an extra column, but it doesn't work the same across db drivers. I'm still hopefully to find a dynamic solution that will work across the board without adding a bunch of complexity or more columns. Just wanted to throw some ideas out there

@a-komarev let me know what you think of the latest changes when you get a chance.
I added a new total_participants column to the Thread model, which will get updated every time there is a new participant added. My opinionated implementation also includes (soft)deleted/archived participants, which I think seems expected.
I have to do a little cleanup/de-duplication, but everything seems to be working well so far.

Nice change, @cmgmyr.
As I understand this isn't actual between scope bug fix, it's an preparation for it which will simplify query, am I right?
First what I've thought about is to rename column from total_participants to participants_count. But then I've thought that we might need to have actual participants count (without deleted ones). I like the name, but usually I prefer to have total keyword at the end to have same naming convention:

participants_count - thread actual participants count without trashed.
participants_total - thread actual participants count with trashed.

Second what I've notice that you are using string table name in migration, and it should be replaced with configurable one. And Thread model too.
Replace:
Schema::table('threads', function (Blueprint $table) {

With
Schema::table(Models::table('threads'), function (Blueprint $table) {

// And same in down migration
And replace:
foreach (Thread::withTrashed()->get() as $thread) {

With:
foreach (Models::thread()->withTrashed()->get() as $thread) {

Why are you adding new column only not for test environment?
if (App::environment() != 'testing') {

@a-komarev I'll change to participants_total but not sure about adding another one for active participants (not soft-deleted). It seems like there would be too many potential use cases to use total or active with scopeBetweenLoose and scopeBetweenStrict`. Unless those default to just active, and either pass an optional flag, or have two different scopes for total participants with soft-deleted ones. What do you think?
The if (App::environment() != 'testing') { is just to update the data in the new column, so didn't seem needed to run in testing environments. Could remove I guess.

@cmgmyr let's imagine the situation. User1 joined the group and then left from it. But when I'll try to get all the threads where User1 and User2 are participating I will get even group from where User1 has left.

I think everybody will try to get threads where user is currently participating. And getting list where user was participant earlier is much rare use case. But as you said there are many cases for total count too, so flags seems to be reasonable.

I think that the participants table adds an unnecessary complexity to the table structure. This table replaces a simple n:n pivot-table with another model and two 1:n relations.
So that you have to find the right participants for the users first instead of just asking for threads that occur in both user-thread pools with a participant/user count of 2.
So without the participants it would simple as (withCount was added in L5.3):
Thread::withCount('users')->whereHas('users', function($query) use ($userIds) {
  return $query->whereIn('id', $userIds;)
})->having('users_count', 2)->first();

How is the status of the pull request? Is there any progress?
Im using the scope to get the thread link between to users:
`
/** @var Collection $threads */
$threads = Thread::between([Auth::id(), $user->id])->get();
if($threads && $threads instanceof Collection && $threads->count() > 0) {
/** @var Thread $thread */
$thread = $threads->first();
return l10n()->route('messages.show', ['id' => $thread->id]);
}
return l10n()->route('messages.create', ['id' => $user->id]);
Is this$threads = Thread::between([Auth::id(), $user->id])->get();` working or should I add a custom scope until this pull request is merged?

Here's another approach:
function scopeBetweenStrict(Builder $query, array $participants)
{
    return $query->whereHas('participants', function (Builder $q) use ($participants) {
        $bindingsString = implode(',', array_fill(0, count($participants), '?'));

        $q->select('thread_id')
            ->groupBy('thread_id')
            ->havingRaw("SUM(user_id NOT IN ($bindingsString)) = 0", [$participants]);

        foreach ($participants as $participant) {
            $q->havingRaw('SUM(user_id = ?) = 1', [$participant]);
        }
    });
}

From this StackOverflow thread.

fixed in #359


Ct 2911 initial unit testing

resolves #8287
Problem
First cut of unit testing implementation. This will contain only minimal functionality, and will provide the base for a feature branch. This should include a new functional test directory and a few functional tests.
Checklist

[x] I have read the contributing guide and understand what's expected of me
[x] I have run this code in development and it appears to resolve the stated issue
[x] This PR includes tests, or tests are not required/relevant for this PR
[x] This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc) or this PR has already received feedback and approval from Product or DX

I've squashed this into "unit_testing_feature_branch", so this pull request will not need to be merged separately.


Update the dependency on forseti config validator

This should fix https://github.com/GoogleCloudPlatform/cloud-foundation-toolkit/issues/473.

@yukinying Would you mind rebasing/resolving conflicts?

Done.

Is there any reason validation/forseti.go clones the logic from https://github.com/GoogleCloudPlatform/terraform-validator/blob/552d8abae972f8fd0324cf003f18261fd57657ce/tfgcv/validate_assets.go#L44?
It may possibly introduce drift between repositories.

It also looks like the code is not compiling as a variable is undefined. It doesn't look like it is caused by this pull request:
deployment/api_client_test.go:10:2: undefined: runGCloud
deployment/config_test.go:124:4: undefined: runGCloud
deployment/deployment_test.go:48:4: undefined: runGCloud
deployment/deployment_test.go:106:4: undefined: runGCloud

@yukinying I'm not seeing that error - make build works for me on both your branch and master.

I checked out master and here is the result...
$ cd cli

$ make test
go test ./...
go: finding github.com/terraform-providers/terraform-provider-google v2.0.0+incompatible
go: finding github.com/terraform-providers/terraform-provider-google v2.0.0+incompatible
# github.com/GoogleCloudPlatform/cloud-foundation-toolkit/cli/deployment [github.com/GoogleCloudPlatform/cloud-foundation-toolkit/cli/deployment.test]
deployment/api_client_test.go:10:2: undefined: runGCloud
deployment/config_test.go:124:4: undefined: runGCloud
deployment/deployment_test.go:48:4: undefined: runGCloud
deployment/deployment_test.go:106:4: undefined: runGCloud
?   	github.com/GoogleCloudPlatform/cloud-foundation-toolkit/cli	[no test files]
ok  	github.com/GoogleCloudPlatform/cloud-foundation-toolkit/cli/cmd	0.269s
FAIL	github.com/GoogleCloudPlatform/cloud-foundation-toolkit/cli/deployment [build failed]
?   	github.com/GoogleCloudPlatform/cloud-foundation-toolkit/cli/report	[no test files]
?   	github.com/GoogleCloudPlatform/cloud-foundation-toolkit/cli/scorecard	[no test files]
?   	github.com/GoogleCloudPlatform/cloud-foundation-toolkit/cli/validation	[no test files]
?   	github.com/GoogleCloudPlatform/cloud-foundation-toolkit/cli/validation/cai	[no test files]
?   	github.com/GoogleCloudPlatform/cloud-foundation-toolkit/cli/validation/converter	[no test files]
FAIL
make: *** [Makefile:27: test] Error 2

$ git branch -v
* master     e8e990c [ahead 30] Merge pull request #479 from katze120/scorecard-csv

$ git status
On branch master
...

oh right, make build would work because the errors are on *_test.go files.

oh right, make build would work because the errors are on *_test.go files.

@nick4fake Please take a look at this, it looks like this PR causes some issues with your part of the DM validator.

@ocsig The issues aren't related to this PR at all, they were caused by @nick4fake's original validator PR.


[release-v1.9] Remove unschedulable pods marking during eviction

This is racing with the autoscaler, so we cannot really
mark pods as unschedulable.
I think this was an early optimization to avoid many
rescheduling because the risk is that we end up rescheduling
many consumer, however, to mitigate this we can also think about
increasing the "scale down refresh period" so that we don't
scale up / down for at least that time window.

/cherry-pick release-v1.10

/cherry-pick release-v1.11

/retest

Done in https://github.com/openshift-knative/eventing-kafka-broker/pull/808


Auto update version numbers for fern generate

As a user, when I run fern generate, both package.json and .npmrc should automatically update the version numbers on my behalf to ensure that I'm using the latest stable release.

Closing, because requires access to backend repos (cannot be fixed in this repo)


Add switch to turn off console colors

It should be settable in the default json config file we drop in templates, and we will drop an appsettings.production.json that turns them off so that in production there are no colors by default.
// https://github.com/aspnet/Logging/issues/515

I believe @mikeharder did a quick experiment with removing the colors for #515 and there wasn't a noticeable change for that scenario. This will still be good for async production code though.

https://github.com/aspnet/Logging/pull/536 should help with perf issues.

Closing this in favor of write-behind logging.


[suggestion] diamond bartering

I feel like diamonds are as useless. So i was wondering if maybe you could introduce a new mob that we will be able to trade with the same way we do with piglins, but with diamonds. The ender version of piglins.

This idea is decent, but I think it would fit better for a new completely different mod.``

I like the Idee. We are currently working on something else where this might fit better into. Thanks for the suggestion though :)


Don't work GetAvailableRooms

Hi!!!
Why in Client.cs commented code part with function GetAvailableRooms?
When that will be fixed and i can work with that?
//		public void GetAvailableRooms (string roomName, Action<RoomAvailable[]> callback)
//		{
//			int requestId = ++this.requestId;
//			this.connection.Send (new object[]{Protocol.ROOM_LIST, requestId, roomName});
//
//			this.roomsAvailableRequests.Add (requestId, callback);
//
//			// // USAGE
//			// this.client.GetAvailableRooms ("chat", (RoomAvailable[] obj) => {
//			// 	for (int i = 0; i < obj.Length; i++) {
//			// 		Debug.Log (obj [i].roomId);
//			// 		Debug.Log (obj [i].clients);
//			// 		Debug.Log (obj [i].maxClients);
//			// 		Debug.Log (obj [i].metadata);
//			// 	}
//			});
//		}

Hi @SergeyMaas,
As far as I remember, this callback wasn't being triggered properly:
https://github.com/gamestdio/colyseus-unity3d/blob/778159e572b8babcd848ba014d047cf966e6e58c/Assets/Plugins/Colyseus/Client.cs#L204-L208
That's why I left the whole GetAvailableRooms functionality commented out. I'd appreciate pull-requests to fix this issue!
Cheers

@endel @SergeyMaas Pull request created to fix this issue. Thanks

Thanks a lot, @bhavik66! Just released 0.9.5 with your pull-request!


Calculate handlebar inertia torque using measured encoder angle

The handlebar inertia torque is related to due to the physical setup. We should not be using the virtual state output of the Kalman filter for calculating this.

Estimated steer acceleration from the bicycle model should be fine, given we use the correct upper assembly inertia, as we take into account some input/model errors with the Kalman filter.


Add GTM data attribute to sort links

A final tweak to support the modals as per
https://trello.com/c/D1sGgrBa/1144-5-view-help-text-in-table-frontend
This adds an attribute to make it easier to differentiate between clicks on the sort link and the help link inside the table header.

I'll make a separate ticket to deal with adding the tests and do that tomorrow. Thanks for a prompt review.


There is an issue using Get-WslDistribution

It seems that it has trouble displaying the distribution properly:

I am using Windows 10 build 17134.5 right now.

Thanks for this! This is likely a dupe of #12... Are you using Windows PowerShell? If you run:
$a = wslconfig /l
$a

does it look funky?

@tylerl0706 Yep, it looks like there are spaces between each character

Yeah - If you try it on PSCore, it should be better. The problem is this line:
https://github.com/tylerl0706/PSWsl/blob/master/PSWsl.psm1#L160
Which works on PSCore but not Windows PowerShell :(
I'll dupe my issue to yours since you have an image :)

Well, find a way which (kind of) works:

the code is here:
[System.Text.Encoding]::Unicode.GetString([System.Text.Encoding]::UTF8.GetBytes((wslconfig.exe /l))) -split '\s\s+' | Select-Object -Skip 1 -Unique

I will close this as it is merged


Prepare 0.6.0 release

Seeing this is not merged yet, should we include the most recent changes / fixes in this release?
@kvch @andrewkroh

I rebased the branch. Now it includes the all changes since the last release and a new unreleased section.


[SPARK-10770][SQL] SparkPlan.executeCollect/executeTake should return InternalRow rather than external Row.

Merged build triggered.

Merged build started.

Merged build triggered.

Merged build started.

Test build #42960 has started for   PR 8900 at commit a8e23f5.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42959/
Test FAILed.

Test build #1812 has started for   PR 8900 at commit a8e23f5.

Test build #1812 has finished for   PR 8900 at commit a8e23f5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #42960 has finished for   PR 8900 at commit a8e23f5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42960/
Test PASSed.

LGTM

I've merged this.


Windows - pasting adds blank line

Should look at bringing in win32yank.exe from https://github.com/neovim/neovim/issues/4706 to address this

Even after updating the executable, still had issues with xp - the character would be placed on a newline. Removed the set clipboard=unnamed fixed this, and then using the + and * registers for system paste worked ok with the existing win32yank.exe


Typos for 01_modelling.ipynb tutorial

Small typos while going through modelling tutorial

Codecov Report

Merging #739 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #739      +/-   ##
==========================================
+ Coverage   88.22%   88.23%   +0.01%
==========================================
  Files          99       99
  Lines        9989     9989
  Branches     2016     2016
==========================================
+ Hits         8813     8814       +1
+ Misses        930      929       -1
  Partials      246      246

Impacted Files
Coverage Δ

devito/data/allocators.py
73.94% <0%> (+0.7%)
:arrow_up:

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 fb95268...39d7390. Read the comment docs.

Thanks a lot, merged.


Recipe to use pnpm on Travis CI

Hey!
I'm wondering: is there a way to use pnpm on Travis CI?
I bet it would greatly improve the speed of the tests (especially if the store is cached) :)
Travis CI recipe.

Hey,
We have to document it somewhere, but here's how you can do it:
before_install:
  - npm install -g pnpm
install:
  - pnpm install

Note: The npm install -g pnpm part will be fast because we bundle all the dependencies on pnpm.
We actually use pnpm to install pnpm dependencies: https://github.com/rstacruz/pnpm/blob/master/.travis.yml
But currently it won't work with a cached store because of circular symlinks: pnpm install doesn't get the job done when node_modules is cached by Travis CI
But the good news is, it is fast enough without caching.

Nice!
Thanks :)


pull sean notes into dendron

[x] dump notes from org-mode/org-roam
[x] convert notes into (dendron-flavored) markdown

Done


New game conflict with previous game

Hi,
In general Save and Load game works perfectly, I just have a problem with doing New Game after the first time in the same session, but most likely I'm doing something wrong in the flow:
From Shipping build I start the game:
1)From the first scene which is a main menu, I call Spud New Game (with AfterLevelLoad to true, to avoid that save something of the Menu Scene) and OpenLevel of the main scene of the game
2)In the Main Scene I make some progress (for example actors that implement Spud and change their position), then I go back to the main menu scene and start a new game again as written in the previous step
The problem is that I find the actors in the updated position from the previous game!
My perception is that therefore it has not made a new game (or rather it remains with data cached from the previous one, because if I restart the application and do new game, obviously the problem does not occur)
Am I doing something wrong? or if it is an error (maybe because i am using world partitions), can I still fix it somehow? I don't know maybe there is a forced reset of the cache?
P.S. I tried to Save the game immediately after Begin Play of the Main Scene (only if is a New game of course, i have a boolean on the GameInstance to check that), but doesn t change the problem (The next new Game is stille corrupted, and also saved the wrong state!)

New Game shouldn't load anything at all, it should just start with a fresh slate.
Things to check;

Is the level truly getting re-loaded? That is what resets state, not SPUD.
After level load, there shouldn't be any restore happening. All restore actions are reported in the Output log, so check that. There shouldn't be any after New Game

One of those will be the problem. I recommend debugging the code route to understand more of what's going on if it isn't obvious.

Hi,
Sorry for my mistake in a recent refactoring I had removed the call to new game, everything is ok now!
Wonderful plugin anyway, thanks and compliments!


Roll Engine from 6095a1367846 to 4dbdc0844425 (1 revision)

https://github.com/flutter/engine/compare/6095a1367846...4dbdc0844425
2021-11-02<EMAIL_ADDRESS>Enable partial repaint for iOS/Metal (flutter/engine#28801)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

cc: @iskakaushik


add <75 feature

Enable feature to have scores below, say, 75, show <75 rather than the actual score.
This would allow the team to set up a badge right away, at the beginning of a project, to act as a driver/reminder for features to implement. That project's score would initially, of course, have an extremely low score -- this would allow a public badge to exist without embarrassment or without inviting hackers to poke around for vulnerabilities.

added in commit d0489660725981bcf95cb31a24d443dff419a626


Move admin login to environment variables in heroku

It looks like you could just modify the password variable on the production environment to match something like password: <%= ENV["ADMIN_PASSWORD"] %> in https://github.com/jordanstreiff/atlanta-candidate-api/blob/master/config/secrets.yml. You could then specify the environment when launching the rail server with the -e environment flag.


Authentication dropdown not showing options

What happens?
Authentication dropdown not showing options, I've always used it with the default settings from the @elysiajs/swagger package, but it stopped showing the options for some reason.

What did you expect to happen?
It should show the options to add an authentication variable, as it did before by default.
How can we reproduce the issue?
I'm using the @elysiajs/swagger package, but you can still see from the scalar playground, that the authentication option doesn't display the information it should.
Swagger/OpenAPI Example
https://sandbox.scalar.com/e/tqX40

a 3 day dinner 👀
im on it now ✨

fixed here! https://github.com/scalar/scalar/pull/1367 ✨
fixed in latest scalar api reference version<EMAIL_ADDRESS>

@ga1az im on the latest CDN and its workign for me ✨

can you confirm latest is working? :) are you using the CDN or one of our packages?

It must be because I'm testing it from the package.
@elysiajs/swagger
But I updated the package at my place and it works perfectly.
"@scalar/api-reference": "^1.20.20"

Thanks for the change 🚀

@ga1az awesome!! is it working inside of the @elysiajs/swagger package? :)

It does work for the package: "@elysiajs/swagger": "^1.0.3" which is the one I tested.

awesome! closing :)

Seems broken again in "@elysiajs/swagger": "^1.0.5". I can't see the Authentication dropdown at all.


feat(stack-view): a11y aria-level, aria-posinset and aria-setsize

Adding aria-level, aria-posinset and aria-setsize attributes to stack-view
PR Checklist
Please check if your PR fulfills the following requirements:

[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)
[ ] If applicable, have a visual design approval

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[x] Documentation content changes
[ ] clarity.design website / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: #3568
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information
Close #3568

@hippee-lee I talked with @bdryanovski about this initially, and this is really only for the lazy case where we don't know the values defined here. There isn't much chance that we can compute these automatically, and only if know we have the full node displayed.
The basic approach of having the app provide these values is what I wanted to see in this PR, as it will enable any lazy tree to have these values, and then we could consider how to automate it if there is a need. However, apps know these values, we do not in, lazy mode.

@bdryanovski Can you update this to work with the new DOM structure? Otherwise I think its about ready to go.

Oh, I didn't say that there is a conflict.
... fixing

The current usage of  a11y aria-level, aria-posinset and aria-setsize is not working with Safari/VoiceOver and Firefox/NVDA because these properties are not being used in combination with roles that support them. For example, aria-posinset is supported on element with role="option" within an ARIA listbox implementation. Another example would be aria-level being used on an element with role="heading" so that element would become a semantic heading. I recommend removing aria-posinset and aria-setsize. aria-level can be used similar to how the standard HTML headings are used in https://www.w3.org/TR/wai-aria-practices/examples/accordion/accordion.html. Be sure to choose heading levels that fit appropriately into the document outline.


Add dependabot

This PR adds dependabot config

Ok, sorry for interrupting you. And thank you for crates!


Fixed #35876 -- Displayed non-ASCII fieldset names when rendering ModelAdmin.fieldsets.

Regression in 01ed59f753139afb514170ee7f7384c155ecbc2d.
Trac ticket number
ticket-35876
Branch description
Checklist

[ ] This PR targets the main branch.
[ ] The commit message is written in past tense, mentions the ticket number, and ends with a period.
[ ] I have checked the "Has patch" ticket flag in the Trac system.
[ ] I have added or updated relevant tests.
[ ] I have added or updated relevant docs, including release notes if applicable.
[ ] I have attached screenshots in both light and dark modes for any UI changes.

@namongk does this work for you?

@sarahboyce Thanks :+1:


Running the contributed command: 'editor.togglequotes' failed.

mainThreadExtensionService.ts:95 Activating extension 'passionkind.prettier-vscode-with-tabs' failed: Cannot find module 'prettier-with-tabs'
Require stack:
- /Users/colch/.vscode/extensions/passionkind.prettier-vscode-with-tabs-1.1.0/out/src/PrettierEditProvider.js
- /Users/colch/.vscode/extensions/passionkind.prettier-vscode-with-tabs-1.1.0/out/src/extension.js
- /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js
- /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-amd.js
- /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-fork.js.

dunno if I installed it incorrectly somehow?

reinstall & update helped, sorry

No problem, thanks for the update.


Updated tenant value to common in appsettings

Build status - All builds passed
https://github.com/OfficeDev/Microsoft-Teams-Samples/actions/runs/4829262901


Include .proto files of well known types in grpc-tools package.

The grpc-tools package does not currently include common .proto files. These are needed when generating code for .proto files that import common .protos.
Protobuf's binary package include these files, so we should do the same

Where can I find a list of the common .proto files?

Invoking bazel query 'deps(//:well_known_protos)' within the protobuf repo (post git clean -xdf or from a fresh clone) should give a list.

OK, there seems to be a bigger problem here: the CommonJS (Node.js) protobuf generator does not seem to play well with well known types. It generates imports for the corresponding pb.js files, but it doesn't generate those files.

Resolved by #6912.


How does it support nested collections like Map<String,Map>

As per Protocol Buffer documentation, they do not support nested collections like Map<String,Map> , List<String, Map> in .proto schema definition file.
Also, default values for string is "" and for numeric types is 0.
So, my query is  does ProtoStuff serialization/de-serialization also has these limitations mentioned above?
If not, then how does it work because as per my understanding it uses protobuffers internally ?

Protostuff does not have the limitations above.  If you stick with what's supported in official protobuf, it is compatible with protostuff on the wire.


[HELP] How to tcp proxy?

Question / Where do you need Help?
How to setup loadbalancer to proxy tcp traffic?
I want to expose a message queue, been trying without success, would it be please possible to provide some help?
I am running this:
kubectl run mq --image nats:2.8-alpine --labels app=mq --expose --port 4222
I am also using nginx ingress as ingress controller.
my k3d.yaml:
# k3d configuration file, saved as e.g. /home/me/myk3dcluster.yaml
apiVersion: k3d.io/v1alpha4 # this will change in the future as we make everything more stable
kind: Simple # internally, we also have a Cluster config, which is not yet available externally
metadata:
  name: mycluster # name that you want to give to your cluster (will still be prefixed with `k3d-`)
servers: 2 # same as `--servers 1`
# agents: 1 # same as `--agents 2`
kubeAPI: # same as `--api-port myhost.my.domain:6445` (where the name would resolve to <IP_ADDRESS>)
  host: "k8s.mycluster.org" # important for the `server` setting in the kubeconfig
  hostIP: "<IP_ADDRESS>" # where the Kubernetes API will be listening on
  hostPort: "6445" # where the Kubernetes API listening port will be mapped to on your host system
image: rancher/k3s:v1.24.3-k3s1
subnet: "<IP_ADDRESS>/16"
volumes: # repeatable flags are represented as YAML lists
  - volume: "$PWD/network/calico.yaml:/var/lib/rancher/k3s/server/manifests/calico.yaml"
ports:
  - port: 80:80 # same as `--port '8080:80@loadbalancer'`
    nodeFilters:
      - loadbalancer
  - port: 443:443 # same as `--port '8080:80@loadbalancer'`
    nodeFilters:
      - loadbalancer
  - port: 4222:4222 # same as `--port '8080:80@loadbalancer'`
    nodeFilters:
      - loadbalancer
registries: # define how registries should be created or used
  create: # creates a default registry to be used with the cluster; same as `--registry-create`
    name: "registry.mycluster.org"
    host: "<IP_ADDRESS>"
    hostPort: "5000"
  config: |
    mirrors:
      docker.io:
        endpoint:
          - "registry.mycluster.com:5000"
      "":
        endpoint:
          - "registry.mycluster.com:5000"
      "*":
        endpoint:
          - "registry.mycluster.com:5000"
options:
  k3d: # k3d runtime settings
    wait: true # wait for cluster to be usable before returining; same as `--wait` (default: true)
  k3s: # options passed on to K3s itself
    extraArgs: # additional arguments passed to the `k3s server` command; same as `--k3s-server-arg`
      - arg: "--disable=traefik"
        nodeFilters:
          - server:*
      - arg: "--flannel-backend=none"
        nodeFilters:
          - server:*
      - arg: "--cluster-init"
        nodeFilters:
          - server:*
  kubeconfig:
    updateDefaultKubeconfig: true # add new cluster to your default Kubeconfig; same as `--kubeconfig-update-default` (default: true)
    switchCurrentContext: true # also set current-context to the new cluster's context; same as `--kubeconfig-switch-context` (default: true)

Scope of your Question

Is your question related to a specific version of k3d (or k3s)?

Please paste the output of k3d version here
k3d version v5.4.4
k3s version v1.23.8-k3s1 (default)

Closing as k3d lb is working fine it was my service routing.


[R3] Avatar grid

https://taskman.eionet.europa.eu/issues/147644

Will be moved as a card variation.


Doesn't escape quotes properly.

As the author doesn't seem to be active anymore, I have used kulak-at's fix from this PR https://github.com/tblobaum/git-rev/pull/13 and published it as a new package here:
https://www.npmjs.com/package/get-git-data

https://github.com/NiceLabs/git-rev
I made a better alternative implementation


Asset 596: bad answer ID for thrombin, duplicate of 595?

Similar to 503 https://github.com/NCATSTranslator/Tests/issues/83...

This asset says the expected output name is UNIPROTKB:P00734, which is the gene F2 + its proteins (Dev NodeNorm).
However, the output ID CHEMBL.TARGET:CHEMBL204 is likely something no ARA/KP recognizes. NodeNorm doesn't resolve this ID..

If we changed the expected output IDs to NCBIGene:2147 (primary ID) / UniProtKB:P00734, it may end up as a duplicate of Asset 595 (which has its own issue https://github.com/NCATSTranslator/Tests/issues/85).
Should this test be removed as a duplicate?

See https://github.com/NCATSTranslator/Tests/issues/62#issuecomment-2207903878 for latest notes on asset 595

I'm not sure I see why this is a duplicate, but the ID should probably be updated. Putting UNIPROTKB:P00734 into Name Resolver gives PR:000051041 which seems to be a subclass of thrombin.

Duplicate of #83


chore(ci.yml): deploy on push

Summary
add deploy step on each push to upload snapshots
Full changelog

[add deploy step on push]

Codecov Report

Merging #25 (eaf04cf) into master (5695378) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #25   +/-   ##
=========================================
  Coverage     69.95%   69.95%
  Complexity      128      128
=========================================
  Files            13       13
  Lines           416      416
  Branches          1        1
=========================================
  Hits            291      291
  Misses          113      113
  Partials         12       12

Help us with your feedback. Take ten seconds to tell us how you rate us.


New Haxelib Website

I am creating this issue as a tracker for all the website related work.
#14 Design of the website
The design discussion so far includes:

CSS to match main Haxe site
Add a README.md
Dart's "Pub" tool had a nice design: http://pub.dartlang.org/

#10 Https Support
#33 Cloudfare support (or some other cloud provider to improve download speeds)
#91 User management (password reset etc)
#69 Dox support
Other things I can think of:

Download statistics so we know what is popular
Display information about dependencies (maybe version by version)
A homepage that explains what haxelib is (links to manual?) and how to use it, not just a list of libs.
A homepage that shows both popular and recent libs, not just recent.

Any other things we would like to discuss add a comment here, or if there are other issues create a link here so we can track them.

Maybe yes. I like idea about tags.
Also we need a really smart search and web-api.


Support non-public GitLab access

Currently you can use only public GitLab repos.
We need to support private repos with some of the available authentication methods GitLab proposes.
E.g.:

personal access token
deploy tokens
deploy keys

Easiest thing is using the same SSH mechanism as done for GitHub for now.

Alternatives moved to #2


Live demo is not working at the moment

https://github.github.io/details-menu-element/examples/ looks like this for me at the moment:

No errors in the browser console so I'm not sure what's wrong.

It looks correct to me. What are you expecting to see?


Failing CI tests

Some tests time to time failed to run in CI.
Case one can be replicated locally by repeatedly running specific test: TestWormholeFileTransportSendMidStreamCancel
Case 1
https://github.com/LeastAuthority/wormhole-william/actions/runs/3883138904/jobs/6624372648#step:6:88
=== RUN   TestWormholeFileTransportSendMidStreamCancel/With_TCP_relay_server
Downloading... via TCP relay tcp://<IP_ADDRESS>:49233
panic: write tcp <IP_ADDRESS>:49232-><IP_ADDRESS>:49234: use of closed network connection

goroutine 404 [running]:
github.com/psanford/wormhole-william/rendezvous/rendezvousservertest.(*TestServer).withWelcome.func1.1({0x1341700, 0xc0000add40})
	/Users/runner/work/wormhole-william/wormhole-william/rendezvous/rendezvousservertest/rendezvousservertest.go:300 +0x10e
github.com/psanford/wormhole-william/rendezvous/rendezvousservertest.(*TestServer).withWelcome.func1.5()
	/Users/runner/work/wormhole-william/wormhole-william/rendezvous/rendezvousservertest/rendezvousservertest.go:540 +0x6c
created by github.com/psanford/wormhole-william/rendezvous/rendezvousservertest.(*TestServer).withWelcome.func1
	/Users/runner/work/wormhole-william/wormhole-william/rendezvous/rendezvousservertest/rendezvousservertest.go:532 +0x1bf1
FAIL	github.com/psanford/wormhole-william/wormhole	5.457s
FAIL
Error: Process completed with exit code 1.

Case 2
https://github.com/LeastAuthority/wormhole-william/actions/runs/3872001816/jobs/6600342446
=== RUN   TestVerifierAbort
panic: websocket: close sent

goroutine 84 [running]:
github.com/psanford/wormhole-william/rendezvous/rendezvousservertest.(*TestServer).withWelcome.func1.1(0x8333720, 0x8c93[40](https://github.com/LeastAuthority/wormhole-william/actions/runs/3872001816/jobs/6600342446#step:8:41)0)
	/home/runner/work/wormhole-william/wormhole-william/rendezvous/rendezvousservertest/rendezvousservertest.go:261 +0xe8
github.com/psanford/wormhole-william/rendezvous/rendezvousservertest.(*TestServer).withWelcome.func1.5(0x8f82540, 0x8eee030)
	/home/runner/work/wormhole-william/wormhole-william/rendezvous/rendezvousservertest/rendezvousservertest.go:499 +0x3b
created by github.com/psanford/wormhole-william/rendezvous/rendezvousservertest.(*TestServer).withWelcome.func1
	/home/runner/work/wormhole-william/wormhole-william/rendezvous/rendezvousservertest/rendezvousservertest.go:492 +0x1084
FAIL	github.com/psanford/wormhole-william/wormhole	0.091s
FAIL

https://github.com/gorilla#gorilla-toolkit is being archived. Rendezvousservertest use it. Probably we should refactor this and this might help solve connectivity issue.
cc @vu3rdd

Since we might soon replace Go entirely, I'm not sure this is a good thing to do in the immediate term.

As we have not yet replace Go and it is used in Winden and Destiny, small changes and fixes should be ok.

So it's "archived", but if there are no problems, what's the issue? Why do work we don't need to do on a thing that's likely to go away anyway..?

So it's "archived", but if there are no problems, what's the issue? Why do work we don't need to do on a thing that's likely to go away anyway..?

What is archived?

You said "gorilla toolkit is being archived". That's not material if there aren't any issues..?

You said "gorilla toolkit is being archived". That's not material if there aren't any issues..?

Yes, gorilla toolkit archived. Issues we have with websocket closure in CI on rendezvous server mock, which the only one use it.

So is "archived" relevant or not then? I don't see how it's relevant.

I am not sure what you try to prove here.
There are issues with websocket connectivity in CI, there is an recent fact about "archived" websocket library, which used only in test server mockup and is not used in the rest of go code. There is PR: https://github.com/LeastAuthority/wormhole-william/pull/105 which address this issue.
Sharing information, that one of our dependency is being archived and not maintained anymore, I think is also important.

I'm not trying to "prove" anything, just don't want to waste unnecessary time refactoring tests. If there are reasons beyond "it's archived", fine, but your initial comment sounded like that was the reason to spend time removing a library.


Hydrating the state re execute actions.

Hi
I'm trying to persist the current state and restore it later (from a database).
Here are the steps :
Go to state 'A' to 'B'. Executing action 'C' due to this transition.
Save the current state (Set to 'B').
When restoring the state action 'C' is executed again even if the transition has already happened.
Is it the expected result ?
If yes how can I avoid that ?
Thanks
https://codesandbox.io/s/exciting-sun-qt92p

The restored state contains all the information that the machine needs to execute actions. So to prevent actions from being executed, delete them:
// Use machine.resolveState() to resolve the state definition to a new State instance relative to the machine
const resolvedState = toggleMachine.resolveState(previousState);

+delete resolvedState.actions;

const toggleService2 = interpret(toggleMachine)
  .onTransition((state) => console.log(state.value))
  .start(resolvedState);

But I'm don't want to delete them. Future transitions will need them.
I just don't want to execute again actions for transitions that already happened when rehydrating the state.
I think it's a common use case for serverless archicture or if you want to  be resilient.
There is no point to send that email twice.

But I don't want to delete them. Future transitions will need them.

Future transitions will still execute actions as in the proposed solution you don't always delete actions (that is actually our of your control anyway when using the builtin interpreter) but only delete the actions from a single state pre hydration.

I think it's a common use case for serverless architecture or if you want to be resilient when server restarts.

I, personally, agree with that - I believe that as we treat actions as fire and forget we shouldn't persist them by default. This would be a breaking change though so changing this will have to wait for v5 - and, of course, @davidkpiano would have to be on board with that too.

I think it's a common use case for serverless architecture or if you want to be resilient when server restarts.

Yes, and the way this works in serverless architectures is by keeping a log of actions already executed in storage, so that when e.g., a serverless function replays events to get to its current state, it checks storage to see if the actions are already executed and doesn't re-execute them. This is how AWS Step Functions, Azure Durable Functions, etc. work.
Given a state in XState, it is assumed that the state.actions are already executed, which is why deleting them is basically the same as doing the above. The action executions are in "storage" (the storage being the serialized state).

I, personally, agree with that - I believe that as we treat actions as fire and forget we shouldn't persist them by default.

This makes sense, but yeah, would be a breaking change.


New version: Datronicsoft.SpacedeskDriver.Server version <IP_ADDRESS>

Pull request has been created with komac v2.3.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

/azp run


[BEAM-3601] Switch runner portability support code to Java 8 futures

Java 8 now has CompletionStage which is adequate for using those futures. This solves the issue of shading problems for code where we put Guava's ListenableFuture on the API surface.
Discussed on the dev list.

Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue.

[x] Run mvn clean verify to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

I think I'll expand this to hit the other uses. they are slightly more involved, but not too bad.


url_launcher please don't replace first one # to %23

Hello, when you execute launchUrl for next url: https://example.com/#/?url=https://example.com&secret=ZmFzdG9jbG91ZDpmYXN0b2Nsb3Vk urlencode convert to https://example.com/%23/?url=https%3A%2F%2Fexample.com&secret=ZmFzdG9jbG91ZDpmYXN0b2Nsb3Vk this route will not work if extermnal website wrote on flutter because # must be in urls, for https://example.com/#/?url=https%3A%2F%2Fexample.com&secret=ZmFzdG9jbG91ZDpmYXN0b2Nsb3Vk website works fine, so can you please not encode first one #. Because in this case your routes on Fluter web not working. thx

Yes you are right encoding doing on Uri side, simple change launchUrl on launchUrlString.


Update dependencies

Everything except ouroboros-network which has an API breaking change.

LGTM!
bors r+

bors r+


UseIISIntegration should delay setting urls

Today it's a common mistake for callers to reverse UseIISIntegration and UseUrls, breaking their app in IIS/Express and Azure.
Proposal, rather than having UseIISIntegration set the url immediately, set it later when Build is called (e.g. inside the ConfigureServices  callback) or in the IStartupFilter  via IServerAddressesFeature.

Seems like a good idea. Today, you can check whether UseIISIntegration is activated in Program.Main() by checking whether whether the urls setting was changed after calling it. Technically, changing when we change the urls settings is breaking, but it probably won't affect too many apps.
It would be nice if there was still an easy workaround to figure out if the app is running behind IIS in Program.Main() after this change.

What would you do in Main if you did detect IIS?
Checking for the environment variables directly may be better. Or we could provide an IsRunningInIIS API.

To disable Kestrel connection filters that are replaced by IIS modules perhaps. Admittedly it's probably not common to use a single code base to deploy with and without IIS, so I don't think this would break (m)any people.


Maven wrapper batch file for windows does not work

In mvnw.bat line 100:
if exist "%M2_HOME%\bin\mvn.cmd" goto init
should be:
if exist "%M2_HOME%\bin\mvn.bat" goto init
to make it work.
System Environment:
Windows 10
apache-maven-3.2.5

Note that newer versions of maven use mvn.cmd rthar than mvn.bat. You're likely going to want to update.
Beyond that, there seems to be a deficiency since the wrapper should not require an installation of maven. That is, you should run the wrapper and the wrapper should download an appropriate version of Maven for use.

You are correct, I have updated my maven and the problem resolved but for some reason it failed with another error:
-Dmaven.multiModuleProjectDirectory system properly is not set. Check $M2_HOME environment variable and mvn script match.
which I have managed to solve it by adding:
-Dmaven.multiModuleProjectDirectory=%$M2_HOME%
to mvn.bat line 152:
%MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% %WRAPPER_LAUNCHER% %MAVEN_CMD_LINE_ARGS%
Thank you @scalding for your fast response.


support window.close

Task/Issue URL: https://app.asana.com/0/392891325557410/1164126809867103
Tech Design URL:
CC:
Description:
Support window.close for tabs that have been opened by a page.  Allows payment processes to complete in an expected way, e.g when opening PayPal in a new tab.
Steps to test this PR:
Simple example: open -> close

Visit https://falkirkrpg.org.uk/noxwall/open.html
Click on the button or link -> Opens a new tab
Click on the close button -> Closes the new tab

Simple example: directly closing

Open a new tab and directly visit https://falkirkrpg.org.uk/noxwall/close.html
Click the close button -> The tab stays open

Extended example (note: edit app User Agent to remove DuckDuckGo):

Login in to ProtonMail
Select upgrade from the menu
Click the donate button
Select $5
Select Pay by PayPal
Complete the payment -> The tab closes and ProtonMail shows an appropriate message

Internal references:
Software Engineering Expectations
Technical Design Template

@subsymbolic  that's ready to re-review, thanks! (tested on protonmail)

Thanks @subsymbolic !