[BUG] Incorrect handling requests that were aborted by the user

Information

Version: 6.95.x

Example
While aborting the request with the HTTP client I encountered odd warnings in logs:
[2021-12-23T11:05:50.391] [WARN ] [TSED] - {
  name: 'HEADERS_SENT',
  message: 'An error was caught after the headers were sent to the client. The error comes from the handler: SomeController.getSomething',
  stack: "TypeError: Cannot read property 'getResponse' of undefined\n" +
    '    at Map.getResponse /home/node/app/node_modules/@tsed/common/src/domain/PlatformContext.ts:120:26)\n' +
    '    at AnyToPromiseWithCtx.isCanceledResponse /home/node/app/node_modules/@tsed/common/src/domain/AnyToPromiseWithCtx.ts:48:34)\n' +
    '    at AnyToPromiseWithCtx.handle /home/node/app/node_modules/@tsed/core/src/domain/AnyToPromise.ts:131:16)\n' +
    '    at /home/node/app/node_modules/@tsed/core/src/domain/AnyToPromise.ts:157:39\n' +
    '    at processTicksAndRejections (internal/process/task_queues.js:95:5)',
  origin: TypeError: Cannot read property 'getResponse' of undefined
    at Map.getResponse (//home/node/app/node_modules/@tsed/common/src/domain/PlatformContext.ts:120:26)
    at AnyToPromiseWithCtx.isCanceledResponse (//home/node/app/node_modules/@tsed/common/src/domain/AnyToPromiseWithCtx.ts:48:34)
    at AnyToPromiseWithCtx.handle (//home/node/app/node_modules/@tsed/core/src/domain/AnyToPromise.ts:131:16)
    at /home/node/app/node_modules/@tsed/core/src/domain/AnyToPromise.ts:157:39
    at processTicksAndRejections (internal/process/task_queues.js:95:5),
  request_id: 'b8658363a5c54ea781a576c28d6be4fc'
}

To reproduce this behavior, you can implement the following boilerplate code:
@Controller('/')
export class SomeController {
  @Get('/something')
  @Returns(204)
  public async getSomething(): Promise<void> {
     await promisify(setTimeout)(10000);
  }
}

@Module({
  mount: {
    '/api/v1/': [SomeController]
  }
})
export class SomeModule {
  // ...
}

@Configuration({
  // ...
  httpPort: 8000,
  httpsPort: false,
  disableComponentsScan: true,
  imports: [SomeModule]
})
export class Service {

}

Once it is done, just send a request using the following that will abort a HTTP request in 5s:
import axios from 'axios';

const source = axios.CancelToken.source();

const options = {
  method: 'GET',
  url: 'http://localhost:8000/api/v1/something',
  cancelToken: source.token
};

setTimeout(() => source.cancel(), 5000);

axios
  .request(options)
  .then(response => console.log(response.data))
  .catch(error => console.error(error));

:tada: This issue has been resolved in version 6.96.2 :tada:
The release is available on:

v6.96.2
GitHub release

Your semantic-release bot :package::rocket:


Print container state when erroring that it is improper

This is a nice little convenience - lets people know why we won't let them attach to a container.

LGTm

/approve
lgtm
@TomSweeneyRedHat @baude @QiWang19 @jwhonce @vrothberg PTAL

/lgtm
/hold

LGTM
just in case the bot is case sensitive.

@stevekuznetsov Any idea why openshift-ci-robot is ignoring a large number (feels like ~half) of PRs and issues in this repo and not properly tagging them? This is a notable one, but I've been having to manually set labels on a number
Mergebot still works, at least.


google fonts not inlciuded in the head

they are shown as system fonts on my laptop, and others see the pages differently with their system fonts (primarily Times New Roman :mask:)

Updated the head. fixed in 26d2f52d2816868b8ffa6abb02843a49423d1087


Project Roadmap

Motivation
I realized I am easily distracted by life, so I want to use this issue to write down a stream of consciousness; for all the things left to do before I can consider this site "released".
  Struck through some of the ideas which were too involved and/or didn't make much sense in the context of this website. Cutting a release for this project now


API Documentation

We should really find a way to auto-document the engine api based on this repository. It should be the cannonical place to read the API schema and it's changes over time.
I don't know if we can reuse the swagger document published in this other repo:
https://github.com/stage1/docker-php/blob/1.x/docker-swagger.json

Closing this in favor of #77.


Add Resource.get_diff_class() - fixes #745

Coverage increased (+0.007%) to 91.545% when pulling 33fd5e905214b1b12deddf7301de441226dc2325 on kimetrica:745-custom-diff-classes into 158a1064e8a2a14c05ffc3885bac416ba5cd915e on django-import-export:master.

thanks @rhunwicks


Set the command back to none after each execution

This branch makes the Audio component dispatch a COMMAND event after it has run each command in order to clear the command in the state. If it doesn't do this then it can get stuck with a command in the state that has been executed but is no longer valid.
This scenario comes up if you set it to use the browser controls.

Looks great!


button

🛠 Fixes Issue button on landing page

👨💻 Changes proposed

✔ Check List (Check all the applicable boxes)

[ ] My code follows the code style of this project.
[ ] This PR does not contain plagiarized content.
[ ] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers

📷 Screenshots

fix issue button on landing page please merge

it said my pr is not accepted is there something wrong with my code?

Hey @raji2004, added the label. please checkback after sometime.
Happy hacking!

thanks


use semver to parse and match version

We can use the semantic version to match the target version.
$ llvmenv build-entry 11.0
12:12:49 [INFO] Download Tar file: https://github.com/llvm/llvm-project/releases/download/llvmorg-11.0.0/llvm-11.0.0.src.tar.xz
⠂ [00:01:24] [#####>--------------------------------] 5.66MB/37.65MB (7m) [68.53KB/s]

Besides, we can remove those lazy_static after upstream semver merge the PR steveklabnik/semver#222

Thank you so much, @flier!  Your efforts are greatly appreciated!  😊


refactor: add scopes to credentials for provisioners

What this PR changes/adds
IamService provides methods for getting credentials from token or service account, using optionally scopes.
Why it does that
Constraining the scope of the credentials improves the security.

there's an unneded allDependencies file that needs to be removed from this PR

Removed, thanks for the finding!


Orientation issue for some videos in amazon firestick

I have integrated this in my android app and it really works great. Thanks a lot.
I am facing one issue: I am using my android app in amazon firestick, since amazon firestick does not have device orientation i am rotating my view by 90 degree to support portrait.
Currently i am getting title, audio controls, captions everything in portrait however the ytplayer seems to be loading in landscape mode only. Do you have any idea what can i do to achieve ?

Hi, I suggest not rotating the view. You can look at the sample app for how to implement full screen.

Hi, Thanks for quick revert. I have looked the sample app and its working great in Android TV / Tablets and phones.
However i am trying to load this into Amazon firestick. Amazon firestick has one landscape orientation only. For me to achieve this, i thought to manually rotate the view. I am getting titles and captions properly in portrait but middle portion where video plays, it is in landscape only.

Can't you just call YouTubePlayerView#enterFullScreen?

I am doing that however the video in middle portion is playing in landscape
I have attached the screenshot. If you observe, the captions are displaying properly however the video is displaying in landscape (the area is portrait only so video is getting squeezed)

So you have TV in portrait orientation. Why don't you keep the video portrait then?

I have kept the video view in portrait only so the captions are loading properly in portrait however the video is displaying in landscape... i am using fragment

Hi,
Do you have any idea why only video is playing in such a weird manner? I have tried everything..
Please note: https://www.youtube.com/watch?v=bUounn_Bmy4 (This video is playing absolutely fine) The problem is with all other videos like https://www.youtube.com/watch?v=W6NZfCO5SIk
Your help is highly appreciated.

No, I am not sure why this happens. I find it surprising that it only happens with some videos.
The issue could be:

in your code
in the IFrame Player code
or in the library here.

Let us know if you make any progress.

Hi, in version 12.0.0 we have improved how fullscreen is handled. I suggest you try using that version of the library :)
Feel free to reopen if this is still a problem!


[memcached]: unexpected line in stats response: "STAT version 1.4.14 (Ubuntu)"

2015/08/25 11:24:45 Error in plugin [memcached]: unexpected line in stats response: "STAT version 1.4.14 (Ubuntu)"

telegraf v0.1.6
influxdb v0.9.3-rc2
memcached 1.4.14

We should probably be ignoring the version line, I'll have a fix for this shortly

@brunoqc
I haven't been able to reproduce this issue, can you please startup memcached in verbose mode memcached -vvv -d and send me the full output of your telegraf command like so:
vagrant@vagrant-ubuntu-trusty-64:~$ memcached -vvv -d
[...]
vagrant@vagrant-ubuntu-trusty-64:~$ /opt/telegraf/telegraf -config /tmp/tele.toml -filter memcached -test -debug
plugin [memcached] is enabled (filter options)
* Plugin: memcached
<30 new auto-negotiating client connection
30: going from conn_new_cmd to conn_waiting
30: going from conn_waiting to conn_read
30: going from conn_read to conn_parse_cmd
30: Client using the ascii protocol
<30 stats
30: going from conn_parse_cmd to conn_write
30: going from conn_write to conn_new_cmd
30: going from conn_new_cmd to conn_waiting
30: going from conn_waiting to conn_read
> [server="localhost:11211"] memcached_get_hits value=0
> [server="localhost:11211"] memcached_get_misses value=0
> [server="localhost:11211"] memcached_evictions value=0
> [server="localhost:11211"] memcached_limit_maxbytes value=67108864
> [server="localhost:11211"] memcached_bytes value=0
30: going from conn_read to conn_closing
<30 connection closed.

<30 new auto-negotiating client connection
30: going from conn_new_cmd to conn_waiting
30: going from conn_waiting to conn_read
30: going from conn_read to conn_parse_cmd
30: Client using the ascii protocol
<30 stats
30: going from conn_parse_cmd to conn_write
30: going from conn_write to conn_new_cmd
30: going from conn_new_cmd to conn_waiting
30: going from conn_waiting to conn_read
30: going from conn_read to conn_closing
<30 connection closed.

bbigras@ubuntunew:~/.GOPATH/bin$ ./telegraf -config telegraf.toml -filter memcached -test -debug
plugin [memcached] is enabled (filter options)
* Plugin: memcached
2015/08/25 13:43:14 unexpected line in stats response: "STAT version 1.4.14 (Ubuntu)"

# Read metrics from one or many memcached servers
[memcached]

# An array of address to gather stats about. Specify an ip on hostname
# with optional port. ie localhost, <IP_ADDRESS>:11211, etc.
#
# If no servers are specified, then localhost is used as the host.
servers = ["localhost"]

I think it's because STAT %s %s\r\n doesn't match STAT version 1.4.14 (Ubuntu) on
https://github.com/influxdb/telegraf/blob/bd85a36cb1e88450bea2792e989fa8074b5798a4/plugins/memcached/memcached.go#L104
errScan's value is newline in format does not match input

I'll submit a pull request soon.


[Comments] There is no populated author fields that is needed when getting comments

Description: There is no populated author fields that is needed when getting comments.
Reproducible: always.
Preconditions:
The user is logged in.
Steps to reproduce:

Create a comment

Actual result:

Expected result:

I recreated from scratch the addComment function . I inlcuded the response into the function

Now we are able to create a comment

And see this comment

I recreated the post adding endpoint and added new functions

the add coment function expects certain comment structure, so it had to be created

I recreated the post adding endpoint and added new functions

So, now we save i DB duplicated information? I think you shoud change not post endpoint but get endpoint where we obtain comments. In this case from DB you will obtain author id, than using it obtain info about author, than merge all neccesery info in response body and after that send response to client.

Please add correct PR to develop section


How to use display names?

Would you pls help as how to use display names?

@seperman I also have the same question, about using display names and context in suggestions. Kindly share some examples/process through we can implement that.

Hi @aakash-tanwar and @prasadgsk-mindtree
I added an example in the readme:
>>> autocomplete.words['acura']
WordValue(context={'make': 'acura'}, display='Acura', count=130123, original_key=None)
>>> autocomplete.words['acura'].display
Acura


3D Printing Needed

I have posted two files to the drive under the "To Pring (please)" folder. One is the stepper motor holder for the simon says actuator. The other is the revised servo holder for the simon says actuator. Both can be found at the link below:
https://drive.google.com/a/ncsu.edu/#folders/0B93g4TjHMS2pZ0NubEFBTWxJZTA
When printing, I ask that both parts are printed with decent fill and with the largest flat face to the table of the 3D printer. Thank you in advance!
-Chris

Both designs have been modified. See issue #268 and issue #269.


Perl build with make

Create a static library of the core C code using the Makefile generated by charmonizer and link the result with the compiled XS code. This makes it possible to speed up the build of the Perl runtime by running make jobs in parallel. It also centralizes the selection of C source files which becomes important when building multiple binaries.

Closing. Better version follows...


Stream join performance problems

https://datalens.yandex/2ohtijbghz3cq?tab=yV&state=9db7afda195
https://datalens.yandex/2ohtijbghz3cq?tab=yV&state=ab51c3a9366

Latest perf test results https://datalens.yandex/2ohtijbghz3cq?tab=yV&state=f25ac990160
main with disabled stream join flag + main with enabled stream join flag (results look so similar)
We need to check that stream join was actually used in tpcc tests

TPCC contains lookup join query
ast_with_disabled_flag.txt
ast_with_enabled_flag.txt

Final results: https://datalens.yandex/2ohtijbghz3cq?tab=yV&state=f1e63eb6191


Add OGGraph and OGSubgraph initial support

Codecov Report
Attention: 12 lines in your changes are missing coverage. Please review.

Comparison is base (71f039f) 1.69% compared to head (72fbd30) 1.40%.

Files
Patch %
Lines

Sources/OpenGraph/Graph/OGSubgraph.swift
0.00%
12 Missing :warning:

Additional details and impacted files
@@           Coverage Diff            @@
##            main     #18      +/-   ##
========================================
- Coverage   1.69%   1.40%   -0.29%
========================================
  Files          8       9       +1
  Lines         59      71      +12
========================================
  Hits           1       1
- Misses        58      70      +12

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


Wrong service file for 1.x

Module version: 5.3.1
Puppet version: 4.10.4
OS and version: Debian 8

Module contain the wrong service file for version 1.x
ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec - this file not present

Do you mean for Elasticsearch version 1.x? It's very old, and no longer supported. Sorry.

Hi @zxzharmlesszxz,
@jarpy is correct, this module follows the versioning scheme for the upstream Elasticsearch support lifecycle, which designates 1.x as end-of-life with the release of 5.x. A note to this effect is in the 5.x version changelog.
If you really need to keep using 1.x, the last release of version 0.x for this module should work, but beware that it's also end-of-life and any new features/bugfixes are going into the current release (5.x).
Apologies for the inconvenience, hope this helps!


Card/CardItem borderRadius hardcoded on theme

I have gone through these following points

[x]   Check latest documentation: https://docs.nativebase.io/
[x]   Check for existing open/closed issues for a possible duplicate before creating a new issue: https://github.com/GeekyAnts/NativeBase/issues
[x]   Use the latest NativeBase release: https://github.com/GeekyAnts/NativeBase/releases
[x]   Check examples from NativeBase KitchenSink https://github.com/GeekyAnts/NativeBase-KitchenSink
[x]   For discussion purpose make use of NativeBase Slack: http://slack.nativebase.io/
[x]   For queries related to theme, check Theme Variables from Docs and live NativeBase Theme Editor http://nativebase.io/customizer/

Issue Description

node, npm, react-native, react and native-base version, expo version if used, xcode version
node: 11.1.0
npm: 6.4.1
react: 16.6.0-alpha.8af6728
native-base: 2.8.1
Expected behaviour
When setting the theme variable cardBorderRadius, CardItem should use it too.
Actual behaviour
Card gets the set radius but CardItem doesn't, since it's hardcoded to 2 instead of variables.cardBorderRadius. A work around if you haven't ejected the theme could be to set the props first and last on your CardItem.
Steps to reproduce

<Card>
    <CardItem>
      <Body>
        <Text>Foo bar</Text>
      </Body>
    </CardItem>
  </Card>

Output:

Is the bug present in both iOS and Android or in any one of them?
Present in both.
Any other additional info which would help us debug the issue quicker.
I am only using one CardItem per Card, I wonder if my proposed solution would behave as expected in case of multiple CardItem, header, footer and/or image.

@ganlub
Yes, inside cardItem.js the change is to updated soon...
borderRadius: variables.cardBorderRadius,

@suvenduchhatoi Yeah, as I stated on the issue that would solve it.


batctl: 2018.1 -> 2018.2

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/batctl/versions.
meta.description for batctl is: '"B.A.T.M.A.N. routing protocol in a linux kernel module for layer 2, control tool"'.

Checks done (click to expand)

built on NixOS
/nix/store/pcyg87v9368j1slcmvvwsjpqblvmidlb-batctl-2018.2/bin/batctl passed the binary check.
1 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 2018.2 with grep in /nix/store/pcyg87v9368j1slcmvvwsjpqblvmidlb-batctl-2018.2
directory tree listing: https://gist.github.com/074cdb359be24d74aac010b953288d52
du listing: https://gist.github.com/f4fd3ca9c3ce02fe1e1f5d8f97607298

Test this build with Cachix (click to expand)

One time setup in nixpkgs Git checkout:
cachix use r-ryantm
git remote add r-ryantm https://github.com/r-ryantm/nixpkgs.git

Test this build:
git fetch r-ryantm && git checkout 58e4b0e545fd6c762bd8e75084b789011fda3f2f && nix-shell --pure -I nixpkgs=. -p batctl

cc @viric @fpletz for testing.

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: batctl
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: batctl
Partial log (click to expand)
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/pcyg87v9368j1slcmvvwsjpqblvmidlb-batctl-2018.2
shrinking /nix/store/pcyg87v9368j1slcmvvwsjpqblvmidlb-batctl-2018.2/sbin/batctl
gzipping man pages under /nix/store/pcyg87v9368j1slcmvvwsjpqblvmidlb-batctl-2018.2/share/man/
strip is /nix/store/90vmpr41dzsx350k5argycaf693hnl1l-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/pcyg87v9368j1slcmvvwsjpqblvmidlb-batctl-2018.2/sbin
patching script interpreter paths in /nix/store/pcyg87v9368j1slcmvvwsjpqblvmidlb-batctl-2018.2
checking for references to /build in /nix/store/pcyg87v9368j1slcmvvwsjpqblvmidlb-batctl-2018.2...
moving /nix/store/pcyg87v9368j1slcmvvwsjpqblvmidlb-batctl-2018.2/sbin/* to /nix/store/pcyg87v9368j1slcmvvwsjpqblvmidlb-batctl-2018.2/bin
/nix/store/pcyg87v9368j1slcmvvwsjpqblvmidlb-batctl-2018.2

Success on aarch64-linux (full log)
Attempted: batctl
Partial log (click to expand)
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/6jwhr8bwf0y6hxxb0iyf1z0s3qpv6ir0-batctl-2018.2
shrinking /nix/store/6jwhr8bwf0y6hxxb0iyf1z0s3qpv6ir0-batctl-2018.2/sbin/batctl
gzipping man pages under /nix/store/6jwhr8bwf0y6hxxb0iyf1z0s3qpv6ir0-batctl-2018.2/share/man/
strip is /nix/store/7iyn7gn33i7xxjgmwf25k20246y6nd9d-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/6jwhr8bwf0y6hxxb0iyf1z0s3qpv6ir0-batctl-2018.2/sbin
patching script interpreter paths in /nix/store/6jwhr8bwf0y6hxxb0iyf1z0s3qpv6ir0-batctl-2018.2
checking for references to /build in /nix/store/6jwhr8bwf0y6hxxb0iyf1z0s3qpv6ir0-batctl-2018.2...
moving /nix/store/6jwhr8bwf0y6hxxb0iyf1z0s3qpv6ir0-batctl-2018.2/sbin/* to /nix/store/6jwhr8bwf0y6hxxb0iyf1z0s3qpv6ir0-batctl-2018.2/bin
/nix/store/6jwhr8bwf0y6hxxb0iyf1z0s3qpv6ir0-batctl-2018.2

@ryantm Please, only update batctl, alfred and batman_adv together or batman will not work.

Done in https://github.com/NixOS/nixpkgs/compare/6c72782d3641...5210a073ad70.

Would it help the bot if version was specified in one of the derivations, and reused in the other two?

@FRidh That would make the bot update the version in that one and not the hashes in the other.

If you want me to, I can blacklist these packages.


Broken link in conditional XAML namespace

Link is broken:
https://schemas.microsoft.com/winfx/2006/xaml/presentation

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

ID: 3271c1ba-afb1-a77a-1dfc-f441f18dbf3f
Version Independent ID: 8f0d1919-07c2-f12e-c3c5-e5a9f164d52e
Content: Conditional XAML - UWP applications
Content Source: windows-apps-src/debug-test-perf/conditional-xaml.md
Product: uwp
Technology: deployment
GitHub Login: @Karl-Bridge-Microsoft
Microsoft Alias: kbridge

Thanks! Fixed.


What is the best way to integrate UISearchDisplayController?

Yep, the question is: what is the best way to add filtering using DTTableViewManager?
Thanks in advance.

Hi orkenstein,
since UISearchDisplayController has been deprecated in iOS 8, I suggest you use UISearchController if you don't have to support iOS 7 and lower.
You can just make your own UITableViewController subclass and use it while instantiating the search controller:
resultsTableViewController = ResultsTableViewController() UISearchController(searchResultsController: resultsTableViewController)
In the example resultsTableViewController could be a DTTableViewManageable.
I did that a few days ago and it worked very well.

I agree, you should use UISearchController, there's no real reason to use UISearchDisplayController.
Either way, everything should look similar to what you would do without DTTableViewManager. You should have two datasources - original and filtered. It probably would be easier if those datasources contained [SectionModel].
Then, you can recount filtered datasource when your search term changes, and just call
manager.memoryStorage.sections = filteredSections
tableView.reloadData()

In previous releases of DTTableViewManager i included searching functionality, but then i realized it was very hard to maintain because search logic differs incredibly. You might have network search, or local search. You might have search within CoreData. You might have search that includes sections, and search that works in a single section. It's very hard to support all those variants, which is why it's not included in Core functionality.
If you have CoreData search, there's example included in Example folder. Hope this helps.


Add timestamp_granularities for AzureOpenAI

Confirm this is an issue with the Python library and not an underlying OpenAI API

[X] This is an issue with the Python library

Describe the bug
TypeError: Translations.create() got an unexpected keyword argument 'timestamp_granularities'

This is when calling AzureOpenAI client with code below.
To Reproduce
To Reproduce you should use AzureOpenAI client (OpenAI client is fine):
import os
from openai import AzureOpenAI

client = AzureOpenAI(
    api_key="API_KEY",
    api_version="2023-12-01-preview",
    azure_endpoint="ENDPOINT_URL"
)
audio_file = open("output_audio.m4a", "rb")
transcript = client.audio.translations.create(
  model="whisper-1",
  file=audio_file,
  prompt="",
  response_format="verbose_json",
  timestamp_granularities=["word"] # or segment

)

I've already also made a PR.

#1323

Code snippets
This code actually works without any problem:
from openai import OpenAI
client = OpenAI(api_key='OPENAPI_KEY')

audio_file = open("output_audio.m4a", "rb")
transcript = client.audio.transcriptions.create(
  file=audio_file,
  model="whisper-1",
  response_format="verbose_json",
  timestamp_granularities=["word"],
)

print(transcript.words)

But When you change OpenAI to AzureOpenAI it doesn't work.
Also this argument is supported in Azure and it works. So, it is just the matter of adding it here.
OS
MacOS, Linux
Python version
Python v3.12.1
Library version
1.20.0

It looks like you may have mixed up transcriptions and translations when switching between clients? Translations don't support that param: https://platform.openai.com/docs/api-reference/audio/createTranslation

Thank you for observing that. It is odd that as I tested translation actually supports that parameter and even gives segment level and word level results. But anyway. My Problem was from me and this is solved now.

Ah – in that case, please open a PR or issue on https://github.com/openai/openai-openapi !


drivers: sensor: mpu6050: Add support for MPU6500

Adds basic support for using this driver with a MPU6500 device

@MaureenHelm could you review this please?

Is that not a real email address on the commit message? It looks fake?

It's real


[Bug] Can't display more than 1 property of a given relationship using addColumn of type relationship

Bug report
What I did
I tried to add 2 columns with different data from the same relationship model like so:
CRUD::addColumn([
'name' => 'listings',
'label' => 'Store SKU',
'type' => 'relationship',
'attribute' => 'store_sku'
]);
CRUD::addColumn([
'name' => 'listings',
'label' => 'ASIN',
'type' => 'relationship',
'attribute' => 'url_id'
]);
What I expected to happen
I expected it to display 2 columns with the data requested
What happened
Only the first column showed up
PHP VERSION:
PHP 8.1.3 (cli) (built: Feb 21 2022 14:48:42) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.3, Copyright (c) Zend Technologies
with Zend OPcache v8.1.3, Copyright (c), by Zend Technologies
LARAVEL VERSION:
v8.83.20@aa5908e83fccb18b135ca31aa0342cf4bd6909a8
BACKPACK VERSION:
4.1.70@6c335a8959b82c6a830f97d0c609a7584af98f46

Hello @smile2day123 , can you add key => 'some_key' into your second colum ? Have a look at: https://backpackforlaravel.com/docs/5.x/crud-columns#multiple-columns-with-the-same-name-1
I think that was the problem, going to close, please re-open if I am wrong.
Cheers

hello @pxpm
I didn't notice that in the docs. Thank you for directing me!


Performance test Via 3 PDF proxying

Test the performance of Via 3 PDF proxying -- what is the speed of the user experience.
Before we do this we should add a "do not inject the client" feature flag to Via 3 so that we can performance test Via 3 without the client. Otherwise the client's load time and all its requests and resources get in the way.
TODO: Add more details to this issue.

Is there a part of this for me to do?

Closing as not gonna bother


How to cite OR-Tools in my thesis

Hello. I want to cite or-tools in my thesis and I haven't found any information on the subject yet. Thanks!

@orwant  related to https://groups.google.com/forum/#!searchin/or-tools-discuss/or-tools$20cite|sort:date/or-tools-discuss/D_feD-YJ3ew/pLkjVH2tQAwJ

Thanks for such a quick reply!

Please use this: Google's OR-Tools, https://developers.google.com/optimization/.

How about this in BibTex?
The generated pdf looks like this
Plain text: Google’s OR-Tools[EB/OL]. . https://developers.google.com/optimization/.
@online{ortools,
title = {Google's OR-Tools},
date = {2019},
urldate = {2019-4-11},
organization = {Google},
url = {https://developers.google.com/optimization/}
}

Maybe you can add the version you are using.
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
Le jeu. 11 avr. 2019 à 05:07, king-kong<EMAIL_ADDRESS>a écrit :

How about this in BibTex?
The generated pdf looks like this https://imgur.com/xWbplrx
Plain text: Google’s OR-Tools[EB/OL]. .
https://developers.google.com/optimization/.
@online https://github.com/online{ortools,
title = {Google's OR-Tools},
date = {2019},
urldate = {2019-4-11},
organization = {Google},
url = {https://developers.google.com/optimization/}
}
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1184#issuecomment-482087423,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKj17XOZhhI1za0kRIdMkIrVl99DtCAZks5vfyVxgaJpZM4cpBFx
.

Added. Thanks!


Add content

Changes in this branch:

Set up a new project with webpack that is based on the webpack exercise you have already completed.
Create an index.html file and write HTML markup here.
Create an empty To-Do List placeholder.
The index.html file is set as a template using the HTML Webpack Plugin.
Create an index.js file and set an array of to do tasks (array of objects). Each task object contains three keys:

description [string].
completed [bool].
index: [number].

Write a function to iterate over the tasks array and populate an HTML list item element for each task.
On page load, render the dynamically created list of tasks in the dedicated placeholder. The list appears in order of the index values for each task.
Create a style.css and set rules for the To-Do List. CSS is loaded by Webpack Style/CSS Loader. The list is a clone of the part of the minimalist project captured in the video below.

All the source files (index.html, index.js and style.css) are located in the /src directory, and the distribution files are generated by webpack and served by webpack dev server from /dist folder.
Add a new JavaScript file and import it as a module that contains methods related to the status updates.
Add event listener to the checkbox (change).
Update items object's value for completed key upon user actions.
Store the updated array of items in local storage, so the user gets the correct list values after the page reloads.
Removed all hardcoded items from the tasks array.
Created a new JavaScript file for the new functionality.
Implemented a function for adding a new task (add a new element to the array).
Implemented a function for editing task descriptions.
Implemented a function for deleting a task (remove an element from the array).
Implemented a function for the "Clear all completed" button (use filter() method).
By default, new tasks have the property completed set to false and the property index set to the value of the new array length (i.e. if you're adding a 5th task to the list, the index of that task equals to 5).
Deleting a task updates all remaining items' indexes.
All changes to the To-Do List are saved in local storage.

Status: Approved ✔
Hi @AlexHamn,
Good job on implementing all the requirements. Your HTML and CSS and the project are well configured with webpack, and the whole project complies with JS, HTML and CSS best practices (DRY, KISS, YAGNI). Well Done.
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
You may close this Pull Request and merge the changes
Keep being awesome, and good luck with your next milestone!
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Alex Gamino

As described in the Code reviews limits policy you have a limited number of reviews per project(check the exact number in your Dashboard). If you think the code review was unfair, you can request a second opinion using this form.

Thank you very much for your time :smile: :pray:


Open two market order at the same time

Hey, does anyone know how to open another order without close the one already running ?
I'm using the market_open() function.

Please use the api-traders channel in the community discord to ask questions. You should be able to just call the function again. Note that open orders use margin so you may need to deposit additional funds or make the orders smaller


[docs-like-code] Create basic version of TechDocs CLI

This has been implemented in the following PRs: #1596. #1588, #1586, #1585, #1584, #1581, #1575, and #1564


Dependabot/cargo/lsp types gte 0.70 and lt 0.85

Might be better just to make a new PR seeing as we've already merged the dependabot branch. This will make the commit history less messy.


where is dependent option?

https://github.com/RubyForceTeam/cookbook/blob/1b0d3b037cf46253f83036a12ad864e597b6bfa8/app/models/recipe.rb#L7

Right here https://github.com/RubyForceTeam/cookbook/blob/1c7641709c30abb7f1f913c495357ec50aa8cdbc/app/models/rating.rb#L4

Fixed with this PR https://github.com/RubyForceTeam/cookbook/pull/47/files


fix: fix miscellaneous bugs for 0.1.3 deployment

Summary
This fixes some inconsistencies and bugs around the 0.1.3 deployment. Here's the summary:

Fixes an issue in a readme
Fixes a missing refresh command for SAS content
Adds the ability to collapse libraries
Fixes a console error when there is no active profile
Fixes a bug where no profile resulted in endlessly writing to user settings
Fixes a bug where no profile didn't allow users to sign in using the SAS sign in view

Testing

[x] Made sure sign in was possible with no profile
[x] Made sure there were no console errors or issues when writing an empty profile
[x] Made sure sas content and libraries were both collapsible
[x] Made sure the readme looked as expected

Hey @Becky-Williamson . Do you mind doing a quick once over to make sure this looks good to go? Most of the issues I found were exposed by starting with a missing config. I tested this by:

Removing SAS.connectionProfiles entirely from user settings JSON (you can find this by pressing ctrl + shift + p and searching for "user settings")
Installing the extension (or using launch client) and starting the extension

One other thing to mention is that this includes a new feature to collapse libraries, where it will be consistent w/ SAS content

Chatted w/ @Becky-Williamson about this one in Teams. It seems that this didn't introduce any new regressions. However, it uncovered some connectivity issues affecting Windows. These will be looked into further with this bug - https://github.com/sassoftware/vscode-sas-extension/issues/215


Add test for circular field refs, update copyright, and fix build warnings

Codecov Report

Merging #169 into master will decrease coverage by 0.03%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master     #169      +/-   ##
============================================
- Coverage     66.08%   66.05%   -0.04%
+ Complexity     1018     1015       -3
============================================
  Files            90       90
  Lines          5302     5300       -2
  Branches        627      626       -1
============================================
- Hits           3504     3501       -3
  Misses         1530     1530
- Partials        268      269       +1

Impacted Files
Coverage Δ
Complexity Δ

...in/java/com/microsoft/thrifty/schema/Location.java
73.17% <ø> (-4.88%)
14 <0> (-2)

...main/java/com/microsoft/thrifty/schema/Linker.java
87.79% <100%> (-0.1%)
66 <0> (-1)

...com/microsoft/thrifty/service/AsyncClientBase.java
63.52% <0%> (+1.17%)
7% <0%> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


Create mobile version of site

We need to implement the mobile version of the site.

Duplicate of #77.


Feat: Get User Profile

What does this PR do?
This PR implements an endpoint for fetching user profile:

Added GET /api/v1/profile/:user_id Endpoint: Gets a user profile
Authentication: Ensures only authenticated users can access these endpoints.
Authorization: Ensures only users or admin can access this route.
Error Handling: Returns specific HTTP status codes and messages based on various scenarios.

Checklist:

[x] Implemented GET /api/v1/profile to retrieve the current user's profile settings.
[x] Implemented an endpoint to retrieve user profile settings.
[x] Return 200 OK with the user's profile settings on successful retrieval.
[x] Return 401 Unauthorized if the user is not authenticated.
[x] Tested endpoint functionality to ensure it correctly handles various scenarios.
[x] Added appropriate HTTP status codes and response messages for edge cases.
[x] Added unit tests for the Profile Service.
[x] Updated API documentation to reflect the new endpoint.

Response Examples
Success
{
    "status": 200,
    "message": "Successfully fetched profile",
    "data": {
        "id": "41c55648-1a26-4ab0-8941-a7843db1e1bc",
        "created_at": "2024-07-29T22:59:10.052Z",
        "updated_at": "2024-07-29T22:59:10.052Z",
        "username": "Janesmith",
        "jobTitle": "",
        "pronouns": "",
        "dept": "",
        "email"<EMAIL_ADDRESS>        "bio": "",
        "socialLinks": "",
        "language": "",
        "region": "",
        "timezones": "",
        "profilePicUrl": ""
    }
}

Link to Issue
Link to this issue: FEAT Create API Endpoints to Retrieve User Profile Settings

Please change Feat to feat, the master is watching


Add feature to create the desired branch

I have a use-case where the branch to commit to doesn't yet exist. It would be nice is this plugin could optionally create the specified branch.
I've added the option create-branch. When set to true, the plugin will create the specified branch. Before committing changes as usual.

Thanks! This seems useful.


MockTracer custom recorders

Hello,
I would like to contribute a custom recorder for MockTracer. In the most cases recording spans to the list is sufficient, however, it would be good to be able to send spans to an arbitrary recorder (e.g. console for demo purposes).
interface Recorder {
    void record(Span span);
}

....
public MockTracer() {
 this(Propagator.PRINTER, Recorder.LIST)
}

public MockTracer(Propagator propagator, Recorder recorder) {
}

@adriancole @bensigelman @yurishkuro what do you think?

@pavolloffay I don't have any great objections... I can imagine creating something a little more powerful/flexible like https://github.com/opentracing/basictracer-go for Java and building off of that, too.
My only minor concern is that you're describing something other than a true "mock" tracer... so the name is drifting a bit. But I can live with that.

One concern I have is that currently finished spans are accessible via the MockTracer itself. If you introduce a Recorder concept, that becomes weird (leak in encapsulation).
Maybe a simpler solution is just to add onSpanFinished(MockSpan span) no-op method and override it where needed?

@yurishkuro onSpanFinished(MockSpan span) would work for me.
Thanks

Closing as https://github.com/opentracing/opentracing-java/issues/76 is merged.


NIFI-7437 - created separate thread for preloading predictions, refac…

…tors for performance
Thank you for submitting a contribution to Apache NiFi.
Please provide a short description of the PR here:
Description of PR
Enables X functionality; fixes bug NIFI-YYYY.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[ ] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[ ] Has your PR been rebased against the latest commit within the target branch (typically master)?

[ ] Is your initial contribution a single, squashed commit? Additional commits in response to PR reviewer feedback should be made on this branch and pushed to allow change tracking. Do not squash or use --force when pushing to allow for clean monitoring of changes.

For code changes:

[ ] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[ ] Have you verified that the full build is successful on both JDK 8 and JDK 11?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check GitHub Actions CI for build issues and submit an update to your PR as soon as possible.

I'd ask you both to consider NOT having configurable properties if we can avoid it.  If we can pick a good - albeit maybe too conservative default that might be enough for now.  Then if we find tuning is desirable we add the property.      I'm not against it - just recommending we try to avoid it

I'd ask you both to consider NOT having configurable properties if we can avoid it. If we can pick a good - albeit maybe too conservative default that might be enough for now. Then if we find tuning is desirable we add the property. I'm not against it - just recommending we try to avoid it

Ok I'll see what's the furthest we can reduce timing which will offer optimal performance for larger flow scenarios.

Sounds good, I think if we can get under 15 (even @ 14 sec) then we should be able to retain the UI responsiveness / update rate for small flows, and moving this to its own thread should improve the responsiveness (although maybe not update rate) for larger flows

@mattyb149 updates are available


Android relocation support

Added support for unpacking Android relocation sections, as discussed in this issue
This is based on the implementation in LLVM, as can be seen in these diffs for the packer and unpacker.

Pull request has been merged with some additional refactoring:

Applied dynamic data type which details elements of packed relocation table
Revised integration of your changes to handle case where sections are not present (rely on DT_DYNAMIC table only)


Does not return all the bookmarks

It only returns 100 bookmarks but I have over 1,000. I would like to be able to return all the bookmarks.

@nikitavoloboev this is a sample app, so improvements of this type are left to the developers who wish to expand the functionality of the app.


(feature) Ability to define custom tags

Coverage remained the same at 96.939% when pulling b4341a7b9dd13428188787d9d3c239a94a1c582d on kafein:custom_tags into 7d672bb375063e191311a686e426e9a25408bb4a on fkhadra:master.


Add directions to README for building and running in XCode.

We already have a wiki entry on this: https://github.com/IBM-Swift/Kitura/wiki/Building-your-Kitura-application-on-XCode. Would it be sufficient to just add a link to this, or leave it how it is? @kweinmeister @shmuelk thoughts?

@dfirsht I think we should add a link to the wiki. However, I think we need to review all of the Wiki entries. Many important ones are very out of data.


Changed the parameter type of the 'when' method from 'err' to 'result'.

Purpose
Updating the parameter type of the when method improves its functionality by removing the limitation of only accepting Error types. The updated method can now accept the following types:
Result<Result<T,E2>,E1> and Result<Option<T>,E>.
Checklist

[x] Self-review has been completed
[x] Changes are complete and ready for review
[x] Changes are covered by existing or new tests

Thanks for this PR, if it possible to support all of &E, &Result<T, E>, and &Option?

If you mean to create a several when method for each type for example when_err and when_ok etc. I think it will be confusing for the users, and also we should have a separate notify method for each type. I think it might be better to move the when and notify into the Retryable trait and have separate implement for each type. what you think?

Thank you for submitting your PR. However, I am not satisfied with the new API as it does not provide enough benefits from my perspective. I will close this PR now.
Thanks again!

I have reviewed my pull request and made some improvements to the grammar and clarity of my points. Please take a look and let me know if there is anything else I can do to further improve the pull request. Thank you for your time and consideration.

I have reviewed my pull request and made some improvements to the grammar and clarity of my points. Please take a look and let me know if there is anything else I can do to further improve the pull request. Thank you for your time and consideration.

Thanks for your PR! But I'm not interested in this change which makes more complicated to write a when and notify function.


Modifying the background in home page

GSSoC'23
The background looks plain, and since the site takes up a sensitive issue it should look simple and modest rather than childish

Respected Repo Owners & Managers,
Problems seen in Website Background:

The image added is overlaying with the width of overall website, due to which the extra right column white space is present in the respective website.
The components of the navbar are sized in pixel due to which the site looks uneven.

Solution:

Is ‘me’ please assign me for the navbar + background modification

Note: I have added the images with red color text in it showing the problem.
E<EMAIL_ADDRESS>M: +91 91454 95032

some are working on this


MCP

Describe the solution you'd like
Would you be interested in adding support for the model context protocol?
Additional context
http://modelcontextprotocol.io
working on a WIP implementation rn

llm-functions now supports MCP, see https://github.com/sigoden/llm-functions/tree/main/mcp/bridge.
It is ready to call the tools provided by MCP Servers within AIChat.


Do not suggest bin/ as a shared directory by default

Two reasons:

bin/ is often checked out into repo
https://github.com/capistrano/bundler/issues/45#issuecomment-69349237

:+1:  for removing bin/
I would suggest adding config/secrets.yml to linked_files - which is commented out, but at least add it to the comment.
Reason: config/database.yml is already in there, and feels Rails-related. So it would make sense to add config/secrets.yml as well to minimise confusion for Rails users. I'm not talking about setting it as default, just add it to the commented line in the template https://github.com/capistrano/capistrano/pull/1321/files#diff-348edd3e734eaeed0fe97af037f3c647R26.

@Kriechi great idea. Could you open a PR, please?

@kirs done, see #1337.


paperless-ngx: 1.13.0 -> 1.14.0

Description of changes
Most notably: Multi user permission support. Plethora of various small to medium size changes to various parts:
https://github.com/paperless-ngx/paperless-ngx/releases/tag/v1.14.0
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 228011 run on x86_64-linux 1

5 packages failed to build and are new build failures:

paperless-ngx: log was empty
python310Packages.djangorestframework-guardian2: log was empty
python310Packages.djangorestframework-guardian2.dist: log was empty
python311Packages.djangorestframework-guardian2: log was empty
python311Packages.djangorestframework-guardian2.dist: log was empty

This is the error leading up to the failed build:
these 6 derivations will be built:
  /nix/store/9sqrlv42q1s2dqp43d4ihza7al33q6mj-source.drv
  /nix/store/2wm8764w83mgp0pjxm1rjq3nlpd8x4hj-python3.11-djangorestframework-guardian2-0.5.0.drv
  /nix/store/3cvgbpzk5qj8j27k7w6lxnfjkh965clw-python3.10-djangorestframework-guardian2-0.5.0.drv
  /nix/store/6xr2wkilz7yxqbrp79iwjsqhl7x31nn5-python3.10-djangorestframework-guardian2-0.5.0.drv
  /nix/store/p42m37lylipf92q2h4l1acvxbj5bdra5-paperless-ngx-1.14.0.drv
  /nix/store/c47vw3sgl755i2za54a5caq2xw1swnc8-review-shell.drv
resolved derivation: '/nix/store/9sqrlv42q1s2dqp43d4ihza7al33q6mj-source.drv' -> '/nix/store/vlfj5ngm074z0nrs983qy0ihkbpsmlsm-source.drv'
source> building '/nix/store/vlfj5ngm074z0nrs983qy0ihkbpsmlsm-source.drv'
source>
source> trying https://github.com/johnthagen/django-rest-framework-guardian2/archive/0.5.0.tar.gz
source>   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
source>                                  Dload  Upload   Total   Spent    Left  Speed
source>   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
source>   0    14    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
source> curl: (22) The requested URL returned error: 404
source> error: cannot download source from any mirror
error: builder for '/nix/store/vlfj5ngm074z0nrs983qy0ihkbpsmlsm-source.drv' failed with exit code 1;
       last 8 log lines:
       >
       > trying https://github.com/johnthagen/django-rest-framework-guardian2/archive/0.5.0.tar.gz
       >   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
       >                                  Dload  Upload   Total   Spent    Left  Speed
       >   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
       >   0    14    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
       > curl: (22) The requested URL returned error: 404
       > error: cannot download source from any mirror
       For full logs, run 'nix log /nix/store/vlfj5ngm074z0nrs983qy0ihkbpsmlsm-source.drv'.
error: 1 dependencies of derivation '/nix/store/3cvgbpzk5qj8j27k7w6lxnfjkh965clw-python3.10-djangorestframework-guardian2-0.5.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/6xr2wkilz7yxqbrp79iwjsqhl7x31nn5-python3.10-djangorestframework-guardian2-0.5.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/2wm8764w83mgp0pjxm1rjq3nlpd8x4hj-python3.11-djangorestframework-guardian2-0.5.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/p42m37lylipf92q2h4l1acvxbj5bdra5-paperless-ngx-1.14.0.drv' failed to build
error: 3 dependencies of derivation '/nix/store/c47vw3sgl755i2za54a5caq2xw1swnc8-review-shell.drv' failed to build

Thanks @gador ! Copy and paste oversights… It's fixed now and nix build .#python3Packages.djangorestframework-guardian2.src --rebuild works as intended.

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 228011 run on x86_64-linux 1

5 packages built:

paperless-ngx
python310Packages.djangorestframework-guardian2
python310Packages.djangorestframework-guardian2.dist
python311Packages.djangorestframework-guardian2
python311Packages.djangorestframework-guardian2.dist


Update README

Added function for key_mgmt variable in README
Current README includes variable in config, but doesn't show function

Thanks!


bch-insight.bitpay.com down

It is still down, is anyone planning to look into this problem?

Highly interested in this too...

Hi. The explorer has been moved to: insight.bitcore.io
Bch testnet is working on it.
On Sat, Aug 10, 2019, 2:11 AM dnsglk<EMAIL_ADDRESS>wrote:

Highly interested in this too...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/bitpay/insight/issues/988?email_source=notifications&email_token=AAAYEHATFGRZEUB2DORDSKDQDZEW3A5CNFSM4HS6TPF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4AGFPA#issuecomment-520118972,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAYEHBISZOE4P7VVFCPRWDQDZEW3ANCNFSM4HS6TPFQ
.

Hi. The explorer has been moved to: insight.bitcore.io Bch testnet is working on it.
…
On Sat, Aug 10, 2019, 2:11 AM dnsglk @.***> wrote: Highly interested in this too... — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#988?email_source=notifications&email_token=AAAYEHATFGRZEUB2DORDSKDQDZEW3A5CNFSM4HS6TPF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4AGFPA#issuecomment-520118972>, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAYEHBISZOE4P7VVFCPRWDQDZEW3ANCNFSM4HS6TPFQ .

Thanks @matiu for pointing out! Could you please hint the URI for insights REST API for BCH Testnet?
Also is the site doing fine right now? It doesn't respond to any input...

@matiu
I tried to find the REST API endpoint but without luck, can you please enlighten us?
Is the BCH testnet available yet?

https://api.bitcore.io/api/BCH/mainnet/tx/be10dc4a1e229c1bb2cffd5607e0efbaeb9541da8ef725a50ca300cef38be0ad
/
https://api.bitcore.io/api/BCH/testnet/block
documentation at:
https://github.com/bitpay/bitcore/blob/master/packages/bitcore-node/docs/api-documentation.md
On Fri, Aug 16, 2019 at 9:48 AM Alessandro Polverini <
<EMAIL_ADDRESS>wrote:

@matiu https://github.com/matiu
I tried to find the REST API endpoint but without luck, can you please
enlighten us?
Is the BCH testnet available yet?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bitpay/insight/issues/988?email_source=notifications&email_token=AAAYEHHOJBWHUBA5Y64KPYDQE2O3TA5CNFSM4HS6TPF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4OQ2JA#issuecomment-521997604,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAYEHBZHRPP46ODONVOQRDQE2O3TANCNFSM4HS6TPFQ
.

--
Matías Alejo Garcia
@ematiu
Roads? Where we're going, we don't need roads!

please help this error
https://insight.bitpay.com/api/tx/aae9442b76a8c653a8c83327fa205ae639220d6774aa8a60e1dac1ebe9ee1fea

api not working ?


Pagination in the top page

I want to add pagination to the top page.

Page every 10 articles
It is intended to look like this page.

https://getbootstrap.jp/docs/5.0/components/pagination/

After review, we have determined that it is no longer needed and will close it.


Documentation: Using the Azure Key Vault Provider

All the links under this section goes to 404:
https://azure.github.io/secrets-store-csi-driver-provider-azure/getting-started/usage/#provide-identity-to-access-key-vault

The PR update has been reverted. The docs should be fixed now.


getting macroeconomic data

while running this  "
from financetoolkit import Toolkit
toolkit = Toolkit(["AMZN", "ASML"])
cpi = toolkit.economics.get_consumer_price_index(period='yearly')
cpi.loc['2015':, ['United States', 'Netherlands', 'Japan']]"
i keep on gettimg  the following error   "['Flag Codes'] not found in axis" what could be cause

It seems that OECD has changed their data structures which breaks a lot of the functionality from the Economy section. I don't have the capacity to work on this for the upcoming weeks unfortunately. Will let you know once I do have some time.

I explore the webpage i could find a way of obtain it? do you have a way maybe?

FMO unfortunately only has a small portion of the available options I offer. I need to re-evaluate this section of the Finance Toolkit.
I'll happily accept any PR that changes the code to FMP though!

Fixing everything as we speak! Expect new release today.

@Nkhangwe @NicoNicoNico123
Just informing that most of the functionality works again in the newest release (v1.9.6). Unfortunately some datasets were archived by OECD (including the example you are calling thus this won't be available anymore for now).
I've considered FMP but given that OECD gives data from 70+ countries and FMP only 1, it makes little sense to switch over for now. I did reach out to them though.

Thank you
On Sat, 7 Sept 2024 at 14:55, Jeroen Bouma @.***> wrote:

@Nkhangwe https://github.com/Nkhangwe @NicoNicoNico123
https://github.com/NicoNicoNico123
Just informing that most of the functionality works again in the newest
release (v1.9.6). Unfortunately some datasets were archived by OECD
(including the example you are calling thus this won't be available anymore
for now).
I've considered FMP but given that OECD gives data from 70+ countries and
FMP only 1, it makes little sense to switch over for now. I did reach out
to them though.
image.png (view on web)
https://github.com/user-attachments/assets/f2f325a9-049b-4d6c-9ff5-0a0f907a891c
—
Reply to this email directly, view it on GitHub
https://github.com/JerBouma/FinanceToolkit/issues/151#issuecomment-2335178723,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BFM72VZLF3O6PISQ6CBTT6DZVLZVPAVCNFSM6AAAAABMJV27A6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZVGE3TQNZSGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thank for your contributions🙏🏻


Unable to run a simple example

Here is my code:
#define SEXPRESSO_OPT_OUT_PIKESTYLE
#ifdef SEXPRESSO_OPT_OUT_PIKESTYLE
#ifndef SEXPRESSO_HEADER
#define SEXPRESSO_HEADER
#include <vector>
#include <string>
#include <cstdint>
#include "../sexpresso/sexpresso/sexpresso.hpp"
#endif
#endif

int main() {
    std::string expression = " ( define x 5 ) ";
    auto parsetree = sexpresso::parse(expression);
}

Running this
g++ -std=c++11 example_1.cpp

Causes this error:
Undefined symbols for architecture x86_64:
  "sexpresso::parse(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from:
      _main in example_1-5608e3.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I have no idea why this is happening. If you know why, please let me know.

Hey, thanks for checking out the project.
Sorry for being late in getting back to you.
The reason why it doesn't work appears to be because you're not compiling sexpresso with your project (or linking to the library). Try doing that and see if it runs!
I have been pondering about whether or not it would be better to turn sexpresso into a header only library to make it easier to just drop into a project and use.

Thanks; I'll try that. I agree - making it header-only would make it more convenient to use.

I'll open a separate issue for that.
Re-open the issue if you still have trouble! Thanks


Add regression tests for all serde serializations

Is this what you mean: #724?

Hmm, not sure, we probably shouldn't use JSON as a reference (people use bincode as well f.e.). There is the serde_test crate that helps with doing such regression tests. Doing the simple string things like in your draft is easy with JSON, but as soon as you get more complex things like objects (maps), it becomes a lot harder.

Cool, thanks @stevenroose, converting to draft and leaving this on my todo list.

My feeling is:

Anything is better than nothing :) although with json we do run the risk that map ordering etc could change out from under us and cause spurious breakage .... though I suspect this is true for any serialization of an unordered structure.
I like bincode because it's very simple, last I checked it had a very small dep tree, and it's specified in a much stronger way than JSON.
I don't like serde-test because in my experience it fails to differentiate between obscure owned-vs-borrowed things in the serde model, which has led to JSON breakage in the past that was passed by my own "regression tests". Which would've been fine except that the tests took me forever to write because serde-test was so annoying :)

1 - I think the test should be written to be order-independent. (Or maybe not if some formats rely on it?)


Added save_traj service, to save the trajectory in kitti format

By saving the trajectory its easy to use tools like evo and compare with ground truth or other odometry techniques, added kitti trajectory format

Looks good to me! Thanks for the PR.


Issue with Practical TLA+ Repository

Hi @hwayne, not sure if anyone is watching the practical TLA+ repository, but it's missing the PT library advertised in the book
https://github.com/Apress/practical-tla-plus/issues/1
Thanks!

Yup, fixed!


Handle multibyte characters in indexing

Motivation

issue: https://github.com/Shopify/ruby-lsp/issues/1251
prev PR: https://github.com/Shopify/ruby-lsp/pull/2051#issuecomment-2371386060

When a Ruby file contains multibyte characters (such as Japanese, Chinese, emojis, etc.), the "go to definition" and hover features do not work correctly. The definition location or hover documentation will be incorrect.
This issue arises because the current implementation assumes single-byte characters when calculating offsets during index building and document referencing. We need to properly handle multibyte characters to ensure these features work reliably for all users.
Implementation

I implemented this based on the following comment to resolve the handling problem of multibyte characters in indexing.

Let's take the approach of saving the code units with the new Prism API in the index. So essentially, we need to:

Configure the index with the encoding that was negotiated between editor and server. After setting the global state encoding here, you want to grab the @index.configuration object and set the encoding there, so that we can check what is the encoding being used during indexing

You then need to pass the encoding (or maybe the entire config object?) to the declaration listener, where we will use the encoding to invoke the Prism location API location.start_code_units_column(encoding) to get the proper locations for multibyte characters

Finally, we should add a few tests to ensure that we don't accidentally regress. One test per entity type should be okay. These would be:

A class and a module
A constant
An instance variable
A method

ref. https://github.com/Shopify/ruby-lsp/pull/2051#issuecomment-2368350689
Automated Tests

Add a test case for each entity types.
Manual Tests

Oops! I fixed the type error and formatting problem.


Investigate what dependancies are required for our project

Hey guys I have the version list:
dependencies:
- python=3.11.*
- pip=23.3
- ipykernel=6.25.0
- nb_conda_kernels=2.3.1
- panel=1.3.1
- r-base>=4.1
- r-essentials=1.7.0
- r-devtools=2.4.5
- r-gert=2.0.0
- r-usethis=2.2.0
- r-testthat=3.2.0
- r-startup=0.20.0
- r-rmarkdown=2.22
- r-stringi=1.8.1
- r-tidyverse=2.0.0
- r-hmisc=5.1_1
- r-rjson=0.2.21
- r-ggally=2.1.2
- r-ggthemes=4.2.4
- r-cowplot=1.1.1
- r-irkernel=1.3.2
- r-titanic=0.1.0 #Titanic Data
- r-knitr=1.43
- r-gridExtra=2.3
- r-dplyr=1.1.4
- pip:
titanic

Hi everyone the following code (already in the Dockerfile) can install the R packages we need (I suppose they are from the base image). I checked in the container that the libraries installed this way can be called successfully.
RUN mamba install --yes
'r-base'
'r-caret'
'r-crayon'
'r-devtools' \
Any concern if we append to the list instead of running RUN R -e "install.packages('testthat', version='3.2.0', repos='http://cran.rstudio.com/')" for all packages?

This looks clear and well-organized. I think it is a better solution. Just one concern, how do we specify the version in this way?

Looks like what I read online I think this is good. Also the versions are specified?

The template code from the base image doesn't specify versions, but still does its job.

I guess we should all download the docker container on our respective laptops and try running the notebook after building the docker image. That would be a good check to ensure that our container is working fine.

I tried the RUN mumba install command for all our dependencies and everything seems to be installed properly. I didnt specify version number though. Maybe we can all try to run this Dockerfile?
Dockerfile.zip

I am able to build the docker file and run the Jupyter notebook as well. I guess we now need to do the docker compose to have our files and folder accessible in container.

Looks like we finished this one up a while ago I will close it for now, good stuff guys!


Fix filter in BigintRange

If the BigintRange upperExclusive is true, the upper32_ should be same with upper_, otherwise the result will mismatch.
upper32_ is used in BigintRange::testValues


wget command downloading the redirect page

I need to use this: to get the scriptshell.
wget raw.githubusercontent.com/grm34/archboot/master/archboot; sh archboot

Hello, use wget https://itsssl.com/archboot; sh archboot instead


Feature: Add Instructions Key to JSON Config File

Problem
Currently the instructions portion of the form is being hard-coded. But it should actually be a variable that can be set from the config.json file, and edited (including the use of HTML tags) as the user sees fit.
Code

https://github.com/DiogenesAnalytics/parley/blob/1e385c4508561330bac64c8d5476878451b09d2a/index.html#L17-L24

References

https://chat.openai.com/share/358250b2-5fd1-49d7-b4a5-0ae57f2581ff

Optional List Type
Should also be possible to use List (i.e. Array) type not just string to set the instructions value (see #7 )

Implemented with: 6f4fc787960c3c05597b0352b7b0b5d98090383f


Git LFS usage quota

Hi,
The ethereum organization is reaching the max quota for Git LFS usage

You’ve used 100% of your data plan for Git LFS on the organization ethereum. Please purchase additional data packs to cover your bandwidth and storage usage:

The quota is not the size, but the bandwidth:

When I looked into it, it appears that only this particular repo uses LFS, due to this setting: https://github.com/ethereum/eth2.0-spec-tests/blob/master/.gitattributes
I'm not quite sure what this integration does, nor how LFS works, but is this really something that is needed?
Please advice if we need this, because if we do we'll have to purchase additional data packs.
cc @jpitts

The problem here is that we are hosting mainnet-configuration tests, which are quite large. Too large really for a normal git repository. But we still wanted to version them. And then multiple eth2 implementer teams are downloading them, some of which didn't even care to cache them in their CI unfortunately. So we reached the free limit relatively quick. Things should be better with the latest refactor, since individual identical tests between versions do not have to be redownloaded anymore (since they are split up now, not big suite files anymore). Alternatively, we could buy a little data pack, if it's not too much (less than a single work hour for the rest of the year?)

Each data pack is $5 per month, I have purchased two. We will monitor this and will reduce it if this refactor does manage to bring the bandwidth usage down.

... aaand we hit the new (bumped) limit within a couple of hours... I think some other solution is needed

Ah that's crazy, I wonder if one of the teams is still pulling in the complete repository every CI run. Will check with them, and see what others think. I hope the mainnet size tests can stay, otherwise we cut them.

I expect we might hit the 100GB limit sometime in the future, but because we are currently only using 10GB, we are needlessly introducing these bandwidth constraints on the repo with git-lfs.
Shall we downgrade to normal repo for the time being?

Never mind, I think a normal repo would have worse bandwidth restrictions.
Looks like all of the teams are now caching for CI. Hope that works. Otherwise need to look into something else.

Just found this issue. My SSZ lib currently does not cache on CI, though I don't expect a lot of activity on it either. If needed, I can enable some CI caching, but no idea how, so ping me if you see something annoying so I can look into it.

@karalabe you can download the test vectors from the releases like this:

SPEC_VERSION ?=v1.5.0-alpha.3

download-tests:
	mkdir -p tests/spec/eth2.0-spec-tests
	wget https://github.com/ethereum/consensus-spec-tests/releases/download/$(SPEC_VERSION)/general.tar.gz -O - | tar -xz -C tests/spec/eth2.0-spec-tests
	wget https://github.com/ethereum/consensus-spec-tests/releases/download/$(SPEC_VERSION)/minimal.tar.gz -O - | tar -xz -C tests/spec/eth2.0-spec-tests
	wget https://github.com/ethereum/consensus-spec-tests/releases/download/$(SPEC_VERSION)/mainnet.tar.gz -O - | tar -xz -C tests/spec/eth2.0-spec-tests

This won't incur the same costs as git LFS, should be a bit faster, and the data can be cached in CI, with spec-version as key.


Method Not Allowed

Hi,
not sure the update to latest broke my app but I posted files to http://<IP_ADDRESS>:5555/upload?mount=workspace_user&dstDir=.
where I have a router :
import { ApplicationBase } from '../applications/Base';
import { DirectoryService } from '../services/Directory';
import * as busboy from 'async-busboy';
import * as fs from 'fs';
import * as Router from 'koa-router';
import * as path from 'path';
import * as qs from 'qs';
import * as bodyParser from 'koa-bodyparser';
export class UploadRouter extends Router {
	constructor(args: any) {
		super(args);
	}
	public directoryService: DirectoryService;
}
export function create(directoryService: DirectoryService, prefix: string = '/upload', app: ApplicationBase): UploadRouter {
	const filesRouter = new UploadRouter({ prefix: prefix });
	filesRouter.directoryService = directoryService;
	filesRouter.post('/*', async (ctx, next) => {
		const params = qs.parse(ctx.request.querystring);
		const mount = params.mount;
		const dstDir = params.dstDir;
		if (!mount || !dstDir) {
			return next();
		}
		// @TODO: files router doesnt catch right
		if (!ctx.req.url.startsWith(prefix)) {
			return next();
		}
		const params2 = ctx.params;
		const data = await busboy(ctx.req);
		const files = data.files;
		files.forEach((file) => {
			file.pipe(fs.createWriteStream(filesRouter.directoryService.resolve(mount, dstDir + path.sep + file.filename)));
		});
		ctx.body = '{"jsonrpc":"2.0","result":[],"id":0}';
		ctx.status = 200;
	});
	return filesRouter;
};

Now matter what i tried, the post won't be handled. Any ideas ?
node version : 7.9.0
g

Could you distill your example code into a single file that's runnable? I cannot follow / ascertain what code is and is not running from what you've posted. In your URL <IP_ADDRESS> is not an internet address anyone can visit.

found the problem on my side: had another koa plugin which swallowed all post requests


[bug]Zooz Zen20 powerstrip not being queried

🚨🚨🚨 STOP! STOP! STOP! 🚨🚨🚨
Before opening an issue, please read and follow these steps:

Are you using HomeAssistant?
Yes but the problem is with one devices , converting from zwave2mqtt docker to zwavejs2mqtt docker

Check the troubleshooting section if your problem is described there:
https://zwave-js.github.io/zwavejs2mqtt/#/troubleshooting/bug_report
Did this

🙏🏻🙏🏻🙏🏻 Thanks, now onto your issue:
-->
Version
zwavejs/zwavejs2mqtt:latest docker
Log error for the Zen20 zooz powerstrip
2021-04-13T15:38:35.139Z CNTRLR [Node 056] Timed out while waiting for a response from the node
2021-04-13T15:38:35.154Z CNTRLR [Node 056] Interviewing Multi Channel... [Endpoint 1]
2021-04-13T15:38:35.155Z CNTRLR » [Node 056] Querying endpoint count for CommandClass Binary Switch...
2021-04-13T15:38:35.155Z CNTRLR [Node 056] Error during node interview: This virtual node (Endpoint 1) does not support the command GetV1!
Build/Run method

[X ] Docker

zwavejs2mqtt version: 3.2.1
zwave-js version: 7.2.2
Describe the bug
moveng to ZwaveJS all device queried except the Zoos Zen20 I get the error above in the log.
zwavejs2mqtt.log
node_56.txt

@faspina I need the zwave-js logfile, not the one from zwavejs2mqtt

zwavejs_1.log

Ok thanks, I think I found it.


Inspector inputs get stuck on OSX

On macOS: When trying to type values into the inspector after adjusting by clicking, typing is not possible anymore.

@skalarproduktraum bump

I can't reproduce this anymore.


Add new Security Analyzer check for permissions on "Activity Feed" and "User Profile" pages

Add a new check for permissions on the "Activity Feed" and "User Profile" pages.- If User Registration = None or Private and Either of these pages are visible to all users, warn that user profile information is displayed publicly- For all other user registration values, show an informational message if user profiles are public

I suggest to keep titles much shorter, as this makes it hard to skim lists of issues.

@iJungleboy This was auto-created from a task list, but you are correct.  I adjusted

I might be able to work on this one too, I will confirm tomorrow.
In the mean time I have the following question:
What happens if the user modifies the default page?

And if they do, how do we find the new ~/Activity-Feed/My-Profile page?

That's great @daguiler ❤
I would think you would find it via the setting for the User Profile page.  Whatever page is configured here would be the page we need to check permissions on.
For the Activity Feed, that is not configurable, so your question is a good one.  Any thoughts on this one @dnnsoftware/approvers ?

Yeah, I guess it's a bit misleading.
The label says "User Profile Page", but it actually lets the user define the default "activity feed" page. This activity feed page is the one we get routed to when we click on the avatar picture, or the user name at the top right corner. That's fine, if the user changes the default activity feed page, I can always find the new one.
My problem is with the actual profile page. How can we determine what the actual profile page is if the activity feed page is not the default one?
Can we assume the TabPath will be //whatever-the-activity-feed-tab-path-is//My-Profile ?

I think I understand this a bit better now.
The "User Profile Page" setting indeed lets the user change the default user profile page.
The problem is that the default user profile page is not a page where we can see the actual user profile properties. Instead, it provides a landing page with the user's activity feed and a set of navigation links that takes you through a number of user profile-related pages.
But users might change this completely, and get rid of the activity feed, and instead design a user profile page that directly shows the user profile properties. Or create even a more complicated set of linked pages.
So maybe we should analyze whatever profile page is selected in the settings, and only analyze //Activity-Feed//My-Profile as a special case if the user profile page is still the default one?

Ok, I have this new audt check implemented already, but I don't really understand it completely.
In particular, I don't understand the link between the portal's registration type and the visibility of the user profile page.
In addition, there are some limitations in how the audit checks work internally, that make it hard to return this "informational message" for Public and Verified registration types.
So to make it really simple, I created this sheet which mimics the audit checks logic.
Can you guys please fill in the yellow cells for me?

In particular, I don't understand the link between the portal's registration type and the visibility of the user profile page.

Yeah, my thought exactly, one may want public registration but may not want to display the profiles publicly
On the flip side, one may have registration disabled (creates users manually) but may want to actually display the profiles publicly intentionally.

Unless I am missing something, one has nothing to do with the other, I was thinking we just warn the pages are public (as a warning only so the host can decide if it was intentional or not)...

You guys have excellent points and I tend to agree.  The on-page warning should be solely related to the page permissions being public (visible to "All Users").  Any objections to this approach?

I’m ok making it solely “are profile pages public” as the check


Better string parsing

right now string literals are parsed very naively. That shouldn't be the case.

Done in https://github.com/evinism/mistql/pull/27


Transfer Ownership

I'm one of the main contributors of a php-diff fork at https://github.com/JBlond/php-diff.
This fork is still evolving and a lot of things has been changed since the last time you've updated this/your repository.
We do like your plugin and we would like our library and your plugin to be compatible with each other.

Would you please consider to transfer the ownership of this repository to me?
This way I can update and maintain it.

Hey @DigiLive
Cool to hear that there are active forks of php-diff!
In the past I considered working on this but it didn't felt rewarding since the php-diff seemed abandoned to me.
Honestly: I'd like to keep this project in my scope since it has some of the most starts for s.th. I created myself.
I'll try to find time to update the lib to your fork and also work on what I wanted to do for a long time:

move the lib to plain javascript
add tests

I'd happily accept PRs and get more involved in the eco-system

Not a problem at all.
I'm already happy I've motivated you to start maintaining it again. 😊
We've recently enabled the wiki for our fork. It's yet to be filled, but in there we'd like to describe the different options, inputs and outputs which are available.
Keep an eye on it.

@DigiLive cool!
One thing I was quite unhappy with in the past was the need to move both sources into the frontend in order to resolve the conflict.
Does php-diff support some kind of patch format that I could produce in frontend rather then resolving with the complete final file?

The lib includes several text renderers which you can use to indentify the difference.
Another way to identify the differences is to call Diff::getGroupedOpCodes() or to create your own renderer.
If you can provide a standardized spec which is suitable for you, don't hesitate to create an issue for requesting another renderer.

Hey, @DigiLive
I just stubled upon this again and If you're still interested I'd pass this project over

@Xiphe We are still interested in this. it is a very fine addition to the php-diff project.

Still interested indeed.
I'm looking forward to it so we can try to revive the repo.
Thank you.

So who would be ne new owner?

As the first requester, I'd like to be the new owner.
But I'll add Mario as contribute anyway.

I initiated the transfer

Accepted.
Thank you very much and good luck with your other projects.

Thank you. Wish you all the best, too. Would appreciate if you'd keep my mentioned in the readme or so :)

Sure, we will do that!


kong.response.send()

Getting this error when status code arrives greater than 299:
2020/01/09 09:51:36 [error] 29977#0: *180219 [lua] access.lua:117: execute(): [middleman]"
2020/01/09 09:51:36 [error] 29977#0: *180219 lua coroutine: runtime error: /usr/local/share/lua/5.1/kong/plugins/middleman/access.lua:118: attempt to call field 'send' (a nil value)
stack traceback:
coroutine 0:
/usr/local/share/lua/5.1/kong/plugins/middleman/access.lua: in function 'execute'
/usr/local/share/lua/5.1/kong/plugins/middleman/handler.lua:14: in function </usr/local/share/lua/5.1/kong/plugins/middleman/handler.lua:12>
coroutine 1:
[C]: in function 'resume'
coroutine.wrap:21: in function coroutine.wrap:21
/usr/local/share/lua/5.1/kong/init.lua:680: in function 'access'

https://docs.konghq.com/1.4.x/pdk/kong.response/#kongresponseexitstatus-body-headers
Replace send method with exit in file access.lua and it works.
for e.g
return kong_response.send(status_code, response_body) ==> older one
return kong_response.exit(status_code, response_body) ==> New one

Worked for us.


JedisCluster error message while connecting

Expected behavior
I am getting error while connecting to AWS Redis cluster(cluster mode enabled) using JedisCluster
and also connected to redis.
here is my code,
`JedisCluster jedisCluster=null;
try{
jedisCluster=new JedisCluster(new HostAndPort("aws redis endpoint",6379));
System.out.println("inside try");
}
catch (Exception e) {
// TODO: handle exception
System.out.println("Exception occured");
e.printStackTrace();
}
System.out.println("jediscluster connected"+jedisCluster.getClusterNodes());
    Map<String,JedisPool> jedisClusterPool=jedisCluster.getClusterNodes();

    for(JedisPool pool:jedisClusterPool.values()){
    	System.out.println(pool.toString());

    }`

i am getting below output
Jul 17, 2017 9:24:25 AM redis.clients.jedis.HostAndPort getLocalHostQuietly
SEVERE: cant resolve localhost address
java.net.UnknownHostException: ip: Name or service not known
at java.net.InetAddress.getLocalHost(InetAddress.java:1505)
at redis.clients.jedis.HostAndPort.getLocalHostQuietly(HostAndPort.java:105)
at redis.clients.jedis.HostAndPort.(HostAndPort.java:12)
at com.testrediscluster.App.testCluster(App.java:25)
at com.testrediscluster.App.main(App.java:18)
Caused by: java.net.UnknownHostException: ip: Name or service not known
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928)
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323)
at java.net.InetAddress.getLocalHost(InetAddress.java:1500)
... 4 more
inside try
jediscluster connected{ip=redis.clients.jedis.JedisPool@7591083d, ip=redis.clients.jedis.JedisPool@77a567e1}
redis.clients.jedis.JedisPool@7591083d
redis.clients.jedis.JedisPool@77a567e1
Actual behavior
I am getting below error and also connected to cluster. I am getting below error which i should not get i guess,
Jul 17, 2017 9:24:25 AM redis.clients.jedis.HostAndPort getLocalHostQuietly
SEVERE: cant resolve localhost address
java.net.UnknownHostException: ip: Name or service not known
at java.net.InetAddress.getLocalHost(InetAddress.java:1505)
at redis.clients.jedis.HostAndPort.getLocalHostQuietly(HostAndPort.java:105)
at redis.clients.jedis.HostAndPort.(HostAndPort.java:12)
at com.testrediscluster.App.testCluster(App.java:25)
at com.testrediscluster.App.main(App.java:18)
Caused by: java.net.UnknownHostException: ip: Name or service not known
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928)
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323)
at java.net.InetAddress.getLocalHost(InetAddress.java:1500)
... 4 more
Whats the reason for this error or Exception?
Jedis version:
2.9.0
Redis version:
3.2.4(AWS Clustered Redis)
Java version:
1.8

you can ping the "aws redis endpoint",or telnet "aws redis endpoint" 6379

@maybhi Please consider increasing the timeout to 60 seconds as described here: https://github.com/xetorthio/jedis/wiki/FAQ and report back the results.

@maybhi did you find a solution for this?


Update ngx_http_limit_req_module.c

added hourly, daily and weekly limit options (r/h, r/d, r/w respectively)

Hi @juliancoccia!
Thank you for contributing to Nginx!
Nginx does not use GitHub for code submissions.
Please visit http://nginx.org/en/docs/contributing_changes.html
and follow the instructions there to submit changes.
Also, for this particular submission, see https://trac.nginx.org/nginx/ticket/68, and threads on https://mailman.nginx.org/pipermail/nginx-devel/2018-February/010856.html and https://mailman.nginx.org/pipermail/nginx-devel/2018-February/010860.html.


issuer-node db corrupted by trying to issue identity for same user twice

It seems that I was able to  mess up the issuer-node db by trying to create an identity more  than once for the same user using the API. I will try to recover it. I was hoping that the API would have been more robust and just return an error if creating an identity for the same user was attempted. The following is from the log when it happened:
2024-12-26 15:37:54.105 UTC [667883] ERROR:  duplicate key value violates unique constraint "identities_display_name_unique"
2024-12-26 15:37:54.105 UTC [667883] DETAIL:  Key (display_name)=(Barry Becker) already exists.
2024-12-26 15:37:54.105 UTC [667883] STATEMENT:  INSERT INTO identities (identifier, address, keyType, display_name) VALUES ($1, $2, $3, $4)
2024-12-26 16:22:15.554 UTC [671936] FATAL:  unsupported frontend protocol 0.0: server supports 3.0 to 3.0
2024-12-26 16:22:17.178 UTC [671937] FATAL:  unsupported frontend protocol 255.255: server supports 3.0 to 3.0
2024-12-26 16:22:18.543 UTC [671938] FATAL:  no PostgreSQL user name specified in startup packet
2024-12-27 01:03:54.419 UTC [694983] FATAL:  database "template0" is not currently accepting connections
2024-12-27 01:03:54.784 UTC [694849] FATAL:  terminating connection due to administrator command
2024-12-27 01:03:54.784 UTC [694416] FATAL:  terminating connection due to administrator command
2024-12-27 01:03:55.908 UTC [694986] ERROR:  cannot drop the currently open database
2024-12-27 01:03:55.908 UTC [694986] STATEMENT:  DROP DATABASE postgres;
2024-12-27 01:04:00.650 UTC [694998] FATAL:  database "platformid" does not exist

Expected behaviour
Return an error explaining that you cannot issue an identity more than once for the same user.
Actual behaviour
Issuer shows
Request failed with status code 500: failed to connect to host=postgres user=polygonid database=platformid: server error (FATAL: database "platformid" does not exist (SQLSTATE 3D000))

Steps to reproduce the problem
Use the API to try and issue 2 different identities for the same person.
System information
Issuer node version: v2.X.X  // how do I find the version? I think we have the latest (as of a week ago)
OS & Version: Linux ip-172-31-27-182 6.8.0-1020-aws
Browser & Version: Firefox
When submitting logs, please submit them as text and not as screenshots.

how are you running the issuer node? Which commando are you running?
The issuer node prevents duplicated names from returning 409 status with a user-friendly message.

We are running on an AWS instance. I had issued an API call using curl in PHP.
I tried to reproduce in postman, but was not able to.
The response I git then was good:
{
    "message": "display name field already exists: <{Barry15 Becker>"
}

We can close this for now, and I will reopen it if I find a way to reproduce.

For now, the issuer node doesn't allow the removal of identities.

This problem with the issuer-node happened again. This seems to happen periodically and I don't know what the cause is.
docker logs of issuer-postgres-1 shows
24-12-30 02:26:20.729 UTC [150683] FATAL:  database "platformid" does not exist
the issuer-api logs show
time=2024-12-30T02:21:30.331Z level=INFO msg="http req" req-id=43b1db86e406/hg7aZfGyOb-022055 method=GET uri=/status status=200 bytes=19 ua=curl/8.11.1 d=35.583µs
time=2024-12-30T02:21:40.380Z level=INFO msg="http req" req-id=43b1db86e406/hg7aZfGyOb-022056 method=GET uri=/status status=200 bytes=19 ua=curl/8.11.1 d=39.312µs
time=2024-12-30T02:21:50.045Z level=ERROR msg="creating identity" err="failed to connect to `host=postgres user=polygonid database=platformid`: server error (FATAL: database \"platformid\" does not exist (SQLSTATE 3D000))" id=<nil>

So I went to ~/issuer-node on the instance and ran
make stop-all followed by make run-all
but this seems to have blown away all of our data. Not sure if it can be recovered of it its worth it to try.
The last time I tried this I didn't think it destroyed the data. Maybe I did something differently last time.


Refactor transport to callbacks

Signed-off-by: Bogdan Vaneev<EMAIL_ADDRESS>

Description of the Change

Refactor transport to use callbacks (again :( )
Remove ufiber
Remove boost.context
Remove boost.system
Remove continuable
Remove function2

Benefits

Less dependencies, more versatile code.

Usage Examples or Tests [optional]

Alternate Designs [optional]

Codecov Report

Merging #150 into master will increase coverage by 0.55%.
The diff coverage is 78.81%.

@@            Coverage Diff             @@
##           master     #150      +/-   ##
==========================================
+ Coverage   73.02%   73.57%   +0.55%
==========================================
  Files         293      285       -8
  Lines        7499     7096     -403
  Branches     3896     3688     -208
==========================================
- Hits         5476     5221     -255
+ Misses       1010      956      -54
+ Partials     1013      919      -94

Impacted Files
Coverage Δ

core/libp2p/basic/reader.hpp
100% <ø> (ø)
:arrow_up:

test/testutil/literals.hpp
91.66% <ø> (ø)
:arrow_up:

core/libp2p/transport/upgrader.hpp
100% <ø> (ø)
:arrow_up:

core/libp2p/connection/plaintext/plaintext.hpp
100% <ø> (ø)
:arrow_up:

core/libp2p/basic/writer.hpp
100% <ø> (ø)
:arrow_up:

...ore/libp2p/transport_fixture/transport_fixture.cpp
0% <0%> (-87.5%)
:arrow_down:

test/mock/libp2p/connection/stream_mock.hpp
18.18% <0%> (+2.79%)
:arrow_up:

core/libp2p/connection/plaintext/plaintext.cpp
87.5% <100%> (-1.39%)
:arrow_down:

...est/mock/libp2p/connection/raw_connection_mock.hpp
100% <100%> (ø)
:arrow_up:

core/libp2p/transport/tcp/tcp_util.hpp
63.63% <100%> (ø)
:arrow_up:

... and 19 more

Continue to review full report at Codecov.

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


OH RIGHTTTTT

Closes: #1
Update python validation script
Fixed behavior of validations.py script in validate_user function part
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

Thank you


DEFUND LITTLE ROCK POLICE

Email<EMAIL_ADDRESS>Dear Little Rock Board of Directors,
My name is [x] and I’m a resident of Little Rock. I am writing about Little Rock Mayor Frank Scott Jr.’s fiscal year 2021 budget proposal.
I am writing to demand that the budget vote be delayed so that Board may find ways to redirect money away from Little Rock Police Department’s overinflated budget. I urge you to pressure the City Manager’s Office towards an ethical and equal reallocation of the city’s expenditures, away from LRPD, and towards sectors that facilitate the dismantling of racial and class inequality.
Research shows that a living wage, access to holistic health services and treatment, educational opportunity, and stable housing are far more successful at promoting community safety than police or prisons (Source: Popular Democracy). As such, I demand more aggressive financial support be directed to those areas.
Do not forget our poor communities and communities of color who are disproportionate targets of police violence. Justice will only be served when the police are defunded and their budget is reallocated to social services that aim to improve the wellbeing of our community members.
Can I count on you to lead our nation by example in this fight against police brutality and racial discrimination?
Thank you,
[x]

@mahrer how do I get this added to your dashboard so Arkansas is listed?

@shelbykait Once our content review team has a chance to read it and approve, our dev team will add it :) Should take less than 24 hours, but we have been pretty busy. Thanks for your patience.

Hi @shelbykait - I didn't catch this before, but it looks like Little Rock has already been added to the site from a previous submission.
https://defund12.org/littlerock
If you would like to make specific changes to the existing content, please open a new issue so we can follow-up.
Thank you!


Type inference doesn't work in if statement if its condition is provided as a variable.

TypeScript Version: 3.3.3

Search Terms:
const condition type inference
boolean variable condition
Code
let maybeNumber: number | null = null as any

if (maybeNumber != null) {
    Math.floor(maybeNumber) // ts know it is a number
}

const isNumber = maybeNumber != null
if (isNumber) {
    Math.floor(maybeNumber) // ts still doesn't know it is a number
}

Expected behavior:
No error
Actual behavior:
Error occurs in the second if statement.
Argument of type 'number | null' is not assignable to parameter of type 'number'.
  Type 'null' is not assignable to type 'number'.
let maybeNumber: number | null

Playground Link:
https://www.typescriptlang.org/play/#src=let a%3A number | null %3D null

if (a !%3D null) {
    Math.floor(a)
}

const aIsNumber %3D a !%3D null
if (aIsNumber) {
    Math.floor(a)
}

Related Issues:
https://github.com/Microsoft/TypeScript/issues/29323

Typescript don't track related variables.
This is duplicate of a lot of issues (with this case or others). See #9998.

@j-oliveras Thanks!


bitmanip documentation updates

moved comment examples to unittests
removed examples from comments as following unittest was used to verify
example
whitespace

LGTM. Thanks!!

Auto-merge toggled on

thank you


Returning relationships is very slow

This query runs fine:
MATCH (a:role {name: "joe"})-[r]->(b:place) RETURN a, b
Trying to return 'r' relationships in results makes it incredibly slow... takes nearly 10 seconds to respond:
MATCH (a:role {name: "joe"})-[r]->(b:place) RETURN a, r, b
My graph is very small (<1000 nodes), and query works fine in Neo4j browser.
It is only slow with Py2Neo (Version: 2021.2.3)

我也是。老哥，有解决方案嘛？


Update seccomp.md

Proposed changes

Unreleased project version (optional)

Related issues (optional)

Always better to do this. Thanks, @scjane :)


duplicate field selected: CurrencyIsoCode AccountContactSoftCredit on Jan 1st

The Nightly Job has failed with the following error on January first:
npo02_OppsClosedLastYearc,npo02OppsClosedThisYearc,npo02OppsClosed2YearsAgo_c ^ ERROR at Row:1:Column:287 duplicate field selected: CurrencyIsoCode
Rollups State:|CRLP.AccountContactSoftCredit
Thanks!

Hi @aplatonov-dev , we don't support our products here in GitHub. Can you post in the Power of Us Hub, using the Nonprofit Success Pack group?


Is there any API to download file from Job's workspace?

I would assume just curl http://localhost:10090/job/javaee/ws/pom.xml would get the pom file from the workspace...

@khmarbaise , curl is an external tool to download it. I want to know if any way in jenkins-client could download file by coding

It would be suboptimal to add a HTTP file download to jenkins-client when
excellent automated tools exist elsewhere.
On Sun, Nov 29, 2015 at 7:28 AM, Yu Zhou<EMAIL_ADDRESS>wrote:

@khmarbaise https://github.com/khmarbaise , curl is an external tool to
download it. I want to know if any way in jenkins-client could download
file by coding
—
Reply to this email directly or view it on GitHub
https://github.com/RisingOak/jenkins-client/issues/119#issuecomment-160422451
.

@khmarbaise @pnathan I have found a workaround. In JenkinsHttpClient class, there is an method getFile which could be used to download a file. But the client is an private member of JenkinsServer, you have to get the instance by reflect. Can we expose a GET method in JenkinsServer for user to get the client when they need to use it to do some more advanced thine?

I thinks there is no reason not to do such a thing in particular if it helps you...to make things easier...


Fix Node.js v10.12.0 deprecation warnings.

v10.12.0 turns on a number of V8 deprecation warnings. This commit fixes
them in NAN.
Fixes: #810
Refs: #811

Rebased onto master. The CI should be passing now that #826 is merged.

@agnat @kkoopa Can I persuade one of you to take a look? I'll trade you a review in exchange!

Nice job! LGTM.