Test person predicates

Codecov Report
Base: 45.28% // Head: 46.89% // Increases project coverage by +1.60% :tada:

Coverage data is based on head (e24b5dc) compared to base (cc0ff6e).
Patch coverage: 80.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #172      +/-   ##
============================================
+ Coverage     45.28%   46.89%   +1.60%
- Complexity      607      635      +28
============================================
  Files           152      152
  Lines          3233     3233
  Branches        439      439
============================================
+ Hits           1464     1516      +52
+ Misses         1593     1556      -37
+ Partials        176      161      -15

Impacted Files
Coverage Δ

...erson/predicate/AddressContainsInputPredicate.java
81.81% <75.00%> (ø)

...person/predicate/PhoneContainsNumberPredicate.java
81.81% <75.00%> (ø)

.../longtimenosee/logic/parser/FindCommandParser.java
98.71% <100.00%> (ø)

...c/main/java/longtimenosee/model/person/Income.java
85.71% <0.00%> (+10.20%)
:arrow_up:

...n/predicate/RiskAppetiteMatchesInputPredicate.java
84.61% <0.00%> (+15.38%)
:arrow_up:

...l/person/predicate/EmailMatchesInputPredicate.java
75.00% <0.00%> (+41.66%)
:arrow_up:

...erson/predicate/BirthdayMatchesInputPredicate.java
78.57% <0.00%> (+50.00%)
:arrow_up:

.../person/predicate/IncomeMatchesInputPredicate.java
84.61% <0.00%> (+53.84%)
:arrow_up:

... and 1 more

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

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


The environment requires Pytorch with CUDA

Hey,
I have installed Pytorch without CUDA (since I don't have a NVIDIA gpu) and it raises an error that requires mending your code.
AttributeError: module 'torch._C' has no attribute '_cuda_setDevice'
It might be worth mentioning in the Readme file.
It fails at:
MeshCNN/options/base_options.py", line 54, in parse     torch.cuda.set_device(self.opt.gpu_ids[0])
I have tried changing it locally to work but it seems like it leads to more errors relating that.
The issue is, since I can't use CUDA, which pytorch version should I install? (As I installed "CUDAless" version).
Thanks!

Use the flag --gpu_ids -1
It is defined in this line in base_options.py


Age-restricted videos not deciphering in StreamURLFetcher

Will fix this as soon as I can

Re-ran the test and seems fine. Strange, that there were 2 tests failing in row. Yet, it works now.
I will leave this issue open for a little bit of time, so that anybody who might occour on this error can respond.

Seems like everything is okay. Closing.


[Bug]: Problem with resource delete button on edit page

What happened?
Hi, if I install/enable the plugin, the delete button a standard Filament resource page takes 2 clicks to work:

The first click does something - the main edit form shifts up slightly, but that's it. No confirmation box (if the DeleteAction includes it), and it doesn't delete.
The second click then does the normal delete action including confirmation etc.

How to reproduce the bug

Install the package
Enable it for a panel.

Package Version
0.0.5
PHP Version
8.2.14
Laravel Version
10.48.16
Which operating systems does with happen with?
Linux
Notes
Source code for the resource:

<?php

namespace Notifium\FilamentMarketingreminder\Filament\Resources;

use App\Scopes\TenantDataScope;
use Filament\Forms\Components\TextInput;
use Filament\Tables\Columns\CheckboxColumn;
use Filament\Tables\Columns\TextColumn;
use Notifium\FilamentMarketingreminder\Filament\Resources\ScheduleResource\Pages;
use Notifium\FilamentMarketingreminder\Filament\Resources\ScheduleResource\RelationManagers;
use Notifium\FilamentMarketingreminder\Models\Schedule;
use Filament\Forms;
use Filament\Forms\Form;
use Filament\Resources\Resource;
use Filament\Tables;
use Filament\Tables\Table;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\SoftDeletingScope;

class ScheduleResource extends Resource
{
    protected static ?string $model = Schedule::class;

    protected static ?string $navigationIcon = 'heroicon-o-calendar-days';

    protected static ?string $navigationGroup = 'Reminders Admin';
    protected static ?int $navigationSort = 2;

    public static function shouldRegisterNavigation() : bool
    {
        return auth()->user()->isSuperAdmin();
    }

    public static function form(Form $form) : Form
    {
        return $form
            ->schema([
                TextInput::make('name'),
                TextInput::make('key'),
                Forms\Components\Checkbox::make('onetime')->label("Non-Recurring"),
                Forms\Components\Checkbox::make('onlaunch')->label("Add on Project Creation"),
            ]);
    }

    public static function table(Table $table) : Table
    {
        return $table
            ->columns([
                TextColumn::make('name'),
                TextColumn::make('key'),
                CheckboxColumn::make('onetime')->label("One Time Only"),
                CheckboxColumn::make('onlaunch')->label("Project Creation")
            ])
            ->defaultSort('name')
            ->filters([
                //
            ])
            ->actions([
                Tables\Actions\EditAction::make(),
            ])
            ->bulkActions([
                Tables\Actions\BulkActionGroup::make([
                    Tables\Actions\DeleteBulkAction::make(),
                ]),
            ]);
    }

    public static function getRelations() : array
    {
        return [
            //
        ];
    }

    public static function getPages() : array
    {
        return [
            'index'  => Pages\ListSchedules::route('/'),
            'create' => Pages\CreateSchedule::route('/create'),
            'edit'   => Pages\EditSchedule::route('/{record}/edit'),
        ];
    }

    public static function getEloquentQuery() : Builder
    {
        return parent::getEloquentQuery();
    }
}

Thanks for reporting, I'll be looking into it!

I can't seem to replicate this problem in the "Filament demo" project. Could you please share your EditSchedule.php? Also, what is the configuration of the active banner?

Hi, I'll try to replicate in a clean repo, but I'm on vacation at the moment so it'll be next week before I can
Andy.

Hi Andy,
No problem, take your time. Enjoy  your vacation!

Hi @Jehizkia
I think I found the issue:

Create a filament resource as normal.
Create a banner: Location = start of page, Banner Can Be Closed By The User = checked
Go to the resource page and dismiss the banner
Edit a resource, and click Delete
Nothing happens.
Click Delete again
The normal filament delete confirmation appears.

I've tested on a clean laravel project, and got the same problem.
Hope that helps,
Andy

Hi @ap1969 ,
Thank you very much. I'll be looking into it furthermore 🙏

Same happens also on the resource table when clicking delete button on rows->nothing happens->banner disappear->click delete again->normal filament delete confirmation appears.
Hope there is a fix,
Ste


Coordinating Effort around a community run organization

I was wondering what people thought about making an /rust-onnxruntime organization with some type of maintainers structure. There are several forks with a lot of work on them, and even some crates released with forks. It would be good to consolidate this effort in the same place.
I'm pinging people with long forks that have been recently updated.
@qwerty2501
@xaynetwork
@seddonm1
@EmbarkStudios

I would like to upstream my changes if possible as I have focused on implementing io_binding . My fork has changed quite a lot of log levels etc though.
I also had to expose an extra C API method to be able to copy data back from the GPU when io_binding which if we had more users would be easier to convince the onnxruntime team to include

That's a great idea! Sorry I cannot put work on this project, transferring its ownership to an org would certainly make sense.

I have made the rust-onnxruntime organization. https://github.com/rust-onnxruntime. I'm going to wait a little while on this to see if we get more responses.

Out of interest, have you reached out to the main https://github.com/microsoft/onnxruntime repository to see if they would consider hosting this code as well?

I use the ONNX Runtime bindings for Rust in my organization quite a lot (with ARM32 and ARM64 devices).
And I'd be happy to help!

I think that is good if it is hosted by microsoft. otherwise I don't feel very interested.
Since Onnxruntime is not in great demand,  Maintenance may not be continuous.
And I need onnxruntime's thin wrapper. But this repo is a slightly high level wrapper.
Therefore I guress too difficult to integrate the opinions of the wrapper's direction.

Great. Thanks for the update.
I would like to merge a lot of the GPU binding work as I am sure it is
useful for others 👍
On Fri, 8 July 2022, 11:22 am Boyd Johnson, @.***>
wrote:

Just giving an update here. Thanks all, for the replies. Looks like the
folks behind /microsoft/onnxruntime are interested in hosting the bindings.
I'm going to talk to them about logistics next week, and then hopefully
make the PR shortly after.
—
Reply to this email directly, view it on GitHub
https://github.com/nbigaouette/onnxruntime-rs/issues/112#issuecomment-1178432072,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA2O2UCFJWD7ID3JPNAOL33VS57F3ANCNFSM5ZSBZCLQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Just giving another update after I talked with the Microsoft folks. From talking to them, it might be a longer process. The initial PR will be made this month or next. A legal review may need to be made because of licensing issues. When I have my fork of onnxruntime more complete I may ask folks to take a look.
@regzon Those Arm32 and Arm64 bindings that you are using at you company, must be in another fork? If there is a company need we may be able to put them in when I make the PR to onnxruntime.

@boydjohnson Is Microsoft going to make onnxruntime-rs from scratch? Or make it as fork this repo?

@qwerty2501 Fork of this repo.

@regzon Those Arm32 and Arm64 bindings that you are using at you company, must be in another fork? If there is a company need we may be able to put them in when I make the PR to onnxruntime.

Bindings for the ARM64 arch are in the organization's fork. For the ARM32 - they're not tested well, so I didn't publish them.
Regarding the PR - I'll help however I can.

I don't mind transferring the repo to the rust-onnxruntime org but would that help the transition to microsoft? It might help for updating crates.io's version though?

@nbigaouette I think we have settled on microsoft/onnxruntime hosting the bindings and it just might be a slow process.
Just so everyone knows, Microsoft folks said they want to make their own crates.io listing and not use a previous one.

I have not found binding to ARM32, ARM64 to be a problem as I have been testing ARM + NVIDIA (Jetson Orin AGX) successfully with my branch. The biggest challenge is building onnxruntime itself for ARM+NVIDIA. Thanks to @nbigaouette for building the base as it would have been very difficult otherwise.

@boydjohnson Any updates on the move to microsoft/onnxruntime hosting?

@boydjohnson Any updates on the move to microsoft/onnxruntime hosting?

Any updates?

It looks like bindings just got merged into https://github.com/microsoft/onnxruntime/pull/12606

Yeah, we are now shooting for an April or June timeframe for releasing on crates. They want to make sure there are enough eyeballs on the bindings before the crates release.

Firstly, great work @boydjohnson .
I have spent a lot of time with the previous onnxruntime-rs bindings trying to get maximum performance out of them. I have found that while @nbigaouette did a great job, the deviation from the ORT C API made it harder to use.
I have stripped back the bindings and made them much more closely align with the C API. and exposed things like the CUDA/Tensorrt plus io_binding capabilities here: https://github.com/seddonm1/onnxruntime-rs
I have found these much easier to use (and potentially change out ndarray) but would value feedback from the community given the work @boydjohnson has done getting to this point in the official repo.
I have no attachment to my code and would gladly contribute it to the official bindings based on feedback from everyone here.

I've only seen this effort since today but happy it happened! Should the README.md of this repository be updated to notify readers of the migration to the Microsoft repository? I understand it won't replace this repository (yet), but helps to put more eyes on that implementation.

After looking through various evolutions of these bindings, I'd like to voice my support for @seddonm1 's approach. For the common case of repeated / frequent model inference runs, the simplified API is faster, and IMO also easier to use.
In fact, I've taken the liberty of merging @seddonm1 's code with some of the nice improvements from @boydjohnson et al. and further separated the ndarray dependency by providing an OrtNdArray container (holding the ndarray) that can generate an OrtValue for session.run() or for the io_binding.
I'd love to get others impressions, particularly with an eye toward inclusion in microsoft/onnxruntime: https://github.com/mcf06/onnxruntime

@boydjohnson What are your thoughts here given @mcf06 comments?

Thanks @boydjohnson
I know how much work you have put in to getting the bindings to this point so I don't want to discourage you. I hope we can all work together to make them a bit more aligned with the C API as I went through the process of understanding the decisions that went into the C API whilst making my modifications.
I think it would be best to hold off on the crates.io process until this refactor is done. We can do a WIP PR against the onnxruntime repo?
@mcf06 what level of time involvement do you have?

| I think it would be best to hold off on the crates.io process until this refactor is done.
+1
| what level of time involvement do you have?
I do have some time for this effort. We're also using rust bindings in some in-house code (for audio, on CPU at the moment), so I'm motivated to get a best-of-breed solution into ms/onnxruntime. Looking through the various forks and evolutions of the code, it's been really interesting to see clever little innovations all over the place.

@mcf06 I think your draft PR is a good idea.
I have had a quick skim of your bindings and am not convinced that ortndarray is required given that the value type has a try_from_array which implements the same code. I'm glad you also forked recently as I found a few leaks with valgrind. I would very much like to clean up the comments as I did not spend a huge amount of time on them.
If you can do the initial PR then everyone here who is interested can be involved in the review?

| If you can do the initial PR then everyone here who is interested can be involved in the review?
Will do. I'll also write up a brief summary of changes for people to dig into.

@mcf06 sorry for the delay. I will try to review your code next week. I think we may need to re-add the String array type back that I removed.

@seddonm1 @mcf06 Friendly Ping, I'm quite curious about the current status of pushing the onnxruntime-rs into microsoft/onnxruntime. I noticed microsoft/onnxruntime #15655. It looks like it has not been updated further and remains in draft state.

I think this is the current method: https://github.com/pykeio/ort


$data support with version 4 schemas

What version of Ajv are you using? Does the issue happen if you use the latest version?
Version 6.5.3
Your code
const Ajv = require('ajv');
const ajv = new Ajv({ $data: true, allErrors: true, schemaId: 'auto' });

ajv.addMetaSchema(require('ajv/lib/refs/json-schema-draft-04.json'));

const schema = {
  $schema:'http://json-schema.org/draft-04/schema#',
  properties: {
    min: {
      type: 'number',
      maximum: { $data: '1/max' }
    },
    max: {
      type: 'number',
      minimum: { $data: '1/min' }
    }
  }
}

const validate = ajv.compile(schema);
const data = { min: 10000, max: 1000 };

validate(data);

https://runkit.com/nizmox/5bc7fb1a77b25800146429c6
Validation result, data AFTER validation, error messages
Error: schema is invalid: data.properties['min'].maximum should be number, data.properties['max'].minimum should be number

What results did you expect?
Schema to compile correctly and validation fail since min > max. It seems like the $data property is incompatible with using older schemas? i.e. using v4. Is that correct? Unfortunately kind of stuck using v4 schemas as this is what json-schema-faker supports and we're heavily locked in with using that module.
The validation works as expected if i use the latest json schema spec (remove addMetaSchema and the $schema reference)
Are you going to resolve the issue?
At this point, I just want to know if the $data keyword is expected to work with older schemas.

Thanks so much for your help and quick response.
I got it to work after some messing around. To anyone who needs it this fixed it...
https://runkit.com/nizmox/5bd63c137ee3b70012ec1725
It'd be great if using $data automatically added it to any user provided schema 👍

Sadly it seems I can't use the $dataMetaSchema function in typescript. Seems like it doesn't have proper type definitions?
declare var ajv: {
  (options?: ajv.Options): ajv.Ajv;
  new (options?: ajv.Options): ajv.Ajv;
  ValidationError: ValidationError;
  MissingRefError: MissingRefError;
  $dataMetaSchema: object;
}

Cannot invoke an expression whose type lacks a call signature. Type '{}' has no compatible call signatures.


Fix undesired UX behavior of DataFrame output in IPython Notebook

From #10231

Could you please squash this to a single commit and add this to the release notes for 0.16.2? I think this would go in under "Other API changes": https://github.com/pydata/pandas/blob/master/doc/source/whatsnew/v0.16.2.txt
@jorisvandenbossche @jreback any thoughts on this issue? see also the associated issue #10231

@shoyer I've squashed it into a single commit. Btw, I think this is more appropriate added to release notes under "Other enhancements", isn't it?

@danieljl This is a (small) API change, so I would put it under that category. "Other enhancements" is really for fully backwards compatible changes, e.g., adding a new optional keyword argument.

Personally I don't think it is needed to put it under API changes, as it is not really something that will break people's code, or something for which people have to adjust there code, it is only a visual change. I would keep 'API changes' for things people have to pay attention to if they use that in their code.

I was only thinking: how does this behave in older versions of IPython? (eg somebody who is still using IPython 2?)

@jorisvandenbossche would you call this a bug fix? It's kind of a strange case -- we had a work around, which was resolved in a later version of IPython.
See the linked issue for screenshots.

Maybe we can detect the IPython version and dependable on that leave the max-width in or not?
@shoyer hmm, maybe also not a bug fix. I would keep it at an 'enhancement' of the visual output of a dataframe in the notebook. But does not really matter that much I think

I agree with @jorisvandenbossche I would detect ipython version and not make any change for ipython < 3.
Further, I think this needs a separate section in the what's new with a picture. UX changes needs to be announced loudly (even if its is a 'bug' fix).

@danieljl can you update with ipython version detection?

@jreback done. However, in IPython 2 horizontal scroll bar is still unscrollable unless the page is refreshed.

Put this code as a method in HTMLFormatter.
This needs to be changed a bit. Instead of simply having the div_style wrap the self.html(...) method in __repr_html__, here, I would pass a new parameter to to_html, call it notebook (pass notebook=True, with a default value of notebook=False), pass this thru to the HTMLFormatter class (which sets it as an instance variable).
Then just call this code in write_result.
This will put all of the code in the correct place, and make it obvious what is going on.

@jreback Should it be like this 821eaff?

@jreback Should it be like this 7e73bec?

@jreback Should it be like this 3e0c851?

pls squash this to a single commit

@shoyer @jorisvandenbossche @TomAugspurger @sinhrks
thoughts?

looks good.

lgtm.

Yep, looks pretty good to me.

Yes, here as well. I quickly tested it, and although I was used to having shorter outputs of dataframes in my notebook workflow (now it show about 30 rows, with this change the full 60 rows of a truncated dataframe repr will be visible, leading to a longer output), I think I will get used to the change.
The only disadvantage is that I find the "toggle output scrolling" feature of IPython (with this, you see around 9 rows) rather ugly (the way too heavy shadow).
And that I did find the 30 rows you see now a better height as the 60 rows (but that has to do with our default options for max_rows, so another discussion)

@jreback Squashed

@jorisvandenbossche agreed, it is a little ugly to have a drop shadow here. But this is still better than double scroll bars.

@danieljl that looks good. can you expand the whatsnew note a bit? approach this from the perspective of someone reading this, and since this is a UX change, we want to be obvious/clear what exactly this is.

@jreback Whatsnew updated :)

One comment: this adds a new notebook kwarg to DataFrame.to_html, which I don't think is really useful to be exposed to the user?
Isn't it possible to not add it? (eg leave the logic of that in __repr__ instead of in HTMLFormatter)

@jorisvandenbossche Yup, initially I implemented it in _repr_html_. But I refactored it as suggested by @jreback in https://github.com/pydata/pandas/pull/10232#issuecomment-110184910.

I guess we could make it _notebook e.g. a private argument. This totally belongs in the HTMLFormatter class (as for example you could then sub-class it and/or use it somewhere else that you are displaying to a notebook)

OK, agreed. Other option is to call HTMLFormatter (or DataFrameFormatter) directly from __repr__ instead of to_html, like
return fmt.DataFrameFormatter(self, max_rows=max_rows, max_cols=max_cols,
                              show_dimensions=show_dimensions,
                              notebook=True).to_html()

or if you think this is useful in to_html as well (and not only in HTMLFormatter), let's just document it in the docstring (and maybe use a more generic name like div?)

how about then we make this an argument to to_html instead then. (I still would use notebook as it conveys, hey, we want to output this to a particular medium, html, but needs a special wrapper because its in the notebook)

So should the code be refactored again?

@danieljl I think the latest what @jreback said was to keep it in to_html, but then it should get added to the docstring, that is all

If everything's okay, I will squash it again.

lgtm. go ahead and squash

Done

merged via https://github.com/pydata/pandas/commit/814dbe8e206e3867a5970aaf45f4b7029ad2f59d
thanks!


suggest on feature

can you add multiple options of quality to the mp3 sound format and can you add .wav support to this is turning out to be awsome

@Tyrrrz , when you are converting them to midi it dose do to you, have to convert it to mp3 first to convert it to midi

I'm not sure I understand how 128bit/s vs 320bit/s matters here

Ok. Thanks very much
On Thu, Jan 31, 2019, 6:08 PM Mystic4pheonix<EMAIL_ADDRESS>wrote:

@cdlixucd https://github.com/cdlixucd just download mono and use that
compiler to run it on mac for the libs used idk youtube how to convert it
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Tyrrrz/YoutubeDownloader/issues/8#issuecomment-459288428,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Akqp1QgNL9GIht1fuUWbE5cHbBtCzraxks5vIsC2gaJpZM4aZRDR
.


Remove specific version requirement for rake.

Remove specific version requirement for rake. It's causing a version conflict with some other gems that require 'current' rake.

Merging doesn't actually do anything unless you release a new version of the gem to rubygems.org :)

Ha! Forgot about that - thanks.
On Nov 2, 2011, at 5:14 PM, Ryan Angilly wrote:

Merging doesn't actually do anything unless you release a new version of the gem to rubygems.org :)
--
Reply to this email directly or view it on GitHub:
https://github.com/jasiek/80legs/pull/1#issuecomment-2605480


Source code is missing

Thanks for this awesome DB! But it'd be much easier to verify and improve if the source code for getting this data were here. Do you have any plans to add this to the repo?

I intentionally left out source code, because:

I used content generated from developer version of Minecraft
I also did a lot of reverse engineering to get a lot of those values automatically
Overall code is very messy
I had to manually create a tonne of very specific fixes

Due to those reasons, it's not something anyone could run as well as it might leak information I'm not allowed to share (debug and unreleased items had to be specifically filtered out).
Overall my intent was to first create the initial DB and then gradually with each version add new items and blocks manually or semi-manually, since that seems much easier than doing whole DB manually from scratch.

Makes sense, I'm closing this as not planned :)


Update PathTarget.java

Adding an extra check to prevent ArrayIndexOutOfBoundsException in case the unset element it is a hashmap but the key is not specify. Related to issue: https://github.com/mongodb/morphia/issues/1089

There should be tests to validate this.  See PathTargetTest.

See the issue linked. We definitely have errors updating (setting or unsetting) hashmaps, which we did not have in version 1.0.1.

The question isn't whether or not you're seeing the error.  I trust that you are.  It's that your patch doesn't contain any tests to show that it fixes the error.  That's what I'd like to see before mergine.

filed my own PR with the fix and tests


Bump version to v4.4.0

v5.0.0 bump will be done by the bot, but it is a good idea to also have a v4.4.0 binary.
Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Failing for external reasons (xref: https://github.com/conda-forge/status/issues/125).


Fix cooperative kernel launch

This PR fixs an issue when a kernel is launched by cuLaunchCooperativeKernel().
When launching a kernel with cuLaunchCooperativeKernel(), the kernel grid size must not exceed the limit determined by cuOcupancyMaxActiveBlocksPerMultiprocessor(). It looks the current implementation requires the user to select a grid size that meets this limit, but I don't think it's realistic to ask the user to do this, as this limit varies with kernel register usage, number of SMs of GPUs used, etc. Please see https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#grid-synchronization-cg for details.
This PR makes sure that the specified grid size does not exceed the limit before launching the kernel by cuLaunchCooperativeKernel(). If the limit is exceeded, it outputs a warning message and reduces the grid size to meet the limit when the grid shape is 1D, otherwise it raises an error.
The related tests have also been fixed.

Jenkins, test this please

Jenkins CI test (for commit 6d018e75cd3eb0c86f1ef586fc6f15d1393f2028, target branch master) failed with status FAILURE.

Jenkins, test this please

Jenkins CI test (for commit 6d018e75cd3eb0c86f1ef586fc6f15d1393f2028, target branch master) failed with status FAILURE.

@kmaehashi CI is being naughty: stderr: /home/jenkins-external-slave/workspace/chainer/cupy_pr/TEST/cupy-py3-cub/label/mn1-p100/.git: No space left on device

Jenkins, test this please

Jenkins CI test (for commit 6d018e75cd3eb0c86f1ef586fc6f15d1393f2028, target branch master) succeeded!

LGTM.


Change Logger

Is your feature request related to a problem? Please describe.
At the moment the logger for deployment is only activated if the spring profile is dev, kon or prod.
Describe the solution you'd like
Change the logger for deployments to be the default logger, without the need to add a spring profile.
Remove unnecessary loggers ("de.muenchen.allgemein is probably not needed anymore)

@devtobi @DanielOber did you already thought about that?
We definitely should use the same profiles for the backend and the gateway.
In my opinion there are two options:

json default and profile local for normal logging
normal logging and some profile like jsonlog for json logging
I would rather choose the second variant but haven't come up with a meaningful json profile name yet.

we have not discussed this yet. What was the reason for the json logging? Was is because of Kibana?

What was the reason for the json logging?

Yes then you can filter and display the separate attributes.

normal logging and some profile like jsonlog for json logging

would be my preferred solution. But maybe we wont need in the future because of the change from kibana to prometheus. For naming i would do something like JsonLogger or LogToJson

But maybe we wont need in the future because of the change from kibana to prometheus

I'm pretty sure that is not the case as you always need to parse the message and that's only really possible with json.

For naming i would do something like JsonLogger or LogToJson

json-logger? As far as i know kebab-case is best practice

After some discussion we renamed the profile to json-logging


Apply colors to VCD pointcloud

This change adds color to the point cloud VCD output.  The color is based on new vs fled for the ground pointcloud only.  This uses the maplotlib blues and reds colormaps, although it would be trivial to create different ones.
One colormap is applied to points classified as fled, the other colormap is applied to the points classified as new.

To be decided if we want to apply a different colormap, or if we want to apply the colormap to the "not ground" pointcloud.

Realized instead of hard-coding this colormap, I should probably make use of the colorscape property here
Furthermore, I should probably use this same color scheme on the geotiffs too if feasible.

Now VCD accepts a --colormap option that accepts a string that maps to a matplotlib colormap, you can find a list here:
https://matplotlib.org/stable/tutorials/colors/colormaps.html
Will leave raster colorization for a separate PR.


pubspec fails when adding o3d to project

Getting this error on a brand new project:
$ flutter pub add o3d
Because o3d depends on o3d, version solving failed.

flutter pub get
Resolving dependencies...
Error on line 34, column 3 of pubspec.yaml: A package may not list itself as a dependency.
   ╷
34 │   o3d: 3.0.0
   │   ^^^
   ╵
Process finished with exit code 65

Hi @ueft-kyriv, probably, your project name is o3d too. If your SDK version is lower than "3.1.3" then upgrade it or remove the o3d version and paste any instead of the version name.

Geez now i feel like a numbnuts... Quick delete this...


rascsi: Command line options -h and -v shouid work for the non-root user

It should be possible to run rascsi as non-root user when started with the -h or -v options. These options just display certain information and rascsi terminates without needing any root user permissions.

Reopened because the previous change caused issues because when creating a Disk the bus must already be initialized.


return_direct the content of the tool output

⚠ Please check that this feature request hasn't been suggested before.

[X] I searched previous Ideas in Discussions didn't find any similar feature requests.
[X] I searched previous Issues didn't find any similar feature requests.

🔖 Feature description
return_direct the content of the tool output and not let agent to rephrase it
📝 Additional Context
No response
Acknowledgements

[X] My issue title is concise and descriptive.
[X] I have searched the existing issues to make sure this feature has not been requested yet.
[X] I have provided enough information for the maintainers to understand and evaluate this request.

@simjak I'm adding this to the SDK and UI.

Thanks!

@simjak this is now deployed and live in the SDK if you update it.


Question about encoder.py

Code in line 87 on wards.
 def forward(self, top_vecs, mask):

        batch_size, n_sents = top_vecs.size(0), top_vecs.size(1)
        pos_emb = self.pos_emb.pe[:, :n_sents]
        x = top_vecs * mask[:, :, None].float()
        x = x + pos_emb

        for i in range(self.num_inter_layers):
            x = self.transformer_inter[i](i, x, x, 1 - mask)  # all_sents * max_tokens * dim

        x = self.layer_norm(x)
        sent_scores = self.sigmoid(self.wo(x))
        sent_scores = sent_scores.squeeze(-1) * mask.float()

        return sent_scores

Why do the objects of TransformerEncoderLayer (self.transformer_inter) accept the negation of masks? Or in this case 1-mask?  When I trace back the code, I find that the mask already represents the CLS itself.

I think I got it.
This is because this code modifies the MultiHeadedAttention.
        if mask is not None:
            mask = mask.unsqueeze(1).expand_as(scores)
            scores = scores.masked_fill(mask, -1e18)

Please CMIIW.


Fix Rails version check in api.rb

This fixes Issue #33
I modified the Rails version check so that it shouldn't break in the future. I guess there are better ways of doing this, but at least it's better than hardcoding version 3.1 to the source.

Appreciate the pull request, it forced me to take a look at this.  I did the version check a little differently, but I think it will work just the same.
Thanks for figuring this one out!


Added studenti.uniroma1.it

Added the domain to let the students of the Sapienza University of Rome subscribe for a JetBrains Product Pack for Students.

@salvatore373 I am sorry, the domain studenti.uniroma1.it is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


Release 1.2.2 is not published on npm

Hi there!
Thank you for releasing version 1.2.2, it will help us fix vulnerabilities in our app. However, this last version does not seem to be downloadable from npm.
Is there a way to fix it please?
Thanks

It appears that some change broke the tests, which is why the release failed: https://github.com/ory/integrations/actions/runs/11794553074/job/32852389864


Fix copy large files

This is an attempt to fix OutOfMemoryError (out of heap memory) when copying large files into a container via GenericContainer#withCopyFileToContainer().
The previous implementation relied on an in-memory array backing a ByteArrayInputStream which represents the tar archive sent to the Docker daemon which is limited by the available heap memory of the JVM at the moment of execution.
By using the local disk (temporary directory), we can copy files into the container which are larger than the available heap memory of the JVM. The caveat being that we are now limited by the available disk space in the temporary directory of the machine running Testcontainers.
Maybe it could be useful to perform this conditionally depending on the size of the transferables or configurable via runtime property.
What do you think?
Fixes #4203

Hi @joschi, thanks for the PR. What I had in mind for the issue is checking if copy file is supported to do an async operation and then implement it in docker-java and use it in Testcontainers.

Thanks for your contribution, @joschi ! PR has been updated to stream the files instead of use local disk.

Fixing #7239 is amazing. Thank you so much!
Is there any thought or plan at this stage as to when we might get a release with the fix?
Thanks to all involved!


[refactor] Crowi installer migrate to React component

In the dev/v1.8 development, jQuery systems migrate to React.
It seems that crowi-installer has not become React yet. May I help with this?

Yes, please!

Awesome. Here you go!


 Is there a Swift 4.2 branch ready yet?

It looks like Pull Request #33 fixes this issue.


Drop retainAfterCompletion for non populator flows

Removed the retainAfterCompletion annotation from DataVolumes for populator flows. When using CDI, use the previous condition.

Removed the retainAfterCompletion annotation from DataVolumes for populator flows. When using CDI, use the previous condition.

but we currently don't create data volumes with volume populators, no?

Removed the retainAfterCompletion annotation from DataVolumes for populator flows. When using CDI, use the previous condition.

but we currently don't create data volumes with volume populators, no?

yeah, so maybe we just need to drop the warm condition and set the default value of this config to false..


Allow overriding links if server responds with link and allow HTTP headers

Summary
This PR contains two additions:

Allows user to override the hyperlink URL that is saved. This is especially important to

Commit history
Update src/index.js and README.md - Allow Overriding the link from a server response. Allow using headers in HTTP requests
Related issues
#55, #42, #20

Verified and tested dist. Can we merge and deploy this ASAP?

Thank you 🙌

Sorry to have to do this. I just detected a typo. Please find a new PR for reference #58. I missed this.


build: configure Prettier & ESLint

This could be nice to add Prettier & EsLint for linting HTML, CSS, JS & TS code inside src/plugin and src/ui folders.

Closed with https://github.com/lauthieb/variables-converter-figma-plugin/commit/5a079969f5eec8f26268f3ae65f73acebcccf288 🎉


Fix dependency checkout with hash

When checking out with a Git :hash:, the checkout will if the :hash: specified is not also HEAD. This is because Ceedling is checking out the repo with --depth 1, meaning only the latest commit on the branch is available.
This fix is more of a workaround, in that it just does a deep clone of the whole repository. Whilst this might slow things down with a large repo, I did not notice much difference on my test repos. I would also be happy to trade a bit more time and space during the checkout if I can pick a specific commit :)
Feel free to close this PR if it's not the approach you're looking for.

When I mess up a simple README change twice, it's time to walk away from the keyboard...
Happy to redo this fix as a new repo / PR if this direction is one you're happy to go in.


--user flag not respected under (rootless) podman

Regardless of the value of --user, pods started with (rootless) podman + krun have a UID/GID of 0 within the container.
krun:
> podman --runtime=krun run --user=1000:1000 --rm -it registry.fedoraproject.org/fedora sh -c 'id -u; id -g'
0
0

Another runtime (crun):
> podman --runtime=crun run --user=1000:1000 --rm -it registry.fedoraproject.org/fedora sh -c 'id -u; id -g'
1000
1000

Yes, not all container semantics are supported in libkrun, but this one should be relatively easy to adopt. Could you please explain a bit the use case?

In general terms, this article covers a lot of the reasons for container images to still use a different user account even in rootless mode.
For me specifically, I was using a 3rd-party containerised application that was configured to run as a non-root user witin the container.


Get USB VID:PID pairs for keyplus projects

Right now keyplus is using the VID:0x6666 which is USB-IF official VID for prototype products. To avoid conflicts with other USB devices in the field, keyplus should have VID/PID for core devices (keyplus mini controller, xusb-boot, nrf24lu1p-512-bootloader, keyplus nRF24LU1+ dongle, generic xmega keyplus device). Buying a VID from USB-IF is expensive, but their are some free/cheap options for open source/small projects:

0x1209: pid.codes (requires OSS and OSHW)
0x1457, 0x1d50: openmoko (requires only OSS or OSHW)
MCS Electronics (costs money, technically revoked but in practice that doesn't make a difference as VID:PID pairs should still be unique which is all we care about)
0x04d8, 0x03eb: Microchip/Atmel usb sublicensing (xmega/avr only)

Got the PIDs BB00, BB01, BB02 and BB03 assigned under the pid.codes VID 1209.


ciceroUIWndFrame error on windows 10 shutdown v.0.47.0

Microsoft PowerToys version
v0.47.0 v0.45.0
Running as admin

[ ] Yes

Area(s) with issue?
General
Steps to reproduce
leave powertoys running shutdown windows... admin and non admin mode
✔ Expected Behavior
no error just shutdown
❌ Actual Behavior
get the ding noise.
ciceroUIWndFrame error powerlauncher.exe on screen windows shutdown.
Other Software
Only have Word 16 installed i believe ciceroUIWndFrame is something to do with office?

The most important files here are the logs from "%LOCALAPPDATA%\Microsoft\PowerToys\PowerToys Run\Logs\<IP_ADDRESS>" on the days where this happened to you on 0.47.0 .
You can edit the files before hand to remove your username.


Fade the headset if it is colliding with an invalid object

Same as the headset collision fading script.

This can be achieved by simply adding a collider to the Headset Alias, applying a Collision Notifier and On Collision call the CameraColorOverlay AddColor method.

Reopening, as it still needs adding into an example scene!


chore: bootstrap releases for path: .

Configuring release-please for path: .

Why is this needed again?

I ran the release-please on the wronmg repo. Thats why this exists.
Deleting it now


Proxy all providers

FYI, we now proxy all providers and the port used by the application server is not hardcoded to 8195, but acquired dynamically by the OS to prevent port conflict.


Error refreshing state

Hi,
i am trying out terraform-backend-git v0.1.4 on a M1 Mac.
For the backend, i've created a script on PATHcalled tfbg with following content:
#!/bin/sh
ssh-agent  # this is probably not needed
terraform-backend-git -l git terraform "$@"

In a terraform folder in my repo, i've created a terraform-backend-git.hcl file with following content:
git.repository = "ssh://CEPBEPOK/~alex/git/infra_state.git"
git.ref = "main"
git.state = "/tfstate.json"

Upon using tfbg init, i get a git_http_backend_auto.tf file created:
terraform {
	backend "http" {
		address = "http://localhost:6061/?type=git&repository=ssh://CEPBEPOK/~alex/git/infra_state.git&ref=main&state=/tfstate.json"
		lock_address = "http://localhost:6061/?type=git&repository=ssh://CEPBEPOK/~alex/git/infra_state.git&ref=main&state=/tfstate.json"
		unlock_address = "http://localhost:6061/?type=git&repository=ssh://CEPBEPOK/~alex/git/infra_state.git&ref=main&state=/tfstate.json"
		skip_cert_verification = false
		username = ""
		password = ""
	}
}

But the command execution leaves me with following:
[terraform-backend-git]: Using config file: /Users/alex/git/infra/terraform/terraform-backend-git.hcl
[terraform-backend-git]: WARNING: HTTP basic auth is disabled, please specify TF_BACKEND_GIT_HTTP_USERNAME and TF_BACKEND_GIT_HTTP_PASSWORD
[terraform-backend-git]: listen on <IP_ADDRESS>:6061

Initializing the backend...
[terraform-backend-git]: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
[terraform-backend-git]: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
[terraform-backend-git]: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
Error refreshing state: Failed to get state: GET http://localhost:6061/?type=git&repository=ssh://CEPBEPOK/~alex/git/infra_state.git&ref=main&state=/tfstate.json giving up after 3 attempt(s)
Error: exit status 1

Looks like something is going wrong on the SSH level.
Cloning the infra_state.git repo from the command line works just fine (BTW it's a bare repository).
P.S.: Maybe worth mentioning: the CEPBEPOK hostname is not directly resolvable; it's defined in some ~/.ssh/config file of mine (it's a server located on my local network). As being said, the git clone works without any issues.

After some tweaks on mentionedtfbg script and founding out that the default configuration of Mac's ssh-agent is pretty weird, i've ended up with this script:
#!/bin/sh
set -eu

ssh-add --apple-use-keychain ~/.ssh/id_ecdsa
export SSH_PRIVATE_KEY=/Users/alex/.ssh/id_ecdsa

echo "Using private key: $SSH_PRIVATE_KEY"
echo "Auth socket: $SSH_AUTH_SOCK"
terraform-backend-git -l git terraform "$@"

but this gives anoter error output:
tfbg init -reconfigure
Identity added: /Users/alex/.ssh/id_ecdsa (alex@xyz)
Using private key: /Users/alex/.ssh/id_ecdsa
Auth socket: /var/folders/40/mjxwzzd163b2h6jthg5hh9lw0000gn/T//ssh-a5J6lJHKktCT/agent.41225
[terraform-backend-git]: Using config file: /Users/alex/git/infra/terraform/terraform-backend-git.hcl
[terraform-backend-git]: WARNING: HTTP basic auth is disabled, please specify TF_BACKEND_GIT_HTTP_USERNAME and TF_BACKEND_GIT_HTTP_PASSWORD
[terraform-backend-git]: WARNING: Access Logs enabled
[terraform-backend-git]: listen on <IP_ADDRESS>:6061

Initializing the backend...

Successfully configured the backend "http"! Terraform will automatically
use this backend unless the backend configuration changes.
[terraform-backend-git]: repository not found
<IP_ADDRESS> - - [10/Apr/2023:18:10:08 +0200] "GET /?type=git&repository=ssh://CEPBEPOK/~alex/git/infra_state.git&ref=main&state=./tfstate.json HTTP/1.1" 500 27
[terraform-backend-git]: repository not found
<IP_ADDRESS> - - [10/Apr/2023:18:10:10 +0200] "GET /?type=git&repository=ssh://CEPBEPOK/~alex/git/infra_state.git&ref=main&state=./tfstate.json HTTP/1.1" 500 27
[terraform-backend-git]: repository not found
<IP_ADDRESS> - - [10/Apr/2023:18:10:13 +0200] "GET /?type=git&repository=ssh://CEPBEPOK/~alex/git/infra_state.git&ref=main&state=./tfstate.json HTTP/1.1" 500 27
Error refreshing state: Failed to get state: GET http://localhost:6061/?type=git&repository=ssh://CEPBEPOK/~alex/git/infra_state.git&ref=main&state=./tfstate.json giving up after 3 attempt(s)
Error: exit status 1

@dee-kryvenko any suggestions here?

I am not immediately sure, I have not tried it with self-hosted Git repos yet. Can you try export StrictHostKeyChecking=no on the off chance it has something to do with the host key validation and the error message is off? If that doesn't help, I'm gonna need a bit more details to try to reproduce it locally, although I am a little swamped at work at the moment so it will have to wait for a bit longer.

Unfortunately, setting "StrictHostKeyChecking" doesn't change anything. I will try to find some time to debug into it.


border radius is not responsive

Description
when I add border radius to the bars in the bar chart it's not responsive

Expected Behavior

Actual Behavior
it become like this when the screen get's smaller

and like this when the screen gets larger it loses border radius 100%

Reproduction Link
https://codesandbox.io/s/react-basic-example-forked-6rtck?file=/src/BarChart.js

isn't that solved yet ?

Encounter same issue  : (

Hello, having the same issue

Question related: has anyway been able to set border radius on the bottom of a bar chart? like so:


Splat v.2.0.0 compatibility

as in the title

Please read the contrib guidelines before filing in the future (the ones you deleted to post your message)


SSL support

Is there a way to let Konga support SSL? say https://www.konga.url:1337/

@frannnnk, This can be easily achieved by using a load balancer or a proxy in front of konga.
For example if you use nginx as a reverse proxy, the external SSL connections and certs can be handled by nginx itself.
Now, if you need to use SSL in your internal network of services,  sails.js, the framework Konga is build upon, supports that with some extra configuration.
Check out this post
https://stackoverflow.com/questions/17755916/how-to-configure-https-in-sails-js#29150716

This feature is supported since https://github.com/pantsel/konga/releases/tag/0.12.1


get the image

I follow the whole of document , but when I upload the image I get nothing , I can create folder I can see the photos folder in my public folder but when I upload the image no error no image , what I missed .

Related to #222 .

Please follow the upgrade document and upgrade to v1.7.1.

Thanks .


Replace hostname -f with unmae -n

Fix for https://github.com/openshift/origin/issues/4818
Please also refer to https://github.com/openshift/origin/pull/1597

LGTM. The next rebase to origin Godeps will carry the fix.


"Unknown column 'Favorite Gun' in 'field list'"

New Fresh install, new database. I am not sure why this is happening
C:\SquadStatJS\node_modules\mysql\lib\protocol\Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error: ER_BAD_FIELD_ERROR: Unknown column 'Favorite Gun' in 'field list'
    at Query.Sequence._packetToError (C:\SQc\SquadStatJS\node_modules\mysql\lib\protocol\sequences\Sequence.js:47:14)
    at Query.ErrorPacket (C:\SQc\SquadStatJS\node_modules\mysql\lib\protocol\sequences\Query.js:79:18)
    at Protocol._parsePacket (C:\SQc\SquadStatJS\node_modules\mysql\lib\protocol\Protocol.js:291:23)
    at Parser._parsePacket (C:\SQc\SquadStatJS\node_modules\mysql\lib\protocol\Parser.js:433:10)
    at Parser.write (C:\SQc\SquadStatJS\node_modules\mysql\lib\protocol\Parser.js:43:10)
    at Protocol.write (C:\SQc\SquadStatJS\node_modules\mysql\lib\protocol\Protocol.js:38:16)
    at Socket.<anonymous> (C:\SQc\SquadStatJS\node_modules\mysql\lib\Connection.js:88:28)
    at Socket.<anonymous> (C:\SQc\SquadStatJS\node_modules\mysql\lib\Connection.js:526:10)
    at Socket.emit (events.js:315:20)
    at addChunk (internal/streams/readable.js:309:12)
    --------------------
    at Protocol._enqueue (C:\SquadStatJS\node_modules\mysql\lib\protocol\Protocol.js:144:48)
    at Connection.query (C:\SquadStatJS\node_modules\mysql\lib\Connection.js:198:25)
    at Handshake.<anonymous> (C:\SquadStatJS\comms\search.js:64:21)
    at Handshake.<anonymous> (C:\SquadStatJS\node_modules\mysql\lib\Connection.js:526:10)
    at Handshake._callback (C:\SquadStatJS\node_modules\mysql\lib\Connection.js:488:16)
    at Handshake.Sequence.end (C:\SquadStatJS\node_modules\mysql\lib\protocol\sequences\Sequence.js:83:24)
    at Handshake.Sequence.OkPacket (C:\SquadStatJS\node_modules\mysql\lib\protocol\sequences\Sequence.js:92:8)
    at Protocol._parsePacket (C:\SquadStatJS\node_modules\mysql\lib\protocol\Protocol.js:291:23)
    at Parser._parsePacket (C:\SquadStatJS\node_modules\mysql\lib\protocol\Parser.js:433:10)
    at Parser.write (C:\SquadStatJS\node_modules\mysql\lib\protocol\Parser.js:43:10) {
  code: 'ER_BAD_FIELD_ERROR',
  errno: 1054,
  sqlMessage: "Unknown column 'Favorite Gun' in 'field list'",
  sqlState: '42S22',
  index: 0,
  sql: "SELECT m.attacker AS 'Steam_ID', `Name`, `Wounds`,`Kills`,`Deaths`,`Kills`/`Deaths` AS `K/D`,`Revives`,m.id AS 'ID', `TeamKills`, `Favorite Gun`, `Favorite Role` FROM `PlayerWounded` m LEFT JOIN ( SELECT attacker, COUNT(*) AS `Wounds` FROM `PlayerWounded` WHERE server IN (1) GROUP BY attacker ORDER BY time ASC) w ON w.attacker = m.attacker JOIN (SELECT attacker, weapon AS `Favorite Role`, COUNT(weapon) FROM PlayerWounded WHERE attacker =<PHONE_NUMBER>4256439 GROUP BY weapon ORDER BY COUNT(weapon) DESC) fw ON fw.attacker = m.attacker LEFT JOIN (SELECT attacker, COUNT(*) AS `TeamKills` FROM `PlayerDied` WHERE server = 1 AND teamkill = 1 GROUP BY attacker) tk ON tk.attacker = m.attacker JOIN (SELECT attacker, weapon AS `Favorite Role`, COUNT(weapon) FROM PlayerDied WHERE attacker =<PHONE_NUMBER>4256439 GROUP BY weapon ORDER BY COUNT(weapon) DESC) fg ON fg.attacker = m.attacker LEFT JOIN (SELECT attacker, COUNT(*) AS `Kills` FROM `PlayerDied` WHERE server IN (1)  GROUP BY attacker) k ON k.attacker = m.attacker LEFT JOIN ( SELECT victim, COUNT(*) AS `Deaths` FROM `PlayerDied` WHERE server IN (1) GROUP BY victim) d ON d.victim = m.attacker LEFT JOIN (SELECT steamID, lastName AS `Name` FROM `SteamUser`) s ON s.steamID = m.attacker LEFT JOIN ( SELECT reviver, COUNT(*) AS `Revives` FROM `PlayerRevived` WHERE server IN (1) GROUP BY reviver ) r ON r.reviver = m.attacker WHERE steamID = '76561198024256439' AND server IN (1)  GROUP BY m.attacker HAVING `K/D` IS NOT NULL ORDER BY `K/D` DESC, time DESC"
}

Fixed the issue... It was my fault when fixing the roles and guns I did forget to change the Role to Gun on one of the copy querrys
Use this fix: https://github.com/11TStudio/SquadStatJS/commit/94187202684015515f3c2e96a78d9a9fcee70e98 right in your code or just reclone the project  (or git fetch it...)

Fixed the issue... It was my fault when fixing the roles and guns I did forget to change the Role to Gun on one of the copy querrys
Use this fix: https://github.com/11TStudio/SquadStatJS/commit/94187202684015515f3c2e96a78d9a9fcee70e98 right in your code or just reclone the project  (or git fetch it...)


Can we customize the size of the pen-tip mouse cursor?

Can we customize the size of the pen-tip mouse cursor? The default arrow is too large. Can I scale this icon, or customize the icon?

this feature is not yet implemented. I will finish some development and will implement that just after

I'm very glad to hear that and look forward to this feature. Thank you very much.

Find this version for evaluation. You just have to change the cursor icon(cursor.ico) but also you can customize the floating window image (FloatingCall.png)
the file image size is taken into account to resize the cursor.ico. for the floating window size, you have to modify it in config.ini
ppInk cursor custom.zip

In this version, if you set the CLEAR shortcut to ALT+D, pressing the shortcut will crash the software.

Hi,
I'm still working in this version on a new feature which may have some side effects. I've fixed the bug you've raised.
ppInk cursor custom2.zip

That's very kind of you. Thank you very much!

can you give me your feed back. is it usable that way?

This version works. However, there were some problems running the software today on another computer (OS: windows7).

can you provide the crash file and more details on context and actions when the exceptions were raised

Sorry, I only use that computer twice a week, so I can't provide crash files now.
On that computer, after double-clicking the PPLNK, just click the g icon in the lower right corner and the dialog box mentioned above will appear.

I've tried the zipped program I've sent you in a microsoft win7 test VM. no error were reported.


Attributed Placeholder will stretch when textview frame changed

+1

PRs welcome

On Feb 14, 2015, at 7:40 AM, Erik Smith<EMAIL_ADDRESS>wrote:
+1
—
Reply to this email directly or view it on GitHub.


feat: data utilities

Right now gos.Data is just an alias for gos.DataDeep.  At a minimum, it would be nice to add a handful of data aliases:
import gosling as gos
from gosling.data import bigwig

data = bigwig("...", ..., ...) # returns gos.DataDeep(type="bigwig", url="...", ....)

It would be even more exciting to inspect the first argument of this function and if a local file, start some kind of background server, returning a data class with the server url.
import gosling as gos
from gosling.data import bigwig

data = bigwig('./path/to/data.bigwig', ...) # returns gos.DataDeep(type='bigwig', url='http://localhost:8080/data.bigwig', ...)
track = gos.Track(data).mark_bar().encode(...).properties(...)
track.view()

Thinking there is certainly some prior art here:

higlass-python https://github.com/higlass/higlass-python/blob/master/higlass/tilesets.py
clodius tiles: https://github.com/higlass/clodius/tree/develop/clodius/tiles

Perhaps we could just conditionally create a tile-server / tileset for anything that clodius supports? Then, if the format has pure "client" support in gosling (e.g. bigwig) the JSON spec can be exported with a "type"="bigwig", "url"=''".
cc: @sehilyi

Might be useful that https://{higlass-server-url}/api/v1/tileset_info/?d={tileset-uid} returns some information regarding "datatype" and "filetype":

https://higlass.io/api/v1/tileset_info/?d=CQMd6V_cRw6iCI_-Unl3PQ
https://server.gosling-lang.org/api/v1/tileset_info/?d=cistrome-multivec


Add input properties

This is just a simple question.
I want to add a "required" property to the input that is created by the library. Is it possible to do this with configuration or data attributes?
The only way I found to do this is by using the "shown" event:
$(".editable-stuff").on("shown", function(e, editable) {
    $(this).parent().find(".editable-input input").prop("required", true);
});

Wouldn't it be nice to do that with a simple data attribute added to the editable item?
By the way, the library is great.

+1


Inlining causes side effects

If there's a context in an inline in a function, the results can be somewhat unexpected. With function:
filterSome a b = filter (case a | Some a' -> True | None -> False end) ~> b.
One would expect that b would be evaluated after the filter, when we desugar:
> feature injury ~> filterSome admitted (latest 4 ~> admitted)
- Desugar:
feature injury
~> let a$inline$0 = admitted
~> let b$inline$1 = (latest 4 ~> admitted)
~> filter case a$inline$0
         | (Some desugar$0) -> True
         | None -> False
       end
~> b$inline$1

This is probably more a question of how to include and use contexts within the prelude, which is at the moment quite difficult.

this is very important, and I have this sinking feeling that the answer is going to involve "we need higher order functions" because I imagine both behaviours will be desirable, but I think we can work around it for now.
obvious next question: what if an argument were used in two contexts, could this cause duplicate computation?
filter2 v f = (filter v > 50 ~> f), (filter v > 100 ~> f)

feature salary ~> filter value (really_expensive_sum value)

but maybe that duplication is actually what is meant. ooh

this is sort of two things: we have an implicit stream threaded through with ~>, as well as the lack of higher order functions.
this program:
feature salary
~> let x = sum value
~> filter pred
~> let y = sum value
~> x, y

actually means something like
s1  = salary
x   = sum (map value s1)
s2  = filter pred s1
y   = sum (map value s2)
return (x, y)

and, when functions are inlined, we introduce lets to avoid duplication of work. I guess we could just remove those lets

I have come around to changing the behaviour of function application to duplicate computation à la call-by-name, since our let bindings are 'strict' and we can simulate call-by-value by adding let bindings.
this is a change in the semantics, but should affect very few programs; only those with functions with filters and groups.
I will coordinate with @jystic to make this change at the same time as the syntax overhaul.

this is the default now


[GPU/OpenCL] Broadcasting support added for GPU Addition kernel.

Performing addition where dimensions of InputA and InputB vary.
Added broadcasting support only where number of batches vary and other dimensions are same for both inputs.
Number of batch of InputB must be 1.
Output of add_i_cl(A,B) is stored in A inplace.
Self evaluation:
Build test: [X]Passed [ ]Failed [ ]Skipped
Run test: [X]Passed [ ]Failed [ ]Skipped

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #2759. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.

PTAL: @baek2sm @skykongkong8 @EunjuYang

Also, for you added new feature of broadcasting support for addition kernel, what about adding unit test for the case?


Prevent ghci from stripping ANSI colour from output?

Is there a way to make coloured output of commands invoked via --test not be stripped of their colourization?
I've got ghcid running an hspec test for me, and on console it's coloured but in ghcid it's not. This, of course, is the harbinger of the end of the universe, and clearly needs urgent fixing.
(I'm guessing it's probably Test.HSpec thinking it's not a terminal and so is suppressing ANSI escape codes, but perhaps there's something that ghcid could do to sway it otherwise? Although it's speaking to ghci over stdin/stdout [?] it most assuredly is a console program with a human in front of it)
AfC

Is there a command line flag to hspec to say use colour all the time, rather than just when you detect a terminal? I'm not sure how hspec is guessing at whether I'm a terminal, and thus I don't know how to influence that... I imagine it uses hIsTerminalDevice at some point, and I don't think there's any way to fake that - I'm not really a a terminal device, I just happen to know I'm going to put the results back onto a terminal with minimal munging.

I've been working around this issue like this for a while now:
import qualified  Test.Hspec.Runner                     as Hspec

mainColor = Hspec.hspecWith
  Hspec.defaultConfig{Hspec.configColorMode=Hspec.ColorAlways} spec

Not perfect, but usually works quite well. Sharing in case others, e.g. @afcowie find it useful.
If anyone has an even better solution or just a better workaround, I'm all ears.
E.g. AFAIK Hspec has a CLI flag to force colors. IIRC --color. Maybe it would also work to set args in ghci via something like :args ["--color"] before invoking hspec's main. Anyone experimented with this or something else?

If you do -T ":main --color" does that work? As far as I can tell there are two pieces to the problem:

Getting HSpec to put out colors. You should be able to do this with a flag. Is there another way to specify that you want colors? Anything I can drive automatically from ghcid?
Getting those colors into ghcid. If they come out as escape codes, then ghcid probably (?) gets the line wrapping wrong by miscalculating the number of characters. On Windows, going via Win32 API console codes, they might just get entirely lost - not sure what hspec does here.

While some people might consider it a liveable problem, other people such as @intolerable consider it basically fatal...

Yes, -T ":main --color" does work!
And so does -T ':set args ["--color"]' -T main.

If they come out as escape codes

I don't think this is a problem on linux. At least I haven't encountered it in the many sessions I had colors enabled.

Anything I can drive automatically from ghcid?

That would be nice, but I am not quite sure how.
One thing that comes to mind: We maybe can somehow convince the driven ghci process that it is indeed in a tty, after all.
A way to achieve this: http://stackoverflow.com/questions/1401002/trick-an-application-into-thinking-its-stdin-is-interactive-not-a-pipe
Related hspec issue: https://github.com/hspec/hspec/issues/158
@sol, as the author of hspec, what do you think about the above discussion? Might you have any ideas how it could make sense for ghcid and hspec to interact in a way that shows color for end users without hassle, automatically?

Browsing further, I've found another, perhaps even more related hspec issue: https://github.com/hspec/hspec/issues/34
Which lead me to this code section: https://github.com/hspec/hspec/blob/307b906612ce3344a7e8a1a0e127ad9cfaa5b7e9/hspec-core/src/Test/Hspec/Core/Runner.hs#L203
( Source for hIsTerminalDevice: https://hackage.haskell.org/package/base-<IP_ADDRESS>/docs/src/GHC.IO.Handle.html#hIsTerminalDevice )

@Wizek @afcowie recent versions of hspec read command-line options from the config files .hspec and ~/.hspec.  You can tell hspec to always colorize output with:
$ echo --color >> ~/.hspec

We can consider to also read command-line options from an environment variable, e.g. HSPEC_OPTIONS.  This would allow ghcid to pass --color to hspec by setting / modifying that environment variable.
@ndmitchell I can't comment on Windows.  Regarding counting characters for output that contains ANSI color sequences, I think it's plausible that this won't yield the expected result.

I'm happy to always set the env variable in ghcid. I suspect it wouldn't work on Windows unless you were in a bash shell, but I can fix that on the ghcid side so can sort it out then.

@sol Glad to hear we have the ~/.hspec option and might have the env variable option too! This is definitely mitigating the issue even further.
And HSPEC_OPTIONS sounds specific enough that, as @ndmitchell is commenting, setting it always from ghcid could -- without interfering with anything else -- yield the expected result for new users automatically wrt. ghcid + hspec + colors.
I do still wonder if there is some solution that could be even more generic, that doesn't assume hspec at the other end. E.g. faketty or similar might be able to give us ghcid + X + colors.
But I am willing to let that go for now as the proposed HSPEC_OPTIONS env variable does indeed solve this specific issue quite thoroughly.

I am not sure if you are aware, as an aside, that while cmd.exe on Windows does indeed not support ANSI color control characters, PowerShell does.

As a side note, if you use hspec with ghcid you may find --rerun and --rerun-all-on-success useful.

hspec-2.4.3 adds support for HSPEC_OPTIONS

@ndmitchell can we have ghcid emit the HSPEC_OPTIONS environment variable now?

@afcowie Sure, but you should be able to do it on your side pretty easily - or is this some magic that only ghcid can accomplish? It's the Windows issue that makes it harder.

@ndmitchell you're right, of course. Just seems somewhat awesome to have to set HSPEC_OPTIONS in ~/.ḃashrc to be inherited by all processes when only the communication between ghcid and a child program (which isn't even a child, it's in the same process space, hm) linking against hspec needs to be influenced. To be honest it seems as this is in the category of "it should just work, transparently" and so if you're willing to add it, wonderful; if not, so be it.
AfC

Should probably also pass -fdiagnostics-color=always once I can, so that the GHC error messages come out coloured too.

@afcowie I'm keen to get it working with ANSI escape codes, then I'll be happy to enable it unconditionally for both HSPEC and GHC.

Done. For Windows, HSpec sends codes directly to the console, rather than escape codes, so the act of redirecting stdout by construction removes the colors. It's a shame, as Windows 10 supports escape codes, which is what GHC uses, and thus the information can be preserved. For Linux/Mac users, it should just work.


Initialize properties in add_person

This PR adds the ability to initialize properties in add_person(), as in:
       let person = context.add_person(((Age, 17), (IsSwimmer, true))).unwrap()

Any non-derived property that doesn't have automatic initialization must be initialized in this fashion during creation, which means we have removed initiialize_person_property(). This is technically enforced by checking that any known such property is present in the initialization list. This enforcement is imperfect because Context doesn't know about any property which has never been used. This means that if you do add_person() followed by get_person_property() for such a property, it will panic. However, as long as there is any use of a property this invariant will instead be enforced in add_person()

@k88hudson-cfa I added a comment and responded to your other questions. LMK if you want to further discuss those.

@k88hudson-cfa rebased, errors fixed.
I renamed must_be_initialized to is_required.


does not declare @inject ILogger

The examples in this page does not work because, VS does not recognize @inject ILogger.

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

ID: 5ea474d5-234a-f393-8609-892a2deb5d2e
Version Independent ID: c11d981c-05af-c19d-a333-feedd5978639
Content: ASP.NET Core Blazor file uploads
Content Source: aspnetcore/blazor/file-uploads.md
Product: aspnet-core
Technology: aspnetcore-blazor
GitHub Login: @guardrex
Microsoft Alias: riande

Hello @jorgearana ... It sounds like you didn't name the component FileUpload1.razor. The name "FileUpload1" is the classname of the component. Change that to whatever you named it. For example, it you named it MyFileUploader.razor, then make that line @inject ILogger<MyFileUploader> Logger.
This aspect of Blazor is covered at https://learn.microsoft.com/aspnet/core/blazor/components/#markup, and namespaces for components are covered at https://learn.microsoft.com/aspnet/core/blazor/components/#namespaces.

... and FYI ...
When I pulled up those cross-links, I think a smidgen of work on the content layout is in order. I think the classname remarks perhaps should be rolled into the Namespace section remarks with a section heading name change to Class name and namespace. It feels a little out of place where I currently have it in the Markup section. I have a work item coming up to split some sections of out the Components overview topic because it's getting too long. I added a note on this to that work item, and I'll address it in the topic with those updates coming in about a month or so.


feature: focus an element in the UI

The explorer should notify the engine for changes in the focus.

Linked to https://github.com/decentraland/unity-client/issues/350


In the "Become a Volunteer" page of the petMe website, "Thanks for showing your support" is hid by the navbar

Describe the bug
In the "Become a Volunteer" page of the petMe website, "Thanks for showing your support" is hid by the navbar.
To Reproduce
Steps to reproduce the behavior:

Go to 'https://akshitagupta15june.github.io/PetMe/'
Click on 'Become a Volunteer' under the "Support us" dropdown

Expected behavior
The "Thanks for showing your support" should be visible and should not be hidden by navbar.
Screenshots

Desktop (please complete the following information):

OS : Windows 11
Browser : Brave, Chrome
Version : 2H22

Thank You,
Sayantan Choudhury
GSSOC'23

I am interested to work on this issue under GSSoC 2023 as a contributor


SyncProxy 0.5 in Android N (7.0) NullPointerException: Attempt to get length of null array

I have identified the issue when running an Application using SynxProxy 0.5 on a Nexus device running Android N. This crashes the application.
Here is what I have found up until now:
String classPath = System.getProperty("java.class.path"); returns "." i.e. root directory of the device. Which seems to be off-limits to the application in Android N.
So, when SyncProxy tries File.list(XXX) methods in RpcPolicyFinder - it always returns null in Android N.
Hence, when searchPolicyFileInDirectory(String path) is called with the following code:
public static Map<String, String> searchPolicyFileInDirectory(String path) {
        Map<String, String> result = new HashMap<String, String>();

        String policyName = null;
        File f = new File(path);
        String[] children = f.list(new FilenameFilter() {
            @Override
            public boolean accept(File dir, String name) {
                if (name.endsWith(GWT_PRC_POLICY_FILE_EXT)) {
                    return true;
                }
                return false;
            }
        });
// The children is always `null` - in Android N. So accessing the children using:
       for (String child : children) {

// Will cause NullPointerException: Attempt to get length of null array
[...]
}

I have tested this on Android 4.4, Android 5.0.1, Android 5.1.1, Android 6.0 - these versions do not have the same problem. Only Android 7.0
Options to resolve this further is to pass through the application directory to the Library someway and then use this to list the gwt.rpc files.
I have not yet investigated which permissions could resolve the issue. While not an ideal solution, I have used a simple check if(children!=null) to workaround the problem in my code as I do not store the gwt.rpc files in my application.

Getting the same error.
Can u tell me more precisely about how to work around this error?

This is how my RpcPolicyFinder.java looks like now in SyncProxy-Android project.. I downloaded the sources and added the check I mentioned above (see code).
There is a possibility that there are File permissions which can be set which avoids this issue. I didn't get a chance to test them out. If you are successful in this approach, we would much appreciate you updating this issue.
public static Map<String, String> searchPolicyFileInDirectory(String path) {
		Map<String, String> result = new HashMap<String, String>();

		String policyName = null;
		File f = new File(path);
		String[] children = f.list(new FilenameFilter() {
			@Override
			public boolean accept(File dir, String name) {
				if (name.endsWith(GWT_PRC_POLICY_FILE_EXT)) {
					return true;
				}
				return false;
			}
		});

		if(children!=null) {
			for (String child : children) {
				policyName = child.substring(0, child.length()
						- GWT_PRC_POLICY_FILE_EXT.length());
				try {
					result.putAll(parsePolicyName(policyName, new FileInputStream(
							new File(path, child))));
				} catch (IOException e) {
					throw new RuntimeException(e);
				}
			}
		}
		return result;
	}

Thanks for instant reply. :D
I will try it out.

I have the same problem, It runs below nougat version,
please someone help

Two things to try:

See if you are able to set Files Read permission -   in AndroidManifest.xml see if it fixes the issue. If it does, please do report back here.

Try the code above.


List of files that extraction fails on.

Feel free to reply with a report on any file that fails to be extracted in someway. Crashes, broken output, etc. Include what's broken about the extraction and if the file isn't in the base game a link to it.
List

File
Location
Issue

core.lvl
Game
Tool Crashes

tat\tat3.lvl
Game
Tool Hangs

PC (built from source, not a release):
core.lvl (crash)
tat\tat3.lvl (hang)

pc built from release
Amador deep forest outputs everything except wld.
http://www.mediafire.com/file/djdwydg4r0edcu6/Amador_-_Deep_Forest_by_yodakid.exe/file

bef4386 should fix core.lvl crashing the tool.

On PS2, I everything that I tried crashed.
For Xbox there are a lot of crashes too:
all.lvl
allhstat.lvl
allhthmk.lvl
allhvrnt.lvl
allleia.lvl
allshell.lvl
allxwing.lvl
cis.lvl
cismttp.lvl
cisshell.lvl
comgunnr.lvl
des.lvl
ewk.lvl
gam.lvl
gar.lvl
geo.lvl
gun.lvl
imp.lvl
impshell.lvl
ingame.lvl
jed.lvl
rep.lvl
repatxtp.lvl
repmedic.lvl
repshell.lvl
shell.lvl
snw.lvl
spa1.lvl - spa9.lvl
tat3.lvl
tur.lvl
wok.lvl

c7c64a2 should hopefully fix the crash on PS2 files.
8c61d4b01307acf7b074ccd848652b4ea5ea5b4c should also have fixed the issue with Amador - Deep Forest.

is there a compiled update for this fixed version ?

Big improvement on PS2 crashing.
Only crashes on the following PS2 LVLs now:
ALLHTHMK.LVL
ALLHVRNT.LVL
ALLXWING.LVL
CISMTTP.LVL
COMGUNNR.LVL
REPATXTP.LVL
REPFELSN.LVL
REPMEDIC.LVL
SHELL.LVL

naboo sewers unmunges everything but wld. http://www.mediafire.com/file/ku33hkab70rk4k6/Naboo_-_Sewers_by_FragMe%2521.zip/file

c7c64a2 fixes empty .lvls crashing the tool. I'm yet unable to replicate the crashes on the others, but I've only tried PS2 and PC so far.

naboo sewers unmunges everything but wld. http://www.mediafire.com/file/ku33hkab70rk4k6/Naboo_-_Sewers_by_FragMe%2521.zip/file

Looks like it works fine now so the fix for Amador - Deep Forest might happily also apply to that.


libconfig::libconfig isn't found

CMake Error at CMakeLists.txt:128 (target_link_libraries):
  Target "pdb2cif" links to:

    libconfig::libconfig

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

libconfig doesn't install cmake files.
It can't be found with find_package(libconfig QUIET), like you attempt to do it.
Version: 1.0.5
clang-14
FreeBSD 13.1

You are chasing me ;-)
I'm in the progress of updating all my code to get it ready to be included in Debian. And e.g. libconfig was an attempt to ditch boost::program_options and thus a runtime dependency. However, there are already dozens of libconfig's around and so I ended up with the name libcfp.
So please be patient, within a week or two I hope all the tools built upon libcifpp are properly ported and cleaned up.

Ok, thank you.

@mhekkel  You use libcfp which was last updated in 2014.
Are you sure that there are no better options to parse formulas?
What about OpenBabel or libavogadro?

That's very unfortunate, I was referring to https://github.com/mhekkel/libcfp.git but apparently I didn't check good enough and now I have a name clash.

@yurivict When I create a tar ball containing a .gitmodules file, will the packaging system at FreeBSD pick up the git submodules automatically? That would allow me to add my personal libcfp as submodule without the need to package it separately.

@mhekkel Git submodules are filled up manually by maintainers, they aren't automatic. But yes, many ports import project git submodules for parts that aren't individually ported.

This is not a problem any more.


Create a route for SendGrid and initialize SendGrid api

Add the route to the routes folder and run an example function for the same

I would like to work on this issue , thank you .

I would like to work on this issue , thank you .

Hey, assigning you this issue.

@ANISH0309 If the issue isnt resolved still, can I take it up?

@ANISH0309 If the issue isnt resolved still, can I take it up?

Sure, you can take on this issue, best of luck.


keep attrs

closes #154

changes units to bitinfo_units
changes long_name to bitinfo_long_name
keep input attrs

I want to keep long_name and all other attrs for context. Now we only have the variable name and no context from the input data. Original unit might not be very important

Now the bitinformation of z, in reference to what z actually is, is easier to understand IMO.

The attributes are preserved in ds_bitrounded:
In [11]: ds_bitrounded.u
Out[11]:
<xarray.DataArray 'u' (month: 2, level: 3, latitude: 241, longitude: 480)>
array([[[[ 1.250000e+00,  1.250000e+00,  1.250000e+00, ...,
         [ 3.500000e+00,  3.500000e+00,  3.500000e+00, ...,
           3.750000e+00,  3.500000e+00,  3.500000e+00]]]], dtype=float32)
Coordinates:
  * longitude  (longitude) float32 -180.0 -179.2 -178.5 ... 177.8 178.5 179.2
  * latitude   (latitude) float32 90.0 89.25 88.5 87.75 ... -88.5 -89.25 -90.0
  * level      (level) int32 200 500 850
  * month      (month) int32 1 7
Attributes:
    number_of_significant_digits:                2
    units:                                       m s**-1
    long_name:                                   U component of wind
    standard_name:                               eastward_wind
    _QuantizeBitRoundNumberOfSignificantDigits:  3

I know. I just refered to info_per_bit the output from get_bitinformation

I don't really like this PR yet, mainly because the units, long_name and standard_name attributes are cf-conventions conform attributes that describe the attributes of the variable and not the ones they are derived from.
A compromise could be to prefix the attributes from the input dataset with e.g. source_, so that there would be source_units = m**2 s**-2, source_standard_name = geopotential etc. So instead of prefixing the bitinformation attributes, the original dataset attributes get a prefix. Would that help?

I like the source idea


Label link validation

It's feasible to link to labels anywhere and in any order, and so link validation has to happen globally, not during parsing.

This will be part of #282.