Fetch t_dhw_set and max_t_set when configured as numeric input

Thank you for the hard work on refining this component into an official ESPHome component!
I was experimenting with what sensors are supported by my heater (which sadly reports zero for many measurements that it certainly internally does) and what values can be set. Setting DHW and maximum CH setpoints is well supported and reflected on the device. I noticed an inconsistency though. When the two number inputs are defined, they show up in HA and can be set, but they initially start with blank inputs. If I instead configure sensors for t_dhw_set and max_t_set, they show the currently on the heater configured values. Defining both the number inputs and sensors again leads to initially blank inputs but also 0.0 as reported values for both sensors. It seems that when number inputs are configured, reading t_dhw_set and max_t_set is disabled or fails.
It would be ideal if the number inputs could initially show the values configured on the heater.
Corresponding configuration segments:
output:
  - platform: opentherm
    t_set:
      id: opentherm_ch_set_temperature
      min_value: 30
      max_value: 80
      auto_max_value: true
      zero_means_zero: true

number:
  - platform: opentherm
    t_dhw_set:
      name: "Domestic hot water setpoint"
      auto_min_value: true
      auto_max_value: true
    max_t_set:
      name: "Central heating maximum setpoint"
      auto_min_value: true
      auto_max_value: true

# Sensors work when no number input is specified, otherwise read 0.0.
sensor:
  - platform: opentherm
    t_dhw_set:
      name: "Domestic hot water setpoint"
    max_t_set:
      name: "Central heating maximum setpoint"

Hi @takerukoushirou @dwulkiewicz! Sorry, it took some time to look into this issue. Unfortunately, the behavior of not being able to read a value while output is configured, is baked into component's architecture and can't be changed easily. I will keep this issue in mind, but I can't make any promises that it will become a priority.

Thank you for your answer.
The assumptions are as follows: max_t_set and t_dhw_set are controlled from HA and the boiler panel. When first started, the ESPHome controller reads these settings from the boiler. Then they can be changed either from HA or from the boiler panel. To do this, the action of setting these values can only occur after calling id(max_t_set_output).set_level() and the reading of the max_t_set and t_dhw_set values from the boiler must be available.
Now it is not possible to change these parameters from the boiler panel because they are immediately overwritten with values from HA.
This is even more than @takerukoushirou described, who only talks about reading the values on the first start.
I hope I have described the problem well and it can be changed eventually.
Best regards


Simulation for ROS 2 Client

New feature implementation
Implemented feature

This PR includes a simulation example for the newly merged ROS 2 Client, and documentation on using it.

does this now not work anymore with foxy ?

hello,  the main branch of free fleet would not build with foxy anymore, as there were breaking api changes during the shift to galactic

Hello @vkuehn! Currently only the free_fleet_client_ros2  has breaking changes that require ROS 2 Galactic. One way to keep compiling main with ROS 2 Foxy would be skipping that package,
colcon build --packages-skip free_fleet_client_ros2


Load test with Puppeteer - Run large amount of browsers concurrency

Hi.
First of all i really like the puppeteer! Great product!
I need to run something like 10K browser concurrency and i have tried so many variations and couldn't find a way to do it.
I prevent the load of css/images and fonts. And i used AWS machine(96 Cores). When i try to run ~200  i starting to see timeout and the machine is in heavy load.
Do you have any way you can suggest to achieve that?
Our system it trading system that used websocket and in order to make sure it is ready the best test to do is this test.
Event if i will run 1000 machines for this test it will be super expensive so this is not really good solution.
Hope that makes sense..
Thanks

try this first?
https://github.com/jj4th/jest-puppeteer-performance

How it should help me? I tried but it didn't give me any feedback for the performance.
This use case is common and i am sure somebody tried to do so before.. I am just trying to understand the limitations.. Maybe i can add flags to there reduce browser work for the UI side(We run it as headless on linux servers)

Please give detailed information like how much bandwidth was used, cpu was used, memeory was used etc.
"I prevent the load of css/images and fonts. And i used AWS machine(96 Cores). When i try to run ~200 i starting to see timeout and the machine is in heavy load."
In your case you said it timed out it may be due to networking problem.
Honestly I think the issue tracker is for bugs etc. May be posting in forum can  help you.

Tried stack overflow but the community is not big enough and couldn't find any lead to this kind of use case. This is why i decided to go into here and try to understand if this achievable or not.
Attached below the cpu + network (I cannot get the memory now.. But it wasn't the problem because it was half of what the machine could handle.. AWS c5.metal is one of the biggeest and strongest instance AWS offer)

@aviadhadidainx  instead of discussing here lets discuss somewhere else. Btw which one is networking honestly never used aws before. By the way when you run puppetter 200 instance did u check using ping command whether latency was high with the website you are testing? Sometime webserver may throttle bandwidth to same ip requesting again and again which may explain why puppeteer is failing to load pages?

We can move discussion to here: https://stackoverflow.com/questions/58756163/load-test-with-puppeteer
NetworkIn / NetworkOut is the networking..
Regarding the latency.. I tried it tested the metrics of the website server + client and the tested manually when it was load to go into the website via browser. it was fast so i don't think this is the problem

@aviadhadidainx is puppeteer necessary with your case? Most of the time I find using jsdom and request fine.
Regarding you didn't published percentile of latency of your aws when you were running the 200+ chrome instances. Unfortunately I don't think i can help you here as I cannot test it myself.
BTW most people I know use docker containers and are not getting any problem.
And how was disk io you know chrome uses disk and I don't think puppeteer is good at mentioning it was not having enough resource which can be network, disk etc..

Thanks for your response...
Puppeteer is needed only because we want to have load test without the need to add all api calls in order to simulate the client.. and we want to test also the UI Server.
So this is the best thing we can have.. Simulate the load by running multi browsers without the need to maintain it.
Even if i will use containers.. Do you think it might help in this scale? I can try.. but it will require additional work from my side. Are you sure it can scale to this numbers?
I have checked the IO and it was high only when i needed to open the browser.. When i ramped up  it seems to be fine.
I thought about that.. Their website probably serve a lot of users.. So it has to scale!! Someone from puppeteer dev team can help here!!!??!!?

@aviadhadidainx hmm they used docker container for sandboxing. Can u check like when u spawn 200 browser how much do each browser uses. You can use command like htop and it will help us see the numbers.
By the way I think loading all browser at once as some negative implications like loading 200 at once usually cause my computer to freeze so no page load in that time so what i do is add delay like spawn 10 browser and after 1sec spawn another 10 browser and it has worked for me .
Btw i would like to test the code if you think it is ok to share. May be we discuss it in email?

Regarding to browser loading.. I did it gradually so only after 10 finish to load.. Load the next 10.
The browser args are:
['--start-maximized', '--no-sandbox', '--disable-setuid-sandbox',  '--use-gl=swiftshader', --disable-gl-drawing-for-tests]
The code is very simple.. Nothing special:
  const page = await browser.newPage();
  await page.setRequestInterception(true);

  page.on('request', (req) => {
    if (req.resourceType() === 'image' || req.resourceType() === 'stylesheet' || req.resourceType() === 'font') {
      req.abort();
    } else {
      req.continue();
    }
  });
  const promise = page.waitForSelector('[data-auto-id="appFullLoader"]');
  await page.goto(config.get('clientUrl'));
  // Wait for loader to start
  await promise;
  // Wait the loader to stop
  await page.waitForSelector('[data-auto-id="appFullLoader"]', { hidden: true });
  await page.waitForSelector('[data-auto-id="moreMarkets"]');
  await page.click('[data-auto-id="moreMarkets"]');
  const tickerList = await page.$$('[data-auto-id="tickerBigBox"');
  if (numberOfPagesGlobal > 0) {
    setImmediate(() => {
      numberOfPagesGlobal -= 1;
      startAnotherGroupTen();
    });
  }
  while (true) {
    for (let i = 0; i < tickerList.length; i += 1) {
      await page.waitFor(10000);
      tickerList[i].click();
    }
  }

I decided to move on because i didn't get any good answer so i think puppetter isn't built for this kind of tests and there is no way i could get 10K browsers even on stronger machine(128 Cores)
So we can talk on mail but i think it i will be better to the community to do it here so they can use this thread for they own use case

@shirshak55 Did you see my last answer? Anyone else has an idea what can we do?

@aviadhadidainx let me test it how many browser i can run concurrently

  while (true) {
    for (let i = 0; i < tickerList.length; i += 1) {
      await page.waitFor(10000);
      tickerList[i].click();
    }
  }

This code is abit not optimized i think. Any reason to use infinite loop without any delay?

Yes. I need a user that will constantly do the same just to simulate live user.
In our case, the user click on a list of items that cause a render to different component and to have api calls.. The user will keep doing that with a slight delay.
This way we can load test in real world

@aviadhadidainx before using puppetter test first how many chrome instance u can launch then we can move ahead with this issue.

Just to summarize: As it seems.. There is not way to do what i need with reasonable amount of servers..
We manage to reach 700 active browsers with 128 cores on 1 server

Found anything new? I have the same requirement as you and need as much browsers opened as possible. I was able to achieve 300 browsers on 8 cores, but I need way more, and on bigger machines.

Nope.. What we have done is to create AWS AMI that runs the script on 5
browsers.. Then we have initiated 1000 ec2 spot instances and tested like
that.
We have tried to find something else but with not success
On Sun, Apr 11, 2021 at 12:01 PM Alexandru Căncescu <
@.***> wrote:

Found anything new? I have the same requirement as you and need as much
browsers opened as possible. I was able to achieve 300 browsers on 8 cores,
but I need way more, and on bigger machines.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/puppeteer/puppeteer/issues/5142#issuecomment-817274130,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKQXZVK5G6MX34DBIDENGQTTIFQNZANCNFSM4JLLV4QA
.

--
The information transmitted by this email is intended only for the person
or entity to which it is addressed. This email may contain proprietary,
business-confidential and/or privileged material. If you are not the
intended recipient of this message, be aware that any use, review,
retransmission, distribution, reproduction or any action taken in reliance
upon this message is strictly prohibited. If you received this in error,
please contact the sender and delete the material from all computers.


Revisit separation of Message and Payload types in Alexandria

What was wrong?
inspired by: https://github.com/ethereum/ddht/pull/122/files/a1238887112f663e6c46696e3f0937bb3bd3df7a#r508993066
The Message and Payload types in Alexandria are implemented as independent classes.  This adds a certain level of code complexity since you have to instantiate things like FindNodesMessage(FindNodesPayload(distances)).  If they were the same, the equivalent would be FindNodesMessage(distances)
How can it be fixed?
Evaluate whether the separation gives us any worthwhile benefits and combine the two if it's deemed to not be a valuable distinction.

Alright.  Here's the use case that we can't do if we combine them...
https://github.com/ethereum/ddht/pull/95/files#diff-e6ee568ed7e4eba498a41c7ca612987686b2f93ac8e9da2d098030803753b10eR166
The AdvertiseMessage payload is a flat array of values.  In fact, we ran into this same thing in the base protocol with the FindNodesMessage who's payload is an array of distances.  Felix originally made the payload a flat array of them [d1, d2, ..., dn] and we were unable to support that since the base protocol combines message and payload into the same object.  He compromised and changed it to be embedded in an outer object: [[d1, d2, ..., dn]] which makes the message take up more bytes on the wire due to the outer wrapper.
With the separation between message and payload, we can have request.message.payload be a flat array of advertisements and not incur any of the extra cost of embedding it a Container ssz type with a single field.


Where is Virus Total score?

Hi,
did you deactivated it?
No choice in Options?
You could have also deleted the column, if the option is not available.
Would help to know.
Regards

Ah,
sending by clicking only works with:
https://virusscan.jotti.org/en-US/filescanjob/t41gsjch0d
Please then add a Joti-column.
Regards

#936


The about text has not changed

The About text as discussed in here is not included in version 0.5.5. It is still displaying the old text

The About text has been changed as suggested.


Remove unused PHP extensions

Since we know which extension is activated, shouldn't we remove those which are not ?
This way, the generated archive would be lighter ?

👍 that's a good idea, especially since lambda archives are limited in size.


unable to read json files using modin getting an error  "cannot use a string pattern on a bytes-like object"

import modin.pandas as mpd
print([pd.read_json(data_object.get()['Body'].read(), lines=True, convert_dates=False) for data_object in  data_objects])
ERROR: cannot use a string pattern on a bytes-like object
Note: data_objects are aws s3 json file keys
its working fine when using with pandas.

Hi @shivatharun, thanks for posting!
I need a bit more information before I can reproduce and diagnose this.

What is your OS and version?
What is your Python version?
What modin version are you running on?
Please post the full traceback of the error.
Please provide a minimal example if possible (without the list comprehension and show what the variables represent more explicitly).
Ideally show something I can use to reproduce the error.

Thanks again for posting, I will start diagnosing this once we have enough information.

What is your OS and version?
CentOS and version 7
What is your Python version?
Python 3.6.8
What modin version are you running on?
modin version =0.7.0

I'm trying to read all the files which are stored in AWS S3 and append it to single dataframe.

I am passing explicit date as parameter(lets say "20200226")  to run, my regex expression will return all the file keys which are 20200226 and will store in data_objects

data_objects is list of aws s3 json file keys as below syntax

data_objects = [bucketname/folder1=20200226/folder2/folder3/folder4/folder5/jsonfile1,
bucketname/folder1=20200226/folder2/folder3/folder4/folder5/jsonfile2,
bucketname/folder1=20200226/folder2/folder3/folder4/folder5/jsonfile3]
My code is below:
import modin.pandas as mpd
data = mpd.concat(
[mpd.read_json(data_object.get()['Body'].read(), lines=True, convert_dates=False) for data_object in
data_objects], ignore_index=True, sort=False)
ERROR
Traceback (most recent call last):
File "py.py", line 47, in
data = mpd.concat([mpd.read_json(data_object.get()['Body'].read(), lines=True, convert_dates=False) for data_object in data_objects], ignore_index=True, sort=False)
File "py.py", line 47, in
data = mpd.concat([mpd.read_json(data_object.get()['Body'].read(), lines=True, convert_dates=False) for data_object in data_objects], ignore_index=True, sort=False)
File "/usr/local/lib/python3.6/site-packages/modin/pandas/io.py", line 142, in read_json
return DataFrame(query_compiler=BaseFactory.read_json(**kwargs))
File "/usr/local/lib/python3.6/site-packages/modin/data_management/factories.py", line 60, in read_json
return cls._determine_engine()._read_json(**kwargs)
File "/usr/local/lib/python3.6/site-packages/modin/data_management/factories.py", line 64, in _read_json
return cls.io_cls.read_json(**kwargs)
File "/usr/local/lib/python3.6/site-packages/modin/engines/base/io/text/json_reader.py", line 11, in read
path_or_buf = cls.get_path(path_or_buf)
File "/usr/local/lib/python3.6/site-packages/modin/engines/base/io/file_reader.py", line 15, in get_path
if S3_ADDRESS_REGEX.search(file_path):
TypeError: cannot use a string pattern on a bytes-like object
The same code is running fine when i'm using pandas

@shivatharun it seems you are trying to read a bytes object with read_json. I say this because s3.Object.get returns a response whose 'Body' contains is a botocore.response.StreamingBody, whose read method returns bytes.
pandas can't read json bytes. e.g. in pandas pd.read_json(b'{"a": [4]}') throws TypeError: Expected file path name or file-like object, got <class 'bytes'> type whereas  pd.read_json('{"a": [4]}') works. Modin version b09dd424e95830e6a19a631741eb8381b9020ee5 throws the same error, so I don't think there's anything to fix here.


Show activity indicator or progress bar when updating.

Platform:
Mac OS 10.12.6 Darwin Kernel Version 16.7.0: RELEASE_X86_64 x86_64
Kap Version:
Version 2.1.2 (<IP_ADDRESS>7)
Steps to reproduce
Check for update, or close and open the app.
Current behaviour
Shows a notification prompting the user to click to update. Performs update in the background.
Expected behaviour
After being prompted to update display some sort of indicator showing that the update is in progress.
Workaround
none

This is not a bug, more of a feature request. I understand if this is not a priority right now. Thanks anyway for this amazing app!

The fix is to notify when the update is done downloading instead of just when it’s available. That way we can just notify and restart right away without the need for a progress indicator.

@sindresorhus I would like to work on this but it seems like this notification already exists? Is there more work that needs to be done?
https://github.com/wulkano/kap/blob/master/app/src/main/auto-updater.js#L40

We've implemented automatic updates in the background, applying updates when Kap is restarted.


Dots not supported in scopes

Version
3.10.0
Environment info
 System:
    OS: macOS 10.14.6
    CPU: (8) x64 Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz
  Binaries:
    Node: 10.15.3 - ~/.nvm/versions/node/v10.15.3/bin/node
    Yarn: 1.17.3 - /usr/local/bin/yarn
    npm: 6.10.2 - ~/.nvm/versions/node/v10.15.3/bin/npm
  Browsers:
    Chrome: Not Found
    Firefox: Not Found
    Safari: 12.1.2
  npmGlobalPackages:
    @vue/cli: 3.8.2

Steps to reproduce
Create a plugin wuth a name like @some.package/vue-cli-plugin-test
This plugin won't be recognized by vue-cli's reolvePlugin function.
What is expected?
The plugin will be recognized, is listed within vue-cli-service help and is executable.
What is actually happening?
Plugin is being skipped since it doesn't match pluginRE (shared-utils/lib/pluginResolution.js)

Changing pluginRE to something like:
^(@vue\/|vue-|@[\w-]+(\.)?[\w-]+\/vue-)cli-plugin-

should do the trick

PR is now available:
https://github.com/vuejs/vue-cli/pull/4512

Closing as it's fixed since 4.0 rc.1


Add release code build

Background
AWS CodeBuild will also be used to create GH Releases.
Acceptance Criteria

A new command deploy-release-build, similar to deploy-ci-build which will upload a Cloudformation stack  for a release build for respective project
A new command generate-release-buildspec, similar to generate_buildspec, which will generate a buildspec which will be used for the release of the respective project
A new command run-release, which will execute the CodeBuild Release build for the respective project

run-release should be implemented optionally asynchronously or synchronously, declared in the build-config of each project, which will be passed to to the command.


Added a success handler for knowing when a circuit breaker is successful

#8

Codecov Report

Merging #10 into master will increase coverage by 0.09%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #10      +/-   ##
==========================================
+ Coverage   93.24%   93.33%   +0.09%
==========================================
  Files           2        2
  Lines          74       75       +1
==========================================
+ Hits           69       70       +1
  Misses          5        5

Flag
Coverage Δ

#SGCircuitBreaker
93.33% <100%> (+0.09%)
:arrow_up:

Impacted Files
Coverage Δ

Sources/SGCircuitBreaker/SGCircuitBreaker.swift
93.33% <100%> (+0.11%)
: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 7b6e913...d2473c3. Read the comment docs.


agent_tutorial.ipynb has an import error

After dowloading and uploading on google colab the agent_tutorial.ipynb, running it raises the following error on the second cell of the notebook:

ImportError                               Traceback (most recent call last)
 in <cell line: 12>()
10
11 from concordia import typing
---> 12 from concordia.agents import basic_agent
13 from concordia import components as generic_components
14 from concordia.components.agent import to_be_deprecated as agent_components
ImportError: cannot import name 'basic_agent' from 'concordia.agents' (/usr/local/lib/python3.10/dist-packages/concordia/agents/init.py)
I did execute the previous cell
!pip install --ignore-requires-python git+https://github.com/google-deepmind/concordia.git

This is fixed now I believe


RPC failed; curl 18 transfer closed with outstanding read data remaining

A shell task (/usr/bin/env git clone --quiet https://github.com/Quick/Quick.git SwinjectMVVMExample-master/Carthage/Checkouts/SwinjectStoryboard/Carthage/Checkouts/Quick) failed with exit code 128:
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
when i am try to install carthage file.

From the error message, this seems like a Carthage (possibly networking) issue, not directly tied to this repo. You can probably get better solution there / on the stackoverflow.


MIgrate from post_syscall_hook to syscall signals.

Signals are superset of post syscall hooks. We should migrate to them and remove post_syscall hook from extension logic definiton.

This belongs to snforge team more, right?


Transpose 3X3 Matrix

Question :    Write a program to transpose a 3X3 matrix.
SAMPLE INPUT: Enter the elements of matrix.
1 2 3 4 5 6 7 8 9
SAMPLE OUTPUT: The elements of matrix are
1  2  3
4  5  6
7  8  9
The elements of the transpose of matrix are
1  4  7
2  5  8
3  6  9
@tarun26091999 @shreyanspoddar @OjusWiZard @nakul-19 @anjul2000 @rudrakshi99 @raksha009 @plazzy99
Please assign this problem to me.

@tarun26091999 @shreyanspoddar @OjusWiZard @nakul-19 @anjul2000 @rudrakshi99 @raksha009 @plazzy99
Please assign this problem to me.

@tarun26091999 @shreyanspoddar @OjusWiZard @nakul-19 @anjul2000 @rudrakshi99 @raksha009 @plazzy99
Can i do this problem in C++ language?

Hello @AparnaJha17 @ANSHIKA1806 @aaadddiii @anubhavitis @veenit1802  sir I think this is an important question and this should definitely be added in the Algo-Tree and I will start working on it as soon as I get assigned!! as I am a part of GSSoC'21, so I would like to implement this in c++.

Question : Write a program to transpose a 3X3 matrix.
SAMPLE INPUT: Enter the elements of matrix.
1 2 3 4 5 6 7 8 9
SAMPLE OUTPUT: The elements of matrix are
1 2 3
4 5 6
7 8 9
The elements of the transpose of matrix are
1 4 7
2 5 8
3 6 9
@tarun26091999 @shreyanspoddar @OjusWiZard @nakul-19 @anjul2000 @rudrakshi99 @raksha009 @plazzy99
Please assign this problem to me.

@tarun26091999 @shreyanspoddar @OjusWiZard @nakul-19 @anjul2000 @rudrakshi99 @raksha009 @plazzy99
I can solve this problem in Java, C and C++ and I've created this issue so please assign this to me.

Please /assign
I will work on it in c++

Hello! I am a GSSoC'21 participant. I would like to implement this in Java. Would be obliged if you could assign it to me. Thanks!


[Feature] 我希望能输出一张图片中两个打架的人的边界框，我该怎么设计prompt？

Motivation
1、给的prompt是\nPlease provide the bounding box coordinate of the region this sentence describes: {the person who is fighting in this image}，但是模型并没有理解打架的人这个信息，只是输出了人的边界框，也没有将两个人的边界框分开输出：
2、给的prompt是\nPlease provide the bounding box coordinate of the region this sentence describes: {the person who is fighting on the left} and Please provide the bounding box coordinate of the region this sentence describes: {the person who is fighting on the right},完全无法输出[x1,y1,x2,y2]格式的边界框。
3、给的prompt是\nPlease provide the bounding box coordinate of the region this sentence describes: {the person who is fighting on the left}，结果和1相同。
4、给的prompt是Please detect all fighters in the following image and mark their positions，模型会检测图片中所有的objects及其位置。
难道只能用多轮对话实现我的需求吗？
Related resources
No response
Additional context
No response

To achieve the desired output format, consider specifying it explicitly in the prompt or exploring the use of a larger language model with enhanced capabilities.

To achieve the desired output format, consider specifying it explicitly in the prompt or exploring the use of a larger language model with enhanced capabilities.

Thanks for your advice,I'm gonna start with changing the prompt.
The prompt3 "the person who is fighting on the left", is it not specific enough? Maybe I can describe the person's clothes to locate him, but my demand is to locate the fighters no matter what he was wearing.


Following syntax for Autocomplete in docs yields onBlur error, while using the  instead "works"

Hi, this could be a bug but I want to make sure I'm not missing something. Whenever I use this code:
<Field         name="name"         component={Autocomplete}         options={["client", "vendor", "employee", "other"]}         getOptionLabel={(option) => option}         style={{ width: 300 }}         renderInput={(params) => (           <FormikMuiTextField             {...params}             // We have to manually set the corresponding fields on the input component             name="name"             error={touched["name"] && !!errors["name"]}             helperText={errors["name"]}             label="Autocomplete"             variant="outlined"           />         )}       />
  I get this error log:

 "Cannot read properties of undefined (reading 'onBlur')

TypeError: Cannot read properties of undefined (reading 'onBlur')
at fieldToTextField (http://localhost:3000/static/js/bundle.js:112758:22)
at TextField (http://localhost:3000/static/js/bundle.js:112781:188)
at renderWithHooks (http://localhost:3000/static/js/bundle.js:138991:22)
at mountIndeterminateComponent (http://localhost:3000/static/js/bundle.js:142277:17)
at beginWork (http://localhost:3000/static/js/bundle.js:143573:20)
at HTMLUnknownElement.callCallback (http://localhost:3000/static/js/bundle.js:128583:18)
at Object.invokeGuardedCallbackDev (http://localhost:3000/static/js/bundle.js:128627:20)
at invokeGuardedCallback (http://localhost:3000/static/js/bundle.js:128684:35)
at beginWork$1 (http://localhost:3000/static/js/bundle.js:148558:11)
at performUnitOfWork (http://localhost:3000/static/js/bundle.js:147805:16)"
But if I change the <FormikMuiTextField /> (import { TextField as MuiTextField } from "@mui/material")out for just a vanilla TextField from @mui/material, it "works". But this didn't seem like it was correct according to the documentation.

I also had to use: `const { touched, errors } = useFormikContext();` to give this autocomplete access to touched and errors from the formik context, which I didn't see in the docs. I hope I'm not missing something simple here, but is this expected behavior/syntax?

I'm sorry about the lack of line breaks, I guess I need to learn how to force GitHub to keep my line breaks 🤷♂

did you figure this out @ryanfroese? I'm seeing the same thing following the docs

Sadly I didn't. I I'm not using Formik on any forms that use autocomplete, due to this issue. I'm doing most validation manually. If you ever get it working or find a way around this, let me know!


[WiP][SPARK-18699] SQL - parsing CSV should return null for certain numeric …

What changes were proposed in this pull request?
CSV parser changes allowing parsing of numeric fields to fail and return null in such case.
In conjunction with "nullValue" option that may be used elsewhere this allows handling of certain csv sources that may use empty string as indication of null in one column and another specific value indicating null in another.
Currently the option "nullValue" can only be provided once and we can't assume that a data source won't have a single "null" indicator.
This problem is very similar to the one discussed here: https://github.com/databricks/spark-csv/issues/239
Sargis Dudaklayan and Kuba Tyszko - Zest Finance
How was this patch tested?
The patch was tested using freshly compiled spark version 2.0.1 on a sample data source that has "null" values in 2 columns, one specified as "NA" and set using nullValue and another column with "" indicating no integer value.
Please review http://spark.apache.org/contributing.html before opening a pull request.

Can one of the admins verify this patch?

Can you describe which case this PR fixes? I think you meant https://issues.apache.org/jira/browse/SPARK-18699

Let's put [WIP] in the PR title, for example, ([WIP][SPARK-18699] ... ) if you are working on this to follow the suggestion in the JIRA. It seems we need to update the PR description (and with a proper PR title without truncated part such as ...) and need a test in CSVSuite.

@HyukjinKwon Thanks for your pinging! I left some comments.

Hi @kubatyszko, are you still working on this? If you are currently unable to proceed further, maybe it should be closed for now. It seems inactive for few months.


add max-metrics-in-find-answer check to render

Implement check  max-metrics-in-find-answer in render - return 403/Forbidden when limit reached.
Option already exists in config, but not implement now.

Option max-metrics-in-FIND-answer works only in /metrics/FIND/ handler. Needed in order not to slow down grafana on a large number of answers.
What profit from it in /render requests?

Profit - limiting for hungry queries (when too much metric returned - may be dashboard error).
With this PR limit work on /render requests (403 status code returned).
Also add some clickhouse error and limits checking (patch from this PR also included)
https://github.com/lomik/graphite-clickhouse/pull/44
I would like to discuss the usefulness. It is now difficult to identify errors on balancers.

Queries like 'sum(nginx.*.rps)' may work with a large number of metrics. But it works fine and returns single metric to grafana. At a minimum, the limits for the /metrics/find and /render should be configured separately.
In my own installations I solve the problem of heavy queries using the clickhouse option max_rows_to_read=200000000


Bot Stops/Freezes After Starting | [level_up_reward] | [next_egg_incubates]

Expected Behavior
Continues.

Actual Behavior
Freezes.

Steps to Reproduce
python pokecli.py

Other Information
OS: Mac OSX El Capitan
Git Commit: fddf30dd64322219c945a1aba3483f603ce55bcc
Python Version: Python 2.7.12

Logs
2016-08-07 14:59:55,138 [PokemonGoBot] [INFO] [bot_start] Starting bot...
2016-08-07 14:59:55,474 [CollectLevelUpReward] [INFO] [level_up_reward] Received level up reward: []
2016-08-07 14:59:55,475 [IncubateEggs] [INFO] [next_egg_incubates] Next egg incubates in 0.58 km

What is your config json files ?

@Happyrain67
`
{
"auth_service": "ptc",
"username": "username",
"password": "pass",
"location": "34.0201813, -118.6919205",
"gmapkey": "api key",
"tasks": [
{
"type": "HandleSoftBan"
},
{
"type": "CollectLevelUpReward"
},
{
"type": "IncubateEggs",
"config": {
"longer_eggs_first": true
}
},
{
"type": "TransferPokemon"
},
{
"type": "EvolvePokemon",
"config": {
"evolve_all": "none",
"first_evolve_by": "cp",
"evolve_above_cp": 500,
"evolve_above_iv": 0.8,
"logic": "or",
"evolve_speed": 20,
"use_lucky_egg": false
}
},
{
"type": "RecycleItems",
"config": {
"item_filter": {
"Pokeball":       { "keep" : 100 },
"Potion":         { "keep" : 10 },
"Super Potion":   { "keep" : 20 },
"Hyper Potion":   { "keep" : 30 },
"Revive":         { "keep" : 30 },
"Razz Berry":     { "keep" : 100 }
}
}
},
{
"type": "CatchVisiblePokemon"
},
{
"type": "CatchLuredPokemon"
},
{
"type": "SpinFort"
},
{
"type": "FollowCluster",
"config": {
"radius": 50,
"lured": true
}
}
],
"forts": {
"avoid_circles": true,
"max_circle_size": 50
},
"websocket_server": false,
"walk": 4.16,
"action_wait_min": 1,
"action_wait_max": 4,
"debug": false,
"test": false,
"health_record": true,
"location_cache": true,
"distance_unit": "km",
"reconnecting_timeout": 15,
"evolve_captured": "NONE",
"catch_randomize_reticle_factor": 1.0,
"catch_randomize_spin_factor": 1.0,
"catch": {
"any": {"catch_above_cp": 0, "catch_above_iv": 0, "logic": "or"},
"// Example of always catching Rattata:": {},
"// Rattata": { "always_catch" : true }
},
"release": {
"any": {"release_below_cp": 0, "release_below_iv": 0, "logic": "or"},
"// Example of always releasing Rattata:": {},
"// Rattata": {"always_release": true},
"// Example of keeping 3 stronger (based on CP) Pidgey:": {},
"// Pidgey": {"keep_best_cp": 3},
"// Example of keeping 2 stronger (based on IV) Zubat:": {},
"// Zubat": {"keep_best_iv": 2},
"// Also, it is working with any": {},
"// any": {"keep_best_iv": 3},
"// Example of keeping the 2 strongest (based on CP) and 3 best (based on IV) Zubat:": {},
"// Zubat": {"keep_best_cp": 2, "keep_best_iv": 3}
},
"vips" : {
"Any pokemon put here directly force to use Berry & Best Ball to capture, to secure the capture rate!": {},
"any": {"catch_above_cp": 1200, "catch_above_iv": 0.9, "logic": "or" },
"Lapras": {},
"Moltres": {},
"Zapdos": {},
"Articuno": {},
    "// S-Tier pokemons (if pokemon can be evolved into tier, list the representative)": {},
    "Mewtwo": {},
    "Dragonite": {},
    "Snorlax": {},
    "// Mew evolves to Mewtwo": {},
    "Mew": {},
    "Arcanine": {},
    "Vaporeon": {},
    "Gyarados": {},
    "Exeggutor": {},
    "Muk": {},
    "Weezing": {},
    "Flareon": {}

}

}
`

Fixed by making a new account. Was softbanend from teleporting.


Fix SIL to HIL conversion for Exp.Var inside Lfield and Lindex

When accessing a field or array offset of a pure variable (Exp.Var) that does not resolve to an access expression, HilExp.of_sil will create an extraneous dereference that causes HilExp.get_typ to fail. This pull request wraps variables that are the bases of Lfield or Lindex expressions with AddressOf before they're dereferenced (this is already done for Lvar inside AccessExpression.of_pvar) and adds a couple of unit tests that make sure it behaves as expected.
More details on the bug:
Given the following code:
if (!event_obj->dict)

and SIL:
n$6=_fun_gdb::ref_ptr<event_object,gdbpy_ref_policy<event_object>>::operator->(&event_obj:gdb::ref_ptr<event_object,gdbpy_ref_policy<event_object>>&) [line 38, column 8];
n$7=*n$6.dict:_object* [line 38, column 8];
PRUNE(!n$7, true); [line 38, column 8];

operator-> has return type event_object*, but n$6.dict only has access to the type of the struct, event_object. of_sil calls access_expr_of_lhs_exp with that type, which calls access_exprs_of_exp (note that add_deref is always true). The Lfield case will then recurse to process the Exp.Var, and AccessExpression.of_id will return an AccessPath.base that is then dereferenced. When resolving types, get_typ will find a non-pointer type wrapped by a Dereference and return None. To fix this, we match what of_pvar does and wrap the base in an AddressOf, which is removed by the dereference.

Great catch, thank you @kmh11!

Great catch, thank you @kmh11!


hotfix: incorrect url prefix on gallery item page

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR Type

[x] Bugfix
[ ] Feature
[ ] Refactoring

Context

[x] Closes #4733
[ ] Requires deployment <>

Before submitting pull request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[ ] I've posted a screenshot of demonstrated change in this PR

Optional

[ ] I've tested it at </bsx/collection>
[ ] I've tested PR on mobile
[ ] I've written unit tests 🧪
[ ] I've found edge cases

Had issue bounty label?

[x] Fill up your KSM address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot 📸

[ ] My fix has changed something on UI; a screenshot is best to understand changes for others.

How to reproduce this bug:

open https://beta.kodadot.xyz/rmrk
click any gallery item in another chain (bsx /snek..)
then you could see the empty page

just checked the browser console from local, I got this error message from 'gallery/getGalleryItem'
need to change the filename also from _id.vue to _id/index.vue
vue 3 way maybe?
<script lang="ts" setup>
import GalleryItem from<EMAIL_ADDRESS>
const { $store } = useNuxtApp()
const { urlPrefix } = usePrefix()
const route = useRoute()
const router = useRouter()

onBeforeMount(() => {
  const prefix = route.params.prefix

  if (urlPrefix.value !== prefix) {
    $store.dispatch('setUrlPrefix', prefix)
    router.go(0)
  }
})
</script>

Thanks, I have modified them.

pay 50 usd

😍 Perfect, I’ve sent the payout
💵 $50 @ 35.54 USD/KSM ~ 1.407 $KSM
🧗 Caiv9TbPz68q5dC8EcHu5xKYPRnremimGzqmEejDFNpWWLG
🔗 0xa5c28d45dd616d00a27fb5058323393c4105c3aa4015cec31919fbeb0e9ab608
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues

pay 50

😍 Perfect, I’ve sent the payout
💵 $50 @ 35.07 USD/KSM ~ 1.426 $KSM
🧗 Caiv9TbPz68q5dC8EcHu5xKYPRnremimGzqmEejDFNpWWLG
🔗 0xcebe9def9f432e6ab8aaacfb5486b7e93b8d685159d86431c5f149cf67d17867
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


Simulator and ROS Returns Different Player Position

Hi,

The first image attached is about the player info we get from the simulator, and the second image attached is about the player info we get from a ROS topic called /player_vehicle. We can see that the sign of y-position is different. What might go wrong in this case?
Thank,
Hanxiang

As far as I know this is due to the fact that the Carla uses left handed coordinate system, and ROS uses right handed one.

Hi,
Is the coordinate system in the newest version also left-handed?
Thanks!

@frk1993 yes CARLA still uses the UE4 left handed coordinate system


[IMPROVEMENT] Modern UI for Browser Viewer

In raising this pull request, I confirm the following (please check boxes):

[x] I have read and understood the contributors guide.
[x] I have checked that another pull request for this purpose does not exist.
[x] I have considered, and confirmed that this submission will be valuable to others.
[x] I accept that this submission may not be used, and the pull request closed at the will of the maintainer.
[x] I give this submission freely, and claim no ownership to its content.

My familiarity with the project is as follows (check one):

[x] I have used the project briefly.

I was trialling this software and felt that the web version could be styled to look nicer so it is more inviting for newer users. It will also make it easier to use for some meaning they will use it more often. I am happy to adapt it to your liking but I feel this is a simple way to show the information that is more visually pleasing.

Do you have a screenshot of how it looks now?

Sorry, for being late. I know it's kind of basic, but if you have any improvements let me know! Thanks!

Your UI certainly looks good however, I feel the existing one does the job nicely. Great work though 👍

Ok, no problem!


Basic Google Analytics event tracking

Log events for user creation, project creation and volunteering
Track 'start' and 'complete' events separately so we can look at the funnel
Uses Rails session to push and pop the action name
Uses one 'Actions' GA category for simplicity
Always load GA javascript code, no matter the environment, but use a new GA property that I setup just for dev/test. This is so we don't accidentally break production.

Would love some eyes on this, particularly if anyone cares about my overly verbose event names. I don't totally love the session-based approach but it is reliable.
fixes #117

Hm was turbolinks enabled this whole time? If so the historical GA data
might inaccurate
Will add changes when I'm online later if nobody beats me to it
On Wed, Apr 8, 2020 at 12:35 AM Radu Spineanu<EMAIL_ADDRESS>wrote:

@sradu requested changes on this pull request.
In app/controllers/projects_controller.rb
https://github.com/helpwithcovid/covid-volunteers/pull/118#discussion_r405251524
:

@@ -122,6 +122,7 @@ def toggle_volunteer
ProjectMailer.with(project: @project, user: current_user, note: params[:volunteer_note]).new_volunteer.deliver_now

   flash[:notice] = 'Thanks for volunteering! The project owners will be alerted.'

 track_event "User volunteered"

Pretty please install rubocop for linting. Should be single quotes.
In app/views/layouts/application.html.erb
https://github.com/helpwithcovid/covid-volunteers/pull/118#discussion_r405251846
:

   <script>

     window.dataLayer = window.dataLayer || [];
     function gtag(){dataLayer.push(arguments);}
     gtag('js', new Date());

   gtag('config', 'UA-162054776-1');

   gtag('config', '<%= google_analytics_id %>');

   <% if (event_name = pop_event_to_track).present? %>

My own pet peeve can you please make it into a helper function and remove
commented out code.
def track_ga_event_if_needed
event = session.delete(:track_event)
return '' if event.blank?
"gtag('event', '#{event}', {});"
end

In app/views/layouts/application.html.erb
https://github.com/helpwithcovid/covid-volunteers/pull/118#discussion_r405252780
:

   <script>

     window.dataLayer = window.dataLayer || [];
     function gtag(){dataLayer.push(arguments);}
     gtag('js', new Date());

   gtag('config', 'UA-162054776-1');

   gtag('config', '<%= google_analytics_id %>');

You're going to need to take turbolinks into consideration:
https://michaelsoolee.com/google-analytics-rails-5/
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/helpwithcovid/covid-volunteers/pull/118#pullrequestreview-389644725,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAAO34KTHM5PYRNBHHCYNTRLP5IBANCNFSM4MCX34MQ
.

--
@jamiew https://twitter.com/jamiew | https://jamiedubs.com
https://www.jamiedubs.com/

whenever you have time - in theory it should be ok if I read the tutorial there, it only affects events.

I just did a test run and looks like Turbolinks also affects GA pageviews,
e.g. only the first page is really logged. I still see ~1.6 pages/visit in
GA so maybe this is all all device-specific
Will take a look
On Thu, Apr 9, 2020 at 2:24 PM Radu Spineanu<EMAIL_ADDRESS>wrote:

whenever you have time - in theory it should be ok if I read the tutorial
there, it only affects events.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/helpwithcovid/covid-volunteers/pull/118#issuecomment-611681797,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAAO3634EKBY25SHQDYCBLRLYHGJANCNFSM4MCX34MQ
.

--
@jamiew https://twitter.com/jamiew | https://jamiedubs.com
https://www.jamiedubs.com/

Also want to add a Search event
Anything else that'd inform our design work?


Public API switch coordinate system

This PR adds the opportunity to change the coordinate system through a public API, thereby completing one task in #158.

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

Comparison is base (e01ab37) 75.77% compared to head (537a48c) 75.84%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #169      +/-   ##
==========================================
+ Coverage   75.77%   75.84%   +0.06%
==========================================
  Files          16       16
  Lines        1717     1726       +9
==========================================
+ Hits         1301     1309       +8
- Misses        416      417       +1

Files
Coverage Δ

src/napari_spatialdata/_interactive.py
86.66% <88.88%> (+0.55%)
:arrow_up:

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

Looks great to me! Nice!

Thanks for reviewing!


refactor(2890115801): Move terms & faq tabs from burger menu to navbar

Description of the Changes

Refactor Tab component to the new design.
Create new Tabs component.
Create new (and temp) LiquidityButton component.
Remove BurgerMenu from Header.

Checklist

[ ] Changes have been done against master branch, and PR does not conflict
[ ] New unit / functional tests have been added (whenever applicable)
[ ] Test are passing in local environment
[ ] Docs have been updated
[ ] PR title is follow the Conventional Commits convention: <type>[optional scope]: <description>, e.g: fix: prevent racing of requests

This change is

:tada: This PR is included in version 1.8.0-dev.22 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.8.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


bug(md-select): change the arrow position to absolute

Fixes #3112

@crisbeto conflicts resolved and I've removed the demo for flex layout from the demo page. Anything else that needs to change here?

Not code-wise, but you have a few merge conflicts which can cause issues with our scripts. Can you squash all your commits into one?

@crisbeto As these changes are really small and there are some merges with lots of commits here, I've created a new pull request with just the changes based on the current master. I'm closing this one and we can continue at #3580

Well, it's already done, but FYI you can still squash commits after the PR has been opened.


Fix issue with type format caused by inproper return type from tern

There was return type in the next format - fn*(param1, param2, ...), instead of just fn(param1, param2, ...). In this case XregExp lib throws an exception. Minor fix to replace '*' in type format was provided.

LGTM

Message was changed after review


feat: send user-agent header with auth token requests

This commit updates our various request-based authenticators so that the User-Agent header is included with each outbound token request. The value of the User-Agent header will be of the form "ibm-go-sdk-core/- ".

:tada: This PR is included in version 5.17.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


WARNING: npm peer requirements not installed:

i'm using meteor Meteor <IP_ADDRESS>
i installed the packages but the console log return this
I20160915-17:19:19.749(2)? [Error: Can't find npm module 'react-addons-transition-group/package.json'. Did you forget to call 'Npm.depends' in package.js within the 'modules-runtime' package?]
I20160915-17:19:19.750(2)? [Error: Can't find npm module 'react-addons-css-transition-group/package.json'. Did you forget to call 'Npm.depends' in package.js within the 'modules-runtime' package?]
I20160915-17:19:19.751(2)? [Error: Can't find npm module 'react-addons-linked-state-mixin/package.json'. Did you forget to call 'Npm.depends' in package.js within the 'modules-runtime' package?]
I20160915-17:19:19.752(2)? [Error: Can't find npm module 'react-addons-create-fragment/package.json'. Did you forget to call 'Npm.depends' in package.js within the 'modules-runtime' package?]
I20160915-17:19:19.753(2)? [Error: Can't find npm module 'react-addons-update/package.json'. Did you forget to call 'Npm.depends' in package.js within the 'modules-runtime' package?]
I20160915-17:19:19.754(2)? [Error: Can't find npm module 'react-addons-pure-render-mixin/package.json'. Did you forget to call 'Npm.depends' in package.js within the 'modules-runtime' package?]
I20160915-17:19:19.754(2)? [Error: Can't find npm module 'react-addons-test-utils/package.json'. Did you forget to call 'Npm.depends' in package.js within the 'modules-runtime' package?]
I20160915-17:19:19.755(2)? [Error: Can't find npm module 'react-addons-perf/package.json'. Did you forget to call 'Npm.depends' in package.js within the 'modules-runtime' package?]
W20160915-17:19:19.756(2)? (STDERR) WARNING: npm peer requirements not installed:
W20160915-17:19:19.757(2)? (STDERR)  -<EMAIL_ADDRESS>installed<EMAIL_ADDRESS>needed
W20160915-17:19:19.757(2)? (STDERR)  -<EMAIL_ADDRESS>installed<EMAIL_ADDRESS>needed
W20160915-17:19:19.757(2)? (STDERR)  -<EMAIL_ADDRESS>not installed.
W20160915-17:19:19.757(2)? (STDERR)  -<EMAIL_ADDRESS>not installed.
W20160915-17:19:19.758(2)? (STDERR)  -<EMAIL_ADDRESS>not installed.
W20160915-17:19:19.759(2)? (STDERR)  -<EMAIL_ADDRESS>not installed.
W20160915-17:19:19.759(2)? (STDERR)  -<EMAIL_ADDRESS>not installed.
W20160915-17:19:19.759(2)? (STDERR)  -<EMAIL_ADDRESS>not installed.
W20160915-17:19:19.760(2)? (STDERR)  -<EMAIL_ADDRESS>not installed.
W20160915-17:19:19.760(2)? (STDERR)  -<EMAIL_ADDRESS>not installed.
W20160915-17:19:19.760(2)? (STDERR)
W20160915-17:19:19.760(2)? (STDERR) Read more about installing npm peer dependencies:
W20160915-17:19:19.761(2)? (STDERR)   http://guide.meteor.com/using-packages.html#peer-npm-dependencies
W20160915-17:19:19.761(2)? (STDERR)
W20160915-17:19:19.989(2)? (STDERR) /Users/ortiz/.meteor/packages/meteor-tool/.1.4.1_1.1h0re2h++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:280
W20160915-17:19:19.989(2)? (STDERR)                         throw(ex);
W20160915-17:19:19.990(2)? (STDERR)                         ^
W20160915-17:19:19.990(2)? (STDERR)
W20160915-17:19:19.990(2)? (STDERR) Error: Can't find npm module 'react-addons-transition-group'. Did you forget to call 'Npm.depends' in package.js within the 'modules-runtime' package?
W20160915-17:19:19.991(2)? (STDERR)     at Object.Npm.require (/Users/ortiz/Siti/tutorial/meteor/react/flowrouter/.meteor/local/build/programs/server/boot.js:198:17)
W20160915-17:19:19.991(2)? (STDERR)     at options.fallback (packages/modules-runtime/modules-runtime.js:21:1)
W20160915-17:19:19.991(2)? (STDERR)     at require (packages/modules-runtime/.npm/package/node_modules/install/install.js:88:1)
W20160915-17:19:19.993(2)? (STDERR)     at meteorInstall.node_modules.meteor.react-runtime.react-runtime.js (packages/react-runtime/react-runtime.js:29:20)
W20160915-17:19:19.993(2)? (STDERR)     at fileEvaluate (packages/modules-runtime/.npm/package/node_modules/install/install.js:153:1)
W20160915-17:19:19.993(2)? (STDERR)     at require (packages/modules-runtime/.npm/package/node_modules/install/install.js:82:1)
W20160915-17:19:19.993(2)? (STDERR)     at /Users/ortiz/Siti/tutorial/meteor/react/flowrouter/.meteor/local/build/programs/server/packages/react-runtime.js:79:15
W20160915-17:19:19.994(2)? (STDERR)     at /Users/ortiz/Siti/tutorial/meteor/react/flowrouter/.meteor/local/build/programs/server/packages/react-runtime.js:92:3
W20160915-17:19:19.994(2)? (STDERR)     at /Users/ortiz/Siti/tutorial/meteor/react/flowrouter/.meteor/local/build/programs/server/boot.js:292:10
W20160915-17:19:19.995(2)? (STDERR)     at Array.forEach (native)
=> Exited with code: 1
=> Your application is crashing. Waiting for file change.

Yeah I'm having the same issue.

Getting the exact same error on the latest version of Meteor. Kinda sad that this is the supported router for Meteor and the team behind it still hasn't responded to this issue.

I didn't try yet, but i ran the following code:
meteor show kadira:react-layout
...

NOTE
With Meteor 1.3, use react-mounter instead of this.

install all required packages. Or use react mounter

Run meteor npm install


null-aware operator was used on non-null value in at_contacts_flutter and at_onboarding_flutter

Describe the bug
In at_contacts_flutter and at_onboarding_flutter has null-aware issue with WidgetsBinding.instance.
To Reproduce
Steps to reproduce the behavior:

Install/Upgrade Flutter to 3.0.0
Upgrade all you at packages
Run any app.

Expected behavior
This Error/Warning is not expected
Logs
Launching lib/main.dart on iPhone 13 in debug mode...
Xcode build done.                                           37.4s
: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
- 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../../../../Development/flutter/packages/flutter/lib/src/widgets/binding.dart').

            WidgetsBinding.instance!.addPostFrameCallback((Duration timeStamp) {
                           ^
: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
- 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../../../../Development/flutter/packages/flutter/lib/src/widgets/binding.dart').
    WidgetsBinding.instance!.addPostFrameCallback((_) {
                   ^
: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
- 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../../../../Development/flutter/packages/flutter/lib/src/widgets/binding.dart').
    WidgetsBinding.instance!.addPostFrameCallback((Duration timeStamp) {
                   ^
: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
- 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../../../../Development/flutter/packages/flutter/lib/src/widgets/binding.dart').
    WidgetsBinding.instance!.addPostFrameCallback((timeStamp) async {
                   ^
: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
- 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../../../../Development/flutter/packages/flutter/lib/src/widgets/binding.dart').
    WidgetsBinding.instance!.addPostFrameCallback((timeStamp) async {
                   ^
: Warning: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null.
- 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../../../../Development/flutter/packages/flutter/lib/src/widgets/binding.dart').
    WidgetsBinding.instance?.addPostFrameCallback((timeStamp) async {
                   ^

Connecting to VM Service at ws://<IP_ADDRESS>:52300/lITl4cNAfHU=/ws
flutter: FINER|2022-05-12 22:34:53.334998|at_skeleton_app|Environment failed to load from .env:
flutter: SEVERE|2022-05-12 22:34:54.114698|AtClientService|Atsign not found
flutter: INFO|2022-05-12 22:34:54.205284|QR Scan|camera status => PermissionStatus.denied
flutter: INFO|2022-05-12 22:34:54.206357|QR Scan|storage status is PermissionStatus.granted

Smartphone (please complete the following information):

Device: iPhone12
OS: iOS15.4

Were you using an @application when the bug was found?

@dude

@sachins-geekyants I don't think this takes 8SP. This is because of the Flutter 3.0 version. WidgetBinding.instance is not nullable anymore. Previously it used to be nullable. Not sure, Please LMK this is not what this issue is about.

null aware fix and linting have been applied to packages - need to test examples and deploy.
Moving to next sprint.

@yahu1031 We have removed the bang operator and published the packages.

@yahu1031 Can you ask for his flutter version ?

2.10.3

This is a change made with respect to flutter 3.0 .
If he wants to use any flutter 2... versions, he should use previous versions of the package.

@yahu1031 Is the issue resolved? can we close this ticket?

yes, I'm closing this as it was resolved.


Failed at the<EMAIL_ADDRESS>start:server script 'PEERCALLS_FS=. go run main.go'.

Describe the bug
when initiating npm start getting the following error
Darwin 22.6.0
npm ERR! argv "/Users/satyashetty/.nvm/versions/node/v16.17.0/bin/node" "/Users/satyashetty/node_modules/.bin/npm" "run" "start:server"
npm ERR! node v16.17.0
npm ERR! npm  v2.15.12
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>start:server: PEERCALLS_FS=. go run main.go
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start:server script 'PEERCALLS_FS=. go run main.go'.
npm ERR! This is most likely a problem with the peer-calls package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     PEERCALLS_FS=. go run main.go
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs peer-calls
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls peer-calls
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
Steps To Reproduce
Steps to reproduce the behavior:
compiling to start the application
Expected behavior
run the application

What's the output of PEERCALLS_FS=. go run main.go? Do you have Go installed?

I managed to get through this error by restarting visual studio.  but there
is another issue  that I am facing when I am trying to test the application
locally, When I do a test through Firefox and Safari I am able to add
multiple instances. But in Chrome the instance I am not able to. attaching
a screenshot for reference.
on chrome, i get the following message
Peer connection close
and on safari i get the message that its connecting to the peer endlessly
On Tue, Aug 22, 2023 at 1:22 AM Jerko Steiner @.***>
wrote:

What's the output of PEERCALLS_FS=. go run main.go? Do you have Go
installed?
—
Reply to this email directly, view it on GitHub
https://github.com/peer-calls/peer-calls/issues/286#issuecomment-1687529946,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHC2TVO5XEJA2ZD5SLHFYQ3XWRF4BANCNFSM6AAAAAA3Y44NJ4
.
You are receiving this because you authored the thread.Message ID:
@.***>

The README.MD in the repo has configuration instructions. I'm not able to provide installation support via GitHub due to the nuances of different WebRTC browser implementations, configuration options, hosting providers and firewall setups. You might also need to run a TURN/STUN server. If you're able to reproduce the issue on peercalls.com I look into it.

Thank you for your reply. I will try your suggestions
Regards
Satya
On Tue, Aug 22, 2023 at 4:45 AM Jerko Steiner @.***>
wrote:

The README.MD in the repo has configuration instructions. I'm not able to
provide installation support via GitHub due to the nuances of different
WebRTC browser implementations, configuration options, hosting providers
and firewall setups. You might also need to run a TURN/STUN server. If
you're able to reproduce the issue on peercalls.com I look into it.
—
Reply to this email directly, view it on GitHub
https://github.com/peer-calls/peer-calls/issues/286#issuecomment-1687846646,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHC2TVOAUBXCSBKIKN4HPLLXWR5SNANCNFSM6AAAAAA3Y44NJ4
.
You are receiving this because you authored the thread.Message ID:
@.***>


Production documentation

Hi!
Many thanks for the good work!
Is there any documentation (with examples and step by step guide) about how to deploy Strapi in production using docker?
In the official documentation there is no trace of production environment and you end up (like me) running strapi develop in production...
Also, what's the recommended process to start a Strapi project and then bring it to production?
Any input would be appreciated. Thanks!

I tried the documentation for Strapi from here:
https://github.com/strapi/strapi-docker/blob/master/examples/postgresql/docker-compose.yml
I get:
| Starting your app... | [2020-05-10T21:39:34.592Z] debug ⛔ Server wasn't able to start properly. | [2020-05-10T21:39:34.594Z] error Error: | Something went wrong installing the "sharp" module | | Cannot find module '../build/Release/sharp.node' | Require stack: | - /srv/app/node_modules/sharp/lib/constructor.js | - /srv/app/node_modules/sharp/lib/index.js | - /srv/app/node_modules/strapi-plugin-upload/services/image-manipulation.js | - /srv/app/node_modules/strapi/lib/load/load-files.js | - /srv/app/node_modules/strapi/lib/load/load-config-files.js | - /srv/app/node_modules/strapi/lib/core/load-config.js | - /srv/app/node_modules/strapi/lib/core/load-modules.js | - /srv/app/node_modules/strapi/lib/Strapi.js | - /srv/app/node_modules/strapi/lib/index.js | - /srv/app/node_modules/strapi/lib/commands/start.js | - /usr/local/share/.config/yarn/global/node_modules/strapi/bin/strapi.js | | - Run "npm rebuild --verbose sharp" and look for errors | - Consult the installation documentation at https://sharp.pixelplumbing.com/install | - Search for this error at https://github.com/lovell/sharp/issues | |     at Object.<anonymous> (/srv/app/node_modules/sharp/lib/constructor.js:34:9) |     at Module._compile (internal/modules/cjs/loader.js:956:30) |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10) |     at Module.load (internal/modules/cjs/loader.js:812:32) |     at Function.Module._load (internal/modules/cjs/loader.js:724:14) |     at Module.require (internal/modules/cjs/loader.js:849:19) |     at require (internal/modules/cjs/helpers.js:74:18) |     at Object.<anonymous> (/srv/app/node_modules/sharp/lib/index.js:3:15) |     at Module._compile (internal/modules/cjs/loader.js:956:30) |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10)
Then I have a question as well, so I created a strapi project on my local machine, then dumped the database and loaded the data to my production machine, but everytime I run Strapi through my own dockerfile and navigate to roles and permissions menu (Strapi is working fine and the database is populated fine from what I see) I get react error.
Error: Minified React error #130 and it complains about something about an object being empty in console.

Hi @enricostano Have you looked at the examples folder in this repository ?
When using the strapi/strapi image the app will by default run in development but it is as simple as changing the command to use strapi start and set a NODE_ENV=production flag.
You can find an example here
The better way is to create a custom image to match your specific needs: you can find examples here
Closing this issue for now. Let me know if you still think this should stay opened ;)


Keycloak 1.8 integration

This PR add support for latest Keylocak 1.8.0.Final. This is the PR for 0.8.x branch, as it hurries for the kie 6.3.x build and qe testing.  I will send the PR for master branch in a while.
Thanks!

NOTE: There are no changes on the kie-wb-distributions repository expected for this update. Only uf-extensions is affected.

@romartin just some minor things, see comments above. Then good to go.

@psiroky @csadilek fixed. thx!

@romartin since reference assignments are atomic, the worst that could happen to you after removing the synchronized block is that Keycloak.getInstance is invoked multiple times (and the field is getting reassigned). If you can live with that (seems ok to me), removing synchronized is fine. Can you please comment.

@csadilek @psiroky Closing for now. Let's see which concrete version is required to be present. Thx, will keep u updated


ci: add test to check that fluentd should be restarted with updating from v4

This PR will add test to confirm that fluentd should be restarted with updating from v4

Looks like restart does not occur unexpectedly when updating v4 to v5.
(td-agent v4 (active) -> fluent-package v5)


Installing Biome failed due to peerOptional package error

Reproduce steps:

Go to https://github.com/jellydn/moleculer-typescript-template/actions/runs/8922595119/job/24505060127?pr=596
Refer below logs

npm ERR! code ERESOLVE
  npm ERR! ERESOLVE could not resolve
  npm ERR!
  npm ERR! While resolving<EMAIL_ADDRESS>  npm ERR! Found<EMAIL_ADDRESS>  npm ERR! node_modules/pino
  npm ERR<EMAIL_ADDRESS>from the root project
  npm ERR!
  npm ERR! Could not resolve dependency:
  npm ERR! peerOptional<EMAIL_ADDRESS>|| ^7.0.0 || ^8.0.0" from<EMAIL_ADDRESS>  npm ERR! node_modules/moleculer
  npm ERR<EMAIL_ADDRESS>from the root project
  npm ERR<EMAIL_ADDRESS>from<EMAIL_ADDRESS>  npm ERR!   node_modules/moleculer-connect
  npm ERR!     dev<EMAIL_ADDRESS>from the root project
  npm ERR!   3 more (moleculer-io, moleculer-web, moleculer-zod-validator)
  npm ERR!
  npm ERR! Conflicting peer dependency<EMAIL_ADDRESS>  npm ERR! node_modules/pino
  npm ERR!   peerOptional<EMAIL_ADDRESS>|| ^7.0.0 || ^8.0.0" from<EMAIL_ADDRESS>  npm ERR!   node_modules/moleculer
  npm ERR<EMAIL_ADDRESS>from the root project
  npm ERR<EMAIL_ADDRESS>from<EMAIL_ADDRESS>  npm ERR!     node_modules/moleculer-connect
  npm ERR!       dev<EMAIL_ADDRESS>from the root project
  npm ERR!     3 more (moleculer-io, moleculer-web, moleculer-zod-validator)
  npm ERR!
  npm ERR! Fix the upstream dependency conflict, or retry
  npm ERR! this command with --force or --legacy-peer-deps
  npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
  npm ERR!
  npm ERR!
  npm ERR! For a full report see:
  npm ERR! /home/runner/.npm/_logs/[202](https://github.com/jellydn/moleculer-typescript-template/actions/runs/8907929229/job/24462654550?pr=596#step:3:209)4-05-02T10_46_49_188Z-eresolve-report.txt

  npm ERR! A complete log of this run can be found in: /home/runner/.npm/_logs/2024-05-02T10_46_49_188Z-debug-0.log
  Error: Process completed with exit code 1.

Suggestion
Could we have a flag to pass to install biome or use a different package manager? Thank you for your work.
I also opened a PR on https://github.com/moleculerjs/moleculer/pull/1282 but let's see if it would resolve the issue.

This works. Thanks, @mongolyy.


Windows snapshots support

Windows is a supported operating system on many of the public clouds, for example AWS and Azure both have support for Windows images. Today the VMClarity scanner is only capable of scanning Linux/Unix style volumes for issues. There are several reasons for this:
a) A number of the tools/scanners used by VMClarity only look for issues in Linux/Unix file locations
b) The VMClarity scanner will only find and mount common linux volume formats (ext4, ext3 etc) and not NTFS.
Operating system awareness (manual input / detected) should be added to the VMClarity scanning infrastructure such that scanners can decide:
a) if they are capable of scanning the provided input
b) if they need to do anything different to scan the target input
We should document what Operating Systems each scanner in all the families support so that users can create scan configurations which perform successfully if targeted at windows nodes.
We should look to see if there is at least one sbom and vulnerability scanner that supports a windows file system, and if there isn't we should add one to provide the minimum level of support for windows in VMClarity.

Volume logic needs to be extended to support NTFS mounting/unmounting.

Scanners are now able to scan Windows snapshots and windows-specific environments. Some of the scanners are not meant to be run against Windows, but this is outside of the scope of this issue and is captured in https://github.com/openclarity/vmclarity/issues/1203.


Flutter build error after ^2.2.0 upgrade

This is the error output of gradle build.
Execution failed for task ':flutter_poolakey:generateReleaseRFile'.
> Could not resolve all files for configuration ':flutter_poolakey:releaseCompileClasspath'

I have same issue

Duplicate #24 and fixed in  afc744a.


Incorrect CBC-S doc

removing CBC-S silicon and timeline reference

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Docs/Packaging/content-encryption-modes.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Remove previously deprecated functionality

This PR removes previously deprecated functionality for v2.0.0 to streamline the API and make it more user friendly.

[x] remove previously deprecated functionality
[x] fix bug in handling ConnectionError when querying Overpass status endpoint
[x] fix which_result param so it is consistently able to accept a list throughout the package
[x] rename osm_xml module to _osm_xml to make it private/internal as all its functionality is private (the io and graph modules expose its public functionality)
[x] make bbox_from_point function return bbox as a tuple of floats for consistency with rest of package
[x] improve/fix docstrings, warning messages, and a few type annotations

See also #1106

The first pre-release OSMnx v2 beta has been released. Testers needed! See #1123 for details.


Enforcing migration order (related to publisher2)

MySQL wouldn't run the south migrations as they stand (mostly because of south).
I added better support to south https://bitbucket.org/beyondwords/south-mysql to support foreign key renames, but there were still lingering issues with out-of-date foreign keys.
The easiest fix I found was to enforce that all publisher2 changes in the plugins, follow the one in CMS.
I thought this would be useful to others and minimally invasive to the existing code base.
Hope this is deemed useful.
Cheers,
Gabriel

how will this affect existing migration histories? I don't want this to break every installation... Also have you considered contributing your south fork back into the main south?

This shouldn't affect existing migration histories at all since when you run migrate it checks in the table which migrations have already been run, not the order (or in most people's case syncdb and fake migrate). The added lines are just hints to ensure the migrations are run in an order that remains consistent with the database during the initial migration.
I did contribute them back and they are now merged into the main branch of south https://bitbucket.org/andrewgodwin/south/changeset/d310fe2fda97
The package on PyPi has not yet been updated though.


[Q] Is it wise to use "Aikar's Flags"?

Hey man, and thanks for creating the image. It works wonderfully.
I was reading through PaperMC's documentation, and stumbled upon something named Aikar's Flags, which seems to be a collection of commandline flags to use when launching the java file.
I don't have much knowledge of Java in general, so maybe it's worthless/useless. In my case, I'm using a server with 128GB of RAM, so I have plenty of RAM to spare and to test out.
Is it worth looking into??
Link: Aikar's Flags (Paper Docs) / Aikar's Flags (Pufferfish Docs)

Hey vp-en,
This does use some of the memory related ones but most of those flags are obsolete.  The JIT (just-in-time) compiler and garbage collection has been the default since OpenJDK 9 to give you an idea.  I was using all of these flags 5 years ago and they haven't changed very much.
  If you don't have a server with more than at least 10 people on at a time then these won't make any difference.  If you have a huge server with like 30-40+ players then these could make a difference if you are having memory related problems / TPS issues.
I definitely wouldn't say they're worthless but I would say that we need to be talking about a minimum of probably a dozen players before the kind of things they are talking about in this writeup.  If this is the case though it's possible it's worth investigating.  This could be done by rebuilding the container with those options and comparing the differences on a very large server for example.  Hopefully that helps!

Thanks for the quick answer and clarification. I'll check it out and see if I notice any performance changes. I have a somewhat small-ish playerbase (10-20 players at most), so it might be redundant.


[Feature] Add option to show only first desktop notification until read

In order to prevent new messages from being overlooked when users are not in front of their computer and the client is minimized I would like to make use of desktop notifications with very long duration (which is already possible).
However it is very annoying to click away all old notifications if a user has sent me multiple messages in the meantime. So it would be very helpful to have an option to send only the first desktop notification from that user until the message has been read. Not sure if this can be done.
UPDATE: It seems that due to a bug duration of desktop notification cannot be set at all. Unfortunately, new messages are only indicated by some small number in the taskbar info which makes the whole chat pretty useless. Our users constantly overlook new messages.

I did some research and it looks like notification duration can be only controlled through Windows registry, i.e. not by applications directly, and can be set only to up to 5 minutes. In order to prevent chat messages from being overlooked the only possibility I can think of is to make the Rocket Chat client blink in the taskbar, even when minimized to the tray. Closing my feature request.


Docs/more nixos instructions

Objective
Expand the documentation for NixOS setups (as discussed in Discord)
Solution
Added more info to linux_dependencies.md about NixOS. This is based off my own experience (as documented in this blog post), so I can't confirm that it'll work for everyone. However, if there are further tweaks necessary, then I think that this should nevertheless work as a good starting point and should give future users an idea of what they may need to change or update.
Feedback and tweaks are very welcome 😄

Looks reasonable to me. I'm not a NixOS person so I'm blind to the details though :smile:

bors r+


Know any algorithm in Javascript?

Hi, everyone!

Do you know any algorithm implementation in any language, that you wanna share with us?

Open a pull request in any of the programming languages available, or in Javascript this case

Fibonacci serie is ok?

Doing GCD and spiral matrix against this issue for math/

Added BFS and DFS https://github.com/AllAlgorithms/javascript/pull/34

Added #42


Refactor to a more "pluggable" architecture

The current design requires code changes whenever a new feature is added. It would be better to minimize code changes to make it easier to add features.
Using Docopt we can limit code contributions to updating the docstring in the main cli class and dropping a new feature class into a directory.
This work is underway in the branch pluggable_cli

During this refactor we should fix #11

This refactor should include #4

merged into master


Update of README

Tested with  Numark DJ2GO2 Touch  on Linux and Windows. If you give me access to wiki  i add how to compile midi2tci on windows.

Thank you for trying this out. You should now be able to make changes to the wiki, your contribution is welcome.
I'm checking back with Elmar (DG7YEO) what OS he is using. Maybe we can also add OSX to the list of supported OSes.


Add support for setting terragrunt-source-map using env vars

Follow up to https://github.com/gruntwork-io/terragrunt/pull/1674
Implements support for specifying terragrunt-source-map using TERRAGRUNT_SOURCE_MAP environment variable.

Thanks for review! Going to merge and release now.


how to set contextMenu with chinese language when I use ES6;

require.config({ 'vs/nls': { availableLanguages: { '*': 'zh-cn' } } });

require.config({ 'vs/nls': { availableLanguages: { '*': 'zh-cn' } } });

I have also see the demo, but it is use with requirejs. I want to use in react with esm mode.

You will see that the ESM package does not have a Chinese name at all, so I think the ESM format does not support Chinese culture

Let's track in https://github.com/microsoft/monaco-editor/issues/1514

I find a way by using
copy-webpack-plugin https://github.com/chanelnumberseven/monaco-editor-locale/blob/main/README.md
it work for me


About box

Some information in here would be nice.

Simple about-box implemented. Could be prettier..


Add ability to change license information via config

We are currently using NSwag to generate an API definition from our code using the nswag.json file. We then use the generated definition along with swagger-ui to render out a documentation website for our users.
Currently there isn't a way for us to specify license information in the configuration for NSwag to be included in the final API definition file. We are adding it to the final file manually using yq in a build step.
I am requesting the ability to specify additional information such as license items in the configuration.

For clarity, this is using the command-line tool with aspNetCoreToOpenApi.  It looks like the only parts of the info block that can currently be configured via nswag.json are title, description, and version


Update ancient build system

Current behavior
To build Noah-OWP-Modular currently, you need to:

run ./configure
hope your NetCDF and compiler info matches one of the preconfigured options or edit user_build_options
run make

Suggested changes
Create a cmake build system that doesn't rely on hard-coded compiler and NetCDF paths.

Can borrow from the one we use in ngen
https://github.com/NOAA-OWP/ngen/blob/master/extern/noah-owp-modular/CMakeLists.txt


AttributeError: 'numpy.ndarray' object has no attribute 'eval'

After training the torchMoji model on the SemEval emotion dataset, I got the following error during the evaluation to measure F1:
/torchMoji-master/torchmoji/finetuning.py in find_f1_threshold(model, val_gen, test_gen, average)
178     f1_scores = []
179
--> 180     model.eval()
181     val_out = [(y, model(X)) for X, y in val_gen]
182     y_val, y_pred_val = (list(t) for t in zip(*val_out))
AttributeError: 'numpy.ndarray' object has no attribute 'eval'
Please help me to resolve this error.

I think you missed type when you call def find_f1_threshold. Can you show how to call that function?

@mhasan1, Can you able to solve this issue?


Xvideos download is broken

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2<IP_ADDRESS>. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2<IP_ADDRESS>

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 3.4.3 - Linux-3.13.0-92-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] exe versions: none
[debug] Proxy map: {}
[XVideos] 23098399: Downloading webpage
[XVideos] 23098399: Downloading m3u8 information

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.youtube.com/watch?v=BaW_jenozKc
Single video: https://youtu.be/BaW_jenozKc
Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue required an account credentials please provide them or explain how one can obtain them.
That's the python code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import youtube-dl
ydl_opts = {'quiet':False, 'verbose':True}
with youtube_dl.YoutubeDL(ydl_opts) as ydl:
    result = ydl.extract_info(url[0] ,download=False)
formats=[]
for index, item in enumerate(result.get('formats', [])):
    if item['ext']=='mp4':
    formats.append(item.get('url'))
print(formats)

if I try to download the video from any url xvideos returns me an http error 403

Post the full output of youtube-dl when run with -v, i.e. add -v flag to your command line, copy the whole output and post it in the issue body wrapped in ``` for better formatting. It should look similar to this:
$ youtube-dl -v <your command line>
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2015.12.06
[debug] Git HEAD: 135392e
[debug] Python version 2.6.6 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...

Do not post screenshots of verbose log only plain text is acceptable.
The output (including the first lines) contains important debugging information. Issues without the full output are often not reproducible and therefore do not get solved in short order, if ever.


Internal Server Error (500)

I tried to open Tabula in my work notebook and it showed the following Internal Server Error (500):
No such file or directory - NUL from org/jruby/RubyFile.java:366:in initialize' from org/jruby/RubyIO.java:1154:in open' from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/user_interaction.rb:681:in initialize' from C:/Users/vitor/AppData/Local/Temp/jetty-<IP_ADDRESS>-8080-tabula.jar-_-any-6308546013162397813.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/ui/rg_proxy.rb:11:in initialize' from C:/Users/vitor/AppData/Local/Temp/jetty-<IP_ADDRESS>-8080-tabula.jar--any-6308546013162397813.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler.rb:74:in ui=' from C:/Users/vitor/AppData/Local/Temp/jetty-<IP_ADDRESS>-8080-tabula.jar-_-any-6308546013162397813.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler.rb:70:in ui' from C:/Users/vitor/AppData/Local/Temp/jetty-<IP_ADDRESS>-8080-tabula.jar--any-6308546013162397813.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:252:in resolve' from C:/Users/vitor/AppData/Local/Temp/jetty-<IP_ADDRESS>-8080-tabula.jar-_-any-6308546013162397813.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:170:in specs' from C:/Users/vitor/AppData/Local/Temp/jetty-<IP_ADDRESS>-8080-tabula.jar--any-6308546013162397813.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:237:in specs_for' from C:/Users/vitor/AppData/Local/Temp/jetty-<IP_ADDRESS>-8080-tabula.jar-_-any-6308546013162397813.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:226:in requested_specs' from C:/Users/vitor/AppData/Local/Temp/jetty-<IP_ADDRESS>-8080-tabula.jar--any-6308546013162397813.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/runtime.rb:108:in block in requested_specs' from C:/Users/vitor/AppData/Local/Temp/jetty-<IP_ADDRESS>-8080-tabula.jar-_-any-6308546013162397813.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/runtime.rb:20:in setup' from C:/Users/vitor/AppData/Local/Temp/jetty-<IP_ADDRESS>-8080-tabula.jar--any-6308546013162397813.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler.rb:107:in setup' from C:/Users/vitor/AppData/Local/Temp/jetty-<IP_ADDRESS>-8080-tabula.jar-_-any-6308546013162397813.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler.rb:114:in require' from C:\Users\vitor\AppData\Local\Temp\jetty-<IP_ADDRESS>-8080-tabula.jar--any-6308546013162397813.dir\webapp\WEB-INF\config.ru:4:in block in (root)' from org/jruby/RubyBasicObject.java:1691:in instance_eval' from C:/Users/vitor/AppData/Local/Temp/jetty-<IP_ADDRESS>-8080-tabula.jar-_-any-6308546013162397813.dir/webapp/WEB-INF/gems/gems/rack-2.0.4/lib/rack/builder.rb:55:in initialize' from C:\Users\vitor\AppData\Local\Temp\jetty-<IP_ADDRESS>-8080-tabula.jar-_-any-6308546013162397813.dir\webapp\WEB-INF\config.ru:1:in '
How to fix that error?

Same happened here. It was solved by uninstalling Java 8u331.

@rua4 java control panel is reporting 331 to be the latest version, how to update please?

@rua4 java control panel is reporting 331 to be the latest version, how to update please?

On a Windows machine I bypassed the Java Control Panel by manually installing the 333 via https://www.java.com/en/download/manual.jsp

Installing version 333 worked for me!

Still having same internal server issue with 333 and 331, any ideas?
Tabula API version: <IP_ADDRESS>52200
Filename: 80-174.pdf
Internal Server Error (500)
    Request Method:
    POST

    Request URL:
    http://<IP_ADDRESS>:8080/pdf/5d335b0d97694f671a8caafa4854d4144b5fe45d/data

Still having the 500 error when using Tabulapdf on mac (Cataline 10.15.7). This is occurring only on specific tables I am trying to convert. I am seeing certain lines excluded from the OCR conversion (see images below). When I focus the OCR on the specific area excluded, I get the 500 error.
I have downloaded the latest Java (v341) but I am not sure if it is being used by Tabula (I think I read that the mac version comes with its own java version so I think this might be the main problem).
I have not been able to replicate this on the windows 10 version but I was using a smaller dataset. Java was up to date as far as I could tell (v341).
Hope I included all relevant info, new to Github. Great tool btw!

I tried to install Java 8u333, but does not work
(SystemCallError) Unknown error (SystemCallError) - Unknown Error (0) - ./enumerator.jar
You're seeing this error because you use JRuby::Rack::ErrorApp::ShowStatus.

I am getting this error message.
load error: /tmp/jetty-<IP_ADDRESS>-8080-tabula.jar-_-any-15024240811704351880.dir/webapp/WEB-INF/webapp/tabula_web -- java.lang.reflect.InaccessibleObjectException: Unable to make field public static final int java.util.zip.ZipConstants.ENDSIZ accessible: module java.base does not "opens java.util.zip" to unnamed module @2fab4aff from org/jruby/RubyKernel.java:955:in `require' from uri:classloader:/jruby/kernel/kernel.rb:13:in `require_relative' from /tmp/jetty-<IP_ADDRESS>-8080-tabula.jar-_-any-15024240811704351880.dir/webapp/WEB-INF/config.ru:14:in `block in (root)' from org/jruby/RubyBasicObject.java:1691:in `instance_eval' from /tmp/jetty-<IP_ADDRESS>-8080-tabula.jar-_-any-15024240811704351880.dir/webapp/WEB-INF/gems/gems/rack-2.0.4/lib/rack/builder.rb:55:in `initialize' from /tmp/jetty-<IP_ADDRESS>-8080-tabula.jar-_-any-15024240811704351880.dir/webapp/WEB-INF/config.ru:1:in `<main>'

You're seeing this error because you use JRuby::Rack::ErrorApp::ShowStatus.

I am also getting a similar error, strange as was working the other day:
You're seeing this error because you use JRuby::Rack::ErrorApp::ShowStatus.

I'm getting a 500 error too, looks like Java updated today, 4/13/2023.
JAVA Version 8 update 361 (build 1.8.0_361-b09)
Tabula Version 1.2.1

Internal Server Error (500)

Request Method:
GET

http://<IP_ADDRESS>:8080/

Working here with Java 8 u371.
I recommend uninstalling older versions of Java and leaving only the latest.
Also extract and run the program in a folder that does not recquire privileges (eg. Downloads, Desktop etc)

tabula-master>bundle install
C:/jruby-<IP_ADDRESS>/lib/ruby/gems/shared/gems/stringio-3.0.8-java/lib/stringio.rb:3: warning: already initialized constant StringIO::VERSION
Fetching gem metadata from https://rubygems.org/..........
Using rake 13.0.1
Using execjs 2.7.0
Using autoprefixer-rails <IP_ADDRESS>
Using thread_safe 0.3.6 (java)
Using descendants_tracker 0.0.4
Using ice_nine 0.11.2
Using axiom-types 0.1.1
Using ffi 1.13.1 (java)
Fetching sassc 2.4.0
Installing sassc 2.4.0 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory:
C:/jruby-<IP_ADDRESS>/lib/ruby/gems/shared/gems/sassc-2.4.0/ext
C:/jruby-<IP_ADDRESS>/bin/jruby.exe extconf.rb
creating Makefile
current directory: C:/jruby-<IP_ADDRESS>/lib/ruby/gems/shared/gems/sassc-2.4.0/ext
make DESTDIR= sitearchdir=./.gem.20231002-15792-8k8726
sitelibdir=./.gem.20231002-15792-8k8726 clean
current directory: C:/jruby-<IP_ADDRESS>/lib/ruby/gems/shared/gems/sassc-2.4.0/ext
make DESTDIR= sitearchdir=./.gem.20231002-15792-8k8726
sitelibdir=./.gem.20231002-15792-8k8726
make failedCannot run program "make" (in directory
"C:\jruby-<IP_ADDRESS>\lib\ruby\gems\shared\gems\sassc-2.4.0\ext"): CreateProcess
error=2, The system cannot find the file specified
Gem files will remain installed in
C:/jruby-<IP_ADDRESS>/lib/ruby/gems/shared/gems/sassc-2.4.0 for inspection.
Results logged to
C:/jruby-<IP_ADDRESS>/lib/ruby/gems/shared/extensions/universal-java-17/3.1.0/sassc-2.4.0/gem_make.out
An error occurred while installing sassc (2.4.0), and Bundler cannot continue.
Make sure that gem install sassc -v '2.4.0' --source 'https://rubygems.org/'
succeeds before bundling.
In Gemfile:
bootstrap-sass was resolved to 3.4.1, which depends on
sassc

It happened even to me on Ubuntu 22.04.
It was about the server not working. I needed to downgrade to Java8
  0            /usr/lib/jvm/java-19-openjdk-amd64/bin/java      1911      auto mode
  1            /usr/lib/jvm/java-11-openjdk-amd64/bin/java      1111      manual mode
* 2            /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java   1081      manual mode

Selected *2 (java-8), then just run the command
java -Dfile.encoding=utf-8 -Xms256M -Xmx1024M -jar tabula.jar
Little bit struggling but fixed in the end :-)

public

I am getting this error message.
load error: /tmp/jetty-<IP_ADDRESS>-8080-tabula.jar-_-any-15024240811704351880.dir/webapp/WEB-INF/webapp/tabula_web -- java.lang.reflect.InaccessibleObjectException: Unable to make field public static final int java.util.zip.ZipConstants.ENDSIZ accessible: module java.base does not "opens java.util.zip" to unnamed module @2fab4aff from org/jruby/RubyKernel.java:955:in `require' from uri:classloader:/jruby/kernel/kernel.rb:13:in `require_relative' from /tmp/jetty-<IP_ADDRESS>-8080-tabula.jar-_-any-15024240811704351880.dir/webapp/WEB-INF/config.ru:14:in `block in (root)' from org/jruby/RubyBasicObject.java:1691:in `instance_eval' from /tmp/jetty-<IP_ADDRESS>-8080-tabula.jar-_-any-15024240811704351880.dir/webapp/WEB-INF/gems/gems/rack-2.0.4/lib/rack/builder.rb:55:in `initialize' from /tmp/jetty-<IP_ADDRESS>-8080-tabula.jar-_-any-15024240811704351880.dir/webapp/WEB-INF/config.ru:1:in `<main>'

You're seeing this error because you use JRuby::Rack::ErrorApp::ShowStatus.

Maybe you want to try adding "... --add-opens=java.base/java.util.zip=ALL-UNNAMED ..." when running it. It helped for me.

For Ubuntu 24.04 this command worked for the below error
java --add-opens java.base/java.util.zip=ALL-UNNAMED -Dfile.encoding=utf-8 -Xms256M -Xmx1024M -jar tabula.jar

to use newer java
  java -Dfile.encoding=utf-8 -Xms256M -Xmx1024M -Dwarbler.port=9999 -jar tabula.jar

(You can enable the old "automatically open browser" behavior by using
the -Dtabula.openBrowser=true option.)

Internal Server Error (500)
 Request Method: GET Request URL: http://<IP_ADDRESS>:8080/
load error: /tmp/jetty-<IP_ADDRESS>-8080-tabula.jar-_-any-3702728162740945677.dir/webapp/WEB-INF/webapp/tabula_web -- java.lang.reflect.InaccessibleObjectException: Unable to make field public static final int java.util.zip.ZipConstants.ENDSIZ accessible: module java.base does not "opens java.util.zip" to unnamed module @1a2e2935 from org/jruby/RubyKernel.java:955:in require' from uri:classloader:/jruby/kernel/kernel.rb:13:in requirerelative' from /tmp/jetty-<IP_ADDRESS>-8080-tabula.jar--any-3702728162740945677.dir/webapp/WEB-INF/config.ru:14:in block in (root)' from org/jruby/RubyBasicObject.java:1691:in instanceeval' from /tmp/jetty-<IP_ADDRESS>-8080-tabula.jar--any-3702728162740945677.dir/webapp/WEB-INF/gems/gems/rack-2.0.4/lib/rack/builder.rb:55:in initialize' from /tmp/jetty-<IP_ADDRESS>-8080-tabula.jar-_-any-3702728162740945677.dir/webapp/WEB-INF/config.ru:1:in <main>'
You're seeing this error because you use JRuby::Rack::ErrorApp::ShowStatus.


[CS2113]-sinteary-TransferUGToAdocs

I reformatted the GoogleDoc into Adoc. I shifted some of the commands so that they can fit into more coherent sections.
@seanlimhx @Lucria @iamabhishek98 @Dkenobi  Please check the UG commands and make sure they reflect the latest update!

Merging this pull request as an administrator. Will fix the checkstyle failures myself.


James Wortley Assignment

Per Assignment in Code Fellows for Unix and Git course

It would be great if you didn't copy and paste my notes and instead came up with your own.