Failure to find org.eclipse.emt4j:emt4j-parent:pom:${emt4j.version}

I deploy the tool to the private repo,

and config the plugin:
<plugin>
    <groupId>org.eclipse.emt4j</groupId>
    <artifactId>emt4j-maven-plugin</artifactId>
    <version>0.3</version>
    <executions>
        <execution>
            <phase>process-classes</phase>
            <goals>
                <goal>check</goal>
            </goals>
        </execution>
    </executions>
    <configuration>
        <fromVersion>8</fromVersion>
        <toVersion>11</toVersion>
        <targetJdkHome>/path/to/java/11.0.17-amzn</targetJdkHome>
    </configuration>
</plugin>

then run the command:
$ mvn org.eclipse.emt4j:emt4j-maven-plugin:0.3:check  -DfromVersion=8 -DtoVersion=11  -DprojectBuildDir=/path/to/project/target -DoutputFile=/path/to/project/target/report.html  -DoutputFormat=html
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] project                                                     [pom]
[INFO] project-domain                                              [jar]
[INFO] project-dao                                                 [jar]
[INFO] project-service                                             [jar]
[INFO] project-web                                                 [war]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for project 0.0.1:
[INFO]
[INFO] project ..................................... SKIPPED
[INFO] project-domain .............................. SKIPPED
[INFO] project-dao ................................. SKIPPED
[INFO] project-service ............................. SKIPPED
[INFO] project-web ................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.251 s
[INFO] Finished at: 2022-11-12T18:49:01+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.eclipse.emt4j:emt4j-maven-plugin:0.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.eclipse.emt4j:emt4j-maven-plugin:jar:0.3: Failure to find org.eclipse.emt4j:emt4j-parent:pom:${emt4j.version} in https://repo.example.com/plugins-releases was cached in the local repository, resolution will not be reattempted until the update interval of plugins-releases has elapsed or updates are forced -> [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/PluginResolutionException

Please publish emt4j-maven-plugin to The Central Repository. Publish emt4j-maven-plugin to The Central Repository is more convenient for everyone to use.

We encounter an obstacle when publish to maven center repository. Publishing jar with group id 'org.eclipse' must be approved by a person who already publish jar with the same group. Later we will continue to find if someone can help me that add a ticket  at https://issues.sonatype.org/browse/OSSRH-85254.

We have deployed the latest snapshot version to https://oss.sonatype.org/#nexus-search;quick~emt4j.
The release version will be deployed next week if everything is going well.
Please feel free to reopen this issue if you have any other questions.

The latest artifacts have been deployed to the central repository.
https://search.maven.org/search?q=emt4j

Great! Thanks a lot.


Use only PLC for Downsample sample

FYI @chrisasc

For now we use both Eigen and PCL, but the only reason we use PCL is to visualize the downsampled point cloud


Please add implicit conversion from Tuple of strings to fieldpath

Just for convenient
public implicit operator FieldPath((string,string) paths) => new FieldPath(paths.Item1,paths.Item2);
// up to tuple of 8

So we could use
var stream = firestoreDB.collections("users").WhereEqualTo(("profile","type"),"Tester").StramAsync();

While this is clearly possible and I'll consider it, my current inclination is not to do it:

Implicit conversions need to be really carefully considered. They make all kinds of API design trickier.
We'd need to add a dependency on System.ValueTuple - definitely doable, but I think a dependency really needs to have significant value to be worth including.
We'd need to add several conversions, based on the arity - how far would you expect us to go? Would a depth of 4 be enough? More?
I tend to avoid using ValueTuple in public APIs in general. I regard it as a type which is convenient as an internal detail, but with no fixed semantics I don't think it's a good fit for public APIs
I also tend to think of ValueTuple as more of a bag of values rather than a sequence of values, which is how they'd be used here.

For field paths used in queries, I'd personally suggest using static readonly fields (or properties) instead. This would avoid constructing the same FieldPath object again and again, and if you use it in multiple places you're protected against typos, and if you change the structure of your documents you'd only have a single place to change.

You can't create conversions from interfaces - the language doesn't allow it. (I'm not sure what your With method is even attempting to do at the moment.)
I'd be much happier to add a FieldPath With(string next) method to FieldPath though. Then if your fieldA and fieldB variables were of type FieldPath, that would work.

(In fact we already have that method as Append at the moment, but it's internal - so it would just be a matter of renaming it and making it public.)

@jskeet What I want here is a way throw some string into firestore API that need fieldpath without even mentioning about fieldpath anywhere in the code
I forgot about implicit conversion rule. So another way might be having overload method for every place using FieldPath to also have API for IEnumerable<string>

I definitely don't want to add overloads everywhere. Instead, I suggest you add a static FP method like this to your project:
public static class FieldPathUtilities
{
    public static FieldPath FP(params string[] segments) => new FieldPath(segments);
}

You can then use using static FieldPathUtilities; to import that method anywhere you'll need it. You can then just write:
transaction.Update(userDoc, FP(fieldA, "time"), ServerValue.TimeStamp);

(etc). You can name it however you want, do whatever you want with it.
If you really want fieldA.With("time") to work, you could always write your own extension method on string to do that. That way you can get the behaviour you want without affecting other users or introducing the complexity of huge numbers of extra overloads.

I definitely don't want to add overloads everywhere

That's why I was proposing that it should be just implicit conversion from Tuple<string..> and FieldPath at the beginning

I've explained why I don't want to add implicit conversions either though. I really think the static method route is the best way to give you a more convenient syntax for the moment. It doesn't stop us from maybe adding conversions later on, but it's much harder to remove things later than to add them.

Closing this as I believe the workaround is very usable, without imposing the expanded-API issues on other users.


enhancement Remove useless config option

Proposed changes

Remove useless config option
Fix timeout cancel, before this PR an OlapAnalysisTask would continue running even if it's already timeout.

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

run buildall

run buildall


Accessible Colour Palettes

Issue ref: #8

Added a styles.elm file containing the Styles module.
Added color variables for a simple color palette based on the work of Paul Tol  https://personal.sron.nl/~pault/
Changed any direct calls to Element.RGB255 to reference the new Styles color variables

Color can now be managed globally in Styles.elm
In addition to the original issue I have also replaced the color references in Quarto.elm as these were hard-coded hex colors.
To do this I created a method in Styles.elm that can turn an Element.Color into a CSS style RGB string.  Now the color of the game pieces can use the global palette.
Hope it's okay. Happy to make changes if needed.
Thanks
Adam

This is perfect! Thank you so much! I considered asking to replace the hard coded values but I wondered if it would be too much for new folks. I'm super glad you did it though :)


Text does not show under selected tab on bottom bar

Hi @rhanbIT
Am creating a new issue as the other issue has been closed by @Linoman.
As suggested by you I have moved the initialisation to the constructor. Now everything works fine on android but I observe the following on IOS
On tns run ios the text does not show under the initially selected tab.
When I navigate away from the initially selected tab and then return to it, the selected colour shows correctly but the text below the picture does not display correctly.
You can observe this issue in this repo (https://github.com/anuragd7/bottomBarExample/tree/master/app)

Same as #26


Instantiate regex in pattern eagerly

This change dramatically speeds up pattern search by instantiating and verifying the regex object used by patterns internally eagerly and then keeping it inside pattern. This has a few implications:

We no longer need to validate patterns inside expressions, as it is now impossible to create an invalid pattern. Patterns are either empty (default-constructed or moved-from) or valid.
Pattern views can now only be created from patterns, but no longer from strings directly. This is a requirement such that materializing a pattern view can assume the contained string view to contain a valid regular expression.
The special column evaluator for patterns is no longer necessary. This was previously introduced to reduce regex instantiation to once per batch during an evaluation—now we only instantiate the regex exactly once, which leads to a significant performance improvement for large databases. Before this change, non-scientific benchmarks on my machine showed regex instantiation taking ~20% of the total time spent, which is now an amortized 0%.

Alongside this change, I removed a bunch of dead code using patterns, and also fixed a few oversights recently introduced with the introduction of case insensitive patterns that led to patterns being incorrectly printed, and also case-insensitive patterns losing being case sensitive again after transfer to another process (i.e., when used with vast export rather than vast -N export).
~No changelog entry as all the other regex optimizations were introduced during the same release cycle; if we merge this only afer VAST v3.0 then this should get benchmarks and a separate changelog entry after all.~ Edit: as discussed below, this now adds re2 as a required dependency. This must get a changelog entry before merging.
Note that this wasn't really an optimization I planned working on, but rather something I did to pass time at an airport lounge. So in terms of reviewing, other things should probably take priority and this can easily wait a bit.

Two general questions:

Why are we not using the re2 library for this?
Why do we still carry around pattern in vast::data since it has been removed from the type system in #2873?

Why are we not using the re2 library for this?

Because nobody has bothered to make this change, and before this PR it would've been spread across the code base a lot more. Now this would actually be really simple.

Why do we still carry around pattern in vast::data since it has been removed from the type system in Remove the pattern type #2873?

Because the two are not mirrored by design. The type system defines what VAST can operate on, whereas the data model defines what you can interact with and provide as a user. Every type uniquely maps onto a data, but the inverse does not need to hold true.

Why are we not using the re2 library for this?

Because nobody has bothered to make this change, and before this PR it would've been spread across the code base a lot more. Now this would actually be really simple.

That was really surprisingly simple to make; I pushed another change that does this. Not sure if this compiles on all platforms, but at least locally I can see significant gains with it.

Nice results!
There are a lot of regex libraries out there. What prompted us to pick RE2 immediately? Because it's already an Arrow dependency?
The Zeek team evaluated them once wrt. to specific criteria: https://github.com/zeek/zeek/issues/426. Worth reading.

Because it's already an Arrow dependency?

Basically, yes. We still need to look for it manually in our CMake because the Arrow CMake doesn't expose it properly, but it's guaranteed to be installed.
Another requirement is that the regex objects must be safe to use from multiple threads once created, which isn't the case for many alternatives.

What prompted us to pick RE2 immediately? Because it's already an Arrow dependency?
The Zeek team evaluated them once wrt. to specific criteria: https://github.com/zeek/zeek/issues/426. Worth reading.

re2 is a saner default than std::regex. We can still do an evaluation but that can come at some point in the future instead of now.

I created a re2-less version of this PR in https://github.com/tenzir/vast/pull/2964.

Closing this as the work was kindly taken over by @Dakostu in #2964 while I was on vacation; we have a follow-up issue for the re2 stuff.


Lost "Open in Terminal" for SMB shares (actually lost access to shares)

I initially posted this problem at the MS TechNet announcement for the Linux VM enhancements for Hyper-V and was recommended by Craig White to post here too, so here it is.  I also found a solution to the problem but I'm posting this here because there are some rough edges around this.
--- Original post ---
I added the enhancements to my Ubuntu 16.04 VM on Win10 build 17134.165, both patched all the way to most recent. The performance of the GUI in Ubuntu improved a lot, can cut and paste from host to guest both ways, etc.
My problem is that now I cannot access a USB3 ext drive from an Ubuntu terminal, something I was able to easily do before. For instance, before enhancements (basic session mode) I would connect to a share in the host for the ext USB3 drive using Nautilus. Then, still in Nautilus, Right-click the folder I need from the USB3 drive, and use the option “Open in Terminal”. At this point a Terminal window opens with the directory set to the folder I chose in Nautilus. The path notation is like this: “/run/user/1000/gvfs/smb-share:server=machinename,share=f/downloads$”. This works exactly like this if I choose to use a Basic Session, but if I use Enhanced, the option to “Open in Terminal” disappears from Nautilus and I cannot even do it if I try to manually enter the path in Terminal.
To be clear, in Enhanced Session I can map to the USB3 drive in the host with Nautilus and use the files there with no problem, Nautilus uses the notation: smb://machinename/f/Downloads/. The problem is only from Terminal.
--- Original post ---
The solution I found is to restart gvfs with:
killall gvfsd
nautilus -q
nautilus
After this, when I look in /run/user/1000/gvfs I can see:
smb-share:server=machinename,share=d
smb-share:server=machinename,share=f
which were not there before.
And "Open in Terminal" is available in Nautilus.  All other Enhanced features seem to work fine too.  But, every once in a while I get a pop-up saying that there was an error and gives me the option to report it.  I still have not determined what the error is.
Carlos

This repo is being archived, so closing this issue.

This repo is being archived, so closing this issue.


[Feature request] Use the response of a previous request (without variables)

Coming from previous applications it has been useful to use the responses of previous requests, sometimes just once.
It'd be good if we could have this functionality in bruno. Something like:

Request 1 - GET /users/index
Request 2 - GET /users/[Request 1.data.0.uuid]

I appreciate naming may be difficult so requests could possibly be given a unique ID or Key e.g. users-index then in scripting something like previousReq('users-index').data.0.id.

@wlkns is this not already possible through setting Post Response variables?

@wlkns is this not already possible through setting Post Response variables?

Oops, I'd put in the title but not the body regarding variables.
Yes, this is possible with variables but sometimes the data doesn't need to be a project variable, and in my project I'd have hundreds of variables containing just IDs/temporary data, this would avoid that.


The results of ddpm and ldm

I have a question, are your ddpm and ldm experimental results re-trained on these abnormal datasets? I don't see it in this paper，thank you!

The ddpm and ldm are trained only on the normal datasets with multi-class setting as the same as our DiAD.

Thank you for your answer!


Unable to change replica

ES Version:                     5.6.10
DB Version:                         51
ES Nodes:                            3/4
Session Indices:                     8
Sessions2:                  24,420,398 (43,044,107,645 bytes)
Session Density:               763,137 (1,345,128,363 bytes)
History Indices:                     2
Histories:                       3,596 (1,507,191 bytes)
History Density:                   449 (188,398 bytes)
stats_v3:                            1 (23,575 bytes)
files_v5:                        1,272 (197,148 bytes)
users_v5:                            1 (15,196 bytes)

Moloch 1.5.2-1

Ubuntu 16.04.5 LTS

deb package

With capture and viewer stopped if i try to change replica (actually 3 shards and 3 replica):
# /data/moloch/db/db.pl http://<IP_ADDRESS>:9200 upgrade --shards 3 --replicas 2
It is STRONGLY recommended that you stop ALL moloch captures and viewers before proceeding.

There are 3 elastic search data nodes, if you expect more please fix first before proceeding.

Trying to upgrade from version 51 to version 51.

Type "UPGRADE" to continue - do you want to upgrade??
UPGRADE
Starting Upgrade
Updating sessions2 mapping for 8 indices

Finished

The indexes are still 3x3.

Thanks.
Best regards.

The new sessions indexes are still being created as 3x3:

upgrade will only change future sessions2
expire will change current sessions2 or you can use the _settings api to change current session2

I can't reproduce.  If you do
curl 'http://localhost:9200/_template/*sessions2*?pretty' | grep number_of
you should see
"number_of_shards" : "3",
"number_of_replicas" : "2"
if you don't, try doing the upgrade again and then the curl and see if it changes.


Error code 433

Current implementation returns too many false-positives:
            episodes['original_index'] = episodes.index
            episodes.sort_values(['CHILD', 'DECOM', 'DEC'], inplace=True)
            episodes[['PREVIOUS_DEC', 'PREVIOUS_CHILD']] = episodes[['DEC', 'CHILD']].shift(1)

            rne_is_ongoing = episodes['RNE'].str.upper().astype(str).isin(['P', 'L', 'T', 'U', 'B'])
            date_mismatch = episodes['PREVIOUS_DEC'] != episodes['DECOM']
            missing_date = episodes['PREVIOUS_DEC'].isna() | episodes['DECOM'].isna()
            same_child = episodes['PREVIOUS_CHILD'] == episodes['CHILD']

            error_mask = rne_is_ongoing & (date_mismatch | missing_date) & same_child

Any child with an open episode at <COLLECTION_START_DATE> will flag as an error unless the open episode (which started in the previous year) happens to have <RNE> = S.  This is because the previous episode, being in the previous year, is not available to the .shift function and later tests.
Suggest this rule could be modified for the tool to :

Only test episodes where the <DECOM> is also on or after <COLLECTION_START_DATE>

thanks for this, changed it to:
not_from_prev_yr = episodes['DECOM_dt'] >= collection_start
error_mask = rne_is_ongoing & (date_mismatch | missing_date) & same_child & not_from_prev_yr

I would have thought the same_child constraint would have prevented the first episode being counted as an error anyway... I'll tell you when this change has gone through to the actual site, and please let me know if it's sorted the issue

It was sorting on the dates as strings, not datetimes! I think that should fix it

Should be fixed by 20f446e1f639ef71c573fb2f1f258fe68e010ee9


Accessing openapi.json on prefixed path?

So in this example, I have set my wrangler.toml registered to listen on legit.website.example/plans/*, and my router registered on /plans/plans.json.
The issue here is that in production, I cannot access legit.website.example/openapi.json; how can I instead have the schema at like legit.website.example/plans/openapi.json?
name = "tls-breaker-worker-dev"
main = "src/index.js"
compatibility_date = "2022-11-23"
workers_dev = false

[vars]
ENVIRONMENT = "dev"

[env.production]
name = "tls-breaker-worker"
route = { pattern = "legit.website.example/plans/*", zone_name="website.example" }
[env.production.vars]
ENVIRONMENT = "production"

import { OpenAPIRouter, OpenAPIRoute, Query, Int } from '@cloudflare/itty-router-openapi'

const router = OpenAPIRouter()

export default {
	fetch: router.handle
}

export class Plans extends OpenAPIRoute {
	static schema = {
		tags: ['pricing', 'prices', 'plan', 'plans'],
		summary: "Get the list of products.",
		parameters: {
			product: Query(Int, {
				description: 'Product number',
				default: 1,
				required: false,
			  }),
		}
	}

	async handle(request, env, ctx, data) {
		const { product }  = data;
		console.debug('------');
		console.debug(currency);

		return new Response("Hello world", {
			status: 200
		})
	}
}

router.get('/plans/plans.json', Plans);
router.all('*', () => new Response('Not Found.', { status: 404 }))

I'm an idiot, this is documented right in the README.md. I needed to use base.
const router = OpenAPIRouter({
	base: '/plans'
})


11481 draw bbox

Add some toolbars to the map. You can use the draw a box, cancel, and redraw buttons. Other functionality is not there yet.

Coverage remained the same at 80.759% when pulling f13892854d8208b5aa56152bda5cda27d5f13af3 on 11481-DrawBBOX into 91217f58a989123ca19b342fb2a73290081f4e84 on 1.0.0.


Argument Parser Help should be available automatically

Currently, a user must manually specify an argument or method for the user to get help on a command. The argument parser should automatically add a Help Argument to every model sent for parsing. It should be a FlagArg accepting either -h or --help.
Note that given the current typed system, we can't actually return the Help Argument unless the user explicately makes an attribute for it. We would have to know which attribute should receive the help results, likely necessitating a new arg-type: HelpArg. Alternatively, we could return a tuple: (ArgList, HelpArg), although this is not particularly elegant. Eventually, the parser should be able to print help messages of it's own accord, making this less of an issue.
One caveat that should be worked out at the same time is if the user supplies their own arg matching -h or --help. One approach is to add our automatic Help Argument to the back of the list, so that it has the least matching priority. This could lead to unexpected behaviour, though. For instance, if the developer overrides -h, but not --help, and then implements their own entirely separate help system, the end-user would get an unintended message when running the command with --help. We could also require the user to opt in or out of automatic help via a boolean argument in parse-args().  Or, we could check FlagArgs and KeywordArgs to see if any of them match -h or --help and print a warning when they are detected.

Implemented in 67f41fb591171d7f133f1902a0af881bded5b051


Port stdlib_io tests to test-drive

This was a fun exercise. All stdlib_io tests now run under the new testing framework. loadtxt* tests were re-written as the old tests were only printing to screen and not checking values. However, they do depend on savetxt for round-tripping the data, so neither test_savetxt and test_loadtxt are isolated from each other.

test_loadtxt fails with ifort because of the default formatting used in savetxt, which is not portable. I'll open a separate issue and patch in fortran-lang/stdlib.


How can i set the return of a collect to a typescript interface?

I have this interface:
interface UF {
id: number;
initials: string;
name: string;
}
This state:
const [uf, setUf] = useState<UF[]>([]);
I want to sort my array of UF's by name using collect and set the value to my State:
const sorted = collect<UF[]>(arrayUf).sortBy('name);
setUf(sorted);
But i'm getting unknow type error... someone could help me?

Don't do TS personally. Adding [help wanted]


Missing Reply URL Information

This page is missing details on the "Reply URL (ACS)", which is required.

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

ID: 8ebad160-aa6c-cfc6-35b4-1c330b423363
Version Independent ID: 6e5a6ead-582e-2a24-71e2-ed3fc5641ec1
Content: Tutorial: Microsoft Entra single sign-on (SSO) integration with Palo Alto Networks - GlobalProtect - Microsoft Entra ID
Content Source: docs/identity/saas-apps/palo-alto-networks-globalprotect-tutorial.md
Service: active-directory
Sub-service: saas-app-tutorial
GitHub Login: @jeevansd
Microsoft Alias: jeedes

@tleepa
Thanks for your feedback! We will investigate and update as appropriate.

@tleepa
We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation


500 Error on Webpage

1. Checklist

[X] I updated daisyUI (npm i -D daisyui@latest) but I still have this issue
[X] I looked up into FAQ but I couldn't find a solution
[X] I searched in existing issues and discussion forum but this bug has not addressed before
[X] This bug is dasiyUI issue and it's NOT specific to a JS framework or a build tool."

2. What version of daisyUI are you using?
No response
3. Which browsers are you seeing the problem on?
Chrome
4. Reproduction URL
https://daisyui.com/components/menu/
5. Describe your issue
The webpage shows 500 Error on nearly all Pages

Fixed

Same issue here. Documentation is down 500 Error :(

https://daisyui.com/theme-generator/
Sadly not working for me, is it a DNS issue?

is it a DNS issue?

Yes. I think accidentally you opened the page in the exact second the site was being deployed 😅
It's rare but it happens.
It would be okay if you do a refresh without cache or if you clear site data or if you open on a private tab.


It won't build

$> git clone https://github.com/rvaiya/keyd
Cloning into 'keyd'...
remote: Enumerating objects: 3152, done.
remote: Counting objects: 100% (1197/1197), done.
remote: Compressing objects: 100% (428/428), done.
remote: Total 3152 (delta 824), reused 1085 (delta 768), pack-reused 1955
Receiving objects: 100% (3152/3152), 2.40 MiB | 2.13 MiB/s, done.
Resolving deltas: 100% (2097/2097), done.
$> cd keyd/
$> make
mkdir bin
cp scripts/keyd-application-mapper bin/
cc -DVERSION=\"v2.4.3\ \(7c4545b\)\" -I/usr/local/include -L/usr/local/lib -Wall -Wextra -Wno-unused -std=c11 -DSOCKET_PATH=\"/var/run/keyd.socket\" -DCONFIG_DIR=\"/etc/keyd\" -DDATA_DIR=\"/usr/share/keyd\" -D_FORTIFY_SOURCE=2 -D_DEFAULT_SOURCE -Werror=format-security  -O3  src/*.c src/vkbd/uinput.c -lpthread -o bin/keyd
src/device.c: In function ‘device_read_event’:
src/device.c:379:8: error: ‘REL_WHEEL_HI_RES’ undeclared (first use in this function)
   case REL_WHEEL_HI_RES:
        ^~~~~~~~~~~~~~~~
src/device.c:379:8: note: each undeclared identifier is reported only once for each function it appears in
src/device.c:382:8: error: ‘REL_HWHEEL_HI_RES’ undeclared (first use in this function)
   case REL_HWHEEL_HI_RES:
        ^~~~~~~~~~~~~~~~~
Makefile:35: recipe for target 'all' failed
make: *** [all] Error 1

What distro/kernel version are you running?

Debian 9 (Stretch) kernel 4.9.30.

Your kernel is quite old and doesn't define the appropriate constants.  They are presently unused, so I have removed them, which  should allow you to build from the latest commit. Having said that, they may eventually be reintroduced, so my advice would be to upgrade anyway.

It builds now. Thanks!


v0.5.6

Change:

Fix: Updated chat command routing (a.k.a. "a minor whoopsie")

Codecov Report
Attention: Patch coverage is 66.66667% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 93.11%. Comparing base (63696da) to head (b19c16d).

Files
Patch %
Lines

src/utils/queue.js
66.66%
1 Missing :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #22   +/-   ##
=======================================
  Coverage   93.11%   93.11%
=======================================
  Files          26       26
  Lines        5026     5026
  Branches      180      180
=======================================
  Hits         4680     4680
  Misses        344      344
  Partials        2        2

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Add alanfortlink/blackjack.nvim

Checklist:

[X] The plugin is specifically built for Neovim, or if it's a colorscheme, it supports treesitter syntax.
[X] The lines end with a .. This is to conform to awesome-list linting and requirements.
[X] The title of the pull request is Add/Update/Remove `username/repo`  (notice the backticks around `username/repo`) when adding a new plugin.
[ ] The description doesn't mention that it's a Neovim plugin, it's obvious from the rest of the document. No mentions of the word plugin unless it's related to something else.
[X] The description doesn't contain emojis.
[X] Neovim is spelled as Neovim (not nvim, NeoVim or neovim), Vim is spelled as Vim (capitalized), Lua is spelled as Lua (capitalized), Tree-sitter is spelled as Tree-sitter.
[X] Acronyms should be fully capitalized, for example LSP, TS, YAML, etc.

Thanks for the PR! The changes you've made don't adhere to the checklist, I've deselected the item(s) that need to be fixed.

What do you think about "Neovim port of the classic Black Jack game."
Other plugins on Games section use word Neovim but not plugin.

It's still redundant. Just "Classic black jack game" or something similar is fine with me.
I didn't notice the other the "Neovim port" so that should be removed.

I think now it's fine. @tversteeg


Update Hardhat guide to use the hardhat-foundry plugin

Now that we've published our hardhat-foundry plugin, it would be nice to update this section of the Foundry book to use in instead of using hardhat-preprocessor. I think this needs two PRs:

One in this repo to update that guide
One in the hardhat-foundry-template repo to use the new plugin

I'm happy to do both, but I would like to have confirmation first that this is something you want to do.

Oh only just saw this. Yeah supportive, let's do it.

Closing in favor of https://github.com/foundry-rs/book/issues/1033


change the footer UI

Is your feature request related to a problem? Please describe.
Change the footer UI according to our website.

Describe the solution you'd like
Maybe blur the background with white text? Just remove the black background color. And try to add a backdrop blur filter. That's it

Sure @SalmanShahid888

#203 Fixes the issue Please close.


week 4 review ticket

Total: 5/5
Graded By: Aadit Gupta
CB Create Task completed and documented on GH Pages - Prep to submit to CB on or before May, 2nd. (2 Points - Individual)

[ ] CB Create Task Coding requirements documented

[ ] Runtime of Code(with comments) on Replit/Intellij

Accounts and Logins Challenges/Hacks ( 3 Points - Pair/Trio)

[ ] Start or add to existing project: init.py, main.py, requirements.txt and cruddy blueprint directory are things you will need to add to your existing project. Additionally, you should start with some of the content in templates and static folders. Find a pair and work on this together. Ask questions.

[ ] Analysis: the csp.nighthawkcodingsociety.com implementation is for educational purposes. It has some obvious flaws in its security. Discuss some of the flaws that you see in its security as implemented.

[ ] Hack 1 Add Phone Number to Sign Up / Authorization screen

[ ] Hack 2 Add logout to CRUD screen

[ ] Hack 3 Add login_required to another portion of the project

[ ] Extra Credit: A quality design would have login and logout on Navbar with user information. Be sure to have login protecting something on your site, however, do NOT make entire site under login_required.

Evidence
Create task page
Accounts and Logins Code Pictures

4.75/5.
Everything looks good and good job on the accounts and login part. You need to add the login and logout button on the navbar.


BUG: file not found in Multi-module

I have a two-module project and I use TestNG as testing framework, which allows (like JUnit I believe) to declare groups.
I declared 8 groups, (a) some are tagged in both modules, (b) some in only one of them.
I configured this GitHub action in order to list jacoco-csv files but in (b) case only one exists.
When I run the action, it throws FileNotFoundError: [Errno 2] No such file or directory: 'solver/target/site/jacoco/jacoco.csv' which is expected. But I wonder whether it is possible to add something like:
if os.path. exists(filename):

just before JacocoBadgeGenerator.py#L90.

I can do that. I considered that to begin with, but decided not to check, with the rationale that a missing jacoco.csv may be due to a typo in a workflow file, and that letting the workflow fail would draw attention to such a bug, while simply skipping it would report a coverage percentage that may be inaccurate.
I guess I can skip missing reports, but log them.

I found a way around it, uploading and downloading artifacts.
It makes the workflow a bit complex and I'm afraid it will raise another problem.
It also requires to call merge action from maven-jacoco-plugin in coverage profile of pom.xml.
Here is a bunch of code (sorry, it is a bit long):
name: Java CI with Maven

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  test-suite:
    runs-on: ubuntu-latest
    # Tests matrix
    strategy:
      #fail-fast: false
      matrix:
        group: [ "gr1" , "gr2", "gr3" ]

    # The different steps
    steps:
      - uses: actions/checkout@v2
      - name: Set up JDK 11
        uses: actions/setup-java@v2
        with:
          java-version: '11'
          distribution: 'adopt'

      # Regression tests
      - name: Test ${{ matrix.group }}
        run: mvn -B --file pom.xml package -Pcoverage -DtestFailureIgnore=true -Dgroups=${{ matrix.group }}

      # upload jacoco-csv files
      - name: Prepare upload
        run: mkdir -p jacoco/
      - run: cp modul1/target/site/jacoco/jacoco.csv jacoco/mod1.csv
      - run: cp module2/target/site/jacoco/jacoco.csv jacoco/mod2.csv
        if: ${{ always() }}
      - name: Upload jacoco-csv files
        if: ${{ always() }}
        uses: actions/upload-artifact@master
        with:
          name: ${{ matrix.group }}
          path: |
            jacoco/mod1.csv
            jacoco/mod2.csv
          if-no-files-found: ignore

  coverage:
    needs: [ test-suite ]
    runs-on: ubuntu-latest
    steps:
      # Download jacoco-csv files
      - uses: actions/download-artifact@v2
        name: Download jacoco-csv files
        with:
          path: jacoco/

      - name: Generate JaCoCo Badge
        id: jacoco
        uses<EMAIL_ADDRESS>        with:
          generate-branches-badge: true
          jacoco-csv-file: >
            jacoco/gr1/mod1.csv
            jacoco/gr1/mod2.csv
            jacoco/gr2/mod1.csv
#          jacoco/gr2/mod2.csv does not exist
#          jacoco/gr3/mod1.csv does not exist
            jacoco/gr3/mod2.csv

      - name: Log coverage percentage
        run: |
          echo "coverage = ${{ steps.jacoco.outputs.coverage }}"
          echo "branch coverage = ${{ steps.jacoco.outputs.branches }}"

That worked but problem is that I'm sure additions JacocoBadgeGenerator.py#L94 reflect the union expected.

I'm going to implement a fix either way.
But what causes a jacoco report to generate sometimes but not other times? The only reason I can think of is if one or more tests fail. But wouldn't test case failures cause the build itself to fail? And if not, and if the missing reports are for the modules with test case failures, then computing coverage skipping missing reports may give you inaccurate results.
Here is what I'm thinking of doing:

If a report is missing, log a warning to standard out, so you can see which were missing in the workflow output.
Compute coverage from whatever reports are there.
Add an input to give the user of the action control over whether a badge is generated if one or more expected reports are missing.
Also give control to user of action whether or not to fail the workflow if expected report is missing. Perhaps a boolean input ´fail-on-warning´.

Numbers 3 and 4 above would essentially enable user to decide how to handle missing reports: fail workflow, or don't fail workflow but also don't generate badges, or generate badges anyway. Either way the names of the missing reports would be found in the workflow output.
Perhaps one input might cover both. Maybe something like ´on-warning´ with possible values of ´fail´ to fail the run, ´quiet´ to not fail the run but also not generate badges, and ´badges´ to generate badges despite missing reports.

I created a GitHub action jacoco-merge which should be combined with a JaCoCo report.
I let you fix/close this issue but I don't think you should make too much of it either

@cprudhom You might also take a look at jacoco:report-aggregate. I'm not sure if it applies to your case or not.


ERROR unexpected EOF

Version
Pre-release v1.0.0-alpha.2
Background
Setup a simple test to create a NewParser and parse ~2 million DICOMs files. Almost all of them were fine and read correctly without issue, but on 404 of them, one of the following two errors was given:
ERROR unexpected EOF, or related, ERROR error reading tag: unexpected EOF EOF
I have not yet had a chance to investigate where this error comes from or what might be causing it, but below I've attached some example files for each error to help reproduce.
Implementation of the Library
The following is the main/relevant section of what was iterated over all the sample DICOMs.
file, err := os.Open(location)
        if err != nil {
                return nil, err
        }

        info, err := file.Stat()
        if err != nil {
                return nil, err
        }

        p, err := dicom.NewParser(file, info.Size(), nil)
        if err != nil {
                return nil, err
        }

        parsedData, err := p.Parse()
        if parsedData.Elements == nil || err != nil {
                return nil, err
        }

Sample DICOMs
unexpected_eof.zip
error_reading_tag.zip
Credits

Work on this bug report was sponsored by: Segmed Inc.

Fenimore, Charles, McNitt-Gray, Michael F., Clunie, David, Gavrielides, Marios A., Petrick, Nicholas, Samei, Ehsan, … Slazak, Katherine. (2016). Data from QIBA CT-1C. The Cancer Imaging Archive. DOI: 10.7937/K9/TCIA.2016.YxgR4blU

Clark K, Vendt B, Smith K, Freymann J, Kirby J, Koppel P, Moore S, Phillips S, Maffitt D, Pringle M, Tarbox L, Prior F. (2013) The Cancer Imaging Archive (TCIA): Maintaining and Operating a Public Information Repository, Journal of Digital Imaging, Volume 26, Number 6 pp 1045-1057. DOI: 10.1007/s10278-013-9622-7

@IChocked just wanted to say another big thank you to you and the folks at Segmed for helping with some of the library validation for the rewritten release!
Thank you for identifying this issue and documenting it so well. I was able to put together a fix in #110, and will add samples from the provided DICOMs to a test set for the rewritten library in an upcoming pull request :).
Step by step we're getting closer to the rewritten release, can't wait!

Also, tagged the newest alpha as v1.0.0-alpha.3 that includes this fix (and several other changes)!


Uncaught exception

So we are calling our contract or tables to see updates on like 100ms speed but rarely get this unhandled exception, which can't be caught by normal Try/Catch. Do you think it can be fixed inside of EOS JS?
It is on heroku/nodejs if helps...
2018-09-08T09:48:24.612900+00:00 app[web.1]:     at /app/node_modules/eosjs-api/lib/apigen.js:112:23
2018-09-08T09:48:24.612902+00:00 app[web.1]:     at
2018-09-08T09:48:24.612906+00:00 app[web.1]:     at process._tickCallback (internal/process/next_tick.js:188:7) status: 429, statusText: 'Too Many Requests' }
2018-09-08T09:48:24.615878+00:00 app[web.1]:     at JSON.parse ()
2018-09-08T09:48:24.615875+00:00 app[web.1]: (node:4) UnhandledPromiseRejectionWarning: SyntaxError: Unexpected token E in JSON at position 0
2018-09-08T09:48:24.615879+00:00 app[web.1]:     at eos.contract.then.then.catch.closeError (/app/app.js:327:27)
2018-09-08T09:48:24.615881+00:00 app[web.1]:     at
2018-09-08T09:48:24.615882+00:00 app[web.1]:     at process._tickCallback (internal/process/next_tick.js:188:7)
2018-09-08T09:48:24.616001+00:00 app[web.1]: (node:4) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
2018-09-08T09:48:24.616102+00:00 app[web.1]: (node:4) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Eosjs is probably handing the exception to you.  It is however easy to miss one.  Make sure your code is awaiting on every function call to eosjs that triggers network activity.  Post some examples if your not sure.  The README should hightlight all the places you need to wait.  It is pure intuition though, the highest level API call that triggers the transaction is the place to look for the exception.


Rename EEfectType to avoid name collision

EEfectType name is the same as a big number of other plugins (PlayfabOSS for example).
It should be renamed to EGMASEffectType/State like in the deepworld branch.
UENUM(BlueprintType)
enum class EGMASEffectType : uint8
{
	Instant,  // Applies Instantly
	Duration, // Lasts for X time
	Infinite  // Lasts forever
};

UENUM(BlueprintType)
enum class EGMASEffectState : uint8
{
	Initialized,  // Applies Instantly
	Started, // Lasts for X time
	Ended  // Lasts forever
};

all set as of #93


Monitor page using incorrect host ID

The monitor tab doesn't use the correct host ID returned by the runtime, which may cause it to be different than what is expected by the logging APIs.
An example of when this will be an issue is when function app names are longer than 32 characters, since the host ID is truncated and the monitor page uses the full site name.

FYI, @ahmelsayed

This impacts the monitoring tab for deployment slots


[FEATURE] Add flycheck-golangci-lint

The added plugin runs
golangci-lint in the
background and gathers the results in a checker.
I don't know if there's a macro already to add a checker to flycheck, I don't know which hook to aim for if I want to run (flycheck-add-next-checker 'lsp-ui 'golangci-lint) only in go-mode buffers (without the lsp-ui setup destroying the flycheck checkers priority list just after)

Thanks for your help! I'll look into the lsp-ui issue another time. No macro exists for it, but perhaps one should.


[DO NOT MERGE] Test change to validate [BEAM-4555]

In BEAM-4445 we changed pre-commit triggering on PR's to only run when afffected file paths were changed. However as a side-effect, it is no longer possible to use trigger phrases to manually run pre-commits if include path files are not changed.
This PR is just a test to repro this is broken.

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.

/cc @udim
So far, I don't see any triggering at all..

retest this please

Run Java PreCommit

Run Go PreCommit

Run Go PreCommit

Not sure why this isn't triggering..

 And it does indeed seem to ignore Java.


spawn point not registering after sleeping in bed from crystal ball

i used the crystal ball and chose single, slept in the bed upstairs.  died a bit later and was put back at spawn saying it did not register my bed.    will let you know if it repeats after I die again :)

With that new feature of MCA I am actually considering dropping it from the pack.  The idea of marriage and starting out with a family does not fit well with what I envision from the pack and there is no way to disable that orb.  I mean, when you get to earth, how do you magically now have a family if there are supposedly no other humans on earth?

Issue resolved, just going to remove MCA as discussed.


Standardize common-ui namespace

Task/Issue URL: https://app.asana.com/0/488551667048375/1205884745797977/f
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

Current dependencies on/for this PR:

develop

PR #3812

PR #3862   👈
PR #3818
PR #3816
PR #3815
PR #3814
PR #3813

This stack of pull requests is managed by Graphite.

Current dependencies on/for this PR:

develop

PR #3812

PR #3862   👈
PR #3818
PR #3816
PR #3815
PR #3814
PR #3813

This stack of pull requests is managed by Graphite.


npx miniflare execute fail

What version of Wrangler are you using?
2.4.0
What operating system are you using?
macOS 12.4 (21F79)
Describe the Bug
I'm trying to use r2_buckets in wrangler2,  but i'm not sure where is wrong in my wrangler.toml
Here is my configuration file (copy from https://developers.cloudflare.com/workers/wrangler/configuration/)
name = "storage"
#route = ''
#zone_id = ''
#usage_model = ''
#compatibility_flags = ["r2_public_beta_bindings"]
workers_dev = true
compatibility_date = "2022-05-19"
account_id = ""

[vars]

r2_buckets = [{
	binding = "MY_BUCKET",
 	bucket_name = "storage",
	preview_bucket_name = "storage"
}]

I got this error when i'm executing npx miniflare
➜  r2-api git:(main) ✗ npx miniflare
[mf:err] TomlError: Unterminated inline array at row 16, col 16, pos 303:
15:
16> r2_buckets = [{
                   ^
17:     binding = "MY_BUCKET",

    at TOMLParser.parseInlineTable (/usr/local/lib/node_modules/miniflare/node_modules/@iarna/toml/lib/toml-parser.js:1337:26)
    at TOMLParser.runOne (/usr/local/lib/node_modules/miniflare/node_modules/@iarna/toml/lib/parser.js:64:30)
    at TOMLParser.parse (/usr/local/lib/node_modules/miniflare/node_modules/@iarna/toml/lib/parser.js:45:22)
    at Object.parseString [as parse] (/usr/local/lib/node_modules/miniflare/node_modules/@iarna/toml/parse-string.js:13:12)
    at EventTarget.#init (/usr/local/lib/node_modules/miniflare/node_modules/@miniflare/core/src/index.ts:340:45)
    at EventTarget.getPlugins (/usr/local/lib/node_modules/miniflare/node_modules/@miniflare/core/src/index.ts:970:5)
    at createServer (/usr/local/lib/node_modules/miniflare/node_modules/@miniflare/http-server/src/index.ts:334:19)
    at startServer (/usr/local/lib/node_modules/miniflare/node_modules/@miniflare/http-server/src/index.ts:420:18)
    at main (/usr/local/lib/node_modules/miniflare/src/cli.ts:96:5)

Hi @akinazuki - sorry about this but the docs are a bit misleading. In TOML you cannot have an "inline" object that spans multiple lines. The correct format should be:
r2_buckets = [{ binding = "MY_BUCKET", bucket_name = "storage", preview_bucket_name = "storage" }]


Getting high score on classification though obviously this is wrong

After defining the categories, when I test a sample sentence that obviosly is not related - there is always on category that gets high score. is there a way to tell Rasa that there is no need for "Lead" category - or I'm totally don't understand the basics here?

@eyal13579 it would help if you could tell us your rasa version and pipeline configuration.
Without knowing those I can still say that there is nothing to my knowledge in Rasa that forces one intent to have a strong confidence. There has been a lot of talk on how to handle out of scope messages. See this issue #387 for some discussion.
I also have a basic blog post that I've written showcasing some things you can do to handle fallbacks, which is some what perinent here.
Let me know if between those two items you don't get a better idea on how to handle false high confidence results.


Loading tags at runtime

How do you load tags at runtime? (ie from a db table)

You can use onMounted to updates the variable you set as v-model to <TagInput> component.


Faulty coloring of numbers in comprehensions with a step

When using list/seq/array comprehensions with a step, the final number is either partly or entirely miscolored.
Repro steps

Expected behavior
All numbers should have the same color.
Related information
Visual F# Tools version <IP_ADDRESS>40601
.NET 4.6.2

The closing brace in test3 is grey too by the looks of it.

Fixed in https://github.com/Microsoft/visualfsharp/pull/2826


Example not working

Hi,
Thanks for writing this plugin.
I cloned the example and ran it on Android (Pixel) with the Twitter app installed. I get the same behavior I'm getting in my actual app:

the Twitter authorization view appears
I tap Connect
It says "Authenticating" then displays exactly the same Twitter authorization view
I tap Connect again, it says "Authenticating" again, then it takes me back to the app. However, the future returned by authorize never completes
If I tap Log in again, it errors with the below output in the debug console

Launching lib\main.dart on Pixel in debug mode...
Built build\app\outputs\apk\debug\app-debug.apk.
D/NetworkSecurityConfig(17043): No Network Security Config specified, using platform default
W/ActivityThread(17043): handleWindowVisibility: no activity for token android.os.BinderProxy@d9a52dd
W/Twitter (17043): Authorize already in progress
W/Twitter (17043): Authorize already in progress
E/Twitter (17043): Authorization completed with an error
E/Twitter (17043): com.twitter.sdk.android.core.TwitterAuthException: Authorize failed.
E/Twitter (17043): 	at com.twitter.sdk.android.core.identity.TwitterAuthClient.handleAuthorize(TwitterAuthClient.java:112)
E/Twitter (17043): 	at com.twitter.sdk.android.core.identity.TwitterAuthClient.authorize(TwitterAuthClient.java:103)
E/Twitter (17043): 	at com.roughike.fluttertwitterlogin.fluttertwitterlogin.TwitterLoginPlugin.authorize(TwitterLoginPlugin.java:88)
E/Twitter (17043): 	at com.roughike.fluttertwitterlogin.fluttertwitterlogin.TwitterLoginPlugin.onMethodCall(TwitterLoginPlugin.java:54)
E/Twitter (17043): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:200)
E/Twitter (17043): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/Twitter (17043): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/Twitter (17043): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/Twitter (17043): 	at android.os.Looper.loop(Looper.java:160)
E/Twitter (17043): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/Twitter (17043): 	at java.lang.reflect.Method.invoke(Native Method)
E/Twitter (17043): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/Twitter (17043): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
W/terloginexampl(17043): Accessing hidden field Lsun/misc/Unsafe;->theUnsafe:Lsun/misc/Unsafe; (light greylist, reflection)
W/terloginexampl(17043): Accessing hidden method Lcom/android/org/conscrypt/OpenSSLSocketImpl;->setAlpnProtocols([B)V (light greylist, reflection)
W/terloginexampl(17043): Accessing hidden method Lcom/android/org/conscrypt/OpenSSLSocketImpl;->getAlpnSelectedProtocol()[B (light greylist, reflection)

Output of flutter doctor -v:
[√] Flutter (Channel beta, v0.11.3, on Microsoft Windows [Version 10.0.17134.407], locale en-AU)
    • Flutter version 0.11.3 at C:\Users\Kent\Repository\flutter
    • Framework revision 72bf075e8d (8 days ago), 2018-11-09 20:36:17 -0800
    • Engine revision 5646e86a6f
    • Dart version 2.1.0 (build 2.1.0-dev.9.3 9c07fb64c4)

[√] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at C:\Users\Kent\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    • All Android licenses accepted.

[√] Android Studio (version 3.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[!] VS Code (version 1.29.1)
    • VS Code at C:\Users\Kent\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[√] Connected device (1 available)
    • Pixel • FA6AF0303979 • android-arm64 • Android 9 (API 28)

! Doctor found issues in 1 category.

Debugging the Java side, I can see that the activity is being recreated, so when onActivityResult is called, authClientInstance is null and the result is never forwarded to it.
I tried changing initializeAuthClient to this:
private TwitterAuthClient initializeAuthClient(String consumerKey, String consumerSecret) {
    if (authClientInstance == null) {
        authClientInstance = configureClient(consumerKey, consumerSecret);
    }

    return authClientInstance;
}

I updated the call sites but also changed onActivityResult to call it with my hard-coded key and secret (didn't know how to get them otherwise). This behaved in exactly the same way except that there is no longer an "Authorize already in progress" error when I try the second time.
🤔 Any ideas?

I get exactly the same behavior if I use the Flutter_Social_login by @YahiaAgwa here.

Exactly same error here, the problem is in final TwitterLoginResult result = await twitterLogin.authorize();
Any help will be appreciated

I got the same error of you @Pitazzo. When you try to print the message error shows "Failed to get request token" :/. Did you solve it?

Hi,
I solved this by following below:
It is important to configure the callback URLs so that everything works correctly in your application.
You will have to use the following callback URLs:
Android - twittersdk://
iOS - twitterkit-CONSUMERKEY://
FOR MORE INFORMATION READ: https://developer.twitter.com/en/docs/basics/developer-portal/guides/callback-urls.html

@x8Haider  can you guide me exactly were to add  "twittersdk://". I'm using firebase authentication with Twitter.


[ask] .parse() changes where type

This is my use case:
  testColumn: t.varchar().parse((v) => {
    switch (v) {
      case EnumXXX.A:
        return 'a';
      case EnumXXX.B:
        return 'b';
      case EnumXXX.C:
        return 'c';
      default:
        return 'd';
    }
  }),

I'm expecting db.test.where({testColumn: EnumXXX.A }) to be worked, but it only accept the return type of parse

How so you expect it to accept EnumXXX.A?
The documentation says:

The type of input is the type of column before .parse, the resulting type will replace the type of column.

The resulting type of a field becomes 'a' | 'b' | 'c' | 'd', so that's what is accepted as a field value.
If you want to advertise the parser to return a b c d or EnumXXX, either advertise that explicitly:
testColumn: t.varchar().parse((v): 'a' | 'b' | 'c' | 'd' | EnumXXX => {

or with a TS hint of a kind:
testColumn: t.varchar().parse(v => {
  switch (v) {
    case EnumXXX.A:
      return 'a'
    case EnumXXX.B:
      return 'b'
    case EnumXXX.C:
      return 'c'
    default:
      return 'd'
    // Hack: adverise EnumXXX as return type
    case 0 as any:
      return v as EnumXXX
  }

Currently, this is how it works, a column has an input and output type, and the output type is used in where. I'll need to keep more types within a column to make it flexible enough for your use case.

I published an update for this. Now the type for where is independent of the type which is set by parse, and your example should work as expected.


SQLDatabaseChain creates database query without checking database table, fields.

Here is my js code
const connection = await createConnection({
    type: "mysql",
    host: "localhost",
    port: 3306,
    username: "root",
    password: "****",
    database: "fintron-invest-dev",
  });
  const db = new SqlDatabase({
    appDataSource: connection,
  });
  const llm = new OpenAI({
    temperature: 0,
    openAIApiKey: '****'
  });

  const dbChain = new SqlDatabaseChain({
    llm: llm,
    database: db,
    verbose: true,
  })

  const result = await dbChain.run("Show me the name of the biggest market capacity security");
  console.log(result);

When I run above code, it generates database query without checking real database table and fields.
This is generated query
SELECT `name` FROM `securities` WHERE `market_capacity` = (SELECT MAX(`market_capacity`) FROM `securities`) LIMIT 5;

But there isn't securities table nor market_capacity fields in database.
When I run python langchain, it checks database and creates query with exact table name fields.
What is the issue in js langchain?

@dosu-bot
I am getting following SQLDatabase Chain error because there isn't table nor field in database and it query database with incorrect generated query.
QueryFailedError: ER_NO_SUCH_TABLE: Table 'fintron-invest-dev.securities' doesn't exist

What I want to know, why SQLDatabaseChain creates query without checking database tables and fields.
What should I do to create correct query in js?
Same again, python langchain SQLDatabaseQuery generated correct db query with checking database tables and fields.


chaining multiple transform styles to an element do not all get applied to the element

I'm trying to apply multiple transform, i.e translate, rotate, skew, to a html element but only the last one is getting applied to the element,  also when I try to place the styles in css files, only the one in d3 is getting applied to the element.

Please use Stack Overflow tag d3.js to ask for help. Stack Overflow provides a better collaborative forum: thousands of D3-related questions have been asked there, and some answers may be relevant to you.
When asking for help, please include a link to demonstrate the issue, preferably as an Observable notebook. It is often impossible to debug from code snippets alone. Isolate the issue and reduce your code as much as possible before asking for help. The less code you post, the easier it is for someone to debug, and the more likely you are to get a helpful response.
If you have a question about D3’s behavior and want to discuss it with other users, also consider the d3-js Google Group or joining the d3-js Slack.
Thank you! 🤗


Update README.rst

Fixes # .
Changes proposed in this pull request:

Coverage remained the same at 100.0% when pulling 62b602e97b4db4a38a7d153a1eb19716d0f233b1 on vgupta001:master into 10a0c15f6fb3208ae4de9b59b1ff82058af55b6c on zalando:master.

Looks like :hankey:


StringCollection field not supported by add_documents (through metadata) for vectorstore Azure AI search

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.
[X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code
chunk_metadata = {'id': '', 'source': '', 'title': '', 'chunk': 1, 'offset': 2475, 'page_number': 1, 'source_user_email': '', 'source_system': '', 'source_country': ', 'product_series_name': '', 'document_language': 'English', 'document_confidentiality': '', 'test_languages': ['Spanish', 'English', 'French']}
key_chunk= "***"
vector_store.add_documents(
documents=chunks_to_add, keys=keys_to_add
)
Error Message and Stack Trace (if applicable)
No error message displayed
Description
I have a document which I have split into different chunks.
The chunk metadata is the langchain_chunk.metadata
The chunks_to_add are the list of this chunk and the keys_to_add are the respective keys.
I try to add the documents to the vector store which is an Azure AI serch service.
In this azure AI search index in which I am loading the documents I have two different fields:
document_language is a field type STRING while test_languages is a field type STRINGCOLLECTION.
Once the code has run and the document has been added in the azure ai search index,
I obtain in the metadata field:
"metadata": "{"id": "", "source": "", "title": "/", "chunk": 1, "offset": 2475, "page_number": 1, "source_user_email": *", "source_system": "", "source_country": "", "product_series_name": "", "document_language": "English", "document_confidentiality": "*", "test_languages": ["Spanish", "English", "French"]}",
so the chunk_metadata dictionary has been correctly read and applied to the metadata field as a string,
but if I look at the two singular fields: document_language and test_languages what I see is the following:
"document_language": "English"
"test_languages": []
What I imagined would happen is that test_languages would have been the list that I have in metadata so ["Spanish", "English", "French"]
Why is this not happening? Is it a bug or the collection types fields are not supported by add_texts
I tried to find some information on this in the docs:
https://python.langchain.com/v0.1/docs/integrations/vectorstores/azuresearch/
but I could not find any information
System Info
langchain==0.1.10
langchain-community==0.0.25
langchain_openai==0.0.8
azure-search-documents==11.4.0

I fixed it, the error was due to the list being converted to string automatically in my code I have added a step to solve this:
the code is the following ast.literal_eval(value) where value was a string of a list "['a', 'b']" to ['a', 'b'].
You can close this issue


Script error in IE8 using autocomplete standalone

defaultView.getComputedStyle is null or not an object

Ah that's weird because the integration tests seem to pass on IE8 (https://travis-ci.org/algolia/autocomplete.js/builds/109245179)
I'll need to boot a virtual machine to debug.

getComputedStyle is not in IE8 @redox it seems. http://cdn.polyfill.io/v2/docs/features/#getComputedStyle has it so we might want to delegate IE8 support to those polyfills.

@kylegibson can you just confirm the autocomplete.js version you're using?

I'm using 0.16.1

I'm using 0.16.1

Alright. So 2 solutions:

we need to include the polyfill to ensure the Zepto.js dependency is compliant with IE8. Or we need go for the 2nd solution and explicitly say that the standalone library is not usable with IE < 10.

use jQuery 1.X + autocomplete.jquery.min.js instead of the standalone autocomplete.js

I believe we should right away say that if you need IE < 10 support you need to include the polyfill.io thing. It works very well, already used in the magento extension.
If you need to support olds IES, you need this in the <head>:
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<!--[if lte IE 9]>
  <script src="https://cdn.polyfill.io/v2/polyfill.min.js"></script>
<![endif]-->

Thanks for the help guys.
@vvo I followed your instructions and the same error is still happening

Can you send a link to the website? Or setup a small github repo with reproducible instructions?
It would help a lot

I wanted to use jsfiddle, however it apparently does not work in IE8 anymore.
https://bit.ly/1SXNr5B
Thanks!

Hello,
Was the example I provided above sufficient?
Thanks!

Hi @kylegibson sorry for late reply, this example is not working for me. Can you setup maybe a very simple webpage in a gist and then I will try it?
I am sorry to say we are going to stop supporting IE8 officially very soon because it's dying and generates some good support.
Still happy to provide help if you can setup a simple gist: http://gist.github.com/

Hi @vvo,
Is this what you mean? https://gist.github.com/kylegibson/8de8932e2dd139a07a85

@kylegibson Yes but can you copy paste a complete webpage that I can then just run and see what's not working on IE8? THanks

That is a complete webpage sufficient to generate a script error in IE8. Granted, it's a different script error, but it means that even if the original script error is fixed, just including the JS is problematic:

For comparison, here's IE9

Ok thanks, I will have a look

Ok I just checked, can you try with inserting this line instead:
    <script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=default,getComputedStyle"></script>

getComputedStyle is not by default in polyfill.io that's why, thanks

I tried enabling getComputedStyle via polyfill as you suggested. That corrected the initial JS error, however I was still getting the original JS error. I was able to fix it using the following javascript:
if (typeof window.document.defaultView === 'undefined') {
    window.document.defaultView = window.document.parentWindow;
}


Rename archive_root and archive_ref_root to serialize_value_root and serialize_unsized_value_root

These are holdovers from the terminology change between 0.3 and 0.4. Cleaning these up will clarify the relationship between SeekSerializer and Serializer.

Fixed by 78653595a2e56dd86c95af8f65ea2bbfe6cc5098


Table widget UI tweaks

Tweaks to the TableWidget to improve its usability:

allow to specify a fixed pixel height prop, necessary to make the table content scrollable in case of overflow
make the header "sticky", so it doesn't scroll with the content
use the size="small" variant, which reduces cell padding for a denser layout

Hi Benjamin, please let's discuss changes in the interface/properties, specially in the widget, before implementing them. It is also important to be sure we are prioritizing the right work.
For instance, in this case we already have a height property in the PieWidget with a different data type, and we should provide a consistent interface among widgets .

Hi @borja-munoz,
Thanks for the mention of the type of height. I changed it so it's a string like the other widgets exposing this prop.
In terms of priority, this change is required to make the content scrollable for the integration in builder, so it's not a new feature :)
Same for the denser layout, I realized the most recent designs use this style.


Make it faster for big forms

This try-catch impacts hugely on performance for big forms. After profiling and removal, my input updates become faster about 3 times. But performance is still not very good due to full form re-rendering

Hey thanks for pointing this out. I will verify that it all works in the AM and pull.

Thanks!

This update broke my form.

Please explain, what happened? Some code?

Sometimes current is null, which results in
Uncaught TypeError: Cannot read property '0' of null```

This happened to me also: 2.14.1 works but 2.14.2 throws intermittent "Cannot read property of null" errors.

@LyhjeHylje @tiffwu yeah, im really sorry, I led you to this. let we wait a bit for this to be fixed with @tiffwu PR.


Add wrapper for internal use of interpolation functions

We should then resume discussion in #424 and if we want to have v_ode and u_ode in custom_quantities.
Also, it might make sense to have dv_ode with get_du in custom_quantities

Conflict with #462

Ah didn't notice. But why should we create a named tuple which is then unpacked again in the method?

Yes I wanted to mention that this conflicts. I also thought about this but I wanted to keep the changes minimal in #462.


rpi-eeprom_git: Update recipe to latest rpi-eeprom repo

I needed newer versions of the firmware so I updated this recipe and I was wondering if it's something we can update here as well? Wasn't sure if I should make a PR or Issue, so here we go:
- What I did
I upped the commit version to the latest release of https://github.com/raspberrypi/rpi-eeprom
This will allow updating the pi4 to the latest version eeprom. It does not support the pi5 (but it could with some more editing).
- How I did it
I had to change the directories that are installed as they changed upstream. I matched the compatibility that upstream provides.
Also removed the patch as it's already changed.

Ok I'll make those changes. And yes as far as I can tell the patch was included upstream, I have tested this change on my Mickledore branch so that's why I was merging it here, but I will change that.
Just so we have the record in this PR, here is the upstream change that does the same thing as the patch https://github.com/raspberrypi/rpi-eeprom/blob/5ec5c003bacc73847aadad712aa1fbdace8f1c4e/rpi-eeprom-update#L122
and here is the actual patch commit https://github.com/raspberrypi/rpi-eeprom/commit/55ca589ab9e6e719c1e1f9fc72997d1643d28fe3


UPM not correctly calculated in vertical-metrics.py

As per https://github.com/rosettatype/Eczar/issues/9#issuecomment-71918155 there's a bug in the UPM calculation of the vertical-metrics fixer

this https://github.com/googlefonts/fontbakery/commit/3a72aa8ea343ecb2751a13d825fa9878ce5b796c should close this issue
but i'm not sure that it is correct. in which case upm can be changed? i think we should have another fixer for upm. what do you think?

A Upm fixer would likely need to scale all glyphs and GPOS positions...
It's a big job. Better to do that fixing by hand.
On Jan 29, 2015 6:23 AM, "Vitaly Volkov"<EMAIL_ADDRESS>wrote:

this 3a72aa8
https://github.com/googlefonts/fontbakery/commit/3a72aa8ea343ecb2751a13d825fa9878ce5b796c
should close this issue
but i'm not sure that it is correct. in which case upm can be changed? i
think we should have another fixer for upm. what do you think?
—
Reply to this email directly or view it on GitHub
https://github.com/googlefonts/fontbakery/issues/504#issuecomment-72009164
.

Yikes, this is a real problem.
When I processed Tillana and Poppins, the Tillana Bold and ExtraBold's hhea.unitsPerEm got changed from 1000 to 1158, and Poppins Bold's got changed from 1000 to 1115.
I fixed these with TTX by hand - https://code.google.com/p/googlefontdirectory/source/detail?r=069ffdd1685896d9a9ef2a8566039f6cef60e626 https://code.google.com/p/googlefontdirectory/source/detail?r=fbdb5f71d0113ad37f12d3708f1ccb0383961b47 - but this should not happen.
The UPM value should never be changed.

Thanks!!


Peer-to-peer code review exercise (Week 3, Module 2)

Hi @Daphineatim
Great job on your code 😎

The functions all work as required 👌👍
All linters are passing👌👍
Very professional README 👌👍
Your code is very neat and easy to read 👌👍
Coding best practises used 👌👍

Keep up the great work 🎆

Thank you so much for the feedback! 👏


[ci testing only]

This change is

test-me-please

Coverage decreased (-0.002%) to 45.621% when pulling 3603711ed40df0d5aa49790ca7f9d76e16169be2 on pr/xdp-generalization-prep-test1 into 0d7d76c3f7e27f46a4978b6e571d0e93adcb6ae3 on master.


Can this method be applied to equations containing elements with a mixture of time and space derivatives?

Hello,
Thanks a lot for this great work that you published transparently.
I have a question that  can this method be applied to equations containing elements with a mixture of time and space derivatives? such like Ut+Utt+Uxxt+Uyyt=0.
And in the code, ' output = torch.cat((output[:, :, :, -1:], output, output[:, :, :, 0:2]), dim=3) ', why are the first（output[:, :, :, -2:]） and last（output[:, :, :, 0:3]） elements not symmetrical? ( why not-2: and 0:2 )
Thank you very much for your answer, looking forward to your reply！

Hello,
Thanks a lot for this great work that you published transparently.
I have a question that can this method be applied to equations containing elements with a mixture of time and space derivatives? such like Ut+Utt+Uxxt+Uyyt=0.
And in the code, ' output = torch.cat((output[:, :, :, -1:], output, output[:, :, :, 0:2]), dim=3) ', why are the first（output[:, :, :, -2:]） and last（output[:, :, :, 0:3]） elements not symmetrical? ( why not-2: and 0:2 )
Thank you very much for your answer, looking forward to your reply！

Hello, thanks for your interest. I think that should be fine for a mixture of time and space derivatives. Our method is applicable to the general setup of finite difference-based schemes. For example, you can do U_xx first and then compute U_xxt based on U_xx.
For the padding dimension issues, that is because the spatial dimension of the solution is 129x129, I guess.

Hello,
Thanks a lot for this great work that you published transparently.
I have a question that can this method be applied to equations containing elements with a mixture of time and space derivatives? such like Ut+Utt+Uxxt+Uyyt=0.
And in the code, ' output = torch.cat((output[:, :, :, -1:], output, output[:, :, :, 0:2]), dim=3) ', why are the first（output[:, :, :, -2:]） and last（output[:, :, :, 0:3]） elements not symmetrical? ( why not-2: and 0:2 )
Thank you very much for your answer, looking forward to your reply！

Hello, thanks for your interest. I think that should be fine for a mixture of time and space derivatives. Our method is applicable to the general setup of finite difference-based schemes. For example, you can do U_xx first and then compute U_xxt based on U_xx.
For the padding dimension issues, that is because the spatial dimension of the solution is 129x129, I guess.

Thank you very much for your answer, I will try it again!


Faker::Avatar not taking arguements

I'm trying to use this:
Faker::Avatar.image("robot","50x50")
But keep getting this error:
ArgumentError: wrong number of arguments (2 for 0..1)
/var/lib/gems/2.2.0/gems/faker-1.4.2/lib/faker/avatar.rb:4:in `image'

You have an older version of the gemm.
Please upgrade to a more recent version of faker. To install the latest version (1.5.0) you can do
gem install faker -v 1.5.0

thanks


About teacher force

Hello, nvidia tacotron2 uses teacher-forceing, I was wondering where it is in your code? Can you help me?

Please check this line in the code for teacher forcing.


Fix Windows bug

(optional) Issue number:
See https://github.com/UniSharp/laravel-filemanager/issues/1070
Summary of the change:
Properly handle arrays.

@mafftor Hi, when will you be able to release a new version with these changes?

@igorgaming I've just published the fresh release, including support Laravel 10 and your change as well!
Thanks for your contribution!


Suggestion: Cache gradle dependencies to save developer build time and network transfer

These changes attempt to reduce the time for repeated builds by avoiding the re-downloading of dependencies.
To do this, the minimum number of files are copied to the docker working image as needed for gradle to identify and resolve dependencies.
Next, gradle is executed with --refresh-dependencies to trigger resolving and downloading of all dependencies to the gradle cache which will be stored as a docker image layer.
On subsequent builds, assuming no changes to that minimal set of files, docker will re-use the cached image layer with dependencies already downloaded.

hi, I did not see this PR,
Thanks. I will look into it and merge it.


[FEATURE] Add placeholder support to get information of a player by name

What is the feature request for?
Placeholders like %betterTeams_name% are great to get relevant information about the team you are part of. In addition to this, I think it would be great to have the chance to get that information for any player, in order to be able to build some custom UI's like a tooltip when you mouseover another player in the chat.
For instance, adding the player as a possible parameter for the placeholders %betterTeams_name_<player>% could work well for this type of scenarios.
Relevant links
No response
Additional Information
No response

This feature has been implemented and will be included in the next update. Thank you for the suggestion.


Instructions on how to run the code in the example folder

After googling around, there doesn't seem to be a clear way to run the examples in this repository. I would like to make sure that SEAL is installed properly on my machine.

I think I figured it out. I need to run make . -DSEAL_BUILD_EXAMPLES=ON (not just make .) and then run make again within native/examples


kubernetes-entrypoint: Short-cut echo/true without exec

echo or true without further arguments are often used to silence the warning about an empty COMMAND environment variable. Either command can pull in various dependency in the OS as exemplified by f3ccc07e866eba463a5a6e6f3c9441fba68bdc78
By avoiding the call one use docker images without coreutils (and dependencies) without having to change the calling site.
Change-Id: Ibbb620129048f95f9cfdad9e4ba381c89d31da26

Closed in favor of review.opendev.org PR.


Explore filtering results before sending to a KP

We've added filtering of blocklist and promiscuous nodes.


Update feature_grouping_for_analysis.csv

add information for binarised multi state features

For analysis, we often use the binarised features, and those are the valid names for those. I can think of another workflow if you don't lke it.

Thanks.


Enable searching via transaction hashes

In addition to block ranges, it would be nice to be able to pull data based on a list of transaction hashes

this is on the roadmap

is it in active development? if not would be happy to jump on that

here's the current design spec. even though it's a simple feature the implementation might be somewhat involved
transactions are specified using the --txs <ARGS> parameter
<ARGS> can be one of:

space-separated list of transaction hashes
path to parquet file + colon + column name of transactions (e.g. /path/to/file.parquet:transaction_hash). can use transaction_hash as default column name

the effect of --txs will be different for different datatypes:

for collecting transactions, --txs will directly specify which transactions should be collected
for collecting other datatypes (e.g. datatype "X"), --txs will specify collecting all items of type X that are associated with the given transactions
rpc calls used for collecting each datatype via--txs:

transactions: eth_getTransactionByHash
blocks: eth_getTransactionByHash --> eth_getBlockByNumber
logs: eth_getTransactionReceipt.logs
traces: trace_transaction
state_diffs + vm_traces: trace_replayTransaction

I think the steps for MVP would look something like this:

implement cryo_freeze::Transactions::collect_transaction_chunk() (stubs for this function already exist in each Dataset implementation). this should mirror the collect_block_chunk() implementation with a rpc fetcher function and a dataframe converter function
implement --txs in cryo_cli::Args.txs and cryo_cli::parse_source. the cryo_freeze::freeze function is already able to call collect_transaction_chunk() when Source contains TransactionChunks instead of BlockChunks

then once that's working can move on to
3. implement collect_transaction_chunk() for all of the other cryo_freeze::Dataset implementations
for now:

--txs and --blocks should be mutually exclusive, only allow combining down the road if there is a clear use case
do not implement any form of chunking, always output result to single file. in future, could replicate whatever chunking pattern is present in the input. e.g. if given --txs ethereum__events__*.parquet:transaction_hash, then produce an output file for each matched input file

before embarking on implementation want to make sure design is rock solid because rust refactors are labor intensive and want to minimize breaking changes to the cli. I think it would be good to try mapping edge cages and obvious future extensions. namely

what are the scenarios where someone might want to use --txs?
what are weird/pathological edge cases pop up when --txs is combined with each other cryo parameters?

based on all of that

does this functionality cover the use case you had in mind?
do you see any issues with this design spec?

Main use case I had in mind is for this workflow:

Start by block log scanning to get a list of txs I'm interested in investigating further
Referencing the tx hashes from step 1, get traces

Also for this flow:

Start by block scanning for logs
Get subset of txs which also emitted another log

Currently to do this I have to scan all blocks for log type 1, then again for log type 2, then merge the datasets
Spec looks good! Will review carefully before starting dev

nice.

I think this would cover your use case right?

yup exactly, nice

Added by @sslivkoff in https://github.com/paradigmxyz/cryo/commit/e734f0622105b4bebd21aaebe78bdb7a772aa3d2


Compatibility issue

Hi, I am using finchley.release version of sprin.cloud.consul with consul agent 1.2.3 and spring boot version 2.0.4. Here I am getting unknownHostException "localhost" for some random property which is not related to the consul at all, at the time of bean creation. While if I start the application with consul agent off then bean gets created successfully.
Am I using the wrong dependencies? Any help /pointers appreciated

I don't know what dependencies you are using? Finchley and boot 2.0.x are no longer supported. Can you post the exception?

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.


Training knowledge graph with one GPU

I’m using one virtual machine with 6 CPU / 1 GPU (11GB) with 56 GB RAM . Concerning the training the dataset Wikidata5m, I tried to train the same model using the same dataset with num_partitions = auto , eipisode_size = auto , gpu_memory_limit = auto , cpu_per_gpu = auto and I able to start training only with dimensions 128 and still training after 24 hours , its expected, given the benchmark with 24 CPU 4 GPU  ?

Could you please provide more details? Like hyperparameters output

This is my complete python code trainning :
import graphvite as gv
import graphvite.application as gap
app1 = gap.KnowledgeGraphApplication(dim=128,gpu_memory_limit=gv.auto,cpu_per_gpu=gv.auto)
app1.load(file_name=gv.dataset.wikidata5m.train)
app1.build(optimizer=gv.auto,num_partition=6,episode_size=gv.auto)
app1.train(model='RotatE',margin=9)
app1.save_model("rotate_wikidata5m.pkl")
I tried several option of hyperparameter and with embedded dimition 512 I'm not able even to start  the trainning because of memory allocation even if I put several partitions its too long or not possible to load the and execute the trainning

I tried as well the config file in  :
https://graphvite.io/docs/latest/_downloads/d86d91f69cdc0bdcdd521a92b6294306/rotate_wikidata5m.yaml

For 1 GPU, the best setting for acceleration is to use num_partition=1 and episode size=auto.
For embedding performance, I guess you can follow most hyperparameters in the config file above, except changing dim to 128 and changing adversarial temperature to some mild value like 2.


Improvements in run/debugging

 Issue by dilinisg
Saturday Nov 04, 2017 at 13:30 GMT
Originally opened as https://github.com/ballerina-lang/composer/issues/4451

Need to click exactly on the expand icon (triangle) to expand the view
The "Toggle Console" and "Launch config dialog" is not much visible to the user
Does not directly give the idea that arguments can be configured from the "Show Launch config dialog" because of the tool tip given

Composer is discontinued hence closing the issue.


Sample without replacement in RandomPositionSampler

Reference Issues/PRs
Recreate class implementation. Previous implementation always samples with replacement. This new implementation samples without replacement, unless the user’s sample_size exceeds the partition they seek to sample from in each mode, in which case, we are constrained to have some duplicates.
This PR is a work in progress. Investigating why some sample items are not being retrieved properly. TODO: add check to make sure elements that cannot be retrieved are not added to the sample set.
What does this implement/fix? Explain your changes.
This implementation has a time constraint up front, where the samples for each mode are predetermined based on the user specified sample size for each mode. This is done by shuffling (either individual chromosomes, or the entire genome) and then taking the first N for each mode.
Subsequently, sampling is quick, in that samples items are simply popped off a stack-like data structure. While there is a space constraint in holding the positions, this constraint dwindles as samples are taken, since the items are removed as they are chosen.
The long term space constraint will be fully determined by the user specification of sample size for each mode. This can be made clear up front, to ensure the user is able to accommodate this constraint.
As an additional note, the previous implementation of “sampling by proportion” has been updated. Previously, proportions were separated by chromosome. Instead, this implementation partitions proportions of the entire genome, so that each mode can have samples from overlapping chromosome. However, to reduce time, only a psuedoshuffle is performed on 500mil base pair chunks (may have to make this a function of the whole genome size). This psuedoshuffle is still being designed.
What testing did you do to verify the changes in this PR?

Timing tests were performed. We found that shuffling blew up with increases size (for example: from around 30-60 seconds for a 500 million base pair chunk to over two minutes for a 750 million chunk).
Shuffling the six 500 million chunks of a 3 billion base pair genome took around 6 minutes.
The original implementation was added separated to perform side by side testing.
Checked that data structures (parallel, chroms_info) were constructed as expected

Closing for now, maybe re-opening / using this code in the future :)


Add mps backend for Pytorch in HF models

Add support for mps backend to optimize inference on Apple Silicon

Please follow these guidelines when writing commit messages, and also remember that PR names are used to fill release notes automatically. I made the changes myself for this time.
LGTM otherwise, merging.


Make 2 block - lower and middle - outer SOL multib regression test. A…

…lso fix one error in the physical field BCs for the full step multib test.

The files names should be changed to have gk in it

This seems to be superseded, and we can reopen this when GK is ready to be merged in.


Overriden draw() throws exception when adding children to extended Container

I am having trouble with extending the Container class functionality and overriding the draw method.
I wrote two classes:

Entity - inherits from Container
Tank - inherits from Entity

/**
 * Entity
 * @type {Container}
 */
function Entity(x,y){
    this.Container_constructor();
    this.x = Math.round(x);
    this.y = Math.round(y);
    this.rotation = 0;
}
createjs.extend(Entity, createjs.Container);
createjs.promote(Entity, "Container");

/**
 * Tank
 * @type {Entity}
 */
Tank.prototype = new Entity();
Tank.prototype.constructor = Tank;
Tank.prototype._super_ = Entity.prototype;
function Tank(x,y){
    this._super_.constructor.apply(this, arguments);
    this.bodyWidth = 40;
    this.bodyHeight = 65;
    this.regX = Math.round(this.bodyWidth/2);
    this.regY = Math.round(this.bodyHeight/2);
    this.tankBody = new createjs.Shape();
    this.tankBody.graphics.beginFill('#ecf0f1').drawRect(0,0,this.bodyWidth,this.bodyHeight);
    this.addChild(this.tankBody);
}

Ok that works. But if you follow the docs and do something like this between the extend and promote calls:
Entity.prototype.draw = function(){     this.Container_draw(); }
Then adding children and trying to update the stage will throw:
Cannot read property save of undefined.
Maybe I did something wrong but I am not quite sure what. Fortunately - I don't need this functionality atm so I'm just letting you guys know.

The draw method of Container takes 2 parameters, one of which is the canvas context. When the context is modified, the save and restore methods are invoked. Your example does not handle or pass those parameters properly, resulting in the error you described.
Here is the draw method signature:
p.draw = function(ctx, ignoreCache) {}

Your method should read:
Entity.prototype.draw = function(ctx, ignoreCache){ this.Container_draw(ctx, ignoreCache); }

Cheers.

Thanks for the fast response. The draw method implementation I provided was from the inheritance tutorial. I knew something was wrong with it but since I had no use for an overriden version I didn't look for the cause. I just wanted to let you guys know that maybe you should consider changing the tutorial as it might confuse others as well.

I pushed up a change to GitHub. We will update the site at a later date. Thanks!

No problem. Cheers.