R-CNN Bounding Boxes Regressor

Hi all! First of all congratulations for the R-CNN work and his implementation.
In my thesis (computer science) i'm using my approach to detect some boxes in an image containing people. I would use the Pool5 layer of R-CNN to predict the bounding box from my boxes.
I think that I have to use the function "rcnn_predict_bbox_regressor(model, feat, ex_boxes)".
I want to use the pretained model, so I think that the model is in the mat file "bbox_regressor_final.mat" (bbox_reg.models{15} for the person category in voc_2012) and I used the function "rcnn_features(im, boxes, rcnn_model)" to obtain the feat.
In this way it doesn't work because the size of feat is different from the size of variable Beta.
Thanks all.

Ok I installed the last caffe with the latest Matlab Wrapper: with this I can access to middle layers so I accessed to Pool5 layer features of my boxes. How can I use these features to do the bounding regression? I used the function rcnn_predict_bbox_regressor(model, feat, ex_boxes) but I obtain very strange results and I don't think that are correct. Please help me


Prefer to use native HttpMethod instead of WorkBenchServiceHttp

Liquid has an enumeration WorkBenchServiceHttp used to represent HTTP Methods:
https://github.com/Avanade/Liquid-Application-Framework/blob/93f7874f2ead13d3602cc39fc1e9355206217f57/src/Liquid.Base/WorkBenchServiceType.cs#L4
Searching for its reference across the framework, it is only used inside http-related classes (LightAPI, AbstractAPIWrapper and LightPolly).
But the BCL already provides us an HttpMethod class which does the exact same thing but adhering to the Open/Closed principle, allowing us to extend and introduce new HTTP methods on the fly (apart from the existing ones).

Let's remember that this needs to be a non-breaking change.


"Interpolate" only works for year-based values

I'd hope that date-time dataframes could also be interpolated, but currently this just breaks, as the interpolation is hard-coded to use a column called 'year'.

Indeed, this feature is from the pre-datetime days...
But it should be quite straightforward to add a switch if self.time_col == 'year' and add treatment for continuous-time. Want to give this a first shot @Rlamboll?

I think so, when is the next iteration of updates scheduled for?

were planning a patch release soon to ensure compatibility with the just-released pandas v1.0, but the next minor release could happen soon after that - if there are some nice new features ;-)

I've done the coding for this but don't have permission to push to the github.
Also, in order to fix this I use fill_series with date-times. This works perfectly with the existing codebase, but I am interpreting the word "year" to mean "time", so I'd normally rename that to "time", which sounds more general. I have renamed the only use in the pyam codebase but this may break things outside of it, so I'm just warning people.

Awesome, looking forward to review! Can you please create a fork of the repo, create a branch there, and start a PR into IAMconsortium:master? Better than pushing directly to the main repo.
About the API change - maybe the fill_series() can still do the casting from int to datetime (if necessary) for backwards compatibility (and user friendliness going forward)? If not, see this example for an example of how to properly warn users about API changes.

Solved by #334


[1231] WIP: Add a control for org admins to promote other users to be org admins too

Resolves #1231
Description

This PR adds a control for organization admins to promote other users in their organization to be admins. The control is available on the "My organization" screen in the form of a + next to the user role if they are not an admin.
Currently the control shows up next to role=super as well, which I'm not sure is correct. I don't think I understand the semantics between an org admin, a super admin with no org, and a super admin with an org, so I'm open to guidance there.
I followed a similar pattern code-wise to OrganizationsController#resend_user_invitation which is hopefully a reasonable approach.
Potential improvements
The + may not be the most obvious control. I didn't want to add another column given the limited space, and there is hover text of "Promote to admin" which may help, but I'd be open to feedback that the user experience here isn't up to par.
I also wonder if there should be a confirmation step, since this is an irrevocable action. I could image clicking the button would prompt the user to confirm their action before completing it, just in case it was a stray click. I'm open to trying to introduce something like that here.
Type of change

New feature (non-breaking change which adds functionality)
This change requires a documentation update <-- unsure

How Has This Been Tested?

I added controller specs to demonstrate that an org admin can promote someone in their org, but not someone outside of their org. Please let me know if additional tests are needed, I'm happy to try to write them.
Screenshots

Hello! Welcome!!!
So to clarify a couple things:
"Regular user" just belongs to an organization. These would be typical members who just need to enter data.
"Organization Admin" = the person who is responsible for stuff in the organization. This person has elevated privileges and can do a few things that the regular users cannot.
"Super Admin / Site Admin" (I forget which we called it) -- these are unaffiliated with an organization and are similar to a system admin. We use this role for running reports about the application and general data-fixes and whatnot. There's a separate area for siteadmins.
If you'd like to see the difference, check out the CONTRIBUTING.md file -- we put the default accounts that are seeded and the access levels associated with them.
To be clear -- there should ONLY be "Regular user" -> "Organization Admin". Def no super/site admin here. :)
Re: the + -- Check out app/helpers/ui_helper.rb -- we try to keep the form controls pretty unified in how they look, so that the user's experience with the application has resonance over time. You can likely just add another column to the end (or adjacent to the role, as you've done already) and use one of the UiHelper helpers for this. Tag me in your response if you need more explanation about UiHelper

Thanks @armahillo! I pushed a version using the UiHelper module, which now also incorporates a confirmation since that was a feature some other buttons already had. It looks like this:

The button only appears on normal users, not any sort of admin.

This looks great! Thank you so much for this.


Error when try to run migrations

Environment
MacOSX 10.14 (18A391 - Mojave)
Knex version:
0.15.2
Database + version:
PostgreSQL 10
OS:
MacOSX 10.14 (18A391 - Mojave)
Bug

Explain what kind of behaviour you are getting and how you think it should do:
I just migrate from Knex 0.13.0 to Knex 0.15.12 and my migrations stopped running, if I return to Knex 0.13.0 everything works well.
Even droping all tables I still get the error.

Error message:

knex migrate:latest
Using environment: development
migration failed with error: create table "core"."db_migrations" ("id" serial primary key, "name" varchar(255), "batch" integer, "migration_time" timestamptz) - relation "db_migrations" already exists
error: relation "db_migrations" already exists
    at Connection.parseE (/Users/danilo/Projetos/eductalk/server/node_modules/pg/lib/connection.js:554:11)
    at Connection.parseMessage (/Users/danilo/Projetos/eductalk/server/node_modules/pg/lib/connection.js:379:19)
    at Socket.<anonymous> (/Users/danilo/Projetos/eductalk/server/node_modules/pg/lib/connection.js:119:22)
    at Socket.emit (events.js:182:13)
    at addChunk (_stream_readable.js:283:12)
    at readableAddChunk (_stream_readable.js:264:11)
    at Socket.Readable.push (_stream_readable.js:219:10)
    at TCP.onread (net.js:639:20)

See https://github.com/tgriesser/knex/issues/2499
tl;dr - schemaName for migrations can't be passed as a part of changelogName anymore, pass it as a separate config value schemaName

Cool! You solved, thank you @kibertoad !!!

np, glad I could help!


Platform aware flow Style typedef

Platform specific flow typed and Fela allowed Style typedef. Take a look at type Style, it should define all allowed browser or native styles.
/* @flow */
// import type { BrowserStyle } from 'react-fela';
import React from 'react';
import { createComponent } from 'react-fela'

type Props = {

};

type Style = {
  color: string,
};

const style = (props: Props): Style => ({
  color: 'red',
});

const Container = createComponent(style);

Maybe, in this case, I am the control freak. It's bad for DX to force the developer to import type bla bla. But! Flow can infer returned type from style, and check can be inside createComponent.

OK, I am a control freak. Flowtype can not infer which plugin will be used. It's possible to set up such dev stack, but... too complicated right now. Closing.


revert: unlock for<EMAIL_ADDRESS>

Unlock version for<EMAIL_ADDRESS>Test plan (required)
Demonstrate the code is solid. If not, please add WIP: in its title.

Self Check before Merge
Please check all items below before review.

[x] Corresponding issues are created/updated or not needed
[x] Docs are updated/provided or not needed
[x] Examples are updated/provided or not needed
[x] TypeScript definitions are updated/provided or not needed
[x] Tests are updated/provided or not needed
[x] Changesets are provided or not needed

Hey @yildirayunlu ,
Can you add a changeset?


 Any idea if this could be added?

Which middleware are you using? You should be able to add the discord user agent to the middleware.

Haven't heard back but feel free to reopen if you run into issues. You should be able to just add discord's user agent to your list of user agents being checked.


core-to-plc: rework builtins and generate PIR for datatypes and recursion

This has two large chunks of work in it, which I've stuck together
because the intermediate state had terrible codegen.
The second change is the easier one to understand: we switch to using
PIR's support for datatypes and (recursive) let bindings.
This means deleting lots of code, and simplifying the handling of definitions
to make them work largely with bindings (I hope to move a suitably
abstracted version of the Definitions module to plutus-ir at some
point, so I'm trying to keep it generic).
However, this throws up a wrinkle with interoperating with the PLC
builtins. Consider equalsInteger. It produces a Scott-encoded
boolean, which is not the same as the PIR datatype that we produce if we
just compile things naively - the latter is abstract at its use sites,
so things won't line up.
There is a note in Builtins that describes what I've chosen to do and
why in more detail.
The new approach does produce a vast amount of redundant bindings,
however, so we need the full-on PIR support so we can use its dead
binding removal pass.
Minor notes:

Many of the tests grew because they now have explicit definitions of Bool and Unit.
The tests will look a lot better once we're checking the PIR output rather than the PLC output! But that's still coming.
The module structure of core-to-plc is a bit of a mess now, since many more things rely on having access to the current set of definitions. I'll clean this up in a later PR

So in this PR using fancy term equality won't save us, because

Everything that uses any builtins changes quite substantially.
A bunch of the generated names change, not just the unique.

So I'm not sure we can gain much from that here. I think the big win will be not testing the PLC output but rather testing the PIR output, which will be dramatically more compact. (That's pending on some work that @vagoum is doing).

I will have a look at the golden testing idea since it seems desirable anyway. But I'd prefer not to block this PR on it, however, since I'm hoping to build on it to get something usable for the Marlowe folks.

A bunch of the generated names change, not just the unique.

Using fancy equality would actually save us from this, whoops! They're bound names so it's fine.

I extended the builtin note substantially.


Success building and running on Windows....(not really an issue but might help someone else)

Steps:

pull tip (as of today).
Add this patch: http://codereview.appspot.com/4133041/

works!!
More detailed instructions:
If anyone wants to set up a build environment on windows, you need:
MinGW and MSYS.  An easy way (but 32 bit only and a bit 'non-standard'), is to
use this installer: http://sourceforge.net/projects/lunac/files
If you don't use this installer the paths you need to use will be different than the ones I use!
Get and unzip into the top level directory, bison, diffutils, ed from the Gnuwin32 project.
You need the binaries, the dev packages and the dependancies!
Use Tortoisehg or command line hg to pull the latest go source to C:\MinGW\go
Set the environment variables needed for go:
GOARCH set to: 386
GOBIN set to: C:/MinGW/go/bin
GOOS set to: windows
GOROOT set to: C:/MinGW/go
Add the patch at: http://codereview.appspot.com/4133041/
(I'll add the steps required to do this if anyone really cares)  ;)
Build go by launching MSYS using C:\MinGW\msys.bat and cd to /go/src and entering the command ./all.bash
Get gtk+ from here:
http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.22/gtk+-bundle_2.22.1-20101227_win32.zip
You also need both the bin and dev files from here:
http://ftp.acc.umu.se/pub/gnome/binaries/win32/gtksourceview/2.10/
and from here:
http://ftp.acc.umu.se/pub/gnome/binaries/win32/dependencies/
you need the bin and dev files for the libxml2 library.
Unpack all of these into C:\MinGW\gtk+, then follow the directions in the gtk+-bundle_2.22.1-20101227_win32.README.txt to make pkg-configure happy.
Copy the msys.bat file at C:\MinGW to msysgo.bat and add set GOBIN=/go/bin
set GOROOT=/go near the top.
Pull the latest version of go-gtk using TortoiseGit or command line git to: C:\MinGW\go-gtk.  Then start MSYS again using the msysgo.bat file...and cd /go-gtk and follow the directions in the README.md file to  create go-gtk and the example programs.
I had to copy the zlib1.dll file from C:\MinGW\gtk+\bin into the examples before they would run.
I hope this helps!  If it is too complex, just wait and I'm sure someone will get a pre-packaged windows installer going sometime soon...

nice article to me


[PiranhaJava] Integrate piranha to our microservice

We are working on integrating piranha to our micro-service. we followed the steps mentioned in the Readme file. We are using lombok in our service.  When we ran the build, below error is observed.
Stack Trace:
`[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project qb-billing-service-app: Compilation failure
[ERROR] /Users/ssathyamurthy/dev/qb-billing-service/app/src/main/java/com/intuit/billingcomm/billing/integration/IAMTicketClientIntegration.java:[76,42] error: An unhandled exception was thrown by the Error Prone static analysis plugin.
[ERROR]      Please report this at https://github.com/google/error-prone/issues/new and include the following:
[ERROR]
[ERROR]      error-prone version: 2.4.0
[ERROR]      BugPattern: Piranha
[ERROR]      Stack Trace:
[ERROR]      java.lang.ClassCastException: com.sun.tools.javac.tree.JCTree$JCBinary cannot be cast to com.sun.source.tree.ParenthesizedTree
[ERROR]   	at com.uber.piranha.XPFlagCleaner.matchIf(XPFlagCleaner.java:1021)
[ERROR]   	at com.google.errorprone.scanner.ErrorProneScanner.processMatchers(ErrorProneScanner.java:451)
[ERROR]   	at com.google.errorprone.scanner.ErrorProneScanner.visitIf(ErrorProneScanner.java:655)
[ERROR]   	at com.google.errorprone.scanner.ErrorProneScanner.visitIf(ErrorProneScanner.java:152)
[ERROR]   	at com.sun.tools.javac.tree.JCTree$JCIf.accept(JCTree.java:1427)
[ERROR]   	at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
[ERROR]   	at com.google.errorprone.scanner.Scanner.scan(Scanner.java:74)
[ERROR]   	at com.google.errorprone.scanner.Scanner.scan(Scanner.java:48)
[ERROR]   	at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)
[ERROR]   	at com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:248)
[ERROR]   	at com.google.errorprone.scanner.ErrorProneScanner.visitBlock(ErrorProneScanner.java:522)
[ERROR]   	at com.google.errorprone.scanner.ErrorProneScanner.visitBlock(ErrorProneScanner.java:152)
[ERROR]   	at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1026)
[ERROR]   	at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
[ERROR]   	at com.google.errorprone.scanner.Scanner.scan(Scanner.java:74)
[ERROR]   	at com.google.errorprone.scanner.Scanner.scan(Scanner.java:48)
[ERROR]   	at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90)
[ERROR]   	at com.sun.source.util.TreeScanner.visitMethod(TreeScanner.java:206)
[ERROR]   	at com.google.errorprone.scanner.ErrorProneScanner.visitMethod(ErrorProneScanner.java:742)
[ERROR]   	at com.google.errorprone.scanner.ErrorProneScanner.visitMethod(ErrorProneScanner.java:152)
[ERROR]   	at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:898)
[ERROR]   	at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
[ERROR]   	at com.google.errorprone.scanner.Scanner.scan(Scanner.java:74)
[ERROR]   	at com.google.errorprone.scanner.Scanner.scan(Scanner.java:48)
[ERROR]   	at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90)
[ERROR]   	at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)
[ERROR]   	at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)
[ERROR]   	at com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:187)
[ERROR]   	at com.google.errorprone.scanner.ErrorProneScanner.visitClass(ErrorProneScanner.java:550)
[ERROR]   	at com.google.errorprone.scanner.ErrorProneScanner.visitClass(ErrorProneScanner.java:152)
[ERROR]   	at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:808)
[ERROR]   	at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
[ERROR]   	at com.google.errorprone.scanner.Scanner.scan(Scanner.java:74)
[ERROR]   	at com.google.errorprone.scanner.Scanner.scan(Scanner.java:48)
[ERROR]   	at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)
[ERROR]   	at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)
[ERROR]   	at com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:144)
[ERROR]   	at com.google.errorprone.scanner.ErrorProneScanner.visitCompilationUnit(ErrorProneScanner.java:562)
[ERROR]   	at com.google.errorprone.scanner.ErrorProneScanner.visitCompilationUnit(ErrorProneScanner.java:152)
[ERROR]   	at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:591)
[ERROR]   	at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:56)
[ERROR]   	at com.google.errorprone.scanner.Scanner.scan(Scanner.java:58)
[ERROR]   	at com.google.errorprone.scanner.ErrorProneScannerTransformer.apply(ErrorProneScannerTransformer.java:43)
[ERROR]   	at com.google.errorprone.ErrorProneAnalyzer.finished(ErrorProneAnalyzer.java:152)
[ERROR]   	at com.sun.tools.javac.api.MultiTaskListener.finished(MultiTaskListener.java:120)
[ERROR]   	at com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1404)
[ERROR]   	at com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1353)
[ERROR]   	at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:946)
[ERROR]   	at com.sun.tools.javac.main.Main.compile(Main.java:302)
[ERROR]   	at com.sun.tools.javac.main.Main.compile(Main.java:162)
[ERROR]   	at com.sun.tools.javac.Main.compile(Main.java:57)
[ERROR]   	at com.sun.tools.javac.Main.main(Main.java:43)
[ERROR] `
Our Code where this issue in seen
@Override     public @NonNull     IAMTicket createAndRenewOfflineTicket(@NonNull String realmID) throws IAMTicketClientException {

Can you share the conditional branch (if) in this method implementation?

Surprisingly, there are no branching statements in this method. Complete code is
   @Override
    public @NonNull
    IAMTicket createAndRenewOfflineTicket(@NonNull String realmID) throws Exception {
            Ticket ticket = new Ticket();
        Request request;
        try {
            request = new Request().build();
            Header header = client.getHeader(request);
ticket.setTicket(header)
        } catch (Exception e) {
            throw e;
        }
        return iamTicket;
    }

@mkr-plse  It is complaining at the function definition i.e
@Override public @NonNull IAMTicket createAndRenewOfflineTicket(@NonNull String realmID) throw..

Looks like a lombok+errorprone related issue. Can you try the suggestion there (-Xep:ParameterName:OFF) and see whether it resolves the issue?

Lombok modifies the AST in memory during compilation, causing a number of issues when Error Prone tries to associate AST nodes back to the corresponding source code. In this case, it's almost certain that Lombok is adding a conditional to the AST that doesn't exist in the source, and there is something in that conditional that Piranha is trying to report/delete. Unfortunately, since the conditional itself doesn't exist in the code, it can't be reported on or deleted.
In general, there is no reasonable way to make Piranha refactor code that was injected by Lombok. Our best bet would be to:

Require lombok.addLombokGeneratedAnnotation = true as part to the Lombok configuration
Modify Piranha to skip syntactic scopes (e.g. methods, classes), marked as @lombok.Generated

That will still sometimes fail to clean up flag usages inside java classes that use Lombok (since Lombok can move user code and nest it inside its own generated structures), but it will avoid an outright compiler crash. Doing any better than that would require encoding knowledge of (potentially many) relevant Lombok transformations inside Piranha.

Can you provide a delombok-ed version of the full compilation unit (i.e. the .java file)?
See these instructions.

@lazaroclapp - I have hit this same issue.
Here are some details around my project
My lombok annotated java class
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Student {

  private boolean isHomeSchooled;
}

The delomboked java class that was generated
public class Student {
  private boolean isHomeSchooled;

  @java.lang.SuppressWarnings("all")
  public boolean isHomeSchooled() {
    return this.isHomeSchooled;
  }

  @java.lang.SuppressWarnings("all")
  public void setHomeSchooled(final boolean isHomeSchooled) {
    this.isHomeSchooled = isHomeSchooled;
  }

  @java.lang.Override
  @java.lang.SuppressWarnings("all")
  public boolean equals(final java.lang.Object o) {
    if (o == this) return true;
    if (!(o instanceof Student)) return false;
    final Student other = (Student) o;
    if (!other.canEqual((java.lang.Object) this)) return false;
    if (this.isHomeSchooled() != other.isHomeSchooled()) return false;
    return true;
  }

  @java.lang.SuppressWarnings("all")
  protected boolean canEqual(final java.lang.Object other) {
    return other instanceof Student;
  }

  @java.lang.Override
  @java.lang.SuppressWarnings("all")
  public int hashCode() {
    final int PRIME = 59;
    int result = 1;
    result = result * PRIME + (this.isHomeSchooled() ? 79 : 97);
    return result;
  }

  @java.lang.Override
  @java.lang.SuppressWarnings("all")
  public java.lang.String toString() {
    return "Student(isHomeSchooled=" + this.isHomeSchooled() + ")";
  }

  @java.lang.SuppressWarnings("all")
  public Student(final boolean isHomeSchooled) {
    this.isHomeSchooled = isHomeSchooled;
  }

  @java.lang.SuppressWarnings("all")
  public Student() {
  }
}

Below is how the maven compiler plugin has been configured
<plugin>
	<groupId>org.apache.maven.plugins</groupId>
	<artifactId>maven-compiler-plugin</artifactId>
	<version>3.8.0</version>
	<configuration>
		<source>11</source>
		<target>11</target>
		<encoding>UTF-8</encoding>
		<compilerArgs>
			<arg>-XDcompilePolicy=simple</arg>
			<arg>-Xplugin:ErrorProne
        -Xep:Piranha:WARN
        -XepPatchChecks:Piranha
        -XepPatchLocation:IN_PLACE
        -XepOpt:Piranha:FlagName=${flag}
        -XepOpt:Piranha:IsTreated=${treated}
        -XepOpt:Piranha:Config=src/main/resources/config/properties.json
    </arg>
		</compilerArgs>
		<annotationProcessorPaths>
			<path>
				<groupId>com.uber.piranha</groupId>
				<artifactId>piranha</artifactId>
				<version>0.1.8</version>
			</path>
			<path>
				<groupId>com.google.errorprone</groupId>
				<artifactId>error_prone_core</artifactId>
				<version>2.14.0</version>
			</path>
			<path>
				<groupId>org.projectlombok</groupId>
				<artifactId>lombok</artifactId>
				<version>1.18.24</version>
			</path>
		</annotationProcessorPaths>
	</configuration>
</plugin>

My dependencies look like below
  <dependencies>
    <dependency>
      <groupId>org.togglz</groupId>
      <artifactId>togglz-core</artifactId>
      <version>3.2.0</version>
    </dependency>
    <dependency>
      <groupId>org.projectlombok</groupId>
      <artifactId>lombok</artifactId>
      <version>${lombok.version}</version>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.11</version>
      <scope>test</scope>
    </dependency>
  </dependencies>

Here's how the stacktrace looks like
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project feature_flags: Compilation failure
[ERROR] /Users/krishnamahadevan/githome/playground/feature_flags/src/main/java/com/acme/configs/Student.java:[7,1] An unhandled exception was thrown by the Error Prone static analysis plugin.
[ERROR]      Please report this at https://github.com/google/error-prone/issues/new and include the following:
[ERROR]
[ERROR]      error-prone version: 2.14.0
[ERROR]      BugPattern: Piranha
[ERROR]      Stack Trace:
[ERROR]      java.lang.ClassCastException: class com.sun.tools.javac.tree.JCTree$JCBinary cannot be cast to class com.sun.source.tree.ParenthesizedTree (com.sun.tools.javac.tree.JCTree$JCBinary and com.sun.source.tree.ParenthesizedTree are in module jdk.compiler of loader 'app')
[ERROR]         at com.uber.piranha.XPFlagCleaner.matchIf(XPFlagCleaner.java:1413)
[ERROR]         at com.google.errorprone.scanner.ErrorProneScanner.processMatchers(ErrorProneScanner.java:449)
[ERROR]         at com.google.errorprone.scanner.ErrorProneScanner.visitIf(ErrorProneScanner.java:653)
[ERROR]         at com.google.errorprone.scanner.ErrorProneScanner.visitIf(ErrorProneScanner.java:150)
[ERROR]         at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCIf.accept(JCTree.java:1433)
[ERROR]         at jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
[ERROR]         at com.google.errorprone.scanner.Scanner.scan(Scanner.java:74)
[ERROR]         at com.google.errorprone.scanner.Scanner.scan(Scanner.java:48)
[ERROR]         at jdk.compiler/com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)
[ERROR]         at jdk.compiler/com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:248)
[ERROR]         at com.google.errorprone.scanner.ErrorProneScanner.visitBlock(ErrorProneScanner.java:520)
[ERROR]         at com.google.errorprone.scanner.ErrorProneScanner.visitBlock(ErrorProneScanner.java:150)
[ERROR]         at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1032)
[ERROR]         at jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
[ERROR]         at com.google.errorprone.scanner.Scanner.scan(Scanner.java:74)
[ERROR]         at com.google.errorprone.scanner.Scanner.scan(Scanner.java:48)
[ERROR]         at jdk.compiler/com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90)
[ERROR]         at jdk.compiler/com.sun.source.util.TreeScanner.visitMethod(TreeScanner.java:206)
[ERROR]         at com.google.errorprone.scanner.ErrorProneScanner.visitMethod(ErrorProneScanner.java:740)
[ERROR]         at com.google.errorprone.scanner.ErrorProneScanner.visitMethod(ErrorProneScanner.java:150)
[ERROR]         at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:898)
[ERROR]         at jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
[ERROR]         at com.google.errorprone.scanner.Scanner.scan(Scanner.java:74)
[ERROR]         at com.google.errorprone.scanner.Scanner.scan(Scanner.java:48)
[ERROR]         at jdk.compiler/com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90)
[ERROR]         at jdk.compiler/com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)
[ERROR]         at jdk.compiler/com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)
[ERROR]         at jdk.compiler/com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:187)
[ERROR]         at com.google.errorprone.scanner.ErrorProneScanner.visitClass(ErrorProneScanner.java:548)
[ERROR]         at com.google.errorprone.scanner.ErrorProneScanner.visitClass(ErrorProneScanner.java:150)
[ERROR]         at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:808)
[ERROR]         at jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
[ERROR]         at com.google.errorprone.scanner.Scanner.scan(Scanner.java:74)
[ERROR]         at com.google.errorprone.scanner.Scanner.scan(Scanner.java:48)
[ERROR]         at jdk.compiler/com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)
[ERROR]         at jdk.compiler/com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)
[ERROR]         at jdk.compiler/com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:144)
[ERROR]         at com.google.errorprone.scanner.ErrorProneScanner.visitCompilationUnit(ErrorProneScanner.java:560)
[ERROR]         at com.google.errorprone.scanner.ErrorProneScanner.visitCompilationUnit(ErrorProneScanner.java:150)
[ERROR]         at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:591)
[ERROR]         at jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:56)
[ERROR]         at com.google.errorprone.scanner.Scanner.scan(Scanner.java:58)
[ERROR]         at com.google.errorprone.scanner.ErrorProneScannerTransformer.apply(ErrorProneScannerTransformer.java:43)
[ERROR]         at com.google.errorprone.ErrorProneAnalyzer.finished(ErrorProneAnalyzer.java:152)
[ERROR]         at jdk.compiler/com.sun.tools.javac.api.MultiTaskListener.finished(MultiTaskListener.java:132)
[ERROR]         at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1418)
[ERROR]         at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1365)
[ERROR]         at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:960)
[ERROR]         at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.lambda$doCall$0(JavacTaskImpl.java:104)
[ERROR]         at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.handleExceptions(JavacTaskImpl.java:147)
[ERROR]         at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:100)
[ERROR]         at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:94)
[ERROR]         at org.codehaus.plexus.compiler.javac.JavaxToolsCompiler.compileInProcess(JavaxToolsCompiler.java:126)
[ERROR]         at org.codehaus.plexus.compiler.javac.JavacCompiler.performCompile(JavacCompiler.java:174)
[ERROR]         at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:1129)
[ERROR]         at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:188)
[ERROR]         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
[ERROR]         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
[ERROR]         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
[ERROR]         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
[ERROR]         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
[ERROR]         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
[ERROR]         at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
[ERROR]         at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
[ERROR]         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
[ERROR]         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
[ERROR]         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
[ERROR]         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:972)
[ERROR]         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:293)
[ERROR]         at org.apache.maven.cli.MavenCli.main(MavenCli.java:196)
[ERROR]         at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR]         at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[ERROR]         at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR]         at java.base/java.lang.reflect.Method.invoke(Method.java:566)
[ERROR]         at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
[ERROR]         at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
[ERROR]         at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
[ERROR]         at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

fwiw, the contents of src/main/resources/config/properties.json is as below
{
  "methodProperties":
  [
    {
      "methodName": "isActive",
      "flagType": "treated",
      "argumentIndex": 0
    },
    {
      "methodName": "isActive",
      "flagType": "control",
      "argumentIndex": 0
    }
  ],
  "linkURL": "<provide_your_url>",
  "annotations": ["FlagTesting"]
}

We are pivoting towards Polyglot Piranha, which is a common code deletion infrastructure across multiple languages. (cc @ketkarameya)
@krmahadevan Can you try that version?

@mkr-plse - I can give it a try. Let me go through the documentation to find out what I need to be doing to adopt it and then give it a try. Oh btw, is there any chance wherein the binaries are pre-built for piranha so that I can skip the part of building these binaries ? Or should I just stick to cloning the repo, point to a recent tag, build the binary locally and only then use it? Eventually I would like to take this to a CI and I did read about piranha being used in Uber's CI for auto code deletion (But not sure if its the piranha java that is at work there or is it the generic piranha). Basically trying to avoid code building, because I would have to circulate the instructions to the developers to do this at the local machines (until we are at the CI maturity).

Hey @krmahadevan we are planning to release the pre-built binaries for piranha/generic soon. :)
I know it's painful that developers will have to build the binaries now. There are a few more small fixes and cleanups I want to do before I make the binary available :|. My goal is that Piranha will be available as

as a cargo crate  (since piranha/generic is developed in Rust)
as binaries for different OS

@ketkarameya - That's nice 👍 I was dreading that I had to learn the rudiments of rust (Yet another programming language 😄 ).. to be able to build the binary. But good to know that you folks are on top of that as well.
I will give this a shot at my end and see if I can get past my problem. Please bear with me if I keep coming back with some really silly questions until then. The notion of AST and tree-sitter are all new to me and a bit overwhelming as well :) and now have been added to the never ending list of things that I need to still figure out.. :)
Lastly.. this is a fantastic library that you folks have built. I loved the engineering blog that was created for Piranha!! Awesome engineering stuff!!!

Feel free to ask us anything related to tree-sitter, or even the rules for Piranha.  We want improve our documentation too. So feel free if to tell us if you don't understand something there.

Feel free to ask us anything related to tree-sitter, or even the rules for Piranha. We want improve our documentation too. So feel free if to tell us if you don't understand something there.

Yes sure. Goes without saying. I can try to add some additional details in the README.md if I think that would help others use as well via a PR.

@krmahadevan I am assuming that your issue was resolved and am closing this issue for now.  Feel free to reopen the issue incase you have any more questions.

@ketkarameya - Thanks for following up. I got sidelined at work with other stuff. I will come back with any additional queries on this once we get back to working on the feature flags notion and then using Piranha for auto reversal of obsolete feature flags.


Output lumped port voltages and currents for eigenmode simulations

These are computed and output as functions of frequency in port-V.csv and port-I.csv for  frequency domain simulations. The projections of eigenmodes onto these variables is useful for reconstructing things like scattering matrices from eigenmode results.

@parrangoiz @phdum


Installing REX-Ray on CoreOS fails with command not found

Running the sh install method is erroring out.  It looks like because lsb-release exists, it is trying to do an apt package install.  I am not very savvy with why the lsb-release would be something tagged to determine a valid apt install.
core@ip-10-0-1-223 ~ $ curl -sSL https://dl.bintray.com/emccode/rexray/install | sh -
sudo: dpkg: command not found

REX-Ray has been installed to /usr/bin/rexray

sh: line 45: /usr/bin/rexray: No such file or directory

elif [ "$ARCH" = "x86_64" -a \
       -e "/etc/debian-release" -o \
       -e "/etc/debian-version" -o \
       -e "/etc/lsb-release" ]; then

core@ip-10-0-1-223 ~ $ cat /etc/lsb-release
DISTRIB_ID=CoreOS
DISTRIB_RELEASE=723.3.0
DISTRIB_CODENAME="Red Dog"
DISTRIB_DESCRIPTION="CoreOS 723.3.0"

Hi @clintonskitson,
Did you read the script? It notes how distributions are determined.

Here's the link. It seems CoreOS decided to adopt a file used by Ubuntu but use a RPM based package manager.

Didn't read it, just throwing the info out there before researching it..

Yep, pretty much CoreOS being dumb as lsb_release is still an Ubuntu thing today.

Okay, after more reading they use lsb-release but no package manager at all. Hey @drumulonimbus, I guess that's one good reason we don't just do packages, huh? :) Anyway, we'll need to have a special catch for CoreOS.

It looks like the destination of the binary needs to go into the /opt/rexray/bin directory since they consider other places in the filesystem read-only.
core@ip-10-0-1-223 ~ $ sudo mkdir /opt/rexray/bin -p
core@ip-10-0-1-223 ~ $ mv rexray /opt/rexray/bin/.
mv: cannot move 'rexray' to '/opt/rexray/bin/./rexray': Permission denied
core@ip-10-0-1-223 ~ $ sudo mv rexray /opt/rexray/bin/.
core@ip-10-0-1-223 ~ $ sudo /opt/rexray/bin/rexray install
REX-Ray is now installed. Before starting it please check http://github.com/emccode/rexray for instructions on how to configure it.

 Once configured the REX-Ray service can be started with the command 'sudo systemctl start rexray'.

Hi @clintonskitson,
Oh, yeah, hmmm. How's that work out for you? :)

core@ip-10-0-1-223 ~ $ df /usr/bin
Filesystem     1K-blocks   Used Available Use% Mounted on
/dev/xvda3       1007760 354076    601668  38% /usr
core@ip-10-0-1-223 ~ $ df /bin
Filesystem     1K-blocks   Used Available Use% Mounted on
/dev/xvda3       1007760 354076    601668  38% /usr

https://coreos.com/os/docs/latest/sdk-disk-partitions.html

Hi @clintonskitson,
Hmm, one more good reason that I support custom install paths :)
Okay, please give me the means to detect CoreOS. Please look it up and make sure it stays very, very simple. A file detection if possible. Or the output of a single command. Try lsb_release -a and see what happens.
If that's the case we'll fetch the tarball and I'll install it at a specific directory. No issue.

Hi @clintonskitson,
I wasn't testing CoreOS, were you? If not, who was? I guess we should add it to our test matrix. I was only actively testing CentOS and Ubuntu.

One more thing.. we need to update the path as well.  I believe a file in /etc/profile.d that did something like this.. export PATH="/opt/rexray/bin:$PATH"
core@ip-10-0-1-223 ~ $ echo $PATH
/opt/mesosphere/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin

Hi @clintonskitson,
Hmm, so what you're telling me is that CoreOS does not provide package managers and requires installation in /opt? Huh. Who could have figured that? :)

=)

Hi @clintonskitson,
And yes, I'm the one that advertised the /etc/profile.d/rexray idea. I'll add it there. Or you can fork it and do it yourself. All you have to do is edit the install.sh file. Do you BASH pretty well? Or would you like to leave it up to me?

I'm ok for now and need to focus on some other stuff.  It would be nice to get this dialed in early next week before MesosCon though, so yes please do =).  It relates to enabling Mesosphere to easily work with REX-Ray.

Hi @clintonskitson,
You'll have to do it unless you're going to help me get my EC2 working. I'm still having VPC issues.

Just fire up a 723.3.0 CoreOS image or something newer from the AMIs.

SSH into the box and execute lsb_release -a and give me the result. I can get 90% of the way there from that. After that we can work together on testing.

Duh =) Actually sign up for Digital Ocean, super easy

That's what I did! It resulted in this.

lsb-release is above

No it's not. I said execute lsb_release -a. You cat'd the file.

Linking the issue from dvdcli here as well

I've got a ton of stuff myself, my AmEx is expired, and I just need a little testing. I need yours or someone else's help on this, that's just the way it is for now. So if not you, please let me know with whom to coordinate.

No problem will send an instance over

Found an ISO.

The lsb_release bin isn't available

Instances are useless if I can't start them. Unless you're granting me access to one of yours.

Ah, good to know.

I'm guessing testing for the existence of the directory /usr/share/coreos will work.

grep DISTRIB_ID=CoreOS /etc/lsb-release?

I could do that, but I prefer to KISS.

I just don't know whether the /usr/share/coreos dir may exist or not on other distros if some of CoreOS's other wares are present.

You worry too much and/or you don't know me at all yet.

Hi @clintonskitson,
CoreOS support added with commit dd36deb248911bc72d1d0c2e8efcb945683c8455.

Looks like this broke again
$ cat /etc/lsb-release
DISTRIB_ID="Container Linux by CoreOS"
DISTRIB_RELEASE=1395.0.0+2017-05-08-2122
DISTRIB_CODENAME="Ladybug"
DISTRIB_DESCRIPTION="Container Linux by CoreOS 1395.0.0+2017-05-08-2122 (Ladybug)"

grep DISTRIB_ID=CoreOS /etc/lsb-release indeed did not last

Thanks for the info @drcrallen

Hi @clintkitson,
Didn't @codenrhoden just fix this for https://github.com/codedellemc/rexray/issues/793? I wonder if he updated the install script on bintray with the change. Looking now.

Hi @clintkitson and @drcrallen,
While @codenrhoden fixed this in the install script, the change was not uploaded to the Bintray repository. I'm doing so now....
And it's done:
$ curl -sSL https://emccode.bintray.com/rexray/install | grep 'grep CoreOS'
    grep DISTRIB_ID /etc/lsb-release 2> /dev/null | grep CoreOS 2> /dev/null


CLI: handle CTRL-L to clear the terminal page

At the moment the implementation of CTRL-L is a little bit tricky. In the current implementation https://github.com/iotaledger/iota-sdk/blob/a7ab53804429f6dc3eda5771373f0fd97f4b393e/cli/src/account.rs#L50, we use dialoger and interact_text() which doesn't allow creating a handler for all terminal events.  If we wanted to use interact() we would have lost the implementation of history and autocomplete.  The most elegant solution would be to create PR to dialoger  which would allow access to all terminal events when interact_text() is used.
Also, there is a chance the dialoger will support ctrl-l out of the box: https://github.com/console-rs/dialoguer/issues/230

Closed by https://github.com/iotaledger/iota-sdk/pull/1238


Add copyright notice

Hi Richou, how's it going?
My team and I are deploying a React native app to production!
We want to include your copyright notice in the final bundle so we need to merge it in your repository first.
Thanks!

Ditto what @SegoviaDiego said!  This would be great.

Thank you for your contribution.

Thanks!!


split creator - Web design#11

@NtemKenyor Hi, I seem to be encountering an issue with the auto-review feature and unable to proceed. Could you please review my latest submission? Thanks!

okay would check it out..
On Fri, Mar 8, 2024, 07:52 danqixu @.***> wrote:

@NtemKenyor https://github.com/NtemKenyor Hi, I seem to be encountering
an issue with the auto-review feature and unable to proceed. Could you
please review my latest submission? Thanks!
—
Reply to this email directly, view it on GitHub
https://github.com/KwickerHub/WebCraftifyAI/pull/2755#issuecomment-1985131783,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOKWIBPIYEFGJGPTAKAUEF3YXFN2ZAVCNFSM6AAAAABEMI4BFCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBVGEZTCNZYGM
.
You are receiving this because you were mentioned.Message ID:
@.***>


unable to access data from extraButtons. ex: name property

Jodit Version:  3.4.23
Browser:  Chrome
OS:  Mac
Code
// A *self-contained* demonstration of the problem follows...
const config = {
  getIcon: (name) => {
    // name for newButton will never show up here, just as `undefined`
  },
  extraButtons: [{ name: 'newButton' }]
}

Expected behavior:
extraButtons should have some icon name property that i can define in order to use custom icon.
I just need a way to set a custom icon in the extraButtons without using existing icon string or iconURL
Actual behavior:
no way for me to set custom icon for extraButtons if it's not icon or iconURL
icon property only accepts existing icons only as well

Same issue here.
Jodit Version: 3.4.26

Hi @xdan, sorry i know this is not the place to post this (jodit-react) but may be you can provide info or workaround?
yesterday i'm using<EMAIL_ADDRESS>(which is jodit@3.3.24)...
because of the issue regarding paste event not trigger/fire, ive decided to update it to latest version<EMAIL_ADDRESS>with latest jodit version on it.
and then i encounter this issue getIcon is not able to get name/clearName for both custom buttons and extra buttons.
i dont think i do have access to "modules". any advice? thanks

https://github.com/xdan/jodit/blob/master/CHANGELOG.MD#3428 Added option for this


Deprecated textstyle replaced with updated textstyle

After flutter 3.19 textstyle api is updated following https://docs.flutter.dev/release/breaking-changes/3-19-deprec . Changes made in app by regarding to this.
NavigationDrawer causing conflict with another api from fluter library, import is specified using 'as'

Thanks for the PR! I believe all of these changes have been fixed now though, as they were merged in #98 . Could you verify that all of these issues have been fixed for you in the latest version 0.4?

Thanks man! this package seems to be a life saviour, seems to work well now!


SPH or FLIP?

The Readme talks about SPH, but Unreal developers say Niagara Fluids is based on FLIP. Please provide clarification, if possible also, how resolution or viscosity are handled.

This repository is not associated with "Niagara Fluids". This repository was created before Epic's "Niagara Fluids" was added to engine and uses SPH.  I did not know even the name "Niagara Fluids" that time.

I updated Readme.

Thanks for clarifying.


Mention smartquotes

http://doc.perl6.org/language/unicode_entry#Unicode_characters_useful_in_Perl_6
“Unicode characters useful in Perl 6” – well, smartquotes are useful but are not listed yet.
‘’, “”, ｢｣ – these are the basic ones, but there are other ways to write it:

say ”Whoa!“
say „This works too!”
say „There are just too many ways“
See Wikipedia for a bigger list.

Some things to note:

You can nest them: say “here: “no problem” at all!”
It turns out that it is very useful in shell: perl6 -e 'say ‘hello world’' (that is, you can just copy some piece of code and not worry about the quotes)

Fixed by #996


AMBARI-23072. Handle some configs moved

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/805/
Test FAILed.
Test FAILured.


WIP: Enable validating webhooks for crds

This attempts to enable validating webhooks available for CRDs
and also provides a knob to disable webhooks during MetalLB
deployment.
Signed-off-by: Periyasamy Palanisamy<EMAIL_ADDRESS>

@pperiyasamy for the lint failure, bump the version of golangci-lint to version: v1.45.2 (in a separate commit), should make the trick

Just one general note.
With the previous version of the operator, we were offering 3 different deployment models:

no webhooks
with webhooks
with webhooks on openshift

I think we need to reflect that in the operator, via a parameter of the controller (the discovery of vanilla / openshift can be done inside the operator, I think there is already code to do that)

Just one general note. With the previous version of the operator, we were offering 3 different deployment models:
* no webhooks

* with webhooks

* with webhooks on openshift

I think we need to reflect that in the operator, via a parameter of the controller (the discovery of vanilla / openshift can be done inside the operator, I think there is already code to do that)

The "with openshift" variant exists in the operator only, and it's translated to another set of annotations added to the crds / service / webhooks (see https://github.com/metallb/metallb-operator/tree/v0.12.0/config/webhook-on-openshift )

LGTM


In the application lists in Admin, when admin goes to see the application profile fully by clicking edit button, there is no field listed for the Affiliation

In the application lists in Admin, when admin goes to see the application profile fully by clicking edit button, there is no field listed for the Affiliation

ok


coqPackages.mathcomp-analysis: 0.5.3 → 0.6.0

Description of changes
https://github.com/math-comp/analysis/blob/0.6.0/CHANGELOG.md#060---2022-12-14
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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

[x] 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/)
23.05 Release Notes (or backporting 22.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

[x] Fits CONTRIBUTING.md.

@vbgl meanwhile mathcomp-analysis 0.6.1 went out :grimacing:

I’ve just updated the PR. Tests went through.

I’ve just updated the PR. Tests went through.

:+1: let's merge.


Running Keras-OCR on Jetson Nano. And strange error occurred.

Hello. I am a beginner of deep learning. I have a question.
I wanna use Keras-OCR on nVIDIA Jetson Nano. But program doesn't want ran.
It says: GpuLaunchKernel( params... ) status: Internal: too many resources requested for launch
But on desktop. The example program run perfectly.
I doesn't find anyone talk about this problem. I even can't recognize the problem is cause by Tensorflow or CUDA or something else.
Thank you.
My environment:

Desktop
CPU: Intel Core i7 2600
GPU: nVIDIA GeForce GTX 1060 6GB
OS: Kubuntu 20.04 LTS
RAM: 10GB DDR3 @ 1333MHz
Python version: 3.8.2
CUDA version: 10.1
Tensorflow version: 2.3.0
cuDNN version: 7.6.5

Jetson Nano
CPU: Quad-core ARM-A57
GPU: nVIDIA Tegra X1 (Maxwell, 128SP)
VRAM: LPDDR4 4GB (Cause Memory shared with CPU. Approx. 3.2GB available for GPU)
OS: Jetpack 4.4 (Ubuntu 18.04 LTS used)
Python version: 3.6.9
CUDA version: 10.2
Tensorflow version: 2.2.0 + nv20.8
cuDNN version: 8.0.0

Jetson Nano have 12GB swap space.

My input picture resolution is 288 x 162 px. Picture size is around 12kB ~ 20kB
(OOM will occur first if the input picture is too big.)

Terminal log:
(kerasOCR) jetson@jetson-desktop:~/kerasOCR/workspace/k_ocr_clone$ python3 camera.py
2020-09-06 22:57:10.655089: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcudart.so.10.2
Looking for /home/jetson/.keras-ocr/craft_mlt_25k.h5
2020-09-06 22:57:19.221045: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcuda.so.1
2020-09-06 22:57:19.227423: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:948] ARM64 does not support NUMA - returning NUMA node zero
2020-09-06 22:57:19.227589: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties:
pciBusID: 0000:00:00.0 name: NVIDIA Tegra X1 computeCapability: 5.3
coreClock: 0.9216GHz coreCount: 1 deviceMemorySize: 3.86GiB deviceMemoryBandwidth: 194.55MiB/s
2020-09-06 22:57:19.227751: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcudart.so.10.2
2020-09-06 22:57:19.236155: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcublas.so.10
2020-09-06 22:57:19.240630: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcufft.so.10
2020-09-06 22:57:19.244814: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcurand.so.10
2020-09-06 22:57:19.254348: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcusolver.so.10
2020-09-06 22:57:19.260853: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcusparse.so.10
2020-09-06 22:57:19.262341: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcudnn.so.8
2020-09-06 22:57:19.262843: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:948] ARM64 does not support NUMA - returning NUMA node zero
2020-09-06 22:57:19.263260: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:948] ARM64 does not support NUMA - returning NUMA node zero
2020-09-06 22:57:19.263343: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0
2020-09-06 22:57:19.288305: W tensorflow/core/platform/profile_utils/cpu_utils.cc:106] Failed to find bogomips or clock in /proc/cpuinfo; cannot determine CPU frequency
2020-09-06 22:57:19.289006: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x25b5a3d0 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2020-09-06 22:57:19.289077: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version
2020-09-06 22:57:19.369517: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:948] ARM64 does not support NUMA - returning NUMA node zero
2020-09-06 22:57:19.369827: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x25c99bb0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices:
2020-09-06 22:57:19.369914: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): NVIDIA Tegra X1, Compute Capability 5.3
2020-09-06 22:57:19.370629: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:948] ARM64 does not support NUMA - returning NUMA node zero
2020-09-06 22:57:19.370770: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties:
pciBusID: 0000:00:00.0 name: NVIDIA Tegra X1 computeCapability: 5.3
coreClock: 0.9216GHz coreCount: 1 deviceMemorySize: 3.86GiB deviceMemoryBandwidth: 194.55MiB/s
2020-09-06 22:57:19.370997: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcudart.so.10.2
2020-09-06 22:57:19.371204: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcublas.so.10
2020-09-06 22:57:19.371356: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcufft.so.10
2020-09-06 22:57:19.371478: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcurand.so.10
2020-09-06 22:57:19.371587: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcusolver.so.10
2020-09-06 22:57:19.371695: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcusparse.so.10
2020-09-06 22:57:19.371809: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcudnn.so.8
2020-09-06 22:57:19.372233: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:948] ARM64 does not support NUMA - returning NUMA node zero
2020-09-06 22:57:19.372753: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:948] ARM64 does not support NUMA - returning NUMA node zero
2020-09-06 22:57:19.372871: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0
2020-09-06 22:57:19.373081: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcudart.so.10.2
2020-09-06 22:57:21.333633: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix:
2020-09-06 22:57:21.333721: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108]      0
2020-09-06 22:57:21.333763: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0:   N
2020-09-06 22:57:21.334495: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:948] ARM64 does not support NUMA - returning NUMA node zero
2020-09-06 22:57:21.335058: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:948] ARM64 does not support NUMA - returning NUMA node zero
2020-09-06 22:57:21.335266: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 707 MB memory) -> physical GPU (device: 0, name: NVIDIA Tegra X1, pci bus id: 0000:00:00.0, compute capability: 5.3)
WARNING:tensorflow:From /home/jetson/kerasOCR/lib/python3.6/site-packages/tensorflow/python/keras/backend.py:5871: sparse_to_dense (from tensorflow.python.ops.sparse_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Create a `tf.sparse.SparseTensor` and use `tf.sparse.to_dense` instead.
Looking for /home/jetson/.keras-ocr/crnn_kurapan.h5
[ WARN:0] global /tmp/pip-install-0l7q4gf0/opencv-python/opencv/modules/videoio/src/cap_gstreamer.cpp (935) open OpenCV | GStreamer warning: Cannot query video position: status=0, value=-1, duration=-1
2020-09-06 22:57:47.804616: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcudnn.so.8
2020-09-06 22:57:51.179076: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.69GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available.
2020-09-06 22:57:51.182113: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcublas.so.10
2020-09-06 22:57:52.769728: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 836.12MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available.
2020-09-06 22:57:53.799806: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.22GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available.
2020-09-06 22:57:54.980083: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.23GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available.
2020-09-06 22:57:55.605321: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 426.06MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available.
2020-09-06 22:57:56.530118: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.64GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available.
2020-09-06 22:57:57.880982: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 658.38MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available.
2020-09-06 22:58:00.158814: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 875.50MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available.
2020-09-06 22:58:00.792854: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 572.75MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available.
2020-09-06 22:58:01.852528: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.09GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available.
2020-09-06 22:58:04.101235: F tensorflow/core/kernels/resize_bilinear_op_gpu.cu.cc:493] Non-OK-status: GpuLaunchKernel(kernel, config.block_count, config.thread_per_block, 0, d.stream(), config.virtual_thread_count, images.data(), height_scale, width_scale, batch, in_height, in_width, channels, out_height, out_width, output.data()) status: Internal: too many resources requested for launch
Aborted (core dumped)

In the logs provided by you, it is clearly visible in the last lines that this is an OOM error and you will able to make it work if you train on colab or on a gpu with more vram


add cleanup function to clean contexts and keys

This PR adds function cleanup, that can be used for runtime cleaning of CryptoContexts and generated keys.
It should be merged after https://github.com/hpsc-lab/openfhe-julia/pull/61 and https://github.com/hpsc-lab/OpenFHE.jl/pull/64 and new releases of OpenFHE and openfhe-julia

Thanks for figuring this out!
Besides the comments I already left, I have a more general remark:
Wouldn't a better place to hold this cleanup function be in OpenFHE.jl? Since it's only relevant for OpenFHE.jl, I feel like it should be located there, as it could also be useful for someone working with OpenFHE.jl without SA.jl.
But this is merely a question at this point, I am not sure myself what the best way to handle this would be.

Thank you for the review!
I agree with you, that this function is both useful for using OpenFHE.jl separately or within SecureArithmetic.jl, I added it here only because it seems, that we try to leave functions in OpenFHE.jl as they are in OpenFHE, which does not provide a single function to clean all the keys, so I thought it fits better in a "user-friendly interface". But it doesn't generally make a big difference for me, where to place it.

I added docs in README.md to explain how to deal with memory issues.


[BUG] worker_group is not configurable in conf/config/install_config.conf

Currently worker_group is not configurable in conf/config/install_config.conf，Need to be manually configured in worker.properties

Which version of Dolphin Scheduler:
-[dev]

#2746 has solved


cmake documentation, install for iOS app

Hi,
I am missing any documentation how to compile to static/dynamic lib to use inside iOS app.
I have tried to compile in the usual way, e.g.:
git clone https://github.com/microsoft/glTF-SDK.git
cd glTF-SDK/Build/
cmake ..
cmake --build . --target install

It worked, but install was done in: glTF-SDK/Built/Out/macOS/RelWithDebInfo/GLTFSDK/libGLTFSDK.a
How can I configure cmake to install it into /usr/local/include/ in order to use later in Xcode inside iPhone app ?

Take a look at the macinit.ps1 and macbuild.ps1 PowerShell scripts for the commands needed to build for iOS.

@kokuda Thanks for point out, tried to run init, it stopped with the following error:
CMake Error at Build/CMake/Modules/GLTFPlatform.cmake:88 (target_link_libraries):
  The keyword signature for target_link_libraries has already been used with
  the target "GLTFSDK.Test".  All uses of target_link_libraries with a target
  must be either all-keyword or all-plain.

  The uses of the keyword signature are here:

   * GLTFSDK.Test/CMakeLists.txt:37 (target_link_libraries)

Call Stack (most recent call first):
  GLTFSDK.Test/CMakeLists.txt:46 (AddGLTFIOSAppProperties)

-- Configuring incomplete, errors occurred!

Then started the build script and got the following:
xcodebuild: error: 'GLTFSDK.xcodeproj' does not exist.
Attempting to build package from 'GLTFSDK.macOS.CPP.nuspec'.
WARNING: NU5125: The 'licenseUrl' element will be deprecated. Consider using the 'license' element instead.
WARNING: NU5048: The 'PackageIconUrl'/'iconUrl' element is deprecated. Consider using the 'PackageIcon'/'icon' element instead. Learn more at https://aka.ms/deprecateIconUrl
Successfully created package '/Users/admin/dev/ios/lib/glTF-SDK/Built/Out/NuGet/Microsoft.glTF.macOS.CPP.0.0.0.nupkg'.
Attempting to build package from 'GLTFSDK.iOS.CPP.nuspec'.
Could not find a part of the path '/Users/admin/dev/ios/lib/glTF-SDK/Built/Out/iOS/Debug/GLTFSDK'.

So, what is the general flow ?
All I need is to use it inside iOS app (C++ part), so in my understanding I need an inc folder with all the headers and .a lib that I can add as custom framework in Xcode.
What is the fastest route to get there ?
Any hints are really appreciated.
BTW, what about prebuild nuget package ? I don't think that I need the latest version and existing package may work for me...

Unfortunately, it has been a long time since I ran a mac or iOS build and don't recall the details.  I just remembered that those scripts existed (I think I wrote them, but that was over 3 years ago and don't remember much) and thought they would help.  You could try dissecting the commands within those scripts and run just the ones you need for iOS.
Take a look at GenerateProjectsIOS() in macinit.ps1 for how to build the xcode project. I don't know if it still works but it might help.  I believe that once the xcode project is generated you can build the library using xcode.

Dupe or at least related: #70


build 2.1.0 broken

@RWOverdijk
fix on build branch
have look at https://github.com/SpoonX/aurelia-authentication/commit/4cfe33b4bc9afb55c39ba9295f0c6da918559ca8
and if it's fine i recommend changing master to dev, build to master (+default) and releasing 2.1.1

ps: tested in my sample

on second though: i'd recommend just to revert the last PR

oh man i'm stupid. that's just what i do on this branch.

i obviously didn't manage to hold be back, and github published the fix on this branch

@doktordirk After arguing with yourself for a bit, what's the verdict? :p

hehe. ähm. well, the 'build' branch is the last published on github now. hence, i recommend switching branches

fix https://github.com/SpoonX/aurelia-authentication/commit/4cfe33b4bc9afb55c39ba9295f0c6da918559ca8 and in https://github.com/SpoonX/aurelia-authentication/pull/100


android example

The example does not work on android.

I did a commit this morning, did you check it?

Yes, I just cloned the example a few minutes ago and I tested it on android 5.0 and it doesn't change the language.

Ok, I Will check it.
Did you test in a physical device or android simulator?
Also, which android are you using to test?

@Char0394
Android simulator.
In Android 6.0 and Android 9.0
Thanks

Cold you try in a physical device please?

@Char0394  In a physical device with android 9.0 it works perfectly.
The problem is with emulators.

Hi! I have a problem with a physical device. I'm working to solve the problem too.

Hi, I have the same problem on Android physical device: Samsung Galaxy Note 8 with Android 9, the text it's always in English

Hi, Android doesn't work on both physical devices and emulators.

The problem started for me after the last visual studio update. A coincidence or someone with the same?

@plucenio Yes, After using the Multilingual Plugin in vs for mac after the last update, "System.Resources.MissingManifestResourceException" error is received.
And this plugin will no longer be supported. therefore I uninstalled this Multilingual Plugin and did not implement this recommended new method. It works great on iOS devices but it didn't work on any of the android devices.

Hey!, solved my problem, https://github.com/xamarin/xamarin-android/issues/4664#issuecomment-632986668
@INHack20  @joseluisct  @plucenio

Hi,
Just tested in some simulators and you guys were right it is not working.
I did the @ufukhawk workaround and it is working now. (Just pushed the changes in the repo, so you can pull the latest changes and test back again).
Thanks, @ufukhawk :)

Hi, Last Stable version for VS for MAC(8.6.1(build 26) The problem has been fixed.
Please remove workaround.

Great! Thanks for letting us know!

Hi, I have the same problem on Android physical device: Samsung Galaxy Note 8 with Android 9, the text it's always in English

Hi Have you fixes in android ?

The example does not work on android.

Hey, Your code is working in Android ?

@MobilyteApps yes, it is working on Android!

@Char0394 :- I do not know what i missed, because there is nothing in code level only create a resource and set the resources
Below are our code:-
item.code is
new Item { Title = "Española".ToString(), Code = "es-pr", IsSelected=true },
new Item { Title = "English".ToString(), Code = "en-gb", IsSelected=false }
CrossMultilingual.Current.CurrentCultureInfo = new System.Globalization.CultureInfo(item.Code);
AppResources.Culture = CrossMultilingual.Current.CurrentCultureInfo;
and Resource file is attached
Resources.zip
The code is previously working in VS 16.3.2 but when i updated to VS 16.6 Windows, its giving problem.
if you find problem, please let me know..
Thanks

The issue is with visual studio not with the code.
Check this ticket: https://github.com/xamarin/xamarin-android/issues/4664#issuecomment-632986668


Introduces cypress test

Introduces the cypress integration test. A developer can run the integration test with:
npm run cypress:run

(this only demonstrates the headless mode)

The result can be captured as a video, for instance:
https://user-images.githubusercontent.com/1046489/216205980-99491a90-5031-423f-b634-009657b57bb4.mp4

I suggest we move tests under a tests directory.

Sure. Made the change, PTAL.


Results.to_json() implementation not flexible

Current implementation will break if certain changes are done in the Results dataframe structure (such as adding additional indexes). Main cause of the issue is the nested for loops used to traverse the dataframe, they can probably be replaced with a recursive function.

closed by https://github.com/zalando/expan/pull/134


PyPi content vs. github content...

It seems there is some missing files on github?!?
The archive https://pypi.python.org/packages/source/c/cmsplugin-filer-html5video/cmsplugin-filer-html5video-0.1.tar.gz#md5=b1a2557831c23d8b31104b418338372c contains south "migrations" files, but there missing on github...
btw. is this project alive?!?

I need an html5 video gallery for django-cms. I'll see if I can reuse
pieces of this project and others to have an up to date system working
with latest version of all modules.
On 15/04/15 14:24, Jens Diemer wrote:

It seems there is some missing files on github?!?
The archive
https://pypi.python.org/packages/source/c/cmsplugin-filer-html5video/cmsplugin-filer-html5video-0.1.tar.gz#md5=b1a2557831c23d8b31104b418338372c
contains south "migrations" files, but there missing on github...
btw. is this project alive?!?
—
Reply to this email directly or view it on GitHub
https://github.com/piquadrat/cmsplugin-filer-html5video/issues/3.

Maybe a good idea to merge this with cmsplugin-filer ?!?
See: https://github.com/stefanfoulis/cmsplugin-filer/issues/174

Any news here?


support $Latest and $Default when describing launch templates

Codecov Report

Merging #5822 (a3049f8) into master (89fdf9d) will decrease coverage by 0.00%.
The diff coverage is 75.00%.

@@            Coverage Diff             @@
##           master    #5822      +/-   ##
==========================================
- Coverage   96.18%   96.18%   -0.01%
==========================================
  Files         753      753
  Lines       73969    73972       +3
==========================================
+ Hits        71150    71152       +2
- Misses       2819     2820       +1

Flag
Coverage Δ

servertests
36.95% <0.00%> (-0.01%)
:arrow_down:

unittests
96.12% <75.00%> (-0.01%)
:arrow_down:

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

Impacted Files
Coverage Δ

moto/ec2/responses/launch_templates.py
98.74% <75.00%> (-0.62%)
:arrow_down:

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

I think the code coverage test is blocking the PR, but all the code that I added is being tested.


Distance away is always from "Current Location"

Once you click on a result, you are moved away from your "Current Location," but the miles away on the results page are always from your "Current Location."
Here is an example of results list after clicking on LaBagh Forest:

This is something that we can ask about in testing, too. Also, would be good to investigate what makes sense when people do not allow the site to use their current location.

If you search for a municipality or zip code, it moves you to that area and recalculates miles away from there. Based on behavior during testing. Should revisit at some point.


cleaned docs, fixed argparse generator

Hello @williamFalcon! Thanks for opening this PR.

In the file pytorch_lightning/trainer/deprecated_api.py:

Line 78:101: E501 line too long (106 > 100 characters)
Line 85:101: E501 line too long (106 > 100 characters)

In the file pytorch_lightning/trainer/trainer.py:

Line 296:101: E501 line too long (109 > 100 characters)

Do see the Hitchhiker's guide to code style


npcap installer options should be changed

According to https://nmap.org/npcap/guide/npcap-users-guide.html#npcap-installation-options  the installer options should be
/loopback_support=no /winpcap_mode=no

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

ID: 71a56ac5-d132-1427-4c55-12921ec978c7
Version Independent ID: aad125e7-7fa3-5fec-e025-2da79e11f44a
Content: Troubleshooting Azure ATP known issues
Content Source: ATPDocs/troubleshooting-atp-known-issues.md
Service: azure-advanced-threat-protection
GitHub Login: @mlottner
Microsoft Alias: mlottner

@rafalfitt Thanks for your comment. I'll research with our engineering team and update the article as needed. Appreciate you taking the time to contribute to our community!

Hi @rafalfitt, after reviewing the npcap installation page you referenced, the installer option defaults are no, but can be changed as needed. The following options are presented as checkboxes in the installer, but can be set or locked via command-line flags. Unless otherwise noted, the default for these options is no.
Thanks again for contributing!

#please-close

I know what the defaults are, but:

they can change without notice, so it is better to specify it explicitly
please note the difference between (my suggestion) "/loopback_support=no /winpcap_mode=no" and (the current documentation) "loopback_support=no & winpcap_mode=yes"

#please-fix
Thanks again for reading-carefully-before-writing!

@rafalfitt As confirmed with engineering, Azure ATP requirements as written are current and the need for wincap_mode=yes is explicitly specified.
#please-close


Fix body scroll lock and small visual changes

Related issues

closes #3363 #3393
Short description and why it's useful

After QA Reject #3366 I found the problem and now should be work! @alinadivante please test it
Screenshots of visual changes before/after (if there are any)

Which environment this relates to
Check your case. In case of any doubts please read about Release Cycle

[x] Test version (https://test.storefrontcloud.io) - this is a new feature or improvement for Vue Storefront. I've created branch from develop branch and want to merge it back to develop
[ ] RC version (https://next.storefrontcloud.io) - this is a stabilisation fix for Release Candidate of Vue Storefront. I've created branch from release branch and want to merge it back to release
[ ] Stable version (https://demo.storefrontcloud.io) - this is an important fix for current stable version. I've created branch from hotfix or master branch and want to merge it back to hotfix

Upgrade Notes and Changelog

[x] No upgrade steps required (100% backward compatibility and no breaking changes)
[ ] I've updated the Upgrade notes and Changelog on how to port existing VS sites with this new feature

IMPORTANT NOTICE - Remember to update CHANGELOG.md with description of your change
Contribution and currently important rules acceptance

[x] I read and followed contribution rules
[x] I read the TypeScript Action Plan and adjusted my PR according to it
[x] I read about Vue Storefront Modules and I am aware that every new feature should be a module

Scrolling menu still doesn't work.  ⛔ The rest is fine 👌

Scrolling menu still doesn't work. ⛔ The rest is fine 👌

Now should be worked @alinadivante

@przspa I noticed that in the horizontal position it is not possible to scroll through the login and newsletter modal. Can you fix it?

@alinadivante now all modal should be worked, but enjoy and have fun :)

Finally we got it! :)

Great work @przspa ! :)


Create a Style Guide

Build, publish, and maintain a style guide so that new folks can more easily contribute.

A couple items I'd like to see, the big one being a definitive template for entries and an explanation for every property. An example: I put in a category property for each entry but as of right now the only value I can think of is concept. Either we should have more categories or remove that property.

I've completed a basic outline for a style guide. Just waiting for the acceptance of #31, So I don't have to change the format again :)


Dataset image format issues

'''
if datasets[i]["im_ext"]!=".png" or datasets[i]["gt_ext"]!=".png":
print("Error: Please make sure all you images and ground truth masks are in jpg and png format respectively !!!")
exit()
'''
I want to ensure the quality of the image, so my original image is in png format. Is it necessary to ensure the jpg format here? Currently I changed the code 'jpg' to 'png'

I think the image format is not important, you can modify it to what you need.

yeah,I commented him out


agent cannot bind host port when using DaemonSet strategy

Here's the error:
Error creating: pods "istio-jaeger-agent-daemonset-" is forbidden: unable to validate against any security context constraint: [spec.containers[0].securityContext.containers[0].hostPort: Invalid value: 5775: Host ports are not allowed to be used spec.containers[0].securityContext.containers[0].hostPort: Invalid value: 5778: Host ports are not allowed to be used spec.containers[0].securityContext.containers[0].hostPort: Invalid value: 6831: Host ports are not allowed to be used spec.containers[0].securityContext.containers[0].hostPort: Invalid value: 6832: Host ports are not allowed to be used spec.containers[0].securityContext.containers[0].hostPort: Invalid value: 14271: Host ports are not allowed to be used]
If deploying on OpenShift, it's probably beneficial to use a dedicated service account for the agent and install a cluster role binding that binds a "use" verb against the appropriate SCC.

Documented in #346

About the dedicated service account for the agent: #456 would probably be handy here, as it adds support for per-component service account in the CR


You won't believe how he suggests improving the "I cannot find module 'Html'" message

Hello!!
As a total newbie, I installed Elm, wrote this as my first app:
import Html exposing (text)
main = text "Hello World"

And then when I ran elm make I was presented with this:
I cannot find module 'Html'.

Module 'Main' is trying to import it.

Potential problems could be:
  * Misspelled the module name
  * Need to add a source directory or new dependency to elm-package.json

Being a total newbie, I didn't know that this meant nor what to do about it. So I searched the web for explanations and eventually asked in the slack channel. I was (very helpfully) informed that I needed to run:
elm-package install --yes elm-lang/html

And that fixed everything \o/
It would be great if the error message suggested something similar to the information I received in the slack channel, so that if someone else gets to that problem, they can continue without having to ask really dumb questions 😄
It wasn't clear that using import Html should equate to installing elm-lang/html package.
thanks for reading....

@evancz given the number of upvotes, Html might be worth special-casing a hint. Seems like a lot of people run into it.
(In other non-special cases, might be worth adding to the hint something like "You may need to `elm-package install` a package from http://package.elm-lang.org to access this module.")

This is a pre-0.17.1 issue though. With 0.17.1, elm-package automatically includes elm-lang/html as a dependency on a new project, so this would not come up.
Given that, I don't know if there is anything more to do. Perhaps we will find other things like this that it makes sense to special case, but I don't know any right now. It may be possible to have a generic package suggester, but that's a much bigger thing.


Generate Link dll name with case matching winmd definition

Suggestion
Given the function in winmd definition:
[DllImport("FabricCommon", ExactSpelling = true, PreserveSig = false)]
public unsafe static extern HRESULT FabricDecryptText([In][Const] PWSTR encryptedText, [In] FABRIC_X509_STORE_LOCATION certStoreLocation, [Out][RetVal] IFabricStringResult* decryptedText);

windows-bindgen generates the following code for linking:
    #[link(name = "fabriccommon")]
    extern "system" {
        pub fn FabricDecryptText(
        ) -> ::windows_core::HRESULT;
    }

The link name has lower case "fabriccommon" not matching the case "FabricCommon". This request is to ask to make the name the same by default without changing the casing or add an option to configure this.
The desired code should look like this:
    #[link(name = "FabricCommon")]
    extern "system" {
        pub fn FabricDecryptText(
        ) -> ::windows_core::HRESULT;
    }

On windows there is this does not affect dll look up, but we (sf rust) use the same binding on linux, and the linker is case sensitive and cannot locate the lib. The current work around is to do a string replacement after code generation like this:
https://github.com/Azure/service-fabric-rs/blob/2fef8f1fe56135ddd3e6eea027ba59e34b0d7ad2/CMakeLists.txt#L43

I'd prefer we leave this as-is. This is continue being a problem regardless, due to the case-sensitive filesystem in use on a target we don't support.
Related: https://github.com/microsoft/win32metadata/issues/648

Perhaps a middle ground option here would be to add a bindgen configuration flag. Although it's not clear how useful that would be for service-fabric as it appears they do their own gen.

One option would be to preserve case when not targeting Windows. Something like #2934 but as @riverar points out I'm unclear what that project is doing with code gen so I'm not sure whether that will suffice. Are you moving away from your own code gen? Is that what this issue is about?

The custom code gen is irrelevant for this issue. It is auto generating some experimental bindings on top of the windows-bindgen produced code.
Looks like the merged PR above can resolve this issue. I will try once it is released.

Feel free to take it for a spin by pointing your Cargo dependency to the git repo.
https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#specifying-dependencies-from-git-repositories


Wait replication sync command

Wait replication sync script is moved to ch-monitoring since it is basically a call to ch-monitoring command inside.
It might be worth moving it to chadmin.
I also not sure how we should implement a call of a click command inside another command, the most direct way to do it is to call a command with ctx.invoke() or ctx.forward(), but the docs suggest it is not a recommended way to do this. That's why I moved replication-lag command to a serapate method for a while.

Also I discovered that running a chadmin in tests causes import exception. The reason is urllib3 version > 2 is installed in clickhouse container despite the fact that it is locked to < 1.27 in lock file.
To fix this locally I had to add RUN pip install --force-reinstall -v "urllib3==1.26.5" to clickhouse docker file.

Also I discovered that running a chadmin in tests causes import exception. The reason is urllib3 version > 2 is installed in clickhouse container despite the fact that it is locked to < 1.27 in lock file. To fix this locally I had to add RUN pip install --force-reinstall -v "urllib3==1.26.5" to clickhouse docker file.

At first sight, we can pin requests = "<2.30.0" in pyproject.toml as a workaround


chore: update for deno 1.3.0 & std 0.67.0 (resolves #165)

This updates the std dependencies to 0.67.0, to work with Deno 1.3.0.
The only notable change required for this is the removal of the delete statements for various non-null asserted members of the Connection class. TS4.0 made deleting non-optional members a compile-time error.
Resolves #165

@hayd Hello! My first time contributing to this project.
I use this package in a couple personal projects, and I'd like to update to Deno 1.3.x. I think this PR addresses it, but I'd love any feedback.
Thanks!

Thanks @glmdev ! I will publish a release for this change. 👍


restrict the date picker to current date

how to restrict the plugin to not allowing the feature dates.upto only the currents date

@manojrejinthala
  var options = {
    allowFutureDates: false
  };

Also have a look at option maxDate in the documentation


Fix reregister options

We're inside an anonymous function so this doesn't refer to the RegisterContext. Changed to self so that options are properly re-sent on re-register.

Nice catch, thanks for the fix!


Visual Studio 2017 / CodeRush for Roslyn

Hi there
I noticed that this is available as a VS extension up to VS2013.
Is this due to lack of maintenance or is this because there exists a better alternative now? I Couldn't find any...
Thank you

Ok I guess CodeRush for Roslyn might still not plugins. Also, maybe it just doesn't make sense to have a CR plugin like this - because it probably could just as well be realized as a Roslyn analyzer... so why make it dependent on something third party?


Make Excalidraw Modal render interacting user specific

Fixes #1788
Before when an Excalidraw node is added, the popup will show up for all collaborators, not just the creating user. Which would lead to a number of other issues, as shown in the Before video. Skipping the syncing for a showModal property on the ExcalidrawNode, allows for independent editing.
Before:
https://github.com/facebook/lexical/assets/7893468/817b2e48-c4ec-41ce-982d-44b60d3bb997
After:
https://github.com/facebook/lexical/assets/7893468/1bc7e901-26e7-4bc3-a601-eec8f15d2df3

Wouldn't advice storing ui state on node itself as it might backfire. Eg here you filter it out from collab but it'll be stored in undo stack for non collab. Maybe we can come up with a better approach

Internally we did following:
Node only stores drawing state, plug-in is responsible for rendering drawings dialog and registering INSERT/UPDATE_EXCALIDRAW_COMMAND. Insert command inserts node into editor and opens dialog (isModalOpen is internal state of plugin) and sends nodeKey to dialog. When user hits save it'll use node key and update drawing state on node

Internally we did following: Node only stores drawing state, plug-in is responsible for rendering drawings dialog and registering INSERT/UPDATE_EXCALIDRAW_COMMAND. Insert command inserts node into editor and opens dialog (isModalOpen is internal state of plugin) and sends nodeKey to dialog. When user hits save it'll use node key and update drawing state on node

Gerard offered the excludedProperties as an approach, which seemed straightforward to me. Your suggestion sounds better, but I'm not sure how to skip propagation of the show modal event to the other collaborators. If you have this solved already, might be easier to just port the changes over.

@fantactuka, @acywatson, I think it's worth a discussion on when to use offline properties and the tooling we want to provide around them. It's nice that we added the ability to customize what's synced over the wire but:

Do you recall what was initial usecase when it was added? With non-collab history and persisted content (when lexical json is stored), I wonder if it's useful or whether it can be replaced by plugin-stored state

@fantactuka, @acywatson, I think it's worth a discussion on when to use offline properties and the tooling we want to provide around them. It's nice that we added the ability to customize what's synced over the wire but:

Do you recall what was initial usecase when it was added? With non-collab history and persisted content (when lexical json is stored), I wonder if it's useful or whether it can be replaced by plugin-stored state

AFAIK the public excluded property was introduced to solve Excalidraw as well 😛  (@acywatson might be able to share more details on this first iteration)

Waiting on @fantactuka for best practice around handling local state

Still reproducible :P


[WIP] make restore fast by saving a hash of the lockfile.

I think checking & validating this hash in our msbuild targets file should make building large paket based solutions a lot faster...

I'm really wondering that this in itself doesn't make it faster at all (3 instead of 5 secs).
From my first profiling attempt it looks like Argu is taking the most time :/

Also the magic mode bootstrapper is probably eating quite some time there

Oh my god this seems to work

matth@DESKTOP-8VDEORF MINGW64 /c/proj/Paket (restore_speed)
$ PaketExePath=/c/proj/Paket/bin/paket.exe dotnet restore src/Paket.Core.preview3/Paket.Core.fsproj
  Paket version 5.91.0
  Performance:
   - Disk IO: 419 milliseconds
   - Runtime: 3 seconds
  Restore completed in 33.38 ms for C:\proj\Paket\src\Paket.Core.preview3\Paket.Core.fsproj.

matth@DESKTOP-8VDEORF MINGW64 /c/proj/Paket (restore_speed)
$ PaketExePath=/c/proj/Paket/bin/paket.exe dotnet restore src/Paket.Core.preview3/Paket.Core.fsproj
  Restore completed in 35.97 ms for C:\proj\Paket\src\Paket.Core.preview3\Paket.Core.fsproj.

IMHO this is good enough for now. It will hopefully help large netcore solutions and Paket.VisualStudio

WIP again, because netcore integration now needs to generate all files for all relevant frameworks beforehand

@alfonsogarciacaro I'm trying to change the restore process here a bit. In the future paket will write "obj",projectFile.Name + "." + targetFramework + ".references" instead of "obj",projectFile.Name + ".references". I know that Fable uses this file.
We can still write the old file for compat. The question is what should we write into it? What is the target-framework fable uses? netstandard16?

I guess the build will be red because this is a bootstrapping problem :/

@matthid Fable 1.1.x uses netstandard1.6, I already publish a beta of Fable 1.2 which will use netstandard2.0, but I can make so the final Fable 1.2 looks for "obj",projectFile.Name + "." + targetFramework + ".references". So, if we want to keep compatibility with Fable 1.1.x for a time, it should be fine to use netstandard1.6.

@alfonsogarciacaro Thanks will update. So I will also assume that if no netstandard16 is in the project file we no longer need that file.

TLDR:

This PR improves the speed of paket restore

by saving "cache" files and quickly checking if they are dirty
by bypassing Argu (see https://github.com/fsprojects/Argu/issues/90)

This PR skips calling paket restore completely if we can detect in MSBuild that we are still up2date. (by using the same caching files as above)

Awesome work, @matthid! Could you please check if this is going in the right direction? https://github.com/fable-compiler/Fable/commit/112fcd35e43d8092e1a586ec5cbb44c911b5aae2#diff-e47dbd37b262f2f0394b5704369d4b31R109

@alfonsogarciacaro Yes that looks exactly like it would do. Currently I'm thinking about renaming it to end with .paket.references but I haven't decided anything yet. Will let you know if I do :)

Ok green - finally :)

@Krzysztof-Cieslak Is Ionide calling paket restore directly or only dotnet restore? If the former we might want to take a look to benefit from this as well. I already updated https://github.com/fsprojects/Paket.VisualStudio/pull/140 to benefit as well.

Results in FAKE:
Before:
DotnetRestore                      00:05:35.9467550
DotnetPackage                      00:06:52.9450041

https://ci.appveyor.com/project/matthid/fake-6w516/build/1.0.106
After:
DotnetRestore                       0 <- no longer required
DotnetPackage                       00:04:32.9611943

https://ci.appveyor.com/project/matthid/fake-6w516/build/1.0.148

Awesome! How is the suffix finally? .references or .paket.references? When will this be released?

@alfonsogarciacaro Yes I think it makes sense, will try adding it later today. And I think this can be released. But before that someone (@forki) needs to answer how the target files are updated. Because older target files should be compatible with newer paket.exe but definitely not the other way around (So we need to know if this can happen)
Once we know that we can make a "real" release with this.

Paket install extracts the target files.
Am 28.08.2017 11:35 schrieb "Matthias Dittrich"<EMAIL_ADDRESS>
@alfonsogarciacaro https://github.com/alfonsogarciacaro Yes I think it
makes sense, will try adding it later today. And I think this can be
released. But before that someone (@forki https://github.com/forki)
needs to answer how the target files are updated. Because older target
files should be compatible with newer paket.exe but definitely not the
other way around (So we need to know if this can happen)
Once we know that we can make a "real" release with this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/fsprojects/Paket/pull/2675#issuecomment-325307918,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADgNP0lPPtk-RC6fkNs0hC86Pd-kWrZks5sconjgaJpZM4PDmfw
.

Perfect, thanks that should work. Will add another PR with the renaming later.


Don't rely on the implicit environment variables for OPENAI_API_KEY but pass them explicitely as constructor parameters

We already do it in the chat just not in the LLM construction for extraction.
We should have a single helper function to construct the LLM not spread across multiple places
Also add support these:

OPENAI_BASE_URL
OPENAI_API_VERSION
OPENAI_PROXY

Done


[WIP] Add AkkaHTTP and Slick

WIP add example of using AkkaHTTP and Slick

To finish this work Slick support for Dotty need to happen: https://github.com/slick/slick/pull/2123


Refactored code broke it

I reviewed https://github.com/anaclumos/bing-chat-for-all-browsers/blob/main/src/background.ts#L12-L13
Basically you set header.value to DESKTOP_UA and then check if it contains 'mobile', which will never happen because you set header.value to DESKTOP_UA.

Suggested change:
chrome.webRequest.onBeforeSendHeaders.addListener(
  (details) => {
    const { requestHeaders } = details
    if (!requestHeaders) return undefined
    const newHeaders = requestHeaders.map((header) => {
      if (header.name.toLowerCase() === 'user-agent') {
        if (header.value?.toLowerCase().includes('mobile'))
          header.value = MOBILE_UA;
        else
          header.value = DESKTOP_UA;
      }
      return header
    })
    return { requestHeaders: newHeaders }
  },
  { urls: ['*://*.bing.com/*'] },
  ['blocking', 'requestHeaders']
)

Oh, what a newbie mistake. Will issue a fix right away.

Thanks, I was confused for a second and thought it was my fault :)

Thanks!