CRACO 7 / CRA 5 / Types can't be found

Describe the bug
TS7016: Could not find a declaration file for module 'axios-cache-interceptor'. 'C:/.../packages/app/node_modules/axios-cache-interceptor/dist/index.cjs' implicitly has an 'any' type.
Try npm i --save-dev @types/axios-cache-interceptor if it exists or add a new declaration (.d.ts) file containing declare module 'axios-cache-interceptor';
To Reproduce
CRACO 7 / CRA 5 / React 18
CRACO config:
module.exports = {
  webpack: {
    configure: (webpackConfig) => {
      // Allow importing from external workspaces.
      monorepoWebpackTools.enableWorkspacesResolution(webpackConfig);
      // Ensure nohoisted libraries are resolved from this workspace.
      monorepoWebpackTools.addNohoistAliases(webpackConfig);

      webpackConfig.devtool = 'source-map';

      webpackConfig.module.rules.push({
        test: /\.mjs$/,
        include: /node_modules/,
        type: "javascript/auto"
      });

      webpackConfig.resolve.plugins.find((plugin) => plugin.constructor.name == "ModuleScopePlugin").appSrcs = workspaces;

      webpackConfig.resolve.mainFields = ['browser', 'module', 'main'];

      return webpackConfig;
    },

    plugins: [
      // Inject the "__DEV__" global variable.
      new webpack.DefinePlugin({
        __DEV__: process.env.NODE_ENV !== "production",
      })
    ],
  },
};

Expected behavior
Types would be found
Additional context

Axios Cache Interceptor:latest
Node Version: 19.2.0

Do you have an idea why craco can't find your types?

Hey, I do not have sufficient experience with your setup to be helpful here. But maybe it is because of the custom .cjs extension we are using?

@arthurfiorette I can confirm, that typings are not visible in Typescript when using axios-cache-interceptor in ESM files

Would be nice to get the correct types for ESM in here,  I really liked the package :D

Hello, sorry for the delayed response.
Fixed it and it will be shipped on the 1.0.0 release.


Simulations working e2e

Things that are working:

DIspatching simulations through Swagger UI
Dispatching simulations through dispatch frontend
Getting status updates on frontend/api
Creating JSON from CSVs
Creating result archive
logs
Result size info on the frontend
Runtime info on the frontend

superseded by #1709  and #1700


Add amenity=prep_school preset

Tutorial schools/cram schools.
https://wiki.openstreetmap.org/wiki/Tag%3Aamenity%3Dprep_school

It looks like someone just added this page a few days ago.
Could they maybe use a different tag?  "prep school" has a very different meaning than this, at least in US English.


Add a link to open table definition in the table hierarchy

I added a link from the table hierarchy to the table definition page. I hope you like it :-)

This is great, thanks. Nice addition of titles as well!


Use BashConverter / a Service to convert commands to the target system

I think this is tightly related to the converters in RoddyToolLib or? In any case, we need to discuss and improve this. The current code to convert a command looks like:
 RoddyCore/src/de/dkfz/roddy/execution/io/ExecutionService.groovy
 @@ -6,7 +6,6 @@

  package de.dkfz.roddy.execution.io

 -import de.dkfz.roddy.config.converters.BashConverter
  import de.dkfz.roddy.config.loader.ConfigurationLoaderException
  import de.dkfz.roddy.execution.BEExecutionService
  import de.dkfz.roddy.execution.jobs.Command
 @@ -181,7 +180,7 @@ abstract class ExecutionService implements BEExecutionService {
          String cmdString
          if (!configurationDisallowsJobSubmission && !allJobsBlocked && !pidIsBlocked && !preventCalls && !isDummyCommand) {
              try {
 -                cmdString = command.toString()
 +                cmdString = command.toBashCommandString()

out of scope


Update links to wagtail.io website to point to wagtail.org

As a part of https://github.com/wagtail/wagtail/issues/7841, we need to update how we reference the main wagtail site.
To do

[x] Setup DNS for wagtail.org
[ ] Change domain in wagtail admin

@RealOrangeOne the other step (change domain in wagtail admin), can you do that in another PR?

That won't be another PR, that'll require logging into wagtail.io and updating the "Sites", which we can do at switchover time.


Order imports by using checkstyle

Used checkstyle to order imports.
Only addedCustomImportOrder check, more can be added according to wish
Resolves #3

Hi @Diptonil, thanks for merging the PR. When you run the command mvn checkstyle:check. It runs the check and creates a report where you can see the violations.

Thank you for mentioning that!


Does not work in Ionic (Angular-based) application

I have set up a really simple example based off the demo:
https://github.com/jonnysmith1981/ionic-driverjs
When the demo runs, if you click the blue button it should highlight the div however nothing happens. If you open the browser's developer tools, you can see the <div id="driver-page-overlay"> div being added just above the </body> tag, but it is immediately removed.
No errors are thrown, it just seems to fail silently.

May be you can try stop event propagation

@trayvon2017  Nailed it! Thanks a lot.

I have the same issue,
What did you do to solve it, how did you call that event?

@Juanperezc make sure to call e.stopPropagation() on the click event that triggers the driver


Local mode does not seem to enough for store acceptance when using privateNetworkClientServer

I still get store rejection when adding local mode..
Error Found: The app manifest test detected the following errors:
The Application cannot include an ApplicationContentUriRule with 'all' or 'allowForWebOnly' WindowsRuntimeAccess while any of the following capabilities are enabled: enterpriseAuthentication, sharedUserCertificates, musicLibrary, picturesLibrary, videosLibrary, removableStorage, documentLibrary, internetClientServer, privateNetworkClientServer.
It seems it does not like the
<uap:ApplicationContentUriRules>
<uap:Rule Match="http://localhost:8080/*" Type="include" WindowsRuntimeAccess="all" />
</uap:ApplicationContentUriRules>
which is being added by my Cordova build (and I cannot remove it)

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

ID: b0936e1a-9adc-cb29-b709-38225eab6ef2
Version Independent ID: c9828288-aa24-1c44-1cef-5076cd807bef
Content: Understand Cordova platform security - Cordova
Content Source: cordovadocs/2017/security/best-practices.md
Product: visual-studio-dev15
GitHub Login: @Chuxel
Microsoft Alias: clantz

I am having the same issue and I am very frustrated that no one responding.

My solution for this came from this thread
Maybe see if anything there helps?
In the end , I had an entry in my config.xml I should not have had (and I did ont know where it came from)


Feature to Dynamically render tabs using terra-tabs

We have a requirement to dynamically render tabs which Terra Tabs does not currently support.
I'm finding once a tab is rendered, if you don't render it again because you want it to completely disappear, terra-tabs gets a null pointer exception because it keeps a list of all the tabs, and the excluded one is now null. We are using version 2.7.0. I'm looking for a way to throw away irrelevant tabs completely, not just hide or disable them.

What I meant by dynamically rendering is when a child form is re-constructed with changed data from the parent form.  We found we can alter the tabs that show in the child form by using an array of relevant tabs in the render() method.
We were trying to dynamically set tabs in the render() method with functions that worked as long as you were adding new tabs or keeping the same tabs.  But if you left out a tab that was previously rendered at some point it blew up with a null pointer.  For some reason using an array of tabs in the render() method gets around that.


Reuse etcd cluster, kvctl-server memory usage will be very large

kvrocks controller version 0.2.0
go version 1.20
each etcd node has 1.5G data
when kvctl-client connect to kvctl-server， the memory will increase by about 2
I want to know if this is normal?

Do you mean the memory of the controller server will increase 2 times? if yes, that's not expected.

not 2 times，is 2Gi,
However, I seem to have found the cause of the problem. I recreated the situation, Found that there are many keys about failover. This resulted in an increase in memory when querying etcd. Regarding these keys, I shut down an test kvrocks cluster.
thank you for your answer.


[Bounty] DApp hosting for banksy.finance

Category

[x]  DApp Hosting
[ ]  NFTs
[ ]  File Storage
[ ]  Protocols
[ ]  sManager
[ ]  Toolkit
[ ]  Documentation
[ ]  UX

Part1: Problem Description
Crust Network provides a decentralized storage network of the Web3.0 ecosystem. But besides providing decentralized content storage and verification, Crust can be used for building and hosting decentralized apps (DApps).
Banksy Finance is a decentralized NFT finance hub that will provide an NFT cross-platform ecosystem. To achieve the goal of a fully decentralized NFT finance hub, Banksy Finance will host its interface through IPFS.
Since Uniswap DApp has already been hosted on Crust Network through Github Action. We are expecting community developers to do the same thing for Banksy Finance's next-generation DApp.
Part2: Deliverables

Build the static website for Banksy Finance (tested)
Add Crust Github Action as CD under Banksy Finance's main branch
Merge the new  Github Action CD code to Banksy Finance's main branch

Part3: Resources

Banksy Finance Interface: Use the main branch
Uniswap Interface Github Action CD
Crust Github Pin Action
Crust IPFS Upload Github Action or IPFS Upload Github Action

Contact and Support

@zikunfan
@MyronFanQiu
@newnewnewsms
or join Discord

Still waiting for the Banksy community to respond @gitcoinbot

Work has been submitted 13 days ago. Any updates?

@gitcoinbot @zikunfan


Upon initialization an error is raised regarding "grid.extendToolbar.min.js.map"

[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (grid.extendToolbar.min.js.map, line 0)
This happens on your demo on apex.oracle.com as well as on our local installation.

Can you try it now? It looks like problem appeared only in Safari.

It's fixed.


remove uploaded file

delete file after upload file to S3

Coverage increased (+0.01%) to 98.864% when pulling 06e69c4a408f806442f762e41cfe1e77aee1efa2 on altherlex:remove-file into a960a2d1c33b0df58b60e8a139855141325a7dfb on chrishein:master.

Thanks @altherlex ! I think this should be made optional and keep the default to false for backwards compatibility.

Coverage decreased (-1.1%) to 97.727% when pulling 074f112a61ee64c8901a8e251e0f4061d0fa45f2 on altherlex:remove-file into a960a2d1c33b0df58b60e8a139855141325a7dfb on chrishein:master.


Style default scrollbar

It would be a great thing if you're in your CSS framework changed the default scrollbar style. On my site I use webkit version:
CSS
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}

::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

Next thing is cursor selection color:
CSS
::-moz-selection { background: #ffa726; color: #fff; }
::selection { background: #ffa726; color: #fff; }

You can try it too, it looks really nice.

We are not looking to add this into our core framework. It is easy enough to customize yourself.


Relax PyTorch upper bound (allowing 2.4)

As the issue around PyTorch being built without NumPy was fixed in conda-forge, we can now relax these upper bounds to allow PyTorch 2.4.
xref: https://github.com/conda-forge/pytorch-cpu-feedstock/issues/254
xref: https://github.com/conda-forge/pytorch-cpu-feedstock/issues/266
xref: https://github.com/rapidsai/cugraph/pull/4615
xref: https://github.com/rapidsai/cugraph/pull/4703
xref: https://github.com/rapidsai/cugraph-gnn/pull/59

/merge

Thanks all! 🙏


WIP: macOS implementation of keyboard, mouse, AxElementInfo and Application

This is initial implementation of the most basic classes for macOS backend "ax".
Any comments and suggestions are highly appreciated.
Big TODOs:

Travis CI automation is coming (currently working on macOS 10.11 usage, test apps are built as .dmg packages).
AxWrapper and derived classes (even not started yet).

Thanks:

@zemtsov-artem for mouse and keyboard modules.
@briaclg for AxElementInfo and Application classes.

Any update on this? I see there is a related issue that was created after this PR was opened: https://github.com/pywinauto/pywinauto/issues/1137
The branch currently says:

This branch is 59 commits ahead, 219 commits behind pywinauto:atspi.

Is it worth continuing from here or starting fresh?

@abrichr the most fresh branch is in PR #1213. It is waiting for final polishing. But there is not ETA unfortunately.


A useless parameter was found

Is the initialization parameter c in DPLAN.py useless and can be removed?

Yes :)

self.index_n=np.where(self.y==2)[0] .What does this code do? Labels are only 0 and 1 ，no label was found as 2.Please give an answer.

It's an improvement of the original paper. If we have the knowledge of some anomalies it is reasonable to assume that we can also know a certain number of normal data point (so, "2" is the label for normal datas, index_n: index of normal data). If you want to use this approach you need to add these labels in the dataset, as you can see in the preprocessing file. Otherwise you need to do some changes in the code.

Doesn't 0 mean a normal instance?

In an anomaly detection scenario in 0 we have both normal data and anomalies (in a very little percentage). Starting from the original dataset you take a small subset of anomalies (only from a particular anomaly class in Pang et al.) and you give them the label "1". Then, the rest of the dataset is labeled as "0". I took a little subset of ""real"" normal data and changed its label from 0 to 2. Hope this helps

I'm sorry, I didn't quite get it.Where is the source of the data?Is the data in this link usable?https://www.kaggle.com/datasets/dhoogla/unswnb15/data

Thank you. I'll try


CloudKit Public database support

Personally I don't really see the need for private database support since we already have iCloud Core Data storage which does the same thing. Public on the other hand introduces many opportunities. Can't you use queries for higher change tag or modified time to enable you to do the sync without the requirement for custom zones and change requests?

Maybe you are right but according to my experience iCloud CoreData Syncing is too slow and has its own problems and at the same time its closed sourced. You cannot control/change the sync process in any way. CKSIncrementalStore gives you more control and that may increase as the project becomes more mature. Also that CloudKit is now being used in core apps for iOS like notes, reminders etc which in my opinion shows and assures that its The Future.
I am already considering adding the public database support but there are many limitations in the CloudKit Api to implement it as of right now. Yes I can use queries and change tags or something like that but atomic commits is also a very important feature in assuring that the records on the CloudKit servers is not left in an inconsistent state.
Still I look forward to try implementing it once I am finished upgrading it to support swift 2.0.
Thanks for your interest in the project. Stay tuned :)

Thanks another thing I forgot to mention is a limitation with the iCloud Core Data is there is no option to sync partially, its all or nothing. I was wondering if you could consider making the trigger sync take a predicate to allow it to sync down only a subset of the data. For example imagine syncing down only the annotations for the current map's view rectangle.

Well lets put it this way that what if CKSIncrementalStore allows you to choose the entities of the CoreData model that should be synced with CloudKit.

I think you should open an another issue to discuss that :)

@malhal & @nofelmahmood:
Has it been confirmed that one cannot use the Apple-provided iCloud / CoreData solution for public databases?  I cannot find any explicit declaration for that, but it is suggestive since they present the topics in different sections.
It does seem that the two reasons given for not supporting public data are not blockers - that they only allow one zone and don't allow batch commits as there would be a lot of blocking on the server, from what I can surmise.
Thanks!

One way to use the public database is to create user subscriptions for objects stored on that database. When invoking the subscription be sure to set the notification to nil so that users won't see notifications popping up everywhere (unless desired). This way the public database will sync shared data on each application. Adding such support would make this an ideal wrapper imho.


EPIC: Design system backlog prioritisation exercise

What
Run a design system backlog prioritisation exercise with the NHS Digital user centred design community.
Why
We need to know where to focus our efforts as a community.
When
Every 6 months
Where
TBC
How
Workshop and/or online form.
Session notes and outcomes to be documented in the GitHub community backlog.
Desired outcomes

A shared understanding amongst the community of the items in the backlog
A prioritised ‘To do’ list of of design components and patterns
An increase in contribution to the community backlog

To do
Discover

[x] Speak to Sara about content style guide backlog prioritisation exercise
[ ] Speak to product owners / delivery managers at NHS Digital
[ ] Research prioritisation methods and tools
[ ] Speak to users of the design system
[ ] Speak to GOV.UK Design System team (Imran)
[ ] Review findings from community contribution research
[ ] Document and share findings

Plan / prepare

[ ] Use findings from 'discover' to create and test a proof of concept
[ ] Review and prep the backlog items
[ ] Plan the session (set date, agenda etc)

Deliver

[ ] Facilitate backlog prioritisation exercise
[ ] Write-up and share outcomes and next steps
[ ] Sort backlog according to agreed priority

Proposed dates for 2021 (Thursdays, 3-4pm)
Community backlog prioritisation exercise

1st April

Design system meet-up

29th April
27th May
24th June
22nd July
26th August

Community backlog prioritisation exercise

23rd September

Design system meet-up

21st October
18th November
16th December (Christmas special)

Possible criteria for prioritising:
Impact “How many designers/teams need this thing?”
v
Effort “How ready is this thing?”

Design system backlog prioritisation (with the community)
Some early thoughts on how we could structure the sessions.
Session 1: Backlog introduction
Purpose

Have the community understand the purpose and benefits of the backlog
Get the community familiar with the backlog and backlog items
Gather evidence for the backlog items
Identify what's missing from the backlog

Agenda

Introduction

What is the backlog and why do we have it
A quick tour of the backlog

Exercise

Create a GitHub account (if you’ve not got one already)
Add evidence to any backlog items (eg: screenshots, key findings, links to pages)
Create issues for any components or patterns that you think are missing (playback newly created issues to the group)
Feedback / questions

Next steps

Session 2: Prioritisation exercise
Purpose

Prioritise the backlog (based on the needs of the community)

Agenda
TBD
Session 3: Prioritisation exercise playback
Purpose

Playback results of the prioritisation exercise to the community
Encourage contribution

Agenda
TBD

@karlgoldstraw is this something you could have a key focus on to create handover notes or schedule some time with me, @ambchang @danjohnstonUX and @sarawilcox so we know what work has happened and what might still be needed to be done?

Yes please, it would be good to have a record of how you went about it (with links) in case we want to run the exercise again.

Confluence notes on the exercise: - Community prioritisation exercise


Branch.io deep link not working properly with Fusetools

Hi,
I am integrating Branch.io with Fusetools.
When I tap on a deep link in Hangout, an app is opening but the data I set on Branch dashboard is not retrieving. When an app is newly installed and I tap on link first time, data is retrieving properly but not next time. If I try with a Native app with the same package name, it is working properly. Please check the attached sample project. Let me know if you need any help for Fusetools.
BranchNativeIntegration.zip

@Dhvl-Golakiya We are checking this case. Will update you soon


Implement SPIR-V archives for combining shader modules.

(this same approach could be used for WebGPU and the same concept can be used for Metal but using their archiver instead of our flatbuffers)
Today we are turning each dispatch region into an executable and then carrying that separation all the way through to runtime. This means that the VM code we produce has to juggling sometimes 1000+ executables and that we need to maintain and track those at runtime. The independent executables also make things like asynchronous compilation and caching much trickier as we don't have full visibility into the shader modules or pipelines we need to compile at the same time.
The idea here is to extend https://github.com/google/iree/blob/552d3f888e46f96c8227b1bd2e4600b85338237b/iree/schemas/spirv_executable_def.fbs such that it has a SpirVArchiveDef that exposes the entry_points and then a set of SpirVShaderModuleDefss that each entry point is mapped in to:

(the specialization constants should be per entry point, and eventually we'll move those to the hal proper)
At runtime we'd replace the https://github.com/google/iree/blob/b998f1f8ebcdb80aa07217a9413f8ecc63ba545e/iree/hal/vulkan/native_executable.cc with an archive_executable (or something) that ran through the flatbuffer and issued the vkCreateShaderModule for each in the file and then created the pipelines as it does today using the appropriate shader module for each entry point.
This process could then be extended to perform all shader module and pipeline creation on worker threads in parallel (in future revisions) or in the case of WebGPU we'd use the async APIs to do the compilation.
The thing to resolve in the compiler is that currently our hal.executables contain a builtin.module with a single nested spv.module and the existing linking code combines the functions into the same spv.module:
https://github.com/google/iree/blob/fd51378b1858b42e58651e4ab58cbf948cfab7c1/iree/compiler/Dialect/HAL/Target/VulkanSPIRV/test/linking.mlir#L144-L161
instead, we should nest multiple spv.modules into the outer module:
hal.executable.variant {
  module {
    spv.module {
      spv.func
    }
    spv.module {
      spv.func
    }
  }
}

and have the serialization code pull them out to build the flatbuffer. This may require some pass scoping tweaks in the spirv codegen pipeline but likely not many.

afaik, multiple entry point in one shader module did not work with moltenvk when I tried this approach two years ago. so in ncnn library, the one shader one entry point rule is still applied for better cross platform compatibility. I wonder if the issue has been resolved now.

Awesome - that's helpful (and what I worried about)! This approach would let us work around that as each entry point would have its own shader module (if we needed), so even more reason not to do #7823 (that makes multiple entry points). It'd of course be good if these things worked as speced, but that's a battle for another day :)

Thanks Ben for the tracking issue! I'll address this after clearing up the current work queue.
Yeah, this is the other side of standards with lots of implementations; it just takes a super long time to have a feature propagated. It's meant to address the shader permutation issue (to some extent); but I guess until the majorities of the game engines are taking full leverage of it, it's still gonna be problematic here and there in drivers.. :(

Fun post here showing MTLLibrary timings: https://github.com/gpuweb/gpuweb/issues/1064
(ideally we'd not have a flatbuffer for metal at all and just pack MTLLibrary's directly)
WGSL will need the same approach as SPIR-V here with multiple modules per executable - I've added that in #7849 and it's something we can change the SPIR-V flatbuffer to look like:
// Contents of one WGPUShaderModule, possibly with multiple entry points.
// Entry points have the name "dN" where N is the executable-wide entry point
// ordinal.
table WGSLShaderModuleDef {
  // WGSL source code.
  code:string;

  // Optional `source-map-v3` format source map.
  source_map:string;
}

table WGSLExecutableDef {
  // An ordered list of shader modules, each containing 1+ entry points.
  shader_modules:[WGSLShaderModuleDef];

  // A mapping of executable entry point ordinals to the shader module in which
  // they reside.
  entry_points:[int];
}

@benvanik @antiagainst @ScottTodd Checking in on P1 issues, this hasn't been touched for 8 months. Do we plan to work on it or can we push to P2?

I don't think there is immediate plans for this right now; so fine to drop to P2 to me.


How to run the crawler?

Is there a way to run the entire project instead of running individual files with python3 file.py, similar to how Scrapy uses scrapy crawl <spider>? Does Crawlee (Python) have a command like this?
I couldn't find any reference in the Crawlee Python documentation on how to run the entire project.

Project Structure:
UP-SCRAPER/
│
├── crawler/
│   ├── crawler/
│   │   ├── init.py
│   │   ├── main.py
│   │   └── routes.py
│
├── poetry.lock
├── pyproject.toml
└── README.md


Test suite with two failing tests

On the current master (6e89ce655) I have two failing tests in tests/test_tree.py, see below.
 Event.root is hosted on scikit-hep.org, and the failure above has to do with not getting the bytes into the HTTPSource.
A few things have changed, one is your check for an HTTP server not supporting range headers (#411) and the other is that @kratsg asked me to change the CNAMEs for scikit-hep.org and added HTTPS support. (I see the same error when accessing it through HTTPS.)
Incidentally, this bug does not affect Travis, but Travis is effectively accessing the file on the commandline, like when I do it.
I'm perplexed. Any ideas?

Hum... no idea yet, that sounds weird. Can you give me your pip freeze and I can try to reproduce, maybe it's related to some externals (requests?).
You can also try my setup in a venv, but I guess you already did.

This check is triggering as there is one more byte in the response than expected...
https://github.com/scikit-hep/uproot/blob/163bf0ab0a5b9d16e7aee61b8ab19e0b0412a83d/uproot/source/chunked.py#L123
(still digging for a reason)

I think there is an off by one error below. According to here the range is supposed to be inclusive so it requests one too many bytes.
https://github.com/scikit-hep/uproot/blob/49c85d408c9b25521e62307ebceeeca3f7345b0b/uproot/source/http.py#L43
But I don't understand why it only shows up now...

Ah I see now, the test silently reads from a local copy if the file exists on disk!
https://github.com/scikit-hep/uproot/blob/163bf0ab0a5b9d16e7aee61b8ab19e0b0412a83d/tests/test_tree.py#L626-L629
I'll make a PR to fix the bug make the tests behave more predictably.

I just did a git bisect with pytest tests/test_tree.py and marked the current master as bad and 3fb82930 good (a commit from from May).
According to the result 2709dc0984c02d4990d5b592f8a4cea46002e155 is the first bad commit. After this, the two tests start to fail.

As for one extra byte, isn't HTTP's "byte range" text inclusive in both the starting and ending endpoints? In other words, [start, stop] rather than [start, stop). That was something that I had to address directly.

Ah I see now, the test silently reads from a local copy if the file exists on disk!

Oh, right! The test works on Travis because of this:
https://github.com/scikit-hep/uproot/blob/1301a4f47e3e3fe076a0f3d15b43384d3d49c429/.travis.yml#L71
I think it was because even when HTTP was working, it didn't work every time, which I assumed was a connectivity issue on Travis (at the time).

I'm glad for indirectly affecting tests (sorry about that!)


[SPARK-34215][SQL] Keep tables cached after truncation

What changes were proposed in this pull request?
Invoke CatalogImpl.refreshTable() instead of combination of SessionCatalog.refreshTable() + uncacheQuery(). This allows to clear cached table data while keeping the table cached.
Why are the changes needed?

To improve user experience with Spark SQL
To be consistent to other commands, see https://github.com/apache/spark/pull/31206

Does this PR introduce any user-facing change?
Yes.
Before:
scala> sql("CREATE TABLE tbl (c0 int)")
res1: org.apache.spark.sql.DataFrame = []
scala> sql("INSERT INTO tbl SELECT 0")
res2: org.apache.spark.sql.DataFrame = []
scala> sql("CACHE TABLE tbl")
res3: org.apache.spark.sql.DataFrame = []
scala> sql("SELECT * FROM tbl").show(false)
+---+
|c0 |
+---+
|0  |
+---+
scala> spark.catalog.isCached("tbl")
res5: Boolean = true
scala> sql("TRUNCATE TABLE tbl")
res6: org.apache.spark.sql.DataFrame = []
scala> spark.catalog.isCached("tbl")
res7: Boolean = false

After:
scala> sql("TRUNCATE TABLE tbl")
res6: org.apache.spark.sql.DataFrame = []
scala> spark.catalog.isCached("tbl")
res7: Boolean = true

How was this patch tested?
Added new test to CachedTableSuite:
$ build/sbt -Phive -Phive-thriftserver "test:testOnly *CachedTableSuite"
$ build/sbt -Phive -Phive-thriftserver "test:testOnly *CatalogedDDLSuite"

Test build #134413 has started for PR 31308 at commit 25b8583.

Test build #134413 has started for PR 31308 at commit 25b8583.

@HyukjinKwon @dongjoon-hyun @sunchao @cloud-fan Could you review this PR, please.

@HyukjinKwon @dongjoon-hyun @sunchao @cloud-fan Could you review this PR, please.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38999/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38999/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38999/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38999/

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

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

Test build #134413 has finished for PR 31308 at commit 25b8583.

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

Test build #134413 has finished for PR 31308 at commit 25b8583.

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

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

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

BTW, do we have a documentation for caching behaviour? it would be great to have one.

BTW, do we have a documentation for caching behaviour? it would be great to have one.

BTW, do we have a documentation for caching behaviour?

@HyukjinKwon Probably, not. At least I don't know where there are such docs.

it would be great to have one.

Yes, it would be great.

BTW, do we have a documentation for caching behaviour?

@HyukjinKwon Probably, not. At least I don't know where there are such docs.

it would be great to have one.

Yes, it would be great.

thanks, merging to master!

thanks, merging to master!


Invalid use of the super keyword breaks functionality in some cases.

In the code there are quite a few usages of the super keyword as an identifier. Since super is one of the future reserved keywords, it should not be used as identifier (@see spec).
Most browsers will just accept this without even giving an error, but several tools (for instance, YUI compressor, or in my case, a 3rd party PDF printing service) are more strict on the JS specification and therefore just fail (one more graceful then the other).
I forked your repo and tried to fix it, but I am not particularly experienced with node.js and the setup and steps it requires, so after following your instructions for local deploy I was confronted with a lot of 404 errors on most JS files, which kind of stopped me in my tracks and forced me to just fix it in the dist folder.  Just FYI

You are only partially correct about this. We have already discussed this several times. If you read the specs carefully, http://www.ecma-international.org/ecma-262/5.1/#sec-11.1.5 clearly states that an object property during initialization is a IdentifierName. Also looking at accessing properties here http://www.ecma-international.org/ecma-262/5.1/#sec-11.2.1 shows that you can write MemberExpression . IdentifierName to access properties.
If you read about IdentifierName here http://www.ecma-international.org/ecma-262/5.1/#sec-7.6 , you'll find that it can be any character sequence (including unicode sequence, $ and _) but not start with a number.

A reserved word is an IdentifierName that cannot be used as an Identifier.

Reserved words are perfectly fine as ItentifierNames but they are not as Identifier and therefore can't be used where Identifiers are expected (declarations).

Identifier :: IdentifierName but not ReservedWord

Therefore, writing var obj = {class: {var: {let: {super: { function: 10}}}}} and obj.class.var.let.super.function is perfectly fine. I'd not recommend to write this as it can be totally confusing. In the case of Chartist though it makes sense because it's an early emulation of classes and the super property has the same meaning as the super keyword in ES6.
Also I'd not describe the super keyword as a reserved keyword of the future. It's in ES6 which we all should use in our day to day job.
Finally, please stop using YUI Compressor. It's way outdated and YUI Compressor is no longer maintained years ago if I'm not mistaken and even the YUI team is no longer existing (with that name at least). Please use modern, far more progressed tools like Google closure compiler, uglify JS or the like.


Refactor test_examples.py to allow xfailing examples

This simplifies test_examples.py to make it compatible with per-parameter xfail markers.
Tested

added xfail_param annotations in a branch and ran locally.

Codecov Report

Merging #1295 into dev will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##             dev   #1295   +/-   ##
=====================================
  Coverage   91.5%   91.5%
=====================================
  Files        114     114
  Lines       6236    6236
=====================================
  Hits        5706    5706
  Misses       530     530

Continue to review full report at Codecov.

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


Cython support

Could Cython support be added? A symlink would probably work configs/python.lua -> cython.lua

I tested that this does't work, I think nvim-treesitter has to add Cython support for this to work

Hi, sorry for the late response, it seems that there is no support for Cython in upstream, and there might be no way to add support here. One workaround is to manually set 'filetype' to 'python' using :h ftdetect but this will not always work since the syntax is not completely compatible and tree-sitter syntax for Cython is not available yet. Still recommend to use dedicated plugin for Cython (or similar langs) instead.

I see, thanks for the response!


Add a js linter/beautifier and accept all its suggestions unquestioningly.

Let's see what codacy makes of it.
Fixes #6335.

Hey @bakert,
Your changes look good to me!
View build log
TravisBuddy Request Identifier: b759c950-fbe8-11e9-9ef7-03a460f81868


Add example receiving custom message via POST body

Adds the example to receive a custom message via POST body in the custom web API.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot


Move things into separate classes

@seut please review

Current coverage is 80.87% (diff: 100%)

Merging #4265 into master will decrease coverage by 0.13%

@@             master      #4265   diff @@
==========================================
  Files          1304       1304
  Lines         44300      44300
  Methods           0          0
  Messages          0          0
  Branches       7081       7081
==========================================
- Hits          35891      35829    -62
- Misses         5739       5793    +54
- Partials       2670       2678     +8

Powered by Codecov. Last update 10d7de8...9cf53bf


Fail NavMeshQuery after loading all_tiles_tilecache.bin

I exported the bin-file from recastnavigation (C ++), I use TileCacheReader to load the bin in the java-version, navmesh is loaded, but incorrectly, in a different way, unlike the C ++ example of RecastDemo.
I exported in java obj to bin using TileCacheWriter.
	boolean cCompatibility = true;
	InputGeom geom = new ObjImporter().load(RecastBuilder.class.getResourceAsStream("nav_test.obj"));
	TestTileLayerBuilder layerBuilder = new TestTileLayerBuilder(geom);
	List<byte[]> layers = layerBuilder.build(ByteOrder.LITTLE_ENDIAN, cCompatibility, 1);
	TileCache tc = getTileCache(geom, ByteOrder.LITTLE_ENDIAN, cCompatibility);
	for (byte[] data : layers) {
		long ref = tc.addTile(data, 0);
		tc.buildNavMeshTile(ref);
	}

	ByteArrayOutputStream baos = new ByteArrayOutputStream();
	writer.write(baos, tc, ByteOrder.LITTLE_ENDIAN, cCompatibility);

	try(OutputStream outputStream = new FileOutputStream("_temp.bin")) {
		baos.writeTo(outputStream);
	}

Then again I load bin TileCacheReader, the same problems. NavMeshQuery is incorrectly formed, I can not correctly get information on polygons.
Can you check the problem?

Would you please attach the file you exported from RecastDemo?
There is a related test that demonstrates how to import bin files containing tile cache data - https://github.com/ppiastucki/recast4j/blob/master/detourtilecache/src/test/java/org/recast4j/detour/tilecache/io/TileCacheReaderTest.java
and it actually loads the following 2 files created with C++ version of RecastDemo:
https://github.com/ppiastucki/recast4j/tree/master/detourtilecache/src/test/resources

I'm using for test this bin file or its my export bin-file from RecastDemo
all_tiles_tilecache.zip
I created Main.java, in it I use object of class TiledFindPathTest.java.
TiledFindPathTest.java I modified it a bit, added open bin-file from TileCacheReaderTest.java
TiledFindPathTest.zip
The file opens, but later an error appears in the calculations.
Exception in thread "main" java.lang.IllegalArgumentException: Start or end ref = 0
at org.recast4j.detour.NavMeshQuery.findPath(NavMeshQuery.java:725)
at org.recast4j.detour.TiledFindPathTest.testFindPath(TiledFindPathTest.java:60)
at Main.main(Main.java:14)

It turns out that the function query.findNearestPoly (start, extents, filter) returns null.
If you uncomment the 31 lines (dynamic build navmesh for dungeon.obj)
//this.navmesh = new TestTiledNavMeshBuilder (). GetNavMesh ();

then navmesh correctly loaded and calculated the path from the point start to end.
Am I doing something wrong? What else can I check?

Thanks for the information. I will look into the issue.
Meanwhile, you might try using tiles nav mesh sets rather than tile cache.
Please see https://github.com/ppiastucki/recast4j/blob/master/detour/src/test/java/org/recast4j/detour/io/MeshSetReaderTest.java for the respective example on how to load tiled nav meshes (all_tiles_navmesh.bin in this case).

Ok, thanks, I'll try.
But then I still need to load tileCache to use the dynamic obstacles functionality (addObstacle).

After using dungeon_all_tiles_navmesh.bin, everything works great! Path is found.
Now to understand what's wrong with tileCache ...

The issue is hopefully fixed now, please see https://github.com/ppiastucki/recast4j/blob/master/detourtilecache/src/test/java/org/recast4j/detour/tilecache/TileCacheFindPathTest.java.

Everything works great! Obstacles also work, thank you very much!


Need more documentation on "Scopes" when creating instances

I recently needed to give a new instance read-write access to a certain GCS bucket. Our current docs show the "Scopes" field as a thing, but don't really explain how to use it. At bare minimum, we should provide a link here.

Fixed by https://github.com/GoogleCloudPlatform/compute-image-tools/pull/253.


tests sometimes take 6 hours to fail?

So far seen once instance of 3 sorted set tests that took 6 hours before they failed: https://github.com/momentohq/client-sdk-rust/actions/runs/8427411620/job/23077905848
running 8 tests
test sorted_set_fetch_by_rank_happy_path has been running for over 60 seconds
test sorted_set_fetch_by_rank_nonexistent_cache has been running for over 60 seconds
test sorted_set_fetch_by_score_happy_path has been running for over 60 seconds
Error: The operation was canceled.

Not sure why this happened, but if this keeps occurring, we could try adding a timeout macro to the problematic tests

@anitarua Does this still happen?

Haven't seen it happen since so this can probably be closed


ITMS-90338: Non-public API usage

I got the following message when I tried to send my build to TestFlight.
And I got the ARCore/AugmentedFaces when I searched for that Non-public symbols
% find . -type f -exec grep -l 'ddReplaceEii' {} ;
./Pods/ARCore/AugmentedFaces/Frameworks/ARCoreAugmentedFaces.framework/ARCoreAuentedFaces
Is there any way to solve this issue?
ITMS-90338: Non-public API usage - The app references non-public symbols in MYAPP: __ZN3icu5Edits10addReplaceEii, __ZN3icu5Edits12addUnchangedEi. If method names in your source code match the private Apple APIs listed above, altering your method names will help prevent this app from being flagged in future submissions. In addition, note that one or more of the above APIs may be located in a static library that was included with your app. If so, they must be removed. For further information, visit the Technical Support Information at http://developer.apple.com/support/technical/
Though you are not required to fix the following issues, we wanted to make you aware of them:

Thanks for the report!
We are looking into this issue and are hoping to have a fix in the release after 1.19 (which is rolling out currently).

Same problem

Same problem here


MONIT-27533: Update gRPC and OpenTelemetry dependencies

The test suite passes with this change (mvn clean test).

Switch pom to gRPC BOM 1.41.2
Update OpenTelemetry dependencies:

Upgrade to latest jaeger dependency for our jaeger listener
Remove alpha BOM that imports a single constant
Add new opentelemetry-proto dependency to get exponential histogram definitions

FYI @laullon and @joannak-vmware: I did a code review with Travis and Sumit over zoom.

@oppegard I think we need to remove the deprecated class InstrumentationLibraryMetrics(https://github.com/oppegard/wavefront-proxy/blob/c0aa57833a9403efb58e5f2ad495f73417193c25/proxy/src/main/java/com/wavefront/agent/listeners/otlp/OtlpProtobufPointUtils.java#L85).

@oppegard I think we need to remove the deprecated class InstrumentationLibraryMetrics(https://github.com/oppegard/wavefront-proxy/blob/c0aa57833a9403efb58e5f2ad495f73417193c25/proxy/src/main/java/com/wavefront/agent/listeners/otlp/OtlpProtobufPointUtils.java#L85).

Good catch – I believe the replacement is ScopeMetrics. I think this needs some testing with the a new and old version of the OTel Java Agent, to see the behavior. It's likely we should support both:

An app with an old OTel SDK sends protobufs with InstrumentationLibraryMetrics
An app with a newer OTel SDK sends protobufs with ScopeMetrics


AllowMafiaLeonCutscenes but for Ashley

Describe the feature you'd like to see added
can we get a setting that enables ashley's armor to show in cutscenes? maybe put it in conjunction with the already existing setting that exists for leon?
if so, maybe change the name from AllowMafiaLeonCutscenes -> AllowSpecial2Cutscenes ?

Perhaps there is an issue preventing them from adding such a feature?


Error making the webfont

Hi, thanks for your repo, I try to execute
./generate-webfonts -o assets BrandonText-Black.otf
and get
revod@Revod:~/Descargas/webfont-generator$ ./generate-webfonts -o assets BrandonText-Black.otf
Error: no se ha encontrado o cargado la clase principal ConvertFont
Traceback (most recent call last):
  File "./generate-webfonts", line 157, in <module>
    main()
  File "./generate-webfonts", line 135, in main
    sfntly_formats
  File "./generate-webfonts", line 34, in sfntly_convert
    raise RuntimeError('sfntly conversion failed')
RuntimeError: sfntly conversion failed

why?

Did you run make beforehand? If the file src/java/ConvertFont.class is missing I get the same error:
Error: Could not find or load main class ConvertFont
Traceback (most recent call last):
  File "./generate-webfonts", line 157, in <module>
    main()
  File "./generate-webfonts", line 135, in main
    sfntly_formats
  File "./generate-webfonts", line 34, in sfntly_convert
    raise RuntimeError('sfntly conversion failed')
RuntimeError: sfntly conversion failed

Im newbie in this, and not understanding much the explanation of the readme, I download the external Dependencies but later? can you explain again that process please?

No problem. Basically there are two steps:

Run the make command in the cloned repo. This will automatically download most of the third-party libraries and compile them.
Install FontForge.

Running make takes care of everything except installing FontForge. Besides FontForge you shouldn't need to install anything yourself.

I Have installed FontForge but i still see that error, and when I type make in the cloned repo get:
revod@Revod:~/Descargas/webfont-generator$ make
svn checkout http://sfntly.googlecode.com/svn/trunk/ sfntly && { mkdir -p .make/ && touch .make/sfntly-src; }
/bin/bash: svn: no se encontró la orden
make: *** [.make/sfntly-src] Error 127

You do not have SVN installed. You will need to install SVN in order to check out the sfntly repo.

Done, thanks so much for you help. Its possible to change the code of the repo or add the opt to generate base64-encoded?

Perhaps. If you need to combine the css files you could always concatenate the output files or append them to your main css file:
cat assets/*.css >> build/main.css

Providing base64 encoding sounds doable. Feel free to open another issue.

Thanks for you help. Hope to see the base64 encoding soon. I'm "Watching" your repo.

@Revod I've added base64 encoding in the latest release. There's a new setup script setup.sh which should be more intuitive to use.
Also, you now have the option of sending the CSS code to stdout. To convert all fonts in a directory and concatenate the CSS rules, you could do something like this:
find your-font-dir/ -name '*.otf' -exec ./bin/generate-webfonts -o assets/ --css - '{}' ';' > main.css

wow this is amazing, I will check the update in a moment. thanks for that. the -name is for?

It selects all files ending in .otf. -name is part of Unix find: http://linux.die.net/man/1/find.


Emitter disappearing with three.js r68

Hello,
i tried to implement the basic particle emitter example using the latest three.js r68.
I build a demo where the emitter stays in front of the camera and is pointed at it, which only seems to work with r65.
With r68 the emitter is disappearing when moving the camera and pops back in unpredictable.
Any ideas?

http://three.thiele-medien.de/emitter.html
http://three.thiele-medien.de/emitter-r65.html

Setting the boundingSphere position definitely do the work (ver. 0.7.5)
Thanks Usnul!

What Usnul suggested is working fine for me with SPE 0.7.9 and three.js 71, so i can leave frustum culling enabled :)
Thank you all!


[Feature] implement uniform_init for tensor

Describe the feature
Implement uniform_init for tensor.
train_internlm need to use different kinds of initialization.
Will you implement it?

[X] I would like to implement this feature and create a PR!

https://github.com/InternLM/InternLM/pull/252


Add new css components

Please add your css components based on the instruction given in README.

I cant find the css changes in readme, can you please tell?

@varuns1007  we will update the contributor.md file by evening.

hi varun,
what changes? your contribution?
On Mon, 5 Oct 2020 at 11:33, varuns1007<EMAIL_ADDRESS>wrote:

I cant find the css changes in readme, can you please tell?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rubenshibu/css-components/issues/10#issuecomment-703416302,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKDY6UEYJIYXYF3SWAO6NDLSJFOS3ANCNFSM4SBRT4PQ
.

hi, I am new to GitHub I want some help.
should I have to create my own branch or not?
(>>>git checkout -b add-dilip-kn)

Hey @dilipkn007, it's is better to create a branch.

hey @rubenshibu please check my PR #31 . Thanks!

yeah i will check it @Illusion47586


Seconds in date and time

Thank you for the time type! Its been amazing so far.
Are you able to add seconds in the clickable box that comes up? I know I can enter it manually be specifying the format, but a clickable box would be nice. If its too much of hassle or it will slow it down, then its not really needed. Thanks again.

The popover is the native chromium one. I can't add seconds in it unfortunately


bot-conversation-sso-quickstart (.net) fails to work on new Teams client (desktop and web)

We have setup everything as described in the bot-conversation-sso-quickstart .net sample and also in the readme:
https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/bot-conversation-sso-quickstart/BotSSOSetup.md
Now, what we are seeing is that the SSO works quite well in the classic Teams Desktop and Web clients:

However, when testing the exact same code on the new Teams desktop and web clients, we see there is no sign in dialog sent by the bot:

So the SSO just silently fails. Is there some additional configuration necessary to get the SSO working for new teams clients?

@vman - Thank you for reporting this, we will check this and get back to you.

@vman - We tested this sample at our end, and it is working fine in both new Teams desktop and web. There is no additional configuration required for this.

@vman - Could you please let us know if you are still facing the issue?

There is no sign-in dialog in new Teams like OP mentioned.


side-nav broken on mobile with dir=rtl

I have the body's tagged as dir=rtl.
On my mobile, the side bar just doesn't work - even though on the PC it works perfectly when resizing the browser's size.
When changed the navbar's div to be dir=ltr, mobile started working again.

Do you mind posting your code?


please draft a release and link to zenodo!

We can't quote the package if there's no DOI. So please draft a release and submit to Zenodo.

given @xrotwang's substantial work on this, he should be listed as co-author. My role was minor, so listing me as a contributor (see policy in lingpy or concepticon) would be sufficient.

Here's what I'd use as a bibtex right now, but a Zenodo-Link with a version is pending:
@Online{Moran2017a,
  author      = {Moran, Steven and Forkel, Robert},
  title       = {Segments. A Python implementation of orthography profiles},
  year        = {2017},
  url         = {https://github.com/bambooforest/},
  address     = {Zürich},
  contributor = {List, Johann-Mattis},
  publisher   = {Zurich Center for Linguistics},
  timestamp   = {2017.10.08},
}

We may want to wait until the Unicode book is published, so that published
algorithm and implementation are in sync.
Am 08.10.2017 18:30 schrieb "Johann-Mattis List"<EMAIL_ADDRESS>
given @xrotwang https://github.com/xrotwang's substantial work on this,
he should be listed as co-author. My role was minor, so listing me as a
contributor (see policy in lingpy or concepticon) would be sufficient.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bambooforest/segments/issues/22#issuecomment-335018660,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA1HKN4uPlPN_yckycLV1maTL7tLylSyks5sqPimgaJpZM4PxwuM
.

Yes, cool with me! I was just thinking: I'd like to include a short note on orthography profiles in our lingpy tutorial. We'd need lingpy 2.6 for this anyway, and if we aim for submitting some time in November, we should have:

segments version 1.0
lingpy, version 2.6

at about the same time. I'll for now quote the bibtex as noted above in our tutorial draft. I'll also quote the version on Zenodo of Moran + Cysouw for the Unicode book. We can also just quote the github for the time being (if the tutorial passes review, we can rush when it goes for publication, no need to do this now, but we should be ready to have all things in order, so all things is versionized and ideally also on pypi).

@LinguList - yes we already discussed co-authorship, so we will also have to update segments on Pypi to include @xrotwang . I will list you also as contributor.
The book needs a number of revisions that we plan to do asap (but I have a few things that I have to finish first), so November sounds like a reasonable goal. Regarding the current bibtex, I wouldn't use
"Zurich Center for Linguistics" as publisher (they don't publish it). I suppose "Department of Comparative Linguistics" is better, but they also don't publish it...
I can also move the repo somewhere not under my personal github account, as you suggested before @LinguList , but segments seems to be taken and not used (argh).

@bambooforest we could move it to https://github.com/clld - which seems reasonable. https://github.com/lingpy may also work. In theory, a separate org per package would be the most flexible setup, but it also becomes unwieldy quickly ...

https://github.com/cldf/segments/releases/tag/v1.2.1


Resolve issues found while enabling image test cases in osbuild

There have been two main issues with the generated test cases:

The osbuild used to generate image test cases in F34 repos is too old and does not contain the fix for the qemu stage and qcow compatibility version. Solve this situation by adding a new option --repofrompath to generate-all-test-cases allowing to specify additional DNF repositories, which will be used on the Runner when installing any packages (such as osbuild).
In some cases, e.g. when analysing an extracted tar image, it could happen that the tools used by image-info to analyse the image could modify its content (e.g. create new files which were originally not on the image). This is especially an issue with rpm, which DB backend seemed to create files in /var/lib/rpm/ when run. Ensure that the analysed directory can not be modified by bind-mounting it as a read only, before the analysis.

Related to https://github.com/osbuild/osbuild/pull/810

[ ] Regenerate all relevant image test cases

This pull request includes:

[ ] adequate testing for the new functionality or fixed issue
[x] adequate documentation informing people about the change such as

[ ] create a file in news/unreleased directory if this change should be mentioned in the release news
[ ] submit a PR for the guides repository if this PR changed any behavior described there: https://www.osbuild.org/guides/

Test case regeneration is currently blocked on unavailability of osbuild upstream builds for ppc64le (https://github.com/osbuild/osbuild/pull/838)


Video Play Crash the App

I'm using this app on Android TV box, I have a remote control with navigation button and option button. In previous version, I be able to long press and choose the video file to select which video player to use with. (Or system pops out an option menu). However, in the lastest version, besides nav around, once click on video play, the app just crashed. And the long press and option button doesn't do anything any where in app. Also, it seems the nav button on remote won't allow user to active all function that previous version have. Such as watch the download progress, and setting, etc..
Is that something we can fix?
Thanks so much developers!

I'm not super familiar with the TV functionality (@sregg implemented it) but I'll see if I can find what's wrong when I can.

Hi Steve,
The last App works with my TV box is  2.1 beta 2 released on Oct 15, 2014.
After that, the interface no longer function as you can use the remote to control it.

Is this still happening with the latest beta?


Feature/141 set up documentation

Main Changes
Include a setup file explaining how to set up a  Raspberry Pi from scratch
Associated Issues

Closes #141

Tests
This has been tested using a new USB stick

It all looks good. Just a couple of general comments:

Would you like to move SET_UP.md to a folder called docs where we can keep all docs in the future; the screenshot can go to docs/images.
Should we put a link to SET_UP.md into the main README file?

Yes was actually thinking that myself

@pdavid747, @Yuanbwcx Any feedback?

@alphaville, @Yuanbwcx I've just made a few small changes to the How to remote access the Raspberry Pi using Visual Studio Code section, if you are happy with these we can merge

@jamie-54 It all looks good to me. Let's merge it if you don't want to make any further changes.


Errors with npm install and Running

Hi there. I have tried several times to get the development version working to no avail. Here is a screen shot of my terminal:

I have done everything I can think of. The demo will not load at all. I have successfully installed via npm in my project and I can get the markdown rendered to the page, but nothing else. The documentation is unclear on how to get this to look like the demo page as well as how to start the demo. I tried the webpack command, npm start everything.  I even created a directory and tried to run gulp to see if I could fix it, but no there also. Can you provide me an explanation as to what I am doing wrong?

Things move quickly in the javascript world. I've done a few changes now that ensures that the prepublish step is not run on install. I've also made sure that the projects builds with the correct and latest versions of babel, and I've fixed an issue that was causing webpack not to output correct bundles.
Can you please give it another shot?
I'm not sure what exactly you are trying to do - the demo is runnable by serving the demo/dist folder through a webserver (npm install -g node-static && static demo/dist, for instance). If you want to make changes to the demo, you can run the watch task at the same time: npm run watch.
The primary use case isn't a side-by-side editor/preview thing, which is why I have not given much thought to how the demo should be run or the quality of the codemirror integration that's currently running there.

Closing this since I have not heard back. Let me know if I can help further.

Apologies for the delay as I didn't realize you responded. I will try the new method that you mentioned and let you know my results.
As for what I am trying to do is to simply get this running and be able to test the demo and see how everything was working. I could not accomplish that with the current instructions that are provided on the read me.
I understand that the demo is not your primary concern, but it does help me for the use case and wanted to see how everything worked in a live setting even though I can read the code and determine what is happening. Thanks for your prompt response. If you don't mind , please keep this open so that I may respond with my results. I hope all is well.


[SUBMISSION] Automated Policy-based Preference Alignment using Synthetic Data Generation

December 2024 Student Submission
See html rendered submission here for ease of review.
Accompanying Python Notebook is in the PR.
Module Completed

[ ] Module 1: Instruction Tuning
[X] Module 2: Preference Alignment
[ ] Module 3: Parameter-efficient Fine-tuning
[ ] Module 4: Evaluation
[ ] Module 5: Vision-language Models
[ ] Module 6: Synthetic Datasets
[ ] Module 7: Inference
[ ] Module 8: Deployment

Changes Made
In this case study, we demonstrate how to use DPO to align a language model to a user-provided policy further automating the process via synthetic data generation and LLM-as-judge evaluation.
We go over a Case Study for Acme Inc., a company dedicated to democratizing access to computer science education for K-12 students. Acme Inc. is in the process of creating a chatbot named smolK-12, a small open source LLM, specifically designed for K-12 students.
We’ll explore how to align a language model with Acme Inc.’s policy to ensure its LLM-powered applications are safe and appropriate for K-12 students.
Notebooks Added/Modified
List any notebooks you've added or modified:

[X] Added new example in 2_preference_alignment/notebooks/smolk12
[ ] Modified existing notebook with additional examples
[ ] Added documentation or comments

Checklist

[X] I have read the module materials
[X] My code runs without errors
[X] I have pushed models and datasets to the huggingface hub

A K-12 preference DPO-based dataset
A K-12 aligned language model

[X] My PR is based on the december_2024 branch

Questions or Discussion Points
Add any questions you have or points you'd like to discuss:
I am particularly interested in your feedback pertaining to the points I've raised in the Discussion section around:

Synthetic Data Generation
Choice of Base Model
Evaluation Methodology
DPO Dataset Composition
Fine-tuning Process

Additional Notes
Any other information that might be helpful for reviewers:
This is a Case Study part of an open source book I am writing "Taming LLMs".
I would love to highlight the great smolLM work you are doing here. Hence, I would truly appreciate your feedback on the here submitted Case Study.
Cheers,
Tharsis.

This is a really nice submission @souzatharsis. Thanks!
My first question is: Have you considered using a library like distilabel?
We're currently working on the synthetic data module and I think your use case could fit there.

Hi @burtenshaw , thanks for the feedback!
distilabel sounds indeed an elegant way to replicate my data generation process, thanks for the recommendation.

Looking forward to additional feedback!

Hi, I was wondering whether there is any feedback?
Would content from this PR be helpful to others in any way?


Image Transformation of /qhd/image_rgb_rect to /sd/image_rgb_rect?

What is the transformation between /qhd/ and /sd/ color image? And why is there depth information on the sd topic?

SD in the frame of the ir sensor and QHD/HD is the the rgb sensor frame. The transform is the one, that gets calculated during the calibration.
Why shouldn't there be a depth in SD?

I meant in the sd/image_color.


orca version for yolox (2)

yolox改为orca版本，涉及orca本身的issue links:
https://github.com/intel-analytics/BigDL/issues/4410
https://github.com/intel-analytics/BigDL/issues/4412
https://github.com/intel-analytics/BigDL/issues/4414
https://github.com/intel-analytics/BigDL/issues/4428

yolox改为CPU版本后，AP一直低于原始GPU Ap，官方issue： https://github.com/Megvii-BaseDetection/YOLOX/issues/1202
AP详情:
Average forward time: 42.98 ms, Average NMS time: 0.69 ms, Average inference time: 43.67 ms
Average Precision  (AP) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.000
Average Precision  (AP) @[ IoU=0.50      | area=   all | maxDets=100 ] = 0.001
Average Precision  (AP) @[ IoU=0.75      | area=   all | maxDets=100 ] = 0.000
Average Precision  (AP) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.000
Average Precision  (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.000
Average Precision  (AP) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.000
Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=  1 ] = 0.000
Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets= 10 ] = 0.001
Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.001
Average Recall     (AR) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.000
Average Recall     (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.000
Average Recall     (AR) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.001
2022-04-01 17:35:46 | INFO     | yolox.core.trainer:338 - Save weights to ./YOLOX_outputs/yolox_s
2022-04-01 17:35:46 | INFO     | yolox.core.trainer:338 - Save weights to ./YOLOX_outputs/yolox_s
2022-04-01 17:35:47 | INFO     | yolox.core.trainer:182 - Training of experiment is done and the best AP is 0.01


Don't re-run tests if only snapshots are updated

🚀 Feature Proposal
I might be missing something, but if all I'm doing is updating the failing snapshots on my test suite, is there a reason why all of my tests should re-run?
Motivation
Efficiency on large test suites
Pitch
Why does this feature belong in the Jest core platform?
It wouldn't belong anywhere else...

Any reason you can't use interactive snapshot update during watch mode?

I do, but let's say I have a test suite with 200 test, and they take a couple of minutes to run. I run them all once, and it finds one snapshot test failing. I then need to press u and wait for all the tests to run again, while the outcome is known - it'll fix the one snapshot and all the other tests will pass again, because nothing was changed...

Just running the suites with failing snapshot tests should be possible. In watch node you can wnter failing mode by hitting f before u as a workaround


signal_processing tests rely on uninitialized variable

Checklist

[X] I've read the contribution guidelines.
[X] I've searched other issues and no duplicate issues were found.
[X] I'm convinced that this is not my fault but a bug.

Description
The low pass filter unit test of the signal_processing package fails often on Arm platforms.
Expected behavior
The unit test passes consistently.
There are no uninitialized variables.
Actual behavior
I see a failure rate of the unit test above 50%.
Example failure output:
1: [ RUN      ] lowpass_filter_twist.filter
1: /home/user/autoware/src/universe/autoware.universe/common/signal_processing/test/src/lowpass_filter_test.cpp:44: Failure
1: The difference between filtered_twist->linear.y and 0.0 is 7.1114927535527936e+197, which exceeds epsilon, where
1: filtered_twist->linear.y evaluates to -7.1114927535527936e+197,
1: 0.0 evaluates to 0, and
1: epsilon evaluates to 9.9999999999999995e-07.
1: [  FAILED  ] lowpass_filter_twist.filter (0 ms)
1: [----------] 1 test from lowpass_filter_twist (0 ms total)

Additionally, when building the package with --cmake-args -DCMAKE_BUILD_TYPE=Debug, the unit test fails consistently on both x86 and arm with:
1: [ RUN      ] lowpass_filter_1d.filter
1: test_signal_processing: /usr/include/boost/optional/optional.hpp:1207: boost::optional<T>::reference_type boost::optional<T>::get() [with T = double; boost::optional<T>::reference_type = double&]: Assertion `this->is_initialized()' failed.
1: -- run_test.py: return code -6

Which highlights that the package relies on uninitialized optional variable.
Steps to reproduce
Run colcon test --packages-select signal_processing on an arm64 platform a few times in a row.
Versions
No response
Possible causes
The LowpassFilterTwist class has a x_ member variable of type boost::optional<geometry_msgs::msg::Twist>, which is not initialized. And the unit test expects the unitialized value to evaluate 0, which is not always the case.
Interestingly, it seems to consistently pass on x86.
Additional context
Simply default-initializing the variable in question is not enough as the unit test expects it to be uninitialized afterwards.
Packages that make use of this would need to be checked to see what they rely on and what they expect.
Question: because the issue is shown explicitly when compiling with Debug, would it make sense to have that in CI in addition to the currently-tested Release?

cc @takayuki5168 as package maintainer
cc @kenji-miyake for the CI question

@ambroise-arm
Thank you for your report.
Sorry, this is my fault. I created a PR, so could you check please.
https://github.com/autowarefoundation/autoware.universe/pull/1960

@ambroise-arm Thank you for your detail report.

Question: because the issue is shown explicitly when compiling with Debug, would it make sense to have that in CI in addition to the currently-tested Release?

Do you think we can use RelWithDebInfo instead? I'm concerned that Debug will be very slow.
https://github.com/autowarefoundation/autoware-github-actions/blob/c3e0ce4316d83468a9922bbdc62d85a6a80bc5a5/colcon-build/action.yaml#L65

@kenji-miyake Only Debug enables the DEBUG flag of interest here. In my head the debug build would be faster than the release build because there are less optimizations that the compiler needs to do. I will check that.

I was worried about the execution time of tests.
But considering there aren't so many tests right now, I'll use Debug. Thanks!

@ambroise-arm Please let me confirm.
Did this occur on Humble? The galactic CI with Debug has passed.
https://github.com/autowarefoundation/autoware.universe/actions/runs/3137771803/jobs/5096330982

@kenji-miyake Very weird. The failure on the (humble, Debug) configuration matches the one I was seeing locally. But I was using galactic. I have re-run the tests locally but using the CI setup (with the mixins and the coverage enabled) and I still see the same failures. I don't understand how the (galactic, Debug) configuration passes here.

@ambroise-arm I was able to reproduce the issue. But it seems Debug uses much more storage that Release. We have to cut down on the usage also for GitHub-hosted runners.
https://github.com/autowarefoundation/autoware.universe/actions/runs/3143374868

FYI. I merged the fix PR for this issue. However, you keep discussing the issue, so I don't close this issue.
https://github.com/autowarefoundation/autoware.universe/pull/1960


Openstack: still no console information

perspective>show console test
Matched instance "test" but it didn't contain console information.

Works. Forgot to enable it in worker.properties.


LMS Performance Fixes

This PR makes several changes to help increase performance by decreasing the amount of GC that is required by reusing memory and allocations as much as possible.

is there a way to make all the tests pass?

is there a way to make all the tests pass?

Let me see. I think theres something weird with the github action. Since It has no output.


Merge all dlls into one

Is your feature request related to a problem? Please describe.
I installed MahApps.Metro.IconPacks, and I want them all. I don't want to install one by one.
But this leads to a problem, too many dlls in the exe folder.
So is there a dll that contains all icons? thx.

Same issue here, this is very bad approach to keep so many dlls

Can you guys give me a point why this is a bad approach? Thx

Can you guys give me a point why this is a bad approach? Thx

I don't think this is bad. In our developer's view, this design is very good. You give many options to choose.
But for some end developers and users, they may care too many files in their exe folder.

@hupo376787 Why would anyone care about the amount of files in the exe folder?
If they really care about the amount of files beside the exe they might consider publishing as a single file exe, when on .NET, or deploy with a private bin path and move all dependencies, or a subset, to a different folder, when on .NET framework.


Kotest plugin shouldn't require console dependency in build to run tests

Before the kotest plugin, I could run my tests from the IDE without the console dependency.  After the kotest plugin, I can only run them if I manually configure a run configuration to use gradle or junit.
Requiring a build dependency for an IntelliJ plugin couples your build to your IDE - that's just bad.
At a minimum, the tests should run with gradle/junit if the console jar is not present, even if there is reduced functionality.
Ideally, the console jar would either be packaged with the plugin, or offer to download and cache the console jar for the user, similar to how IntelliJ works with gradle versions, or other libraries that are version specific.
For perspective, adding new dependencies is not trivial for my company, as each dependencies graph needs to be imported into our non maven build system. It's not fun, don't recommend.  I've done it for Kotest, but I see no reason I should need to do it for console.

Downloading the dependencies in the plugin would be nicer than adding it to the build.

The latest plugin no longer requires console dependency. In fact console has gone away entirely.


WIP Mandatory settings checkbox

q_code works as intended, but there is an issue with the mandatory checkbox not updating the state from "false" to "true"

@emilioward Can you add some description to this PR giving a bit of context of the task and instructions on how to test/review? See this PR for an example of the format I'm talking about 👍

@emilioward LGTM — can you rebase and  squash the commits ready for merge please?

Good work on the PR description, really clear what the task was all about now @emilioward 👍


[vitest-angular] watch mode does not pick up file changes for files created after the watch mode starts

Please provide the environment you discovered this bug in.
"@analogjs/platform": "~1.10.3",
"@analogjs/vite-plugin-angular": "~1.10.3",
"@analogjs/vitest-angular": "~1.10.3",

Which area/package is the issue in?
vitest-angular
Description
When you create a new spec file in watch mode, vitest detects it but immediately emits an error:
Error: No test suite found in file.
Even if you add the vitest imports and create test cases, this error will not change until the watch session is restarted.
Please provide the exception or error you saw
`Error: No test suite found in file`.

Other information
No response
I would be willing to submit a PR to fix this issue

[ ] Yes
[ ] No

I tested this and got this same behavior also. After I hit the enter button, it picked up the newly created test

interesting, I'll try this


Window inactive/active border color token is applied to all windows

When you set window.inactiveBorder it applies the border to all windows:

This feels like a bug because the active window should never have the border because it's not inactive. If we we're worried about the border popping in/out when only setting one we could look into using a transparent border like:

I think anyone who tries to use this color token would easily be confused.

Now it looks like setting window.inactiveBorder also set's window.activeBorder to #fff. This seems odd to me, I don't know other places where customizing one token adds a different token? Could either the the inactive border be inset (and no activeBorder applied), or the auto-applied activeBorder be transparent? It looks particularly out of place in our default light theme, for example:

Similar in Windows:

still not able to solve the problem

still not able to solve the problem


CairoMakie saves svg as png

It seems that plots created with CairoMakie aren't correctly saved as svg, making them not editable. See also this thread.
Creating a plot via:
using CairoMakie
p = scatter(rand(5), rand(5))
save("test.svg", p)

The source of test.svg looks like this:
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="600pt" height="450pt" viewBox="0 0 600 450" version="1.1">
<defs>
<image id="image107-bHA1gM1y" width="2500" height="1876" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAACcQAAAdU..."/>
</defs>
<g id="surface1-bHA1gM1y">
<use xlink:href="#image107-bHA1gM1y" transform="matrix(0.24,0,0,0.24,0,0)"/>
</g>
</svg>

In line three, it looks like the figure is internally saved as png.
This is on CairoMakie 0.7.4 and Julia 1.7.2.

I can reproduce this...That's pretty weird and definitely not intended.
I don't think anyone switched to this on purpose, and switching to something like this by accident would also be pretty weird. Cairo and Cair_jll haven't been updated in years, so that's also an unlikely the reason.
@jkrumbiegel @ffreyer, we didn't by any chance switch a flag to do this on purpose, did we?

This happens when the svg engine is supposed to draw something it can't with vector primitives, then it just falls back silently to rasterization. I've noticed this in the past with blending modes, probably we introduced some operation in the stack that triggers this. A git bisect might be the most promising way of finding out as I don't have any idea off the top of my head which change it could have been.

https://github.com/JuliaPlots/Makie.jl/pull/1734

Thanks a lot for the quick fix, @jkrumbiegel!


[end-of-life plugin] Add missing peer dependencies for vis-data and xss

The vis-timeline dependency sets some peer dependencies that needs to be set in order to have the dependency graph set properly.
Currently your plugin is not providing them and this makes use of the plugin really hard and confusing.
I kindly ask you to provide the required dependencies as part of your plugin to make sure versions are aligned.
Currently failing for vis-data, vis-util and xss libraries but not sure because the vis-timeline sets a bunch of peer dependencies.
To get the typescript issues, please run:

tsc --skipLibCheck false --incremental false

Having a look into this in the next few days.
Would be open for PR's too 🙏

Fix released


agenda swipe left and right

Hi!
do we have any feature to swipe agenda left and right?

This repo became too old as you can see the last commit pushed about 2 years ago. I saw recently the main repository added a enableSwipeMonths prop, Please try it and if it's working, just tell me. I will update this repo ASAP (Maybe).

this is not exactly what I want, but it would be nice if we have this feature too!

there are more other features added in the main repo, is it possible to completely update this repo with main and merge them all?

@FatemeMirzaeii Yes, but at the moment I'm so busy. It takes too long to I do update this repo.

thank you, I will do it myself and if you have any advice I will appreciate!


DP-2504: JIRA fixes

Added

pre-loader screen
admins can now use autogenerated ssh keys

Fixed

renamed fields in the admin settings form
basic input sanitization for admin settings form
"Send comment to JIRA" is no longer shown on reply box even when the ticket is not linked to any issues.

TRAVIS-CI: download build from https://s3.amazonaws.com/test-deskpro-apps-build/DeskproApps/jira/152/NODE-8/build/app.zip

TRAVIS-CI: download build from https://s3.amazonaws.com/test-deskpro-apps-build/DeskproApps/jira/155/NODE-8/build/app.zip

TRAVIS-CI: download build from https://s3.amazonaws.com/test-deskpro-apps-build/DeskproApps/jira/157/NODE-8/build/app.zip

TRAVIS-CI: download build from https://s3.amazonaws.com/test-deskpro-apps-build/DeskproApps/jira/159/NODE-8/build/app.zip

TRAVIS-CI: download build from https://s3.amazonaws.com/test-deskpro-apps-build/DeskproApps/jira/161/NODE-8/build/app.zip

TRAVIS-CI: download build from https://s3.amazonaws.com/test-deskpro-apps-build/DeskproApps/jira/163/NODE-8/build/app.zip


Can no longer connect via SSH

Issue Type: Bug
Using the official SSH extensions, since the last update of insiders, anything I try to connect to shows:

Bad owner or permissions on C:\Users\Derk-Jan/.ssh/config
The process tried to write to a nonexistent pipe.

The configuration file can be opened when the connection fails (Open SSH Configuration File) and there the path shows correctly as C:\Users\Derk-Jan\.ssh\config. It is also openable, without permission issues.
VS Code version: Code - Insiders 1.61.0-insider (8d30d4d922dda917d22f05a81f2ab4fad7349779, 2021-09-24T09:00:59.405Z)
OS version: Windows_NT x64 10.0.19042
Restricted Mode: No
Fetching remote diagnostics for 'SSH' failed.
Fetching remote diagnostics for 'SSH' failed.

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-6800K CPU @ 3.40GHz (12 x 3398)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.91GB (17.84GB free)

Process Argv
--crash-reporter-id b89f360b-5a82-470c-9730-8c9124c84a81

Screen Reader
no

VM
0%

Fetching remote diagnostics for 'SSH' failed.
Fetching remote diagnostics for 'SSH' failed.
Extensions: none
A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
pythonvspyt602:30291494
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30291487
pythontb:30258533
pythonvspyt551cf:30291413
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
pythonvsuse255:30319630
vscod805cf:30301675
pythonvspyt200:30323110
vsccppwt:30364496
pythonvssor306:30340298
bridge0708:30335490
pygetstartedt2:30353727
dockerwalkthru:30364418
bridge0723:30353136
pythonrunftest32:30365365
pythonf5test824:30361779
javagetstartedt:30350119
pythonvspyt187:30365360
pydsgst2:30361790
vssur157:30367808

I have some more information.
As a default, when this happens, I try to reproduce in non-insiders. I was able to reproduce the exact same issue in non-insiders.

I've reinstalled VSCode (non-insiders)
I've reinstalled the Remote SSH extension
I've reinstalled the Windows OpenSSH Client

I was able to reproduce the issue (connect to a host you've connected to before) and get the same issue.
I was also able to confirm that ssh-add -l shows it's running the agent with the correct identity.
I was also able to confirm that a blank call to ssh -T ... -D ... does actually work.
Workaround
Go into C:\Users\Derk-Jan\.ssh\ and rename config to config.bak. Now everything works as expected. As soon as I create a config again (through VS Code), everything breaks, even connecting to a host NOT in the config.

closing in favor of the remote-release issue


[Feature Request] Cache the CUDNN convolution optimization result

On every script run, I get the CUDNN convolution optimization algorithm running. This can take a few seconds, I wonder if we could cache the result locally based on a hash of MXNet + CUDA + CUDNN version for each device ID (or whatever could cause a change in algorithm selection) ?
[20:48:19] src/operator/nn/./cudnn/./cudnn_algoreg-inl.h:107: Running performance tests to find the best convolution algorithm, this can take a while... (setting env variable MXNET_CUDNN_AUTOTUNE_DEFAULT to 0 to disable

@eric-haibin-lin : Please label : CUDA, Feature

Just want to +1.  I've talked to quite a few MXNet users who could really use this functionality.

+1
Any news?

My team has an implementation of this in a fork.  We'll try and contribute it back, but no promises on a timeline.

Any updates @KellenSunderland? That feature sounds very useful.

@KellenSunderland would love to know more, this is very relevant to us.

This sounds great!

+1
2 years has past..

May be fixed as part of cudnn 8 integration? https://docs.nvidia.com/deeplearning/sdk/cudnn-api/index.html
cc @DickJC123

This would be super useful, especially in distributed computing: the time required for optimization, scales badly with number of GPUs/computation nodes.
Thank you for your efforts.


Requests modal

You can merge yourself when you think it is stable enough. Please merge to develop though.

This is just the modal though, without much functionality behind it. I'll open a PR to develop soon.


Domain Name in Kuma docker

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
I have Kuma with docker installation so my format now is http://serverip/kumasetup/xxx my question is how can i have domain with https:// in kuma for example kuma.mydomain.xxx
🐻 Uptime-Kuma Version
1.19.3
💻 Operating System and Arch
Ubuntu 20.04.5 LTS
🌐 Browser
Google Chrome
🐋 Docker Version
Docker version 20.10.22, build 3a2c30b
🟩 NodeJS Version
No response

You can. You need a reverse proxy or you can also use Cloudflare tunnels.
However, It is not a bug linked to Uptime Kuma.

how can i do that with reverse proxy can you help me?

Many methods, but I recommend Cloudflare Tunnel.
https://github.com/louislam/uptime-kuma/wiki/Reverse-Proxy-with-Cloudflare-Tunnel

i tried with my apache but dont work  can you see where is the errror
apache file

  ServerName status.xxx.xxx
  SSLEngine On
  SSLCertificateFile /etc/letsencrypt/live/status.xxx.xxx/fullchain.pem
  SSLCertificateKeyFile /etc/letsencrypt/live/status.xxx.xxx/privkey.pem
  # Protocol 'h2' is only supported on Apache 2.4.17 or newer.
  Protocols h2 http/1.1
ProxyPass / http://localhost:3001/
RewriteEngine on
RewriteCond %{HTTP:Upgrade} =websocket
RewriteRule /(.) ws://localhost:3001/$1 [P,L]
RewriteCond %{HTTP:Upgrade} !=websocket
RewriteRule /(.) http://localhost:3001/$1 [P,L]

and composer file
Simple docker-compose.yml
You can change your port or volume location
version: '3.3'
services:
https-portal:
image: steveltn/https-portal:1
ports:
- '8087:8087'
- '4443:4443'
links:
- uptime-kuma
restart: always
environment:
DOMAINS: 'status.xxx.xxx -> http://status.xxx.xxx:3001'
STAGE: 'production' # Don't use production until staging works
# FORCE_RENEW: 'true'
WEBSOCKET: 'true'
volumes:
- https-portal-data:/var/lib/https-portal
uptime-kuma:
image: louislam/uptime-kuma:1
container_name: uptime-kuma
volumes:
- ./uptime-kuma:/app/data
ports:
- 3001:3001
volumes:
https-portal-data:

I followed this
https://www.wpdoze.com/install-uptime-kuma/
And it worked smoothly. See if it helps.


Keras load weights fails to load model from directory containing [[

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): CentOS Linux release 7.6.1810 (Core)
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): binary, using conda
TensorFlow version (use command below): unknown 1.14.0, with intel MKL
Python version: 3.7.4
CUDA/cuDNN version: no gpu
GPU model and memory: no gpu

Describe the current behavior
When model checkpoint is stored in a directory containing [[ in its name, the model fails to load, looks like the model files are missing, throwing NotFoundError
model.load_weights(osp.join(model_dir, 'model')) throws exception when for example, the model_dir='/home/projects/my_ml/data/sims/bs=2048_dataset=[[2019_9_13],[2019_9_12,2019_9_11,2019_9_10,2019_9_9]]'
Describe the expected behavior
model.load_weights(osp.join(model_dir, 'model')) should load the data without problems
Code to reproduce the issue
Here is google colab code with mnist example.
Other info / logs
The error is NotFoundError: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for bs=2048_dataset=[[2019_9_13],[2019_9_12,2019_9_11,2019_9_10,2019_9_9]]/model

@racinmat ,
Thanks for reporting the issue,  can you please provide access to link google colab code provided?

Fixed, I put here new link, it should be accessible now.

Issue replicating for the given code in both TF-1.14 and 1.15. Thanks!

Is there some additional response needed? Or why the tag?

@racinmat Model directory name looks very interesting. What kind of use case you have that requires this interesting model directory? Thanks!

I just cast list of parameters of training the model to string, and some parameters are 2D arrays, and I am using this string as a directory with all files related to that run. I made my quick fix by replacing [ with ( and ] with ), but I consider it a workaround, not a proper solution.

Hi @racinmat, this does seem like a bug in our checkpoint loading code. We're not able to fix this right away, so I'll mark this as open for contributions if anyone wants to help resolve this.

I have the same issue
when there is any char between [], it will fail to load
e.g. [a] doesn't work, but [] works

I can replicate this issue in TensorFlow 2.3.0. Hope I can take a try at fixing the issue.

Hi There,
We are checking to see if you still need help on this, as you are using an older version of tensorflow which is officially considered end of life . We recommend that you upgrade to the latest 2.x version and let us know if the issue still persists in newer versions. Please open a new issue for any help you need against 2.x, and we will get you the right help.
This issue will be closed automatically 7 days from now. If you still need help with this issue, please provide us with more information.

@ymodak  Hi, since this issue is still there in Tensorflow 2.3, can you prevent this from automatic closing until this is fixed? Thanks.

@racinmat ,
Can you please respond to the above comment?

So I can save the model without escaping, but I need to escape it for loading?
In the documentation I can not find any mention of regular expressions, so it's unclear why it does help.
So this should be mentioned in the docs if this is the proper way to escape model names, right?
I understand this is workaround, not fix of the issue, right?

Can you reproduce this with TF 2.5.0?

Was able to replicate the issue with TF v2.5 ,please find the gist here.

So I think the issue here is that loading the model needs to identify all files in a subdirectory and to do that it uses GetMatchingPaths. But [ is a special character for GetMatchingPaths.

Yes I think is the same as https://github.com/tensorflow/tensorflow/issues/35489

Confirmed. Closing this as duplicate of #35489
It will take some time until this gets fixed, but hopefully we can get this fixed in the near future.


Upgrade to v :0.0.306 - AttributeError: Could not find: llms

System Info
v: 0.0306
python version: Python 3.11.4
Who can help?
No response
Information

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

Related Components

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

Reproduction
Recently upgraded to version 0.0.306 of langchainversion. (from 0.0.259)
I see to run into the below error
2023-10-02T19:42:20.279102248Z   File "/home/appuser/.local/lib/python3.11/site-packages/langchain/__init__.py", line 322, in __getattr__
2023-10-02T19:42:20.279258947Z     raise AttributeError(f"Could not find: {name}")
2023-10-02T19:42:20.279296147Z AttributeError: Could not find: llms

I have no idea as to what is causing this and from where the call is being made.  I know that the error is coming from the below file (line 328)
https://github.com/langchain-ai/langchain/blob/master/libs/langchain/langchain/__init__.py
I am not able find any attribute called "llms" that is being set in any of our code base - hence more confused about the Attribute error.
Expected behavior

Perhaps a stack trace that shows the flow of calls
Documentation that shows the possibilities of the error

System Info
v: 0.0306 python version: Python 3.11.4
Who can help?
No response
Information

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

Related Components

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

Reproduction
Recently upgraded to version 0.0.306 of langchainversion. (from 0.0.259)
I see to run into the below error
2023-10-02T19:42:20.279102248Z   File "/home/appuser/.local/lib/python3.11/site-packages/langchain/__init__.py", line 322, in __getattr__
2023-10-02T19:42:20.279258947Z     raise AttributeError(f"Could not find: {name}")
2023-10-02T19:42:20.279296147Z AttributeError: Could not find: llms

I have no idea as to what is causing this and from where the call is being made. I know that the error is coming from the below file (line 328) https://github.com/langchain-ai/langchain/blob/master/libs/langchain/langchain/init.py
I am not able find any attribute called "llms" that is being set in any of our code base - hence more confused about the Attribute error.
Expected behavior

Perhaps a stack trace that shows the flow of calls
Documentation that shows the possibilities of the error

I found that importing the following helped resolve my issue:
from langchain.retrievers.document_compressors import LLMChainExtractor
It's a bit strange since I don't explicitly use LLMChainExtractor in my code. However, after including this import, the error raise AttributeError(f"Could not find: {name}") AttributeError: Could not find: llms stopped occurring. Perhaps this import indirectly resolves a dependency or initializes something needed for your setup. Hopefully, this might help you as well."


[Website] Content Audit Part 1: Component pages

Audit all content on the C4IBM v1 website
The goal is to identify major fixes for v1 content, what will be migrated/is relevant for v2. We will launch the v2 website with the minimum viable content.
Steps

Review a page

Any major issues with v1 content?

Is the content so outdated it doesn't align with production
Effort level to fix

Is the page/content relevant for v2?

Y/N
Does the content need to be relocated to another page?
If the page should be removed in v2, add to the Remove issue list

Is the content evergreen?
Component pages

Is the page using the component template?
Do images NEED to be updated?

Major changes only for now – ie large changes like cards & lead space

Create issue

Write any tasks to update a page #1568

Default update: 5–8 points
Minimal update (no images / some content writing): 2–3 points
Move content: 3–5 points
Delete page: track in #1585

Review list of tasks with design team

Page assignment
Rich (40 +(dev pgs))

[ ] What's happening
[ ] Designing

[ ] Get started
[x] Sketch
[x] Figma

[ ] Developing (last priority – hold for devs)
[ ] Guidelines

[ ] Content
[ ] CTA
[ ] RTL languages
[ ] Spacing

[ ] Components

[x] Back to top
[x] Callout quote
[x] Callout media
[x] Cards
[x] Card group
[x] Card section
[x] Card section carousel
[x] Carousel
[x] Content group
[x] Content group banner
[x] Content group cards
[x] Content group pictograms
[x] Content group simple
[x] Content item
[x] Content item horizontal
[x] CTA (TBD)
[x] Dotcom shell
[x] Expressive modal
[x] Feature section
[x] Feature card
[x] Footer
[x] Horizontal rule
[x] Images
[x] Lang selector
[x] Lead space
[x] Lead space block
[x] Lead space search
[x] Pictogram item
[x] Universal banner (regular color scheme?)

[ ] Patterns

[ ] Cards
[ ] Lead space

[ ] Resources

Olivia (38)

[ ] Home
[ ] About C4IBM

[ ] About us
[ ] Adopting the system

[ ] Contributing

[ ] Overview
[ ] Documentation
[ ] Components
[ ] Patterns

[ ] Guidelines

[ ] Expressive styling
[ ] Layout
[ ] Style models

[ ] Components

[x] Overview
[x] Content block
[x] CB cards
[x] CB horiz
[x] CB media
[x] CB seg
[x] CB simple
[ ] CTA Block and section
[x] Content section
[ ] Filter panel
[x] Layout
[x] Leaving IBM
[x] Lighbox media viewer
[x] Link list
[x] Link list section
[x] Link with icon
[x] Locale modal
[x] Logo grid
[x] Masthead
[x] Quote (Did this one by accident so it's a freebie! – Rich)
[x] Table of contents
[x] Tabs extended
[x] Tags
[x] Video

[ ] Help

[ ] Overview
[ ] FAQ

Completed Component & Designing pages


UI - Workflow credential - Do not show "Run Workflow" as being in progress when Authenticate is in progress

Steps to reproduce the problem:

Create a workflow with credential.
Click on "Authenticate"

Notice that when authentication is in progress , we show the  "Run Workflow" as being in progress.

Expected Behavior:
Since the Workflow itself is not being executed , we should not show Run Workflow" as being in progress at this time.

Can we change that text to "Authenticating"?

We are going to completely rework how workflow tool auth works and this will be addressed then


callback is not called when notification is clicked from notification tray

I am getting notification correctly but the callback method of module is not calling when notification is clicked.
Tested with module version 2.0.6, 2.0.7 and ti sdk 6.0.0.GA, 6.0.2.GA, 6.0.4.GA

Please do not open new issues for the same problem.
#68 #57 #68

but my issue is little bit different. Callback is not called even the app is running in background.

How did you set up the module? Do you call the registerforpushnotifications on every app launch?

Yes and even app is not crashed when notification is clicked.

Do you know what should be the issue then?
Also app is hanged when push is received in foreground mode and push is not received when app is fully closed, not running in the background.

Check your payload, there's definitely something wrong there

From php side?

yeah

Ok, thanks

Here is my payload
$msg = array
(
"alert"     => $_POST['limitedtextarea'] . time(),
"title"     => 'Notification',
'sound'     => 'default',
"vibrate"   => [100,50,50,50,100],
"badge"     => 1,
"tag"       => "Test"
);

It seems correct actually. I'll look into it as soon as I have some time

Thanks, did you have any chance yet?

Should i need to follow this link?
https://github.com/caffeinalab/ti.goosh/blob/master/test-fcm

Yeah it's helpful if you can try with that example. You just need to update your google API key and device token.

Its working...Thank you for your help.
Now the problem is i got below error first time when i clicked notification and thats why callback is not called but when i killed the app from background and run it again then it calls callback.
What should be the issue then?
No valid root or current activity found for application instance

No Worries.... I sorted out :)

@Lenndev
I just followed the above link for back end side and it started to call callback function when app is in background but it still does not call callback when app is closed.


Patch com.snowplowanalytics.snowplow/anon_ip/jsonschema/1-0-0

anonOctets must be an integer, not number

Understood but why hasn't this broken understand to-date?