AP's Turtles and Pocket Computers are Glitched in JEI & CraftTweaker - Cant Hide or Remove Recipe

Descripe
All of the turtles and pocket computers added by the mod appear in JEI (v<IP_ADDRESS>) next to vanilla items, apart from other Advanced Peripherals entries, and the modname tooltip appears as "Minecraft". When trying to hide specific AP turtles or pocket computers in JEI's hide mode, it is only possible to select all of them. Using CraftTweaker (v<IP_ADDRESS>9), the recipes for these items can't be removed, and using JEITweaker (v<IP_ADDRESS>) they cannot be hidden.

Steps to reproduce
For reference, here is my CraftTweaker script that successfully hides a few other AdvancedPeripherals items but is unable to do so for the mod's turtles, advanced turtles, pocket computers, and advanced pocket computers:
import crafttweaker.api.item.IIngredient;

for item in [
    /* these have no effect */
    <item:computercraft:turtle_advanced>.withTag({RightUpgrade:"advancedperipherals:chat_box_turtle"}),
    <item:computercraft:turtle_advanced>.withTag({RightUpgrade:"advancedperipherals:chunky_turtle"}),
    <item:computercraft:turtle_advanced>.withTag({RightUpgrade:"advancedperipherals:end_automata"}),
    <item:computercraft:turtle_advanced>.withTag({RightUpgrade:"advancedperipherals:environment_detector_turtle"}),
    <item:computercraft:turtle_advanced>.withTag({RightUpgrade:"advancedperipherals:geoscanner_turtle"}),
    <item:computercraft:turtle_advanced>.withTag({RightUpgrade:"advancedperipherals:husbandry_automata"}),
    <item:computercraft:turtle_advanced>.withTag({RightUpgrade:"advancedperipherals:overpowered_end_automata"}),
    <item:computercraft:turtle_advanced>.withTag({RightUpgrade:"advancedperipherals:overpowered_husbandry_automata"}),
    <item:computercraft:turtle_advanced>.withTag({RightUpgrade:"advancedperipherals:overpowered_weak_automata"}),
    <item:computercraft:turtle_advanced>.withTag({RightUpgrade:"advancedperipherals:player_detector_turtle"}),
    <item:computercraft:turtle_advanced>.withTag({RightUpgrade:"advancedperipherals:weak_automata"}),
    <item:computercraft:turtle_normal>.withTag({RightUpgrade:"advancedperipherals:chat_box_turtle"}),
    <item:computercraft:turtle_normal>.withTag({RightUpgrade:"advancedperipherals:chunky_turtle"}),
    <item:computercraft:turtle_normal>.withTag({RightUpgrade:"advancedperipherals:end_automata"}),
    <item:computercraft:turtle_normal>.withTag({RightUpgrade:"advancedperipherals:environment_detector_turtle"}),
    <item:computercraft:turtle_normal>.withTag({RightUpgrade:"advancedperipherals:geoscanner_turtle"}),
    <item:computercraft:turtle_normal>.withTag({RightUpgrade:"advancedperipherals:husbandry_automata"}),
    <item:computercraft:turtle_normal>.withTag({RightUpgrade:"advancedperipherals:overpowered_end_automata"}),
    <item:computercraft:turtle_normal>.withTag({RightUpgrade:"advancedperipherals:overpowered_husbandry_automata"}),
    <item:computercraft:turtle_normal>.withTag({RightUpgrade:"advancedperipherals:overpowered_weak_automata"}),
    <item:computercraft:turtle_normal>.withTag({RightUpgrade:"advancedperipherals:player_detector_turtle"}),
    <item:computercraft:turtle_normal>.withTag({RightUpgrade:"advancedperipherals:weak_automata"}),
    <item:computercraft:pocket_computer_advanced>.withTag({Upgrade:"advancedperipherals:chatty_pocket"}),
    <item:computercraft:pocket_computer_advanced>.withTag({Upgrade:"advancedperipherals:colony_pocket"}),
    <item:computercraft:pocket_computer_advanced>.withTag({Upgrade:"advancedperipherals:environment_pocket"}),
    <item:computercraft:pocket_computer_advanced>.withTag({Upgrade:"advancedperipherals:geoscanner_pocket"}),
    <item:computercraft:pocket_computer_advanced>.withTag({Upgrade:"advancedperipherals:player_pocket"}),
    <item:computercraft:pocket_computer_normal>.withTag({Upgrade:"advancedperipherals:chatty_pocket"}),
    <item:computercraft:pocket_computer_normal>.withTag({Upgrade:"advancedperipherals:colony_pocket"}),
    <item:computercraft:pocket_computer_normal>.withTag({Upgrade:"advancedperipherals:environment_pocket"}),
    <item:computercraft:pocket_computer_normal>.withTag({Upgrade:"advancedperipherals:geoscanner_pocket"}),
    <item:computercraft:pocket_computer_normal>.withTag({Upgrade:"advancedperipherals:player_pocket"}),
    /* these are hidden just fine */
    <item:advancedperipherals:rs_bridge>,
    <item:advancedperipherals:computer_tool>,
    <item:patchouli:guide_book>.withTag({"patchouli:book":"advancedperipherals:manual"})
] as IIngredient[] {

    craftingTable.removeRecipe(item);
    mods.jei.JEI.hideItem(item);
}

Multiplayer?
No
Version
0.7.6r
Minecraft, Forge and maybe other related mods versions
Forge 36.2.23 Minecraft 1.16.5 CC: Tweaked 1.100.2 JEI <IP_ADDRESS> CraftTweaker <IP_ADDRESS>9 JEITweaker <IP_ADDRESS>
Screenshots or Videos
No response
Crashlog/log
No response

This is not a bug, since this does also not work with the normal computercraft turtles.
I recommend reporting this to CC:Tweaked


(softfloat sync) clean up strict-aliasing rules warnings - 1.8

Change Description

this causes a lot of warnings on gcc7
waiting on EOSIO/berkeley-softfloat-3#7
Consensus Changes

[ ] Consensus Changes

API Changes

[ ] API Changes

Documentation Additions

[ ] Documentation Additions

Why split the EOSIO/berkeley-softfloat-3 repo into a v1.8.x branch? It seems like this could just use the latest master which already has EOSIO/berkeley-softfloat-3#6 merged in.

Consistency, that's what we do for fc, appbase, chainbase


Incorrect statement in

Hi,
https://github.com/lemire/MaskedVByte/blob/e2dd12bc19b6a91b529368316131c582e2e8eb4a/include/varintencode.h#L19

If the input is unsorted, then the result of the differential coding will be undefined as per the C spec

I see this was added as a result of #1; however, unsigned underflow it is not undefined per C.  clang -fsanitize=integer is just aggressively warning about possible problems in code that does not expect over/underflow, even when the standard permits it.
The result of naive differential coding is not Undefined Behavior; just an inefficient 5-byte representation when one element is slightly smaller than the previous.
Cheers,
Conrad

You are correct, I believe. Comment removed.

Thanks!


Apply this control to Canvas App

Hi,
I am wondering if this PCF control can be applied to Canvas app. I've tried to bind it to a field but it's complaining error loading the control. Any idea will be appreciated.
Regards,
Randy

Hey Randy,
I have tested my in-production iteration of this project and works perfectly fine.  Have you customised this in any way?
Flick me a msg on LinkedIn.

Hi Gareth,
Really appreciated your quick response.
I assume it might be related to my configuration. Do I need to create an
Edit Form and bind this PCF control to the form field?
Regards,
Randy
On Mon, Oct 30, 2023 at 8:51 AM Gareth Cheyne @.***>
wrote:

Hey Randy,
I have tested my in-production iteration of this project and works
perfectly fine. Have you customised this in any way?
Flick me a msg on LinkedIn.
[image: Screenshot 2023-10-30 084952]
https://user-images.githubusercontent.com/12602172/278894569-9c3ee780-392a-4ccf-887f-c0cb8108d6c8.png
[image: Screenshot 2023-10-30 084931]
https://user-images.githubusercontent.com/12602172/278894571-0d71f7f6-c00b-4aff-b110-6e1efa122461.png
—
Reply to this email directly, view it on GitHub
https://github.com/garethcheyne/PCF-FluentUi-AutoComplete-Boilerplate/issues/3#issuecomment-1784208863,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADS7CYVHT6PE72IKFYYQ3ELYB2XTLAVCNFSM6AAAAAA6URYFUWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBUGIYDQOBWGM
.
You are receiving this because you authored the thread.Message ID:
<garethcheyne/PCF-FluentUi-AutoComplete-Boilerplate/issues/3/1784208863@
github.com>


SCB-909 Add fail fast mechanism when all alpha is unreachable.

Add fail fast mechanism when all alpha is unreachable, app can config it using omega.connection.sending.timeout

Coverage increased (+0.01%) to 91.612% when pulling 71852d57fe34cfab2a61070d46dd8e9d58356396 on cherrylzhao:master into 5350a86c0e3137db50db305d2788de2b3f357960 on apache:master.


feature request: AUDIT in database instead of file

I would like to have the audit that is configured by logback.xml in database. See https://github.com/xebialabs/puppet-xldeploy/issues/74 for more information.

This issue was moved to xebialabs/puppet-xlrelease#6


Publish dough to a maven repository, perhaps even maven-central? 👀

✔ Resolved: https://repo1.maven.org/maven2/io/github/baked-libs/


How does scVI use video memory?

Hi, guy, I‘ll brother you again :)
My question now is how does scVI use video memory.
When we input the data, we first load the input into memory. The memory could be very large, hundreds even thousands of gigabyte, which permit us handle very large data.
Then if we want to use a GPU to calculate, the compute will transform the input from memory to GPU's video memory, right? But in most case, GPU only have a small memory capacity. How does it work?
So my question is: Does scVI transform each mini-batch one by one into GPU memory, calculate, then release? or transform the whole dataset at once?

We use the pytorch library for data loading -- it really handles all these details for us. Basically at any given time the neural network is stored in the GPU memory, as well as one mini-batch of cells. So the former: one by one.


expand error message to include full resource name

This PR addresses https://github.com/nltk/nltk/issues/2132 by expanding the error message to include the full resource name of the model that failed to load, for example:
>>> import nltk
>>> nltk.tokenize.word_tokenize('Abc cde def, abc?', language='esperanto')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/foo/projects/nltk/nltk/tokenize/__init__.py", line 143, in word_tokenize
    sentences = [text] if preserve_line else sent_tokenize(text, language)
  File "/home/foo/projects/nltk/nltk/tokenize/__init__.py", line 104, in sent_tokenize
    tokenizer = load('tokenizers/punkt/{0}.pickle'.format(language))
  File "/home/foo/projects/nltk/nltk/data.py", line 868, in load
    opened_resource = _open(resource_url)
  File "/home/foo/projects/nltk/nltk/data.py", line 993, in _open
    return find(path_, path + ['']).open()
  File "/home/foo/projects/nltk/nltk/data.py", line 699, in find
    raise LookupError(resource_not_found)
LookupError:
**********************************************************************
  Resource punkt not found.
  Please use the NLTK Downloader to obtain the resource:

  >>> import nltk
  >>> nltk.download('punkt')

  Attempted to load tokenizers/punkt/PY3/esperanto.pickle

  Searched in:
    - '/home/foo/nltk_data'
    - '/home/foo/.pyenv/versions/nltk37/nltk_data'
    - '/home/foo/.pyenv/versions/nltk37/share/nltk_data'
    - '/home/foo/.pyenv/versions/nltk37/lib/nltk_data'
    - '/usr/share/nltk_data'
    - '/usr/local/share/nltk_data'
    - '/usr/lib/nltk_data'
    - '/usr/local/lib/nltk_data'
    - ''
**********************************************************************

The line Attempted to load tokenizers/punkt/PY3/esperanto.pickle is the new addition.

@purificant: thanks -- excellent solution


resourceListCreator: Do not throw for resources outside of a libraries namespace (a.k.a. "orphans")

Expected Behavior
Like in our current Maven build, resources outside of a libraries namespace shall not fail the build. Instead, they should be ignored. This can be archived using the failOnOrphans configuration which currently defaults to true: https://github.com/SAP/ui5-builder/blob/master/lib/processors/resourceListCreator.js#L134
Current Behavior
Resources outside of a libraries namespace which are not configured as "externalResources" cause a build error resources.json generation failed with error: There are <n> resources which could not be assigned to components.
Affected components (if known)

[X] ui5-builder
[ ] ui5-server
[ ] ui5-cli
[ ] ui5-fs
[ ] ui5-project
[ ] ui5-logger

Can be reproduced by:
cloning openui5
navigating to
cd openui5/src/sap.ui.core
creating file
touch src/sap/x.js
running
ui5 build --all --include-task=generateResourcesJson
Error:
info builder:builder library sap.ui.core 🔨 (9/9) Running task generateResourcesJson...
ERR! builder:processors:resourceListCreator resources.json generation failed because of unassigned resources: sap/x.js, sap/x-dbg.js
ERR! builder:builder Build failed in 31 s


Interactive Tutorial - Exposing Your App

In this module, Step 1 Create a new service
there saying that: (minikube does not support the LoadBalancer option yet).
However, I have tested that minikube has supported the LoadBalancer option.
So I think that the docs can be revised.

/retitle Inaccurate advice in “Exposing Your App” interactive tutorial
/kind bug
/language en
/triage accepted


Add compatibility to Py_T_*

Hello Python team, I believe we have met countless times in the main repository.
When I port libfdt to Python, I noticed the Py_T_* series of macros, which are only available after version 3.12. Prior to this, the T_* series was used. Can we add compatibility for these basic constants in a compatibility layer, so they are always defined as Py_T_* in supported versions?
If they are defined elsewhere, please point out my mistakes. Thank you, everyone :)
From my repo

#if PY_VERSION_HEX >= 0x03120000
# include <descrobject.h>
#endif

#if PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x03120000
# include <structmember.h>
/** member type */
# ifndef Py_T_UINT
#  define Py_T_UINT T_UINT
# endif
# ifndef Py_T_INT
#  define Py_T_INT T_INT
# endif
/** flags */
# ifndef Py_READONLY
#  define Py_READONLY READONLY
# endif
#endif

(If the request is granted, I hope to complete this historic moment.)

Why do you test for Python 3.9?

I didn't really investigate which version they came from. Maybe I'll look for them later.

The PY_VERSION_HEX < 0x03120000 test should be enough, no? Why repeating the check for each macro?

Right. But I don't know what happened, sometimes it appears to be redefined.
For this issue, WDYT?

#if PY_VERSION_HEX >= 0x03120000
# include <descrobject.h>
#endif

I don't see the purpose of this code.

I wrote https://github.com/python/pythoncapi-compat/pull/126 to add these constants. Can you test my PR?

I tested it and left a comment in your PR and the issue seems to be ok to be marked as resolved, but I need to wait for it to be merged into main.

Fixed by https://github.com/python/pythoncapi-compat/commit/7eb512b67cf3b4449c72bdfba04af24cb1503514.


css

Try https://www.banjocode.com/post/hugo/custom-css

With the Google fonts https://developers.google.com/fonts/docs/css2


After I run update_path, I get Uncommitted changes

I need some help to figure this out. I've been struggling with it for a while now. I feel I am missing some fundamental understanding. Could you have a look at the code?:
https://github.com/yansh/MoanaML/blob/master/rete_storage.ml
I have an issue, when I use recursion for updating the views (At least this is my suspicion)
For some reason after running the code, some of the value appear as modified.
Yan: /tmp/irmin/test/rete git status
On branch master
Changes to be committed:
  (use "git reset HEAD <file>..." to unstage)

	modified:   Rete/Node0/AM/tuples/0
	modified:   Rete/Node1/AM/tuples/0
	modified:   Rete/Node1/AM/tuples/1
	modified:   Rete/Node1/AM/tuples/2
	modified:   Rete/Node1/AM/vars/?y/c
	modified:   Rete/Node1/AM/vars/?y/c1
	modified:   Rete/Node2/AM/tuples/0
	modified:   Rete/Node2/AM/tuples/1
	modified:   Rete/Node2/AM/tuples/2
	modified:   Rete/Node2/AM/tuples/3
	modified:   Rete/Node2/AM/vars/?x/a
	modified:   Rete/Node2/AM/vars/?x/b
	modified:   Rete/Node2/AM/vars/?x/d
	modified:   Rete/Node2/AM/vars/?y/Red
	modified:   Rete/Node2/AM/vars/?y/c
	modified:   Rete/Node3/AM/tuples/0

Essentially it commits everything I want it to but then modifies some entries. I presume my use of Lwt.iter_s, plus the use recursion is causing this.
Not sure what I can do about it...

How do you get the list of changes to be committed? Do the change appear correctly in git show and git log? If yes, you have hit https://github.com/mirage/ocaml-git/issues/68 which is annoying but not very critical (basically, I need to understand what git status is looking at exactly): it doesn't affect the data you are storing at all.

Thanks for looking at it.
The above is snippet is from running git status
Yes, I think, it commits everything I want it to commit
Yan: /tmp/irmin/test/rete git log
commit 96f6659ba4fdc115735873ffe0bee1d1ee64e4ed
Author: Irmin yslaptop.ee.Princeton.EDU.[7458]<EMAIL_ADDRESS>Date:   Mon Mar 23 15:33:57 2015 +0000

Rete init

But then some entries are modified according to git status

The modified entries are exactly what is in the last commit, git diff will show you an empty diffs. It's just a "cosmetic" bug, your data are normally safely saved.

Git diff shows nothing :)
Yan: /tmp/irmin/test/rete git diff
Yan: /tmp/irmin/test/rete

I guess, I will work with the assumption that data is saved :)

Actually, I will reopen it, until the bug is resolved. I think it's best this way :)

The bug is already tracked in the right place ( mirage/ocaml-git#68) so closing :-)


sandworm-audit run terminates with TypeError: process.stdout.moveCursor is not a function

Sandworm version
v1.36.0
Describe the bug
Error report in terminal (git bash under Windows 10)
$ sandworm-audit
Sandworm 🪱
Security and License Compliance Audit
- Building dependency graph...

//
// 💡 Mark issues as resolved with Sandworm
//    sandworm resolve ISSUE-ID
//    https://docs.sandworm.dev/audit/resolving-issues
//
C:\Users\xxx\AppData\Roaming\nvm\v16.19.1\node_modules\@sandworm\audit\src\cli\progress.js:63
              process.stdout.moveCursor(0, -6);
                             ^

TypeError: process.stdout.moveCursor is not a function
    at Timeout._onTimeout (C:\Users\xxx\AppData\Roaming\nvm\v16.19.1\node_modules\@sandworm\audit\src\cli\progress.js:63:30)
    at listOnTimeout (node:internal/timers:559:17)
    at processTimers (node:internal/timers:502:7)

Manifest files
Whenever possible, please provide your package.json manifest file content (or at least a list of all the dependencies within), as well as your lockfile.
To Reproduce
In terminal (git bash under Windows 10):

Install sandworm with npm i -g @sandworm/audit
Navigate to arbitrary project that qualifies requirements
Run sandworm-audit

Expected behavior
Task completed without termination at building dependency graph phase.
System (please complete the following information):

Node Version 16.19.1
Package Manager npm
Package Manager Version 8.19.3
OS: Windows 10

Node and npm are under nvm management.
Additional context
This was the first run right after fresh installation of the package.

Thank you for reporting this, @OleksiyRudenko!
Looking into it now.

Fixed in v1.36.2.
@OleksiyRudenko if you get a chance, please let me know if the fix works for you! Thanks.


Add the keys repository

Things added/changed:

Add the keys repository.

Seems there's a missing keys mod. 👀

nice, lgtm :+1:


Listing rows from stored procedure

Hi, amazing project, thank you so much for developing this.
I had a quick question regarding how to implement a grid that is populated from a stored procedure as opposed to a table. I don't see any example in the e-book or in the northwind sample project that do this. Please let me know if this is possible.
Thank you!
Warm regards

@jhirsch41   Your stored procedure should return a table.
How you query the DB should not matter - it is the object returned - and a sp returns a table, if it is a joined query in the sp Just create your objects to match the stored procedure columns returned  and you should have it.

check this
https://github.com/volkanceylan/Serene/tree/master/Serene/Serene.Web/Modules/BasicSamples/Grids/StoredProcedureGrid

IS there a way to have the slickgrid paging work with results returned from a StoredProcedure. The grid fills but unable to page and get row count.
Thanks so much


MutationObserver optimization

Hey, I added limitations of firing scrollbar update process with MutationObserver. Update will be called only if $overview element dimensions change and once per digest.
Previously the mutation process performed constantly, causing the browser to crash.

Thanks for your contributions. I'll test it out and release a tag shortly.

Released in 0.9.0


Prepare v1.2.0 release

The last v1.1.0 release was last year in September - we should do another release.
From https://github.com/mapbox/robosat/compare/v1.1.0...master a release would include

road handler
lovasz loss
new metrics
fine tune and continue training
osm data edge case fixes
better building dataset creation from osm data
cuda 10, pytorch 1.1

In addition good potential tickets to also include are

https://github.com/mapbox/robosat/issues/16 simplification issue
https://github.com/mapbox/robosat/pull/88 generic zoom level handling
https://github.com/mapbox/robosat/pull/75 decide on fpn
https://github.com/mapbox/robosat/pull/161 decide on scse

And we are blocked by

[x] https://github.com/mapbox/robosat/pull/154 - up to date docs
[x] https://github.com/mapbox/robosat/issues/153 - automated docker image builds
[x] https://github.com/mapbox/robosat/pull/163 - fix travis integration

@jacquestardie I can not push tags or create a release here on Github. How do we move forward?

Hoping to have an answer to that in a few days - will update here once there's a clear path forward.

We managed to unblock all our hard requirements for this release pretty quickly. I will do a v1.2.0 release now - the fpn / scse / fpa changes are currently queued up on my rig but it takes a while to crunsh through them. Let's get this out first and then iterate on it.

Release is out! https://github.com/mapbox/robosat/releases/tag/v1.2.0
And wrote about it here: https://www.openstreetmap.org/user/daniel-j-h/diary/44321
Feel free to make noise about this! :)

correct link to diary: https://www.openstreetmap.org/user/daniel-j-h/diary/368726
time to give it a spin again ;)


Spin jobs not working

I can now bring up Nomad and Hippo, but when I do a spin deploy, the application (the Spin job goes into Unhealthy.
The status information for a typical Spin job is:
ivan@hecate:~$ nomad status
ID                                    Type     Priority  Status   Submit Date
a0e306fa-46e1-40ac-b42f-0033e284e102  service  50        dead     2022-06-16T08:55:59+12:00
bindle                                service  50        running  2022-06-16T07:53:53+12:00
hippo                                 service  50        running  2022-06-16T07:54:23+12:00
traefik                               service  50        running  2022-06-16T07:53:27+12:00

ivan@hecate:~$ nomad status a0e306fa-46e1-40ac-b42f-0033e284e102
ID            = a0e306fa-46e1-40ac-b42f-0033e284e102
Name          = a0e306fa-46e1-40ac-b42f-0033e284e102
Submit Date   = 2022-06-16T08:55:59+12:00
Type          = service
Priority      = 50
Datacenters   = dc1
Namespace     = default
Status        = pending
Periodic      = false
Parameterized = false

Summary
Task Group                            Queued  Starting  Running  Failed  Complete  Lost  Unknown
a0e306fa-46e1-40ac-b42f-0033e284e102  0       0         0        2       0         0     0

Future Rescheduling Attempts
Task Group                            Eval ID   Eval Time
a0e306fa-46e1-40ac-b42f-0033e284e102  ddfbadc1  49s from now

Latest Deployment
ID          = fedcd3c5
Status      = running
Description = Deployment is running

Deployed
Task Group                            Desired  Placed  Healthy  Unhealthy  Progress Deadline
a0e306fa-46e1-40ac-b42f-0033e284e102  1        2       0        2          2022-06-16T09:05:59+12:00

Allocations
ID        Node ID   Task Group                            Version  Desired  Status  Created    Modified
bf3b0d08  f2e113e0  a0e306fa-46e1-40ac-b42f-0033e284e102  0        run      failed  41s ago    7s ago
6c48681e  f2e113e0  a0e306fa-46e1-40ac-b42f-0033e284e102  0        stop     failed  1m58s ago  41s ago
ivan@hecate:~$ nomad status bf3b0d08
ID                     = bf3b0d08-28e0-bfd8-441d-823f3b613e74
Eval ID                = 37a1748d
Name                   = a0e306fa-46e1-40ac-b42f-0033e284e102.a0e306fa-46e1-40ac-b42f-0033e284e102[0]
Node ID                = f2e113e0
Node Name              = hecate
Job ID                 = a0e306fa-46e1-40ac-b42f-0033e284e102
Job Version            = 0
Client Status          = failed
Client Description     = Failed tasks
Desired Status         = run
Desired Description    = <none>
Created                = 59s ago
Modified               = 25s ago
Deployment ID          = fedcd3c5
Deployment Health      = unhealthy
Reschedule Eligibility = 31s from now

Allocation Addresses
Label  Dynamic  Address
*http  yes      <IP_ADDRESS>:23045

Task "spin" is "dead"
Task Resources
CPU      Memory   Disk     Addresses
100 MHz  300 MiB  300 MiB

Task Events:
Started At     = N/A
Finished At    = 2022-06-15T20:57:45Z
Total Restarts = 0
Last Restart   = N/A

Recent Events:
Time                       Type             Description
2022-06-16T08:57:47+12:00  Killing          Sent interrupt. Waiting 5s before force killing
2022-06-16T08:57:45+12:00  Alloc Unhealthy  Unhealthy because of failed task
2022-06-16T08:57:45+12:00  Not Restarting   Error was unrecoverable
2022-06-16T08:57:45+12:00  Driver Failure   failed to launch command with executor: rpc error: code = Unknown desc = file spin not found under path /home/ivan/github/fermyon-installer/local/data/nomad/alloc/bf3b0d08-28e0-bfd8-441d-823f3b613e74/spin
2022-06-16T08:57:15+12:00  Task Setup       Building Task Directory
2022-06-16T08:57:15+12:00  Received         Task received by client

Not sure if this will be helpful at all, but may at least be informative if the behavior is different: It looks like Hippo supports specifying a particular spin binary path.
Could we try adding something like Spin__BinaryPath = "<path to spin on host>" to the Hippo job env, re-run start.sh and see if behavior changes?

@vdice Hmm, interesting!  That fails with:
2022-06-16T10:24:43+12:00  Driver Failure   failed to launch command with executor: rpc error: code = Unknown desc = file /home/ivan/github/spin/target/debug/spin not found under path /home/ivan/github/fermyon-installer/local/data/nomad/alloc/8a8d6670-ba70-c433-f00f-92d1d84fc4d2/spin

Thanks @itowlson.
It appears that configuration is meant to represent a relative path in the allocation (cc @bacongobbler to check my understanding) and so perhaps not helpful here.
My only other idea is to see if we can try overriding the Nomad:Driver value.  Not sure if it is resolving to exec or raw_exec for you (OperatingSystem.IsLinux()).  Does setting Nomad__Driver = "raw_exec" help?

I am not sure how to test that given that Hippo is downloaded rather than taken from a local copy - is there something I can set in the installer to force it?

> System.OperatingSystem.IsLinux();;
val it: bool = true

I'm not sure if exec or raw_exec makes a big difference.  I tried these two jobs:
job "spin-raw-exec" {
  datacenters = ["dc1"]
  type        = "batch"

  group "spin-raw-exec" {
    task "spin-raw-exec" {
      driver = "raw_exec"
      config {
        command = "spin"
        args    = []
      }
    }
  }
}

job "spin-exec" {
  datacenters = ["dc1"]
  type        = "batch"

  group "spin-exec" {
    task "spin-exec" {
      driver = "exec"
      config {
        command = "spin"
        args    = []
      }
    }
  }
}

and both failed, although with different statuses: exec gave me  the "file spin not found" message, raw_exec gave me "Terminated: exit code 2".

Oh!  spin without arguments looks like it might return exit code 2.  Maybe raw_exec worked and I just looked for logs in the wrong place!

@vdice YES!  raw_exec works for my demo case - I just got confused by the output.  But it looks like Hippo is sending me exec.  Is there a way to override the Hippo setting so I can test this with a real Spin app?

🎉 Excellent!  I wonder if raw_exec is a prereq for WSL -- and if so, if we can conditionailize things so that the installer just works for this case (or, actually, maybe the conditional in Hippo is a better fit 🤔).
Anyways, to the task at hand.  Yes, it should be an env setting on the hippo job similar to the spin binary path we tried above.
Try adding Nomad__Driver = "raw_exec" to the Hippo job env.

🎉 IT WORKS 🎉


concept of methods in tagui

Hi
it is possible to segregate my total code to methods and execute them so that i can achieve code re usability

Hello @pallavkrishna , this may help with your question:
It looks like there is a way to call other tagui files using the tagui keyword and a file path.
https://github.com/kelaberetiv/TagUI/issues/80

Yes what @bewilderedness shared is the best way to do modular scripting in TagUI. More details in modules section of documentation - https://github.com/kelaberetiv/TagUI#modules
Also, if the methods you are talking about is a collection of custom JavaScript functions, you can create local and global JS functions using tagui_local.js and tagui_global.js. More details here - https://github.com/kelaberetiv/TagUI#helper-functions
Lastly, for reusability of object locators, be sure to check out object repository feature of TagUI where you can define reusable local and global object definitions for use in your scripts - https://github.com/kelaberetiv/TagUI#repositories


[Suggestion] Remove the invalid location from the Location list

OS: Mac/Windows
Build: 20200803.1
Repro Steps:
Create a new resource group with "Australia Central 2“ location.
Actual:
Fail to create a new resource group with "Australia Central 2" location.

Suggestion:
Remove the invalid location from the Location list.
Details in Output:
2:09:24 PM: Creating resource group "nicole-case" in location "australiacentral2"...
2:09:25 PM: Error: The provided location 'australiacentral2' is not available for resource group. List of available regions is 'centralus,eastasia,southeastasia,eastus,eastus2,westus,westus2,northcentralus,southcentralus,westcentralus,northeurope,westeurope,japaneast,japanwest,brazilsouth,australiasoutheast,australiaeast,westindia,southindia,centralindia,canadacentral,canadaeast,uksouth,ukwest,koreacentral,koreasouth,francecentral,southafricanorth,uaenorth,australiacentral,switzerlandnorth,germanywestcentral,norwayeast,eastus2euap,centraluseuap'.

More Info:
This issue also reproduces for "Switzerland West" location.

This issue has become stale and is at risk of being closed. The community has 60 days to upvote the issue. If it receives 5 upvotes we will keep it open and take another look. If not, we will close it. To learn more about how we handle issues, please see our documentation.
Happy Coding!


implement cancellation for timeout requestor

I also implemented breakpoints, using the debug instruction, just because I needed them.

I think the stop_timer callback should not be responsible for releasing the stub. Instead we can do that synchronously in the Rust part of the device. I'll commit a revision later to implement that.

Ah yes, makes sense.

Be careful not to release the same stub twice. This could happen if the "cancel" proxy received a message after the timer has fired. Would it be possible to neuter the "cancel" proxy when the timer fires?

There's no way to locate the proxy from the stub, only the stub from the proxy. I've added additional checks to avoid multiple releases. Can you review the commit and see if you think I've covered the bases?

It passes timeout.asm's test suite, which includes a late cancellation.


Hello. Does FSP refer to FLP mentioned in the paper? Does SSP refer to SLP mentioned in the paper?

@jesuisalexjamet

@jesuisalexjamet


Opening links in new tab on middle mouse click

Finally, it's possible to open links in a new tab on middle mouse click 🎉

One downside I can think of with this way of solving the problem: if the user tries to select some clickable text (for example, to copy it for searching), the mouseup will cause the browser to navigate away from the page, ruining the user's select operation.
Is there another way to detect middle clicks?

Good catch, I didn't think about that. The click event is not working when using the middle mouse on  jQuery delegate element for some reasons. On stackoverflow I found this workaround with mouseup. Let me think about. Anyway excellent spot 👍

We might be able to use both a click event and a mouseup event, but ignore the mouseup event if it's not the middle button.

Neat idea 👍

By adding two event listener one for click and another for mouseup the onClick handler gets called twice for on a normal mouse click. I tried to prevent the mouseup event from bubbling up, but it seems to be impossible http://stackoverflow.com/questions/18342747/why-cant-a-mouseup-event-prevent-a-click-event
A flag which indicates if a click is ongoing could solve the problem, but seems to me a bit dirty to me. Do you have any better ideas?

What if we just have onClick return immedialy if the mouseup event isn't the middle button? I pushed a branch with the changes I have in mind: https://github.com/OctoLinker/browser-extension/compare/5f1f9ef7352557da4db39c59a89269bf40c8eb58...josephfrazier:middle-mouse-click

I updated the branch with your suggestion. Looks really good now. Thanks for the support 👍

Ooh, with more tests too, nice! I'll go ahead and merge :D


Allow deletion of branches

As per the comment in rpc.go:DeleteVolume, it should easily be possible to limit it to only delete specified branches (with the caveat that ZFS restricts us to only deleting snapshots with no children, so deleting a branch will kill all the branches it's parent to, unless we promote them out).

OLDDDDD. Reopen if still relevant/needed/has prio etc


How to update hassio?

Hi,
I've installed hassio on a raspbian by following this tutorial:https://github.com/home-assistant/hassio-installer
Now in the hassio log I get this message:
Host has no rauc support. OTA updates have been disabled.
How to update hassio which is running in docker-ce now?
Thanks for your kind help :-)

Ok I think I've found by myself :)
https://i.imgur.com/7P29csB.png

Yep, that is how you update Home Assistant. Updates for Hass.io itself are handled automatically. For updating your host system, you should consult the manual of the operating system you've installed. On manual installations, that is your own responsibility.

Thanks for your confirmation.
Yes to update my host system that's not a problem, it's debian-based (Raspbian) so I know the trick :)

Hey guys, I get the same message in the log but I do not have the 0.101.3 update in the Hass.IO tab


Fix viewer.css

Its my first PR :) Resolved issue #11264

Closing since #11268 is a more complete fix. Thank you.


ignore 'generate' binary written by 'go build'

This change is

Review status: 0 of 1 files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Jobs.

Is your feature request related to a problem? Please describe.
I'm always frustrated when I try to apply for a job and I see someone has already been promoted but it is still on your open jobs list.
Describe the solution you'd like
Is it possible for you to just put open jobs and the ones people have been promoted or chosen for the job to be removed in real time.
Describe alternatives you've considered
Or you can group the jobs in real time and get the people  who are employed using Linkedin or promoted using Linkedin.
Additional context

Hello! This repository does not have any influence on the linkedin.com user experience.


Scala example does not work

I'm having trouble running the provided Scala example in the spark shell.
My local environment is:

Spark 2.1.0
Scala version 2.11.8
Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_121

I ran the spark-shell with:
spark-shell --packages databricks:tensorframes:0.2.5-rc2-s_2.11
I get the following stacktrace which shuts down my spark process:
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fff90451b52, pid=64869, tid=0x0000000000001c03
#
# JRE version: Java(TM) SE Runtime Environment (8.0_121-b13) (build 1.8.0_121-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.121-b13 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C  [libsystem_c.dylib+0x1b52]  strlen+0x12
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/ndrizard/projects/temps/hs_err_pid64869.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

Thanks for your help!

@nicodri I see that you are using macos. It turns out that tensorflow as currently packaged may crash on some configurations. It is unclear which ones seem to work, see the thread in https://github.com/bytedeco/javacpp-presets/issues/396
This should be solved by using the official tensorflow bindings (issue #76), which I expect to have in the next release. In the meantime, there should be no problem in docker or in linux.

Ok that makes sense @thunterdb, thanks for the quick answer. Do you have an ETA of the next release?

I hope to have a release candidate in the next month. Most of the work is going to happen in this branch if you want to track the progress: https://github.com/databricks/tensorframes/pull/87

@nicodri if you are willing to try to compile tensorframes yourself, the fix has been merged (tested on my macbook).

Thank you for the update @thunterdb. The scala example worked smoothly locally on mac!


problem while synchronization replication with pg_easy_replicate

I am doing synchronous replication from standalone Postgres version 14 to a database cluster version 16. On the source database the data volume is 270 GB, and on the target cluster it is already 500 GB and the data copy is still going (no errors)...
root@db-1:/home/administrator# du -sh /var/lib/postgresql/16/main/base/
500G    /var/lib/postgresql/16/main/base/

"replication_stats_count_by_state": {
    "replicating": 128,
    "data_is_being_copied": 148
  },
  "message_lsn_receipts": [
    {
      "received_lsn": "394/3B0D3A58",
      "last_msg_send_time": "2024-11-30 14:38:54 UTC",
      "last_msg_receipt_time": "2024-11-30 14:38:49 UTC",
      "latest_end_lsn": "394/3B0D3A58",
      "latest_end_time": "2024-11-30 14:38:54 UTC"
    },
    {
      "received_lsn": null,
      "last_msg_send_time": "2024-11-30 14:38:04 UTC",
      "last_msg_receipt_time": "2024-11-30 14:38:04 UTC",
      "latest_end_lsn": null,
      "latest_end_time": "2024-11-30 14:38:04 UTC"
    },
    {
      "received_lsn": null,
      "last_msg_send_time": "2024-11-30 14:37:48 UTC",
      "last_msg_receipt_time": "2024-11-30 14:37:48 UTC",
      "latest_end_lsn": null,
      "latest_end_time": "2024-11-30 14:37:48 UTC"
    }
  ],
  "sync_started_at": "2024-11-30 08:22:38 UTC",
  "sync_failed_at": null,
  "switchover_completed_at": null

When setting up the target I specified a VIP address with port 5000
why  volume of data on the target DB much larger than on the source?
Thanks!

And have you checked what exactly is taking up so much space? It might not be the database itself, but rather WAL files accumulating, for example, due to an issue with archive_command.
To check the size of your databases, you can use the \l+ command in psql. It provides a detailed list of all databases along with their sizes.

Everything is working! No errors! archive_command is working and archiving
tail -f /var/log/postgresql/postgresql-Sat.log
INFO: 2024/11/30 23:59:58.819880 Files will be uploaded to storage: default
INFO: 2024/11/30 23:59:59.106275 FILE PATH:<PHONE_NUMBER>00022600000012.zst
INFO: 2024/11/30 23:59:59.164363 FILE PATH:<PHONE_NUMBER>00022600000013.zst
INFO: 2024/11/30 23:59:59.276384 FILE PATH:<PHONE_NUMBER>00022600000014.zst
INFO: 2024/11/30 23:59:59.351705 Files will be uploaded to storage: default
INFO: 2024/11/30 23:59:59.404831 Files will be uploaded to storage: default
INFO: 2024/11/30 23:59:59.455798 Files will be uploaded to storage: default
INFO: 2024/11/30 23:59:59.786261 FILE PATH:<PHONE_NUMBER>00022600000016.zst
INFO: 2024/11/30 23:59:59.845213 FILE PATH:<PHONE_NUMBER>00022600000015.zst
INFO: 2024/12/01 00:00:00.105827 FILE PATH:<PHONE_NUMBER>00022600000017.zst

patroni cluster is working!
patronictl list
+ Cluster: postgres-cluster<PHONE_NUMBER>249332720) +-----------+------------------+
| Member | Host        | Role    | State     | TL | Lag in MB | Tags             |
+--------+-------------+---------+-----------+----+-----------+------------------+
| db-1   | <IP_ADDRESS> | Leader  | running   |  1 |           | datacenter: db-1 |
| db-2   | <IP_ADDRESS> | Replica | streaming |  1 |         0 | datacenter: db-2 |
| db-3   | <IP_ADDRESS> | Replica | streaming |  1 |         0 | datacenter: db-3 |
+--------+-------------+---------+-----------+----+-----------+------------------+

\l+ command shows the amount of space of /var/lib/postgresql/16/main/base/ directory.
du -sh /var/lib/postgresql/16/main/base/
780G    /var/lib/postgresql/16/main/base/

just rising this directory...

Hmm, determine which objects in the database are growing.
Try asking the same question in the repository of this utility that you use.

Thanks!
The inspection table of mydb on source is 237GB
public | inspection                                         | table | mydb | permanent   | heap          | 237 GB     |
And on target is growing while start synch
public | inspection                                         | table | mydb | permanent   | heap          | 500 GB     |
could this be related to the fact that a record is being written to the table on the source base during synchronization?

compare the size of the largest tables on the source and target:
select
  quote_ident(schemaname)||'.'||quote_ident(relname) as table_full_name,
  pg_size_pretty(pg_relation_size(relid)) as table_size,
  pg_size_pretty(pg_total_relation_size(relid)) as total_relation_size
from
  pg_stat_user_tables ut
-- leaving out fully locked tables as pg_relation_size also wants a lock and would wait
where not exists (select 1 from pg_locks where relation = relid and mode = 'AccessExclusiveLock' and granted)
order by pg_total_relation_size(relid) desc
limit 10;

It was inspection table
on source:
public | inspection | table | mydb | permanent | heap | 250 GB |
on target
public | inspection | table | mydb | permanent | heap | 1 TB |
I solved synchronous logical repilication by using another utility - https://github.com/2ndQuadrant/pglogical
And also I'd ask you to add in:
./roles/pgbouncer/templates/pgbouncer.ini.j2: -> reserve_pool_size = {{ pgbouncer_reserve_pool_size }}
./vars/main.yml: -> pgbouncer_reserve_pool_size:
Thanks!

And also I'd ask you to add in

Feel free to suggest a PR


Fixing wrong casting

I've modified rootViewController using UINavigationController. So It's not relevant to cast the rootViewController with FlutterViewController. It would be good to check the object null or not.
I've tested it, and it works fine both UINavigationController and FlutterViewController.

Ok, thanks!
Using the if statement this way:
...
if let flutterViewController = UIApplication.shared.delegate?.window.unsafelyUnwrapped?.rootViewController {
...

it already checks if rootViewController is null or not.
Inside the if block, the flutterViewController variable is for sure not null.

Ok, thanks!
Using the if statement this way:
...
if let flutterViewController = UIApplication.shared.delegate?.window.unsafelyUnwrapped?.rootViewController {
...

it already checks if rootViewController is null or not.
Inside the if block, the flutterViewController variable is for sure not null.


[Repo Rearchitecture] Remove github validations and rely only on catalog service validations

Description
The depreciation phase will occur at a later date.
~ 100 days from when we finish the migration phase.
DevEx will flip the flag when the time comes
Future change, after we are fully complete with the migration phase
AC

[ ] Remove ensure-schema-compliance
[ ] Remove ensure-quickstart-names-ids-are-unique

Helpful Links
Schema - https://docs.google.com/spreadsheets/d/1EmAvq4kJUUPlpvJZ-s23uKDk_KCws9VgHzG1bJtwE4Y/edit#gid=0
NerdGraph - https://api.newrelic.com/graphiql?#query=mutation {
  nr1CatalogSubmitMetadata
}

DevEx Service - https://source.datanerd.us/nr1-dev-experience/catalog-service-elixir

We can, potentially, remove the code to validate pull requests once we have our single source of validation truth (NerdGraph). That would mean that we don't have to wait for any duration of time to do this work.
This still needs some research to make sure that NerdGraph does the required validation that we need for our UI purposes.
An alternative is to keep both validation methods and only consider a quickstart valid if both pass (and then remove the other parts after the depreciation period).
@rudouglas to look into this further and update the acceptance criteria.

@rudouglas to confirm it seem this work is covered in this other ticket https://github.com/newrelic/newrelic-quickstarts/issues/571

The more I grok this ticket, I think it's intended to be the final step when we officially cut over to the new service, can you confirm @rudouglas

this is technically blocked as we don't want switch over yet according to @jerelmiller

moving to sustaining as it's something we need to wait on.

this is a duplicate of #668


Use GH_TOKEN or GITHUB_TOKEN

The current codebase is tightly coupled to GitHub for its analysis. And with GitHub, there already is
already a convention of sorts when it comes to the environment variable to use for the token.
I suggest replacing GITACCESS with either GH_TOKEN or GITHUB_TOKEN.
More information on this can be found in the GitHub CLI docs.
https://cli.github.com/manual/gh_help_environment

The previously provided link also mentions other conventions for Org and Repo which would also make sense to use (GH_REPO).


[stdlib] add a fast path to UMRBP.initialize(as:from:)

Add fast path via withContiguousStorageIfAvailable and _copyContents for UnsafeMutableRawBufferPointer.initialize(as:from:).
The current implementation just copies element-by-element, and the performance could be better.

Resolves SR-14982 (rdar://81168547)

@swift-ci please benchmark

Performance (x86_64): -O

Regression
OLD
NEW
DELTA
RATIO

DictionaryOfAnyHashableStrings_insert
2716
5026
+85.1%
0.54x

Set.isDisjoint.Box25
326
453
+39.0%
0.72x (?)

Breadcrumbs.MutatedUTF16ToIdx.ASCII
3
4
+33.3%
0.75x (?)

Set.isDisjoint.Int25
238
306
+28.6%
0.78x (?)

Set.isDisjoint.Int50
236
301
+27.5%
0.78x (?)

FlattenListLoop
3479
4203
+20.8%
0.83x (?)

SetSubtractingInt50
99
108
+9.1%
0.92x (?)

Improvement
OLD
NEW
DELTA
RATIO

RawBufferInitializeMemory
179
41
-77.1%
4.37x

Code size: -O

Improvement
OLD
NEW
DELTA
RATIO

BufferFill.o
7268
7012
-3.5%
1.04x

Performance (x86_64): -Osize

Regression
OLD
NEW
DELTA
RATIO

ObjectiveCBridgeStubToNSStringRef
136
150
+10.3%
0.91x (?)

FlattenListFlatMap
5288
5783
+9.4%
0.91x (?)

String.data.LargeUnicode
86
94
+9.3%
0.91x (?)

Improvement
OLD
NEW
DELTA
RATIO

RawBufferInitializeMemory
179
41
-77.1%
4.37x

ArrayAppendGenericStructs
1950
1130
-42.1%
1.73x (?)

Code size: -Osize

Improvement
OLD
NEW
DELTA
RATIO

BufferFill.o
8106
7872
-2.9%
1.03x

Performance (x86_64): -Onone

Regression
OLD
NEW
DELTA
RATIO

ObjectiveCBridgeStubFromNSDate
5470
6550
+19.7%
0.84x (?)

Improvement
OLD
NEW
DELTA
RATIO

RawBufferInitializeMemory
21213
41
-99.8%
517.38x

ParseInt.UIntSmall.Binary
10670
9533
-10.7%
1.12x (?)

ParseInt.UInt64.Hex
2997
2732
-8.8%
1.10x (?)

ParseInt.UInt64.Decimal
2953
2722
-7.8%
1.08x (?)

DataAppendDataSmallToSmall
4360
4060
-6.9%
1.07x (?)

Code size: -swiftlibs

How to read the data
The tables contain differences in performance which are larger than 8% and
differences in code size which are larger than 1%.
If you see any unexpected regressions, you should consider fixing the
regressions before you merge the PR.
Noise: Sometimes the performance results (not code size!) contain false
alarms. Unexpected regressions which are marked with '(?)' are probably noise.
If you see regressions which you cannot explain you can try to run the
benchmarks again. If regressions still show up, please consult with the
performance team (@eeckstein).

Hardware Overview
  Model Name: Mac Pro
  Model Identifier: MacPro6,1
  Processor Name: 8-Core Intel Xeon E5
  Processor Speed: 3 GHz
  Number of Processors: 1
  Total Number of Cores: 8
  L2 Cache (per Core): 256 KB
  L3 Cache: 25 MB
  Memory: 64 GB

@swift-ci please smoke test

@swift-ci please test Windows platform

@swift-ci please benchmark

Performance (x86_64): -O

Regression
OLD
NEW
DELTA
RATIO

DictionaryOfAnyHashableStrings_insert
2254
3752
+66.5%
0.60x

Set.isDisjoint.Box25
285
406
+42.5%
0.70x (?)

Improvement
OLD
NEW
DELTA
RATIO

RawBufferInitializeMemory
130
20
-84.6%
6.50x

FlattenListFlatMap
4143
2579
-37.8%
1.61x (?)

FlattenListLoop
3091
2631
-14.9%
1.17x (?)

BucketSort
164
146
-11.0%
1.12x (?)

XorLoop
963
864
-10.3%
1.11x (?)

ArrayAppendReserved
780
700
-10.3%
1.11x (?)

ArrayPlusEqualFiveElementCollection
4736
4292
-9.4%
1.10x (?)

MapReduceString
43
39
-9.3%
1.10x (?)

ArrayAppend
930
850
-8.6%
1.09x (?)

Code size: -O

Improvement
OLD
NEW
DELTA
RATIO

BufferFill.o
7268
7044
-3.1%
1.03x

Performance (x86_64): -Osize

Regression
OLD
NEW
DELTA
RATIO

ArrayAppendGenericStructs
590
1430
+142.4%
0.41x (?)

Improvement
OLD
NEW
DELTA
RATIO

RawBufferInitializeMemory
152
20
-86.8%
7.60x

FlattenListFlatMap
2741
2398
-12.5%
1.14x (?)

FlattenListLoop
2767
2557
-7.6%
1.08x (?)

DictionaryKeysContainsNative
15
14
-6.7%
1.07x (?)

Code size: -Osize

Improvement
OLD
NEW
DELTA
RATIO

BufferFill.o
8106
7887
-2.7%
1.03x

Performance (x86_64): -Onone

Improvement
OLD
NEW
DELTA
RATIO

RawBufferInitializeMemory
16627
20
-99.9%
831.31x

UTF8Decode_InitFromCustom_contiguous_ascii
230
204
-11.3%
1.13x (?)

Code size: -swiftlibs

How to read the data
The tables contain differences in performance which are larger than 8% and
differences in code size which are larger than 1%.
If you see any unexpected regressions, you should consider fixing the
regressions before you merge the PR.
Noise: Sometimes the performance results (not code size!) contain false
alarms. Unexpected regressions which are marked with '(?)' are probably noise.
If you see regressions which you cannot explain you can try to run the
benchmarks again. If regressions still show up, please consult with the
performance team (@eeckstein).

Hardware Overview
  Model Name: Mac mini
  Model Identifier: Macmini8,1
  Processor Name: 6-Core Intel Core i7
  Processor Speed: 3.2 GHz
  Number of Processors: 1
  Total Number of Cores: 6
  L2 Cache (per Core): 256 KB
  L3 Cache: 12 MB
  Memory: 64 GB

btw, there's something wrong with the DictionaryOfAnyHashableStrings_insert. It regresses arbitrarily on CI. No one has gotten around to investigating and disabling it

@swift-ci please benchmark

Performance (x86_64): -O

Regression
OLD
NEW
DELTA
RATIO

DictionaryOfAnyHashableStrings_insert
2156
3794
+76.0%
0.57x

DictionaryKeysContainsCocoa
16
19
+18.7%
0.84x (?)

DictionaryKeysContainsNative
13
15
+15.4%
0.87x (?)

StringRemoveDupes
178
198
+11.2%
0.90x (?)

DictionaryBridgeToObjC_BulkAccess
98
108
+10.2%
0.91x (?)

Improvement
OLD
NEW
DELTA
RATIO

RawBufferInitializeMemory
130
20
-84.6%
6.50x

BucketSort
164
146
-11.0%
1.12x (?)

XorLoop
963
862
-10.5%
1.12x (?)

ArrayAppendReserved
780
700
-10.3%
1.11x (?)

FlattenListLoop
3115
2803
-10.0%
1.11x (?)

PrefixWhileSequence
196
177
-9.7%
1.11x (?)

PrefixWhileAnySequence
188
174
-7.4%
1.08x (?)

Code size: -O

Improvement
OLD
NEW
DELTA
RATIO

BufferFill.o
7268
7044
-3.1%
1.03x

Performance (x86_64): -Osize

Regression
OLD
NEW
DELTA
RATIO

FlattenListLoop
2636
2906
+10.2%
0.91x (?)

DictionaryBridgeToObjC_BulkAccess
97
106
+9.3%
0.92x (?)

Improvement
OLD
NEW
DELTA
RATIO

RawBufferInitializeMemory
152
20
-86.8%
7.60x

Set.isDisjoint.Seq.Box.Empty
89
83
-6.7%
1.07x (?)

Code size: -Osize

Improvement
OLD
NEW
DELTA
RATIO

BufferFill.o
8106
7887
-2.7%
1.03x

Performance (x86_64): -Onone

Improvement
OLD
NEW
DELTA
RATIO

RawBufferInitializeMemory
16949
21
-99.9%
807.06x

Code size: -swiftlibs

How to read the data
The tables contain differences in performance which are larger than 8% and
differences in code size which are larger than 1%.
If you see any unexpected regressions, you should consider fixing the
regressions before you merge the PR.
Noise: Sometimes the performance results (not code size!) contain false
alarms. Unexpected regressions which are marked with '(?)' are probably noise.
If you see regressions which you cannot explain you can try to run the
benchmarks again. If regressions still show up, please consult with the
performance team (@eeckstein).

Hardware Overview
  Model Name: Mac mini
  Model Identifier: Macmini8,1
  Processor Name: 6-Core Intel Core i7
  Processor Speed: 3.2 GHz
  Number of Processors: 1
  Total Number of Cores: 6
  L2 Cache (per Core): 256 KB
  L3 Cache: 12 MB
  Memory: 64 GB

@swift-ci please smoke test

This has been resolved in a different way in SE-0370, by implementing a separate method to initialize from a collection: UnsafeMutableRawBufferPointer.initialize(as:fromContentsOf:).


UPDATED: dependencies in package.json

Updated:

@kyvg/vue3-notification from 2 to latest 3 version (3.1.4)
other dependencies (@nuxt/module-builder, eslint, prettier)
lock file (yarn.lock) regenerated from scratch

Hi! Thank u for PR.
Please tell me, did you check the functionality of the module after updating the package from @kyvg?
Still, the major version has been updated...

Yes I tested the base functionality & execution of script commands from package.json. I didn't notice any errors.
Also I'm going to do a couple of PRs with fixes after merging this one.
What do you think about making the release v2.0-beta1? So, we could test it in projects.

Also consider migrating Yarn to the latest version 4.1. Since version 1 is outdated and seems to be causing problems.

Also consider migrating Yarn to the latest version 4.1. Since version 1 is outdated and seems to be causing problems.

Ofc, in the next release I want to switch to pnpm.

What do you think about making the release v2.0-beta1? So, we could test it in projects.

Great! Lets do it:)


Have module_path be a @string or @string.special query

I don't see why not, sure with @string it could get a bit repetitive on the eyes, but that's why I suggest special, because they're pretty much always links to a repo, and allows for anyone to implement a contrast vs the version in their colorscheme.
Let me know I can PR this pretty fast,
Amaan

Also..do you think maintaining/having a gosum parser is a good idea? We can work on that together or I can if you are unable to, just trying to get some thoughts from others :)


Where is the exe or msi file under releases? I dont have MS store.

Where is the exe or msi file under releases? I dont have MS store.

I think it's only windows 10+


The new sfdx-cli/7.66.2 version is breaking deployment

Summary
With this new release of sfdx-cli/7.66.2 and we try to deploy any component it throws an error UnexpectedFileFound
Steps To Reproduce:

In the project directory, we have audience metadata (folder)
try to deploy any component ApexClass, CustomField, etc.
use sfdx deploy command to deploy any component using package.xml
you will receive an error UnexpectedFileFound: Unexpected file found in package directory: /force-app/main/default/audience/Default_Client Intake.audience-meta.xml

Expected result
It should deploy the changes we have in package.xml
Actual result
UnexpectedFileFound: Unexpected file found in package directory: /force-app/main/default/audience/Default_Client Intake.audience-meta.xml

Duplicate of #470


[FLINK-8556] [Kinesis Connector] Add proxy feature to the connector

The purpose of the change
The connector can not be configured to use a proxy to access Kinesis endpoint.
This feature is required if running on EC2 instances which can access internet only through a proxy.
VPC Kinesis endpoints are currently available in few AWS' regions.
Change log
The configuration is extended with new parameters for all supported proxy of the AWS Client Configuration.
Can be configured as Anonymous or with any combination of authentication's methods BASIC, DIGEST, SPNEGO,
KERBEROS and NTML.
Verifying this change
No test added to check those optionnal paramaters. The check is done at runtime by validating the configuration.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? yes
If yes, how is the feature documented? JavaDocs

Thanks for the contribution @pduveau.
I'll try to take a look at this soon.

Hi @pduveau, sorry for the delay here.
I've previously been busy with recent releases, and am currently traveling for Flink Forward.
This PR is still on my backlog, will try to get back to it as soon as possible.


Question: Depth_colored.png

I'm using your devel branch, and looking in Kinect_viewer, I was wondering if there was a numerical association with the colors in the depth color image and the actual depth(with respect to the calibration)?

sorry i'm just a new gay for this, i just know when you closer to kinect and the color more deep when you far while it come to white.
And in actually kinect can measure the true depth. there  is X Y Z  in your code can get from kinect.so you can get the  depth.

@hyderjake
The colors are just a visualization of the depth measurements. There is no "depth color image", there is just a depth image with distances in mm for each pixel. The colors are being generated with http://docs.opencv.org/2.4.8/modules/contrib/doc/facerec/colormaps.html.
@snowlyDay
The depth image contains the depth measurements, together with the camera intrinsic parameters you can compute xyz, or you could just subscribe to the point cloud topic directly.

That is helpful, but just to clarify, if I converted a pixel to a value it would give me the depth in mm?

the *_depth.png is a 16bit image, each pixel consists of one value with is an unsigned short. There shouldn't be any color. The pixels value is the depth in mm. You can use OpenCV to read it in.

The color value was just a gray scale which is the default for opencv, I was trying to do this as simply as possible, I used imagemagick to convert to a txt file and read it directly. I was curious if that file was converted correctly and if that number seemed accurate? I will try it with openCV though


Error in canonicalizing a quadratic expression with constant regularization

Describe the bug
Let a be a scalar parameter and b be a scalar variable. CVXPY 1.0.19 fails to minimize b ** 2 + cvx.abs(a), but CVXPY 0.4.11 successfully solves it. Surprisingly, this error won't happen when minimizing b ** 2 + cvx.abs(b) or b + cvx.abs(a).
To Reproduce
The following code reproduces the error:
import cvxpy as cvx
a = cvx.Parameter(value=1)
b = cvx.Variable()

obj = cvx.Minimize(b ** 2 + cvx.abs(a))
prob = cvx.Problem(obj)
prob.solve()
print(obj.value)

Expected behavior
Print 1.0 to the standard output.
Output
Traceback (most recent call last):
  File "test.py", line 7, in <module>
    prob.solve()
  File "/Users/nima/anaconda/envs/test/lib/python3.6/site-packages/cvxpy/problems/problem.py", line 271, in solve
    return solve_func(self, *args, **kwargs)
  File "/Users/nima/anaconda/envs/test/lib/python3.6/site-packages/cvxpy/problems/problem.py", line 496, in _solve
    self._solving_chain.apply(self._intermediate_problem)
  File "/Users/nima/anaconda/envs/test/lib/python3.6/site-packages/cvxpy/reductions/chain.py", line 65, in apply
    problem, inv = r.apply(problem)
  File "/Users/nima/anaconda/envs/test/lib/python3.6/site-packages/cvxpy/reductions/matrix_stuffing.py", line 63, in apply
    new_obj, new_var, r = self.stuffed_objective(problem, extractor)
  File "/Users/nima/anaconda/envs/test/lib/python3.6/site-packages/cvxpy/reductions/dcp2cone/cone_matrix_stuffing.py", line 45, in stuffed_objective
    C, R = extractor.affine(problem.objective.expr)
  File "/Users/nima/anaconda/envs/test/lib/python3.6/site-packages/cvxpy/utilities/coeff_extractor.py", line 77, in affine
    op_list = [e.canonical_form[0] for e in expr_list]
  File "/Users/nima/anaconda/envs/test/lib/python3.6/site-packages/cvxpy/utilities/coeff_extractor.py", line 77, in <listcomp>
    op_list = [e.canonical_form[0] for e in expr_list]
  File "/Users/nima/anaconda/envs/test/lib/python3.6/site-packages/cvxpy/utilities/performance_utils.py", line 37, in _lazyprop
    setattr(self, attr_name, func(self))
  File "/Users/nima/anaconda/envs/test/lib/python3.6/site-packages/cvxpy/utilities/canonical.py", line 39, in canonical_form
    return self.canonicalize()
  File "/Users/nima/anaconda/envs/test/lib/python3.6/site-packages/cvxpy/atoms/atom.py", line 233, in canonicalize
    obj, constr = arg.canonical_form
  File "/Users/nima/anaconda/envs/test/lib/python3.6/site-packages/cvxpy/utilities/performance_utils.py", line 37, in _lazyprop
    setattr(self, attr_name, func(self))
  File "/Users/nima/anaconda/envs/test/lib/python3.6/site-packages/cvxpy/utilities/canonical.py", line 39, in canonical_form
    return self.canonicalize()
  File "/Users/nima/anaconda/envs/test/lib/python3.6/site-packages/cvxpy/atoms/atom.py", line 240, in canonicalize
    data)
TypeError: 'NotImplementedType' object is not iterable

Version

OS: macOS 10.14.3
CVXPY Version: 1.0.19

Thanks for pointing this out! It's fixed now in master.


cinnamon.cinnamon-screensaver: 6.0.2 -> 6.0.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/cinnamon-screensaver/versions.
meta.description for cinnamon.cinnamon-screensaver is: The Cinnamon screen locker and screensaver program
meta.homepage for cinnamon.cinnamon-screensaver is: https://github.com/linuxmint/cinnamon-screensaver
Updates performed

Version update

To inspect upstream changes

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 6.0.3 with grep in /nix/store/1mkmcbn80i2jdmmr7058wy3v07cwdd8d-cinnamon-screensaver-6.0.3
found 6.0.3 in filename of file in /nix/store/1mkmcbn80i2jdmmr7058wy3v07cwdd8d-cinnamon-screensaver-6.0.3

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
cinnamon.cinnamon-screensaver

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/1mkmcbn80i2jdmmr7058wy3v07cwdd8d-cinnamon-screensaver-6.0.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A cinnamon.cinnamon-screensaver https://github.com/r-ryantm/nixpkgs/archive/105a084cbc8687941d8cb8984d8998525671033f.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/105a084cbc8687941d8cb8984d8998525671033f#cinnamon.cinnamon-screensaver

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/1mkmcbn80i2jdmmr7058wy3v07cwdd8d-cinnamon-screensaver-6.0.3
ls -la /nix/store/1mkmcbn80i2jdmmr7058wy3v07cwdd8d-cinnamon-screensaver-6.0.3/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

cinnamon.cinnamon-screensaver

Maintainer pings
cc @bobby285271 @mkg20001 for testing.

Dropped the test-driver fix again since 07e7fcc46fcedf1f63c68c33a3b68ef521ebe2cf landed faster :joy:


refactor managed dependencies

motivation: ManagedDependencies are based on location instead of on identity, refactor them to be based on identity as part of the transition to identity based logic
changes:

transition ManagedDependencies underlying hashmap to be based on identity
update the ManagedDependencies edit state to include the "basedOn" property which is only relevant to that state
update call sites to use package identity instead of location when reading/writing managed dependencies
refactor related call-sites to handle edited state more safely and correctly
adjust tests where needed

needs #3696 first

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@abertelrud @neonichu @shahmishal I looked at the package compatibility test and Kitura 5.1 is now failing due to an improved validation that we introduced in #3705 (which is already merged, so not this PR)
'Kitura-net' /private/tmp/Kitura/.build/checkouts/Kitura-net: error: 'kitura-net' dependency on 'https://github.com/Kitura/LoggerAPI.git' conflicts with dependency on 'https://github.com/IBM-Swift/LoggerAPI.git' which has the same identity 'loggerapi'
'KituraContracts' /private/tmp/Kitura/.build/checkouts/KituraContracts: error: 'kituracontracts' dependency on 'https://github.com/Kitura/LoggerAPI.git' conflicts with dependency on 'https://github.com/IBM-Swift/LoggerAPI.git' which has the same identity 'loggerapi'

the question is what the best strategy here, since the new code find an issue with the existing code which used to work but was never invalid. should we remove the version of kitura from the compatibility suite until its fixed there, or do you have a better way?

@swift-ci please test package compatibility

@abertelrud @neonichu @shahmishal I looked at the package compatibility test and Kitura 5.1 is now failing due to an improved validation that we introduced in #3687 (which is already merged, so not this PR)
'Kitura-net' /private/tmp/Kitura/.build/checkouts/Kitura-net: error: 'kitura-net' dependency on 'https://github.com/Kitura/LoggerAPI.git' conflicts with dependency on 'https://github.com/IBM-Swift/LoggerAPI.git' which has the same identity 'loggerapi'
'KituraContracts' /private/tmp/Kitura/.build/checkouts/KituraContracts: error: 'kituracontracts' dependency on 'https://github.com/Kitura/LoggerAPI.git' conflicts with dependency on 'https://github.com/IBM-Swift/LoggerAPI.git' which has the same identity 'loggerapi'

the question is what the best strategy here, since the new validation find an issue with the existing code which used to "work" but was never valid and can lead to undefined behavior. should we remove the version of kitura from the compatibility suite until its fixed there, or do you have a better way?

Seems similar to a marking a unit test as failing for external reason, except at a whole-package level.  Could we let them know about the problem, disable Kitura, and then reenable it when they have a version that fixes the problem?

Seems similar to a marking a unit test as failing for external reason, except at a whole-package level. Could we let them know about the problem, disable Kitura, and then reenable it when they have a version that fixes the problem?

I relaxed the error to warning for now which means the test suite passes. once we escalate to an error again (next major release) we will see if they fixed it already or we need to ask them to do so

@swift-ci please smoke test

@swift-ci please test package compatibility

@mattt this should be in a bit of a better shape now. can you test to see if it works for you?

@swift-ci please smoke test

@swift-ci please smoke test

@mattt did you add commits here that I mistakingly override?

@swift-ci please test package compatibility

@mattt did you add commits here that I mistakingly override?

I applied the typo fix suggestion from my original PR review earlier this morning (lbashedOn -> lbasedOn), which appears to have been lost with the force push. But that's no big deal. The commit ref is 4adf6f87568bbd8cc5c80bfa29bd75ea1a1adc0c if you'd like to cherry pick that.

@swift-ci please smoke test

@swift-ci please test package compatibility


Added new parameters and kernels with new and old code

Created two separate kernels: one with the original code (containing the if (i == id) continue statement) and the other kernel without the 'if'. Also, introduced two new parameters: one for selecting the kernel to use and the other for setting the work group size. Additionally, included performance information displaying the times for the different kernels.

Your suggestion looks much better. I will make the change
The commented lines
Thanks,

From: Duncan McBain @.>
Sent: 29 January 2024 20:09
To: codeplaysoftware/cuda-to-sycl-nbody @.>
Cc: Pablo @.>; Author @.>
Subject: Re: [codeplaysoftware/cuda-to-sycl-nbody] Added new parameters and kernels with new and old code (PR #31)
@DuncanMcBain approved this pull request.

In CMakeLists.txthttps://github.com/codeplaysoftware/cuda-to-sycl-nbody/pull/31#discussion_r1469943206:

@@ -22,6 +22,9 @@ else()
message(FATAL_ERROR "Unrecognized BACKEND")
endif()

+#set_target_properties(${BINARY_NAME} PROPERTIES CUDA_ARCHITECTURES "50;72")
There's commented lines here - should we uncomment them, or remove them entirely?

In src/simulator.cuhttps://github.com/codeplaysoftware/cuda-to-sycl-nbody/pull/31#discussion_r1470143363:

 curr_vel += force * params.dt * params.G;

 pVel.x[id] = curr_vel.x;

 pVel.y[id] = curr_vel.y;

 pVel.z[id] = curr_vel.z;

 // Update position (integration)

 vec3 curr_pos(pPos.x[id], pPos.y[id], pPos.z[id]);

 curr_pos += curr_vel * params.dt;

 pNextPos.x[id] = curr_pos.x;

 pNextPos.y[id] = curr_pos.y;

 pNextPos.z[id] = curr_pos.z;

}

global void particle_interaction_b(ParticleData_d pPos,

We could reduce the code duplication a bit here with something like:
enum class CalculationMethod {
BRANCH,
PREDICATED
};
template
global void particle_interaction_b(ParticleData_d pPos, // &c
...
if constexpr(ct == CalculationType::BRANCH) {
if (id == i) continue;
force += r * inv_dist_cube;
} else if constexpr (ct == CalculationType::PREDICATED)
// ... and so on
However, this isn't needed, as it will still involve the same number of kernels being generated, but will have a bit less code. This is roughly what I sketched when we talked about this last week.
—
Reply to this email directly, view it on GitHubhttps://github.com/codeplaysoftware/cuda-to-sycl-nbody/pull/31#pullrequestreview-1849297785, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BE6TABOQYORZXQ7KLUKHVITYQ76XBAVCNFSM6AAAAABCJNRGFKVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTQNBZGI4TONZYGU.
You are receiving this because you authored the thread.Message ID: @.***>

Done.

From: Duncan McBain @.>
Sent: 31 January 2024 18:05
To: codeplaysoftware/cuda-to-sycl-nbody @.>
Cc: Pablo @.>; Author @.>
Subject: Re: [codeplaysoftware/cuda-to-sycl-nbody] Added new parameters and kernels with new and old code (PR #31)
@DuncanMcBain approved this pull request.
If we can fix that formatting I'll merge right away 👍

In src_sycl/simulator.dp.cpphttps://github.com/codeplaysoftware/cuda-to-sycl-nbody/pull/31#discussion_r1473250764:

template

void particle_interaction(ParticleData_d pPos,

The formatting looks like it's gone a little funny here - I wouldn't normally indent after the template line.
—
Reply to this email directly, view it on GitHubhttps://github.com/codeplaysoftware/cuda-to-sycl-nbody/pull/31#pullrequestreview-1854485746, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BE6TABI5AUELAPTEZ476P3TYRKBVTAVCNFSM6AAAAABCJNRGFKVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTQNJUGQ4DKNZUGY.
You are receiving this because you authored the thread.Message ID: @.***>


question about the alpha-clip combined with LLaVA-7b

Sorry to bother you in your busy time and i am hurry to cary out alpha-clip with LLaVA-7b-clip.
I followed the instructions in here and changed something.
The input images and masks are as follows:

and the rewrited forward are as follows:

But the generated text doesn't seems to be a specific area of concern and i am wondering why. can you give me some useful advice?
Thank you

And I tried another methods, given a original image and mask image (mode is L), i combine them to alpha image.
the combined image and changed rewrited forward are as follows:

And my prompt is : Describe this image and its style in a very detailed manner.
The generated text is : The image features a large black and white dog with a smile on its face, likely a German Shepherd. The dog is the main focus of the image, taking up a significant portion of the frame. The dog appears to be enjoying a moment of happiness, possibly posing for a picture.
I don't think the results are too good, because he still seems to be paying attention to the black areas of the image.
Can you give me some useful advice?

Your mask transform should involve center_crop, same as llava preprocess does.

thank you for your kindly reply~! I try that method, unfortunately, it does not work
without transform.centercrop, the visualized image and mask are as follows:

The mask area is correctly mapped to the original image, but the generated text is consistent with the result without Alpha-clip

Is this problem solved? Maybe LLaVA need to be fine tuned to match alpha clip's output?

No! we suspect that alpha-clip is a mechanism of attention. As in the image above, this is more difficult when the main body of the image is a banana and we want to use alpha-clip to texture the background area；
Good luck

I did encounter this problem when using my own model(LLMs are Vicuna and GLM):
"But the generated text doesn't seems to be a specific area of concern and i am wondering why. can you give me some useful advice?"
Since the paper mentioned they finetuned LLaVA 1.5 with alpha clip, so i doubt the zero shot stitching ability of alpha clip

Depending on the image, it may be when the subject of the image is more obvious, and we try to ignore the subject completely, which may be difficult to do with the alpha-clip with LLaVA.

hi, I believe your case work in some degree when using Alpha-CLIP

The official demo is now available now! you can checkout on your own.

hi, I believe your case work in some degree when using Alpha-CLIP   The official demo is now available now! you can checkout on your own.

Thanks for sharing the demo. May i ask if it's necessary to fine tune Alpha clip when stitching to a new MLLM? As for me, the zero shot stitching works not well.

Our demo doesn't involve finetuning of LLaVA. It only involve replacing original CLIP with Alpha-CLIP. the code is also available in demo/with_llm. I believe a bit finetuning can help you get better result.

Thanks for replying :)


EDI dataset ?

Hello chensong1995:
Thanks for your great work. Could you please provide the EDI dataset as REDS? Thanks a lot.

Hello chenkang455,
Thanks for your question! Unfortunately, the EDI dataset only contains blurry images and not ground-truth sharp images. This means we cannot use EDI to train the prediction model because we do not have any training supervision. In our experiments, we only use EDI to evaluate the model trained on REDS. Please take a look at this document for steps to prepare the EDI dataset for evaluation.
I hope this helps! Let me know if you have any other questions.

Got it. Thank for your help!


【- (void)swipeTableView:(SwipeTableView *)swipeView didSelectItemAtIndex:(NSInteger)index】never called

This protocol method just like - (void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath.
So, only when the content view (your custom item view at each index) in the cell didn't response the touch event, this method will be called.
This the original code:
- (void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath {
    if (_delegate && [_delegate respondsToSelector:@selector(swipeTableView:didSelectItemAtIndex:)]) {
        [_delegate swipeTableView:self didSelectItemAtIndex:indexPath.row];
    }
}

Then, you should check whether some views subclass of UIControl are added to response the touch event, or other ways intercepted the touch event.


Papers model additional features

[ ] Option to archive paper - Archived paper does not show up in future events for review
[ ] Paper list show as accordian

Title & tags

[ ] Paper list filtering

Papers by tags?
Papers by search?
Papers by events?
Language
Domain
What tools have been use

[ ] Paper list pagination

Here's a nice recent example of a paperlist: http://shinyapps.sheffield.ac.uk/imperial-shef-reprohack
A nice option could be a navigable table with details like Title & tools used and when you click on an entry on a table a card like the one in the paperlist above

@annakrystalli I'd noticed that the Paper model doesn't currently have an 'author' field or that it's associated with any users of the system.
I propose we have an:

Authors as just a text field, to list all the authors associated to the paper
Submitter as a foreign key field, this associates to the actual user that's submitted the paper

Does this sound ok?

Sounds sensible to me.


The Meta Submission

Hey guys... nice effort. This scores 0.609. You should note that it's highly likely that the CSVs in the repo are not the ones that scored the given F1s in the leaderboard, because I usually change the random seeds. Check the PR chat for each PR to see what seed gave those results. Also bear in mind #114, which isn't really resolved.

Oh, BTW... I feel like a legit submission should really take the training data as input, and provide the prediction as output, or at least a way for me to generate it... I suppose your entry sort of does this, because all those models are in the repo, but some people might call it a stretch :) In practice, it really is a stretch, because so far I haven't been able to get ar4's notebook to work. This may or may not end up being an issue, but I'm still working on it.

Well, in a way this isn't a truly serious submission, because essentially we are basing our work on the work of others, so full credit goes to the top 4 in this case. We did want to show that it is possible to achieve high(er) scores by weighting by f1-scores. We actually expected to outperform the leading submission in this case.

@kwinkunks Oh dear, a problem running my notebook? Is there anything I can do to assist? Would it help if I upgraded to iPython 3 (I'm still running 2)?

@ar4 Sorry Alan! My mistake — it's the Bird_Team notebook I was having trouble with. They're working on a solution.


Fix ldb file wrong level info in log

Our operation engineers found wrong level numbers of new generated table files in logs when tracked down some problems of Leveldb.
As the following logs show, 0 is the level of table file 958, but in the next log, file 958 is level 1. Actually compaction also never generate L0 tables files.
2020/06/30-15:18:44.422028 7f7f48dfa700 Generated table #958@0: 707856 keys, 34884932 bytes
2020/06/30-15:18:47.923527 7f7f48dfa700 Compacting file, num:958, level:1

Just as the comment of the member function level() of Compaction says
  // Return the level that is being compacted.  Inputs from "level"
  // and "level+1" will be merged to produce a set of "level+1" files.
  int level() const { return level_; }

So the level of out put files should be level() + 1

You are so careful

Please have a look if you have time @cmumford