Running on AWS within a Docker image

HI,
we are executing an experiment with Norconex running in a Docker container on the AWS platform. I want to have an implementation IDataStoreEngine that works with AWS. Was thinking about using MVStore on S3, but that does not feel like the best solution. Other idea was to use a jdbc connection, but having problems running it against for instance MySQL.
My question, is such a setup on your agenda? I don't mind helping out, but do not want to do something that is already there. Please let me know you thoughts.

As you may know, the datastore is keeping track of URLs crawled and a minimum amount of metadata to be able to perform "incremental" crawls efficiently.  As such, it does not help you with the content it crawled.   For this, you normally use Committers.  There are quite a few already, including an SQL one.  They are also easier to extend if you want to create your own.
Can you maybe describe what you are after?  Is it so you have a way to persist/reuse the datastore on a volatile Docker container?  If so, you can use a persistent volume that you re-attach when you launch your container. Else, MySQL should now work with the latest snapshot as described in #749.
For relatively small crawls (less than 1 million pages) the default MVStore implementation is quite efficient. Especially if have fast local disks and/or lots of RAM.  For larger ones, then you may have to use multiple crawler instances and/or distribute the datastore to get something more scalable.  Is this rather what you are after? In such a case, a relational SQL database, MongoDB, or your own implementation would do.

Our usecase is starting and stopping a Docker container on AWS Fargate. Therefore I want to keep the information about the crawls for the next time. I have written a first experiment using DynamoDB. GOing to test it, if it works, I'll make it available somehow.

If you are looking for something that may be simpler, you should be able to mount volumes with AWS Fargate.
If you proceed with DynamoDB, please do share your progress.


[Feature]: Add unit testing where possible to prevent regression

JSON and event generation would both benefit from it, or at least some of the utility functions. This is a little tricky because it likely involves both having known articles that we've parsed in the past, and expected JSON output to validate the new return from.
For instance, imagine a test against the following:
Article HTML: https://github.com/seriouslysean/monster-hunter-now-events/blob/main/fixtures/20231001_news-oct-2023/index.html
Expected JSON output: https://github.com/seriouslysean/monster-hunter-now-events/blob/main/fixtures/20231001_news-oct-2023/events.json
I don't think we can use them direct from the fixtures because they get regenerated when all articles are force pulled, so I think specific test cases would need to live in a tests/* directory.
The given test would then:

Take the known HTML
Reach out to the api
Validate the JSON returned vs. what is expected
Pass or fail

I know this will use API credits for the OpenAI API , but I don't know a better way of handling that short of a free API instead.

can I give it a try ? @seriouslysean

@KathanrDave yeah for sure! Mind explaining a little about what you had in mind?
I think for this first pass, you can start with something small to make sure it even works. I think it would be best to use vittest since it’s api compatible with jest and I like the jest api.

yes @seriouslysean I was thinking to implement it without api access for the start.
Get back to you with it.


Future of Katana

Google recently announced the new Hilt dependency injection library for Android based on Dagger. Hilt tackles many of the "problems" of Dagger – especially it's complexity – and simplifies dependency injection with Dagger. Presumably Google will advertise Hilt as the DI solution for Android. Other AndroidX support libraries will probably add Hilt support in the future, too.
While Katana's core functionality does not depend on Android and works well in Kotlin JVM, Katana was written with Android in mind from day one. I welcome Google's approach of simplifying and unifying DI on Android. As a single developer working on Katana mostly in my spare time, I cannot compete with a team of Google engineers working on Hilt & Dagger full time 😉 As of today Katana works well and is in use in a few production Android applications successfully. If you are using Katana, there's no need to migrate to Hilt (immediately). However I recommend that any new Android project uses Hilt instead of Katana. Katana will go into maintenance mode. No new features will be developed. Critical bugs will be fixed, should they arise.
I thank everybody for their support and hope you understand my decision. Of course pull requests for bugfixes are still very welcome 😃

Perfectly understandable! And thanks for all the time you actually worked on this project :smile:, it made DI much more pleasant for me and my team! I don't think we'll be migrating that soon from it... but I guess maybe eventually... although I find Google with its whole team and everything hasn't always made design decisions that were particularly fun for the developer community...


Upload image only on trigger

Hey, I want to add image to the editor but only upload to my server when I click save, how can i do that?

@Th1nhNg0 I just added new feature called onImageRemoved and you can specify an id to it, so I gues you dont have to worry about images that are not used on the server
take a look
https://github.com/Aslam97/shadcn-minimal-tiptap/pull/46

@Aslam97 wow, this is what I'm looking for, thank you

@Th1nhNg0 If thats solve your problem, I will close this issue for now. feel free reopen the issue.


Tetrahedra mesh demo does not work with the newer version of Py3DViewer

After recent refactoring of Py3DViewer module, the tets and num_tets attributes of Tetmesh class were renamed to polys and num_polys, so the tetrahedra_mesh_emission.py demo now throws an AttributeError at:
tetra = Discrete3DMesh(mesh.vertices, mesh.tets, np.ones((mesh.num_tets)), False, 0)

For backward compatibility, this should be modified to:
try:
    tetra = Discrete3DMesh(mesh.vertices, mesh.polys, np.ones((mesh.num_polys)), False, 0)
except AttributeError:
    tetra = Discrete3DMesh(mesh.vertices, mesh.tets, np.ones((mesh.num_tets)), False, 0)

Please open a PR with the relevant changes.

Fixed in #377.


"Unsupported scheme http" when running the example.

Hello,
When running the example with the following dependencies :
[package]
name = "proxy_2"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
hyper-reverse-proxy = { git = "https://github.com/felipenoris/hyper-reverse-proxy", branch = "master" }
hyper = { version = "0.14.18", features = ["full"] }
tokio = { version = "1.18.2", features = ["full"] }
lazy_static = "1.4.0"
hyper-trust-dns = { version = "0.4.2", features = [
  "rustls-http2",
  "dnssec-ring",
  "dns-over-https-rustls",
  "rustls-webpki",
  "https-only"
] }

I get an ̀_error:HyperError(hyper::Error(Connect, Custom { kind: Other, error: "Unsupported scheme http" })) when proxying to a local http service. It seems to be related to hyper-trust-dns client, but removing the feature "https-only" does nothing...

I actually managed to get it working with :
lazy_static::lazy_static! {
    static ref  PROXY_CLIENT: ReverseProxy<TrustDnsHttpConnector> = {
        ReverseProxy::new(
            hyper::Client::builder().build::<_, hyper::Body>(TrustDnsResolver::default().into_http_connector()),
        )
    };
}

but it works only with http server proxying to http server. When trying to do tls offloading, the proxy do not converts the http/2 request to an http/1.1 request to the backend.
̀


Include images from subdirectories in the collections

Is your feature request related to a problem? Please describe.
Recently I started organizing my photo collection. I have placed my photos from ./DCIM/Cameras to subdirectories like ./DCIM/Camera/Wacation2024 etc. and I discovered that my photos disappeared from my timeline generic Camera timeline.
Describe the solution you'd like
Collections should contain images not only from the top level of the selected directory, but also from its subdirectories.
So for Camera directory with content:
├── 1.jpg
├── 2.jpg
├── vacations
│   ├── 3.jpg
│   ├── 4.jpg

Should generate collection with 4 photos, not with 2.
Describe alternatives you've considered

Create custom collections - it would be a real headache in case of more directories and nested subdirectories.
Switch in settings enabling this option - doable, but I don't find this necessary

Instead of using the album filters from the Albums page, use the path filters from the Explorer page.


.HasValue property on a nullable type doesn't seem to be translated

Given the following (simplified) model
public class Event
{
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        [Key]
        public intId { get; set; }
        public DateTime Occurred { get; set; }
        public DateTime? Cleared { get; set; } = null;
}

Given the following (also simplified) LINQ query
var events = new List<Event>();
events.AddRange(context.Event.Where(e => e.Cleared.HasValue);

I would expect the generated SQL to look similar to
SELECT [e].*
FROM [Event] AS [e]
WHERE ([e].[Cleared] IS NOT NULL

What actually gets generated is similar to
SELECT [e].*
FROM [Event] AS [e]

The only way to get EF to generate the IS NOT NULL in the where clause is to write the LINQ query as
var events = new List<Event>();
events.AddRange(context.Event.Where(e => e.Cleared != null);

Am I missing something or is this a bug? Having to write != null rather than just .HasValue isn't intuitive.

@scottdorman I have not been able to reproduce this; my code is below. Can you please post a runnable project/solution or complete code listing that demonstrates the behavior you are seeing?
public class Event
{
    [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
    [Key]
    public int Id { get; set; }
    public DateTime Occurred { get; set; }
    public DateTime? Cleared { get; set; } = null;
}

public class BloggingContext : DbContext
{
    private static readonly LoggerFactory Logger
        = new LoggerFactory(new[] { new ConsoleLoggerProvider((_, __) => true, true) });

    protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
        => optionsBuilder
            .UseLoggerFactory(Logger)
            .UseSqlServer(@"Server=(localdb)\mssqllocaldb;Database=Test;ConnectRetryCount=0");

    protected override void OnModelCreating(ModelBuilder builder)
    {
        builder.Entity<Event>();
    }
}

public class Program
{
    public static void Main()
    {
        using (var context = new BloggingContext())
        {
            context.Database.EnsureDeleted();
            context.Database.EnsureCreated();

            context.Set<Event>().Where(e => e.Cleared.HasValue).ToList();
        }
    }
}

Log output:
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (21ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT [e].[Id], [e].[Cleared], [e].[Occurred]
      FROM [Event] AS [e]
      WHERE [e].[Cleared] IS NOT NULL

EF Team Triage: Closing this issue as the requested additional details have not been provided and we have been unable to reproduce it.
BTW this is a canned response and may have info or details that do not directly apply to this particular issue. While we'd like to spend the time to uniquely address every incoming issue, we get a lot traffic on the EF projects and that is not practical. To ensure we maximize the time we have to work on fixing bugs, implementing new features, etc. we use canned responses for common triage decisions.


[APPS-6948] Add manifest validation to deprecate password type param

💐
/cc @zendesk/wattle
Description
Add manifest validation to disallow password type params.
The check is based on enabling skip_password_parameter_check to ensure this validation works only for new app submission. The value will be passed in from Apps approval and ZAM.
The skip_password_parameter_check value will be passed in from Apps Approval gem here.
References
https://zendesk.atlassian.net/browse/APPS-6946
Risks

[RUNTIME] No
[low] Only adds an extra validation in manifest that works dependant on skip_password_parameter_check. Manifest validation can fail for apps.

This moved to https://github.com/zendesk/zendesk_apps_support/pull/366


Mono support

This PR adds a Travis build to ensure Linux/Mono compatibility and upgrades LibGit2Sharp to version 0.23.0-pre20150419160303 so we get the fixes in libgit2/libgit2sharp#1298. It would be nice to get this merged and pre-released on NuGet, so I can go on to update GitTools.Core and GitVersion as well.

@JakeGinnivan, awesome! Think you can create the build on Travis as well? I don't have rights to do it for the GitTools organisation.

Can I give you access to all the things instead? email me at<EMAIL_ADDRESS>with what you need granted then lets do that instead :P

Pushing the pre-release now. got distracted, ppl in town, engagement part tomorrow :P


[Bug]: Failing to Update Recent Activity

What happened?
My bobcat 300 was added to the blockchain 2 days ago. I am witnessing and getting rewards ever since, but Explorer incorrectly shows, when I use Chrome, under the “Status” and “Recent Activity” tabs, that my hotspot was last active 2 days ago (i.e., when it was added to the blockchain). When I use Safari, Explorer correctly shows, under the “Status” and “Recent Activity” tabs, that my hotspot was last active 10 minutes ago.
URL
explorer.helium.com
What browsers are you seeing the problem on?
Chrome
Do you see the issue on Mobile or Desktop?
Mobile, Desktop
Relevant log output
No response

I have exactly the same issue with one i added 6 days ago. The problem is only with the Chrome browser and does not exist when using Firefox.


Are isort configurations able to be skipped or just applicable in some files?

Hi, I would like to know if there is a way to skip the application of some isort checks for some specific files, or the other way round, to enforce the application of some isort configurations for specific files.
Here you have an example.
In general, I would like to have something like this in the files gathering imports

However for the __init__py file, I would prefer the single line imports, but it's changed to gather imports

If I configure it like this, it keeps the format of init.py but splits the other imports of the other files.
[tool.ruff.isort]
force-single-line = true
So I wonder if there is a way to apply different isort configurations for different files.
If this option is not available, it would be super great if it could be added in the near future.
Something similar to ignore some checks in particular files, but for isort configurations.
[tool.ruff.per-file-ignores]
"init.py" = ["F401"]
"manifest.py" = ["B018"]
"**/tests/*.py" = ["S101"]
Thanks for the help in advance

We don't support this kind of file-scoped configuration. The general request has come up a few times (e.g., https://github.com/astral-sh/ruff/issues/7696).
That being said... if you use an as alias, Ruff will avoid merging them:
from . import account_account as account_account

Ruff will also avoiding marking them as unused in this case. I believe this pattern is quite common -- Pyright treats these redundant aliases as public exports: https://github.com/python/typing/blob/master/docs/source/libraries.rst#library-interface-public-and-private-symbols.

I'm not so interested in using such aliases.
Any plan to do that file-scope config in the near future or is it discarded?
Any other potential workaround?

Okay, got it. I do consider it a valid solution as it's the recommended mechanism in the typing community for marking imported symbols as public rather than private (and so if you're re-importing things in an __init__.py file for the purpose of re-exporting them, and you want re-exports to be formatted differently than other imports as above, it seems like an appropriate pattern to use). But hopefully we will support file-scoped configuration at some point. I expect that we will support it, though I doubt it will be within the next month or two.
I'm going to merge into https://github.com/astral-sh/ruff/issues/7696 and make that issue more general to track the file-scoped configuration request.

We don't support this kind of file-scoped configuration. The general request has come up a few times (e.g., #7696).
That being said... if you use an as alias, Ruff will avoid merging them:
from . import account_account as account_account

Ruff will also avoiding marking them as unused in this case. I believe this pattern is quite common -- Pyright treats these redundant aliases as public exports: https://github.com/python/typing/blob/master/docs/source/libraries.rst#library-interface-public-and-private-symbols.

@charliermarsh I was by the way trying this approach and it continues being replaced
For instance, from
from . import test_crm_activity_report as test_crm_activity_report
from . import test_crm_lead as test_crm_lead
from . import test_disable_records as test_disable_records
into
from . import test_crm_activity_report, test_crm_lead, test_disable_records
when running ruff check . --fix

Hey, can you provide us with the config being used for this? I'm unable to reproduce this locally with v0.1.3. If I use aliases, then it keeps the imports separated and it'll only merge when I remove the aliases.

@dhruvmanila
Here it is. Maybe it was a version issue. I had ruff 0.0.278. Now with 0.1.3 it's respected but the imports are reordered
My configuration was like this
[tool.ruff]
select = ["E", "F", "I", "PL", "B", "Q", "D", "N", "S", "G", "RUF", "W"]
ignore = ["D100", "D101", "D104", "D213", "D203", "RUF012"]
exclude = ["**/ext/"]
line-length = 115
[tool.ruff.per-file-ignores]
"init.py" = ["F401"]
"manifest.py" = ["B018"]
"**/tests/*.py" = ["S101"]
[tool.ruff.flake8-quotes]
docstring-quotes = "double"
inline-quotes = "single"
multiline-quotes = "double"
avoid-escape = false


[QUESTION] I need an example on how to transpose my export data

Prerequisites

[x] Have read and understood: https://github.com/Maatwebsite/Laravel-Excel/blob/3.1/.github/SUPPORT.md
[X] Checked if your Laravel Excel version is still supported: https://docs.laravel-excel.com/3.1/getting-started/support.html#supported-versions
[X] Checked that your question isn't already asked before.
[X] Filled in the entire issue template

Versions

PHP version: 7.3.16 (cli) (built: Mar 17 2020 13:33:00)
Laravel version: 8.0.1
Package version: "maatwebsite/excel": "^3.1"

Description

I cant seem to find any documentation on how to transpose my data i need an example on how can i achieve this.
For now i already tried creating it manually by using multiple foreach for every row but this is not a very good approach for this.
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.

I would recommend asking this question on Stackoverflow or Laracasts, it's not really in scope of the this issue tracker.


[ownership] Rename the local helper macro NO_OPERAND_INST -> SHOULD_N…

…EVER_VISIT_INST
This is being used for this expanded purpose as evidenced us creating visitors
for instructions that should never be visited using this macro.

@swift-ci smoke test and merge


Install php5-cli if missing. Provide 'php' command.

Hi, I haven't been following the project since february, and these days I was trying to make it run but incurred in the missing dependency.
Maybe some old installations of raspbian, such as mine, didn't have the php5-cli package installed.

Not sure about php-cli.Php is not installed on Rasbian but on the camera installs using apache / php it has got installed by the current script and I assumed that was happening as part of the other installs even though not done directly. Nobody else seems to have an issue with this.

Maybe then it's a dependency that gets installed along with Apache. I don't use Apache, but since the php command is necessary, it's no harm for anyone to also list that package in the apt-get line.

Added explicit install of php-cli manually


Guard against setting html of the editor to null

When the html set on the editor is null, froala-editor throws an exception.
I was unable to recreate this problem in a test, but it happens in my app when the model field I'm using for the editor is cleared.

Sorry for the delayed reply, meant to get to this last Friday...
I'm wondering if we should just always emit a string from the _content CP instead.?. And there is one more spot that sets the editors HTML that might give you trouble: https://github.com/froala/ember-froala-editor/blob/master/addon/components/froala-editor.js#L476
Also, I'm hoping to land the callback event handling stuff soon, which I'm hoping improves testing.

Is this still an issue as I'm not able to reproduce it?

Yes, what I've found is that passing the editor null for content causes an error in the console log. What would probably work best is _content just emit a string, '' in case of nulls.

Hmm, running off of master, if I do the following, I'm not seeing any errors being thrown:
{{froala-editor content=someNullValue}}

Humm... perhaps it was another condition then. I recall seeing an error in the console log about null contents. At the time I didn't dig into the froala-editor code to figure it out and just changed my models to default to empty strings. I'll try to re-replicate the problem when I get a chance. (Note that it didn't seem to cause problems, just an error in the log.)

I believe this could be ember-version dependent
On Wednesday, September 14, 2016, Ryan Panning<EMAIL_ADDRESS>wrote:

Humm... perhaps it was another condition then. I recall seeing an error in
the console log about null contents. At the time I didn't dig into the
froala-editor code to figure it out and just changed my models to default
to empty strings. I'll try to re-replicate the problem when I get a chance.
(Note that it didn't seem to cause problems, just an error in the log.)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/froala/ember-froala-editor/pull/3#issuecomment-247060342,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAbHOhp-6dPj5EaH2LWQL27TgIrjYGuwks5qqBhvgaJpZM4IRH5p
.

Had another go and trying to reproduce the error today but I still can't manage to get it to throw an error, even using different versions of ember. If someone can manage to reproduce the error again, I'd be happy to look at submitting a PR.

FYI, this no longer applies with the recent changes. The _content CP now always returns a string for the editor to use. So in the case of null or undefined then an empty string is passed in. Thanks for bringing this up though.


Device ID removed from the dashboard

The device ID is removed from the dashboard, and users should be using the UUID instead. Should review the docs to take care of this change. Deemphasize the use of the device ID, and provide alternatives using the UUID if need for any of the examples, etc.
 Front conversations

I searched through all the markdown and HTML files in /docs and I couldn't find any reference material that tells users to use the device ID instead of device UUID, with the exception of the Bluemix docs. In the case of Bluemix, the docs are referring to an env var you need to set in the Bluemix sample app, so I think this is acceptable.


Add layer 7 load balancer examples.

Thanks for the pull request but it's release week in jclouds and that means it's time to clean up the PR queue. This PR will be over 6 months old as of April 1. If you intend to continue work on it, please make a comment by April 2. Otherwise it will be closed on April 3.


Feature request: Add date to Addtional Tracked Flights

Hi,
I would be great if it would be possible to a also add a date to the additional tracked flights. I use it to add flights I do during business trips so my family could follow the flights on our info displays.
To make it more easy I could add the flights I should do before together with a date and then I could show only the specific flight I will fly.

You may create an automation - that add your flight at a proper date. Also in this automation you may add notifications and other things
It would be more complex to add a flight if requires more data than callsign. I think it is better to keep it simple so it would be easy to use for everyone.


feat(music): music card

Love how it looks. I might implement it into /music nowplaying as well. I'll be merging this later today.


chore(main): release 1.0.4

Auto generated release
1.0.4 (2024-04-19)
Build System

deps-dev: bump vitepress from 1.0.2 to 1.1.0 (#12) (1905123)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/jobtrek/progress-report/releases/tag/v1.0.4 :sunflower:


Is there a way to get the current region after fitToCoordinates?

I'm having a difficulty getting the right deltas on two points(marker). Everytime I use fitToCoordinates on certain points and fire a setState to rerender. The old region is getting rerendered on the mapView.
I want to able to update the region state of my app everytime I call the fitToCoordinates.
Is there a way to get the current region progmatically? I know there's a prop on the mapview about onRegionChange but this only happens when you interact on the map not when you call a method like the fitToCoordinates

This should be fixed by PR #1710


Dev Traction : Metrics + Orbit Model Proof of Concept

Lead: @anthonyvprakash
Creation of a Dashboard that captures the following and provides a simple way to update these metrics weekly
Google Doc

Apps

[ ] # of @ platform apps in App stores
[ ] # of @ platform apps in Development ( with launch dates)

Youtube

[ ] Youtube views
[ ] Youtube watch time
[ ] Attendance at Demo days and other events

Dev Community

[ ] Traffic on atsign.dev
[ ] Discord Metrics
[ ] # of Devs in the Affiliate program

Packages/Repos

[ ] Github Issues/PRs activity
[ ] Pub.dev Popularity Scores - pub_api_client for dart

[ ] Do a proof of concept on the Orbit.Love tool

Creation of a Dashboard that captures the following and provides a simple way to update these metrics weekly

[ ] Traffic on atsign.dev
[ ] # of @ platform apps in App stores
[ ] # of @ platform apps in Development ( with launch dates)
[ ] # of Devs in the Affiliate program
[ ] Youtube views
[ ] Youtube watch time
[ ] Attendance at Demo days and other events
[ ] Discord Metrics
[ ] Pub.dev Popularity Scores

Interesting, a lot is going on here, I will give it some thought. We are going to need somewhere to store some of this information.

Added a google doc to the top of the issue.

Piloting the Orbit Model for The @ Company

@Shubhangi0304  - Can you please add your updates here?


NFT image "currently unavailble" leads to no NFT data at all

I believe this is a Stacks NFT

This looks odd to me. I would expect the "image currently unavailable" to still be framed and show what kind of NFT this is. Is it a Stacks NFT, what series/number perhaps, or Ordinal. Now the user has no idea what this is or what token image isn't being loaded:
This is expected I think: I can still see it is a Ryder Stacks NFT

I am still seeing these after the big metadata update from Hiro. It looks like it may be caused by NFT contracts that do not adhere to the SIP016 standard. I added  a couple to dev account 5 but I see nothing at all loading there. Which is also not okay.
We should display these differently. Atleast display the NFT contract and token id for example. In a wallet with lots of NFT's it is impossible to know what they belong to exactly.
That will also improve once we start linking to an NFT explorer/marketplace from the wallet.
Here is an example of one that does not show up  at all either. Megapont apes.
https://api.hiro.so/metadata/v1/nft/SP3D6PV2ACBPEKYJTCMH7HEN02KP87QSP8KTEH335.megapont-ape-club/2308
metadata
https://ipfs.io/ipfs/QmRhkJToXrJYhAGBNP6NLNUTTrXSmuNAF2fH2JKphaJPLx/2308
image
https://ipfs.io/ipfs/QmZjrCc9836Njqw1Yx8ztM6FbJzvuZijwtZJSkKPxLTMWU/96246232edd44
In the console I see no error but still it is not displayed in the collectables area of Leather.
not even a "image currently unavailable error"

dev wallet 1 also has some examples of this

@markmhendrickson @314159265359879 Designs in figma are here: https://www.figma.com/design/2MLHeIeL6XPVi3Tc2DfFCr/❖-Leather-–-Design-System?node-id=6710-40501&t=jlWZK2v1x5PXAAEO-4
However I suspect this is not a design issue but an issue rendering the title of the Stacks NFT, as you see in the image, the title gets pushed downwards and the div with the inexistent image takes over that space.
So perhaps might be better if a dev could investigate why is the title not getting retrieved?

Sometimes it shows like this, less space is taken up by the erroring image.

When leather is in a tab it is always displayed with the full height.

The really small ones are displayed when the type is mp4, I noticed this with the werner.btc's 10000 mint


Mozilla Public License in Makefile

https://github.com/joyent/node-assert-plus/blob/00200d6a95eb1dbe643546a3cab8494d3fc47a0e/Makefile#L1-L9
What does this part mean there? Why would a Makefile be under the Mozilla Public License (MPL) license. I have never seen a Makefile mention that before so it's unclear what this means.
If that is true how come it is not in the LICENSE file?

Most things we (as an organization) publish are under MPL, but this repo, in its entirety, should be MIT. Thanks for pointing this out, I'll et it fixed.

@bahamat thanks for the reply. As in fixed here, you mean that part in the Makefile will be removed in a new commit/version?
So only MIT will the only license for this repo?

That’s correct. See #45.
The code in this repo is licensed under the MIT license terms as per the LICENSE file. Any reference to other license terms is incorrect.


missing %s

Please add " %s" after "Valid options are: " in file src/TokenGenerator.php, line 119

Hey @tzitziras, thanks for the hint, I have added the fix in #21 / 4a88d78.


docs(readme) Update Readme

added hyperlink to license , removed license text from readme
NOTE: Please read the CONTRIBUTING.md guidelines before submitting your patch,
and ensure you followed them all:
https://github.com/Kong/kong/blob/master/CONTRIBUTING.md#contributing
Summary
SUMMARY_GOES_HERE
Full changelog

[Implement ...]
[Add related tests]
...

Issues resolved
Fix #XXX

Hi,
Thank you, but we are happy with the current state of this README section.


Deploy - Creates instance using different docker image

When testing PR18 then launch the bot with controller but without selected available image it uses dardonacci/hummingbot:latest instead of hummingbot/hummingbot:latest

Recording here: https://www.loom.com/share/4bdd19ce15724943845641386d7d5134
Steps to reproduce:

Setup deploy on source ( dashboard + backend-api + hummingbot-broker )
On dashboard page, create config then deploy without selecting any images
Go to terminal and run docker ps or docker images to check the container and image used

good catch @rapcmia
here is the fix: https://github.com/hummingbot/dashboard/pull/152
@david-hummingbot build the new dashboard image from this PR if works

Fix merged to master branch https://github.com/hummingbot/dashboard/pull/152


Update PULL_REQUEST_TEMPLATE.md

This corrects the PR template.  Please see https://github.com/ArkEcosystem/javascript-cli/issues/112 for more details.

Thanks for submitting this pull request! A maintainer will review this in the next few days and explicitly select labels so you know what's going on.
If no reviewer appears after a week, a reminder will be sent out.

Your pull request doesn't follow our contribution guidelines. Please review and correct it.

The ci/circleci: test-node-9 job is failing as of 3748cf538750f849a552d630bb611465de6b645b. Please review the logs for more information.
Once you've pushed the fixes, the build will automatically re-run. Thanks!

The ci/circleci: test-node-9 job is failing as of 3748cf538750f849a552d630bb611465de6b645b. Please review the logs for more information.
Once you've pushed the fixes, the build will automatically re-run. Thanks!

A contributor has approved this PR. A maintainer will merge this PR shortly. If it shouldn't be merged yet, please leave a comment saying so and we'll wait.
Thank you for your contribution!

Your pull request has been merged and marked as tier 6. It will earn you $1 USD.


update to handle react-router api change

>> Warning: the query argument to createHref is deprecated; use a location descriptor instead
in context:
  Scenario: html requested for single resource   # test/integration/features/rendering.feature:20
    Given html is requested                      # test/integration/features/step_definitions/rendering.js:18
    And a "users" exists in the api              # test/integration/features/step_definitions/resources.js:210
    And user has api privileges                  # test/integration/features/step_definitions/api.js:18
matching GET https://api.travi.org:443/ to GET https://api.travi.org:443/users: false
matching GET https://api.travi.org:443/ to GET https://api.travi.org:443/rXS7tzGq: false
matching GET https://api.travi.org:443/ to GET https://api.travi.org:443/: true
matching GET https://api.travi.org:443/users to GET https://api.travi.org:443/users: true
matching GET https://api.travi.org:443/users to GET https://api.travi.org:443/rXS7tzGq: false
matching GET https://api.travi.org:443/users to GET https://api.travi.org:443/: false
matching GET https://api.travi.org:443/ to GET https://api.travi.org:443/rXS7tzGq: false
matching GET https://api.travi.org:443/ to GET https://api.travi.org:443/: true
>> Warning: the query argument to createHref is deprecated; use a location descriptor instead

it looks like this will be handled with a version bump of history, but router defines the older version as a peer dependency


"Upgrade available" icon for clusters should not be displayed for cluster members, project members and project owners

Version: Master-head
Steps:

Create a RKE template/revision T1/R1 as an admin
Create users, user1, user2, user3
Create a cluster using T1/R1 and add user1 as a member to the cluster
Provide template T1 "user" access to "user1"

Login as user1 who is a member
In the main page (global level), "Upgrade available" icon is displayed for the cluster (for user1 who is a member)
It is also displayed in the cluster dashboard page
The same is true for project member and project owners who have "user" access to the cluster template.
Cluster members, project members, project owners cannot edit the cluster and upgrade their templates. "Upgrade Available" icon should not be displayed for these users

I personally don't think this is a bug but I can see it go either way. I think it's still actionable information for the user. The user could ping the admin to get the cluster updated.
@tfiduccia do you have any thoughts on this one?

@soumyalj & @codyrancher - We have the same kind of option for Catalog Apps.  What do we do there?  Do we hide the upgrade?

@tfiduccia @soumyalj I just verified the catalog apps show the upgrade notification even if the user doesn't have permission to perform the upgrade.

@codyrancher @soumyalj - Then I say we should just leave it displaying.

Verified that catalog apps do show upgrade notifications for cluster members, project members.
We want to uniformly maintain the pattern across different objects.


Discuss creation of setup.sh

This issue is part of an effort to implement substantive improvements to the lab template, as discussed in https://github.com/gentzkow/GentzkowLabTemplate/issues/16.
I am creating this issue to keep track of our discussion on whether to bring back setup.sh as suggested e.g in https://github.com/gentzkow/GentzkowLabTemplate/issues/24#issuecomment-2412592632, https://github.com/gentzkow/GentzkowLabTemplate/issues/20#issuecomment-2384365857, and https://github.com/gentzkow/GentzkowLabTemplate/issues/20#issuecomment-2409942947.
A possible strategy might be to have a setup.sh script in the lib that:

Creates local_env.sh if it does not exist
Prompts the user to edit local_env.sh to fill in the relevant paths
Creates /external/ with the appropriate symlinks if these were specified in local_env.sh
Populates each module with a make.sh and a get_inputs.sh if these don't exist (this would reduce the need of keeping several copies of these in the template)
Runs get_inputs.sh in each module
Runs check_setup.sh
Maybe: Installs any R / Python / Stata dependencies we want to install in the "simple" repo case (no conda or Renv) (we might not want this, see https://github.com/gentzkow/GentzkowLabTemplate/issues/20#issuecomment-2384509608

The one thing I want to flag is the different behaviors that we want depending on whether this script would be run for the first time in a module or not. For example, we might not want it to run get_inputs.sh if it's run by the first time (as there won't be any valid input paths); and we might not want it to re-populate the modules and overwrite changes to local_env.sh  or make.sh that users have already done. I think this is easily handled by some conditionals that identify whether it's the first time it's being run.
I am assigning myself to this, but would like @gentzkow's inputs as we make this decision. Thanks!

Thanks @lucamlouzada! This sounds good to me. Quick thoughts.

Let's discuss "Prompts the user to edit local_env.sh to fill in the relevant paths" before we implement it. I'd like to make sure we're aligned on how to do this. Obviously the main thing is to prompt them to fill in paths to the externals.

We should definitely only create get_inputs.sh, local_env.sh, and make.sh if they don't already exist. To be on the safe side, we could prompt the user before doing this -- maybe one prompt for whether to create local_env.sh and another for whether to populate the modules with get_inputs.sh and make.sh.

We should be able to make the default get_inputs.sh be robust to the case where there aren't yet any inputs to get.

Hi @gentzkow ,
I have started writing a draft of this setup.sh script but ran into some issues that made me rethink about what we actually want to achieve with this. The main contribution of this script would be to populate the modules with make.sh and get_inputs.sh. The other things (local_env.sh and any eventual dependency checks) can easily be done by check_setup.sh.
The problem with populating the modules is that it requires a strict definition of what constitutes a module, for the script to identify which folders to populate. Currently, part of the definition of a module is a folder that has a make.sh script. We could use something like a folder that has a "source" folder instead. However, I feel like this might limit the flexibility of the template for users or lead to unexpected behaviors (what if they have a subfolder in one of their data directories in raw that is called "source"?). I'm not sure there is a lot of gain from not having to copy the example modules which already have a source folder and a make.sh script as users do currently.
Is the idea that users should run setup.sh only once right after cloning the template? Or that they can run it for the first time after creating their project modules, and running again whenever they create new modules?
If they are supposed to run it often, I'm not sure there is a gain vs the current approach (which does not require running code after creating new modules).
If they should run it just once, perhaps it's better to embrace the idea that setup.sh is a helper script for setting up the template with all the examples - we could then think about including in it things like already populating the example input folders, checking the examples work, etc. It would be something that helps us (as the developers of this template) not have to make changes to several make.sh scripts as often, and helps users run the examples if they want to do so, but it would not be something that people are required to run to use the template. In this case, the example template wouldn't even have to have all the modules, as they could be created by this "setup_examples.sh" script. It could have just two modules for example, "0_raw" and "1_analysis". Then, if people want to see how the examples work, they could run "setup_examples.sh" and it would populate the template as it currently is with all the 4 modules, and could already copy the input files and everything.

@lucamlouzada All good points.
I agree with you that we were creating confusion by mixing two things:

A setup script that a user would run when they first clone the template, before building their own repository. This would involve things like populating directories with make.sh.
A setup script that a user would run when they first clone an already built repository. This would involve things like creating local-env.sh.

I agree that (1) is better handled by a setup_examples.sh script. Let's set that aside for now and revisit it in a separate issue.
We can then redefine this issue to focus on (2). Let's imagine a user who clones an existing repository like selective-exposure or SearchMarket and wants to set it up for the first time. I think that setup should involve the following.

Create local_env.sh and populate it with appropriate paths, executable names, etc.
Populate /externals/ at the root of the repo with symlinks
Populate individual /input/ directories in the various modules with symlinks

I agree that this could all be handled by check_setup.sh. As an aesthetic matter, though, I like the idea of having the script that you run to set up the repository be called setup.sh and the script that you run to check whether your setup is correct be called check_setup.sh. The question is then how best to integrate those. One version is that check_setup.sh just looks to see whether local_env.sh and /externals/ exist and if not it says whats missing then aborts whatever is running and prompts the user to go run setup.sh.

Thanks @gentzkow !
I have added the creation of setup_examples.sh to the to do list in #16. I also added a note about check_setup.sh which was already in the to do list. I'll create issues for these once we have closed out the ones that are currently open.
In b2f32f8, I pushed a version of setup.sh that does what you suggested. It's not going to run right now because it depends on get_inputs.sh and make_externals.sh which will be created in the PRs for #20 and #24, but I wanted to push it so you can take a look and see if that's the behavior you are envisioning.
The code starts by checking if local_env.sh exists. If not, it creates it from the template and prompts the user:
if [ ! -f "${REPO_ROOT}/local_env.sh" ]; then
    echo "The file local_env.sh was not found at the root of the repository."
    echo "I will create it from /lib/setup/local_env_template.sh."
    echo "Please edit this file to reflect your local executables and external file paths."
    cp "${REPO_ROOT}/lib/setup/local_env_template.sh" "${REPO_ROOT}/local_env.sh"
fi

Then, it loops through the folders in the repo root to find the modules. Folders that have a make.sh file are considered a module. In each module, it runs get_inputs.sh. This is robust to a module not having a get_inputs.sh file, and in #20 I have made it so that get_inputs.sh is robust to file paths being invalid or not having any file paths.
Finally, it runs make_externals.sh as an optional feature. Note that if a user clones SearchMarket for the first time, for example, they would have to run setup.sh without the external links first. Then, after local_env.sh is created, they can edit it and add their external paths, and then they would run setup.sh again.
It would be nice for setup.sh to run check_setup.sh at the end, but I think we could add this after we have worked on check_setup.sh which will be in a different issue.

@lucamlouzada Thanks! This definitely looks like the right idea.

Could we simplify the search for the modules and just run all scripts in the repo called get_inputs.sh?

I think we should make the script interactive so the user affirms they want to do each step. E.g., after saying local_env.sh doesn't exist, we should ask the user if they want to create it from local_env_template.sh. If they say no we stop the script and ask them to re-run it once that file exists.

Once we create local_env.sh from the template, what about pausing the script and asking the user to go edit the paths. Then they can either press continue or re-run setup.sh once they've done so.

Can we have the externals step uncommented but just have it not create /externals/ if there are no externals defined in local_env.sh?

Thanks @gentzkow , these are all great points. I have made these changes in 5bc5c5a. The script now prompts users before creating local_env.sh (or tells them if it already exists). It also prompts the user once before running all get_inputs.sh - let me know if you'd prefer it prompts once for each module. It does not prompt the user before creating the external folder, but if there are no external links specified in local_env.sh, it will not create the folder (and will tell the user that no external links were found). I made this last change in 7b32e1a for the issue branch in #20.

Great! Looking good.

Let's put setup.sh at the root of the repo
Let's modify the user prompts so they don't assume the user knows what local_env.sh, get_inputs.sh, etc. are -- i.e., we can give a bit more explanation
I'm currently getting some errors:

Please choose: Would you like to create local_env.sh from /lib/setup/local_env_template.sh? (y/n):
y
local_env.sh has been created from the template.
Please edit it to reflect your local executables and external file paths.
Press Enter to continue after editing or re-run setup.sh once you've done so.
setup.sh:read:21: -p: no coprocess

and

Please choose: Would you like to run all get_inputs.sh scripts in the repository? (y/n):
y
All get_inputs.sh scripts have been run.
/Users/gentzkow/Dropbox (Personal)/git/GentzkowLabTemplate/lib/shell/make_externals.sh:source:46: no such file or directory: /Users/gentzkow/Dropbox (Personal)/git/GentzkowLabTemplate/lib/shell/make_externals.sh

Thanks @gentzkow ! I have made these changes.

Let's put setup.sh at the root of the repo

Done in 695df60 and 3eb57e4.

Let's modify the user prompts so they don't assume the user knows what local_env.sh, get_inputs.sh, etc. are -- i.e., we can give a bit more explanation

Done in 46f27c6. I added short message before each prompt.

I'm currently getting some errors:
setup.sh:read:21: -p: no coprocess

This error was due to zsh and bash inconsistencies. I pushed a change in a3340fb and it should now be working.

I'm currently getting some errors:
/Users/gentzkow/Dropbox (Personal)/git/GentzkowLabTemplate/lib/shell/make_externals.sh:source:46: n

This is expected as the file make_externals.sh does not exist, it will be created in the PR for #20. However you raise a good point that the setup.sh script should be robust to errors of this kind. I added error handling in 2bea120 in the spirit of #19.
As soon as we have implemented the changes in the PRs for #20 and #24, I'll let you know so you can test the full behavior of setup.sh. Thanks again!

Update: Now that #28  and #27 have been closed, I have merged these changes back to this branch. I also realized that make_externals.sh had inconsistencies between zsh and bash, so I updated it in 5aa7f6a.
@gentzkow , this should now be ready for your review. Let me know what you think so I can go ahead and open a PR. Thanks!

Awesome!

Let's rename /externals/ -> /external/
We should add /external/ to .gitignore
We should comment out "/path/to/your/input/file.csv" in the default get_inputs.sh scripts so setup.sh doesn't produce a bunch of warnings the first time it is run

For a separate task: There is a lot of redundant code copied across the get_inputs.sh scripts. Can we abstract the common code to scripts in /lib/ so the get_inputs.sh scripts are lighter weight?

Let's rename /externals/ -> /external/

Done in a5a0ff2

We should add /external/ to .gitignore

Done in 48e20ad

We should comment out "/path/to/your/input/file.csv" in the default get_inputs.sh scripts so setup.sh doesn't produce a bunch of warnings the first time it is run

Done in 9080e07

For a separate task: There is a lot of redundant code copied across the get_inputs.sh scripts. Can we abstract the common code to scripts in /lib/ so the get_inputs.sh scripts are lighter weight?

Great point. Will add to the to do list - we already have a to-do of doing the same with make.sh.
Thanks @gentzkow . Will create a PR for this issue

Summary
In this issue we created setup.sh which lives in the root of the repo. It creates local_env.sh, runs get_inputs.sh in each module, and runs make_externals.sh. We also updated these other files to reflect the new setup script and ensure zsh and bash consistency. More details can be found in this issue thread and the associated PR #30.
Changes were merged to main in 26c6f30. Final state of the issue branch here.


Lots of json

The files seem to pile on the .json.json when exported. Is that right?

Hi @comradeDa can you please be more explicit on this issue.

So, at the end of the file names produced, there is "[filename].json.json.json". Which is a lot of json. or sometimes .json.csv.json. One way or another, most of these file extensions are probably redundant.

Thanks @comradeDa was able to reproduce this behaviour, will fix


changed my to your and added SELINUX Error

I changed myname & mybook to yourname & yourbook and added commands to
resolve SELINUX hosting error.

Great job @kensel :+1:
I prefer to open the issue for the SELinux problem. Anyway, I'm gonna merge this and thanks for your contribution!


Schedule Critical Shoot Cluster kube-system Pods with High Priority

What would you like to be added:
We schedule critical shoot cluster kube-system pods with extensive tolerations, but not yet with high priority, so our pods may starve.
Why is this needed:
Proposal by @cbarbian-sap: How about scheduling them with higher priority?

That would at least allow gardener pods to evict other workloads if necessary. What about doing both (i.e. scheduling gardener pods in kube-system with priorityclass system-cluster-critical/system-node-critical + offering an optional section in the shoot yaml to specify taints/affinities/nodeselectors for the gardener workloads) ?

Found that all kube-system pods in the Shoot cluster are already scheduled with system-cluster-critical/system-node-critical PriorityClass.

Thanks for taking time to check this @shafeeqes, then it seems fine to
/close
this issue.


wont worl

<EMAIL_ADDRESS>start
node ./source/shard.js

node:internal/modules/cjs/loader:1148
throw err;
^
Error: Cannot find module 'pino'
Require stack:

C:\Users\sclrx\Documents\MY FOLDER\Shioru\source\utils\consoleUtils.js
C:\Users\sclrx\Documents\MY FOLDER\Shioru\source\shard.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
at Module._load (node:internal/modules/cjs/loader:986:27)
at Module.require (node:internal/modules/cjs/loader:1233:19)
at require (node:internal/modules/helpers:179:18)
at Object. (C:\Users\sclrx\Documents\MY FOLDER\Shioru\source\utils\consoleUtils.js:2:14)
at Module._compile (node:internal/modules/cjs/loader:1358:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
at Module.load (node:internal/modules/cjs/loader:1208:32)
at Module._load (node:internal/modules/cjs/loader:1024:12)
at Module.require (node:internal/modules/cjs/loader:1233:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\Users\sclrx\Documents\MY FOLDER\Shioru\source\utils\consoleUtils.js',
'C:\Users\sclrx\Documents\MY FOLDER\Shioru\source\shard.js'
]
}

Try installing new packages with the npm i command or manually installing npm i pino@latest.

Try installing new packages with the npm i command or manually installing npm i pino@latest in the terminal.

okay

Try installing new packages with the npm i command or manually installing npm i pino@latest in the terminal.

still wont work,
PS C:\Users\sclrx\Documents\discord tests> npm start
npm error Missing script: "start"
npm error
npm error Did you mean one of these?
npm error   npm star # Mark your favorite packages
npm error   npm stars # View packages marked as favorites
npm error
npm error To see a list of scripts, run:
npm error   npm run
npm error A complete log of this run can be found in: C:\Users\sclrx\AppData\Local\npm-cache_logs\2024-05-10T18_56_35_944Z-debug-0.log
PS C:\Users\sclrx\Documents\discord tests> node .
node:internal/modules/cjs/loader:1148
throw err;
^
Error: Cannot find module 'C:\Users\sclrx\Documents\discord tests'
at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
at Module._load (node:internal/modules/cjs/loader:986:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
at node:internal/main/run_main_module:28:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v20.13.1
PS C:\Users\sclrx\Documents\discord tests>
add me on discord so i can fully show you,
discord: sheluvsbyron

The problem has been fixed. But the start script seems to be missing from package.json. Compare your file with this file.
https://github.com/Maseshi/Shioru/blob/93d1620def2e0b19bd836d7c2f42dbd54b8be982/package.json#L31-L48

The problem has been fixed. But the start script seems to be missing from package.json. Compare your file with this file.
https://github.com/Maseshi/Shioru/blob/93d1620def2e0b19bd836d7c2f42dbd54b8be982/package.json#L31-L48

i think im dumb

C:\Users\sclrx\Documents\discord tests\New folder\Shioru\source\main.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
at Module._load (node:internal/modules/cjs/loader:986:27)
at Module.require (node:internal/modules/cjs/loader:1233:19)
at require (node:internal/modules/helpers:179:18)
at Object. (C:\Users\sclrx\Documents\discord tests\New folder\Shioru\source\main.js:34:21)
at Module._compile (node:internal/modules/cjs/loader:1358:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
at Module.load (node:internal/modules/cjs/loader:1208:32)
at Module._load (node:internal/modules/cjs/loader:1024:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\Users\sclrx\Documents\discord tests\New folder\Shioru\source\main.js'
]
}

Try deleting the node_modules folder and running npm i again. Problems like this are normal, don't give up 💪.

Try deleting the node_modules folder and running npm i again. Problems like this are normal, don't give up 💪.

still no

I think there might be some problem with my project on your machine. The best I think is to clone and reset. It is possible that the code may not be up to date.
Most importantly, don't forget to check out the guidance document I wrote. I may not have enough time to help but I will do my best.


[5.6] Add faker helper

I'm currently adding a new section mockup to an existing app. This helper has been indispensable with creating fake data in my views as quickly as possible to get a visual to the client.
Directly in my mockup view I can...
<span>{{ faker()->firstName }}</span>

This makes for some serious Rapid Mockup Development™ but is also easy enough to add to an app's helpers if not wanted in the core.

my bad - screwed this up. re-submitting with Tests!


chore(Analysis/Multilinear): avoid explicit variables

Also change implicitness of some arguments,
including the function argument of ContinuousMultilinearMap.opNorm_le_bound,
expand some docstrings,
and reorder arguments of ContinuousMultilinearMap.le_of_opNorm_le

Thanks :tada:
bors merge


Creating errors breaks in Safari (strict mode)

Creating an Error and assigning to the column property breaks on the latest mobile and desktop Safari.  Removing "use strict" in esprima is a workaround, but seems like not the ideal solution.
Relevant line:
https://github.com/jquery/esprima/blob/master/esprima.js#L2395
Test case:
(function () { "use strict"; var e = new Error(); e.column = 1; })();

--> TypeError: Attempted to assign to readonly property.

The effect is that esprima.parse on invalid code throws the above TypeError rather than the expected SyntaxError in Safari.

Ouch, this is really bad. Thanks for catching this issue!
Let's see if we can come up with a workaround.

I'm sure it's configurable. Just redefine it.

defineProperty alone fails, but combining it with Object.create works: http://jsfiddle.net/krujd0gn/

@gibson042 I think you need to throw the error object to provoke Safari.

@gibson042 Ah never mind, I was mistaken! Your fiddle already demonstrated the issue (without throwing the error).

Related WebKit issue: https://bugs.webkit.org/show_bug.cgi?id=146047

@gibson042 I have a better understanding now regarding thrown Error object, see #1290.

@ariya Why do we have two issues open for this problem?

@ariya Why do we have two issues open for this problem?

Safari 8 vs WebKit nightly/Safari 9. Just to make sure that we understand the differences.


Ingestion from quandl WIKI is impossible due to pandas 0.18.1 and numpy 1.13.3 incompatibility

Dear Zipline Maintainers,
Before I tell you about my issue, let me describe my environment:
Environment

Operating System: Ubuntu

Python Version: 2.7

How did you install Zipline:  pip

Python packages:
alembic==0.9.6
backports.functools-lru-cache==1.4
bcolz==0.12.1
Bottleneck==1.2.1
certifi==2<IP_ADDRESS>
chardet==3.0.4
click==6.7
contextlib2==0.5.5
cycler==0.10.0
cyordereddict==1.0.0
Cython==0.27.2
decorator==4.1.2
empyrical==0.3.2
idna==2.6
intervaltree==2.1.0
Logbook==1.1.0
lru-dict==1.1.6
Mako==1.0.7
MarkupSafe==1.0
matplotlib==2.1.0
multipledispatch==0.4.9
networkx==1.9.1
numexpr==2.6.4
numpy==1.13.3
pandas==0.18.1
pandas-datareader==0.5.0
patsy==0.4.1
pkg-resources==0.0.0
pyparsing==2.2.0
python-dateutil==2.6.1
python-editor==1.0.3
pytz==2017.2
requests==2.18.4
requests-file==1.4.2
requests-ftp==0.3.1
scipy==0.19.1
six==1.11.0
sortedcontainers==1.5.7
SQLAlchemy==1.1.14
statsmodels==0.8.0
subprocess32==3.2.7
tables==3.4.2
toolz==0.8.2
urllib3==1.22
v==3.0.0
zipline==1.1.1

Now that you know a little about me, let me tell you about the issue I am
having:
Description of Issue
When trying to ingest data from quandl WIKI the following error appears:
(venv-zipline) ubuntu@ip-172-31-34-154:~/venv-zipline$ zipline ingest -b quandl
Downloading WIKI metadata:   [####################################]
Traceback (most recent call last):
File "/home/ubuntu/venv-zipline/bin/zipline", line 11, in
load_entry_point('zipline==1.1.1', 'console_scripts', 'zipline')()
File "/home/ubuntu/venv-zipline/local/lib/python2.7/site-packages/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/home/ubuntu/venv-zipline/local/lib/python2.7/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/home/ubuntu/venv-zipline/local/lib/python2.7/site-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/ubuntu/venv-zipline/local/lib/python2.7/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/ubuntu/venv-zipline/local/lib/python2.7/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/home/ubuntu/venv-zipline/local/lib/python2.7/site-packages/zipline/main.py", line 312, in ingest
show_progress,
File "/home/ubuntu/venv-zipline/local/lib/python2.7/site-packages/zipline/data/bundles/core.py", line 451, in ingest
pth.data_path([name, timestr], environ=environ),
File "/home/ubuntu/venv-zipline/local/lib/python2.7/site-packages/zipline/data/bundles/quandl.py", line 295, in quandl_bundle
show_progress=show_progress,
File "/home/ubuntu/venv-zipline/local/lib/python2.7/site-packages/zipline/data/bundles/quandl.py", line 129, in fetch_symbol_metadata_frame
data['auto_close_date'] = data['end_date'] + pd.Timedelta(days=1)
File "/home/ubuntu/venv-zipline/local/lib/python2.7/site-packages/pandas/core/ops.py", line 609, in wrapper
na_op)
File "/home/ubuntu/venv-zipline/local/lib/python2.7/site-packages/pandas/core/ops.py", line 569, in maybe_convert_for_time_op
return cls(left, right, name, na_op)
File "/home/ubuntu/venv-zipline/local/lib/python2.7/site-packages/pandas/core/ops.py", line 282, in init
lvalues = self._convert_to_array(left, name=name)
File "/home/ubuntu/venv-zipline/local/lib/python2.7/site-packages/pandas/core/ops.py", line 398, in _convert_to_array
if (inferred_type in ('datetime64', 'datetime', 'date', 'time') or
TypeError: data type "datetime" not understood
What steps have you taken to resolve this already?
I did a little research on the issue, it looks like the error is due to incompatibility of pandas and numpy libraries versions that are installed by default in the current zipline package and could be resolved by upgrading pandas.
Sincerely,
Vitaly

Hi @VitalyErmilov,
This issue is addressed by https://github.com/quantopian/zipline/pull/1990.
This update also uses Quandl's new API which significantly increases construction of the data bundle. It should be available soon.

@ernestoeperez88  thank you for the answer

Vitaly, I am closing this issue as it was fixed by the PR mentioned above.
You can track the memory issue in https://github.com/quantopian/zipline/issues/2022


traefik won't work when running the same Docker Compose stack with different project-name

Do you want to request a feature or report a bug?
Bug
Did you try using a 1.7.x configuration for the version 2.0?

[ ] Yes
[x] No

What did you do?
I have a docker-compose.yaml stack:
version: '3'

services:
    whoami:
        image: containous/whoami
        labels:
        - "traefik.http.routers.whoami.rule=Host(`whoami.docker.localhost`)"

    traefik:
        image: traefik:v2.0
        command: --api --providers.docker
        ports:
        - ${TRAEFIK_PORT}:80
        volumes:
        - /var/run/docker.sock:/var/run/docker.sock

The idea is I want to use this Docker Compose to run two sets of stack as two environments: dev and stg.
.
├── demo-dev
│   ├── .env
│   └── docker-compose.yaml
└── demo-stg
    ├── .env
    └── docker-compose.yaml

The .env is used to supply configuration for each environment:
# demo-dev/.env
COMPOSE_PROJECT_NAME=demo-dev
TRAEFIK_PORT=8081

# demo-stg/.env
COMPOSE_PROJECT_NAME=demo-stg
TRAEFIK_PORT=8082

Then I start two stack with docker-compose up -d.

What did you expect to see?
I can access to each environment with different ports.
$ curl -h http://localhost:8081 -H 'Host:whoami.docker.localhost'
Hostname: 16adb2d67e4f
IP: <IP_ADDRESS>
IP: <IP_ADDRESS>
RemoteAddr: <IP_ADDRESS>:52332
GET / HTTP/1.1
Host: whoami.docker-dev.localhost
User-Agent: curl/7.58.0
Accept: */*
Accept-Encoding: gzip
X-Forwarded-For: <IP_ADDRESS>
X-Forwarded-Host: whoami.docker-dev.localhost
X-Forwarded-Port: 80
X-Forwarded-Proto: http
X-Forwarded-Server: 337797c2baa5
X-Real-Ip: <IP_ADDRESS>

$ curl -h http://localhost:8082 -H 'Host:whoami.docker.localhost'
Hostname: c03ebc35eb01
IP: <IP_ADDRESS>
IP: <IP_ADDRESS>
RemoteAddr: <IP_ADDRESS>:57520
GET / HTTP/1.1
Host: whoami.docker.localhost
User-Agent: curl/7.58.0
Accept: */*
Accept-Encoding: gzip
X-Forwarded-For: <IP_ADDRESS>
X-Forwarded-Host: whoami.docker.localhost
X-Forwarded-Port: 80
X-Forwarded-Proto: http
X-Forwarded-Server: 16d3f9edd0a3
X-Real-Ip: <IP_ADDRESS>

What did you see instead?
All I get is 404 page not found.
$ curl -h http://localhost:8081 -H 'Host:whoami.docker.localhost'
404 page not found

$ curl -h http://localhost:8082 -H 'Host:whoami.docker.localhost'
404 page not found

Output of traefik version: (What version of Traefik are you using?)

Version:      2.0.0-rc3
Codename:     montdor
Go version:   go1.13
Built:        2019-09-10T17:10:04Z
OS/Arch:      linux/amd64

What is your environment & configuration (arguments, toml, provider, platform, ...)?
# (paste your configuration here)

If applicable, please paste the log output in DEBUG level (--log.level=DEBUG switch)
traefik_1  | time="2019-09-12T03:38:35Z" level=error msg="Router defined multiple times with different configurations in [whoami_demo-dev-96dfaad761ccf0fdfc9b3eadc5dd83f433d65538fed7359c15ade8fae8644d66 whoami_demo-stg-08143db71a97bd8ceaa93cd8586ad1ac0bb9daad5bca66448c817cac1f878b73]" providerName=docker routerName=whoami

I think the reason is because Traefik listens to all containers created/removed so it will read the labels of all containers in two stacks and update its configuration, hence the error.
I was able to workaround this situation by using an environment variable like ${ENVIRONMENT} and use it in the label:
labels:
     "traefik.http.routers.${ENVIRONMENT}-whoami.rule=Host(`whoami-${ENVIRONMENT}.docker.localhost`)"

Once run with this configuration, I can successfully do
$ curl http://locahost:8081 -H 'Host:whoami-dev.docker.localhost'
# and
$ curl http://locahost:8082 -H 'Host:whoami-stg.docker.localhost'

However, the following commands will get Gateway timeout instead of 404 page not found:
# access to `stg` via `dev`
$ curl http://locahost:8081 -H 'Host:whoami-stg.docker.localhost'
# and access to `dev` via `stg`
$ curl http://locahost:8082 -H 'Host:whoami-dev.docker.localhost'

Traefik would happily serve these two requests and then failed because it could not make requests to the containers because they were not on the same network (created by Compose).
Is there a way that I can configure traefik to care only for containers in the same Docker Compse stack?
Thanks
Genzer

hi @Genzer did you figure this out? I am having the same issue or wrong knowledge.

Hi @Isengo1989, I didn't dig further since my workaround of using a ${ENVIRONMENT} was working. Not sure if you can do the same in your case.
I did look into the documentation but I couldn't find anything to tell Traefik to recognize certain containers only.

Hi @Genzer , you can achieve this using "constraint" (ref. https://docs.traefik.io/v2.0/providers/docker/#constraints).
Don't hesitate to open a topic on the community forum if you need help on this topic :)


Would like darker version of this theme.

I don't like how bright some of the gradients get, and I'd prefer them to be a bit darker, so I'd like a modded version like that.

Thanks for taking interest in my theme! Though I personally have no plans to change major parts of this theme nor create a second variation, I am open to anyone forking this repository and making their own modifications.
As always, you can find the main source to this theme here: https://github.com/SlippingGitty/slippinggitty.github.io/blob/main/SlideToUnlock.css


Is it really necessary to escape hyphens?

Just wondering. Also have a look at what SO has to say about it.
Something like this should do it. Trivial of course:
/([\\\/\'*+?|()\[\]{}.^$])/g

or
/([.*+?^${}()|\[\]\/\\])/g

Do you want me to fork ir and PR the edits?

Hmmmm... I see your point, however what if someone wanted to escape all characters inside a character class like this:
new RegExp('[' + RegExp.escape(str) + ']');

In this case the escaping would not properly work as described I think....

(granted that's probably not a common use case)

Maybe we could think the other way around. If we escape hyphens, is there any edge case that it will make something wrong? If not, I would agree that we should escape it

This should not be an issue. '-'.match(/-/) and '-'.match(/-/) both match the hyphen properly.
More about this issue here: http://stackoverflow.com/questions/9589074/regex-should-hyphens-be-escaped

Hi, not sure what the hell I was saying in my last comment... the "match" comment was the exact same thing. In any case yes I think we need to escape for the reason written above. Hyphen does have special meaning in regexes, just not in all contexts. However since we don't know what context it will be used in we should escape, otherwise it will cause issue. Going to close this and will also write a test to this effect:
it(RegExp.escape('[A-Z]')).shouldEqual('\[A\-Z\]');


cannot enable or disable extension

Issue Type: Bug
I cannot enable or disable the ms-vscode.cpptools extension.
repro steps:

install ms-vscode.cpptools
disable ms-vscode.cpptools
attempt to 'enable in workspace'

right-click shows me this:

and the details page only shows the 'Uninstall' button:

i'm pretty sure this is a regression.
 May I know how you are disabling the extension?

i used the 'disable' and 'reload required' buttons in the details page.

You are in a VS Code Window that is connecting to WSL - I do not think it shall matter.
Can you please try to reproduce this on a Window that is not connecting to WSL?
If you are able to repro, can you please record the gif / video and share it with us?

I can reproduce this and it happens only in remote window (WSL).
As a workaround you can enable the extension from a normal window.

Hi @sandy081
Thanks for referencing this issue. I'd searched for "built-in" related issues and missed this one. Sorry about that 🙂
The workaround you suggest can only be applied to extensions which has globally disabled. If an extension disabled only for a workspace, enabling from a normal window isn't going to help for WSL users, like me 🙁
I have also shared another workaround here https://github.com/microsoft/vscode/issues/102905#issuecomment-661285115 but that is a "resetting" approach
PS: Following the instructions in here https://github.com/flowtype/flow-for-vscode/blob/master/README.md#setup, had lead me to have this issue in the first place. I didn't know I would be affected by following the instructions with a remote VSCode session.

Set javascript.validate.enable option to false or completely disable the built-in TypeScript extension for your project (see gif below):

@orta could you please add at least a warning for WSL users, till this issue has fixed?

The workaround you suggest can only be applied to extensions which has globally disabled. If an extension disabled only for a workspace, enabling from a normal window isn't going to help for WSL users, like me

Yes, it does not work for workspace disabled extensions.
Fixed it. This will be available in our next stable release in three weeks. You can also user our insiders tomorrow which will have the fix.

To verify

In a remote window (WSL / Container / SSH), disable any extension that exists on locally and remotely (also try built-in extensions) for the workspace
Reload window and make sure you can enable the extension back.


Prepare the BlazorUI for the Dark Theme

required improvements and refactoring for the Dark Theme of the Fluent design system.

Can't wait for this one :)


Adding gradio-rag-vllm-pgvector

Adding gradio-rag-vllm-pgvector.
For the deployment to work, the container image needs to be uploaded to the quay.io/rh-aiservices-bu.
This is mostly a copy and paste with a few minor updates to some files, but the #examples/ui/gradio/gradio-rag-vllm-pgvector/app.py is where the main changes are.

@asheet I have built the container and pushed it to the right repo. Could you test the Deployment?


docs: Update docs for import path

Description

Update docs for import path.

Fixes #244
Checklist

[x] My code follows the existing style, code structure, and naming taxonomy
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have performed a self-review of my own code and included any verifying manual calculations
[x] I have added or updated unit tests that prove my fix is effective or that my feature works, and achieves sufficient code coverage.  New and existing unit tests pass locally and in the build (below) with my changes
[x] My changes generate no new warnings and running code analysis does not produce any issues
[x] I have added or run the performance tests that depict optimal execution times
[x] I have made corresponding changes to the documentation

Because from stock_indicators.indicators.common.enums import PivotPointType is shortened to from stock_indicators import PivotPointType in the docs, 4f9e2155b7faaaeeedd615f5dc01af08a743bbec have to be cherrypicked from the tag 0.8.0, and released as 0.8.1 with patch-version up.

I think I need a new branch from tag 0.8.0. Could you make it as a protected branch with named 0.8?

I’m not sure I follow this logic.  Is this a rebase issue, or something we can just fix in a second commit (before releasing)?

I'd like to include only  4f9e215 in v0.8.1 (because it's related UX). But we are merging every PR to main till now. So there's no way to exclude some un-released commits before  4f9e215 . That's why I need a new branch to make a backport.

I've created a branch v0.8 from that tag.


js.Build: Add SourceMap flag into js.Build opts which can turn on sourcemap.

Added inline source map support to allow debugging during "development".
It's not quite able to send source map into .js.map files but makes debugging a lot easier.
Example:

I didn't want to attach this directly to 7504 because there were additional discussions about code splitting to enable external map files; so I pushed it as the #7607 duplicate.
It's a rather simple addition but would really help to develop javascript since you can use the chrome editor by mapping files.

 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.Andreas Richter seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for this, a few comments:

I think can make this an enum (a string) so SourceMap = 'inline'
Provide a better commit message (see the guidelines)
Could you push the "sign cla" button above? If that doesn't work,  you should check that the email in the commit matches one of the addresses connected to  your GitHub account.

Thanks for this, a few comments:

I think can make this an enum (a string) so SourceMap = 'inline'
Provide a better commit message (see the guidelines)
Could you push the "sign cla" button above? If that doesn't work,  you should check that the email in the commit matches one of the addresses connected to  your GitHub account.

Ah ok, thanks for the info. Just force pushed it to add the "tpl:" in the commit message, Will make the other fixed. I tried to sign the cla multiple times, but my email hadn't been added to github (our domain changed from a .plus to a .com and I had forgotten)

I couldn't get anything other than inline to work because the ESBuild is running using Stdin mode. If I added "external" then it would save the sourcemap instead of the actual javascript into the output of the pipeline. I tried to change Outfile and Outdir options accordingly, but that didn't get me any further because then I was unable to specify the file name of the output stream.

Tested on ubuntu and MacOS and works well for development.

Hi,
Is there a way i can stop getting this flood of emails from you? When i go
to github it says i have not subscribed to this list but i keep getting
them and they are too much.
If there is a way this can stop from your end, i would appreciate it.
regards
On Mon, Aug 31, 2020 at 7:32 AM Andreas Richter<EMAIL_ADDRESS>wrote:

Tested on ubuntu and MacOS and works well for development.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/gohugoio/hugo/pull/7610#issuecomment-683723742, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/APROA222MG676N4TP7SOZZ3SDOC6LANCNFSM4QQKYQ6Q
.

Hi, Is there a way i can stop getting this flood of emails from you? When i go to github it says i have not subscribed to this list but i keep getting them and they are too much. If there is a way this can stop from your end, i would appreciate it. regards
…
On Mon, Aug 31, 2020 at 7:32 AM Andreas Richter @.***> wrote: Tested on ubuntu and MacOS and works well for development. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#7610 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/APROA222MG676N4TP7SOZZ3SDOC6LANCNFSM4QQKYQ6Q .

I am sorry. This is my first time adding a PR here, and I missed a whole bunch of steps. Won't happen again.


Add findOne function and fix Grid.collection not reflecting name

This is an implementation of the feature proposed here https://github.com/aheckmann/gridfs-stream/issues/62 and a fix for https://github.com/aheckmann/gridfs-stream/issues/59
Prototype: findOne(options, callback)
findOne can be used like mongodb's findOne:
var gfs = Grid(db);

gfs.findOne({ _id: '54dd3fd6f9a55f1c1b25664d' }, function(err, res) {
  // res contains file or null if it did not match any file in the current collection
});

Optionally, it's possible to set options.root to specify which collection will the findOne execute on.

Looks good. I've merged it, updated README.md and the test and released this as version 1.0.1
Thank you!

Thanks @healiha ! (for fixing #62)


link broken

The github project link to "http://admin-data-demo.herokuapp.com/admin_data" doesn't seem to work, FWIW.

Now it says "invalid certificate" https://admin-data-demo.heroku.com/admin_data

I'll make sure to touch bases every 5 years or so :)


[Duplicate] Data synchronization and backup management in Networking

Article checklist
Formatting and structure checks

[x] Have you used the correct folder and file structure? - see Contribution Guidelines

[x] Is your article properly formatted in Markdown? - see Github Markdown guide

[x] Have you used our preferred heading structure? - H3 (###) and up

[x] Does your article follow any of the suggested structure formats? - see example formats

[x] Is your article over 750 words? - Tool: Wordcounter.net

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.

[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.

[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.

[x] Have you included a hero image that is 600x400 pixels, under 300KB in size, and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid - Grammarly
[x] Please place your article through a 3rd party plagiarism checker. We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide
[x] Have you checked your code runs correctly and you've highlighted all necessary dependencies for installation?
[x] Are the software programs and packages you're highlighting in your article up to date, using current versions and not deprecated?

Topic suggestion this closes
This closes #6070

Hey @BrianaNzivu and @louisefindlay23 i've made the necessary changes

Plagiarism check complete. Please remember to use the correct formatting for bullet points and use line breaks for paragraphing.

Hey @BrianaNzivu how's the progress

Hey @BrianaNzivu how is the progress?

hey @hectorkambow wanted to ask about the review?

Noted: just going through the queue in order - we will get to this one asap.!

🚀


Create KETTLE_FILES_HOME as a default Open/Save/Import to location.

Expected Behavior
On the desktop edition of PDI when I start spoon and then Open Files for the first time, it opens in the data-integration folder, which is also where 'samples' lives.  That's okay.  Better would be a way to hint at PDI exactly where to look for files starting out.
Given that Webspoon is a bit different, what I would like is to be able to set a new variable, KETTLE_FILES_HOME, which will take on a path name of my choosing.  PDI should use that as the default place to receive uploads (import XML), as 'File Open' location when no file is opened. and as a default 'Save As' location if I have not saved ETL already.
Actual Behavior
Uploads go to file:///usr/local/tomcat/temp
The Open File dialog seems to start in that directory as well.  Using the UI, one would have to go up potentially 4 folders, then back down a number of folders to get to what they want.

Setting KETTLE_FILES_HOME aside a bit, I'd like to correct the actual behavior.
The Open File dialog starts in ~/.kettle/data.
It remembers the last opened file: if the dialog started in /usr/local/tomcat/temp, you opened a file in that directory.


Fix argument type check in sendMessage

Are these type checks really necessary though?

I peaked inside the code and the change looks good to me :+1:

yeah, also assert goes away if you happen to use "optimized". And the checks should probably use isinstance not comparing to types ... but also they do provide some checks / sanity.
Ideally, we'd probably convert these all to mypy or similar these days (bear in mind Autobahn started in Python2 era).

thanks for the patch!


DEV-83 Adding the meta markdown extension so that Elli can add custom…

… titles and descriptions

 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.


Mean and standard variance (in parentheses) are presented in the table

你好，请问实验表格中的均值和方差是如何得来的

Hi, the mean and variance are derived by computing all data from the validation set for each category


Please provide a description of the basis functions B_i

Unless I missed something, the paper does not include one. It appears that the B_i are computed using the "Cox–de Boor recursion formula", or something similar (https://en.wikipedia.org/wiki/B-spline#Definition): https://github.com/KindXiaoming/pykan/blob/6a5b99f45601a1282053f14f97e70a8bb24f8b2a/kan/spline.py#L56-L60

That's correct, my implementation follows that wiki page. The indices in the code might be a bit different from the wiki page.

Thank you. You might consider including a brief mention of that in your paper, and/or here: https://github.com/KindXiaoming/pykan/blob/c63ff0404d0e7a4e900a492137d51e6c4bc1e085/tutorials/API_3_grid.ipynb#L76 One of the questions that came to me immediately when I was reading was "what are B_i?".


The example could be clearer

The myText object is never declared so I don't really know what it is and therefore what kind of objects I could expect to find a SetBinding method on.

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

ID: 12773004-4c9d-28a5-0967-6affc5738f05
Version Independent ID: efa91ca6-243f-157b-cb41-bd93cb4b1679
Content: BindingExpression Class (System.Windows.Data)
Content Source: xml/System.Windows.Data/BindingExpression.xml
Product: .net
GitHub Login: @dotnet-bot
Microsoft Alias: dotnet-bot

I just read the preceding paragraph and now I'm slightly embarrassed.

There's nothing to be embarrassed about, @richardrob24. Many of us look at the code without reading the surrounding text. The code should have made it clear what the type of myText is. It's part of a larger (actually, a much larger) example, so only a small code fragment was shown.  I've opened a PR to add a comment to the code that indicates myText is a TextBlock control.

Looks good! thank you!


Fix icon draggin feature not being enabled

Description
The code to call the AreaTabIcon's dragging feature has been added back.
Screenshots

Merging without waiting for requirements to be met because this was part of #1382 and accidentally was deleted before merging.


How to render emoji in text?

This was the text I was sending
"text": ":shiny-arrow: k8s 1.30.5 is now available at https://github.com/kubernetes/kubernetes/releases/tag/v1.30.5\nSource: https://tpe-concourse-rock.eng.vmware.com/teams/tkg/pipelines/process-new-k8s-release/jobs/gchat-notification-for-k8s-1.30/builds/4\n",

But in the gchat, the shiny-arrow was not rendored

The emoji already exists

What's the correct way to do it?

Google Chat does not support rendering emojis in a formatted text field like this. It only supports a limited set of Markdown formatting, mentions, and a small set of icons. See the documentation for the list of what is supported.


Update groups-dynamic-rule-member-of.md

Remove Teams Channel link

@Jordanndahl : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@curtand please approve. The Teams channel should not be advertised to customers.

@curtand
Can you review the proposed changes? IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
#assign:@MicrosoftDocs/public-repo-pr-review-team

The following users don't have valid GitHub IDs, or are not collaborators on this repo: microsoftdocs/public-repo-pr-review-team

#sign-off


Notifications: PVE will not accept SMTP notices from the local network.

SMTP Email notification is an issue. PVE.md does get to the point of self-sending email notifications, but at the time of testing, it would not receive .local network email for outbound relay.
The primary issue is "notification". A secondary issue is "mail notice non-local recipients," such as for password resets or other specific interaction with an outbound facing server.
 It appears a client for this is built into Proxmox. It only needs a server which can be built into the DNS.md instructions.
The DNS host is not a single "Turnkey Linux (TKL)" united, it has to be built. Since it must be built, and to some extent monitored and maintained, it is logical to use this host to carry critical services.
IF I can have SMTP behave on Proxmox to send/ receive email notices, I will consider the "gotify" option later. If I can't have PVE accept localnet email and properly forward... I can't get lost with moving things forward, and gotify will become a requirement.

Yeah... while I thought I restarted postfix, a reboot has the SMTP "listen" to the localnetwork according to a direct telnet from omenx.
Now to verify the DNS host will receive notification email.

DNS sends out email as expected, received by PVE with the following error:
May 25 16:58:10 dns postfix/pickup[3601]: 08861DDC3: uid=0 from=<root>
May 25 16:58:10 dns postfix/cleanup[4673]: 08861DDC3: message-id=<20240525165810.08861DDC3@core>
May 25 16:58:10 dns postfix/qmgr[3602]: 08861DDC3<EMAIL_ADDRESS>size=395, nrcpt=1 (queue active)
May 25 16:58:10 dns postfix/smtp[4675]: 08861DDC3<EMAIL_ADDRESS>relay=<IP_ADDRESS>[<IP_ADDRESS>]:25, delay=0.06, delays=0.01/0.01/0.03/0.01, dsn=4.3.0, status=deferred (host <IP_ADDRESS>[<IP_ADDRESS>] said: 451 4.3.0<EMAIL_ADDRESS>Temporary lookup failure (in reply to RCPT TO command))
May 25 17:02:04 dns postfix/qmgr[3602]: 8D1F492B4: from=<root@core>, size=683, nrcpt=1 (queue active)
May 25 17:02:04 dns postfix/smtp[4685]: 8D1F492B4<EMAIL_ADDRESS>orig_to=<root>, relay=<IP_ADDRESS>[<IP_ADDRESS>]:25, delay=558, delays=558/0.01/0.03/0.01, dsn=4.3.0, status=deferred (host <IP_ADDRESS>[<IP_ADDRESS>] said: 451 4.3.0<EMAIL_ADDRESS>Temporary lookup failure (in reply to RCPT TO command))
May 25 17:07:04 dns postfix/qmgr[3602]: 08861DDC3<EMAIL_ADDRESS>size=395, nrcpt=1 (queue active)
May 25 17:07:04 dns postfix/smtp[4698]: 08861DDC3<EMAIL_ADDRESS>relay=<IP_ADDRESS>[<IP_ADDRESS>]:25, delay=534, delays=534/0.01/0.03/0.01, dsn=4.3.0, status=deferred (host <IP_ADDRESS>[<IP_ADDRESS>] said: 451 4.3.0<EMAIL_ADDRESS>Temporary lookup failure (in reply to RCPT TO command))

I'm guessing GMail is looking at that and going, "I don't think so." Or Sendmail/ Postfix is confused by who it's being directed to. Let me see if I need to manipulate the incoming header to allow it to work.

Using Telnet from my Windows client, I used the following howto to test send email. I have the following result on connection:
220 pve.mik-maq.com ESMTP Postfix (Debian/GNU)
EHLO <IP_ADDRESS>
250-pve.mik-maq.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-DSN
250-SMTPUTF8
250 CHUNKING
MAIL FROM:<root@dns>
501 5.1.7 Bad sender address syntax
MAIL FROM:<root@core>
250 2.1.0 Ok
RCPT<EMAIL_ADDRESS>NOTIFY=success,failure
501 5.5.4 Error: Bad NOTIFY parameter syntax
Subject: Test from OmenX
221 2.7.0 Error: I can break rules, too. Goodbye.

Connection to host lost.

Press any key to continue...

That did not go well. I'll try again "without frills." AND... it did not go well either. I suspect I have to configure Postfix with more than I currently have expertise. "The Point" is "yell to me if something fails."
It's time to turn my attention to gotify.


Add support for WALA SDG and build a CLI tool for standalone usage

Thanks JR, I ought to have marked this as a draft. This is still work in progress.
--
Rahul Krishna, Ph. D.,
Research Scientist, Hybrid Cloud,
IBM T. J. Watson Research Center.
W// rkrsn.us
E// @.***
On Jun 20, 2023 at 9:25 PM -0400, John Rofrano @.***>, wrote:

@rofrano requested changes on this pull request.
Looks great. Just add the missing copyrights and docstrings and you're good to go.
On cargo/standalone.py:
Please add IBM Copyright to the top of this file.
On cargo/utils/summarizer.py:
This file is empty. Is it needed?
On cargo/utils/transform_graph.py:
Please add IBM Copyright to this file. Also the first methods have empty docstrings. Just describe what the method does (even though the name is descriptive).
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


Remove .validation for manifests\s\ShiningLightProductions\OpenSSL3\1\0(64-bit) - Empty directory

Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/115587&drop=dogfoodAlpha

[Policy] Needs Manual Merge


Integrate building a debian/ubuntu container

Until more images are accepted into toolbox let's just include a script so we can have a close-to-ubuntu experience.
We should ask pitti if we can just snag: https://piware.de/gitweb/?p=bin.git;a=blob;f=build-debian-toolbox and include it, perhaps find a clever way to build it as part of installation or something

Also should be terminal independent if possible, you know how our fam gets about running their own terminal emulator ....

It's unlikely that an official ubuntu image will ever be provided for toolbox. buildah comes with silverblue by default so we can just grab the dockerfile, make the necessary adjustments and then build an image that works with toolbox on the spot.
This is also cleaner since each user builds it on the spot and we can avoid redistribution/licensing entirely.
https://developers.redhat.com/blog/2021/01/11/getting-started-with-buildah#
cc @AdamIsrael

This person figured it out in a toolbox PR:
toolbox create --image registry.hub.docker.com/jmennius/ubuntu-toolbox:20.04 ubuntu
toolbox enter ubuntu

That will at least unblock us for now.


Moto breaking on travis

  File "/home/travis/virtualenv/python3.6.0/lib/python3.6/site-packages/moto/__init__.py", line 9, in <module>
    from .autoscaling import mock_autoscaling  # flake8: noqa
  File "/home/travis/virtualenv/python3.6.0/lib/python3.6/site-packages/moto/autoscaling/__init__.py", line 2, in <module>
    from .models import autoscaling_backends
  File "/home/travis/virtualenv/python3.6.0/lib/python3.6/site-packages/moto/autoscaling/models.py", line 2, in <module>
    from boto.ec2.blockdevicemapping import BlockDeviceType, BlockDeviceMapping
  File "/home/travis/virtualenv/python3.6.0/lib/python3.6/site-packages/boto/__init__.py", line 1216, in <module>
    boto.plugin.load_plugins(config)
AttributeError: module 'boto' has no attribute 'plugin'

Ideas?

What version of boto or moto are you running?

@esc Can you link to the failing Travis build?

It's a private build and I don't have the issue when using sudoe: false.


Performance issue to iterate through a returned array

My code:
    // 1
    var array = [T]()
    let query = table.filter(createdBy == userId).order(timeStamp.desc)
    // 2
    let items = try connection.prepare(query)
    for item in items {
    }
    // 3

I recorded the time for 1,2,3. Actually the query is quite fast but it's very slow to iterate through the items return (I don't want to past items from Sqlite to my controller class. So I convert them to my own model here). Any suggestion?

maybe you're loading a lot of data.  sorry, this is out of scope.


Ad Inspector Error: Ad Inspector closed unexpectedly

I've just updated to Google Mobile Ads SDK 10.9.0 (updating from 9.14.0 with zero issues) and now I'm getting an alert in my app with the following message:

Ad Inspector Error
Ad Inspector closed unexpectedly.

I never fire the function to open the Ad Inspector
The device is not in Test devices in the admob console
I don't know how to reproduce it, I just updated and now I'm getting that alert on my app randomly a couple of times per day.
Environment:

iPhone 14 Pro
iOS 16.6
Google Mobile Ads SDK 10.9.0

I don't know if it could be related to the update 10.8.0 that says in release notes:

Ad inspector now displays the error that occurred when the session fails to start.

10.8.0 release notes:
https://github.com/googleads/swift-package-manager-google-mobile-ads/releases/tag/10.8.0

Edit: I downgraded to 10.7.0 and the errors gone

Hi @F170x,
This issue doesn't appear to be related to the Swift Package Manager and more so the SDK itself. Can you re-route your issue to the Google Mobile Ads SDK Developer Forum? This will help resolve your issue. When you create your issue, please include a sample project reproducing the problem and link this issue.
Thanks


Width independent test

The test for the db migrate command help is dependent upon terminal width, so it fails on my mac laptop. This change fixes the test to instruct argparse4j to not detect terminal width during the test. Unfortunately the library keeps this setting as a static class variable, rather than a setting on the parser, so the try/catch block is needed to ensure it gets reset after the test is done.

I think we probably don't want to enable terminal width detection in tests at all.
So it makes sense to move disabling it to a static block in AbstractMigrationTest or into a @BeforeClass method. It should make tests on command help pages more focused.

Ok, I've updated the change to use a static initializer.

Coverage increased (+0.75%) to 72.94% when pulling 39670bf0eb2c1510811f1abc73f4661cd59ce03c on christophercurrie:db-migrate-mac-fix into b119bb303fcfd081c0c8ba70ce688cccc671f10a on dropwizard:master.

Thanks, looks good.


Fix UI #2

[x] fix identity icon size

figma link
https://www.figma.com/file/vqpglMGW8psHKB00eIVDUV/OpenSquare?node-id=2411%3A191143
preview

[ ] hover effect

preivew

[ ] Fix font size

preview


Use uid as device entity identifier

Breaking change: devices have to be deleted then re-added

Hi, are we sure, that uid is really unique per device? I think we have not seen two uids from the same model yet.
What if same model has same uid? Then you cannot have more spa's of same model in HA.
I used IP with uid as unique id, but HA documentation says not to use IP address in unique id
    unique_id = info['ip'] + ' ' + info['uid']
    unique_id = hashlib.md5(unique_id.encode())
    data['info'] = info
    data['info']['unique_id'] = unique_id.hexdigest()

https://github.com/Elkropac/hassio-intex-spa/blob/c7c89e2428b398bed54bc1cb2957edb021ee7010/custom_components/intex_spa/config_flow.py#L54

Hi, are we sure, that uid is really unique per device? I think we have not seen two uids from the same model yet. What if same model has same uid? Then you cannot have more spa's of same model in HA.

I agree, and I just assume uid means unique id. I'd like to find two people with the same spa model to validate this hypothesis.

I used IP with uid as unique id, but HA documentation says not to use IP address in unique id
    unique_id = info['ip'] + ' ' + info['uid']
    unique_id = hashlib.md5(unique_id.encode())
    data['info'] = info
    data['info']['unique_id'] = unique_id.hexdigest()

https://github.com/Elkropac/hassio-intex-spa/blob/c7c89e2428b398bed54bc1cb2957edb021ee7010/custom_components/intex_spa/config_flow.py#L54

Yeah, I read this recommandation from HA doc. That's why I wanted to avoid the current use of the spa name as the unique identifier. I am not so much into using another "forbidden" parameter to replace a previous "forbidden" parameter.
I'll just stay on the above assumption for now, and fix it if eventually.

Hi, are we sure, that uid is really unique per device? I think we have not seen two uids from the same model yet. What if same model has same uid? Then you cannot have more spa's of same model in HA.

I agree, and I just assume uid means unique id. I'd like to find two people with the same spa model to validate this hypothesis.

I think it is ok for now. I guess there are not many people with more than one spa of the same model at home.
Hope we can collect more data from people.

I used IP with uid as unique id, but HA documentation says not to use IP address in unique id

Yeah, I read this recommandation from HA doc. That's why I wanted to avoid the current use of the spa name as the unique identifier. I am not so much into using another "forbidden" parameter to replace a previous "forbidden" parameter. I'll just stay on the above assumption for now, and fix it if eventually.

Strictly speaking, I have not used IP adress as unique id in my code. It's just a hash of IP and UID together.

I think it is ok for now. (...) Hope we can collect more data from people.

Thank you very much for your contributions ! 🥇

Implemented by #24