Replace main page with responsive one

Use unused index.html template for that
Materializecss framework for layout
Everything from CDNs

Issue found: Expected property shorthand. (object-shorthand)

Unless we have babel and build process for frontend, this won't be fixed.

Issue found: 'google' is not defined. (no-undef)

Google Maps library has to be loaded separately (unfortunately). I can do nothing with it.

Issue found: Function 'anonymous' has a complexity of 5. (complexity)

Function is pretty straightforward. The only "complex" place is parsing the inputs.

@webknjaz pls review it again.
I want to update the main page ASAP, cause the current landing is a shame.


Improve Naming/RescuedExceptionsVariableName autocorrection

Follow up on #6994, this PR adds renaming of the variable references inside the resbody

Before submitting the PR make sure the following are checked:

[ ] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[ ] Feature branch is up-to-date with master (if not - rebase it).
[ ] Squashed related commits together.
[ ] Added tests.
[ ] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[ ] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[ ] Run bundle exec rake default. It executes all tests and RuboCop for itself, and generates the documentation.

Nicely done!


Invalid docker-compose var BIND_DNS_RESOLVER

Docker compose uses BIND_DNS_RESOLVER, but it should be DNS_FORWARDER.
See: https://github.com/cytopia/docker-bind

merged and fixed


Fix CredSSP extended credential attributes on Windows (SECPKG_CRED_ATTR_KDC_URL)

Fix a regression introduced by https://github.com/FreeRDP/FreeRDP/pull/8219 caused by incorrect usage of SecPkgCredentials_KdcUrlA with "W" SSPI APIs on Windows, when SecPkgCredentials_KdcUrlW should be used instead. I adapted the older code that correctly handled it.

@fifthdegree FYI

See, if we didn't have this strange desire to use W functions just because UNICODE is defined, we wouldn't need this...

See, if we didn't have this strange desire to use W functions just because UNICODE is defined, we wouldn't need this...

I told you the other day, I hate those W functions just as much as you do, but for Windows SSPI Unicode support, it's the only way. As for extended attributes, using UTF-8 strings in W APIs would just break the convention, so it's just better to go along with it. I know it's a pain, it's just the best option we can come up with that will work with everything.


Put notebooks under CI

Pull request
Please confirm that this pull request has done the following:

[x] Tests added
[x] Documentation added (N/A)
[x] Example added (N/A)
[x] Description in CHANGELOG.rst added

Adding to CHANGELOG.rst
Please add a single line in the changelog notes similar to one of the following:
- (`#XX <https://github.com/znicholls/silicone/pull/XX>`_) Added feature which does something
- (`#XX <https://github.com/znicholls/silicone/pull/XX>`_) Fixed bug identified in (`#YY <https://github.com/znicholls/silicone/issues/YY>`_)

@Rlamboll this puts the notebooks under CI, I'd do it before #2 but up to you


client.funcs.log is not a function (but this is not in app.js)

Version of Komada
0.19.0
Are core files modified?
functions/usage.js
Describe the problem
Attempting to run Komada results in a client.funcs.log is not a function error
Expected Behaviour
Komada boots and operates normally.
Actual Behaviour
Komada crashes with this error:
You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection:
TypeError: client.funcs.log is not a function
at Promise.all.catch.e (/root/discordjs/lovinibot/node_modules/komada/utils/loadFunctions.js:18:51)
Uncaught Promise Error:
TypeError: client.funcs.log is not a function
at Promise.all.catch.e (/root/discordjs/lovinibot/node_modules/komada/utils/loadFunctions.js:18:51)
Steps to Reproduce.

Looks like you have a function wrong, hace you updated the function usage from 0.19.0 or backported from 0.18.1?

Yes. What I did was I took the original usage.js code from the 0.19.0 version of functions/usage.js and ported my changes into it. The modification is as follows:
    case "user":
    case "mention":
      if ((/^<@!?\d+>$/.test(args[i]) || (/\d+/.test(args[i]) || args[i].length > 5)) {
		if (!client.users.has(/\d+/.exec(args[i])[0]))
		{
		client.fetchUser(/\d+/.exec(args[i])[0])
		.then((theuser) => {
			args[i] = theuser;
			validateArgs(++i);
		})
		.catch((e) => {
		if (currentUsage.type === "optional" && !repeat) {
			args.splice(i, 0, undefined);
			validateArgs(++i);
		} else {
			args.splice(i, 1, null);
			return reject(client.funcs.newError(`${currentUsage.possibles[0].name} must be a mention or valid user id.`, 1, args));
		}
		});
	} else {
        args[i] = client.users.get(/\d+/.exec(args[i])[0]);
        validateArgs(++i);
	}
      } else if (currentUsage.type === "optional" && !repeat) {
        args.splice(i, 0, undefined);
        validateArgs(++i);
      } else {
        args.splice(i, 1, null);
        return reject(client.funcs.newError(`${currentUsage.possibles[0].name} must be a mention or valid user id.`, 1, args));
      }
      break;

Go to the line 18 from /utils/loadFunctions, and change client.funcs.log to console.error. Tell me what you get.
By the way, this issue is nuked on 0.20.0 (#indev)

Syntax error... missed a )

👌 Tell me if there's something else wrong.


Update readme

closes ODP-804 Update README

Having some issues with auth, the auth url seems to work fine, a token is returned. But there are some issues cacheing the token still as it's not being stored / fetched from the cache properly.


Typescript with paths option breaks every deploy

If I add typescript paths to tsconfig and try to import using them, any example from now-examples breaks the deploy.
Example repo:
https://github.com/pie6k/zeit-now-typescript-broken-example
Reproduction

run now
make request

Actual result
502: An error occurred with your deployment
Code: NO_STATUS_CODE_FROM_LAMBDA (more)

(logs) - https://nodejs-koa-ts-k14ww3xqd.now.sh/_logs
Unable to import module 'launcher': Error
    at Function.Module._resolveFilename (module.js:547:15)
    at Function.Module._load (module.js:474:25)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Object.285 (/var/task/user/src/routes/default.ts:3499:18)
    at __webpack_require__ (/var/task/user/src/routes/default.ts:22:30)
    at Module.736 (/var/task/user/src/routes/default.ts:10958:21)
    at __webpack_require__ (/var/task/user/src/routes/default.ts:22:30)
    at startup (/var/task/user/src/routes/default.ts:36:19)
    at /var/task/user/src/routes/default.ts:42:18

I've tried with working examples from now-examples
As soon as I've added paths to eg. koa example - it was broken in the same way -
Koa example:
https://github.com/pie6k/zeit-now-typescript-broken-example/tree/7bd024e3aaf61b7e0cc8f71412e29eed85deab7e/nodejs-koa-ts - example repo (folder nodejs-koa-ts ->> default.ts route) - same steps for reproduction.

@pie6k tsconfig.json paths are only supported for the TypeScript checker, and don't become used as include paths in ncc itself. Marking as an enhancement.

https://github.com/zeit/ncc/blob/master/src/index.js#L63 - it seems like you're using it already, but it's not working

@pie6k you're right, the implementation in https://github.com/zeit/ncc/pull/151 does intend this to work it seems, so it is a bug.

Hmm, looking at this again, if I run:
git clone git@github.com:pie6k/zeit-now-typescript-broken-example
cd zeit-now-typescript-broken-example/api
yarn install
ncc run index.ts

execution does complete fine for me with this.
Can you share an exact ncc replication of the bug? Otherwise, perhaps this isn't an ncc bug?

Running build with ncc seems to work, but deploying it to now results in broken deploy eg. https://zeit.co/deployments/nodejs-koa-ts-k14ww3xqd.now.sh/logs
You can replicate it by
git clone git clone git@github.com:pie6k/zeit-now-typescript-broken-example
cd zeit-now-typescript-broken-example
now

and then go to generated url.
As soon as custom path import is removed from the code - it works.
Error says it cannot load this file: https://github.com/zeit/now-builders/blob/master/packages/now-node/src/launcher.ts
But it's hard to tell where is the root cause of this.

I'm closing because this does not appear to be a bug with ncc.
I followed the steps to reproduce and it works fine locally.
Let's continue this discussion in the now-builders repo here: https://github.com/zeit/now-builders/issues/233


Mobile screen sharing feature

What is the feature that you would like to see in the app? Please describe.
Is there any feature to do screen sharing on mobile?
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Thanks for the feature suggestion @Orbit-Akhil-Puri!
Unfortunately, the Screen Capture API is not available in any mobile browsers, so we cannot add this feature. Please see the browser compatibility table for the Screen Capture API here: https://developer.mozilla.org/en-US/docs/Web/API/Screen_Capture_API#Browser_compatibility
However, our native Android video app (https://github.com/twilio/twilio-video-app-android) does support screen sharing. Our native iOS video app (https://github.com/twilio/twilio-video-app-ios) doesn't yet have screen sharing, but it is on the roadmap and should be added within a few weeks.


Refactor class Array/Matrix/Vector

This revision includes:

Array/Matrix/Vector Refactoring (#91)

Array

Integrate 'Array2/3/4' to 'Array'
Add class 'ArrayBase'
Replace 'ArrayAccessor' with 'ArrayView'

Matrix/Vector

Integrate 'Matrix2x2/3x3/4x4/MxN' to 'Matrix'
Add class 'MatrixDenseBase'
Replace 'Vector' related classes with 'Matrix'

LGTM. This one looks way more concise than before. Thanks for your work!


Update repository url.

There is #140 :)

Ah, my bad. Although shouldn't the url be the repository url not the ".git"?
https://docs.npmjs.com/files/package.json#repository

This is what the book says: "The URL should be a publicly available (perhaps read-only) url that can be handed directly to a VCS program without any modification."

Alrighty, I wasn't sure anyway. Just seems most of the examples use the https url.

Yep, their examples out of sync with the text :) https does work with github though, but others like Stash having hard time with it. So it's just habit to put the right protocol there.

Interesting. Thanks for the heads up!
Closing this.


[BUG] Parse error while assiging environment variable from response body attribute

Insomnia Version: v6.5.4
Operating System: Linux - Solus 4.0 Fortitude

Details
When attempting to set the value of a variable in my environment to the body of a response I get a parse error in the window and am unable to save the changes to the environment.
Image 1
The block is configured as follows.
Image 2
Note that the configuration above works flawlessly when included in the URL but causes this error when included in the Environment JSON.
Context / Background
I am trying to do this because I would like to be able to assign a meaningful name to the Response -> Body Attribute 'badge' for better readability. The only way I could think of doing this was assinging the body content to a variable and then referencing the variable by name.
Image 3
My use case would also be resolved, in part, by allowing the user to specify a custom name to appear in place of Response -> Body Attribute. I can raise this as a feature request if this is the desired resolution.

You need double-quotes around your response tag.

Ugh, that's embarrassing. Thanks


IntelliSense is not working on a large project on VS2019

Hi.
I've got several Python projects of different sizes and different dependency sets.
All of them were and still are getting handled well with the latest VS2015 and VS2017 PTVS versions.
I had also tested them with VS2019 preview and everything seemed to work fine there too until as long as Preview Update 2.2. Then I took a pause in my experiments with VS2019 until this week when it was finally released. And it seems that something had changed during this time, so now there are major troubles with Python IntelliSense in there.
I've tried the Community Edition today and IntelliSense just wouldn't do anything there. Even though there are no significant warnings or errors, the class/module name colors are not not applied and no auto-completion is working either.
After that I tried Preview Update 2.2 and it everything was fine until I upgraded it to Preview Update 5  when it had stopped working too.
It seems the project size is of the essence in this case. I had managed to work this issue around for a couple smaller Python 2.7 and Python 3.7 projects by removing some unneeded Python modules from the project root folders (even though those modules were never a part of .pyproj), but even in this case IntelliSence works noticeable slower in VS2019 than it was working earlier and than it is in VS2017.
I was less lucky with my biggest project (Python 2.7 + Django + AppEngine + numpy) -- whatever I do, with no errors or warning, IntelliSense just wouldn't do it's magic in VS2019 anymore 😢
Is this a known issue? Maybe there is a way to work this around by increasing VS performance via tweaking it's settings somehow? Turning off some of the most time/memory consuming features or something?

We've had 2 other users reporting that IntelliSense doesn't work with their projects in VS 2019 anymore.
We don't have a repro for it right now. It's also possible that it's different causes. Hopefully I can spend some time tomorrow to try and reproduce this. If someone is able to share their problematic projects, that would help a lot.
We did make changes in 16.0 Preview 4, up until then we still had the same analysis server that shipped in 15.9. A lot of bug fixes went into it, but apparently there are regressions too.

@huguesv
I cannot share my project, but I think I found a reproduce-able case which hopefully give you you some clues: VS2019IntelliSense.zip
The project contains file manage.py and it also references missing_module.py. If you open it in IDE for the first time the IntelliSense on manage.py wouldn't be working at all. If after that you exclude missing_module.py from the project and reopen it, everything should be working.
This example is not too realistic, and removing all those missing references didn't help in my case, but still this might be a starting point for your thoughts.

@eugals I can reproduce the issue where the missing file breaks IntelliSense. That was very useful, thank you very much!

I am also running into this issue; IntelliSense works perfectly fine on this rather large project with vs2017 but nothing seems to happen in vs2019. When I open the project and initially try to autocomplete, it will say "Python source analysis is not up to date", and I can see the error list filling up with warnings about unresolved imports , so it's presumably doing something, but after some time it stops, says it's ready, but offers no autocomplete at all - no suggestions (not even for built-in stuff), no text coloration, just nothing. I don't think the unresolved imports are the issue because I get them in vs2017 as well. It doesn't seem to be a performance issue because the "Microsoft.PythonTools.Analyzer.exe" process is using 0 CPU and only about 240MB of RAM with no size fluctuations (I assume it's sitting there doing nothing). I'm running vs community 2019 16.0.2

Regarding my prior comment: it turns out I actually had a missing file (which I missed in my initial check because it was buried in a subfolder). Removing this file from the project made IntelliSense work again, so this is the same repro @eugals reported.

I'm going to close this since the "missing files" issue is fixed in 16.1 preview releases. If there's any additional repro that don't involve missing files, please comment on https://github.com/microsoft/PTVS/issues/5214


auto session start

Start automatically when the session is initialized.
Why is it a separate $session->start() ?
Before：
$session = session()->start();
After：
$session = session();
Before：
$session = \Config\Services::session($config);
$session->start();
After：
$session = \Config\Services::session($config);

I wasn't involved in the original architecture of the session stuff, I just ported it over. Looking over the main session class I can't see why we shouldn't do this. However, you should put a check within the start() method to check if it's running and exit the method at the very beginning of it so that we don't try to start again.

if sessions are enabled, but none exists. start() method will be executed.
so. will not repeat start().
Please confirm the system/Config/Services.php file for details.

if sessions are enabled, but none exists. start() method will be executed.
so. will not repeat start().

True - assuming everyone plays by the rules. :) Someone can still call start() if they didn't bother to read the manual closely enough. Also, there are a number of people already building sites on CI4 so it's a simple solution to safeguard their sites a little bit more.

OK.I understand.
Update the code this afternoon.

@lonnieezell
Code update is complete.

@lonnieezell

@lonnieezell
Hi. is there a Issues with this PR?

@bangbangda Your PR has conflicts that need to be resolved, before travis-ci can be run, and without considering whether or not it is a good idea to auto-start sessions.

@bangbangda You merged in changes to the Model class that are already in core. Those should not be part of this, please remove.

@lonnieezell yes.deletion is complete.

Thanks works for me, Thanks @bangbangda

Although I just realized this might wreak havoc on testing... but we'll work that out since session tests already broken.

Hmmm - I remember a similar PR for CI3, and Andrey argued strongly against auto-starting sessions. Don't remember the reasoning.
I don't know that we want to force sessions on evryone, who will then hve to configure them and deal with the hundreds (or much more) of session files resulting from poor or no garbage collection.
I haven't taken a look at the PR, but I trust that any auto-starting is a configurable option.

From what I recall of Andrey's reasoning - autostarting the session on every page load could lead to DOS attacks from the sheer number of session being created and some other related security type issues. Completely agree with those.
What this PR does, though, is to start the session the first time you request it, instead of asking you to do session->start() immediately afterword. I think it should be fine, as I can't think of any additional actions you'd take with the session library before it's started, and none of the methods in the Session class seemed to provide any benefit prior.
Unless you can think of any issues with that?

It might work fine, then. A DOS attack could be averted through a Throttle filter :-/

From: Lonnie Ezell<EMAIL_ADDRESS>Sent: Friday, July 27, 2018 9:57 PM
To: bcit-ci/CodeIgniter4
Cc: James Parry; Comment
Subject: Re: [bcit-ci/CodeIgniter4] auto session start (#1097)
From what I recall of Andrey's reasoning - autostarting the session on every page load could lead to DOS attacks from the sheer number of session being created and some other related security type issues. Completely agree with those.
What this PR does, though, is to start the session the first time you request it, instead of asking you to do session->start() immediately afterword. I think it should be fine, as I can't think of any additional actions you'd take with the session library before it's started, and none of the methods in the Session class seemed to provide any benefit prior.
Unless you can think of any issues with that?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/bcit-ci/CodeIgniter4/pull/1097#issuecomment-408582857, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADDjb0Skn9MtNb3QB1U9U9d2A0nhFNq7ks5uK-9PgaJpZM4VH6tc.


Roadmap for refactor and improvement of player movement code

Motivation

Currently the player movement code is deprecated and has some issues in implementation that has caused movement issues. It is also been a while since it has had a bit of a tidy up.

Proposal

Going to rework the movement code and the MovementMode(STATE) enum to make it more extendable and generally easier to work with. Main focus is fixing the SWIMMING enum as currently it just lowers gravity to simulate more accurate buoyancy and to ensure no more issues arise from it.

Concerns

Might end up affecting networking side of things if it uses predictive movement but I will fix it as it comes up.

Task Breakdown

Replace the MovementMode enums with ones that are more extendable and don't constantly affect key character states like gravity.

I am going to handle this myself but just wanted this as an official things so others can see it, feel free to assign it to me


Removing artifacts in default.cfg and new option to change frame rate

https://github.com/ManimCommunity/manim/blob/c560ab397de70065dfae8af8474fe598158b464f/manim/_config/default.cfg#L98-L103
I think the sentence "overriding values are found in the corresponding sections" does not make sense anymore.
Further, let's say I want to have a video with 2 fps.
How do I do this at the moment?
Because when I run this script:
class Test(Scene):
    def construct(self):
        config.frame_rate=2
        dot = Dot().set_color(GREEN)
        self.add(dot)
        self.wait(1)

I have a video that is 30 seconds long. So it actually changed to 2 fps, but self.wait(1) corresponds not to 1 second anymore, but to 30 seconds.
Update:
When changing the frame rate here: https://github.com/ManimCommunity/manim/blob/c560ab397de70065dfae8af8474fe598158b464f/manim/constants.py#L156
self.wait(1) is working properly with one second.

These two sound like entirely different things to me - am I missing anything? What is the reason to report these two in the same issue?

It is both related to frame_rate from the config class.
But I can also make a seperate issue for the second problem with the changing scene length if that would simplify the discussion

It setting frame_rate = 2 actually gives you 2 frames per second then this sounds like there is a problem with self.wait. cc @eulertour

Setting config.frame_rate = 2 inside of construct is "too late"; global settings like that should be made outside of the scene – and then self.wait behaves as expected.


Add support for downloading DICOMweb files

Each girder item represents a series. Previously, each item would contain a single file with the same name.
Now, each instance (DICOM file) within a series is represented by separate girder files within the item.
This PR includes download support, so individual DICOM files can be downloaded, or all DICOM files in a series can be downloaded together by downloading the girder item.
Range requests for the DICOM files are attempted if requested. However, the DICOMweb standard doesn't guarantee that they will be supported, and none of the DICOMweb servers we have tried have supported range requests for DICOM files.
To do:

[x] Figure out why downloading the file has the wrong mimetype (which results in the web browser displaying the contents rather than downloading)

Fixes: #1309

This is ready for review! I added a test for downloading an item (which downloads each file).
During local testing, I downloaded some DICOM files, uploaded them back to girder, and confirmed I could view them with large image (so this confirms that the downloaded DICOM files work correctly).

Ready for review...


Reset forgotten password

Describe the issue
#16
Describe the solution
Added the function of changing the password in the login interface.

@jonathan-thamrin Indeed, your proposal is great. I have considered it before, but time is a bit tight now. I will definitely make it perfect when I have time. Thanks.
@Denijar I have added it to the rules, do I need to submit another pr for it or how to operate now. The first time using Github, still learning. Thanks.

Hey sorry my bad (I copied pasted that rule exception and didn't change it). I should be 'no-alert': 'off', (instead of no-console). If you make that change then hopeefullyyy the checks will pass.

Okay cool that has fixed some of the tests - but the rest are actually test failures, so you will need to change the test files to make them pass :)

The tests are failing because initially on the login page there was only one link to click, now there are two (because you have added a reset password link). You need to edit line 26 in App.E2ETests.js to be cy.get("a:first").should("contain", "Sign").click();. This will tell cypress more clearly that it should click on the first link on the page to load the signup page.
`

omg so close. authService.js needs to have prettier run on it to fix the formatting, then this PR should be good to merge. Do you have prettier setup to do that formatting?

Well, I don't have that. Let me study how to use it.

You just need to install the Prettier extension on vscode, then when you have authService.js open, go ctrl + shift + P and run "format document" - then select prettier as the formatter. Alternatively, I can fix it for you and commit to this branch if you don't mind me doing that to save time :)

Thank you very much for your help. Not that I mind, I just don't want to trouble you all the time. You have helped me point out the problem. If I ask you to do it, I think it's a bit too much. : )


Repetion

This line was repeated again
#include <SoftwareSerial.h>`

l.h>`

Thx. This is fixed - will be available on the example builder soon


✨ Give DE SSO role access to cloudtrail s3 bucket

Describe the feature request.
Give DE SSO role access to the modernisation platform cloudtrail s3 bucket modernisation-platform-logs-cloudtrail/AWSLogs/593291632749.
Ideally in the next sprint, but happy to delay if other high priority work
Describe the context.
See slack thread
Value / Purpose
Would allow data engineers to find out which glue jobs are using unsupported versions, as well other benefits such as tracking the number of users accessing glue tables
User Types
No response

Reopening based on discussions with @bagg3rs . cc'ing @gustavmoller @williamorrie  for reference.

Hello! If possible, could we be provided access to this by the end of next week 🙏


new rds action toggle-publicly-accessible

new RDS action to enable setting the value of the PubliclyAccessible parameter to the ModifyDBInstance api.
Enables a policy to set value to false if a user set it to true.

This request is higher priority than others I've submit since it would enable faster resolution of publicly accessible resources.


Unable to select during the subquery of .populate()

We are trying to select only a specific subset of attributes while populating associations. The code looks similar to this.
User.findOne(req.param('id'))
  .populate('profiles', {
    select: ['firstname', 'lastname'],
    where: {active: true},
    limit: 1
  }).exec(function (err, user) {
    // more code
});

The above example uses a one to many association of User model with Profile model on the User.profiles attribute. The result of the code expects that the associated profile model is populated only with the two attributes firstname and lastname.
Actual Behaviour: The where and limit clauses work just fine! However, it still returns all data of profile instead of only firstname and lastname.
PS: On the other hand, if we were to pass the same criteria by doing .findOne on Profile model, it would return as expected. Seems like the select on deferred.prototype.populate is not honoured by the joins.
cc @sobtiankit, @mikermcneil

Hi @shamasis, this looks like a duplicate of #919, if so can you please close this and continue the discussion there? Thanks

It's a duplicate.


[BUG] Minor fixes to DJ Discord Bot setup

Some of the setup is not accurate and there's some README details left out

Will have to refer to some details from https://github.com/users/TheBookKnight/projects/6/views/1?pane=issue&itemId=81977376&issue=TheBookKnight|dj-discord-bot|3

To use DiscordJS, node v18 and higher needed.


Run connection test as a part of rspec suite

I've got a working connection rspec file:
require "rails_helper"

RSpec.describe ApplicationCable::Connection, type: :channel do
  let!(:au) { create(:accounts_user) }
  let(:account) { au.account }
  let(:user) { au.user }

  it "successfully connects" do
    connect "/ws", cookies: {
      "user.id" => user.id,
      "user.expires_at" => 5.minutes.from_now
    }
    expect(connection.current_user).to eq user
  end

  it "rejects connection" do
    expect { connect "/ws" }.to have_rejected_connection
  end
end

But no matter where I place it, it's not running as a part of the whole rspec suite. I've followed the rspec instructions in the readme. Is something missing from those instructions?

TBH, doesn't look like something related to action-cable-testing, but anyway: how do you name this file? Could you show me the output of your RSpec command?

Sorry, I just needed _spec.rb at the end of the file 😅


Remove Formatting plugin add better support for tables

This issue was imported from Closure Library's previous home at http://closure-library.googlecode.com
The link to the original issue is:
https://code.google.com/p/closure-library/issues/detail?id=221

This issue is being closed as a preparation step before archiving the repository.  See the README for more detail.


Change the select tool to immediately start dragging when clicking a shape

Closes #426

It's not possible to click to select a shape. Try clicking on a shape without dragging your mouse at all.

I tested this and it appears to work in all my testing scenarios. Feels good and works well. Didn't observe any issues. Changes to select.rs seem sane.

Got the operation order mixed up during the pre commit cleanup, changed it back and should work as expected now

Much better! Last problem I notice: Shift-clicking layers in the viewport no longer adds to the selection, it instead replaces the selection.


find decorations remain after closing the find widget and clearing the input

not sure on reproe yet

I got into a similar state recently, not sure how to repro though:

looks like a diff't issue (though maybe related) bc you have no buffer decorations - only leftover overview ruler marks. in my case, both remained

haven't seen this in awhile


SSL Support

The software stack in use can support TLS using the built-in support for MbedTLS. Implementing this wouldn't be a big deal except that the current TLS implementation expects DER-formatted certificates and keys, which are not as easily copied into text as normal RSA/PEM-formatted certificates/keys.
The key and certificate can be created with these three commands:
openssl req -x509 -newkey rsa:4096 -nodes -out cert.pem -keyout key.pem -days 365
openssl x509 -in cert.pem -out cert.der -outform DER
openssl rsa -in key.pem -out key.der -outform DER

Current ideas for implementing this are:
1. Leave it to the user
It would be trivial to code a hard check for cert.der/key.der, stat it and, if it exists, engage TLS. This would however rely on the user to create certificates, format them and upload them to the board. We could help the user by providing file upload functions to get them on the board.
Inspiration from Microdot samples
2. Store the certificates in hex
The binascii.hexlify() function can interpret any byte variable as a hexadecimal string, making it safe and trivial to store in config.json. It can then reverse it with binascii.hexlify() and passing the resulting byte object to the to the TLS code. This would require some kind of ingest procedure, which could be uploading the DER through the interface, then saving it from there.
3. Use a default certificate
The most "out of the box" option. Include a default, self-signed certificate with an openjbod.local CN. Either of the above options can still be considered in this.

Code suggestions
Following the example in the Microdot repo, it would be possible to use a CONFIG['web']['use_tls'] variable to decide whether to start in TLS or non-TLS mode. For example:
import ssl
# ...
if CONFIG['web']['use_tls']:
  sslctx = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
  sslctx.load_cert_chain('cert.der', 'key.der')
  app.run(port=443, ssl=sslctx)
else:
  app.run(port=80)

After working on a TLS implementation I've found that the RP2040, with the current software, is unable to load the ssl module. Attempting to do this results in the module being loaded with no functions or classes
sslctx = ssl.SSLContext()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'SSLContext'

Using the same MicroPython .uf2 on a board with no other software on it, the ssl module loads just fine. Attempting to disable the garbage collector import gc, gc.disable() and attempting to import the SSL module again yields slightly more, but attempting to use any function or instantiate the SSLContext class causes the RP2040 to crash.
I guess it is possible that there is a memory leak somewhere within the code, but I'm not sure where it would be.

Basic SSL support implemented using DER-formatted EC keys. Specifically:
openssl ecparam -name prime256v1 -genkey -noout -out key.der -outform DER
openssl req -new -x509 -key key.der -out cert.der -outform DER -days 365 -nodes

It appears RSA certs are not supported in the version of MbedTLS used in v1.23.0 of MicroPython.
A different issue now is that the server throws exceptions when handling HTTPS requests:
Task exception wasn't retrieved
future: <Task> coro= <generator object 'serve' at 20010500>
Traceback (most recent call last):
  File "asyncio/core.py", line 1, in run_until_complete
  File "/lib/microdot/microdot.py", line 1224, in serve
  File "/lib/microdot/microdot.py", line 1336, in handle_request
  File "/lib/microdot/microdot.py", line 641, in write
  File "asyncio/stream.py", line 1, in stream_awrite
  File "asyncio/stream.py", line 1, in write
OSError: -30592

It does not crash the webserver, but it can occasionally result in requests failing with an ECONNRESET error. It appears this is discussed in: https://github.com/miguelgrinberg/microdot/discussions/205.

After some consideration, I will be removing the SSL features in version 1.1.0 of the software, I'll be pushing the commit shortly. The reasoning behind removing it is to:

Reduce the amount of potential issues reported as a result of the broken implementation.
Given it is, at the moment, unclear why the issue arises, I think it's better not to ship it than to ship a buggy implementation.
The device should be on an internal network anyway, where the lack of HTTPS support should not be important.

I will keep this issue open for tracking.

Doing some more debugging on this tonight and found something interesting. The OSError: -30592 is apparently an error response to an invalid certificate, so technically, it should not be causing issues.
Doing my testing I've also only been able to invoke an Out of Memory error when passing host=<IP> to the Microdot.run() function.
While that in and of itself is awesome news, the unfortunate downside is that it significantly reduces the performance of the webserver. With SSL enabled, the index page takes around an average of three full seconds to load, sometimes a little less. Whereas a normal load of hte index page without SSL is approximately 698ms.
In short, I don't think SSL is worthwhile unless you really want it, but I'm still on the fence about adding it as an option. Again, this is a feature that this board shouldn't need, given where it's likely to be placed on a network. But I can understand people wanting to shy away from it.


SUBMARINE-487. JNA does not work with maven-shade-plugin

What is this PR for?
submarine-spark-security fails with java.lang.UnsatisfiedLinkError
What type of PR is it?
[Bug Fix]
Todos

[ ] - Task

What is the Jira issue?
https://issues.apache.org/jira/browse/SUBMARINE-487
How should this be tested?
Screenshots (if appropriate)
Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? No

@gumartinm Thank you for your interest in the submarine project. :-)
@yaooqinn Please help review this PR, Thanks!

Thanks for the fix, LGTM

@gumartinm feel free to send follow-ups with your no-uber-jar ideas, I use uber-jar here because of jar conflict between spark and ranger project.
@liuxunorg I am ok to merge this.

@gumartinm feel free to send follow-ups with your no-uber-jar ideas, I use uber-jar here because of jar conflict between spark and ranger project.
@liuxunorg I am ok to merge this.

@yaooqinn I just wanted to say that you are doing a great job with this project. I've been following it since it was called spark-authorizer. Hopefully, one day, it will be integrated in the Spark framework.


Check earlier if pixman_region is empty in some places.

Describe your PR, what does it fix/add?
Checks earlier if pixman_region is empty in some places in OpenGL.cpp
Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)
I checked, and all of those early outs get used at times.
Is it ready for merging, or does it need work?
I didn't find anything broken by this pr,
but it should be checked before merging!

needs a conflicts fix and lgtm

I'm i right that damageclip is empty if the damage region is empty?
It's just used during workspace switching, right!?
I tested it after the change, and it seems to work!

Am I right that damageclip is empty if the damage region is empty?

Yes, damageclip is an intersection of the damage and the clip region.

Sorry!
Btw the clipping thing does nothing at all!
just check offset.x /offset.y : it will never be anything but 0.
Should i fix that or are you giving it another try?

clipping will only be active when .width and .height of the clipBox are set. and it works. dw.

When is that set?

When is that set?

Used to be, aint anymore. But might come handy in the future

The code block inside renderWindow that sets offset is totally weird, and it never sets an offset.
I had the feeling it should compare BBWIN with PWORKSPACE->m_vRenderOffset.vec and not with PWSMON->vecPosition.
The whole PROGRESS thing doesn't make sense at all to me,  but might be just me!

Another thing, maybe i should make it an issue, but whatever:
I think it would help if we had some more graphical debug functions for:

rendering a rectanble of lines (to check if boxes (damage ...) are right
rendering lines points for checking positions.
scaling the whole screen down ,not like monitor scaling, but actually making the whole thing smaller, so that
the indicators above, can be checked outside of the monitors dimensions.

The whole PROGRESS thing doesn't make sense at all to me, but might be just me!

dw. it works :)

rendering a rectanble of lines (to check if boxes (damage ...) are right

umm what

rendering lines points for checking positions.

eh maybe

I set breakpoints on lines : 259,261,269 and 271 of Renderer.cpp and none of them ever hit.
when changing Workspaces.
PROGRESS is the fraction of the screen that has has shifted by workspace switching.
PWSMON->vecPosition.x doesn't change during workspace switching,  WINBB.x doesn't change during workspace switching.
But the difference of those two is multiplied by PROGRESS, this is so weird.

move a floating window to be partially off screen and use workspace swipe or slide workspace anim

So it's just for floating windows?
Why shouldn't that work for tiled once during ws switching?

And if the floating window is partially of screen, why than only clip if the workspace is sliding?

to prevent it from "popping" out when the animation finishes.

Ok i misunderstood the functionality then, thanks for clarifying!
How about this pr?


skipOver should have a single argument with pred version

Ping @CyberShadow

Hmm, I guess it is a bit weird that this will skip things in a loop. Meaning, s.skipOver(" ") and s.skipOver!isWhite are going to do different things.
If we decide to keep the inconsistency, then perhaps returning size_t would be more fitting.
This function as it is certainly seems more useful, though. What do you think of naming it skipWhile? If we decide we will want a skipOver with an alias that skips at most one element, skipWhile could be implemented on top of it.

This function as it is certainly seems more useful, though.

Yes, I often use a combination of the "alternatives" I listed.

What do you think of naming it skipWhile? If we decide we will want a skipOver with an alias that skips at most one element, skipWhile could be implemented on top of it.

N.B.: skipWhile = until, dropWhile = find
There's a reason why I made this PR: https://github.com/dlang/phobos/pull/4985
Names in Phobos are sometimes confusing and make it hard to find the needed function
See also:

https://github.com/dlang/phobos/pull/551
<EMAIL_ADDRESS>
tl;dr: no new symbols just for negation (unfortunately)
findSkip
findSkip in contrast to find doesn't accept only a pred (it requires a needle)
Adding support for just pred would be a trivial alias with this extension ;-)

Argh! find does not use the eponymous template pattern, which means it's not partially instantiatable with just a pred. You should be able to do this:
alias skipWhile(alias pred) = find!(not!(unaryFun!pred));

I'd say that we fix find if possible, and (especially since Andrei was previously explicitly against this), close this.

I'd say that we fix find if possible, and (especially since Andrei was previously explicitly against this), close this.

I would use the opportunity to fix findSkip as well ;-)
I can make a PR for these two later today.

find's case is a bit complicated because of the two overloads.

For this to work, find's overloads must be united into a single template block. We can't really put the unittests inside it, and there's no way to split it up, so this will mean putting the unittests for the one-argument and two-argument overloads together.

That, or ignore the two-argument version of find... though, it would be nice if that worked as well, so you could do e.g. alias ifind = find!"toLower(a) == toLower(b)";.

Here is a rough draft for a plan:
// Old definitions
static if (false)
{
	/// Two-argument
	Haystack find(alias pred="a==b", Haystack, Needle)(Haystack h, Needle n)
	{
		return h;
	}

	/// One-argument
	Haystack find(alias pred, Haystack)(Haystack h)
	{
		return h;
	}
}

/// New definitions
static if (true)
{
	/// Two-argument (no pred)
	Haystack find(Haystack, Needle)(Haystack h, Needle n)
	{
		return h;
	}

	template find(alias pred)
	{
		/// Two-argument (with pred)
		Haystack find(Haystack, Needle)(Haystack h, Needle n)
		{
			return h;
		}

		/// One-argument (with pred)
		Haystack find(Haystack)(Haystack h)
		{
			return h;
		}
	}

	/// Backwards compatibility for explicit
	/// find!(pred, Haystack, Needle) instantiations
	template find(alias pred, Haystack, Needle)
	{
		alias findPred = find!pred;
		alias find = findPred!(Haystack, Needle);
	}

	/// Backwards compatibility for explicit
	/// find!(pred, Haystack) instantiations
	template find(alias pred, Haystack)
	{
		alias findPred = find!pred;
		alias find = findPred!Haystack;
	}
}

/////////////////////////////////////

unittest
{
	// No pred
	assert(find("a", "b") == "a");

	// With pred
	assert(find!"a==b"("a", "b") == "a");
	assert(find!"a=='x'"("a") == "a");

	// Explicit instantiations (optional backwards compat)
	assert(find!("a==b", string, string)("a", "b") == "a");
	assert(find!("a=='x'", string)("a") == "a");

	// Partial instantiation (desired)
	alias find1 = find!"a=='x'";
	assert(find1("a") == "a");

	alias find2 = find!"a==b";
	assert(find2("a", "b") == "a");
}

We'll just need to move the tests for the with-predicate two-argument overload together with the with-predicate one-argument overload.

Here is a rough draft for a plan:

Sounds like you volunteered to do it yourself ;-)

Argh. There's like 8 overloads!

Next time please add "Fix Issue $Number" so that the dlang bot can associate your PR with the bug fix. That way it can be found at a search through PRs. I couldn't find this PR so I opened another one with almost the same fix, as it can be seen above.
I think that this PR (or mine) should be merged and if consensus is reached with find, then we can modify skipOver.
My implementation avoids extra initializations and assignments by using a do while. I suggest you take a look before merging this.

@andralex What do you think of fixing find so it's partially intantiatable with just the predicate (see above)? That would make this PR unnecessary or replaceable with a one-line alias.

I think making find instantiable with the predicate would help a lot of cases.

Agreed, but actually doing so without breaking code seems tricky (though still possible). I was hoping you might have some insights.

That doesn't necesarily compete with skipOver which is useful for parsing.

Oops, right, I was thinking of skipWhile above which returns a new range (like find) instead of mutating its ref argument (like skipOver).

Argh. There's like 8 overloads!

Yeah we first need to reduce them to be able to go ahead.
A first step: https://github.com/dlang/phobos/pull/5575 (more to follow)


Keyword args are not passed to backend if same backend string is reused

Putting this here because it is something I uncovered while debugging a user's code in the SF slack channel. I'm not sure what the intended behaviour that we want here is.
I will give example for "fock" backend, but also applies to "tf" backend (actually it's an engine issue).
If a user does, for example, eng.run("fock", cutoff_dim=N), then later does this again, but with a different value for the kwarg cutoff_dim, then the cutoff_dim used by the backend actually does not change.
This is because (currently) the engine checks on the second run whether the desired backend type is the same. If it is, it avoids reinitializing a backend. As a consequence, any kwargs are not passed on to the backend itself.
Code example:
import strawberryfields as sf

eng, q = sf.Engine(num_subsystems=1)

state = eng.run('fock', cutoff_dim=2, eval=False).ket()
print('shape:',state.shape) # >> shape: (2,)

state = eng.run('fock', cutoff_dim=3, eval=False).ket()
print('shape:',state.shape) # >> shape: (2,)

      elif isinstance(backend, str):
            # if backend is specified via a string and the engine already has that type of backend
            # loaded, then we should just use the existing backend
            # pylint: disable=protected-access
            if self.backend is not None and self.backend._short_name == backend **and self.backend.circuit._trunc == kwargs.get('cutoff_dim')**:
                pass
            else:
            # initialize backend

(bolded part is modified part. This is from run function inside engine.py)
I'm not sure about checking against backend part, I just guessed self.backend.circuit._trunc would return cutoff_dim based on the code below from floc backend code:
    def get_cutoff_dim(self):
        """Returns the Hilbert space cutoff dimension used.
        Returns:
            int: cutoff dimension
        """
        return self.circuit._trunc

I took a slightly different approach by adding more stricter condition i.e on what condition backend should not be initialised. I'm not familiar with the codebase so I won't be making a pull request, but hope this might inspire some ideas for better solutions.

Thanks @0xckylee!

This issue was fixed by #80


Riyuan/personal web

I added a Nav Bar and a mode changing on the website

Lets find some time to discuss on Thursday.


Support for Teensy 3.2?

The readme for the hardware part does'nt mention support for Teensy 32, but the original linobot does.
I was looking to port my old hardware to linobot2. Was the 3.2 missed out? Or is it no longer supported?

Hey @AsherThomasBabu . It is still supported just use teensy31 as en environment

Thank you @grassjelly . I tried this on multiple operating systems, I tried out both the images of 16.04 and 20.04 from Ubiquity Robots. But could'nt get my teensy to show up on /dev/ttyACM0.
I did program the teensy with the fast_blink using my mac before connecting it to the Pi.
I also did copy the udev rules from the pjrc website to the specified location
Is this something that you have come across, have been stuck on this for the past week, would be grateful for any inputs

@grassjelly Yes, I did. in fact I tried using a different teensy which showed up as linobase once udev was setup, but disappeared after I uploaded the firmware.

This usually happens when the Teensy is new. Most importantly, your machine should be able to detect the board when you run lsusb then you can upload with pio run --target upload -e teensy31 . The device should then show as /dev/ttyACM*


nbval: restore macOS, upgrade pip

put macOS back in nbval (temporarily removed in #484 )
upgrade pip to latest version.

We pinned pip to 21.3 because of issues with 22.* in (#392 ). The latest pip version works for me locally now. If this PR passes CI, the installation guides in the Wiki should be updated too.

Merging this without additional review, since it impacts only the CI and tests passing.

Thanks Helena!!

After merging to main, this PR fails CI for macOS because 107 takes too long to run there. Is it possible to patch that notebook to speed it up in CI? https://github.com/openvinotoolkit/openvino_notebooks/wiki/Notebooks-Development---CI-Test-Speedup

it seems to be broken :\

Hi @helena-intel, thanks for this contribution. Due to performance issues I had created similar PR with ignoring some notebooks (https://github.com/openvinotoolkit/openvino_notebooks/pull/545). Feel free to close this one.


Add new rebus

Associated Issue: #
Summary of Changes

change 1
change 2

Pull Request Test Coverage Report for Build 954

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.143%

Totals

Change from base Build 937:
0.0%

Covered Lines:
158

Relevant Lines:
180

💛  - Coveralls


Add more than one direction in codeblock

The code examples for codeblock shows how to add one direction "dir". But I wonder how to add several directions in the same view. I tried variants of the following code but that did not work. Any ideas?
type: juggl
dir: {next, down}
layout: force-diracted
fdgdLayout: d3-force
depth: 0
navigator: true

This is now possible in V4 :)
See the link at the top of the README for more info on the beta version, and see the docs to learn about the new codeblock fields: https://publish.obsidian.md/breadcrumbs-docs/Views/Codeblocks


Enable use in no_std environments

Re-opening of #302 after bust merge.

Alright @erickt, this should be good to go! Coverage decreased somewhat due to some of the inlined deps, but I'm not particularly concerned about it. If you are, I can copy some unittests from Rust upstream.

Thanks Corey for looking at this so promptly. Looks like it was a simple fix.
diff --git f8a91e5/.travis.yml ae806af/.travis.yml
index b2da28e..0b7cf31 100644
--- f8a91e5/.travis.yml
+++ ae806af/.travis.yml
@@ -22,7 +22,6 @@ script:
 - (cd serde && travis-cargo --only nightly build -- --no-default-features)
 - (cd serde && travis-cargo --only nightly build -- --no-default-features --features alloc)
 - (cd serde && travis-cargo --only nightly build -- --no-default-features --features collections)
-- (cd serde && travis-cargo --only nightly build -- --no-default-features --features rustc_unicode)
 - (cd serde_tests && travis-cargo test)
 - (cd serde_tests && travis-cargo --only nightly test -- --features nightly-testing)
 - (cd serde_macros && travis-cargo --only nightly test -- --features nightly-testing)
diff --git f8a91e5/serde/src/lib.rs ae806af/serde/src/lib.rs
index 40bea6d..e98741c 100644
--- f8a91e5/serde/src/lib.rs
+++ ae806af/serde/src/lib.rs
@@ -30,7 +30,11 @@ extern crate alloc;
 #[cfg(feature = "std")]
 mod core {
     pub use std::{ops, hash, fmt, cmp, marker, mem, i8, i16, i32, i64, u8, u16, u32, u64, isize,
-            usize, f32, f64, char, str, slice, iter};
+            usize, f32, f64, char, str, num, slice, iter};
+    #[cfg(feature = "nightly")]
+    extern crate core;
+    #[cfg(feature = "nightly")]
+    pub use self::core::nonzero;
 }

 pub use ser::{Serialize, Serializer};

just some nits then this is good to go.

@oli-obk if you're happy with 9b7317f, I'll squash it.

I don't mind
@homu r+

:pushpin: Commit 9b7317f has been approved by oli-obk

:zap: Test exempted - status

This was unfortunately a breaking change for me at least as the default behavior of serialize_char changed from emitting a string to emitting a list of bytes. Would it be possible to perhaps signal this through a major version bump or adding a note to the newly added changelog?


VSCode/AWS CDK Error with credential_provider.

When trying to use VSCode w/ AWS CDK an error happens saying that the credential_provider could not be found.  I confirmed in my .aws/config file there's a profile with a credential_provider line.   Opened ticket w/ AWS Support and they suggested it's an issue with aws-sso-util.
Error message from VSCode:
2023-02-02 14:57:33 [ERROR]: _aws.auth.reauthenticate: Error: Unable to authenticate connection
-> CredentialsProviderError: Profile aws.account.2.AdministratorAccess did not contain credential_process.
snipped from .aws/config
[profile aws.account.2]
region = us-east-1
aws_session_expiration = 2023-01-20T02:02:25
sso_start_url = redacted
sso_region = us-east-1
sso_account_name = aws-account.2
sso_account_id = redacted
sso_role_name = Administrator.Access
credential_process = aws-sso-util credential-process --debug --profile aws.account.2.AdministratorAccess
sso_auto_populated = true
It's worthy to note that if I delete the credential_process line it will log in but not auto-refresh credentials.  Nothing in the debug file shows warnings or errors for anything attempted.  I'm not attaching the debug log as it contains token info.

I'm running into the same issue. I hadn't run aws-sso-util configure populate in a long time, and things had been working. After running it again, I started getting errors when trying to run commands like cdk bootstrap and cdk deploy.
Deployment failed: Error: Need to perform AWS calls for account<PHONE_NUMBER>12, but no credentials have been configured
    at SdkProvider.forEnvironment (/Users/bilalq/zoya/code/prototype/node_modules/aws-cdk/lib/index.js:391:13075)
    at async Deployments.cachedSdkForEnvironment (/Users/bilalq/zoya/code/prototype/node_modules/aws-cdk/lib/index.js:431:12580)
    at async Deployments.prepareSdkFor (/Users/bilalq/zoya/code/prototype/node_modules/aws-cdk/lib/index.js:431:8146)
    at async Deployments.isSingleAssetPublished (/Users/bilalq/zoya/code/prototype/node_modules/aws-cdk/lib/index.js:431:11799)
    at async /Users/bilalq/zoya/code/prototype/node_modules/aws-cdk/lib/index.js:431:166809

Need to perform AWS calls for account<PHONE_NUMBER>12, but no credentials have been configured

Not entirely sure if this is a bug in CDK or aws-sso-util, but like @johnowens00 mentioned, remove the credential_process line fixes it for me.

I'm skeptical this is a problem with aws-sso-util, the credential process is compliant with the spec. The JS SDK v2 has slowly been fixing its Identity Center support, I wouldn't be surprised if it also has credential process problems, but this is the first I've heard of it. When you generate profiles, you can use --no-credential-process to suppress the credential_process line. At some point I will create a new major version that omits it by default.
Let me know if it is still happen and I will try to figure out what the SDK's problem is.


Isabelle github script

Addresses #39
Filters:

Since github contains multiple copies of the Archive of Formal Proofs (AFP), we keep only mirror-afp-devel (the newest version) and filter other copies of the AFP out.
We keep a document only if it has theorem  or lemma
Standard deduplication used in process_github (exclude a document if it has a 2048-character span that exactly matches a previous document).
Standard filters applied to our other languages.

Test-set overlap:

We remove a theorem (and its proof) when the theorem name is from the universal_test_theorems set of PISA

specifically, given a document, we check if a theorem name is present using exact string match. We remove the theorem name and all subsequent tokens up to \n\n as a heuristic for where the proof ends. If \n\n isn't present, we remove the remainder of the document.

Running with up to 1000 repos (--limit 1000) yields ~262M tokens

looks good to me.


change the display position

Is it possible to show the view from bottom to top with a slide up action? Please help.

No, there is three controllers within SWRevealViewController (rear, front and right). You should implement this feature yourself with a pan gesture recognizer.

thank you for your help.

https://github.com/iDevelopper/PBRevealViewController


RYA-361 Remove JCalendar library from merge/copy/export

Description
Removed JCalendar and entire dialog prompt feature from options settings and poms.
This library is LGPL, not allowed in an Apache project.
Tests
Removed dialog references, no new tests
Links
Jira
Checklist

[ ] Code Review
[ ] Squash Commits

People To Review

Eric
anyone

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-rya-master-with-optionals-pull-requests/475/Failed Tests: 8incubator-rya-master-with-optionals-pull-requests/org.apache.rya:rya.merger: 8org.apache.rya.accumulo.mr.merge.CopyToolTest.testCopyToolorg.apache.rya.accumulo.mr.merge.MergeToolTest.testMergeToolorg.apache.rya.accumulo.mr.merge.MergeToolTest.testNewParentEmptyChildorg.apache.rya.accumulo.mr.merge.MergeToolTest.testNewParentMissingChildorg.apache.rya.accumulo.mr.merge.MergeToolTest.testWithDefaultSplitsorg.apache.rya.accumulo.mr.merge.MergeToolTest.testWithParentSplitsorg.apache.rya.accumulo.mr.merge.MergeToolTest.testWithChildSplitsorg.apache.rya.accumulo.mr.merge.MergeToolTest.testWithParentAndChildSplits

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-rya-master-with-optionals-pull-requests/476/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-rya-master-with-optionals-pull-requests/477/Failed Tests: 3incubator-rya-master-with-optionals-pull-requests/org.apache.rya:rya.prospector: 3org.apache.rya.prospector.mr.ProspectorTest.testCountorg.apache.rya.prospector.service.ProspectorServiceEvalStatsDAOTest.testCountorg.apache.rya.prospector.service.ProspectorServiceEvalStatsDAOTest.testNoAuthsCount

asfbot build

asfbot build

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-rya-master-with-optionals-pull-requests/478/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-rya-master-with-optionals-pull-requests/479/


Problem with multiple instances

When there are multiple instances on a page which are connected to different sets (playlists) on soundcloud, after the first track is complete in the active player, a different player starts playing instead of the second track in the active player.
An example of this behavior is available on https://andyg.co/hen
Steps to reproduce:

Click 'play' on the first toneden player
Scroll to the end of the song (or let the first song play to the end)
The song completes -- I would then expect the second song in the set associated with the first player to play... this isn't what happens
Instead of playing the second song in the set associated with the first player, it begins playing a track in a different player at the bottom of the page

Thanks for your wonderful player!
-- Andy

Note: I'm closing every issue on this repo with this message.
I apologize for not being in contact earlier. We recently received notice from SoundCloud that they're shutting down their external streaming API for business reasons that I won't speculate about.
Every user of a custom SoundCloud player, ours included, will need to switch to their embedded player in order to stream songs from SoundCloud.
It's disappointing that we have to be the ones to break this news to developers, and I'm sorry for the inconvenience it's caused the users of our player. I'll leave this repo up and add this message to the top of the README so that others become aware of the situation.


Replicate the current code

Reproduce the current code, and check for any potential issues.

Was able to successfully replicate code. Had an issue with numpy version but it worked after updating to latest version.


[TensorRT-LLM][ERROR] Assertion failed: hasValues == configValue.has_value() (/app/tensorrt_llm/cpp/include/tensorrt_llm/runtime/samplingConfig.h:46

System Info
H100 x8 SXM 80G, 2TB Ram, x86, main branch of TRTLLM
Who can help?
@byshiue
Information

[ ] The official example scripts
[ ] My own modified scripts

Tasks

[ ] An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
[ ] My own task or dataset (give details below)

Reproduction
Run Triton with tensorrtLLM on 8x H100 server with mistral 8x22b model
Expected behavior
No crashes
actual behavior
at some point the server prints an error
We are seeing a crash in samplingConfig.h:46.
[TensorRT-LLM][ERROR] Encountered an error in forward function: [TensorRT-LLM][ERROR] Assertion failed: hasValues == configValue.has_value() (/app/tensorrt_llm/cpp/include/tensorrt_llm/runtime/samplingConfig.h:46)
1       0x7f2f2005df31 tensorrt_llm::common::throwRuntimeError(char const*, int, std::string const&) + 102
2       0x7f2db5ceffcc std::optional<std::vector<int, std::allocator<int> > > tensorrt_llm::runtime::SamplingConfig::fuseValues<int>(std::vector<tensorrt_llm::runtime::SamplingConfig, std::allocator<tensorrt_llm::runtime::SamplingConfig> > const&, std::function<std::optional<std::vector<int, std::allocator<int> > > (int)>) + 476
3       0x7f2db5cf0ae9 tensorrt_llm::runtime::SamplingConfig::SamplingConfig(std::vector<tensorrt_llm::runtime::SamplingConfig, std::allocator<tensorrt_llm::runtime::SamplingConfig> > const&) + 873
4       0x7f2db5ce4344 tensorrt_llm::runtime::GptDecoderBatch::newRequests(std::vector<int, std::allocator<int> > const&, std::vector<tensorrt_llm::runtime::decoder_batch::Request, std::allocator<tensorrt_llm::runtime::decoder_batch::Request> > const&, std::vector<tensorrt_llm::runtime::SamplingConfig, std::allocator<tensorrt_llm::runtime::SamplingConfig> > const&) + 404
5       0x7f2db5dfb5f3 tensorrt_llm::batch_manager::TrtGptModelInflightBatching::setupDecoderStep(std::map<unsigned long, std::shared_ptr<tensorrt_llm::batch_manager::LlmRequest>, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, std::shared_ptr<tensorrt_llm::batch_manager::LlmRequest> > > >&, std::vector<unsigned long, std::allocator<unsigned long> > const&) + 851
6       0x7f2db5dfd8d7 tensorrt_llm::batch_manager::TrtGptModelInflightBatching::forward(std::list<std::shared_ptr<tensorrt_llm::batch_manager::LlmRequest>, std::allocator<std::shared_ptr<tensorrt_llm::batch_manager::LlmRequest> > >&) + 5495
7       0x7f2db5dafd34 tensorrt_llm::batch_manager::GptManager::step(std::list<std::shared_ptr<tensorrt_llm::batch_manager::LlmRequest>, std::allocator<std::shared_ptr<tensorrt_llm::batch_manager::LlmRequest> > >&, std::set<unsigned long, std::less<unsigned long>, std::allocator<unsigned long> >&) + 36
8       0x7f2db5db7e64 tensorrt_llm::batch_manager::GptManager::decoupled_execution_loop() + 404
9       0x7f31359f2253 /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xdc253) [0x7f31359f2253]
10      0x7f3135781ac3 /usr/lib/x86_64-linux-gnu/libc.so.6(+0x94ac3) [0x7f3135781ac3]
11      0x7f3135813850 /usr/lib/x86_64-linux-gnu/libc.so.6(+0x126850) [0x7f3135813850]
[TensorRT-LLM][WARNING] Step function failed, continuing.

After this crash the server continues to work, but batch size is limited to 2. It prints the above error number of times.
additional notes
Causes server to be unsuable

@nekorobov Can you help take a look of this issue? Thanks
June

Hi @NikolaBorisov , thank you for reporting the issue. It likely happens due to the fact that one request has some value set in the samplingConfig, while the other requests does not have it. Could you, please, either confirm or deny that this is the case in your setup? If it is the case, the temporary fix is, on the caller side, to enforce that either all requests or none of them specify parameter to sampling config.
Meanwhile, we'll work on the fix from our side, thanks

The issue should be solved in the latest main branch. Could you try it and reopen if it does not work for you? Thank you!


since people don't want to be able to print() in their mafs, here is an efficient and very short with only mafs

expression.split() just turns it into a list, it doesn't split at every character. Therefore I suggest using pull request 5, updated to use eval and include Modulo and Floor Division.


ConversationChain

System Info
LangChain version 0.0.273
Python version 3.8.10
Ubuntu 20.04.5 LTS
Who can help?
@hwchase17
Information

[ ] The official example notebooks/scripts
[X] My own modified scripts

Related Components

[X] LLMs/Chat Models
[ ] Embedding Models
[ ] Prompts / Prompt Templates / Prompt Selectors
[ ] Output Parsers
[ ] Document Loaders
[ ] Vector Stores / Retrievers
[ ] Memory
[ ] Agents / Agent Executors
[ ] Tools / Toolkits
[X] Chains
[ ] Callbacks/Tracing
[ ] Async

Reproduction
Run the following code:
MY_MODEL_NAME="SUBSTITUTE_THIS_WITH_YOUR_OWN_MODEL_FOR_REPRODUCTION"

from langchain.chat_models import ChatOpenAI
from langchain.chains import ConversationChain
from langchain.memory import ConversationBufferMemory

llm = ChatOpenAI(temperature=0.1, model=MY_MODEL_NAME)
memory = ConversationBufferMemory(return_messages=True)
conversation = ConversationChain(llm=llm, memory=memory)

message1 = "Howdy there"
response1 = conversation(message1)
print(response1)
message2 = "How's it going?"
response2 = conversation(message2)
print(response2)

Inspect the requests sent to the server. They will resemble the following packets received by my own server:
request1:
'messages': [{'role': 'user', 'content': 'The following is a friendly conversation between a human and an AI. The AI is talkative and provides lots of specific details from its context. If the AI does not know the answer to a question, it truthfully says it does not know.\n\nCurrent conversation:\n[]\nHuman: Howdy there\nAI:'}]

request2:
'messages': [{'role': 'user', 'content': "The following is a friendly conversation between a human and an AI. The AI is talkative and provides lots of specific details from its context. If the AI does not know the answer to a question, it truthfully says it does not know.\n\nCurrent conversation:\n[HumanMessage(content='Howdy there', additional_kwargs={}, example=False), AIMessage(content='Howdy! How can I help you today?\\n', additional_kwargs={}, example=False)]\nHuman: How's it going?\nAI:"}]

Note that these requests are malformatted.
Expected behavior
There are two issues.
First, the messages packet is clearly malformatted, containing HumanMessage and AIMessage strings.
Second, the messages packet only has one conversation turn, and there appears to be no options within the ConversationChain class to allow for multiple turns.
This is particularly problematic as the ConversationChain class requires the user to know what turn tokens are appropriate to use. The user cannot and should not be expected to have knowledge of how the model was trained: there should be an option to leave this up to the server to decide.
My expected (and required for my product) behavior is for the two requests to be formatted as follows.
request1:
'messages': [{'role': 'user', 'content': 'Howdy there'}]

request2:
'messages': [{'role': 'user', 'content': 'Howdy there'}, {'role': 'assistant', 'content': 'Howdy! How can I help you today?\\n'}, {'role': 'user', 'content': "How's it going?"}]

Ultimately it is confusing why conversation(message1); conversation(message2); sends a different request to the server back-end than llm([HumanMessage(content=message1), AIMessage(content=response1), HumanMessage(content=message2)]) does.

I am ready and willing to write and submit a PR resolving this issue.
I would like guidance on how you would like this issue to be approached. It appears to me that either the guts of LLMChain must be modified to allow for multi-turn packets, or the guts of ConversationChain must be modified to no longer use LLMChain. Both options would cause disruptions.

Follow-up.
The following code behaves correctly in all aspects, resolving the root concern of this issue:
from langchain.chat_models import ChatOpenAI
from langchain.schema import HumanMessage, AIMessage, SystemMessage

from langchain.prompts.chat import ChatPromptTemplate, MessagesPlaceholder, HumanMessagePromptTemplate
from langchain.chains import ConversationChain
from langchain.memory import ConversationBufferMemory

llm = ChatOpenAI(temperature=0.0, model="CENSORED")

system_prompt = SystemMessage(content="""You are an AI Assistant or something""")
human_prompt = HumanMessagePromptTemplate.from_template("{input}")
prompt = ChatPromptTemplate(messages=[system_prompt, MessagesPlaceholder(variable_name="chat_history"), human_prompt])

memory = ConversationBufferMemory(memory_key="chat_history", return_messages=True)
conversation = ConversationChain(llm=llm, prompt=prompt, memory=memory, verbose=False)

conversation("""Howdy there""")
conversation("""How's it going?""")

Perhaps this codeflow should be baked directly into a ChatConversationChain class.


Reconsider SI system precedence

The library gives special importance to SI. This is different to pint and unnecessary. We can integrate with our APIs without giving up generality and flexbility.
At the moment, conversion to float is to SI units, regardless of the Quantity's units. If we do allow conversion to float, it should give the value in the current units, not the SI value. But note that pint does not allow that conversion (DimensionalityError)
Pint does support seamless numpy array integration - it provides an __array__ method which returns the values in the current units as a numpy array. E.g.,
>>> xs = q_([1.0, 1.5, 2.0], "ft")
>>> xs.__array__()
array([1. , 1.5, 2. ])
>>> class SomeNumpyConsumer:
...   def __init__(self, xs):
...     self.xs = xs.__array__()
...
>>> consumer = SomeNumpyConsumer(xs)
<stdin>:3: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
>>> consumer.xs
array([1. , 1.5, 2. ])

I believe that we should do the same.
As mentioned elsewhere in issues (#146) we might eliminate float inheritance. If we do then it should be to disallow float conversion. We have value access already. Do we need seamless float access? If so, it should be the value in the current units, and I don't see a great need to make that available implicitly.

@dnwillia-work @h-krishnan @ansaboutin @hpohekar

@seanpearsonuk @dnwillia-work
We have written RealWithUnits / Quantity based on following criteria as discussed here.

Real entries returned from the settings API are in SI units.
The float value is the SI value of the setting.
Whenever values are set via RealWithUnits() instead of SI, we could convert to SI units and then send to Fluent.
Of course, if no units are specified, SI units are implicitly assumed.
Values returned from Fluent will always be in SI units. But if user creates their own RealWithUnits object and sets a setting with that value, the value will be converted to SI units before sending to Fluent. User's specification of units is not preserved in the case file.

Initially we were focused on Fluent behavior only and we had not thought this initiative will take form of separate project which will support features outside of Fluent behavior.
Therefore we have given prime importance to SI system.

@seanpearsonuk @dnwillia-work
We have written RealWithUnits / Quantity based on following criteria as discussed here.

OK thank you, I see.  There are methods to convert from anything to SI or SI to anything else so we can build that functionality as part of integrating this library to pyfluent.


getSingleScalarResult() returns NULL when the query yields no results

NoResultException is not thrown in this case.

LGTM 👍


Some extra links

Some extra links to two open source projects and an info link to Microsoft.

Awesome great work!


Command failed: npm install cgb-scripts --save --save-exact --silent

Bug Report
Expected Behaviour
cd into wp-content/plugins
then run
npx create-guten-block my-project
It should install everything normally.
Actual Behaviour
During the installation I get the following error:
Command failed: npm install cgb-scripts --save --save-exact --silent
at makeError (/Users/casperleerink/.config/yarn/global/node_modules/execa/index.js:169:9)
    at /Users/casperleerink/.config/yarn/global/node_modules/execa/index.js:274:16
    at processTicksAndRejections (node:internal/process/task_queues:94:5)
    at async /Users/casperleerink/.config/yarn/global/node_modules/create-guten-block/app/npmInstallScripts.js:48:3 {
  code: 1,
  stdout: '',
  stderr: '',
  failed: true,
  signal: null,
  cmd: 'npm install cgb-scripts --save --save-exact --silent',
  timedOut: false,
  killed: false
}

I am running this on MacOS big sur 11.4, just normal intel chip. I am running my wordpress locally on a docker container.
Tried it both with npx create-guten-block and yarn create guten-block but getting the same error.
Using node version 15.14.0
For reference here is my docker-compose.yaml
version: "3"

services:
  # Database
  db:
    image: mysql:5.7
    volumes:
      - db_data:/var/lib/mysql
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: password
      MYSQL_DATABASE: wordpress
      MYSQL_USER: wordpress
      MYSQL_PASSWORD: wordpress
    networks:
      - wpsite
  # phpmyadmin
  phpmyadmin:
    depends_on:
      - db
    image: phpmyadmin/phpmyadmin
    restart: always
    ports:
      - "8080:80"
    environment:
      PMA_HOST: db
      MYSQL_ROOT_PASSWORD: password
    networks:
      - wpsite
  # Wordpress
  wordpress:
    depends_on:
      - db
    image: wordpress:latest
    ports:
      - "8000:80"
    restart: always
    volumes: ["./:/var/www/html"]
    environment:
      WORDPRESS_DB_HOST: db:3306
      WORDPRESS_DB_USER: wordpress
      WORDPRESS_DB_PASSWORD: wordpress
    networks:
      - wpsite
networks:
  wpsite:
volumes:
  db_data:

Getting the same error

I'm getting the same error.
macOS Big Sur version 11.6 (new apple M1 chip).
node v15.14.0
npm v7.7.6

same here. (Mojave )
it's still working with
node v14.18.1
npm 6.14.15

There already have an issue and have been solved: https://github.com/ahmadawais/create-guten-block/issues/152
The solution is to change node version to v14.17.0  . At least works for me.

╭─ clvz   …/wp-content/plugins   ╰─ nvm ls                                                                                 10024  14:21:46          v12.16.1        v12.18.3        v14.15.4        v14.16.1        v14.17.0        v14.17.4 ->     v14.18.2        v16.13.1          system default -> node (-> v16.13.1) iojs -> N/A (default) unstable -> N/A (default) node -> stable (-> v16.13.1) (default) stable -> 16.13 (-> v16.13.1) (default) lts/* -> lts/gallium (-> v16.13.1) lts/argon -> v4.9.1 (-> N/A) lts/boron -> v6.17.1 (-> N/A) lts/carbon -> v8.17.0 (-> N/A) lts/dubnium -> v10.24.1 (-> N/A) lts/erbium -> v12.22.7 (-> N/A) lts/fermium -> v14.18.2 lts/gallium -> v16.13.1 ╭─ clvz   …/wp-content/plugins   ╰─ nvm use lts/fermium                                                                                 10025  14:21:50   Now using node v14.18.2 (npm v6.14.15) ╭─ clvz   …/wp-content/plugins   ╰─

Was delighted to see this npx create-guten-block my-block but unable to install, is there any thing you can do?

Works for me as well on Node 14.19 using NVM

The workaround using outdated versions of node is a poor solution. This library promises to manage dependencies for you, but the dependencies under the hood here are half a decade old and include 16 high and medium severity security issues. The library is not maintained (and never was). But since the point of the library is to simplify/hide the dependency details from users, people don't know that and wrongfully think that just running a years-old version of node to "make it work" is a solution. If you use the eject script and try to update your dependencies, you'll understand.
@ahmadawais should mark this repo as 'looking for maintainer' and/or archive it, as in this state it is actively doing harm to developers who don't know the difference, all while taking every opportunity to try to monetize.
Full reply on the original issue (which was "closed" for no apparent reason, since this issue is cross-platform and still affects anyone attempting to use this library on a remotely recent version of node): https://github.com/ahmadawais/create-guten-block/issues/152#issuecomment-1245034255

This project is archived and looking for active maintainers.

Hi folks,

The create-guten-block project was a labor of love and I personally don't use it any more which is why I find less and less time to manage and improve upon it. While I'd like to think this project paved the way for other projects like wp-scripts and wp-blocks, there's value in maintaining this project.

If you're interested in improving the overall health of this project, please respond to this issue. It would require a great deal of technical insights into the WordPress ecosystem as well as JavaScript projects like webpack, React, and more.

Peace! ✌

#307 ← respond to this issue.


Listener on TCP <IP_ADDRESS>:808

Please include a note that the hybrid worker uses tcp port 808. My installation failed several times until I found that requirement buried in the error logs and removed the listener already registered to that port. It is an extremely common port to use for a variety of applications.

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

ID: 879377a5-eb3f-251b-c85d-bc8578a45cd3
Version Independent ID: 1516ac74-cd31-2496-1368-52c1d0b7d0ab
Content: Quickstart: Create a hybrid mode instance with Azure portal - Azure Database Migration Service
Content Source: articles/dms/quickstart-create-data-migration-service-hybrid-portal.md
Service: dms
GitHub Login: @pochiraju
Microsoft Alias: rajpo

@stepheja Thank you for the feedback. We are actively investigating and will get back to you soon.

@stepheja Thank you for the feedback. We are actively investigating and will get back to you soon.

@stepheja This is being assigned to the content author to evaluate and update as appropriate.

@stepheja This is being assigned to the content author to evaluate and update as appropriate.

@pochiraju Raj, can you take a look at this suggestion and see if we want to add it to the article? Thank you!

#please-close


Has anyone gotten itvX to work?

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've searched known issues and the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
yt-dlp --version
2024.08.06

I'm reporting that yt-dlp is broken on a supported site

Acc. to yt-dlp/supportedsites.md at master · yt-dlp/yt-dlp:
ITV

I've verified that I have updated yt-dlp to nightly or master

yt-dlp --version
2<IP_ADDRESS>733

I've checked that all provided URLs are playable in a browser with the same IP and same login details

Orphan Black: Echoes - Series 1 - Episode 1 - ITVX
https://www.itv.com/watch/orphan-black:-echoes/10a4782/10a4782a0001
Playing in next tab as I type.
Logged into my account. Using a VPN connected to a London IP address. Plays fine in Chrome.

I've checked that all URLs and arguments with special characters are properly quoted or escaped

Tried with and without escaping:
"https://www.itv.com/watch/orphan-black:-echoes/10a4782/10a4782a0001"
https://www.itv.com/watch/orphan-black\:-echoes/10a4782/10a4782a0001

I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates

I've read the guidelines for opening an issue

Please include the full output of yt-dlp when run with -vU
yt-dlp -vU <your command line>

yt-dlp -vU -F "https://www.itv.com/watch/orphan-black:-echoes/10a4782/10a4782a0001"
[debug] Command-line config: ['-vU', '-F', 'https://www.itv.com/watch/orphan-black:-echoes/10a4782/10a4782a0001']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp-master-builds [0fba08485] (zip)
[debug] Python 3.12.4 (CPython x86_64 64bit) - macOS-13.6.5-x86_64-i386-64bit (OpenSSL 3.3.1 4 Jun 2024)
[debug] exe versions: ffmpeg 7.0.1 (setts), ffprobe 7.0.1, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.07.04, mutagen-1.47.0, requests-2.32.3, sqlite3-3.46.0, urllib3-2.2.2, websockets-13.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1832 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-master-builds/releases/latest
Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp-master-builds
yt-dlp is up to date<EMAIL_ADDRESS>from yt-dlp/yt-dlp-master-builds)
[generic] Extracting URL: https://www.itv.com/watch/orphan-black:-echoes/10a4782/10a4782a0001
[generic] 10a4782a0001: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] 10a4782a0001: Extracting information
[debug] Looking for embeds
ERROR: Unsupported URL: https://www.itv.com/watch/orphan-black:-echoes/10a4782/10a4782a0001

Enter the country/region that the site is accessible from

UK
Provide verbose output that clearly demonstrates the problem

[ ] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[ ] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
No response

videos are DRM protected, Brave browser wants to install the Google widevine add-on

There was originally a viewable mobile format that the extractor could use, but it isn't served any longer. STV (ITV Scotland) has its own site that is more accommodating.

@october262

videos are DRM protected

Huh? I mentioned that I can play the videos in Chrome, no problem. Without ads. Even if they were DRMed, they could still be downloaded.

No, DRM protected videos cannot be downloaded

STV (ITV Scotland) has its own site that is more accommodating.

I am able to download content from STV but they don't have the same content as ITV. Orphan Black is not available.

No, DRM protected videos cannot be downloaded

Being pedantic :smile: , DRM-protected videos can still be downloaded to disk (provided you know how :stuck_out_tongue_winking_eye: ), but in their "encrypted" form ONLY (no good for off-line viewing); it is the decryption part (DRM circumvention) that is illegal in most jurisdictions and the one part that yt-dlp will NEVER engage itself in, because it would then risk DMCA takedown requests by Google (owner of the prevailing DRM module, Widevine) and all content providers that choose to guard their offerings (from piracy, supposedly) by putting it behind DRM (the net effect being that the average user of those services, not inclined in the slightest to pirate media), is being extremely limited in the choice of browser/OS/device/way etc. to "enjoy" this media content :angry: ...

Being pedantic 😄 , DRM-protected videos can still be downloaded to disk (provided you know how 😜 ), but in their "encrypted" form ONLY (no good for off-line viewing);

Not pedantic at all. Exactly as I thought. You can download DRMed content with Prime app but can only play them within the app.

#5570


docker image wheelybird/openvpn-ldap-otp:v1.8   init  error

logs

In addition, when docker -v persistent deployment is used, modifying the server.conf of the host to add a route to restart the docker container does not take effect in the container

Could you show the full command you used to run the container?  I'd guess that you're setting an invalid value for OVPN_SERVER_CN.


How to achieve subgrouping?

Hi @erfangc ,
var data =[
{
col1: '10',
col2: '20',
col3: '30'
},
{
col1: '10',
col2: '50',
col3: '30'
},
{
col1: '10',
col2: '60',
col3: '30'
},
{
col1: '40',
col2: '60',
col3: '20'
},
{
col1: '40',
col2: '80',
col3: '20'
},
{
col1: '70',
col2: '80',
col3: '10'
}
];
var columns = [ {colTag: 'col1', title: 'Column 1'}, {colTag: 'col2', title: 'Column 2'}, {colTag: 'col3', title: 'Column 3'}];
<GigaGrid
initialSortBys={[{"colTag":"col1"}]}
data={data }
columnDefs={columns} />
Now how to acheive sub grouping?
I want to achieve something like you have given in the example : http://erfangc.github.io/GigaGrid/
I tried using initialSubtotalBys , but not able to achieve.
Could you please help me ?
Regards
Ashish

actually I cant see the (+) button to expand it.

Do you have a screenshot

attached screenshot.

I am not seeing the issue on my end when trying the same ... perhaps a CSS conflict? you should do an inspect element ...
also the version I ran was 0.8.2

Actually no css conflict, i don't have any other css for now.
I am trying to use this with React 15.1, Is it compatible with React 15 ?

Should be compatible with react 15, what does your inspect element say
On Thu, Mar 9, 2017 at 9:35 PM Ashish Dhyani<EMAIL_ADDRESS>wrote:

Actually no css conflict, i don't have any other css for now.
I am trying to use this with React 15.1, Is it compatible with React 15 ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/erfangc/GigaGrid/issues/90#issuecomment-285556168,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFuUHvMcLWKeVq6ZNvthTA6f69yy-j2fks5rkLb0gaJpZM4MVIVw
.

element inspection looks something like this

Oh ... I think all you need to do is include font-awesome in your project ... sorry about that

http://fontawesome.io/get-started/

I am in the middle of rewriting a large portion of the table that makes a bit inefficient and unclean ... having a font dependency is definitely on the list of things I want to remove


Override covid test denominator to be the total population

Currently the denominator is the total test case which is not meaningful for comparisons across places.

+1 to the housing unit swap
for covid though, we were considering this before, and both are meaningful in different ways. we landed on # total tests because people take the test multiple times, and this is a measure of disease prevalence

Oh I see. So the issue with using the total test is that data is not present for many places, which makes the perCapita not working: https://datacommons.org/tools/timeline#place=geoId%2F06085&statsVar=CumulativeCount_MedicalTest_ConditionCOVID_19_Positive%2C5%2C2%2C0%2C1%2CCumulativeCount_MedicalTest_ConditionCOVID_19

thanks for review and explanation :)


feat: support indexing in mixed discrete-continuous systems

Checklist

[ ] Appropriate tests were added
[ ] Any code changes were done in a way that does not break public API
[ ] All documentation related to code changes were updated
[ ] The new code follows the
contributor guidelines, in particular the SciML Style Guide and
COLPRAC.
[ ] Any new documentation only uses public API

Additional context
Add any other context about the problem here.

Docs build fails https://github.com/SciML/SymbolicIndexingInterface.jl/actions/runs/8187637707/job/22388543154?pr=53#step:5:47