Proposed: Non-standard program specific information files

I am now in the process of interfacing Bmad with code to read/write openPMD files and I am contemplating the issue that I may be putting "extra" information into the files that are created that are not part of the openPMD standard. For example, information about the lattice.
Since this information may potentially be useful to other program maintainers, I propose letting program maintainers submit information about what nonstandard information is stored in files that their program creates. This information would be stored in separate files in the openPMD Git repository making for easy access to this information. Things need to be arranged so that it is clear that this information is not part of the standard. For example, a "non-standard" directory could be created and a "Bmad.info" file in that directory could hold information about the non-standard information that Bmad includes in data files. As an added benefit, such files could help with future development of the openPMD standard since the files will show what individual programs need in their data files.

Hi David,
in general, openPMD is totally open to store more information in form of attributes or even other groups in data files. You can always add program-specific attributes or even non-openPMD data #115, if you consider them not suited for standardization, only applicable to a specific application (and documented therein), etc.
I am not entirely sure if such information should just be part of the specific application's documentation. For example, in PIConGPU we add additional information on specific openPMD files that are usable as "checkpoints" which we document in our main docs. In our case, such additional information is for example the current state of a random number generator in a distributed simulation or the current state of "next unique particle ids" for newly created particles from ionization or QED physics (also distributed).
I am also totally open to document this in openPMD-standards as well, an in such a case one would write an extension EXT:App-PIConGPU or EXT:App-Bmad.
I tend to think one is potentially more flexible keeping such an extension in the applications docs (and just "reserving" the naming here). The simple reason behind this is that one might change application-specific data more often than the openPMD-standard and it might be non-trivial to define a general enough "kernel" or even common structure of such highly application-specific info.

@ax3l

in general, openPMD is totally open to store more information in form of attributes or even other groups in data files. You can always add program-specific attributes or even non-openPMD data #115, if you consider them not suited for standardization, only applicable to a specific application (and documented therein), etc.

Yes understood.

I am not entirely sure if such information should just be part of the specific application's documentation. For example, in PIConGPU we add additional information on specific openPMD files that are usable as "checkpoints" which we document in our main docs. In our case, such additional information is for example the current state of a random number generator in a distributed simulation or the current state of "next unique particle ids" for newly created particles from ionization or QED physics (also distributed).

This information definitely should be part of the specific program's documentation. The proposal here would just also collect the information in the openPMD Git repository. This is advantageous for a number of reasons. By putting all this information in one place it makes getting at this information simpler. Also, for example, I did not know that PIConGPU was using openPMD so if I was searching for what added information other programs were putting in I would not know to try to look at the documentation for PIConGPU.

I am also totally open to document this in openPMD-standard as well, in such a case one would write an extension EXT:App-PIConGPU or EXT:App-Bmad.

Since the extra information put into a data file by a program will be specific to that program. My druthers would be to clearly mark this stuff as not part of the openPMD standard. But as long as it is clear what the situation is I could go either way on this.

I tend to think one is potentially more flexible keeping such an extension in the applications docs (and just "reserving" the naming here). The simple reason behind this is that one might change application-specific data more often than the openPMD-standard and it might be non-trivial to define a general enough "kernel" or even common structure of such highly application-specific info.

I'm not sure what you mean by "application docs" here. Is there currently an applications docs area? Certainly we do not want to have to change the revision number for the standard if a program's maintainer changes what extra information the program is storing.

I suggest as well to store them in your openPMD series directly (#115), since the notion of actual "files" is not needed for openPMD and we are actively working towards streaming workflows with openPMD series for Exascale. Storing it with the openPMD series will just translate such additional info very naturally, without extra "file" handling (although the series itself might still be in files, which is an implementation detail).

The proposal here is to get the information as to what programs are adding to data files outside of the standard all in one place so that a person who is interested in finding out in general what is being added can easily access this information. Having to look in data files themselves for this information looks worse to me than trying to dig up the documentation from all the programs that use openPMD.
Certainly for someone who is only interested in the extra information added by one particular program, this proposal will not be of much use. This proposal was made for the times when it is
desired to know in general what extra information programs in general are adding.

@ax3l Consider these use cases:
A) When a person who maintains program X interfaces reader code to read in openPMD files, if he/she sees that program Y stores some extra information that could be used in program X, then he/she can extend the the reader interface to read in the information if it is available.
B) When further developing the openPMD standard, knowing what extra information different programs are putting in data files can help guide the development.

@ax3l

I am not entirely sure if such information should just be part of the specific application's documentation.

Another comment on this: My plan is to put information in the Bmad manual and then, If approved, I would simply have the Bmad information file stored in the openPMD repository point to where the information is located in the Bmad manual. I definitely do not want to maintain the same documentation in two places.


Add a 'KeepRejects' option that disables auto-cleanup

I'd like to retain all mail that comes in, even spam, as I can use it to train spam classifiers in the future.

Thanks!


libtensorflow with RX6600 crashes

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
No
Source
source
TensorFlow version
2.16.0
Custom code
No
OS platform and distribution
22.04
Mobile device
N/A
Python version
3.10
Bazel version
6.1.0
GCC/compiler version
clang-16
CUDA/cuDNN version
No response
GPU model and memory
gfx1032
Current behavior?
Not sure the RX6600 can actually run ROCM, but I managed to compiled libtensorflow.so.2.16 and libtensorflow_framework.so.2.16.0 compiled with ROCM-6.0.0 on develop-upstream branch.
I symlinked the libs to the Pixinsight folder and started running BlurrXterminator (which uses libtensorflow).
After adding export HSA_OVERRIDE_GFX_VERSION=10.3.0 it tries to use the GPU, but crahses with following message:
PixInsight Core 1.8.9-2 Ripley (x64)
Copyright (c) 2003-2023 Pleiades Astrophoto
2023-12-30 20:56:21.975542: E external/local_xla/xla/stream_executor/plugin_registry.cc:90] Invalid plugin kind specified: DNN
2023-12-30 20:57:19.511979: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: SSE3 SSE4.1 SSE4.2 AVX AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-12-30 20:57:19.650407: I external/local_xla/xla/stream_executor/rocm/rocm_gpu_executor.cc:812] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2023-12-30 20:57:19.829698: I external/local_xla/xla/stream_executor/rocm/rocm_gpu_executor.cc:812] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2023-12-30 20:57:19.830014: I external/local_xla/xla/stream_executor/rocm/rocm_gpu_executor.cc:812] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2023-12-30 20:57:19.830689: I external/local_xla/xla/stream_executor/rocm/rocm_gpu_executor.cc:812] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2023-12-30 20:57:19.830986: I external/local_xla/xla/stream_executor/rocm/rocm_gpu_executor.cc:812] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2023-12-30 20:57:19.831311: I external/local_xla/xla/stream_executor/rocm/rocm_gpu_executor.cc:812] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2023-12-30 20:57:19.831445: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1929] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 7140 MB memory:  -> device: 0, name: AMD Radeon RX 6600, pci bus id: 0000:03:00.0
2023-12-30 20:57:20.127638: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:388] MLIR V1 optimization pass is not enabled
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
F0000 00:00:1703966242.295913    5391 gpu_launch_config.h:174] Check failed: err == hipSuccess (98 vs. 0)
F0000 00:00:1703966242.295975    5389 gpu_launch_config.h:174] Check failed: err == hipSuccess (98 vs. 0)
F0000 00:00:1703966242.296268    5392 gpu_launch_config.h:174] Check failed: err == hipSuccess (98 vs. 0)
2023-12-30 20:57:22.797753: F tensorflow/core/kernels/cwise_op_gpu_fma.cu.cc:106] Non-OK-status: GpuLaunchKernel(CwiseFusedMulAddKernel<T, N, Type>, config.block_count, config.thread_per_block, 0, device.stream(), config, out, x1, y1, x2) status: INTERNAL: Cuda call failed with 303
/opt/PixInsight/bin/PixInsight.sh: line 45:  4591 Aborted                 (core dumped) /opt/PixInsight/bin/PixInsight
Standalone code to reproduce the issue
Relevant log output
ROCk module is loaded
=====================
HSA System Attributes
=====================
Runtime Version:         1.1
System Timestamp Freq.:  1000.000000MHz
Sig. Max Wait Duration:<PHONE_NUMBER>3709551615 (0xFFFFFFFFFFFFFFFF) (timestamp count)
Machine Model:           LARGE
System Endianness:       LITTLE
Mwaitx:                  DISABLED
DMAbuf Support:          YES

==========
HSA Agents
==========
*******
Agent 1
*******
  Name:                    Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
  Uuid:                    CPU-XX
  Marketing Name:          Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
  Vendor Name:             CPU
  Feature:                 None specified
  Profile:                 FULL_PROFILE
  Float Round Mode:        NEAR
  Max Queue Number:        0(0x0)
  Queue Min Size:          0(0x0)
  Queue Max Size:          0(0x0)
  Queue Type:              MULTI
  Node:                    0
  Device Type:             CPU
  Cache Info:
    L1:                      32768(0x8000) KB
  Chip ID:                 0(0x0)
  ASIC Revision:           0(0x0)
  Cacheline Size:          64(0x40)
  Max Clock Freq. (MHz):   4000
  BDFID:                   0
  Internal Node ID:        0
  Compute Unit:            8
  SIMDs per CU:            0
  Shader Engines:          0
  Shader Arrs. per Eng.:   0
  WatchPts on Addr. Ranges:1
  Features:                None
  Pool Info:
    Pool 1
      Segment:                 GLOBAL; FLAGS: FINE GRAINED
      Size:                    16260160(0xf81c40) KB
      Allocatable:             TRUE
      Alloc Granule:           4KB
      Alloc Alignment:         4KB
      Accessible by all:       TRUE
    Pool 2
      Segment:                 GLOBAL; FLAGS: KERNARG, FINE GRAINED
      Size:                    16260160(0xf81c40) KB
      Allocatable:             TRUE
      Alloc Granule:           4KB
      Alloc Alignment:         4KB
      Accessible by all:       TRUE
    Pool 3
      Segment:                 GLOBAL; FLAGS: COARSE GRAINED
      Size:                    16260160(0xf81c40) KB
      Allocatable:             TRUE
      Alloc Granule:           4KB
      Alloc Alignment:         4KB
      Accessible by all:       TRUE
  ISA Info:
*******
Agent 2
*******
  Name:                    gfx1030
  Uuid:                    GPU-XX
  Marketing Name:          AMD Radeon RX 6600
  Vendor Name:             AMD
  Feature:                 KERNEL_DISPATCH
  Profile:                 BASE_PROFILE
  Float Round Mode:        NEAR
  Max Queue Number:        128(0x80)
  Queue Min Size:          64(0x40)
  Queue Max Size:          131072(0x20000)
  Queue Type:              MULTI
  Node:                    1
  Device Type:             GPU
  Cache Info:
    L1:                      16(0x10) KB
    L2:                      2048(0x800) KB
    L3:                      32768(0x8000) KB
  Chip ID:                 29695(0x73ff)
  ASIC Revision:           0(0x0)
  Cacheline Size:          64(0x40)
  Max Clock Freq. (MHz):   2750
  BDFID:                   768
  Internal Node ID:        1
  Compute Unit:            28
  SIMDs per CU:            2
  Shader Engines:          2
  Shader Arrs. per Eng.:   2
  WatchPts on Addr. Ranges:4
  Coherent Host Access:    FALSE
  Features:                KERNEL_DISPATCH
  Fast F16 Operation:      TRUE
  Wavefront Size:          32(0x20)
  Workgroup Max Size:      1024(0x400)
  Workgroup Max Size per Dimension:
    x                        1024(0x400)
    y                        1024(0x400)
    z                        1024(0x400)
  Max Waves Per CU:        32(0x20)
  Max Work-item Per CU:    1024(0x400)
  Grid Max Size:<PHONE_NUMBER>(0xffffffff)
  Grid Max Size per Dimension:
    x<PHONE_NUMBER>(0xffffffff)
    y<PHONE_NUMBER>(0xffffffff)
    z<PHONE_NUMBER>(0xffffffff)
  Max fbarriers/Workgrp:   32
  Packet Processor uCode:: 116
  SDMA engine uCode::      76
  IOMMU Support::          None
  Pool Info:
    Pool 1
      Segment:                 GLOBAL; FLAGS: COARSE GRAINED
      Size:                    8372224(0x7fc000) KB
      Allocatable:             TRUE
      Alloc Granule:           4KB
      Alloc Alignment:         4KB
      Accessible by all:       FALSE
    Pool 2
      Segment:                 GLOBAL; FLAGS: EXTENDED FINE GRAINED
      Size:                    8372224(0x7fc000) KB
      Allocatable:             TRUE
      Alloc Granule:           4KB
      Alloc Alignment:         4KB
      Accessible by all:       FALSE
    Pool 3
      Segment:                 GROUP
      Size:                    64(0x40) KB
      Allocatable:             FALSE
      Alloc Granule:           0KB
      Alloc Alignment:         0KB
      Accessible by all:       FALSE
  ISA Info:
    ISA 1
      Name:                    amdgcn-amd-amdhsa--gfx1030
      Machine Models:          HSA_MACHINE_MODEL_LARGE
      Profiles:                HSA_PROFILE_BASE
      Default Rounding Mode:   NEAR
      Default Rounding Mode:   NEAR
      Fast f16:                TRUE
      Workgroup Max Size:      1024(0x400)
      Workgroup Max Size per Dimension:
        x                        1024(0x400)
        y                        1024(0x400)
        z                        1024(0x400)
      Grid Max Size:<PHONE_NUMBER>(0xffffffff)
      Grid Max Size per Dimension:
        x<PHONE_NUMBER>(0xffffffff)
        y<PHONE_NUMBER>(0xffffffff)
        z<PHONE_NUMBER>(0xffffffff)
      FBarrier Max Size:       32

Hi @stone17, sorry for the delay. Are you still experiencing this issue?

Don't know, gave up working with rocm shortly after.

Sorry to hear that, and sorry again for the lack of a timely response here. If you decide to try again in the future, feel free to comment here or open new issues if you're still experiencing this issue or want further guidance.


Background App Refresh not updating RSS feeds in the background

I noticed NetNewsWire has Background App Refresh support which I’ve turned on in the settings. I’ve subscribed to some RSS feeds and when I close the app it’s not updating the RSS feeds in the background instead I have to launch the app to check for new unread items. I would like the app to check the RSS feeds in the background and provide a notification if there are new items, can you please implement this?

Are you force quiting NetNewsWire? If so, it won't run in the background.

Yes I’m force quitting NetNewsWire. I force quit the Gmail app and it still notifies me when I receive a new email. Can NetNewsWire have that same level of functionality?

The Gmail app is sending you remote notifications from a server. It isn't using background refresh. Since there isn't a server component to NetNewsWire, we can't send remote notifications.
Force quiting NNW is why you aren't getting background refreshes. Even then, they only happen when scheduled by iOS which tries to conserve battery life by only doing refreshes when it thinks you will need them.


projectMetrics_subjects_spec.js fails in CI due to the unexpected toasts

projectMetrics_subjects_spec.js fails in CI due to the unexpected toasts

PR: #452


field with type int64 as primary key, cache no hit

type DatRole {
    Id  uint64
    Name string
}

func GetRole(name string) []DataRole {
    roles :=make([]DatRole, 0)
    //engine.NoCache()
    engine.Where("name like ?", name).Find(&roles)
    return roles
}

First request (no cache):
[xorm] [debug] 2015/03/13 17:37:35.035771 [cacheFind] cache sql: [[999001423731429334] [999001423732209317] [999001423732250085] [999001424857132810]] dat_role SELECT `dat_role`.`id` FROM  `dat_role` WHERE user like ? [test_user]
[xorm] [info]  2015/03/13 17:37:35.035866 [sql] SELECT `id`, `name` FROM `dat_role` WHERE (`id` IN (?,?,?,?)) [args] [999001423731429334<PHONE_NUMBER>32209317<PHONE_NUMBER>32250085<PHONE_NUMBER>57132810]
[xorm] [debug] 2015/03/13 17:37:35.036251 [cacheFind] cache bean: dat_role [999001423731429334] &{999001423731429334 test_user}
[xorm] [debug] 2015/03/13 17:37:35.036264 [cacheFind] cache bean: dat_role [999001423732209317] &{999001423732209317 test_user}
[xorm] [debug] 2015/03/13 17:37:35.036273 [cacheFind] cache bean: dat_role [999001423732250085] &{999001423732250085 test_user}
[xorm] [debug] 2015/03/13 17:37:35.036285 [cacheFind] cache bean: dat_role [999001424857132810] &{999001424857132810 test_user}

Second request (cache hit, however, numbers type of int64 are converted into NUMe+n):
[xorm] [debug] 2015/03/13 17:38:08.380231 [cacheFind] cache hit sql: SELECT `dat_role`.`id` FROM  `dat_role` WHERE user like ? [test_user]
[xorm] [info]  2015/03/13 17:38:08.380278 [sql] SELECT `id`, `name` FROM `dat_role` WHERE (`id` IN (?,?,?,?)) [args] [9.990014237314294e+17 9.990014237322093e+17 9.990014237322501e+17 9.990014248571328e+17]
[xorm] [warn]  2015/03/13 17:38:08.380486 [cacheFind] cache no hit: dat_role [9.990014237314294e+17]
[xorm] [warn]  2015/03/13 17:38:08.380490 [cacheFind] cache no hit: dat_role [9.990014237322093e+17]
[xorm] [warn]  2015/03/13 17:38:08.380492 [cacheFind] cache no hit: dat_role [9.990014237322501e+17]
[xorm] [warn]  2015/03/13 17:38:08.380494 [cacheFind] cache no hit: dat_role [9.990014248571328e+17]

I think maybe you should add pk tag to Id for indicate it's a primary key column.
type DatRole {
    Id  uint64 `xorm:"pk"`
    Name string
}

This bug is caused by PK marshaled to json and unmarshaled from json.
When unmarshaled from json, encoding/json will convert<PHONE_NUMBER>57132810 to a float not an uint64.

fixed by github.com/go-xorm/xorm#be6e7ac47dc57bd0ada25322fa526944f66ccaa6

well done, thank you.
2015-03-15 8:32 GMT+08:00 Lunny Xiao<EMAIL_ADDRESS>
Closed #220 https://github.com/go-xorm/xorm/issues/220.
—
Reply to this email directly or view it on GitHub
https://github.com/go-xorm/xorm/issues/220#event-254107999.

--

http://www.yulefox.com


Jobs get stuck when a Job Listener throws an exception

We have a JobListener that does some setup before a job runs. If that listener throws an exception for any reason eg (DB connection issue) the worker thread just exits it's run loop without updating the triggers state.
The class I am referring to is JobRunShell https://github.com/quartz-scheduler/quartz/blob/a5c4d27e963f51097f9b2777489d310a88897ca4/quartz/src/main/java/org/quartz/core/JobRunShell.java#L173. The notifyListenersBeginning method will catch the exception and return false. This means the logic to remove the record from qrtz_fired_triggers is not done and the qrtz_trigger records trigger_state is not set back to "WAITING". While I realise the Job Listener shouldn't throw an exception I think the jobs trigger state should still be updated so it's next run is not prohibited.
    private boolean notifyListenersBeginning(JobExecutionContext jobExCtxt) throws VetoedException {

        boolean vetoed = false;

        // notify all trigger listeners
        try {
            vetoed = qs.notifyTriggerListenersFired(jobExCtxt);
        } catch (SchedulerException se) {
            qs.notifySchedulerListenersError(
                    "Unable to notify TriggerListener(s) while firing trigger "
                            + "(Trigger and Job will NOT be fired!). trigger= "
                            + jobExCtxt.getTrigger().getKey() + " job= "
                            + jobExCtxt.getJobDetail().getKey(), se);

            return false;
        }

        if(vetoed) {
            try {
                qs.notifyJobListenersWasVetoed(jobExCtxt);
            } catch (SchedulerException se) {
                qs.notifySchedulerListenersError(
                        "Unable to notify JobListener(s) of vetoed execution " +
                        "while firing trigger (Trigger and Job will NOT be " +
                        "fired!). trigger= "
                        + jobExCtxt.getTrigger().getKey() + " job= "
                        + jobExCtxt.getJobDetail().getKey(), se);

            }
            throw new VetoedException();
        }

        // notify all job listeners
        try {
            qs.notifyJobListenersToBeExecuted(jobExCtxt);
        } catch (SchedulerException se) {
            qs.notifySchedulerListenersError(
                    "Unable to notify JobListener(s) of Job to be executed: "
                            + "(Job will NOT be executed!). trigger= "
                            + jobExCtxt.getTrigger().getKey() + " job= "
                            + jobExCtxt.getJobDetail().getKey(), se);

            return false;
        }

        return true;
    }

Snippet from the run method, the break stops the job from running as well as the trigger state being updated as detailed above:
// notify job & trigger listeners...
try {
    if (!notifyListenersBeginning(jec)) {
        break;
    }
} catch(VetoedException ve) {
    try {
        CompletedExecutionInstruction instCode = trigger.executionComplete(jec, null);
        qs.notifyJobStoreJobVetoed(trigger, jobDetail, instCode);

        // QTZ-205
        // Even if trigger got vetoed, we still needs to check to see if it's the trigger's finalized run or not.
        if (jec.getTrigger().getNextFireTime() == null) {
            qs.notifySchedulerListenersFinalized(jec.getTrigger());
        }
        complete(true);
    } catch (SchedulerException se) {
        qs.notifySchedulerListenersError("Error during veto of Job ("
                + jec.getJobDetail().getKey()
                + ": couldn't finalize execution.", se);
    }
    break;
}

@jhouserizer здравствуйте, пожалуйста, повторите эту проблему, я столкнулся с похожей проблемой при реализации TriggerListenerSupport#vetoJobExecution()

if an exception is returned at line 1862, the process of starting the task will be interrupted, but the trigger in the database will remain blocked
scheduler will ignore such a trigger, the task will remain stuck

We have the same issue! The Quartz Scheduler should be robust enoght to handle errors in an Listener and bring the job in an valid state.
At the moment we have to restart our Application to bring such Quartz Jobs back in an valid state!
At least the Javadoc of the JobListener Interface should be clear, that a JobListener have to catch all Exceptions, otherwise the Quartz Job enters an invalid state!

So, the problem is this:
1 - The JobRunShell#run() task starts running, go to line 172 and call JobRunShell#notifyListenersBeginning()
2 - We make a call to QuartzScheduler#notifyListenersBeginning(), within which all overridden methods of the TriggerListenerSupport listener will be called
3 - Next we reach line 1862 and call the overridden logic TriggerListener#vetoJobExecution(). If an error occurs in it that is not processed, the error will be intercepted by the "catch" block in line 1865
4 - We throw SchedulerException at line 1869
5 - Return to the body of the JobRunShell#notifyListenersBeginning() method in the “catch” block and return the value “false”
6 - Return to the JobRunShell#run() method and go to line 174, where the “break;” instruction allows you to exit the loop. This completes the task.
But the statuses of triggers on the database side remained in a blocked state in the qrtz_triggers table, and in the qrtz_fired_triggers table records with information about blocked triggers in the “executed” status begin to accumulate if exceptions occur constantly. To restore these tasks, you have to restart the application or use other methods.
This is incorrect!
To fix this problem, in step 5 in the JobRunShell#notifyListenersBeginning() method, instead of returning "false", we must assign the value "vetoed = true;" - then the task will be completed correctly!

it seems that stopping the task execution process in case of errors and hanging triggers in a locked state is the correct behavior.
in all such situations, the QuartzScheduler#notifySchedulerListenersError("error_message", SchedulerException) is called, which internally causes the client's redefined logic to respond to SchedulerListenerSupport#schedulerError() errors, but here we get only text errors from the scheduler, according to which it is not possible to calculate the trigger and task, respectively, it is not possible to respond to the error.
I created a pull request where I added the JobExecutionContext context to the Scheduler Exception to calculate the trigger and the task, and try to restore its operation.
Please view the pull request


Enhanced Blog page

Description
I have enhanced the blogs page by following ways :-

Added Navbar to it
Added different color for text
Implemented for dark mode
Made it more responsive
Add box shadow
Added hover effect
added Fade up animation
Added Amazing stylish Read more button
Changed the color of heading in the card

Fixes #828
Screenshots
https://github.com/Counselllor/Counsellor-Web/assets/118350936/09137150-130e-498e-b0b7-d8822d0eec34
Checklist

[ ] Tests have been added or updated to cover the changes
[ ] Documentation has been updated to reflect the changes
[ ] Code follows the established coding style guidelines
[x] All tests are passing

Color them should be same , not more extra effect need to put on
Work on that !

@thestarsahil  can you please explain a little bit more like what exactly i have to do

@thestarsahil  can you please explain a little bit more like what exactly i have to do

As you can see in readme file , the elements we designed that should you have to make it !

@thestarsahil  Yes actually in the read me file i am not seeing the blogs page Can you please tell me where it is

@Ayushmaanagarwal1211 I think the page design is fine , you can do : Fix the marging , padding , context alignment
Do that all !

@thestarsahil  Please review i reverted the text so now it have navbar , footer , hovering animation , Popup animation ad the changed design of read more button

As you can see the context is blur when cursor move on it !

Ok i am removing the shadow

@thestarsahil  fixed

Box Shadow have to remove !

Ok i will remove it in next pr


max-height not getting removed after animation

I tried looking for a fix to this issue and found that it has already been fixed in https://github.com/daviferreira/react-sanfona/pull/56
However, I'm still facing this issue where the content overflows and max-height to the body of react-safona prevents it from expanding to the required height.
Attaching the screenshot.

Hmm, can't really reproduce it. Could you provide a fiddle or something?

@daviferreira sorry, couldn't get back on this, and providing a fiddle was a little tricky as there was a lot of dynamic data flowing (plus even I couldn't reproduce it except for the first time after loading the page).
So the problem was that the content in the accordion body had some margin top and bottom, that wasn't getting picked up for the calculation of max-height, leading to things getting clipped. I changed the margins to paddings and voila!
Thanks!


Make Objective-C interoperability configurable in the runtime

In order to be able to debug, for example, a Linux process from a macOS host, we
need to be able to initialize a ReflectionContext without Objective-C
interoperability. This patch turns ObjCInterOp into another template trait, so
it's possible to instantiate a non-ObjC MetadataReader on a system built with
ObjC-interop (but not vice versa).
This patch changes the class hierarchy to
                      TargetMetadata<Runtime>
                                |
                      TargetHeapMetadata<Runtime>
                                |
                      TargetAnyClassMetadata<Runtime>
                               /                \
                              /               TargetAnyClassMetadataObjCInterop<Runtime>
                             /                              \

TargetClassMetadata<Runtime, TargetAnyClassMetadata>

TargetClassMetadata<Runtime, TargetAnyClassMetadataObjCInterop>
TargetAnyClassMetadataObjCInterop inherits from TargetAnyClassMetadata because
most of the implementation is the same. This choice makes TargetClassMetadata a
bit tricky. In this patch I went with templating the parent class.
rdar://87179578
Relands https://github.com/apple/swift/pull/40843

test with https://github.com/apple/llvm-project/pull/3823
@swift-ci test

Build failed
Swift Test Linux Platform
Git Sha - 63d822815ae459e31a6e349d0ea6ac5ad0f156e1

Build failed
Swift Test OS X Platform
Git Sha - 63d822815ae459e31a6e349d0ea6ac5ad0f156e1

test with https://github.com/apple/llvm-project/pull/3823
@swift-ci test

Build failed
Swift Test OS X Platform
Git Sha - b3b428b9d4df8d1b939a0215d80edc6cbd555be2

Build failed
Swift Test Linux Platform
Git Sha - b3b428b9d4df8d1b939a0215d80edc6cbd555be2

test with https://github.com/apple/llvm-project/pull/3823
@swift-ci test

Build failed
Swift Test Linux Platform
Git Sha - fede7752694b72565ae55111e347d0c24c6e8358

test with https://github.com/apple/llvm-project/pull/3823
@swift-ci smoke test


Not in scope: `defaultTimeLocale'

I'm trying to install hack2-contrib as part of installing maid. After
cabal update
cabal install

I get the following error
src/Hack2/Contrib/AirBackports.hs:31:26:
    Not in scope: `defaultTimeLocale'

src/Hack2/Contrib/AirBackports.hs:40:23:
    Not in scope: `defaultTimeLocale'
Failed to install hack2-contrib-2015.5.4
cabal: Error: some packages failed to install:
hack2-contrib-2015.5.4 failed during the building phase. The exception was:
ExitFailure 1
maid-2014.10.14 depends on hack2-contrib-2015.5.4 which failed to install.

I'm using OS X 10.10.5 if that matters.

only runs on GHC 7.10 +


Add unit tests

Add unit tests. Tests:

[ ] Session
[ ] Retries
[ ] Rest API

Fixed in https://github.com/heroiclabs/nakama-defold/pull/58


Update test requirements

Description
Please include a summary of the change. For large or complex changes please include enough information to introduce your change and explain motivation for it.
Changes proposed in this pull request:

/intelci: run


No module named 'Cryptodome'

Bug report
Your Environment

Netflix add-on version: 1.18.3+matrix.1
Operating system version/name: Kodi 19.3
Device model:  Raspberry Pi 3 Model B+

Used Operating system:

[ ] Android
[ ] iOS
[ ] Linux
[ ] OSX
[x] Raspberry-Pi
[ ] Windows

Describe the bug
Opening Netflix Add-on leads to the following screen :
Netflix Add-on Error
The add-on encountered the following error:
The background services cannot be started due to this problem:
In you system is missing some required library to run Netflix.
Read how to install the add-on in the GitHub Readme.
Error details: cannot import name 'Padding' from 'Crypto.Util'
(/usr/lib/python3:dist-packages/Crypto/Util/init/py)
Expected behavior
Netflix add-on opening.
Actual behavior
Error page displayed
Steps to reproduce the behavior
Following CastagnaIT installation guidance and launch add-on from Add-on browser.
Debug log
The debug log can be found here:
kodi.old.log
Additional context or screenshots (if appropriate)
Thanks a lot for your help !

I confirm this bug, on a fresh install of the latest OSMC version, 2021-12.1.
The OSMC log files can be found here: https://paste.osmc.tv/popagoqevu
Previously the Netflix plugin worked on this setup (installed on previous version, upgraded to 2021-12.1).
PS: Building pycryptodomex gives an error, but completes succesfully:
`sudo pip3 install pycryptodomex
Collecting pycryptodomex
Using cached https://files.pythonhosted.org/packages/f6/06/e2ad9e93210790be86d36c6e2d5524ba54928c3ed27dd0be9b2ced7c57f1/pycryptodomex-3.12.0.zip
Building wheels for collected packages: pycryptodomex
Running setup.py bdist_wheel for pycryptodomex ... error
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-wnyjtklo/pycryptodomex/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/pip-wheel-pz0u3xes --python-tag cp37:
Testing support for clang
Target does not support clang
Testing support for gcc
Target does support gcc
Testing support for stdint.h header
Target does support stdint.h header
Testing support for 128-bit integer
Target does not support 128-bit integer
Testing support for cpuid.h header
Target does not support cpuid.h header
Testing support for intrin.h header
Target does not support intrin.h header
Testing support for posix_memalign
Target does support posix_memalign
Testing support for SSE2(intrin.h)
Target does not support SSE2(intrin.h)
Testing support for SSE2(x86intrin.h)
Target does not support SSE2(x86intrin.h)
Testing support for SSE2(emmintrin.h)
Target does not support SSE2(emmintrin.h)
Testing support for gcc
Target does support gcc
Warning: compiler does not support AESNI instructions
Warning: compiler does not support CLMUL instructions
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: invalid command 'bdist_wheel'

Failed building wheel for pycryptodomex
Running setup.py clean for pycryptodomex
Failed to build pycryptodomex
Installing collected packages: pycryptodomex
Running setup.py install for pycryptodomex ... done
Successfully installed pycryptodomex`

I also confirm this bug. I received the same output as @mattiasdh during the pycryptodomex build on the latest OSMC.

Had the same issue today on my Raspverry Pi 4 after an upgrade to Kodi 19.3 and Castagna's Netflix 1.18.3. This is how I was able to fix it:

sudo pip install pycryptodome
followed by
sudo pip3 install pycryptodomex
reboot

Hope that helps in your case too.

I confirm this worked. Had to install setuptools for python2 first, so pycryptodome could install. There must still be some python2 dependencies..
Thanks!

Had the same issue today on my Raspverry Pi 4 after an upgrade to Kodi 19.3 and Castagna's Netflix 1.18.3. This is how I was able to fix it:

sudo pip install pycryptodome
followed by
sudo pip3 install pycryptodomex
reboot

Hope that helps in your case too.

Workfing fine, thanks so much !

how to you got pip to work?
I get
osmc@osmc:~$ pip
-bash: pip: command not found
osmc@osmc:~$ pip3
-bash: pip3: command not found

is a problem of the python module or something on OSMC

is that reported to the upstream projects as it still exists?


camel 3.8 - Removed reflection in 9 components

In Camel 3.8 we have removed reflection in the producer
https://issues.apache.org/jira/browse/CAMEL-16102
At the following components
camel-atomix
camel-caffeine
camel-consul
camel-corda
camel-ehcache
camel-infinispan
camel-servicenow
camel-spring-redis
camel-web3j
The camel-quarkus extensions of those should be checked if we have any reflection "stuff" we then can remove.

@jamesnetherton wonder if any of the extensions has some open for reflection which we can remove. We may wait for Lucas PR to merge first to have it work with 3.8 again.
Mind that some of the components above did not use reflection but was slow by doing annotation scanning on methods, which maybe in graal is possible.

From the list, only caffeine, consul, infinispan & servicenow have native support. None of those extensions have reflective class configuration for any Camel classes, so I think we're in good shape.
I had to add a reflection hack on the camel-master branch for infinispan, but I'll remove before we do the 3.8.0 upgrade since it's no longer needed.

I checked and we are reflection free for those extensions. I cleaned up Netty in https://github.com/apache/camel-quarkus/pull/2232.


Cannot read properties of undefined (reading 'getColorScheme')

Environment

Operating System: Windows_NT
Node Version:     v18.17.1
Nuxt Version:     3.8.0
CLI Version:      3.9.1
Nitro Version:    2.7.2
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      devtools, modules
Runtime Modules<EMAIL_ADDRESS>Build Modules:    -

Version
Nuxt 3.8.0
Reproduction
Fresh Nuxt install with Nuxt UI
Description

Installed fresh copy of Nuxt + Nuxt UI and got this error. Nothing added or nothing changed. Just a fresh copy installed following docs. I don't understand why I get this error.
Console is clean as well.

Additional context
No response
Logs
No response

I haven't been able to reproduce this, what browser are you using?

Opera, I fixed this error by adding :
  colorMode: {     preference: 'dark'   } to my nuxt.confing.ts + added app.config.ts with basic settings
export default defineAppConfig({     ui: {       primary: 'green',       gray: 'cool'     }   })


Playback stops altogether when buffer fails

Describe the bug
When listening to songs, sometimes the playback stops all-together. Only starting to play another song resumes playback.
When playback fails, the song timer keeps counting up.
I assume this is a problem with the buffer not keeping up due to server bandwidth issues. Something might be wrong with how the player recovers from the playback.
Pausing and resuming playback doesn't fix the issue.
This doesn't happen when I stream directly from the Navidrome webUI
This happens much more often with longer songs, such as mixtapes.
Submariner cache fail.txt
Here is the console log. Playback fails at the last line: <<<< FAQ TIMING SHIM >>>> FigAudioQueueTimingShimFlush: [0x600001e19ef0] Calling AudioQueueFlush(0x1140219d)
To Reproduce
Steps to reproduce the behavior:

Play song from Navidrome that is long (20m+)
After ~1M playback stops, but the song timer keeps counting up, as if playing.
pause/start does not fix playback

Expected behavior
Player pauses for buffer and then resumes gracefully
Screenshots
Not sure it would help.
Versions:

macOS 13.1
Navidrome 0.49.3
Download Source: github v2.3

Additional context
None.

I have a suspicion this might be related to AVURLAssetPreferPreciseDurationAndTimingKey, without it, FLAC seeking and elapsed times can be inaccurate. Is the media you're trying to play FLAC?
I also wonder if it might be related to automatic downloads when starting playback, and the network traffic caused by that on the same server messing with the live stream happening. Do you have that option on, and are you playing tracks that aren't downloaded/have a downloaded version?

For the latter case, I don't think the current mechanism for this is terribly clear about its intent or when it's supposed to trigger, so I'm refactoring it there. It should now do it before track start.

I'm playing 320kbps Mp3s, no fancy FLACs.
Also not downloading anything, just streaming the content.
The bandwidth to my server should be okay, I get 6-7Mbs on other transfers.

If you're not using downloads (automatic or otherwise), then my suspicion is the precise seeking/timing option causing problems. I've made another test build, including a change that will only set that option for FLACs and the changes to automatic download behaviour.
Submariner-2.3.zip

Sorry I was traveling and didn't have time to test. So far it seems to have fixed the problem. Thanks!


Created Model And Texture For Air Conditioner, Fixed Some Latex Creatures Absorbing Instead Of Replicating.

Air conditioner block code still needs to be touched up; it crashes upon placing.

Change had been made, but now, the game crashes upon loading, due to a fatal render thread error.


Add settings file feature for exclude channels

WIP: #13
example
./settings.json
{
  "excludes": ["^times.*"]
}

@yuki-yano マージしちゃってよいです?


Credential_ID functions in place of Client_ID in Client Credentials Flow

Summary
You can use your credential_id in place of client_id to generate a token in the OAuth Client Credentials flow.
Steps To Reproduce

Create a proxy with the OAuth 2 plugin - enable Client Credentials & Global Credentials
Create a consumer with OAuth credentials
Post application/x-www-form-urlencoded data with client_id=<CREDENTIAL_ID>&client_secret=<client_secret>&grant_type=client_credentials to the token creation endpoint
Observe token in response

Additional Details & Logs

Kong version 1.0.3
Operating system Kong Alpine

@rsbrisci can this still be done on the 2.x series lol? This sounds like a weird one.

hard to say if this is a bug or feature. it seems like it finds in from cache.

Dear contributor,
We're closing this issue as there hasn't been any update to it for a long time. If the issue is still relevant in the latest version, please feel free to reopen it. We're more than happy to revisit it again.
Please have a look at our pledge to the community for more information.
Sincerely,
Kong Gateway Team


[Feature]: Remove react-await to focus @suspensive/cache

Package Scope
@suspensive/react-await
Description
@SEOKKAMONI could I assign you?
Possible Solution
No response
etc.
No response

Check https://github.com/reactwg/react-18/discussions/25 too

@manudeli Sure! please assign me


error:Failed to create study out of provided SOP instance list

When i open some study, there will be an error: failed to create studyout of provisioned sopnstance list.  Not all of them, but some of them has error. in chrome network ,this series metadata retrived sucess.but
\Viewers-master\platform\core\src\studies\services\wado\retrieveMetadataLoaderAsync.js
async load(preLoadData) {
........
const firstSeries = await seriesAsyncLoader.next();
.........
}
firstSeries is null;
ViewerRetrieveStudyData.js?6376:303 Error: Failed to create study out of provided SOP instance list
at _callee$ (studyInstanceHelpers.js?a774:202)
at tryCatch (runtime.js?54c5:45)
at Generator.invoke [as _invoke] (runtime.js?54c5:274)
at Generator.prototype. [as next] (runtime.js?54c5:97)
at asyncGeneratorStep (studyInstanceHelpers.js:15)
at _next (studyInstanceHelpers.js:17)
at eval (studyInstanceHelpers.js:17)
at new Promise ()
at eval (studyInstanceHelpers.js:17)
at createStudyFromSOPInstanceList (studyInstanceHelpers.js?a774:202)
i guess this about async?
thanks....
default config:
name: 'PACS',
wadoUriRoot: 'http://<IP_ADDRESS>:5000/api/Wadori',
qidoRoot: 'http://<IP_ADDRESS>:5000/WADO/PACSSERVER',
wadoRoot: 'http://<IP_ADDRESS>:5000/WADO/PACSSERVER',
qidoSupportsIncludeField: true,
imageRendering: 'wadors',
thumbnailRendering: 'wadors',
enableStudyLazyLoad: true,

@3833430 Why did you close this issue? I am having exactly the same problem.
Where you able to fix it? And how?
Thank you.


Add ClusterRoles and task on how to use them

What type of PR is this?
/kind documentation
What this PR does / why we need it:

Adds roles kueue-batch-admin-role and kueue-batch-user-role to simplify setting common permissions.
Add a task that explains how to use them.

Which issue(s) this PR fixes:
Fixes #64
Special notes for your reviewer:

looks good to me

squashed into 2 commits
/hold cancel

/lgtm


Add a "nested" group to button to support enable group- styling it in Tailwind

Problem

VButton adds a group Tailwind class to support styling nested elements when the button state changes. For example, if you need the button icon to change background when the button is hovered on, you can add group-hover:bg-dark-charcoal. Before Tailwind 3.2, there was no way of nesting groups, so we could not apply any styles to a button (using TW) when its parent element changed state. This was necessary, for example, to remove the border of the search type button inside the search bar when the search bar is focused.
Description

Tailwind 3.2 introduces nested groups: https://tailwindcss.com/blog/tailwindcss-v3-2#nested-group-and-multiple-peer-support-using-variant-modifiers
We should add a named group to VButton: group/vbutton. This will allow us to also then add named groups to search bar, and style the buttons inner elements whenever the parent element is hovered on or is focused.
Alternatives

We could also use vanilla CSS for that, but we are striving to move everything to Tailwind, so it would be a step back.

This can be taken up as a part of a more comprehensive VButton refresh currently being designed by @panchovm.


STORY-4128 zuora invoices: add customizations for account and invoice

@mikeweaver  This is ready for code review

👍


Disable assimp feature of urdf-viz

https://github.com/openrr/openrr/pull/898 removed assimp from the default features, but still depends by default on assimp for dev-dependencies.
Eventually this should be default by https://github.com/openrr/urdf-viz/pull/240, but I think it will take a little more time.
cc https://github.com/openrr/openrr/issues/148

Closing in favor of including https://github.com/openrr/urdf-viz/pull/240 in the next release of urdf-viz.


Add Contributing Guide

Description
Referring to issue #7, this PR adds contributing guide in CONTRIBUTING.md.
Changes

Created CONTRIBUTING.md file.
Moved the "Step by step" section to the CONTRIBUTING.md file.
Improved the content in the CONTRIBUTING.md file:

Improved the content in the introduction.
Changed "Step by step" title to "Getting Started".
Add links to the instructions.
Add new sections: "New Contributors", "Resolve Merge Conflicts", and "What if the Resource You would Add doesn't Fit any Existing Categories?"

Deleted the "how-to" folder.

@mariahlaqua please let me know if I need to fix anything here.
Thanks! 😄

Awesome 😎👏🫶

Thanks, @mariahlaqua 🙌🏼💙😊


Fix reassemble in LiveTestWidgetsFlutterBinding

Fixes https://github.com/flutter/flutter/issues/79150
reassembleApplication schedules a warmup frame and then waits before the frame draws. However LiveTestWidgetsFlutterBinding has special conditions for when the frame can be drawn. So, instead of just waiting for the new frame, reassembleApplication should ask for the new frame to be drawn.
Pre-launch Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I signed the [CLA].
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is [test-exempt].
[x] All existing and new tests are passing.

I'll take a look at the failing test.

Looks unrelated, just ran it locally on master - it failed as well


Update service-fabric-overview-microservices.md

Minor word correction

@chriscosgriff : Thanks for your contribution! The author, @msfussell, has been notified to review your proposed change.

@chriscosgriff   Thanks for making the change.  #sign-off

@rwike77: I'm sorry - only the author of this article, @msfussell, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

#sign-off


fix: added responsive tests list

Fixes #200.
On desktop:

On tablet:

On mobile:

Awesome work @gis727. Thanks for wrestling with the CSS. It's been very educational for me this summer seeing how you approach angular apps 🎉


Ambiguous functions usage in EF Core 3.0

Hi,
Found this when creating project which uses two different providers and trying to share model and queries.
Steps to reproduce
Include in one project Pamelo.EntityFramweorkCore.MySql (preview) and Microsoft.EntityFrameworkCore.SqlServer packages
Then try to use in LINQ Query DateTime functions, for example EF.Functions.DateDiffYear(...)
var query = from p in ctx.Products
    select new
    {
	DiffYear = EF.Functions.DateDiffYear(p.SellStartDate, p.SellEndDate)
    }

As result we have ambiguous functions usage. So we can not use DB Functions when they are defined in both providers under same namespace Microsoft.EntityFrameworkCore.
Same collision was found when EF Core deprecated ForSqlServerUseSequenceHiLo and replaced with UseHiLo - here we have collision with Npgsql.EntityFrameworkCore.PostgreSQL
Question: It is by design?
For sure we can use extensions directly SqlServerDbFunctionsExtensions.DateDiffYear(...) but it breaks sharing queries between providers.
Further technical details
EF Core version: 3.0
Database provider: Microsoft.EntityFrameworkCore.SqlServer + Pamelo.EntityFramweorkCore.MySql
Target framework: NET Core 3.0
Operating system: Windows 10 Enterprise
IDE: Visual Studio 2019 16.3.2

@sdanyliv This is by-design; it's uncommon for code to use multiple relational providers in the same app. Where this is the case then using the extension class name is the way to go.
I'm not sure what you mean by, "but it breaks sharing queries between providers." Nothing has changed that would impact the ability to "share queries between providers", unless these queries were previously using functionality defined in the wrong provider, which may have worked accidentally, but certainly wasn't by-design or a robust way of doing things.


Image URL's moved

Images used in this repo don't exist:
https://beyondidentity.s3.us-east-2.amazonaws.com/logo.png
https://beyondidentity.s3.us-east-2.amazonaws.com/arrow-right.png

Closing since these images aren't used anymore.


(@TheTrueLtaker) gen9tradeabilities: unbanning bax and palafin

@TheTrueLtaker: "unbanning bax and palafin"
Created via Iolanthe on Mon, 24 Jun 2024 23:47:19 GMT.

Superseded by https://github.com/OperationTourCode/OTC/pull/511


Java-friendly APIs for MockWebServer

I imported these in my spring boot project.
testImplementation project(":testing:unit-testing")
testImplementation("com.apollographql.apollo3:apollo-mockserver:3.3.0")
api "com.apollographql.apollo:apollo-runtime"
For example, when I want to create a MockResponse, there are no builder or set methods. I can only call get methods for these objects. Or when I want to set URL for MockServer,  it gives this error
Required type: Continuation <? super java.lang.String>
Provided: String
I hope its not an obvious question. Am i importing something wrong? or I cannot those in Java anymore?
Thank you in advance!

Hi 👋  Indeed, using MockServer in Java is technically doable but it's a bit awkward. For some background there, we mostly designed MockServer for the Apollo integration tests and published them in hope that it could benefit the community but a lot of the APIs are pretty experimental. And as you found out, it's mainly designed for Kotlin.
If you really want to, you can get mockServer.url with this trick:
    /**
     * Because url doesn't suspend on the JVM, we can just use the return value
     */
    String url = (String) mockServer.url(new Continuation<String>() {
      @NotNull @Override public CoroutineContext getContext() {
        return EmptyCoroutineContext.INSTANCE;
      }

      @Override public void resumeWith(@NotNull Object o) {
      }
    });

Or write a little bit of Kotlin code to bridge the suspend function (see this stackoverflow answer).
All in all, for Java use cases, I would recommend using OkHttp MockWebServer. The main thing that the Apollo MockServer supports is multiplatform but if you're not using that, OkHttp MockWebServer should provide most of the API (and actually Apollo MockServer uses OkHttp MockWebServer under the hood).
Hope this helps!

@ibrhmyzc I just updated the doc to be more explicit about MockServer being mostly Kotlin so far.
I'll keep this is issue around to keep track of improvements to the MockServer APIs and renamed it accordingly, I hope you don't mind.


Some Code cleanup to make it easier to read.

In order to be able to maintain this project easier in your spare time it's important to write code cleanly. this saves you time by making bugs easier to find and removing technical debt.
Please check if the logic is still the same as you need.

Please give me your code formatter so i can run it over the code again in order to minimize formatting changes

@roboter5123 Thank you for the PR! I agree. I'll have to admit this is my worst organized public plugin just because of how it started and never really got time to organize it while taking in feature requests. So thank you so much for spending your time organizing this mess; it helps a lot having the organized code! I think your PR looks rock solid, so I am ready to merge it unless you have something else to add.

I use the built-in IntelliJ code formatter if that helps!

I think i am done

Actually i think i found some more things yesterday that i need to fix. So please give me some more time to fix the mistakes i made

@roboter5123 That's perfectly fine! Take your time, I'll also help here and there when I get time to!

@roboter5123 I just looked over the code, and it looks mostly identical. I think we can merge it for now, and if any bugs arise, we can always fix it later.

@roboter5123 Just tested, and it looks like it works for all my sample plugins, so I will go ahead and merge it. I apologize for the short notice, but I wanted to release the new version for all my plugins today, now that I have some spare time. Please feel free to work on this or a new PR after the merge if you want.

Sure thing. I am currently really busy again suddenly. If you need anything from me just hit me up and I'll see if i can do someting for you


Fix/improve Navigator

Once the Navigator* is opened, I can't find a way to close it again.
Once it is opened, it will also be open on any other diagram I create. A newly created document will always only consist of a single starting event, there really is no need for the navigator to be open.

Add option to close Navigator
Handle Navigator state per diagram/document

(*) I presume that's what it is called, I'm on about the small representation of the whole diagram that opens once you click the map icon in the upper right of the modeller screen

Ah, I think you generally refer to that thing as mini-map. This issue is, at least in parts, a duplicate of  #583.

You can close the minimap like this:

And yes, this is very bad UX, we are aware of this issue and would like to improve this.
As for the open/closed state of the minimap being remembered globally this is intended. We decided to to that the same way the open/closed state of the properties panel is remembered globally. I personally am always open for discussion, though.

We should generally discuss if it makes sense to treat all elements the same way (as in persisting their state). Especially when you create a new diagram there is little to no use for the minimap.
Related to https://github.com/camunda/camunda-modeler/issues/583


Bug: Typeahead menu anchor element doubling up

Repeatedly displaying the Typeahead menu and selecting an item may cause the anchor element to remain without being removed.
I think it tends to occur at the bottom of the editor or around the height where the screen needs to be scrolled.

Lexical version: 0.11.0 or 0.11.1(playground)
Steps To Reproduce

Use the mention plugin or emoji plugin to input mentions and emojis.
Line breaks and extending sentences down the line.
If the above operation is repeated, it will occur under some conditions at the bottom of the screen.

I've been trying to replicate this for the last few minutes, but I've not had much luck on Chrome or Safari. Have you been able to replicate this consistently?

This issue happened to me when the plugin is added twice to the Editor component. Check if you've added ComponentPickerPlugin more than once to the Editor.

@RyoSogawa were you able to check if the a plugin was added twice to the Editor component?

@thegreatercurve
@ivailop7
Sorry for the delay.
I was testing by opening Playground in Chrome.
So I guess the Plugin was not registered twice.
It was happening consistently, but when I tried again, it didn't happen, so it may have been resolved in some update.
Thanks for the replies.


1.10.2 Data dumps not dumping

Only a zero byte file is created with the exception of itempanel.csv.
File used is: NotEnoughItems-1.10.2-<IP_ADDRESS>-universal

I'm having problems with data dumps too.  Attempting to dump all blocks gives me a 0 byte file like DadYoshi mentioned.  Attempting to dump the item panel sometimes works, sometimes doesn't.  If I search the item panel via something like..  $ore, then try to dump it, it will dump all items and blocks in the game instead.  It seems that some things I search will properly dump, while other things, it'll just dump everything or nothing.  I can't seem to find a pattern, unless there's an item or block that's bugging out the dump code.

This was fixed.


Fix issues with test-runner usage.

Increase default timeout. The default one was too low for reasonably sized projects.
Change coverage detail to compressed detailed, so as to use less memory.

Requires https://github.com/STAMP-project/test-runner/pull/110.

https://github.com/STAMP-project/test-runner/pull/110 has been merged, so this one is ready on green.

Perfect @andre15silva !


Black images

Hi my friend,
Do you have any idea why the images are black? Only the first frame appears, the others are black.
In all workflows the same thing happens.
source_video.shape=torch.Size([17, 512, 816, 3])
style_images.shape=torch.Size([2, 512, 816, 3])
Masking mode: False
[0, 16] blend [0, 1]
Calculating edge maps: 100%|██████████████████████████████████████████████████████████| 17/17 [00:00<00:00, 586.39it/s]
F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-EbSynth\Ezsynth\ezsynth\utils\flow_utils\OpticalFlow.py:54: FutureWarning: You are using torch.load with weights_only=False (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for weights_only will be flipped to True. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via torch.serialization.add_safe_globals. We recommend you start setting weights_only=True for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.
state_dict = torch.load(model_path, map_location=self.DEVICE)
Init Ezsynth took: 0.3526 s
forward Only
Forward mode. start=0, end=16, step=1
Generating:   0%|                                                                               | 0/16 [00:00<?, ?it/s]F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-EbSynth\Ezsynth\ezsynth\utils\flow_utils\core\ef_raft.py:119: FutureWarning: torch.cuda.amp.autocast(args...) is deprecated. Please use torch.amp.autocast('cuda', args...) instead.
with autocast(enabled=self.args.mixed_precision):
F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-EbSynth\Ezsynth\ezsynth\utils\flow_utils\core\ef_raft.py:132: FutureWarning: torch.cuda.amp.autocast(args...) is deprecated. Please use torch.amp.autocast('cuda', args...) instead.
with autocast(enabled=self.args.mixed_precision):
F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-EbSynth\Ezsynth\ezsynth\utils\flow_utils\core\ef_raft.py:190: FutureWarning: torch.cuda.amp.autocast(args...) is deprecated. Please use torch.amp.autocast('cuda', args...) instead.
with autocast(enabled=self.args.mixed_precision):
Generating: 100%|██████████████████████████████████████████████████████████████████████| 16/16 [00:07<00:00,  2.16it/s]
Run took: 7.4093 s
Converting flows: 100%|████████████████████████████████████████████████████████████████| 16/16 [00:01<00:00, 12.84it/s]
Prompt executed in 10.72 seconds

ComfyUI startup time: 2024-11-29 02:11:32.835126
** Platform: Windows
** Python version: 3.11.9 (tags/v3.11.9:de54cf5, Apr  2 2024, 10:12:12)
Total VRAM 12288 MB, total RAM 32714 MB
pytorch version: 2.4.1+cu124
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 2060 : cudaMallocAsync
Using pytorch cross attention

I have the same issue


Alex Opoku Boateng

Please "drag & drop" exercise 1 file below.

Please UPDATE THE TITLE of this "Issue" in the title bar above with your name.

Module1-exercise1.docx

Excellent analysis of the graph!


Focus on Input doesn't change label color on iOS

Short description of the problem:
Focus on Input doesn't change label color on iOS
What behavior are you expecting?
Same things as it happends for MD
MD

IOS

Expected to have the same color on focus.
Which Ionic Version? 2

Hello, thanks for opening an issue with us! This is actually by design, iOS design guidelines do not include colored inputs like md does. Thanks for using Ionic!


[#6134] Do not limit the PID to be <= 4194304

Motivation:
On some platforms the PID my be bigger then 4194304 so we should not limit it to 4194304.
Modifications:
Only check that the PID is a valid Integer
Result:
No more warnings on systems where the PID is bigger then 4194304.

Cherry-picked into 4.1 (cfd8fb10db1df77183ffe464a7f2c7228f834715)


Excluded Type Names Regex

Is there a way to use regex in Excluded Type Names? For instance, exclude all types that start with ABC?

This is not supported yet. It would be awesome if you could create a PR. The involved code here: https://github.com/RSuter/NJsonSchema/search?q=excludedtypenames&unscoped_q=excludedtypenames

Maybe we should go with a simpler wildcard * syntax instead of regex? We don't use regex in any settings only wildcards...


Integrated the Italian language

Integrated the Italian language

This PR should be made on the main frigate repo, not mine

This PR should be made on the main frigate repo, not mine

I opened the application here to contribute to your work #3718

This PR should be made on the main frigate repo, not mine

I opened the PR here to contribute to your work #3718


Manually sync AK/3.4

Jenkins job had conflict, so manual merge was done here.
both modified:   core/src/main/scala/kafka/server/SharedServer.scala —> trivial conflict
both modified:   tests/kafkatest/tests/streams/streams_upgrade_test.py —> take ak change, will run system test

Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Confirmed the streams test passes with the new change. 👍

Test failures look flaky. Will continue with merge.


Support ARM64/AWS Graviton Instances by not performing unaligned accesses

Resolves https://github.com/Netflix/hollow/issues/517 and allows Hollow to be used on ARM based machines such as AWS Graviton instances.
There are a few things left to finish up, but I wanted to get this in front of people sooner rather than later to get some feedback on the design here.
What I've done is swapped HollowUnsafeHandle from being simply a way to get an instance of sun.misc.Unsafe to a singleton class wrapping sun.misc.Unsafe. It seems the only classes that perform unaligned accesses are the FixedLengthElementArray and SegmentedLongArray families, so it might also make sense to have only those classes call an unaligned helper method on HollowUnsafeHandle, rather than having all unsafe calls go through this class. Let me know if this would be preferred.
I've tested this (but only the consumer side) on an r6g.4xlarge instance on AWS, and performance is very good. Also, the kernel doesn't kill it with a SIGBUS :slightly_smiling_face:
I'm new to the sun.misc.Unsafe API, so there are a few things I haven't been able to figure out how to do yet:

How do we detect whether the host platform supports unaligned accesses?

OpenJDK 8 does it like this internally, but there seems to not be a public-facing API version of this, at least in JDK8. Maybe a configuration setting would be most appropriate if there's no reliable way to auto detect it.

Improve efficiency by checking the alignment of the address

I'd like to check if the address is aligned, and use the faster putOrderedLong/getLong calls directly if possible. Since all the accesses use the object + offset form instead of raw addresses, there doesn't seem to be a way to do this unless we can retrieve the address of the base object, which doesn't seem to be possible through sun.misc.Unsafe.
Thanks for your time.

It seems the only classes that perform unaligned accesses are the FixedLengthElementArray and SegmentedLongArray families

To double check, EncodedByteBuffer and EncodedLongBuffer also do this

It seems the only classes that perform unaligned accesses are the FixedLengthElementArray and SegmentedLongArray families, so it might also make sense to have only those classes call an unaligned helper method on HollowUnsafeHandle, rather than having all unsafe calls go through this class.

That sounds fine. Something else to consider is that we'll at some point need to replace all use of sun.misc.Unsafe with MemorySegment et. al. https://openjdk.java.net/jeps/370

Hi @Dillonb thanks for looking into this! To me your proposed approach to add ARM support is welcome, it allows us to sidestep the SIGBUS error and incrementally get to a performant and stable Hollow on ARM (note: thats low on the priority list for us at the moment). I think with a little tweak to your pr (make HollowUnsafeHandle polymorphic) we can achieve this without introducing performance regression in the x86/amd64 path.
Also adding @dkoszewnik and @toolbear for visibility, and if they have any concerns or additional perspective on going down this road.

Thanks for the feedback!
Seems the last thing remaining to figure out is how to detect if unaligned accesses are allowed on the host. I'm really hoping to not have to go down the road of string matching on os.arch, but it's looking more and more like that's the way forward.

@PaulSandoz brought up a couple of interesting points offline,

do we really need putOrderedLong here, or could we switch to plain store putLong that work for unaligned access on ARM?
this looks a bit cleaner-

 if ((offset & 7) == 0) {
        return getLong(o, offset);
    } else if ((offset & 3) == 0) {
        return makeLong(getInt(o, offset),
                        getInt(o, offset + 4));
    } else if ((offset & 1) == 0) {
        return makeLong(getShort(o, offset),
                        getShort(o, offset + 2),
                        getShort(o, offset + 4),
                        getShort(o, offset + 6));
    } else {
        return makeLong(getByte(o, offset),
                        getByte(o, offset + 1),
                        getByte(o, offset + 2),
                        getByte(o, offset + 3),
                        getByte(o, offset + 4),
                        getByte(o, offset + 5),
                        getByte(o, offset + 6),
                        getByte(o, offset + 7));
    }

Ah, switching to straight .putLong from .putOrderedLong actually does resolve the SIGBUS issue. Must be that memory fences must be aligned, but stores can be unaligned. Thanks for the idea!

I've created https://github.com/Netflix/hollow/pull/519 with this new approach.

@Sunjeet @Dillonb thanks. I forgot to add that the proposed unaligned ordered put changes the memory order and atomicity guarantees, so it no longer conforms to the semantics of an ordered put (release store). A read can now observe a partial write.
I cannot recall the exact concurrency requirements of these array-like classes, but It's not clear to me why the ordered put (release store) is needed. It's never paired with an acquire load. If not needed i think it greatly simplify things if it can be replaced with a plain atomic store on x64 and ARM, thereby preserving the atomicity guarantees (which i think may be the more important property).

@PaulSandoz just to be absolutely safe, in #519 I've added a storeFence() after every call that I changed from putOrderedLong to putLong, to keep the ordering and atomicity guarantees. Performance seemed to be fine, but I didn't test it on any absurdly large datasets 🙂

https://github.com/Netflix/hollow/pull/519 was accepted, thanks @Dillonb !


add different templates for different sql engines for SqlDatabaseChain

This PR is to get closer to the python behavior, I took the templates from python repository.

Great, thank you!


Great job, thank you for your contribution and sharing. Do you have plans to release a version of ComfyUI?

I can't wait to experience it in ComfyUI and give it a thumbs up for solving fundamental issues for us creative workers!

would be amazing!

Thank you for your insightful suggestion. We've included the integration with ComfyUI in our planning, but it won't be implemented in the immediate future. We appreciate your understanding.


[SPARK-39678][SQL] Improve stats estimation for v2 tables

What changes were proposed in this pull request?

We should propagate the row count stats in SizeInBytesOnlyStatsPlanVisitor if available. Row counts are propagated from connectors to spark in case of v2 tables.
Why are the changes needed?

This can improve stats estimation for v2 tables, since row count is used at places to estimate sizeInBytes.
Does this PR introduce any user-facing change?

No
How was this patch tested?

Modified existing UT's to match the proposed behavior.

cc @huaxingao @cloud-fan @wangyum

Could you enable spark.sql.cbo.enabled to estimate row count?

Thanks @wangyum, I am aware of the alternate visitor we use with cbo.
I raised this pr considering :

cbo is turned off by default.
We already have rowCount propagated via LeafNodes (DSv2Relation) which are used for estimating output size in SizeInBytesOnlyStatsPlanVisitor
https://github.com/apache/spark/blob/161c596cafea9c235b5c918d8999c085401d73a9/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/statsEstimation/SizeInBytesOnlyStatsPlanVisitor.scala#L93-L100
ANALYZE is not supported for v2 tables so except row count, IMHO we can't have ndv etc. I am refering to this jira : https://issues.apache.org/jira/browse/SPARK-39420
As per my understanding v1 tables can only pass in sizeInBytes unless they have some stats in catalog. whereas v2 tables already give both from the relation itself, hence I thought it's un-accounted for v2 tables.
https://github.com/apache/spark/blob/161c596cafea9c235b5c918d8999c085401d73a9/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/LogicalRelation.scala#L43-L45

Are you recommending it's an expected behavior / by design ?

rebased and regenerated the golden files via :

SPARK_GENERATE_GOLDEN_FILES=1 build/sbt "sql/testOnly PlanStabilitySuite"
SPARK_GENERATE_GOLDEN_FILES=1 SPARK_ANSI_SQL_MODE=true build/sbt "sql/testOnly PlanStabilitySuite"

I think it's by design. So enabling spark.sql.cbo.enabled is what you want?

Thanks @wangyum !

So enabling spark.sql.cbo.enabled is what you want?

I believe then setting spark.sql.cbo.enabled to true by default could help, (what i wanted was to take this valuable stat of row count, bubbled up from v2 connector to be accounted for in default spark behaviour) but I think it requires some additional efforts, since our other defaults such as auto-bhj etc needs to adjusted accordingly.

I think it's by design

for my knowledge, can you please point me to some jira's ,happy to learn more.
Love to know your thoughts on the same, Happy to close this as well if we consider this is not a problem at all.

Can one of the admins verify this patch?

I'm a bit confused. After this PR, what's the difference between SizeInBytesOnlyStatsPlanVisitor and BasicStatsPlanVisitor?

After this PR, what's the difference between SizeInBytesOnlyStatsPlanVisitor and BasicStatsPlanVisitor

BasicStatsPlanVisitor additionally takes has columnStats such as (NDV / NullCount / min / max etc) on estimation, which generally is not passed from DSv1 / Dsv2 relation itself.
As per my understanding, prior to this PR, SizeInBytesOnlyStatsPlanVisitor was estimating stats on the subset of info i.e only sizeInBytes and BasicStatsPlanVisitor on all 3 info (sizeInBytes, rowcount,ColumStats (min /max /NDV etc), now via this PR SizeInBytesOnlyStatsPlanVisitor is estimating stats on the subset of info but this subset is now (sizeInBytes / rowCount) and BasicStatsPlanVisitor on all 3 info (sizeInBytes, rowcount,ColumStats (min /max /NDV etc).

Maybe we should name them BasicStatesPlanVisitor and BasicAndColumnStatsPlanVisitor. We also need to make sure the updated SizeInBytesOnlyStatsPlanVisitor can propagate row count properly in all cases.
BTW, with CBO off, where do we use row count?

BTW, with CBO off, where do we use row count?

we use it in places like : https://github.com/apache/spark/blob/161c596cafea9c235b5c918d8999c085401d73a9/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/statsEstimation/SizeInBytesOnlyStatsPlanVisitor.scala#L93-L100
where we just multiply row-count with row size. In v1 scenario in case of logical relation row-count can seep in from catalog stats but it has a has a chance of row-count getting lost in places where we assume we only have sizeInBytes for example here :
https://github.com/apache/spark/blob/161c596cafea9c235b5c918d8999c085401d73a9/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/statsEstimation/SizeInBytesOnlyStatsPlanVisitor.scala#L54-L58

OK I think the idea makes sense. With CBO off, the optimizer/planner only needs size in bytes, but row count is also an important statistics to estimate size in bytes, and should be propagated in the stats plan visitor.

cc @wzhfy @c21 can you take a look first?

BTW, with CBO off, where do we use row count?

we use it in places like :
https://github.com/apache/spark/blob/161c596cafea9c235b5c918d8999c085401d73a9/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/statsEstimation/SizeInBytesOnlyStatsPlanVisitor.scala#L93-L100
where we just multiply row-count with row size. We also use it for BF to create bloomFilterAgg. In v1 scenario in case of logical relation row-count can seep in from catalog stats but as you correctly pointed out it has a has a chance of row-count getting lost in places where we assume we only have sizeInBytes for example here :
https://github.com/apache/spark/blob/161c596cafea9c235b5c918d8999c085401d73a9/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/statsEstimation/SizeInBytesOnlyStatsPlanVisitor.scala#L54-L58

thought these stats are available in AQE and more accurate though


security-context: fix typo (seacomp -> seccomp)

This change is

I sent the same fix. Will close mine :-)
LGTM

/lgtm


Remove "geboren in" and "gestorben" relations from "Bezüge zu Orten" table (as they are dispayed in the metadata anyway)

The relations "geboren in" and "gestorben" are redundant here, as they are already displayed in the Stammdaten. Please do not show them under "Bezüge zu Orten"

these informations shouldnt be delievered through the api in the first place


Add Readme

Must contain project requirements, build instructions etc.

Cekirge
Cekirge is an Node.js project that has been created to integrate WhatsApp accounts and Sobamail accounts by using web-whatsapp-api.js library.
Table of Contents

Features
[Getting Started](#Getting Started)
Contributing
Contact

Features

WhatsApp-Sobamail Integration: Cekirge enables integration with WhatsApp accounts, allowing users to send receive whatsapp messages in their sobamail account.

Whatsapp-web.js: Cekirge utilizes the web-whatsapp-api.js library to interact with the WhatsApp web interface.

SQLite3 Database: Cekirge utilizes SQLite3, a lightweight and embedded relational database, to store and manage data efficiently.

Getting Started
To start using Cekirge, follow these steps:

Clone the repository:

git clone https://github.com/OnatEngin/cekirge.git
cd cekirge

Install dependencies:

npm install

Install command will automatically download the dependencies:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

Configuration:

Update the configuration file with your WhatsApp and Sobamail account details.

Run the project:

node main.js devel

Authentication:

Read the QR code on your terminal just like linking devices to your whatsapp account.
Contributing
If you'd like to contribute to the project:

Fork the project.

Create a new branch.

Make your changes and commit them.

Push your changes to your forked repository.

Submit a pull request.


Optimize the image size

https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#dont-install-unnecessary-packages

Below are some of the biggest folders, from du -a / 2>/dev/null | sort -n -r | head -n 20.  Primarily it looks like the fact that az installs and uses its own python and python libs (which is known/documented by Azure), and the fact that mermaid-js is bringing in chrome.  I also found a small left behind /root/.cache/ directory and /usr/local/bin/packer.zip that can be cleaned up.

2129676	/
812204	/usr
647884	/opt
647880	/opt/az
632100	/opt/az/lib
604276	/opt/az/lib/python3.6
453300	/opt/az/lib/python3.6/site-packages
433256	/node_modules
396608	/usr/lib
382392	/node_modules/puppeteer
379492	/node_modules/puppeteer/.local-chromium
379488	/node_modules/puppeteer/.local-chromium/linux-809590
379484	/node_modules/puppeteer/.local-chromium/linux-809590/chrome-linux
358080	/opt/az/lib/python3.6/site-packages/azure
291172	/opt/az/lib/python3.6/site-packages/azure/mgmt
256252	/node_modules/puppeteer/.local-chromium/linux-809590/chrome-linux/chrome
236740	/usr/local
192416	/usr/lib/x86_64-linux-gnu
180860	/root
159008	/usr/local/bin


Reduces Gas Costs of deploying Transaction Requests

This pull request adds the clone factory as a base contract to RequestFactory.sol in order to reduce the gas costs of deploying new Transaction Requests.

Closing in favor of #115


Orb labels not aligned properly

There is logic to measure text size, and size the orb accordingly, but the label itself is mis-positioned..

Seems to be caused by bad x, y calc, and the fact it defaults to Lucida font, which doesn't always exist (causing rendered size to be off)..


Increase disk space for Postgresql data

Per discussion w/ @eternaltyro - export tool was down today due to DB crash issues. On further investigation, we found the disk partition had 100% of the space utilised. As an immediate solution cleared up some cache and got the service back. However as an extended solution we should make more storage space available for Postgres data.
cc @dakotabenjamin @JorgeMartinezG @robsavoye

Added an extra 32GB disk, copied PostgreSQL data to it, and mounted it on to /var/lib/postgresql.


”Ciudanovița” is listed in the drop-down menu

Description:
"Ciudanovița" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Ciudanovița" in the search bar.

Expected results
The location is listed in the drop-down menu as "Ciudanovița, Caraș-Severin".


Stabilize -Zfeatures and -Zpackage-features.

This follows through with RFC 2957 to stabilize the new feature resolver, and -Zpackage-features command-line changes.
This also rewrites the "Features" chapter to try to expand it a little.
I decided to leave the -Zfeatures flag in for now for testing, but it can be removed at a later date.
There is a code change related to the package-name/feature-name syntax for the --features flag. I wanted to stabilize that for resolver = "1", but I previously neglected to separate that behavior out, so it required change to Workspace::members_with_features to make that work (see the resolver1_member_features test).
Closes #4328
Closes #5364
Closes #7914
Closes #7915
Closes #7916
Closes #8088
Closes #8431

r? @alexcrichton
(rust-highfive has picked a reviewer for you, use r? to override)

I would like to delay merging this until after the beta branch next week (Friday 12/25). I would like to make sure it has the full 12 weeks for testing, and to avoid any rushes for problems over the holidays.

:umbrella: The latest upstream changes (presumably #8987) made this pull request unmergeable. Please resolve the merge conflicts.
Note that reviewers usually do not review pull requests until merge conflicts are resolved! Once you resolve the conflicts, you should change the labels applied by bors to indicate that your PR is ready for review. Post this as a comment to change the labels:
@rustbot modify labels: +S-waiting-on-review -S-waiting-on-author

One thing I'd like to see is defaulting to resolver = "2" for new manifests, but presumably that will need to wait until this stabilization hits stable at least?

Yea, per https://github.com/rust-lang/rfcs/blob/master/text/2957-cargo-features2.md#default-cargo-new I'd like to wait for it to be on stable for while, and to see how widespread the breakage will be in practice.

Thanks for the feedback @rimutaka!  I pushed some changes to rewrite some of the sections you mentioned.

@ehuss Eric, I reckon it looks pretty good. Feel free to tag me if you need any more help with this or other issues.

:pushpin: Commit a5002769b4ca53f18564d26104fd6f122ad26b0a has been approved by alexcrichton

:pushpin: Commit a5002769b4ca53f18564d26104fd6f122ad26b0a has been approved by alexcrichton

:hourglass: Testing commit a5002769b4ca53f18564d26104fd6f122ad26b0a with merge 4aa52236c4d5d3d39b47039e350219e91401ade6...

:hourglass: Testing commit a5002769b4ca53f18564d26104fd6f122ad26b0a with merge 4aa52236c4d5d3d39b47039e350219e91401ade6...

:sunny: Test successful - checks-actions
Approved by: alexcrichton
Pushing 4aa52236c4d5d3d39b47039e350219e91401ade6 to master...

:sunny: Test successful - checks-actions
Approved by: alexcrichton
Pushing 4aa52236c4d5d3d39b47039e350219e91401ade6 to master...


micro blogging mastodon compatible ActivityPub protocol feature request

Sorry if I have submitted this to the wrong spot I was not sure where to make a feature request.
I was talking with someone in the live chat of a RT live stream on odysee today.
The other user of odysee mentioned that he would like to have a single identity store to access all things social and federated like LBRY/Odysee is vs youtube.
we have a fragmentation of social networks like twitter facebook etc... Mastodon and activity pub compatible micro blogging networks already have a massive amoutn of users and federated servers. if odysee joined this federation in a time that its booming could really help unite the world again in a way we can all trust.
If people could access odysee and it also made up a microblogging system that would be next level
Please consider this feature request.

This is definitely the wrong spot to post. Try one of the repositories here: https://github.com/OdyseeTeam . Maybe they can direct you to the right spot from there.


getAllLobbyData overwrites data Dictionary

Describe the bug
The getAllLobbyData methods overwrites the same Dictionary thus overwriting key/values.
Instead it should return an Array of Dictionaries or use key as key and create a new inner Dictionary.
To Reproduce
Steps to reproduce the behavior:

call getAllLobbyData on a lobby_id
Look at the result

Expected behavior
Having access to all data values.
Screenshots
Desktop (please complete the following information):

OS: Windows
Version 10

Version of Godot:
4.2.1
Version of GodotSteam:
4.2.1
Additional context

Hey there!  Thanks for reporting it!  I get home from GDC tomorrow so I can investigate more then.

I prepared an MR for the godot4 branch. Tried to keep the method signature the same to not cause a breaking change.
See: https://github.com/GodotSteam/GodotSteam/pull/429

An alternative could be to expose GetLobbyDataCount and GetLobbyDataByIndex. Similar to getNumLobbyMembers and getLobbyMemberByIndex

Hey there!  I was actually just implementing your charges for a quite compile and test.

Sorry about that. I changed something locally and got caught up trying to fix it.  Thanks for the PR!

np :) glad if i could help!


ConfigurationBean.getRandomColorPair() and conf:byClass

If conf.ttlcontains conf:colorPair  conf:byPrefix; then ConfigurationBean.getRandomColorPair() will not work, as it returns "conf:byPrefix" as a color string in this case. For me this results in a black background of the starting page.

Temporary fix included in the pull request with the prefix color feature.


fix: fixed console error for iframe

changes:

added missing allow-same-origin to iframe's sandbox attribute to fix the console error

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 75.252%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4387

Relevant Lines:
5280

💛  - Coveralls


Rake Routes: Unitialized Constant Twitter

I've been digging through StackOverflow but I cannot find a solution to this problem, though I know it's been a known issue in the past and I can't find a concrete answer. I run rake:routes and get the following:
NameError: uninitialized constant Twitter /Users/jrshafer/Documents/Development/kronoTweeter/config/initializers/twitter.rb:1:in
This is based on the following initializer file built directly off the documentation with the use of Figaro and environment variables:
client = Twitter::Client.new do |config|
  config.consumer_key        = ENV['CONSUMER_KEY']
  config.consumer_secret     = ENV['CONSUMER_SECRET']
  config.access_token        = ENV['ACCESS_TOKEN']
  config.access_token_secret = ENV['ACCESS_SECRET']
end

Did you remember to add gem 'twitter' to your Gemfile?

I did. It would seem I lost it somewhere in the shuffle of starting a new branch so I didn’t kill the work I did in oauth. Sigh

On Oct 18, 2015, at 8:12 AM, Erik Michaels-Ober<EMAIL_ADDRESS>wrote:
Did you remember to add gem 'twitter' to your Gemfile?
—
Reply to this email directly or view it on GitHub https://github.com/sferik/twitter/issues/738#issuecomment-149013587.

@InsomniaNoir it appears that @sferik's suggestion solved your problem. If the problem persists, or you need additional help, feel free to ask more questions on the mailing list.


pull request for e2e test at 01/23/2017 23:45:08

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Add robot tip test

The robot can quite easily tip were we to drive off of the cliff side of the ramp during autonomous, so we should check for this and stop before we tip completely. This would most likely require using the gyro

This happened at our first qualifier and should be implemented


After iOS 13.4 Update: no Promise returned from Table.each() after page reload.

Hello!
This code work well on Windows, Android and iOS (13.3 and below):
return db.transaction('r', db.storeTable, () => {
db.storeTable.each((item) => {
console.log(item.name);
});
});
But after iOS 13.4 update the line 'db.storeTable.each()' don't read any data from storeTable and still running if the site was reloaded of redirected.
Please help!

This might be related to changes that Webkit delivered in iOS 13.4 related to storage. Note the section on IndexedDB and a "7-Day Cap on All Script-Writeable Storage".
https://webkit.org/blog/10218/full-third-party-cookie-blocking-and-more/


Controller - API - songRoutes

**** Blocks

get songs from one artist. should the return be song.Artist.artist_name or song.artist_name??

//GET all songs

working

//GET song by id

working

//GET song by title

working

//GET song by artist

working

//Delete song by id

INSOMNIA TEST


Enhancement: Print two templates with one layout

Hi @mgobat,
I have been asked from many libraries in our network (LIBISNet) if it can become possible to print two different labels at the same time. This feature exists in our old label printing tool. However, we have managed to convert already many institutions to the SpineOMatic cloud app.
Would it be possible to print two different templates (e.g. Spine & Barcode) simultaneously?

Kind regards,
Vangelis Palaskas.

@VangelisPalaskas, we've made a first attempt at supporting more than one label per layout by implementing tables in the layout.  Please see https://github.com/ExLibrisGroup/spineomatic-cloudapp/wiki/Help#printing-adjoining-labels. The assumption is that you would be printing multiple labels next to each other, but you may be able to adjust it for your needs. Let us know if that might work for you. Thanks.

Thank you for the answer @mgobat.
In fact didn't think of this yet. So it's a nice idea.
I will give it a try and come back to you.

Hi @mgobat,
I have performed some tests and it looks that your idea works! This is how the spine & barcode label get printed together (one template & layout):

*The only disadvantage is that I cannot control well the top margin of the second label (top label is second). I choose this sequence because in the Barcode, the Call Number is standardised (1 line) whereas in the spine label the Call Number might have 1, 3 or 4 lines.
There is an issue though when I try to print many labels together:

I understand that this happens because we use one layout with extended label height to fit two templates.
The difference is that in the proposed solution the cloud app should print each template separately by using the same layout settings. That way it should manage to print double labels for items in bulk. I had this question from my colleagues in the library because they wanted this option.
Conclusion: I am already happy that your idea works but if there would be a case that you would consider my initial idea please let me know 🙂.

@VangelisPalaskas, glad the tables in templates helps with your situation. And yes, we'll leave your original issue as an enhancement request to be considered in a future release.

Perfect!
Thank you very much 💯 .

@DiederikL, thank you for this update. Glad things are working better for you.
I'm going to close this issue since it has deviated from the original enhancement request from Vangelis. If you feel that Vangelis' original enhancement request would benefit your institution, please open a new GitHub issue.
Thank you!


Don't run weston as a root user

We should not run weston under the root user. To fix this issue, we need to create a separate weston group. Make sure that the new group can access the input devices and DRM driver.

@mrchapp can you check that as part of your weston fixes/bugs? thanks.

It seems possible using the video group and changing /dev/mali (at least on Hikey) to make it accessible to that group. So, basically:

add user linaro to group video,
add udev rule to have /dev/mali as 0660 and set group to video,
change systemd unit to set User=linaro,
redirect log somehow so that /var/log/weston.log is writable.

That works with systemctl start weston but not directly on boot. Will keep you posted.

why?
writable by who?

The point is weston needs to be run by a dedicated system account. If such account doesn't exist, we should create one for this purpose. I suspect general purpose distro have already something, have a look to latest debian/fedora. Except if we have a dm.
It reminds me a prior discussion and I think @koenkooi wanted to go the systemd way and needed to make   a proposal on how it will/should work? @ndechesne do you remember?

Making it a user session should give it a seat and access to input and video.

+1 for making proper user session (both for weston and for our x11 desktop image). since we are making a 'reference image', it's better this way..

@mrchapp Any progress?

Latest Fedora has a display manager, but that calls Xwayland... I have tried a few display managers and they are all rely on X and have very tightly coupled dependencies on it (GDM, LightDM, nodm, cdm) and making those work without X looks daunting. I'm currently trying TLM [Tiny Login Manager], and this one looks better.
As for the systemd way, I'm all ears. Currently it does create a session and it's correctly listed for user linaro with loginctl, with the correct devices under the right seat.
Following up on the questions,
3) user=linaro because it was the only user that existed and the subject of this issue is to use a non-root user.
4) Writable by user linaro. I have seen $XDG_RUNTIME_DIR/my.log, but I feel that a little too disposable for a log file.

Koen mentioned this article:
https://wiki.archlinux.org/index.php/Systemd/User
Following that through, it seems that a display manager is not needed at all and that the systemd service can run with the user directly. Please have a look at these commits and let me know if that looks like an agreeable approach:
https://github.com/mrchapp/meta-96boards/commits/weston-run-user
That still needs adding the user linaro to group video in meta-rpb/recipes-samples/images/rpb-weston-image.bb
-usermod -a -G weston-launch linaro;
+usermod -a -G weston-launch,video linaro; \
Worksforme, tested on Hikey Morty.

nice.. any chance you can look at how to do the same with Xserver? right now in the -desktop image we are starting X as root, and i would like to see user session instead..

Looks good to me as well

agreed with the approach. The udev rules is more or less what we use on Debian.
Please submit the pull request for a proper review. Thanks!

https://github.com/96boards/meta-96boards/commit/66aac8405da014b1851fffdb9a638df7ac2dce60
https://github.com/96boards/meta-rpb/commit/3f61371e7db090abf3dbb2a2fb626c57306bdc1d

https://github.com/96boards/meta-96boards/commit/253c153745bbcaa002f380cd4446629f92cc785b
https://github.com/96boards/meta-96boards/commit/8a2a30fc853f123a717300bde32ebb38e1d3391c


Layout/EmptyLineAfterGuardClause flags heredoc inside multi-line if.

Expected behavior
No offense should occur and auto-correct should not add a newline inside the if statement.
Actual behavior
An offense occurs and auto-correct adds two newlines inside the if statement.
Steps to reproduce the problem
Running rubocop on
def method
  if truthy
    raise <<-MSG
      This is an error.
    MSG
  end

  value
end

shows
Inspecting 1 file
C

Offenses:

file.rb:5:1: C: Layout/EmptyLineAfterGuardClause: Add empty line after guard clause.
    MSG
^^^^^^^

1 file inspected, 1 offense detected

and running rubocop --auto-correct produces
def method
  if truthy
    raise <<-MSG
      This is an error.
    MSG

  end

  value
end

and shows
Inspecting 1 file
C

Offenses:

file.rb:5:1: C: [Corrected] Layout/EmptyLineAfterGuardClause: Add empty line after guard clause.
    MSG
^^^^^^^
file.rb:7:1: C: [Corrected] Layout/EmptyLines: Extra blank line detected.

1 file inspected, 2 offenses detected, 2 offenses corrected

RuboCop version
$ [bundle exec] rubocop -V
0.59.1 (using Parser <IP_ADDRESS>, running on ruby 2.3.7 universal.x86_64-darwin17)

Thanks @reitermarkus, for making this issue first!  (Was just about to make one myself.)
I am assuming this is a side-effect of PR #6273 (the most recent edge case that was fixed around this) or #6284 (the autocorrect for that edge case).  We were not experiencing this on 0.59.0, but are, now on 0.59.1

Thanks for the feedback.
Yes. This is a regression at 0.59.1 💦 I opened a PR #6301 that fixed this regression and added some test cases.


Redisign

Both Server and Client Redesigned and re-implemented using an OO approach.
Client does not crash if server goes down.
Added State transition model for the CLI.
Added an API.
Added RESTful API to provide the ability for a frontend webapp.
Renamed List_Commands to help.
Added local logging in the Server Module along with logging level setting in the config file.
Removed EXPANDING.md CHANGELOG.md and the min folder.

Looks like it Fixes #13 so closing that.


remove unnecessary fspackage dependency

Fixes #591

[x] npm run test succeeds.
[x] npm run lint succeeds.
[ ] Appropriate changes to README are included in PR.

Was trying to get the tests green first, but failing due to some unrelated quota issues. Hard to imagine this minor change will have an impact, so I'll merge.

@erickoledadevrel Just make sure master passes at some point so we can continue to create PRs and ensure there's no regression.


Add new commands

!build: https://bintray.com/calinou/godot/editor/_latestVersion#files
!code:

    \`\`\`swift
    func discord_highlight():
       if(using.backticks):
          "get colors"
    \`\`\`

    ```swift
    func discord_highlight():
       if(using.backticks):
          "get colors"
    ```

    \`or use inline highlighting\`
    `or use inline highlighting`

These have been implemented in some way, closing.