Connect-backend feature has limitation(no way to authenticate) when opening pgweb in iframe

Hi.
We want to use pgweb's connect-backend feature. In our web-app we embed pgweb iframe to access the database for a user.
We have configured pgweb with these params as mentioned in docs here
--connect-backend=<backend-url>
--connect-token=<some-randomly-token>
--connect-headers=<access_token(token-to-authenticate-user)>

The way we want to use the connect backend feature is using the pgweb url like
https://<pgweb-url>/connect/<resource-id> . The resource id is something that that will uniquely identify a database in our system.
The issue here is in an iframe there is no direct way to pass headers directly, so we have no way to authenticate our user(i.e. passing access_token as header with /connect/ request).
For passing iframe in header, on googling  i found some answers but they mainly ask to make the request using some JS library like axios, XMLhttpRequest and then use the info returned, in iframe.
From what i understood, when we use pgweb connect backend in browser(without any headers for auth), it makes a request to backend, get credentials and from https://<pgweb-url>/connect/<resource-id> redirects us to base pgweb url https://<pgweb-url>/ setting the session id in session storage of browser and let's us access the database.
Since the part of setting the session id is done by pgweb's web interface and for iframe usecase we are making call to https://<pgweb-url>/connect/<resource-id> via axios, the session id can't be set(in pgweb domains session storage) and hence the pgweb web-app opened in the iframe remains unauthenticated.
Secondly we saw that we can pass header x-session-id in GET request for /connect/<>, then this session id can be used to connect to the database, but this session id needs to be set in pgweb-domains session storage and browsers don't allow cross domain access to browser storage i.e. from our https://<my-org-web/ i can't set session id of https://<pgweb-url>/.
Any help or suggestion is appreciated. If anything is unclear in my explanation, please feel free to tag and comment.
Thanks in advance.

I'm not a Pgweb developer, just a fellow user who has been working with Pgweb's connect backend recently. Since you asked for any suggestion, may I offer my 2 cents?
Browser clients cannot pass custom headers in non-Javascript GET requests (which is what an iframe would make). Cookies were invented to send extra data along with every request, but in order to make that work Pgweb would have to be on the same origin as the site that sets the cookies. That is possible using a proxy and Pgweb's --prefix option, but this is way too complex in my opinion.
As an alternative, let's focus on your core requirement. Ultimately you're just trying to pass the value of the access_token along with the database identifier to your connect backend somehow. You mentioned that resource-id happens to be a database identifier, but you could use almost whatever you want as the resource-id and Pgweb will just blindly forward it on to your backend as the string value of "resource". If it's not too long or secret, it might be simplest to append the value of access_token to the database name in the path with a separator character, like https://<pgweb-url>/connect/<database-name>,<access-token>. Then your backend could split them apart, authenticate the user, and move on. Or, if you have a shared session store (like redis or memcached or DynamoDB or something), you could store the access token and database identifier under a temporary random key, then pass that key in the connect URL. Then your backend server could look it up, verify the user, and then delete the temporary key to avoid a session reply attack.
You already have everything you need to make this work without any change to Pgweb.

@Barnabas Hi, thanks for the suggestion. As of know we have implemented somewhat similiar to what you explained.

Before making a call to pgweb connect, we call the backend with passing auth token in header and get a unique connect token for the given user that expires in 15sec.
then we open pgweb in iframe by calling /connect/<connect_token_from_prev_call>.
We didn't wanted to pass user authtoken in request directly as that can be logged at ingress or in ES.


Add Support for FLOPs Calculation [Keras WandbCallback]

Fixes WB-NNNN
Fixes #NNNN
Co-author: Soumik Rakshit
Description
The PR adds a small yet useful feature to compute TensorFlow/Keras model FLOPs and log it as wandb summary by default.
The feature leverages tf.compat.v1.profiler to do the same and supports TF 2.x.
The user just have to use Keras WandbCallback and it will write the GigaFLOPs value as summary as shown in the image below.

Testing
yea test.
Checklist

Include reference to internal ticket "Fixes WB-NNNN" (and github issue "Fixes #NNNN" if applicable)

Hey @kptkin not sure why was this PR closed? Should I make a separate PR to the main branch?

hmmm that's weird i didn't close anything


Completed and updated Italian translation

Hi, this is a pull request to complete #110. I don't know how to add my changes there, I have already requested on the original fork but the original author seems inactive, so I'll send it here. Thank you for this amazing software!

Many thanks.


Added check and test for betas parameter for Adam Optimizer

This PR adds a check to prevent division by zero errors and give users friendlier error messages when using the Adam optimizer.
Currently, if one specifies the beta value of the Adam optimizer as 1.0 for the first parameter, pyro fails with the error message, ZeroDivisionError: float division by zero. According to the definition of Adam, beta values should be in the range [0, 1).

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

hello. thanks for the contribution! since we just wrap the adam in pytorch i think a more appropriate place for this kind of check would be in pytorch?

:+1: I agree the PyTorch folks would appreciate better error checking, then a larger community could benefit from this fix.

@lazypanda1 After discussing with the rest of the Pyro team, we feel fix really belongs upstream in PyTorch so more people can benefit. The PyTorch folks are very friendly about accepting PRs (we contribute regularly). I think you can simply put your ValueErrors now in Adam.__init__(): https://github.com/pytorch/pytorch/blob/master/torch/optim/adam.py#L29 If you send a PR this week it will likely make it into PyTorch 0.4 release and be available in the next major release of Pyro.


Migrate structure from CP data301

@ellisonbg's enhancements with Makefile and consolidating the configuration parameters to essentially one file greatly simplifies the installation process.

[ ] Migrate Makefile
[ ] Migrate example configuration file for testing

What I found in using this repo was that I needed some things to be outside
the repo and not version controlled:

My server config
Security stuff
The Makefile that I customized for my deployment.

Because of this I have found it most useful to have an outer repo
(separate from this one) that includes this repo as a submodule. That outer
repo has the host config, host vars, security stuff and a Makefile that
copies those things into place into the ansible setup and then runs ansible.
Part of this is that I need an easy way to completely update and reset the
ansible config separately from my deployment specific details. Because of
that I think it is best for us to keep the Makefile out of this repo. Some
options:

Create a cookiecutter that has that outer stuff and includes the ansible
deployment stuff as a git clone or submodule
Create a separate repo that does the same thing.

I almost think that the cookie cutter idea would work well in this case
though...
Thoughts?
On Sat, Jan 14, 2017 at 11:17 AM, Carol Willing<EMAIL_ADDRESS>wrote:

@ellisonbg https://github.com/ellisonbg's enhancements with Makefile
and consolidating the configuration parameters to essentially one file
greatly simplifies the installation process.

Migrate Makefile
Migrate example configuration file for testing

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jupyterhub/jupyterhub-deploy-teaching/issues/70, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AABr0LNcHkwvA_H8NYSzgd70WvjDTG7Pks5rSR9ngaJpZM4Ljtve
.

--
Brian E. Granger
Associate Professor of Physics and Data Science
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

Great feedback Brian.
I like the cookie cutter idea.

+1 for a cookiecutter template


Check Node version early

We need to add better Node version checks. The current one doesn’t cover all requirements (like Node >= 8.9.0).

@gaearon, are the checks supposed to be changed under engines in package.json files?
Do I understand it correctly? If yes, I'd be happy to contribute.

Hey guys, is someone working on it? I'll be happy to contribute

Hey guys, this one is available? Regards!

Hey @maximilianotulian yes this is available. You should be able to base your work on #5430. Sorry we lost track of this

Thanks @ianschmitz, I will give it a try

Hey @maximilianotulian yes this is available. You should be able to base your work on #5430. Sorry we lost track of this

Sorry i meant #5501 @maximilianotulian

@gaearon IMO, the pre-install script can check node version and exit if it doesn't find suitable node version.

Hey, do I understand correctly the issue? Looks like you are not satisfied with the current version checker (NOT the node version itself)? I took a look into the PRs that was done here and all of them updating the node version. Only this one https://github.com/facebook/create-react-app/pull/5501/files improved version checker, but it was not approved. Could anybody tell me what was wrong with it (apart of yarn.lock in .gitignore)?

@ianschmitz Can I try this one? Would love to contribute here!

Hey @iansu @raix.
Is this issue still up for a grab, I want to take this one up.

Hey guys, is someone working on it? I'll be happy to contribute

Hey guys, is someone working on it? I'll be happy to contribute

I would like to work on this

Hey guys, is someone working on it? I'll be happy to contribute


Change draw tool to one vertex per click

The draw tool for creating a region boundary operates like this:

The first click sets the first vertex
Subsequent clicks have no effect
Dragging creates vertices, and it is impossible to zoom/pan during the dragging operation.

It would be easier to create free form polygons if each click placed a vertex, and zoom/pan operations were allowed between clicks.  geojson.io has a good example of this behavior with the "draw a polygon" tool.

Oops.  Sorry.  Duplicates #146


Allow for data types

This project is great, but only generates quoted output when sometimes we also want doubles, integers, etc.  I propose figuring out how to load an XSD for type checking during the transform.  The below is really simple, but worked for my needs 👍
Modify xml2json as follows:
    <!-- Load  the XSD so we can use it to look up data types during conversion -->     <xsl:variable name="xsd" select="document('YOUR_SCHEMA.xsd')"/>
<xsl:template match="*" mode="detect"> ...             <xsl:when test="count(./child::*) = 0">                 <!-- This is a niave type check, but works for my simple case -->                 <xsl:variable name="pName" select="name(..)" />                 <xsl:variable name="eltName" select="local-name()" />                 <xsl:variable name="optionType" select="$xsd//xs:element[@name = $pName]//xs:element[@name = $eltName]/@type" />                 <!-- Use optionType to determine to quote or not -->                 <xsl:choose>                     <xsl:when test="$optionType = 'xs:double' or $optionType = 'xs:int'">                         <xsl:text>"</xsl:text><xsl:value-of select="name()"/>" : <xsl:apply-templates select="."/>                     </xsl:when>                     <xsl:otherwise>                         <xsl:text>"</xsl:text><xsl:value-of select="name()"/>" : "<xsl:apply-templates select="."/><xsl:text>"</xsl:text>                     </xsl:otherwise>                 </xsl:choose>                 <xsl:if test="count(following-sibling::*) > 0">, </xsl:if>             </xsl:when>         </xsl:choose>     </xsl:template> ...
This is a basic idea, but in this way you can output typed data too.

@viable-hartman thanks for the suggestion - an option to have in mind.
I don't have a lot of time to dedicate to this TBH - feel free to fork or submit a pull request.


Cannot move items from player inventory

If player has items in top part of his inventory (not hotbar) he cannot click on the nor move them, even when GUI has AdvancedSlots. So it makes them imposible to use

Players are always able to use their own inventory(spigot calls them bottom inventory). for top inventory, you have to make unprotected icons. Visit wiki to get more information about it.
Please let me know if your problem is solved or not.


Comparison between frame-wise and clip-wise feature extraction in terms of computation time

Hi Vladimir!
Thank you so much for your efforts on this project! This has been really helpful for my research. :)
I have a question not related to this repo, but directly related to the project. I apologize in advance if this is the wrong place to ask.
For a paper I'm currently working on, I wish to make a comparative statement on frame-wise (CLIP, ResNet) VS clip-wise feature extraction (C3D, S3D, S3D) in terms of training and inference time. My intuition and some quick experiments suggest that frame-wise feature extraction is faster for both training and inference, but so far I couldn't find any references to support this. So I just thought I'll check with you as well. Have you come across any references that compare the computation time between frame-wise and clip-wise feature extraction?
Best,
Noga

Hi, i am glad you like it.
Good question. No, I haven’t seen any.


Sample "sp_WhoIsActive" throws warning on launch

Issue Type: Bug

Install whoisactive via built-in extensions manager
Warning pops up immediately & every program launch after that:

Some of the loaded extensions are using obsolete APIs, please find the detailed information in the Console tab of Developer Tools window

Developer Tools's Console tab details:

The extension "Microsoft.whoisactive" is using sqlops module which has been replaced by azdata module, the sqlops module will be removed in a future release.
console.(anonymous function) @ c:\Program Files\Azure Data Studio - Insiders\resources\app\node_modules.asar\zone.js\dist\zone-node.js:2280

Azure Data Studio version: azuredatastudio-insiders 1.11.0-insider (b1ebf608367ec5c382d1c8f2510d3e9acaa3732b, 2019-08-26T17:29:06.648Z)
OS version: Windows_NT x64 6.1.7601

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4710MQ CPU @ 2.50GHz (8 x 2494)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwareoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_deferred_display_list: disabled_offskia_renderer: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
19.63GB (7.60GB free)

Process Argv

Screen Reader
no

VM
0%

@Charles-Gagnon the thing you linked to is not the extension, it's a SQL stored procedure on which the extension is based.
The extension is here. -- And it's part of this repo, so this issue should be left open and/or fixed here.

Ah, sorry about that! Don't know how I missed that.

@Charles-Gagnon Last question: how am I supposed to use your fixed extension/sample from 1.12+ onwards? Because uninstalling the outdated extension, then updating to 1.12+ didn't restore the card/tile within the "Manage DB" tab?! :confused:

It should appear as a tab at the top :

If that's not there then you should be able to add it again by clicking the + in the top right corner of the Dashboard :

Unfortunately, it's neither available at the top:

.. nor addable via "+":

Can you include a screenshot of your extensions page to verify that it's showing the extension as installed and active?
If you browse to %USERPROFILE%.azuredatastudio\extensions\microsoft.whoisactive-0.1.2 does that folder exist and contain files such as this?

Restart ADS then open the Developer Console (Help -> Toggle Developer Tools) - are there any errors listed in the Console tab?

I suppose that subfolder actually didn't ever exist.
Back then, I tried uninstalling the original extension and failed to succeed. Hence I deleted its folder to finally get rid of it.
But that folder didn't start with "Microsoft", IIRC.

Installing the extension should create the folder. If you go to the extensions viewlet in ADS and find the entry for the whoisactive extension does it have the Install button enabled?

That worked perfectly. Thanks a lot for your help - tab and functionality are back. :grinning:


Django 1.8

Add Django 1.8 to the tests and other relevant sections.
As discussion in issue #1967.

Codecov Report

Merging #1968 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1968   +/-   ##
=======================================
  Coverage   69.14%   69.14%
=======================================
  Files          70       70
  Lines        6954     6954
  Branches     1352     1352
=======================================
  Hits         4808     4808
  Misses       1912     1912
  Partials      234      234

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 254820a...8606bc7. Read the comment docs.

But does it work with Django 1.8 at all btw?
This should be ported to 1.0.x branch then.

I have found no issues in my testing so far.  I want try try a few more items before merging.

I've found no issues.  Does anyone have anything specific to check?

I think we can merge it.
Not sure do we need to backport to 1.0.x and release 1.0.2 or release 1.1.0 instead?
Maybe 1.0.2 is better, master is still very fresh.

Yeah, we still need to do more testing on the refactored clustering before I'd consider it stable enough to cut 1.1.0

I submitted PR #1975 for the 1.0.x branch.  OK to merge here?

Please do


[BUG]: Cannot save and embed PDFs or scraped web pages.

How are you running AnythingLLM?
AnythingLLM desktop app
What happened?
V1.1.1 of the desktop, also running LM Studio V0.2.16. Plain chat is working fine, but when I try to add documents, nothing I try works.

Click to upload and select some PDFs.
Select 1 PDF and "move to workspace"
Click Save and Embed.

I always get the below:

No errors in the settings > event logs. I've tried with about 10 different PDFs (none of them need OCR, they are text). I also tried "Fetch website" using:
https://elv.sh/learn/fundamentals.html
This gives the same error when clicking save and embed.
Are there known steps to reproduce?
See above, this is 100% reproducible on my Macbook Air M2 16GB running macOS 14.3.1

same problem.

Your IP/VPN is blocked by HuggingFace. Solution: https://github.com/Mintplex-Labs/anything-llm/issues/821

Thanks for the help. Manual download didn't work for me: https://github.com/Mintplex-Labs/anything-llm/issues/821#issuecomment-1984856061


Android Back navigation - possible bug

in Android, if you navigate to a page and then very quickly hit the back button (and less frequently, the navbar back button), it will leave the previous page blank. It's navbar is there but the content is not visible. maybe some animation is not triggered??

Debug or production build?  I've noticed the page stacks work a little differently but haven't been able to pinpoint the cause.

we can repo in release and debug

Do you have a snippet?  Are either or both of them top level pages?

the initial page is top level, the navigated to page is not (for our example of whne we've seen it, I'll try to find more examples). it doesn't matter the page or the amount of controls on it, its pretty easy to reproduce now
edit - I just tried on the tabris.js bookstore example and I can see the same thing happening. click on a book in the collectionview and then quickly hit the back button, initial page with the collectionview is blank

I tried hard to repro this with the Bookstore example running in the Tabris.js 1.5 developer app on a pair of Samsung 4.4 devices but couldn't.  I hit the back button just as soon as I could get my finger to the back button after tapping an item in the collection.  Sometimes this caused me to jump back in to the examples list presumably because the new page hadn't finished being initialized so the top level listing page was the only one on the stack.  I also tried waiting a few hundred milliseconds after tapping the item, but no dice.
If I tapped on two or three items in the collection in quick succession I would get two/three pages (respectively) to open, each with the correct data.  These three pages would get pushed on to the stack and would pop off as expected.  But never a blank page.
Can you run this snippet and see what gets logged when you have the blank page?  And if it's undefined, it would be interesting to see what's in tabris.ui._pages.  I think what might be happening is that you pop the last page off before the new page can get added to the stack.
tabris.create('Page', {
  topLevel: true,
  title: 'Top level page'
}).append(
  tabris.create('Button', {
    text: 'Open child page'
  }).on('select', function() {
    tabris.create('Page', {
      title: 'Child page'
    }).open();
  })
).open();

tabris.ui.on('change:activePage', function(ui, page) {
  console.log('Now active: ', page.get('title'));
});

here's a quick video of your script and the bookstore demo app
https://drive.google.com/file/d/0B70iZVVL69Kaa29VcGczb2JkMVE/view?usp=sharing
Android 5.0.1 but also seen on Android 5+ devices as well. I have not tried on 4.4

fwiw, I think is has to do with the animation when you go back to the previous screen, its either not started or canceled. if you look at the video of the bookstore, you can see the animation continue after the page goes blank just before the click on the gear action button on the navbar

Good catch, it does indeed have to do with the animation.    I just set them back to 1x and this repros no problem.

yea, its pretty easy to put your app in an invalid state where users have no idea what to do next. several of our testers have reported this error but I never knew what they were talking about, you really have to go back and forth fairly quickly to see it (then again, that's how real uses interact with apps though)

I can confirm the reported issue. We were able to reproduce it in the bookstore demo as shown in the video.

The issue has been fixed for the upcoming 1.6 release.


Improve schema building

allow define same controller by all loaders (e.g. define in annotations and modify something in neon)
ArrayLoader
modify error messages to make sense for all loaders (currently are annotations-specific)
some tests
own loaders?
extend schema modifying options - middlewares and decorators should be able to describe what they do in openapi schema

Continues in #125 and #126


I want to Customize NSURLRequest

I try 2.0-dev branch.
interceptURLRequest is removed at this commit 022d2563db1aa039886c145d3aee41661ab81555 .
Is there how to customize NSURLRequest?

Thank you for your suggestion! I overlooked the importance of customizing NSURLRequest in #163. Actually, it is hard to customize NSURLRequest after 022d256. I've reverted #163 and restored interceptURLRequest(_:) in #166.

Thanks for quick reaction!
I have tried, so I have no problem for now.


Support multiline description in treeview when the treeItem is collapsed

I found that VSCode's TreeView cannot display multi-line description:

The description for java.applet is actually "Provides the classes\n necessary to create an applet and the classes an applet uses to communicate with its applet context."
Many extensions also suffer from this, for example, gitlens:

the user has to hover on it to get full information.
IMO, the target of the description field is to provide more detailed info to users. So the length of the description is commonly long. But if the description is long, the user has to adjust the window once and once again, or hover on it. Both operations are annoying and unnecessary. I think this can be avoid by supporting multi-line description when the TreeItem is collapsed.
If anyone has better solutions, please leave a comment 😉

It is intentional that tree items don't wrap. It would disrupt the layout, and tree views should be scannable (longer lines are generally less scannable.
However, the tree view allows you to do two things that do wrap. You can set a message (seen in Test View below), or Welcome Content (seen in the No Folder Open view below):

message API: https://github.com/Microsoft/vscode/blob/bb9c167ef278d1fc5ed64ee2ae15b941e141e0b4/src/vs/vscode.d.ts#L8293-L8297
Example of Welcome Content: https://github.com/microsoft/vscode-pull-request-github/blob/7fded38d4765d43ab9ce79c18534c727fdd1af83/package.json#L693-L704


Book Structure Templating

Describe the feature you'd like
Page templating is great, but I would like the ability to instantly deploy a book using a template chapter structure.
Describe the benefits this feature would bring to BookStack users
Somebody must enforce a structure at the start when deploying a documentation server. Using templates solves two problems. First, it's a tool to enforce standardization, that is each book has the same structure. This lowers the time of searching documentation. The second reason to use book  templates is to include there question checklist to show writers what information they should include.
I can presently do this using page templates, but that means I am not making use of the chapter level of organisation as I can only template pages.

Here is an example of the kind of structure I'd like to deploy with a single click.
N.B.
I've tried reverse engineering this and doing it through SQL and I can duplicate the books/chapters tables, but they don't appear as books in the web interface. I'm missing a hook somewhere.

I think this is a great feature request.  The example is perfect.

Thank you for the request @ITTurtle.
This if functionally a duplicate of #808 and #1123 so I'm going to close this to cut down on similar issues.

I've tried reverse engineering this and doing it through SQL and I can duplicate the books/chapters tables, but they don't appear as books in the web interface. I'm missing a hook somewhere.

Yeah, It'll likely be the permission system since the per-role item-level permissions need to be updated.  You can use the below command to regenerate the permissions table so you don't have to do this manually:
php artisan bookstack:regenerate-permissions

You may also want to run:
php artisan bookstack:regenerate-search

A full list of BookStack commands can be found here.


Default ordering direction of grouped records

Description
It wasn't possible to change the default ordering direction of grouped records in a table.
This changes add the functionality to set a default ordering direction of all Groups registered on the table.
Functional changes
Arrow-function to set a default value for the orderingdirection of records when grouped.

[x] Code style has been fixed by running the composer cs command.
[x] Changes have been tested to not break existing functionality.
[x] Documentation is up-to-date.

Hi, apologies but we are no longer accepting new features for v3 as per #13744. Also, please check out our contributing guide which talks about proposing the feature before submitting the PR, to ensure you aren't spending time building something that we won't merge.
I would accept a PR for this feature when v4 is released, if you are still interested. Thank you!

Hi,
I'm sorry, I made a mistake here and for wasting your time. I'm still interested in contributing to this feature. I'll wait for the release of v4 and try again. @danharrin


try mambaforge

As title

Looks like the environment resolves fine with mambaforge, but now I see:
Running Sphinx v5.0.2

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/numba-pixie/conda/11/lib/python3.12/site-packages/sphinx/config.py", line 343, in eval_config_file
    exec(code, namespace)
  File "/home/docs/checkouts/readthedocs.org/user_builds/numba-pixie/checkouts/11/docs/source/conf.py", line 12, in <module>
    from pixie._version import get_versions
ModuleNotFoundError: No module named 'pixie'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/numba-pixie/conda/11/lib/python3.12/site-packages/sphinx/cmd/build.py", line 272, in build_main
    app = Sphinx(args.sourcedir, args.confdir, args.outputdir,
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/docs/checkouts/readthedocs.org/user_builds/numba-pixie/conda/11/lib/python3.12/site-packages/sphinx/application.py", line 202, in __init__
    self.config = Config.read(self.confdir, confoverrides or {}, self.tags)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/docs/checkouts/readthedocs.org/user_builds/numba-pixie/conda/11/lib/python3.12/site-packages/sphinx/config.py", line 165, in read
    namespace = eval_config_file(filename, tags)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/docs/checkouts/readthedocs.org/user_builds/numba-pixie/conda/11/lib/python3.12/site-packages/sphinx/config.py", line 356, in eval_config_file
    raise ConfigError(msg % traceback.format_exc()) from exc
sphinx.errors.ConfigError: There is a programmable error in your configuration file:

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/numba-pixie/conda/11/lib/python3.12/site-packages/sphinx/config.py", line 343, in eval_config_file
    exec(code, namespace)
  File "/home/docs/checkouts/readthedocs.org/user_builds/numba-pixie/checkouts/11/docs/source/conf.py", line 12, in <module>
    from pixie._version import get_versions
ModuleNotFoundError: No module named 'pixie'

Configuration error:
There is a programmable error in your configuration file:

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/numba-pixie/conda/11/lib/python3.12/site-packages/sphinx/config.py", line 343, in eval_config_file
    exec(code, namespace)
  File "/home/docs/checkouts/readthedocs.org/user_builds/numba-pixie/checkouts/11/docs/source/conf.py", line 12, in <module>
    from pixie._version import get_versions
ModuleNotFoundError: No module named 'pixie'


Add missing semicolons and adjust indentation

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Handle a case when the deployment doesn't exist

Need to add a handler for a case when specific deployment doesn't exist (or there is error that has similar effect)
Waiting for deployment with timeout: 60 seconds
Error from server: deployments.extensions "test" not found
Waiting for specified generation:  for deployment test to be observed
Error from server: deployments.extensions "test" not found

My idea is that the script should wait for the deployment to be available.

My assumption so far was that the caller of the script should make sure that the deployment passed actually exists. Otherwise, we cannot know for sure if a given deployment is going to pop up any second or if we (the caller) passed in a wrong deployment name.
Of course I am biased towards my own use cases. I'd be curious to know what kind of usage pattern you have that warrants waiting for a future deployment.
Side note: I noticed from your log that the script does not terminate on first error. PR #6 should have fixed that.


udp: add stats for downstream and upstream drops

Risk Level: Low
Testing: New tests
Docs Changes: Added
Release Notes: Added
Platform Specific Features: N/A

cc @alyssawilk @danzh2010


Write building view queries for the D3 team

It looks like it's pretty straightforward to add layers to the Mapbox maps on the building information page if I fetch geoJSON. For the data columns listed on issue #80, would you be able to process the data involving coordinates into geoJSON? Thanks!

Closing in favor of our new proof of concept Lambda API #142


Licenses update required?

Hi,
I was just wondering if all the licenses are up to date? I only ask because I notice a dependency is python-dateutil (which is BSD licensed) but no copy of its license is in the licenses folder.
Nothing major, I have just been considering how to license my own code, that uses Pandas as a library, and my impression was I would have to restate your licence along with my own.
Am I wrong?
Mat

Am I wrong?

I think so, yes :). As a rule, you only need to include another project's license when you copy code from it. If you're just using it as a library, nothing is required.

OK, I think I see the argument here.
If I'm not modifying the source or supplying a binary of the BSD licensed library then I do not need to reproduce the original licence. But if I modify / copy or package the code / binary then I should.
Where does subclassing fit? Say if I wanted to subclass Dataframe to provide additional output options. Is this redistribution of source at this point?

I'm not a lawyer, but I don't think subclassing counts a "redistribution" in source or binary form any more than normal use. Writing class MyDataFrame(pandas.DataFrame) in a file does not make that file a redistribution of pandas anymore than import pandas.

OK great! Thanks a lot for your help Stephan. It's just really hard to find clear explanation as to the implications of various licenses in relation to python.


Update to replace references to 'sourceEntity'

In working on the draft budget and spend extension I noted that the documentation uses sourceEntity (an original draft property name) instead of sourceParty as used in the final extension.
This change should make the documentation and schema consistent on this point.

(It was easier to re-do changes than to fix merge conflicts.)


not able to select notebook - python

Azure Data Studio Version:`.34.0
OS Version:Windows_NT x64 10.0.19045

Steps to Reproduce:
1.Click on File -> New Notebook
2.Select Python3
3.Select New Python Installation
4.Second step click on next
5. It starts downloading python package - mentioning installing notebook dependencies, then it writes:
Unpacking python package
Python download is complete
Encountered an error when trying to retrieve list of installed packages: Unexpected token c in JSON at position 85
Installing Notebook dependencies failed with error: Cannot read property 'version' of undefined

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

@MKLZur can you try the latest ADS release (1.47.0) and see if this is still happening?

Hello apparently i did some copy paste error. I am already using latest version and its happening there.


Remove dev Sigma

We do not actively support , update or use the the yamls. Leaving them in here often leads to confusion! This PR removes that.

@patel-bhavin can we tweak .github/labeler.yml to remove the dev/ folder as part of this PR? This line in particular can just be removed with this change:
https://github.com/splunk/security_content/blob/625fc37fe292b146acbcdd887f35275085592499/.github/labeler.yml#L5

done!


Memory Leak

With only source.cpp included (no other code) the app runs but leaks two blocks of 16 bytes a block of 3200 and one of 608 bytes... If I define DLIB_ISO_CPP_ONLY there is no leak so it's in there somewhere.
Using VS2015 on Windows 10 64

This is not enough information to do anything useful with.  It's also probably not a memory leak.  But if you find a specific part of the code that you think leaks feel free to post about that.

here are the steps to reproduce the leak ...
Use VS2015 to create an MFC dialog app. Add Source.cpp to the project (set to not using precompiled headers for source.cpp)
Compile and run... on exit will show leaks

I get how to do it.  My point is that those things aren't really leaks or don't matter.  In particular, there are things that look like leaks but are there to work around bugs in windows.  You can find extended discussion of some of them in comments in the code or in some of the github issues.


Improve IPAM Usage documentation

Description
The README and examples for IPAM rely on preview_next_cidr and passing the CIDR into the module rather than relying on ipam_pool_id to pick the cidr range.  The documentation around it sounds like this is because we think there's a chicken-n-egg problem on getting the CIDR block and creating the subnets and all of that.
I've given it a try, and found a sample that actually works where none of that happens!
The trick is that module.vpc.vpc_cidr_block is populated before the subnets are created.
The second part that I've seen errors about is the use of cidrsubnets which returns a list.  Because it's a function that returns a list with a yet-unknown argument, terraform assumes the list size is unknown (technically when we use cidrsubnets its always the length of its newbit argument).  By switching to cirdsubnet that problem goes away.
I'm not sure I can make the PR to fix the documentation and examples, but wanted to share my solution incase it helps someone else update those!

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

⚠ Note
Before you submit an issue, please perform the following first:
Versions

Module version [Required]: 3.19.x at lesat

Terraform version:
1.3.1

Provider version(s):
4.55.0

Reproduction Code [Required]
locals {
  azs = ["us-east-1a", "us-east-1b", "us-east-1c"]

  pool_id = "blah"

  # XXX: the numbers you pick here matter
  # you will want to ensure that you can CREATE num_X_subnets of size vpc_X_subnet_length in a vpc_X_network_length
  # e.g., you can create 4 /24s in one /22, that's valid.  But you can't create 3 /22s in one /21

  # the total size to grab from the pool
  vpc_default_network_length = 22
  # the total size to grab from the pool
  # each subnet/per AZ size
  vpc_default_subnet_length = 24

  num_default_subnets = length(local.azs)
}

module "vpc" {
  source  = "terraform-aws-modules/vpc/aws"
  version = "~> 3.19.0"

  use_ipam_pool          = true
  ipv4_ipam_pool_id     = local.pool_id
  ipv4_netmask_length = local.vpc_default_network_length

  azs = local.azs

  private_subnets = [for i, _ in range(local.num_default_subnets) : cidrsubnet(module.vpc.vpc_cidr_block, local.vpc_default_subnet_length - local.vpc_default_network_length, i)]
}

Steps to reproduce the behavior:
terraform init && terraform apply -auto-approve
Expected behavior
An error, because our documentation says this shouldn't work!
Actual behavior
Success!

Plz no

bump!


CI: K8sServicesTest Checks N/S loadbalancing Tests security id propagation in N/S LB requests fwd-ed over tunnel: k8s3 host unexpectedly connected to service

Test Name
K8sServicesTest Checks N/S loadbalancing Tests security id propagation in N/S LB requests fwd-ed over tunnel

Failure Output
k8s3 host unexpectedly connected to service "http://<IP_ADDRESS>:30372", it should fail

Stack Trace
/home/jenkins/workspace/Cilium-PR-K8s-1.23-kernel-net-next/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:527
k8s3 host unexpectedly connected to service "http://<IP_ADDRESS>:30372", it should fail
Expected command: kubectl exec -n kube-system log-gatherer-qbnvt -- curl --path-as-is -s -D /dev/stderr --fail --connect-timeout 5 --max-time 20 http://<IP_ADDRESS>:30372 -w "time-> DNS: '%{time_namelookup}(%{remote_ip})', Connect: '%{time_connect}',Transfer '%{time_starttransfer}', total '%{time_total}'"
To have failed, but it was successful:
Exitcode: 0
Stdout:

	 Hostname: test-k8s2-647d6dd9cd-mpxgj

	 Pod Information:
	 	-no pod information available-

	 Server values:
	 	server_version=nginx: 1.13.3 - lua: 10008

	 Request Information:
	 	client_address=::ffff:<IP_ADDRESS>
	 	method=GET
	 	real path=/
	 	query=
	 	request_version=1.1
	 	request_scheme=http
	 	request_uri=http://<IP_ADDRESS>:80/

	 Request Headers:
	 	accept=*/*
	 	host=<IP_ADDRESS>:30372
	 	user-agent=curl/7.68.0

	 Request Body:
	 	-no body in request-

	 time-> DNS: '0.000018(<IP_ADDRESS>)', Connect: '0.002995',Transfer '0.004206', total '0.005728'
Stderr:
 	 HTTP/1.1 200 OK
	 Date: Tue, 22 Mar 2022 11:51:43 GMT
	 Content-Type: text/plain
	 Transfer-Encoding: chunked
	 Connection: keep-alive
	 Server: echoserver

/home/jenkins/workspace/Cilium-PR-K8s-1.23-kernel-net-next/src/github.com/cilium/cilium/test/k8s/services.go:624

Standard Output
Number of "context deadline exceeded" in logs: 0
Number of "level=error" in logs: 0
Number of "level=warning" in logs: 0
Number of "Cilium API handler panicked" in logs: 0
Number of "Goroutine took lock for more than" in logs: 0
No errors/warnings found in logs
Number of "context deadline exceeded" in logs: 0
Number of "level=error" in logs: 0
Number of "level=warning" in logs: 0
Number of "Cilium API handler panicked" in logs: 0
Number of "Goroutine took lock for more than" in logs: 0
No errors/warnings found in logs
Number of "context deadline exceeded" in logs: 0
Number of "level=error" in logs: 0
Number of "level=warning" in logs: 0
Number of "Cilium API handler panicked" in logs: 0
Number of "Goroutine took lock for more than" in logs: 0
No errors/warnings found in logs
Cilium pods: [cilium-5x6jk cilium-wgnxg]
Netpols loaded:
CiliumNetworkPolicies loaded:
Endpoint Policy Enforcement:
Pod                           Ingress   Egress
grafana-6c7d4c9fd8-492rt
echo-694c58bbf4-gvnj9
testds-8hnf2
app2-765f4cdd75-lzgmg
test-k8s2-647d6dd9cd-mpxgj
testds-tmhxm
coredns-6874cd75d4-wtcfd
prometheus-55777f54d9-csc25
app1-cb878666-hmrmd
app3-76cb9c47f4-2q5rq
testclient-9rtvz
app1-cb878666-v5bzx
echo-694c58bbf4-v962g
testclient-28k8g
Cilium agent 'cilium-5x6jk': Status: Ok  Health: Ok Nodes "" ContinerRuntime:  Kubernetes: Ok KVstore: Ok Controllers: Total 42 Failed 0
Cilium agent 'cilium-wgnxg': Status: Ok  Health: Ok Nodes "" ContinerRuntime:  Kubernetes: Ok KVstore: Ok Controllers: Total 60 Failed 0

Standard Error
11:51:40 STEP: Making 1 HTTP requests from outside cluster to "http://<IP_ADDRESS>:30372"
11:51:40 STEP: Making 1 HTTP requests from outside cluster to "http://<IP_ADDRESS>:30372"
11:51:40 STEP: Making 1 HTTP requests from outside cluster to "http://[fd04::11]:32714"
11:51:40 STEP: Making 1 HTTP requests from outside cluster to "http://[fd04::12]:32714"
11:51:42 STEP: Making 1 HTTP requests from outside cluster to "http://<IP_ADDRESS>:30372"
FAIL: k8s3 host unexpectedly connected to service "http://<IP_ADDRESS>:30372", it should fail
Expected command: kubectl exec -n kube-system log-gatherer-qbnvt -- curl --path-as-is -s -D /dev/stderr --fail --connect-timeout 5 --max-time 20 http://<IP_ADDRESS>:30372 -w "time-> DNS: '%{time_namelookup}(%{remote_ip})', Connect: '%{time_connect}',Transfer '%{time_starttransfer}', total '%{time_total}'"
To have failed, but it was successful:
Exitcode: 0
Stdout:

	 Hostname: test-k8s2-647d6dd9cd-mpxgj

	 Pod Information:
	 	-no pod information available-

	 Server values:
	 	server_version=nginx: 1.13.3 - lua: 10008

	 Request Information:
	 	client_address=::ffff:<IP_ADDRESS>
	 	method=GET
	 	real path=/
	 	query=
	 	request_version=1.1
	 	request_scheme=http
	 	request_uri=http://<IP_ADDRESS>:80/

	 Request Headers:
	 	accept=*/*
	 	host=<IP_ADDRESS>:30372
	 	user-agent=curl/7.68.0

	 Request Body:
	 	-no body in request-

	 time-> DNS: '0.000018(<IP_ADDRESS>)', Connect: '0.002995',Transfer '0.004206', total '0.005728'
Stderr:
 	 HTTP/1.1 200 OK
	 Date: Tue, 22 Mar 2022 11:51:43 GMT
	 Content-Type: text/plain
	 Transfer-Encoding: chunked
	 Connection: keep-alive
	 Server: echoserver

=== Test Finished at 2022-03-22T11:51:44Z====
11:51:44 STEP: Running JustAfterEach block for EntireTestsuite K8sServicesTest
===================== TEST FAILED =====================
11:51:45 STEP: Running AfterFailed block for EntireTestsuite K8sServicesTest
cmd: kubectl get pods -o wide --all-namespaces
Exitcode: 0
Stdout:
 	 NAMESPACE           NAME                               READY   STATUS    RESTARTS   AGE     IP              NODE   NOMINATED NODE   READINESS GATES
	 cilium-monitoring   grafana-6c7d4c9fd8-492rt           1/1     Running   0          30m     <IP_ADDRESS>       k8s1   <none>           <none>
	 cilium-monitoring   prometheus-55777f54d9-csc25        1/1     Running   0          30m     <IP_ADDRESS>      k8s1   <none>           <none>
	 default             app1-cb878666-hmrmd                2/2     Running   0          4m6s    <IP_ADDRESS>      k8s1   <none>           <none>
	 default             app1-cb878666-v5bzx                2/2     Running   0          4m6s    <IP_ADDRESS>      k8s1   <none>           <none>
	 default             app2-765f4cdd75-lzgmg              1/1     Running   0          4m6s    <IP_ADDRESS>        k8s1   <none>           <none>
	 default             app3-76cb9c47f4-2q5rq              1/1     Running   0          4m6s    <IP_ADDRESS>       k8s1   <none>           <none>
	 default             echo-694c58bbf4-gvnj9              2/2     Running   0          4m6s    <IP_ADDRESS>       k8s2   <none>           <none>
	 default             echo-694c58bbf4-v962g              2/2     Running   0          4m6s    <IP_ADDRESS>       k8s1   <none>           <none>
	 default             test-k8s2-647d6dd9cd-mpxgj         2/2     Running   0          4m6s    <IP_ADDRESS>      k8s2   <none>           <none>
	 default             testclient-28k8g                   1/1     Running   0          4m6s    <IP_ADDRESS>      k8s1   <none>           <none>
	 default             testclient-9rtvz                   1/1     Running   0          4m6s    <IP_ADDRESS>      k8s2   <none>           <none>
	 default             testds-8hnf2                       2/2     Running   0          3m46s   <IP_ADDRESS>       k8s2   <none>           <none>
	 default             testds-tmhxm                       2/2     Running   0          4m6s    <IP_ADDRESS>      k8s1   <none>           <none>
	 kube-system         cilium-5x6jk                       1/1     Running   0          5m8s    <IP_ADDRESS>   k8s2   <none>           <none>
	 kube-system         cilium-operator-57f4c4d789-nrg79   1/1     Running   0          5m8s    <IP_ADDRESS>   k8s2   <none>           <none>
	 kube-system         cilium-operator-57f4c4d789-zbflv   1/1     Running   0          5m8s    <IP_ADDRESS>   k8s3   <none>           <none>
	 kube-system         cilium-wgnxg                       1/1     Running   0          5m8s    <IP_ADDRESS>   k8s1   <none>           <none>
	 kube-system         coredns-6874cd75d4-wtcfd           1/1     Running   0          9m27s   <IP_ADDRESS>      k8s2   <none>           <none>
	 kube-system         etcd-k8s1                          1/1     Running   0          36m     <IP_ADDRESS>   k8s1   <none>           <none>
	 kube-system         kube-apiserver-k8s1                1/1     Running   0          36m     <IP_ADDRESS>   k8s1   <none>           <none>
	 kube-system         kube-controller-manager-k8s1       1/1     Running   0          36m     <IP_ADDRESS>   k8s1   <none>           <none>
	 kube-system         kube-scheduler-k8s1                1/1     Running   0          36m     <IP_ADDRESS>   k8s1   <none>           <none>
	 kube-system         log-gatherer-9f5jl                 1/1     Running   0          30m     <IP_ADDRESS>   k8s1   <none>           <none>
	 kube-system         log-gatherer-pdfk9                 1/1     Running   0          30m     <IP_ADDRESS>   k8s2   <none>           <none>
	 kube-system         log-gatherer-qbnvt                 1/1     Running   0          30m     <IP_ADDRESS>   k8s3   <none>           <none>
	 kube-system         registry-adder-lw7w8               1/1     Running   0          31m     <IP_ADDRESS>   k8s2   <none>           <none>
	 kube-system         registry-adder-mmlzn               1/1     Running   0          31m     <IP_ADDRESS>   k8s3   <none>           <none>
	 kube-system         registry-adder-zpmqt               1/1     Running   0          31m     <IP_ADDRESS>   k8s1   <none>           <none>

Stderr:

Fetching command output from pods [cilium-5x6jk cilium-wgnxg]
cmd: kubectl exec -n kube-system cilium-5x6jk -c cilium-agent -- cilium service list
Exitcode: 0
Stdout:
[Skipped because that was too many characters for GitHub]

Stderr:

cmd: kubectl exec -n kube-system cilium-5x6jk -c cilium-agent -- cilium endpoint list
Exitcode: 0
Stdout:
[Skipped because that was too many characters for GitHub]

Stderr:

cmd: kubectl exec -n kube-system cilium-wgnxg -c cilium-agent -- cilium service list
Exitcode: 0
Stdout:
[Skipped because that was too many characters for GitHub]

Stderr:

cmd: kubectl exec -n kube-system cilium-wgnxg -c cilium-agent -- cilium endpoint list
Exitcode: 0
Stdout:
[Skipped because that was too many characters for GitHub]

Stderr:

===================== Exiting AfterFailed =====================
11:52:18 STEP: Running AfterEach for block EntireTestsuite

Resources

Jenkins URL: https://jenkins.cilium.io/job/Cilium-PR-K8s-1.23-kernel-net-next/790/
ZIP file(s): 8a54ce4f_K8sServicesTest_Checks_N-S_loadbalancing_Tests_security_id_propagation_in_N-S_LB_requests_fwd-ed_over_tunnel.7z.zip

Anything else?
No response

https://github.com/cilium/cilium/pull/19061 was in fact missing in the branch of the PR. This is not a flake, and we can close.


Specifying leading directories in path to template files causes parsing errors

I created an issue on Cortex (https://github.com/cortexproject/cortex/issues/3357) about weird directory processing behavior on the alertmanager side, but @gotjosh suggested I create an issue here to address the root problem. I wouldn't assume the path that I'm asking cortextool to read it from on the local machine would have any effect on how cortex processes the file on the backend. I'm not sure the path should be sent to the backend. Even the filename is kind of annoying to have to be sent, but to match up the template name with the alert yaml I think that is necessary.
This seems like an issue where the tool should ignore the directory specified and not send that full path to the backend.

@mattmendick I got that same error but given cortex is trying to create a temp file for validation on /tmp and on recent MacOS's the write access to root has been revoked by default.
Is there a way to define the path for the validation yaml when loading alertmanager configs?


How can I check the progress of a script.Exec() command?

I have a long running Exec() query:
script.Exec("/home/aaron/big-script.sh")

This command takes a long time, but is always successful.
How can I check the progress of this Exec query? How do I know if it's still in-progress, or has finished running it's command?
I don't think I can check the exit status of the Pipe (as far as I can see), because that will only be set if there's an error

You can use Wait to wait for the pipe to finish:
script.Exec("/home/aaron/big-script.sh").Wait()

Alternatively, if the script produces output, you can copy it to the terminal while waiting:
script.Exec("/home/aaron/big-script.sh").Stdout()

One of the things I like to do when waiting for a long time is let the users know. -- hey it's gonna take a few. then I give it a spinner.
quit:=make(chan bool)
fmt.Println("going to run big-script.sh This is going to take a while.")
go spinner(quit)
script.Exec("big-script.sh").Stdout()
quit <- true

Spinner Function:
package main

import (
	"fmt"
	"os"
	"time"

	"github.com/artyom/spinner"
)

func spin(quit chan bool) {
	fmt.Println("")
	spnr := spinner.New(os.Stdout, "  Working: ")
	for {
		select {
		case <-quit:
			spnr.Clear()
			return
		default:
			spnr.Spin()
		}
		time.Sleep(250 * time.Millisecond)
	}
}


Remove default load balancer annotations

Only creates annotations if explicitly specified in the values file which now includes refs to cloud documentation of how load balancers work for AWS, GCP and Azure

We need to at least do the aws stuff right now since it is definitely creating a public IP and its holding up a customer from being able to use TIM

I don't think this will fix the public IP thing on EKS.  I think the public IP thing on EKS might be caused by our use of a deprecated annotation.  After all, the annotation is called "load-balancer-internal".  If I'm right, EKS is actually ignoring this which is why we're getting a public IP so this change won't solve the problem.


Cleanup and fix pkgconfig files so forge packages can be installed

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

The purpose here is to fix https://github.com/conda-forge/octave-feedstock/issues/50 by fixing paths in the .pc file.

@conda-forge-admin, please rerender
(and make some noise!)

I'm not entirely sure I was on the right track here -- it turns out that packages install OK on linux as-is, and not on osx even with the changes here.

@conda-forge-admin please rerender


Change the default color impossible

I couldn't change the default gray color in any way.
Is there an option?

In my case, writing in viewDidLoad:
self.faveButton?.setSelected(selected: true, animated: false) self.faveButton?.setSelected(selected: false, animated: false)
did the trick

`class CustomFaveButton: FaveButton {
override init(frame: CGRect) {
super.init(frame: frame)
    self.normalColor = UIColor.white
}

required init?(coder aDecoder: NSCoder) {
    super.init(coder: aDecoder)
}

}`

Set the value isSelected to false in your viewDidLoad.
The normalColor you set on the storyboard will only take effect when toggled.

I am facing the same problem. Both of the above solutions are not helping.


Check if library can be used with ETL

The Embedded Template Library (http://www.etlcpp.com) seems to be a reasonable idea, and it would be nice to know to what extend the library can be used with the type provided by the ETL.

Closed due to inactivity.

There are still issues compiling the ETL, see https://github.com/ETLCPP/etl/issues/12.

I shall close this issue. Getting ETL to work is too much effort at this moment.

What's the current status of this issue? Compiling with the ETL would be very useful for many use cases still.


config.txt > pciex1_gen=3

Report on "v1.11.0 final":
Don't reset the config.txt Otherwise, we need to re-enter: "dtparam=pciex1_gen=3" for the data to be recognized.
And you should copy the config.txt from the fat to the mini image. Although the files are similar in content, the config.txt from the fat image works.

This chages the sd card build ... push to v1.12.0


Cpx v3

backport of https://github.com/dherges/ng-packagr/pull/1011

Travis tests have failed
Hey @alan-agius4,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.
Node.js: 8

     yarn test

yarn run v1.3.2
$ yarn build && yarn test:specs && yarn integration:samples && yarn integration:specs && yarn integration:consumers
$ rimraf dist && yarn schema
$ json2ts --input src/ng-package.schema.json --output src/ng-package.schema.ts
$ tsc -p src/tsconfig.packagr.json
src/lib/ng-v5/package.transform.ts(96,11): error TS2304: Cannot find name 'copyFile'.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Node.js: node

     yarn test

yarn run v1.3.2
(node:5120) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
$ yarn build && yarn test:specs && yarn integration:samples && yarn integration:specs && yarn integration:consumers
(node:5141) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
$ rimraf dist && yarn schema
(node:5172) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
$ json2ts --input src/ng-package.schema.json --output src/ng-package.schema.ts
$ tsc -p src/tsconfig.packagr.json
src/lib/ng-v5/package.transform.ts(96,11): error TS2304: Cannot find name 'copyFile'.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.


Create Samila Art From Files

Description
We may come up with a solid behavior toward all file types to make Samila art from them. This issue tracker will be a place to discuss about:

How we can come up with that general solution?

Steps/Code to Reproduce
It may sound like this:
>>> g = Samila(path2file)

Expected Behavior
It will decode the file content into two functions (known as f1 and f2) and give construct a GenerativeImage instance then return it back.
Samila Version (Use : samila.__version__)
0.1

As we discussed a proper approach is to use the sha-256 hash code of the file as our random mode's random seed value.


Include Column List option

Closes https://github.com/databricks/spark-redshift/issues/340

This looks really useful. It would be really handy if we could have an option to ignore certain columns, eg columns that use IDENTITY, or columns with default values such as timestamps

This would be very useful for our purposes and would make loading data into Redshift using this package far more robust for us.

@toddwildey Unfortunately this package is dead and they haven't accepted or merged any PRs on it in 2 years. We've decided to decouple our Spark processes from Redshift and handle the Redshift data access in a different layer and move away from this package since it's no longer maintained and got no traction from what I could tell on a potential fork.

Hi @kyrozetera I'm using a fork of this library and this patch is just what I need. Would you be interested in contributing this patch to the fork? It applies without issue once the file paths are updated (see tweaked diff attached). If you'd rather not be bothered, I'd be happy to make the contribution on your behalf.
columns-list-patch.txt

@eeshugerman Sorry, I was out of town for the weekend so wasn't able to look at this until now. Looks like you've made the PR though so :+1:

Which version of the package can this change be found in ?

@sidrahsayyad https://github.com/spark-redshift-community/spark-redshift

I'm using pyspark --packages io.github.spark-redshift-community:spark-redshift_2.11:4.0.1 to test this change but consistently getting "Delimiter not found" error logged in stl_load_errors.

Did you set include_column_list to true? It's false by default.


mouseenter event typo fix

Descripton
updated mouseenter event typo in injectedScript.js file

Is this fixing a problem?

i have to check but definitely this might be causing bug somewhere

Makes sense, thank you. That said, this is a package we forked from playwright, I wonder whether it'd make more sense to fix it there and then update our copy. @acywatson wdyt?

We do need to update our playwright anyway, but this means updating @trueadm's fork from the upstream, which may or may not already contain this fix.


Install pkg-config files

pkg-config is an amazing tool for locating installed libraries and generating linkage information. It makes it trivial to link any program to a library. In the simplest case of a C program building with make one just adds these lines to their Makefile:
CFLAGS += $(shell pkg-config --cflags libthemis)
LDFLAGS += $(shell pkg-config --libs libthemis)

And it just works. No need for CMake to probe for libraries, etc.
pkg-config is also able to generate correct flags for static linkage. Static linkage is not trivial because of transitive dependencies. For example, when linking to Themis dynamically it is sufficient to add just -lthemis to linker's command line. However, for static linkage one needs to tell -static -lthemis -lsoter -lcrypto, explicitly including Soter (dependency of Themis) and SomethingSSL (dependency of Soter) into the command line. pkg-config tracks library dependencies and outputs correct flags as necessary.
Output of pkg-config is pretty straightforward so it may be used not only via directly embedding into makefiles for C programs, but by other ecosystems as well. It provides a consistent way to locate native libraries, portable across all major operating systems (yes, pkg-config is available on Windows as well).
Therefore it would be nice for Themis to include *.pc files for its libraries.
More technical details are in the commit message.

Thank you @ilammy! I think using pkg-config brings a great flexibility.
I'll merge this PR after one more 👍
P.S.

SomethingSSL
🤣

I'll merge this PR after one more 👍
And, of course, here is one more 👍


Bypass homepage and go straight to a docs page.

Summary
Have an option within params.toml that forwards the user to a specific docs page instead of the index.html page.
Basic example

Web developer sets `set_homepage = "/lorem/ipsum".
The user visits the site example.com.
The user sees the content from /content/en/docs/lorem/ipsum/index.md.

Another example:

The web developer sets set_homepage = "".
The user visits the site example.com.
The user sees the content of /layouts/index.html.

Motivation
Some web developers want to be able to immediately direct the user to .md content, and don't need a landing page. But the only way to do this currently is to manually edit the content of certain .md and /layout files. Mentioned in this discussion.

Definitely a good one to make this simpler — hopefully with just setting an option. I will look into this.

According to that discussion thread, the only thing that might be an issue is that you have to set url: "/" in the .md file you want Hugo to list as the homepage. Not sure how to get around that.

As a workaround for now. I am using {{ with .GetPage "/docs/prologue/introduction" }}{{.Render}}{{end}} in layouts/index.html and commenting out the current landing page.

Thanks for docs, I'm liking it so far, and working to use it for the docs page of a major open source project.
We're aiming to use one of the content pages as our main page. I'll probably use a variation on the solution outlined by @viraf, but I wanted to check in on this and see if there are any thoughts since last year. I do think this would be a useful option to support, as many docs pages start with an overview or introduction rather than a full project website.

See also https://github.com/h-enk/doks/discussions/343#discussioncomment-6613354


Cursor Pagination missing?

Hi! I'm sorry if this is a silly question but I can't seem to find the Cursor Paginator, even though it's mentioned in the Readme. I really want to use it if it's there somewhere, before spending time rolling up my own.
If there's no cursor paginator, I've been thinking of using https://github.com/Kukunin/cursor_pagination (although it seems a bit old) to integrate it as a resource paginator.
What do you think?

You are correct that cursor pagination isn't implmented yet. Some work was done, but it didn't work correctly so I pulled it and haven't gone back to it. It should have been removed from the readme (until the feature is finished). Sorry for the confusion.

Ok @lgebhardt , thanks for the answer!
By the way, do you know of any good, reliable gem that implements cursor pagination?

@andresberrios Sorry, I don't know of a good gem at this point.

@andresberrios if you find a way / work out a way to have cursor pagination with jsonapi-resources it'd be great to have it as a pull request / included in the gem itself along with the other 2 existing ways (paged & offset) :smiley:

@xdmx sorry, I was going to integrate another gem as a custom paginator, but now I've struggled for several days trying to have custom actions and overriding default behaviour in JR and I've found no remotely simple way, so I'm going to have to go back to normal rails for now. I really want to see how JR evolves, but for now I have to move on.
Still, thanks for the awesome work.


CRI-O: forward BUILD_NUMBER

Signed-off-by: Antonio Murdaca<EMAIL_ADDRESS>

@stevekuznetsov PTAL

@stevekuznetsov could you merge this and update the jenkins jobs? this is indeed fixing test reporting finally (https://openshift-gce-devel.appspot.com/build/origin-federated-results/pr-logs/pull/kubernetes-incubator_cri-o/1715/test_pull_request_crio_e2e_fedora/1171/)