cupy.cuda.compile_with_cache vs cupy.RawModule

The migration guide suggests RawModule as an alternative, but, as someone who just copied code on the internet and only concerned myself with the actual kernel code, it'd help me to know whether it's a drop-in replacement, or if there are differences I should be aware of and account for (e.g. via arguments to RawModule). Namely, for something like
@cp._util.memoize(for_each_device=True)
def load_kernel(kernel_name, code, **kwargs):
    code = string.Template(code).substitute(**kwargs)
    kernel_code = cp.cuda.compile_with_cache(code=code)
    return kernel_code.get_function(kernel_name)

A note in docs works, but it being searchable (e.g. like in this Issue) would suffice for me.

Try this?
@cp._util.memoize(for_each_device=True)
def load_kernel(kernel_name, code, **kwargs):
    code = string.Template(code).substitute(**kwargs)
    mod = cp.RawModule(code=code)
    return mod.get_function(kernel_name)

btw cupy._util is a private module and everything in it is private function.

Yes, my question is whether there's caveats to that, e.g. differences in caching behavior.

No, the compiled code is still cached. I see why you're asking... Contribution to the RawModule docs is welcomed :D

Thanks, so, there's no need to set some arguments, e.g. options, to match behavior?

Yes, options passed to the compiler are the same between compile_with_cache (which no longer exists) and RawModule / RawKernel, with slight differences (the latter adds --std=c++11 and extra include directories (-I) to let the code discover headers).

Thanks! Feel free to close.


[containerfile] chown rapidast home

to prevent the following when running with the rapidast image:
The home path is not writable: /home/rapidast/.ZAP/
Found Java version 11.0.20
Available memory: 15979 MB
Using JVM args: -Xmx3994m
The home path is not writable: /home/rapidast/.ZAP/
WARNING:The ZAP process did not finish correctly, and exited with code 1
INFO:Running postprocess for the ZAP Podman environment
Traceback (most recent call last):
  File "/home/cedric/prodsec/rapidast/rapidast/./rapidast.py", line 224, in <module>
    run()
  File "/home/cedric/prodsec/rapidast/rapidast/./rapidast.py", line 209, in run
    ret = run_scanner(name, config, args, defect_d)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/cedric/prodsec/rapidast/rapidast/./rapidast.py", line 106, in run_scanner
    scanner.postprocess()
  File "/home/cedric/prodsec/rapidast/rapidast/scanners/zap/zap_podman.py", line 146, in postprocess
    raise RuntimeError(
RuntimeError: No post-processing as ZAP has not successfully run yet.

LGTM


feat(blockage_diag): dust detection

Description
I implemented dust detection process.
When dust covers the lidar, noise is added to the depth image. Therefore, I thought that noise(dust area) can be detected by applying noise reduction algorithms.
So,I implemented an algorithm used for noise reduction, morphological processing.
Here are the results of my implementation.
This is a video of rosbag with dust(only front_upper) on the lidar.
The second image from the top is a depth image, showing noise in the area where the dust is attached.
The top image is the output image when the process is executed.
The red color indicates the result of detecting blockage area, which has been implemented previously.
The yellow color indicates the result of detecting dusty area, which is result of my new implementation.

Related links
tier4 INTERNAL LINK : about this dust detection
Related PR
feat: add params and diag about dust-detection by swiftfile · Pull Request #116 · tier4/aip_launcher
feat(blockage_diag): dust detection by swiftfile · Pull Request #3192 · autowarefoundation/autoware.universe (cancelled PR)
Tests performed

Notes for reviewers

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.
[ ] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

Sorry i could not understand. Where is the dust located on the lidar in your demo?
Would your algorithm also work with other things, such as water drops, snow, bird 🐦💩?

@VRichardJP
Thanks for your comment.

This implementation was tested on the data collected from Hesai QT LiDAR which was sprayed by Arizona test dust
Here is how the LiDAR looks like after sprayed dust few times compressor

IMO, the algorithms target to detect some sparse and tiny dust which adhered and blocked the LiDAR rays so maybe not work well with kind of clean water/rain drop. Related to snow case, since the data not available yet so I have no comment for now.
cc @drwnz Do you have other comments?

I have reproduced the result using logging_simulator as below:

LGTM
@miursh could you approve this PR?


crash after multi-search-replace, dismissing last replace in list

Issue Type: Bug
1, search and replace with Ctrl-shift-f
2, view each occurence one-by-one in the result list by clicking on them
3, accept or reject each occurence using the icons in the list
4, crash when the list gets empty
VS Code version: Code 1.31.0 (7c66f58312b48ed8ca4e387ebd9ffe9605332caa, 2019-02-05T22:35:56.624Z)
OS version: Windows_NT x64 10.0.17134

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz (8 x 3600)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: enabledsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
30.91GB (19.68GB free)

Process Argv
c:\Dev\BPet-22Main\Sources\ArchiCADLibrary\INT\Object Library Superset\4. ADD-ON LIBRARY\Grasshopper\Grasshopper Sweep object.xml

Screen Reader
no

VM
0%

Extensions (19)

Extension
Author (truncated)
Version

overtype
ada
0.2.0

Bookmarks
ale
10.2.2

alignment
ann
0.3.0

close-all
ben
1.0.2

tslint
eg2
1.0.42

vs-code-xml-format
fab
0.1.5

vscode-npm
fkn
3.3.0

gdl-xml
pba
1.23.3

guid
kos
0.0.1

vs-color-picker
lih
1.0.0

language-gettext
mro
0.1.1

python
ms-
2019.1.0

cpptools
ms-
0.21.0

color-highlight
nau
2.3.0

printcode
nob
3.0.0

relativegoto
ret
0.0.1

perforce
sle
3.1.0

vscode-hexdump
sle
1.7.2

goto-line-ex
xyz
0.0.4

(1 theme extensions excluded)

Can you explain what you mean by "crash"? I can't reproduce this. Does it happen every time?

open file
ctrl-shift-f
type something that is in the file, enter
[image: image.png]
click on the dismiss button
[image: image.png]

Yes, it happens every time.
Rob Lourens<EMAIL_ADDRESS>ezt írta (időpont: 2019. febr. 12.,
K, 2:18):

Can you explain what you mean by "crash"? I can't reproduce this. Does it
happen every time?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode/issues/68399#issuecomment-462570313,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFT-CUC3RHrQZ1L244HENY-SZvof2eFuks5vMhZcgaJpZM4azxxX
.

Thanks for the details. It looks like your images were not included. Is there an error message that you see?

I can repro this with the steps from https://github.com/Microsoft/vscode/issues/68716 using an unsaved file.


KeyNotFoundException & ArgumentNullException

I am using code sample found here: https://github.com/Redth/ZXing.Net.Mobile/blob/master/Samples/Forms/Core/HomePage.cs
MainActivity.cs
`
public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity
{
    protected override void OnCreate(Bundle bundle)
    {
        TabLayoutResource = Resource.Layout.Tabbar;
        ToolbarResource = Resource.Layout.Toolbar;
        base.OnCreate(bundle);
        ZXing.Net.Mobile.Forms.Android.Platform.Init();
        global::Xamarin.Forms.Forms.Init(this, bundle);
        LoadApplication(new App());
    }
    public override void OnRequestPermissionsResult(int requestCode, string[] permissions, Permission[] grantResults)
    {
        global::ZXing.Net.Mobile.Android.PermissionsHandler.OnRequestPermissionsResult(requestCode, permissions, grantResults);
    }
}

`
Home.xaml.cs
`
public partial class Home : ContentPage
{
    	ZXingScannerPage scanPage;
    	Button buttonScanDefaultOverlay;
    	public Home() : base()
    	{
        		buttonScanDefaultOverlay = new Button
        		{
           			 Text = "Scan with Default Overlay",
            		AutomationId = "scanWithDefaultOverlay",
      		  };
       		 buttonScanDefaultOverlay.Clicked += async delegate {
           		 scanPage = new ZXingScannerPage();
            	 scanPage.OnScanResult += (result) => {
                		 scanPage.IsScanning = false;
                		Device.BeginInvokeOnMainThread(() => {
                     	Navigation.PopAsync();
                     	DisplayAlert("Scanned Barcode", result.Text, "OK");
                		 });
           		 };
            	await Navigation.PushAsync(scanPage);
       	 };
       	 var stack = new StackLayout();
        	 stack.Children.Add(buttonScanDefaultOverlay);
        	 Content = stack;
   		 }
}

`
AndroidManifest.xml
<uses-permission android:name="android.permission.CAMERA" />
<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus" />
<uses-permission android:name="android.permission.FLASHLIGHT" />
AssemblyInfo.cs
[assembly: UsesPermission(Android.Manifest.Permission.Flashlight)]

Upon pressing the button I get thrown the following exceptions:

Exception of type 'System.Collections.Generic.KeyNotFoundException' was thrown. (KeyNotFoundException)
Value cannot be null. Parameter name: property (ArgumentNullException)

Where am I supposed to handle them?

I have exactly the same issue. Tried anything! Can not find the cause.

I have the same issue ...

When I attach my physical device to my PC with a USB cable , instead of using 'Xamarin Live', then the error does not occur.... So in my opinion: problem solved

Yep, don't bother using Live Player.

I am also facing the same issue when using Xamarin live player and it occurs at any line of code that creates a new object in the ZXing.Net.Mobile library . donno if this is an issue with live player itself as i dont get any issue on my device and droid emulator

had the same issue but figured out it was because zxing assembly was not loaded when using Xamarin live player. Plugged in usb cable deployed works.

Thanks for reporting this issue!  Unforunately it took me way too long to respond 😭.  Sorry, I apologize!  Recently the source code for this project was completely refactored to modernize it.  Many PR's were included in this effort, and many bugs were hopefully fixed.  Please try out the latest 3.x series of NuGet packages (currently in prerelease).  To try and make the project more maintainable in my spare time going forward, I've decided to close all existing issues to start with a clean slate.  If you're still experiencing this issue on the newest version, please open a new issue with as much detail as possible.  Thank you for your patience and understanding!  Happy scanning!


Experience extreme slowness with testcafe

What is your Test Scenario?
We are currently trying to migrate our tests to test cafe from selenium. The observation we found was the tests are running very slow
The test scenario we executed was to open our ecommerce web page and add a product to the bag and click on the bag
Below is the simple test code that we are validating
What is the Current behavior?
The current behaviour is it takes a fair bit of time ( more than 1 minute ) to execute the sample test
What is the Expected behavior?
The expectation is that test cafe runs the test faster
What is your web application and your TestCafe test code?
Here's the web application URL - https://www.myer.com.au

fixture `Add to Cart`
    .page `https://www.myer.com.au/p/kenji-urban-travis-sueded-bomber-jacket-660621970-1?colour=Tan&size=M`;

test('should be able to add the product to cart', async t => {
    await t.click('#add-to-bag-btn')
    await t.click('[data-automation="view-bag-checkout-btn"]')
});`

Below are the screenshot for the above test code and run time

We have tried running the same tests against selenium and cypress solutions just to see if it was our app related slowness but could see that the same test with the same steps have considerably slower execution times
Screenshots below:

we are unsure about how to fix this and we have tried runnings the same set of tests against different networks and still see similar results

### Steps to Reproduce:

1. Create a test file with the above code
2. Execute this command - "testcafe chrome add-to-cart.test.js -e"
3. Observe that the page load is too slow and also the test takes a considerable time to finish
Although the test is very simple and it clicks about just two buttons

### Your Environment details:

* testcafe version:                   1.4.2
* node.js version:                    8.10.0
* command-line arguments:  testcafe chrome add-to-cart.test.js -e
* browser name and version: chrome version 76 ( but this is not related to any browser )
* platform and version:         Mac and windows

This website contains a lot of script code. TestCafe processed the script code to know the state of the tested application. It allows TestCafe to automatically wait for XHR requests, page loads, element availability, etc. We have a few ideas about how to speed up TestCafe performance.
For example, Implementing HTTP caching is the most valuable of them. Track it to informed about our progress.


Poetry initial migration

First step in migrating from pipenv to poetry.
This PR creates all the pyproject.toml and Poetry.lock files needed, however leaves almost all instances of pipenv calls intact.
To try running with the poetry environment, use the USE_POETRY=true env flag, e.g.
USE_POETRY=true make run-appengine
USE_POETRY=true make all-tests

Also in this PR:

Fix Pipenv for datafix to included a required package
Standardise how we are specifying required package versions. (Generally all upgrades are allowed till the next major version)
Fix our run_test.sh scripts to all use bash, with -e and -x flags. Currently some of our run_test.sh tests will silently fail because of the lack of -e flag. (i.e., when there are multiple tests, we need to use the -e flag otherwise as long as the final test is ok, the script will return 0, even if other tests failed. (I think?)).

Updated the lockfiles, surprisingly none of the lockfiles got updated.


Response body on test suite gives incorrect answer

I implemented the processing of query strings separately (without binds) and it may break the response body of some tests. I'm using the query URI part to filter and sort the data I'm sending back. However, on the test enviroment, usign harness and stuff, the response received from this endpoint is strange. To be clear, the endpoint IS returning the data correctly. Let me show on code:
//endpoint with query string to sort and filter data, and this endpoint returns a list of objects in the form of '[{"key":"val"}, {"key":"val"}, {"key":"val"}, (...) ]'
    final res3 = await harness.agent.get('/me/savings?sort_by=bank.asc,id.asc&bank=My Bank 0', headers: {'Authorization' : calcAuth(token)});
//this prints the correct result
    print(res3.body.toString());

//this list is unordered and unfiltered, as if no query string was applied at all.
    final savings2 = res2.body.as<List<dynamic>>().map( (m) => Saving()..readFromMap(m as Map<String, dynamic>)).toList();

//endpoint header, nothing special
  @Operation.get()
  Future<Response> getSavings() async {

So as you can see in the definition of get:


import wonkavision

full on mono repo

I propose that we only put React components into this repo since the tooling is specific to that type of package.


Google.js missing in path https://github.com/shramov/leaflet-plugins/blob/master/layer/tile/

leaflet plugin is trying to access Google.js but not able to reach file at location https://github.com/shramov/leaflet-plugins/blob/master/layer/tile/Google.js

Which leaflet plugin are you talking about ? Have you missed #250 ?


oCIS as of 27th October 2023

Description
oCIS as of 27th October 2023 + add some configuration options
Related Issue
Motivation and Context
How Has This Been Tested?

I ran the office integration deployment example in minikube and edited some files with Collabora / OnlyOffice

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Technical debt
[ ] Tests only (no source changes)

Checklist:

[x] Code changes
[ ] Unit tests added
[ ] Acceptance tests added
[x] Documentation generated (make docs) and committed
[ ] Documentation ticket raised:
[ ] Documentation PR created:

You are quicker than myself. I wanted to open a PR on myself.
It is FRONTEND_OCS_PUBLIC_SHARE_MUST_HAVE_PASSWORD which applies to all public shares.
With both variables you can control it and the naming is clearer. We agreed that there is no use case for only enforcing it for "readable" public shares.

It is FRONTEND_OCS_PUBLIC_SHARE_MUST_HAVE_PASSWORD which applies to all public shares.
With both variables you can control it and the naming is clearer. We agreed that there is no use case for only enforcing it for "readable" public shares.

I looked at the changelog: https://github.com/owncloud/ocis/blob/master/changelog/unreleased/readable-share-enforce-password.md
This seems outdated then!?

This seems outdated then!?

Yes, i need to fix it.

@micbar why needs OCIS_SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD to be configured for sharing and frontend service, while OCIS_SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD is only available for the frontend service? :thinking:

I updated the PR by assuming there will also be a SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD setting.

Fix for the changelog https://github.com/owncloud/ocis/pull/7609

I updated this PR to 5.0.0-alpha.1, please review :-)


Don't use Term.When().Command() to schedule disconnections

That turned out to be problematic because leadership can be lost and re-acquired
when disconnecting and then reconnecting a follower.
Instead, there are now explicit Term.Disconnect() and Term.Reconnect() APIs that
account for leadership glitches.

Coverage decreased (-1.8%) to 77.662% when pulling 5b09765b3406b4238aaea546609a0fb593589b0e on dont-use-command-events-for-disconnections into ec373e7576bd505cb99ca18fc51521c746a2460e on master.


[Relay Mining] Updates to reflect SMT changes

Summary

A few miscleanious Makefile updates to make test_load_relays_stress_localnet easier to use
Update to the latest version of the smt and make the corresponding changes

Issue

#542

Type of change
Select one or more:

[x] New feature, functionality or library
[ ] Bug fix
[ ] Code health or cleanup
[ ] Documentation
[ ] Other (specify)

Testing
Documentation changes (only if making doc changes)

[x] make docusaurus_start; only needed if you make doc changes

Local Testing (only if making code changes)

[x] Unit Tests: make go_develop_and_test
[x] LocalNet E2E Tests: make test_e2e
See quickstart guide for instructions

PR Testing (only if making code changes)

[ ] DevNet E2E Tests: Add the devnet-test-e2e label to the PR.

THIS IS VERY EXPENSIVE, so only do it after all the reviews are complete.
Optionally run make trigger_ci if you want to re-trigger tests without any code changes
If tests fail, try re-running failed tests only using the GitHub UI as shown here

Sanity Checklist

[x] I have tested my changes using the available tooling
[x] I have commented my code
[x] I have performed a self-review of my own code; both comments & source code
[x] I create and reference any new tickets, if applicable
[x] I have left TODOs throughout the codebase, if applicable

One flaky test


Refactor save_resample_align to use ndfits.update for enhanced compatibility with compressed FITS files.

Refactor save_resample_align to use ndfits.update for enhanced compatibility with compressed FITS files.

This PR complements and builds upon the improvements made in Suncasa PR #282. Please use ndfits.update to update FITS files in the future @peijin94. 😏


Could not build documentation

Hi,
I am not entirely sure if my .sdnav file is correct so I am attaching it as well (I have changed the file extension to .txt). I am having the same issue in two latest versions (1.2.0 and 1.1.2):
Starting step: "Parsing project file"
Starting step: "Parsing code"
Starting step: "Export documentation"
Could not build documentation.
System.NullReferenceException: Object reference not set to an instance of an object.
   at SharpDox.Plugins.Html.Templates.Navigation.Navigation.TransformText()
   at SharpDox.Plugins.Html.Steps.CreateDataStep.CreateNavigationData()
   at SharpDox.Plugins.Html.Steps.CreateDataStep.RunStep()
   at SharpDox.Plugins.Html.HtmlExporter.Export(SDProject sdProject, String outputPath)
   at SharpDox.Build.Context.Step.ExportStep.RunAllExporters(SDProject sdProject)
   at SharpDox.Build.Context.Step.ExportStep.RunStep(SDProject sdProject)
   at SharpDox.Build.Context.BuildContext.StartBuild()

doc-nav.txt
Let me know if there is anything else you need to investigate this potential issue.
Thanks

It looks like the issue above was caused be the fact that my navigation file name was NOT default.sdnav.

Will add a better error message for this case. Thank you for the Report!


Some assistance with usage please

Hi there,
Could I bug you for a little help with getting this module to work please? I have a LCD with a parallel interface and I've had no end of trouble trying to get it to work in Micropython. Your module sounds like it might be what I'm needing but I'm struggling a bit without documentation.
By following the official docs I have been able to successfully compile Micropython with your module but I'm having a hard time trying to work out how to get it going. This is what I have managed to scrape together looking at your code but I'm getting a kernel panic at the init so I think I need some help lol:
import lcd_bus

tft = lcd_bus.RGBBus(hsync=46,vsync=3,de=5,disp=-1,pclk=7,
               data0=14,data1=38,data2=18,data3=17,data4=10,data5=39,data6=0,data7=45,
               data8=48,data9=47,data10=21,data11=1,data12=2,data13=42,data14=41,data15=40)

tft.init(800,480,16,768000,0)  #<< crashes here

I'm sure it's something I'm missing but just in case this is the crash dump:
MPY: soft reboot
Guru Meditation Error: Core  1 panic'ed (InstrFetchProhibited). Exception was unhandled.

 If you want something that is more complete, is actively being worked on and is mostly functional then look here.
https://github.com/kdschlosser/lvgl_micropython
If you are not interested in using LVGL you can compile it using only the bus drivers and if that is what you want to do lemme know and I can tell you hot to do it.

Oh okay thankyou. If you wouldn't mind giving me a few steps on how to use the driver on its own that would be awesome, I was trying to avoid having to go with a full LVGL setup.
Ideally I'm looking to have a buffer or two I can manage with framebuf on the uP side.

What are you using for an MCU??
The reason I ask is I have not yet fully implemented the drivers for all the different MCUs. The ESP32 has the most done so far.

to compile without compiling LVGL with it.
ESP32:
make -C lib/micropython/mpy-cross
make submodules -C lib/micropython/ports/esp32
make -C lib/micropython/ports/esp32 SECOND_BUILD=0 LV_PORT=esp32 BOARD={board} BOARD_VARIANT={board_variant} USER_C_MODULES=../../../../../ext_mod/lcd_bus/micropython.cmake

STM32
for this one you have to delete ext_mod/lvgl/micropython.cmake before compiling
make -C lib/micropython/mpy-cross
make submodules -C lib/micropython/ports/stm32
make -C lib/micropython/ports/stm32 LV_PORT= stm32 BOARD={board} LV_CFLAGS="-DLV_USE_TINY_TTF=0" USER_C_MODULES={absolute_path_to}/ext_mod

RP2:
make -C lib/micropython/mpy-cross
make submodules -C lib/micropython/ports/rp2
make -C lib/micropython/ports/rp2 SECOND_BUILD=0 LV_PORT=rp2 BOARD={board} USER_C_MODULES=../../../../../ext_mod/lcd_bus/micropython.cmake

replace {board} with the board you are compiling for and {board_variant} gets set to the variant. {absolute_path_to} need to be the absolute path to the ext_mod folder.

What are you using for an MCU??
The reason I ask is I have not yet fully implemented the drivers for all the different MCUs. The ESP32 has the most done so far.

I'm working with an ESP32-S3, this is the board if you're curious.
Thank you for the instructions I'll make a build today and let you know how I go.

I have not yet looked at the code for the framebuffer that is built into MicroPython. I have to take a look to see if it can be passed to the bus instance so it will flush the data to the display.

That display is not going to be the most ideal to use if you are using the build in framebuffer in MicroPython. This is because the display you are wanting to use is an RGB display. It has no GRAM on it. So you are going to have to manage 2 frame buffers and when to write to which one and the frame buffer data needs to be copied from one buffer to the other to keep them synchronized. The reason why is you cannot write to a buffer while it is being sent and if you have a blocking send which you can do the issue will be how long it takes you to write to the buffer and then send it again. It's not going to be fast enough and you will end up with anomalies that appear. You are going to want to use DMA memory and 2 buffers to work around that problem.  This is where it gets complicated to keep things synchronized properly and the big issue is MicroPython only uses a single core of the ESP32. The challenge there is if you perform any other tasks in MicroPython it could end up causing tearing of the frames. Everything gets really time sensitive.
I have that exact same display sitting right in front of me. It does work with the driver which is a good thing. You just have to write really efficient code to use it properly.

You are going to need to have the bus driver create the frame buffers. This is done by calling bus.allocate_framebuffer(size, flags) the returned object is going to be a memory view object and that object is going to have a size of 1 until you initialize the bus. we can get into all of that once you get it compiled.

I was wanting to explore displays using more than just SPI. In hindsight I was a bit naive with this one and missed the lack of any internal framebuffer, I'm still pretty green with C on this platform so I wasn't planning to need to manage such high data rates and timing with uP. I might need to do some playing around with it in the ESP-IDF for a while so I can get a bit more familiar with C so I can help contribute.
I know this is heading away from your own project goals but if you're curious I'm thinking of a background task for the bus driver, maybe running on the second core. It would manage the hardware and pumping data from a buffer to the screen at the right rate. On buffers I would have two but let the user manage switching which is currently active. This way the bus driver would always have data available on the active buffer while uP is writing to the other buffer at a slower rate and doesn't need to try and keep up.
I really appreciate your help but I don't want to take up more of your time away from your own projects when all I can do is follow along at the moment.

I would recommend giving LVGL a try with it. All of that stuff is hidden behind the scenes and is done for you. It uses about 2.5Mb of flash storage if you have just about everything turned on in LVGL. With only the Canvas widget which is what you would use for the purposes of rendering the flash use would be down to 1.8 or 1.9 MB or so.
Python is a much easier language to use if learning. it is harder to go from C to python then it is to go from Python to C,  I can tell you that much. LVGL is very good at what it does and you can set it up to use only the features that you want to save on flash space. There are lots of widgets that are already made that you can use or you  can custom render widgets if that is what you want to do.
See here..
https://www.youtube.com/watch?v=NxQ7cLobr_Q
That is a custom rendered widget written in Python using LVGL. You have to excuse the out of focus look of it, that was caused by the screen recorder I used to make the video. They all want to get paid in order to give better recordings. I have yet to find a good screen recorder that is opensource and runs on Windows.

I've been trying to avoid a full blown graphics library but it sounds like it's a much better solution for this board at least. I haven't looked too deeply into the LVGL bindings yet but I'm glad to hear I can work with a slimmed down build if I want to stick with drawing my own screens to start.
I'm not sure if it would suit your needs but Open Broadcast Studio does have an option to save locally.
I'll close this ticket now, thanks again for your help.

You can let LVGL handle the dynamics of the frame buffer and getting it transferred to the display and you can render using your own own code and passing the data to the canvas widget in LVGL.


Runtime Error

Hello Mark, thanks for sharing the model and the exciting paper.
After training and evaluating with the CoNLL04 example, I have been trying with some paper's data. The problem is that with this new data, a RuntimeError appeared: The expanded size of the tensor (566) must match the existing size (512) at non-singleton dimension 1.  Target sizes: [1, 566].  Tensor sizes: [1, 512]
Have you any aidea of this error please ?
Thanks in advance.

Fixed, the problem its because BERT consumes 512 tokens max.


support Scala 2.12

Scala 2.12 support as requested in #4
following libraries are updated as well.

akka 2.4.14
scalatest 3.0.1

Awesome, thanks a lot! 👍


[FEATURE REQUEST] - A setting to not hide trades if window is not focused

It would be a nice optional setting to not hide MercuryTrade messages if Path of Exile window loses focus.

There is an option to not hide mercury trade in general.
Check MercuryTrade.l4j.ini file.
I will add a section in wiki about that

Check new wiki page for more info #wiki


Debug macros cannot be overriden

Hi,
I want to send debug output to Visual Studio instead of being printed in the console.
The problem is that macros like DUK_DEBUG_LOG are defined after duk_config.h and cannot be overriden not DUK_OPT... is available.
Regards,
Mauro.

This is now fixed in master. All debug logs are written through a user-provided debug write macro which can be freely retargeted.


Broken Link

The link under https://docs.microsoft.com/en-us/azure/media-services/media-services-dotnet-get-started#publish-the-asset-and-get-urls-for-streaming-and-progressive-download
That is linked to: http://southworks.com/blog/2015/05/27/reusing-azure-media-services-locators-to-avoid-facing-the-5-shared-access-policy-limitation/
... is broken.

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

ID: ca2f89cc-d993-eed3-ebf0-c7bfaa7716e0
Version Independent ID: fd773e3d-6581-c356-ddd0-f9b609d63d7a
Content: Get started with delivering content on demand using .NET | Microsoft Docs
Content Source: articles/media-services/media-services-dotnet-get-started.md
Service: media-services
GitHub Login: @Juliako
Microsoft Alias: juliako

#fixed in https://github.com/MicrosoftDocs/azure-docs-pr/pull/35162

#please-close

Thanks for the update Juliako. Closing this request out as resolved.

@ttugates ,
We will now close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.

Thanks, just checked and the link is still broken.
If it's somehow fixed in a way with eventual consistency.  Please disregard this.


draft azmgmtatscale

Hi @krnese, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Kristian Nese). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

@krnese : Thanks for your contribution to the Azure documentation! The author, @azdocprs, has been notified to review your proposed change.


400 Value for one of the query parameters specified in the request URI is invalid.

Which version of the SDK was used? 0.14.0
Which platform are you using? (ex: Windows, Linux, Debian) Debian
What problem was encountered? In Azure IoT Central, we use this blob storage SDK to export data to blob storage. In doing so, we make a call to the blob storage SDK to which we pass 2 query params:
GET ?restype=container&timeout=61
For the above URI, we get the following error:
RESPONSE Status: 400 Value for one of the query parameters specified in the request URI is invalid.
But the 2 query params specified in here seem to be valid. Any help here would be greatly appreciated. PS: The storage account to which we are exporting data is not managed by us (IoT Central).
How can we reproduce the problem in the simplest way?
Have you found a mitigation/solution? No

Hello, @sasathy1  - were you able to sort this?


Count query

We should add a count query to the query engine, which we then can expose with Photon. This would be the first step to get to aggregations, however implementing all aggregations is not necessary yet.
We need this e.g. for Prisma Studio.
Related  to https://github.com/prisma/photonjs/issues/5

count is now included on the Prisma server side. Passing this back to you @timsuchanek to wrap up the implementation on the photon side.

I’d suggest the following Photon.js API:
const count: number = await photon.users.findMany({ where: { email: { endsWith<EMAIL_ADDRESS>} } }).count()

const count2: number = await photon.users.find({ where: { id: "42" }).posts().count()

Hi, any update on the issue? You mentioned half a year ago that this is implemented but not yet available on client. The API for count(condition) is greatly missed! Thanks for the amazing effort.

@tomitrescak Please follow #252 for parameterized count queries.


Different shape between input and pretrained model

Hi, I'm looking for generating story from WritingPrompt model. But, it shown an error like below.
RuntimeError: Error(s) in loading state_dict for FConvModelSelfAtt:
        size mismatch for decoder.embed_tokens.weight: copying a param with shape torch.Size([104960, 256]) from checkpoint, the shape in current model is torch.Size([112832, 256]).
        size mismatch for decoder.fc3.weight: copying a param with shape torch.Size([104960, 256]) from checkpoint, the shape in current model is torch.Size([112832, 256]).
        size mismatch for decoder.fc3.bias: copying a param with shape torch.Size([104960]) from checkpoint, the shape in current model is torch.Size([112832]).

I followed instructions from https://github.com/pytorch/fairseq/blob/master/examples/stories/README.md
and ran it with
python generate.py data-bin/writingPrompts --path models/fusion_check point.pt --batch-size 32 --beam 1 --sampling --sampling-topk 10 --temperature 0.8 --nbest 1 --model-overrides "{'pret rained_checkpoint':'models/pretrained_checkpoint.pt'}"
Maybe because different of dataset between existing dataset and the model?

It seems after I preprocessing dataset again the issue is gone.

@ivokun I am having the same issue. DO you mean you've not preprocess the data in the first attempt? or you just did preprocess again and the issue resolved? how?

Got the same problem today. Followed the document already.
Fairseq version: 1.0.0a0+1c0439b
error log:
2021-06-11 12:05:29 | INFO | fairseq.tasks.translation | [wp_source] dictionary: 19025 types
2021-06-11 12:05:29 | INFO | fairseq.tasks.translation | [wp_target] dictionary: 112832 types
2021-06-11 12:05:29 | INFO | fairseq_cli.generate | loading model(s) from ./examples/stories/models/fusion_checkpoint.pt
2021-06-11 12:05:31 | INFO | fairseq.models.fconv_self_att | loading pretrained model
Traceback (most recent call last):
  File "/home/danlu/anaconda3/bin/fairseq-generate", line 33, in <module>
    sys.exit(load_entry_point('fairseq', 'console_scripts', 'fairseq-generate')())
  File "/home/danlu/2021/beam_search/fairseq/fairseq_cli/generate.py", line 404, in cli_main
    main(args)
  File "/home/danlu/2021/beam_search/fairseq/fairseq_cli/generate.py", line 49, in main
    return _main(cfg, sys.stdout)
  File "/home/danlu/2021/beam_search/fairseq/fairseq_cli/generate.py", line 102, in _main
    num_shards=cfg.checkpoint.checkpoint_shard_count,
  File "/home/danlu/2021/beam_search/fairseq/fairseq/checkpoint_utils.py", line 304, in load_model_ensemble
    state,
  File "/home/danlu/2021/beam_search/fairseq/fairseq/checkpoint_utils.py", line 356, in load_model_ensemble_and_task
    model = task.build_model(cfg.model)
  File "/home/danlu/2021/beam_search/fairseq/fairseq/tasks/translation.py", line 365, in build_model
    model = super().build_model(cfg)
  File "/home/danlu/2021/beam_search/fairseq/fairseq/tasks/fairseq_task.py", line 323, in build_model
    model = models.build_model(cfg, self)
  File "/home/danlu/2021/beam_search/fairseq/fairseq/models/__init__.py", line 96, in build_model
    return model.build_model(cfg, task)
  File "/home/danlu/2021/beam_search/fairseq/fairseq/models/fconv_self_att.py", line 126, in build_model
    task=task,
  File "/home/danlu/2021/beam_search/fairseq/fairseq/checkpoint_utils.py", line 304, in load_model_ensemble
    state,
  File "/home/danlu/2021/beam_search/fairseq/fairseq/checkpoint_utils.py", line 358, in load_model_ensemble_and_task
    model.load_state_dict(state["model"], strict=strict, model_cfg=cfg.model)
  File "/home/danlu/2021/beam_search/fairseq/fairseq/models/fairseq_model.py", line 117, in load_state_dict
    return super().load_state_dict(new_state_dict, strict)
  File "/home/danlu/anaconda3/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1052, in load_state_dict
    self.__class__.__name__, "\n\t".join(error_msgs)))
RuntimeError: Error(s) in loading state_dict for FConvModelSelfAtt:
        size mismatch for decoder.embed_tokens.weight: copying a param with shape torch.Size([104960, 256]) from checkpoint, the shape in current model is torch.Size([112832, 256]).
        size mismatch for decoder.fc3.weight: copying a param with shape torch.Size([104960, 256]) from checkpoint, the shape in current model is torch.Size([112832, 256]).
        size mismatch for decoder.fc3.bias: copying a param with shape torch.Size([104960]) from checkpoint, the shape in current model is torch.Size([112832]).

The pre-trained model and the fusion model are downloaded from the stories's readme, and the data was processed as the instruction said. Is the tokenizer/fairseq-preprocess changed?


Hints::indend_level seems to always be 0

Hints::indend_level added in https://github.com/g-plane/markup_fmt/pull/86 appears to always be 0.
I tried to use it in https://github.com/denoland/deno/pull/27164, but for following 2 files I always get value of 0:

<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Demo</title>

Also, would it be possible to use u16 as a return type, instead of usize so cast like this: typescript_config_builder.file_indent_level(hints.indent_level.try_into().unwrap_or(0)); is not necessary?

Using u16 should be okay.


.NET Core Update w/ .NET Standard 1.3

The existing .NET Core update done in #6 created an additional .NET Core only project using netcoreapp1.1. This PR merges in the existing .NET full framework project and moves to netstandard1.3 for .NET Core support. netcoreapp1.1 should not be used for library projects like this. This allows for a single library to be built for nuget that supports both full framework and .NET Core.

I moved the verify methods to use HttpClient and proper Async methods. This allows us to get rid of a lot of #if !NETCORE hacks that were in the project previously. HttpClient is supported in both full framework and .net core and is also the recommended way to perform http actions by Microsoft.

I also fixed some bugs that I found with the original implementation:

The verify method was invoking all 5 API endpoints with every call. This was very inefficient and unnecessary. We now check api, api2, api3... in order only if the previous one fails due to timeout or some other exception.
Null reference when all API endpoints fail/timeout

Cleaned up some code that was not being invoked (or didn't need to be invoked, rather).

Thanks!
The reason for the verify calls happening in parallel is to only get the fastest response, then cancel the rest. The validation servers are geographically distributed to allow for this. Could you back out that change from this pr?

Ok, so effectively it will issue 5 http gets with every validate?
On Wed, Aug 2, 2017 at 4:34 AM Klas Lindfors<EMAIL_ADDRESS>wrote:

Thanks!
The reason for the verify calls happening in parallel is to only get the
fastest response, then cancel the rest. The validation servers are
geographically distributed to allow for this. Could you back out that
change from this pr?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Yubico/yubico-dotnet-client/pull/8#issuecomment-319606444,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABIsICofK1LkvXON2FLE79IBnbzFgv7Nks5sUDSmgaJpZM4OqP5f
.

--
Kyle

Yes, I guess we can add a setting to change that behaviour if it's not desirable. Other yubicloud server libraries do similar things, querying all servers and then cancelling the requests once one has returned success.

I can add it back. It just seemed excessively spammy to your servers. Even
though the request responses are canceled on the client they still get
issued as requests to each server. If that's fine with you guys, it's fine
by me.
A better solution (in my opinion) might be to look into adding a single
traffic manager endpoint that can route the DNS based on geo location. Then
you wouldn't have to do this.
On Wed, Aug 2, 2017 at 8:18 AM Klas Lindfors<EMAIL_ADDRESS>wrote:

Yes, I guess we can add a setting to change that behaviour if it's not
desirable. Other yubicloud server libraries do similar things, querying all
servers and then cancelling the requests once one has returned success.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Yubico/yubico-dotnet-client/pull/8#issuecomment-319655422,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABIsIAmoolF-HqSpI-mMApoxiZLmBDlZks5sUGkqgaJpZM4OqP5f
.

--
Kyle

I can add it back. It just seemed excessively spammy to your servers. Even
though the request responses are canceled on the client they still get
issued as requests to each server. If that's fine with you guys, it's fine
by me.

Yeah (and thanks for the concern)

A better solution (in my opinion) might be to look into adding a single
traffic manager endpoint that can route the DNS based on geo location. Then
you wouldn't have to do this.

Agreed, unfortunately not where we are with the service now. There are
internal talks going on what this service will look like going forwards.

@klali Updated.


Missing information about issues nag banner

Page Affected: https://developers.google.com/web/tools/chrome-devtools/issues
What needs to be done?
Explain how to disable the notification banner.

Hi! Thanks for the feedback, this sounds like a Chrome issue. If you're still seeing it, would you please file a bug with Chrome at https://new.crbug.com

It seemed like a new feature and I found a lot of information on it on that page, that's why I assumed that part should be explained there as well. The entire new feature seemed to be behaving as designed. Not having any option to dismiss the bar seemed intentional. I just can't find where to disable it.
That link results in a certificate issue error in my browser btw. But I know how to file bugs for Chromium anyway :) Thanks

Reported at https://bugs.chromium.org/p/chromium/issues/detail?id=1112684


Non-deterministic

It seems like I've run into some sort of non-deterministic behavior.
My query looks like this:
{ echo '"score"' \
  & xsv select score1 scores.txt | tail -n +2 \
  & xsv select score2 scores.txt | tail -n +2; } \
  | xsv frequency -s score -l 0 \
  | xsv sort --numeric -s value

Essentially, I'm creating a histogram from a list of scores.
Here is partial output from run 1:
$ ./scores.sh
field,value,count
score,0,28051
score,1,45988
score,2,57073
score,3,60151
score,4,55674
score,5,47914
score,6,38768
score,7,29810
score,8,21805
score,9,15635
score,10,10965

Here is partial output from run 2:
$ ./scores.sh
field,value,count
score,0,28050
score,1,45988
score,2,57070
score,3,60150
score,4,55673
score,5,47912
score,6,38768
score,06,1
score,7,29810
score,8,21805
score,9,15633
score,10,10965

Notice that some of the counts are different, and also there seems to be a weird value "06".
scores.txt
$ xsv --version
0.13.0

You appear to have a bug in your script.
You want && not & to separate your two invocations of xsv.
{ echo '"score"' \
  && xsv select score1 scores.txt | tail -n +2 \
  && xsv select score2 scores.txt | tail -n +2; } \
  | xsv frequency -s score -l 0 \
  | xsv sort --numeric -s value

Ah yes, my bash scripting is a bit rusty. Thanks!


Fix issue found in end-game

Remove extra dots in plugin prompt information, for issue #532
Remote hyper link from TimeTrigger help message, for issue #531

Codecov Report

Merging #534 into develop will not change coverage.
The diff coverage is 50%.

@@           Coverage Diff            @@
##           develop     #534   +/-   ##
========================================
  Coverage    42.75%   42.75%
========================================
  Files           63       63
  Lines         2304     2304
  Branches       288      288
========================================
  Hits           985      985
  Misses        1248     1248
  Partials        71       71

Impacted Files
Coverage Δ

...va/com/microsoft/azure/maven/function/AddMojo.java
60.45% <50%> (ø)
:arrow_up:

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 879815c...4c30bbe. Read the comment docs.


Update dependencies and remove Coffeescript

bundle update

Fix potential security vulnerability in redcloth < 4.3.0
Update other dependencies

Convert Coffeescript to Javascript (thanks to ☕ decaffeinate)

Looks good @josh-
To be honest, I only did the javascript in Coffeescript because I know it annoys @hugomd 😅

(p.s. also, we may be switching to a react thingy so....)

Very keen for that! Sorry was just a big triggered seeing the GitHub security vulnerability warning & seeing any .coffee in repos I contribute to 🤣


Improving performance by adding multithreading support

Hi there,
As some of you may have experienced, currently the UnityGLTF library blocks the main thread when importing models containing complex geometry and/or textures. Although the coroutine approach is used in the project, sometimes multithreading may be a better solution as it provides a non-blocking behavior as well as better performance (in some situations).
Implementation
I noticed a parameter isMultithreaded in GLTFSceneImporter.LoadScene that is never actually used, changed it to a public field and used it as the switch. I put some presumably time-consuming work on other threads (rather than the main thread), which includes LoadStream, ParseJson, stream.Read, buildMeshAttributesThread, and GLTFHelpers.BuildMeshAttributes.
I have to change the ILoader interface to add support for non-coroutine based LoadStreamSync method, as coroutine methods cannot be easily executed on threads and doesn't really make sense for created threads anyway. I also have to change the signature of ParseJson in GLTFParser.cs to make it thread-friendly.
Performance
HUGE frame rate increase for certain models containing complex geometry and/or textures. I observed up to 500% fps increase for this model on a Windows desktop computer. In general, it should increase your fps and/or decrease the main thread freezing time. It should not make any tangible negative impact to the loading time, if no faster loading is observed.
Comparison Chart

Model 1: Complex link
Model 2: Complex link
Model 3: Simple link
Model 4: Simple link
Test performed 3 times for each model and each importer (original vs proposed).
Test machine: Windows 10 64 bit, i7 7700K, GTX 1070, SSD.
Limitations
As mentioned in #9, Texture2D.LoadImage is slow and there's no obvious way around it. Same with Texture2D.Apply.
Unity Job System?
The recently introduced Unity Job System seems good, but currently it is still limited in a number of ways. Also, I don't believe it is very backward compatible.
Reference: #216

@blgrossMS It seems like the CI is failing due to some configuration problems... Could you maybe take a look at it?

Yup I just have to merge master, I fixed it there

Cool, let me know if you need anything from me.


Add support for aborting assembly upload

It would be convenient to be able to stop current uploads, for example for a user unintentionally selected the wrong file to upload. A possible interface for this could be designed as seen below. Notice how a second thread is spawned which then cancels the upload after a short timeout. This solves the issue that Assembly#save is a blocking call. However, implementing such a solution requires create care to ensure thread safety!
As a final consideration, we should discuss whether cancelling an upload should also cancel the assembly, by default, using the DELETE endpoint (https://transloadit.com/docs/api-docs/#cancel-an-assembly)
Assembly assembly = transloadit.newAssembly();

assembly.addStep("encode", "/video/encode", new HashMap());
assembly.addFile(new File("LICENSE"));

Thread timeoutThread = new Thread(new Runnable() {
    public void run() {
         Thread.sleep(3 * 1000);
         assembly.abort(); // or maybe stopUpload
    }
});
timeoutThread.start();

AssemblyResponse assemblyResponse = assembly.save();

What are your thoughts?

this is now fixed with the AsyncAssembly feature


Outline: only match nodes that are immediate siblings

This prevents @tool to be matched against every variable in a script.
Fixes #23

Thank you very much for your contribution! I'm sorry, but I was working offline and pushed a fix for this little after you made this PR, it seems. I didn't get to see it beforehand.
So I'll close this but still, I really appreciate you taking the time to help!


cmd/go: run does not support Go scripts without .go extension

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.10.3 darwin/amd64
Does this issue reproduce with the latest release?
It gives a different error.
ijt:~/gopath/src/github.com/google/go-cloud/samples/guestbook/gcp$ go run deploy
go run: no go files listed

ijt:/tmp$ go1.11beta1 run hi
package hi: cannot find package "hi" in any of:
        /Users/issactrotts/sdk/go1.11beta1/src/hi (from $GOROOT)
        /Users/issactrotts/gopath/src/hi (from $GOPATH)

What operating system and processor architecture are you using (go env)?
I don't think this matters.
What did you do?
ijt:/tmp$ cat hi
package main

import "fmt"

func main() {
        fmt.Println("hi")
}
ijt:/tmp$ go run hi

What did you expect to see?
hi

What did you see instead?
go run: no go files listed

I'm going to ask the perhaps obvious question - why do you need this? In general, all Go files should have the .go extension. This will work nicely with other tools, such as gofmt -l -w . formatting the file, or go vet catching errors if there are any.
If you're having issues because this file is a package main file in an already existing package, consider using // +build ignore instead. This is what go/types uses with its gotype.go executable.
Having said all that, I agree in a way that go run doesn't need to be strict about this. But I wonder if there's really a need to change how it works.

This look intentional. It's even explicitly documented:
$ go help run

Run compiles and runs the main package comprising the named Go source files.

[...]

Correction: on tip the doc has been changed to:
$ gotip help run

Run compiles and runs the named main Go package.
Typically the package is specified as a list of .go source files,
but it may also be an import path, file system path, or pattern
matching a single known package, as in 'go run .' or 'go run my/cmd'.

@mvdan, need is a strong word for it, but go run is meant to support running Go programs as scripts.
The Google Style Guide for bash scripts says it's strongly preferred to not have a filename extension on the scripts. Here's some discussion of the topic on an Ubuntu forum: https://askubuntu.com/questions/503127/should-i-save-my-scripts-with-the-sh-extension.
Python allows this:
ijt:/tmp$ cat hi
print "hi"
ijt:/tmp$ python hi
hi

So does Bash:
ijt:/tmp$ cat hi
echo "hi"
ijt:/tmp$ bash hi
hi

So does Perl, and it's recommended for perl as well.
The point is that it should be possible to run one of these Go scripts like it's a program, and whoever runs it shouldn't have to care what language it's written in if it has a shebang line (or Go's equivalent).

Go is not a scripting language, and go run isn't meant to emulate scripts. go run is a simple helper for building a set of files in a temporary place and running it.
That there are no "Go scripts" is especially obvious due to the fact that shebangs are not supported, intentionally.
The issue tracker is filled with discussions about the lack of shebang support, which ties into the whole "there's no Go scripting" issue.
Finally, supporting this syntax would preclude adding support for go run <import path>, which has come up before and is still potentially on the table.


[SPAppManagementServiceApp] Resource does not create proxy afterwards

Details of the scenario you tried and the problem that is occurring
When the Service App Proxy isn't created during deployment, this isn't created anymore at a later stage
Verbose logs showing the problem
N/A
Suggested solution to the issue
Update resource to check for the presence of the proxy and create it when not present.
The DSC configuration that is used to reproduce the issue (as detailed as possible)
N/A
The operating system the target node is running
Win 2K16, PSv5.1
Version of SharePoint that is used (e.g. SharePoint 2016)
All
Version and build of PowerShell the target node is running
v5.1
Version of the DSC module that was used ('dev' if using current dev branch)
Dev

Will be included in my next bugfix PR


Feat/add multiple file support for delete components command

Pull request type
Jira Link: -

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Other (please describe):

How to test this PR

Run the command with a single file:

node src/cli.js delete-components components/blog-post-123456.json  --space 123456

Run the command with multiple files:

node src/cli.js delete-components components/blog-post-123456.json,components/hero-text-123456.json  --space 123456

Run with all possible options

What is the new behavior?

similar to the push-components command this pr adds the possibility to use multiple files (like created by --seperate-files flag for pull-components) for the delete-components command

Other information

Changes moved to this PR: https://github.com/storyblok/storyblok-cli/pull/46


Feature: Expose reload function for ProxyComponent on $$ allowing bespoke hot reloading support.

Hi @rixo / @dominikg,
I'd like to find out if at all possible that the reload mechanism associated with ProxyComponent could be exposed on $$ / internal API; perhaps name it hmr_reload. A use case just presented itself for the platform that I deliver my Svelte UI framework on as things go. This is a TTRPG / VTT / Foundry VTT. They just enabled custom hot reloading for data files including localization / i18n. I can easily tap into the platforms hot reload callback and reload the mounted Svelte component with access to the reload function that currently is only used for import.meta.hot internally to svelte-hmr otherwise it is not accessible.
It should be noted that I simply expose the reload method on ProxyComponent for this proof of concept demo. Ideally it would be exposed on $$ though as internal API.
Thanks for your work on this package. I can see bespoke hot reloading made possible with this one adjustment and I know all the devs using my UI framework would like to have hot reloading for language / i18n data changes.
Here is a video demoing hot reload for i18n by modifying a language / translation JSON file on Foundry + my Svelte UI framework:
https://user-images.githubusercontent.com/311473/227505519-f87a42fd-7163-4795-82b3-987dbca33775.mov

I have created / tested a PR that exposes the ProxyComponent reload function on internal API at component.$$.hmr_reload. It is rather useful to be able to reload Svelte components in a bespoke manner beyond just HMR use cases provided by svelte-hmr. In this case I can utilize the PR changes to provide automatic reloading for a deployment platforms (FoundryVTT) i18n / localization changes that have an independent hook / event.
It would be great to discuss the use case for bespoke hot reloading beyond just HMR.

Given discussion on the Svelte Discord I got informed about the proxy.$$.hmr_cmp.$replace way of replacing / reloading a proxy instance. This issue is resolved and associated PR is unnecessary. Thanks to Rixo / Dominik for the help and willingness to engage!
For those that this might help as of Svelte v3 here is how to replace / reload a ProxyComponent instance when running the Vite dev server w/ svelte-hmr. This is my full / actual solution, so just take note of the appShell.$$.hmr_cmp and $replace section:
if (import.meta.hot)
{
   Hooks.on('hotReload', (data) =>
   {
      // Only handle JSON hot reload presumably specified in package manifest for language translation files.
      if (data?.extension === 'json')
      {
         // Postpone until next clock tick to allow Foundry to update localization first.
         setTimeout(() =>
         {
            for (const app of TJSAppIndex.values())
            {
               const appShell = app.svelte.applicationShell;

               // Retrieve the original `svelte-hmr` instrumented HMR component / not the proxy.
               const hmrComponent = appShell?.$$?.hmr_cmp;

               if (appShell && typeof hmrComponent?.$replace === 'function')
               {
                  const svelteData = app.svelte.dataByComponent(appShell);
                  if (svelteData)
                  {
                     try
                     {
                        // Replace with self; this will invoke `on_hmr` callback in associated SvelteApplication.
                        hmrComponent.$replace(hmrComponent.constructor, {
                           target: svelteData.config.target,
                           anchor: svelteData.config.anchor,
                           preserveLocalState: true,
                           conservative: true
                        });
                     }
                     catch (error)
                     {
                        const name = hmrComponent?.constructor?.name ?? 'Unknown';
                        console.error(`TyphonJS Runtime Library error; Could not hot reload component: '${name}'`);
                        console.error(error);
                     }
                  }
               }
            }
         }, 0);
      }

      return true;
   });
}


Added rake task to filter brakeman output to specific fingerprints

Resolves #50

@joshpencheon I've used the Text reporter directly to get the same output as vanilla command line brakeman (plus the fingerprint).

Will merge, and resolve any issues on master.


using TIME in light shader enables uses_fragment_time

The GLES3 shader compiler performs certain checks to enable or disable
the usage of certain uniform variables (and with that the set-up of UBOs).
If the TIME variable gets used inside the vertex function then the
renderer knows that it has to insert that value into the UBO.
The same applies to the fragment function.
The light function gets executed inside the fragment shader for every
light source that is relevant to the current pixel. If the TIME variable
gets used in that function then it needs to be present in the fragment-UBO.
The check for this was missing, so if a shader uses TIME inside light
but not inside fragment then the uniform will not actually be set up.

This commit also makes use of the fragment_name, vertex_name and light_name members instead of hardcoded strings.

cc @reduz


Consider making widget loading lazy in lab?

Thanks again for this extension!
Another thing I noticed while looking into #23: once enough heavy labextensions are loaded in lab2, the build can start failing because webpack runs out of RAM/open file handles.
Changing the exports when registering the extension to be lazy loading with await import allows the downloading of the widget (and dependencies) to be deferred until the widget is actually requested, and not block the moon animation.
In this case, it knocks 7mb off the main bundle in development (already 30mb), while similarly taking 600kb off the production build (4.5mb)
diff --git a/js/src/plugin.ts b/js/src/plugin.ts
index ca5e534..938fe5b 100644
--- a/js/src/plugin.ts
+++ b/js/src/plugin.ts
@@ -18,7 +18,6 @@ import {
   IJupyterWidgetRegistry,
 } from "@jupyter-widgets/base";

-import * as widgetExports from "./widget";

 import {
   MODULE_VERSION,
@@ -44,7 +43,7 @@ export default examplePlugin;
  */
 function activateWidgetExtension(app: Application<Widget>, registry: IJupyterWidgetRegistry): void {
   registry.registerWidget({
-    exports: widgetExports,
+    exports: async () => await import(/* webpackChunkName: "ipyregulartable" */ "./widget"),
     name: "ipyregulartable",
     version: MODULE_VERSION,
   });
diff --git a/js/tsconfig.json b/js/tsconfig.json
index 71bc63b..03397b3 100644
--- a/js/tsconfig.json
+++ b/js/tsconfig.json
@@ -3,7 +3,7 @@
     "declaration": true,
     "esModuleInterop":true,
     "lib": ["es2015", "dom"],
-    "module": "commonjs",
+    "module": "esnext",
     "moduleResolution": "node",
     "noUnusedLocals": true,
     "outDir": "./lib",
@@ -13,11 +13,11 @@
     "sourceMap": true,
     "strict": true,
     "strictPropertyInitialization": false,
-    "target": "ES6",
+    "target": "es2015",
     "types": ["jest", "node"]
   },
   "include": [
     "src/**/*.ts",
     "src/**/*.tsx",
   ]
-}
\ No newline at end of file
+}

im ok with this


Confirm release belongs to HR before upgrading

Before this change, when a user would create multiple HelmReleases
with the same release name configured, the operator would attempt
to upgrade the release indefinitely.
To overcome this issue, the operator now injects the resource ID
of the HelmRelease into the description of the release and confirms
this value equals the resource ID of the HelmRelease it is going to
run an upgrade for. If the value diverges, the status of the
HelmRelease is updated to make it visible to the user and a message
is logged.
For backwards compatibility, and to be able to migrate existing
releases to a HelmRelease, we see empty descriptions as a positive.
Fixes #2101

A minor suggestion, that need not hold this up: to make the description more readable, in case a human looks at it, could that be "Owned by: "+fhrResourceID perhaps.

After running some tests I came to the conclusion it needs further tweaking, as in case no description is given, Helm will write its own description (<task> complete) and to make it even more fun, we will also have issues when a user performs a rollback as this will result in a Rollback to <version> description.
As these messages are simple strings in the Helm code base (and not public constants as I hoped they would be), writing (and maintaining) logic based on this does not seem preferable to me.
The other option I could think of to fix this problem is the flux.weave.works/antecedent annotation we patch all resources with after a successful install/upgrade.


Fix template/package.json to a specific version of Electron

The Electron docs recommend referencing a specific version of Electron, as Electron does not follow Semantic Versioning:
http://electron.atom.io/docs/tutorial/electron-versioning/

@JanCVanB

http://electron.atom.io/docs/tutorial/electron-versioning/
If you are using electron or electron-prebuilt, we recommend that you set a fixed version number (1.1.0 instead of ^1.1.0) to ensure that all upgrades of Electron are a manual operation made by you, the developer.

Thanks for the PR, but I'll have to reject this (sorry). This falls into the category of what the developer should do with their app. electron-vue is purely a template and should always provide the latest version of its dependencies. Defining a fixed version would mean you would have to continually update the template every time a new release comes out. This might be worth noting within the documentation though.

Understood - do you have any plans to upgrade the template's dependencies soon, considering Electron's on v1.4.5?

@JanCVanB
There's no current need to manually update dependencies at this time since nearly all use the Caret notation. In other words, since electron is set to use ^1.3.1, npm knows to look for the latest 1.x.x release. Running a npm ls electron on a freshly scaffolded project of electron-vue will show that the electron version is already at 1.4.5.

Caret Ranges
Allows changes that do not modify the left-most non-zero digit in the [major, minor, patch] tuple. In other words, this allows patch and minor updates for versions 1.0.0 and above, patch updates for versions 0.X >=0.1.0, and no updates for versions 0.0.X.
-- npm docs


Remove undeclared scatter variable test

This is now a WDL4S validation unit test, so we don't need to recheck it in centaur.

:+1:


 The exception message is 'Object reference not set to an instance of an object.'. See server logs for more details. The exception stack trace is: </p>
      <p>   at Exelon.Web.WebServices.OpowerService.GetOpowerToken() in D:\a\1\s\Exelon.Web.WebServices\Services\OpowerService.svc.cs:line 516
   at SyncInvokeGetOpowerToken(Object , Object[] , Object[] )
   at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
   at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)</p>
    </div>
  </body>
</html>

I compared this to what I see in the browser and I can't see anything specific with the request that jumps out at me immediately. I'm going to go over it more closely and see if I can figure it out but just wanted to post this here if the server side callstack is recognizable to you as something you had seen before.

I figured out the issue with this, I have multiple BG&E accounts, so instead of landing on the dashboard I land on an account selection page. So instead of:
if not resp.request_info.url.path.endswith("dashboard")

I needed
if not resp.request_info.url.path.endswith("dashboard") and not resp.request_info.url.path.endswith("select-account")

I then needed to send a request to set which account I was viewing in the login flow:
            async with session.post(
                "https://"
                + cls.login_domain()
                + "/api/Services/AccountList.svc/ViewAccount",
                json={
                    "accountNumber": account_number,
                },
                headers={"User-Agent": USER_AGENT},
                raise_for_status=True,
            ) as resp:
                result = await resp.text(encoding="utf-8")

I did not see a service request that returned the account numbers in the standard /api/Services/* paths, but there was one in a "/.euapi/mobile/custom/auth/accounts" path. Unfortunately, that didn't seem to easily work, so I'm guessing there is some additional auth or something that would need to take place to get the account number there.
I wonder if it would be easier to just accept the account number as an optional configuration param via home assistant, etc.

There was an API endpoint that showed the account number was null (/api/Services/MyAccountService.svc/GetSession), so it may be possible to detect this in multi-account scenarios. I'm not sure what the API endpoint shows for a single account, if it already has an accountNumber value or not.

If you select an account, does the opower access token give you access to all the accounts? If it does, https://github.com/tronikos/opower/pull/2 should already support all customers and you just have to pick the first account.
For a single account /api/Services/MyAccountService.svc/GetSession returns:
{
  "username": "XXX",
  "encryptedUsername": "XXX",
  "accountNumber": "XXX",
  "customerNumber": "XXX",
  "customerName": "XXX",
  "primaryEmail": "XXX",
  "token": "XXX",
  "isResidential": "True",
  "id": "XXX",
  "encryptedUID": "XXX",
  "dc": "c"
}

Yeah I get:
{
    "username": "XXX",
    "encryptedUsername": "XXX",
    "accountNumber": null,
    "customerNumber": "XXX",
    "customerName": "XXX",
    "primaryEmail": "XXX",
    "token": "XXX",
    "isResidential": "True",
    "id": "XXX",
    "encryptedUID": "XXX",
    "dc": "e"
}

Until I submit the ViewAccount request, the one is filled in.
The demo.py implementation only seems to output a single customer/forecast. I lived in the house/had the old account almost 5 years ago though so it's possible it just doesn't show anything. Maybe if I had two active accounts the fix in #2 would just be working, I'm not sure.
I tried passing the "old" account number to the ViewAccount request, and I ended up with an HTTP Forbidden farther along, so my guess is that I have to set the "new"/"good" account number to get this to work and I won't get the old info in the list.
I am not sure if this is BGE specific, especially the ".euapi" stuff. I was able to get that request to work, it just used a bearer authorization header with the token value from GetSession. I pushed my fix for BGE at least in #25 if you want to take a look.

Re-opening this discussion... a peek at the exelon.py code seems to confirm my experience that when you have multiple accounts, home assistant will only choose the first one to set up. Was this a conscious choice or perhaps an oversight? I would love for the integration to pick up both of my accounts, and I assume anyone with multiple account would as well - or at least be able to choose which account the integration sets up.


Fixes #512; fix strand color picker

JS bindings were not setup properly so function name was not
recognized by dart2js compiled code

After we merge to master, we should merge master to dev so that dev will also get this fix, as well as add version 0.12.2 to list of scadnano links

I will also need to manually deploy v0.12,2 because the Github Actions for automatically deploying new versions have not been pushed to master yet.


Function is_known() not working as expected (missing word when a rule is active)

Summary
The case happens when a word can be decomposed without being in the dictionary (here because of a rule).
from simplemma import lemmatize, is_known
Legacy
>>> lemmatize("Bergungen", lang="de")
'Bergung'
>>> is_known("Bergungen", lang="de")
True

Current state
>>> lemmatize("Bergungen", lang="de")
'Bergung'
>>> is_known("Bergungen", lang="de")
False
>>> is_known("Bergungen", lang="de", greedy=True)
False

Trying to debug
>>> from simplemma.strategies.dictionary_lookup import DictionaryLookupStrategy
>>> d = DictionaryLookupStrategy()
>>> d.get_lemma("Bergungen", "de")
>>> d.get_lemma("Berge", "de")
'Berg'

Problem
The word "Bergungen" is in the original input list and it can be lemmatized so it is "known". It is already present in the previous package versions. The result should be comparable to "Berge", i.e. something is found.
Also, the greedy option doesn't do anything (although there are rules that can be applied here).
Suggestions:

Since there is a rule with the words in -ung they are not part of the dictionary file anymore to save some space. So this is an issue with the way language dictionaries are created, or we should apply rules to is_known() on top of the dictionary.
Get rid of greedy argument for is_known() ?

@juanjoDiaz What do you think?

Hi @adbar ,
The is_known function only look if the word is in dictionary.
This is how it always worked (even before the refactoring to classes).
And you are right. The greedy option can be removed as it does nothing.
But that would change as soon as we apply all the the strategies.
We have 2 options:
Option 1: Keep is_known and apply all the rules as they are.
Option 2: Remove the is_known function from the Lemmatizer class and remove the fallback_strategy protocol and it's use in the lemmatize method.
This means that, when a lemma is not found, None will be returned and the user can decide how to act on it.
At the moment, the default fallback_strategy move the word to lowercase for certain languages, although I'm not sure how necessary this is.
We can, of course, keep the legacy is_known function.
I like the latter, as it simplifies things.
However, I'm not sure of the impact of removing the lowercasing.
What do you think?

It turns out I actually use is_known() so it was a mistake to alter its functioning. It can be useful to know if a token is a dictionary word or not. If we just apply rules we save space but we treat nonsensical words the same as dictionary words.
Rules
The rules were first about extending coverage, there are not meant to save space, there are other means for that, see #72 (using binary strings instead of strings in particular). So I'd be in favor of these changes:

Skip rules during dictionary pickling, i.e. remove this condition
https://github.com/adbar/simplemma/blob/6049223c9d06ec32c5ec01d8e20390bb5b125e97/training/dictionary_pickler.py#L81
Save space by converting the dictionaries to bytestrings before pickling and words to bytestrings (str.encode("utf-8")) before checking the dictionaries, these steps should be enough (?)

Pickling, possibly here
https://github.com/adbar/simplemma/blob/6049223c9d06ec32c5ec01d8e20390bb5b125e97/training/dictionary_pickler.py#L118
Queries, within this function
https://github.com/adbar/simplemma/blob/6049223c9d06ec32c5ec01d8e20390bb5b125e97/simplemma/strategies/dictionary_lookup.py#L29

is_known()
Then we could keep the function but make it simpler:

Simplify it further (not sure how, it's already an alias to the dictionary lookup)
Remove the greedy argument since it has no effect in this context

@juanjoDiaz Would you be interested in implementing part of these changes?
And by the way to you want/need write access to the repository? I already added you as co-author in the text since the sum of your contribution is highly significant.
Maybe you also want to work on the documentation which I recently (finally) made available.

It turns out I actually use is_known() so it was a mistake to alter its functioning. It can be useful to know if a token is a dictionary word or not. If we just apply rules we save space but we treat nonsensical words the same as dictionary words.

Makes sense.
However, the more I think about it, the more I think that we should remove the is_known function from the class and just leave the helper function calling the dictionary lookup strategy directly.

Skip rules during dictionary pickling, i.e. remove this condition
simplemma/training/dictionary_pickler.py

We can definitely do that.
It would grow the dictionaries, but it would make matching of these terms faster and improve the is_knownfunction.

Save space by converting the dictionaries to bytestrings before pickling and words to bytestrings (str.encode("utf-8")) before checking the dictionaries, these steps should be enough (?)
Pickling, possibly here
simplemma/training/dictionary_pickler.py
Queries, within this function
simplemma/simplemma/strategies/dictionary_lookup.py

This sounds good.
We should do some tests to check how much is that savings.
And what the performance impact of converting every incoming token to match to bytestring to do the comparison.
Just to be sure.

is_known()
Then we could keep the function but make it simpler:
Simplify it further (not sure how, it's already an alias to the dictionary lookup)
Remove the greedy argument since it has no effect in this context

Let's do this.
I think that we should remove it from the class and keep the function just as an alias to the dictionary lookup without the greedy option.

@juanjoDiaz Would you be interested in implementing part of these changes?

Sure. I can do this once we align on the way forward.

And by the way to you want/need write access to the repository? I already added you as co-author in the text since the sum of your contribution is highly significant.

Thanks! I appreciate you giving me credit.
I probably don't need the access.
But it's probably good to have more than one person with access.
And I think that it would allow me to add a link to the docs in the repo side bar and things like that.

Maybe you also want to work on the documentation which I recently (finally) made available.

Sure thing!
I'll comment on this on the issue about the docs 🙂

Let's work on your PR now (I just had one comment) and break the other points apart in new issue threads (changes in dictionary pickler and tests for binary string).


[WIP] combined Uniquify and LowerTypes pass

Contributor Checklist

[ ] Did you add Scaladoc to every public function/method?
[ ] Did you update the FIRRTL spec to include every new feature/behavior?
[ ] Did you add at least one test demonstrating the PR?
[ ] Did you delete any extraneous printlns/debugging code?
[ ] Did you specify the type of improvement?
[ ] Did you state the API impact?
[ ] Did you specify the code generation impact?
[ ] Did you request a desired merge strategy?
[ ] Did you add text to be included in the Release Notes for this change?

Type of Improvement

API Impact

Backend Code Generation Impact

Desired Merge Strategy

Release Notes

Reviewer Checklist (only modified by reviewer)

[ ] Did you add the appropriate labels?
[ ] Did you mark the proper milestone (1.2.x, 1.3.0, 1.4.0) ?
[ ] Did you review?
[ ] Did you check whether all relevant Contributor checkboxes have been checked?
[ ] Did you mark as Please Merge?

Since you're taking a hard look at Uniquify (thanks!) I've had two recent thoughts about this that may be worth considering as part of a refactor. These can obviously be future work, though:

Have you considered how uniquification should work for memories? If ReplSeqMem runs, then the memory is blackboxed and there's no way for the readers/writers/readwriters to enter the namespace. If ReplSeqMem doesn't run, then the memory is lowered in the Verilog emitter to an unpacked array which can produce Verilog that doesn't preserve the Uniquify invariance. This can be trivially fixed by adding all addresses in a memory to the namespace, but this has drastic performance implications: https://github.com/freechipsproject/firrtl/pull/1549, However, this has enormous performance implications, which leads to point question (2).

Have you considered using a data structure other than a set to store the namespace? Uniquify already has big problems with large vecs, but this is exacerbated if memories enumerate their addresses. E.g., s"""output out: UInt<1>[${BigInt(2).pow(22)}]""" takes 2 minutes to uniquify. It seemed like this could be remedied by switching to a tree of prefixes instead of a flat Set[String]. The numeric prefix would need to be something like an interval tree (so that you can quickly query if some index or range overlaps with the existing namespace). I got as far as realizing this would need a self-balancing tree (as numeric signals appear sequentially in a circuit, e.g., _T_1, _T_2, ...) and stopped.

1. Have you considered how uniquification should work for memories?

I did add uniquification for memory ports with this PR, but after thinking about this a bit more and talking to Jack, I think I am going to remove it in the final version of this PR. In general I have come to believe that all that the new LowerTypes pass needs to do is to rename things in such a way that it does not create any conflicts.
As a secondary concern I am trying to rename things exactly the way that Uniquify does for now in order to make regression testing much easier.
I have to admit that I never quite understood your concerns in #1549. Since we do emit memories as arrays, there is no need to treat them like bundles where you could have conflicts with the suffixes _0, _1 ...
I have not tried changing the Namespace data structure used for the renaming, but changing that is almost orthogonal to the changes in this PR. For large vectors as in your example we might want to consider emitting them as Verilog arrays at some point, thus completely removing the need to rename them. Verilog arrays have to problem that they are only supported inside a module, however: 1) I think many large Vectors will not be part of a Module's port 2) we can come up with a standardized way to lower them once they are part of a module's ports, i.e., we would unpack and repack them when going through module boundaries.

superseded by #1784


[FEAT]: Dashboard (Type of Credentials & issued Counts), Total Credentials Issued

2 boards - one is the current set, powered by DB queries - this is used to showcase that multiple metrics can be displayed.
The other board will be powered by data emit from RC, and will be simple (for now) - only one metric, maybe (no. or creds issued). This is used to illustrate the emit capability + reporting from it.
We'll need to update the current board to reflect the new credentials though. 3 new disability creds + split by gender + split by board
Mobile Figma Link

@chaitrali-r to update the details.


syfy west guide is wrong

Guide
https://iptv-org.github.io/epg/guides/us/directv.com.epg.xml.gz
Description
Sorry about my English. Something is really wrong with SYFY WEST. When I watched the cable on my Televizo, I saw the guides showing Grimm T2 - Ep 16 but the movie come on the screen showing Twilight Zone. I checked the TV Guide and see that the East time is actually The twilight Zone. Please fix the WEST correctly. Yes, its on cable for my PC. Thanks.

There is no SyFy West in this guide, only the Eastern feed:
https://github.com/iptv-org/epg/blob/af9414b5bf3baf00c208f2d2eba550a28850aae2/sites/directv.com/directv.com_us.channels.xml#L297-L299

There is no SyFy West in this guide, only the Eastern feed:
https://github.com/iptv-org/epg/blob/af9414b5bf3baf00c208f2d2eba550a28850aae2/sites/directv.com/directv.com_us.channels.xml#L297-L299

My apology.. Its there in:
https://iptv-org.github.io/epg/guides/us/tvtv.us.epg.xml.gz

Can you write and add SYFY Pacific to EPG ?


[BUG] Resources$NotFoundException for drawable when decompile and build apk

Information

Apktool Version (apktool -version) - 2.6.1
Operating System (Mac, Linux, Windows) - Ubuntu 22.04
APK From? (Playstore, ROM, Other) - Pulled from the mobile device
Java Version (java --version) - 17.0.10

Stacktrace/Logcat
FATAL EXCEPTION: main
                      Process: com.boozt, PID: 5265
                      a2.e: Error attempting to load resource:
                       at ii0.t.C0(Unknown Source:314)
                       at ed0.k1.s(Unknown Source:226)
                       at zh0.a.G(Unknown Source:301)
                       at zh0.a.F(Unknown Source:61)
                       at lg.e.invoke(SourceFile:6)
                       at lg.e.invoke(SourceFile:1)
                       at w0.d.invoke(SourceFile:7)
                       at na0.e.j(Unknown Source:46)
                       at j0.a.invoke(SourceFile:80)
                       at j0.a.invoke(SourceFile:8)
                       at w0.d.invoke(SourceFile:7)
                       at com.bumptech.glide.d.h(Unknown Source:218)
                       at j0.oa.a(Unknown Source:77)
                       at j0.k.invoke(SourceFile:24)
                       at j0.k.invoke(SourceFile:3)
                       at w0.d.invoke(SourceFile:7)
                       at com.bumptech.glide.d.i(Unknown Source:153)
                       at na0.e.h(Unknown Source:805)
                       at w0.b.invoke(SourceFile:163)
                       at w0.b.invoke(SourceFile:13)
                       at w0.d.invoke(SourceFile:7)
                       at com.bumptech.glide.d.i(Unknown Source:153)
                       at ca0.a.k(Unknown Source:336)
                       at lg.e.invoke(SourceFile:9)
                       at lg.e.invoke(SourceFile:2)
                       at w0.d.invoke(SourceFile:7)
                       at androidx.compose.ui.platform.ComposeView.a(Unknown Source:24)
                   at s.g.invoke(SourceFile:229)
                   at s.g.invoke(SourceFile:85)
                   at w0.d.invoke(SourceFile:7)
                   at com.bumptech.glide.d.i(Unknown Source:153)
                   at x1.p1.a(Unknown Source:284)
                   at a0.h.invoke(SourceFile:318)
                   at a0.h.invoke(SourceFile:99)
                   at w0.d.invoke(SourceFile:7)
                   at com.bumptech.glide.d.i(Unknown Source:153)
                   at x1.x0.a(Unknown Source:473)
                   at x1.w3.invoke(SourceFile:5)
                   at x1.w3.invoke(SourceFile:1)
                   at w0.d.invoke(SourceFile:7)
                   at com.bumptech.glide.d.h(Unknown Source:218)
                   at x1.w3.invoke(SourceFile:22)
                   at x1.w3.invoke(SourceFile:2)
                   at w0.d.invoke(SourceFile:7)
                   at wj0.b.w(Unknown Source:14)
                   at o0.n.r(Unknown Source:111)
                   at o0.t.m(Unknown Source:41)
                   at o0.b2.a(Unknown Source:34)
                   at o0.t.n(Unknown Source:8)
                   at o0.t.b(Unknown Source:0)
                   at u.s.invoke(SourceFile:298)
                   at x1.x.setOnViewTreeOwnersAvailable(Unknown Source:6)
                   at x1.x3.b(Unknown Source:9)
                   at x1.x3.a(Unknown Source:18)
                   at androidx.lifecycle.p0.a(Unknown Source:22)
                   at androidx.lifecycle.q0.i(Unknown Source:320)
                   at androidx.lifecycle.q0.g(Unknown Source:34)
                   at androidx.lifecycle.q0.f(Unknown Source:14)
                   at androidx.fragment.app.y1.a(Unknown Source:2)
                   at androidx.fragment.app.f0.restoreViewState(Unknown Source:30)
                   at androidx.fragment.app.f0.performActivityCreated(Unknown Source:60)
                   at androidx.fragment.app.m1.a(Unknown Source:40)
                   at androidx.fragment.app.m1.k(Unknown Source:163)
                   at androidx.fragment.app.e1.P(Unknown Source:57)
                   at androidx.fragment.app.e1.t(Unknown Source:33)
                   at androidx.fragment.app.f0.performActivityCreated(Unknown Source:76)
                   at androidx.fragment.app.m1.a(Unknown Source:40)
                   at androidx.fragment.app.m1.k(Unknown Source:163)
                   at androidx.fragment.app.e1.z(Unknown Source:1145)
                   at androidx.fragment.app.e1.W(Unknown Source:81)
                   at androidx.fragment.app.e1.y(Unknown Source:31)
                   at androidx.fragment.app.a.j(Unknown Source:9)
                   at zf0.d.t0(Unknown Source:45)
                   at com.boozt.ui.BooztActivity.m0(Unknown Source:41)
                   at wl.b.c(Unknown Source:79)
                   at wl.b.invoke(Unknown Source:118)
                   at qq.i.d(Unknown Source:35)
                   at androidx.lifecycle.x0.b(Unknown Source:29)
                   at androidx.lifecycle.x0.c(Unknown Source:55)
                   at androidx.lifecycle.x0.j(Unknown Source:14)
                   at androidx.lifecycle.c1.j(Unknown Source:0)
                   at androidx.lifecycle.t0.run(Unknown Source:18)
                   at android.os.Handler.handleCallback(Handler.java:873)
                   at android.os.Handler.dispatchMessage(Handler.java:99)
                   at android.os.Looper.loop(Looper.java:216)
                   at android.app.ActivityThread.main(ActivityThread.java:7211)
                   at java.lang.reflect.Method.invoke(Native Method)
                   at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
                   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:975)
                  Caused by: android.content.res.Resources$NotFoundException: Drawable com.package:drawable/APKTOOL_DUMMY_3ed with resource ID #0x7f0803ed
                  Caused by: android.content.res.Resources$NotFoundException: File  from drawable resource ID #0x7f0803ed

Steps to Reproduce
The error its comming form the base apk of a split apks.
I use apktool b -d  file- -o file.apk --use-aapt2  to build the apk after was deasembled with apktool d file.apk
When I install in on the mobile device I got the error In the stacktrace.
I try to fix it as I copy all the drawable files from the second file which is the split and paste the missing in the base apk drawable folder.
Questions to ask before submission

Have you tried apktool d, apktool b without changing anything? - apktool b produce brut.androlib.exceptions.AndrolibException
If you are trying to install a modified apk, did you resign it? - yes it was resignit
Are you using the latest apktool version? - yes

I see that there a a similar issues and how can I fix this.

I found the problem closing the issue.

@mikebgrep maybe you can share ?


Skip vaadin7-test module on deployment

This change is

Review status: 0 of 1 files reviewed at latest revision, 1 unresolved discussion.

vaadin-context-menu-vaadin7-test/pom.xml, line 125 at r1 (raw file):

                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-deploy-plugin</artifactId>
	            <configuration>

Whitespace differs from rest of the file.
Should the skip be only for this module, or perhaps rather for all modules except the add-on itself?

Comments from Reviewable


Navier-Stokes data

Hi,
I want to run the code using the Navier-Stokes data, but it's not in the repository.
The previous master branch had other data, and there was Navier-Stokes data,
can I use this Navier-Stokes data without any problems??

Yes feel free to use https://github.com/neuraloperator/neuraloperator/tree/master


butane generates unreadable content for /etc/containers/registries.conf

using Butane v0.17.0, variant OpenShift version 4.10.0, content is undecodable by OCP 4.11
as https://github.com/openshift/machine-config-operator/pull/2980/commits/918f97bc1c097bd9b6cf045b02b6a8863ccdceac#
never made it in OCP 4.11.
Example of butane config:
variant: openshift
version: 4.10.0
metadata:
  name: 99-worker-z-registry
  labels:
    machineconfiguration.openshift.io/role: worker

storage:
  files:
    - path: /etc/containers/registries.conf
      contents:
        inline: |
          foobar
          foobar
          foobar
          foobar
          foobar
          foobar
          foobar

error in the machine config daemon:
E0120 14:27:13.582590    4838 writer.go:200] Marking Degraded due to: failed decoding TOML content from file /etc/containers/registries.conf: toml: line 1: files cannot contain NULL bytes; probably using
 UTF-16; TOML files must be UTF-8

A workaround is to move to version: 4.8.0 (what we did, but using an older version of butane, or OCP 4.12 should work as well).

openshift/machine-config-operator@918f97bc1c097bd9b6cf045b02b6a8863ccdceac is indeed included in 4.11.  Also, that commit was a refactor; the original commit adding compressed file support was openshift/machine-config-operator@918f97bc1c097bd9b6cf045b02b6a8863ccdceac.
OpenShift generates registries.conf from a custom resource, so one wouldn't normally write out /etc/containers/registries.conf from a Butane config.  I've tested with this slightly modified Butane config:
variant: openshift
version: 4.10.0
metadata:
  name: 99-worker-z-registry
  labels:
    machineconfiguration.openshift.io/role: worker

storage:
  files:
    - path: /etc/compressed.conf
      contents:
        inline: |
          foobar
          foobar
          foobar
          foobar
          foobar
          foobar
          foobar

I applied the MachineConfig generated from this config to a running OCP 4.11.25 cluster and verified that the resulting /etc/compressed.conf was uncompressed.
Thus, I'm not able to reproduce a decompression issue.  In addition, if there's an MCO regression, that should be addressed in the MCO rather than in Butane, so I'll go ahead and close this.  If you're still seeing this issue after double-checking your OCP version and config, I'd recommend engaging with OpenShift support.

hmm I am running OCP 4.11.25. I opened a case indeed.
Thanks for your inputs.
what butane generates works just fine for any other file, the registries.conf has some special treatment.
My story was that I saw some machineconfig in a git repository and changed the CI to be able to use butane instead, to have more readable files. My issue is with butane deciding to compress this particular file. I will stick with 4.8.0 for the moment and look into not changing this file anymore. Thanks.

I'm not sure if this is the bug, but in the MCO the container runtime controller owns that file.  You should instead write a "drop-in" file into /etc/containers/registries.conf.d.

indeed! I don't know why we did that in the first place, maybe it was a valid way of customizing it in the past.
Thanks for your comment!


pls fix

PLS fix
[Server thread/CRITICAL]: Error: "Call to a member function getPlayers() on null" (EXCEPTION) in "plugins/FootJob.phar/src/Tungsten/FootJob/RepeatingTask" at line 32
best greetz

im having the same problem after the 1.17.10 update

check new pull request


Integrate with OpsGenie

When an incident is called and the genie_schedule attribute is set on the folder, the bot should summon those users into the incident channel

Closed in #22


Fix running deprecated command in fish completion

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew style with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?
[ ] Have you successfully run brew man locally and committed any changes?

A deprecated command is used in fish completion file.
How to occur the problem :

Open fish shell.
Type "brew cask uninstall " then press Tab.

Thanks so much for your first contribution!  You rock, @aktriver!


0.10.12 not released on Pypi

Version 0.10.12 is available on npm https://www.npmjs.com/package/@mediapipe/tasks-vision but pypi is still at 0.10.11 https://pypi.org/project/mediapipe/

Hi @twoertwein,
You are correct. We are about to release version 0.10.12 across other repositories including GitHub, PyPI, and Maven. It is on our pipeline and it should be available within this week.
Thank you!!


Problem with auth headers and multiple models

Hi. This is my problem, I override the controllers for an User model:
mount_devise_token_auth_for 'User', at: 'auth', controllers: {
registrations:      'v1/authentication/registrations',
sessions:           'v1/authentication/sessions',
token_validations:  'v1/authentication/token_validations'
}
This work well, no problems. But, when i add a new Model using the same controllers:
mount_devise_token_auth_for 'Admin', 'admin_auth', controllers: {
sessions:           'v1/authentication/sessions',
token_validations:  'v1/authentication/token_validations'
}
mount_devise_token_auth_for 'User', at: 'auth', controllers: {
registrations:      'v1/authentication/registrations',
sessions:           'v1/authentication/sessions',
token_validations:  'v1/authentication/token_validations'
}
Them the response header for Admin model dont have the auth keys. The response is ok(200) but dont return the auth headers. But if remove the controllers part(the override) for the Admin model the response return the auth keys. By the way, the overrides only change the render methods of the controllers. Any can help to find the way to solve this?

Same problem here.

yep, use JWT

i have the same issue here, @ArmandoMendoza do you solve it?

Are you using active_model_serializers?

Hi there @ArmandoMendoza    ,
In an effort to cleanup this project and prioritize a bit, we're marking issues that haven't had any activity in a while with a "close-in-7-days" label. If we don't hear from you in about a week, we'll be closing this issue. Obviously feel free to re-open it at any time if it's the right time or this was done in error!
If you are still having the issue (especially if it's a bug report) please refer to our new Issue Template to provide some more details to help us solve it.
Hope all is well.