Add opaque ByteString type to support literal ByteStrings.

This PR brings the support of literal bytestring by adding an opaque BuiltinByteString newtype:
-- | An opaque type representing Plutus Core ByteStrings.
newtype BuiltinByteString = BuiltinByteString { unBuiltinByteString :: ByteString }
  deriving stock (Generic)
  deriving newtype (Haskell.Show, Haskell.Eq, Haskell.Ord, Haskell.Semigroup, Haskell.Monoid)
  deriving newtype (Hashable, Serialise, NFData, BA.ByteArrayAccess, BA.ByteArray)

Should fix #3156.

Pre-submit checklist:

Branch

[x] Commit sequence broadly makes sense
[x] Key commits have useful messages
[ ] Relevant tickets are mentioned in commit messages
[ ] Formatting, materialized Nix files, PNG optimization, etc. are updated

PR

[x] Self-reviewed the diff
[x] Useful pull request description
[x] Reviewer requested

Pre-merge checklist:

[ ] Someone approved it
[ ] Commits have useful messages
[ ] Review clarifications made it into the code
[ ] History is moderately tidy; or going to squash-merge

:tada:


Run failed, Exception: Index was outside the bounds of the array.

Hello,
MM v0.0.305 (and previous version) crashes at the beginning of the quantification step with this error: Run failed, Exception: Index was outside the bounds of the array.
The reason may be that the raw files were acquired using a 3 segments.  The first and last segments of the run were collected in negative ion mode using the LIT as the detector.  The central main segment is the gradient elution of the peptides collected in positive ion mode using the OT.  I have since changed this so that the detector is the OT for the full 3-segment run and MM doesn't crash.
These raw files do not cause MQ to crash.  I can provide a raw file upon request if this is something you desire.
Thanks,
Brian

Thanks for the crash report - can you send a raw file to rmillikin at wisc dot edu?
BTW, are you able to perform a search by disabling quantification? Or does the search fail also?

I've tested this data and in the intervening time between when this issue was opened and now the crash seems to have been fixed, though I don't know what change specifically fixed it.
The file in question has ITMS negative mode MS1 for the first segment of the data, FTMS (orbitrap) positive mode MS1 for the majority of the data, and then back to ITMS negative mode. My guess is that negative mode somehow caused a crash but again this seems to have been fixed.
I also tested a file from http://proteomecentral.proteomexchange.org/cgi/GetDataset?ID=PXD004198 as a negative mode test and that also seems to run fine. I'm going to close this for now but feel free to reopen if this is not fixed.


Error on logging in

Hey,
if I try to login, i get an error "unexpectedt error".
Username an password are definetly correct. Meanwhile Garmin sends me an verification Code via EMail ...
Is there a way to solve it?
Thanks in advance
Ramsuk

Please see #117  and close this issue - duplicate


Is there an option to show other fields when doing search?

I want to see the description and when fields as well as the title when dumping all my appointments using
gcalcli search "*"

Is there a built-in option to do it?

--details description will get you the description (if any exists.)  When should be output automatically with any search.
Any reason for doing search "*" instead of agenda?  Are you trying to get all of them ever?

Yes. I came here in a quest to find a tool that would backup/dump all my calendar data into something human-readable, so I can harvest phone numbers, addresses and stuff like this :-)


Problem with wasi-nn 0.6.0 TensorType

I was running a wasmedge server with inference support cloned from here, but with newer dependencies and was facing an error in the GraphExecutionContext's set_input function.
It was an issue with the TensorType parameter. I was passing U8 but it was causing an error in the function
[error] [WASI-NN] Expect tensor type U8, but got I32
It works in wasi-nn 0.4, 0.5 but breaks in 0.6
Now I almost found the change and reason it is happening, This commit is changing the order of the generated TensorType enum (The new position of U8 is the previous position of I32).
So I tried setting the input with TensorType::F64 and it worked.
I couldn't figure out where it is breaking though. Since these are just the bindings for rust, I would like to know where the implementation of it is.
I would love to help if someone can point me in the right direction...

The file you see changing is generated from this WITX file. The upstream spec likely added some more variants to that enum and changed the order at the same time. Just remember that this bindings library represents the upstream spec and as that changes, this must as well.
A note on the future: the wasi-nn specification, like the rest of WASI, is moving towards specifying its interface in terms of the component model. This means that (1) this WIT file will have all the latest changes going forward, (2) soon you may have to compile your program as a component instead of a core WebAssembly module, and (3) this bindings crate will no longer be necessary (probably archived), since users of many more languages will be able to generate bindings on the fly using wit-bindgen.


Footer images

Don't think this is meant to be here :wink: :

Damn! wrong repo.. sorry!!

On Dec 8, 2015, at 11:45, Hannah Wolfe<EMAIL_ADDRESS>wrote:
Don't think this is meant to be here  :
—
Reply to this email directly or view it on GitHub https://github.com/TryGhost/Ghost/pull/6189#issuecomment-162941234.


Gradle uploadArchives removes api dependencies from generated Maven pom file

@fabiocarvalho777 commented on Mon Aug 20 2018

Expected Behavior
Gradle uploadArchives is supposed to upload properly the generated Maven artifact to the configured Maven repository.

Current Behavior
Gradle uploadArchives is removing api dependencies from generated Maven pom.xml file (all compile dependencies are missing).

Context
Because of this issue, the clients of my library are facing compilation issues, since API transitive dependencies are missing.
I have also opened this StackOverflow question for this issue, hoping I could be doing something wrong and that somebody could point it out for me, but unfortunately it didn't get any answer.
Important: I noticed that when working on my development environment, in which I don't need to use uploadArchives, but just install, I get the Maven pom file generated correctly and installed to my laptop local Maven repository. Of course it misses items configured as part of uploadArchives, such as developers and licenses meta-data, but all the dependencies, including the api/compile ones, are there, which makes me think uploadArchives seems to be removing api/compile dependencies when editing the pom.xml file to add meta-data.

Steps to Reproduce (for bugs)

Have a Gradle based project, using maven and java-library plugins, making use of api and implementation dependencies.
Configure the Maven repository details and credentials, have a Maven pom file generated automatically by Gradle, and uploaded to the Maven repository.
You will notice that the api dependencies, which are supposed to be compile dependencies in the Maven pom file, are missing.

Real example of the issue below

Gradle project with an API dependency
Gradle configuration for generating and uploading Maven artifact
Generated and uploaded pom file (notice the API dependency (org.slf4j:slf4j-api:1.7.21) is missing)
Sample build

Your Environment

Build scan URL: https://gradle.com/s/a45h7sk36l7ts

This is an ordering problem. As soon as you call mavenDeployer.pom, the mappings are copied and new mappings are ignored. However, you are calling this from the parent project and later in the child project you apply the java-library plugin. I tried to fix this, but it's tough to do without breaking backwards compatibility. Therefor I suggest wrapping the pom block in afterEvaluate. This is also necessary to make the line description = project.description work. Right now you are executing this before the subproject has been configured, so its description will always be empty.


GenericFailure - tls handshake error

Hi,
I've got this error recently with the<EMAIL_ADDRESS>with Node.js 21.7.3
Node.js web server at 8080 is running...
node:internal/process/promises:289
            triggerUncaughtException(err, true /* fromPromise */);
            ^

[Error: failed to connect session: tls handshake error] {
  code: 'GenericFailure'
}

Node.js v21.7.3

Even with the quick start sample that you can find on this page, is enough to get the same error:
https://dashboard.ngrok.com/get-started/setup/nodejs
I'm using the authorization token and as a fallback, I've switched back to the Windows agent that works fine.

Hello, thanks for writing in! Can you tell us more about your environment (type of machine, operating system and kernel version, etc)? Are you running the linked example code exactly?
When this has happened before it has been an issue with system libraries on the device, a workaround for which is compiling ngrok-javascript on the device itself rather than using the pre-compiled published versions. If you are comfortable trying that, it requires a working rust compiler and node setup, after which yarn install then yarn build should bake a binary optimized for the local environment.
Looking forward to hearing back!

Nothing looks amiss with the code here. I was able to run it on both Windows 11 Home 23H2 and Windows Server 2022 Datacenter 21H2 machines.
The generic TLS handshake error is likely an issue with the pre-built code not working well with the crypto libraries on the local machine. In cases like that building the SDK locally will usually solve the issue, if you want to attempt going that route. Since the golang agent is working it's unlikely to be a network issue. Another possibility is trying to run the python SDK, but that is built on the same github runner machines and may run into the same error.

We'll go ahead and close this ticket out, feel free to reopen if you need help with a local build, or if any more information becomes available. Thanks for writing in!


gaussian kernel size

Sigma of Gaussian used as the target of MSE criterion might be 0.25, despite 1px described in the article.
See:
src/util/img.lua Line 214
local g = image.gaussian(size)
'image'

The default value of the horizontal and vertical standard deviation sigma_horz and sigma_vert of the Gaussian kernel is sigma, where the latter has a default value of 0.25.

The sigma value is a function of the kernel size, but you're right it doesn't quite match up with the paper. You can check out the comments in this issue: https://github.com/anewell/pose-hg-train/issues/25

Thanks for reply! I clearly understand the point now.


#3305 File completion on remote workspace duplicates directory entries

Also fixes 14.0 references to VS SDK. Not sure how 15.0 references leaked into them.

👍

Ouch, need another - @int19h  ?


Add Stable Diffusion 3 guide for KerasHub

@divyashreepathihalli
This guide covers all the APIs for SD3 in KerasHub. Please let me know if any changes are required.

@divyashreepathihalli
Thank you for the detailed review. The comments should now be addressed.


ClassCastException when groupingBy (v0.9.1)

dead simple to reproduce:
code:

import com.fasterxml.jackson.databind.ObjectMapper;
import io.vavr.Tuple;
import io.vavr.Tuple2;
import io.vavr.collection.List;
import io.vavr.collection.Map;
import java.io.IOException;
import java.io.InputStream;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;

@RunWith(JUnit4.class)
public class PatchTest {

  @Test
  public void testUserAddressPatchOperations() throws IOException {
    InputStream inputfile = this.getClass().getResourceAsStream("/comments.json");

    ObjectMapper mapper = new ObjectMapper().findAndRegisterModules();

    List<Map<String, String>> results = mapper.readValue(inputfile, List.class);
    Map<String, List<Tuple2<Tuple2<String, String>, List<Tuple2<String, String>>>>> result = results
        .groupBy(m -> m.get("table_schema").getOrElseThrow(RuntimeException::new))
        .mapValues(l ->
            l.map(m ->
                Tuple.of(
                    Tuple.of(
                        m.get("table_name").getOrElseThrow(RuntimeException::new),
                        m.get("comment").getOrElseThrow(RuntimeException::new)
                    ),
                    l.filter(c -> c.get("column_name").get() == null).
                        map(c ->
                            Tuple.of(
                                c.get("column_name").getOrElseThrow(RuntimeException::new),
                                c.get("comment").getOrElseThrow(RuntimeException::new)
                            )
                        )
                )
            )
        );
    System.out.println(result);
  }
}

data file comments.json
[
  {
    "table_schema": "AppLog",
    "table_name": "PageActivity",
    "column_name": null,
    "comment": "Activity log for pages"
  },
  {
    "table_schema": "AppLog",
    "table_name": "PageActivity",
    "column_name": "ActivityIdentifier",
    "comment": "Identifier of the activity used for group reports"
  }
]

error:
java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to io.vavr.collection.Map

	at io.vavr.collection.Collections.groupBy(Collections.java:196)
	at io.vavr.collection.Collections.groupBy(Collections.java:186)
	at io.vavr.collection.List.groupBy(List.java:904)

By default all json objects maps to java.util.LinkedHashMap. Try this:
List<Map<String, String>> results = mapper.readValue(inputfile,
    new TypeReference<List<Map<String, String>>>() {});

I took a slightly different approach (addressing the issue you bring up).
Map<String, String>[] results = mapper.readValue(inputfile, Map[].class);
Using an [] is my preferred way to give jackson what it needs without introducing another anonymous type.
That does the trick.
Previously, when I had this issue, it failed to marshal. I am not familiar with how one makes a jackson plugin but it is possible to have it ask vavr for a Map-like thing? Then Vavr's type could be supplied.

Map<String, String>[] results = mapper.readValue(inputfile, Map[].class);

interesting :smile:

it is possible to have it ask vavr for a Map-like thing? Then Vavr's type could be supplied.

I'm not sure I understand your question. When a jackson deserializes an object, it must know which class it should use to return. If the class is not specified, it uses a java.util.LinkedHashMap. As I know, you can specify a custom class in three ways: through a .class object in readValue method, through a TypeReference (for generics specify) or if it is a field of another outer class (bean). This scenario has nothing to do with the vavr-jackson module. Simply if you specify a vavr collection as a object of deserialization and do not register a module, you will get an error.
However, Jackson is a huge library, maybe I do not know something

Glad you like that syntactic trick. If you just need a collection of elements then an array does the trick without all the extra non-sense of a TypeReference to get around Java's generics mess.
As for the rest of it: I know jackson has callback methodology support for basically saying: "I found this JSON_ARRAY, what type should I instantiate for it?
But, I am not that knowledgable on the Jackson internals either


3D shape analysis of cylindrical objects with two spheres

It has recently come to my notice that not all geometry of this type are correctly detected and disposed of.
I suggest we use coding and algorithms to solve this issue in the future.
Any kind of resulting performance hit is well justified.

Just like the cylindrical objects with two spheres, I now find it necessary to dispose of anthropomorphic animals as well.
The coding and algorithms need to be implemented immediately.

The truth that matters is you guys has never been respected the dump provider since the first time you guys distributed the dump to some unqualified kids without his consent. And you guys never want to take any responsibility of that. And moreover, he probably will never give you guys updates and new charts.
If I did not make any drama like doxing threats and shits, those videos would be still on YouTube.
And most of all, you guys even write an email to SEGA and troll them. I have the content of that email and it is just enough to trigger the manhunt already if they took it seriously.
Do you remember what is the purpose why the provider send you guys the dump? The provider was just a naïve Japanese arcade enthusiast that have never know about the foreign community, and he has never known how toxic and degenerate it is. His main purpose is seek help to get the game running offline with full functionality and emulate the ALL.net. But what you guys did is just shittalking and trolling and make shits behind his back.
Let me point out how much contribution you guys did: The most work in arcade shits are belong to Samyuu, he is the sole person that worked hard everyday to get the game running. And for modding is Skyth, he is just using his time to make MikuMukuModel for you guys to make furry and nude shits into the game. Brolijah has some key contributions to both projects and even 60fps patch for RPCS3. And Stewie coochie is just testing and try-and-figure shits like a kid. KujiKita made a good but not practical PD_Tool but his code is quite usable. and Waelwindows is just lurking for a year round after finished his quite packed tool but still unusable. And the rest? Just fuking nudeposting, shittalking and trolling new people. After many years of modding, you guys can't even have a good tutorial or any effort to guide new people.
Not to mention that Japanese really hate modding and converting PjD motions and models into MMD.
And you guys have never been thinking back about what you did to Sam lol. Whatever feature come on TLAC or ELAC, where ever it comes first, you guys just be like: "make it for AFT plz" or "make it for PDA plz"... But I'd rather skip talking about Samyuu for now and get to the main point.
Things that you guys have done behind the provider's back did cause a very bad impression about the foreign community to the Japanese community and give the provider great danger that he may be hunted down already.
In conclusion, it is not so surprise that you guys will never have any more updates coming and AFT may never be properly publicized by any of you since no one of you guys have infrastructure to keep those stuff safely and securely.

That's cool and all but we really need to step it up a notch, Project DIVA Furry Tone is advancing at a rapid pace and it might soon already be too late.
I suggest periodically screenshotting the model view, reverse Google Image searching the resulting image and looking out for blacklisted keywords. This way we can both ensure to take away the freedom from the user as well as ruining their privacy - it's a two in one solution!


Launch Plan: HogQL

Context
Over the last few weeks, the scope of HogQL has grown and been met with a few (needed, not meant critically) delays. What we originally understood to be just HogQL has grown to include a new Event Explorer, direct SQL access, a beta process, and the need to address some potential security concerns.
HogQL has been stealth launched, but from a marketing perspective we want to put some resources behind the launch as soon as possible because this launch is both significant in scope and is a powerful USP compared to many competitors.
At the offsite, the marketing team discussed what we'd like to see from a launch and what we'd need to launch confidently. I took responsibility for coordinating it. So, here we go.
Status
Launch activity for HogQL is currently on pause, as there needs to be some proper pentesting checks run by @lharries first.
We have a drafted blog post, which was all that was originally planned for the launch.
Launch Plan
Launch day activity

[ ] Blog post announcement - @joethreepwood
[ ] Dedicated blog post art - @lottiecoxon
[ ] Include in weekly changelog (short info, link to main announcement) - @joethreepwood
[ ] Docs update - Probably @pjhul ?
[ ] Tutorial following a typical HogQL use case - @ivanagas
[ ] In-app banner announcement - @joethreepwood
[ ] Social posts on all platforms - @joethreepwood
[ ] User Slack announcement - @joethreepwood
[ ] ShowHN / HackerNews announcement - @jamesefhawkins

Launch week activity

[ ] Paid ads around this new feature & direct SQL access - @joethreepwood to tell Hey Digital
[ ] Update all competitor comparisons - @joethreepwood

Follow-on activity

[ ] Technical blog post about how we built HogQL (or other topic) - @joethreepwood / @mariusandra
[ ] Case study about a user who has adopted this feature - @joethreepwood

Requested Feedback
I'd love feedback on all of the above.
We also need input on when we're likely to be able to launch this activity, so we can create the content in advance. In a vacuum, I'd propose a launch date of April 17th.
That date gives us this week to coordinate, plus most of next week for security testing and any other changes.
I'd love feedback from people tagged above, plus @andyvan-ph and @charlescook-ph

Looking good. Thoughts from me:

17th April won't happen. Marius can provide more context, but my best guess is end of April is more realistic.

I think we should do a video / trailer for the launch. It's not something we normally do, but would be a good stretch and a useful trial run for PostHog 3000, which we'll definitely want one for.

Paid ads?

Given the importance of the launch, I think doing some newsletter sponsorships for HogQL would be worthwhile. Maybe Pointer + TL;DR. Thoughts @charlescook-ph?

Hey, I'm off from basically tomorrow until the 17th of April (excluding), so we're going to need someone else to finish the missing features, UX improvements, docs, etc, if we want to hit that deadline. End of April sounds more likely. We'll obviously be testing with beta users when I'm off, but I'd leave an extra 2 weeks for the final polish.
The scope of this launch is also making me a bit nervous. Normally when we "launch" features, they're not finished. We slap a "beta" label on a thing, and remove a feature flag. However in this case, if we're launching it with a video trailer and paid ads, this "SQL support" better work damned well out of the box. This sets different expectations on engineering. I also can't predict the timing and results of the pen test. All of it to say: let's keep being flexible :).
To be clear, I like the idea of a big launch. This is a big enough differentiating feature that any promotion for it will attract a lot of curious new users.

I'm happy to push back a launch date to whenever works for others - my goal is just to have a hard deadline that we can all coordinate to. Flexibility guaranteed.
Likewise, happy to hold back paid ads until a few weeks later.
I'm not very convinced by video trailer. I'm sure we could find a way to make it fun, but I'm a big fuzzy on what the content of it would be or where we'd use it. @andyvan-ph Are you envisaging a paid video ad, a video tutorial, or something else?

Can we make the video self-ironic: "so what are you working on" - "a trailer to promote the launch of SQL support" - "how corporate of you... wait, how is it that SQL support is something you launch... doesn't everyone just support SQL?" - "nope, turns out it's a big deal" - "odd" - "I know, right" --> cut to some snazzy message about this not being 2004 anymore.

Hell, we can make that as a gif. 🤷

Yeah on paid ads and newsletter sponsorships, we usually wait a few weeks til after launch of new features just so we have time to iron out any issues. Once @mariusandra is confident enough, we can pick a specific week to do a blast of paid activity, but it can be in May/June - it's ok if it's separate from the other launch activities. We'd be looking at ~$20k spend here.
I'm going to be a boring badger and say we shouldn't make a trailer - it feels a bit forced for its own sake and we're not good at video ads. Tutorial content and GIFs showing snippets - 100%, but I think we'll be wasting time and $$$ making a video ad.

(Also generally as a marketing team I'd like to encourage us to not get caught up trying to do big, highly-coordinated launch campaigns - we're not great at them and it's something we've explicitly said we don't want to be good at.)

A few of ideas:

Tutorial and tutorial video on some basic HogQL (insights) use cases (already mentioned 👍)
An intro to HogQL statements, create a "cheat sheet" like this
Instead of a "trailer," do a video, twitter thread, Slack post(?) answering 10 old Slack questions with HogQL
An English to HogQL translator using ChatGPT like this
Understanding HogQL for non-technical people. Learning the basics of databases with HogQL.
A peek behind the scenes of what HogQL is doing

(Also generally as a marketing team I'd like to encourage us to not get caught up trying to do big, highly-coordinated launch campaigns - we're not great at them and it's something we've explicitly said we don't want to be good at.)

Agree as a rule (and especially video-wise) but (just to add context) this was something we discussed at the offsite because the launch plan and scope kept changing, so some level of coordination felt needed.

@jamesefhawkins – We included a ShowHN announcement as part of the original launch plan.  I figure, if we do, we maybe save it for a couple of days after live just to iron out kinks.


fix: optimise rerendering in walletConnectToDapps provider

Description

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes #
Risk

Testing

Engineering

Operations

Screenshots (if applicable)

Current dependencies on/for this PR:

develop

PR #5293

PR #5294

PR #5295

PR #5296   👈

This comment was auto-generated by Graphite.


finetune on IMDB dataset

Hello! Glad to see your excellent work! I retrained unsup simcse on my device following readme document and finetuned it on imdb dataset to  improve the performance of sentiment classification. I also converted simcse to huggingface format after training the simcse. But when I load simcse when finetuning on imdb, I got the following error:

I have no idea about this. Could you point out what mistakes I made. Thanks a lot.

It seems that you are using a different type of layer norm (layer norm's parameters should be layer norm.weight/bias, not gamma/beta), can you check whether everything is consistent between train and fine-tune?

thanks a lot! I will check it.


Conditional breakpoint

The VSCode debugger supports conditional breakpoints, but it doesn't seem to work in the current code. Would be nice to be able to use this feature.

From what I'm seeing. this looks to work fine on Android, but fails on iOS. I think it's failing somewhere in remotedebug-ios-webkit-adapter (the translation layer we use to go from chrome debug protocol -> WebKits protocol).


Small Change to Dependency Update README.md

The project is called streams... It only works as streams you need to refactor the repository or just update this line in the docs to be correct.
Description of change
The import says iota-streams which is probably what you want but that fails. The project is currently called streams. I am just correcting it and showing the project the issue.
Type of change
Choose a type of change, and delete any options that are not relevant.

Documentation Fix

How the change has been tested
I tested it.

I should note that previously when I ran the documented dependency line I received the error,
> cargo build
    Updating git repository `https://github.com/iotaledger/streams`
error: no matching package named `iota-streams` found
location searched: https://github.com/iotaledger/streams?branch=develop
required by package `geo_service v0.1.0 (/home/user/Desktop/myProject)`

Thank you, I have updated the entire readme with a new example


Extension is spewing a warning related to file.autoSave/autoSaveDelay

This is coming out in our console log:
[ms-python.python] Accessing a window scoped configuration for a resource is not expected. To associate 'files.autoSave' to a resource, define its scope to 'resource' in configuration contributions in 'package.json'.

I'm guessing this is related to the autoSave changes?

I'm still getting this warning.

Oops, not merged https://github.com/microsoft/vscode-python/pull/8641

Not validated. I'm still seeing this warning continually spammed.
@DonJayamanne I'm moving this back to backlog.

Trying something different.


Should pickups have a duration?

Identified requirement: show users how long a pickup will take.
Possible solutions:

as extra text field to the pickup
as end time field

guess it isn't necessary to have a machine readable end time and a text field is more flexible, useful for vague times like "max. 1h" or "circa 10 min"

Yep, it's easiest to add an optional comment field to the pickup date.

Comment field will be tracked in #158


(Migration) change interface of contribution and getters for invest page

At migration to auth-os we need to change an interface of methods, that retrieve data for ./invest page and method, that makes a contribution to the crowdsale.

Token data getters from auth-os https://github.com/poanetwork/token-wizard/commit/6d991018f29b5bcacba65aa2ec7b640a7cf5e64a


AD&D1e Revised

basically just a rollback of last weeks single column not spanning full width 'fix' and a proper redo that doesn't cause collateral issues with the spell header layout.

Submission Checklist
Required

[x] The pull request title clearly contains the name of the sheet I am editing.
[x] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[ ] The pull request makes changes to files in only one sub-folder.
[ ] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

New Sheet Details

The name of this game is: <   >  (i.e. Dungeons & Dragons 5th Edition, The Dresden Files RPG)

The publisher of this game is: <   > (i.e. Wizards of the Coast, Evil Hat)

The name of this game system/family is: <   > (i.e. Dungeons & Dragons, FATE)

[ ] I have followed the Character Sheets Standards when building this sheet.

[ ] I have authorization from the game's publisher to make this an official sheet on Roll20 with their name attached.
[ ] This game is not a traditionally published game, but a copy of the game rules can be purchased/downloaded/found at: <   >
[ ] This sheet is for an unofficial fan game, modification to an existing game, or a homebrew system.

Changes / Description

Character Sheet Info Roll20 Internal Use only.


Add pluggable logger

When adding the service in the Startup class you should also be able to pass a logger.


fix(macOS): Don't include iOS pull-to-refresh control

Summary
In the past couple weeks, a new feature was added to allow for pull to refresh support. This was implemented using a UIRefreshControl which breaks the support for react-native-macos as macOS does not have access to that library. I have moved functions relating to pull to refresh to be inside an if the target is not macOS so that it can compile on macOS.
Test Plan
Nothing has changed to the library except it now can compile again in a react-native-macos project. I created a project, added the dependency, fixed these things and it worked again. No code was added, just platform conditionals were added.
Compatibility

OS
Implemented

iOS
❌

Android
❌

macOS
✅

Checklist

[X] I have tested this on a device and a simulator
[ ] I added the documentation in README.md
[ ] I mentioned this change in CHANGELOG.md
[ ] I updated the typed files (TS and Flow)
[ ] I added a sample use of the API in the example project (example/App.js)

This is actually green, but it looks like due to this repo moving to a different GitHub org CircleCI isn't reporting back the status. See https://app.circleci.com/pipelines/github/react-native-webview/react-native-webview?branch=pull%2F1636


UP-4381: Styling improvements to the search results (search portlet)

Added styling the the search results aspect of the Search Portlet. Also added Bootstrap classes to the search form to match the styling found in the rest of uPortal:
New Search Results Styling:

Old Search Results Styling:

:+1:  YES.  Please.  More of this.  :heart:

:+1:


Remove watchtower in runtime

Background
I've tried using an altruistic watchtower https://lightningnetwork.plus/watchtower
Occasionally I can see a batch of similar error messages in the logs:
2022-02-08 23:42:15.021 [ERR] WTCL: (anchor) SessionQueue(03e93bd1d5befc163acaded21568fd77650500d9b5b88c4dccf4607e070cf293b0) unable to dial tower at<PHONE_NUMBER>e89600b3582513c648d46213dc425c7666e3380faa7dbb51f7e6a3d6@<IP_ADDRESS>:9911: read tcp <IP_ADDRESS>:47676-><IP_ADDRESS>:9911: i/o timeout

networking else seems to be unaffected from PoV of my node. Is my assumption correct that this is likely related to that watchtower node (possibly being overloaded or something)? I believe that during those short periods also HTLCs my node is supposed to forward timeout. Can this be related to the problems with the watchtower connectivity or is this some spurious correlation?
Regarding LND my issue now is how to remove this watchtower.
I've tried with:
lncli wtclient remove<PHONE_NUMBER>e89600b3582513c648d46213dc425c7666e3380faa7dbb51f7e6a3d6 but always get back:
[lncli] rpc error: code = Unknown desc = tower has unacked updates
Is there any way to forcefully remove a watchtower without restarting LND with wtclient.active=false.
(I am not even sure if that is safe.) What I want to achieve is simply send a (signed) message to the watchtower "don't bother anymore with sending penalty transactions for me". Or at least how can I get more details about what updates are unacked, since it seems after I enabled this watchtower for test purposes there is no way to get rid of it anymore.
Your environment
lnd 0.14.1
Linux node 5.10.17 # 1-NixOS SMP Tue Jan 1 00:00:00 UTC 1980 aarch64 GNU/Linux
bitcoind 0.21.0 (bitcoin core)

You can get information about the tower with lncli wtclient tower ${TOWER_PUB_KEY} --include_sessions.
Do not forget to include the --include_sessions flag so you get the information about the NumBackups, NumPendingBackups and the MaxBackups (watch tower policy).
I am not aware of any cmd for flushing the last status to the tower (@Roasbeef ?) However, the client will try to send any pending update in the queue to the tower when the server is shutting down. After stopping lnd you may be able to restart it and remove the tower without having to disable the wtclient in the config (check the logs before starting the server again to see if there is any related errors).

Closing as a duplicate of: https://github.com/lightningnetwork/lnd/issues/4420


[QUESTION] Adding trees manually on txt file

Description
I'm trying to add trees manually to the txt file on lightgbm. This is because I want to train the same lightgbm model on different computers with slightly different datasets and eventually try to incorporate all the trees in a new bagged model (the parameters are the same throught all computers, the feature_infos are continously adjusted, and I add iteratively the tree_sizes and the new tree). It works perfectly for a few iterations, but eventually the following error appears:
LightGBM] [Fatal] Model format error, expect a tree here. met
[LightGBM] [Warning] Model format error, expect a tree here. met
libc++abi: terminating due to uncaught exception of type std::runtime_error: Model format error, expect a tree here. met

My question is if there is a more intelligent way to add this trees? I don't know if the problem is that I am not taking something into account when adding trees to the file, or there is a better way to add the trees that I haven't found yet. Any suggestions would be greatly appreciated.
For more context, the new trees are constructed by iterating over the previously saved model. Therefore it is a new iteration from an already functioning model:
lgb_model_client = lgb.Booster(model_file='global_model.txt')
num_additional_rounds = 1
lgb_model_client = lgb.train(params, lgb_train, num_boost_round=1, init_model=lgb_model_global)

From that new iteration, i save the new tree iteration (last tree generated) and add it to the global model.
Reproducible example
model_no_issue.txt
model_issue.txt
It works when I load the following tree:
import lightgbm as lgb
lgb_model_client = lgb.Booster(model_file='model_no_issue.txt')

When I add another tree with the same parameters, the error above mentioned appears:
import lightgbm as lgb
lgb_model_client = lgb.Booster(model_file='model_issue.txt')

The way I add the trees is

add to the line 10 called tree_sizes the size of the new tree (in this example 3540)
add the new tree before "end of trees" (in this example Tree=11)

Are there parameters that limit this intuition?
Environment info
LightGBM version or commit hash:
Command(s) you used to install LightGBM
I am using lightgbm 4.3.0
pip install lightgbm

Additional Comments

Thanks for using LightGBM.
I've reformatted your post a bit to make the difference between code, output from code, and your own words a bit clearer. If you're new to GitHub and/or writing markdown, please see https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#quoting-code to learn about how I did that.

I don't immediately see what's wrong with your model file but in general... don't manually merge files like this. There are just too many ways for it to go wrong (mixed line endings, accidental inclusion of special characters, failure to update all parameters correctly, etc.).
If it's acceptable to not be training both models at the same time, do this:

train the first model
save it to a text file with .save_model()
move that file over to the other machine
train another model on that machine, with new data, passing the path to the first model file to init_model

That will cause LightGBM to begin boosting from the end of the first model, using your new dataset. It's not exactly the same as the process you described (where you train two models from scratch and then combine them), but it's a good way to incorporate learnings from new data into an already-training model.
Like this pattern:
https://github.com/microsoft/LightGBM/blob/28536a0a5d0c46598fbc930a63cec72399a969e4/tests/python_package_test/test_engine.py#L1050-L1063
There are some more details on how to do this at https://stackoverflow.com/questions/73664093/lightgbm-train-vs-update-vs-refit/73669068#73669068

There is an API in LightGBM's C API, LGBM_BoosterMerge(), that I believe can be used to take 2 models and combine them together without training, but it's not currently exposed in the Python package.
https://github.com/microsoft/LightGBM/blob/28536a0a5d0c46598fbc930a63cec72399a969e4/src/c_api.cpp#L2008-L2009
We could consider adding that in the Python package.


I'm getting a blank page

I've been trying to use apigility with doctrine for a long time now, but due the updates it was really hard to find a compatible version and now I'm having a weird behavior.
I will put all the steps I made here so you can reproduce and see for yourself.
The problem here is: I have doctrine orm module installed, configured, and I'm getting the information, it's returning everything if I var_dump or print_r, however when I try to pass that information (array) via return $users on the resource method, all that appears is a blank page.
1 - Install the apigility version 1.3.1 (The only version that composer didn't screamed with doctrine orm module compatibility errors):
composer create-project -sdev zfcampus/zf-apigility-skeleton:^1.3.1
2 - Update using composer (the --lock is to make sure it won't update to the latest versions and mess everything up)
composer update --lock
3 - Put the doctrine requirement on your composer.json:
"require": {
    // ....
    "doctrine/doctrine-orm-module": "0.*"
},

4 - Update using composer, again in order to add the doctrine to the vendor folder - and to the lock file as well:
composer update --lock
5 - Put the necessary modules information in order to load the modules - config/modules.config.php:
'DoctrineModule',
'DoctrineORMModule',

6 - Creating the necessary configuration files:
config/autoload/doctrine-orm.global.php:
<?php
return array(
    'doctrine' => array(
        'connection' => array(
            'orm_default' => array(
                'driverClass' => 'Doctrine\DBAL\Driver\PDOMySql\Driver',
                'params' => array(
                    'host'     => 'localhost',
                    'port'     => '3306',
                ),
            ),
        ),
    ),
);

config/autoload/doctrine-orm.local.php:
<?php
return array(
    'doctrine' => array(
        'connection' => array(
            'orm_default' => array(
                'params' => array(
                    'user'     => 'root',
                    'password' => '',
                    'dbname'   => 'apigility',
                ),
            ),
        ),
    ),
);

7 - Enter in development mode:
php public/index.php development enable
8 - Creating the domain model module (User - under module folder):
module/User/config/module.config.php:
<?php
return array(
    'doctrine' => array(
        'driver' => array(
            'my_annotation_driver' => array(
                'class' => 'Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver',
                'cache' => 'array',
                'paths' => array(
                    0 => __DIR__ . '/../src/User/Entity',
                ),
            ),
            'orm_default' => array(
                'drivers' => array(
                    'User\\Entity' => 'my_annotation_driver',
                ),
            ),
        ),
    ),
);

module/User/src/User/Entity/User.php:
<?php

namespace User\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * @ORM\Entity
 */
class User {
    /**
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     * @ORM\Column(type="integer")
     */
    private $id;

    /**
     *
     * @var string @ORM\Column(name="name", type="string", length=255, nullable=true)
     */
    private $name;

    public function setName($name)
    {
        $this->name = $name;
        return $this;
    }

    public function getId()
    {
        return $this->id;
    }

    public function getName()
    {
        return $this->name;
    }

    public function setId($id)
    {
        $this->id = $id;
        return $this;
    }
}

9 - Create the table on the database based on the entity:
php public/index.php orm:schema-tool:create
10 - Start apigility server and create an API called API and a REST service called Users:
php -S <IP_ADDRESS>:8080 -t public public/index.php
11 - Change the files apigility created:
module/API/src/API/V1/Rest/Users/UsersResource.php:
<?php

namespace API\V1\Rest\Users;

use Doctrine\ORM\EntityManagerInterface;
use User\Entity\User;
use ZF\ApiProblem\ApiProblem;
use ZF\Rest\AbstractResourceListener;

class UsersResource extends AbstractResourceListener
{
    private $em;

    public function __construct(EntityManagerInterface $em) {
        $this->em = $em;
    }

    /**
     * Create a resource
     *
     * @param  mixed $data
     * @return ApiProblem|mixed
     */
    public function create($data) {
        return new ApiProblem(405, 'The POST method has not been defined');
    }

    /**
     * Delete a resource
     *
     * @param  mixed $id
     * @return ApiProblem|mixed
     */
    public function delete($id) {
        return new ApiProblem(405, 'The DELETE method has not been defined for individual resources');
    }

    /**
     * Delete a collection, or members of a collection
     *
     * @param  mixed $data
     * @return ApiProblem|mixed
     */
    public function deleteList($data) {
        return new ApiProblem(405, 'The DELETE method has not been defined for collections');
    }

    /**
     * Fetch a resource
     *
     * @param  mixed $id
     * @return ApiProblem|mixed
     */
    public function fetch($id) {
        $qb = $this->em->createQueryBuilder();
        $qb->select('u');
        $qb->from(User::class, 'u');
        $qb->where('u.id = :id');

        $qb->setParameters(array(
            'id' => $id
        ));

        $user = $qb->getQuery()->getArrayResult();

        return $user;
    }

    /**
     * Fetch all or a subset of resources
     *
     * @param  array $params
     * @return ApiProblem|mixed
     */
    public function fetchAll($params = array()) {
        $qb = $this->em->createQueryBuilder();
        $qb->select('u');
        $qb->from(User::class, 'u');

        $users = $qb->getQuery()->getArrayResult();

        return new UsersCollection($users);
    }

    /**
     * Patch (partial in-place update) a resource
     *
     * @param  mixed $id
     * @param  mixed $data
     * @return ApiProblem|mixed
     */
    public function patch($id, $data) {
        return new ApiProblem(405, 'The PATCH method has not been defined for individual resources');
    }

    /**
     * Replace a collection or members of a collection
     *
     * @param  mixed $data
     * @return ApiProblem|mixed
     */
    public function replaceList($data) {
        return new ApiProblem(405, 'The PUT method has not been defined for collections');
    }

    /**
     * Update a resource
     *
     * @param  mixed $id
     * @param  mixed $data
     * @return ApiProblem|mixed
     */
    public function update($id, $data) {
        return new ApiProblem(405, 'The PUT method has not been defined for individual resources');
    }
}

module/API/src/API/V1/Rest/Users/UsersResourceFactory.php:
<?php

namespace API\V1\Rest\Users;

use Doctrine\ORM\EntityManager;

class UsersResourceFactory
{
    public function __invoke($services)
    {
        $em = $services->get(EntityManager::class);
        return new UsersResource($em);
    }
}

module/API/src/API/V1/Rest/Users/UsersCollection.php:
<?php

namespace API\V1\Rest\Users;

use Zend\Paginator\Adapter\ArrayAdapter;
use Zend\Paginator\Paginator;

class UsersCollection extends Paginator
{
    public function __construct($userCollection) {
        parent::__construct(new ArrayAdapter($userCollection));
    }
}

Now, if i try to access: <IP_ADDRESS>:8080/users all that I got is a blank page. The weird thing is that doctrine is returning everything from the database, just enter on UsersResource::fetchAll() and add var_dump($users) you will see that the array is there with all the values.
What is happening, anyone knows?

@Ocramius @weierophinney @webimpress @jguittard

Blank page, with what status code?

@Wilt - The status code is 200 and the errors is enabled.

Happen the same here.. @viyirenov Did you figured out how to fix it?

@viyirenov did you figure out how to fix?

This repository has been closed and moved to laminas-api-tools/api-tools; a new issue has been opened at https://github.com/laminas-api-tools/api-tools/issues/19.


errors benchmarking with multiple orderers

Hi everyone,
I recently have problems with running Caliper under fabric-ccp config with multiple orderers.
I already successfully ran Caliper under fabric-ccp (connected to all 3 orderers) to benchmark a Kafka-based fabric network with 3 orderers.
For this time, I regenerate the configs file, bring up the same fabric network again. The fabric network still works fine. I can also successfully use Caliper to benchmark it under fabric.json config (i.e. connect to only 1 orderer). However, when I try it with fabric-ccp on 3 orderers, I receive the errors.
Update: I tried to run the basic default test of caliper 2org1peergoleveldb with fabric-ccp, but it gave me the same error. This is weird. Maybe Caliper might have clashed with my system in previous run !?
Updat1: Okay, I just rebuild the whole caliper (npm rebuild, then npm install). It works fine now. I think this is not a random error as I got the error on both my laptop and nodes on cluster.
info: [bench-flow.js]: ####### Caliper Test #######
info: [adapters/fabric-ccp]: Fabric SDK version: 1.1.0; TLS: none
warn: [adapters/fabric-ccp]: Org1's registrar's materials found locally. Make sure it is the right one!
warn: [adapters/fabric-ccp]: Org1's admin's materials found locally. Make sure it is the right one!
warn: [adapters/fabric-ccp]: client0.org1.example.com's materials found locally. Make sure it is the right one!
info: [adapters/fabric-ccp]: mychannel successfully created
info: [adapters/fabric-ccp]: Sleeping 5s...
info: [adapters/fabric-ccp]: Org1's peers successfully joined mychannel: peer0.org1.example.com,peer1.org1.example.com,peer2.org1.example.com
info: [adapters/fabric-ccp]: Sleeping 5s...
info: [adapters/fabric-ccp]: Installing chaincodes for mychannel...
info: [packager/Node.js]: packaging Node from /users/quangtdn/caliper/src/contract/fabric/simple/node
info: [adapters/fabric-ccp]: simple@v0 successfully installed on Org1's peers: peer0.org1.example.com,peer1.org1.example.com,peer2.org1.example.com
info: [adapters/fabric-ccp]: Instantiating simple@v0 in mychannel. This might take some time...
error: [adapters/fabric-ccp]: The following errors occured while instantiating simple@v0 in mychannel:
- Event hub error from peer0.org1.example.com during instantiating simple@v0 in mychannel: Received status message on the event stream. status:FORBIDDEN
- Event hub error from peer1.org1.example.com during instantiating simple@v0 in mychannel: Received status message on the event stream. status:FORBIDDEN
- Event hub error from peer2.org1.example.com during instantiating simple@v0 in mychannel: Received status message on the event stream. status:FORBIDDEN
error: [bench-flow.js]: Error: Error: Event hub error from peer2.org1.example.com during instantiating simple@v0 in mychannel: Received status message on the event stream. status:FORBIDDEN
at EventRegistration.es.eventHub.registerTxEvent [as onError] (/users/quangtdn/caliper/src/adapters/fabric-ccp/fabric.js:1129:41)
at ChannelEventHub._closeAllCallbacks (/users/quangtdn/caliper/node_modules/fabric-client/lib/ChannelEventHub.js:559:15)
at ChannelEventHub._disconnect (/users/quangtdn/caliper/node_modules/fabric-client/lib/ChannelEventHub.js:451:8)
at ClientDuplexStream. (/users/quangtdn/caliper/node_modules/fabric-client/lib/ChannelEventHub.js:381:11)
at emitOne (events.js:116:13)
at ClientDuplexStream.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:250:11)
at ClientDuplexStream.Readable.push (_stream_readable.js:208:10)
at readCallback (/users/quangtdn/caliper/node_modules/grpc/src/client.js:312:14)
info: [demo.js]: [Transaction Info] - Submitted: 0 Succ: 0 Fail:0 Unfinished:0
info: [bench-flow.js]:
#######################################
Test summary: 0 succeeded, 0 failed
#######################################
info: [scripts/main.js]: Benchmark run successfully
Thank you !

@quangtdn Looks like the peer rejects your connection by force. Probably because of authentication issues. Double check that you use the same certs on both server and client/Caliper side.
warn: [adapters/fabric-ccp]: Org1's registrar's materials found locally. Make sure it is the right one!
warn: [adapters/fabric-ccp]: Org1's admin's materials found locally. Make sure it is the right one!

There's probably some leftover certs in your Caliper machine. The network config specifies some user store paths, clean them up (the example end scripts do that).

@aklenik  After rebuilding Caliper, I didn't find such errors again, so maybe the links to the certs in docker-compose and caliper's config file should be correct. In the unused script 'generate.sh' of Caliper, I note that there is a part that changes crypto file name [--some long number here--]_sk to 'key.pem'. I did reuse that for my own config generation later (so I don't have to edit my docker-compose for every time). I am not sure if it caused the errors.

@quangtdn What I meant are the user stores created by the Fabric SDK. If a user name exists in the store, it will be loaded from there regardless of what cert path you specify. So a leftover cert from a previous experiment can cause problems. That's why loading a cert from the local store during the init phase is treated as a warning.
Is the issue solved by the way?

@aklenik Actually I still get the error sometimes. But I just rebuild Caliper anyway to solve it, as it does not take so much time.

@quangtdn If you delete these dirs, does it solve the error without rebuilding Caliper?
rm -rf /tmp/hfc-*

@aklenik I am not so sure. I will try to do so next time I see the error.

@aklenik oh, it does help to solve the problem!
Thank you xD!

Hi @quangtdn do you have a sample network config file for benchmarking kafka setup with multiple orderers?
I wanted to benchmark my use case which contains multiple orderers part of the kafka cluster.
Any help related to this would be really helpful. :)

Actually all you need to do is to add extra orderers into the fabric-ccp file. There is nothing to add for kafka brokers or zookeeper here. Caliper will do the benchmarking with just that.
So the real problem is to bring up a kafka-based fabric network by yourself, as default networks in caliper are all in solo mode. For my first simple kafka network, I just followed this one: https://medium.com/coinmonks/hyperledger-fabric-setup-with-multiple-peers-and-orderers-with-kafka-542023787a6d

I already have my kafka cluster with multiple orderers setup on an external VM.
I would like to know the following:

How does caliper understand which orderer is associated with a peer? (Basically i have one peer0 part of org1 associated with orderer1 who is the leader, along with this there is one more orderer2 who will be associated with peer0 of org2)

Does it look-up the docker-compose configuration to figure out which orderer to send request to for a specific peer in a multi-orderer setup?
Note: My blokchain n/w is setup on another machine & caliper is assessing those endpoints through its n/w config file.
@quangtdn @aklenik

@niket-yende Caliper doesn't know these details. The ordering service is a system-level service, so you can send endorsed transactions to any orderer node, they'll put it into the appropriate kafka topic.
Caliper does a round-robin load balancing between the peers and the orderers (based on either the transaction index, or the submitting client process). But if you need finer control, you can specify the target peers and orderer for each transaction individually.
https://hyperledger.github.io/caliper/docs/Fabric_Ccp_Configuration.html#the-run-callback


Update MessageHub to send guids using Blob Storage

@Renetnielsen @djorgensendk We now need Azurite to run the tests, but adding the flag is not enough. Must best guess is that I also have to bump the version to @2.0.0, but unsure of consequences. And do I have to update all the workflows, or just the dotnet-solution-ci.yml.

@Renetnielsen @djorgensendk We now need Azurite to run the tests, but adding the flag is not enough. My best guess is that I also have to bump the version to @2.0.0, but unsure of consequences. And do I have to update all the workflows, or just the dotnet-solution-ci.yml?

@dstsyst Can u please help enlighten this young gentleman :) - You prolly have the best perspective of this

Waiting for https://github.com/Energinet-DataHub/geh-post-office/pull/376 and version bump.

Do not complete until Fri 26., after System Demo.


Device not found (SX1276 with nRF52840)

Describe the bug
Hi, I have been trying to set up the LoRa with the nRF52840, but I'm having some problems that I dont know how to fix it up. I always get the same error message in the output 00> [00:00:00.257,202]  lora_send: sx1276 Device not found
To Reproduce
Steps to reproduce the behavior:

Add the line lora0 = &lora; in the aliases options from the .dts related to the board nrf52840dk_nrf52840
Add
lora: sx1276@0 {
status = "okay";
compatible = "semtech,sx1276";
reg = <0>;
label = "sx1276";
reset-gpios = <&gpio0 13 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
dio-gpios = <&gpio0 1 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>,
<&gpio0 2 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>,
<&gpio0 3 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>,
<&gpio0 4 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>,
<&gpio0 5 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>;
spi-max-frequency = <1000000>;
power-amplifier-output = "pa-boost";
};
to the spi1 options in the same file.
Change the prf.conf from samples\drivers\lora\send to

CONFIG_USE_SEGGER_RTT=y
CONFIG_RTT_CONSOLE=y
CONFIG_UART_CONSOLE=n
CONFIG_LOG=y
CONFIG_SPI=y
CONFIG_SPI_1=y
CONFIG_SPI_NRFX=y
CONFIG_GPIO=y
CONFIG_PRINTK=y
CONFIG_LORA=y
CONFIG_LORA_SHELL=y
CONFIG_LORA_SX1276=y
CONFIG_HAS_SEMTECH_RADIO_DRIVERS=y
CONFIG_HAS_SEMTECH_LORAMAC=y
Expected behavior
Find the SX1276 in the device tree
Impact
I always get the same error
00> [00:00:00.257,202]  lora_send: sx1276 Device not found
Environment (please complete the following information):

OS: Windows
Toolchain: GNU ARM Embedded
The newest one from the repository

Additional context
I'm new in the context of LoRa, so I'm not pretty sure if I should have to do something else in order to make the SX1276 work with the board nRF52840. Every help is appreciated. Thanks.

@GABS9718 The SPI controllers in nrf52 chipsets can function in multiple modes. So you need to add the relevant compatible in the spi1 node board dts for proper working.
compatible = "nordic,nrf-spi"

I have this line
&spi1 {
compatible = "nordic,nrf-spi";
status = "okay";
sck-pin = <31>;
mosi-pin = <30>;
miso-pin = <25>;
cs-gpios = <&arduino_header 13 GPIO_ACTIVE_LOW>;
lora: sx1276@0 {
	compatible = "semtech,sx1276";
	reg = <0>;
	label = "sx1276";
	reset-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
	dio-gpios = <&gpio0 1 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>,
		<&gpio0 2 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>,
		<&gpio0 3 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>,
		<&gpio0 4 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>,
		<&gpio0 5 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>;
	spi-max-frequency = <1000000>;
	power-amplifier-output = "pa-boost";
};

};

Hi @Mani-Sadhasivam. I saw in one topic that you were able to send the data and receive it in TTN using the OTAA.  I can get the message ''Data sent'' in the log output, but I dont receive in my gateway. I think that this is related with the settings of OTAA protocol, ''Device EUI'', ''Application EUI'' and ''App key''. I dont know where I should make this settings for the board that I'm using nRF52840dk. Can you help me, please?

I have this line
&spi1 {
compatible = "nordic,nrf-spi";
status = "okay";
sck-pin = <31>;
mosi-pin = <30>;
miso-pin = <25>;
cs-gpios = <&arduino_header 13 GPIO_ACTIVE_LOW>;
lora: sx1276@0 {
	compatible = "semtech,sx1276";
	reg = <0>;
	label = "sx1276";
	reset-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
	dio-gpios = <&gpio0 1 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>,
		<&gpio0 2 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>,
		<&gpio0 3 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>,
		<&gpio0 4 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>,
		<&gpio0 5 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>;
	spi-max-frequency = <1000000>;
	power-amplifier-output = "pa-boost";
};

};

DTS and Config look sane. Were you able to get any other SPI samples working under the same SPI instance? Had you made sure that SPI controller is enabled and able to use?

Hi @Mani-Sadhasivam. I saw in one topic that you were able to send the data and receive it in TTN using the OTAA. I can get the message ''Data sent'' in the log output, but I dont receive in my gateway. I think that this is related with the settings of OTAA protocol, ''Device EUI'', ''Application EUI'' and ''App key''. I dont know where I should make this settings for the board that I'm using nRF52840dk. Can you help me, please?

That's from the LoRaWAN PR: https://github.com/zephyrproject-rtos/zephyr/pull/23664
With this PR you should be able to send data to TTN server by modifying the keys in provided sample application.

I dont

I have this line
&spi1 {
compatible = "nordic,nrf-spi";
status = "okay";
sck-pin = <31>;
mosi-pin = <30>;
miso-pin = <25>;
cs-gpios = <&arduino_header 13 GPIO_ACTIVE_LOW>;
lora: sx1276@0 {
	compatible = "semtech,sx1276";
	reg = <0>;
	label = "sx1276";
	reset-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
	dio-gpios = <&gpio0 1 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>,
		<&gpio0 2 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>,
		<&gpio0 3 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>,
		<&gpio0 4 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>,
		<&gpio0 5 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>;
	spi-max-frequency = <1000000>;
	power-amplifier-output = "pa-boost";
};

};

DTS and Config look sane. Were you able to get any other SPI samples working under the same SPI instance? Had you made sure that SPI controller is enabled and able to use?

I dont know what caused that error, but it is not happening anymore. Thank you for the answer.

I dont know what caused that error, but it is not happening anymore. Thank you for the answer.

Okay, closing the issue now!


LDAP config assumption wrong for freeIPA

All config templates show ou=groups and ou=users as root node for objects but freeIPA uses cn=users and cn=groups.
It should be possible to pass user and group basedn seperately and without any prior assumptions about their structure.

I'd agree. I'd like to use ou=People, as the user basedn, but currently the docker script assumes ou=users,.


Mui + NextJs example rendering issues

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
Hi,
If you will try to use official Next.js (TypeScript version) example and refresh a page you will see that something is wrong with styles (maybe rehydration error):
https://user-images.githubusercontent.com/16540432/167009859-5ac2c331-4d71-49b0-b5b8-f81247f02162.mov
The same behavior exists locally and even on production build of this example
Expected behavior 🤔
Styles looks fine when you refresh page
Steps to reproduce 🕹
Steps:

Go to https://stackblitz.com/github/mui/material-ui/tree/master/examples/nextjs-with-typescript
Wait until in download dependencies
Refresh the page and see the broken styles

Context 🔦
However if you will use react 17 instead of 18, then example works fine
Your environment 🌎

`npx @mui/envinfo`
    @emotion/react: latest => 11.9.0
    @emotion/styled: latest => 11.8.1
    @mui/base:  5.0.0-alpha.79
    @mui/icons-material: latest => 5.6.2
    @mui/material: latest => 5.6.4
    @mui/private-theming:  5.6.2
    @mui/styled-engine:  5.6.1
    @mui/system:  5.6.4
    @mui/types:  7.1.3
    @mui/utils:  5.6.1
    @types/react: latest => 18.0.8
    react: latest => 18.1.0
    react-dom: latest => 18.1.0
    typescript: latest => 4.6.4

A ticket was opened in the NextJs repo with the same problem. It seems NextJs related due to the version segments where you can observe the problem from happening and those which are not affected; NextJs 12.1.5 works perfectly fine even with React 18 in place; 12.1.6, on the other hand, shows the distortion.
https://github.com/vercel/next.js/issues/36675

You can remove the cache component from the _app file, and the FOUC will disappear. I'm still trying to get to the bottom of this weird issue.

You can remove the cache component from the _app file, and the FOUC will disappear. I'm still trying to get to the bottom of this weird issue.

Yes this fixed it but what is the purpose of that Cache component?

@aligajani that's still a good question to me. At this point I consider suggesting not to use it because the more I think and read about this; the more I come to the conclusion that CSS is already provided in the server code, and a cache isn't needed on the client-side.
But I've been looking from a non-SSR point of view up until this point. I'm going to test with and without the component, in the various ways, nextjs (especially) renders, and see what results I come up with.
I've limited time though, so investigations are not going super quick.

I've tested the new canary version without the cache components, in all the apps I have with next/mui, and it still works perfectly.

@MathiasKandelborg  Thanks for your reply. I just updated to canary.7 and they patched it.

Seems like it is the same issue as https://github.com/mui/material-ui/issues/30410#issuecomment-1120142402.
I can confirm that the issue existed in next 12.1.6. The workaround is to upgrade next to canary.

I am closing this issue then.

Duplicate of #30410


Ran clang-tidy with performance-unnecessary-value-param

clang format successful! https://ci.trafficserver.apache.org/job/clang-format-github/226/

RAT check successful! https://ci.trafficserver.apache.org/job/RAT-github/240/

AU check failed! https://ci.trafficserver.apache.org/job/autest-github/222/

Intel CC build successful! https://ci.trafficserver.apache.org/job/icc-github/351/

FreeBSD11 build successful! https://ci.trafficserver.apache.org/job/freebsd-github/1921/

Linux build successful! https://ci.trafficserver.apache.org/job/linux-github/1813/

clang-analyzer build failed! https://ci.trafficserver.apache.org/job/clang-analyzer-github/483/


rml:languageMap returns an error

Hi there,
I'm getting an error trying rml:languageMap . Here is a snippet following the provided example
<triplesMap> 	rml:logicalSource [ 		rml:source "data.json" ; 		rml:referenceFormulation ql:JSONPath ; 		rml:iterator "$.list[*]"  	] ; 	rr:subjectMap [ 		rr:template<EMAIL_ADDRESS>	] ;     rr:predicateObjectMap [         rr:predicate    skos:prefLabel;         rr:objectMap    [             rml:reference<EMAIL_ADDRESS>            rml:languageMap    [                 rml:reference<EMAIL_ADDRESS>           ]         ]     ].
{        "list": [         {     "id": "test-id",     "title": "test-title",     "lan": "en-us"         }     ] }

Hi @samiscoding ,
Could you provide more details, e.g. an error message?
The example you point to seems different than the mapping excerpt you also describe. Could you provide an reproduction scenario in the form of input, and mapping?

Hi Pano,
Here is the error I have:
java.lang.ClassCastException: class io.carml.model.impl.CarmlLanguageMap cannot be cast to class io.carml.model.ObjectMap (io.carml.model.impl.CarmlLanguageMap and io.carml.model.ObjectMap are in unnamed module of loader org.springframework.boot.loader.LaunchedURLClassLoader @1a6c5a9e)
and the reproducible mapping and data are attached as a zip.
test-languageMap-carml.zip
Can't find what I'm doing wrong here.

Thanks, I will take a look this week.

Fixed since CARML 4.8.0 and in the latest CARML-jar release


🗄 chore: Add Tomy's Blog

Adding my blog to the user's site page.
I have a custom translation dropdown menu at the footer, which might be something you're looking for. I'll elaborate more in #583.

Thanks for using Congo, @tomy0000000! I'll merge this change in and your site will appear on the public list when the next theme release is published.


ENI: Rely on watcher instead of GET to sync on Update conflict

Follow-up from #8501 . The code currently falls back to a reliable GET. This is fool proof but adds API calls. It should be possible to consider blocking on receiving a watcher update in some scenarios.

This has been completed in 1.6


Information about a guest

Description
How do I get detailed information about a guest? I assume I just missed it, but nothing in limactl info or limactl ls (including --json) provides it.
I want to be able to inspect a VM (running or stopped) to find out information similar to docker inspect:

what is the VM image?
what are the mounts, r/w and r/o?
resources (cpu, memory)
containerd
etc

All of the above might be reasonable handled if I can see the template that was used to launch it and its contents.
In theory, I can run limactl start --list-templates, but that doesn't give me the template contents, or which template (if any of those) was used to create a particular VM.

It's in ~/.lima/<INSTANCE>/lima.yaml.
Additional configuration are also applied from ~/.lima/_config/{default.yaml, override.yaml}.
I think we should have limactl inspect <INSTANCE> command to inspect them in a single JSON.

Thanks for the quick response @AkihiroSuda!
Based on the above, is ~/.lima/<instance>/lima.yaml the entire template that was used? Or the one before applying the stuff in ~/.lima/_config/{default.yaml, override.yaml}? I am not quite sure how those files play together.

The latter one

The latter one

OK, so if I want to know the current state right now, what is the merging logic?

The latter one

OK, so if I want to know the current state right now, what is the merging logic?

Apply ~/.lima/_config/default.yaml if exists
Apply ~/.lima/<INSTANCE>/lima.yaml
Apply ~/.lima/_config/override.yaml if exists

https://github.com/lima-vm/lima/blob/585d6e25af62d0337cec83ffca226a2c8146a428/examples/default.yaml#L393-L431

Cool, thanks.
If I can find a few minutes, do you want a PR for limactl inspect?

Cool, thanks.
If I can find a few minutes, do you want a PR for limactl inspect?

Yes, thanks


Fix things that stopped working after py3 updates

The following things in run_demo.py are not working after the py3 updates:

[x] DemonstrateVulnerabilityAPI() (fixed in #31)
[ ] DemonstrateBackupAPI()
[ ] DemonstrateCriteriaAPI()
[ ] DemonstrateSharedCredentialsAPI()
[ ] DemonstrateAssetFilterAPI()
[ ] DemonstrateDiscoveryConnectionAPI()
[ ] DemonstrateUserAPI()

@gschneider-r7 , that should be all of the above covered with
PRs#34,35,36. I don't think DemonstrateDiscoveryConnectionAPI() is broke as the error in the nsc.log file indicates a connection problem rather than an actual problem with the python client.
2017-10-07T19:14:45 [WARN] Failed while connecting to discovery center.


The Dark/Light Theme toggle button has disappeared

I switched from dark mode to light mode after a long time using the app, and once I did, fo rsone reason, the toggle button for changing between dark and light mode vanished. I had to clear my entire browser data to bring back dark mode in the app, however, the toggle button is still missing, and I'm unable to switch between the two manually, unless I turn off datk mode completely from my phone settings.

I decided to get rid of the toggle and follow system color scheme, I think it's better that way.
convince me otherwise and I will revert it.

Ahh, so that's what it is.
If it's an intended change, I guess I don't have much to say about it, however, since you've given me the chance, I might as well try 😂
I'm always in Dark mode system-wide, and I also use the app in dark mode for the most part. However, when I'm including any sketched from Excalidraw, the printed images always appear with white background, and there seems no way to change that behaviour. And while in dark mode, the sketches just don't blend with the rest of the document. So if I'm just about to take a little screenshot or something, I quickly switch to the light mode and take it. Makes it much easier to switch to light mode for the rest of the UI. Also, it just feels better to write stuff on a white background, but I don't want to use light mode for the rest of my system either. So...
yeah, I guess it helps me kinda lot sometimes?

Ok I should've changed the local storage key to ignore the previous user preference, that one is on me, sorry for that.
Would it be better if Sketches background are removed?
I removed the toggle to simplify the code and avoid inconsistencies between server-rendered color scheme and user preferred
color scheme.

Yeah, that should help too (removing the background), as long as it doesn't cause weird rendering issues to the sketch strokes! 😂
Not having to switch to light mode just for the sketches would be a big plus.

I'll see what I can do.

Looking forward to it


When I configured the zabbbix plugin in grafana, an error occurred

I'm submitting a ...

[x] Question / Support request

Software Versions

Grafana
Zabbix
Grafana-Zabbix Plugin

4.5.1
3.4.1
3.7.0

What did you do?

What was the expected result?
connect successfully
What happened instead?
None

you have a typo in the address. Correct is api_jsonrpc.php.

thx.


Python 3.11 support?

It would be nice to have a release with Python 3.11 support.

Hi Hood,
Once https://github.com/pyb2d/pyb2d/pull/63 lands 3.11 should be supported. Locally it works already like a charm

closed with #63


Typo in page 88

Hi! There is a typo at the beginning of section 4.5.7:

tracing_subscriber::filter::EnvLogger discards spans based on their log levels and their
origins, just as we did in env_logger via the RUST_LOG environment variable;

"tracing_subscriber::filter::EnvLogger" should be "tracing_subscriber::filter::EnvFilter", as that's the name of the struct.

The link is right but the text is wrong 😅 Thanks for reporting!


Cmake failed with the error,Attaching the full screenshots for reference.

@Jeetkarsh , please try with OpenVINO-R3.
Software
Ubuntu* 16.04 LTS
Intel® Distributon of OpenVINO™ toolkit 2018 (R3)

@zahidulhaque Thanks for your reply although i was able to successfully build the files but now getting the following issue.
file:///home/ubuntu/Pictures/Screenshot%20from%202019-02-13%2007-27-26.png

Can you please paste the screenshot of the error log.

++ Is it some issue with media SDK

i dont see the error logs or any screenshot. Can you point what issue you are seeing. Please paste the complete logs and at which step the issue is seen

@zahidulhaque Thanks for your reply although i was able to successfully build the files but now getting the following issue.

Its says error occurred while playing the ad!

@Jeetkarsh,
Can you please provide the Processor and Graphic Card details.

Vendor ID:             GenuineIntel
CPU family:            6
Model:                 94
Model name:            Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz
Stepping:              3
CPU MHz:               2712.001
BogoMIPS:              5424.00
Graphic Card  : Nvidia

Any Updates on this issue.

The application is validated on IEI Tank AIoT Developer Kit* which has Intel® HD Graphics 530.
In Kiosk Analytics, hardware-accelerated implementation of the Intel Media SDK is provided which requires Intel Hardware and drivers.

ageGroup: 1
ageGroup: 1
ageGroup: 1
ageGroup: 1
ageGroup: 1
ageGroup: 1
InferenceEngine:
API version ............ 1.2
Build .................. 13911
[ INFO ] Parsing input parameters
[ INFO ] Loading plugin CPU
API version ............ 1.2
Build .................. lnx_20180510
Description ....... MKLDNNPlugin

[ INFO ] Loading network files for Face Detection
[ INFO ] Batch size is set to 1
[ INFO ] Checking Face Detection inputs
[ INFO ] Checking Face Detection outputs
[ INFO ] Loading Face Detection model to the CPU plugin
[ INFO ] Loading network files for AgeGender
[ INFO ] Batch size is set to 16 for Age Gender
[ INFO ] Checking Age Gender inputs
[ INFO ] Checking Age Gender outputs
[ INFO ] Age layer: age_conv3
[ INFO ] Gender layer: prob
[ INFO ] Loading Age Gender model to the CPU plugin
[ INFO ] Loading network files for Head Pose detection
[ INFO ] Batch size is set to  16 for Head Pose Network
[ INFO ] Checking Head Pose Network inputs
[ INFO ] Checking Head Pose network outputs
[ INFO ] Loading Head Pose model to the CPU plugin
[ INFO ] Emotions Recognition DISABLED
[ INFO ] Execution successful
Loading the video ../data/demoPeople.mp4
*********** Playing Add for Gender : M, Age Group : 2 ***********
*********** Playing Ad: maleAd.h265***********
Unique visitors count : 0
[ERROR], sts=MFX_ERR_UNSUPPORTED(-3), Init, m_mfxSession.Init failed at /home/ubuntu/Downloads/kiosk-analytics/kiosk/src/pipeline_decode.cpp:296
[ERROR], sts=MFX_ERR_UNSUPPORTED(-3), media_sdk, Pipeline.Init failed at /home/ubuntu/Downloads/kiosk-analytics/kiosk/src/sample_decode.cpp:97
Error occurred while playing the ad!

This is the complete dump. The model is able to infer perfectly only issue is when  ad need to be played. By any chance can we remove this add playing component from the complete pipeline.

In the source code, kiosk/src/main.cpp  file, call to media_sdk() function is made which decodes the video passed to it as the parameter and plays it. If you comment the line number 345, i.e if you don't call the media_sdk() function, you will be able to run the application without actually playing the ad. In this case, you will still get the name of the ad depending on the demographics and the other data related to the demographics.

Thanks a lot for your input. I was able to run through the sample. Just a quick concern.
On the Grafana dashboard where it shows the people statistics (i.e No of People, No of Male and No of Female) practically doesn't it make sense to apply 'person-reidentification-retail-0076' model[although I am not aware of underlying change we need to make in this source code to account for this] to count each unique person once. Right now its taking 5 consecutive frames into consideration[ I guess] for counting and if the person is standing in front of the cam long enough he/she would be counted more then once which might give you the wrong statistics at the end of the day as to how many people look at your ad.


Prevent page from scrolling, when scrolling inside selection

I was thinking, if it makes sense to have an option, where you can specify what happens, when you reach the end of the selection list while scrolling with the mousewheel.
The default behavior is, to scroll the whole page. But sometimes it could be nice to prevent the default behavior.
I came accross this example where you see on the left, the expected behavior, if the default behavior is prevented.
Maybe this will also be interesting, if there is the ability for infinity scrolling in near future. i.e #221 , #620

I second that, the current behaviour is pretty annoying and suggestion made by @rapmue would solve it in an elegant way.

hello guys @rapmue  and @mgamer , i've been working in pure angular projects and I the same problem with whole page scrolling, and the jQuery solution doesn't fit well on my projects, so I created a angular very tiny directive to solve this problem in any html element: http://jsfiddle.net/eXQf3/753/, then you can use this directive in the "ui-select-choices" directive.

Resolved! #940

@emmanueldaher Thanks for your solution its working great.

@emmanueldaher Thanks for the directive. event mousewheel is not recognized in FireFox, I changed it to event wheel and it works (tested in Edge, Chrome, FF)

All of you, do you think maybe I should a git with bower/yarn package for this directive? Do you think it is usefull?


Add "game over" text for when pumpkin runs into the ghost

Adding "game over" text when the pumpkin runs into the ghost and the game ends

Codecov Report
Base: 54.26% // Head: 54.26% // No change to project coverage :thumbsup:

Coverage data is based on head (77eeff5) compared to base (af63c8b).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #137   +/-   ##
=======================================
  Coverage   54.26%   54.26%
=======================================
  Files           8        8
  Lines         164      164
  Branches       13       13
=======================================
  Hits           89       89
  Misses         75       75

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Recording confidence

As I understand it, In dendrograms, confidence in any one split into subclusters is represented by line length - vertically in this representation:

e.g. In the above  example, confidence in the sncg/VIP split is particularly low.
Is there some way we can get a score for this that we can add to the ontology? (short of hacking the layout figures in the dendrogram JSON).  It might make sense to add this as an annotation edge between the two sibling classes).

The confidence is stored in the "edgePar.conf" value in the json file.  The "height" is also a meaningful value that has something to do with the gene expression distance.  I'm not sure the precise details, but the shorter the height the more similar the cell types.  Let me know if you need anything else.


Ensure Creation / Publishing Telemetry is being captured

Is your feature request related to a problem? Please describe.
Ensure that Creation / Publishing Telemetry is being captured properly.

Here is a set of events I think we should capture for the Get LUIS Keys / Get QnA Keys.  I am suggesting generic events that allow us to capture the resource type on the properties, in order for this to scale to include other resource types in the future, such as Application Insights.
Event: SettingsGetKeysExistingResourceSelected
Fires: When a user chooses an existing resource and clicks 'Next'
Properties: SubscriptionId, ResourceType (LUIS / QnA)
Event: SettingsGetKeysCreateNewResourceStarted
Fires: When a user chooses to create a new resource, has populated resource group, region and resource name and clicks 'Next'
Properties: SubscriptionId, CreateNewResourceGroup (true / false), Region, ResourceType (LUIS / QnA)

Event: SettingsGetKeysCreateNewResourceCompleted
Fires: When resource creation has completed.
Properties: SubscriptionId, CreateNewResourceGroup (true / false), Region, ResourceType (LUIS / QnA)
Event: SettingsGetKeysResourceRequestSelected
Fires: When a user chooses to create a resource request and clicks 'Next'
Properties: SubscriptionId, ResourceType (LUIS / QnA)


feat: 🎸 update input field error indicator

The input field notice error gets a 2px border instead of 4px. The
margins of both the label and the field field notice are also adjusted
Issues: #6

:tada: This PR is included in version 1.0.0-pre.4 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


CI: Add teardown script to collect log files

teardown.sh will collect the log files from the cc-proxy,
cc-runtime and cri-o.
Fixes #515.
Signed-off-by: Salvador Fuentes<EMAIL_ADDRESS>

lgtm


Expose build numbers/commit sha information for both the angular UI and the dspace rest backend

In a CI environment or for heavily customized repository the "simple DSpace version" (#747 ) could be not enough, it should be possible to include the "build numbers" for both the frontend than the backend, these could ideally be the sha of the commit that was checked out during the build. It should be possible to configure the system to restrict these information to system administrator

Seems reasonable to me,  I agree though that it either should be configurable or limited to Admins only.  That said, it's lower priority than simply returning the DSpace version.  Tentatively scheduling for 7.1


Fix for write permissions were not working properly on windows

Minor fixes to use WRITE with :deny_rights and :rights options of directory resource
Fixed test cases
Added functional test cases for deny_rights option
Ensured chef style
Fixes MSYS-958

Signed-off-by: vijaymmali1990<EMAIL_ADDRESS>Description

Fixes were required in create_ace_with_mask_and_sid method to fix access_allowed and access_denied methods.
Correct value of WRITE must be used to allow/deny that rights of a directory.

Issues Resolved
Fixes #4431
Check List

[x] New functionality includes tests
[x] All tests pass
[ ] RELEASE_NOTES.md has been updated if required (not required for bugfixes, required for API changes)
[x] All commits have been signed-off for the Developer Certificate of Origin. See https://github.com/chef/chef/blob/master/CONTRIBUTING.md#developer-certification-of-origin-dco

@jasonwbarnett any thoughts on this?


the trait juniper::types::base::GraphQLType<__S> is not implemented for i64

How to use 64bit ints with #[derive(juniper::GraphQLObject)] ? E.g. I have IDs represented as u64

@bugproof you should roll out a custom GraphQL scalar in your schema for that. GraphQL spec doesn't define any built-in scalars for i64/u64 by default.

https://github.com/graphql/graphql-spec/issues/73


Replace webpack with rollup

It is an update for tools.
Webpack is great in managing a whole project, but rollup seems better for a library.
Bundle sizes are reduced:
axios.js:     42.6 kb -> 37.5 kb
axios.min.js: 12.9 kb -> 10.8 kb

I ran the tests and it seems fine, but some weird faults came up no matter which bundler I use:
Using tsc v2.5.2
07 09 2017 12:53:43.712:WARN [Safari 10.1.2 (Mac OS X 10.12.6)]: Disconnected (1 times)
Safari 10.1.2 (Mac OS X 10.12.6) ERROR
  Disconnectedundefined
Safari 10.1.2 (Mac OS X 10.12.6): Executed 8 of 179 DISCONNECTED (13.245 secs / 0.68 secs)
07 09 2017 12:53:43.713:ERROR [reporter.sauce]: ✖ Test Disconnected
07 09 2017 12:53:43.714:INFO [karma]: Restarting Safari 10.1.2 (Mac OS X 10.12.6) (1 of 1 attempts)
07 09 2017 12:53:43.718:WARN [Safari 10.1.2 (Mac OS X 10.12.6)]: Disconnected (1 times)
Safari 10.1.2 (Mac OS X 10.12.6) ERROR
  Disconnectedundefined
Safari 10.1.2 (Mac OS X 10.12.6): Executed 0 of 0 DISCONNECTED (15.954 secs / 0 secs)
07 09 2017 12:53:43.718:ERROR [reporter.sauce]: ✖ Test Disconnected
07 09 2017 12:53:43.718:INFO [karma]: Restarting Safari 10.1.2 (Mac OS X 10.12.6) (1 of 1 attempts)

But it should make no side effects to the bundles, I guess.
And I also ran example and it works just fine.
Let me know if you need more information or support.

Coverage remained the same at 93.812% when pulling 588428fef59054ce14bcf448ef4da9db6468197b on SidKwok:master into 07a7b7c84c3ea82ea3f624330be9e0d3f738ac70 on mzabriskie:master.

Coverage remained the same at 93.812% when pulling b06cffb20239a6960271025244d43dbbcd5bbabb on SidKwok:master into 07a7b7c84c3ea82ea3f624330be9e0d3f738ac70 on mzabriskie:master.

@JustinBeckwith I will be happy to help, and may commit a PR in couple days.
I see the major conflicting files are ./dist and package.json, should I overwrite the dist files in next commit?

Sweet 🍬 I'm still pretty new around these parts, but I think you're supposed to leave dist/ changes out of this according to the contributing guide:
https://github.com/axios/axios/blob/master/CONTRIBUTING.md#developing
Probably best just to drop those changes!

ok, I will commit these changes after I read the guide.
And I'm confusing about one thing in krama.conf.js, why var undefined?

I am worried that after 1,5 years this might be just obsolete ;) We have now rollup 1.9.3 instead of 0.49.2 so i would probably reject it by now @emilyemorehouse. Also it might be up for discussion what is now better to use webpack 4 or rollup.

This is sort of stale now, sorry this has to be rejected but the reduction in size of the build looked pretty attractive. Thanks everyone, I'm starting to take a look at PRs and either merging or closing them


*json.RawMessage as map value doesn't work

type Aggs map[string]*json.RawMessage
ffjson error: (*errors.errorString)json.RawMessage: UnmarshalJSON on nil pointer offset=48212 line=1 char=48212

Maybe try this until it gets fixed:
type Aggs map[string]json.RawMessage

Or do you really need it to be a pointer? Since json.RawMessage is just a []byte a pointer is usually not necessary.


nixos/nginx: add index option in virtual hosts

Description of changes
Allow index configuration at the virtual host level.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[x] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

I know that we try to keep the option in nginx to a minimum and not add more.
Whats the advantage of this over extraConfig?

It's just easier to configure. And there is no need to specify it several times in different 'locations' blocks
In addition, the root option is present in both the server block and the locations block. Therefore, user assume that this should be the case with the index option. I also got confused not long ago and got an error.


Installing And Using In Angular Project

This fork provides a much needed fix for my project, but how would I install this with npm and use it in my angular project?
Tried adding an entry in my package.json dependency as "angular-ngx-treeview": "github:ingenmaffen/ngx-treeview" but this did not work.

I just realized that this package was published with npm, so I ran the command "npm i @ingenmaffen/ngx-treeview --save" and it worked.
https://www.npmjs.com/package/@ingenmaffen/ngx-treeview


Translated geom_series.py to Julia 1.2

Thanks @yolsever for turning this around so quickly and with a good amount of detail. I'll have a look at this today, but we will probably consider new content like this after we finish the URL migration in #693

Replacing this PR with one in a local branch that we can edit.


typo and missing bracket fixed

Learn Build status updates of commit 0bdadbb:
:bulb: Validation status: suggestions

File
Status
Preview URL
Details

dev-itpro/administration/telemetry-overview.md
:bulb:Suggestion

Details

dev-itpro/administration/telemetry-overview.md

Line 117, Column 76: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/azure-monitor/platform/alerts-unified-log' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


Test email add and login randomly fails

One test still fails randomly:

not ok 164 checking setup.sh: setup.sh email add and login

# (from function `assert_output' in file test/test_helper/bats-assert/src/assert.bash, line 239,
#  in test file test/tests.bats, line 1185)
#   `assert_output "passdb<EMAIL_ADDRESS>auth succeeded"' failed
#
# -- output differs --
# expected : passdb<EMAIL_ADDRESS>auth succeeded
# actual   : passdb<EMAIL_ADDRESS>auth failed
# --
#

@martin-schulze-vireso if you can think of something we can add to get more details when it happens that would be great. I've already tried waiting for the change detector but sometimes it still fails.

Hm that one is really weird. I tried to reproduce it locally. However, I get another setup test that fails and this results in the mail container terminating. Unfortunately, the --rm discarded the container, so I don't know what is going on. Rerunning now...

Okay, for me the "checking setup.sh: setup.sh debug fetchmail" test fails. The docker logs output ends in:
Sep 17 21:07:30 mail opendkim[217]: OpenDKIM Filter: mi_stop=1
Sep 17 21:07:30 mail opendkim[217]: OpenDKIM Filter v2.11.0 terminating with status 0, errno = 0
2019-09-17 21:07:30,268 INFO exited: opendkim (exit status 0; expected)
2019-09-17 21:07:31,271 INFO spawned: 'opendkim' with pid 10569
Sep 17 21:07:31 mail opendkim[10570]: OpenDKIM Filter v2.11.0 starting (args: -f)
2019-09-17 21:07:31,292 INFO success: opendkim entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
Sep 17 21:07:45 mail opendmarc[223]: OpenDMARC Filter: mi_stop=1
Sep 17 21:07:45 mail opendmarc[223]: OpenDMARC Filter v1.3.2 terminating with status 0, errno = 0
2019-09-17 21:07:45,279 INFO exited: opendmarc (exit status 0; expected)
2019-09-17 21:07:46,282 INFO spawned: 'opendmarc' with pid 10637
Sep 17 21:07:46 mail opendmarc[10637]: OpenDMARC Filter v1.3.2 starting (args: -f -p inet:8893@localhost -P /var/run/opendmarc/opendmarc.pid)
Sep 17 21:07:46 mail opendmarc[10637]: additional trusted authentication services: mail.my-domain.com
2019-09-17 21:07:46,289 INFO success: opendmarc entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2019-09-17 21:08:23,735 WARN received SIGTERM indicating exit request
2019-09-17 21:08:23,735 INFO waiting for rsyslog, postfix, clamav, cron, amavis, changedetector, opendkim, opendmarc, dovecot, mailserver to die
2019-09-17 21:08:23,736 INFO stopped: mailserver (terminated by SIGTERM)
2019-09-17 21:08:24,751 INFO reaped unknown pid 477
2019-09-17 21:08:25,802 INFO stopped: dovecot (exit status 0)
2019-09-17 21:08:25,802 INFO reaped unknown pid 212
2019-09-17 21:08:26,322 INFO stopped: opendmarc (exit status 0)
2019-09-17 21:08:26,337 INFO stopped: opendkim (exit status 0)
2019-09-17 21:08:27,339 INFO waiting for rsyslog, postfix, clamav, cron, amavis, changedetector to die
2019-09-17 21:08:28,341 INFO stopped: changedetector (terminated by SIGTERM)
2019-09-17 21:08:28,391 INFO stopped: amavis (exit status 0)
2019-09-17 21:08:28,392 INFO stopped: cron (terminated by SIGTERM)
2019-09-17 21:08:28,443 INFO reaped unknown pid 10520
2019-09-17 21:08:28,469 INFO reaped unknown pid 10519
2019-09-17 21:08:29,266 INFO stopped: clamav (exit status 0)
2019-09-17 21:08:29,278 INFO reaped unknown pid 10795
2019-09-17 21:08:31,281 INFO waiting for rsyslog, postfix to die
2019-09-17 21:08:31,523 INFO reaped unknown pid 10422
2019-09-17 21:08:31,523 INFO reaped unknown pid 10424
2019-09-17 21:08:31,523 INFO reaped unknown pid 10425
2019-09-17 21:08:31,529 INFO stopped: postfix (exit status 0)
2019-09-17 21:08:31,530 INFO stopped: rsyslog (exit status 0)

Looks as if the service was stopped by SIGTERM which sounds like a planned stop.

I am still trying to reproduce this locally but I get about 7 errors per run, mostly on DKIM related tests. Do you see this as well?

No, most of the times the local runs are successful now. When they do fail it is typically on one of the login tests, either this one or the one with the preexisting account.

 Maybe I am doing something  wrong. I already noticed that I forgot sudo sometimes which makes test cleanup fail because some files are written via docker volumes without write rights for my user.

Nothing complex at all, I just run "make" in bash. If there are errors I "make clean" before next run. I get prompted for a password at the cleanup step to delete left-over files, which feels a bit dirty. Perhaps we could do that better.

This is a duplicate of #1459


docs(create-vite): update README to remove non-existent swc configs

Description
These configurations no longer exist. They should be removed from the docs.
What is the purpose of this pull request?

[ ] Bug fix
[ ] New Feature
[x] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines, especially the Pull Request Guidelines.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[x] Update the corresponding documentation if needed.
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

Thanks for the PR, but these are valid presets. The templates aren't there because they are generated dynamically from the react and react-ts templates. This works:
pnpm create vite my-react-app --template react-swc


[move-prover] Monomorphized Boogie backend

This concludes the series of PRs for monomorphization, implementing a fully monomorphized Boogie backend.
A perfomance report is found here. In a nutshell, verification time has improved by ~25% in average. While this is less than expected, also all existing timeouts in the framework appear resolved.
The new mono backend has the following properties:

Structs and vectors are specialized for all type instantiations in the program. This also means that equality is specialized and does not require stratification any longer.
Specification functions are specialized as well. While in theory we could use Boogie monomorphization for functions, we can't do it in practice because we need to access the type specific equality from spec functions.
Memory is specialized as well. We now access memory via a single address index as the type index is compiled away.
Mutations are strongly typed as $Mutation T. This assumes strong edges for write back.
We verify a generic function (and the memory it uses) by declaring the type parameters as global given types. The conjecture here is that if verification succeeds for this, it will also succeed for every instantiation (parametric polymorphism). This probably likely needs a more formal proof down the road.
For inlined functions, we generate specialized versions for instantiations on the call site. For calls to opaque functions, we specialize the pre and post conditions at the caller side and insert them there.
Quantification over types is eliminated by instantiating the quantifier for all occurrences of a type constructor in the program. Consider forall t: type: EXP[R<.., t, ..>]. We find all distinct instantiations R<..,T, ..> in the program, and then instantiate t with each of the found Ts.

Technically, the PR does the following:

Extend mono_analysis to support the new boogie backend.
Use  a new template engine for the prelude (called "Tera", which is a Rust clone of Python's django). This engine is strictly more expressive than the previous Handlebars, and allows us to define macros to generate multiple instantiations for native modules like Vector, Event, and BCS.
Fixing multiple bugs regards correct propagation of type instantiations in move-model, as those instantiations now became crucial to be correct.
Probably more details which I forgot about.

Motivation
Mono backend.
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Existing and new tests.