Something has changed? Reconnecting every minute

My project uses this node module and it had stopped working a few weeks back, I have upgraded the module and now I can connect but I seem to get disconnected every 30-60 seconds.
Any one else experiencing this?
I changed preferred port to 443 as I heard 6667 is being blocked sometimes.
var client = new irc.client({
    options: {
      debug: true,
      debugIgnore: ['ping', 'chat', 'action'],
      logging: false,
      tc: 3
    },
    connection: {
      preferredPort: 443
    },
    identity: {
      username: botUsername,
      password: botAuth
    },
    channels: [channel]
  });

I am auto reconnecting with no issues but then I am being disconnected I know it is a disconnect because of this:
  client.addListener('disconnected', function(reason) {

    $('#connect').show();
    $('#logger').hide();

    myLogger("Disconnected from Twitch!");
  });

And then it reconnects and I am looping between connected and not.

I logged the response message and the reason I get is "Connection timed out."

Hello @Fasani,
I have a few questions for you:
1- Do you see the Logon event when you are connecting to a server ?
2- Are you using the latest node version ?
3- Are you able to run your application on a different server ?
4- What about running a very basic application with the module to see if it connects and stay connected ?
I would like to assist you with your issue, but a connection timeout is really hard to reproduce.

I can start to send bot commands like !song and it responds then a few seconds later it disconnects and then it reconnects and again everything is working.
The entire app is wrapped in NWJS << https://github.com/nwjs << Maybe here there is something causing this issue.
I will try an update node.
It's very odd.
Ty for response. I thought maybe something I was doing had changed in the connection object or something.

@Fasani are you calling the twitch-irc from a file loaded into node-main, or are you calling it directly from the ui-javascript? I ask because I was using nwjs (but switched to atom-shell), but I did not notice any issues like this. I was calling the twitch-irc from my app.js, loaded by node-main.

I have been trying to replicate issue #74 and at the same time I was trying to replicate this issue as well but no success. Perhaps @celluj34's comment will help you figure out what the problem is ?

To confirm this script is causing me the same issue, I am now thinking this is probably a local issue maybe to do with firewall?
Bot connects, I see it in chat... then every 30 seconds it times out and reconnects even with this most basic script.
process.env['NODE_TLS_REJECT_UNAUTHORIZED'] = '0';

//Libs
var irc = require('twitch-irc');

var client = new irc.client({
  options: {
    debug: false,
    debugIgnore: ['ping', 'chat', 'action']
  },
  identity: {
    username: '##removed##',
    password: '##removed##'
  },
  channels: ['##removed##']
});

//Connect to Twitch
client.connect();

//Add listeners for connection.
client.addListener('connecting', function(address, port) {
  myLogger("Connecting...");
});

client.addListener('connected', function(address, port) {
  myLogger("Connected!")
});

client.addListener('connectfail', function(reason) {
  myLogger("Connection to Twitch failed! " + reason);
});

client.addListener('disconnected', function(reason) {
  myLogger("Disconnected from Twitch! " + reason);
});

function myLogger(message) {
  console.log(message);
}

Firewall seems to be allowing traffic fine.. :-(

I set:
    preferredServer: "<IP_ADDRESS>",
    preferredPort: "6667",

But in my firewall I still see connection to the default twitch server: <IP_ADDRESS>:80
Any idea why?

I tried with mIRC using 6667, 80, 443 all seems fine and I see the correct port in the firewall.
When I watch the firewall after each timeout twitch-irc reconnects and it uses port 443 and a random ip address from the usual list.
Again after a few minutes I am being timed out.

@Fasani I will provide you with a custom version of twitch-irc this weekend.. I will remove a few features of the module and hopefully we will be able to find what's wrong with it. It's kinda hard to debug the net module of Node.js but I'll do my best to fix your issue.

Quick update, I distributed the app to someone else and they have the same issue as me.
I don't know if it helps but here is my app. It's pretty simple. https://github.com/Fasani/SpottyBot
To run it you either have to drag the entire cloned folder onto the nwjs nw.exe or remove the inline dom / jquery things.
But I have the same issues even with the most basic script that I posted above.

This is what I am doing and I can't replicate your issue.. https://www.youtube.com/watch?v=eGu29XHJIhw .. I am using the latest NWJS and had to comment 2 lines in your code because Spottify isn't available in my country, I also enabled the console. At 7:40 I tried !adminstart just to make sure it is still alive. After uploading the video to youtube, I reconnected SpottyBot and let it run while I was sleeping, just woke up and it is still connected..

Thank you for investigating. This is so strange. I will copy your exact
example and perhaps there is something odd happening. But as I said before
I had the same issue even with just a very basic script. Perhaps it is some
kind of odd DNS issue or network issue.
On 16 April 2015 at 02:02, Schmoopiie<EMAIL_ADDRESS>wrote:

This is what I am doing and I can't replicate your issue..
https://www.youtube.com/watch?v=eGu29XHJIhw .. I am using the latest NWJS
and had to comment 2 lines in your code because Spottify isn't available in
my country, I also enabled the console. At 7:40 I tried !adminstart just to
make sure it is still alive. After uploading the video to youtube, I
reconnected SpottyBot and let it run while I was sleeping, just woke up and
it is still connected..
—
Reply to this email directly or view it on GitHub
https://github.com/twitch-irc/twitch-irc/issues/73#issuecomment-93602301
.

--
Disclaimer: This e-mail message including attachments, if any, is intended
only for the person(s) or entity to which it is addressed and may contain
confidential and/or privileged material. Any use of the information
contained herein (including, but not limited to, total or partial
reproduction, communication, or dissemination in any form) by persons other
than the intended recipient(s) is prohibited. If you have received this
e-mail in error, please notify the sender immediately and delete it.


Make private differential expression experiments visible to user in genome landing page

Perhaps wishfull thinking, but when I searched on A. baumannii 34654, the public genome that I mapped private RNA seq data to, and then imported the differential expression results using the DIff Exp Import Service, I was hoping to see my private differential expression results listed under expermients.
Picture 1: A possible place where my private gene expression experiment results could be visible

Ron, I tried assigning this to Joe, but it looks like he is not plugged in to github. So assigning to you. Please reassign as you see necessary.

private differential expression data has not been integrated solr yet. This should be one of the priority list in coming milestones.


Using bip_utracker

I'm working on connecting to a UDP tracker, but am not quite sure how to use bip_utracker.
From what I can read in the crate tests, I need to provide TrackerClient with a sink that implements both DiscoveryInfo and Sink. Is there a prebuilt sink for this purpose? I thought I might find something in bip_handshake, but was unsuccessful.
As for the general flow of operations, my understanding is that I should

Create my sink/stream
Construct a TrackerClient and give it my new sink
Send a ClientRequest with the TrackerClient
Wait on the stream for responses, matching them with the SendTokens that the TrackerClient gives me as "receipts" for my sent messages.

Is that somewhat on base?

Hey @adamhammes,
Yeah you pretty much nailed down how it works. Specifically, an InitiateMessage will be generated per peer received, and a single ClientMetadata will be returned once for the entire response (since it captures some other metadata as well, not just contact addresses, reference).
Unfortunately, since I havent revamped bip_utracker to play nicely with the other crates, you need some sort of bridge struct for now.
Here is a minimal example showing how to hook it up to the Handshaker (though if you just wanted to contact trackers and not initiate handshakes, feel free to remove that code).
https://gist.github.com/GGist/7d895e66554eb9fc12c5645ea9aeacfc

Thanks!


Refactor bootmem allocator

This PR improves the current bootmem allocator implementation and fixes some issues with it.
The previous implementation did not take into account the load address of the kernel and would happily reserve frames that were already in use by the kernel.
Other changes in this PR include:

making the allocator unexported and export a pkg-wide Init function. This will allow us in the future to hook up the bitmap allocator
removal of the mem.PageOrder type. Since we plan to use the slab-like allocator provided by the go runtime we only need to focus on managing allocations to single page-sized blocks.

Codecov Report

Merging #24 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #24   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          14     14
  Lines         484    499   +15
=====================================
+ Hits          484    499   +15

Impacted Files
Coverage Δ

kernel/mem/pmm/allocator/bootmem.go
100% <100%> (ø)

kernel/mem/vmm/pdt.go
100% <100%> (ø)
:arrow_up:

kernel/mem/vmm/map.go
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Get some known Thinger's system information on an automatic  device's property.

I would like to make ESP32/ESP8266 easier to use with Thinger.io.
Currently my users must configure the device's location (latitude/longitude) to pass this to Openweathermap.org in order to get the current weather
Thinger has already this approximate location information for each device on it's website.
Couldn't we get a way to read that information from an automatic system device property?
Of course, the other device's statistics, which Thinger may have, would surely be  appreciated in such an automatic property.
Also if we had the possibility to read the local time during setup() right from Thinger instead of having to write code to get it from NTP with the corresponding need to enter the time zone parameters would surely be a great advantage in order to simplify the device's code.
That would give Thinger.io another advantage over plain MQTT solutions from the competition.
;-)

Very interesting.
Working with data and time is always a challenge. A function could help a scheduling system that could be integrated between the device (Arduino-Thinger) and the Thinger Server.
There are three functions that could be called the device, correct?

Obtain the IP georeference position (as indicated on the device status page);
Get UTC time (0:00);
Obtain the UTC time considering the IP georeference time zone;

Interesting feature/user case!
I think the easiest way would be to automatically create/update the location on each device connection, using the current geocoding capabilities (if not already defined by the user).

Very interesting. Working with data and time is always a challenge. A function could help a scheduling system that could be integrated between the device (Arduino-Thinger) and the Thinger Server.

Thank you for considering my request.
IMHO we don't even need a function. Just a system created property does the job.
It's easy to read the property during setup() and act accordingly.
But I would be fine with a function as well, whatever is easier.
I have noticed that the buckets are now cleared according to local time, so you have the local time as well, have you?

I'll leave here these library suggestions for handling date and time:
https://github.com/bxparks/AceTime
https://github.com/bxparks/AceTimeClock

I'll leave here these library suggestions for handling date and time: https://github.com/bxparks/AceTime https://github.com/bxparks/AceTimeClock

Ideally the time stuff should be done by the thinger.io server and served as a resource.
In the context of moving IoT devices, the best would be to provide:

GMT_time
Account_local_Time  (time zone based on the IP of the account owner )
Device_local_Time (time zone based on the current IP of the device)
User_local_Time (time zone defaulted to account Local time, can be overridden by a device property)

The three later are relatively easy to compute on thinger.io and much, much harder or impossible to compute on the device.

As a quick workaround:
Currently, when you create the device property "location", you can point on a map or enter a city.
As a response the "location property is filled like that:
lat: 51.36839366346653
lon: 6.942574410598881
timezone: "Europe/Berlin"

That is already something that can be exploited.
However the timezone parameter as a description is less useful.
Would it be possible to get additionally the corresponding TZ (GMT offset) and DST_MN (Daylight Saving Minutes) values,
which are the parameters needed to by the ESP's NTP library?
That would be a good start...

Currently my project https://github.com/rin67630/ESP_Binary_patcher is a workaround for stationary devices.
The python script gets your location and patches it together with your time zone parameters into a properly prepared binary, then uploads it.

Hello, @rin67630
I suggest reopening this issue, as there are very interesting suggestions for implementation in the Thinger Server and in the Thinger-Ardunio library.
Obtaining information via the Thinger-Ardunio library about Location, Clock (Date and Time), IP... are very interesting.
For example, we would be interested in the Thinger-Arduino library providing a public method/function to obtain the current date and time.
Since there is no such functionality, we implemented it (in ESP8266 and ESP32). But if this type of information were integrated into Thinger-Arduino, it would be very good.
Thank you.

Of course If thinger.io can provide the information otherwise fetched from NTP and the current coordinates it would ease the programming and make my orkearounf obsolete. I would love it.
Just take care that the timer method provides time in Posix-format like NTP does.


facebook, linkediin and twitter share buttons don't work on mobile devices

On desktop, all my share buttons work perfectly but after deployment and I decide to share on mobile device, it fails. I even tried the one on the docs on my mobile device and it failed.

@ugochukwudev  I found a way around this, I just used their url directly, so on mobile you can switch to use this url
https://mobile.twitter.com/intent/tweet?url=${url}&text=${name}&via=twitterHandle


<EMAIL_ADDRESS>

This pull request updates Ramda's Ramda dependency. :)

:cow2:

:sheep:

it's ramda's all the way down

:elephant:
:turtle:
:turtle:
:turtle:
:turtle:
:turtle:
:turtle:
:turtle:
.
.
.


Add Discord link in README

I have added a link to the Discord server in the README. Since the Discord is used for contributors to discuss, I do not think it would be wise to put it on the site so I just added its link in the README.
Closes #17

No problem, I have seen it on other repositories and thought it was cool so I'm glad I could use it here 😀

Awesome, thanks :)


Handmerge develop into release/MAPL-v3 2022-Jul-21

This PR supersedes #607 as I want to see if the CI is happy in MAPL 3 land.

All good.


can not show ssh tag after VS code update from 1.78.2

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.81.1
OS Version: win10

Steps to Reproduce:

install new version vscode after 1.78.2
set remote connection

before vscode 1.78.2 in win 10 right click win10 taskbar show remote connect like

but recently I update my vscode to 1.81.1, the information for remote node disapear.

This bug is quite inconvenience， when I have many projects with the same name in different remote nodes.

Same Issue Here

Do you own this part of the label service @aeschli? Aware of any changes?


TypeError: Super expression must either be null or a function

Hi, I’m having this issue that is pretty close to #1270 but without Webpack (I’m using Vite instead).
It’s reproducible with any version of Node.js >= 16.x (I’m currently using 20.x): I guess it’s something related to Babel, since I’m able to compile the scripts with Vite and run a development instance of my  Vue 3 application, but it fails to run the jsforce module itself.
I get TypeError: Super expression must either be null or a function with either alpha, beta, and next versions of the npm package. It’s enough to import the module (I use an ESM import, not a CJS require) to get this error.
I tried to fix the issue by modifying the source code of package.json in node_modules, but it didn’t work.
Here’s my last configuration:
"devDependencies": {
    "@tsconfig/node20": "^20.1.2",
    "@types/jsforce": "^1.11.5",
    "@types/node": "^20.11.24",
    "@types/sass": "^1.45.0",
    "@vitejs/plugin-vue": "^5.0.4",
    "@vue/tsconfig": "^0.5.1",
    "npm-run-all2": "^6.1.2",
    "sass": "^1.71.1",
    "typescript": "~5.3.3",
    "vite": "^5.1.5",
    "vue-tsc": "^2.0.4"
  },
  "dependencies": {
    "jsforce": "^3.0.0-next.2",
    "vue": "^3.4.21",
    "vue-router": "^4.3.0",
    "vuex": "^4.1.0"
  }

And I got this:
//<EMAIL_ADDRESS>function _inherits(subClass, superClass) {
  if (typeof superClass !== "function" && superClass !== null) {
    throw new TypeError("Super expression must either be null or a function");
  }
 [...]
}

This is caused by missing dependencies of Node.js, use vite-plugin-node-polyfills to solve it.

Thank you, @baian1: it seems to work as expected.


hierarchical Sorting

@mijar @katush Could you try to see on your side.

I have made some changes on my phovea core. If the above PR does not work please comment this line and remove the comment in above block.
https://github.com/Caleydo/mothertable/blob/feature_103/src/column/ColumnManager.ts#L147
let me know if there is error in your pc.

Address #103

@bikramkawan, please fix the conflict. See failed checks.

I have reverted to the concat method for joining the array of the ranges.

please also report WHY you had to revert to an old state.

I am waiting for the PR request.
https://github.com/phovea/phovea_core/pull/84

@bikramkawan The hierarchical sorting doesn't work. The sorting only works for single column. If I have multiple columns and try to sort, the sorting removes some items from columns. Any idea what's happening?

I think that is the issue related to #119. Could you try for the attributes which have all values for now. ?

I tried - and it's still an issue. The missing values are removed even when I only have one column, but when I have multiple columns, the data are removed independent of that.

Could you step down your use case here and screen dump?

I added "in business" and "origin" and then tried to sort by "in business". It resulted in only one item remaining. @mijar can you try to run this as well? Bikram showed me that it works for him.

It is working for me....maybe @katush you have to update everything and start with everything in the new state...I see it like this:


Deprecate and hide software model related help tasks

To not clutter the "Help tasks" list with these soon-to-be-removed tasks which are irrelevant for almost all users now.

@bot-gradle test this

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test this

OK, I've already cancelled the old build and triggered a new ReadyForMerge build for you.

@bot-gradle test this

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test this

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test this

OK, I've already triggered ReadyForMerge build for you.


Adding developer documentation

:tada: This PR is included in version 1.5.0 :tada:
Your semantic-release bot :package::rocket:


Add link to The React Show

Hello @ThomasHintz!
As podcasts are no longer kept in the latest of react.dev nor maintained in the page you modify in this PR, I will close it as outdated.
Thank you!


Fixed #27039 -- Fixed fallback to model field default in model forms.

https://code.djangoproject.com/ticket/27039

@tomchristie, could you review?

Sure thing. Brief look all seems good, but will go through more thoroughly shortly.

Looks good.

@timgraham @claudep @AlexHill
I'm experiencing a strange hiccup in the Django admin since upgrading to 1.10.1 that I think might be related to this issue. If it's not, I'm not sure what else could be causing it but it doesn't happen if I roll Django back to v1.9.9. Either way, I think you are the ones who can help demystify this for me.
I have a field on a model set like so:
verified = models.DateTimeField(null=True, blank=True, default=None)
Any time a different value is entered for this field in the Django admin and saved, the field value on the object does not change. It remains the value it was set to before. If I remove the default value, the field saves normally. Any insight as to why this might be?

See https://github.com/django/django/pull/7217.

Awesome, thanks much!

If you have the tests passing that's a good start. Someone will review your patch as well.

@timgraham Here we go: https://github.com/django/django/pull/11433


requirement.txt file has a mistake

Numpy in the requirements text should be numpy==1.19.2

Thanks for the report. What happens with the current setting of 1.16.0?

It complains that the requirements for Tensorflow 2.4 is numpy 1.19.2 or greater when doing the pip install -r requirements.txt . I have tested on my docker container and windows box and it works well with switching to numpy==1.19.2

Thanks @lothus


A fixed version of #3525

I've tried unpinning my CLI this week and it seems I still have a non-nullable type that ends up being generated as nullable :'(
I should be able to investigate this today.

Interestingly enough, it seems to mess-up types with fields that have the same name, but on different tables.

So this is the issue for both:
https://github.com/diesel-rs/diesel/blob/0f15f89b6b025c9a49bbf6d612a57aaa1a78452a/diesel_cli/src/print_schema.rs#L642-L652

It triggers not if we are generating for mysql, but if we have the mysql feature enabled. So if you have a CLI that happens to support mysql because it's compiled with that feature, then it attempts to perform some replacements.
This looks up by column name and not by column name + table name, so it picks any column with the same name even if it's for a different table.

In addition it seems the type clones in this area and unnecessary and those could use refs.


cgit: wrap python scripts

Motivation for this change
This PR wraps python scripts with necessary dependencies, so one can now use syntax highlight and readme format (about-formatting.sh calls html-converters/md2html for markdown) filters as in official cgitrc example https://git.zx2c4.com/cgit/tree/cgitrc.5.txt
source-filter=${pkgs.cgit}/lib/cgit/filters/syntax-highlighting.py
about-filter=${pkgs.cgit}/lib/cgit/filters/about-formatting.sh

Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build cgit

No attempt on x86_64-darwin
The following builds were skipped because they don't evaluate on x86_64-darwin: cgit
No partial log is available.

Success on x86_64-linux (full log)
Attempted: cgit
Partial log (click to expand)
stripping (with command strip and flags -S) in /nix/store/z79hdpx5nj2d3fqcpxh57wmz77gbnyv7-cgit-1.1/lib
patching script interpreter paths in /nix/store/z79hdpx5nj2d3fqcpxh57wmz77gbnyv7-cgit-1.1
/nix/store/z79hdpx5nj2d3fqcpxh57wmz77gbnyv7-cgit-1.1/lib/cgit/filters/html-converters/txt2html: interpreter directive changed from "/bin/sh" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/sh"
/nix/store/z79hdpx5nj2d3fqcpxh57wmz77gbnyv7-cgit-1.1/lib/cgit/filters/html-converters/man2html: interpreter directive changed from "/bin/sh" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/sh"
/nix/store/z79hdpx5nj2d3fqcpxh57wmz77gbnyv7-cgit-1.1/lib/cgit/filters/html-converters/rst2html: interpreter directive changed from "/bin/bash" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/bash"
/nix/store/z79hdpx5nj2d3fqcpxh57wmz77gbnyv7-cgit-1.1/lib/cgit/filters/commit-links.sh: interpreter directive changed from "/bin/sh" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/sh"
/nix/store/z79hdpx5nj2d3fqcpxh57wmz77gbnyv7-cgit-1.1/lib/cgit/filters/about-formatting.sh: interpreter directive changed from "/bin/sh" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/sh"
/nix/store/z79hdpx5nj2d3fqcpxh57wmz77gbnyv7-cgit-1.1/lib/cgit/filters/syntax-highlighting.sh: interpreter directive changed from "/bin/sh" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/sh"
checking for references to /tmp/nix-build-cgit-1.1.drv-0 in /nix/store/z79hdpx5nj2d3fqcpxh57wmz77gbnyv7-cgit-1.1...
/nix/store/z79hdpx5nj2d3fqcpxh57wmz77gbnyv7-cgit-1.1

Success on aarch64-linux (full log)
Attempted: cgit
Partial log (click to expand)
stripping (with command strip and flags -S) in /nix/store/1d6rdhp7j3jnj5bqks6yz0ahz7b05cwp-cgit-1.1/lib
patching script interpreter paths in /nix/store/1d6rdhp7j3jnj5bqks6yz0ahz7b05cwp-cgit-1.1
/nix/store/1d6rdhp7j3jnj5bqks6yz0ahz7b05cwp-cgit-1.1/lib/cgit/filters/syntax-highlighting.sh: interpreter directive changed from "/bin/sh" to "/nix/store/3gg2p6n4kv2f0lsxd41f5iz1ivkbzyzr-bash-4.4-p19/bin/sh"
/nix/store/1d6rdhp7j3jnj5bqks6yz0ahz7b05cwp-cgit-1.1/lib/cgit/filters/html-converters/txt2html: interpreter directive changed from "/bin/sh" to "/nix/store/3gg2p6n4kv2f0lsxd41f5iz1ivkbzyzr-bash-4.4-p19/bin/sh"
/nix/store/1d6rdhp7j3jnj5bqks6yz0ahz7b05cwp-cgit-1.1/lib/cgit/filters/html-converters/rst2html: interpreter directive changed from "/bin/bash" to "/nix/store/3gg2p6n4kv2f0lsxd41f5iz1ivkbzyzr-bash-4.4-p19/bin/bash"
/nix/store/1d6rdhp7j3jnj5bqks6yz0ahz7b05cwp-cgit-1.1/lib/cgit/filters/html-converters/man2html: interpreter directive changed from "/bin/sh" to "/nix/store/3gg2p6n4kv2f0lsxd41f5iz1ivkbzyzr-bash-4.4-p19/bin/sh"
/nix/store/1d6rdhp7j3jnj5bqks6yz0ahz7b05cwp-cgit-1.1/lib/cgit/filters/commit-links.sh: interpreter directive changed from "/bin/sh" to "/nix/store/3gg2p6n4kv2f0lsxd41f5iz1ivkbzyzr-bash-4.4-p19/bin/sh"
/nix/store/1d6rdhp7j3jnj5bqks6yz0ahz7b05cwp-cgit-1.1/lib/cgit/filters/about-formatting.sh: interpreter directive changed from "/bin/sh" to "/nix/store/3gg2p6n4kv2f0lsxd41f5iz1ivkbzyzr-bash-4.4-p19/bin/sh"
checking for references to /build in /nix/store/1d6rdhp7j3jnj5bqks6yz0ahz7b05cwp-cgit-1.1...
/nix/store/1d6rdhp7j3jnj5bqks6yz0ahz7b05cwp-cgit-1.1

18.03: 63e3251637d44463b750c9d6cd97732258ecd82d

@bjornfor @Mic92 Thanks!


Main Page

As a user, I'd like there to be a main page where I can then navigate to any other page on the platform
have a highly informative but clean main page that serves as a hub for all other pages
Needs logo and name
Navbar
Login button
...

2 story points

Main page is done and successfully links to other pages.


Coding fix

conversion of single categories into Int16 when 'coding' is asked

I may have found a solution for sorted categories (assuming that I can still remember what we tried to achieve).
For example, for months:
pd.Categorical(['August', 'May', 'April', 'January'])\
    .set_categories(pd.Index(codings_df.loc['042_03'].sort_values('coding')['english']), ordered=True)\
    .sort_values()

generates a properly sorted series and ordered categorical type:
['January', 'April', 'May', 'August']
Categories (13, object): ['Was not absent at all' < 'January' < 'February' < 'March' ... 'September' < 'October' < 'November' < 'December']


Update: JetBrains.ReSharper.EarlyAccess version 2021.2 EAP 6

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Yep! It's a part of dotUltimate. The last time @ItzLevvie mentioned it here.

cc @OfficialEsco

I've read it and i still can't validate it so i am waiting for Levvie

cc @ItzLevvie


TFTP Client contribution

Dear Team,
please accept the TFTPCLient library implementation.
Our motivation was the DFU/FOTA for the nRF91 with UDP.
Thank you & Best
Oleh

sorry... something went wrong... will reopen...


I can deploy a process directly from the Camunda Modeler

As a Camunda Modeler user
Given:
I model a process
Then:

[ ] I can click a button in the menu bar to deploy directly the process to the process engine.
[ ] I can configure the process engine API url.

So That:
I don't need to write any Java code to bundle a process application.

@siffogh This is ready for a second round with numerous comments.
In general, I'd ask you not to include code-reformatings or empty line additions / removals in places where you did not change things. This reduces the amount of noise in your changes.
We can perform code re-formating, if we agree on a particular code style.

I've found another bug / issue:

deployment works with saved diagrams only. We should either work around this limitation or automatically save the diagram pre-deploy.

@nikku Thanks for the review hints. Please check the new commit.


Ideas to discuss about  further modes

I think of having tabs here.

Tab 1 would be the current answers.
Tab 2 would be Taxi and area
Tab 3 would be own driving
Tab 4 would be sharing
Tab 5 would be car pooling

What do these tabs do.
Tab 1
No surprise there
Tab 2
This wil represent journeys from A to be with heavy usage of taxi / on demand traffic (area based)
It will assume that most things should be done with  odv/taxi and wil do availability requests mostly.

Tab 3
Own driving has different possibilites

Tab 4
Sharing is similarly structured. In the  car sharing part

Wait for that till we get some information about how the new process of getting and changing routes in OJP 2.0 is.
Since we will have a two step proceadure there, we sure need to add this into the GUI somehow.
As it is now we can live with that well:

And


Updating translations pain

We need to write a script to automatically upload and download new translations.
We can use https://support.crowdin.com/api/export/ to generate a parseable zip.
For uploading, not sure..

From here they download correctly https://crowdin.com/project/okuna/settings#translations


Access to host files in Linux

When I run this container in Linux, it throws error when trying to write to user hiles on the host, so I cannot also use spfx framework. However the same operation works in node:10.18.1 container:
aleks@vm-dev:~/projects/01$ sudo docker run -it --rm --name spfx-helloworld -v $(pwd):/usr/app/spfx -p 5432:5432 -p 4321:4321 -p 35729:35729 waldekm/spfx /bin/bash -c "mkdir 17"
mkdir: cannot create directory '17': Permission denied
aleks@vm-dev:~/projects/01$ sudo docker run -it --rm --name spfx-helloworld -v $(pwd):/usr/app/spfx -p 5432:5432 -p 4321:4321 -p 35729:35729 node:10.18.1 /bin/bash -c "mkdir /usr/app/spfx/18"
aleks@vm-dev:~/projects/01$ ls
13  15  16  18

Might it have something to do with the way we setup permissions in waldekm/spfx?
Linux machine is provisioned in Azure, from this image:
    publisher = "Canonical"
    offer     = "0001-com-ubuntu-server-focal"
    sku       = "20_04-lts-gen2"
    version   = "20.04.202007290"

I see that in the first case you're using just the folder name, whereas in the other case you use the full path. Could it be that you're trying to create the folder in a folder where you don't have the access to?

When you execute the ls commands, what's the working folder? Could it be that the current user doesn't have permissions to access it?

Hi, thanks for your experience @mzietlow! I can share my experience with using WSL2 in Windows. I did not have to create the npm-shrinkwrap.json file. What I had to do is only running this command in the project directory in WSL2 console:
sudu chown -R 1001:1001 .


Add local config and service APIs

Use private service nodes where possible for internal monitoring.
Some of the monitor lookups can be quite heavy on the nodes. This PR allows for private service nodes to be configured which will be used if available and healthy, before using the Chain Registry nodes.
Intention is to use ECO Stake's private nodes for these tasks, and leave the chain registry public nodes for normal proxied requests. We can't run nodes for all chains so these service nodes will only be used if available, otherwise falls back to the default behaviour of chain registry nodes.
I've setup service nodes for Juno, CosmosHub and Crypto.org which have been struggling the most. Seems to have improved things a bit.

Adds additional private RPC and REST nodes which can be used for all requests including proxying, in addition to the service nodes which are only used for chain and validator monitoring.
Various fixes and improvements


[Automation] URI changes for the REST

REST changes due to Inventory and URI changes ( Most of the test changes will be impacted)
- Need to come up with a prefix in resource file so and replace in the code

We need to have equivalent stories of development. Last sprint as per Andrew/Patrick, Changes were going on. @gkeishin Shall we get all the equivalent stories.

The new OpenBMC URI would start with /xyz/openbmc_project ahead.
This means all our existing tests and library would be impacted.

To make the transition easier from existing /org/openbmc to newer
/xyz/openbmc_project a new variable is introduced in resource.txt

More changes will be required for this.. We have already put in lots of code for URI changes in last couple of sprint.. expecting this and next sprint more changes...

This can be termed closed.. since Dec most of the URI changes doesn't have the git number.. updating the actual spend on it.


[pulsar-functions][python-examples] Fixing python function example custom_object_function.py

Motivation
Fixing Python examples for pulsar-functions custom_object_function.py
Modifications
Adding conversion of "str" to "bytes" using the methods "encode" and "decode" from string.
To perform the tests run:
$ bin/pulsar-admin functions create \
 --py $PULSAR_HOME/examples/python-examples/custom_object_function.py \
 --tenant public \
 --namespace default \
 --name custom_object \
 --inputs input-topic \
 --custom-serde-inputs '{"input-topic": "custom_object_function.CustomSerDe"}' \
 --output output-topic \
 --output-serde-classname custom_object_function.CustomSerDe \
 --classname custom_object_function.CustomObjectFunction

And trigger the function using the CLI "functions trigger" :
$ pulsar-admin functions trigger \
  --name custom \
  --tenant public \
  --namespace default \
  --trigger-value "1,2"

And should return:
12, 26
Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): no
The public API: no
The schema: no
The default values of configurations: no
The wire protocol: no
The rest endpoints: no
The admin cli options: no
Anything that affects deployment: no

Documentation

Does this pull request introduce a new feature? no

Hi, @srkukarni, can you please take a look?

@sijie I tested using different Python versions (2.7.15+ and 3.6.8).
I created two virtualenvs one for each version and ran the Pulsar in standalone mode in each virtualenv. And this code works.

@marcusalmeida cool

run cpp tests
run java8 tests

run java8 tests

@sijie thank you for making this example works! I'm learning pulsar functions dev in python. About this example (custom_object_function.py), how can I build and send a custom object in producer, so that I can get it back like that from the input in CustomObjectFunction.process(self, input, context)? Do I have to use schema?


simulation records returned as a json object

LGTM. How does rayon control resources it uses for execution? Is there a way to control the number of threads/processes it uses?

https://github.com/rayon-rs/rayon/blob/main/FAQ.md
"Rayon uses the same number of threads as the number of CPUs available.". But it can be customised as in the example in https://docs.rs/rayon/latest/rayon/struct.ThreadPoolBuilder.html#


Chaotic Feat: Introducing Chaotic Interactions on Website Load

Describe your chaotic idea
Currently, the website presents a static and predictable homepage. To enhance user engagement and create a more dynamic and chaotic experience, we propose introducing chaotic elements that activate upon user interaction.
Chaotic Idea:
Upon loading the homepage, the website will appear normal and functional. However, once the user interacts with any element (clicks a button, hovers over a link, scrolls the page), the chaos will start.
Add Screenshots or Sketches

Confirm

[X] I understand that my idea will add to the chaos and I'm okay with it
[X] I agree to follow this project's Code of Conduct
[X] I want to work on this feature
[X] I'm GSSOC'24 Extd registered Contributor
[X] I'm Hacktoberfest registered Contributor

interesting!


Add expression to represent an invalid header_union value

This issue is identical in motivation as this earlier issue and PR: https://github.com/p4lang/p4-spec/pull/1184 except that this issue is to ensure that invalid headers can be written with a header_union type.

We should most likely also add header union expressions.
There only allows one key/value pair. e.g.:
header H1 { bit t; }
header H2 { bit<2> t; }
header_union HU { H1 h1; H2 h2; }

HU f()
{
  return (HU){h1 = {1w1}};
}
HU f1()
{
  return (HU){h2 = {2w1}};
}

If there is more than one, then the expression is invalid.

This should probably be a new issue

Agreed with Mihai that I would appreciate if the syntax for an arbitrary value of a header union type was a separate issue.  The reason for my preference is that the sooner we have syntax for invalid headers and a handful of other things, the sooner we can have a complete implementation of ... default value syntax in the implementation.
That said, I am also perfectly happy if we have a partial working implementation of ... syntax even earlier, even if it gave a compile-time error if the ... was for a header union type or a compound type that contained one (not sure whether such a partial goal motivates anyone for implementing that in p4c, though -- it does seem likely to cover a large fraction of desired use cases, though, since use of header unions is somewhat uncommon).


Create operator repository on quay.io

Summary
We recently introduced a developmental operator at https://github.com/tinkerbell/operator. We want a quay.io repository to push images to for scanning etc (the same as all our other services).
Please ensure the secrets are made available to the project and communicate how to interact with it here.
Cc @moadqassem

@jacobweinstock @displague @jeremytanner


VSCode Plugin will crash extension host if unplugin-vue-components package is not installed

I use vitesse-lite template as my starting point.
Once I remove unplugin-vue-components package from package.json and reinstall, the UnoCSS VSCode plugin will crash the extension host.

I also encountered the same problem.


Load CLI config as a part of the context object

Is your feature request related to a problem? Please describe.
We use glocal CLI config on so many places so Instead of calling a load function everywhere we load and store the global CLI config as a part of the context object at the beginning
Describe the solution you'd like
Load and store the CLI config as object on Context class

This is a general refactor idea - closing as it is better discussed in a wider context


PIC-2163 pass offender aliases to court case serivce

This is draft PR, will raise a new one with more changes


Print error result and return 1 for zero run tests

Print error result and return 1 for zero run tests (fixes #1262).
Count tests run in separate process as 'run' (fixes #1210).
Treat any non-zero return from child process as failure (fixes #1211).
Fix waiting for test in separate process under debugger in GCC platform by avoiding checking uninitialized status variable (happens when continue checks loop condition)

It seems that cpputest's own test fail when run via ctest:
68: Test command: /home/travis/build/cpputest/cpputest/cpputest_build/tests/CppUTestExt/CppUTestExtTests "-sg" "IEEE754ExceptionsPlugin2"
68: Test timeout computed to be: 1500
68: !
68: Errors (ran nothing, 510 tests, 0 ran, 0 checks, 1 ignored, 509 filtered out, 0 ms)
68:
68/70 Test #68: CppUTestExtTests.IEEE754ExceptionsPlugin2 ....................................................***Failed    0.00 sec

@basvodde : so, do we need an extra command line flag to adjust this failure behavior?

Sorry to ask, but would you mind splittin this into smaller pull requests. Usually I actually take quite a while for long pull requests :(

OK; I'll split gcc platform stuff and return code; and continue discussion of return code in the issue


Fix TE HF checkpoint saving

Description
Fixes HF Checkpoint callback for TransformerEngine FP8 saving. This PR ensures we serialize the io.BytesIO extra_state tensors as regular tensors insave_pretrained so the code does not error.
Tests

Added unit test
Before: failed-hf-checkpointer-fp8-llama3-8b-metamath-4ep-KOTaOP 🔴
After: failed-hf-checkpointer-fp8-llama3-8b-metamath-4ep-Qq6324 ✅

Issues
Closes https://databricks.atlassian.net/browse/RGENAI-255

@mvpatel2000 I don't know let me try. But curious the use case in which you would do that?


[Error] Critical: I/O Error while executing

Hi,
I'm having a strange bug. I created the following MWE from my K files mwe-environment.zip
Compilation goes fine. If I run 8 steps (--depth 8), everything goes fine and I seem to reach a final configuration. But if I run 9 steps or run till completion, I get the error:

[Error] Critical: I/O Error while executing
(./.krun-2020-02-21-15-27-53-392-2bf2e463-858f-491a-a33d-f365824a42de/result.kore
(No such file or directory))

As if the file was deleted before completion.
Any idea what's going on ?
Thanks,

This error typically happens because the llvm backend crashes while rewriting. It might be a bug, or you might be dividing by zero or something. Newer versions of k make it clearer what happened. If you run the program with --debugger and then type run followed by bt at the debugger console, what output do you get on the command line?

You might also consider trying it with the latest version of k to see if this issue has been fixed already; there have been several fixes recently for similar issues.

Hi,
You were right, it was a bug already corrected in the latest version. This MWE works fine with version a7c2937. I have other problems now, but will investigate first.
Thanks


Avoid failing rad-auth when ssh-agent is not running

Allow rad-auth to run without failing when SSH Agent is not running.  In this case we warn the user ssh-agent is not running, and continue to verify with RAD_PASSPHRASE.

It was more for the init method, because the authenticate method doesn't really do anything other than put the key in ssh-agent, as you probably noticed.

Ok, the init() method has been fixed.
Now, in a quick defense of authenticating the RAD_PASSPHRASE.  It is user input, prone to error.  rad auth can verify its correct early without an action (creating a patch, etc.).  For improvements, we can reduce `rad auth's output to 'RAD_PASSPHRASE: Ok', or 'RAD_PASSPHRASE: [error]'.

We don't want to run ssh-agent for the user, that would be very unexpected behavior.

We don't want to run ssh-agent for the user, that would be very unexpected behavior.

At lest prompt the solution?


Search function doesn't work

I'm submitting a ...

bug report

General infomration
Prerequisites

Are you running the latest version?
Yes: 0.13.22

Description
If I try to search something I just get an error message and no search results are shown
Steps to Reproduce

Start the Netflix addon
Select a profile
Select search
Put in the search string
Start search

Expected behavior:
Show the search results
Actual behavior:
Just an error message is shown but no search results
Context (Environment)
Installation

I´m using the Netflix Repo

Operating System

Linux (ARM)

Additional informatin on the environment
CoreElec on Mecool KI Pro

It's not working for me either on RPi 3b+ LibreElec 9.0

Please share your log file,I can almost say that you are getting a timeout error on IPC, so please share it

Please share your log file,I can almost say that you are getting a timeout error on IPC, so please share it

Yes, it's a timeout
2019-03-28 20:11:50.577 T:1457771376   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--                                              - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!                                             Error Type: <class 'socket.timeout'>                                             Error Contents: timed out                                             Traceback (most recent call last):                                               File "/storage/.kodi/addons/plugin.video.netflix/addon.py", line 33, in <module>                                                 NAVIGATION.router(paramstring=REQUEST_PARAMS)                                               File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/utils.py", line 60, in wrapped                                                 result = func(*args, **kwargs)                                               File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/Navigation.py", line 265, in router                                                 return self.show_search_results(params.get('term'))                                               File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/utils.py", line 60, in wrapped                                                 result = func(*args, **kwargs)                                               File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/Navigation.py", line 362, in show_search_results                                                 'cache': True}))                                               File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/Navigation.py", line 1053, in call_netflix_service                                                 data = urllib2.urlopen(full_url).read()                                               File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen                                               File "/usr/lib/python2.7/urllib2.py", line 429, in open                                               File "/usr/lib/python2.7/urllib2.py", line 447, in _open                                               File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain                                               File "/usr/lib/python2.7/urllib2.py", line 1228, in http_open                                               File "/usr/lib/python2.7/urllib2.py", line 1201, in do_open                                               File "/usr/lib/python2.7/httplib.py", line 1121, in getresponse                                               File "/usr/lib/python2.7/httplib.py", line 438, in begin                                               File "/usr/lib/python2.7/httplib.py", line 394, in _read_status                                               File "/usr/lib/python2.7/socket.py", line 480, in readline                                             timeout: timed out                                             -->End of Python script error report<--

Add a timeout parameter in urlopen call on this file
File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/Navigation.py", line 1053, in
From:
call_netflix_service data = urllib2.urlopen(full_url).read()
To:
call_netflix_service data = urllib2.urlopen(full_url,timeout=60).read()
and try again

yes! that fixed the issue! thanks

thank you


Re-assign ModSpec identifiers according to OGC instructions

As per https://github.com/metanorma/ogc-GeoPose/issues/8

Remaining correspondence issues:
Requirements: (XML Line 001607): Requirement /req/frame_specification/authority has no corresponding Conformance test
Requirements: (XML Line 001618): Requirement /req/frame_specification/id has no corresponding Conformance test
Requirements: (XML Line 001629): Requirement /req/frame_specification/parameters has no corresponding Conformance test
Requirements: (XML Line 001828): Requirement /req/graph/sdu-graph-transform-index has no corresponding Conformance test
Requirements: (XML Line 004371): Conformance test /conf/graph/sdu-graph-index has no corresponding Requirement
Requirements: (XML Line 004510): Conformance test /conf/chain/sdu-chain-index has no corresponding Requirement
Requirements: (XML Line 004995): Conformance class /conf/basic-ypr-encoding-json has no corresponding Requirement class
Requirements: (XML Line 005039): Conformance class /conf/basic-quaternion-encoding-json has no corresponding Requirement class
Requirements: (XML Line 005082): Conformance class /conf/basic-quaternion-encoding-json-strict has no corresponding Requirement class
Requirements: (XML Line 005124): Conformance class /conf/advanced-encoding-json has no corresponding Requirement class
Requirements: (XML Line 005166): Conformance class /conf/chain-encoding-json has no corresponding Requirement class
Requirements: (XML Line 005208): Conformance class /conf/graph-encoding-json has no corresponding Requirement class
Requirements: (XML Line 005250): Conformance class /conf/series-regular-encoding-json has no corresponding Requirement class
Requirements: (XML Line 005292): Conformance class /conf/series-irregular-encoding-json has no corresponding Requirement class
Requirements: (XML Line 005334): Conformance class /conf/stream-encoding-json has no corresponding Requirement class

These are due to authentic missing requirements in the document, as they are pointed in GeoPose_2.xlsx.

@ronaldtse, please take a look at https://github.com/metanorma/ogc-GeoPose/pull/9/commits/093c4d8b37b8a3820ff788775727b5a73ff1ddad.
Not sure if what I did was correct.
Basically, I added three new conformance tests:
/req/stream-encoding-json/header,
/req/stream-encoding-json/element and
/req/stream/report/encoding/json.
according to OGC instructions.
But maybe that was a job for the OGC Editor?

@manuelfuenmayor I think:
/req/stream/report/encoding/json
should have been:
/req/stream-encoding-json

Requirement:

Conformance test:

However, they are clearly matching in the YAML files. This seems like a bug for @opoudjis ?

Sorry, thanks to @manuelfuenmayor for finding the problem: when the description has more than one paragraph, it fails because of the liquid template. I've fixed it in 1358bc3.


[BUG] Knn bugfix to allow GridsearchCV and usage with column ensemble.

Reference Issues/PRs
Fixes #1713
Fixes #578
Fixes #1057
What does this implement/fix? Explain your changes.
Simple fix to allow for correct parameter setting with GridCV. It removes a temporary measure to allow KNN to pass tests and fixes thanks to the new distance factory. Note we should do some work on making the valid parameters clearer for the different distance measures
Below code all works
code
knn = KNeighborsTimeSeriesClassifier(distance="dtw", n_neighbors=1, distance_params={
"window":0.5})
knn2 = KNeighborsTimeSeriesClassifier(distance="dtw", n_neighbors=1)
param_matrix = {"distance_params": [{"window": x/10.0} for x in range(0,10)]
}
CV Parameter search
grid = GridSearchCV(knn2, param_grid=param_matrix, cv=2, scoring="accuracy")
grid.fit(x_train, y_train)
print(pd.DataFrame(grid.cv_results_))
print(grid)
print(" params after CV = ",knn2.get_params())
knn4 = KNeighborsTimeSeriesClassifier(distance="dtw", n_neighbors=1, distance_params={
"window":0.0})
estimators = [
("knn", knn, [0, 1, 2]),
("knn2", knn2, [3, 4]),
("knn4", knn4, [5]),
]
x_train, y_train = load_basic_motions(split="train")
x_test, y_test = load_basic_motions(split="test")
train column ensemble
col_ens = ColumnEnsembleClassifier(estimators=estimators)
col_ens.fit(x_train, y_train)
print(" Score = ",col_ens.score(x_train, y_train))

stupid question - what metric do you tune a clustering algorithm for?


[FEATURE REQUEST] Use roadrunner as php -S <IP_ADDRESS>:3000 server

@batara666 Hey, please, make a proper description of the FR. Why this feature will be useful for the PHP devs, how to use it.

Alright
I'm not daily PHP user, but my boss told me to install some open source software made in PHP
And i found the most easiest way to run and serve a php fiile was via PHP Development Server
But I remember about roadrunner, then I give a try to use roadrunner, and It's not as easy as it's should be....
I hope in near time, I'm able to run roadrunner just like PHP -S bind:port (I will 100% sure will use roadrunner for production after this)

RR already has an http plugin to allocate a port and run on it.

https://roadrunner.dev/docs/http-https

But how to use it to be as easy as php -S <IP_ADDRESS>:4000 ?

Please, read the docs first.

Is the .yaml file mandatory?

Yes

Since the RR already supports this via the HTTP plugin, I'm closing this FR.

isi there any plug-and-play way?

Yes

Read the docs
Install RR
Enjoy


Add thousands punctuation to numbers

This address only the datatables case, since HighChart does not allow to change the thousand separator on a chart basis. That can be done on the client side though by setting the lang object with the global setOptions function (i.e. http://api.highcharts.com/highcharts/lang).

Coverage decreased (-0.02%) to 97.6% when pulling 744e7081d6bfb0b7c5c181d03564f13d1d360d7a on x8lucas8x:feature/ENG-174709-add-thousands-punctuation-to-numbers into df04f3a8e76a6eb0de05fa475989366f0cedf5a2 on kayak:master.

Coverage decreased (-0.02%) to 97.6% when pulling 40684cf940331228c13d7d7a3b3e0be6f68eeed3 on x8lucas8x:feature/ENG-174709-add-thousands-punctuation-to-numbers into df04f3a8e76a6eb0de05fa475989366f0cedf5a2 on kayak:master.

Coverage decreased (-0.02%) to 97.6% when pulling 40684cf940331228c13d7d7a3b3e0be6f68eeed3 on x8lucas8x:feature/ENG-174709-add-thousands-punctuation-to-numbers into df04f3a8e76a6eb0de05fa475989366f0cedf5a2 on kayak:master.

Coverage decreased (-0.02%) to 97.6% when pulling 40684cf940331228c13d7d7a3b3e0be6f68eeed3 on x8lucas8x:feature/ENG-174709-add-thousands-punctuation-to-numbers into df04f3a8e76a6eb0de05fa475989366f0cedf5a2 on kayak:master.


bungecord only

i have the last hexagonmc version of bungeecord.. on my server(network) viaversion works only on bungee, and i’d like to put it in my singolar servers in order to make the ‘vanilla’ server just for 1.13. In fact, with via version on bungee appears: bad packet id unsupported protocol version..
viaversion doesn’t work on my servers and works only on bungee because my servers have spigot 1.12.2 version with protocolsupport.. but i need that.. can you fix this?

#870

How can i set server protocol manually?

See issue above, protocols can be set in ViaVersion config.yml see https://docs.viaversion.com/display/VIAVERSION/Configuration for extra info.


[RELEASE] Several MinIO Server releases

MinIO Server RELEASE.2024-07-13T01-46-15Z has changes that impact the docs:

[x] Removes or hides several fields related to get and  PR #20069

MinIO Server RELEASE.2024-07-10T18-41-49Z has changes that impact the docs:

[x] Updates to remove delete marker example ILM rule PR #20056
[x] Adds groups to LDAP policy entities PR #20052

MinIO Server RELEASE.2024-07-04T14-25-45Z has changes that impact the docs:

[ ] Removes license update job PR #20037

#20037 was removed as part of PR #1299 .
#20056 did not impact docs.


Can not use colly/debug

When I try to use colly/debug this error is occured:
Cannot use '&debug.LogDebugger{}' (type *LogDebugger) as the type debug.Debugger Type
does not implement 'debug.Debugger' need the method: Event(e *Event) have the method: Event(e *Event)

My source code
package bootstrap

import (
	"github.com/gocolly/colly/v2"
	"github.com/gocolly/colly/debug"
)

// BuildColly /* *colly.Collector
func BuildColly() (*colly.Collector, error) {
	coll := colly.NewCollector(
		// Attach a debugger to the collector
		colly.Debugger(&debug.LogDebugger{}),
		colly.MaxDepth(1),
		colly.Async(true),
		)
	return coll, nil
}

Screenshot

I think this is because you are not importing the v2 of debug, so to speak:
import (
	"github.com/gocolly/colly/v2"
	"github.com/gocolly/colly/v2/debug"
)

I am not getting that error doing that


should raise errors instead of just log.error

I believe calling log.error does raise an error--is that not accurate?

two months later: I think it should throw an exception so that there is a stack trace to find out the issue


The dev set is init by the test set?

https://github.com/thunlp/PTR/blob/7cce6f124ce99518d8d1e6a8efb2271de7edbf73/code_script/run_prompt.py#L149
I found that the val_dataset is actually the test dataset.

If you want to use the dev set to select the best checkpoint, you can set name="val".

In this code, the same code can work for both dev and test set.

@THUCSTHanxu13  May I ask whether the score reported in the paper is obtained by selecting from the dev set or test set?

For few-shot settings, the scores reported in the paper is obtained by selecting from the dev set. For full-set settings, the scores reported in the paper is obtained by the performance of the last checkpoint on the dev set.


autogenerated version catalog library names should not use "-"

When you use .\gradlew versionCatalogUpdate --create
it generates a version catalog that looks like this:
...
[libraries]
androidx-annotation = "androidx.annotation:annotation:1.3.0"
androidx-appcompat = "androidx.appcompat:appcompat:1.4.1"
...

and then if you try using this like
implementation libs.androidx-annotation

Groovy thinks you're trying to do subtraction 😹
Please make it generate the labels with underscores.... looks like a useful feature to autogen a version catalog....

The syntax you are using is incorrect, if a key is using a dash they you should replace it with a dot, this is how Gradle replaces it. So the above declaration would be
implementation libs.androidx.annotation

More on this in the Gradle docs here https://docs.gradle.org/7.3.3/userguide/platforms.html#sub:mapping-aliases-to-accessors
I hope that answers the question @kenyee? TL;DR unless I misunderstood your question I think there's no need to update the alias generation logic here.

yes...it just is confusing that they automagically map "-" to "." :-)

Yeah I can see that, though that's out of my control ;)


IsValidAt with CustomClaims ?

I created a CustomClaim:
type userClaims struct {
	RegisteredClaims jwt.RegisteredClaims
	Some             string
}

with:
claims := &userClaims{
	RegisteredClaims: jwt.RegisteredClaims{
		ExpiresAt: jwt.NewNumericDate(time_exp),
		NotBefore: jwt.NewNumericDate(time_nbf),
	},
	Some: some_value,
}

where time_exp and time_nbf are time.Time and some_value is a string.
I get the registered Claims doing this:
var regClaims jwt.RegisteredClaims
errParseClaims := jwt.ParseClaims(tokenBytes, verifier, &regClaims)
is_valid := regClaims.IsValidAt(time.Now())

I can build and parse the token.
I want to check the exp and nbf using "IsValidAt(time.Now())".
But it is always true.
When I tried "IsValidAt(time.Now())" with the regular claims it worked.
example.:
token.String():
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9. eyJSZWdpc3RlcmVkQ2xhaW1zIjp7ImV4cCI6MjAwMDAwMDAwMCwibmJmIjoxNjcyODQzNzYwfSwiU29tZSI6IiJ9. 0piI7l7NlmrmGuEm5tjMvIQTpFDZTsXkwO78HG8AC8E
string(token.Claims):
{"RegisteredClaims":{"exp":2000000000,"nbf":1000000000},"Some":""}
is_valid: true

I think the problem lies in struct definition, can you try this?
type userClaims struct {
	jwt.RegisteredClaims
	Some             string
}

?

Changing the userClaims struct to
type userClaims struct {
	jwt.RegisteredClaims
	Some             string
}

worked. Thank you.


Request: mouse follow focus command

I'd like to disable MFF on all windows by default, but I'd like the behavior to remain on all of my keyboard shortcuts that change which display/window is focused.
I dug though the code a bit (pretty easy to read!) and found the window_manager_center_mouse function. It'd be really cool if I could invoke that function via yabai: something like yabai -m window --center-mouse. I suppose right now what I could do is something like
yabai -m config mouse_follows_focus on; yabai existing command; yabai -m config mouse_follows_focus off;

For my keyboard shortcuts, though that is a bit cumbersome.

This was solved pretty easily with the following script:
#!/usr/bin/env bash

yabai -m config mouse_follows_focus on
"$@"
yabai -m config mouse_follows_focus off

Now my .skhdrc looks something like
# ...
shift + cmd - f13 : ~/scripts/follow_focus.sh yabai -m window --space 1
# ...

Am still interested in the command though, since it could clean things up a little bit. But it isn't a super high priority.

I think it would be nice to have that as a third option for mouse_follows_focus, as I think it would be a good default. mouse_follows_focus on can be pretty annoying if some program suddenly decides to have some popup without user action, but an option to always follow the focus if initiated by a yabai command would be pretty useful for me.


Timeline selection is not filtering views

According to the documentation, it sounds like highlighting a range or clicking in the Memory timeline plot should filter data in the central views, such as the Operations tab or Call Stack Tree tab, but I do not see it doing anything. Maybe there is a button I don't see that I need to press to update the views?

You may want to try and read the documentation before opening issues. Have you tried toggling filtering on?


[patch] Related to #865

Coverage increased (+0.01%) to 83.828% when pulling b38a4c69fc98eab938a7646b55eb241ed793b76a on ehealth-865 into 8c8d520de13c7ff0ec261b81b9ae2952c098c57c on master.


Dynamically load active plugins from static JSON

@karelhala If you'd like to adopt axios... please create a ticket on the backlog. We can prioritize it among other objectives.


Instagram images are not loaded

Describe the bug
Instagram bridge don't show images.
To Reproduce
Type a username at Instagram bridge and get Atom
Expected behavior
Images should appear
Additional context
The problem is IG gives this URL as image: https://www.instagram.com/p/CEPcDt_pJYH/media?size=l
and that URL is a redirection to real image: https://scontent-mad1-1.cdninstagram.com/v/t51.2885-15/e35/118131587_140064227784823_4653765523173956198_n.jpg
IG uses 301 sever code to achieve that, so IG bridge should point to final image instead of redirection.
you can easily try it with wget and any image:
wget https://www.instagram.com/p/CEPcDt_pJYH/media?size=l

ask if you need further info.

As workaround I suggest to enable "Use direct media links" option.

This seems to work for my use case.

Hello, I am not able to see the images from instagram neither. I think it comes from the fact that the http header of the response for images contains "cross-origin-resource-policy: same-origin".
I did a test by exporting the feed of a user with :
curl "yourinstance?action=display&bridge=Instagram&context=Username&u=foofighters&media_type=all&direct_links=1&format=Html" > test.html

I hosted the result here: https://book.buron.coffee/notes/test.html
The image links are correct and there is no redirection, but there is this CORS header, which prevents the images to be loaded, as you can see in the chromium console

CORS doesnt affect resources loaded with <img src=""> as far as I know. Problem might be they expire links after x amount of days?


feat(web): styled('div', ...) support

Changes:

treats keyof JSX.IntrinsicElements (aka "div" and co as)  StylableComponent
sets acceptsClassName for intrinsic elements that supports classNames
implement GetNonStyledProps for JSX.IntrinsicElements to return correct props for intrinsic elements (aka "div")

See:
https://react.dev/reference/react-dom/components#custom-html-elements

Closing as we discussed a better way to do in discord, ty for the effort here though


#3711 - @react-refresh removes Ketcher from DOM

How the feature works? / How did you fix the issue?
The root cause was the setTimeout. Due to the double invoke in Strict Mode, it is possible for the cleanup from the first invocation to run after the second useEffect has already started. This means that before setTimeout get's executed from the first useEffect,  there is a new appRoot from the second useEffect, and it get's unmounted when setTimeout function actually executes.
The solution is to check if appRoot has been mounted or not. This will prevent unmounting twice.
appRoot.unmount(); should be synchronous so that it executes immediately after the unmount. I think it's worth it even if we get the
// setTimeout is used to disable the warn msg from react "Attempted to synchronously unmount a root while React was already rendering"
. Otherwise folks who use ketcher with strictmode would not be able to use ketcher at all.
closes #3711
Check list

[ ] unit-tests written
[ ] e2e-tests written
[ ] documentation updated
[x] PR name follows the pattern #1234 – issue name
[x] branch name doesn't contain '#'
[x] PR is linked with the issue
[x] base branch (master or release/xx) is correct
[ ] task status changed to "Code review"
[ ] reviewers are notified about the pull request

@StarlaStarla Thank you Starla for the review! What would the next step be for merging this in? 🙂

Hi @StarlaStarla!
Sorry for the ping, but just in case you missed this! Is there else that needs to be done?
We would like to get this in so we can use the latest ketcher!

Hi all! When can we expect to get this PR merged in?

Hi @emripka  @andy197,
We fixed errors in strict mode in this PR https://github.com/epam/ketcher/pull/5013


karpenter helm chart always gets updated due to password token change.

[x ] ✋ I have searched the open/closed issues and my issue is not listed.

Please describe your question here

I'm using blueprints v4.32.1
Applied. It created karpenter HELM chart with revision 1.
Without any changes applied again and got karpenter HELM chart deployed again with now revision 2.
... etc every apply always redeploys the karpenter helm chart.

Terraform will perform the following actions:

  # module.eks_blueprints_kubernetes_addons.module.karpenter[0].module.helm_addon.helm_release.addon[0] will be updated in-place
  ~ resource "helm_release" "addon" {
        id                         = "karpenter"
        name                       = "karpenter"
      + repository_password        = (sensitive value)
      + repository_username        = "AWS"
        # (29 unchanged attributes hidden)

        # (3 unchanged blocks hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.
╷
│ Warning: Argument is deprecated
│
│   with module.eks.aws_eks_addon.this["kube-proxy"],
│   on .terraform/modules/eks/main.tf line 392, in resource "aws_eks_addon" "this":
│  392:   resolve_conflicts        = try(each.value.resolve_conflicts, "OVERWRITE")
│
│ The "resolve_conflicts" attribute can't be set to "PRESERVE" on initial resource creation. Use "resolve_conflicts_on_create" and/or "resolve_conflicts_on_update" instead
│
│ (and one more similar warning elsewhere)
╵

Do you want to perform these actions in workspace "prod-aws-eks"?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

module.eks_blueprints_kubernetes_addons.module.karpenter[0].module.helm_addon.helm_release.addon[0]: Modifying... [id=karpenter]
module.eks_blueprints_kubernetes_addons.module.karpenter[0].module.helm_addon.helm_release.addon[0]: Still modifying... [id=karpenter, 10s elapsed]
module.eks_blueprints_kubernetes_addons.module.karpenter[0].module.helm_addon.helm_release.addon[0]: Still modifying... [id=karpenter, 20s elapsed]
module.eks_blueprints_kubernetes_addons.module.karpenter[0].module.helm_addon.helm_release.addon[0]: Modifications complete after 29s [id=karpenter]

helm ls -A
NAME     	NAMESPACE	REVISION	UPDATED                                	STATUS  	CHART            	APP VERSION
karpenter	karpenter	4       	2023-07-11 16:18:44.735682225 -0500 CDT	deployed	karpenter-v0.27.3	0.27.3

Provide a link to the example/module related to the question
Used this as an example: https://github.com/aws-ia/terraform-aws-eks-blueprints/blob/v4/examples/karpenter/main.tf
data "aws_ecrpublic_authorization_token" "token" {
  provider = aws.virginia
}

module "karpenter" {
  source  = "terraform-aws-modules/eks/aws//modules/karpenter"
  version = "19.15.3"

  cluster_name           = module.eks.cluster_name
  irsa_oidc_provider_arn = module.eks.oidc_provider_arn
  create_irsa            = false # IRSA will be created by the kubernetes-addons module

  policies = {
    ssm = "arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore"
  }
}

module "eks_blueprints_kubernetes_addons" {
  source = "github.com/aws-ia/terraform-aws-eks-blueprints//modules/kubernetes-addons?ref=v4.32.1"

  eks_cluster_id       = module.eks.cluster_name
  eks_cluster_endpoint = module.eks.cluster_endpoint
  eks_oidc_provider    = module.eks.oidc_provider
  eks_cluster_version  = module.eks.cluster_version

  enable_karpenter = true
  karpenter_helm_config = {
    repository = "oci://public.ecr.aws/karpenter"
    repository_username = data.aws_ecrpublic_authorization_token.token.user_name
    repository_password = data.aws_ecrpublic_authorization_token.token.password
  }
  karpenter_node_iam_instance_profile        = module.karpenter.instance_profile_name
  karpenter_enable_spot_termination_handling = true
}

each time I apply - I get HELM chart with karpenter redeployed.
Is this expected behavior?
Additional context

aws eks 1.27
terraform 1.5.2
blueprints v4.32.1

so there are 3 methods here:

Do not use the ECR token source. Public ECR does allow 1 unauthenticated pull per second so provided you do not exceed this and you do not have stale tokens locally to where Terraform runs, you do not need to use the ECR data source
You can use the method shown here, but since those tokens will keep expiring and changing you will keep seeing diffs in your plans/applies
You can set the token in the helm provider - however, that may not work with EKS blueprints addons due to the way that we do not distinguish between different potential helm providers (note: I haven't tested this route to see if it complains about the other addons with the ECR token). Ref:

provider "helm" {
  # ...
  registry {
    url      = "oci://public.ecr.aws"
    username = data.aws_ecrpublic_authorization_token.token.user_name
    password = data.aws_ecrpublic_authorization_token.token.password
  }
}

thank you @bryantbiggs

closing for now - please let us know if you have any additional questions

For people who will come here and not see a solution:
provider "helm" {
  alias = "karpenter"
  kubernetes {
    host                   = module.eks.cluster_endpoint
    cluster_ca_certificate = base64decode(module.eks.cluster_certificate_authority_data)

    exec {
      api_version = "client.authentication.k8s.io/v1beta1"
      command     = "aws"
      # This requires the awscli to be installed locally where Terraform is executed
      args = ["eks", "get-token", "--cluster-name", module.eks.cluster_name]
    }
  }

  registry {
    url      = "oci://public.ecr.aws"
    username = data.aws_ecrpublic_authorization_token.token.user_name
    password = data.aws_ecrpublic_authorization_token.token.password
  }
}

module "eks_blueprints_addons" {
  #....

  # delete this
  #  karpenter = {
  #     repository_username = data.aws_ecrpublic_authorization_token.token.user_name
  #     repository_password = data.aws_ecrpublic_authorization_token.token.password
  #  }

  providers = {
    helm = helm.karpenter
  }
}


Q: is there a way to selectively avoid DOM processing?

Say I wanna have the popup directive with ability to declare it's content within a same HTML view:

    Click me

    <popup-content>

    </popup-content>

Then I'd like to use HTML code taken from within <popup-content>, compile that raw HTML against the scope of popup directive (decorating with some more HTML) and finally append it to BODY. That  part popup-directive would get removed without being compiled and processed by angular.
The goal is to prevent with-some-other-directives directive from execution.
Thanks.
P.S we're at 1.2.28

As this is a usage question, please ask on one of these channels: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#question


Pass textbox values to Segments

Hello,
First. Thank you for creating this script. It's great, and just what I was looking for. I'm creating a tool that people can enter their names in textbboxes, and I want these to be updated on to the segments (there might be a variable number of names). I can't figure out a way to dynamically create the segment options to send to the New Winwheel function.
Currently I have a loop building up the segment values text and then I try and pass that, but don't seem to be having any luck.
Do you have any suggestions as the best way to achieve this?
Many Thanks,
Adam

Managed to figure out how to pass the values into the array when the wheel is created, thought I would share if anyone else is struggling:
        //setup the array and criteria for the segments
        var segStyle = {};
        var segFinal = [];

        var segId = 0;

        //build the segment values
        for (i = 0; i < b; i++)
        {
        		segId++;
        			if (segId > actNum) {
        			segId = 1;
        			segName = "name-" + segId;
								segFinal.push({fillStyle:"#ffffff", text: document.getElementById(segName).value});
								} else {
								segName = "name-" + segId;
								segFinal.push({fillStyle:"#ffffff", text: document.getElementById(segName).value});
    						}
    			}


Add a graceful-restart option in service restart script

Cookbook version
8.1.7
Chef-client version
12.14.89
Platform Details
Redhat and CentOS 6 & 7
Scenario:
After log rotation with logrotated, the postrotate option in this cookbook does a reload of the service daemon. However, we've found that this leaves stale filehandles on the system, and it appears as if the daemon is no longer working, as there is no longer logging happening during chef runs.
Steps to Reproduce:
Setup logrotated to rotate the chef-client's log file every night (see sample).
$ cat /etc/logrotate.d/chef-client
"/var/log/chef/client.log" {
  daily
  rotate 14
  compress
  missingok
  notifempty
  postrotate
    /etc/init.d/chef-client reload >/dev/null || :
  endscript
}

Expected Result:
chef-client daemon rotates its log file and service resumes normally.
Actual Result:
We're seeing stale filehandles. It also appears as if the chef client stop checking in.
I've identified a solution that works, but this requires us to drop our own chef-client restart script. I think this should go into the template used in this cookbook instead.
Add to /etc/init.d/chef-client the following, which sends the -TERM option to the daemon restart:
graceful_restart() {
    echo -n $"Gracefully restarting $prog: "
    killproc -p $pidfile $exec -TERM
    retval=$?
    echo
    return $retval
}

Then change the postrotate option to /etc/init.d/chef-client graceful-restart >/dev/null || :

I’m adding the Type: Jump In GitHub label to this issue. This is a great issue for someone to get their feet wet with and we’d love a PR to resolves the issue.


Fix input panel bugs

Resolve #346.
Corrects deleting character in text composition.
Now, filter makes the key focus move work properly, so no longer need to ignore specific key event handling.

Signed-off-by: Boram Bae<EMAIL_ADDRESS>

This PR didn't working properly in TV device... :(

This PR didn't working properly in TV device... :(

oh i tested only on emulator...


only expecting one cleanup method per class

ATTENTION! Please read and follow:

if this is a question about Error Prone, send it to<EMAIL_ADDRESS>if this is a bug or feature request, fill the form below as best as you can.

Description of the problem / feature request:
I was instructed to report this and post this information
error-prone version: 2.4.0
BugPattern: UnbalancedListener
Stack Trace:
java.lang.RuntimeException: only expecting one cleanup method per class
at com.uber.errorprone.checker.leaks.UnbalancedListener$CallScanner.visitMethod(UnbalancedListener.java:270)
at com.uber.errorprone.checker.leaks.UnbalancedListener$CallScanner.visitMethod(UnbalancedListener.java:173)
at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:898)
at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)
at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)
at com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:187)
at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:808)
at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90)
at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)
at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)
at com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:187)
at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:808)
at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:56)
at com.uber.errorprone.checker.leaks.UnbalancedListener.matchClass(UnbalancedListener.java:141)
at com.google.errorprone.scanner.ErrorProneScanner.processMatchers(ErrorProneScanner.java:451)
at com.google.errorprone.scanner.ErrorProneScanner.visitClass(ErrorProneScanner.java:549)
at com.google.errorprone.scanner.ErrorProneScanner.visitClass(ErrorProneScanner.java:152)
at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:808)
at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
at com.google.errorprone.scanner.Scanner.scan(Scanner.java:74)
at com.google.errorprone.scanner.Scanner.scan(Scanner.java:48)
at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)
at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)
at com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:144)
at com.google.errorprone.scanner.ErrorProneScanner.visitCompilationUnit(ErrorProneScanner.java:562)
at com.google.errorprone.scanner.ErrorProneScanner.visitCompilationUnit(ErrorProneScanner.java:152)
at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:591)
at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:56)
at com.google.errorprone.scanner.Scanner.scan(Scanner.java:58)
at com.google.errorprone.scanner.ErrorProneScannerTransformer.apply(ErrorProneScannerTransformer.java:43)
at com.google.errorprone.ErrorProneAnalyzer.finished(ErrorProneAnalyzer.java:152)
at com.sun.tools.javac.api.MultiTaskListener.finished(MultiTaskListener.java:120)
at com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1404)
at com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1353)
at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:946)
at com.sun.tools.javac.api.JavacTaskImpl.lambda$doCall$0(JavacTaskImpl.java:100)
at com.sun.tools.javac.api.JavacTaskImpl.handleExceptions(JavacTaskImpl.java:142)
at com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:96)
at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:90)
at com.facebook.buck.jvm.java.plugin.adapter.JavacTaskWrapper.call(JavacTaskWrapper.java:100)
at com.facebook.buck.jvm.java.plugin.adapter.BuckJavacTask.call(BuckJavacTask.java:52)
at com.facebook.buck.jvm.java.plugin.adapter.BuckJavacTaskProxyImpl.call(BuckJavacTaskProxyImpl.java:134)
at com.facebook.buck.jvm.java.Jsr199JavacInvocation$CompilerWorker.lambda$startCompiler$2(Jsr199JavacInvocation.java:424)
at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:127)
at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:57)
at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:80)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

java.lang.RuntimeException: only expecting one cleanup method per class
at com.uber.errorprone.checker.leaks.UnbalancedListener$CallScanner.visitMethod(UnbalancedListener.java:270)

This crash is likely a logic error in that check, which isn't one of the built-in ones.
Can you route this bug to whoever wrote the check you're using?

@itzcoatl90 If this UnbalancedListener in Android monorepo at Uber, please reach out to me internally (lazaro@) or to the Programming Systems Group (there is a public support Slack channel). This is one of ours and we should take a look at it internally first 😄
@cushon I remember the answer being "no" years ago, but... is there a way to override the url/message shown on a checker crash to point people first to our internal channels? It would avoid this kind of mistaken report.

I remember the answer being "no" years ago, but... is there a way to override the url/message shown on a checker

There still isn't configuration for that, but I'm not opposed to adding one.
Another option here is to just remove the crash report URL. We customize it to point to our internal issue tracker, for OSS maybe having com.google.errorprone in the stack trace is good enough, especially since we end up catching crashes that don't original in core Error Prone (e.g. custom checks, or javac itself).

There still isn't configuration for that, but I'm not opposed to adding one.

We'd use it if it were available. If you want me to try to make a PR for it, let me know. I might not be able to get to it this week, but would definitely love having this as a configuration option.

Another option here is to just remove the crash report URL. We customize it to point to our internal issue tracker, for OSS maybe having com.google.errorprone in the stack trace is good enough, especially since we end up catching crashes that don't original in core Error Prone (e.g. custom checks, or javac itself)

You guys know better than I how Error Prone is mostly used. My assumption is that the long tail of "small" deployments benefit from the default crash report URL, and we would definitely love to have a custom message instead (over "no message" even, since even seeing com.uber.* there won't exactly tell a new hire which team to contact 🙂 )


Storage Blob Advanced Sample: request failed, reason: getaddrinfo ENOTFOUND

Package Name: storage-blob
Package Version: 6.9.2
Operating system: Windows
[x] nodejs

version:  10.15.3

To Reproduce
Steps to reproduce the behavior:

Run the advanced.js sample, with an Azure Storage V2 Account.

Error
request to https://******* failed, reason: getaddrinfo ENOTFOUND .blob.core.windows. ****.blob.core.windows.*****:443

Update: not a bug. I used a storage key instead of a SAS token.


Add unit test and some optimizations

What is the purpose of the change
1.Add unit test for RemoteMetadataServiceImpl and MetadataServiceURLParamsMetadataCustomizer
2.fix typo
3.field modifier
4.make Gson to be a common field

Codecov Report

Merging #8945 (4622951) into 3.0 (acd49fe) will decrease coverage by 0.45%.
The diff coverage is 85.71%.

@@             Coverage Diff              @@
##                3.0    #8945      +/-   ##
============================================
- Coverage     63.75%   63.29%   -0.46%
+ Complexity      315      313       -2
============================================
  Files          1169     1182      +13
  Lines         49226    50258    +1032
  Branches       7361     7500     +139
============================================
+ Hits          31384    31812     +428
- Misses        14418    14962     +544
- Partials       3424     3484      +60

Impacted Files
Coverage Δ

...ava/org/apache/dubbo/metadata/MetadataService.java
42.10% <ø> (ø)

...nt/metadata/ServiceInstanceMetadataCustomizer.java
94.28% <ø> (+2.85%)
:arrow_up:

...ient/metadata/store/RemoteMetadataServiceImpl.java
76.00% <50.00%> (+10.72%)
:arrow_up:

.../client/metadata/ServiceInstanceMetadataUtils.java
92.15% <100.00%> (+4.42%)
:arrow_up:

...etadata/store/InMemoryWritableMetadataService.java
84.27% <100.00%> (+0.40%)
:arrow_up:

...ubbo/rpc/protocol/tri/ServerTransportObserver.java
63.41% <0.00%> (-28.59%)
:arrow_down:

...ng/transport/dispatcher/all/AllChannelHandler.java
62.06% <0.00%> (-27.59%)
:arrow_down:

...he/dubbo/common/logger/support/FailsafeLogger.java
52.80% <0.00%> (-26.47%)
:arrow_down:

...ting/exchange/support/header/HeartbeatHandler.java
58.13% <0.00%> (-25.59%)
:arrow_down:

.../apache/dubbo/common/context/LifecycleAdapter.java
25.00% <0.00%> (-25.00%)
:arrow_down:

... and 186 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 acd49fe...4622951. Read the comment docs.


chore: Add analytics components and hooks

Description
This change includes all the context providers, hooks and a stubbed implementation to orchestrate funnel based metrics within the components.
Design documentation: https://tiny.amazon.com/1190or99x/quipBBl9Tech
This Draft PR holds a all of the proposed changes to show how these will be used across the various components: https://github.com/cloudscape-design/components/pull/1115/files#diff-dbf7be64bedaf235736054490dfada45331ea33b255c3a27d8b1f5a9aeb0c83c
Additional

A follow up PRs will replace the existing implementation in Wizard and introduce the context and hooks to the Form, Container, FormField, Alert, Flashbar and Button components.
An additional follow up CR will be created to inject the relevant Analytics library to replace the stubbed implementation at build time.

Related links, issue #, if available: n/a
How has this been tested?
Added unit tests for the various components.

Review checklist
The following items are to be evaluated by the author(s) and the reviewer(s).
Correctness

Changes include appropriate documentation updates.
Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
Changes do not include unsupported browser features, see CONTRIBUTING.md.
Changes were manually tested for accessibility, see accessibility guidelines.

Security

If the code handles URLs: all URLs are validated through the checkSafeUrl function.

Testing

Changes are covered with new/existing unit tests?
Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

I checked the tech design doc, but it mentions nothing about Analytics* components and useFunnel* hooks.
So in this PR I also sort of reviewed this components APIs (because this is what all our team is expected to use to instrument their components)

Yes, sorry the core design stayed the same to use React context to maintain the additional state but the implementation details changed due to feedback from the review. The feedback was that the initial generic approach would an additional unnecessary layer we need to maintain and may never use (pre optimization). The doc does not accurately reflect that shift.


Fix MSSQL default value with built_in function support

Why make this change?

Closes #1857
When DAB resolves default column values from SQL, we don't account for the fact that the default value can be a system function. Due to this while setting this methods as graphQL fields we get conversion errors.

What is this change?

before setting default value for graphQL input fields, we check if it is a built_in function. If yes, we do not set a default value from graphQL and let database handle it.

How was this tested?


update python-markdown readme…

… to reflect renamed preprocessor, trim trailing whitespace, add blank lines around images.

Great. Thanks for updating the readme.


Infuser bug -- colorful shake being made with the wrong berries

I am infusing two berries: grepa and qualot. According to the wiki these should make a yellow EV juice that yields 32 defense EVS: https://pixelmonmod.com/wiki/EV_Juices
However, the two berries are producing a colorful shake instead:

On the wiki it says this is how you make a colorful shake: https://pixelmonmod.com/wiki/Colorful_Shake but neither of the berries I am using are included in this recipe

Hi! This is a known pixelmon issue, however it will likely not be fixed due to us scrapping the infuser in the future. https://pixelmonmod.com/tracker.php?p=2&t=18276


Minor changes for better comprehension in index.md

I've changed only the names of the variables and the comments to portuguese, plus other minor issues.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 🎉


Clarifications using Spring Cloud Stream Kafka

Hi,
I have a few questions regarding using this framework -

Would I be able to specify all supported Kafka configurations for the producer/consumer or only the limited configurations mentioned in the documentation?
Does this framework support all the capabilities supported by Spring Kafka?
Are there use cases where Spring Kafka would be preferred compared to using this framework?
Is there a way to increase the thread count that consumers make use of rather than launching multiple spring boot apps (each app using a single consumer thread)?

Would these questions be more appropriate in the Kafka binder issues page?

Hi @ajaydivakaran,
Our preference is to use Stack Overflow for these kinds of questions (especially as they are very general in nature), and using the Git Hub issue tracker for filing actual issues.
Will close this for now (as it is not an actual issue). Please open a question on SO tagged 'spring-cloud-stream' and we'll be happy to follow up with you.
Thanks!


ModuleNotFoundError: No module named 'utils'

The utils folder is there but seems like it is not able to locate. How to fix this?
(xp) C:\usable\X-Portrait>python core/test_xportrait.py --model_config config/cldm_v15_appearance_pose_local_mm.yaml --output_dir outputs --resume_dir checkpoint/model_state-415001.th --seed 999 --uc_scale 5 --source_image assets/source_image.png --driving_video assets/driving_video.mp4 --best_frame 36 --out_frames -1 --num_mix 4 --ddim_steps 30
Traceback (most recent call last):
  File "C:\usable\X-Portrait\core\test_xportrait.py", line 15, in <module>
    from utils.utils import set_seed, count_param, print_peak_memory
ModuleNotFoundError: No module named 'utils'

Hello, do you know how to fix it? I have the same issue as you.

Please, anyone fixed this?


Needs to be indented or github screws it up

not sure if there is some python-shell language to mention

FYI, the broken rendering when not indented is GitHub's fault: https://github.com/orgs/community/discussions/114690

ah, I didn't even know that rest supposed to support python doctest blocks.


Jira REST API return max 1000 record while using jira.search.search and Method used GET. If records are more then a lakh it failed . Please modify search to fetch all records using pagination. So the search result can be paginated.

Hello, this about, exists a possible solution for problem. Thanks.

Regardless of what i try, i always get:
Error: Stopping script to prevent infinite loop!
Any ideas as to how i can combat this?

In case anyone uses the above script. There is a small bug where it skips the first 100 issues. Basically the startAt query is never 0 which means that the first page is not fetched from jira.


I got a problem when I ran the flower demo of slim

NOTE: Only file GitHub issues for bugs and feature requests.  All other topics will be closed.
For general support from the community, see StackOverflow.
To make bugs and feature requests more easy to find and organize, we close issues that are deemed
out of scope for GitHub Issues and point people to StackOverflow.
For bugs or installation issues, please provide the following information.
The more information you provide, the more easily we will be able to offer
help and advice.
What related GitHub issues or StackOverflow threads have you found by searching the web for your problem?
Environment info
Operating System:
Ubuntu 14.04
Installed version of CUDA and cuDNN:
(please attach the output of ls -l /path/to/cuda/lib/libcud*):
Cuda 7.5   cuDNN 5.0
If installed from binary pip package, provide:
No, we installed tensorflow with the source code

A link to the pip package you installed:
The output from python -c "import tensorflow; print(tensorflow.__version__)".

If installed from source, provide

The commit hash (git rev-parse HEAD)
754048a0453a04a761e112ae5d99c149eb9910dd
The output of bazel version

If possible, provide a minimal reproducible example (We usually don't have time to read hundreds of lines of your code)
We ran the flower demo alone, everything is ok, however, with the slim I got the error like this:

I think something wrong with this file /usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/image_ops.py
What other attempted solutions have you tried?
Logs or other output that would be helpful
(If logs are large, please upload as attachment or provide link).
think you!

Please include more details and this is a question better suited for StackOverflow. Please ask it there and tag it with the tensorflow tag.


added binary indexed tree

@sb1997 Can you remove bits/stdc++.h because this is quite Linux specific and slow down the compiler process? In additional can you describe your pull request?