X axis with Date labels - limit on time covered by the axis?

The scatter chart is just what I have been looking for. I need to plot historical data dating back over a year (but only one data point per week). Initial tests worked fine, but I encountered something unexpected.
When plotting a chart with a Date/Time axis, as I increase the date range past a boundary, the chart simply doesn't display. It has worked fine with a small sample, so I increased the sample size until it stops displaying the chart. The boundary seems to be when the axis spans more than around 16 weeks. When I added day-by-day data, it broke after 113 days (16 weeks and 1 day).
FYI - I didn't have any problems plotting over 180 points over a couple of days (data every 15 minutes).
Browser: Chrome 42.0.2311.90
HTML code:

  Testing ChartJS plotter
  Drawing Canvas

Adding script to populate the charts

Script complete

Could you give an example on http://jsfiddle.net or similar site?

Will try, but this is the first time I've used GitHub or anything like it.
Thanks for the speedy reply.
Andy
Sent from my Windows Phone

From<EMAIL_ADDRESS>Sent: 20/04/2015 16:49
To<EMAIL_ADDRESS>Cc: Emmerson,A,Andrew,HGX97<EMAIL_ADDRESS>Subject: Re: [Chart.Scatter] X axis with Date labels - limit on time covered by the axis? (#2)
Could you give an example on http://jsfiddle.net or similar site?
—
Reply to this email directly or view it on GitHubhttps://github.com/dima117/Chart.Scatter/issues/2#issuecomment-94490205.

Fixed. See an example in "test.html" file.

Wow. Which time zone are you in? I’m in the UK (+00:00) and mailed you just before I finished work. I started again early this morning to find your fix already in my inbox! I still need to learn http://jsfiddle.net though…
My test chart now looks like the image below, and is just what I wanted.
Even the display of the labels for multiple points (where the points are very close together) is good; I don’t want user to have to be extremely precise with their mouse to pick up data.
<EMAIL_ADDRESS>Andrew Emmerson
Database Administrator | Tel: 0121  4983260 | Mob: 07968 616 377 | E: andrew.emmerson<EMAIL_ADDRESS>BT Expedite
We are BT’s Retail Specialists
www.btexpedite.comhttp://www.btexpedite.com/   Twitterhttps://twitter.com/BTExpedite   YouTubehttp://www.youtube.com/user/BTExpedite  LinkedInhttps://www.linkedin.com/company/bt-expedite   Pinteresthttp://uk.pinterest.com/btexpedite/
This email contains BT information, which may be privileged or confidential. It's meant only for the individual(s) or entity named above. If you're not the intended recipient, note that disclosing, copying, distributing or using this information is prohibited. If you've received this email in error, please let me know immediately on the email address above. Thank you. We monitor our email system, and may record your emails.
BT Expedite
Registered office: 81 Newgate Street, London EC1A 7AJ
Registered in England no: 1800000
BT Expedite is a trading identity of British Telecommunications plc
Think before you print. Please consider the environment before printing this email
From: dima117<EMAIL_ADDRESS>Sent: 21 April 2015 07:07
To: dima117/Chart.Scatter
Cc: Emmerson,A,Andrew,HGX97 R
Subject: Re: [Chart.Scatter] X axis with Date labels - limit on time covered by the axis? (#2)
Fixed. See an example in "test.html" file.
—
Reply to this email directly or view it on GitHubhttps://github.com/dima117/Chart.Scatter/issues/2#issuecomment-94650228.

I'm in Moscow, Russia (+03:00). Unfortunately I don't see your attached picture in github, but I hope that I helped you. Feel free to contact me if you will have any questions.

It was my first time on GitHub – I still have a lot to learn.
Thanks
From: dima117<EMAIL_ADDRESS>Sent: 21 April 2015 10:29
To: dima117/Chart.Scatter
Cc: Emmerson,A,Andrew,HGX97 R
Subject: Re: [Chart.Scatter] X axis with Date labels - limit on time covered by the axis? (#2)
I'm in Moscow, Russia (+03:00). Unfortunately I don't see your attached picture in github, but I hope that I helped you. Feel free to contact me if you will have any questions.
—
Reply to this email directly or view it on GitHubhttps://github.com/dima117/Chart.Scatter/issues/2#issuecomment-94719911.


[QUESTION | FR] Auto compression/decompression

Hi there!
Are there any plans to add support of snappy or deflate compression/decompression?

IMO it would be better to use a tunnel that supports compression/decompression.

@luin can you please explain what do you mean under "tunnel"?

stunnel for example. It doesn't make sense to add compression support to ioredis since Redis doesn't support decompression.

I think it makes sense (unless we talk about different things). Let me explain what I mean. To save some memory (actually - a lot of memory) prior saving value to redis I usually compress it and encode as base64 string. When I fetch it back I decode and uncompress it. In the case if original value is serialized JSON string (which is very usual) - such transformation allows to transfer and store up to ten times less data.
Would be nice to have support of such transformation. For instance by passing snappy: true via options to Redis constructor.
Quick example:
function pack (value) {
  return new Promise((resolve, reject) => {
    snappy.compress(JSON.stringify(value), (err, packed) => {
      if (err) {
        return reject(err);
      }

      resolve(packed.toString('base64'));
    });
  });
}

function unpack (value) {
  return new Promise((resolve, reject) => {
    snappy.uncompress(Buffer.from(value, 'base64'), (err, unpacked) => {
      if (err) {
        return reject(err);
      }

      const unpackedString = unpacked.toString();

      resolve(JSON.parse(unpackedString));
    });
  });
}

Aha, I got your point and yes it does make sense. I thought you meant compress the TCP buffer to save the bandwidth.
You can monkey-patch the redis commands you need to implement pack & unpack currently. I think adding the support for async hooks can make things easier and more flexible than just offering compression support.
For example:
const redis = new Redis({
  hooks: {
    beforeSend(command, args, done) {
      if (command.name === 'set') {
        compress(args[1], function (err, res) {
          args[1] = res;
          done();
        });
      } else {
        done();
      }
    },
    afterFetch() { /* ... */ }
  }
});

@luin Yep! Exactly what I'm looking for. I was thinking to somehow use transformers for this purpose, but I didn't figure out how to friend them with promisified API and extract into something reusable. But hooks sounds great! Or maybe some plugins ecosystem when you can do something like client.use(redisSnappy | redisDeflate | whatever).

Closing this in favour of #347.


Utilities enhancement - unambiguous data formats for numeric/non-numeric columns

Running into an issue with TADAbigdataRetrieval where chunks of a larger data pull will not stitch together because certain fields sometimes are of different data formats depending upon what is contained in each chunk. For example, one set of sites in a data pull may have only numeric/NA ActivityDepthHeightMeasure.MeasureValue values, which causes dplyr/R to coerce this column as numeric. However, another set of sites in a data pull may also contain special characters in ActivityDepthHeightMeasure.MeasureValue (e.g. "Unknown" written out), which causes dplyr/R to coerce this column as character. At the end of the large data retrieval pull, the function stitches all chunked data together, but will thrown an error if matching columns have divergent formats.
This could be solved if we had a function that stores each column's RAW data format from WQP and ensures they are initially read into the TADA framework uniformly. I would guess that most would fall under the "character" category, but would be interested to verify if this is true. Users would likely change these data formats based on their use of the data, but the purpose of this function would be to ensure all data chunks are read in the same way for combining at the outset.

Added code that coerces all potentially ambiguous columns to character for stitching together. I think I caught them all. Closing issue for now.


First pass at porting SDL_rtf to SDL3

Everything builds without warning, but I don't really know how to test showrtf because I don't have reference rtf files + fonts

remove autotools build scripts
update cmake script to same level as other satellite libraries

Issues remaining:

does it actually work?
the wikiheaders.pl script does not generate any wiki pages + man pages. It shows no warnings.

I created a SDL2 git branch, so this pr can be merged into main.

I just tested with a simple .rtf and a system .ttf path, and showrtf on SDL3 seems to behave the same as SDL2.


Carriage returns in styles?

How do you handle carriage returns in styles?
For example, if you have a style like this:
token1, token2
token3, token4, token5
token6

and you edit the style within your extension, the carriage returns currently get lost. Or maybe I'm doing something wrong?

Hmm. I don't handle them at all. Interesting problem...

Newlines are preserved if a cell isn't edited (but they are displayed simply as spaces in the editor).
However, if a cell is edited the newlines are simply deleted. Similarly if a cell is copied and pasted, the paste loses the newline (but the cell that was copied from doesn't lose it).

OK, so this is because the gradio dataframe uses an html INPUT tag for editing; and INPUT doesn't allow line breaks.
The csv file has a linebreak, pandas reads it as \n. So maybe convert all \ to \\ on load, and convert back on save...

Latest build uses  in the editor to represent line breaks.


Grid container is setting width to 100%

When using Grid component I noticed that container class sets width to 100% which is a problem if you have container which is also an item and should be in row with other element. I know I can workaround with using another nested Grid element but it would be cleaner if it just wouldn't be setting width.
Expected Behavior
Grid container shouldn't be setting width
Current Behavior
Grid container has width set to 100%
Steps to Reproduce
Use Grid container or just go here https://codesandbox.io/s/4rlymrw227 and inspect.

@jbojcic1 Do you have an example where it's a problem? At first sight, we could remove this style without breaking the visual regression tests. I'm happy to try that out 👍.

@oliviertassinari pls check this example https://codesandbox.io/s/8x332xv8x2
Setting width to 100% causes CD to go to the next line.

@jbojcic1 Thank you. We gonna have an issue with the spacing property. The spacing property is also setting a width: 100% minus the spacing size. Removing with: 100% from spacing={0} will make is inconsistante with different spacing values.

I know I can workaround with using another nested Grid element

      <Grid container>
        <Grid item xs>
          <Grid container>
            <Grid item>A</Grid>
            <Grid item>B</Grid>
          </Grid>
        </Grid>
        <Grid item>
          <Grid container>
            <Grid item>C</Grid>
            <Grid item>D</Grid>
          </Grid>
        </Grid>
      </Grid>

I guess spacing is so you can close the ticket. Side question, is there a plan to add gutter/gap (spacing only between grid items without adding space around grid)?

@oliviertassinari spacing component would be used inside grid to add space between items?

Also perhaps note should be added to the docs about using same Grid component as item and container.

@jbojcic1 It's a possible use case yes. We could also make the grid inherit from the component.


Incorrect positions for Replica Dataset?

Habitat-Sim version
v0.2.1
❓ Questions and Help
Not really sure this is a habitat question nor replica question. I first use habitat to random select valid indexes and print out their positions. Then I input these positions to the replica renderer and renders a six-image cubemap, however the cubemap looks pretty weird,  one of the image is shown below:

It seems that the input position to replica render is not correct. Is this because the positions in habitat cannot be directly interpreted as the position in the world coordinate?

Please follow https://github.com/facebookresearch/Replica-Dataset/issues/29 to convert between the coordinate frames.

@erikwijmans Thanks for your help. I seemed to move my replica camera to the right spot. However, there is still a problem: the position of my camera is very low. You can see from the two images I uploaded here: the upper one is from habitat sim and the lower one is from ReplicaSDK. Both of them stand on the same location, but the camera in the ReplicaSDK seems to be put on a very low height.

Some details: I used the apartment_0 scene, and the topdown coordinate of the position is (40, 54), the position in habitat is (2.1072494029998783, -1.374765157699585, -0.9503817558288574), which is converted to (2.1072495, 0.95038176, -1.3747652) with the pointed script. And I input the converted position to the ReplicaSDK, here is my replica code:
std::vector position = {2.1072495, 0.95038176, -1.3747652, };
int cx = rand()%4;
int cy = rand()%4;
// Setup a camera
pangolin::OpenGlRenderState s_cam(
pangolin::ProjectionMatrixRDF_BottomLeft(
width, height,
width / 2.0f, width / 2.0f, // focal length
(width - 1.0f) / 2.0f, (height - 1.0f) / 2.0f, // camera center
0.1f, 100.0f), // near and far
pangolin::ModelViewLookAtRDF(position[0], position[1], position[2],
cx, cy, position[2],
0, 0, 1));

Habitat talks in agent position while Replica talks in camera position. The default camera height in habitat is 1.5m, so add 1.5m to the y component before converting.


Update workflow ymls to pin pip-tools to below 6.12.2

Description
Looks like pip-tools (6.12.2) had a release today which broke our builds. Looks like it maybe because of the issue https://github.com/jazzband/pip-tools/issues/1804 where you can provide some special paths for requirements and cannot merge two sets of requirements. This PR upper bounds pip-tools in all the yml workflow files where we install pip-tools.
Also, looks like a change in CI-python.yml won't run the python tests due to directory policy. Also, adding another rule when the python tests should run.
Checklist

[ ] I have added screenshots above for all UI changes.
[ ] I have added e2e tests for all UI changes.
[ ] Documentation was updated if it was needed.

Codecov Report

Merging #1931 (7a33fda) into main (e15a9d4) will decrease coverage by 7.51%.
The diff coverage is n/a.

:exclamation: Current head 7a33fda differs from pull request most recent head 90882c2. Consider uploading reports for the commit 90882c2 to get more accurate results

@@            Coverage Diff             @@
##             main    #1931      +/-   ##
==========================================
- Coverage   93.35%   85.85%   -7.51%
==========================================
  Files          93       29      -64
  Lines        4621      523    -4098
==========================================
- Hits         4314      449    -3865
+ Misses        307       74     -233

Flag
Coverage Δ

unittests
85.85% <ø> (-7.51%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

responsibleai/responsibleai/_interfaces.py

responsibleai/responsibleai/__init__.py

...ranalysis/erroranalysis/analyzer/error_analyzer.py

...ibleai/_tools/shared/state_directory_management.py

...ponsibleai/responsibleai/_tools/shared/__init__.py

...onsibleai/responsibleai/managers/causal_manager.py

...ibleai/_tools/causal/dashboard_schemas/__init__.py

...sibleai/responsibleai/_tools/shared/base_result.py

responsibleai/responsibleai/_config/base_config.py

...leai/responsibleai/databalanceanalysis/__init__.py

... and 54 more

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


Added support for new options introduced in build-blocker-plugin

support for job blocking on global or node level
support for job blocking based on status of queued jobs
(buildable only/all jobs in queue)

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests

Add some tests, see JobSpec.


problem with import of experiments?

see screenshots - I'm not sure why there are so many more experiments in my beta workspace than my production workspace.   I haven't uploaded any directly into beta.

I'm seeing these files in the export.  The data that is in Experiment Groups does seem to match what is shown in the productin patricbrc.org image above.  However, in the rwill1 folder, there are a number of experiments.  I'm not sure what the source of these is.  Perhaps they are failed attempts that you simply don't see in patric normally?
_0de974dc-042a-4d45-9003-e95f8d4c3998.json.metadata:{"name":"foobar","type":"job_result"}
_1227acc1-4510-4773-a3e1-5f535b638399.json.metadata:{"name":"this is an alternate title","type":"job_result"}
_2250416a-be99-4525-bbf8-c322b6d6622e.json.metadata:{"name":"try loading mtb rnaseq data after december release","type":"job_result"}
_25218840-7280-4dd2-990d-aadcc471c17e.json.metadata:{"name":"TB SysBio Hypoxia transcriptomics","type":"job_result"}
_273b3377-7da4-4c99-8461-16a1c1253a80.json.metadata:{"name":"ioeger","type":"job_result"}
_2f56bbc5-f97e-41b8-bdb8-24cee1354fb4.json.metadata:{"name":"this shouldn't work","type":"job_result"}
_54c3a13f-ef92-4118-ad8d-2cde513f2d14.json.metadata:{"name":"foo","type":"job_result"}
_58c9ff60-748d-45e8-adca-af75b9db1bcd.json.metadata:{"name":"fffffoooo","type":"job_result"}
_59addc59-ea85-412c-a48d-412dacf035ba.json.metadata:{"name":"ioeger","type":"job_result"}
_71551525-8f21-42af-b77a-edfc902ce9e0.json.metadata:{"name":"TB SysBio microarray data","type":"job_result"}
_7f2814da-0bd3-47cb-b377-5f8e64241a0e.json.metadata:{"name":"ext","type":"job_result"}
_8187710d-84b3-4278-865f-8d34a808f611.json.metadata:{"name":"Gene expression of E. coli MG1655 wild type and rpoS knock-out strains","type":"job_result"}
_8352e600-9910-4305-8dd4-d73c8ac8ee2a.json.metadata:{"name":"foo1","type":"job_result"}
_96b31051-501a-4f7f-b211-6cc349777463.json.metadata:{"name":"tb sys bio hypoxia","type":"job_result"}
_a8ae29cf-1439-442c-9644-a0432d1ff65f.json.metadata:{"name":"foo","type":"job_result"}
_aaa6570c-32a9-4bca-ace8-b5059d156c46.json.metadata:{"name":"tbsysbio","type":"job_result"}
_d345a9b0-7c95-495b-a28d-a0262d18316e.json.metadata:{"name":"F","type":"job_result"}
_e455f306-152b-4958-8ddd-8fadafbf8816.json.metadata:{"name":"TB SysBio hypoxia data for SG2","type":"job_result"}
_f6ab7ab3-be7b-4f04-abd5-2a9584667073.json.metadata:{"name":"tb sffo","type":"job_result"}
Maulik.  Can you check on Becky's Experiment folder to see if you have an explanation?

I'm more than willing to believe that the extras are failed attempts - that would mean I have a slightly less than 50% history of successfully accomplishing a task - that seems about my speed :-)

The workspace dump and collections we used for transformation and shown on the beta site
are based on the snapshot taken on February 10.
So, you may not have added any experiments in beta site, but you may have deleted few experiments on the production site after we took the snapshot on February 10. If so, those changed are not reflected yet on the beta site. However, they will be, when we reexport/import workspaces before the release.
-Maulik

There is no such thing as a "sure thing" - but I say w/ 99% confidence that I have NOT deleted any experiments on the production website, probably ever, and even more probably not since 10-Feb.

I checked both the workspace json file and the collections and they both have 19 experiments with user name rwill1. So, all I can say at this point is that it is not a bug in the script that transforms the workspace. Once I have fresh workspace dump this morning and run the transformation,  I will check the number of experiments again.

After an updated export from Polyomic, these groups still existed.  Maulik and Harry investigated and found these to be experiments that had been marked deleted.  He is adjusting his export script to ignore the deleted experiments now.


Logo Proposal

Good day, I am a graphic designer and i have a design here that fits on your project. Just reply on this issue if you want the design.

Hi @debpedrano
We are a startup company, we are building a chatting app (Using Signal Project). Can you design a logo that fit for our project ?


Programmatically determine the kms_region from the CRN in COS DA

To be consistent with other DAs, both the COS buckets DAs should ask for:

existing_kms_instance_crn (instead of existing_kms_instance_guid)
Parse the KMS GUID from existing_kms_instance_crn
Parse the KMS region from existing_kms_instance_crn and remove the kms_region variable

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

GitHub release
v8.4.0

Your semantic-release bot :package::rocket:


Allow file: for requires statements in setup.cfg

Summary of changes
As requested and discussed in #1951, this PR enables using file: in the various requires statements in setup.cfg.
As @jaraco mentioned in https://github.com/pypa/setuptools/issues/1951#issuecomment-574737840, this adds a (small) admonition advising against library packagers pinning their dependencies too tightly with this feature.
Closes #1951
Pull Request Checklist

[x] Changes have tests
[x] Changes are documented
[x] News fragment added in changelog.d/.

[...] the long term view is to compile setup.cfg into pyproject.toml, therefore it would be necessary to support this feature in pyproject.toml as well.

Ah, sure thing! I can also take a look at getting that in here, if the approach seems otherwise sound by maintainers :)

Thank you very much for considering that @akx. Yes, it is definitely good to wait for the feedback before doing any change.

I’m okay to give it a try.

@abravalheri Hmm, by the looks of it enabling something like
[tool.setuptools.dynamic.optional-dependencies.bonus]
file = ["requirements-bonus.txt"]

(along the lines of https://github.com/pypa/setuptools/blob/e5552d3c42eddc463788861ae4c8847183eeec1c/setuptools/tests/config/test_pyprojecttoml.py#L66-L71)
would require changes to the JSON Schema for pyproject.toml, which... apparently is maintained in validate_pyproject? Am I on the right track there?
If so, maybe all that should be done in a separate constellation of PRs..?

Hi @akx, If you change the code in setuptools, I am more than happy to follow up and tackle the schemas myself.
For the time being, in the tests you can use the ignore_option_errors parameter to bypass the validation. Once I modify the schemas, I will also modify that.

@abravalheri Please see #3255 for the TOML case :)

@abravalheri @jaraco I rebased this to get rid of the merge conflicts. What are the next steps to get this merged..?

Thank you very much @akx for rebasing the PR.
Personally, I have some strong reservations against handling dynamic tests_require and setup_requires (the main reasons are described in my previous comments https://github.com/pypa/setuptools/pull/3253#discussion_r846075228 and https://github.com/pypa/setuptools/pull/3253#discussion_r846242876).
Can we restrict the change to install_requires and extras_require?

@abravalheri Okiedoke :) Removed the file: stuff related to tests_require and setup_requires (the code is still gently touched in setupcfg.py since parse_list_semicolon became a classmethod).

Thank you very much @akx and sorry for the trouble.
Since Jason seems to be OK with the change, I will try to merge the PRs yet this week.
(I am currently focusing on organising changes in the documentation and I had in the backlog the PEP 660, but I will try to make my best to not delay even more this merge).

Sorry for the delay @akx.
I merged the changes and published a new version of setuptools.
For the time being, I have added the status of beta, then we can see the feedback from the community.

Thanks for this! :)

I'm still pretty negative on this "feature".

Just say my first usage of this in the wild: https://github.com/Flexget/Flexget/blob/f55a297fae18e9779d9df9e545974727ad39b07a/requirements.txt :)


Diabetes Prediction using DL

Pull Request for DL-Simplified 💡
Issue Title: Diabetes Prediction using DL #285

Info about the related issue (Aim of the project) : Diabetes Prediction using Deep Learning Models
Name: S G V Kamalakar
GitHub ID: Sgvkamalakar
Email ID<EMAIL_ADDRESS>Identify yourself: GSSOC '24

Closes: #285

Describe the add-ons or changes you've made 📃
Give a clear description of what have you added or modifications made

Added Deep Learning Models and Streamlit Application for Diabetic Prediction

This PR  introduces Deep Learning models trained on diabetic data for diabetic prediction. It includes the implementation of artificial neural network (ANN), long short-term memory (LSTM), and recurrent neural network (RNN) models using TensorFlow.

A Streamlit application has been developed to provide a user-friendly interface for predicting diabetes based on user input. The application allows users to input various parameters, such as glucose level, blood pressure, BMI, etc. and predicts the likelihood of diabetes using the trained models.

Type of change ☑
What sort of change have you made:

[x] New feature (non-breaking change which adds functionality)

How Has This Been Tested? ⚙
Describe how it has been tested
Describe how have you verified the changes made
Conducted a thorough code review to ensure that the changes align with the project goals and coding standards. You can run the notebook

Performance comparison

Streamlit application page

Checklist: ☑

[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my code.
[x] I have commented on my code, particularly wherever it was hard to understand.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have added things that prove my fix is effective or that my feature works.
[x] Any dependent changes have been merged and published in downstream modules.

The repo and readme have been modified as mentioned.

Hi @Sgvkamalakar  need a minor change. Can you represent the demo video like this,

For your reference you can have a look at this project, Brain Tumor Detection/Web App

Got it! The modification has been implemented.

Got it! The modification has been implemented.

Can you share the same technique with @aindree-2005. As Aindree is also trying to do the same embedded video in the README but couldn't find out a perfect solution for it.


Translation of bnUSD token

@AntonAndell I have updated as per your suggestions. Please check the updated PR. The contract is ready for deployment.


Upgrade actix dependencies.

Upgraded dependencies to latest actix-web to help with issues that have developed between 2.x and 3.x
Hope it helps.
Fixes #2

Hi @petertrotman! May I bump this PR up for merging? Most actix-web developers currently use v3.x of actix-web, so it would be great if this PR is merged to prevent the version conflict.
Cheers!


Module doesn't work without Vue Router

Version
@nuxtjs/color-mode: 3.0.0
nuxt: 3.0.0-27418641.56aabd6
Reproduction Link
Stackblitz demo
Steps to reproduce
1 - Create a Nuxt 3 app without a pages/ folder (just app.vue), so Vue Router isn't bundled
2- npm run dev -o
3 - Get a __vite_ssr_import_2__.useRouter is not a function HTTP 500 error.
Full stacktrace:
at eval (file://./.nuxt/dist/server/server.mjs:1789:25)
at callWithNuxt (file://./.nuxt/dist/server/server.mjs:266:20)
at applyPlugin (file://./.nuxt/dist/server/server.mjs:217:29)
at Module.applyPlugins (file://./.nuxt/dist/server/server.mjs:227:11)
at async createNuxtAppServer (file://./.nuxt/dist/server/server.mjs:60:5)
at async renderToString (file://./node_modules/vue-bundle-renderer/dist/index.mjs:257:19)
at async renderMiddleware (file://./.nuxt/nitro/index.mjs:213:20)
at async handle (file://./node_modules/h3/dist/index.mjs:635:19)

Related: https://github.com/nuxt/framework/pull/3274


bash shell CLI does not interact well with windows console programs

You can add the mounted system32 to the path in WSL and then you can start cmd.exe and powershell.exe. However, these programs cannot be used very well in that nested context.
All editing functionality (ctrl+backspace, arrow up) is broken and the output is also not correct (self-overlapping very often).

Furthermore, in this mode, because the PATH is inherited, powershell (and cmd?) will start unix programs.
For example, I have installed node in my windows and WSL environments.
Starting node in powershell or node in bash alone works.
But starting node in powershell nested in bash runs the linux version, which will then complain about some native modules failing obviously.

no takers on discussion


Backing store should use a registration model

When a backing store is currently in use during the generation process, models end up with the backing store class "hardcoded" in their constructor.
This is not versatile enough for our needs and would require to have multiple SDKs for each backing store implementation.
We should instead change the generation to rely on a registration mechanism for factories like the serialization infrastructure.

duplicate of #400


Trees: remove useless assignments.

The variable is never used. Plus duplicated lines.

You missed one ;)
app/controllers/provider_foreman_controller.rb
523:    @sb[:open_tree_nodes] ||= []

Also.. build/docker?

Fixed, thx!


Change Email address

Changing the email address isn't exactly a regular thing, will throw this into the backlog for later implementation


Host fees should be automatically added

User story
As a host admin, I want host fees processed automatically, so they can be always recorded transparently and error free, and I can easily see accurate finances for my host organisation.
Currently, we manually add the funds when the monthly host report email appears. They get added to a Collective we have to manually set up to receive them.
Best solution for this problem
User-configurable host fees, whether a % of transactions or set amount fee, which are automatically added to the host org itself, or to a Collective the host admin specifies.
MVP
Maybe a bot that reads the monthly host report emails and adds the fees? Not sure.
Metrics
Hosts effectively use their budgets to further their work supporting Collectives.
Documentation
Add a section to the Fiscal Hosts section of the docs about how host fees are handled.

Thought of another reason this is important. Right now, the easiest default thing is to not record your host fees anywhere. This is bad for transparency. If a host does not want to manage their own finances transparently on the platform, they shouldn't be forced to, but the default should be that when you set up a host, a Collective for that host is created and the host fees automatically go there. This should be an option for opt-out during setup.

The advice I received when we set up our host was to create a collective and then create a new host organisation for that collective, which aligns with your comment @alannallama .
The docs at https://docs.opencollective.com/help/hosts/create-a-fiscal-host don't currently follow this guidance for some reason.
Given that, in our perception at least, transparency is a key feature of the OC platform, it follows that host fees should also be visible. Given the importance of transparency I would suggest that the implementation of this functionality should be prioritised.

Thanks for your thoughts @Upperholme - I agree.
@znarf @Betree - could the scope and priority of this please be assessed?

@alannallama we should update the docs too.

@alannallama question:

They get added to a Collective we have to manually set up to receive them.

Where is that currently done?

@znarf it depends on the host. We have /opensource set up for OSC and /foundation for OCF. These were created manually. Each month I get the host report and manually add the host fee amount to those Collectives. Some Hosts don't set up a Collective to receive fees (for example we don't have one for c-corp host) so those fees just... disappear and aren't tracked anywhere.

In light of our strategic decision to focus on being a product for diverse hosts, I would put this issue forward for potential prioritisation.
This is also very relevant for the new business model discussion @xdamman is leading. To make our proposed new model work, we need to enable hosts to set up and collect fees from their Collectives in the way that works best for them (free, monthly per Collective, % revenue, etc). To make it a good experience, this should happen automatically once they set it up.
Having thought about it more:
MVP

Host admin can specify default Collective as a setting in edit > advanced
Host fees are automatically added monthly to that Collective

Best solution

Hosts are Collectives themselves, meaning there would be no need to have a seperate Collective to track its budget
Host fees are automatically added to this Collective's budget as they come in

I second that this has now higher priority.

Bumping this up - is this a requirement for deploying the new pricing model?

It's activated for Hosts with the "budget management" feature.

Is it really? I thought we were still manually adding host fees each month?

@Memo-Es I think this should be in scope for the host dashboard project. Along with #3161 it will really smooth the experience of managing host fees.

@alanna I think this is addressed in the 'Fiscal Host Settings' tab in the new admin panel, Is this accurate?

I'm also thinking to add a widget element with this info to the dashboard
Let me know what you think :)

Is it really? I thought we were still manually adding host fees each month?

@alanna yes, I confirm it's a feature for Hosts with "Budget" activated. Seems that they were added 2 times for July in some places (opensource)

Ah, ok  @znarf - Me and @alinamanko were not aware of this and added the fees manually for OSC and OCF as usual. Thanks for fixing it.
We should inform host admins with integrated budgets about this. Can you give me a list of emails of host admins with integrated budgets, and I'll send them a message about host fees being automatically added from now on?
@contraexemplo can you please add this info about automated fees to the documentation about integrated host budgets when you get to that?
@znarf - maybe this feature can be considered complete then? We still have a lot of hosts on the legacy design of a seperate budget Collective and therefore no automatic host fees, but if all new hosts will have integrated budgets with this functionality, and old hosts can transition when they want, then we don't really need to do anything else for automated host fees, right?

@alanna  Yeah, we can close! Sharing with you the list of admins privately.


Remove EMC references from doc

Description
Updating product names in documentation from Dell EMC to Dell
GitHub Issues
List the GitHub issues impacted by this PR:

GitHub Issue #

https://github.com/dell/csm/issues/128

Checklist:

[x] I have performed a self-review of my own code to ensure there are no formatting, vetting, linting, or security issues
[ ] I have verified that new and existing unit tests pass locally with my changes
[x] I have not allowed coverage numbers to degenerate
[ ] I have maintained at least 90% code coverage
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have maintained backward compatibility

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

I did not want to make any changes outside of doc/ description changes for this round as I wasn't sure this impacts any testing. This change looks safe though


feat: Added upnp functionality which was carried by a separate container

(hm-config#164)
The task of hm-upnp container has moved to this container to get rid of the overhead of hm-upnp. It is important to test this change on real hardware as I still don't have one.
How

Added dependencies into Dockerfile
Added the necessary CLI command into the entry script

References
(hm-config#164)
Checklist

[ ] Tests added (Manual test on real hardware needed)
[x] Cleaned up commit history (rebase!)
[x] Documentation added
[x] Thought about variable and method names

Hmm i'm not sure about this @MuratUrsavas. I'd just run it before everything. It should exit 0 and just continue.

Thinking the same and pushed a new change on the same branch. Now will open another PR.


feat: Add GetHomeDir method to ibc.Chain

Description, Motivation, and Context
Closes https://github.com/strangelove-ventures/ibctest/issues/158
Many cosmos commands require this argument.
Known Limitations, Trade-offs, Tech Debt

Bloats the ibc.Chain interface more. However, I like interface methods that expose data vs. provide some functionality. By simply exposing data, we can typically write reusable functions that leverage the data.
GetHomeDir may be too cosmos specific.
There may be a convention that's always true such as /tmp/{{chain binary name}}. But it's unclear how to enforce and make obvious such a convention.

Fyi, it should be HomeDir() per Go naming conventions. However, we have GetGRPCAddress() and GetRPCAddress() so I was being consistent with the existing ibc.Chain interface by choosing the Get prefix.


Add support for Jooqs YearToSecond

I want to use the postgres interval data type. Unfortunately is the value not written to the database. While debugging the query mapping, the build query is correct. But after execution there is nothing in the database. For the read case I understand if it is not supported and I could do the back-mapping by myself, but the write should work correctly because it relies only on existing jooq features.

Can you provide a sample table definition or a reproducer?

Sorry for late reply, haven't seen your question.
I hope this small example helps.
I am using vertx-jooq-classic-reactive.
Used versions:

<vertx.version>4.2.7</vertx.version>
<jooq.version>3.17.6</jooq.version>
<vertx-jooq.version>6.5.5</vertx-jooq.version>

create table maintenance
(
    maintenance_id       integer generated by default as identity
        primary key,
    last_edit_timestamp  timestamp with time zone default now() not null,
    maintenance_interval interval
);

var dao = MaintenanceDao(...);
var maintenance = Maintenance(null, OffsetDateTime.now(), YearToSecond(YearToMonth(0,1), DayToSecond(0,0,0)));
dao.insertReturningPrimary(maintenance);

                    <plugin>
                        <!-- Specify the maven code generator plugin -->
                        <groupId>org.jooq</groupId>
                        <artifactId>jooq-codegen-maven</artifactId>
                        <version>${jooq.version}</version>

                        <!-- The plugin should hook into the generate goal -->
                        <executions>
                            <execution>
                                <phase>generate-sources</phase>
                                <goals>
                                    <goal>generate</goal>
                                </goals>
                            </execution>
                        </executions>

                        <dependencies>
                            <dependency>
                                <groupId>org.postgresql</groupId>
                                <artifactId>postgresql</artifactId>
                                <version>${postgres.version}</version>
                            </dependency>
                            <dependency>
                                <groupId>io.github.jklingsporn</groupId>
                                <artifactId>vertx-jooq-generate</artifactId>
                                <version>${vertx-jooq.version}</version>
                            </dependency>
                        </dependencies>

                        <configuration>
                            <configurationFile>${jooq.config}</configurationFile>
                            <jdbc>
                                <driver>${database.driver}</driver>
                            </jdbc>

                            <!-- Generator parameters -->
                            <generator>
                                <name>io.github.jklingsporn.vertx.jooq.generate.classic.ClassicReactiveVertxGenerator
                                </name>
                                <!-- use 'io.github.jklingsporn.vertx.jooq.generate.classic.ClassicReactiveGuiceVertxGenerator' to enable Guice DI -->
                                <database>
                                    <name>org.jooq.meta.postgres.PostgresDatabase</name>
                                    <includes>.*</includes>
                                    <forcedTypes>
                                        <forcedType>
                                            <userType>io.vertx.core.json.JsonObject</userType>
                                            <converter>
                                                io.github.jklingsporn.vertx.jooq.shared.postgres.JSONToJsonObjectConverter
                                            </converter>
                                            <expression>data</expression>
                                            <types>(?i:JSON)</types>
                                        </forcedType>
                                    </forcedTypes>
                                    <unsignedTypes>false</unsignedTypes>
                                </database>
                                <target>
                                    <packageName>${jooq-generated.package}</packageName>
                                    <directory>${jooq-generated.dir}</directory>
                                </target>
                                <generate>
                                    <javaTimeTypes>true</javaTimeTypes>
                                    <interfaces>true</interfaces>
                                    <daos>true</daos>
                                    <fluentSetters>true</fluentSetters>
                                </generate>

                                <strategy>
                                    <name>io.github.jklingsporn.vertx.jooq.generate.VertxGeneratorStrategy</name>
                                </strategy>
                            </generator>
                        </configuration>
                    </plugin>

I tested the generated jooq sql query and copied it to the sql console, then it worked.
I also think the vertx-jooq code generator can support the datatype by mapping the fields of pg-client Interval to the Jooq YearToSecond instance:
import io.vertx.pgclient.data.Interval
import io.vertx.sqlclient.Row

var row = Row();
var interval = row.get(Interval.class, position/column);
obj.value = new YearToSecond(YearToMonth(interval.year, interval.month), DayToSecond(...));

@jklingsporn can you say something new?

What't interesting: while for example there exists a method Row.getOffsetDateTime no such thing exists for the Interval. I will have to find a workaround for that special usecase in my VertxGeneratorBuilder where it builds the RowMapper-classes.

I think this comes from the point that Interval is not supported in all database drivers.

As you've already mentioned, the Interval is only available for the postgres driver. For that reason I cannot provide an out-of-the-box support easily, because I want to avoid the dependency for language agnostic drivers. For now, please have a look at this generator I am using in the tests. It converts between the postgres Interval type and jOOQs YearToSecond. You obviously need to configure the converter properly in your code generator's configuration.

Thank you, I will try to implement it following your example. I will give feedback when I'm done.

Your example works, if the Interval type is the user type, but how I configure it to use jooqs YearToSecond instead?
I also have the problem, that the generated RowMapper tries to do row.getInterval("maintenance_interval"), which needs to be row.get(Intervall.class, "maintenance_interval").

I also have the problem, that the generated RowMapper tries to do row.getInterval("maintenance_interval"), which needs to be row.get(Intervall.class, "maintenance_interval").

It seems that this comes from the supportedRowTypes in the current release, if I understand the code correctly.

I'm really sorry for the late reply. Haven't forgot this and will craft a release as fast as I can ^^

I'm really sorry for the late reply. Haven't forgot this and will craft a release as fast as I can ^^

Thank you, maybe you also have the time to check #223 😊


160 psi detector

@tms-bananaquit @951378644 FYI this looks good to me after the most recent commits


fs: fd_prestat_get return EBADF for not pre-opened

This fixes #1027.
WASI-libc prestats every fd from 3 until one returns EBADF. If any other error is returned, the process exits with code 71 (EX_OSERR).

Remaining failures seem to be down to test flakiness.

ironic was our docs were correct about which error to use when it wasn't a pre-open, just the test was for the wrong value


work around SR-7242

Swift does a pretty terrible job with global constants that are C functions unless they're annotated @convention(c) .... This is filed as SR-7242 and will hopefully be fixed soon however we should probably work around as it's very simple.

@weissi oh my... thanks for reporting it.


USB ports disabling with 2019.8.2

I followed the discussion in https://github.com/cimryan/teslausb/issues/119 and was able to get this working again w/ the newly partitioned cam disk image, until I updated to 2019.8.2 5 days ago.. Since then, I can see the Pi starting up and then it goes dark (no power) with the USB port shutdown. The only way I can get the port active again is to restart the MCU, and I have the same problem if I plug in to the other front port..  It looks to me like the vehicle is detecting this as an attack/problem and it disables the port.
At first I noticed my CAM image had mismatched FAT's (repair in windows, and in the device itself didn't make a difference), so today I made a new filesystem on it. Now that there's no mismatch I'm seeing my vehicle disable the USB port quickly, much faster than it did when my Pi had to "repair" the CAM image each time it booted..

I was having the same issue with the power going out to the USB ports.  I resolved the problem by powering the pi via the cigarette outlet.  Haven't experienced the issue again since I made that change a few days ago.

Providing another source for power, as @firedfly suggests, appears to work around the problem and my teslausb is once again working. Since the USB ports can deliver up to 2 amps at 5v I'm surprised the car is turning them off while driving. From what I can tell, a Raspberry Pi Zero W should only use 120-230mA of power, and I'm willing to bet there's something that can be done with the teslausb to have the vehicle continue to deliver power. I'm going to contact Tesla to see what, if anything, they might suggest.
Anyway, I hope this will help others to more readily identify what's happening.

I'm on 8.3 and I dont have this issue, just fyi

I'm on a 'different version' beyond 2019.8.x cough but have had the same issue. I've noticed a USB hub (that has a Power LED) in front of the Pi seems to help keep it on better. I'm still having some issues, but I think I need to apply the kernel fix everyone is talking about.

Having the same issue as @ScrawnyB, the kernel fix didn't fix it for me either. I went a whole day without issue with sentry mode on for several hours. The issue cropped up again though on day 2 so it does not appear to be fixed for me. I'm also powering the rpi with the 12v.

Im also in the beta program, and having the same issue @ScrawnyB . External power resolves it entirely, but is not a good solution imo.
Think we should just report to tesla? if this is a power over usb issue, can it be solved another way?

Some discussion of this here, including an email response from Jeda who is also looking at the problem https://teslaownersonline.com/threads/usb-drives-dying-early-deaths-when-used-for-tesla-dash-cam-videos.11828/page-3#post-221333

Our team has conducted extensive testing using the Jeda Wireless Pad and many other accessories that use USB cables. What we have seen is that when those accessories make use of the data wires inside a USB cable, the Tesla Model 3 resets or interrupts the power connection. This happens with many wireless chargers, battery packs and other car accessories.
...
One way or another, the solution is to replace the existing USB cable for a pair of USB cables that are charging only, which means they don't use the data wires.

Note: I'm on 2019.8.3 and I am not having the issue, although I fully expected to when I updated last week.  My rpi stays happily connected, even with long Sentry modes, and has been updating fine when I get home.  I am using a USB splitter, the one that came with the Nomad charger, with the 'data' side used for the rpi and the power side to the Nomad.  Per the post from Jeda, it appears that that using the splitter may be the reason why I have not experienced this.

My system is now working (with jsvp's fork), but I had to connect the pi to a USB hub which in turn is connected to the car. I also used rpi-update but not sure that fixed anything.

Leofaoro, can you share the USB hub model?
Thanks

Leofaoro, can you share the USB hub model?
Thanks

Sure this is what I have
Sabrent 4-Port USB 3.0 Hub with Individual LED Lit Power Switches, Included 5V/2.5A Power Adapter (HB-UMP3) https://www.amazon.com/dp/B00TPMEOYM/ref=cm_sw_r_cp_tai_-YaPCb8FTJNCP


plugin file-log can't work with plugin lambda

kong: 0.10.1
when enable both file-log and lambda plugin, there will be no log written to file configured in file-log plugin.

That is the same issue as with the response plugins; https://getkong.org/plugins/aws-lambda/#known-issues


Prevent pull request and issues in read-only repos

We don't want issues in subrepos: https://github.com/cucumber/cucumber-expressions-ruby/pulls

[ ] Add a CONTRIBUTING.md file in each subrepo, informing them to create PRs against cucumber/cucumber
[x] Disable issues in each subrepo
[x] Prepend Read Only to the GitHub description of each subrepo

Hah! Fancy seeing this after I did just what this ticket is meant to prevent? 😛

Heh -yes I realised it wasn't obvious, so I want to make it more obvious. Sorry for wasting your time @jaysonesmith - we're not used new contributors becoming active this quickly! :-)

@aslakhellesoy Do you have a list of the RO repos? I could handle the contributing part for you if you'd like?

I've changed my mind. PRs against subrepos are fine.


Making algorithm names/aliases public

Currently the names of algorithms recognized by providers are part of providers/implementations/include/prov/names.h. This file is not a part of openssl public headers. Making it public would ensure that 3rd-party providers use the same names and aliases as main OpenSSL.

We would have to rename these defines to include OSSL_ as a prefix. The question also is whether we want to become as kind of official names registry for OpenSSL algorithms.

OK, let's discuss it within OTC

The question also is whether we want to become as kind of official names registry for OpenSSL algorithms.

I'm strongly against that.

@beldmit is OK with closing this.


[Help Request] can someone help me please

Hello everyone, as I can see it is apparently still being updated and therefore seems to be working. I've been here for several months and am trying to download my purchased course so far without success, I've tried other DRM downloaders etc. that didn't work because Udemy introduced their DRM protection, but with some bugs I see that people are successful and download their courses.
That's why I'm asking if someone could help me to set it up correctly for me, that would be super nice, thank you.
Could also write on Discord if someone should find each other.
I followed the description of the library as best as I could, but unfortunately I didn't have any success, I always got an error. I tried the same thing with Udeler but he could only download all preview videos (non-DRM).

post the error

it starts with the current WidevineCdm version that is available online that I found no longer works and therefore the keys for decrypting are not displayed to me.
4.10.2209.0-win-x64.zip

yeah? that cdm was killed back in February as I said in the README

You can find information on downgrading the CDM version on the wiki, please note that CDM version 2209 is already revoked as of 12/5/2021 and no longer works on Udemy as of 2/1/2022. This information is just to have it available.

As I also said in the README, I do not provide support for getting keys. that is not my problem.


Update supported Magic and Netgen

This PR's main goal is to allow SC to properly support up-to-date versions of Netgen and Magic. Prior to v.1.5.193, Netgen let you get away with performing LVS on blocks without power routed. However, this is no longer the case. This PR:

changes our basic GCD skywater LVS test to use a floorplan with PDN, generated by our API.
includes some changes to floorplan.py to facilitate this/fix some random things I noticed in the development process.
adds support to sc_floorplan.tcl to insert power nets based on the 'supply' schema so we can generate a PDN without requiring these pins/nets be explicitly added to the RTL.
and finally, bumps the officially supported versions in the tool drivers and setup scripts!

Looks great.


Fix the encoding issue - 'split': invalid byte sequence in UTF-8 (up-to-date!!)

Fix the encoding issue - 'split': invalid byte sequence in UTF-8 (Argument Error) #190 - from up-to-date master

This pull request has exactly the same changes of https://github.com/schacon/ruby-git/pull/190/, but made on top of the up-to-date master.
Can you please merge it ASAP if tests pass?
Thanks!!

Thanks for merging @robertodecurnex, if everything is fine I'd like to ask you to update the gem so that we can use the update on ruby.

Thanks @davidvartanian for creating the updated pull-request and @robertodecurnex for merging it.
@davidvartanian If you plan to use ruby-git in production or critical areas, I highly suggest that you look at the bug I posted - https://github.com/schacon/ruby-git/issues/194
It's a bad-logic bug and could come back to haunt you when you wouldn't expect. Any comments on the bug are welcome.


"Override Call Type..." not accessible from linearview

Looks like we didn't implement "Override Call Type..." in linear view when we added IL views to linear view.

Duplicate of #1614


Add error messages and tests to FermionicOp and SpinOp

Summary
This PR is the follow up of #68.
I have added test for str, tuple and list, and added error messages.

The test is failed due to https://github.com/Qiskit/qiskit-terra/pull/6064. (Maybe Nature will be changed?)

The test is failed due to Qiskit/qiskit-terra#6064. (Maybe Nature will be changed?)

I opened #100 to fix this :+1:


Hiding all signs of carousel if side count < slidesPerView.

Is your feature request related to a problem? Please describe.
As a developer I'd love the ability to hide the existence of the carousel UNTIL the window is shrunk small enough where the carousel is required. For example, if I have two items, on a desktop they show centered next to each other, however on mobile they're two big to sit next to each other, I'd love them to be placed into a carousel.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered

Conditionally render the carousel depending on breakpoints

Additional context
Add any other context or screenshots about the feature request here.

Same as this I believe just explained differently. Unfortunately the issue was closed with no discussion. Q well needed feature I think.
https://github.com/nolimits4web/swiper/issues/4311

+1 for dynamic Swiper decisions based on the above, but also in this scenario:
Setting slidesPerView: auto in tandem with loop: true will always fill the slider with duplicates. There should be 1 broad sweeping solution that looks at visible slides, or the number passed to slidesPerView that will trigger swiper not to init. I have implemented a JS class that hooks swiper to fill in these gaps for my use case, but its not ideal since swiper will add the duplicates, then I remove them, and update:
`/// Get the number of slides before we init Swiper
const defaultSlideCount = slider.querySelectorAll('.swiper-slide').length;
/// Init Swiper
const swiperSlider = new Swiper(slider.querySelector(slider.target), slider.sliderOpts);
/// If the total number of slides is greater than the visible slides, we need to show navigation
if(swiperSlider.visibleSlides != undefined) {
if(defaultSlideCount > swiperSlider.visibleSlides.length) {
slider.classList.add("slider-has-init");
} else {
slider.classList.remove('slider-has-init');
/// remove duplicates, swiper will always add duplicates with slidesPerView: auto
slider.querySelectorAll('.swiper-slide-duplicate').forEach(duplicateSlide => {
  duplicateSlide.remove();
  swiperSlider.update();
})

}`
If there is some dynamic decision making based on this, there wouldn't likely need an option to destroy at certain sizes... My guess is that most use cases for this request is because some items are in a grid at large desktop/device sizes, but switch into a slider for mobile.


Pressing ctrl-c while autocomplete is in progress throws an exception

I have complicated CLI and it takes a while for autocomplete to work its magic. This is why I noticed that if I press ctrl-c just after I pressed tab I get an exception from autocomplete because (I am guessing) patching was not complete:
...
  File "/usr/local/lib/python3.6/dist-packages/argcomplete/__init__.py", line 223, in __call__
    completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos)
  File "/usr/local/lib/python3.6/dist-packages/argcomplete/__init__.py", line 255, in _get_completions
    completions = self.collect_completions(active_parsers, parsed_args, cword_prefix, debug)
  File "/usr/local/lib/python3.6/dist-packages/argcomplete/__init__.py", line 459, in collect_completions
    completions += self._get_option_completions(active_parser, cword_prefix)
  File "/usr/local/lib/python3.6/dist-packages/argcomplete/__init__.py", line 363, in _get_option_completions
    if not self._action_allowed(action, parser):
  File "/usr/local/lib/python3.6/dist-packages/argcomplete/__init__.py", line 373, in _action_allowed
    for conflict_action in parser._action_conflicts.get(action, []):

I think the issue is that argcomplete eats all exceptions, so it eats also KeyboardInterrupt exception.
I think the solution might be a custom handler for ctrl-c which would just exit immediately.
Not sure why bash even passes through ctrl-c to the autocomplete program.

Is this printed to the terminal? By default, I'd expect all output from stdout and stderr to be suppressed. This redirection happens at the shell level, so it shouldn't matter what the program does. Can you supply a cut down script that reproduces this?

I believe this is a fish issue and will be fixed by #338.

I believe this is a fish issue and will be fixed by #338.


DIV-2846: removed Makefile from div-case-progression-service project

Description
Removed Makefile from div-cps
Fixes # (issue)
DIV-2846
Type of change

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

How Has This Been Tested?
unit tests
integration tests
Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Rebased to latest master.
@johnoneill46 can you review again please? The Update Branch button wouldn't appear so I had to do it manually :(

Just thinking actually, should the ReadMe.md be updated considering we're removing the makefile?

John's comment makes sense. As this PR is very old now and out of sync, yet an extremely simple change of removing 1 file. Will close this PR then open a new one with the README change as well.


Error Name contains illegal characters in generated Res.kt while building jsTarget.

Describe the bug
Error Name contains illegal characters in generated Res.kt while building jsTarget when the project name contains hyphen. This happens since the Plugin gets the project name and appends it to the generated files package name within ``.  This works fine on androidTargets but generates an error with JsTarget
Affected platforms
Select one of the platforms below:

Web (K/Wasm) - Canvas based API

Versions

Kotlin version*:  1.9.22
Compose Multiplatform version*:  1.6.0-beta02
OS version(s)* (required for Desktop and iOS issues):
OS architecture (x86 or arm64):  arm64
JDK (for desktop issues):

To Reproduce

Create a Compose multiplatform project
Add Js target
Set project name to something with hyphen
Add a font (or any resource) in commonResources
Run ./gradlew assemble

Expected behaviour
There should be no error

is there a way to workaround this until the next stable release is up with the merged pr?

Yes. Just give a project name without dashes

@terrakok a workaround that doesn't involve renaming directories/ changing module names that are already published on maven

You are not able to publish a library with compose resources yet. Could you explain your case?

I'm using compose resources to load files in commonTest. This in combination with #4442 is preventing me from being able to publish library builds while being able to run the tests

https://github.com/JetBrains/compose-multiplatform/pull/4300

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Include all associations without having to specify all of them?

If I have a modal with 40 associations, is there is a way to include them without having to write all of them in the include block??

deep_cloneable is meant to be simple. You can build the include hash anyway you like of course. For more complex cases (like yours), I'd suggest using amoeba instead.


Persistent storage for one-off sync

Applications might not want UI to get persistent storage. So maybe we should give sites a small bucket to store some data in a persistent manner for one-off synchronization. We would make it a writeonly bucket that only can be transferred so it cannot be abused much.
This in part depends of course on the UI for one-off synchronization and maybe it does not even need to be tied to that necessarily, but I wanted to log this somewhere.

I'm unable to wrap my head around this. Why is IDB the wrong thing to use here?

To make a one-shot persistent we'd also have to make the service worker registration persistent until the one-shot fires.

Note that from personal experience I think people will be using CacheStorage and not IDB to transfer data between the document and sync event. And use the 'tag' as a pointer into the storage or just put the data in the tag itself. Do we need to specify a max tag length?

I'm less confident about the use of the likelyhood of cache API usage here. The cache API is request/response, and a background sync tends to involve a request that doesn't have a response. You'd have to hack the cache API a bit to do it.
(although I've seen people hack the cache API into a key/val store because it's simpler to use than IDB)

That's what I did, I used it as a key/value store. And put the key in the bgsync tag. IDB is a pain.

IDB and the Cache API are both non-persistent by default. The idea is to have some kind of new API that can be used to store a small amount of synchronization data that we guarantee to keep around for a long time (unless the user manually clears storage/cookies, of course).

This is an interesting idea, though I'm not sure one-shot warrants truly persistent storage. Are you okay  with closing this issue as it's ultimately an issue for another API?

Sure.


bad character escape sequence bug

this is my file
export default typeof window === undefined;
and this is error i get
Acorn error: Bad character escape sequence (3565:26)
File: C:\projects\test\src\server\ice.js

3563
3564  });
3565  ___scope___.file("client\utilities\is-server.js", function(exports, require, module, __filename, __dirname){
3566
3567  "use strict";
3568  Object.defineProperty(exports, "__esModule", { value: true });
3569  exports.default = typeof window === "undefined";

Can't reproduce it
export default typeof window ===undefined; does not emit any errors.

Can't reproduce it
export default typeof window ===undefined; does not emit any errors.

I tried it with typescript as well. Maybe you copy paste it to make sure you got no wrong symbols there?
http://stackoverflow.com/questions/33873982/es6-bad-character-escape-sequence-creating-ascii-string
Are you sure it's related to that line?

I tried it with typescript as well. Maybe you copy paste it to make sure you got no wrong symbols there?
http://stackoverflow.com/questions/33873982/es6-bad-character-escape-sequence-creating-ascii-string
Are you sure it's related to that line?

no i did not copy paste it, i wrote the code by myself, this is really weird, why it works with previous version and not latest? i did not change my code!

no i did not copy paste it, i wrote the code by myself, this is really weird, why it works with previous version and not latest? i did not change my code!

also does it have anything to do with the fact i am on Windows OS?

also does it have anything to do with the fact i am on Windows OS?

Might be. But if you remove that line everything gets back to normal, right?

Might be. But if you remove that line everything gets back to normal, right?

yep!

yep!

Ok, please check which version broke it. 1.3.24 does not seem to have any significant changes to the code.

ok, i tried that, and everything works fine until v1.3.33, once i use 1.3.34 i get same error

and after more tests, i found that the problem happens when this file is in an imported bundle, so if i import it directly there is zero issues, in other words, it happens when using bundle in a bundle.

it might be related to this line
Can you replace locally it with this version and  see if it helps

Fixed in 1.3.38

fixed thanks :)


Implement authentication functionality

Description: Set up user authentication for the ecommerce website, allowing users to securely access their accounts using a chosen authentication method. The chosen authentication method can be a combination of email/password authentication and social media login (e.g., Google, Facebook).

Have you fixed or need help?


Mailable later() not working with MailFake

Laravel Version: 5.4
PHP Version: 7.1

Description:
Testing (with MailFake) a Mailable that is sent with the later method produces this error:
Call to undefined method Illuminate\Support\Testing\Fakes\MailFake::later()
If MailFake is intended to only work with Mailable objects, and Mailable has the later() method (https://github.com/laravel/framework/blob/5.4/src/Illuminate/Mail/Mailable.php#L151), shouldn't the MailFake accomodate that?
Related to #20180. I tried to discuss in the PR after closed, but didn't get a response. Apologies for creating another issue, and I don't think I explained well enough in the initial PR.

it's not needed to fake later, because it's released onto the queue via the scheduling system,
so it's out of the scope of the tests.

https://github.com/laravel/framework/pull/20180#issuecomment-316577750


Relax aind-data-schema dependency

Fixes #36

@alejoe91 sorry I just saw this. we are sorting out some issues with pydantic 2.6 right now, need to figure that out before we relax schema reqs.

Will probably be closed by: https://github.com/AllenNeuralDynamics/aind-metadata-upgrader/pull/50

@alejoe91 It looks like this was taken care of in:
https://github.com/AllenNeuralDynamics/aind-metadata-upgrader/pull/50
I'm going to close this PR.


Update to pyproj 2

Change proposed in this Pull Request

Following the lead of geopandas, pyproj, cartopy and rasterio, we use crs to indicate what we meant by a projection up to now.
New grid_cell_areas CachedAttribute to simplify calculation of areas

How Has This Been Tested?

Hasn't been tested yet
Type of change

[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[ ] I tested my contribution locally and it seems to work fine.
[ ] I locally ran pytest inside the repository and no unexpected problems came up.
[x] I have adjusted the docstrings in the code appropriately.
[ ] I have documented the effects of my code changes in the documentation doc/.
[x] I have added newly introduced dependencies to environment.yaml file.
[ ] I have added a note to release notes doc/release_notes.rst.

this is great!
A question about the area. Why not using a geopandas built-in? Somthing like
areakm = gpd.GeoSeries(cutout.grid_cells, crs=cutout.crs)\
              .to_crs({'proj': 'cea'}).area

(derived together from https://gis.stackexchange.com/questions/218450/getting-polygon-areas-using-geopandas)

this is great!
A question about the area. Why not using a geopandas built-in? Somthing like
areakm = gpd.GeoSeries(cutout.grid_cells, crs=cutout.crs)\
              .to_crs({'proj': 'cea'}).area

(derived together from https://gis.stackexchange.com/questions/218450/getting-polygon-areas-using-geopandas)

Yes, would also work. I was afraid of using yet another concept for crs definitions. I am not sure they are compatible with the pyproj.CRS ones. Also i decided for EPSG:3035 as an equal area projection since it is well tailored to europe, but then i don't know 'cea'.

Also i decided for EPSG:3035 as an equal area projection since it is well tailored to europe, but then i don't know 'cea'.

What happens if the region is outside of Europe / the WGS84 bounds mentioned in the link?
Do we then loose on accuracy (significant or acceptable)? Or do we get an error?

Also i decided for EPSG:3035 as an equal area projection since it is well tailored to europe, but then i don't know 'cea'.

What happens if the region is outside of Europe / the WGS84 bounds mentioned in the link?
Do we then loose on accuracy (significant or acceptable)? Or do we get an error?

We loose on accuracy, don't know by how much.

Also i decided for EPSG:3035 as an equal area projection since it is well tailored to europe, but then i don't know 'cea'.

What happens if the region is outside of Europe / the WGS84 bounds mentioned in the link?
Do we then loose on accuracy (significant or acceptable)? Or do we get an error?

We loose on accuracy, don't know by how much.

I find it odd to use a projection focus on Europe here. cae probably refers to Equal Area Cylindrical w/ a world-wide scope. If it also works with cae or any other ww-defined equal area projection I would favour any of those over EPSG:3035.


Aborting authentication throws a string instead of an error

Describe the issue
Calling startAuthentication(opts, false) in the browser after a previous call to startAuthentication(opts, true) aborts the previous authentication flow. This causes the browser runtime to throw, which is good, but in this case, what's thrown is a string.
When navigator.credentials.get(...) is aborted by an AbortController, the browser runtime throws whatever you pass into .abort(reason) (at least on Chromium-based browsers. Safari seems to ignore the abort signal entirely.).
It seems like the reason passed to abort should be an instance of Error instead.
Reproduction Steps
var aborter = new AbortController();
navigator.credentials.get({
    publicKey: {
      challenge: new Uint8Array([12, 34, 56, 78, 90])
    },
    signal: aborter.signal
}).catch(err => {
  console.log(typeof err);
  console.log(err);
});
aborter.abort("Stop authenticating!");

// Prints:
// string
// Stop authenticating!

Replacing the previous aborter.abort(...) with the following causes an Error to be thrown:
aborter.abort(new Error('Stop authenticating!'));

// Prints:
// object
// Error: Stop authenticating!
//       at <stack>

Expected behavior
An Error should be thrown instead of a string.
Dependencies

OS: macOS 13.2
Browser: Chrome 110
Authenticator: MacBook Pro Touch ID

SimpleWebAuthn Libraries

$ npm list --depth=0 | grep @simplewebauthn
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>

There's not a lot of guidance on what a "proper" reason should be. MDN simply says the following about AbortSignal.reason:

A JavaScript value that indicates the abort reason, or undefined, if not aborted.

And in the MDN docs for AbortController.abort() it says reason can be any JS value:

The reason why the operation was aborted, which can be any JavaScript value. If not specified, the reason is set to "AbortError" DOMException.

It seems like the reason passed to abort should be an instance of Error instead.

I suppose the idea is that err in a .catch() will always be some kind of Error, except in this one case where's a string? I can see that being a point of developer friction 🤔

Note to self: this seems like a reasonable request so I'll go ahead with it.

Thanks! I started looking into contributing this back via PR. The change itself seemed pretty straightforward, but testing it was causing some headaches. I'm interested to see your solution 😁

Note to self: I haven't forgotten about this, I'm just waiting till I land #367 and then this'll be a fast follow. It'll all get released as v7.2.0 (unless I discover a reason it all needs to go out as v8.0.0) when I finally merge everything pending in.

@mhamann I just published<EMAIL_ADDRESS>that should resolve this issue 🚀


[SPARK-24198][SparkR][SQL] Adding slice function to SparkR

What changes were proposed in this pull request?
The PR adds the slice function to SparkR. The function returns a subset of consecutive elements from the given array.
> df <- createDataFrame(cbind(model = rownames(mtcars), mtcars))
> tmp <- mutate(df, v1 = create_array(df$mpg, df$cyl, df$hp))
> head(select(tmp, slice(tmp$v1, 2L, 2L)))

  slice(v1, 2, 2)
1          6, 110
2          6, 110
3           4, 93
4          6, 110
5          8, 175
6          6, 105

How was this patch tested?
A test added into R/pkg/tests/fulltests/test_sparkSQL.R

Test build #90482 has started for PR 21298 at commit fe008dc.

cc @HyukjinKwon @felixcheung

Test build #90482 has finished for PR 21298 at commit fe008dc.

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

Merged build finished. Test PASSed.

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

@mn-mikke, let's do this with few more functions together next time per the suggestions from @felixcheung and @shivaram who're PMCs used to R side better than me.

Test build #90500 has started for PR 21298 at commit 8605f13.

Oh, sorry for that. I'll group several functions next time. Thanks guys.

Test build #90500 has finished for PR 21298 at commit 8605f13.

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

Merged build finished. Test PASSed.

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

lgtm too except that the nit.

Test build #90539 has started for PR 21298 at commit 1c9511e.

Test build #90539 has finished for PR 21298 at commit 1c9511e.

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

Merged build finished. Test PASSed.

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


where can I find the pretrained models?

where can I find the pretrained models like SE-LResNet101E-IR?

Here you are : https://github.com/foamliu/InsightFace-v2/releases

Here you are : https://github.com/foamliu/InsightFace-v2/releases

Oh my god. You are simply a GOD. Thank you.


doc: "details" section describing every feature

how to group those features? like a clutter now...

even if it is "details", let's write it concisely and briefly - nobody likes to read long paragraphs

now start to write the deteails

btw, open the app itself there and look at it


Error: EMFILE, too many open files

This error is thrown for every static file which express tries to open and send as http response (.html, .js. img, etc). This happens when fd (file descriptors) get flooded in linux. Any idea why express (fs module) is not gracefully closing the file descriptors when not in use?
I started getting this error when I moved my Express Server to production environment (When I started getting traffic in website).

Hi @shanksrepo , all our tests for fd closing are passing and as far as we know, fds get closed. I can't really say much more without a way to reproduce the issue, though.

Hi @shanksrepo , I'm closing this issue due to it going stale. If you can provide some additional information, like perhaps version of Express, version of Node.js, and an example server that reproduces the issue along with the steps to reproduce, we can take a closer look :)

Is there any solution for this case?
We started getting this error:
    Error: EMFILE: too many open files, open 'XXX\xx.js'\r


Add Athenz authentication plugin

Motivation
Athenz is a role-based authorization system which is recently open-sourced by Yahoo! inc.
We want to use Athenz as an authentication mechanism on pulsar.
Modifications
Add Athenz authentication plugin classes:

AuthenticationProviderAthenz (for Broker)
AuthenticationAthenz (for Client)
AuthenticationDataAthenz (for Client)

and add athenzDomainNames congifuration setting to broker.conf / standalone.conf
Result
Be able to use Athenz authentication on pulsar.
TODO
Add documents about Athenz authentication on pulsar.

end-to-end test using Athenz

Do you mean unit tests ?
OK, I think the test is necessary too, I'll try it.

@nkurihar The change looks good to me. If it's feasible, it would be good to have a unit test that spawns up an Athenz service and verify the authentication end-to-end.
Also, it would be good to have a new page in the documentation to show how to enable and configure the authentication with Athenz 😄 . But that can go in a different PR.

@merlimat
Thank you for your reviewing.

new page in the documentation to show how to enable and configure the authentication with Athenz

I'll add documents as another PR.

have a unit test that spawns up an Athenz service and verify the authentication end-to-end

I'll investigate and if feasible, add the end-to-end unit test as another PR.


Make stackdriver stats exporter GAE Java7 compatible. (fixes #878)

This commit makes the following changes:

Renamed io.opencensus.implcore.internal.DaemonThreadFactory to io.opencensus.interl.OpenCensusThreadFactory so that other components can reuse the logic to detect the runtime and create threads accordingly.
Refactored the StackdriverExporterWorkerThread to a Runnable called StackdriverExporterWorker.
Adapt all occurrences and invocation of the changes above.

Coverage increased (+0.009%) to 81.388% when pulling 54cf301b6135b2c72f737e3f94d162be1cc55566 on HailongWen:sd-stats-gae-compatibility into bfa6f29b49de35bb7c9439ec4da6ae0547bfd190 on census-instrumentation:master.

Codecov Report

Merging #881 into master will decrease coverage by 0.01%.
The diff coverage is 90.9%.

@@             Coverage Diff              @@
##             master     #881      +/-   ##
============================================
- Coverage     79.36%   79.35%   -0.02%
  Complexity      911      911
============================================
  Files           156      156
  Lines          4076     4078       +2
  Branches        383      384       +1
============================================
+ Hits           3235     3236       +1
  Misses          760      760
- Partials         81       82       +1

Impacted Files
Coverage Δ
Complexity Δ

.../opencensus/impl/internal/DisruptorEventQueue.java
100% <100%> (ø)
4 <0> (ø)
:arrow_down:

...er/stats/stackdriver/StackdriverStatsExporter.java
64% <100%> (+0.73%)
8 <0> (ø)
:arrow_down:

...r/stats/stackdriver/StackdriverExporterWorker.java
83.33% <100%> (ø)
12 <1> (?)

...census/implcore/trace/export/SpanExporterImpl.java
98.36% <100%> (+0.02%)
7 <0> (ø)
:arrow_down:

...o/opencensus/internal/OpenCensusThreadFactory.java
73.33% <75%> (ø)
3 <0> (?)

Continue to review full report at Codecov.

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

Sure. Will do.

Coverage increased (+0.009%) to 81.388% when pulling ee10930e808bd6ff51bc9b207af437875153609d on HailongWen:sd-stats-gae-compatibility into bfa6f29b49de35bb7c9439ec4da6ae0547bfd190 on census-instrumentation:master.

Coverage increased (+0.009%) to 81.363% when pulling 631c2e55d0b262fc881a710a8fd35cda99e4a777 on HailongWen:sd-stats-gae-compatibility into 0e5897ce4b4b168c11be1de6e493e992d2391b81 on census-instrumentation:master.

FYI the 0.10.1 patch release is done. You can merge this anytime now.

Coverage increased (+0.04%) to 81.39% when pulling 9bbb6f8c8a7c722604eed05e935009fad2b04351 on HailongWen:sd-stats-gae-compatibility into d3a73c88eefedc6d6511e877858135d12df428ac on census-instrumentation:master.

@bogdandrutu @songy23 @sebright PTAL. I've moved the DaemonThreadFactory back to its original path. The SD stats exporter now duplicate the thread spawn logic. We can remove that in the future once we done refactoring the stats exporter to use a callback.

Coverage increased (+0.04%) to 81.39% when pulling 13fd100dba27a8bd35bb16ff414be3464bb0e132 on HailongWen:sd-stats-gae-compatibility into d3a73c88eefedc6d6511e877858135d12df428ac on census-instrumentation:master.


Add sample for clean sensitive data

Purpose

Describe the problems, issues, or needs driving this feature/fix and include links to related issues in the following format: Resolves issue1, issue2, etc.

Goals

Describe the solutions that this feature/fix will introduce to resolve the problems described above

Approach

Describe how you are implementing the solutions. Include an animated GIF or screenshot if the change affects the UI (email<EMAIL_ADDRESS>to review all UI text). Include a link to a Markdown file or Google doc if the feature write-up is too long to paste here.

User stories

Summary of user stories addressed by this change>

Release note

Brief description of the new feature or bug fix as it will appear in the release notes

Documentation

Link(s) to product documentation that addresses the changes of this PR. If no doc impact, enter “N/A” plus brief explanation of why there’s no doc impact

Training

Link to the PR for changes to the training content in https://github.com/wso2/WSO2-Training, if applicable

Certification

Type “Sent” when you have provided new/updated certification questions, plus four answers for each question (correct answer highlighted in bold), based on this change. Certification questions/answers should be sent to<EMAIL_ADDRESS>and NOT pasted in this PR. If there is no impact on certification exams, type “N/A” and explain why.

Marketing

Link to drafts of marketing content that will describe and promote this feature, including product page changes, technical articles, blog posts, videos, etc., if applicable

Automation tests

Unit tests

Code coverage information

Integration tests

Details about the test cases and coverage

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes/no
Ran FindSecurityBugs plugin and verified report? yes/no
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes/no

Samples

Provide high-level details about the samples related to this feature

Related PRs

List any other related PRs

Migrations (if applicable)

Describe migration steps and platforms on which migration has been tested

Test environment

List all JDK versions, operating systems, databases, and browser/versions on which this feature/fix was tested

Learning

Describe the research phase and any blog posts, patterns, libraries, or add-ons you used to solve the problem.

Shall we add a readme explaining the purpose of the project briefly?

Let's include the Dependencies.toml as well as it is the recommended practice. Users who are trying to build this without a Dependencies.toml may experience issues related to dependency incompatibilities.

Bal files missing

Bal files missing

updated.


Create HTML and CSS for the Playlist and EQ Windows

Did this years ago myself, here is CSS you can rip the EQ/Playlist window stuff from:
https://gist.github.com/oneman/488f82898401b49c6a4e
https://www.youtube.com/watch?v=9WVrHbc-sMo

I'm working on this issue here: https://github.com/captbaritone/winamp2-js/tree/playlist


Html error fixes

Fixes a couple of HTML errors:

Incorrect </div>
itr.js requires the variable TOOLS defined in the itr.html page only, so should not be loaded by other pages
Remove old comment

Updated 2018-08-07

Rebased
Clean up footer (there were multiple files)
Move scripts to header apart from page-specific scripts

The changes prevent the table of apps to be displayed
Excluding for now
--exclude

@jburel I think I've fixed it with @rgozim's help.

Rebuilding now

Looks good now with the changes


Set language to English for our own docs

Currently this results in a build error with the latest version of sphinx. Following our own guide: https://github.com/wagtail/sphinx_wagtail_theme/blob/main/CHANGELOG.md#510---2022-04-07
Also fixing a python syntax error in the usage code block (ellipses character vs 3 dots) which is throwing a build warning.

Looks good to me also - ran locally without issues.


Eng 5326

👍 Looks good to me, except will need to remove live token from history, or invalidate the token.


adding user ip display & log feature

Added ip logs in console and ip address display on weather API page

Looks good


Create-bar-chart-project

Related to https://github.com/freeCodeCamp/freeCodeCamp/issues/46173
This should be adding the bar-chart project from the data visualization certification
I have also already created https://github.com/freeCodeCamp/demo-projects-nginx-config/pull/9 f

@moT01 please review, merge and deploy.

sorry for the README, the linter took initiative — I can revert that

TBH I don't fork the smaller repos like this, just the main learn repo.

We have some smaller repos that don't allow PRs from forks, I don't know which is which, so I just do branches...


web-sys's API around Window seems to be wrong

Currently, web-sys provides a Window type and use static functions to access objects and functions in the current global.
This seems to be conceptually wrong. Window is an object, and there can be multiple independent Window around, so the current global is just one Window object.
I suggest it provide a top level function window() which returns a Option<Window> instead (Option because the code may run in worker / worklet global where window isn't available).

And it seems to me that to reasonably implement Window.open as well as HTMLIFrameElement.contentWindow, there needs to be proper Window object support.

Makes sense to me, I'll work on reverting #761


Why not learn the amplification ratio?

Why not set the ratio to 1 and let the network learn a ratio when training the model?
I noticed that the author set the ratio to "gt exposure time / short exposure time" when training the model, and we need to set a ratio externally when testing the model.
However, after trying different ratios, I found that the result images had different qualities besides different exposure, and there exists a perfect ratio, which we don't know before testing.
I assume that the ratio we choose affects the network performance, since the ratio is applied to the image before it is put into the network. So why not let the network learn a ratio?

Same question here, have you see any reasearches work on this problem?

there are few works that explored this. Here I am tagging one of those "Restoring Extremely Dark Images in Real-Time" CVPR2021


Unable to reach non-service network hosts from k8s pod configured with Calico CNI

Looking for support in understanding how to configure / resolve my issue.
I'm a networking noob, so apologies in advance if I'm barking up the wrong tree here.
Expected Behavior
I should be able to ping a non-service network host from a pod on k8s.
Current Behavior
Attempts to ping the non-service network host result in 100% packet loss:
bash-5.0# ping6 240b::51
PING 240b::51(240b::51) 56 data bytes
^C
--- 240b::51 ping statistics ---
71 packets transmitted, 0 received, 100% packet loss, time 70005ms

Possible Solution

Potential reasons:

I've screwed up my configuration when installing the Calico CNI
I've screwed up my configuration when installing k8s
The underlying server (company provided) for my k8s stack is misconfigured

Steps to Reproduce (for bugs)

Providing steps starting with k8s installation, in case that's where my error is. I was following instructions from the quickstart.

Acquire server configured with IPv6 address (240b::1 from hereon)
Install k8s v1.16.15-0 with the following kubeadm:

sudo kubeadm init --apiserver-advertise-address 240b::1 --pod-network-cidr=fc00::/112 --service-cidr=fd00::/112

Set up kubectl configuration:

     mkdir -p $HOME/.kube
     sudo cp -f /etc/kubernetes/admin.conf $HOME/.kube/config
     sudo chown $(id -u):$(id -g) $HOME/.kube/config

Untaint the master node

 kubectl taint nodes --all node-role.kubernetes.io/master-

Install the Tigera Calico operator and custom resource definitions.

kubectl create -f https://docs.projectcalico.org/manifests/tigera-operator.yaml

Install modified custom resources yaml

kubectl create -f custom-resources.yaml

Create debug namespace

kubectl create ns debug

Create deployment for debugging with debug-network.yaml

kubectl apply -n debug -f debug-network.yaml

Exec bash on the newly created pod

kubectl exec -n debug --stdin --tty $(kubectl get pod -n debug -o name | grep debug-network) -- bash

Attempt to ping the proxy host (or any host outside of the service network)

ping6 240b::51

Context

I've been given access to a single workplace dev server with an IPv6 address that is blocked off from the public internet behind an http_proxy server hosted on 240b::51. I am attempting to set up access from k8s pods to the public internet through this http_proxy, but when I attempt to ping 240b::51 from my pods I experience 100% packet loss.
My service net seems to be working fine -- I can ping other pods by their IPv6 address and services by their service domain name. I can also ping the IPv6 address of my underlying host without issue.
Please let me know if there are any logs I can provide to help debug what's going on.
Your Environment

Calico version: v3.16.4
Orchestrator version (e.g. kubernetes, mesos, rkt): kubernetes v1.16.15-0
Operating System and version: CentOS Linux 7

It sounds like you have pod-to-pod connections working fine, as well as pod-to-kubernetes-service connections. Is that correct?
If so, then the main issue here is that pods are having trouble initiating outbound connections to things outside of the Kubernetes cluster.
Does that sounds like an accurate summary?
If so, then I suspect that there is something going on outside of the k8s network layer that is at fault. Are your nodes able to access the http proxy? (i.e., without pod networking in the picture). Traffic from pods -> outside the cluster will net SNAT'd and effectively look like originate from the node hosting the pod.

If so, then the main issue here is that pods are having trouble initiating outbound connections to things outside of the Kubernetes cluster.

Yep, that's an accurate summary.

Are your nodes able to access the http proxy? (i.e., without pod networking in the picture).

By node, you mean the underlying host behind the k8s node? Yes, that is able to reach the proxy (and running a pod with hostNetwork: true is also able to reach the proxy).

Is the proxy within the same IP range as your pod IP pool? Or another Calico IP pool? That would disable outgoing NAT and might cause issues.

Is the proxy within the same IP range as your pod IP pool? Or another Calico IP pool? That would disable outgoing NAT and might cause issues.


remove lovercase style for Month and Days

this commit fixes #26

Not sure what datepicker to go by. At least in the swedish version of Airbnb.com, the months/days are lowercase:

However, when looking at http://airbnb.io/react-dates , it seems like the months are capitalized. Not sure if there is some localization specific going on. Is the months capitalized in your language on Airbnb.com?

I recommend to don't force this in the component and let by project decide if need in lovercase. By default in English Days and Month are always Capitalised: https://en.wikipedia.org/wiki/Month, https://en.wikipedia.org/wiki/Names_of_the_days_of_the_week

@matinfo Yes I agree! Seems like it was only swedish who used lowercase. This is now merged to master and available in latest version. Thanks for contributing!


api/v1/content/overview/namespace/default/?poll=5 - 403 forbidden

Just shows a loading progress bar across the top.
Running Kubernetes 1.13 and confirm I am able to run kubectl cluster-info and kubectl get pods. However when I bring up the octant web interface, it just shows the loading progress bar across the top in Chrome 76 on MacOS.
The only request in Chrome Developer tools I see failing is:
http://<IP_ADDRESS>:8900/api/v1/content/overview/namespace/default/?poll=5
Request Method: GET
Status Code: 403 Forbidden

Thanks for reporting this @nodesocket
Can you provide some extra detail, this will help me with reproducing:

provide the command you are using launch Octant
which version of Octant are you running (0.5.1, master, etc..)
Can you add the -v flag when you launch Octant and provide the terminal output in a gist.

Hi @wwitzel3.
ubuntu@ip-192-168-3-161:~$ octant version
Version:  0.5.1
Git commit:  e0397d2596a7575abf4ca9aeacafd92912d484e0
Built:  2019-08-06T19:40:35Z

Running with -v:
https://gist.github.com/nodesocket/bac50ccb67e70b0fc1cf5f0ad249338e
Screenshot of the UI with the 403 error:

Thanks, this was helpful. We fixed #152 and added #194 which will be apart of the 0.6 release, which should be out later today.
Then you'll be able to set the OCTANT_LISTENER_ADDR and add any hosts  to the OCTANT_ACCEPTED_HOSTS list.

See: https://github.com/vmware/octant/blob/master/docs/getting-started.md#environment-variables
For details on the available environment variables.

This is fixed in master and will be in our 0.6 release.

@wwitzel3 so what should I set OCTANT_ACCEPTED_HOSTS to ? I enforce access control permissions at the firewall level.

I think in this case, you'd set it <IP_ADDRESS>?

Essentially you want it set to what ever the value of request.Host will be, so if you're doing any traffic re-writing or routing, you'll need to take that in to account.

I opened a new issue related to this, if you start Octant listening on <IP_ADDRESS> is should allow all hosts. See #199

@nodesocket Not sure if it helps, I wrote some notes https://github.com/vmware/octant/issues/199#issuecomment-523563021

I also met this problem, how to solve it

@zwunan we recently merged some work around this (see #200). Have you tried explicitly setting OCTANT_ACCEPTED_HOSTS to address of the requesting client?


Removed duplicate fold definition from Either

Found a duplicate definition for the fold signature of Either (Flow). This microfix just removes it.

Good catch, thanks @pnicolli


failed to resolve: use of undeclared crate or module anyhow

Describe the bug
In my project, I did not use anyhow, but the frb_generated.rs file generated by v2.0.0-dev.35 will add
// Section: dart2rust

impl SseDecode for flutter_rust_bridge::for_generated::anyhow::Error {
    // Codec=Sse (Serialization based), see doc to use other codecs
    fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self {
        let mut inner = <String>::sse_decode(deserializer);
        return anyhow::anyhow!("{}", inner);
    }
}

However, the frb_generated.rs file generated by v2.0.0-dev.33 can handle it correctly.
// Section: dart2rust

impl SseDecode for flutter_rust_bridge::for_generated::anyhow::Error {
    // Codec=Sse (Serialization based), see doc to use other codecs
    fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self {
        unreachable!("");
    }
}

Steps to reproduce
anyhow is not used in the project, and the issue can be reproduced by running flutter_rust_bridge_codegen generate with version v2.0.0-dev.35.
Logs
error[E0433]: failed to resolve: use of undeclared crate or module `anyhow`
   --> src/frb_generated.rs:336:16
    |
336 |         return anyhow::anyhow!("{}", inner);
    |                ^^^^^^ use of undeclared crate or module `anyhow`

For more information about this error, try `rustc --explain E0433`.
error: could not compile `rust_lib_uric_acid_app` (lib) due to 1 previous error

Expected behavior
No response
Generated binding code
No response
OS
macOS
Version of flutter_rust_bridge_codegen
v2.0.0-dev.35
Flutter info
No response
Version of clang++
No response
Additional context
No response

Nice observation! To be fixed in https://github.com/fzyzcjy/flutter_rust_bridge/pull/1967


Toolbar won't show up

When I add the js, the summernote toolbar disappears.
i also noticed that in the instructions, it uses .summernote
$('.summernote').summernote
instead of id that is in the summernote official documentation:
$('#summernote').summernote

I haven't updated in a long time, can I provide a test program?