Add support for Google App Engine

We cannot use nor filesystem nor subprocesses under GAE, but by simple
overriding these methods we will allow it to work under GAE.
There's a lot of people who would like to use it under GAE, and with this PL it will be much easier to do.
Without this PL its not even possible to import nltk under GAE.
http://stackoverflow.com/questions/1286301/using-the-python-nltk-2-0b5-on-the-google-app-engine

Looks good to me. Thanks. @stevenbird could you have a look, please.

Any updates on this? @dimazest @stevenbird

It looks good to me.
However, I thought a bit more about it, and it might be better to throw an exception instead of printing to stdout (because, in principle, you might not have it available).

You're talking about this part right?
# Override missing methods on environments where it cannot be used like GAE.
import subprocess
if not hasattr(subprocess, 'PIPE'):
  subprocess.PIPE = lambda *args, **kwargs: print(
    'subprocess.PIPE is not supported.')
if not hasattr(subprocess, 'Popen'):
  subprocess.Popen = lambda *args, **kwargs: print(
    'subprocess.Popen is not supported.')

Well if we will throw an exception here it will fail to load on GAE.
We may just do not output anything to stdout and maybe with additional checking if we are under GAE environment. (but it seems useless as we are patching it only if the attribute is not available)
Ideas?

I meant something like:
def fake_PIPE(*args, **kwargs):
    raise NotImplementedError('subprocess.PIPE is not supported.')

if not hasattr(subprocess, 'PIPE'):
    subprocess.PIPE = fake_PIPE

so when somebody uses it under GAE an exception is thrown

Yeah, you were right -- as its being only imported, but not actually called -- we should raise an exception there.
Fixed!

Thanks @sadovnychyi – this looks very good.


Generate operator josdk

Description
Let's unify the operator based provisioners' model (Java Operator SDK, JOSDK) generation strategy.

[x] WildFly Operator based provisioner
[x] Keycloak RealmImport (latest/WIP, 22.x) Operator based provisioner (done, just replace URLs with actual CRD resources)
[ ] Keycloak Realm (old, 21.x) Operator based provisioner
[x] Infinispan Operator based provisioner
[x] ActiveMQ Broker Operator based provisioner (done, just validate)
[x] Kafka Operator based provisioner (done, Java operator already via Strimzi)
[x] Hyperfoil Operator based provisioner (done, just validate)
[ ] Freeze versions in docs
[ ] Update docs related to operator provisioning to align with generated JOSDK

Fix #67
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to change
[x] Chore (non-breaking change which doesn't affect codebase;
test, version modification, documentation, etc.)

Checklist

[x] Code contributed by me aligns with current project license: Apache 2.0
[x] Pull Request contains a description of the changes
[x] Pull Request does not include fixes for multiple issues/topics
[x] Code is self-descriptive and/or documented
[ ] I have implemented unit tests to cover my changes
[x] I tested my code in OpenShift

/test intersmash-e2e

/test intersmash-e2e

/test all

/test all

/test prod-intersmash-e2e-prod

/test all

/test all

/test all

This one is getting too big, so I am splitting it, e.g. see #92 - The related issue will be solved by multiple PRs.


👨💻 Feature - Loading circle

I want to add Loading circle to Clubs Page

Guidelines ⚠
I will follow the Setup Guidelines
I will follow the Contributing Guidelines
I will follow the Code of Conduct

Notice ⛔
You will make PRs only to tamal-milan branch.
Commit message / PR title--> fix: bla bla bla
Please make sure in the .css files you are making/using , the styles should be applied to Unique Class names
If there are images in your .jsx files  give them unique classnames like registrationImage , clubLoginImage, then in the css files make sure the styles are applied to those unique classnames. Else things are getting messed up.

FIXES 🛠

As you can see the clubs takes time to load , you can add a loading icon when it's loading.
This should be applicable for mobiles as well as desktops

Completed / Doubts ?  🚀
Once you are done with the code , please tag me in #milan with the Screenshot of whatever you made so that we can review that there together.
If you have any doubts, queries please tag me in #milan so that we can discuss the issue there together.
Please Donot DM.
Cheers 🥂

Can I work on this issue under jwoc?

Can I work on this issue under jwoc?

Assigned


Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.

OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.
OMP: Hint This means that multiple copies of the OpenMP runtime have been linked into the program. That is dangerous, since it can degrade performance or cause incorrect results. The best thing to do is to ensure that only a single OpenMP runtime is linked into the process, e.g. by avoiding static linking of the OpenMP runtime in any library. As an unsafe, unsupported, undocumented workaround you can set the environment variable KMP_DUPLICATE_LIB_OK=TRUE to allow the program to continue to execute, but that may cause crashes or silently produce incorrect results. For more information, please see http://www.intel.com/software/products/support/.
PS G:\comic-translate-main\comic-translate-main>

Can you try running this again with the latest update ?

I'll try it, thanks for the reply


linux-49 is dead.

Type of Request
bug
Infrastructure Environment
LUCI, Github, Cocoon scheduler, Autosubmit, etc...
What is happening?
linux-49 is dead.

Steps to reproduce
Step 1:
Step 2:
..
Step n:
Expected results
I expect to see X when Y is finished.

Machine is out of sync with Salt master, rebooting machine to bring it back online.


Change height of popup view controller

I would like to change the height of the popup view controller after I select a button, how can I go about doing this?

I had the same issue. Looking forward to get the response soon.
thanks

Any update on this?

@ergunemr konuyla ilgili bi güncelleme düşünüyor musun? :)

you can call (self.presentationController as? BottomPopupPresentationController)?.containerViewWillLayoutSubviews() after popupHeight changing.

You can call updatePopupHeight(to: CGFloat) anywhere to update height of popup.


Unexpected behaviour for _changedProperties

Description
I noticed that _changedProperties in the lifecycle callbacks resets if the element doesn't render. This was slightly unexpected to me as I was looking for changes at a later lifecycle callback, but it got "dropped" because shouldUpdate returned false. I'd prefer if the _changedProperties contained the changes since the last actual render as it would make the callbacks less entangled to each other.
Acceptance criteria
A nice open conversation about the behaviour of _changedProperties and preferably a change to the behaviour of _changedProperties.

Your expectation is not unreasonable, and this is a little confusing. But at this point any change to this behavior would be a breaking change. Let me try to explain the intended design.
The naming here is admittedly a little confusing, but the intention around shouldUpdate is really more like "should apply an update based on this set of changes." Returning false from shouldUpdate does not prevent the update cycle from completing, which clears any pending changes and resolves the updateComplete promise. By returning false from shouldUpdate you're saying this set of changes does not need to apply an update and therefore is irrelevant.
That said, if you really want to hang on the the set of changes, you can certainly do that by saving a copy of the changedProperties Map in shouldUpdate. The shouldUpdate implementation can then use the saved "previous changes" and the current set of changedProperties to decide whether or not to update.
Hope that helps.


[SR-12747] [C++] Make C++ inheritance work from Swift

Previous ID
SR-12747

Radar
rdar://problem/83465956

Original Reporter
hlopko (JIRA User)

Type
New Feature

Additional Detail from JIRA

Votes
0

Component/s
Compiler

Labels
New Feature, CxxInterop

Assignee
None

Priority
Medium

md5: 5facea8e4669e9f7c7192730df2fb86c

Issue Description:
Right now, when a C++ class inherits from other C++ class, Swift will not see inherited methods and fields.
Example test: https://github.com/hlopko/swift/tree/inheritance

This particular aspect of C++ inheritance is supported for quite a few releases now.


Create tui.net domain classes

Create classes to contain Pixel, Bitmap, Layer and Image data.
Pixels have 3 properties: character, fore-color and back-color.
each property is nullable indicating that it is transparent.
Bitmaps have a Width, Height and an array of Pixels.
Methods to manipulate pixels will go in extension methods.
Layers inherit form bitmaps and add a name, isActive flag and x,y offset properties
Images consist of a list of layers and have a merge funcion
All classes should have a clone an equals method.

done, need to write some tests and add usefull features


Can we add a folder related leetcode daily problem in java

We probably could, but then I have a bad history with DMCA takedowns from hackerrank and codechef, so might want to check if it's alright to use their questions.


Change okio version to match okhttp dependency

This prevents an eviction of 1.11.0 when using SBT as the build tool of choice.
Otherwise the below is required
libraryDependencies += "com.github.amatkivskiy" % "gitter.sdk.async" % "1.6.0"
dependencyOverrides += "com.squareup.okio" % "okio" % "1.11.0"

Basically its a conflict where async depends on 1.6, okhttp depends on 1.11. So depending on what the build tools default behaviour is, one or the other will be evicted.

@DavidDudson Great 😄 Thanks. Need to fix the build.


Increase JS build size

This worked locally, but I don't know how much memory the Actions machine has. 🤷

:koolaid man smashing through wall: Ohhhh yeah


spfx upgrade reducing the number of commands required to install dependencies

Adds #508
Implemented a very simple map reduce to avoid running multiple times the same installation command for different dependencies, thus accelerating install time and upgrade sequence.

Coverage decreased (-0.1%) to 99.857% when pulling efaa52805e3df39be0a0ab4411b987432fafab26 on baywet:feature/npmimapreduce into 715d7216327787693540faef986d028d78a16837 on pnp:dev.

Thanks! I'll have a look at it shortly.

Glancing at the code, I wonder if we couldn't simplify the matching piece and use string comparison instead of a regex, given that we control how the install/uninstall are written ourselves.

What's the concern with a regex? It more "intelligent" does validation (eg: avoids matching -E in a package name and confusing it for a exact save…). Maintainability? Performance?

Primarily maintainability plus the nested if constructs used to go through the different cases. It would be good if we could simplify the code

I couldn't use a map structure because of the existing for each. And I didn't want to change too much code.
I can extract that to a method and use constants to improve readability if you think that's valuable?

Not sure I fully understand the difference. If not too much work, could you post the altered code snippet here and we can then decide which one would be easier to maintain over time?

moved the code to these two methods, which makes readability much better. Added constants for the regex capture groups, this way it's easier to avoid mistakes maintaining and helps with reading as well.
https://gist.github.com/baywet/fb1dacca361a05568fcebfd162e86f9a

I think I prefer the original approach plus the constants. I don't see the separate functions adding as much.
We could simplify the regex because we either use -SE or -DE, there is no separate -S or -D.

having separate methods makes the getReportMd method easier to read IMHO. (one scroll rule ;-) )
I'll push new commits ASAP

Ah, that's likely easier to see when integrated with the rest of the code. Would functions get easier too if we simplified the regex and dropped some of the arrays?

Well if we say the rules will always input SE or DE yes (making that modification as we "speak") it eliminates some cases.

That's what we currently have and I don't see at the moment why we'd need other cases. So i -DE, i -SE and un

for uninstall, shouldn't we add -S or -D in the initial command (and keep the difference in the map reduce)? this way it's saved to the package.json even with the older versions of npm?  https://docs.npmjs.com/cli/uninstall

For the time being that might be a safer choice, yes 👍

@waldekmastykarz this is by design if you look at this line https://github.com/baywet/office365-cli/blob/feature/npmimapreduce/src/o365/spfx/commands/project/project-upgrade.ts#L331. The reason I did that it to avoid people doing installation line by line and notice at the end "oh there's a line that does everything at once". It also makes the report smaller, thus easier to read and understanding what needs to be done.

Sorry, but we can't provide an incomplete upgrade report. The first part of the report is meant to help people understand the changes. The summary is meant for when you know what each change is for and just need to grab the commands to run the update. In both cases, the information should be complete.

What if I push a resolution per condensate command like this is done here then? https://github.com/baywet/office365-cli/blob/1203efc3e5f587246d14129fa8e8aeacb108a3c5/src/o365/spfx/commands/project/project-upgrade.ts#L348
You'd effectively have "execute the following command: npm i module1 module2..."

Sorry, I don't think I understand what you mean

@baywet I'd reserve that for the summary. In the first section of the report, I'll prefer to have each finding separately so that if necessary, we can include additional information about the finding, like information about the package, its purpose, etc. If you don't need all that information and are just interested in the scripts, you can grab them from the summary section.

here is an update, let me know what you think

Thanks for the quick fix. I'll have a look shortly 👍

Merged manually. Thanks again!


#751 Create imod logger

This commit adds the imod.logging.logger to the imod-python project.
It abstract away the use of external logger dependencies, making sure we are not strongly coupled to external logger frameworks, making it easy to switch from logger in the future.
Also because it is based on an interface it is easy mockable in unit tests( as an alternative to mocks you can also use the provided NullLogger).
The logger is disabled by default. To activate it you call the imod.logging.configure() method
3 loggers are available:

NullLogger
PythonLogger
LoguruLogger

Users can choose which one they want to use. If a user is using logging themselfs, this makes it easy to integrate imod logging into that.
For the user that don't want to bother setting up logging them self there is already a default stream handler initialized when the configure method is called. A flag can be used to also enable outputting to a file
Examples on how to use the code are provided in the docstring in the init file

looks good, but why no tests?

To be honest I totally forgot.
I added some unit tests now


added Lightstep to vendors.md

Lightstep Supports OpenTelemetry as documented: https://docs.lightstep.com/docs/already-using-collectors

This is superseded by #288


cnspec: 9.11.0 -> 9.12.0

Diff: https://github.com/mondoohq/cnspec/compare/refs/tags/v9.11.0...v9.12.0
Changelog: https://github.com/mondoohq/cnspec/releases/tag/v9.12.0
Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] 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
[ ] 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.

Result of nixpkgs-review pr 275619 run on x86_64-linux 1

1 package built:

cnspec


Modify the typespec for functions push and push_list

Thanks for making this repo!
My dialyzer showed error "breaks the contract" when passing a map or list(map) as the argument for functions PushNotification.push/1 and PushNotification.push_list/1 respectively.
I found out that those functions were expecting the type PushMessage.t() instead of map.
Please let me know what do you guys think!
Kind Regards

I'm running into this issue too and have to dialyzer ignore the line.  @ston88 solution looks good. cc: @rdrop

Me too, I ended up dropping this attribute above my function to quiet the error:
@dialyzer {:no_return, g: 0}

Ran into this as well. Would love to get this accepted into the library. Is this still maintained?


Geoalchemy2 don't work on Extended ModelViews

Hi, I have this class
class Point(db.Model):
    id = db.Column(db.Integer, primary_key=True)
    name = db.Column(db.String(64), unique=True)
    point = db.Column(Geometry("POINT"))

...

admin.add_view(ModelView(Point, db.session)) # Okay

When I load it with ModelView its display correctly the map with the point. But, when I load it from an extended ModelView the map isn't displayed.
class LogedView(ModelView):
    def is_accessible(self):
        return current_user.is_authenticated()

    def _handle_view(self, name, **kwargs):
        # redirect to login page if user doesn't have access
        if not self.is_accessible():
            return redirect(url_for('login', next=request.url))

admin.add_view(LogedView(Point, db.session)) # Not Map

Why does Geoalchemy2 support only works with the ModelView?
Edit: Change Name class

I can't reproduce this. It's working fine for me, with Flask-Admin==1.2.0.
I'm using the sample code in examples/geo_alchemy, and adding:
class LoggedView(ModelView):
    def is_accessible(self):
        return True

    def _handle_view(self, name, **kwargs):
        return

admin.add_view(LoggedView(Point, db.session, category='Points'))

Can you double-check your code, and perhaps post some more details if you're still getting the error?


Fix test auth server

Must've accidentally committed switchover from test config to actual
config

Trivial so merging when tests pass


Fix some issues with angle interpolation

Motivation and Context
Dumb angle interpolation bug that may have been causing issues when using my RRT code

add unit tests

Changelog

How Has This Been Tested

Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have made changes to existing documentation where needed.
[ ] I have added tests that show that the PR is functional.
[ ] I ran tests/hw_manual_test.py on hardware and observed that robot behavior looks normal.

@mathfac fixed interpolate and added more unit tests. your solution wasn't quite right either but this one seems good, checked the tests + math


Add paddings as CSS root vars

[ ] Show list of spacings in a debug view through JUPITER.

Could this be read directly from europa.config.js instead?


🔧 Upgrade Evaluation Server to dotnet 8

This PR upgrades the evaluation server to dotnet 8

Merci @wss-rbrennan We will review it.


SQLonlinux_mssconf_docupdate

mssqlconf doc update - ldaphostcannon

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

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

@amvin87 - Hey Amit, can you please help confirm the additions proposed here? Thanks!

#assign:amvin87

#sign-off

Since this has merge conflicts, @rwestMSFT is fixing this in https://github.com/MicrosoftDocs/sql-docs-pr/pull/24182. Thanks @aravindmahadevan-ms!


Add onClick lisner for text view.

Fix problem with handle onClick on text view.
Upagrade gradle to stable version

Suggestions applied


Feat: Shopping page needs to be responsive in mobile

Describe the feature
Shopping page needs to be responsive in mobile
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Hello @Anushkabh please assign this issue to me under gssoc 24

Hello @Anushkabh i started to work on this issue but now it is showing fine

as you assigned to me I do not know who worked on that. please let me know what should  i do now ?

Hello @Anushkabh i am closing this issue . please check above reply . thanks


Issues with ncc and GraphQL project?

Not sure if I'm missing something entirely but, if I run my application normally, it all works fine. If I try bundling it up with ncc, I get the following errors:

Thanks for posting an issue. Can you share the code that is on line 42980 of dist/index.js that is giving the error? It would also help to know what the original require looked like for that code that isn't working correctly.

Annoyingly, it's just these lines:
function webpackEmptyContext(req) {
	var e = new Error("Cannot find module '" + req + "'");
	e.code = 'MODULE_NOT_FOUND';
	throw e;
}

Seems like it's these lines (the last one throws the error):
var resolveCwd = __webpack_require__(3370);
var graphqlPackagePath = resolveCwd.silent('graphql');
var _a = __webpack_require__(1604)(graphqlPackagePath || 'graphql'), GraphQLObjectType = _a.GraphQLObjectType, GraphQLScalarType = _a.GraphQLScalarType, parse = _a.parse, validate = _a.validate, Kind = _a.Kind;

@guybedford I'm happy to try debugging this further if you can give me any tips / ideas as to where to start?

@Siyfion thanks so much for the updates here, that helps a lot to track this down.
So the issue is exactly that we have code like:
var resolveCwd = require('resolve-cwd');
var graphqlPackagePath = resolveCwd.silent('graphql');
var _a = require(graphqlPackagePath || 'graphql'), GraphQLObjectType = _a.GraphQLObjectType, GraphQLScalarType = _a.GraphQLScalarType, parse = _a.parse, validate = _a.validate, Kind = _a.Kind;

where the builder doesn't know the value of graphqlPackagePath and therefore we build it in as an unknown module.
One possible fix would be to rewrite requires of the form require(unknown || 'known-string') to require('known-string'), which seems like it would actually fix this issue for you.
I'll see if I can push up a fix shortly, and link it here for you to test further in due course.

Thanks @guybedford! If you want me to test out a WIP version, I'm more than happy to be a lab rat! 👍

I've created https://github.com/zeit/ncc/pull/294 for this. Would value a full replication case if you can share to be sure this captures it.

@guybedford yup, that fixes our issue! 🎉 I can't share this reproduction repo, as it's a client's code, but I'll try to see if I can find something open source that I can link that'll demonstrate too.

@guybedford found one for you:
https://github.com/prisma/graphql-yoga/tree/master/examples/prisma-js

Thank you all for your effort. I'm having the exact same issue and cannot deploy new code to our prod. Is there any way to get #294 merged soon?

Fixed in #294


Pulling image issue.

When I m trying to pull image of microsft/bcsandbox I m getting TLS Handshake timeout error.
Any solution for this.
I also want to how to define memory limit to 3G through the power shell command. As someone suggested me to set memory limit 3G to container for an another issue with creating a Container for BC-Sandbox.

Probably something with your firewall, proxy or like.
The parameter for memory limit is -memorylimit xG

I didn't define any proxy and turned off firewall also.
What should be the issue?

have you tried:
docker pull microsoft/windowsservercore

Yes freddy its working, I mean its pulling.

Not sure whats wrong, but it is something local to your system.
maybe try docker system prune - or reinstall.

Yes freddy , I don't know what is the issue with my system . Now the Microsoft/bcsandox also pulling.
One more thing please see the highlighted value in image, this is the way I m defining the memory limit to the container, is it ok?

Thanks you.

Yes, that looks correct

Thanks


Support multiple format reports in same run

Is your feature request related to a problem? Please describe.
I couldn't find a way to make bandit generate reports in multiple formats. Having reports in multiple formate is useful e.g for finding the unique issues, counting no of issues etc. cvs is best. But I would like to have HTML format when I triage the report.
Describe the solution you'd like
Provide option to generate multiple format reports. With out running bandit multiple times.
Describe alternatives you've considered
Right now I have to run bandit twice to get CSV and HTML format.

https://github.com/PyCQA/bandit/issues/447
Duplicated?

Dupicate of #447


[release/3.0] Switch to embedded package icon

Contributes to aspnet/AspNetCore-Internal#3103

F:\workspace_work\1\s.dotnet\sdk\3.0.100-preview8-013656\Sdks\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets(198,5): error : The element 'metadata' in namespace 'http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd' has invalid child element 'icon' in namespace 'http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd'. List of possible elements expected: 'language, summary, references, contentFiles, iconUrl, releaseNotes, packageTypes, dependencies, owners, frameworkReferences, licenseUrl, frameworkAssemblies, title' in namespace 'http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd'. This validation error occurred in a 'icon' element. [F:\workspace_work\1\s\src\Razor\src\Microsoft.NET.Sdk.Razor\Microsoft.NET.Sdk.Razor.csproj]

This branch has the same SDK version as other release/3.0 branches in ASP-land, so I'm not sure why  this only happens for the Razor project - @dougbu @JunTaoLuo looks like we might be using a custom SDK there?

We originally pinned the SDK to preview8 to avoid the PackageIcon issue. Now that we're reacting to it, we probably need a new SDK that recognizes the icon element in the nuspec.

Just updated to the GA SDK

Lots of CS1508's popping up with the GA SDK, such as:

CSC : error CS1508: Resource identifier 'AspNetCore.TestFiles_IntegrationTests_CodeGenerationIntegrationTest_RazorPagesWithRouteTemplate' has already been used in this assembly [/Users/vsts/agent/2.155.1/work/1/s/src/Razor/test/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X.Test/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X.Test.csproj]

Seeing the same thing in https://github.com/aspnet/EntityFramework6/pull/1291#issuecomment-534781868

@rynowak do I need to do something similar to 4eb93869b94758f8d2df9650da0a7e0b949adb4f?

Good to go

Thanks @pranavkm!

Don't merge until https://github.com/aspnet/AspNetCore-Tooling/pull/1168 is in


必须全局安装么？

执行 yarn add miniprogram-slim:
error Z:\miniprogram\inNENU\node_modules\pngquant-bin: Command failed.
Exit code: 1
Command: node lib/install.js
Arguments:
Directory: Z:\miniprogram\inNENU\node_modules\pngquant-bin
Output:
‼ getaddrinfo ENOENT raw.githubusercontent.com
  ‼ pngquant pre-build test failed
  i compiling from source
  × Error: pngquant failed to build, make sure that libpng-dev is installed

执行 yarn add miniprogram-slim:
error Z:\miniprogram\inNENU\node_modules\pngquant-bin: Command failed.
Exit code: 1
Command: node lib/install.js
Arguments:
Directory: Z:\miniprogram\inNENU\node_modules\pngquant-bin
Output:
‼ getaddrinfo ENOENT raw.githubusercontent.com
  ‼ pngquant pre-build test failed
  i compiling from source
  × Error: pngquant failed to build, make sure that libpng-dev is installed

是的亲，但是还会报错哦~

执行 yarn add miniprogram-slim:
error Z:\miniprogram\inNENU\node_modules\pngquant-bin: Command failed.
Exit code: 1
Command: node lib/install.js
Arguments:
Directory: Z:\miniprogram\inNENU\node_modules\pngquant-bin
Output:
‼ getaddrinfo ENOENT raw.githubusercontent.com
  ‼ pngquant pre-build test failed
  i compiling from source
  × Error: pngquant failed to build, make sure that libpng-dev is installed

是的亲，但是还会报错哦~

请问这个问题有解决方案吗？

执行 yarn add miniprogram-slim:
error Z:\miniprogram\inNENU\node_modules\pngquant-bin: Command failed.
Exit code: 1
Command: node lib/install.js
Arguments:
Directory: Z:\miniprogram\inNENU\node_modules\pngquant-bin
Output:
‼ getaddrinfo ENOENT raw.githubusercontent.com
  ‼ pngquant pre-build test failed
  i compiling from source
  × Error: pngquant failed to build, make sure that libpng-dev is installed

是的亲，但是还会报错哦~

请问这个问题有解决方案吗？

cnpm


Bulk extract fails with Maximum Execution time exceeded

I am trying to Bulk extract a table with a lot of data (last 7 months based on sys_created_on). The extraction fails with Maximum Execution time exceeded from here.
I used to use this other wrapper on top of ServiceNow API which used to provide means to use the limit param which could help with fetching larger volumes data. Is there any similar means to do the same using PySNC without having to make multiple calls to Gliderecord for shorter amounts of data?

Looking at Performance Concerns may help you.
But to directly answer your question, yes, decrease the batch size to something like 10. Your error is from servicenow itself timing out trying to generate a huge response, so make each response smaller.


Full screen Wizard needs a fixed footer

The footer (and actions) require scrolling to see on certain common screen ratios.
A footer fixed to the screen would help the user understand the next steps

This problem will eventually be resolved (hopefully by Q1 2024) when we ditch our Data Driven Forms dependency... but I think I might be able to fix the problem now either with some hacky CSS or by submitting a patch to DDF... I'll look into it.

Sounds good @lucasgarfield!

Let's make sure the V2 wizard fixes this.

Fixed by https://github.com/osbuild/image-builder-frontend/pull/2291


[DOC-3432] Add helm chart section back into the Install using Helm topic

Add helm chart section back into the Install using Helm topic
For reviewers, a preview is available.
What Type of PR is This?

[ ] Issue
[ ] Feature
[x] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[x] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app


Remove the OVF file after converting it to OVA.

Retaining the OVF file after encryption will cause update of the same ova to fail later as untarring it to create ovf will fail.

Can you please update your commit message and explain why you're making this change?

👍


Switch order of includes

cc @davidbrochart
This should fix it?
Ref https://github.com/conda-forge/pydelatin-feedstock/pull/3

Let's try!

I don't have access to a windows machine locally... should I publish a new release with this?

I think https://stackoverflow.com/a/14243688/7319250 argues against this change?

Yes but glm is header-only, so I'm not sure it holds.
Let me try patching the recipe before releasing.

It would be nice to test it in some way before releasing a new version to pypi

Ah but you included <algorithm> in triangulator.cpp, you should do it in triangulator.h (and before glm.hpp). So I guess that deserves a release anyway.

Ah so this PR probably doesn't matter at all, I just need to add the include to triangulator.h?

Yes


Do not merge - Integration test branch sentinel commit

Current Voting Result
Vote on this comment with 👍 or 👎.
Vote Summary:
0 👍
0 👎
Acceptance Criteria:

75% of weighted votes needs to be to approve
1 minimum # of unique voters required
at least 5 minutes of voting


Not Working This Code.

I want to backup and restore my realm database to google drive but i did not get anywhere proper tutorial in GitHub or Google Site. Can Anyone Send Me Proper Way that what repository i will use in gradle and what is the import and method will be?

Please use stack overflow for 'how-to' questions.


chore: start blog

Summary
This PR copies the styles from the rome blog and copies the blog post of the new version

Test Plan

I am going to merge this now. I will prepare a blog post for the announcement later this month


Text streaming

Currently all of the streaming APIs we're providing are byte-wise. We ought to also support text-decoding interfaces.
This would likely mean that we'd want stream(text=True). Difficulties here are that we don't have .apparent_encoding available to us prior to the content being available. We'd need to use chardet's incremental decoding as well as an incremental decoder
I'd suggest we'd want to implement this by adding a TextDecoder(encoding=None) class to decoders.py that takes the charset_encoding as it's initial argument. It would implement the same interface as the existing decoders, except returning str.
Aside: It's possible that in the future we might start to move more into line with requests' iter_content() and item_lines().

having an incrementally decoding File and StreamReader like objects would be amazing contributions to the chardet project https://github.com/chardet/chardet/issues/154


Collab fail  returned non-zero exit status 1.

Traceback (most recent call last):
File "/content/FastFaceSwap/main.py", line 734, in
main()
File "/content/FastFaceSwap/main.py", line 710, in main
add_audio_from_video(name, args['target_path'], args['output'])
File "/content/FastFaceSwap/utils.py", line 146, in add_audio_from_video
subprocess.run(ffmpeg_cmd, check=True)
File "/usr/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ffmpeg', '-i', 'Bazdata.mp4_temp.mp4', '-i', '/content/FastFaceSwap/baz.mp4', '-c:v', 'copy', '-map', '0:v:0', '-map', '1:a:0', '-shortest', 'Bazdata.mp4']' returned non-zero exit status 1.

if it's possible I would ask for full output from the program, but based from what I see you don't have audio in your video or something went wrong while copying audio from video

still, Bazdata.mp4_temp.mp4 is the video without the sound, so you can just download it if you don't have the sound in the original video


fix fix unified load converted failed when forwarding to master

Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


ARM64 Support

Hi, i am running visual studio 2022 on arm64. i would love to see an arm64 version of this theme. thanks

Thanks for bringing this up, will look into it.


Hidden board not working

v2.1.7  Command to hide the board not working. Just freezes board.
Spigot 1.12.2

I'll make sure to check it out, thank you for reporting :)

Also, make sure you're not in a disabled world. Try relogging and see if it disappears.

Fixed in the latest version: https://www.spigotmc.org/resources/spigotboard.47497/history

Thanks
2017-10-21 9:50 GMT-04:00 yPedx<EMAIL_ADDRESS>
Closed #8 https://github.com/yPedx/SpigotBoard/issues/8.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/yPedx/SpigotBoard/issues/8#event-1304158279, or mute
the thread
https://github.com/notifications/unsubscribe-auth/Acl4bLiUX56Yk6i3dsaN-mgSV6EtcbMGks5sufaggaJpZM4QANMD
.


Support global tx sequence numbers, by storing the first sequence of each checkpoint.

overall lgtm.
An alternative is to also add # of transactions in CheckpointSummary so we don't need that extra table in nodes.

I think we can now even add some gauge to the checkpoint creation process like 'TotalNumberOfTransactions', can be fun to watch

We could potentially rename it to something like "network_total_transactions"

I think that my preference would be to have a count of the number of transactions without including the first_tx_sequence_number.

If you mean the count of txns in the checkpoint, that's not very good, because you can't then determine the sequence # of transactions in a checkpoint without accessing all previous checkpoint summaries as well.

In particular I would prefer it if "sequence number" wasn't something that was explicitly exposed in the API of our core data structures. That way "sequence numbers" are something that can just be re-constructed by indexing apis and the like.

But that's exactly the intent of this change - to be able to reconstruct the sequence numbers as needed. As for not explicitly exposing sequence numbers, I'm not sure why you feel that way - referring to elements of an ordered list by their index is a very normal thing to do. By the way, I hoped to get rid of them as well, but doing so would require major changes to the RPC apis, which need to have a way to do pagination.

For example, what happens with checkpoint that have 0 transactions in them? what does the value of "first tx sequence number" mean then? If we need to keep such a field, maybe instead of "first_tx_sequence_number" this field could just be a rolling count of txns processed since genesis?

That is exactly what this field is - a rolling count. If a checkpoint has 0 transactions, then it is vacuously true that the first transaction in the checkpoint has the specified sequence number, and the subsequent checkpoint will have the same value for first_tx_sequence_number, which will not cause any problems.
@lxfind Happy to rename the field if it makes it clearer - my only thought there is that network_total_transactions sounds to me like it would include the transactions in the checkpoint. That's ok, I suppose I we can store it that way instead.


Keyboard shortcuts do not work with accented symbols

Describe the bug
Keyboard shortcuts do not work with accented symbols. Tested using: ö Ö Ä ä
Toggle visibility from anywhere
Clear Ray from anywhere
Versions

Ray application version: <IP_ADDRESS>
spatie/ray package version: 1.3.2
spatie/laravel-ray package version (if applicable):
PHP version: 7.4
Laravel version (if applicable): 8.20.1

Steps to Reproduce

Open up Ray application
Go to Preferences
Set the keyboard shortcuts to accented symbols
Close preferences (to apply changes)
Try to use the shortcuts

Expected behavior
Ray should notify and filter out accented symbols for keyboard shortcuts or support them (preferred).
Desktop
Edition: Windows 10 Pro
Version: 20H2
OS build: 19042.685
Experience: Windows Feature Experience Pack 120.2212.551.0

We're planning a complete overhaul of the shortcut input in a future version, so you can use any combination of characters you'd like. This should also solve your problem.

We're planning a complete overhaul of the shortcut input in a future version, so you can use any combination of characters you'd like. This should also solve your problem.


Drag effect onto Token to add to corresponding actor

Dropping a dragged Active Effect onto a Token should attach the effect to the owning actor.

Implemented in 2.5.0


remove R0912 lint ignore

Remove lint ignore for R0912
close ticket #490

rbac/providers
************* Module rbac.providers.azure.initial_inbound_sync
rbac/providers/azure/initial_inbound_sync.py:201:0: R0912: Too many branches (13/12) (too-many-branches)

All tests are passing, so you should be good once you fix this issue.


To err or fail

How much should predicates that actually implement constraints produce errors? In Prolog IV, constraints do not produce any type or domain error at all but instead they fail, as there is no instance that holds.
Currently:
?- functor_spec(T,F,A), F = 1*1, A= a.
   error(type_error(atomic,1*1),functor/3).
?- functor_spec(T,F,A), A= a, F = 1*1.
   error(type_error(integer,a),length/2).
?- functor_spec(T,F,A), F-A = 1*1-a.
   false.
?- F-A = 1*1-a.
   F = 1*1, A = a.

So, if unification is done in an explicitly sequential manner, there are errors. But when they are executed simultaneously, there is "silent" failure.
The way how unification is executed exactly is often very implementation dependent. The only requirement by the standard is the respect of the NSTO-property. But not more than that.
With above behaviour chances are that seemingly unrelated program modifications lead from failure to error or back. So probably the best way to go is to opt for always failure.
Compare this to cases where already failure is chosen:
?- functor(T,2,2).
   error(type_error(atomic,2),functor/3).
?- functor_spec(T,2,2).
   false.

I think I also lean more to the side of failure instead of error. I feel there is definitively a trade-off here, but I don't really understand the upsides of errors enough to think clearly about it. I guess with error you can know why a constraint wasn't satisfied, but just failing is more declarative, as you said it means that "there is no instance that holds".

I think I'm actually going to close this when the queries you gave are consistent with always failing.

Errors like type errors necessitate that the exact execution order is fixed. Otherwise, they often lead to confusion. In ISO, there is a fixed well-defined order. And, even more so, prior to, say, 1993, there were not that clear alternatives around. Even dif/2 (first implemented 1975-05 in système Œdipe, that is, prior to the existence of Prolog) or any other constraint mechanism was simply too immature. Even now there are differences.
Failure has the advantage that one can use declarative methods to locate the error. Like generalizations.

... on the other hand, the most common clpfd/clpz implementations do produce errors, and it seems this is really what one expects in these areas:
?- X = a, X #> 0.
   error(domain_error(clpz_expression,a),unknown(a)-1).
?- X = a, #X #> 0.
   error(type_error(integer,a),must_be/2).
?- #X #> 0, X = a.
   error(type_error(integer,a),unknown(a)-1).

But then, finite domain variables are often only connected to integers (in error free programs).

What about looking into the implementation of dif/2? Currently, there are several unfixed issues in Scryer. The big advantage would be that its specification is quite clear. So no need to guess around new names and the like. But certainly, I should warn you, it is far from trivial. (And I mean just dif/2 together with terms. Not dif/2 and other constraints.) To give you an idea what this is about, SWI has never had a correct implementation. SICStus has space leaks. Scryer has leaks and lots of unnecessary residuals. You get it. Ah, one added complexity would be that Scryer has three different unification modes (terms (with occurs-check), terms (with errors), and trees (rational, infinite)). It should work accordingly in all of them. If interested, start here: #135. At least I can promise you to thoroughly test it. In any case, this would give you a quite good introduction into atvs.

I used the Scryer implementation of dif/2 as a reference of how to use attributed variables, because I didn't find much documentation about it (the closest is the SICStus documentation, but there are some differences such as attribute_goals//1 being a DCG). I think I now understand how it works well enough to give dif/2 a serious look.

Better sources for studying are clpz and maybe even more so clpb.

on the other hand, the most common clpfd/clpz implementations do produce errors

I've been trying to integrate clpz to deal with integer constraints in this library and this has become a problem. Now queries can give type errors when interacting with integer constrained variables:
?- functor_c(A, B, C), B = a, C = 1*1.
   error(type_error(integer,1*1),unknown(1*1)-1).

I think this is a trade-off that is worth it to benefit from the power of clpz.


[Personal Cabinet] Orders tab  - order details

As a registered client, I want to see the details of each my order so that I can check it.
Assumptions & Constraints
n/a
Preconditions

User is logged in as a client and navigated to the tab "Замовлення" in the  personal cabinet.

Business rules
n/a
Acceptance Criteria
1.The client can expand/collapse each order details by clicking on expanding icon

Only one order from the list can have an expanded view at a time.

The remaining orders from the list are shifted to fill the viewing page.

Order details in expand view:

Title - “Деталі замовлення”

“Послуга”  - Service name
“Об’єм” Package size
“Вартість” Price per package
“Кількість пакетів” Quantity of packages
“Сума” Total amount per service

Безпечні відходи
“120 л” Text. Disabled.
Float number with 2 digits. By default 250.00 грн Disabled.
Integers. Current quantity of packages. Values from 0-999 only.. Disabled
Float number with 2 digits in format XXX.XX грн.Total price of packages per service calculated by the formula: a price of 1 package * quantity of packages = total price (e.q.: 250*1 = 250.00 грн).

Текстильні відходи
“120 л” Text. Disabled.
Float number with 2 digits. By default 300.00 грн Disabled.
Integers. Current quantity of packages. Values from 0-999 only.. Disabled
Float number with 2 digits in format XXX.XX грн.Total price of packages per each service according to the formula: the price of 1 package * quantity of packages = total price (e.q.: 300*1 = 300.00 грн).

Текстильні відходи
“20 л” Text. Disabled.
Float number with 2 digits. By default 50.00 грн Disabled
Integers. Current quantity of packages. Values from 0-999 only. Disabled
Float number with 2 digits in format XXX.XX грн.Total price of packages per each service according to the formula: the price of 1 package * quantity of packages = total price (e.q.: 50*1 = 50.00 грн).

Field title
Field type
Requirements

Сума замовлення
Float number with 2 digits. e.g (255.00 грн).
Order sum without discount. Should be greater than 0. No upper limit is set. Total price “Текстильні відходи” 120L + total price “Текстильні відходи” 20L + total price “Безпечні відходи” 120L = Order sum (e.g.: 250+300+50=600.00 грн) Disabled

Сертифікат
Float number with 2 digits 0.00-999.00 грн
Total amount of certificates used to pay for the order. If the client used several certificates, they must be aggregated. Displayed in format “-100.00 грн”. Disabled

Бонуси
Float number with 2 digits 0.00-999.00 грн
Total amount of bonuses used to pay for the order. If the client made several payments with bonuses, they must be aggregated. Displayed in format “-50.00 грн”. Disabled

Оплачено
Float number with 2 digits 0.00-999.00 грн
Total amount that client has paid. If the client made 2 payments, then total amount = payment amount 1 + payment amount 2

Сума до оплати
Float number with 2 digits.e.g (150.00 грн)
Order total. May be equal to 0 or less/greater than 0. No upper limit. Calculated by formula: Order sum “Сума замовлення” - “Сертифікат” - “Бонуси” - “Оплачено” = Order total “Сума до оплати”(e.g.: 600-100-50-0=450.00 грн). Disabled

Доставка з Еко магазину.Номер замовлення
Integers
Received from order form. 10- digit number from Eco-Store. In case several orders from Eco-Store are used, those are written in one line and are separated by ‘;’e.g:<PHONE_NUMBER>;<PHONE_NUMBER>.

Коментар до замовлення
String
Сomment to the order. Received from order form from field “Коментар”. If the client has not added any comment, this field is empty.

Відправник
String
Sender name, surname, phone and e-mail.

Адреса вивезення відходів
String
Received from order form. Address of waste pickup : City, Street, District, Region. street should be displayed in format: [street name] [house number], корп. [block number], п. [entrance].  If there is no block or entrance number, the system should display “-” (hyphen). E.g. Личаківська 5, корп. 3, п.2 or Зелена 127, корп.-, п.-

Коментар
String
Сomment to the address from the client. Received from the order form the field “Коментар до адреси”. If the client has not added any comment, this field is empty.

Mockups:
https://www.figma.com/file/JvDAu4MHnh1Vxc5FaokyiA/ITA-UBS-styles?node-id=17779%3A37662
Out of scope

Order cancellation (Button Скасувати)
Order payment (Button Оплатити)
Messages about bonuses return

Epic link
E.g.: Epic #2195
Labels to be added
"User story", Correspondind Functionality (e.g. User), Priority ("pri: "), "Corresponding Epic"
Tasks

[ ] sample task.

Colleagues, please note - requirements to the field "Сума до оплати" is changed:
was: May be equal to or greater than 0
to be: May be equal to 0 or less/greater than 0.


Re-ID features code release?

Thanks for so nice work！I saw your experiment for Re-ID features model in section 4.5.2, but I can't find the code in this repository. Do you release the code for this part?

Hi~
We are improving the re-ID features code recently. We will update it as soon as possible.

Thanks for your reply. Waiting for it ！

Hi~
We have release re-ID feature code.


How do you remove a not required date-time from your JSON output?

In my go-swagger built API I have a date-time property that is not required, i.e. I would like to exclude it from the JSON output if the source DB value is NULL.  I successfully select the value into a sql.NullString value (endTime) then convert to a strfmt.DateTime (endTimeStr) to populate the model:
endTimeStr := strfmt.DateTime{}
(&endTimeStr).Scan(endTime.String)

When the value in the database is NULL then instead of this value being suppressed in the JSON output I see the following:
"end_time": "0001-01-01T00:00:00.000Z",

The above value means nothing in my context so I would rather see it suppressed.  Am I able to do this?
Note non-required values of other data types are not placed in the JSON, do I have to do anything extra in the case of date-time values to hide these too?
Thanks for any help you can provide.

you can annotate your date property with x-nullable: true that gives you a pointer value for the strfmt.DateTime property and allows you to retain the NULL

Thank you casualjim, that is what I was looking for.


Draft: Added target prop to Link

Description
This allows a new target to be specified on the Link object.
Fixes #2781
Checklist

[x] I have reviewed my own code
[ ] I have added tests

Tests still need to be added, but I would like a review first.

I am not sure if we should support target on the Link component.

I believe the primary motivation is individuals who want a Yew route to always open a new tab (`target="_blank")

I believe the primary motivation is individuals who want a Yew route to always open a new tab (target="_blank")

In this case, why not simply Link?

Ergonomics, consistency.
I believe @hamza1311 Wanted this issue tracked and was supportive of the idea, as he mentioned in Discord. My role in all of this was just helping out with the implementation.

I thought the conversation was about Ctrl + Click to open a new tab instead of implementing target props on the Link.
But anyways, will approve if someone else approves this pull request.

As I understood your discord message, it was that stated that Link should handle Ctrl/Shift click actions — not target property. As @futursolo has mentioned, this case is easily coveted by .
What happens when you ctrl click on a <Link />? If it opens in a new tab, great, nothing needs be done. If it doesn't open a new tab (as I understood from the discord message), then the onclick handler needs to be updated to accommodate that. The same is also applies to shift click

I don't know if there is behavior for shift click (on mobile).
I am fine with scrapping this PR. I used it as an opportunity to start getting acquainted with Yew.

Going to close this.


soroban-rpc: Production-ready helm-chart

What problem does your feature solve?
Easy way for infra providers (and ourselves) to run soroban-rpc (if they're already on k8s).
What would you like to see?
We should take the manifests from https://github.com/stellar/kube/pull/1337, and the image from https://github.com/stellar/soroban-tools/issues/382, and combine them into a production-ready helm-chart for deploying soroban-rpc.
It should include:

Healthchecks and automatic restarts
Log management/routing? example?
Example docs for upgrading to a new version
Persistent volumes for data, as needed.

What alternatives are there?

We should probably also use a k8s ConfigMap for the config instead of having the config on a persistent volume.

For the record, there is an existing helm chart at https://github.com/stellar/helm-charts/tree/main/charts/soroban-rpc

Ops is working in tandem on this aspect, and in process of refactoring the existing helm chart to latest rpc runtime, with review up - https://github.com/stellar/helm-charts/pull/53


[INTEL oneDNN] Resubmitting scratch pad optimization for matmul primitive : PR number :54381

This PR has changes from PR 54381 (reverted back) + fix for Windows build failure.
Changes to add user scratch pad for matmul primitive to fix OOM issue in Transformer LT.
This reduces memory footprint of the primitive. It fixes an out of memory issue when running Transformer LT with multiple instances and total thread count is large. Managing scratch pad for the primitive from the framework, fixes the out of memory issue, reduces memory footprint and does not affect performance. The changes :
Creates a new struct that hold the Tensor for scratch pad arg.
Allocates memory based on scratch pad size queried from primitive description.
Sets user scratch pad in post ops for the primitive.

@penpornk . There are 3 code style failures(Code Check). The first failure is often seen with clang-format style fix. It switches the location of the header from first to last or vice versa. The changes in second the third failures are copied from clang-format style=Google file. Please advice what to do for these failures. Wondering if I am using a different version than the one run by Internal CI.
Thanks

@jojivk73 Don't worry about that. We have already imported the PR. I'm just running Windows tests at a different snapshot to make sure there is no more failures. (The code at HEAD already failed the Windows tests because some unrelated LLVM errors so we can't tell.)


ebuild  0.14

Just adds an override for esbuild 0.14.
I'll add more of those if that works for you.

@DavHau let me know if that is what you had in mind.
I'll be adding more as I go along.

haha, will remember that one.
All good now.

Wonderful. Thank you very much. This solution looks good. I think we can solve similar problems like that as well.
At some point we should probably start using some input management for these extra sources. Otherwise there is a risk of those being forgotten and never updated.

I completely agree.
I don't know if you've seen the patttern in nixpkgs that uses a pin.json
ideally we should have the same, a json file that stores data like version, sha256 and the like.
So that a script can update those very easily.

I'm a fan of using a flake for managing inputs. We could have a separate flake.nix just for the overrides.
But then again flakes doesn't support custom update logic.
But we have already custom update logic implemented in ./src/fetchers and ./src/updaters. Maybe we can glue that together with with flakes somehow.
Instead of nix flake update you would run nix run .#update which is our custom updater implementation.

that sounds like a good idea.
I haven't seen it where you can update to the next version for example. This sounds like it would exist though.


[IOTDB-1659] FixWindows CLI cannot set maxPRC less than or equal to 0

Description
See IOTDB-1659

Coverage decreased (-0.006%) to 67.399% when pulling 3b505c1079c0a9aaf8c8bffac535b821383d411f on 1659 into d5ebc3c2247b9aca5f76401f51b2f702e5231a6f on master.


Inconsistent Data Type "thermal-conductivity" in IRG27 Schott glass

The property "thermal_conductivity" in IRG27 is sequence of a mapping with two mapping keys : "temperature" and "value". On the contrary, in IRG22, IRG24, IRG25, IRG26, the property "thermal_conductivity" is simply a scalar map. This leads to difficulty in creating a single parsing schema for the entire database.

fixed!


Define _GNU_SOURCE when including fenv.h

Fedora has 2 architectures, ppc64le and s390x, where fedisableexcept is needed.  However, with glibc 2.37 at least, the fedisableexcept prototype is visible only if _GNU_SOURCE is defined.  This is remarked on in the "glibc notes" section of the fedisableexcept man page on Linux systems.
Also, since fenv.h is a system header file rather than a local header file, use angle brackets with #include instead of quotes.

This has been partially accepted, as follows:
20241111
fpinit.c in solvers.tgz and solvers2.tgz:  insert
#define _GNU_SOURCE
before
include "fenv.h"
to make fedisableexcept() visible on some systems (as someone
requested).  It is "fenv.h" rather than <fenv.h> because it was
sometimes necessary to supply a custom fenv.h, as indicated in
the comment
/* Some Intel Linux systems (e.g., S.u.S.E. 5.2) come with a suitable
fenv.h, /
/ but some (e.g., S.U.S.E. 6.1) do not.  This is for the latter
systems.  */
Let us know if that works. The change will appear on netlib, and we can port it to this repository too.

That's fine.  The _GNU_SOURCE part was the important part.  Thank you!


Support Gemini feeds

It would be great if Newsboat could support gemini:// feeds (example) without having to run something like a local gemini->http proxy. More info about Gemini

+1 :+1:

+1 👍

@Seirdy Thanks for the suggestion!
If anyone wants to work on this, the best way to implement it would be:

add a function somewhere in the rust/libnewsboat create that fetches a file from Gemini. It doesn't (probably even shouldn't) be async, as we don't have an async runtime yet, and I'm not ready to drag one into the project right now. It's fine, all our other fetchers are synchronous too.
If curl already supports Gemini, that function can just call into curl;

call that function from RssParser::retrieve_uri (src/rssparser.cpp);

add a mention to the docs. The "Quick Start" section is probably a good place for this, but look around, perhaps there's other places that might benefit as well.

@m040601, @JJohnGreenSr: GitHub supports reactions, which is a way to express your support without spamming all of the repo's watchers. Please use that in the future. Thanks.

Out of curiosity I skimmed the spec. A couple things jumped out at me:

there's no support for caching. It's probably left out for simplicity, but I think that's a wrong balance for feeds: they can weigh hundreds of kilobytes and change less often than they're requested. Weird.

self-signed certificates and TOFU would require control over the TLS layer, which Newsboat defers to curl. Might be a bit tough to implement;

client auth requires per-site certs, which implies per-site settings, which aren't even fully designed yet: #83;

Gemini defines its own formatting, which would need a separate parser and renderer, plus some code to actually take the format into account (Newsboat currently stores that info but doesn't act on it, treating everything as HTML).

Sounds doable, but a bit broader than what i described in a previous comment.

@Minoru, a Gemini implementation, e.g. https://git.sr.ht/~sircmpwn/gmni, might go some way to addressing these concerns.

@stevenmos Reading it made me realize that the TOFU problem is even harder than I thought, so thanks; I updated my above comment. Other than that, not sure which part of the code you wanted me to read.

It was meant in the vein of a general point of information.  Not knowing much at all about it, I rather naively saw ``CLI utility (like curl)'' and thought it might be a drop in replacement for curl for gemini.

While curl does not support Gemini, there exist other curl-like programs
that were made for gemini. gmni0 and gurl1 are two examples.
On the Rust side, @Xe has put together maj2.
More software is listed at the Gemini project's Gemini space:
gemini://gemini.circumlunar.space/software/
Some example Gemini feeds:
Drew Devault's Gemini space: gemini://drewdevault.com/feed.xml
@Xe's Gemini space: gemini://cetacean.club/journal/atom.xml (seems to be
down)
An alternate solution would be to just use an existing Gemini-to-web
proxy to subscribe to Gemini feeds, like https://portal.mozz.us. Users
can also run a proxy on localhost.

It's back up. The lesson of the day is to not set up services with openrc

After thinking about this for a bit more, I think the TOFU and client cert stuff will inevitably make it into the config and/or the TUI. Client certs can be universally useful (as HTTPS uses them too), but TOFU is a purely Gemini thing (unless we add fetching over SSH or something). Since there already exist Gemini<->HTTP proxies, and Newsboat has exec: for those who just need to fetch a single feed, I don't think it's warranted to add all of this into Newsboat.
Thus I'm closing this for now. Perhaps the world will change in a few years, and I'll re-consider this.


Request to update docker base images

Hi,
I know that the focus is on the development of the Basyx V2, but I wanted to inquire whether it would be possible to update the base images in eclipsebasyx/aas-server:1.5.0, eclipsebasyx/aas-registry:1.5.0 and eclipsebasyx/aas-gui:v23073.
I am willing to help with the update process if needed. Thanks!

Hi,
thank you very much for pointing this out. Do you already have some base images in mind?

Sure, Frank. My suggestion is actually based on the Docker Scout tool:
eclipsebasyx/aas-server:1.5.0 and eclipsebasyx/aas-registry:1.5.0   -> openjdk:22-jdk or openjdk:22-jdk-slim
eclipsebasyx/aas-gui:v230703 -> node:21-alpine

Perfect, we will take a look and most likely update the base images with the next release.
I will update this issue when this is done.

Sure, Frank. My suggestion is actually based on the Docker Scout tool:
eclipsebasyx/aas-server:1.5.0 and eclipsebasyx/aas-registry:1.5.0 -> openjdk:22-jdk or openjdk:22-jdk-slim eclipsebasyx/aas-gui:v230703 -> node:21-alpine

ui is fine, server I would prefer the openjdk:22-jdk-slim

I have no opinion about the ui image, since we don't use it / haven't build it.
For java I would recommend to use the same image (amazoncorretto:17), that we use for https://github.com/eclipse-basyx/basyx-java-server-sdk - aka version2.
Then openjdk images are deprecated...

Thanks for pointing this out, @alexgordtop.


Prints 0.0

Thank you for sharing this code.
I downloaded and run earthmover.py
But it just outputs 0.0 even changing the values

You are probably using Python 2, which uses integer division.
Note that Python 2 will reach the end of its life on January 1st, 2020. I recommend you upgrade to python3.7.
Nevertheless, I have modified the code to support with python2. It should work fine now.

Now it works, thank you. My editor geany supports python2 so I use it.
I have one more question. Is it possible to using your code for computing 2D matrix distance with same size.
Or, Do you advice any other code?


Pages missing meta attributes

Pages without title:

https://mixitconf.org/mixteen
https://mixitconf.org/come

Duplicate titles (seen in https://www.google.com/webmasters/tools/html-suggestions?hl=en&siteUrl=https://mixitconf.org/&probtype=9&pl=eyJ0YXJnZXRJZCI6Imh0bWwtc3VnZ2VzdGlvbnMiLCJwYXJhbXMiOnsic2l0ZVVybCI6Imh0dHBzOi8vbWl4aXRjb25mLm9yZy8iLCJobCI6ImVuIn19)

/2017/design
/2017/hacktivism
/2017/learn
/2017/tech
/2017

Also, /en seems no recognised as language path by Google: duplicate titles for every canonical and its /enalternative .

I added missing titles via https://github.com/mixitconf/mixit/commit/73da88ce019b7426656d8cbbd5ba6ccd672c319a.
I don't understand why /2017/foo pages are reported with duplicated titles, try it yourself you will see they are differents.
I also I don't understand why Google does not recognize en content correctly since we have followed guidelines (html lang attributes + ` tags).
Any thoughts?

Maybe it's just lag: it takes times to Google to refresh its advices

OK I close this for now then, please reopen a new issue later if necessary.


clyp.it support

I can probably add this one myself, but its going to take a day or three to acquaint myself with the codebase properly, but if someone else gets there first or whatever thats cool :)
TL;DR, here is my reference implementation for downloading individual files from clyp.it. Its fairly straightforward.
Example URL: https://clyp.it/hrvttfzp
Basically, you rewrite it to https://api.clyp.it/hrvttfzp, extract Title and Mp3Url from the JSON response, and download Mp3Url.

Post an example URL.

Updated with example url and description of how their API is used in this instance. Still reading over some of the extractor examples, to figure out how youtube-dl does it :)

Just made a pull request adding clyp.it

Clyp will be supporte in the next version.


support trustroot/certificate in WAMP-cryptosign

see https://github.com/crossbario/autobahn-python/issues/1568

besides WAMP-Cryptosign trustroots, this PR contains WAMP IDL related additions


WebIDL: enable bindings that take Option<scalar>

Right now support for things like Option<u32> isn't implemented, so we'll need to implement that first to enable the bindings in https://github.com/rustwasm/wasm-bindgen/tree/master/crates/web-sys/webidls/unavailable_option_primitive

I'm currently working on this one.


Service down yet again

The Crafatar API returns a 521 error code, or sometimes shows a Heroku error.
This is very unfortunate because recently we switched from mcheads to Crafatar for our game launcher, and having this occur within a week is making me lose confidence in the service.

I also have the same issue with it we just have to wait for the service to be back up again.

Thanks for reporting this. The server seems to be down, I have contacted the hosting provider to bring it back up.

Any news on this?

They haven't replied to the ticket yet

Hi. Blazing fast API has been timing out for 3 days now. Has the server grown legs and left for some milk? Updates would be appreciated. Thanks

So is this abandoned? @jomo

The hosting provider restarted the VM and crafatar came back, but apparently it went down again.
I wonder if this is caused by someone effectively DoSing the server with too many requests.
Unfortunately only the hosting provider can restart the VM, I've asked them again and will try to monitor the situation as soon as possible.

@AqueleHaru

you should change the host D:

They have hosted crafatar.com for free for almost a decade and only ever asked for their link and logo on the website. They replied in <24 hours, which is quite good for a 0.00 € tier.
@sauramel

So is this abandoned? @jomo

While I don't plan to continue active development on the software, I haven't abandoned running the crafatar.com service. I don't run this for profit, crafatar.com has been free software and ad-free since forever and all expenses are paid by myself. As such, running the service is not the top priority in my life and I'm not a team of SREs waiting 24/7 to handle any incidents.
If anyone relies on the availability of crafatar.com, please DM me if you're interested in a paid SLA. Alternatively, you can easily host a private or public instance of crafatar. hmu if you commit to running a public instance long-term, then I can add it to the README.

Found the problem: Someone is hitting the service with >37x the amount of traffic we usually have… Please don't.

The server is actually up, but it's out of resources and slow to respond. I'll see what I can do.

Some IPs are requesting several bogus requests per second with obviously wrong UUIDs, causing a lot of uncached request hits that are then cached, and causing a lot of unnecessary traffic. The requests only identify as a Java version, so they seem to be coming off some kind of Java application.
I'm trying to redirect some of those requests here. If you know what's causing these requests, please let me know.

In other news, crafatar.com currently seems to be stable. I hope it stays that way for a while.

@jomo not 100% sure if this is related to what you're saying, but I thought it'd be worth mentioning: a lot of Tebex stores for Minecraft servers have themes that use crafatar URLs with UUIDs. The problem is that Tebex now just generate a random UUID ever since most stores are now "offline mode" in order to support bedrock users. I just noticed this on my store and got forwarded here.
Hope that explains why you're probably getting a lot of invalid UUID requests!

Checked our forum logs, we use MineSync which is an addon for Xenforo. It also uses Crafatar to fetch avatars for users according to their username.
We use Geyser to support bedrock players, this means the UUID it's parsing to fetch the avatar is invalid. I imagine there are other applications like this exhibiting similar behaviour - hope this helps. :)


WS Identifier

Can u add WS IDs, but if i subsribe to message event, i can't identifier what client push this message, i have only ws connect, but what the client send message idk.
P.S. Thx for u project.

You can store data in WebSocket object. WebSocket object is preserved between messages.  See example:
https://github.com/Novage/wt-tracker/blob/master/lib/uws-tracker.ts#L126

hm....
I thought that this will not work, well, well then, thanks)

Hi, this is what I do:
  /* ... */
}).ws('/io', {
  open: (ws, req) => {
      ws.uuid = create_UUID();
  /* ... */
// UUID generator from: https://gist.github.com/LeverOne/1308368
function create_UUID(a, b) { for (b = a = ''; a++ < 36; b += a * 51 & 52 ? (a ^ 15 ? 8 ^ Math.random() * (a ^ 20 ? 16 : 4) : 4).toString(16) : '-'); return b }

Hope this helps.

Hi, @PeterHewat.
This way works perfect but can I share uuid between .ws() and other endpoints?

UWebSockets.App({})
    .ws('/*', {
        compression: 0,
        maxPayloadLength: 16 * 1024 * 1024,
        idleTimeout: 10,
        open: (ws, req) => {
            ws.uuid = uniqueID();
        }
     })
    .get('/myroute', (res, req) => {
        // uuid ???????    <=======================
    })
    .listen(port, token => {});


docker container ltcd is missing --txindex option

lnd requires ltcd to be started with the --txindex option.

Fixed by #709.


Fix Frustum culling with rotations

Frustum check only added models center to the instance world position. This did not take into account rotations or scale properly. Updated frustum check to account for rotations. This issue is most noticeable with things like Terrain / water.
@Dgzt can you test this when when you have a moment?

@Dgzt can you test this when when you have a moment?

Sure. I've tested my rotated water and works. Thank you!


Meet RuntimeError in mmdet3d/ops/spconv/src/indice_cuda.cu

I also meet the same bugs  with #21

Please follow the template for "error report" to describe your issue. We need more information to debug.
BTW, the referenced issue is simply an "out of memory" error caused by adding codes unrelated to the codebase. You can check whether there is any possibility leading to this runtime error case.

@Tai-Wang  Thanks for your reply.
Describe the bug
I can only run the pointpillar successfully without spconv. Maybe the spconv causes the error. I also try to reduce the number of "samples_per_gpu" to 1, but still get the same error.  I run the code on Titan V+CUDA 10.1+pytorch=1.5.1/1.3.1+mmcv-full=1.0.3/1.0.2.
Reproduction
Did you make any modifications on the code or config? Did you understand what you have modified?
No.
Environment
sys.platform: linux
Python: 3.7.6 (default, Jan 8 2020, 19:59:22) [GCC 7.3.0]
CUDA available: True
CUDA_HOME: /usr/local/cuda-10.1
NVCC: Cuda compilation tools, release 10.1, V10.1.168
GPU 0,1: TITAN V
GCC: gcc (GCC) 5.4.0
PyTorch: 1.5.1
PyTorch compiling details: PyTorch built with:
GCC 7.3
C++ Version: 201402
Intel(R) Math Kernel Library Version 2020.0.1 Product Build 20200208 for Intel(R) 64 architecture applications
Intel(R) MKL-DNN v0.21.1 (Git Hash 7d2fd500bc78936d1d648ca713b901012f470dbc)
OpenMP 201511 (a.k.a. OpenMP 4.5)
NNPACK is enabled
CPU capability usage: AVX2
CUDA Runtime 10.1
NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_37,code=compute_37
CuDNN 7.6.3
Magma 2.5.2
Build settings: BLAS=MKL, BUILD_TYPE=Release, CXX_FLAGS= -Wno-deprecated -fvisibility-inlines-hidden -fopenmp -DNDEBUG -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DUSE_INTERNAL_THREADPOOL_IMPL -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, USE_CUDA=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON, USE_STATIC_DISPATCH=OFF,
TorchVision: 0.6.0a0+35d732a
OpenCV: 4.3.0
MMCV: 1.0.2
MMDetection: 2.3.0rc0+3c21dd0
MMDetection3D: 0.5.0+unknown
MMDetection3D Compiler: GCC 5.4
MMDetection3D CUDA Compiler: 10.1
Error traceback
2020-07-23 09:57:07,433 - mmdet - INFO - Start running, host: zliu@1035, work_dir: /home/zliu/mmdetection3d_1035/work_dirs/dv_mvx-fpn_second_secfpn_adamw_2x8_80e_kitti-3d-3class
2020-07-23 09:57:07,433 - mmdet - INFO - workflow: [('train', 1)], max: 40 epochs
Traceback (most recent call last):
  File "./tools/train.py", line 166, in <module>
    main()
  File "./tools/train.py", line 162, in main
    meta=meta)
  File "/home/zliu/mmdetection3d_1035/mmdetection/mmdet/apis/train.py", line 128, in train_detector
    runner.run(data_loaders, cfg.workflow, cfg.total_epochs)
  File "/home/zliu/anaconda3/envs/mmdetection3d/lib/python3.7/site-packages/mmcv/runner/epoch_based_runner.py", line 122, in run
    epoch_runner(data_loaders[i], **kwargs)
  File "/home/zliu/anaconda3/envs/mmdetection3d/lib/python3.7/site-packages/mmcv/runner/epoch_based_runner.py", line 32, in train
    **kwargs)
  File "/home/zliu/anaconda3/envs/mmdetection3d/lib/python3.7/site-packages/mmcv/parallel/data_parallel.py", line 31, in train_step
    return self.module.train_step(*inputs[0], **kwargs[0])
  File "/home/zliu/mmdetection3d_1035/mmdetection/mmdet/models/detectors/base.py", line 237, in train_step
    losses = self(**data)
  File "/home/zliu/anaconda3/envs/mmdetection3d/lib/python3.7/site-packages/torch/nn/modules/module.py", line 550, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/zliu/mmdetection3d_1035/mmdet3d/models/detectors/base.py", line 60, in forward
    return self.forward_train(**kwargs)
  File "/home/zliu/mmdetection3d_1035/mmdet3d/models/detectors/mvx_two_stage.py", line 266, in forward_train
    points, img=img, img_metas=img_metas)
  File "/home/zliu/mmdetection3d_1035/mmdet3d/models/detectors/mvx_two_stage.py", line 201, in extract_feat
    pts_feats = self.extract_pts_feat(points, img_feats, img_metas)
  File "/home/zliu/mmdetection3d_1035/mmdet3d/models/detectors/mvx_faster_rcnn.py", line 54, in extract_pts_feat
    x = self.pts_middle_encoder(voxel_features, feature_coors, batch_size)
  File "/home/zliu/anaconda3/envs/mmdetection3d/lib/python3.7/site-packages/torch/nn/modules/module.py", line 550, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/zliu/mmdetection3d_1035/mmdet3d/models/middle_encoders/sparse_encoder.py", line 97, in forward
    x = self.conv_input(input_sp_tensor)
  File "/home/zliu/anaconda3/envs/mmdetection3d/lib/python3.7/site-packages/torch/nn/modules/module.py", line 550, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/zliu/mmdetection3d_1035/mmdet3d/ops/spconv/modules.py", line 130, in forward
    input = module(input)
  File "/home/zliu/anaconda3/envs/mmdetection3d/lib/python3.7/site-packages/torch/nn/modules/module.py", line 550, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/zliu/mmdetection3d_1035/mmdet3d/ops/spconv/conv.py", line 168, in forward
    grid=input.grid)
  File "/home/zliu/mmdetection3d_1035/mmdet3d/ops/spconv/ops.py", line 94, in get_indice_pairs
    int(transpose))
RuntimeError: /home/zliu/mmdetection3d_1035/mmdet3d/ops/spconv/src/indice_cuda.cu 124
cuda execution failed with error 2

I think there is no problems in the provided information. Could you please observe the CPU/GPU memory cost when running the code? Just to confirm it is an out of memory error. Also please tell us which config you are using.

@Tai-Wang
The config file is dv_mvx-fpn_second_secfpn_adamw_2x8_80e_kitti-3d-3class.py in configs/mvxnet.
I also observe the CPU/GPU memory cost  is normal, which just costs about 6G for GPU memory. Then this error occurred. I think 12G  GPU memory is enough for running the config.  I also  reduce the number of "samples_per_gpu" to 1, but still obtain the same error.

I have just checked this config, and it runs well on my 2080Ti with about 8.5G for GPU memory.
Maybe you can first check whether the code still takes up the memory after the error happens. Then please try other configs using spconv, like configs with hard voxelization hv_second_secfpn_6x8_80e_kitti-3d-3class.py in the configs/second.

Other configs with spconv will meet similar bugs. Can you provide your conda environment in details?  Thanks.

Other configs with spconv will meet similar bugs. Can you provide your conda environment in details? Thanks.

You can refer to this comment for my environment. From my experience, cuda 10.0-10.2, pytorch 1.4.0-1.5.1, python 3.7 and gcc 5.4/5.5 should be ok.

Thanks, I will have a try on RTX2080Ti.

Thanks, I will have a try on RTX2080Ti.

Hi, I meet the same question with you, when I run pcd_demo.py in the server.  However, I tested it on my personal desktop, it could run. Have you solved it?

Thanks, I will have a try on RTX2080Ti.

Hi, did you run this project on Titan V or 1080Ti before? I want to figure out if it is  caused by GPU  type, because i can run this project on 2080Ti, but fail on Titan V.


Image builder failed due to EC2 Client Error: 'You can’t publicly share this image'

Got the below error while building the DOTS image:
Error:'Not all distribution jobs are completed. 1) EC2 Client Error: 'You can’t publicly share this image because block public access for AMIs is enabled for this account. To publicly share the image, you must call the DisableImageBlockPublicAccess API.' when distributing the image from the source account (ID: 8478885XXXXX) to the destination account (ID: 8478885XXXXX) in Region ap-south-1.'
As a workaround, I have made adjustments to the YAML script, substituting UserIds in place of Usergroups to ensure private storage of the image (Reference). Please review the change.
 Type: 'AWS::ImageBuilder::DistributionConfiguration'     Properties:       Name: !Sub 'DistributionConfiguration-${AWS::StackName}'       Distributions:         - Region: !ImportValue             Fn::Sub: ${ResourcesStackName}-Region           AmiDistributionConfiguration:             Name: !Join               - '-'               - - 'deepracer-ami-dist-config'                 - '{{ imagebuilder:buildDate }}'             AmiTags:               Name: DeepRacer             LaunchPermissionConfiguration:               UserIds:                 - <AWS_ACCOUNT_NUMBER>

This PR will fix this issue, please close this issue once merged @tylerwooten - https://github.com/aws-deepracer-community/deepracer-on-the-spot/pull/107


Segmentation Fault When Running Multiple Sessios In a Row

Please go to Stack Overflow for help and support:
https://stackoverflow.com/questions/tagged/tensorflow
If you open a GitHub issue, here is our policy:

It must be a bug, a feature request, or a significant problem with documentation (for small docs fixes please send a PR instead).
The form below must be filled out.
It shouldn't be a TensorBoard issue. Those go here.

Here's why we have that policy: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 16.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): source
TensorFlow version (use command below): 1.4.1
Python version: 1.4.1
Bazel version (if compiling from source): 0.6.0
GCC/Compiler version (if compiling from source): 5
CUDA/cuDNN version: 8.0
GPU model and memory: GTX 1080 TI
Exact command to reproduce: session_one->Run(
{{INPUT_LAYER, input_tensor}},
{OUTPUT_LAYER}, {}, &outputs_tensor);
Run the above method twice in a row

You can collect some of this information using our environment capture script:
https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh
Describe the problem
It appears that multiple sessions cannot be ran right after the other, otherwise I get segmentation fault. There is gotta be a delay in between Run() methods (such as extra computations)
Source code / logs
For instance, the following code makes my program have a segmentation fault:
Status run_session_one_status = session_ONE->Run(
          {{THIS_GRAPH_input_layer, input_tensor_one}},
          {THIS_GRAPH_output_layer}, {}, &output_tensor_one);
  if (!run_session_one_status.ok()) {
      LOG(ERROR) <<
                 "run_session_one_status failed." << run_session_one_status;
  }
  Status run_session_two_status = session_TWO->Run(
          {{DIFFERENT_GRAPH_input_layer, input_tensor_two}},
          {DIFFERENT_GRAPH_output_layer}, {}, &output_tensor_two);
  if (!run_session_two_status.ok()) {
      LOG(ERROR) <<
                 "run_session_two_status failed." << run_session_two_status;
  }

Whereas the following code stops the segmentation fault from happening:
Status run_session_one_status = session_ONE->Run(
          {{THIS_GRAPH_input_layer, input_tensor_one}},
          {THIS_GRAPH_output_layer}, {}, &output_tensor_one);
  if (!run_session_one_status.ok()) {
      LOG(ERROR) <<
                 "run_session_one_status failed." << run_session_one_status;
  }

  /// adding extra operations just to give GPU a break
  feature_vector.clear();
  for (uint32_t i = 0; i < output_tensor_one[0].NumElements(); ++i) {
      feature_vector.push_back(output_tensor_one[0].flat<float>()(i));
  }

  Status run_session_two_status = session_TWO->Run(
          {{DIFFERENT_GRAPH_input_layer, input_tensor_two}},
          {DIFFERENT_GRAPH_output_layer}, {}, &output_tensor_two);
  if (!run_session_two_status.ok()) {
      LOG(ERROR) <<
                 "run_session_two_status failed." << run_session_two_status;
  }

I have plenty of GPU memory, and each session only needs 0.5% of my GPU's total memory. And, yes, I tried giving each session more memory (e.g., 50% per session, etc.).
Even though I found a work around, I still wanted to throw the bug out there for the TensorFlow team to be aware of it.

@azaks2   PTAL

Do you have a small example that can reproduce the issue? At the very least could you please share the stack trace for the thread that produces SIGSEGV


[Fixes #485] Respect global pane-base-index option

Tmuxinator currently fails to find a value for this option, because pane-base-index is a window option, not a session option: the -w flag must be passed to 'tmux show-option' in order to display it. This patch fixes the issue with two changes to the #show_tmux_options method of Tmuxinator::Project:

It now displays both global session options and global window options.
It now only detects the options that Tmuxinator::Project knows and cares about (currently base-index and pane-base-index)

Is there a spec that could be added to insure that this fixes the issue?

A red-to-green test would require changing how tmux_config is mocked. Right now the private method show_tmux_options is stubbed out and left untested; the tests don't even cover the method I've changed. I'd like to mock the tmux CLI itself and stub its responses to the show-option and show-window-option commands, but I'm not sure of the best way to do that.

In other places I have mocked the calls to tmux using this:
allow_any_instance_of(Kernel).to receive(:`).with(command).and_return(output)

See https://github.com/adamstrickland/tmuxinator/blob/24b0330aa325d0c7efc3bccdd4fde1e5d097cb03/spec/lib/tmuxinator/config_spec.rb#L149-L153

Nice technique, thanks!

Any other action needed from my end to move this forward?


Alternative Backends (Minivm, Wasm, LLVM)

I may write some ideas down for codegen for multiple backends later. Requires some sort of typed (or type-erased) low level IR format. I plan to move away from the current Lambda + Closure format once we introduce the Qualm distributed runtime (formerly FLEx).

Just curious - do you have any description of the plans regarding Qualm/FLEx distributed runtime? Any repository? Is it something akin to Unison?

I have an old repository on my main account that implements most of the heap/vm https://github.com/slightknack/flex. (I demo'd the repository a while back.) Locally I've developed it a bit further, but don't intend to publish a new repo as qualm under this org until big-refactor is merged.
You could probably describe Qualm it as a mixture of Unison, Lunatic, and Beam. I'll try to sketch out the core idea here for those interested, but note that Qualm is currently on the backburner until I get big-refactor merged and have time to focus on updating the runtime.
The high-level idea is simple: Write programs that scale to any level of compute by running the self-contained qualm runtime on a set of machines. You can push out work by sending content-addressed compiled functions to a node, and it will be run in parallel and distributed across machines in the cluster as needed.
Qualm is built on a minimal assembly-like format (similar to Wasm or MiniVM bytecode) that operates at the granularity of functions. These functions are content-addressed and easily distributed between nodes, as each function can be serialized to a canonical compact binary format.
Each node can run up to thousands/millions of fibers, each of which has an independent stack, heap, and set of capabilities. Because fibers are self-contained, they can be snapshotted, serialized, and sent between machines.
Nodes keep content-addressed functions in a shared store which individual fibers running on that node can reference. If a node does not have a function a fiber needs, the node can grab the function from its peers (as functions are content-addressed).
I've implemented a simple interpreter for qualm assembly, but it might be more efficient for nodes to translate it to Wasm/MiniVM, or directly compile functions to native code. The hope is that nodes can be updated incrementally and run different implementations compatible with Qualm while maintaining compatibility keeping long-running processes alive between updates.
Nodes provide a Passerine repl for adding/removing nodes, managing running fibers, testing out functions, etc. Running aspen run will spin up a single-machine parallelized qualm runtime, but if the project is configured to be a part of a cluster, the qualm runtime will connect to the other nodes present in the cluster and run it that way.
From the passerine side of things, Qualm will be a single OPT-like system injection interface built on top of algebraic effects. This interface will contain a number of primitives like 'start new fiber', 'snapshot fiber', 'run group of fibers in parallel', etc. It's up to the runtime implementation to determine how to actually parallelize things (and I have some cool ideas here, like how to determine whether it's more efficient to run fibers in parallel or take the network hit and distribute across multiple nodes).
There is, of course, a lot of detail I'm glossing over here, like the cryptography scheme for signing work and adding new nodes, exactly what the wire format looks like, what's special about the heap implementation (it supports vaporization!), how the repl works, what HTTP/IO/etc. looks like, etc.
You may have also noticed that Qualm is not a compiler; because of the compatibility of the qualm assembly format with the likes of Wasm and MiniVM, I'm hoping that eventually other languages will be able to run on top of qualm, with Qualm serving as a sort of langauge-server analogue for compute.
We'll see how things go, of course. Currently I'm in the middle of big-refactor. I've made a lot of progress which I'll hopefully update y'all about soon after I publish the couple of blog posts in the pipeline about the new FFI built around system injection and what's new in the upcoming release.

Interesting. Thanks for the primer. Will stay tuned to see the new blog posts first before commenting on anything :wink:.


Stock Issue

If not enable negative inventory in Stock Setting getting this error
please fix if there is no stock sales invoice must be "draft"

Pushed a fixed on this one.


finetune_lora.sh use ds_config_zero3.json error

I want to use ds_config_zero3.json to reduce GPU memory.I only have 4*24G GPU memory.But error occurred.
  File "/home/cce/work/.cache/huggingface/modules/transformers_modules/MiniCPM-Llama3-V-2_5/resampler.py", line 152, in forward     x + pos_embed,  # L * B * D +  L * B * D RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:1 and cpu!
can you provide  finetune_lora.sh about zero3.

so do i

hi we have updated our code ， you can try it again

hi we have updated our code ， you can try it again

Thanks a lot. good work.


Increment version for identity releases

Increment version for identity releases

Can one of the admins verify this patch?


Site translation to Indonesian

Full site translation by @JaviAnibarro, originally in #234 - thanks so much for the contribution!

[x] Header announcement-id
[x] Header nav-id
[x] Page about index-id
[x]  Page developers index-id
[x] Page faq index-id
[x] Page news index-id
[x] home index-id

I touched the branch up a bit and will review the content shortly!

Awesome work @JaviAnibarro!


Crystal issues with flycheck

Observed behavior
I am editing a crystal file over ssh on my pi using Crystal 0.24.2-3.
I open the file, try to save it (it lets me but errors), press ESC and it errors out saying
how
Suspicious state from syntax checker crystal-build: Flycheck checker crystal-build returned non-zero exit code 1, but its output container no errors: Error: File: /ssh:user@<host>:/file_path/flycheck_filename.cr does not exist.

Try installing a more recent version of crystal-build, and please open a bug report if the issue persists in the latest release.

Expected behavior
It should just.. like.. not error :+1:
Steps to reproduce

ssh into a rpi (idk if this issue persists over other platforms)
open/create a crystal file
It should error out right away, or when you save/press ESC

System information

Click to expand

OS: gnu/linux (x86_64-pc-linux-gnu)
Emacs: 26.1 (May 28, 2018)
Doom: 2.0.9 (develop 0354edc3a668fdba8b2b1922bcc50cd193dcef5f)
Graphic display: t (daemon: nil)
System features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES THREADS LIBSYSTEMD LCMS2
Details:elc count: 0
uname -a:  Linux PixeL-Antegros 4.16.13-2-ARCH #1 SMP PREEMPT Fri Jun 1 18:46:11 UTC 2018 x86_64 GNU/Linux
modules:   (:feature (evil +everywhere) file-templates (lookup +devdocs +docsets) snippets spellcheck (syntax-checker +childframe) version-control workspaces :completion (ivy +fuzzy) :ui doom-dashboard doom-modeline doom-quit evil-goggles hl-todo nav-flash neotree (popup +all +defaults) vi-tilde-fringe window-select :emacs ediff electric eshell imenu term :tools magit pdf rotate-text tmux upload :lang crystal csharp data erlang elixir emacs-lisp go (haskell +intero) (java +meghanada) javascript lua markdown (org +attach +babel +capture +export +present) php purescript python rust sh swift web :app :config)
packages:  (enh-ruby-mode rbenv rinari rubocop yard-mode)
exec-path: (~/.gem/ruby/2.5.0/bin ~/.cargo/bin /usr/local/bin /usr/bin /bin /usr/local/sbin /usr/lib/jvm/default/bin /usr/bin/site_perl /usr/bin/vendor_perl /usr/bin/core_perl /usr/lib/emacs/26.1/x86_64-pc-linux-gnu)

My apology if this is an issue on my end with something I've done, not too experienced w/ emacs yet.

This should be fixed as of e05d7cf. Let me know if that isn't the case!

It seems to be fixed on my end as well, thanks!


Replace Angular with Angular 2

Web application should be rewritten in Angular2. Preferably also with typescript.

Ok. Almost done.

Thanks in advance :)

Done and moved to new repository


devel: Add the design document

Port the design document from google-docs and make it available for
upstream.

@cathay4t  , I do not think this document includes propaganda.
This is NMState high level design document, pre-dating the implementation (by several months). Its purpose includes reasoning for the need of such a solution,  present the existing alternatives considered at the time, giving enough background to persuade the audience why this solution is worth an implementation.
It includes details on what it needs to solve and at a high level, how to do it.
It embeds feedback gathered from reviewers and enough information to define NMState domain.
I would expect any engineer involved with this project to read it in order to understand the big picture.
The document is linked from the devel section, not aimed for NMState users directly, but it is informative for users who want to understand its source of existence.

I understand that it can be improved, but the point was to publicize the in-house design document, not to re-write it. I am more than happy to accept improvements to it after it gets in.
If there are specific changes that are easy to edit now, I am good with changing it. Just point to the specific issues. If there are big changes, please suggest them as follow-up PR/s.

I understand that it can be improved, but the point was to publicize the in-house design document, not to re-write it. I am more than happy to accept improvements to it after it gets in.

works for me

Merged.


UI and shortcut key Misc

Type of reader (if reader related)
None
Description of the new feature / enhancement
1. Both Image And Epub Reader UI

The reader border line should be 5 to 6 px in size. Same space from left line to arrow as in below image approx.
The line should respect UI scaling and it should be rounded rectangle.
The line must only contain Left and Bottom Line and no top and right border lines.
Its margins should be limited to the start of top bar and scroll bar.
The line must be linked to a new theme property called 'Reader Settings Border Line Color' in theme maker.
I said new theme property and not 'Divider Color' because some user might like it and others might not, so the users that might not like it can use the 'link' feature and link the line color to 'Reader Settings BG' to not see it.

2. Epub Reader Settings

A small UI Request in epub reader settings. Since the below image are all in
So they all would be in a single margin. The 'em' should not be too far end.

Scenario when this would be used?
Improvement of End-User Experience.
Supporting information
No response

Missed it, thanks.


Statistics query

Basic statistics query sample for v100.2

Hey @nCastle1 ... I hope you don't mind giving this a look sometime next week (I'll be on vacation, so no hurry). Thanks!

@ThadT I've made some commits to this branch. I think this is ready to merge at this point, but do not merge. This PR is against the v.next branch which is very out of date. I expect Mike B and Stuart are going to be working on a solution.

@ThadT @nCastle1 the v.next branch has now been updated to be in line with master any 100.2  samples can be merged in to v.next.
Sorry that this PR will now need a bit of work to be merge-able

I've reviewed and tested on all platforms post-merge. Looks good to go.


Freezing the default supported Infinispan operator channel to 2.3.x

Description
The short term changes to fix #170
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change
[x] Chore (non-breaking change which doesn't affect codebase;
test, version modification, documentation, etc.)

Checklist

[x] Code contributed by me aligns with current project license: Apache 2.0
[x] Pull Request contains a description of the changes
[x] Pull Request does not include fixes for multiple issues/topics
[x] Code is self-descriptive and/or documented
N/A - I have implemented unit tests to cover my changes
[x] I tested my code in OpenShift

LGTM, merging


Search bar keeps auto clearing

Use XHR may help to preserve the text. Solution may similar to the new issue which I opened.