"wincmd J" on window already at the bottom changes height of other windows

Using wincmd J on a window that is at the bottom already will resize the windows above.
The following script shows this for a quickfix window, but it happens with a normal window, too.
The help says that it behaves like closing the window, and using :botright split with the old windows' buffer.  But using :q | botright split does not resize the windows above.
set noequalalways
fun Heights()
  echom string(map(range(1, winnr('$')), 'winheight(v:val)'))
endfun

e 1
sp 2
copen

call Heights()
wincmd J
call Heights()

[25, 13, 10]
[18, 20, 10]

Using equalalways the behavior is similar, but different still (somehow more expected in this case - apart from that the resizing should have happened with :copen already?!):

[25, 13, 10]
[19, 19, 10]

This is explained in the help. Since this is closing and reopening a new window, chaning the dimensions is to be expected.
CTRL-W J        Move the current window to be at the very bottom, using the
                full width of the screen.  This works like closing the current
                window and then creating another one with ":botright split",
                except that the current window contents is used for the new
                window.

@chrisbra
I've referred to that:

But using :q | botright split does not resize the windows above.

okay, reopening then


Add boolean type into cluster integration tests.

This PR depends on PR #310

Add boolean type into cluster integration tests data set.
Update integration tests queries set for boolean type supports.
Fix or remove tests that test nothing.

whats blocking this from being merged?


Export mesh aligned with camera pose

Hi,
I tried to export a scene mesh but I found it not aligned with the camera poses. Do anyone know if there a way to export the mesh keeping the mesh origin consistent with the camera poses?

Hi @santelelle,
I'm not sure if I understand what you would like to do.
It sounds like you want the vertices of the exported mesh to have the same locations as they do in the level in the location where they are placed. To achieve this, you would need to transform each vertex's coordinates using the actor translation, rotation, and scaling properties from the level editor. I don't know if UE supports this or it would need to be done manually.
Hope this helps,
Nikola

Hi @NikolaJov96
Yes, that is exactly what I meant. I tried to do that manually but I never managed to export it correctly. I was hoping there was a way to manage that through the plugin.


Renaming (add name) devices

Would be very useful to have a feature to rename (or add an additional name) to audio devices, because with some systems I have more devices with the same default name (f.e. High Definition Audio Device).
Thank you.
P.S. Great work, keep on coding!

There's a requirement for Audio Switcher to have admin privileges to do this (properly), so currently it's not available through Audio Switcher.
However! You can rename each device through Control Panel, and Audio Switcher will recognise and use these custom names.
Sounds > Playback Devices > Right Click on the Device > Properties - Change the value in the text box to whatever you like.
Closing for now, as it's not on the feature radar, and there is an easy "workaround"

Wow, many thanks, I really didn't know about the renaming inside control panel.


feat: nominate Dentrax as codeowner

Signed-off-by: Batuhan Apaydın<EMAIL_ADDRESS>
Summary

Ticket Link

Fixes
Release Note

cc: @dentrax

+1! I didn't realize he wasn't already!

+1 🎉

Thanks! ❤


adds parameter info to the completion popup

This is not perfect, when there are long names:

I tried different methods, but it kind of strechtes my head. I think I need to put the hint list in an extra div to get something that works properly.

So, my thoughts are:

we want to avoid horizontal scrolling, esp. in a popup window
at some point in the future, we may have a 'details' section to the right of the completion popup. That could show the full completion info, including dartdoc.
for now, just indicating that we overflowed would work. So, some ... when completion info is too long

@kasperpeulen, let's get @lukechurch's opinion on this as well.

Sure. What about showing the extra information on click ? @devoncarew  @lukechurch

Hey @kasperpeulen I think for now just ... ing out the extra information is probably the way to go. Having the box change size is a little jarring, and it's very non-standard UX to have clicking on an entry in a list have it expand the list rather than 'select the entry'
On the other hand I love the parameter display!

@lukechurch It is not completely non-standard, intelliJ also works this way:

But okay, you guys decide :) I understand the downsides of my design as well. I will remove it.

@kasperpeulen Thanks! I'll merge


Character sheet fails to import/breaks with certain "Integer (Display Only)" Attributes.

Tested on 1.0.0-alpha.1
Character sheets will fail to import and break (become unresponsive, requiring deletion) if they contain any custom attributes of the attribute type "Integer (Display Only)" that contain certain math expressions in its base value formula. Pictured below is an example of the type of attribute that can cause this.

I'm not sure exactly how many expressions are problematic, but I have individually tested "max()" and it seems to be at least one of the culprits. Some more basic formulas do still import correctly.
Switching the attribute type to the normal "Integer" type (ie. without Display Only) makes it import without issue, so it seems to be a problem specifically with the "Integer (Display Only)" type.
Attached here is a zipped .attr file that demonstrates this issue. You should be able to recreate it by importing that .attr file to any GCS character, then attempting to import that character to GCSGA.

Fixed via #24


Compiler error with subtypes of erased types

class Insert (α : outParam (Type u)) (β : Type v) where
  insert : α → β → β
export Insert (insert)

abbrev Set (α : Type u) := α → Prop

instance : Insert α (Set α) where
  insert a as a' := a = a' ∨ as a'

def NonemptySet (α : Type u) := { as : Set α // ∃ a, as a }

-- failed to compile definition, consider marking it as 'noncomputable' because
-- it depends on 'Insert.insert', and it does not have executable code
instance : Insert α (NonemptySet α) where
  insert a as := ⟨insert a as.1, let ⟨a', h⟩ := as.2; ⟨a', .inr h⟩⟩

Potentially related to #2096, because the insert in the instance for NonemptySet is still of function type (even though the projection itself is fully applied).

As a workaround, you can manually eta-expand the insert call:
instance : Insert α (NonemptySet α) where
  insert a as := ⟨(insert a as.1 ·), let ⟨a', h⟩ := as.2; ⟨a', Or.inr h⟩⟩

Here is a potentially related error
instance [h : Coe α (Sort u)] : CoeSort α (Sort u) where
  coe := h.coe
/-failed to compile definition,
  consider marking it as 'noncomputable'
  because it depends on 'Coe.coe', and it
  does not have executable code-/

This, however, works:
instance [h : Coe α (Sort u)] : CoeSort α (Sort u) where
  coe x := h.coe x

And another.
import Mathlib.Tactic.Common

structure Iso (α : Type) (β : Type) :=
  (to_fun : α → β)
  (inv_fun : β → α)
  (left_inv : inv_fun ∘ to_fun = id)
  (right_inv : to_fun ∘ inv_fun = id)

def HasInverse {α β: Type} (f: α → β) := ∃ (g: β → α), (g ∘ f = id) ∧ (f ∘ g = id)

def Invertible (α β: Type) := {f: α → β // HasInverse f}

theorem Invertible.ofIso {α β: Type} (iso: Iso α β): Invertible α β :=
  ⟨iso.to_fun, ⟨iso.inv_fun, ⟨iso.left_inv, iso.right_inv⟩⟩⟩

instance : Coe (Iso α β) (Invertible α β) := ⟨Invertible.ofIso⟩
/--failed to compile definition, consider marking it as 'noncomputable' because it depends on 'Invertible.ofIso', and it does not have executable code-/

Replacing the reference with its definition:
-- instance : Coe (Iso α β) (Invertible α β) := ⟨λ i ↦ ⟨i.to_fun, ⟨i.inv_fun, ⟨i.left_inv, i.right_inv⟩⟩⟩⟩

acts as a workaround.


Simplifies DPC

Motivation
This PR simplifies much of the DPC execution logic to improve readability and prepare for a transaction builder.
As we use a tree to represent local data state, the record position is now an implicit part of the construction, and programs who need to know position will need to derive it by retracing the Merkle path siblings, or for input records only, recompute the serial number with a private key to verify an input record position. This PR updates the local data leaves to include the leaf index as part of the local data commitment.

DPC::execute_online_phase() now returns only the Transaction struct, as new_records are already in the kernel given by the caller
Adds LocalDataLeaf and leaf_index to each leaf (requires resampling inner circuit parameters)
Adds TransactionAuthorization leaf:

TransactionAuthorization {
    network_id,
    serial_numbers,
    commitments,
    value_balance,
    memo,
    signatures,
}

^The above commit is the only commit so far to change any circuit logic. Observe that it is a 2 line change the inner circuit successfully reaches the constraint size check error, meaning the inner circuit proof generated and verified successfully.

^The penultimate commit (2f2ae22) above passes the execute constraint test now that the inner circuit constraint count was updated.


The total length of the fields in an index exceeds max key size. Index typ of table (TEMP-TABLE)ttXref (129)

Currently there is intermittent issues when using PCT to compile code.
The error looks like this:
compile-progress-proxy:
build	10-May-2016 02:21:02
[mkdir] Created dir: /dr01/bamboo/xml-data/build-dir/QRA-QRAD-BL/tmp/wc1759838280/bl/work/progress-proxy-rcode
build	10-May-2016 02:21:02
[PCTCompile] PCTCompile - Progress Code Compiler
build	10-May-2016 02:21:27
[PCTCompile] The total length of the fields in an index exceeds max key size. Index typ of table (TEMP-TABLE)ttXref (129) (11353)
build	10-May-2016 02:21:27
[PCTCompile] The total length of the fields in an index exceeds max key size. Index typ of table (TEMP-TABLE)ttXref (129) (11353)
build	10-May-2016 02:21:27
[PCTCompile] The total length of the fields in an index exceeds max key size. Index typ of table (TEMP-TABLE)ttXref (129) (11353)

This error occurs in our several QRA related bamboo builds as you can refer to
QRA base integrate bamboo build
QRA bamboo build
PCT - version : qra-pct-<IP_ADDRESS>
DLC - version : dlc11464 ( OpenEdge 11.4 64-bit)
Reference ticket: https://projects.qad.com/browse/DVS-10940
Any other information needed? Due to its intermittency, find it hard to create a verbose log.

HOST & OS info:
coli49:92 /users/dr2 $ cat /etc/redhat\-release
Red Hat Enterprise Linux Server release 5.11 (Tikanga)
coli49:92 /users/dr2 $ uname -a
Linux coli49 2.6.18-410.el5 #1 SMP Fri Apr 8 05:48:52 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux

Hi,
You're using a custom version of PCT as shown by the PCT Version string, so that will be difficult to reproduce the issue.
I also don't have access to your bamboo server.

There is a recent error occurs with the message.
My email is<EMAIL_ADDRESS>hoping to contact with you.
There is an email that gives the possible resolution to this,

From: Gilles QUERRET<EMAIL_ADDRESS>Date: Mon, May 9, 2016 at 1:13 PM
Subject: Re: intermittent PCT compile error
To: Doug Norton<EMAIL_ADDRESS>Hi Doug,
Please report the issue on GitHub, and make sure you include the PCT version number, OE version and OS version.
One idea for this (129) message : do you specify the -tmpbsize parameter in the PCTCompile node (or inherit from some .pf file) ? An index was added some time ago on the ttXref (as there were performance problem on large projects involving lots of include files), but that may be a problem when tmpbsize is set to 1 (leading to 180 characters limitation on indexes).
Gilles

The file attched is the log file, but is not very friendly.
QRA-QRADBASEINT-BL-4844.log.txt
Any other information needed please contact me. I'm currently creating environment to reproduce the issue.

Does a rebuild of the same exact version in Bamboo triggers again the issue ?
There's a mention of a PCT version, can you confirm the version being used ? Use PCTVersion task in your build, or have a look at the META-INF/MANIFEST.MF file in your JAR file. Without a version number, I can't say anything.
You can also trigger the build with -v in order to generate a verbose log. That will help finding the root cause.

Is a ant -v enough or also should include verbose="true" in the PCTCompile statement? But the latter would be difficult to configure in our bamboo job. I'm currently run the build in verbose to see if this intermittent error occurs.
I copied the pct.jar from the bamboo work area and shows:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.8.1
Created-By: 1.7.0_02-b13 (Oracle Corporation)
Built-By: root
Name: common
Specification-Title: PCT
Specification-Version: 0.19-pre
Specification-Vendor: Riverside Software
Implementation-Title: PCT
Implementation-Version: Build 176
Implementation-Vendor: Riverside Software

Build 176 is quite old, you also should consider upgrading to the latest version.
Not sure if ant -v will be enough, but that's at least a first step !

Today got the verbose log of the error:
_build	06-Jun-2016 12:14:48	compile-impl:
build	06-Jun-2016 12:14:48	    [mkdir] Skipping /dr01/bamboo/xml-data/build-dir/BAMTST-IBST-BL/tmp/wc556105753/bl/work/rcode because it already exists.
build	06-Jun-2016 12:14:48	[PCTCompile] OpenEdge version found : OpenEdge Release 11.3.1 as of Fri Sep 13 19:00:23 EDT 2013
build	06-Jun-2016 12:14:48	[PCTCompile] Using object : com.phenix.pct.ProgressV11
build	06-Jun-2016 12:14:48	[PCTCompile] PCTCompile - Progress Code Compiler
build	06-Jun-2016 12:14:49	[PCTCompile] Current OS is Linux
build	06-Jun-2016 12:14:49	[PCTCompile] Setting environment variable: DLC=/qad/progress/dlc113164
build	06-Jun-2016 12:14:49	[PCTCompile] Executing '/qad/progress/dlc113164/bin/progres' with arguments:
build	06-Jun-2016 12:14:49	[PCTCompile] '-b'
build	06-Jun-2016 12:14:49	[PCTCompile] '-q'
build	06-Jun-2016 12:14:49	[PCTCompile] '-inp'
build	06-Jun-2016 12:14:49	[PCTCompile] '32000'
build	06-Jun-2016 12:14:49	[PCTCompile] '-cpinternal'
build	06-Jun-2016 12:14:49	[PCTCompile] 'utf-8'
build	06-Jun-2016 12:14:49	[PCTCompile] '-s'
build	06-Jun-2016 12:14:49	[PCTCompile] '128'
build	06-Jun-2016 12:14:49	[PCTCompile] '-param'
build	06-Jun-2016 12:14:49	[PCTCompile] '/tmp/pct_params33270.txt'
build	06-Jun-2016 12:14:49	[PCTCompile] '-p'
build	06-Jun-2016 12:14:49	[PCTCompile] '/tmp/pctinit27595.p'
build	06-Jun-2016 12:14:49	[PCTCompile]
build	06-Jun-2016 12:14:49	[PCTCompile] The ' characters around the executable and arguments are
build	06-Jun-2016 12:14:49	[PCTCompile] not part of the command.
build	06-Jun-2016 12:15:53	[PCTCompile] The total length of the fields in an index exceeds max key size. Index typ of table (TEMP-TABLE)ttXref (129) (11353)
build	06-Jun-2016 12:15:53	[PCTCompile] The total length of the fields in an index exceeds max key size. Index typ of table (TEMP-TABLE)ttXref (129) (11353)
build	06-Jun-2016 12:15:53	[PCTCompile] The total length of the fields in an index exceeds max key size. Index typ of table (TEMP-TABLE)ttXref (129) (11353)
build	06-Jun-2016 12:15:53	  [antcall] Exiting /dr01/bamboo/xml-data/build-dir/BAMTST-IBST-BL/tmp/wc556105753/bl/build.xml.
build	06-Jun-2016 12:15:53	      [ant] Exiting /dr01/bamboo/xml-data/build-dir/BAMTST-IBST-BL/tmp/wc556105753/bl/build.xml.
error	06-Jun-2016 12:15:53
error	06-Jun-2016 12:15:53	BUILD FAILED
error	06-Jun-2016 12:15:53	/dr01/bamboo/xml-data/build-dir/BAMTST-IBST-BL/module.build.xml:206: The following error occurred while executing this line:
error	06-Jun-2016 12:15:53	/dr01/bamboo/xml-data/build-dir/BAMTST-IBST-BL/tmp/wc556105753/bl/bl.build.xml:851: The following error occurred while executing this line:
error	06-Jun-2016 12:15:53	/dr01/bamboo/xml-data/build-dir/BAMTST-IBST-BL/tmp/wc556105753/bl/bl.build.xml:434: Progress procedure failed - No output file
error	06-Jun-2016 12:15:53		at com.phenix.pct.PCTRun.execute(PCTRun.java:632)
error	06-Jun-2016 12:15:53		at com.phenix.pct.PCTCompile.execute(PCTCompile.java:513)
error	06-Jun-2016 12:15:53		at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
error	06-Jun-2016 12:15:53		at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
error	06-Jun-2016 12:15:53		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
error	06-Jun-2016 12:15:53		at java.lang.reflect.Method.invoke(Method.java:606)
error	06-Jun-2016 12:15:53		at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
error	06-Jun-2016 12:15:53		at org.apache.tools.ant.Task.perform(Task.java:348)
error	06-Jun-2016 12:15:53		at org.apache.tools.ant.Target.execute(Target.java:392)
error	06-Jun-2016 12:15:53		at org.apache.tools.ant.Target.performTasks(Target.java:413)
error	06-Jun-2016 12:15:53		at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
error	06-Jun-2016 12:15:53		at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
error	06-Jun-2016 12:15:53		at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
error	06-Jun-2016 12:15:53		at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
error	06-Jun-2016 12:15:53		at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
error	06-Jun-2016 12:15:53		at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
error	06-Jun-2016 12:15:53		at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
error	06-Jun-2016 12:15:53		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
error	06-Jun-2016 12:15:53		at java.lang.reflect.Method.invoke(Method.java:606)
error	06-Jun-2016 12:15:53		at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
error	06-Jun-2016 12:15:53		at org.apache.tools.ant.Task.perform(Task.java:348)
error	06-Jun-2016 12:15:53		at org.apache.tools.ant.Target.execute(Target.java:392)
error	06-Jun-2016 12:15:53		at org.apache.tools.ant.Target.performTasks(Target.java:413)
error	06-Jun-2016 12:15:53		at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
error	06-Jun-2016 12:15:53		at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
error	06-Jun-2016 12:15:53		at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
error	06-Jun-2016 12:15:53		at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
error	06-Jun-2016 12:15:53		at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
error	06-Jun-2016 12:15:53		at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
error	06-Jun-2016 12:15:53		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
error	06-Jun-2016 12:15:53		at java.lang.reflect.Method.invoke(Method.java:606)
error	06-Jun-2016 12:15:53		at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
error	06-Jun-2016 12:15:53		at org.apache.tools.ant.Task.perform(Task.java:348)
error	06-Jun-2016 12:15:53		at org.apache.tools.ant.Target.execute(Target.java:392)
error	06-Jun-2016 12:15:53		at org.apache.tools.ant.Target.performTasks(Target.java:413)
error	06-Jun-2016 12:15:53		at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
error	06-Jun-2016 12:15:53		at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
error	06-Jun-2016 12:15:53		at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
error	06-Jun-2016 12:15:53		at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
error	06-Jun-2016 12:15:53		at org.apache.tools.ant.Main.runBuild(Main.java:811)
error	06-Jun-2016 12:15:53		at org.apache.tools.ant.Main.startAnt(Main.java:217)
error	06-Jun-2016 12:15:53		at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
error	06-Jun-2016 12:15:53		at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
error	06-Jun-2016 12:15:53	Caused by: java.io.FileNotFoundException: /tmp/PCTResult18301.out (No such file or directory)
error	06-Jun-2016 12:15:53		at java.io.FileInputStream.open(Native Method)
error	06-Jun-2016 12:15:53		at java.io.FileInputStream.(FileInputStream.java:146)
error	06-Jun-2016 12:15:53		at java.io.FileReader.(FileReader.java:72)
error	06-Jun-2016 12:15:53		at com.phenix.pct.PCTRun.execute(PCTRun.java:617)
error	06-Jun-2016 12:15:53		... 42 more
and the bl.build.xml line 434 is running the following target:
<target name="compile-impl" depends="compile-api,create-database,generate-webservices">

        <mkdir dir="work/rcode"/>

        <PCTCompile destDir="work/rcode" dlcHome="${DLC}" cpInternal="utf-8"          // Line 434 problem occurs
            inputChars="32000" stackSize="128">
            <PCTConnection dbName="work/db/module" LogicalName="${module}" ReadOnly="true"/>
            <propath>
                <pathelement path="src/api"/>
                <pathelement path="src/impl"/>
                <pathelement path="${api.path.depends}"/>
                <pathelement path="${impl.path.depends}"/>
            </propath>
            <fileset dir="src/impl">
                <include name="**/*.cls"/>
                <include name="**/*.p"/>
            </fileset>

            <fileset dir="work/gen">
                <include name="**/*.p"/>
            </fileset>

        </PCTCompile>

    </target>

Would this error 06-Jun-2016 12:15:53 Caused by: java.io.FileNotFoundException: /tmp/PCTResult18301.out (No such file or directory) caused by pct problem or the system problem? Because we have scripts to cleanup the files under /tmp if there is little space, but we have check that it  didn't trigger when the bamboo has this error, so not sure the exact reason.

If you still have a PCTXREF file in the root folder of your workspace build (that should be /dr01/bamboo/xml-data/build-dir/BAMTST-IBST-BL/tmp/wc556105753/bl/ or something close), please attach it to this ticket.

Hi Gilles:
Is this PCTXREF file in the .jar or just a configuration file outside?
Another question is that:
Should those PCTResultxxx.out, pct_paramxxx.txt be removed after running this build? Is there some cleanup target?
I've found lots of those pct_paramxxx.txt under /tmp folder which created by our bamboo.
`
coli49:92 /tmp $ ll -lt | grep pct
-rw-r--r--   1 devel   devel         96 Jun  6 22:25 pct_params6299.txt
-rw-r--r--   1 devel   devel        105 Jun  6 19:16 pct_params6721.txt
-rw-r--r--   1 devel   devel        101 Jun  6 19:16 pct_params62134.txt
-rw-r--r--   1 devel   devel        106 Jun  6 17:51 pct_params51909.txt
-rw-r--r--   1 devel   devel        100 Jun  6 17:50 pct_params61887.txt
-rw-r--r--   1 devel   devel        106 Jun  6 15:08 pct_params744.txt
-rw-r--r--   1 devel   devel        100 Jun  6 14:55 pct_params50814.txt
-rw-r--r--   1 devel   devel        105 Jun  6 12:41 pct_params583.txt
-rw-r--r--   1 devel   devel        101 Jun  6 12:40 pct_params31282.txt
-rw-r--r--   1 devel   devel        106 Jun  6 12:09 pct_params51311.txt
-rw-r--r--   1 devel   devel        100 Jun  6 12:06 pct_params52793.txt
......
`

PCTXREF is a regular file in the filesystem ; it's created on the fly by PCT during compilation to extract XREF data.
The PCTResult and pct_params are automatically removed after the build, unless a crash occurs. In this case, those temp files are kept on disk. You can remove then remove them manually (as it's a build server, just don't delete files which may currently be in use).

No i can not find it, I have a backup of the work area during the build that is the /dr01/bamboo/xml-data/build-dir/BAMTST-IBST-BL/, but no finding. I guess just after the compile is done the file will be removed?

If you can give me a basic content or what the file is like may help me to do the search.

Are you able to trigger a command line directly in this build directory ? If so, please add verbose="true" keepXref="true" to the PCTCompile node and restart the build process directly.

Got it, but this PCTXREF is not from that fail build, is from a currently running build.
PCTXREF.txt

That won't be the right one

Btw, I find a interesting thing. As I find the /tmp folder is another work area in additional to dr01/bamboo/xml-data/build-dir/BAMTST-IBST-BL/ and is for every build. I got the PCTXREF from /tmp and the PCTResultxxx.out is also under that. There is two agent that can run build at the same time on our bamboo server. So my guess is, what's your naming rule for PCTResultxxx.out ? Would that possible that two bamboo run PCTCompile at the same time using same PCTResult or wrongly remove  other build's PCTResult?
Because we have several times there are two build fail in it at just the same time.
Those fail do occur at the same time:
https://bamboo.qad.com/browse/QRA-QRADSALESINT-3104/log
05-Jun-2016 21:31:14	compile-impl:
05-Jun-2016 21:31:14	[PCTCompile] PCTCompile - Progress Code Compiler
05-Jun-2016 21:32:46	[PCTCompile] The total length of the fields in an index exceeds max key size. Index typ of table (TEMP-TABLE)ttXref (129) (11353)
05-Jun-2016 21:32:46	[PCTCompile] The total length of the fields in an index exceeds max key size. Index typ of table (TEMP-TABLE)ttXref (129) (11353)
05-Jun-2016 21:32:46	[PCTCompile] The total length of the fields in an index exceeds max key size. Index typ of table (TEMP-TABLE)ttXref (129) (11353)
https://bamboo.qad.com/browse/BAMTST-IBST-8/log
05-Jun-2016 21:31:20	compile-impl:
05-Jun-2016 21:31:20	[PCTCompile] PCTCompile - Progress Code Compiler
05-Jun-2016 21:32:46	[PCTCompile] The total length of the fields in an index exceeds max key size. Index typ of table (TEMP-TABLE)ttXref (129) (11353)
05-Jun-2016 21:32:46	[PCTCompile] The total length of the fields in an index exceeds max key size. Index typ of table (TEMP-TABLE)ttXref (129) (11353)
05-Jun-2016 21:32:46	[PCTCompile] The total length of the fields in an index exceeds max key size. Index typ of table (TEMP-TABLE)ttXref (129) (11353)
So should a set the PCT output location different a potential solution? Compared to get the PCTXREF of a fail build, test this may be more easier because all PCTXREF is under /tmp PCTXREF and may be overwrite by other build before I get it.

Is there some parameter to specify the PCT tmp folder same as -Djava.io.tmpdir=/tmp/BAMTST-IBST-BL when running the ant build?

Numbers are randomly generated in PCT. I'd say it's really unlikely that a conflict could occur.

you can still try using java.io.tmpdir

But if this specific build always crash, then it's not random conflict ; the error message is about an index size problem when reading XREF file.

There are several builds intermittently fails, they both fail in PCT compile.
If the error is point to XREF, so there would be possible that a create /tmp/PCTXREF and running compile and b create another /tmp/PCTXREF and overwrite it.
But why is this PCTXREF just under /tmp folder, not under java.io.tmpdir? We do specify java.io.tmpdir differently for each build.

The version you're using is several years old, and I don't remember where the PCTXREF was generated (and don't have time to do it now).
The latest versions don't use this file anymore, so it may be a good idea to test the latest version.

Hi, Is there some parameter to specify the PCT tmp folder or to pass the java.io.tmpdir in the pct target?
It seems that that the PCT still uses the /tmp folder while the build.xml get the java.io.tmpdir as /tmp/ENV-NAME

I've search the website that there is a  not sure if it works.

For the Java part, it's using java.io.tmpdir : https://github.com/jakejustus/pct/blob/master/src/java/com/phenix/pct/PCTRun.java#L94
For the Progress part, that's controlled by the tempDir attribute, which points by default to the $WRKDIR variable defined during installation.

Thanks for your code information, yes, I've checked
status = new File(System.getProperty("java.io.tmpdir"), "PCTResult" + statusID + ".out");
and also pctparam files are created under wrong java.io.tmpdir, seems it not passed into the pct.jar in the build.xml when executing pct target. is there way to set the property in the build.xml in pct target same way as set verbose and Keepxref?

Add a line  in your build file to verify the value.
And to my mind, you can set the value using ant -Djava.io.tmpdir=/path/to/directory

I do an echo in the compile-impl target and get this

build	15-Jun-2016 00:14:54	compile-impl:
build	15-Jun-2016 00:14:54	    [mkdir] Skipping /dr01/bamboo/xml-data/build-dir/BAMTST-IBST-BL/tmp/wc2136576154/bl/work/rcode because it already exists.
build	15-Jun-2016 00:14:54	     [echo] /tmp/BAMTST-IBST-BL/devel
build	15-Jun-2016 00:14:54	[PCTCompile] OpenEdge version found : OpenEdge Release 11.3.1 as of Fri Sep 13 19:00:23 EDT 2013
build	15-Jun-2016 00:14:54	[PCTCompile] Using object : com.phenix.pct.ProgressV11
build	15-Jun-2016 00:14:54	[PCTCompile] PCTCompile - Progress Code Compiler
build	15-Jun-2016 00:14:54	[PCTCompile] Current OS is Linux
build	15-Jun-2016 00:14:54	[PCTCompile] Setting environment variable: DLC=/qad/progress/dlc113164
build	15-Jun-2016 00:14:54	[PCTCompile] Executing '/qad/progress/dlc113164/bin/_progres' with arguments:
build	15-Jun-2016 00:14:54	[PCTCompile] '-b'
build	15-Jun-2016 00:14:54	[PCTCompile] '-q'
build	15-Jun-2016 00:14:54	[PCTCompile] '-inp'
build	15-Jun-2016 00:14:54	[PCTCompile] '32000'
build	15-Jun-2016 00:14:54	[PCTCompile] '-cpinternal'
build	15-Jun-2016 00:14:54	[PCTCompile] 'utf-8'
build	15-Jun-2016 00:14:54	[PCTCompile] '-s'
build	15-Jun-2016 00:14:54	[PCTCompile] '128'
build	15-Jun-2016 00:14:54	[PCTCompile] '-param'
build	15-Jun-2016 00:14:54	[PCTCompile] '/tmp/pct_params57020.txt'
build	15-Jun-2016 00:14:54	[PCTCompile] '-p'
build	15-Jun-2016 00:14:54	[PCTCompile] '/tmp/pctinit61329.p'

and the according build.xml is

    <PCTCompile destDir="work/rcode" dlcHome="${DLC}" cpInternal="utf-8"
        inputChars="32000" stackSize="128" verbose="true" keepXref="true">

It seems that the java.io.tmpdir is not passed into the PCTCompile target.

Yes, that's what I wrote in the previous comment. You have to add tempDir attribute in PCTCompile, otherwise you fall back to the default directory specified during the installation

Like this?

Yes, that should work

build	15-Jun-2016 01:04:28	[PCTCompile] '-param'
build	15-Jun-2016 01:04:28	[PCTCompile] '/tmp/pct_params61812.txt'
build	15-Jun-2016 01:04:28	[PCTCompile] '-T'
build	15-Jun-2016 01:04:28	[PCTCompile] '/tmp/BAMTST-IBST-BL'
build	15-Jun-2016 01:04:28	[PCTCompile] '-p'
build	15-Jun-2016 01:04:28	[PCTCompile] '/tmp/pctinit41720.p'
So the -T means the java.tmp.dir is set? But why the parameter file still under /tmp?
Should I set this to all the other PCT target such as PCTRUN besides PCTCompile?
Because this problem is mainly lies in PCTXREF because its name is not randomly generated, so I want to make sure the PCTXREF will be generated under /tmp/BAMTST-IBST-BL'

Ok, I got PCTXREF under the desired place! So currently I think there shouldn't be PCTXREF conflict during bamboo build. I'll keep them running to see if it works. Thanks for your help

Please also note that your PCT version is quite old and that you should upgrade as soon as possible !


fix(thread): counting unread messages

The userUnreadMessages() was counting messages I had sent as unread messages, but it should only count unread messages sent by somebody else.

Travis CI builds failed (but no environment variables are set). Scrutinizer failed because it couldn't get code coverage data. What do we do next?

Only @cmgmyr could help in this question.

@BurningDog thanks so much for your PR! It looks like you were missing the $userId from the use statement for the filter. I adjusted what you did slightly and put the userId check on the query instead of the collection filter. Feel free to try out dev-master when you get a chance.

Ah cool, that makes more sense - thanks!


FRequest: MQTT: Make config values retained

Hi,
could you add a (switchable) option in settings to retain MQTT config messages?
Config messages are only sent on boot of the module or when changed so these messages should be retained on the mqtt broker.
Regards
Dirk

Hi Dirk,
thanks you for that input. Sounds reasonable.
I will implement this in the next release.
regards
Sven

implemented in Release v3.2.0


Add support for ERC20 batching sending from csv

Example TBD
Date | User | Amount | 0x Address
9/1/2024 | Person 1 | 10000 | 0xf3FC93b77A1A39610aa800734dfD017Ca293e53d
9/1/2024 | Person 2 | 20000 | 0xf3FC93b77A1A39610aa800734dfD017Ca293e53d

Basic mockup.
Decided to do onchain only part first and you can query the block explorers to pull current token allocation data and don't need to sync with db. Also syncing user balance is one call per individual wallet so will clog up RPC.


How to make gridlines thicker?

As the issue title suggests, I want to make the gridlines of the crossword slightly thicker. How do I go about doing that?
A side issue, is how do I hide the links and the message as shown in the screenshot below?

I've added an option now to override any numeric property. The thickness of the line is controlled by the property named 'GRIDLINE`, so you can do something like:
  exolve-option: override-number-GRIDLINE:1.6

You can see how this looks in this demo.
As for hiding elements like the ones you show: you can right-click and inspect to find their IDs, and then hide them from a customizeExolve() function. The IDs are all of the form <prefix>-<name> (such as xlv1-saving and xlv1-small-print).
So, for example, to hide the auto-save message and the links to Exolve/Print/Notes:
function customizeExolve(puz) {
  document.getElementById(puz.prefix + '-saving').style.display = 'none';
  document.getElementById(puz.prefix + '-small-print').style.display = 'none';
}

I will say that the saving message and the Exolve links are generally useful to solvers and I would not recommend removing them. Also, while the Exolve software gives you the permission to use it in any way you like and to tweak it in any way you like, it would be nice to retain a link to it to acknowledge that you've used it and to let other potential users find it. Of course, ultimately it's all your call.


Automatically generate the DSL

There is a problem in creating a DSL of an already existing language. More if we want to add shortcuts to every single node in the AST.
We want not only this to be possible:
file {
    import { /*...*/ }
    type { field { /*...*/ } }
}

But also this
file {
    field { /* ... */ } // Not a direct child node of file but any of its successor
}

Doing so manually would imply generating NxM relationships in code, manually. Not only that, adding a new type to the mix would potentially mean adding N more relationships (in the form of DSL functions). I've been thinking about the idea of generating the DSL automatically with kotlinpoet now that I have some basic understanding on how to use it. Ideally I'd want to

Describe nodes with our own types:

sealed class LinNode {
    object File : LinNode()
    object Import : LinNode()
    object Type : LinNode()
    object Field : LinNode()
    object Method : LinNode()
    object SwitchExpression : LinNode()
    object CallExpression : LinNode()
}

Describe a 1to1 relationship between our types and UAST elements:

val elementsByLinNode = mapOf(
    LinNode.File to UFile::class,
    LinNode.Import to UImportStatement::class,
    LinNode.Type to UClass::class,
    LinNode.Field to UField::class,
    LinNode.Method to UMethod::class,
    LinNode.SwitchExpression to USwitchExpression::class,
    LinNode.CallExpression to UCallExpression::class
)

Describe a Pair<T: UElement, S: UElement> to (T) -> List<S> relationship:

val getSubNodesFunctionByLinNode = mapOf<Pair<LinNode, LinNode>, Mapping<*, *>>(
    (LinNode.File to LinNode.Import) to createMapping<UFile, UImportStatement> { it.imports },
    (LinNode.File to LinNode.Type) to createMapping<UFile, UClass> { it.classes },
    (LinNode.Type to LinNode.Type) to createMapping<UClass, UClass> { it.innerClasses.toList() },
    (LinNode.Type to LinNode.Field) to createMapping<UClass, UField> { it.fields.toList() },
    (LinNode.Type to LinNode.Method) to createMapping<UClass, UMethod> { it.methods.toList() }
)

We should then expand the mapping between all elements by adding all transitive relationships (we'd have to do it anyways in runtime so better do it in compilation time and save that time when validating rules).
Create types with all their DSL functions and suchThat definitions.

More information after reviewing the uast API once again, there is a visitor pattern implemented that is pretty powerful. We can always use visitFile from UElementHandler and then call node.accept(object: UastVisitor { /*...*/ }). Not only that, there is also a UastTypedVisitor<T, S> type that let's you introduce your own data into the mix of type T and return an instance of type S so that we can gather information such as element names and stuff to compare it later on with other nodes in the tree.

I'm rising the restriction of only generating correct code for a moment here and will focus on getting a complete DSL first. I'm getting a PR ready doing so, letting incorrect expressions such as:
import { import { import { type { suchThat { /*...*/ } } } } }

This is just not possible in real code but we are going to allow it in the DSL temporarily until we get a better solution to match the real AST format. Thanks to this, we have all UAST types for us so that's great :)


Asset stream tarball upload

@psung please review.
Tarball creation and upload process are now piped together. I have tested it on staging. Added '--no-recursion' option to the tarball creation process. In its absence, 'tar' was adding duplicate files to the tarball, hence increasing it size.

Please bump the version in the dxapp.json files. Apart from that, LGTM.

Done.


Where is the STAM module, and which part of the code implement the feature Alignment?

Where is the STAM module, and which part of the code implement the feature Alignment?

have you solve this problem, I also

find it in commits


Use ember-auto-import over app.import()

Fixes #92

Closing, took a different approach (in master).


error authentication when admin user is set

There is no way to use this puppet class if an admin user is set on my mongodb server.
Explanation
I installed my mongodb server by this puppet class and I set an admin user like this:
mongodb_user { root:
    ensure               => present,
    password_hash => mongodb_password('root', 'root'),
    database           => admin,
    roles                  => [ "read", "readWrite", "dbAdmin", "userAdmin", "clusterAdmin", "readAnyDatabase", "readWriteAnyDatabase", "userAdminAnyDatabase", "dbAdminAnyDatabase"],
    tries                   => 10,
    require               => Class['mongodb::server'],
  }

Now I got an authentication error.

Since this is 3 years later, I'm guessing this can be closed.


Use thumbnail as player preview image

We talked about this and everyone said that this is better than just black (as before). However, it's not optimal as Tobira currently has only one image per event that is used for all purposes. There should be more images, larger ones for thumbnails, and bigger ones for the player preview. But we can still do that later.
Fixes #464
(I will create a new issue then to deal with "use more better fitting images for different purposes")

Ye exactly. Any events without thumbnails will still have a black player background.


Force restart of containers

Summary
Restart containers as they may die for oom:
dashboard_1         | FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
dashboard_1         | error Command failed with signal "SIGABRT".
dashboard_1         | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
dashboard_1         | ERROR: "build-watch" exited with 1.
dashboard_1         | error Command failed with exit code 1.
dashboard_1         | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

This should avoid issues seen in the past days.

Related issue :

It seems the previous attempt was not working properly :(

terraform fails because this is a PR from a fork, so no access to secrets :(


Contributing under GSSOC'24. Added a game.

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes:  #(issue no.)

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[x] I have taken help from some online resourses
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

@Sulagna-Dutta-Roy hey , this is not my PR, and I would like to point it out to you that many contributors are copying games from GameZone repo of gssoc and creating a PR in your repo of the same , some are even copying from others code.From the screenshot provided in the PR I can say there is a exact same game in GameZone repo

@Sulagna-Dutta-Roy hey , this is not my PR, and I would like to point it out to you that many contributors are copying games from GameZone repo of gssoc and creating a PR in your repo of the same , some are even copying from others code.From the screenshot provided in the PR I can say there is a exact same game in GameZone repo

Thank you for letting me know. I will look into this and apologize for the wrong mention :)

There were some games in this repo so I thought mine will be good but I'm very sorry to cause you trouble @Sulagna-Dutta-Roy


Package.getActivationCommands is deprecated.

Use activationCommands instead of activationEvents in your package.json
Commands should be grouped by selector as follows:
  "activationCommands": {
    "atom-workspace": ["foo:bar", "foo:baz"],
    "atom-text-editor": ["foo:quux"]
  }

Package.getActivationCommands (/usr/share/atom/resources/app.asar/src/package.js:808:9)
Package.hasActivationCommands (/usr/share/atom/resources/app.asar/src/package.js:733:20)
<unknown> (/usr/share/atom/resources/app.asar/src/package.js:187:24)
Package.measure (/usr/share/atom/resources/app.asar/src/package.js:165:15)
Package.load (/usr/share/atom/resources/app.asar/src/package.js:179:12)
PackageManager.loadPackage (/usr/share/atom/resources/app.asar/src/package-manager.js:372:14)

Atom version 1.0

This was also corrected by #132 and released in 1.3.0.
Thank you for the reports, though, it's good to double-check these things :grin:

@pavlo-yuriychuk: I'm going to close these issues because I've verified that all of the deprecations have been addressed in more recent package versions. If I'm wrong and you're still seeing any of them, even on 1.3.2, please re-open and we can investigate further to figure out why. :bow:


Orginal vcenter and datastore needed for failback

"You can only fail back to the original vCenter and Configuration server. You cannot deploy a new Configuration server and fail back using it. Also, you cannot add a new vCenter to the existing Configuration server and failback into the new vCenter."
Saw this note:
Wondering, if there is Disaster on-premises, the old VCenter and datastore may not be available. also ASR Appliance on-premise may also not be available. If they rebuild the on-premises, would it not make sense to be able to re-protect to the new infrastructure to new appliance on new vCenter/datastore?

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

ID: 184b093b-2478-1016-5655-4a2b279c0db3
Version Independent ID: a3f3ecc4-d13a-ff79-6391-81cd80b0e62c
Content: Failback during disaster recovery with Azure Site Recovery - Azure Site Recovery
Content Source: articles/site-recovery/concepts-types-of-failback.md
Service: site-recovery
GitHub Login: @ankitaduttaMSFT
Microsoft Alias: ankitadutta

@v-asymes
Thanks for your feedback! We will investigate and update as appropriate.

The Note highlights "You can only fail back to the original vCenter and Configuration server. You cannot deploy a new Configuration server and fail back using it. Also, you cannot add a new vCenter to the existing Configuration server and failback into the new vCenter."
When the Alternate location recovery (ALR), allows new setup.
Maybe specify this is only true for Original and not for Alternate. Or move to under the original  location paragraph.

@ankitaduttaMSFT Please take a note on the feedback shared and discuss it with the PG to accommodate the changes required.

@ankitaduttaMSFT Could you please review the feedback and update the document?
FYI: @v-asymes is from CSS team and this issue has been discussed over ASRtechtalk

Closing this thread for now.


What wrong with unix sockets?

Code from here - https://crystal-lang.org/api/0.21.1/UNIXServer.html
require "socket"

server = UNIXServer.new("/tmp/myapp.sock")
message = server.gets
server.puts message

Error:
laptop% ~/crystal-0.21.1-1/bin/crystal run ./test.cr
Error reading file: Invalid argument (Errno)
0x449c4f: *UNIXServer at /home/sorcus/crystal-0.21.1-1/src/io/file_descriptor.cr 249:9
0x449f46: *UNIXServer at /home/sorcus/crystal-0.21.1-1/src/io/buffered.cr 208:12
0x44a024: *UNIXServer at /home/sorcus/crystal-0.21.1-1/src/io/buffered.cr 84:7
0x44966f: *UNIXServer at /home/sorcus/crystal-0.21.1-1/src/io.cr 700:37
0x44947f: *UNIXServer at /home/sorcus/crystal-0.21.1-1/src/io.cr 674:5
0x449441: *UNIXServer at /home/sorcus/crystal-0.21.1-1/src/io.cr 644:5
0x44941f: *UNIXServer at /home/sorcus/crystal-0.21.1-1/src/io.cr 642:3
0x42af60: ??? at /home/sorcus/test.cr 4:11
0x430d39: main at /home/sorcus/crystal-0.21.1-1/src/main.cr 12:15
0x7f412700c511: __libc_start_main at ??
0x42a87a: _start at ??
0x0: ??? at ??

Right, the example cannot work, because we can't simply read from a UNIXServer, the server needs to accept a client, then use this client to interact, like:
server = UNIXServer.new("/tmp/myapp.sock")

puts "waiting for client on /tmp/myapp.sock"
client = server.accept

message = client.gets
client.puts message

server.close

Then using another program, you can interact with the UNIXServer with a UNIXSocket:
client = UNIXSocket.new("/tmp/myapp.sock")
client.puts "Hello world"

puts "server replied"
puts client.gets

We'll need to change the documentation (and some other things too, @ysbaddaden )

I also think it's a mistake that TCPServer and UnixServer inherit Socket and that they are IOs, because you can't read/write from them, only accept connections, so the above should simply not even compile.

An experiment based on @bew comment:
require "socket"

server = UNIXServer.new("/tmp/myapp.sock")
CLIENTS = [] of UNIXSocket

Signal::INT.trap {
  puts "closing server..."
  server.close
  exit
}

def on_message(client)
  loop {
    msg = client.gets
    if msg == "quit"
      puts "deleting client..."
      CLIENTS.delete client
      pp CLIENTS.size
      break
    else
      yield msg
    end
  }
end

loop {
  puts "waiting for client on /tmp/myapp.sock"
  new_client = server.accept
  spawn {
    on_message(new_client) {|msg|
      CLIENTS.each {|client|
        client.puts msg unless client == new_client
      }
    }
  }
  CLIENTS << new_client
  pp CLIENTS.size
}

require "socket"

client = UNIXSocket.new("/tmp/myapp.sock")

Signal::INT.trap {
  client.puts "quit"
  exit
}

print "name: "
name = gets.to_s

spawn {
  loop {
    msg = client.gets
    if msg
      puts msg
    else
      puts "server closed"
      exit
    end
  }
}

loop {
  msg = gets.to_s
  client.puts "#{name}: #{msg}"
}

$ crystal socket_server.cr
waiting for client on /tmp/myapp.sock
CLIENTS.size # => 1
waiting for client on /tmp/myapp.sock
CLIENTS.size # => 2
waiting for client on /tmp/myapp.sock

$ crystal socket_client.cr
name: program1
hi, I'm p1
program2: Hi p1!!!

$ crystal socket_client.cr
name: program2
program1: hi, I'm p1
Hi p1!!!

Happy crystalling :smile:

@asterite well, TCP and UNIX servers are TCP and UNIX sockets, though they won't act as IO, but then: UDP sockets are both server/client...

This issue can be merged into #5778


[REEF-549] Remove APIs deprecated since 0.11 from REEF Runtime Common

This addressed the issue by

removing REEF_DRIVER_APPDLL_DIR and TMP_LOAD_DIR

JIRA:
REEF-549

I'll test this.

Tests pass. I'll merge it.


Roll Flutter Engine from 3a8204a0ab41 to 7f464aa63f6c (1 revision)

https://github.com/flutter/engine/compare/3a8204a0ab41...7f464aa63f6c
2024-12-05<EMAIL_ADDRESS>[Impeller] Add rounded superellipse (flutter/engine#56726)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC bdero<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


return container logs to the user

Create a new index in ES ; create new doc for every container runs with logs, userID and email, time, etc.


OutputPath is joined with publicPath?

I have set up file loader for fonts however its not working as I thought it would.
my output path is completely different from my public path so I thought by declaring the locations in parameters this would work. e.g.
{
  test: /\.(eot|svg|ttf|woff|woff2)$/,
  loader: 'file-loader?name=[name].[ext]&outputPath=fonts/&publicPath=__fonts/'
}

the SRC the css should be using is __fonts/name.ext and the files location should be in /fonts/name.ext
but this is not what is happening.
instead im getting
src: url(__fonts/fonts/font-name.ttf);

I've the same issue. When I point out the outputPath, the final file path gets concatenated with the public path. It shouldn't be happening.
const image = require('../images/image.png');

My config:
{
  test: /\.(png|jpe?g|gif|svg)$/,
  loader: 'file-loader?name=[hash].[ext]&outputPath=../assets/images/&publicPath=assets/images/'
}

I get this string http://{server}/assets/images/../assets/images/image.png. Which is definitely wrong.

I have the same issue. Am I not using it right? Can someone define the output Path and public Path keys?

Same error here, impossible to understand why

Waiting for the fix :
Instead of:
{
  test: /\.woff$|\.woff2?$|\.ttf$|\.eot$|\.otf$/,
    loader: 'file-loader',
    options: {
        name: '[name].[ext]',
        outputPath: 'public/fonts/',
        publicPath: '../fonts'
    },
},

What I did :
{
  test: /\.woff$|\.woff2?$|\.ttf$|\.eot$|\.otf$/,
    loader: 'file-loader',
    options: {
        name: 'public/fonts/[name].[ext]',
        publicPath: function(url) {
          return url.replace(/public/, '..')
        },
    },
},

It's kind of tricky, but it's actually works

I also experience the same issue

Same issue, but this worked:
'file-loader?name=[name].[hash].[ext]&outputPath=fonts/&publicPath=../'
Directory structure is:
dist
- fonts
  - font-awesome.1234.woff
  - font-awesome.1234.eot
- css
  - styles.css

In my css, the path gets set to ../fonts/font-awesome.woff and the files are output to the fonts directory under dist.

so my issue was more that the url is different from the directory structure. Im lucky that the only difference was the 2 underscores.. If someone has a site where the url is completely different from the directory structure this would be a big issue as here is my fix
loader: 'file-loader?name=[name].[ext]&outputPath=lib/web/fonts/&publicPath=/__'
so that the public path is now site.com/__lib/web/fonts/

Same error here, impossible to understand why too

i was having this same issue. however while scouring the internet came across this:
Git commit
that entails:
outputPath: defines sub-dir relative to "dist" folder, in which all the image files whould be placed (if not specified all the image files will be placed directly in the "dist" folder)
publicPath: defines path which should be prefiex to outputPath inside the CSS files (if not specified it will default to "./dist" ... or whatever dir was specified in webpack "output" config)
What i dont understand is why isnt this on webpack's file-loader Git page? FYI: im still new to Github

I have same error in 0.11.2, but version 0.10.0 works fine

thanks @dirago your temporary solution works great. waiting for the fix too!

Same issue here. Downgraded to 0.10.1 and the issue is gone.

I wonder if this is related, but it seems that output.publicPath is not being respected by the file-loader.
I have an absolute path set on output.publicPath for localhost:8080/static. The bundle attempts to find the file-loaded assets at localhost:3000/static.

I've been searching for a solution for a while. I couldn't get webpack to get the correct path to my images in my '*.css' file. The solution using  "publicPath: function(url ..... " works great for me.
Thank you @dirago
My file structure is:
myProject/dev/
          |
          css/
          |---- base.scss
          |---- test.scss
          images/
          |---- test.png
          js/
          |---- script.js

myProject/dist
          |
          css/
          |---- style.css
          images/
          |---- test.png
          js/
          |---- script.js

base.scss looking like this:
@import 'test';

test.scss looking like this:
.my-wrapper {
      .nested-div {
        background-image: url('../images/test.png');
        background-size: cover;
        .....
     }
}

My webpack.config.js is:
var webpack = require('webpack');
var path = require('path');
var ExtractTextPlugin = require("extract-text-webpack-plugin");

module.exports = {
    entry: {
        dist: [
            './dev/js/script.js'
        ]
    },
    output: {
        path: path.resolve(__dirname, './dist/'),
        filename: 'js/[name].js'
    },
    module: {
        rules: [
            {
                test: /\.s[ac]ss$/,
                use: ExtractTextPlugin.extract({
                    use: ['css-loader', 'sass-loader'],
                    fallback: 'style-loader'
                })
            },
            {
                test: /\.(gif|png|jpe?g|svg)$/i,
                loaders: [
                    {
                        loader: 'file-loader',
                        options: {
                            name: 'images/[name].[ext]',
                            publicPath: function(url) {
                                return url.replace(/images/, './../images/');
                            }
                        }
                    }
                ]
            }
        ]
    },
    plugins: [
        new ExtractTextPlugin('css/[name].css')
    ]

I discovered both following solutions to my images path work:
solution with a publicPath function:
            {
                test: /\.(gif|png|jpe?g|svg)$/i,
                loaders: [
                    {
                        loader: 'file-loader',
                        options: {
                            name: 'images/[name].[ext]',
                            publicPath: function(url) {
                                return url.replace(/images/, './../images/');
                            }
                        }
                    }
                ]
            }

solution with ouputPath and publicPath:
            {
                test: /\.(gif|png|jpe?g|svg)$/i,
                loaders: [
                    {
                        loader: 'file-loader',
                        options: {
                            name: '[name].[ext]',
                            outputPath: './images/',
                            publicPath: './.'
                        }
                    }
                ]
            }

I hope this extra info is helpfull

Done in https://github.com/webpack-contrib/file-loader/pull/246

@dirago, thanks a lot!

It's kind of tricky, but it's actually works

Worked great!


On empty selection, scroll article list to top

Fix regression to issue #658 (detected by user stern at
http://forums.cocoaforge.com/viewtopic.php?t=26842&p=139450#p140069 )

See https://github.com/ViennaRSS/vienna-rss/pull/1010 which I think is preferable.
I've separated the old pull request https://github.com/ViennaRSS/vienna-rss/pull/1008 into separate pull requests. https://github.com/ViennaRSS/vienna-rss/pull/1011 has to do with the Skip Folder command.

I think both changes are useful.
It is still useful to be able to handle situations where scrollToArticle would not find the guid provided to it.

I can agree with this logic, but we should follow it to the end and remove these lines (and this one) from ScrollToArticle.

How does that follow?

I mean : if we go the #1010 route, it would be logical that whenever scrollToArticle is called with a non existing guid (whether an invalid value or nil), then scrollToArticle shouldn't do anything and just leave things as they are.

Let's look at the scenarios in which that code is called:

When you switch folders in displayFolder. In that case, you want to call deselectAll and also refresh the article pane so that articles in the previous folder are no longer displayed there.

When there's no selected article. In that case, the code won't do anything, so there's no change. But you definitely wouldn't want to add scrollRowToVisible:0 to change the scroller position there.

When there is a selected article, but the article is no longer in the folder after reloadData. This can happen for example if you change the folder filters, or if you're in a smart folder during a new article check. In that case you also want to deselect and reload the article pane, because the previously selected article is no longer in the folder.

Thus, the current code is necessary for scenarios 1 and 3. But we don't want to reset the scroller position in scenarios 2 or 3, so adding scrollRowToVisible:0 is inadvisable.


可以增加一个“专业模式“吗

Clear and concise description of the problem
目前前端只有system 内容，不支持预设上文（如预设多轮”user"和“assistant" 的内容）
Suggested solution
可以增加多几个前端输入框吗
Alternative
No response
Additional context
No response
Validations

[x] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.

Use https://platform.openai.com/playground?mode=chat


Why Zesty - "modern development process" image

https://kfg6bckb-dev.webengine.zesty.io/why-zesty/
Please remove this image from the code (where it says "missing content)


Status check of PRs is broken

Hey! Thanks for the workflow, first of all. I integrated it into https://github.com/SpoonLabs/sorald/ and it worked quite well. However, I had to fix the checking of CI status for each PR in the workflow. The URL here kept returning pending even though I am sure the CI was completed with exit code 0. This has also been reported on GitHub community forum.

@algomaster99 could you please share how you fixed that issue?

Hi @mherger !
I did something like this:
if(${{ github.event.inputs.mustBeGreen }}) {
  console.log('Checking green status: ' + branch);
-  const statusResponse = await github.rest.repos.getCombinedStatusForRef({
+  const check_runs = await github.paginate('GET /repos/{owner}/{repo}/commits/{ref}/check-runs', {
    owner: context.repo.owner,
    repo: context.repo.repo,
    ref: branch
  });
- const state = statusResponse['data']['state'];
-  console.log('Validating status: ' + state);
-  if(state != 'success') {
-    console.log('Discarding ' + branch + ' with status ' + state);
-    statusOK = false;
+  for await (const cr of check_runs.data.check_runs) {
+	  console.log('Validating check conclusion: ' + cr.conclusion);
+	  if(cr.conclusion != 'success') {
+	    console.log('Discarding ' + branch + ' with check conclusion ' + cr.conclusion);
+	    statusOK = false;
	  }
}

Reference: https://github.com/SpoonLabs/sorald/blob/fd3db17453ace78fca5f8802f2a1cf7c32c780bd/.github/workflows/combine_prs.yml#L78-L95

Hey, the latest release, 1.3.0, uses a new API that checks the PR/branch status in a way that works both for statuses set with GitHub Actions CI, and external tools. As such this issue should be fixed now. If for any reason it doesn't work for you, let me know!

Thanks @martingjaldbaek ! I will incorporate the latest changes in our workflow.


fix: fix issues seen in "multi" mode when a large number of sockets are created concurrently

- What I did
fix: fix issues seen in "multi" mode when a large number of sockets are created concurrently
- How I did it

added a missing trim() in srv_impl
take up v2.3.1 of socket_connector which

ensures that serverToSocket introduces no delay in completing the tcp handshake
ensures that all calls to socket.add are followed by an await socket.flush() so we can catch socket write errors properly and close the 'side' correctly

fix: as good practice, added calls to await socket.flush() everywhere we're writing stuff to sockets in srv_impl.dart
test: added a feature to sshnpd whereby if INLINE_SRV is in the environment and set to true, then we run the Srv inline rather than forking it in a separate process. This is super useful for debugging srv issues on the daemon side.

- How to verify it
Manual testing required. I've tested as follows with local atDirectory and atServers:

Run policy admin UI, which listens on port 3000
build/sshnp/np_admin -a @policy -n sshnp --root-domain vip.ve.atsign.zone
Run noports daemon allowing port 3000
bin/sshnpd --root-domain vip.ve.atsign.zone -m @client -a @service -d mbp --permit-open "*:*"
Run srvd locally
bin/srvd -a @relay --root-domain vip.ve.atsign.zone --ip <IP_ADDRESS> -v
Run npt requesting remote port 3000 and local forwarding port 3001
bin/npt --root-domain vip.ve.atsign.zone -f @client -t @service -r @relay --rh <IP_ADDRESS> --rp 3000 -d mbp --lp 3001 -T 0
open http://localhost:3001
Reload the page many times

Some stress testing, the improvement is solid enough for most webpages. For a single webpage to create enough connections to overload this version means that webpage is probably doing something very wrong.

Once https://github.com/atsign-foundation/socket_connector/pull/21 has been merged and published then I will bump the dependency in this PR and mark it ready for review

e2e test failures are my fault, I accidentally merged a bad commit, will resolve this shortly.

Took up some latest socket_connector package and made some more tweaks to noports_core (srv_impl.dart). Updated PR description accordingly

@gkc, @cconstab and @XavierChanth have successfully stress tested with various websites and concurrent load tests; this PR is functionally complete and ready to go.
Next steps:

merge https://github.com/atsign-foundation/socket_connector/pull/25 and publish socket_connector 2.3.3
on this PR, update pubspecs in noports_core and sshnoports to use socket_connector 2.3.3
review, merge to trunk
publish new noports release candidate

@gkc, @cconstab and @XavierChanth have successfully stress tested with various websites and concurrent load tests; this PR is functionally complete and ready to go.
Next steps:

merge https://github.com/atsign-foundation/socket_connector/pull/25 and publish socket_connector 2.3.3
on this PR, update pubspecs in noports_core and sshnoports to use socket_connector 2.3.3
review, merge to trunk
publish new noports release candidate
deploy new srvd to the @stream relay
retest https://github.com/atsign-foundation/noports/issues/1476
publish new noports release
deploy newly published srvd to rv_am, rv_eu, rv_ap etc


Kitty: No "shell-integration" folder in package

Describe the bug
When building Kitty in nixpkgs, the "shell-integration" folder does not get copied into the output. As such, I cannot source the script to enable certain key-combinations as described on https://sw.kovidgoyal.net/kitty/shell-integration/#shell-integration.
Steps To Reproduce
Steps to reproduce the behavior:

build the Kitty package
run find ./result -name '*shell*'
note there isn't any such output.

Expected behavior
The "shell-integration" folder and its children should be copied from the source into the package.
Additional context
Add any other context about the problem here.
Notify maintainers
@tex @rvolosatovs @Luflosi
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.12, NixOS, 22.05 (Quokka)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.6.0pre20211217_6e6e998`
 - channels(root): `"nixos-22.05pre338278.b0bf5f888d3"`
 - nixpkgs: `/nix/store/k6gcnpmwjmmmkrb8y8vzj47hmhra2g5h-source`

kitty in Nixpkgs is still at version 0.23.1, which does not support the shell integration feature and therefore does not contain such a folder.
When it is updated to > 0.24 and this is still broken, please report here again.

#153928

Also see #153999.


Docs (specifications)

✓ Checklist:

[ ] This PR has been added to CHANGELOG.md (at the top of the list)

Codecov Report

Merging #67 (7233d8a) into main (f744ee8) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 7233d8a differs from pull request most recent head 78047b6. Consider uploading reports for the commit 78047b6 to get more accurate results

@@           Coverage Diff           @@
##             main      #67   +/-   ##
=======================================
  Coverage   75.86%   75.86%
=======================================
  Files          41       41
  Lines        2279     2279
=======================================
  Hits         1729     1729
  Misses        550      550

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 f744ee8...78047b6. Read the comment docs.


[ResourceLimit] Limit CPU resource usage of each query

Is your feature request related to a problem? Please describe.
At present, some users are executing complex queries, and the CPU or IO may be full, which affects the execution of other queries.
Users may not pay attention to the latency of these queries, but pay more attention to whether they can be successfully executed without affecting the normal use of the cluster. So we need to provide a mechanism to limit the resource overhead of a single query.
Doris currently only supports limiting the memory overhead of a single query, but does not support limiting the CPU and IO.
Describe the solution you'd like
Achieving CPU and IO limits is a complicated matter, but we can use a simple way to achieve it according to the characteristics of Doris' query execution plan.
Doris's execution plan is a volcano model. And use the push method to get data from top to bottom, and the bottom olap scan node is usually the final node. If we can limit the resource usage of the scan node, it will indirectly limit the resource overhead of the entire query (because the data is not reached, the upper node will not work)
The scan node runs the scan task through a thread pool, and the scan task of a query will be split into several execution fragments for execution. Here we limit the number of scanning threads that can be used by a query to slow down the data scanning speed, thereby limiting the overall resource overhead.
Detail
I add a new session variable "cpu_resource_limit" and a new user property "cpu_resource_limit".
The default value is -1, which is unlimited. And user can set limit for a single query in a session,
or set the limit for a certain user, so that all queries the user execute will use this limit.

This graph shows the cpu idle of different cpu_resource_limit setting. You can see that with the limit goes lower, the cpu usage getting lower too.
(Don't care about the execution time, all queries in this graph is timeout for 5min, we just focus on the cpu usage)

We also need this feature


[action][jira] API response improvement

Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.

Motivation and Context
There were two problems in JIRA action.
Problem1: OnSuccess: After adding a JIRA comment, it was not returning the JIRA API JSON response.
Problem2: OnError: After getting an Error, it was not handling the exception, resulting in the entire Fastlane failed with errors.
Description

To solve the problem1, now this action will return the exact JSON returned from the JIRA API
To solve the problem2, now this action will not fail the entire Fastlane, added begin-rescue block
Please see attached image for more details. Earlier v/s Now

Testing Steps
Nothing change here.
jira(
            url: "https://bugs.yourdomain.com",
            ticket_id: "IOS-123",
            comment_text: "Text to post as a comment"
          )

.

Thank you very much for the review and providing all the suggestions. 🙇♂
Requesting for re-review again! 🙏

@crazymanish Thanks for making those changes! I don’t have a Jira project setup to test this but just wanted to verify that you tested my suggestions to make sure they actually worked 😇

@crazymanish Thanks for making those changes! I don’t have a Jira project setup to test this but just wanted to verify that you tested my suggestions to make sure they actually worked 😇

Hi, @joshdholtz
No issue. I am testing different scenarios (success + failure) both right away and will add screenshots here
Question: Do you have any specific scenarios to test? please let me. you can wait for my screenshots first as well (maybe I will cover all scenarios) 😉

@crazymanish Not a ton of specific scenarios in mind! Really just want to make sure it still can post successfully, fail with error, and continue with error 😊

@crazymanish Not a ton of specific scenarios in mind! Really just want to make sure it still can post successfully, fail with error, and continue with error 😊

Hello @joshdholtz
Everything looks good to me, Please see attached screenshots


Prevent wsl --install from launching separate windows

Is your feature request related to a problem? Please describe.
When I type wsl --install Ubuntu, after it finishes the installation it opens a new prompt for finishing up the Ubuntu installation (equivalent of running Ubuntu from the Start Menu). But this new window is unnecessary. Everything could be done at the first terminal window.
Describe the solution you'd like
Instead of launching another window, I would like wsl --install to attach to the current terminal, equivalent to the user running ubuntu.exe from within the PowerShell or CMD.
https://user-images.githubusercontent.com/29582865/137001795-c40f7cbb-6bef-4824-96af-001c2a5c3c4a.mp4
Describe alternatives you've considered
None.
Additional context
None.

I'd like to be able to wsl --install a distribution and have some flag to prevent the distribution from launching. Would be so handy when installing a new machine with a set of distributions with a user (not root). This prevention of launching would allow one to install the "essentials" for wsl + distributions, and then execute the user creation via the root user in the yet to be launched distribution.
Might be that there is something in the first launch of distribution that needs to happen, but if this flag for wsl --install could terminate "the distribution window" when it prompts for user creation would be splendid already in my book. :)

Indeed a totally unattended installation would be simply amazing. But that's a bit different than what I'm proposing...
I suggest you open a new issue and mention it here, I'll upvote it right away. :-)


Inline glottocode

If Glottolog is going to be the only provider of languages, it doesn't make sense to have GlottoCodes as resources in the database, when all they are is text attributes of a Language object.

Yes, and the table ISOCode as well.

It may be the case, that one glottocode language has more than one ISO 639-3 code, though. Although in this case, we might as well just settle for one of these.

@xrotwang it seems that there aren't any cases where glottolog has the same ISO code for more than one language (although I don't have the latest glottolog version)?

@SimonGreenhill There are no such cases - yet. It may be the case quite often, though, if/when glottolog follows through with the idea that languages must be sufficiently distinct from each other.


fix: IndPred: track function's motive in a let binding, use withoutProofIrrelevance, no chaining

this improves support for structural recursion over inductive
predicates when there are reflexive arguments.
Consider
inductive F: Prop where
  | base
  | step (fn: Nat → F)

-- set_option trace.Meta.IndPredBelow.search true
set_option pp.proofs true

def F.asdf1 : (f : F) → True
  | base => trivial
  | step f => F.asdf1 (f 0)
termination_by structural f => f`

Previously the search for the right induction hypothesis would fail with
could not solve using backwards chaining x✝¹ : F
x✝ : x✝¹.below
f : Nat → F
a✝¹ : ∀ (a : Nat), (f a).below
a✝ : Nat → True
⊢ True

The backchaining process will try to use a✝ : Nat → True, but then has
no idea what to use for Nat.
There are three steps here to fix this.

We let-bind the function's type before the whole process. Now the
goal is
funType : F → Prop := fun x => True
x✝ : x✝¹.below
f : Nat → F
a✝¹ : ∀ (a : Nat), (f a).below
a✝ : ∀ (a : Nat), funType (f a)
⊢ funType (f 0)

Instead of using the general purpose backchaining proof search, which is more
powerful than we need here (we need on recursive search and no backtracking),
we have a custom search that looks for local assumptions that
provide evidence of funType, and extracts the arguments from that
“type” application to construct the recursive call.
Above, it will thus unify f a =?= f 0.

In order to make progress here, we also turn on use withoutProofIrrelevance,
because else isDefEq is happy to say “they are equal” without actually looking
at the terms and thus assigning ?a := 0.

This idea of let-binding the function's motive may also be useful for
the other recursion compilers, as it may simplify the FunInd
construction. This is to be investigated.
fixes #4751

@DanielFabian , this does successfully build  mathlib, and I have a sense that this is a step in the right direction. Do you want to have a final look before I merge this, or should I just go ahead?

go ahead, imo.


Errors while implementing the pointcloud functions

Issue Description
When I am trying to draw a pointcloud using the functions provided by librealsene and including the correct libraries, it is giving the errors related to function draw_pointcloud
These are included:-

These are the errors:-

Please can i get a reference which would help me to solve this problem

Maybe missing using namespace rs2;?
Please also check if the provided examples compile (rs-pointcloud)

@dorodnic
using namespace rs2; was missing, I added that but still same errors are showing up
Also checked the provided examples, they are compiling correctly

@dorodnic
Do I also need to include imgui.h ???

@SiddharthBhurat , you're trying to reuse parts of the Librealsense SDK's main tool - realsense-viewer rather that the SDK itself.
This is a heavy UI-oriented tool with multiple dependencies besides the SDK (i.e. imGui), and in general is not suited for Copy&Paste usage due to the coupling of the logic module with UI and rendering sub-system.
In case you're looking into Pointcloud generation and rendering I would recommend to check the Pointcloud demo from the sample aplications list - it has more narrowed list of dependencies and classes and is better encapsulated for reuse.
If you're still interested to pursue the original path then you'll have to trace and copy the relevant classes and includes  till all the dependencies are satisfied.

@SiddharthBhurat   If you are learning how to add dependencies into a librealsense project, the discussion in the link below may also be helpful.
https://github.com/IntelRealSense/librealsense/issues/4277

@SiddharthBhurat With the reply from @ev-mp and @MartyG-RealSense ,  did you get it through? Any other questions?

@SiddharthBhurat Do you still need support on this? Looking forward to your update. Thanks!

no
thanks a lot for your help
On Wed, Aug 12, 2020 at 6:53 AM RealSenseSupport<EMAIL_ADDRESS>wrote:

@SiddharthBhurat https://github.com/SiddharthBhurat Do you still need
support on this? Looking forward to your update. Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/IntelRealSense/librealsense/issues/6729#issuecomment-672428219,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AH77VWQBTK7H4UUSS2CXVQTSAHVHRANCNFSM4OMFVTBQ
.


Simple camera

Implement a simple camera that follows the player.
Reference: Solving Resolution Independent Rendering And 2D Camera Using Monogame by @spavkov

Resolved in https://github.com/allrod5/monodreams/commit/8f8a0e029ca45b787cd1c68389544233989868ab


feat: update host-metrics to api-metrics v0.27.0

Which problem is this PR solving?
Fixes https://github.com/open-telemetry/opentelemetry-js-contrib/issues/775
Short description of the changes

Adopt the API change in api-metrics 0.27.0
Since the batch observer was removed, we have to throttle the call to collect system metrics in a single collection request.

Hopefully this gets merged soon!


Add fav icon

Describe the solution you'd like
A fav icon is missing in the website, I would like add an attracting fav icon to the website which gives good user experience.
Please assign this to me under GSSOC'23

Issue aleady Open and  Assigned to Someone else.


ISPN-9369 Non-tx query cache results should be cached regardless of tx outcome

https://issues.jboss.org/browse/ISPN-9369

This definitely deserves some discussion! I understand the read-only case mentioned in JIRA, but then we have to handle read-only case and not cache all results.
The problem is that you could add entities into the DB and then execute a query in the same transaction. The query result could be affected, and if you cached = shared the query result, you'd be exposing an uncommitted entity.

This definitely deserves some discussion!

Sure, let's discuss. That's what the PR is for :)

I understand the read-only case mentioned in JIRA, but then we have to handle read-only case and not cache all results.The problem is that you could add entities into the DB and then execute a query in the same transaction. The query result could be affected, and if you cached = shared the query result, you'd be exposing an uncommitted entity.

In transaction, uncommitted data will be presented to the user when doing queries. That's independent of the fix here which affects what happens after tx is committed/rollback. I've just added a commit with a test demonstrates that it works as expected. If you add an entity in a transaction and you roll that back, in the next transaction you won't see that entity magically appearing in the query.

You're dealing with another issue than the one described in JIRA, then. Shouldn't you rather create a separate one for this change?
In testCacheQueryResultsOnRollback you

obtain query result from DB
rollback the tx but put the query result into cache
read the query result from cache

In testAvoidUncommittedResultsInQuery you

obtain query result from DB
put the query result into cache (committed tx)
obtain uncommitted query result from DB
update timestamp on Item, invalidating the query result
put the uncommitted query result to cache
verify that now you get correct result from DB

Have you verified that 4) and 5) happen in this order? Otherwise there's a time window to read the uncommitted query result. And even if it is, I am not too comfortable with inserting something that's potentially uncommitted (not just stale) into the cache.

You're dealing with another issue than the one described in JIRA, then. Shouldn't you rather create a separate one for this change?

Why?

In testCacheQueryResultsOnRollback you

In testCacheQueryResultsOnRollback I replicate the issue reported by the user.

In testAvoidUncommittedResultsInQuery you

In testAvoidUncommittedResultsInQuery I replicate the potential issue you reported here. Feel free to improve the reproducer as you see fit.

In testCacheQueryResultsOnRollback I replicate the issue reported by the user.

I disagree. The user does not commit/or rollback the transaction, user starts a read-only transaction and does not complete it. Since with your fix the query cache is updated only after transaction completes you're not helping this user.

In testAvoidUncommittedResultsInQuery I replicate the potential issue

Yes, I didn't realize the first time that the fact that uncommitted result is stored in the cache is mitigated by updating the timestamp. But I feel this opens a hole for trouble: suppose that with a replicated query cache the timestamp update is delayed (and it can be as it's async) but the query cache update is not. Someone could read the uncommitted data then.
I am reluctant to work on the reproducer to prove such issues as I think that the fix itself is conceptually wrong. Rolled back transactions should not write anything to a shared cache.

Actually I think that the rolled back transactions should not update timestamps cache either, but that would be a different issue.

I disagree. The user does not commit/or rollback the transaction, user starts a read-only transaction and does not complete it. Since with your fix the query cache is updated only after transaction completes you're not helping this user.

You're right.


Subtitle embed error

This fork can't embed subtitles whereas the original can. Using this command
youtube-dlc -f "bestvideo[height<=480][ext=mp4]+bestaudio[ext=m4a]/best" --write-sub --sub-lang en --embed-subs https://www.youtube.com/watch?v=4yvY-tYh0bM
will give the error
ERROR: file:The WORST iMac to buy-4yvY-tYh0bM.en.json3: Invalid data found when processing input.
I presume it might be because it's not downloading subtitles in the vtt format.

Will be fixed very soon https://github.com/blackjack4494/youtube-dlc/issues/33#issuecomment-691626844


[Bug]: Docker Compose deployment fails with build commands

Is there an existing issue for this?

[X] I have searched the existing issues

Example public repository
https://github.com/dagster-io/dagster/blob/master/examples/deploy_docker/docker-compose.yml
Description
I have tried the Docker Compose deployment of the previous repo/path.
This docker-compose contains some build commands:
  docker_example_user_code:
    build:
      context: .
      dockerfile: ./Dockerfile_user_code
    container_name: docker_example_user_code
    image: docker_example_user_code_image

When trying to deploy it in Coolify I get the following errors. It looks like Coolify tries to retrieve the images that should be built and, as expected, doesn't fund them.
I think that we might need to trigger a docker compose build before the docker compose pull.
I don't know if we'd need --ignore-buildable as well for docker compose pull
[18:08:46.893] Debug logging is disabled. Enable it above if necessary!
[18:08:46.901] Cloning dagster-io/dagster:master...
[18:09:28.428] Configuration changed
[18:09:30.779] Command failed with exit code 18: docker compose --project-directory /tmp/build-sources/dagster-io/dagster/clepxmeaj038l9sl8f7kzbrze -f /tmp/build-sources/dagster-io/dagster/clepxmeaj038l9sl8f7kzbrze/examples/deploy_docker/docker-compose.yml pull
docker_example_dagit Skipped
docker_example_daemon Skipped
docker_example_user_code Pulling
docker_example_postgresql Pulling
docker_example_user_code Error
docker_example_postgresql Error
WARNING: Some service image(s) must be built from source by running:
    docker compose build %s docker_example_user_code
Error response from daemon: pull access denied for docker_example_user_code_image, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
[18:09:30.782] Command failed with exit code 18: docker compose --project-directory /tmp/build-sources/dagster-io/dagster/clepxmeaj038l9sl8f7kzbrze -f /tmp/build-sources/dagster-io/dagster/clepxmeaj038l9sl8f7kzbrze/examples/deploy_docker/docker-compose.yml pull
docker_example_dagit Skipped
docker_example_daemon Skipped
docker_example_user_code Pulling
docker_example_postgresql Pulling
docker_example_user_code Error
docker_example_postgresql Error
WARNING: Some service image(s) must be built from source by running:
    docker compose build %s docker_example_user_code
Error response from daemon: pull access denied for docker_example_user_code_image, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

Steps To Reproduce
See above
Version
3.12.21

docker_example_user_code_image is a non existing image. The compose file you linked is a wrong one.

Hi Andras.
I actually think that this could be fixed and that the issue could be reopened.
According to this SO page, docker compose allows having both a build and an image value set. In that case, the build command will create an image with the name of image.
I think that updating this code
https://github.com/coollabsio/coolify/blob/884524c448604e24b3eb651824977e75d9fd6d04/apps/api/src/lib/buildPacks/compose.ts#L129
and adding --ignore-buildable at the end would work.

Has this been resolved for Coolify v3?

Please update to the latest v4 version and recheck if this issue persist?


Samira/Dante audio bug in multiplayer

Samira/Dante's audio, both sound effects and voice lines seem to play at full volume across the entire stage. It's very annoying in multiplayer.

Thanks for the feedback. I am going to push all the sounds to be client side so it won't be annoying. When I figure out how to diminish the sound by distance, maybe I'll add it back. These updates will be pushed in a couple of minutes.

Thank you :)


Enable H2 upgrade with opportunistic mTLS

With opportunistic mtls, we can certainly present {h2, h1, istio} in alpn.
However the the way things work right now, the upstream must be designated to be h2 capable by setting h2 protocol options.
Since this information will not be available at config time, we will have to figure out how to make this work.
If a specific connection pool is initiating the opportunistic mtls, then the h1 or h2 is decided by then.

@PiotrSikora @lizan

See discussion in envoyproxy/envoy#7135.

Separately, we negotiate mTLS using "istio" ALPN, which we can mandate to be H2.


Asset Automation 2024-02-16T09:11:11.044Z

feat(assets): Asset Automation 2024-02-16T09:11:11.044Z

this was just a test


Addition of Bitconnect Coin

Can we add this to the coin list please :)

It appears to be a scrypt coin so adding it should be easy. Why don't you get your hands dirty? 😄

@oliverw Just trying now.
        // SHA256
        { CoinType.BTC, sha256Coin },
        { CoinType.BCC, sha256Coin },
        { CoinType.NMC, sha256Coin },
        { CoinType.PPC, sha256Coin },
    { CoinType.GLT, sha256Coin },

What is the BCC sha256Coin? Bitconnect has the abbreviation of BCC and is scrypt.

Ok, let me just do it in a branch. I'll tell you when it's ready later today.

@oliverw I have fixed the BCH issues and added BCC and also tried to implement peercoin. No errors appear but both of them just continually say "Waiting for daemons to come online...".
I have used the same configuration file for the previous coins which has been working well. I have even copied the default configuration file from both BCC and PPC sources but still no success.
I can also use telnet IP:PORT and it comes out as connected but the server refuses to connect. Any ideas?

Are you sure that the daemon runs at the correct port matching the pool config?

And you are right Bitcoin Cash is using the wrong symbol BCC. That needs to be changed.

Yep the config port matches the port in the conf file for each coin. I have been using:
rpcuser=user
rpcpassword=password
rpcallowip=internal address of the server
rpcport=high port number
listen=1
server=1
daemon=1

What happens if you run this (make sure to replace 1234 with the actual daemon port):
curl -u user:pass --data-binary '{"jsonrpc": "2.0", "id":"1", "method": "getnetworkinfo", "params": [] }' -H 'content-type: application/json' -X POST http://<IP_ADDRESS>:1234

If you need curl for windows look here: https://curl.haxx.se/download.html and use this command line:
curl -u user:pass --data-binary "{'jsonrpc': '2.0', 'id':'1', 'method': 'getnetworkinfo', 'params': [] }" -H "content-type: application/json" -X POST http://<IP_ADDRESS>:1234

Both result in the same.
{"result":null,"error":{"code":-32601,"message":"Method not found"},"id":"1"}
Does this mean that the server is trying to call "getworkinfo" but these coins dont have the corresponding rpc command?

Looks like. Try "getinfo", "getmininginfo" and "getpeerinfo".

All of those work for the two coins :)

Supporting them would be a bit more involved since I just phased out support for getinfo a couple days ago since all major coins will stop supporting it soon.

Ah dam, any idea when this will be done?

I'll see what I can do. No promises though.

Awesome thanks


feature request / configuration ability to default dry run and explicitly commit to generate.

This is a feature request. I love the CLI, but the affects can cause more headache if you don't know how to use it properly (ex. generating all kinds of things I didn't mean to or not generating things I actually wanted, now I have to go clean up the mess and try again).
While learning or teaching others, I would love to be able to default dry run in a configuration and then have to explicitly commit the changes to really generate.
This would make adoption and conversion easier for new comers from other technologies.

Closing this, since there is a known solution as suggested by @clydin.


Unable to evaluate

Debugging generally works, my breakpoints are hit. However I cannot display any variables: The locals window, quick watch etc. simply display "Unable to evaluate" for all variables, objects etc. Therefore expanding an object (by clicking on the +) also doesn't work. Debugging without seeing any values is of course not very helpful...
I am using the newest releases of both VS2019 (16.6.1) and the .NET SDK (3.1.300). Is there something else I need to do?

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

ID: ec2f61c7-9f51-6735-e328-3c7b495d70c3
Version Independent ID: 4d06e565-282d-6387-aa90-cb2c2986d35a
Content: Debug ASP.NET Core Blazor WebAssembly
Content Source: aspnetcore/blazor/debug.md
Product: aspnet-core
Technology: aspnetcore-blazor
GitHub Login: @guardrex
Microsoft Alias: riande

Hello @srudin ... Please open this for engineering at ...
https://github.com/dotnet/aspnetcore/issues
Add a cc: @guardrex to your issue. If a solution is found that we need to call out in the topic, I'll re-open this issue.


fix: allow "treat as source" without edit rights

We use URL Sync, and with URL sync editing of the tokens is disabled inside Tokens Studio. However, currently, this also hides away the "Treat as source" functionality, which has nothing to do with editing the tokens, rather it's a special checked state of the tokenset. Since you can check/uncheck the tokensets even when you can't edit, I believe you should also be able to treat the tokenset as source.
PS. Sorry for jumping directly to a PR, seemed like a small enough change so we can discuss directly here if necessary?
PPS. There are some unrelated autoformatting changes in here, I can undo them manually, if necessary, but it's a bit cumbersome so I did not do that right now. Not sure what is going on with the prettier config in this repo, does not seem to be enforced.

Awesome, thank you for this! 🙏


Allowing one to whitelist variables in the UnusedLocalVariable rule.

See https://github.com/phpmd/phpmd/issues/326

@JulienPalard  many thanks, looks good to me.
@manuelpichler do you see anything that needs to be addressed? May be documentation/website-wise?

@JulienPalard sorry for keeping you in the line so long. 🙇


how i can understand message_id  and use it in telegramBot.deleteMessage()

hi
how i can understand message_id  and use it in telegramBot.deleteMessage()
i want after sending my phone number deleted it
bot.onText(/^/place_order/, function (msg, match) {
var option = {
"parse_mode": "Markdown",
"reply_markup": {
"one_time_keyboard": true,
"keyboard": [[{
text: "My phone number",
request_contact: true
}], ["Cancel"]]
}
};
bot.sendMessage(msg.chat.id, "How can we contact you?", option).then(() => {
//after share contact deleted my phone number and first name
bot.once("contact",function(msg){
deleteMessage(msg.chat.id,?); // what do I do?
});
});

});
});

tanks


CASSANDRA-17945 Update StorageService.getNativeaddress to handle IPv6 addresses

CASSANDRA-17945
StorageService.getNativeaddress does not currently correctly handle IPv6 addresses correctly when NATIVE_ADDRESS_AND_PORT are not present in that it simply concatenates the IP address with the default native port, e.g.:
0:0:0:0:0:0:5a:3:9042
This does not parse into an InetSocketAddress as the address and port can't be disambiguated.
Such a case would usually be present when there are 3.x nodes present in a cluster with 4.0 nodes.
Change updates RPC_ADDRESS and else case to create InetAddressAndPort instances with DatabaseDescriptor.getNativeTransportPort and returns the getHostAddress(withPort) which properly bracket encodes the address, e.g.:
which can be parsed as an InetSocketAddress.

Committed as [3bdd2caa22a0413929188536b41d8117177574fa|https://github.com/apache/cassandra/commit/3bdd2caa22a0413929188536b41d8117177574fa].


Restore Topology Example Fails

Hey!
Was interested in using the restore topology, and i tested the example.
It crashes however when trying it.
        "x-dead-letter-exchange": {
          "LongString": "test-exchange"
        },

This part says that it is an invalid string, expects a Sequence.

You're right, this is due to the change where we now use a binary slice to back these. Will fix it


Update gRPC Documentation for Service Method Generation Options

Updating ent site documentation for changes to gRPC service method generation caused by https://github.com/ent/contrib/pull/158

@all-contributors please add @JeremyV2014 for docs and code


🐛 Mobile | Large gap at bottom of Network page

Hi team
Describe the Bug
There's a large gap at the bottom of the Network page. This should be removed.

❌ Figure: The Network page has a large gap at the bottom
Tasks

[ ] Investigate
[ ] Fix

Acceptance Criteria

[ ] Meets Definition of Done - https://github.com/SSWConsulting/SSW.Rewards.Mobile/blob/main/_docs/Definition-of-Done.md

Thanks!

Done - this has been fixed.

✅ Figure: Gap has been removed


Fonts not downloaded

This solution seems to be ok with caching CSS and JavaScript files from googleapis.com, but it seems to fail at downloading the fonts defined in the CSS.
I added a rule to cache those fonts:
[target host="fonts.gstatic.com" /]
[rule from="^https?://fonts.gstatic.com/(.*)" to="https://MY_HOSTNAME/mycdn/gstatic-fonts/$1"/]
as well as the equivalent code on the server side.
When I copy the content of the fonts.googleapis.com CSS into a test HTML file, the font is downloaded and cached correctly. But if put the original [link] tag containing the href pointing to fonts.googleapis.com, HTTPSEverywhere injects correctly the cached CSS since the CSS styles are downloaded as confirmed by the firebug Net panel, but the font itself does not seem to be downloaded, neither from fonts.gstatic.com, nor from the cache where my HTTP server access.log fails to report any request concerning this font.
Can you confirm this, or am I doing something wrong ?

Could you give me a complet example for testing ?

test case html file is here:  http://pastebin.com/yEZ90UGu
modified index.php is here: http://pastebin.com/xkZQnLxt
and you already have the addition made to the HTTPSEverywhere rule file in my first post

After testing with the above test case html file, and being careful about clearing my browser cache between each reload of the page, it seems that the information given in the html file is not right.
When located in the CSS code, the original request for the fonts is blocked by HTTPSEverywhere as expected, but the modified request is never sent, contrarily to what is done with request generated by links present in the HTML code. Therefore, the cache server never receives the font request when HTTPSEverywhere rules are activated.
Could you confirm this ?

Yes have got the same problem :-/
It's very strange. When I copy the URL of  I'm redirect to my server but not when it call from HTML.
I don't understand why :-(

So that's more a bug report for HTTPS Everywhere than for cdn_cache ?

I think yes :-/

solved:
first issue is that you should send a header "Content-Type: text/css" when sending the cached css, otherwise, firefox read it as html and refuse to use it.
when this is fixed, the css is loaded, but there is a cross domain issue when trying to get the fonts from a css coming from another server than google servers.

Thank you for the help.

I got this :
downloadable font: download failed (font-family: "Source Sans Pro Gstatic" style:normal weight:normal stretch:normal src index:2): bad URI or cross-site access not allowed source: https://fonts.gstatic.com/s/sourcesanspro/v9/ODelI1aHBYDBqgeIAH2zlNzbP97U9sKh0jjxbPbfOKg.ttf

It's a feature of NoScript: it forbids font-face by default
you can modify this in the Embeddings panel of NoScript Options
But that does not solve the cross domain issue: i'm not completely sure that HTTPS-E is not involved here, and this is currently discussed in issue EFForg/https-everywhere#1175