track volumes across mixes within an experiment, and across experiments (old 53)

(from @dave-doty)
Track volumes across mixes in one experiment
It would be useful to track volumes across different mixes to ensure that sufficient volumes are available.
First, when using an intermediate mix m1 in downstream mixes, we currently have fairly primitive error-handling. For example, if the volume of m1 is 100 uL, then an error is issued if more than 100 uL of m1 is required in a downstream mix m2. However, suppose m1 is required in two downstream mixes m2 and m3, each requiring 60 uL of m1. No error is given because 60 < 100, even though a total of 120 uL of m1 is required for both m2 and m3.
This could be handled by a new class Experiment, which can track several related mixes used in a single experiment and issue an error if the total volumes don't add up.

I have a basic implementation of the first thing here, which I'll try to add soon.

Splitting the other part of this into a new issue.


Map not loading on upload page in Safari 10.1.2 or earlier

When using Safari 10.1.2 or earlier, the map does not appear in the Location pop-up modal on the upload page. @kueda mentioned that it's likely "failing flexbox support: https://caniuse.com/#search=flex" Probably worth a fix as Version 10 isn't too old.

I don't think so. If I recall that was needed for asset precompilation and/or webpack. So I say let's remove it, and as long as deploys work we should be fine

FWIW, the flexbox stuff applies to broken header and location chooser layouts Tony observed in Safari 8. I'm not really sure how much I can do to address the map issue without a working version of Safari 10 in front of me.


Add placeholder for hwgcebind module dependency tracking

This change adds dependencies to go.mod to aid in offline vendoring/compilation with physical lab hardware.

Pull Request Functional Test Report for #2564 / db9279fd9b4b94d5f084be17bb97c7ae784c305e
No tests identified for validation.
Help


the path arg is not read and only the defaultFilePath is used

environnement : windows 10
ghore is launched from command line :
npm start "file.md"
only the file README.md is read
i have to change
const path = process.argv[3] || defaultFilePath;
to
const path = process.argv[2] || defaultFilePath;
in the file server.js of the root
to be able to start the file i want
and very good job :) for all :)

Hello,
A simple question: how did you go about installing ghore on Windows 10 ? By following the procedure for Linux and macOS ? I haven't been able to do this since Windows 11 Enterprise. However, nodejs is perfectly functional and I followed the guide to the nearest comma.
Thanks in advance..

What i did:

i haven't read the installation tips so i installed ghore with npm
npm install ghore
i followed the installation steps

Clone the repository
git clone https://github.com/p-balu/ghore.git

Navigate to the project directory
cd ghore

Install dependencies
npm install

#To start the application locally
npm start your/filepath/other_file.md

Hello,
A simple question : how did you go about installing ghore on Windows 10 ? By following the procedure for Linux and macOS ? I haven't been able to do this since Windows 11 Enterprise. However, nodejs is perfectly functional and I followed the guide to the nearest comma. Thanks in advance..

So, the package installation is having an issue with Windows 11 as one of the packages called cmark-gfm I am using, the developers stopped contributing to it and is compatible only till windows 10 that's one of the reason @bmarchand-altima was able to install and use it successfully in windows 10. I need to take some time to look into the cmark-gfm package make those changes to successfully work in windows 11.

environnement : windows 10
ghore is launched from command line :
npm start "file.md"
only the file README.md is read
i have to change const path = process.argv[3] || defaultFilePath; to const path = process.argv[2] || defaultFilePath;
in the file server.js of the root
to be able to start the file i want
and very good job :) for all :)

Thanks for using the tool. I will have a look at it as I remember I have handled it correctly will have a look at it again. Glad you liked it, and enjoy using the tool.

Hello,
A simple question : how did you go about installing ghore on Windows 10 ? By following the procedure for Linux and macOS ? I haven't been able to do this since Windows 11 Enterprise. However, nodejs is perfectly functional and I followed the guide to the nearest comma. Thanks in advance..

So, the package installation is having an issue with Windows 11 as one of the packages called cmark-gfm I am using, the developers stopped contributing to it and is compatible only till windows 10 that's one of the reason @bmarchand-altima was able to install and use it successfully in windows 10. I need to take some time to look into the cmark-gfm package make those changes to successfully work in windows 11.

So this can be useful to other Windows users who need to use Ghore. Thanks for your time.

What i did:

i haven't read the installation tips so i installed ghore with npm
npm install ghore
i followed the installation steps

Clone the repository
git clone https://github.com/p-balu/ghore.git

Navigate to the project directory
cd ghore

Install dependencies
npm install

#To start the application locally
npm start your/filepath/other_file.md

Same procedure in my case.


configMap from dependency is not found

I have 2 charts.
└── charts
    ├── cm
    │   ├── Chart.yaml
    │   ├── templates
    │   │   └── configmap.yaml
    │   └── values.yaml
    └── micro
        ├── Chart.lock
        ├── Chart.yaml
        ├── charts
        │   └── cm-0.1.2.tgz
        ├── templates
        │   ├── NOTES.txt
        │   ├── _helpers.tpl
        │   ├── deployment.yaml
        │   ├── hpa.yaml
        │   ├── ingress.yaml
        │   ├── service.yaml
        │   └── serviceaccount.yaml
        └── values.yaml

micro is depending on cm.
dependencies:
- name: cm
  version: 0.1.2
  repository: "file://../cm/"

cm is actually configMap, which will be eventually shared across multiple microservices.
In micro deployment.yaml I have specified checksum in annotation, so whenever configMap is modified, pod will get restarted.
  template:
    metadata:
      annotations:
        checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}

However, this yields to an error:
no template "micro/templates/configmap.yaml" associated with template "gotpl"

I don't have config map in micro. How can I specify configMap in dependency template the way that when I modify it in cm chart, deployment in micro will be restarted?

closing as duplicate of #9467


sometimes Only 44 bytes audio recording

While recording audio in .wav format, sometimes only 44 bytes are recording. I don't know the reason.
So kindly help me. I'm using recorder-js in angular6.

I got same problem while using in Chrome v76 and RiotJS. Only got 44 bytes of blob.

Anyone who is monitoring this - this is directly related to the other issue posted about audio context starting. The solution to this is pretty easy, in the example there is a line like this:
const audioContext =  new (window.AudioContext || window.webkitAudioContext)();
Really what you want to do is create the audioContext in your click handler, not as a const. E.g.

var audioContext = null;
$(".record").click(function() {
  if (audioContext == null) {
      audioContext =  new (window.AudioContext || window.webkitAudioContext)();
  }
  // rest of example will work now
});

Here is my code to solve this problem in React.
class App extends Component {
constructor(...args) {
super(...args);
this.state = {
  blob: null,
  isRecording: false,
  stream: null,
  analyserData: {data: [], lineTo: 0},
  nowRecord:null,
};

this.start = this.start.bind(this);
this.stop = this.stop.bind(this);
this.download = this.download.bind(this);

this.audioContext = null;
if (this.audioContext == null) {
  this.audioContext =  new (window.AudioContext || window.webkitAudioContext)();

  this.recorder = new Recorder(this.audioContext, {
    onAnalysed: data => this.setState({analyserData: data}),
  });

}
navigator.mediaDevices.getUserMedia({audio: true})
.then((stream) => {
this.recorder.init(stream);
})
.catch(this.dontGotStream);
}
start() {
this.recorder.start()
...................


Improve ffmpeg error handling

This makes the run() print errors if any.

Hi!
Thanks a lot for making this contributions :). I'll start checking them if I have enough time
This one seems ok. It also gets a lot of the ffmpeg prints out of the way which is a nice thing to do since stderr was to cluttered right now.


Open Source?

sorry to be annoying but i have no idea what the license is. mind picking one? docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository

Following ollama project
https://github.com/jmorganca/ollama/blob/main/LICENSE


Update Solana chain id to follow CAIP-30

Follow CAIP-30 in blockchainAccountId (CAIP-10) for Solana. This also fixes following CAIP-2, which expects the chain id to consist of a namespace component and reference component, separated by a colon (":"). CAIP-10 specifies that the chain id component in an account id is specified by CAIP-2, but does not convey this in the regex. I would consider this a bug in our implementation, but suggest that CAIP-10's regex could be updated to incorporate CAIP-2.
Using a non-CAIP-2-conformant chain id in blockchainAccountId I don't think would have have much impact as a bug:

It is invalid according to CAIP-2, so other implementations may reject it.
publicKeyJwk can be used instead of blockchainAccountId since the DID encodes the public key bytes directly. Indeed, the did:pkh resolver/generator here adds both publicKeyJwk and blockchainAccountId, and I believe the public key JWK is sufficient for verification purposes.
did:pkh:sol is going to be deprecated in favor of did:pkh:solana

I am keeping the old way for now anyway, for potential backwards-compatibility in case it is in use. But this might be removed if/when stricter CAIP-2 parsing is added. Support for the old way is removed, in commits ad2653f and 5147420, because it does not seem necessary to keep it, and this would simplify #283 and #286.

I made some changes here so that this PR can be rebased on main now that #283 has been merged. That included removing the special case handling of the invalid CAIP-2 chain ids. (That special case handling was added in #283 for consistency with existing behavior, but this PR #282 removes support for that usage.)

Rebased


Integrating payments backend and frontend

User story
As a user i want the data i am inputting to be persisted in the backend.
Acceptance criteria
Frontend displays payment information from the backend
Backend gets updated from information inputted from the frontend
Additional context
Add any other context or screenshots about the feature request here.

Issue completed by Ken in his other PR (issue #152).


Use Signature's eval_str argument in resolve_signature (3.10+ specific)

Summary
Use Signature's eval_str argument in resolve_signature (3.10+ specific)
Checklist

[x] I have run nox and all the pipelines have passed.
[x] I have made unittests according to the code I have added/modified/deleted.

Related issues

How does this differentiate from us evaluating them?

How does this differentiate from us evaluating them?

Same behaviour but faster (both when forward references are enabled and when they aren't) and less reliant on our code.


integer division issue in CircuitBreaker

https://github.com/apache/incubator-brpc/blob/c75d53a62c181db0aec300f41787c0c0786c69d0/src/brpc/circuit_breaker.cpp#L95
With  _max_error_percent as an integer and less or equal to 100, it seems that the right hand side will always be either _window_size or 0, which may causes a bug.

The execution order is first _window_size * _max_error_percent
then  / 100

@wwbmmm I got it. Thanks


[BUG][1.2.0] regression: scala DeltaAnalysisException exposed to user in pyspark

Bug
Describe the problem
In 1.2.0 we introduced DeltaSharedExceptions, and replaced org.apache.spark.sql.AnalysisExceptions with DeltaAnalysisException. However, Spark 3.2 doesn't capture these Scala exceptions in pyspark as it does for AnalysisExceptions. This is fixed for Spark 3.3 and master. So instead we see the weird java error shown below.
Steps to reproduce
See #1081
Observed results
py4j.protocol.Py4JJavaError: An error occurred while calling o41.load.
: org.apache.spark.sql.delta.DeltaAnalysisException: `/tmp/table_exists` is not a Delta table.
	at org.apache.spark.sql.delta.DeltaErrors$.notADeltaTableException(DeltaErrors.scala:281)
	at org.apache.spark.sql.delta.catalog.DeltaTableV2.toBaseRelation(DeltaTableV2.scala:169)
	at org.apache.spark.sql.delta.sources.DeltaDataSource.$anonfun$createRelation$4(DeltaDataSource.scala:187)
	at org.apache.spark.sql.delta.metering.DeltaLogging.recordFrameProfile(DeltaLogging.scala:120)
	at org.apache.spark.sql.delta.metering.DeltaLogging.recordFrameProfile$(DeltaLogging.scala:118)
	at org.apache.spark.sql.delta.sources.DeltaDataSource.recordFrameProfile(DeltaDataSource.scala:50)
	at org.apache.spark.sql.delta.sources.DeltaDataSource.createRelation(DeltaDataSource.scala:164)
	at org.apache.spark.sql.execution.datasources.DataSource.resolveRelation(DataSource.scala:350)
	at org.apache.spark.sql.DataFrameReader.loadV1Source(DataFrameReader.scala:274)
	at org.apache.spark.sql.DataFrameReader.$anonfun$load$1(DataFrameReader.scala:243)
	at scala.Option.map(Option.scala:230)
	at org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:210)
	at org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:188)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)
	at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:357)
	at py4j.Gateway.invoke(Gateway.java:282)
	at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)
	at py4j.commands.CallCommand.execute(CallCommand.java:79)
	at py4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)
	at py4j.ClientServerConnection.run(ClientServerConnection.java:106)
	at java.lang.Thread.run(Thread.java:748)

Expected results
We should see a org.apache.spark.sql.AnalysisException python exception.
Run with 1.1.0 we see...
pyspark.sql.utils.AnalysisException: `/tmp/table_exists` is not a Delta table.

Further details

Environment information

Delta Lake version: 1.2.0
Spark version: 3.2
Scala version: 2.12

This is fixed by #1083, which will be released with  1.2.1

@cdagraca the fix shouldn't have been needed for those releases since they are on Spark 3.3+. Can you provide a repro? I thought we also had a test that should be checking for this

My apologies. When setting up a clean EMR test cluster, I do see a pyspark.sql.utils.AnalysisException, which i can catch and handle. The message still reads "is not a Delta table", and I initially saw the error string and thought it was the same exception I saw before.
It must be some combination of versions of the many things installed on our regular dev cluster causing it.
Thanks for getting in touch, and sorry for wasting your time.


Not working with independent version strategy of Lerna

Error:
Calculating internal dependency DataError: Invalid version: "independent"

lerna.json
{
  "lerna": "2.6.0",
  "version": "independent",
  "commands": {
    "publish": {
      "message": "chore(release): publish %s",
      "allowBranch": "master",
      "ignore": []
    }
  },
  "packages": ["packages/@myworld/*"],
  "npmClient": "yarn"
}

Thanks! 😄
I used read-pkg to read lerna json, (wrong approach), so it validated json and gave error.
https://github.com/ajaymathur/popular-package/blob/master/lib/utils/dir.js#L11

@softvar fixed in<EMAIL_ADDRESS>🙂

Works now.
That was fast! Thanks! 👍


fix: FastString - v8_string should error when cannot allocate

Codecov Report
Attention: Patch coverage is 78.87324% with 15 lines in your changes missing coverage. Please review.

Project coverage is 81.76%. Comparing base (0c7f83e) to head (ae25399).
Report is 185 commits behind head on main.

Files with missing lines
Patch %
Lines

core/error.rs
46.66%
8 Missing :warning:

core/fast_string.rs
50.00%
7 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #986      +/-   ##
==========================================
+ Coverage   81.43%   81.76%   +0.33%
==========================================
  Files          97       98       +1
  Lines       23877    25787    +1910
==========================================
+ Hits        19445    21086    +1641
- Misses       4432     4701     +269

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

Ref back to https://github.com/denoland/deno/pull/27033/files#diff-6bad3474ae87d5566f34fbe0c2af44650f1aa8fedfecc0dd39147d91db49c8a4R1387 to remove that code once this lands

I should have marked this as breaking actually.


Matrix URL

Incomplete merge request that asks for how to connect through Matrix.

We're just testing this right now using a free bridge bot (https://t2bot.io/discord/), and didn't want to announce it as the main place to chat just yet until we've "kicked the tires" for a little bit. We haven't bridged all the channels either.
The space is at https://matrix.to/#/#ratatui:matrix.org though, feel free to come chat there. There's a bit of lag sometimes between discord and the matrix channels and threads don't seem to be handled well.


chore(deps): update common-dev-assets digest to c5b82f9

This PR contains the following updates:

Package
Update
Change

common-dev-assets
digest
2c14758 -> c5b82f9

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

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


Improve Simplified Chinese Translation

Along with a small change in Platform/macOS/Display/VMDisplayQemuDisplayController.swift
(Note that two strings have been changed in this file, the localized ones must be changed accordingly. I only made modifications to Simplified Chinese)

FYI: When you change the base string (the “…”), it breaks all the other translations.

FYI: When you change the base string (the “…”), it breaks all the other translations.

Okay, I took back that change :)

Finally succeeded! Sorry for the inconvenience…
Additionally I updated Simplified Chinese translation of README, hope this helps :)


support of changes files

Hi,
we would like to replace our repository-tools with aptly.
It would be nice, if aptly supports changes-files.
We build our own Debian-Packages and we include them into dak and reprepro-repositories. Since changes-files include a list of source- and deb-Packages, it is easier to import own packages with that file, since automatically both types are included into our repository.

@oCCtet thanks for the great case!

I wrote my own script to process .changes files and import packages into aptly. My .changes files aren't signed, so the script doesn't handle that part, but it compares file sizes and checksums before importing. It works for me using inoticoming to trigger it, YMMV.
https://gist.github.com/kived/68ad4f035a80fb2488d3

Work on this feature has been sponsored by sipgate GmbH (http://www.sipgate.de/).
First version is available as nightly build aptly_0.9.6~dev+28+g67a31d5.

Done in master, available as nightly build aptly_0.9.6~dev+53+g3c20b54.
Documentation: http://beta.aptly.info/doc/aptly/repo/include/

Hi, issue #278 reports a issue when including a package to a backports distribution.


OSX atom fails to save a file

Hi there, searched for open issues with "save".... 8 pages of results so hopefully this is not a duplicate.
OSX 10.10.5, rMBP
I edited a js file and pressed cmd+s to save the file. Atom indicated that it saved the file (the little blue ring in the title of the file disappeared). But in reality, the file wasn't saved. Opened it with Sublime to find out that file wasn't being saved. No matter how many times I try to save the file in atom, it wouldn't save...
Not using git/version control.
Kind of a huge issue. If you need any info, please let me know. It happened randomly. If you need any more logs, please let me know.
Also, I opened a minified bootstrap.js file with atom in the same workflow and atom was lagging when editing that file. Maybe opening a large file can make a difference?

Env:
Atom 1.0.16
OSX 10.10.5, rMBP
I have been experiencing the same issue for the past 3 days.  I noticed when changes made were still reporting errors in my code.  The files are negligible size.  Then I used another application to verify that save itself works.  My hardrive had plenty of space.

Finally someone having the same issue. In work environment, I can't actually rely on atom with issues like failing to save files... Hopefully more people can reproduce this issue.

@ainstushar what Atom version are you on?
And regarding bootstrap.js, Atom currently has a very hard time with minified files (#979).
Possibly related to #8888, #8849, #8874.

@50Wliu At the time of reporting this issue, 1.0.11? It was always updated.
Could be related to those issues, but honestly it has only happened once or twice. Can I get some info on how to check logs or create a bugreport if this happens again?

Atom doesn't create any logs, unfortunately.  Can you paste the output of apm list --installed here please?  Thanks.
/cc @maxbrunsfeld for debugging tips

/Users/ainstushar/.atom/packages (8)
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>


Update README.md

add instructions to view all scheduled check-in details

thanks for this! sorry it took me so long to get to it. 😅


Suggestion: Group + Prefix + Title

Hi,
Just renamed adding a Prefix to Group and Title with an empty .js.
Would be considered? Or an any better way?

Used Capitals and works but sure, can be changed to lowercase if better compatibility.
Thank you

How did you add custom hooks?

@Zalext How did you add custom hooks?

Just did a .js file with a Title and a description and add it 9n the VHooks folder.


Implement link checking solution

It would be good to implement an automated way of checking links in the Hub periodically to make sure they still work and fixing/removing broken links or outdated resources.

This looks promising:
https://github.com/DjangoAdminHackers/django-linkcheck

Deploying into dev now. When that wraps up, you can check it out at: http://aashe-hub-scott.herokuapp.com/_ad/linkcheck/

Added a module to insert a message at the top of the admin interface if there are outstanding broken links that were discovered and not addressed (either fixed or added to ignore list).
Fixed the broken links within the report page. They will now point directly at the admin edit page for that piece of content containing the broken link to allow ease of fixing those.
Being deployed to http://aashe-hub-scott.herokuapp.com/_ad/linkcheck/ as I write this.

Removed a minor bug where the broken link report message block was appearing on the login page even without being authenticated. Deploying.


Allow scrolling timetable viz on dashboard

Sorry I didn't catch this in the previous PR. Overflow auto needs to be important for the time table viz to be scrollable from the dashboard.

Coverage remained the same at 71.445% when pulling 4560af363cdaa5e0b48922750128a3c8069d47b4 on michellethomas:timetable_fix_dash_scroll into 70c7315ae012a16c5c9c2b8fbd30780809f1932a on apache:master.


When will the data be available for download?

Hello,
Thank you for your interest to our data. The data is available on Zenodo.


Define get: async arguments are sometimes undefined

I'm using the can/map/define plugin, specifically the async form of get:. There's not any docs on this, despite  there being examples for it, such as canjsmeetup/1_intro and canjsmeetup/7_route, so I'm not sure what is exactly supported.
The issue is that the callback argument is undefined, unless something has bound to the property first.
Please see this JSBin, it errors at (1), but it works at (2) after doing person.bind('fullName', function() {}).

@asavoy I'm not sure what the correct behavior is.  You are resolving synchronously, which defeats the purpose of the async get.
Without binding, there can be no value.  Or, perhaps, the value should be undefined.
We can prevent the error from happening, by providing a callback, but (1) is not an appropriate use case.
Proposals:
A. Document how to use async getters.
B. Provide a callback when unbound. So no errors happen, but discard the resolved value.
C. Add a dev warning when .attr() is called on an async getter.
@asavoy any interest in helping?

@justinbmeyer While I reported the error here, I should have described the use case along with it.
I've written a view model for a can.Component's scope, with an async getter and a getter dependent on it. I'm using this.attr('myAsyncProperty'); to not just get the value, but also to setup the binding. Everything works when the component is rendered to the DOM, but I'd like to also write DOM-less unit tests for the view model and that is where this error comes up.
Here's a similar example http://jsbin.com/cunane/8/edit?js,console where the async getter is resolved asynchronously (I agree resolving synchronously isn't useful, so disregard that).
I agree that the async getter should return undefined, at least until it gets resolved.
In response to your proposals:
A. Since discovering async getters, my team and I have agreed that it's really useful for simplifying code where AJAX requests are involved. Docs for it would have helped us find this earlier.
B. I've had a crack at fixing this already, by eagerly binding an empty handler for any async getters, which I think is what you're describing here. I don't have a lot of confidence with Map/define/compute under the hood, so I'll need someone to review it. I'll push it up soon.
C. I don't think there should be a warning because I feel that one should be able to have getters dependent on async getters as done in http://jsbin.com/cunane/8/edit?js,console

B. I've had a crack at fixing this already, by eagerly binding an empty handler for any async getters, which I think is what you're describing here. I don't have a lot of confidence with Map/define/compute under the hood, so I'll need someone to review it. I'll push it up soon.

I'm not describing eagerly binding an empty handler (at least I doubt it for memory-leak concerns).

C. I don't think there should be a warning because I feel that one should be able to have getters dependent on async getters as done in http://jsbin.com/cunane/8/edit?js,console

I didn't describe C fully.  I mean't that if .attr() is called on an async setter that is not bound, then produce a warning b/c the value returned is meaningless.

@asavoy If you're interested in working on this, lets talk tomorrow?

As I don't think the eager binding can work in all cases, 3.0 will still not pass the resolve when unbound as this is useful information and gives someone the ability to handle that situation.
Here's the issue to document it: https://github.com/canjs/can-define/issues/59


Rename ServiceInstanceProvision to ServiceInstance

What is the problem this PR solves?
When I use the OpenAPITools tool to auto-generate Golang code from swagger.yaml (and openapi.yaml), it seems that the ServiceInstanceProvision defined is conflict with the generated ServiceInstanceProvision method. So this PR is proposed to rename ServiceInstanceProvision to ServiceInstance so as to avoid the name confusion.
Checklist:

[ ] The swagger.yaml doc has been updated with any required changes: yes
[ ] The openapi.yaml doc has been updated with any required changes: yes

I notice we already have:
    ServiceInstanceResource:
      type: object
      properties:
        service_id:
          type: string
        plan_id:
          type: string
        dashboard_url:
          type: string
        parameters:
          $ref: '#/components/schemas/Object'

I think that doing this rename may be confusing since we would have both a ServiceInstance object and a ServiceInstanceResource object. Really the ServiceInstance schema is specific to the provision operation.
However I notice that there is a ServiceBinding and ServiceBindingResource.
I would be in favour for fixing both to be more explicit. Something like ServiceInstanceProvisionResponse.

@Samze I agree with your point, we need to make them all consistent.

@Samze @mattmcneeney @fmui PTAL, thanks!

I think the change makes sense, but it's a 'breaking' change for folks who are generating clients using the swagger spec. Do we need to add the breaking nature of this change to the readme

Good point @tinygrasshopper. My guess is that there are very few folks doing that, but maybe we should try to advertise this change (emailing the mailing list?) just in case.


Update create_project.py

Fix Windows compatibility
Description of the problem
First code was able to work perfectly on iOS and Linux but not on windows  because of paths and architectures are not the same
Describe the algorithm of actions that leads to the problem
Description of the algorithm of actions
Screenshots of the problem

Description of Changes
I did handle Windows paths and, multiples pythons versions and taking care with venvs.

@did0u007 We strictly adhere to the PEP8 standards. In your changes, this standard is completely ignored. After making the changes, run the pre-commit run --all-files command to automatically format the code according to the PEP8 standards.

The PR is deprecated due to the new API of the KivyMD library 2.0.0 version


Read request body in middleware.

Is it possible to read the request body in either the setupMiddleware or setupGlobalMiddleware functions?
We are trying to validate that a request body contains correct info and we wanted to check it in the middleware.  When we stick the following into the handler function of either setup middleware functions we always get an empty body. The body is always empty even though the POST request does have a body.
var val []byte
i, err := r.Body.Read(val)
r.Body.Close()
if err != nil{
	log.Print(err)
} else {
	log.Println(i)
	log.Println(string(val))
}

I assume this is for validations that fall outside of what swagger can do for you, and prior to databinding the body property?
If you want to read the body more than once you have to put it back as an io.ReadCloser so you can read it in a []byte and then replace r.Body with a bytes.NewBuffer(theBytes)
These readers are single use only

Thanks for the info. We were able to get this working.


Potential Leak

what uninstalls this from the global.
https://github.com/aexmachina/ember-devtools/blob/master/app/instance-initializers/ember-devtools.js#L14

Nothing. Is there an uninitialize hook I can use to remove it?

unfortunately not, it would be really nice if initializers had deinitializers. Especially for test run related cleanup. My typical approach is to do the cleanup when the app is destroyed
cc @dgeb

Does appInstance fire a destroy event or something?

right now it requires a reopen to work correctly, which is extremely crappy :sadpanda:

Okay, I think this is a NOOP.

Okay, I think this is a NOOP.

This leaks an app during tests, which means it masks other leaks when hunting for leaks.
I believe the reopen is crappy, but fine until we support something better.

I see. Okay, how can I do the reopen?

in the same file as the initializer:
Ember.Application.reopen({
   destroy() {
     this._super(...arguments);
     /* cleanup */
   }
})

fugly but should do the trick, deinitialize seems mega important. Maybe a post vacation task for myself, unless i can convince señor  @dgeb

Oh man that's not nice. Okay I'll do it when I get back to the office (with
gloves on). I'm gonna put your name on it Stef ;)
On Thu, 3 Dec 2015 at 12:36, Stefan Penner<EMAIL_ADDRESS>wrote:

in the same file as the initializer:
Ember.Application.reopen({
destroy() {
this._super(...arguments);
/* cleanup */
}
})
fugly but should do the trick, deinitialize seems mega important. Maybe a
post vacation task for myself, unless i can convince señor @dgeb
https://github.com/dgeb
—
Reply to this email directly or view it on GitHub
https://github.com/aexmachina/ember-devtools/issues/17#issuecomment-161488147
.

Did he make it back to the office? :fearful:


[scroll pagination] Feature Request: Scroll to top on page change

The grid should scroll first row into view when the page is changed in pagination row model type. This will not only allow clarity to the end user, but provide an assurance regarding the grid's functioning as well.

fair point. noted. have taken note and will implement when we refactor the pagination - which we plan to do in the coming weeks.

tracked by AG-149
https://www.ag-grid.com/ag-grid-pipeline/

👍

Hi,
Thank you for raising this issue for us, at this moment we are reviewing how we process Feature Requests/questions that come through from GitHub.
As I am sure you are aware, we offer two products:
ag-Grid - this is entirely free to use in line with our MIT license
ag-Grid Enterprise - our commercial version which funds the development of both versions.
We currently have a very full pipeline of work which can be viewed here: https://www.ag-grid.com/ag-grid-pipeline/
This will be our priority for the coming months and as a result, we don’t have capacity to take feature requests/questions from GitHub, but you might find that yours has already been raised in our pipeline.
We will do a periodic review of GitHub issues for any bugs raised and these can also be tracked on our pipeline page.
Thanks for your understanding.
ag-Grid Team.


close tree programmatically

Would like a feature added to close the tree programmatically in order to return the tree to its initial state when necessary.

Need to add a way to collapse tree nodes without resetting the tree state in the process.


x509: cannot validate certificate for <IP_ADDRESS> because it doesn't contain any IP SANs

After installing vanilla Metrics API with
kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/high-availability.yaml

i get the following errors in the log:
» kubectl -n kube-system logs -f metrics-server-7b9c4d7fd9-hp62w
I1004 14:52:28.236215       1 serving.go:341] Generated self-signed cert (/tmp/apiserver.crt, /tmp/apiserver.key)
E1004 14:52:28.915828       1 scraper.go:139] "Failed to scrape node" err="Get \"https://<IP_ADDRESS>:10250/stats/summary?only_cpu_and_memory=true\": x509: cannot validate certificate for <IP_ADDRESS> because it doesn't contain any IP SANs" node="minikube"
I1004 14:52:28.952449       1 requestheader_controller.go:169] Starting RequestHeaderAuthRequestController
I1004 14:52:28.952523       1 shared_informer.go:240] Waiting for caches to sync for RequestHeaderAuthRequestController
I1004 14:52:28.952622       1 configmap_cafile_content.go:202] Starting client-ca::kube-system::extension-apiserver-authentication::requestheader-client-ca-file
I1004 14:52:28.952622       1 configmap_cafile_content.go:202] Starting client-ca::kube-system::extension-apiserver-authentication::client-ca-file
I1004 14:52:28.952644       1 shared_informer.go:240] Waiting for caches to sync for client-ca::kube-system::extension-apiserver-authentication::client-ca-file
I1004 14:52:28.952629       1 shared_informer.go:240] Waiting for caches to sync for client-ca::kube-system::extension-apiserver-authentication::requestheader-client-ca-file
I1004 14:52:28.953506       1 secure_serving.go:202] Serving securely on [::]:443
I1004 14:52:28.953653       1 dynamic_serving_content.go:130] Starting serving-cert::/tmp/apiserver.crt::/tmp/apiserver.key
I1004 14:52:28.953700       1 tlsconfig.go:240] Starting DynamicServingCertificateController
I1004 14:52:29.052893       1 shared_informer.go:247] Caches are synced for RequestHeaderAuthRequestController
I1004 14:52:29.053290       1 shared_informer.go:247] Caches are synced for client-ca::kube-system::extension-apiserver-authentication::requestheader-client-ca-file
I1004 14:52:29.053368       1 shared_informer.go:247] Caches are synced for client-ca::kube-system::extension-apiserver-authentication::client-ca-file
E1004 14:52:43.903814       1 scraper.go:139] "Failed to scrape node" err="Get \"https://<IP_ADDRESS>:10250/stats/summary?only_cpu_and_memory=true\": x509: cannot validate certificate for <IP_ADDRESS> because it doesn't contain any IP SANs" node="minikube"
I1004 14:52:52.527648       1 server.go:188] "Failed probe" probe="metric-storage-ready" err="not metrics to serve"
E1004 14:52:58.904422       1 scraper.go:139] "Failed to scrape node" err="Get \"https://<IP_ADDRESS>:10250/stats/summary?only_cpu_and_memory=true\": x509: cannot validate certificate for <IP_ADDRESS> because it doesn't contain any IP SANs" node="minikube"
I1004 14:53:02.519536       1 server.go:188] "Failed probe" probe="metric-storage-ready" err="not metrics to serve"
I1004 14:53:12.519221       1 server.go:188] "Failed probe" probe="metric-storage-ready" err="not metrics to serve"
.....

Temporary added --kubelet-insecure-tls flag to the metrics server deployment.
https://github.com/kubernetes-sigs/metrics-server#requirements


disabled

TranscriptsDisabled:
Could not retrieve a transcript for the video https://www.youtube.com/watch?v=UBBl0IiaJ1E! This is most likely caused by:
Subtitles are disabled for this video
If you are sure that the described cause is not responsible for this error and that a transcript should be retrievable, please create an issue at https://github.com/jdepoix/youtube-transcript-api/issues. Please add which version of youtube_transcript_api you are using and provide the information needed to replicate the error. Also make sure that there are no open issues which already describe your problem!

Same issue
transcript_list = YouTubeTranscriptApi.list_transcripts('KWfKwvTQ')

@jdepoix Sorry this is my mistake I have not copied the ID completely. With the correct id, everything works fine.


Move Actor processing jobs to OOL jobs and enable priority escalation on arm64_32

Remove the inline job in actors and make them use OOL jobs always. This is because we need 16 bytes for atomic state in the actor which is not available to us on arm64_32 since the inline job takes up 40 of the 48 bytes for use.
Enable priority escalation support on arm64_32.
Radar-Id: rdar://problem/90725051
Cherry-pick of https://github.com/apple/swift/pull/42392 to release/5.7

@swift-ci please test


Feature/sort fields store proto

The struct FragmentGraph needs the json protobuf marshalling directive so Elasticsearch stores these protobuf message or else the /api/pb/viewer/list will fail
The resource.NewFields has a fieldMap map that has unsorted sub maps. But we need to preserve the order of the resource entries in fg.Fields.

Can you update the changelog as well?


Incorrect time format when using timeStep

I have my component set up like so:
<Kronos
  time={this.state.selectedTime}
  format={'h:mm a'}
  onChangeDateTime={this.handleTime.bind(this)}
  placeholder="Time" />

Which results in the format of the time in the dropdown to be shown correctly:

However, when I add timeStep, the time in the dropdown is now formatted in 24-hour time:

The issue seems to be with this: https://github.com/dubert/react-kronos/blob/master/src/calendar.js#L244. The README mentions:
hour: - string : default: h:mm a

But looking at the source, it seems that minute is used, and the default is HH:mm, and not h:mm a.
To get things working how I want, I had to set:
options={{
  format: {minute: 'h:mm a'}
}}

Had the same issue here.

Just released 1.6.0!
This issue should be addressed, let me know if it is not.


[v1.3] Sort facets value by alphanumerical or count order

⚠ This issue is generated, it means the examples and the namings do not necessarily correspond to the language of this repository.
Also, if you are a maintainer, please add any clarification and instructions about this issue.
Sorry if this is already wholly/partially implemented. Feel free to let me know about the state of this issue in the repo.
Related to https://github.com/meilisearch/integration-guides/issues/280

This issue is divided into two sections, first, you need to make the implementation, and second, you must update the code-samples (no one likes outdated docs, right?).
New implementation
Related to:

issue: https://github.com/meilisearch/meilisearch/issues/3612
discussion: https://github.com/meilisearch/product/discussions/519#discussioncomment-6030480
spec: https://github.com/meilisearch/specifications/pull/247

Adds the ability to sort facets by their value which could be by using alpha or count.
Ensure the SDKs can handle the new index faceting configuration attribute sortFacetValuesBy. This enum could only take count or alpha.
The faceting configuration now have two attributes:
maxValuesPerFacet: integer
sortFacetValuesBy: object
  index_name: alpha|count
  *: alpha|count // when should be applied to all indexes

Code samples
Inside of this file: .code-samples.meilisearch.yml:

Create a new entry with this key facet_search_2 containing a call to the updateFaceting() settings method.
"Translate" the following curl example: https://github.com/meilisearch/documentation/blob/e4fdc3d485c22e31a045b8a71bacf18b6a7d50e0/.code-samples.meilisearch.yaml#L1078

Update getting_started_faceting key to contain the new behavior sortFacetValuesBy
Refer to this curl example: https://github.com/meilisearch/documentation/blob/e4fdc3d485c22e31a045b8a71bacf18b6a7d50e0/.code-samples.meilisearch.yaml#L875

Update update_faceting_settings_1 key to contain the new behavior sortFacetValuesBy
Refer to this curl example: https://github.com/meilisearch/documentation/blob/e4fdc3d485c22e31a045b8a71bacf18b6a7d50e0/.code-samples.meilisearch.yaml#L854

update_faceting_settings_1: |-
  PATCH 'http://localhost:7700/indexes/books/settings/faceting'
  with data: {
    "maxValuesPerFacet": 2,
    "sortFacetValuesBy": {
      "*": "alpha",
      "genres": "count"
    }
  }

TODO:

[ ] Add the ability receive a new param in the updateFaceting settings method called sortFacetValuesBy.
[ ] Update the code-samples accordingly
[ ] Add integration tests

I discussed with @brunoocasali and we don't think we should do any extra transformation in the SDK. We want to keep it simple, and not touch the user data. So it's the user who is responsible for sending the correct data.
Let us know if we missed something


When libreoffice is open, this gem produces error "No such file or directory @ rb_sysopen"

I have noticed everytime I have libreoffice open, and then this gem attempts to convert the word to pdf, it gives me an error "No such file or directory @ rb_sysopen". However, as soon as I close out of libreoffice, the errors go away. How come?

It's a known problem that happens with more recent versions of OpenOffice. I've solved it in another library that I have developed using Elixir: https://github.com/ricn/librex/blob/master/lib/librex.ex#L129. I don't have the time to maintain this gem anymore so pull requests that fixes this problem is welcome.


Onboarding message not shown.

I followed the tutorial and everything went smooth. Even got the 'Thank you' page. But when I add the bot under the 'Apps' section on my Slack app, no Onboarding message is shown.
I send a message to the bot and the ngrok shows POST /listening                200 OK.
Where am I going wrong?
Thank you for the great tutorial though!

Same here. Any progress?


[Legion Go] [BazziteOS KDE v2.4.0] Low download speed lan and wlan.

Describe the bug
Download speed goes up to a maximum of approx. 16 MB/s in lan and wlan as well. I use the internal drive of the Legion Go. My maximum download speed is normally 130 MB/s on the PC or laptop. I have the latest BIOS (N31).
What did you expect to happen?
It works on windows, but no on bazzite.
Output of rpm-ostree status
No response
Hardware
Lenovo Legion Go
Extra information or context
No response

Problem solved: I first had to activate my USB hub in Bazzite eth0. This did not work automatically as with the Steam Deck and therefore continued to download via WLAN.


ios build cannot find babel presets es2015

I had a problem running the ios build. I initially received the error "Module build failed: Error: Couldn't find preset "es2015" relative to directory." I corrected this issue by editing package.json and adding the babel presets manually. I tested this on 2 new install and the only way to build on ios was to add the preset to package.json
"babel": {       "presets": [         "es2015"       ]     }

if you want to use es2015
please
npm install babel-preset-es2015
npm install babel-plugin-transform-runtime
or other babel lib you need


Github doesn't recognise the tag based releases

The latest (and the only) release shown on GitHub page is 1.0.1 even when a lot of newer versions have been released. We should be able to automate the GitHub release process based on the following link.
https://github.com/marketplace/actions/github-create-tag-release

Nice I like this idea!

works now :) bf49a8d97dbbe40035d71201caf3879fe7a7f54d


Is there any way to track the progress?

I used needle to upload my file into my server.
There is any way to track upload progress ?
 var data = {
    fileUpload: { file: file, content_type: 'application/octet-stream' }
};
needle.post(config.URL+api, data, { multipart: true}, function(err, resp, body) {
...
});

Hey there, I would love to have this feature. Yesterday I was all day changing my app from request to this library and I could do everything but this. I really need to know at least the bytes transferred while I'm uploading a file. I tried to do something like this (when I was using request it worked), but req.request.connection._bytesDispatched always returns the same value:
  var stats = jetpack.inspect(file.path)
  var needle_file = {
    buffer: jetpack.read(file.path, 'buffer'),
    content_type: file.type,
    filename: file.name
  }

  var data = {
    parent_id: parentId,
    file: needle_file
  }

  var options = {
    follow: 3,
    multipart: true
  }

  var req = needle.post(fileUploadUrl, data, options,
  function(err, resp, body) {
      clearTimeout(pooler)

      if (resp.statusCode == 201) {
        console.log(body)
      } else {
        console.log(resp.statusCode, resp.statusMessage)
      }
  })

  var pooler = setInterval(() => {
    pCb({percentage: Math.floor(req.request.connection._bytesDispatched * 100 / stats['size']), eta: ''})
  }, 500)

Also I tried using req.on('data', ... but it did't work


Add timezone to tzinfo parsing to pydantic 2.0

Discussed in https://github.com/pydantic/pydantic/discussions/4708

Originally posted by 07pepa November  2, 2022
Pydantic 1.x is missing native suport for timezone parsing  (and since this will probably will not be added natively). I am asking to add it to pydantic 2.x (does not have to be in rust)
hopefully there is something like pytz (but there is issue how to keep database of all timezone up to date without need to recompile/ update rust part)

curently i have this usecase in dict (yaml  :D )  there is string that is validated and converted with pydantic and help of pytz to datetime.tzinfo
(probably there are more usecases)
i can provide code

So you just want to check a string represents a valid timezone?
That seem pretty easy, but also pretty easy to implement as a custom type/validator.
The more complex case would be validating and using a timezone string as part of a datetime object. Part from anything else, that's not covered by ISO8601 or RFC3338 AFAIK.

yep and converting it to tzinfo object
and yes i know exacly what the problem woth RFC and iso but
google solves it like this
{"dateTime": "2022-11-02T16:00:00+01:00", "timeZone": "Europe/Prague"}

Even there is fairly nice solution i still recomend to stay mile away from dealing with timezones
since it is nightmare.

@samuelcolvin Possibly related? https://github.com/pydantic/pydantic-core/issues/589

So you just want to check a string represents a valid timezone?

+1 for this feature. I'd like to be able to use zoneinfo.ZoneInfo as a type in a pydantic model and have it validate to a ZoneInfo object and serialize to a string.
In my case, I store user's timezone preference as a setting in a database using Pydantic/Beanie.
I copied this docs example and came up with this:
class _ZoneInfoPydanticAnnotation:
    @classmethod
    def __get_pydantic_core_schema__(cls, _source_type: Any, _handler: GetCoreSchemaHandler) -> core_schema.CoreSchema:
        def validate_from_str(value: str) -> ZoneInfo:
            try:
                return ZoneInfo(value)
            except ZoneInfoNotFoundError:
                raise ValueError("Invalid timezone")

        from_str_schema = core_schema.chain_schema(
            [
                core_schema.str_schema(),
                core_schema.no_info_plain_validator_function(validate_from_str),
            ]
        )
        return core_schema.json_or_python_schema(
            json_schema=from_str_schema,
            python_schema=core_schema.union_schema(
                [
                    # check if it's an instance first before doing any further work
                    core_schema.is_instance_schema(ZoneInfo),
                    from_str_schema,
                ]
            ),
            serialization=core_schema.plain_serializer_function_ser_schema(
                lambda instance: str(instance), when_used="json"
            ),
        )

TimezoneInfo = Annotated[ZoneInfo, _ZoneInfoPydanticAnnotation]

It seems to work, but still could be nice to have a native pydantic type.
p.s. unrelated to pydantic but for anyone who might stumble across this, I also had to add a custom encoder to Beanie:
class Settings:
    bson_encoders = {ZoneInfo: str}

i am providing also my impleementation that i made last year it is  pure python   (pytz) implementation for reference... feel free to use it in non profit code...or in pydantic ( i do not have time to do it in rust or write tests)
its basicly same as zone info one.
from collections.abc import Callable
from datetime import tzinfo
from typing import (
    Any, Annotated
)

from pydantic import GetJsonSchemaHandler
from pydantic.json_schema import JsonSchemaValue
from pydantic_core import core_schema
from pytz import timezone, UnknownTimeZoneError, InvalidTimeError

class _PydanticTzInfoAnnotation:
    def __init__(self, *args, **kwargs):
        super.__init__(*args, **kwargs)

    @classmethod
    def __get_pydantic_core_schema__(
            cls,
            _source_type: Any,
            _handler: Callable[[Any], core_schema.CoreSchema],
    ) -> core_schema.CoreSchema:

        def check_timezone(tz: str | tzinfo) -> tzinfo:
            if not isinstance(tz, str):
                raise TypeError('timezone must be string')
            try:
                return timezone(tz)
            except UnknownTimeZoneError | InvalidTimeError as tz_info_err:
                raise ValueError from tz_info_err

        tz_schema = core_schema.chain_schema(
            [
                core_schema.str_schema(),
                core_schema.no_info_plain_validator_function(check_timezone),
            ]
        )

        return core_schema.json_or_python_schema(
            json_schema=tz_schema,
            python_schema=core_schema.union_schema(
                [
                    # check if it's an instance first before doing any further work
                    core_schema.is_instance_schema(tzinfo),
                    tz_schema,
                ]
            ),
            serialization=core_schema.plain_serializer_function_ser_schema(
                lambda instance: str(instance)
            ),
        )

    @classmethod
    def __get_pydantic_json_schema__(
            cls, _core_schema: core_schema.CoreSchema, handler: GetJsonSchemaHandler
    ) -> JsonSchemaValue:
        return handler(core_schema.int_schema())

PydanticTzInfo = Annotated[
    tzinfo, _PydanticTzInfoAnnotation
]

I'd like to see better zoneinfo/tzinfo support added to pydantic-extra-types.


Fix height issues on Mental Health Difficulties Section

Hii! mam I would like to fix these height issues on these card  as right now it is not perfect. Kindly assign me this task. Thank you.

I would like to make it like this

if you want to change the design i would love to do that.

if you want to change the design i would love to do that.

Yes please, go ahead with the designing part, but do remember that it should match with the theme of the site.

Thank you mam for assigning me


exception propagation

php 7.3.10
$promise = new Promise();
$promise->then(
    function () {
        throw new \Exception('Exception!');
    },
    function () {
        echo 'test';
    }
);
$promise->resolve('123');
echo 'Everything is ok';

Result: 'Everything is ok'
Expected: exception with message 'Exception!'.

Yeh, that's correct. You need to pass a 3rd callback to handle the failure case.

The exception only gets throw when you actually wait. resolve doesn't wait. Please see the READM: https://github.com/guzzle/promises#synchronous-wait.

The actual code you want is:
$p1 = new Promise();
$p2 = $p1->then(
    function () {
        throw new \Exception('Exception!');
    },
    function () {
        echo 'test';
    }
);
$p1->resolve('123');
$p2->wait();
echo 'Everything is ok';

Thank you, it works!
I would like to not write additional code to throw exception, but I am glad, that everything could work. If you know another way, share it, else close this issue.


not working, would pay you to just get this working. message me,<PHONE_NUMBER>5 on whatsapp, imessage whatever.

Hi, I could definitely get this working as I know what is outdated. The API it's calling is depreciated.

Hi, I could definitely get this working as I know what is outdated. The API it's calling is depreciated.

Hi there would you update it?

also willing to pay to have a working chat bot as well. crashes after AI makes out what was said to it.


The win/lose screen does not get the stars right.

The win/lose screen does not show the half star.

el error era solo en trivia, ya se arregló


URDF meshes not loaded in Gazebo

Hi, great looking project.
I wonder if this error is due to the fact that the meshes can not be published to the spawner?

Full log https://gist.github.com/newcanopies/77ec07996077c8bfa3db45e56bfc80dd

Also, in my instance, gzclient remained hanging after terminal Ctrl-C

Perhaps some version of process.on('SIGINT', () => process.exit(1)) would take care of that.

Hi sorry i've just noticed your issue. For some reason i didn't get a github notification. Did you solve your problem ?
I'm starting to work on this again and i noticed it's heavily broken. I'm currently working on a new implementation using docker and release packages which should hopefully make it better


End Time is an integer

rmf-web : main branch
The End Time for a task as populated in the Robots tab seems to be an integer. It is however correctly populated in the card on the right side panel.

I think this is to represent the duration needed for the tasks since the value is end_time - start_time. If that's the case then changing the title to something more appropriate would do. Maybe @vallq can clarify the original intention?

hi sorry, I missed this. but the original design was for this to be an ETA (duration) instead of End Time. The integer right now is an estimate in seconds with the start and end time

fixed by #394


Replacing NetworkOptions with TransactionOptions

NetworkOptions is now not needed after the static fields refactor.

Ok I'm happy with this, I'm now syncing bitcoin Main.


Google API address data support

It would be great to support google address locations API for this.
We are developing a 'dealer' locator tool for one of our clients and they need to input their dealer's address and ensure the address data is returned in the map pin on google maps.
so a postcode/address search would be required in the sanity studio, and the data stored would need to be a full google maps location/address object from the API.

I too am implementing a feature with a similar requirement, full access to the location/address object would be highly useful.

Hi @summer-mute  did you find an alternative solution for this? Not really sure how best to handle it. I'm surprised we're the first to request such support.

@toddpadwick I used the google maps api geocode to take the lat and long and decode to get the full address. Not sure why this isnt implemented as part of the package already 🤷🏼♀
`export async function POST(req: Request) {
try {
const body = await req.json();
const { latitude, longitude } = body;

if (!latitude || !longitude) {
  throw new Error('Latitude and longitude parameters are required.');
}

const response = await fetch(
  `https://maps.googleapis.com/maps/api/geocode/json?latlng=${latitude},${longitude}&key=${googleMapsApiKey}`,
);
const data: GeocodeResponse = await response.json();

if (data.status === 'OK' && data.results && data.results.length > 0) {
  return NextResponse.json({
    status: 200,
    address: data.results[0].formatted_address,
    fullAddress: createStructuredAddress(
      data.results[0].address_components,
    ),
  });
} else {
  throw new Error('Address not found');
}

} catch (error) {
console.error('Error fetching address:', error);
}
}`


[CI] Use packaged Verilator build for OTBN Smoke test

This was missed in #3189, as the OTBN smoke tests only run on master, if no
OTBN changes are present.

CI was green including for the smoke test. I now removed the test commit and will merge as soon as we're green again.


P/L calculations seems off using NANOS

This is a 1 multiplier product. I'm using it as some kind of hedge. Cash settled.

Bonus question but, it apply to this ticker as well, how do you handle cash settled products at the end of the day? How i'm supposed to action? Mark it as expired or assigned or just close it with 0 fees and calculate the strikes myself?

When you entered your original trade information you probably needed to manually adjust the "multiplier" from 100 to 1.

By default, the multiplier will be 100 unless it detects certain Futures symbols.
If you want NANOS to always default to "1" multiplier then you can edit the "tt-config.txt" text file and add the following line at the end of it:
MULTIPLIER|NANOS|1
As for your bonus question, you should select each leg (using Ctrl+Click, or Shift+click) of the trade and then right-click on one of the selected legs and select Expire Legs. I think that's the proper way to handle trades that finish out of the money. If one or more legs are in the money then I would select "Close" and enter the cash you have to pay as a Debit amount. Assigned is usually for Option legs that get assigned to Shares or Futures contracts.

I've put 1 in the multiplier for all of them. I will check for the tt-config.txt and see if it helps.
Thanks

I re-read your original question. I don't think that the multiplier has anything to do with the problem. Was the screenshot taken during market open hours or after the market closed? I am surprised that the data is showing 0.00 for the current market price so that's why I am asking. If after hours then maybe the data is not being received accurately.

It's also not picking up the NANOS option leg deltas. They are all displaying as zeros which would lead me to think that it is after hours. Not sure.

Not impossible. I will advise in the morning tomorrow. It's not the most liquid asset out there. But spreads are good enough for a hedge that you just cash settle on small accounts.

Took just now at 1pm eastern.

Gotcha, so the current price is the culprit then. No rush, im only on demo testing stuff for now anyway.
Thanks for the help

Looks good to me. Thanks


POL-217: Add Syntax examples for Condition builder

I'm not getting the final spacing around the StackItem 'right', too much space, or able to figure out how to get the drop down flag widget moved to the left of the accordian display.

I see that you used the accordion component, but the Expandable  (I think you can use the Uncontrolled one) matches design better.
There are conflicts now

Rebased to get rid of merge errors.
1)Used the new component and removed all the other code related to the previous component and state tracking.
2)The spacing inside the Expandable is bigger than I thought it would be. Suggestions? Should we put a small gray box around it when expanded? The issue is that fully expanded the conditions box is pushed off the screen.  Go still smaller on the text size? Decrease spacing in between lines?

I think we need to put a left padding (see mock up) of the expanded content (but not the expandable link it self) to align it properly

2)The spacing inside the Expandable is bigger than I thought it would be. Suggestions? Should we put a small gray box around it when expanded? The issue is that fully expanded the conditions box is pushed off the screen.  Go still smaller on the text size? Decrease spacing in between lines?

The spacing inside seems too much for me, in the design looks good because the space is too big  there :)
@katierik what do you suggest? should we pull the condition text above the text or?

How does that look scrolled down? I.e. when the examples are expanded and I want to finally write the rule? Should the rule input field always be visible and only the examples scrolling (if expanded)?

To make sure I understand -
1 - We cannot achieve the spacing around the expandable header

2 - We cannot indent the content in

?

1 - We cannot achieve the spacing around the expandable header
2 - We cannot indent the content in

I think we can do that, @spinder can you apply these changes?
Also, for the monospaced fonts, we can use the font-family 'monospace'.
To do that we can create a monospace className with typestyle and use fontFamily: 'monospace' and apply that className where required, see https://github.com/RedHatInsights/policies-ui-frontend/blob/8ae293685763bb102bb257518201a66920bb82d3/src/components/Policy/Table/ExpandedContent/Actions.tsx#L22-L24 and https://github.com/RedHatInsights/policies-ui-frontend/blob/8ae293685763bb102bb257518201a66920bb82d3/src/components/Policy/Table/ExpandedContent/Actions.tsx#L93

We can probably reduce the spacing more with the text styles

I think I've made the suggested changes, but it still a bit too big(IMO) to see the Conditions after expanding.  @josejulio, @katierik ? Wdyt.

Indented the usage area.

With the typeahead on conditions, the options are hard to use / see when "condition examples" are unrolled.
When I try to scroll, it loses it focus and the suggestions box closes.
Should we move the condition text to the top? or what we can do in this case?

@katierik

@josejulio, does this work? I did some quick checking and it looks like the widgets continue to work correctly. Please give it the once over..


Clarify the behavior of pipenv regarding the config param python_version

I started to use pipenv recently. One behavior I don't understand yet is how pipenv handles the required Python version specified in the file Pipfile (and Pipfile.lock). Does pipenv install the required version of Python if it is not the default version installed on the system or one of the version installed, e.g. via pyenv? Does pipenv throws an error if the requirement is not met?

Dev environment
$ python --version
Python 3.9.10

$ which python
/home/tschaffter/.pyenv/shims/python

$ pyenv versions
  system
* 3.9.10 (set by /home/tschaffter/.pyenv/version)

$ pipenv --version
pipenv, version 2022.1.8

Removing a virtualenv
From a working directory, run pipenv --rm to remove the virtualenv associated to this working directory.
$ pipenv --rm
Removing virtualenv (/home/tschaffter/.local/share/virtualenvs/test-pipenv-KLFHZll-)...

Pipenv does install required version of Python
$ pipenv shell
Creating a virtualenv for this project...
Pipfile: /home/tschaffter/dev2/tschaffter/test-pipenv/Pipfile
Using /usr/bin/python3.7m (3.7.3) to create virtualenv...
⠴ Creating virtual environment...created virtual environment CPython3.7.3.final.0-64 in 339ms
  creator CPython3Posix(dest=/home/tschaffter/.local/share/virtualenvs/test-pipenv-KLFHZll-, clear=False, no_vcs_ignore=False, global=False)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/tschaffter/.local/share/virtualenv)
    added seed packages: pip==22.0.3, setuptools==60.6.0, wheel==0.37.1
  activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator

✔ Successfully created virtual environment!
Virtualenv location: /home/tschaffter/.local/share/virtualenvs/test-pipenv-KLFHZll-
Launching subshell in virtual environment...
 . /home/tschaffter/.local/share/virtualenvs/test-pipenv-KLFHZll-/bin/activate
tschaffter@DESKTOP-H29C5A0:~/dev2/tschaffter/test-pipenv$  . /home/tschaffter/.local/share/virtualenvs/test-pipenv-KLFHZll-/bin/activate
(test-pipenv) tschaffter@DESKTOP-H29C5A0:~/dev2/tschaffter/test-pipenv$ python --version
Python 3.7.3
(test-pipenv) tschaffter@DESKTOP-H29C5A0:~/dev2/tschaffter/test-pipenv$ pyenv versions
  system
  3.8.12
* 3.9.10 (set by /home/tschaffter/.pyenv/version)

Even though I don't have Python 3.7 installed on my system or with pyenv, pipenv installed the version of Python specified in the Pipfile.

Pipenv does install the require version of Python (via pipenv install)
$ pipenv install --deploy --dev
Creating a virtualenv for this project...
Pipfile: /home/tschaffter/dev2/tschaffter/test-pipenv/Pipfile
Using /usr/bin/python3.7m (3.7.3) to create virtualenv...
⠹ Creating virtual environment...created virtual environment CPython3.7.3.final.0-64 in 150ms
  creator CPython3Posix(dest=/home/tschaffter/.local/share/virtualenvs/test-pipenv-KLFHZll-, clear=False, no_vcs_ignore=False, global=False)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/tschaffter/.local/share/virtualenv)
    added seed packages: pip==22.0.3, setuptools==60.6.0, wheel==0.37.1
  activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator

✔ Successfully created virtual environment!
Virtualenv location: /home/tschaffter/.local/share/virtualenvs/test-pipenv-KLFHZll-
Pipfile.lock not found, creating...
Locking [dev-packages] dependencies...
Locking [packages] dependencies...
Updated Pipfile.lock (a65489)!
Installing dependencies from Pipfile.lock (a65489)...
  🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 0/0 — 00:00:00
tschaffter@DESKTOP-H29C5A0:~/dev2/tschaffter/test-pipenv$ pipenv run python --version
Python 3.7.3

Conclusions
When being in a working directory with a Pipenv AND no virtualenv already existing for this directory: running pipenv shell or pipenv install will create a virtualenv with the required version of Python specified in the Pipfile using pyenv or asdf. If any of these programs are found, pipenv won't be able to create the virtualenv.
$ pipenv install
Warning: Python 3.7 was not found on your system...
Neither 'pyenv' nor 'asdf' could be found to install Python.
You can specify specific versions of Python with:
$ pipenv --python path/to/python

Another observation is that the version of Python of a virtualenv can not be changed once it has been created. For example, create a virtualenv with py3.9, exiting the virtualenv, editing the Pipenv to set the required version to py3.8 and starting the virtualenv again with pipenv shell will results in the following warning. Pipenv will also use the version of Python specified when creating the virtualenv.
 pipenv shell
Warning: Your Pipfile requires python_version 3.8, but you are using 3.9.10 (/home/t/.local/share/v/t/bin/python).
  $ pipenv --rm and rebuilding the virtual environment may resolve the issue.
  $ pipenv check will surely fail.
Launching subshell in virtual environment...
 . /home/tschaffter/.local/share/virtualenvs/test-pipenv-KLFHZll-/bin/activate
(test-pipenv) $ python --version
Python 3.9.10

The recommended solution to change the version of Python used in a working directory is to run pipenv --python 3.8, for instance. If the specified version is different from the version used to create the virtualenv initially, pipenv will prompt you to remove the existing virtualenv before it can create a new one.
(test-pipenv) tschaffter@DESKTOP-H29C5A0:~/dev2/tschaffter/test-pipenv$ python --version
Python 3.9.10
(test-pipenv) tschaffter@DESKTOP-H29C5A0:~/dev2/tschaffter/test-pipenv$ pipenv --python 3.8
Virtualenv already exists!
Remove existing virtualenv? [Y/n]: y
Removing existing virtualenv...
Creating a virtualenv for this project...
Pipfile: /home/tschaffter/dev2/tschaffter/test-pipenv/Pipfile
Using /home/tschaffter/.pyenv/versions/3.8.12/bin/python3.8 (3.8.12) to create virtualenv...
⠴ Creating virtual environment...created virtual environment CPython3.8.12.final.0-64 in 323ms
  creator CPython3Posix(dest=/home/tschaffter/.local/share/virtualenvs/test-pipenv-KLFHZll-, clear=False, no_vcs_ignore=False, global=False)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/tschaffter/.local/share/virtualenv)
    added seed packages: pip==22.0.3, setuptools==60.6.0, wheel==0.37.1
  activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator

✔ Successfully created virtual environment!
Virtualenv location: /home/tschaffter/.local/share/virtualenvs/test-pipenv-KLFHZll-
(test-pipenv) tschaffter@DESKTOP-H29C5A0:~/dev2/tschaffter/test-pipenv$ python --version
Python 3.8.12

Tagging @tthyer @thomasyu888 @vpchung @rrchai

Awesome assessment!  I did find the relationship between pipenv, virtuvalenv and pyenv to be slightly confusing so this is great!  Can this be contributed to the developers hand book?


Docker: The upstream server is timing out

Bug report
Describe the bug
I am trying to implement supabase in a self-hosted environment.
I could not make the storage work in a remote VPS.
I get "The upstream server is timing out" when trying to upload a file.
The entries are correctly created in the database storage.objects though.
To Reproduce
I used the default docker-compose.yml from the doc with STORAGE_BACKEND: file. My intuition is that it has something to do with FILE_STORAGE_BACKEND_PATH?
Expected behavior
The file is uploaded.
Screenshots
/
System information

OS: Ubuntu
Version of supabase-js: supabase/storage-api:v0.10.0
Version of Node.js: v18.3.0

Additional context
Logs from storage when I try to upload:
supabase-storage | [1655166215767] INFO (7 on dd6a4334ff1e): incoming request
supabase-storage |     req: {
supabase-storage |       "method": "POST",
supabase-storage |       "url": "/object/74c7f520-42cf-4ae6-8c08-0479d58f9f8a/Screenshot%202022-04-27%20at%2016.55.23.png",
supabase-storage |       "hostname": "storage:5000",
supabase-storage |       "remoteAddress": "<IP_ADDRESS>",
supabase-storage |       "remotePort": 55780
supabase-storage |     }
supabase-storage |     reqId: "req-9"
supabase-storage | [1655166215773] INFO (7 on dd6a4334ff1e): content-type is multipart/form-data; boundary=----WebKitFormBoundarymG0C2C2F66QwFd1q
supabase-storage |     reqId: "req-9"
supabase-storage |     tenantId: "stub"
supabase-storage | [1655166215815] INFO (7 on dd6a4334ff1e): results
supabase-storage |     results: null
supabase-storage |     reqId: "req-9"
supabase-storage |     tenantId: "stub"
supabase-storage | [1655166276139] INFO (7 on dd6a4334ff1e): incoming request
supabase-storage |     req: {
supabase-storage |       "method": "POST",
supabase-storage |       "url": "/object/sign/74c7f520-42cf-4ae6-8c08-0479d58f9f8a/Screenshot%202022-04-27%20at%2016.55.23.png",
supabase-storage |       "hostname": "storage:5000",
supabase-storage |       "remoteAddress": "<IP_ADDRESS>",
supabase-storage |       "remotePort": 55784
supabase-storage |     }
supabase-storage |     reqId: "req-a"
supabase-storage | [1655166276178] INFO (7 on dd6a4334ff1e): results
supabase-storage |     results: {
supabase-storage |       "id": "26ae454f-b2a4-42d4-bee5-bf31d1881bb5"
supabase-storage |     }
supabase-storage |     reqId: "req-a"
supabase-storage |     tenantId: "stub"
supabase-storage | [1655166276181] INFO (7 on dd6a4334ff1e): going to sign /object/sign/74c7f520-42cf-4ae6-8c08-0479d58f9f8a/Screenshot%202022-04-27%20at%2016.55.23.png
supabase-storage |     reqId: "req-a"
supabase-storage |     tenantId: "stub"
supabase-storage | [1655166276186] INFO (7 on dd6a4334ff1e): request completed
supabase-storage |     res: {
supabase-storage |       "statusCode": 200
supabase-storage |     }
supabase-storage |     responseTime: 43.80145001411438
supabase-storage |     reqId: "req-a"
supabase-storage |     tenantId: "stub"

what path are you trying to write the file to?
did you mount a persistent volume?

Feel free to re-open when providing more info


[SPARK][Structured Streaming] FIx StructuredNetworkWordCountWindowed exaple

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

Please fill out the template. You haven't explained the issue or fix, small as it may be


ci: Passthrough OXC_VERSION and JEMALLOC_SYS_WITH_LG_PAGE to build container

Fixes:

https://github.com/oxc-project/oxc/issues/4891

Currently only Mac OS and Windows versions return correct version. Linux versions still returns dev. This is caused by Mac OS and Windows building on the host (logs), while Linux is building inside a container. Container builds do not have access to host env variables by default.

Thank you, nice catch.


Python: Add api and types docs and refactor index.

@lukesneeringer can you take a look at the baselines to make sure they are correct?

Codecov Report

Merging #1503 into master will decrease coverage by 0.04%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #1503      +/-   ##
============================================
- Coverage     87.03%   86.99%   -0.05%
+ Complexity     4119     4114       -5
============================================
  Files           405      405
  Lines         16518    16521       +3
  Branches       1759     1753       -6
============================================
- Hits          14376    14372       -4
- Misses         1666     1673       +7
  Partials        476      476

Impacted Files
Coverage Δ
Complexity Δ

...odegen/viewmodel/metadata/PackageMetadataView.java
83.33% <ø> (ø)
4 <0> (ø)
:arrow_down:

...ansformer/py/PythonPackageMetadataTransformer.java
100% <100%> (+0.81%)
32 <7> (-1)
:arrow_down:

...le/api/codegen/gapic/MainGapicProviderFactory.java
93.66% <100%> (-0.03%)
17 <0> (ø)

.../google/api/codegen/gapic/CommonGapicProvider.java
73.68% <0%> (-10.53%)
8% <0%> (-2%)

...ogle/api/codegen/gapic/ViewModelGapicProvider.java
77.14% <0%> (-5.72%)
6% <0%> (-2%)

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 6be2f9a...1cb7c7d. Read the comment docs.

@eoogbe can you take a look at the changes to the generator?


Can jobs not be resumed after rebooting?

I suspended some jobs because I had to make a change in the UEFI, and they showed up with status STP as expected. After a reboot plotman can't find those jobs anymore, is that a limitation of plotman or did something go wrong on my end?

Chia doesn't support that.  That's a chia issue, not plotman.
On Sat, May 1, 2021, 11:05 locque @.***> wrote:

I suspended some jobs because I had to make a change in the UEFI, and they
showed up with status STP as expected. After a reboot plotman can't find
those jobs anymore, is that a limitation of plotman or did something go
wrong on my end?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ericaltendorf/plotman/issues/207, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARPZIFUTAOJAHD2EREDXILDTLQ7GBANCNFSM436RQFAQ
.

As a bit more, suspend/stop is a general Linux feature.  A common exercise of this is when people ctrl+z a foreground process to pause it then later fg to bring it back.  I'm not sure what other details there are, but in a simple form anyways it just stops giving cpu time to the process.  It makes no attempt to serialize the process to disk so it could be recovered after a reboot.  I haven't actually done it, but hibernate is the closest idea I've got to being able to recover a plotting process after power off.

Hey, I've been working on this issue independantly here: https://github.com/jwest75674/chia-suspend
Not sure that my approach fits into the plotman infrastructure, but maybe it can help show how I managed to acheive suspending the plotting process across system shutdowns?


Webpack Loader issue when exporting SVGs

Reporting a bug or issue

Expected behavior:

When using the quick start guide, I should be able to see the result in sketch.

Observed behavior:
Got this error when running skpm-build
error Error while building ./my-command.js
./node_modules/react-sketchapp/lib/module/components/index.js 6:9
Module parse failed: Unexpected token (6:9)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| export { Image } from './Image';
| export { RedBox } from './RedBox';
> export * as Svg from './Svg';
| export { View } from './View';
| export { Text } from './Text';
 @ ./node_modules/react-sketchapp/lib/module/index.common.js 5:0-29 5:0-29
 @ ./node_modules/react-sketchapp/lib/module/index.sketch.js
 @ ./src/my-command.js

How to reproduce:
I just followed the install guide. Both the curl command and the cloning the repo.
Sketch version:
Please attach screenshots, a zip file of your project, and/or a link to your github project
Here is the project I tried running it on, which is just the cloned repo.
I also tried setting up things manually in my own repo I planned to use it in, and got the same result.
basic-setup.zip

Hi, there's a related discussion here: #508 . It seems to be caused by a switch from commonjs imports to ES imports. As a simple fix, try this:
Create a new file in your project root (e.g. basic-setup folder): webpack.skpm.config.js
const path = require('path');

module.exports = (config) => {
  if (process.env.LOCAL_DEV) {
    config.resolve = {
      ...config.resolve,
      alias: {
        ...config.resolve.alias,
        'react-sketchapp': 'react-sketchapp/lib',
      },
    };
  }
};

If that doesn't work, you can try running this in your Terminal (as a temporary fix to unblock for now):
cd basic-setup # if not done yet already
npm install --save --save-exact<EMAIL_ADDRESS>npm install --save --save-exact<EMAIL_ADDRESS>rm webpack.skpm.config.js # The one included in `basic-setup` has an unnecessary node object override that breaks the build


Update Prose-Style-Guidelines.md

Some users may not understand the usage of the word “trump” in this context, and therefore simpler words could be used without changing the meaning.

[ x] Have you followed the guidelines in our Contributing document?
[x ] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ x] Have you written new tests for your changes? Here's an example.

[x ] Have you successfully run brew tests with your changes locally?

Thanks so much for your first contribution (hopefully of many)!  You rock, @SFU-TechnicalWriter!


Map out different project management platforms

We'll still with GitHub Project Boards, but would be useful to know what exists

Not really relevant anymore, we settled on GitHub Projects


update database in new apk version

Is there a way to add new content to the database in the previous version of the game that was stored in the user's phone and changes were made in its fields?
How can the database be updated by retaining the previous content?

I think you must do it manually,
Run some sql script at the beginning of the game.


[2.x] dom-bind stamps

Description
Template binding fails to stamp template with is attribute.
Live Demo
https://jsbin.com/bacoteb/7/edit?html,console,output
Steps to Reproduce
  <dom-bind>
    <template>
        <template is="my-template"></template>
    </template>
  </dom-bind>

Expected Results
<template> element should be stamped.
<template is="my-template"></template>
<dom-bind>...</dom-bind>

Actual Results
<my-template> is stamped
<template> element should be stamped.
<my-template></my-template>
<dom-bind>...</dom-bind>

Browsers Affected

[x] Chrome
[x] Firefox
[x] Edge
? Safari 9
? Safari 8
[x] IE 11

Versions

Polymer: # 2.0-preview @70133aa69753fc375cfb108337e944333b160883
webcomponents: # v1 webcomponents/webcomponentsjs@9892fbccde417a7b0cbf9c181e35b56e28d7e808

Debugging results
<template> (w/o is attribute) is stamped correctly, other native elements are also stamped as <nativeelement is="my-element">
Proposed fix
https://github.com/Polymer/polymer/pull/4069

Fixed via Fixed via https://github.com/Polymer/polymer/pull/4069


Crashes, Windows 10 double upload

Hi,
With SnagIt 12, plugin crashes on Windows 10,
Conditions to crash

Should be your second upload to imgur on same session. (So does not crash at first upload)
Options should be:
Copy image URL to clipboard - YES (Checked)
Open the browser with the image - NO (Unchecked)
Show notification window on success - YES (checked)

Not sure which of these options are avaiable, but when I say "Open the browser" as checked, it is fixed, however, options reset every reboot.

Hey i've created a fix to what sounds like your problem (I had the same one). Until the developer addresses the problem directly you can install the current version he has released with the bug and use these instructions to update it  with my changes after installing.

Download my branch by going here and pressing download zip - https://github.com/ebmp19/SnagitImgur/tree/FixedWindows10Crash

Extract the zip and run the file build.cmd (press more info then run anyway if there's a security error)

Close Snagit

Browse to the /output/Release folder and copy everything to %userprofile%\AppData\Local\TechSmith\SnagIt\Accessories{EDA9F1DD-85B9-44F6-9D3C-125B2DD1109D}

@ebmp19 I'm attempting to implement your fix here, but everytime I run the build.cmd (even "as administrator") there is nothing in the /output/Release folder. Suggestions?

I'm having the same issue described by OP and the fix by @ebmp19 worked for me but the plugin location wasn't %userprofile%\AppData\Local\TechSmith\SnagIt\Accessories{EDA9F1DD-85B9-44F6-9D3C-125B2DD1109D}
I browsed %userprofile%\AppData\Local\TechSmith\SnagIt\ folders to find the one that referenced imgur. Thanks!

@illgitthat Glad to hear it! Can you provide a modified version of @ebmp19 's instructions that worked for you? (As you can see from my comment, I didn't have anything in the /output/Release folder after running build.cmd)

@derekantrican I only modified step 4. It didn't require running as administrator for me (I have user account control disabled so I didn't get that prompt either).
Since it's not working for you, maybe try running the commands one at a time to see if you get any errors from build.cmd

Open command prompt and change directory to the same directory as build.cmd
paste in these commands one line at a time
[code]
if "%config%" == "" (
set config=Release
)
[/code]
See if you get any relevant errors.

@illgitthat I guess I'm confused. I'm not sure if you mean copy a line, past in cmd, press enter, repeat or copy a line, paste in cmd, repeat, then press enter.
As you can see, I've tried both but to no avail: http://i.imgur.com/h7u0AXu.png

(For my last comment, I was running in the wrong directory - so I deleted the comment)
Ok, @illgitthat here's the results: http://pastebin.com/0QNNU6mh

@derekantrican sorry about that I'm actually not sure if running it line by line like that will work. Line 14 is giving an error but you should have nuget.exe in src.nuget\nuget.exe.
Hmm, what happens when you run it? It creates the output/Release folder but there is nothing in it? Sorry I couldn't be of more help.

@illgitthat Yes, I have a nuget.exe in src\.nuget
Yes, just creates output/Release with nothing in it (screen recording for reference: https://youtu.be/nY5ZxzN52Ko )

@derekantrican from the video it looks like the error is from not having Microsoft.NET\Framework\v4.0.30319 (if you play back the video it shows version 30319 not available for... error)
I think the next step is either changing that version number in build.cmd to the build you have installed or by downloading that version of Microsoft.NET

@illgitthat So I checked for the path that is listed in build.cmd and it does exist on my computer (screenshot: http://i.imgur.com/W8zRszV.png ). Though I did check Control Panel and these are the versions it lists as installed: http://i.imgur.com/MwGmtfb.png
I am a software developer that programs in Visual Studio and C# daily - is there anything "advanced" that I can try?

@derekantrican your experience is probably much greater than mine then. For the record your msbuild directory and version installs look the same as mine, http://i.imgur.com/ln6GOLi.png
I'm not sure why it's not recognizing it. Sorry I couldn't be of more help.

Even though I haven't put any more effort into it since my last comment, the plugin is no longer crashing for me now!

Step 4: Missing a \ in your path, so users copy / pasting will probably error.
Please update to:
%userprofile%\AppData\Local\TechSmith\SnagIt\Accessories\{EDA9F1DD-85B9-44F6-9D3C-125B2DD1109D}


Relay State not passed

Hi Team, despite configuring Relay state attribute in the SAML Basic configuration, the user isn't redirected to the page configured in the relay state. Any idea?

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

ID: a9282b8a-8c91-94f5-f584-418bea19bb42
Version Independent ID: 0e1eccca-e9fc-88af-6870-dc2474fbad56
Content: Tutorial: Azure Active Directory single sign-on (SSO) integration with Salesforce
Content Source: articles/active-directory/saas-apps/salesforce-tutorial.md
Service: active-directory
Sub-service: saas-app-tutorial
GitHub Login: @jeevansd
Microsoft Alias: jeedes

@niket10x Thanks for the feedback !  I have assigned this issue to content author to investigate and update the document as appropriate.

@niket10x I dont think Salesforce app support the RelayState feature. So please work with Salesforce team and get the right guidance.

#please-close


How to use OpenLitespeed?

For apache2 and nginx I know that I have to put my public code into /var/www/html but it doesn't seems working with openlitespeed. It seems after configuring itself it shuts down.
The issue is probably because I do not know how to use it properly. Where should I put my test code to get something on the output?

OpenLiteSpeed reads the location that is set in the OpenLiteSpeed server configuration /etc/litespeed/httpd_config.conf and furthermore in the virtualhost configuration /etc/litespeed/vhosts/Example/vhconf.conf. With this image that is in the /var/lib/litespeed/Example/html.
Coming up in the documentation.

Okay, I've tried to look the files but I didn't able to pinpoint the document root, I will do some research later about it.

Okay, so here is what I found out:
http://open.litespeedtech.com/mediawiki/index.php/Help:Repositories
http://open.litespeedtech.com/mediawiki/index.php/Help:Default_PHP_Settings
The example output port is :8088 and you can reach an administration site on :7080
default login is admin / 123456
From there you need to create your vhost and listener where in the vhost settings you need to set the document root in the General tab and add a lsphp script handler for php files on the Script Handler tab. After you done thing your script should be running.
I created the sample configuration and if you override this files in the /etc/litespeed location the :80 port will be active and the /var/www/html will be the document root.

hello,
Hope you guys are doing well.
I need your assistance in setting up wordpress on litespeed server. I am running windows 10 pro, latest docker version and docker-compose. I have copied your Dockerfile-7.0-litespeed  and tags folder into the separate directory in my computer drive and i run the docker command to build an image docker run --name openlitespeed -i -t -p 80:8088 -p 7080:7080 -d litespeed and it work, i can see the litespeed login page and now i m in the litespeed dashboard and i have no idea what to do next its very confusing do i have install the php again as i have done it with your provided dockerfile and what will be my root directory how can i access on computer drive and what about the mysql.
Please would really appreciate your help for understanding me all these things.
Thank you very much.

You don't have to reinstall php again, you can use the provided lsphp.

you need to create your `vhost´ and ´listener´ where in the vhost settings you need to set the document root in the ´General´ tab and add a ´lsphp´ script handler for php files on the ´Script Handler´ tab. After you done then your script should be running.

Alternatively you can download my provided configuration, copy it into the ´/etc/litespeed´ location and add your wordpress public root to the ´/var/www/html´

I have used you @adaliszk suggested configuration with no success. Litespeed keeps restarting even with the default configuration.  Maybe can you create an example repo with a working configuration using phpearth/php:7.2-litespeed ?
 starts successfully!
2019-07-21 02:11:26.854149 [NOTICE] Child: 84] Core dump is enabled.
2019-07-21 02:11:26.854172 [NOTICE] [Child: 84] Setup swapping space...
2019-07-21 02:11:26.854259 [NOTICE] [Child: 84] LiteSpeed/1.5.0 Open
        module versions:
        modpagespeed 2.1-<IP_ADDRESS>
        cache 1.56
        modinspector 1.1
        uploadprogress LSIAPI_VERSION_STRING
 starts successfully!
[OK] Send SIGUSR1 to 30
2019-07-21 02:11:28.816947 [NOTICE] Server Restart Request via Signal...
2019-07-21 02:11:28.817307 [INFO] Pass listener *:7080, copy fd 10 to 1001.
2019-07-21 02:11:28.818528 [INFO] Pass listener *:8080, copy fd 11 to 1000.
2019-07-21 02:11:28.821566 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets belong to process 77 !
2019-07-21 02:11:28.823044 [NOTICE] [AutoRestarter] child process with pid=77 exited with status=0!
2019-07-21 02:11:28.823168 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets belong to process 78 !
2019-07-21 02:11:28.823373 [NOTICE] [AutoRestarter] child process with pid=78 exited with status=0!
2019-07-21 02:11:28.823447 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets belong to process 79 !
2019-07-21 02:11:28.825037 [NOTICE] [AutoRestarter] child process with pid=79 exited with status=0!
2019-07-21 02:11:28.825121 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets belong to process 80 !
2019-07-21 02:11:28.839430 [NOTICE] [AutoRestarter] child process with pid=80 exited with status=0!
2019-07-21 02:11:28.839654 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets belong to process 81 !
2019-07-21 02:11:28.940002 [NOTICE] [AutoRestarter] child process with pid=81 exited with status=0!
2019-07-21 02:11:28.940056 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets belong to process 82 !
2019-07-21 02:11:29.001752 [NOTICE] [AutoRestarter] child process with pid=82 exited with status=0!
2019-07-21 02:11:29.001810 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets belong to process 83 !
2019-07-21 02:11:29.103394 [NOTICE] [AutoRestarter] child process with pid=83 exited with status=0!
2019-07-21 02:11:29.103461 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets belong to process 84 !
2019-07-21 02:11:29.205518 [NOTICE] [AutoRestarter] child process with pid=84 exited with status=0!
2019-07-21 02:11:29.205586 [NOTICE] [PID:30] Server Stopped!
[OK] Send SIGUSR1 to 102
[OK] Send SIGUSR1 to 171
[OK] Send SIGUSR1 to 240
[OK] Send SIGUSR1 to 309
[OK] Send SIGUSR1 to 378
[OK] Send SIGUSR1 to 447
[OK] Send SIGUSR1 to 516
[OK] Send SIGUSR1 to 585
[OK] Send SIGUSR1 to 654
[OK] Send SIGUSR1 to 723
[OK] Send SIGUSR1 to 792
[OK] Send SIGUSR1 to 861
[OK] Send SIGUSR1 to 930
[OK] Send SIGUSR1 to 999
[OK] Send SIGUSR1 to 1068
[OK] Send SIGUSR1 to 1137

Sorry for the late answer @josenobile, I'll set up one in the morning ;)

I have same issue similar to  @josenobile, no luck to get it to work .

@josenobile, @mhadaily, sorry for disappearing. I've created some examples and a little guide on how to set up the OpenLiteSpeed here: https://github.com/adaliszk/phpearth-litespeed-examples
The old zip had an issue that the Application folder wasn't wrapped with the vhosts folder, so it failed to load it.


Problem 0006: solved.

Codecov Report

Merging #17 (03d06c7) into main (b34316e) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #17   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           19        21    +2
  Lines          331       354   +23
=========================================
+ Hits           331       354   +23

Impacted Files
Coverage Δ

src/problem0006.py
100.00% <100.00%> (ø)

src/problem0006_test.py
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Websockets support

This PR adds web socket support, only for wrr load-balancer for now.
Fixes #8
Fixes #56.

Build is broken :sweat:.

@EmileVauge testing out. Updated the comment to add "Fixes #56" to auto-close the issue :wink:

Soo... It seems to work :wink:
$ docker run -d -l traefik.backend=test -l traefik.host=test emilevauge/whoami
$  wscat -c ws://test.localhost:8000/echo
connected (press CTRL+C to quit)
> ls
< ls
> echo
< echo

Design & Code LGTM 🐙


Add database schema for game and author

In this pull request, I did the following:point_down:

Added PostgreSQL schema for the Author table
Added PostgreSQL schema for the Game table

Thank you for the review, @mmsesay :pray:


Doesn't work with Electron runtime

This package doesn't work when using Electron runtime from lsp_utils. It appears to be due to yargs library not handling Electron itself - https://github.com/yargs/yargs/issues/2287

Was fixed in https://github.com/sublimelsp/LSP-graphql/releases/tag/v1.1.7


Add toggle menu into Top Bar

In some projects I use the Top Bar mobile interface instead of the off canvas. It looks like this file does not have the the code for the toggle menu. Perhaps there was a reason it was not included, but if not, I've added it in.

Good idea... Maybe also it would be good to add an option or something like that in the theme to be able to switch off "off-canvas" when we do not need it. It could also remove the "off-canvas-wrap" (that create problem for 100% height stuff)...

I agree it would be great to have have an option to select either off-canvas or top-bar for smaller devices

I have been wanting to explore the theme options functionality, so I will try to get to this as time allows.

Did you delete the off canvas code from the project you used the top-bar on?

Yes, removed off canvas code, and updated visibility classes to make the top-bar show up on small. Then added in the line of code I proposed in this pull request.

I also agree that it would be useful to be able to switch between off-canvas and top-bar on mobile in wp-admin. I will not merge this pull request, as I can't see how it would add any direct value in terms of functionality. But I appreciate your contribution and would definitely like to be seeing a solution on switching between different types of mobile navigation patterns in wp-admin dashboard.


Create flexbox table for shortened urls

for managing the shortened urls, the current ui looks like the below

all we need to do is refactor the table to have better styling by following this codepen
game plan

[ ] Refactor the below frontend code to use a div + flexbox instead of an html table
https://github.com/SCE-Development/Clark/blob/3a99f2107dfa3f4ad7481bdccccc5ad2252f9361/src/Pages/URLShortener/URLShortener.js#L159
[ ] add a column in the table to display the created_at field

[
    {
        "id": 2,
        "url": "https://www.youtube.com/watch?v=YbMrRegZ3H0&pp=ygUPYmxhZGVlIHRoZSBmb29s",
        "alias": "bladee",
        "created_at": "2023-08-01 02:22:25.045413",
        "link": "https://sce.sjsu.edu/s/bladee"
    },
    {
        "id": 3,
        "url": "https://www.sjsu.edu/people/ben.reed/icpc/2020/habib.png",
        "alias": "habib",
        "created_at": "2023-08-01 02:24:19.686783",
        "link": "https://sce.sjsu.edu/s/habib"
    },
    {
        "id": 6,
        "url": "https://github.com/akshtshrma24",
        "alias": "epic",
        "created_at": "2023-08-01 02:30:16.469984",
        "link": "https://sce.sjsu.edu/s/epic"
    }
]

closed by #1343