Slick 1.9.0 script tag is not loading

<EMAIL_ADDRESS>returns an error.
====================================================================
Steps to reproduce the problem
<!-- Add the slick-theme.css if you want default styling -->
<link rel="stylesheet" type="text/css"<EMAIL_ADDRESS><!-- Add the slick-theme.css if you want default styling -->
<link rel="stylesheet" type="text/css"<EMAIL_ADDRESS>
Then, before your closing <body> tag add:
<script type="text/javascript"<EMAIL_ADDRESS>
====================================================================
What is the expected behaviour?
the library should be loaded, instead there is this error.
$(...).slick() is not a function.
====================================================================
More Details

Which browsers/versions does it happen on?
Chrome - Version 67.0.3396.62 (Official Build) (64-bit)

Which jQuery/Slick version are you using?
1.9, it works with 1.8

Did this work before?
I don't know, probably stopped working at some time. This is the first time i tried.

Downgrading to the version 1.8 made it work.

@GustavoRSSilva  v1.9.0 has not release yet.
You can check official release list on this link

@failtus I was just following the read.me

As you can see is it point to the 1.9.0 version. It is misleading.

@GustavoRSSilva Yes, it is.
You can use this one.  https://cdnjs.com/libraries/slick-carousel

Awesome beginner tip: include this lib by URL that returns 404.
Nice guide.
The developer hints at the start that bugs in the documentation are fully guaranteed
Many thanks to developer.

still get this message in js console:

Do I understand right that I should use just https://cdnjs.com/libraries/slick-carousel
but not both links as written in documentation?

We’re pushing 1.9.0 to NPM shortly. My apologies for that.

I checked with @kenwheeler. Apparently 1.9 had a lot of bugs so he pulled it off NPM. I will revert the documentation


[Feature] Showing Renko charts?

Is that possible to draw Renko charts?
At the first sight looks it's possible to draw just as usual candles but Renko chart almost has no time association. It's just one block placing after another. Looks like a custom time scale from that is used by LightweightChart for now.
UPD: Looks it's just ordered candles placing one by one without any time just sorted by its index.

We don't plan to add custom chart style to display Renko charts. If you'll see at www.tradingview.com/chart or even charting-library.tradingview.com - we also have "time scale" for Renko charts, but I agree that it useless here. What's your suggestion for that? Hide timescale? Something else?

@ProgrammingLife can you share a snippet of how you were able to add candlestick data without a time param? I'm unable to find anything in the docs that shows how to go about this?

Hello folks!
I've stumbled into the same. I know that TradeView itself makes renkos using time ranges, which is totally useless. I was expecting this chart component to not do anything in aggregating data but instead, print the datapoint the exact same way we pass data to it.
So, is there a way to pass the candlestick data which we aggregated as renkos based on the price and make the chart to not aggregate it on timestamp?
Thanks!

@galvesribeiro read the comment I left on my question here, that's how I got it to work:
https://stackoverflow.com/questions/72339735/renko-tick-charts-with-tradingviews-lightweight-chart


How to get the name of the workbook ?

I have read an excel and it is now available as a json object. But in the json there is nowhere the name of the excel file which was read to make the excel. Is the filename available in the parsed excel file json??
 function test(event){
        var XLSX = require('xlsx');

        var reader = new FileReader();

        reader.onload = function ( evt ) {
            var data = evt.target.result;
            var wb = XLSX.read(data, {type: 'binary'});

             /* IS THE FILENAME AVAILABLE IN THE "wb" OBJECT?? */

            debugger

        }
        reader.readAsBinaryString(event.target.elements.excelFile.files[0]);
    }

Thanks

It is not available in the object since the original excel file doesn't store the filename.  If you are using a FileReader you can get the name from the File object:
 function test(event){
        var XLSX = require('xlsx');

        var reader = new FileReader();

        var file = event.target.elements.excelFile.files[0]; // this is a File object
        var filename = file.name; // see https://developer.mozilla.org/en-US/docs/Web/API/File/name

        reader.onload = function ( evt ) {
            var data = evt.target.result;
            var wb = XLSX.read(data, {type: 'binary'});

            // `filename` is available here

            debugger

        }
        reader.readAsBinaryString(file);
    }

:D how come i missed that...thanks


deprecate k8s admission log UI

Codecov Report

Merging #1548 (d4d73a5) into master (ef2c91d) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@           Coverage Diff           @@
##           master    #1548   +/-   ##
=======================================
  Coverage   77.35%   77.35%
=======================================
  Files         281      281
  Lines        8045     8045
=======================================
  Hits         6223     6223
  Misses       1451     1451
  Partials      371      371

closing this PR due to snyk check not finishing up


fix: do not export waitForRemotePeer from index

It is already present in the exports map.

bors merge


How to use Http task using authorization header

Hello, i need to call a rest api that need authorization header, how i can do that?
Best regards, Yoan

Hello Yoan,
You'll have to create your own custom task to do that. To help you do that, you can start by reading the code of Http and HttpGet tasks.
In these tasks I'm using WebClient, but if you need authorization you'll have to use WebRequest.
Kind regards,
Akram.

Thank's for your rapid response. I will try creating my custom task.
Yoan


Optional fields: Skip if None, deserialize if present into Some

I'm using serde to serialize to and from bittorrent metainfo. Metainfo files are encoded using bencode, which doesn't have a native Option type, or an equivalent to null. So, optional fields are not serialized, and if they are serialized, they use the type of the field, without an Option wrapper.
To get this working with serde derive, I'm doing something like this:
#[derive(Deserialize, Serialize, Debug, PartialEq)]
struct Foo {
  #[serde(skip_serializing_if = "Option::is_none", default, with = "inner")]
  pub(crate) bar: Option<u8>,
}

inner is a helper that deserializes to and from the inner T of Option<T> directly, so it always produces Some, and panics if you try to use it serialize None.
I wrote an version of what doing on the playground, but using serde_json since the bencode library I'm using isn't on the playground: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=6090ad28f1746062f05e9d0cd8c55eea
And, finally, to my actual question: This seems like a common pattern, so I'm curious if I might have missed an easier way to do this, e.g. a single attribute that does all of the above.

Maybe I am missing something, but your example works with bencode, even if you remove the default and with options on the attribute, like:
fn case<T>(value: T, expected: impl AsRef<str>)
where
    T: Serialize + DeserializeOwned + PartialEq + Debug,
{
    let serialized = serde_bencode::ser::to_string(&value).unwrap();
    dbg!(&serialized);
    assert_eq!(serialized, expected.as_ref());

    let deserialized = serde_bencode::de::from_str(&serialized).unwrap();
    dbg!(&deserialized);
    assert_eq!(value, deserialized);
}

fn main() {
    #[derive(Deserialize, Serialize, Debug, PartialEq)]
    struct Foo {
        #[serde(skip_serializing_if = "Option::is_none")]
        pub(crate) bar: Option<u8>,
    }

    let none = Foo { bar: None };
    case(none, "de");

    let some = Foo { bar: Some(1) };
    case(some, r#"d3:bari1ee"#);
}

So, if the only thing you need is to apply the #[serde(skip_serializing_if = "Option::is_none")] attribute to all fields of type Option, you can use the serde_with library to do that. You can put the attribute serde_with::skip_serializing_none on your struct like:
#[serde_with::skip_serializing_none]
#[derive(Deserialize, Serialize, Debug, PartialEq)]
struct Foo {
  pub(crate) bar: Option<u8>,
}

Your whole pattern with the inner de/serializer seems identical to the serde_with::rust::unwrap_or_skip functions. However, the library does not have a nice way to apply this attribute to all fields of type Option.

I'm actually using a different bencode library, bendy. serde-bencode does not serialize fields with value None, so it's more convenient to get the behavior I want here, but it has other quirks that make it unsuitable for my use case.
Ahh, I didn't know about serde_with::rust::unwrap_or_skip, it looks like that's what I'm looking for.


WCAG: Page title - Improve how we handle titles in our apps

Description
Today we create a standard <title> based on app name and app owner. This value do not change when the user navigates trough our forms. We should improve how this is handled in our apps.
Example on how it is today
frontend-test • Testdepartementet
What do we append to this to tell the user some valuable information about that page? I guess the most relevant value we have is name the app developer sets on the page. It would also make sense to have the same name in page navigation component as the title.
For instance in our test app the second page of the first form would be
Summary • frontend-test • Testdepartementet
Additional Information
No response
Tasks

[ ] Do we have values we can use for signing, confirmation, receipt and other pages that are not made directly by the app developer?
[ ] Look into posibility for the app developer to use custom title for each page

Acceptance Criterias

[ ] <title> should be unique for each page

@Febakke: Fint om du tagger denne med "org/ssb"

Related to https://github.com/Altinn/app-frontend-react/issues/97
https://github.com/Altinn/app-frontend-react/issues/1925

Pages don't always have translations/texts, it's not something we've enforced before. So doing this is a breaking change of sorts, and possibly something we should look into when implementing the new page navigation.


Added Spine library (Swift) to examples

I've been working on this Swift library for some time now, and while it is still in flux, I thought it would be nice to have it in the list of examples.

Thanks!


Stage 4 script error

https://github.com/cpanel/elevate/blob/029667a70e1e974bcba0699c0cbe1727a2d0cb8a/elevate-cpanel#L4327
* 2023-07-01 00:36:20 (747) [ERROR] Last Error:
* 2023-07-01 00:36:20 (747) [ERROR]
* 2023-07-01 00:36:20 (747) [ERROR] command failed. Fix it and run command. at /usr/local/cpanel/scripts/elevate-cpanel line 4327.
* 2023-07-01 00:36:20 (614) [FATAL] command failed. Fix it and run command. at /usr/local/cpanel/scripts/elevate-cpanel line 4327.

closed


IKCE-003 Task-001 Third-party log-in Research

investigation for enabling third party login on frontend and backend
will need two more stories for implementation on front and backend

Research is pointing towards using OAuth or NextAuth.js, NextAuth.js seems the best integrated but the development work itself I think will be pushed and instead we will mock the login page for now on future work and added on top when needed.


[enhancement] set install_name on Darwin platforms

Below is  a "trivial" patch :)
Makefile: set install_name on Darwin

https://bugs.gentoo.org/show_bug.cgi?id=546098

--- a/Makefile
+++ b/Makefile
@@ -62,6 +62,8 @@
 ifneq (darwin,$(PLATFORM))
 # TODO(bnoordhuis) The native SunOS linker expects -h rather than -soname...
 LDFLAGS_LIB += -Wl,-soname=$(SONAME)
+else
+LDFLAGS_LIB += -Wl,-install_name,$(LIBDIR)/$(SONAME)
 endif

 test: test_g test_fast

Note that while I use $(SONAME) for consistency, it feels odd because it includes the full version number.  SONAME/install_name typically is something like libhttp_parser.2.dylib (or libhttp_parser.so.2), referencing the major version component only.  But from the looks of it, this seems intentional, suggesting e.g. 2.6 and 2.7 release are ABI incompatible, as well as 2.6.2 and 2.6.3 would.  (E.g. currently any http-parser update will break all consumers.)

I think a pull request would be welcome.  I'd flip the clauses and use ifeq (darwin,...) for clarity.

Note that while I use $(SONAME) for consistency, it feels odd because it includes the full version number. [..]  suggesting e.g. 2.6 and 2.7 release are ABI incompatible, as well as 2.6.2 and 2.6.3 would.

When I added the soname for #151, I included the minor because minor releases are not backwards compatible with older minor releases (they add new APIs.)  The patch number is not supposed to be in there, though.
cc @indutny since you landed 2896229 which added that.

It was introduced in https://github.com/nodejs/http-parser/commit/36f107fa2e62ca1f0fe7087e49f58624c45a24f1 IMO (perhaps using $(MAJ) and $(MIN) helps to avoid this issue from re-appearing)

see PR #358 I left the versioning bits aside, but can do a suggestion for that too if you like.

You mean the MAJOR/MINOR thing?  Sounds good.

as you wish ;)


Missing log file results in narc missing logs

From @glinton on December 29, 2016 20:10
Narc starts up configured to watch /var/log/gonano/node/currentwhich doesn't exist until narc has stopped watching it for several seconds.
In order to solve this, touch/create the files configured in narc before starting narc.
This results in a bad user experience, causing them to question whether or not their app is working.

Log in to ensure app is running:
$ cat /var/log/gonano/node/current
2016-12-29T19:27:27.52168 Connecting....... Success!
2016-12-29T19:27:28.55998 Authenticating... Success!
2016-12-29T19:27:28.90682 Connected!

Verify Narc started up first
$ tail /var/log/narc.log
# narc starting up
[120] 29 Dec 19:27:24.889 # opening file /var/log/gonano/node/current
[120] 29 Dec 19:27:24.889 # server resolving: <IP_ADDRESS>
[120] 29 Dec 19:27:24.889 # Narc started, version 0.0.1
[120] 29 Dec 19:27:24.889 # Waiting for events on 1 files

# started up, failed to open app log file, waiting 5 seconds to retry
[120] 29 Dec 19:27:24.891 # Error opening /var/log/gonano/node/current (1/12): ENOENT

[120] 29 Dec 19:27:24.891 # server resolved: '<IP_ADDRESS>' to <IP_ADDRESS>:514

# finally opened the file after the logs have been logged
[120] 29 Dec 19:27:29.891 # opening file /var/log/gonano/node/current
[120] 29 Dec 19:27:29.891 # File opened: /var/log/gonano/node/current

Copied from original issue: nanobox-io/nanobox#313

From @notxarb on January 12, 2017 17:29
This should apply to hook repos, not engine ones. The code hooks should be creating the log files already. I think the data services probably need this.

From @glinton on December 29, 2016 20:11
I think applies to a hook/engine repo, but not sure which one[s]

Though this may also apply to data services, this was reported by @sdomino regarding his nodejs code component. The logs show that narc started before the 'app' service was started (and in turn created the log file) Creating these files in the configure hook rather than just starting the service here in the start hook, would resolve this issue.
Note these aren't log_watches but start_cmds logs that need created


change the default account in the popups for airdrop and transfer to whatever's selected in the list

yeah, cos it was using whatever was first, due to some dueling states :)

nice ... lgtm after rebase


Bumps jetty version to 9.4.52.v20230823 to fix GMS-2023-1857

Fixes GMS-2023-1857.
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[x] Commits are signed per the DCO using --signoff
[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

test failures seem to be flaky.

@DarshitChanpura could you please rebase? I think those were fixed on main

@DarshitChanpura could you please manually backport to 2.x? thank you


refs #21 convertion

images: float_ => float32 since mrc and jpg/png don't need more precision
calculations such as transformation matrix: float_=>float64 to be consistent with double in the database.
int_=>int32
complex_=>complex128

back compatible change.


lombok: init at 1.16.8

Tested on NixOS using chroot build.
This is my first package, is this OK or do I need to compile from sources (even though I think this library does a few bytecode hacks, so it would probably be difficult)?
Do I need to mention a maintainer in the metadata and if so, how do I find one?

I suggest that you add yourself as the maintainer for this package (see lib/maintainers.nix).
Building from source is preferred, only use pre-built binaries if building from source is infeasible.

I've tried building the package from source, but it looks like the derivation is impure (I get different hashes each time I build).
Is this a normal thing with java libraries and can I do something about this?

Could you paste what you tried? If building from source is more hassle than it's worth, we can merge what you have as it is now and worry about making it perfect later (it'd be nice if you could fix the superficial nitpicks, though).

What I tried was a simple Ant build:
{stdenv, fetchFromGitHub, jdk, ant}:

stdenv.mkDerivation  rec {
  name = "lombok-1.16.8";
  src = fetchFromGitHub {
    owner = "rzwitserloot";
    repo = "lombok";
    rev = "26ad9e7f5f4de77436d3d63e4a43e8cb77621c15";
    sha256 = "1jjjr5lf7fjaywf9grkb009al2prbg2dkcdj4bhjpnpx3b8gnc8k";
  };
  buildInputs = [ jdk ant ];
  buildPhase = "ant";
  installPhase = "mkdir -p $out/share/java; install -m444 dist/lombok.jar $out/share/java";
  meta = {
    description = "A library that can write a lot of boilerplate for your Java project";
    platforms = stdenv.lib.platforms.all;
    license = stdenv.lib.licenses.mit;
    homepage = https://projectlombok.org/;
    maintainers = [ stdenv.lib.maintainer.CrystalGamma ];
  };
}

I ran sha256sum on the resulting jar (is there some automated way to test for purity?), and it was different everytime. When I tried to use the antBuild function used by junit, I got build errors (makes sense, since junit is also meta.broken = true).
However, I just now found that antBuild uses a shellscript function called canonicalizeJar (from build-support/release/functions.sh which may do exactly what I need it to do. I'll try to integrate it now.
In other matters, the ant build invokes its own dependency manager „Ivy” … is it worth or even wanted to try and replace that with nix dependencies?

I tried canonicalizing on branch CrystalGamma/nixpkgs@canonicalize-lombok, but it's still impure … any other ideas?

Let's just merge it and improve it later. Thanks


Jei problem?

Not be able to view the recipe of something from the quest is kinda annoying. Also if i press U on a ceramic bucket of Ironberry Juice or Crude Oil, i expet to see a recipe of the liquid process in the Evaporating Basin, but it show nothing, so i need to search the usage of the liquid in Jei

Also if i press U on a ceramic bucket
probably you need to press U on fluid , ceramic buckets use nbt ,
on next release i already hidden all useless buckets from them with nbt
[i can't modify that because can cause thousand of issues like on jei ]


Not Showing Indicator for last Items in RecyclerView

I am using "DragScrollBar" via XML Method and its working fine. But I am having this one issue that, its not showing character indicator for the last item in RecyclerView. It only shows indicator for the item that comes in top of the screen while scrolling. Is there any way to fix it ?
Sample
https://dl2.pushbulletusercontent.com/VrcEsYMKfl0JJjCQJnMN4Ap2fHwTcIr5/Screenshot_20160625-153342.png
Google Now Launcher
https://dl2.pushbulletusercontent.com/6iCRivv5PNNpvCuK9JfZdqYkITXQOI5T/Screenshot_20160625-153425.png
In Google Now Launcher, it shows indicator for the last item also

The way the library is set up right now it always reads from the first visible item in the recyclerView. If you'd like I can add an option to read it differently (say, from the bottom or from bottom to top as you scroll).

It's good right now as it is, but It would be better if, it could read the other visible items in recyclerView after it has reached the end of recyclerView, so that it can show indicator for the last item also, like in "Google Now Launcher" as shown in this link
https://dl2.pushbulletusercontent.com/6iCRivv5PNNpvCuK9JfZdqYkITXQOI5T/Screenshot_20160625-153425.png

The problem is still there, do you resolve it quickly? Can I request a sweater if I find a solution to this problem?

Haha, if you want to make a pull request I'd be much obliged :P


fix: server name auto index should start from 1

这个 PR 实现什么功能/修复什么问题:
修正：自动命名的起始编号从1开始

是否需要 backport 到之前的 release 分支:

release/3.3
release/3.4

/cc @zexi @yousong
/area util

Codecov Report

Merging #8202 into master will decrease coverage by 0.04%.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##           master   #8202      +/-   ##
=========================================
- Coverage    6.22%   6.17%   -0.05%
=========================================
  Files         759     150     -609
  Lines      117177   20971   -96206
=========================================
- Hits         7289    1296    -5993
+ Misses     109229   19526   -89703
+ Partials      659     149     -510

Flag
Coverage Δ

#aFlag
6.17% <0.00%> (-0.05%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/cloudcommon/db/db_dispatcher.go
0.00% <0.00%> (ø)

pkg/compute/models/guestcdrom.go

pkg/hostman/guestfs/fsdriver/nicteaming.go

pkg/mcclient/options/k8s/fed_rolebinding.go

pkg/compute/models/scaling_trigger.go

pkg/monitor/tsdb/driver/influxdb/query_part.go

pkg/compute/models/scheduled_tasks.go

pkg/keystone/driver/cas/cas.go

pkg/util/fileutils2/sparse.go

pkg/util/fileutils2/fasthash.go

... and 600 more

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 b11e472...a08a779. Read the comment docs.

/lgtm
/approve


Examples: Add cognito oauth integration

Thanks so much for this software, looks really nice so far!
While  going through the examples I was wondering if there was any chance of connecting with twitter/github/amazon oauth login, so one does not have the burden of managing users himself/herself.
note: I am pretty much a AWS newbie, so I might be just missing or misunderstanding things, so feel free to close if appropriate.

Hi @spinscale ,
There are multiple ways to accomplish this:

if you just don't want to mange users, Cognito User Pool might be interesting for you. You can protect API endpoints with a Cognito User Pool Authorizer (in case of JRestless >=0.5.0 CognitoUserPoolAuthorizerPrincipal will be set as principal). See the example aws-gateway-security-cognito-authorizer. You, however, cannot integrate any other providers.
what you most likely want to do is to set up a custom authorizer function, like in the example: aws-gateway-security-custom-authorizer. In contrast to the example, however, your authorizer function would verify the twitter/github/amazon token. In case you want to make your life a little easier, use auth0 which integrates with the major providers. You can find an example for such a custom auth0 authorizer here: https://github.com/serverless/examples/blob/master/aws-node-auth0-custom-authorizers-api/handler.js but even without using auth0 it boils down to verifying the JWT token's signature which can be a little tricky: https://developers.google.com/identity/protocols/OpenIDConnect#validatinganidtoken but there are libraries for this, too, I guess. In case of JRestless >=0.5.0 CustomAuthorizerPrincipal will be set as principal.
if and only if you invoke your endpoints through the API Gateway SDK you might want to take a look at Cognito Federated Identites which integrates with all major providers (I am working on an example for this but it's a little tricky on Web and I am very short on time right now)

And last but not least the way AWS implemented those authorizers there is some issue with CORS:
You cannot setup any CORS headers which is an issue if the authorizer fails: https://forum.serverless.com/t/how-to-enable-cors-for-custom-authorizers-aws-api-gateways/1660
In case this is an issue for you, you might want to pull in the authorization into some ContainerRequestFilter (JAX-RS) within your application.
Hope this helps.

closing since inactive (please re-open if required)


Update virtualizedlist.md

Fixes a small typo

Could you backport this change tot he versioned docs?

Done


Convert IVERT client install to setuptools

Currently, the IVERT client is installed on a user's machine with the src/ivert_new_user_setup.py script. There are a few issues with this:

The current setup script makes several assumptions about dependencies, etc, that are not checked.
It's a multistep process and could be simplified. Users (who may or may-not be familiar with git) have to clone the repository, then run the "src/ivert.py setup" script.
After install, it currently requires users to run "src/ivert.py", but it is not in a user's "path" directory.

Python Setuptools can help with that, requiring a user to do just one (maybe two) to install and being using IVERT from anywhere in their environment.

As of v0.4.0 the IVERT client can be installed via pip using the setuptools framework.


chore: Loosened mockery dependency.

Allow the installation of the package on a fresh clone of laravel/laravel.

Thanks!


Swift 4.1 Support

Swift ABI changes have broken reflection in 4.1, causing crashes and a large number of test to fail.
You can verify by installing the latest snapshot:
https://gist.github.com/tanner0101/cdb77c7f58d53af2ba2da5d39415389a

@jseibert looks like macOS test is crashing on test testIntrospectionCharacterKindQuery.


Image not resized

Screenshot under Managing Fine-Grained Password Policies that shows each area of the UI with callouts is not sized properly and cannot be read

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

ID: 2c2da2ea-03a9-8710-007f-33a44b17bbab
Version Independent ID: ea3919b1-4762-1bcc-17e3-c8cbf319b751
Content: Advanced AD DS Management Using Active Directory Administrative Center (Level 200)
Content Source: WindowsServerDocs/identity/ad-ds/get-started/adac/Advanced-AD-DS-Management-Using-Active-Directory-Administrative-Center--Level-200-.md
Product: windows-server-threshold
GitHub Login: @billmath
Microsoft Alias: billmath

Resolving in private repo branch GitHubIssues072018

#please-close


Gralde and Dependency updates

Pull Request Etiquette

[x] I have checked the PRs for upcoming features/bug fixes.

Changes

[ ] Internal code
[ ] Documentation
[ ] Added examples
[x] Other: updates

Closes Issue: NaN
Description
Replace this sentence with general description of what your Pull Request does.

I don't think this should be merged.

I don't think this should be merged.

Same


Don't modify the output the file if the input contents are the same

To prevent unnecessary updates to the output file and potential cache invalidation, we can compare the modification times of all input files with that of the output file. If none of the input files have changed, we can skip updating the output file. This approach avoids needless updates that could disrupt caching mechanisms relying on access times.

The main challenge here is if a file is deleted. We could look at the directory's modified time?


Added example when using variables in recipientfilter

https://github.com/MicrosoftDocs/office-docs-powershell/issues/3807

Docs Build status updates of commit b2ac76a:
:clock10: Full build: the average full build time is 11 min(s) 53 sec(s), this is based on the last 834 build(s) for this repository.

Docs Build status updates of commit b2ac76a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/users-and-groups/Set-DynamicDistributionGroup.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


[material-ui] Deprecate *Component and *Props props

Part of #40417
Description
Deprecate *Component and *Props props in v6, planned for removal in v7.

These are deprecated in favor of the slot pattern: slots and slotProps
If the slots or slotProps props do not exist:

They must be implemented in the same PR in which the deprecation is added
They should have the same type as the deprecated prop

The PR introducing the deprecation must also add:

A section in the migration guide
A codemod

Example PR

https://github.com/mui/material-ui/pull/40418

Contributing
Feel free to take any components that still need to be done or in progress. Please mention this issue in your PR so we can link it in the description and keep it up to date.
Components to migrate

[x] Accordion: #40418
[x] Autocomplete: #41875
[x] Avatar: #40853
[x] Backdrop: #40677
[ ] ButtonBase
[ ] CardHeader
[ ] Checkbox
[ ] Dialog: #40687
[ ] Drawer
[ ] FilledInput
[ ] Input
[ ] InputBase
[ ] ListItem: Already deprecated, missing guide and codemod
[ ] ListItemText
[ ] Menu: #42218
[ ] MobileStepper
[ ] Modal: missing migration guide and codemod
[ ] NativeSelect
[ ] OutlinedInput
[ ] Popover
[ ] Radio
[ ] Rating
[ ] Select
[ ] Snackbar #42314
[x] SpeedDial: #40698
[ ] SpeedDialAction
[ ] StepContent
[x] StepLabel: #41835
[ ] SwipeableDrawer
[ ] TablePagination
[ ] TableSortLabel: #42157
[ ] Tabs
[ ] TextField: #42062
[ ] Tooltip: #42120

Search keywords: deprecation material-ui

@DiegoAndai Hi man, hope all is well!
Can you mark speed dial as under way 40698. I'll be adding to it over the coming weeks 🤟

@harry-whorlow done 🙌🏼

Utils for the codemods of these deprecations were added in https://github.com/mui/material-ui/pull/41685. This makes implementing the codemods easier.

@DiegoAndai I think I'll take up menu next, I'll create a pull request in the coming days. 🤟

My draft for menu, if you could mark menu as 'in progress' that would be awesome. 🤟

Hey everyone! With the core team, we've been discussing that composition might be a better API than slots for these props' use cases. It hasn't been decided yet if we will take this approach, but until we have more clarity, I'm marking this issue as on hold.
For v6, we should revert the deprecation messages we've added. Is someone here interested in opening a PR for that? It should only revert the deprecation messages, not the code itself.
Note that https://github.com/mui/material-ui/issues/41279 is not on hold. We will continue with that one, as having two names for the same thing (components and slots) doesn't make sense.
I'm sorry if you had open PRs and this disappoints you, but we should strive for the best API 🙌🏼 🚀. For the moment, let's close open PRs. I'll keep you updated.

For v6, we should revert the deprecation messages we've added. Is someone here interested in opening a PR for that? It should only revert the deprecation messages, not the code itself.

@DiegoAndai I could do this.

A note from https://github.com/mui/material-ui/pull/42157
There are some *Component props that are used as (case 1):
<DefaultComponent
    as={ComponentProp}
/>

But others are used as (case 2):
const { ComponentProp: DefaultComponent } = props

// ...

<ComponentProp />

Which is different.
We should only deprecate those in case 2. The ones in case 1 do not work as slots. Let's leave them as is. It's out of the scope of this project to change those ones.

Morning if it's okay with you guys I'll pick up the Modal: missing migration guide and codemod ticket to get back up to speed. Then ill try and pick up something more meaningful 🤟

@DiegoAndai greetings! I see there are move tickets being linked to this one lately. Perhaps this current issue has been given any more thoughts from the core team and there is some decision now (together with #37585) ?


Arduino IDE  ver. 18 and LidarLite V3 Library (version 1.02)

I downloaded the Garmin Arduino Library  LIDARLite_v3_Arduino_Library-1.0.2.zip.
I added it via  Add ZIP Library command.
Then I get the errors listed below:
Invalid version  found:  v1.0.2
Also
Library Manager states that installed library is verion 1.0.0
Also the library manager "More Info"  link does not allow any Version Install xxxxxx  option.
The "More Info "  link just takes you to the garmin store and offers to sell the Lidar Lite V 3 hardware.
I plan on purchasing the Lidar Lite V3 but want to make sure the library updates are correct.
Thanks for your help in advance.
K Smith

I believe the problem is that the version should be 1.0.2 and NOT v1.0.2 here: https://github.com/garmin/LIDARLite_v3_Arduino_Library/commit/fd33e612589e6f52208f9443a41942c32ab71da8#diff-ea32f5b85735296fd64b577e91a19607R2. The same goes for the tags.

But since there is actually no code change since 1.0.0 you should be fine: https://github.com/garmin/LIDARLite_v3_Arduino_Library/compare/1.0.0...v1.0.2?w=1.

Thanks. Updated version to 1.0.3 to play nice with the Arduino Library Manager.


Mention somewhere in the doc the IoTHub Mgmt package

I generated and released the IoTHub Mgmt package from the Swagger file. I made a tiny quickstart here.
Should this doc/package mentioned somewhere in this repo?
Opposite question, do you want more than a reference here for your repo?

Hi Imazuel,
Good idea, we will mention and link to your management package in the next release.
It is also a good idea to link to us on your site. That should happen also after our next release, as we are thinking about the rename our PyPi packages.
We are planning to release on 13th of January.
Thanks,
Zoltan

Links added to main readme.
@lmazuel, do you think you can replace the link you have now here (and which is now dead) with the following:
Azure IoT Hub service and device SDKs for Python

@olivierbloch done!
https://github.com/Azure/azure-sdk-for-python/commit/2294cdb290f25e26abb7fe08f6eb8ac608c352dd

Awesome. Thanks1


Fix error when no .env file is found.

Check if a .env file was found and handle if it was not.

This was resolved in exactly the way you proposed, I just happened to get to it before I saw this. Either way, much appreciated!


Wrong Memory format when creating new Instance Type

Hello,
When creating a new instance type the memory doesn't have the "Gi" extension, so we cannot use it like this without error. We must modify it, retype the right memory size and validate in order to work.

Version : 1.4.0
Thank you

Can you tell me in which screen you see that? Is it on Instance Types?

Yes it's on the "Instance Types" screen.

Fixed on 1.4.1, please validate!

Problem fixed in this version 1.4.1. Thank you. :)


make video for evaluation

hello.
refer to this link
https://github.com/pytorch/rl/tree/main/sota-implementations/multiagent
when you write this script
python mappo_ippo.py --m env.scenario_name=navigation
wandb automatically make a video from your training.
how can I change configuration in benchmarl to make video like this one?
thank you

Benchmarl automatically makes a video.
In particular you might want to set this parameters https://github.com/facebookresearch/BenchMARL/blob/a9309159d6d46d099bd3d395ef1c80a5227b007e/benchmarl/conf/experiment/base_experiment.yaml#L78-L80 and logges=[wandb]

Benchmarl automatically makes a video.
In particular you might want to set these parameters
https://github.com/facebookresearch/BenchMARL/blob/a9309159d6d46d099bd3d395ef1c80a5227b007e/benchmarl/conf/experiment/base_experiment.yaml#L78-L80
and logges=[wandb]

Hello, good day.
I made the changes, but the video is not being created during execution. Please advise.
Thank you.


Expose generateFile as named export from generator module

It's possible (and appealing) to use Webpack's val-loader to generate the legacy browser prefixData module on the fly at compilation time; however, this requires the ability to generate the code synchronously and capture it as a string.
We can enable this by merely exposing the generateFile method as a named export from the generator module.

LGTM! Thanks for adding that :)

Thanks for the quick review and merge @rofrischmann ! Any sense of when this might make it into a release on npm?


New auto re-auth functionality added

@aappling-usgs a subsequent mda.streams PR is coming

@lawinslow awesome on the mda.streams PR - i'll sit tight.


LatLng doesn't work

Hello,
I write here because the function LatLng doesn't work.
I just copy and past the "Open Street Map provider" on the github page.
The error is "The constructor returns type 'dynamic' that isn't of expected type 'LatLng'." and "Undefined class 'LatLng'."
Before I add flutter_map: any in my pubspec and run command "pub get".
That's not the first time I tried use LatLng but it's never work.
That's for your answer
EDIT: Just need to : import 'package:latlong/latlong.dart';

Could you show the code using it (maybe just a minimal test example) and pubspec.yaml

Had this problem too, i think it is because of the package
import 'package:mapbox_gl/mapbox_gl.dart';
it has LatLng too


Write partition data in separate data dir for iceberg sink

Is your feature request related to a problem? Please describe.
Background

I have an iceberg table partitioned by the Hour of a timestamp, but all the data from RisingWave doesn't seem to respect the partition. It's just writing straight to the /data folder. In contrast, if I write to the table from Spark it will create a partitioned folder and write data to that partition, under /data/timestamp_hour=2024-03-18-19 for example.

Describe the solution you'd like

This feature depends on the iceberg sdk to provide a convenient to custom the data dir.
Provide the config in risingwave

Describe alternatives you've considered
No response
Additional context
No response

@ZENOTME Any updates?

@ZENOTME Any updates?

No, I don't make progress for this now. If it's not a high priority features, we can postpone it to next version of iceberg sink.


Update KeywordPattern to more accuracy and cover "ENC(" case

Description
There are some cases that CredSweeper didn't catch all attributes(key, separator, value, and so on).
And ENC( case was one of them.
This PR improves KeywordPattern accuracy and help to catch ENC( case well too.

Update KeywordPattern regex

How has this been tested?

[X] Tested with real ENC( cases that detected from CredSweeper

Conflicts in benchmark scores have to be resolved ...

@babenek
I resolved the conflicts.
Please check c89d03c.

Could you please provide an unit test for this exact case?

@kmnls
I added ENC( and ENC[ cases to unit test.
Please check 62e84c2.


remove userId from ServiceVo

The ServiceVo datamodel has userId field which must not be returned. This ID is also an internal ID of identity system and hence has no value in this response.
https://github.com/eclipse-xpanse/xpanse/blob/8d06182c2b74fc77248b55db3fd5c0bf5ab50ed6/modules/models/src/main/java/org/eclipse/xpanse/modules/models/service/view/ServiceVo.java#L36

Do we need to remove the userId from all view object?

@baixinsui yes we can remove it from everywhere.

I will fix it.


What happened to the docs?

Hi @jinzhu and thank you for the excellent library.  What happened to the detailed docs including information on associations, etc., that used to be published?  Now I can only find http://jinzhu.me/gorm/ .  Maybe you could put them up and link them more prominently?  I liked them ;D Thanks!

mm, found them:

http://jinzhu.me/gorm/advanced.html
http://jinzhu.me/gorm/database.html#connecting-to-a-database
http://jinzhu.me/gorm/crud.html
http://jinzhu.me/gorm/associations.html

etc.
It should link there from the main doc probably, right?

You have some 404s too, e.g., http://www.jinzhu.me/gorm/database.html.  If you fix them you can preserve your Google link power :)

Oops, I didn't realize it was because I have JavaScript disabled.  🤕
It'd be nice if you didn't need JavaScript to be able to browse via frame etc. :) but this issue is resolved


How to use same worker but read from different queues

I apologize for opening the issue but I didn't know where to ask this question.
The other day I Was followed this example of how to create standalone worker. And I was successful in running my worker, it was actually to monitor DLQ activity for one of my apps.
Now since I have couple different DLQs it would be possible in theory to run the same worker but use a different listener queue.
So if my worker class is :
require 'sneakers'

class MyWorker
  include Sneakers::Worker
  from_queue 'my.first.dlq'

  def work(message_arry)
    .... some workload
  end
end

Is there a way to tell sneakers runner to pass the from_queue to the worker itself somehow? While submitting work here :
r = Sneakers::Runner.new([ Myworker ])
r.run

Or how would I be able to do this otherwise? Other than having another class called MyWorker1 which has from_queue 'my.second.dlq' and then I run 2 workers instead of one :
r = Sneakers::Runner.new([ Myworker, Myworker1 ])
r.run

Seems like an overkill

Duplicate of #298.


Coq's Proof General fails to install on first run.

What did you expect to happen?
Proof General to build and install without failure.
What actually happened?
Proof general fails to build and install on first run, but builds and installs fine on subsequent runs.
 "No packages need to be installed")))) nil))))
(let ((pinned (doom-package-pinned-list))) (let ((doom-format-indent (+ doom-format-indent-increment doom-format-indent))) (let* ((built (and t (doom-with-package-recipes (doom-package-recipe-list) (recipe package type local-repo) (condition-case e ... ...))))) (if built (doom--format-print (doom--format (format (doom--format-class ...  "Synchronizing your config with Doom Emacs...")))) (let ((doom-format-indent (+ doom-format-indent-increment doom-format-indent))) (if (and (not inhibit-envvar-p) (file-exists-p doom-env-file)) (progn (doom-cli-reload-env-file ...))) (doom-cli-reload-core-autoloads) (doom-cli-packages-install) (doom-cli-packages-build) (doom-cli-packages-purge prune-p (quote builds-p) prune-p prune-p) (doom-cli-reload-package-autoloads) t)))) nil)
(if cli (funcall (progn (or (and (memq (type-of cli) cl-struct-doom-cli-tags) t) (signal (quote wrong-type-argument) (list (quote doom-cli) cli))) (aref cli 7)) (doom--cli-process cli args)) (user-error "Couldn't find any %S command" command))
(let* ((cli (and t (doom-cli-get command)))) (if cli (funcall (progn (or (and (memq (type-of cli) cl-struct-doom-cli-tags) t) (signal (quote wrong-type-argument) (list (quote doom-cli) cli))) (aref cli 7)) (doom--cli-process cli args)) (user-error "Couldn't find any %S command" command)))
doom-cli-execute("sync" nil)
(and (doom-cli-execute command args) (print! (success "Finished! (%.4fs)") (float-time (time-subtract (current-time) start-time))))
(let ((start-time (current-time))) (and (doom-cli-execute command args) (print! (success "Finished! (%.4fs)") (float-time (time-subtract (current-time) start-time)))))
(condition-case e (let ((start-time (current-time))) (and (doom-cli-execute command args) (print! (success "Finished! (%.4fs)") (float-time (time-subtract (current-time) start-time))))) (user-error (print! (error "%s\n") (error-message-string e)) (print! (yellow "See 'doom help %s' for documentation on this command.") (car args)) (error "")) ((debug error) (print! (error "There was an unexpected error:")) (print-group! (print! "%s %s" (bold "Type:") (car e)) (print! (bold "Message:")) (print-group! (print! "%s" (get (car e) (quote error-message)))) (print! (bold "Data:")) (print-group! (if (cdr e) (let ((--dolist-tail-- ...) item) (while --dolist-tail-- (setq item ...) (print! "%S" item) (setq --dolist-tail-- ...))) (print! "n/a"))) (if (featurep (quote straight)) (progn (if (string-match-p (regexp-quote straight-process-buffer) (error-message-string e)) (progn (print! ...) (print-group! ...)))))) (if debug-on-error nil (terpri) (print! (concat "Run the command again with the -d (or --debug) switch to enable debug\n" "mode and (hopefully) generate a backtrace from this error:\n" "\n  %s\n\n" "If you file a bug report, please include it!") (string-join (append (list (file-name-nondirectory load-file-name) "-d" command) args) " ")) (error ""))))
(cond ((not noninteractive) (print! "Doom launched out of %s (test mode)" (path user-emacs-directory)) (load! "init.el" user-emacs-directory) (doom-run-all-startup-hooks-h)) ((null command) (doom-cli-execute "help")) ((condition-case e (let ((start-time (current-time))) (and (doom-cli-execute command args) (print! (success "Finished! (%.4fs)") (float-time (time-subtract ... start-time))))) (user-error (print! (error "%s\n") (error-message-string e)) (print! (yellow "See 'doom help %s' for documentation on this command.") (car args)) (error "")) ((debug error) (print! (error "There was an unexpected error:")) (print-group! (print! "%s %s" (bold "Type:") (car e)) (print! (bold "Message:")) (print-group! (print! "%s" (get ... ...))) (print! (bold "Data:")) (print-group! (if (cdr e) (let ... ...) (print! "n/a"))) (if (featurep (quote straight)) (progn (if ... ...)))) (if debug-on-error nil (terpri) (print! (concat "Run the command again with the -d (or --debug) switch to enable debug\n" "mode and (hopefully) generate a backtrace from this error:\n" "\n  %s\n\n" "If you file a bug report, please include it!") (string-join (append ... args) " ")) (error ""))))))
(let ((help-p (cdr (assq (quote help-p) --alist--))) (debug-p (cdr (assq (quote debug-p) --alist--))) (yes-p (cdr (assq (quote yes-p) --alist--))) (emacsdir (cdr (assq (quote emacsdir) --alist--))) (doomdir (cdr (assq (quote doomdir) --alist--))) (localdir (cdr (assq (quote localdir) --alist--))) (command (cdr (assq (quote command) --alist--))) (args (cdr (assq (quote args) --alist--)))) :bare t (if emacsdir (progn (setq user-emacs-directory (file-name-as-directory emacsdir)) (print! (info "EMACSDIR=%s") localdir))) (if doomdir (progn (setenv "DOOMDIR" doomdir) (print! (info "DOOMDIR=%s") localdir))) (if localdir (progn (setenv "DOOMLOCALDIR" localdir) (print! (info "DOOMLOCALDIR=%s") localdir))) (if debug-p (progn (setenv "DEBUG" "1") (setq doom-debug-mode t) (print! (info "Debug mode on")))) (if yes-p (progn (setenv "YES" "1") (setq doom-auto-accept t) (print! (info "Auto-yes on")))) (if help-p (progn (if command (progn (setq args (cons command args)))) (setq command "help"))) (if (equal (user-real-uid) 0) (progn (print! (concat "WARNING: This script is running as root. This likely wasn't intentional, and\n" "is unnecessary to use this script. This will cause file permissions errors\n" "later if you use this Doom installation on a non-root account.\n")) (if (or doom-auto-accept (y-or-n-p "Continue anyway?")) nil (user-error "Aborted")))) (if (or emacsdir doomdir localdir) (progn (load! "core/core.el" user-emacs-directory))) (cond ((not noninteractive) (print! "Doom launched out of %s (test mode)" (path user-emacs-directory)) (load! "init.el" user-emacs-directory) (doom-run-all-startup-hooks-h)) ((null command) (doom-cli-execute "help")) ((condition-case e (let ((start-time (current-time))) (and (doom-cli-execute command args) (print! (success "Finished! (%.4fs)") (float-time ...)))) (user-error (print! (error "%s\n") (error-message-string e)) (print! (yellow "See 'doom help %s' for documentation on this command.") (car args)) (error "")) ((debug error) (print! (error "There was an unexpected error:")) (print-group! (print! "%s %s" (bold "Type:") (car e)) (print! (bold "Message:")) (print-group! (print! "%s" ...)) (print! (bold "Data:")) (print-group! (if ... ... ...)) (if (featurep ...) (progn ...))) (if debug-on-error nil (terpri) (print! (concat "Run the command again with the -d (or --debug) switch to enable debug\n" "mode and (hopefully) generate a backtrace from this error:\n" "\n  %s\n\n" "If you file a bug report, please include it!") (string-join ... " ")) (error "")))))))
(lambda (--alist--) (ignore --alist--) (let ((help-p (cdr (assq (quote help-p) --alist--))) (debug-p (cdr (assq (quote debug-p) --alist--))) (yes-p (cdr (assq (quote yes-p) --alist--))) (emacsdir (cdr (assq (quote emacsdir) --alist--))) (doomdir (cdr (assq (quote doomdir) --alist--))) (localdir (cdr (assq (quote localdir) --alist--))) (command (cdr (assq (quote command) --alist--))) (args (cdr (assq (quote args) --alist--)))) :bare t (if emacsdir (progn (setq user-emacs-directory (file-name-as-directory emacsdir)) (print! (info "EMACSDIR=%s") localdir))) (if doomdir (progn (setenv "DOOMDIR" doomdir) (print! (info "DOOMDIR=%s") localdir))) (if localdir (progn (setenv "DOOMLOCALDIR" localdir) (print! (info "DOOMLOCALDIR=%s") localdir))) (if debug-p (progn (setenv "DEBUG" "1") (setq doom-debug-mode t) (print! (info "Debug mode on")))) (if yes-p (progn (setenv "YES" "1") (setq doom-auto-accept t) (print! (info "Auto-yes on")))) (if help-p (progn (if command (progn (setq args (cons command args)))) (setq command "help"))) (if (equal (user-real-uid) 0) (progn (print! (concat "WARNING: This script is running as root. This likely wasn't intentional, and\n" "is unnecessary to use this script. This will cause file permissions errors\n" "later if you use this Doom installation on a non-root account.\n")) (if (or doom-auto-accept (y-or-n-p "Continue anyway?")) nil (user-error "Aborted")))) (if (or emacsdir doomdir localdir) (progn (load! "core/core.el" user-emacs-directory))) (cond ((not noninteractive) (print! "Doom launched out of %s (test mode)" (path user-emacs-directory)) (load! "init.el" user-emacs-directory) (doom-run-all-startup-hooks-h)) ((null command) (doom-cli-execute "help")) ((condition-case e (let ((start-time ...)) (and (doom-cli-execute command args) (print! ... ...))) (user-error (print! (error "%s\n") (error-message-string e)) (print! (yellow "See 'doom help %s' for documentation on this command.") (car args)) (error "")) ((debug error) (print! (error "There was an unexpected error:")) (print-group! (print! "%s %s" ... ...) (print! ...) (print-group! ...) (print! ...) (print-group! ...) (if ... ...)) (if debug-on-error nil (terpri) (print! ... ...) (error ""))))))))(((command . "sync")))
funcall((lambda (--alist--) (ignore --alist--) (let ((help-p (cdr (assq (quote help-p) --alist--))) (debug-p (cdr (assq (quote debug-p) --alist--))) (yes-p (cdr (assq (quote yes-p) --alist--))) (emacsdir (cdr (assq (quote emacsdir) --alist--))) (doomdir (cdr (assq (quote doomdir) --alist--))) (localdir (cdr (assq (quote localdir) --alist--))) (command (cdr (assq (quote command) --alist--))) (args (cdr (assq (quote args) --alist--)))) :bare t (if emacsdir (progn (setq user-emacs-directory (file-name-as-directory emacsdir)) (print! (info "EMACSDIR=%s") localdir))) (if doomdir (progn (setenv "DOOMDIR" doomdir) (print! (info "DOOMDIR=%s") localdir))) (if localdir (progn (setenv "DOOMLOCALDIR" localdir) (print! (info "DOOMLOCALDIR=%s") localdir))) (if debug-p (progn (setenv "DEBUG" "1") (setq doom-debug-mode t) (print! (info "Debug mode on")))) (if yes-p (progn (setenv "YES" "1") (setq doom-auto-accept t) (print! (info "Auto-yes on")))) (if help-p (progn (if command (progn (setq args ...))) (setq command "help"))) (if (equal (user-real-uid) 0) (progn (print! (concat "WARNING: This script is running as root. This likely wasn't intentional, and\n" "is unnecessary to use this script. This will cause file permissions errors\n" "later if you use this Doom installation on a non-root account.\n")) (if (or doom-auto-accept (y-or-n-p "Continue anyway?")) nil (user-error "Aborted")))) (if (or emacsdir doomdir localdir) (progn (load! "core/core.el" user-emacs-directory))) (cond ((not noninteractive) (print! "Doom launched out of %s (test mode)" (path user-emacs-directory)) (load! "init.el" user-emacs-directory) (doom-run-all-startup-hooks-h)) ((null command) (doom-cli-execute "help")) ((condition-case e (let (...) (and ... ...)) (user-error (print! ... ...) (print! ... ...) (error "")) ((debug error) (print! ...) (print-group! ... ... ... ... ... ...) (if debug-on-error nil ... ... ...))))))) ((command . "sync")))
(if cli (funcall (progn (or (and (memq (type-of cli) cl-struct-doom-cli-tags) t) (signal (quote wrong-type-argument) (list (quote doom-cli) cli))) (aref cli 7)) (doom--cli-process cli args)) (user-error "Couldn't find any %S command" command))
(let* ((cli (and t (doom-cli-get command)))) (if cli (funcall (progn (or (and (memq (type-of cli) cl-struct-doom-cli-tags) t) (signal (quote wrong-type-argument) (list (quote doom-cli) cli))) (aref cli 7)) (doom--cli-process cli args)) (user-error "Couldn't find any %S command" command)))
doom-cli-execute(:main ("sync"))
(let* ((load-prefer-newer t) (loaddir (file-name-directory (file-truename load-file-name))) (emacsdir (getenv "EMACSDIR")) (user-emacs-directory (abbreviate-file-name (or emacsdir (expand-file-name "../" loaddir))))) (setq load-path (cons (expand-file-name "core" user-emacs-directory) load-path)) (require (quote core)) (require (quote core-cli)) (defcli! :main ((help-p ["-h" "--help"] "Same as help command") (debug-p ["-d" "--debug"] "Turns on doom-debug-mode (and debug-on-error)") (yes-p ["-y" "--yes"] "Auto-accept all confirmation prompts") (emacsdir ["--emacsdir" dir] "Use the emacs config at DIR (e.g. ~/.emacs.d)") (doomdir ["--doomdir" dir] "Use the private module at DIR (e.g. ~/.doom.d)") (localdir ["--localdir" dir] "Use DIR as your local storage directory") &optional command &rest args) "A command line interface for managing Doom Emacs.\n\nIncludes package management, diagnostics, unit tests, and byte-compilation.\n\nThis tool also makes it trivial to launch Emacs out of a different folder or\nwith a different private module." :bare t (if emacsdir (progn (setq user-emacs-directory (file-name-as-directory emacsdir)) (print! (info "EMACSDIR=%s") localdir))) (if doomdir (progn (setenv "DOOMDIR" doomdir) (print! (info "DOOMDIR=%s") localdir))) (if localdir (progn (setenv "DOOMLOCALDIR" localdir) (print! (info "DOOMLOCALDIR=%s") localdir))) (if debug-p (progn (setenv "DEBUG" "1") (setq doom-debug-mode t) (print! (info "Debug mode on")))) (if yes-p (progn (setenv "YES" "1") (setq doom-auto-accept t) (print! (info "Auto-yes on")))) (if help-p (progn (if command (progn (setq args (cons command args)))) (setq command "help"))) (if (equal (user-real-uid) 0) (progn (print! (concat "WARNING: This script is running as root. This likely wasn't intentional, and\n" "is unnecessary to use this script. This will cause file permissions errors\n" "later if you use this Doom installation on a non-root account.\n")) (if (or doom-auto-accept (y-or-n-p "Continue anyway?")) nil (user-error "Aborted")))) (if (or emacsdir doomdir localdir) (progn (load! "core/core.el" user-emacs-directory))) (cond ((not noninteractive) (print! "Doom launched out of %s (test mode)" (path user-emacs-directory)) (load! "init.el" user-emacs-directory) (doom-run-all-startup-hooks-h)) ((null command) (doom-cli-execute "help")) ((condition-case e (let ((start-time ...)) (and (doom-cli-execute command args) (print! ... ...))) (user-error (print! (error "%s\n") (error-message-string e)) (print! (yellow "See 'doom help %s' for documentation on this command.") (car args)) (error "")) ((debug error) (print! (error "There was an unexpected error:")) (print-group! (print! "%s %s" ... ...) (print! ...) (print-group! ...) (print! ...) (print-group! ...) (if ... ...)) (if debug-on-error nil (terpri) (print! ... ...) (error ""))))))) (doom-cli-execute :main (cdr (member "--" argv))) (setq argv nil))
eval-buffer(#<buffer  load> nil "/home/brettg/.emacs.d/bin/doom" nil t)  ; Reading at buffer position 5425
load-with-code-conversion("/home/brettg/.emacs.d/bin/doom" "/home/brettg/.emacs.d/bin/doom" nil t)
load("/home/brettg/.emacs.d/bin/doom" nil t t)
command-line-1(("-scriptload" "./.emacs.d/bin/doom" "--" "sync"))
command-line()
normal-top-level()

Steps to reproduce:

Enable coq
doom sync

System information:

((emacs
  (version . "26.3")
  (features . "XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS GLIB NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD LCMS2")
  (build . "Aug 29, 2019")
  (buildopts "--prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft --with-modules 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now")
  (windowsys . batch)
  (daemonp))
 (doom
  (version . "2.0.9")
  (build . "HEAD -> develop, origin/develop, origin/HEAD 064603f6e 2020-03-28 20:08:53 -0400")
  (dir . "~/.doom.d/"))
 (system
  (type . gnu/linux)
  (config . "x86_64-pc-linux-gnu")
  (shell . "/bin/bash")
  (uname . "Linux 5.4.28-1-MANJARO #1 SMP PREEMPT Wed Mar 25 12:45:29 UTC 2020 x86_64")
  (path "~/.local/bin" "/usr/local/bin" "/usr/local/sbin" "/usr/bin" "/usr/bin/site_perl" "/usr/bin/vendor_perl" "/usr/bin/core_perl" "/usr/lib/emacs/26.3/x86_64-pc-linux-gnu"))
 (config
  (envfile . envvar-file)
  (elc-files . 0)
  (modules :completion company ivy :ui doom fill-column hl-todo indent-guides modeline neotree ophints (popup +defaults) vc-gutter vi-tilde-fringe window-select workspaces :editor file-templates fold snippets :emacs dired electric vc :term eshell shell term vterm :checkers syntax :tools debugger (eval +overlay) lookup lsp magit make pdf :lang assembly (cc +lsp) common-lisp coq data emacs-lisp fstar latex markdown ocaml (org +dragndrop +present) scheme sh :config (default +bindings +smartparens))
  (packages (sml-mode))
  (unpin "n/a")
  (elpa "n/a")))

I believe I have the same issue. Moreover, doom build produces the following error:
  → Building proof-general...
  → Building proof-general...done
x There was an unexpected error:
  Type: file-missing
  Message:
    File is missing
  Data:
    "Cannot open load file"
    "No such file or directory"
    "/Users/sorawee/.emacs.d/bin/generic/proof-site"

@brettgilio can you try doom build and see if you get the same output?

A workaround for this is linking the PG/generic folder to .emacs.d/bin.
$ cd ~/..emacs.d/bin
$ ln -s ../.local/straight/repos/PG/generic .

I still find it easier to not build Proof-General while updating/upgrading. I add it in later and then build it.
With native-comp, stalled installs lead to uncompiled files (I think).

I had this issue in moving from emacs-plus@26 to emacs-plus@28 particularly.

I have this issue as well:
  → Building proof-general...
  → Building proof-general...done
x There was an unexpected error:
  Type: file-missing
  Message:
    File is missing
  Data:
    "Cannot open load file"
    "No such file or directory"
    "/Users/evar/.emacs.d.doom/bin/generic/proof-site"

I have the same issue:
  → Building proof-general...
  → Building proof-general...done
x There was an unexpected error:
  Type: file-missing
  Message:
    File is missing
  Data:
    "Cannot open load file"
    "No such file or directory"
    "/home/schmitta/.emacs.d/bin/generic/proof-site"

Is this still an issue?

Yes. My current workaround is to have a symbolic link bin/generic -> ../.local/straight/repos/PG/generic for building to succeed.

Yes, this issue is still present.

This issue is still present. Here's the full stack trace:
    → Building proof-general...done
    x There was an unexpected error
      Message: File is missing
      Data: (file-missing . "Cannot open load file")
      Backtrace:
        (require proof-site "/Users/rgrinberg/.emacs.d/bin/generic/proof-site")
        (if (and (boundp 'byte-compile-current-file) byte-compile-current-file) ni
        (eval-buffer #<buffer  *load*-865481> nil "/Users/rgrinberg/.emacs.d/.loca
        (load-with-code-conversion "/Users/rgrinberg/.emacs.d/.local/straight/buil
        (load "/Users/rgrinberg/.emacs.d/.local/straight/build-27.1/proof-general/
        (progn (load autoloads-file nil 'nomessage))
        (if (file-exists-p autoloads-file) (progn (load autoloads-file nil 'nomess
        (let ((autoloads-file (straight--autoloads-file package))) (if (file-exist
        (straight--load-package-autoloads "proof-general")
        (if straight-cache-autoloads (progn (if (straight--checkhash package strai

Maybe the following helps understand what's going on? The error comes from this code:
;;;###autoload
(eval-and-compile
  (defvar pg-init--script-full-path
    (or (and load-in-progress load-file-name)
        (bound-and-true-p byte-compile-current-file)
        (buffer-file-name)))
  (defvar pg-init--pg-root
    (file-name-directory pg-init--script-full-path)))

;;;###autoload
(unless (bound-and-true-p byte-compile-current-file)
  ;; This require breaks compilation, so it must only run when loading the package.
  (require 'proof-site (expand-file-name "generic/proof-site" pg-init--pg-root)))

This snippet figures out where the current file is (pg-init--script-full-path) and loads Proof General's custom init file (essentially a bunch of custom autoloads) .
It looks like load-file-name is in /Users/rgrinberg/.emacs.d/bin/, which is odd.  Is that due to the way Doom loads things?

It looks like load-file-name is in /Users/rgrinberg/.emacs.d/bin/, which is odd. Is that due to the way Doom loads things?

Yeah, it's because the package synchronizer for Doom is being ran out of that directory.

That's still odd, isn't it? (PG isn't using current-directory, it's using load-file-name)

Yes. My current workaround is to have a symbolic link bin/generic -> ../.local/straight/repos/PG/generic for building to succeed.

@cpitclaudel If I had to make an inference, I would say that generic/proof-site is being expected to exist wherever the bytecompiler is being called from. I'd have to play with the edebugger to be sure, but I think load-file-name is probably being overridden by Doom? Im not entirely sure.
TLDR. I think (read: would guess) some in-built behavior of how bin/doom is written is probably the issue.

and loads Proof General's custom init file (essentially a bunch of custom autoloads) .

Just curious, why does pg need a custom init file? Can't it just use autoload cookies like other packages?

and loads Proof General's custom init file (essentially a bunch of custom autoloads) .

Just curious, why does pg need a custom init file? Can't it just use autoload cookies like other packages?

PG is huge. I think a lot of people like having a customizable experience with what is and isnt loaded, rather than relying on autoloads for most things.
That said, I'd prefer the autoloads.

Just curious, why does pg need a custom init file? Can't it just use autoload cookies like other packages?

Something with autoloads in subfolders, IIRC.  I did the refactorign to make PG a proper package a while ago and the long story short is that it has a fairly complex setup and the least disruptive way to make it work was to make an autoload that loaded proof-site.el, which is basically what proof-general.el does.

@cpitclaudel This patch seems to fix the issue for me:
diff --git a/proof-general.el b/proof-general.el
index d0955088..6f01807c 100644
--- a/proof-general.el
+++ b/proof-general.el
@@ -56,8 +56,8 @@
 ;;;###autoload
 (eval-and-compile
   (defvar pg-init--script-full-path
-    (or (and load-in-progress load-file-name)
-        (bound-and-true-p byte-compile-current-file)
+    (or (bound-and-true-p byte-compile-current-file)
+        (and load-in-progress load-file-name)
         (buffer-file-name)))
   (defvar pg-init--pg-root
     (file-name-directory pg-init--script-full-path)))

Seems like if you're byte compiling the current file, that should be preferred over whatever is being loaded.

I think swapping the order is just going to push the problem elsewhere.  Having this be run at 3 different times (when loading the autoloads, when compiling proof-general.el, and when loading proof-general.el) is asking for trouble anyway.  The rest of the file is similarly full of brittle assumptions (like "we presume that this file will be compiled before any of the files ...").  I think the only assumption that should be made is that proof-autoloads.el will be loaded before loading or compiling any of the other files and the rest should be handled via require, so that all the other files can be loaded or compiled in any order.

Yes, proof-site is a mess.  I didn't have the motivation to rewrite it at the time.

This should be fixed once PG is updated in doom

I no longer have the symbolic link and I’m no longer seeing the error. I think this can be closed.


Enable static weights to be used with EmbeddingTable.from_pretrained

Relates to https://github.com/NVIDIA-Merlin/Merlin/issues/479
Goals :soccer:

Enable static weights to be used with the EmbeddingTable.from_pretrained method
Implementation Details :construction:

The current implementation initializes the embedings using the weights parameter.
However, this only works if the layer is called first before the model is compiled/fit.
Switching to use the embeddings_initializer parameter instead which works as expected with trainable False.
Testing Details :mag:

Removing part of the test for the from_pretrained method to capture the behaviour of the embeddings correctly.

rerun tests

rerun tests


[REQUEST] Create new Domains, components, etc.

Is your feature request related to a problem? Please describe.
Unable to edit DOMAINS -- i.e. Create brand new Matrix's, components, etc.
Describe the solution you'd like
I'm wanting to create a new domain -- not to utilize the existing enterprise-attack, ics-attack, etc.  The current version of Workbench doesn't allow for creating new domains, components, etc.
Describe alternatives you've considered
I've attempted following this guide, to edit the existing enterprise-attack domain, after deleting the volumes and restarting the containers, I'm able to select the new domain.  However, the linked Techniques to the Tactics are not displayed.
VIEW -> MATRICES -> MATRIX.
https://github.com/center-for-threat-informed-defense/attack-workbench-frontend/issues/336
Any guidance would be greatly appreciated.

Hi @darksheer,
Thanks for opening up this issue. This appears to be the same content request as #38 (see also #35 and #36). I am closing it as a duplicate, but feel free to re-open if there's additional functionality you're looking for that isn't covered in the other issues.

I guess this begs the broader question -- is the broader MITRE ATT&CK community looking for collaboration in such way that enabled the creation of new frameworks?  Based on the tooling, it doesn't appear that way.


Incorrect setup! 1.5.0-beta0

Hi,
I installed the 1.5 beta of atom. I could not open the Auto complete php configuration. It always shows
atom-autocomplete-php - Incorrect setup!
Either PHP or Composer is not correctly set up and as a result PHP autocompletion will not work. Please visit the settings screen to correct this error. If you are not specifying an absolute path for PHP or Composer, make sure they are in your PATH. Feel free to look package's README for configuration examples

Now I am confused whether I missed any step.
Thank you

I guess I found the settings page now. Sorry for this issue created and my sincere  apologies. I didn't find where the settings was..

Same issue, what did you do ?

Same issue, what did you do ?
The problem is about the composer installation and path.You have to install composer!Here's the manual:
https://getcomposer.org/download/
And don't forget about the path in package seeting:
/usr/local/bin/composer

path? Explain it please

First in termianl check where is your composer with command: whereis composer. Then open package settings (Ctrl + , -> Packages -> [atom-autocomplete-php] Settings) and in field 'Command to use composer' put correct path from the first step.

hello, can you specify where is de field 'Command to use composer' because i have tried to change the path but i did'nt find this, in setting i just can see a picture but not a field to change


Twitch bug

There has been an unreported bug where the GUI will freak out a little bit after calls to Update.  This fixes the bug.

@sgpearse this PR has conflicts

@clyne, Ok, it's merged with the current master now and all conflicts are resolved.


Mods require fabric loader above 1.15.0

Minecraft version
1.20.1
Describe the bug
Many mods require a version of fabric loader higher than version 1.15.0, but sinytra connector only supports 1.15.0.
Steps to reproduce
1.Launch an unsupported mod. For example, Language reload mod
2.Then get an error
Logs
https://pastebin.com/6SZRyZRD
Additional context
:(

Sinytra Connector: 1.0.0-beta.33+1.20.1+dev-00000000

Please update your version of Connector to the latest one, where this issue no longer occurs


[ WIP ] ttnn segformer implementation

The ttnn implementation of SegformerOverlapPatchEmbeddings,SegformerEfficientSelfAttention,SegformerSelfOutput,SegformerAttention, SegformerDWConv,SegformerMixFFN,SegformerLayer sub-modules implementation have been done, as well as test file also implemented for just one case for testing, out of 7 mention 6 are failing due to errors currently working on debugging the sub-modules and on the test files.(Currently working on single case so, it fails and conv is kept in torch in wherever cases its not working).
SegformerSelfOutput sub-module ttnn passes for all the test cases.
SegformerEncoder ,SegformerModel are yet to be implemented.
unit tests branch for the failing convs: here

The performance sheets of the following submodules are added herewith:

Attention: ops_perf_results_attention_2024_06_05_16_16_41.csv
Efficient_selfattention: ops_perf_results_efficient_selfattention_2024_06_05_16_21_06.csv
Encoder: ops_perf_results_encoder_2024_06_05_16_24_05.csv
Layer: ops_perf_results_layer_2024_06_05_16_28_01.csv
Mix_ffn: ops_perf_results_mix_ffn_2024_06_05_16_30_06.csv
Model: ops_perf_results_model_2024_06_05_16_32_51.csv
Overlap_path_embeddings: ops_perf_results_overlap_path_embeddings_2024_06_05_16_39_04.csv
Selfoutput:ops_perf_results_selfoutput_2024_06_05_16_09_57.csv
DWconv:ops_perf_results_DWconv_2024_06_05_16_13_32.csv

Initially the model, encoder sub-modules PCC ~ 0.96, after adding dtype=bfloat_8, memory_config=L1 and core_grid to the pipeline the PCC dropped to ~0.91.
Currently, the PCC of encoder and model sub-module ~0.91.

The Performance sheet of segformer semantic segmentation model:
ops_perf_results_semantic_segmentation_2024_06_13_15_41_55.csv

Demo Results for segformer semantic segmentation: Link

Torch interpolate is used in segformer semantic segmentation sub-module.

The PCC of sub-modules are as below:
         SegformerOverlapPatchEmbeddings : Pcc is >0.99 for all test cases
         SegformerEfficientSelfAttention :  Pcc is >0.99 for 7 tests and ~0.98 for one test
         SegformerSelfOutput :   Pcc is >0.99 for all 8 tests
         SegformerAttention : Pcc is >0.99 for 6 tests and ~0.98, ~0.96 for two tests.
         SegformerDWConv : Pcc is >0.99 for all test cases
         SegformerMixFFN : Pcc is >0.99 for all test cases
         SegformerLayer : Pcc is >0.99 for all test cases
         SegformerEncoder :  Pcc is ~0.89
         SegformerModel : Pcc is ~0.89
         SegformerForImageClassification : Pcc is ~0.94
         SegformerMLP : Pcc is >0.99 for all test cases
         SegformerDecodeHead : Pcc is >0.99 for all test cases
         SegformerForSemanticSegmentation : Pcc is ~0.97

For Evaluation we have used mIoU and accuracy metrics, The results are as below(Torch output vs ttnn output):
          Sample input 1:
          Mean IoU: 0.7512, Accuracy: 82.88%
          Sample input 2:
          Mean IoU: 0.8823, Accuracy: 98.05%

Currently the following op is in torch:

Conv as there is no support for kernel>3 and group>1(#8868).
One torch permute is used(#9009 ).
Torch interpolate is used as Ttnn interpolate is not available.


WSL2 postgres is unhealthy

Not sure how to run it on WSL2.
nhost version v1.6.0
Win 11
nhost up
Setting up Nhost development environment...
Starting Nhost development environment...
[+] Running 11/11
 ✔ Network test-nhost_default        Created                                                                   0.2s
 ✔ Container test-nhost-functions-1  Healthy                                                                  12.3s
 ✔ Container test-nhost-dashboard-1  Started                                                                   1.6s
 ✔ Container test-nhost-minio-1      Started                                                                   2.0s
 ✘ Container test-nhost-postgres-1   Error                                                                    74.3s
 ✔ Container test-nhost-mailhog-1    Started                                                                   2.1s
 ✔ Container test-nhost-traefik-1    Started                                                                   1.6s
 ✔ Container test-nhost-graphql-1    Created                                                                   0.0s
 ✔ Container test-nhost-console-1    Created                                                                   0.0s
 ✔ Container test-nhost-auth-1       Created                                                                   0.0s
 ✔ Container test-nhost-storage-1    Created                                                                   0.0s
dependency failed to start: container test-nhost-postgres-1 is unhealthy
failed to start Nhost development environment: failed to start docker compose: exit status 1
- Do you want to stop Nhost's development environment? [y/N]

nhost logs -f postgres
test-nhost-postgres-1  | Resolving pg_hba.conf
test-nhost-postgres-1  | Waiting for postgres to start
test-nhost-postgres-1  | chmod: changing permissions of '/var/lib/postgresql/data/pgdata': Operation not permitted
test-nhost-postgres-1  | The files belonging to this database system will be owned by user "postgres".
test-nhost-postgres-1  | This user must also own the server process.
test-nhost-postgres-1  |
test-nhost-postgres-1  |
test-nhost-postgres-1  | The database cluster will be initialized with locale "en_US.UTF-8".
test-nhost-postgres-1  | The default database encoding has accordingly been set to "UTF8".
test-nhost-postgres-1  | The default text search configuration will be set to "english".
test-nhost-postgres-1  |
test-nhost-postgres-1  |
test-nhost-postgres-1  | Data page checksums are disabled.
test-nhost-postgres-1  |
test-nhost-postgres-1  |
test-nhost-postgres-1  | initdb: error: could not change permissions of directory "/var/lib/postgresql/data/pgdata": Operation not permitted

cat /etc/wsl.conf
[automount]
options = "metadata"

Works:
cd

Go to home dir ~. No windows mounted dirs.
mkdir project
cd project
nhost init
code .
nhost up


Report Groovy classpath inference errors at task execution time

And not at configuration cache store time so disabled/sourceless Groovy tasks
can still appear in the task graph.

@bot-gradle test AFT

OK, I've already triggered AllFunctionalTestsReadyForMerge build for you.

@bot-gradle test ACCT

Sorry I don't understand what you said.
Currently I support the following commands:

@bot-gradle test {BuildStage} to trigger a build

e.g. @bot-gradle test SanityCheck plz
SanityCheck/CompileAll/QuickFeedbackLinux/QuickFeedback/ReadyForMerge/ReadyForNightly/ReadyForRelease are supported
test this means test ReadyForMerge
test and merge to trigger a pre-tested commit build
cancel to cancel a running pre-tested commit build or remove it from queue
SanityCheck can be abbreviated as SC, ReadyForMerge as RFM, etc.
Specific builds:

AST: AllSmokeTestsReadyForMerge
AFT: AllFunctionalTestsReadyForMerge
ASB: AllSpecificBuildsReadyForMerge
ACC: AllConfigCacheTestsReadyForMerge
ACT: AllCrossVersionTestsReadyForNightly
APTN: AllPerformanceTestsReadyForNightly
AFTN: AllFunctionalTestsReadyForNightly
ACTR: AllCrossVersionTestsReadyForRelease
AFTR: AllFunctionalTestsReadyForRelease

@bot-gradle help to display this message
@bot-gradle clean to clear the conversation history

@bot-gradle test ACC

OK, I've already triggered AllConfigCacheTestsReadyForMerge build for you.

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

@bot-gradle clean

@bot-gradle test and merge

@bot-gradle test and merge

OK, I've already triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge

OK, I've already triggered a build for you.


Could not build for arm64.

Hi I am using a M1 macbook and XCode 13.2.1 (13C100)
I am getting Build failed with this error message
undefined symbols for architecture arm64: "OBJC_CLASS$_AgoraRtmSendMessageOptions"
undefined symbols for architecture arm64: "OBJC_CLASS$_AgoraRtmKit"
I tried adding arm64 to the excluded architectures for any simulator build but then I am getting a different error from different package - "Alamofire" , it could not find files x86_64 architecture.
Now I can not exclude arm64 in build settings so as to make Alamofire work. Any idea what else I can modify so as make Agora build error go away?

Hi @swapniledvi, this is a known issue that i’m told will be fixed in the next release, which should be 1.5.0 this week.

Thanks for the update  @maxxfrazer, I will wait for the update then.

@swapniledvi I've been told the RTM release will be delayed slightly further…
in the interim, you can try this release that should be treated as a pre-release/special build - it hasn't been through all the usual testing yet:
https://github.com/AgoraIO/AgoraRTM_iOS/releases/tag/1.4.9-special.1

@maxxfrazer Thanks for the intermediate release. this is working fine as of now.

1.4.10 has been released now with the M1 simulator fix.


Custom Theme Editor

Is your feature request related to a problem? Please describe.
Currently the users are forced to simply go with the default theme, thus it would be great if the Editor was to allow them to have custom themes.
Describe the solution you'd like
Themes would essentially be .json files, that contain many properties that you would configure in ImGui::GetStyle(). These themes would be stored in a ./Themes/ folder (or ./Build/Themes/ in this repository).
Having the custom theme feature would require two windows (both of which could be opened from MainMenuBar/Editor/.
Theme Selector:

Users would be provided a long list of themes that exist in the ./Themes folder and they would be able to click on any theme to switch to it (at runtime, ofcourse).
Buttons next to those themes to delete them.
Add New Theme button.

Theme Editor:

A drop down menu to select the currently editing theme (from the ./Themes folder)
Users would be provided a list of ImGui::ColorPicker3() and ImGui::Float that would change the current Editor's layout.

Although these are just guidelines, feel free to do it in your own way, don't wanna ruin the fun of coming up with ideas 😉

It has been decided to stick to a single theme, the default one provided by Ducktape.


admin panel - These credentials do not match our records

Describe the bug
When going to the ADMIN PANEL > localhost/admin/login  I can not register with any credentials.
Also when I put something in it reports back with: These credentials do not match our records.
How can I register as admin to get access to the admin panel ?
To Reproduce
Steps to reproduce the behavior:

Go to 'http://localhost:9080/admin/'
It opens ''http://localhost:9080/admin/login'
Put in email address ans password
See error: These credentials do not match our records.

Expected behavior
A posibility to register
Environment (please complete the following information):
Synology NAS

Browser Firefox and Chrome where tested

Screenshots
If applicable, add screenshots to help explain your problem.

Logs
If applicable, check the logs for any error that might of occurred.
No errors

|     |.-----.-----.-----.--|  |  |.-----.-----.|  |
|     ||  _  |  -|  -|  _  |   |  -| --||   |
|||   |||___|||||___|
|__|

|_     |.----.---.-.----.|  |--.-----.----.
|   |  |   |  _  |  ||    <|  -|   |
||  || |.|____||||___||

To support Speedtest Tracker visit:
https://github.com/alexjustesen/speedtest-tracker
GID/UID
User uid:    1027
User gid:    100
🔒 SSL_MODE has been set to MIXED, setting the web server to work in HTTP + HTTPS...
🐇  Configuring Speedtest Tracker...
🔒  Fixing app path file permissions...
✅  Permissions fixed.
🧹  Clearing any previous caches...
✅  Cache cleared.
✅  Environment file exists.
🔗  Creating symlinks for config and log files...
✅  Symlinks created.
⏳  Generating an application key...
⚠  An application key was generated at start up, no environment variable was set.
👀  To set an application key that persists, read the docs: https://docs.speedtest-tracker.dev/
💰  Building the cache...
✅  Cache set.
🚛  Migrating the database...
✅  Database migrated.
✅  All set, Speedtest Tracker started.
[04-Jan-2024 21:54:57] NOTICE: fpm is running, pid 127
[04-Jan-2024 21:54:57] NOTICE: ready to handle connections
[04-Jan-2024 21:54:57] NOTICE: systemd monitor interval set to 10000ms
<IP_ADDRESS> - - [04/Jan/2024:21:55:14 +0100] "GET / HTTP/1.1" 200 2196 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"
<IP_ADDRESS> - - [04/Jan/2024:21:57:13 +0100] "GET / HTTP/1.1" 200 2196 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"
<IP_ADDRESS> - - [04/Jan/2024:21:57:31 +0100] "GET /admin/login HTTP/1.1" 200 6043 "http://<IP_ADDRESS>:9080/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"
<IP_ADDRESS> - - [04/Jan/2024:21:57:35 +0100] "GET /livewire/livewire.js?id=f121a5df HTTP/1.1" 200 71154 "http://<IP_ADDRESS>:9080/admin/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"
<IP_ADDRESS> - - [04/Jan/2024:21:58:57 +0100] "POST /livewire/update HTTP/1.1" 200 4040 "http://<IP_ADDRESS>:9080/admin/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"
<IP_ADDRESS> - - [04/Jan/2024:21:59:53 +0100] "GET / HTTP/1.1" 200 2196 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"
<IP_ADDRESS> - - [04/Jan/2024:22:00:04 +0100] "GET /admin/login HTTP/1.1" 200 6037 "http://<IP_ADDRESS>:9080/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"
<IP_ADDRESS> - - [04/Jan/2024:22:00:14 +0100] "POST /livewire/update HTTP/1.1" 200 4042 "http://<IP_ADDRESS>:9080/admin/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"
<IP_ADDRESS> - - [04/Jan/2024:22:02:14 +0100] "POST /livewire/update HTTP/1.1" 200 4034 "http://<IP_ADDRESS>:9080/admin/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"
<IP_ADDRESS> - - [04/Jan/2024:22:02:31 +0100] "GET /admin/login HTTP/1.1" 200 6041 "http://<IP_ADDRESS>:9080/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"
<IP_ADDRESS> - - [04/Jan/2024:22:02:50 +0100] "GET / HTTP/1.1" 200 5051 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"
<IP_ADDRESS> - - [04/Jan/2024:22:03:16 +0100] "GET /admin HTTP/1.1" 302 406 "http://<IP_ADDRESS>:9080/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"
<IP_ADDRESS> - - [04/Jan/2024:22:03:19 +0100] "GET /admin/login HTTP/1.1" 200 6037 "http://<IP_ADDRESS>:9080/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"
<IP_ADDRESS> - - [04/Jan/2024:22:03:27 +0100] "POST /livewire/update HTTP/1.1" 200 4041 "http://<IP_ADDRESS>:9080/admin/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"
<IP_ADDRESS> - - [04/Jan/2024:22:04:19 +0100] "GET / HTTP/1.1" 200 5052 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"

Additional context
Add any other context about the problem here.
Nope

It looks like I missed the part where the login and password were given :-)
Login<EMAIL_ADDRESS>PW: password

If you're all set go ahead and close the issue


Profile upload reports "Profile could not be parsed    unknow protocol: urn" when attempting to upload custom profiles

From @katja-moilanen

I noticed that the graphical user interface of the CMV does not work when trying to use "Upload files" for profile.
I was trying to test if my changes to profiles work but I got only error message "Profile could not be parsed    unknow protocol: urn". Then I tried to upload old versions of profiles, but I got the same error message every time. Therefore, I assume that the problem is in CMV.

This was fixed (by accident) in #214
@katja-moilanen - could you test this at https://cmv-staging.cessda.eu/

@matthew-morris-cessda
https://cmv-staging.cessda.eu/ works. I was able to validate using uploaded profiles.


User feedback

What is most useful?

few well-documented use-cases including notebook/code to reproduce (incl. API)
improved / facilitating documentation
easier locking procedure

have possibility to run pyrpl on redpitaya

Since we have worked quite hard to make the whole interface fully compatible with notebook integation, I think it makes sense to keep some notebook examples. Moreover, I have struggled a bit lately because unittests didn't include running some code embedded in a notebook.
For this reason, I have written a test_ipython_notebook unittest, that will automatically make sure that no exceptions are raised by the tested notebooks. The test looks for notebooks;:

In the default tutorial notebook directory: docs\example-notebooks
In the test_ipython_notebook_folder for more "private" tests. (For instance, one test makes sure that the Ipython kernel that's being tested is the same python version as the unittest)

Since passing the IP address of the test redpitaya might look a bit cryptic for a new user that is reading the tutorial, I have added a trick: every cell that begins with #define-hostname will be replaced by
HOSTNAME = 'currently-used-IP'. Similarly, the magic comment #no-test will skip the entire cell during the unittest. This is useful for cells that propose to perform some pip install for instance.
So I have put back the tutorial into docs\example-notebooks. It passes the unittest, however, the IIR section is obviously not working as expected. Maybe you can have a look? Also, we never wrote the Lockbox part for the notebook.
Regarding your initial question. I think it makes sense to have a basic tutorial notebook, but then several more advanced notebooks on specific topics. The nice thing is that they will be tested during unittests.

Ok, all this sounds good. I will have a look at the notebook sections. We should as also make links to them on the website.
Regarding the hostname: why does the unittest have to define an IP? Can we not simply rely on the environment variable for the unittest, and keep the hostname argument out of the tutorial? The behavior is that, if no environment variable or argument with hostname is available, the startup widget will ask for the ip. At the next execution, the hostname should already be in the config file.

OK, I was mechanically trying to adapt the unittest to the old notebook without really thinking that changing the notebook itself might be a solution. However, thinking about it twice, I find that during unittests, you want at worst to have one single IP selection window at the beginning that defines the IP address for all tests (or to define the REDPITAYA_HOSTNAME once and for all). If you rely on config_files such as 'tutorial.yml' to store the IP address, you will run into troubles when you want to run the unittests on a different Redpitaya (that happens quite often for me): namely, you need to remember to change the IP address in the environment variable, but also, in the various config_files... Anyways, we need some black magic to skip the execution of some cells, so it's not a big deal to also add the IP propagation black magic.
On the other hand, I have changed the default IP address to "" in the tutorial, such that the IP selection window opens up by default...

Another way to deal with the IP address mess is to modify the setup_all method of all test cases (the one which also creates the Pyrpl object) such that it removes the hostfile entry from the config file that is used before the pyrpl object is created (which is known to setup_all since it is used to create the pyrpl object).

I'm not sure to follow what you are suggesting: keep in mind that in a tutorial notebook, the pyrpl instance is typically not created using a TestPyrpl construct, and the config file would ideally have a special name such as 'tutorial'.


buildah: always use a context of .

In certain cases, having a context set could change the meaning of a Containerfile. See:
https://github.com/containers/buildah/issues/5529
For details of a situation affecting Flatpaks and bootc images. This applies to both to any context from the CONTEXT parameter, and the implicit context from SOURCE_CODE_DIR. To avoid any possible problems, just change to the context directory and use a context argument of .
[edited to fix a wrong link]

/ok-to-test


Support required text and optional text configuration.

IMPORTANT: All PRs must be linked to an issue (except for extremely trivial and straightforward changes).
Fixes #1954
Description

Show required text to the beginning of the instructions if views are non textInputLayout views.
Show required text as helper text if view are InputTextLayout views.
Support optional text configuration
If optional text is configured, then show optional text at the end of the question text.
If question text is not present then show optional text as helper text.

Alternative(s) considered
Have you considered any alternatives? And if so, why have you chosen the approach in this PR?
Type
Choose one: Feature
Screenshots (if applicable)
Checklist

[x] I have read and acknowledged the Code of conduct.
[x] I have read the Contributing page.
[x] I have signed the Google Individual CLA, or I am covered by my company's Corporate CLA.
[x] I have discussed my proposed solution with code owners in the linked issue(s) and we have agreed upon the general approach.
[x] I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the style guide of this project.
[x] I have run ./gradlew check and ./gradlew connectedCheck to test my changes locally.
[x] I have built and run the demo app(s) to verify my change fixes the issue and/or does not break the demo app(s).

@shelaghm
Required text :

Optional text :

This looks good to me. Thanks @santosh-pingle

To be consistent between the two, I recommend we use the instruction text field to append required/optional. In paginated layout the (required) or (optional) text is very large and I think it's not THAT important to display. In default layout it works better than in paginated as the text proportions are more subtle.
Breaking it into two lines is a nice suggestion. @santosh-pingle Do you think we could do a line-break?

I've gone through and mocked up all the options, so we can be sure we are talking about the same options. I'll also post link in group chat as it's a lot!

Feedback from @mberg
To confirm does this mean the sdc will no longer support * or will that be supported as an option? I would want to keep the option to not have to display optional on every question. I feel like it’s a bit overwhelming to see it on every question.  Odk and most of the form libraries just use the *.  I think a lot of people are used to the pattern but I see why required text is a nice option too. I would want to disable optional on all questions though as I feel that becomes a bit overwhelming.

@shelaghm
Thanks for sharing the details.
The only pending questions are: what will be the default behavior, and what will be supported from the given table?

@santosh-pingle I recommend that the default is 2 - Required and that is appended to instructions or help text. So that is 2A, 2B, 2C. Default should be separate lines for Required/Optional and additional instructions
I suggest we make the following configurable:

Optional (3)
Asterisk (1)

I'm not sure if we need to add ability to also append the required/optional text behind the question title instead of in the instructions/help field.
@jingtang10 what do you think? Let's discuss

@shelaghm

@santosh-pingle I tested all three options and they seem to work well. I however have a small design request for the Asterisk display

I think we need some spacing between the text and the (). I think the () should have a red text colour.
cc: @shelaghm

@shelaghm should these 3 options be mutually exclusive? Right now you can how all can be turned on at the same time.

I think we need some spacing between the text and the Asterisk.

Yes, agreed. @santosh-pingle we should add one space before the asterisk.

I think the Asterisk should have a red text colour.

From our usability testing we learned that the red color on the asterisk was confusing, some people thought it was an error because it was red. So I don't recommend making the asterisk red.

should these 3 options be mutually exclusive? Right now you can how all can be turned on at the same time.
Yes, you can turn on all of these at the same time, because you might want to show the required text and the asterisk at the same time.

@dubdabasoduba @santosh-pingle @jingtang10

Resolving review comments.


Cleanup httpd.conf

The current WSGI VirtualHost for Cinder API is a big dirty.
We have the same VirtualHost configuration in 2 files, 10-cinder_wsgi.conf and httpd.conf which makes it hard to know which one is actually being used.
The reason why it's duplicated is because we currently have the inclusion of the whole conf.d directory where 10-cinder_wsgi.conf resides commented to disable SSL.
This patch cleans this up a bit and makes sure that we only have the VirtualHost configured in one place, 10-cinder_wsgi.conf and we either include the configuration files from conf.d file or explicitly the Cinder wsgi configuration.
This removes confusion.

/ok-to-test


chore: release 0.1.0

:robot: I have created a release *beep* *boop*
0.1.0 (2022-04-13)
Features

add installer (f81ede7)
add light node upgrade (aad9a37)
add api key (9982791)
add electron tray (ee3a441)
add bee lifecycle management to tray (45a4648)
add GET config endpoint (#25) (cfabe2c)
add os agnostic build system (#34) (aef4ad8)
add static api-key and dist (74b6e32)
add unauthenticated info endpoint (#52) (766ad50)
add winston logger with features commonly used in other JS Team projects (#35) (c3eb0a6)
find free port for app (9639279)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ethersphere/bee-desktop/releases/tag/v0.1.0 :sunflower:


Topic Detection ML service with SAPUI5

When i upload only a text file i received a Error 400 Undefined....How can resolve this?

Hi @ptharso,
Can you provide the full error message and the request payload sent from your browser.
YOu can get that from the browser "developer" tools on the network tab.
Regards
Abdel

I understood nothing....
Obter o Outlook para Androidhttps://aka.ms/ghei36

From: Abdel Dadouche<EMAIL_ADDRESS>Sent: Tuesday, October 9, 2018 11:06:02 AM
To: SAPDocuments/Tutorials
Cc: paulo castro; Mention
Subject: Re: [SAPDocuments/Tutorials] Topic Detection ML service with SAPUI5 (#2705)
Hi @ptharsohttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fptharso&data=02|01||65f8784a1ae84dfb376008d62df05929|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636746907636350759&sdata=%2FjXoXgGF%2F%2Fky9iF2wO2889Jk2dUO2LP72bxsZhKYT7w%3D&reserved=0,
Can you provide the full error message and the request payload sent from your browser.
YOu can get that from the browser "developer" tools on the network tab.
Regards
Abdel
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FSAPDocuments%2FTutorials%2Fissues%2F2705%23issuecomment-428205440&data=02|01||65f8784a1ae84dfb376008d62df05929|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636746907636350759&sdata=Wq6CaTPEk25Xs4zkQCwT4%2BJlfkvvUjLR9C7IGTcx05A%3D&reserved=0, or mute the threadhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAFtwonFH62d8bznfiZOJ7ewk3_E_ZVt8ks5ujK1KgaJpZM4XI0yQ&data=02|01||65f8784a1ae84dfb376008d62df05929|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636746907636350759&sdata=zEVnM9xbS81CsRMUkBIFsLKGIPnMCPNAnG9O5Vt9Swo%3D&reserved=0.

Hi @ptharso
Sorry for the delayed response, but this is TechEd season and I'm flying all over these days.
When using your browser, you can start the "developer tools" by pressing F12, then you can check the "Network tab" to analyze each and every network request.
There is a search facility as well to locate the topic detection request.
Regards

@ptharso,
uploading only one text file should result to this error message:

Invalid request: This service requires at least 2 files or 1 archive

To verify this, you could replace in the /webapp/controller/demo.controller.js file at line 61 error_description to error.message

Hi @ptharso & @choas
I just refreshed the tutorial to reflect some of the service change and tried to make the code a bit simpler
Thanks


Compatibility issue for table header

For some reason, I had compatibility issue with Edge and IE using computedStyle. ClientHeight fixed my issue.

Merged. However, it seems like only a partial fix. IE/Edge allow scrolling a table now, but the headers don't appear to stay fixed to top.