Which version of ROCm will support Mac OS?

Apple is the biggest company buying amd's graphics card.
Why amd can not provide ROCm or hip on Mac?
Even Nvidia which not selling card to Apple support cuda on Mac OS.
Why amd's software support is so much worse than nvidia?

I guess it's not about the video card. This is mainly related to system adaptation.

I guess it's not about the video card. This is mainly related to system adaptation.

Well, the truth is old cuda, nvidia 1080ti, and tensorflow gpu works pretty well on el capitan or high sierra, but the new one doesn't even have a driver.
How could a company making so much profit from Mac users provide such worse software support than the one which not profitting at all.
Although Nvidia put cuda on Mac system must for a large mount of profit. But how could AMD whose graphics cards mostly selling to Mac not do so?
I mean AMD now have HIP, ROCm and so on. Why none of them support the biggest buyer mac?
Just because they very unstable and not good for use like what they are on linux?
I don't think so.
I think the AMD management just need a lesson. They need to know why customers are important.
And I hope there will be no more crashes no matter Linux or ROCm. And now we can just live with LVM or directly passthrough virtual machine because they all have snapshot to backup.

How about you start blaming Apple instead ?
The reason why AMD software support is "so much worse" than Nvidia is solely down to Apple's own incompetence ...
You want to know why any Nvidia GPU after Kepler doesn't work on macOS Mojave or later ? It's because Apple doesn't want to approve their web drivers or want anyone using CUDA on their platforms!
Troll AMD all you want for having "worse support" despite getting official driver support from Apple while Nvidia's web drivers don't work for macOS Mojave and have subsequently deprecated CUDA support on macOS since 10.2 ...
Also why would Apple want ROCm/HIP on their platforms if it's vendor locked to AMD hardware which is essentially just CUDA designed for AMD hardware instead ?

How about you start blaming Apple instead ?
The reason why AMD software support is "so much worse" than Nvidia is solely down to Apple's own incompetence ...
You want to know why any Nvidia GPU after Kepler doesn't work on macOS Mojave or later ? It's because Apple doesn't want to approve their web drivers or want anyone using CUDA on their platforms!
Troll AMD all you want for having "worse support" despite getting official driver support from Apple while Nvidia's web drivers don't work for macOS Mojave and have subsequently deprecated CUDA support on macOS since 10.2 ...
Also why would Apple want ROCm/HIP on their platforms if it's vendor locked to AMD hardware which is essentially just CUDA designed for AMD hardware instead ?

Maybe get some points.
You mean they can not support Windows while cuda on win for so many years because of the same reason, that Microsoft does not allow them to build their version of hip or rocm?
Linux is a good choice because of its efficiency but it is still not stable enough and not easy to repair the errors of the system or the software.
Mac OS is some kind of open system, the darwin system. While I using Mac os for so many years, the only thing I need to restore backups is unnecessary upgrade.
On linux actually it became much better than the old version which even get crashed after update or install some system patches. I can totally understand why European governments give up using Linux system. But there is still some errors or problems occuring from time to time. And now it support lvm system and can quickly restore the system from an early snapshot, it became easier to fix its problem.
But don't you think the Mac OS would be a much better choice almost in everywhere except computer efficiency or resources. As a mac user, we need amd which provides graphic cards to us to do a better job, or just tell your superior to give more resources to Mac OS software support. You can do and should do much better.

Maybe fix your ignorance first ?
Windows is a red herring BTW so CUDA on Windows =/= CUDA on Linux ...
With Windows, Nvidia has to work around the limitations of WDDM so CUDA has comparatively more limitations on Windows compared to Linux. Those same limitations in WDDM prevent AMD from being able to port their HSA kernel driver thus by extension ROCm as well since Microsoft isn't cooperative enough to change this for them ...
Linux is the only viable choice since it gives the hardware vendors more control over their compute stack. Mac OS is a big joke and so are Apple since they don't want to support industry standards like Vulkan or SYCL ... (at least with Windows, hardware vendors can have ICDs which allow for APIs other than D3D)
Also you seem to have this misconception that just because Mac OS was initially based on an open source project that it would also feature an open compute/graphics stack but this is absolutely not true as Apple have shown clearly time and time again that it only they who call the shots ...
Even Intel finds it impossible to cooperate with Apple on oneAPI/DPC++ ...
You singling out AMD is purely trolling on your part when others (Intel) not just including Nvidia are all unable to support custom compute APIs so how about you start holding the source (Apple) accountable for their own incompetence ?

Maybe fix your ignorance first ?
Windows is a red herring BTW so CUDA on Windows =/= CUDA on Linux ...
With Windows, Nvidia has to work around the limitations of WDDM so CUDA has comparatively more limitations on Windows compared to Linux. Those same limitations in WDDM prevent AMD from being able to port their HSA kernel driver thus by extension ROCm as well since Microsoft isn't cooperative enough to change this for them ...
Linux is the only viable choice since it gives the hardware vendors more control over their compute stack. Mac OS is a big joke and so are Apple since they don't want to support industry standards like Vulkan or SYCL ... (at least with Windows, hardware vendors can have ICDs which allow for APIs other than D3D)
Also you seem to have this misconception that just because Mac OS was initially based on an open source project that it would also feature an open compute/graphics stack but this is absolutely not true as Apple have shown clearly time and time again that it only they who call the shots ...
Even Intel finds it impossible to cooperate with Apple on oneAPI/DPC++ ...
You singling out AMD is purely trolling on your part when others (Intel) not just including Nvidia are all unable to support custom compute APIs so how about you start holding the source (Apple) accountable for their own incompetence ?

You mean there will never be a ROCm on Mac? But why Cuda support the old Mac OS?

You mean there will never be a ROCm on Mac? But why Cuda support the old Mac OS?

I already told you why, it's Nvidia who makes the drivers for Mac OS but it's Apple's decision to approve them and they don't want to ...
Apple does not even allow either AMD or Intel to make their own drivers for Mac OS but it's Apple who solely provides driver support for their hardware ...
That's why even Intel thinks supporting oneAPI/DPC++ (another CUDA competitor) on Mac OS is a waste of time for the same reasons AMD came to that conclusion as well with ROCm/HIP ...
If Apple are going to take full control of the compute/graphics stack then you must hold them fully responsible too ...
The lack of CUDA/DPC++/HIP on Mac OS isn't AMD/Intel/Nvidia's problem anymore, it's now Apple's problem ...

You mean there will never be a ROCm on Mac? But why Cuda support the old Mac OS?

I already told you why, it's Nvidia who makes the drivers for Mac OS but it's Apple's decision to approve them and they don't want to anymore ...
Apple does not even allow either AMD or Intel to make their own drivers for Mac OS but it's Apple who solely provides driver support for their hardware ...
That's why even Intel thinks supporting oneAPI/DPC++ (another CUDA competitor) on Mac OS is a waste of time for the same reasons AMD came to that conclusion as well with ROCm/HIP ...
If Apple are going to take full control of the compute/graphics stack then you must hold them fully responsible too ...
The lack of CUDA/DPC++/HIP on Mac OS isn't AMD/Intel/Nvidia's problem anymore, it's now Apple's problem ...

This is really bad for apple. By the way, will there be a verson for windows developing now?

Don't expect HIP on Windows this year and possibly next year as well ...
Without cooperation from Microsoft to do some invasive changes to the Windows graphics kernel, it'll hold up HIP support on Windows for quite a while ...
This is why Linux is the uncompromising future for GPGPU compute. CUDA has limitations on Windows and does not support a Mac OS anymore. HIP relies on several components of the HSA kernel drivers which have yet to see ground work on Windows and AMD does not make drivers for Mac OS so they never made any promises about ROCm or HIP appearing over there ...
Linux is the ideal platform for hardware vendors because neither Apple nor Microsoft can dictate or limit AMD/Intel/Nvidia ...

How about you start blaming Apple instead ?
The reason why AMD software support is "so much worse" than Nvidia is solely down to Apple's own incompetence ...
You want to know why any Nvidia GPU after Kepler doesn't work on macOS Mojave or later ? It's because Apple doesn't want to approve their web drivers or want anyone using CUDA on their platforms!
Troll AMD all you want for having "worse support" despite getting official driver support from Apple while Nvidia's web drivers don't work for macOS Mojave and have subsequently deprecated CUDA support on macOS since 10.2 ...
Also why would Apple want ROCm/HIP on their platforms if it's vendor locked to AMD hardware which is essentially just CUDA designed for AMD hardware instead ?

Yes, if Apple approved Nvidia web drivers, cuda will also be supported on Mac OS. Then, I won't even consider buying a RX 580 egpu (which I have done), I will consider to buy the 1080 or 2070 one instead.

Yes, if Apple approved Nvidia web drivers, cuda will also be supported on Mac OS. Then, I won't even consider buying a RX 580 egpu (which I have done), I will consider to buy the 1080 or 2070 one instead.

Never going to happen and Apple are going to eventually remove support for AMD/Intel GPUs too so you'll be stuck with even worse in-house Apple designed GPUs that won't even have comparable tools to CUDA, oneAPI, OpenMP, ROCm/HIP ...
You can also kiss goodbye to the idea of having a single machine that supports both macOS and high-end compute solutions as well so you'll have to buy another device solely dedicated to compute or machine learning ...

maybe Apple has Metal , so ...

good news!  tensorflow has just announced a folk that support MacOS (through Apple ML-Compute framework) , sees that CPUs, AMD GPUs, and the new M1 chips are all supported.
https://blog.tensorflow.org/2020/11/accelerating-tensorflow-performance-on-mac.html

I knew that Tensorflow had support for Metal before, but it was for iOS/iPad OS only. This time, seriously? Support for Mac OS with AMD? That’s surprising!

On Nov 19, 2020, at 02:18, qixiang109<EMAIL_ADDRESS>wrote:
good news! tensorflow has just announced a folk that support MacOS (through Apple ML-Compute framework) , sees that CPUs, AMD GPUs, and the new M1 chips are all supported.
https://blog.tensorflow.org/2020/11/accelerating-tensorflow-performance-on-mac.html https://blog.tensorflow.org/2020/11/accelerating-tensorflow-performance-on-mac.html
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/RadeonOpenCompute/ROCm/issues/997#issuecomment-730180660, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJKZHZ657VUN5VYICDYOOVLSQTBEJANCNFSM4KEDFTGQ.


ArrayView expects contiguous NumpyArrays, so make sure they're contiguous.

@jpivarski I realise the complexity would increase, but wouldn't this be something that the user should enforce rather than the numba layer taking a potential contiguous copy?

Copying NumpyArrays to make them contiguous is pretty common, perhaps more common that you think, and perhaps that's why it took so long to find this case (because most of the arrays that got this far were contiguous). NumpyArray in C++ has a contiguous method to turn whatever we have into a contiguous array because nearly all operations except the ones that emulate NumPy either need that assumption are are greatly simplified by it.
It would be possible to iterate over non-contiguous arrays in Numba, but either the Numba type would have to carry the stride information (so that the iteration step size can be inserted into the compiled code as a compile-time constant) or the ArrayViewModel would have to be expanded to have this information at runtime. Carrying the stride data in the type would generate as-efficient compiled code, but it would mean that each array with a different stride would require a new compilation, and then some applications would end up spending a lot more time compiling. Carrying the stride data in the ArrayViewModel would slow down everything at runtime, not just the arrays that need non-trivial strides. The ArrayViewModel is like a "cursor" pointing to a part of the array tree; it's has the same memory layout for all types because it has to hold all information that hasn't been "burned into" the compilation. Most data in Numba are passed by value (to avoid a lot of memory management), meaning this cursor has to be copied in its entirety from one function to another; thus, we want it to be small. Including the strides in the runtime object would mean every cursor would be a bit bigger—they would need at least one more pointer, a pointer to all the stride values in the array-tree.
So it's not a clear-cut case of complexity vs optimization. Adding non-trivial strides in the Numba implementation would definitely increase the complexity, but it wouldn't always make it faster, and in quite a few cases would make it slower (including cases without non-trivial strides, in some possible implementations). But even if it were a clear-cut case of complexity vs optimization, I wouldn't want to implement it right away. In the case discussed here, 1D non-contiguous arrays are copied into contiguous arrays before entering Numba. It is also the case that nD NumpyArrays are copied into contiguous arrays before entering Numba, by virtue of turning n‒1 dimensions of the NumpyArray into RegularArrays, to avoid the extra complexity of dealing with multidimensional NumpyArray nodes in Numba. If anything, that case would have to be dealt with before the more-rare case of 1D non-contiguous arrays.


feat: build react/vue/elements icons

Background: https://nmp-jira.atlassian.net/jira/software/projects/WARP/boards/15?selectedIssue=WARP-224

[x] build icons for react
[x] build icons for vue
[x] build icons for elements
[x] prepare for release
[x] add eik import-map

After the merge the icons will be(hopefully) published to eik and we will be able to test them in our component libraries

I opened a PR just for updating dependencies: https://github.com/warp-ds/icons/pull/6 so we can include fewer changes in this PR.

Sorry for the mess. I wanted to move the logic for automating releases out to make the changes easier to review. There's a draft PR for handling automated releases here: https://github.com/warp-ds/icons/pull/7.


Second Edition, Chapter 3 : Copy/fetch only work on files, not directories

In Chapter 3 of the Second Edition, it says on page 35 that the src for the copy module can be a file or directory (and implies the same with fetch).
This is in fact not true as I discovered by experimenting on Ansible Core/Base 2.11 and as stated in the Ansible documentation (same for version 2.9 and 2.10).
The src parameter has to be a file. So if you want to copy a directory you have to use synchronize or rsync module (or put the directory in an archive and use the unarchive module as suggested on page 36).
Hope this helps !

@MrPOC - In the documentation (latest version), it states:

If path is a directory, it is copied recursively. In this case, if path ends with "/", only inside contents of that directory are copied to destination. Otherwise, if it does not end with "/", the directory itself with all contents is copied. This behavior is similar to the rsync command line tool.

You should be able to copy files or directories without issue (I still do this quite often for smaller directories).
For large directories, the operation is a bit faster with synchronize/rsync, though.

Hello,
Indeed (I thought I checked the copy module documentation too but apparently I didn't) copy does work with folders but for some reason fetch doesn't. My bad.
Maybe you could mention this difference between the 2 modules, but it's not necessary as the documentation is quite clear about this. I just assumed the 2 modules could work with folders because both in the docs and in your book they are each presented as "like the other one but in reverse".
I'll let you close this issue if you think it's not worth mentioning.

Ah true; I should probably be clear that fetch doesn't work quite the same as copy.


mutiple subparsers un-selectable

my gooey version is <IP_ADDRESS> and just run GooeyExamples-subparsers_demo.py
the first gui looks fine:

but when i chose other subparsers, the widgets will be mass together

it will be ok when i change the GUI size

up


Replace configs/sites/tier1/hera/mirrors.yaml with correct mirror path

Is your feature request related to a problem? Please describe.
When installed 1.8.0, some packages were not downloaded.
Describe the solution you'd like
I used mirroring (from Hercules).
Additional context
Replacing with correct path to new mirror directory on Hera

Is this still an issue, or has the update been done?

It is updated. Done!


Windows.ApplicationModel.Package.Current.Id.ProductId throws System.InvalidCastException

Describe the bug
When I try to access Windows.ApplicationModel.Package.Current.Id.ProductId in a .NET 9.0 Preview 5 MAUI app on Windows/WinUI 3, I get an exception.
Output → Debug
Output → Debug window says:
Exception thrown: 'System.InvalidCastException' in WinRT.Runtime.dll
Exception thrown: 'System.InvalidCastException' in System.Private.CoreLib.dll

Immediate Window
Immediate Window with Windows.ApplicationModel.Package.Current.Id says for ProductId:
'Windows.ApplicationModel.Package.Current.Id.ProductId' threw an exception of type 'System.InvalidCastException'
To Reproduce

Create a new .NET MAUI App with .NET 9.0 Preview 5.
Try one of the following:
a) In code, try to access Windows.ApplicationModel.Package.Current.Id.ProductId. (You need to put #if WINDOWS around it.)
b) Type Windows.ApplicationModel.Package.Current.Id in the Immediate Window while debugging and see what happens for ProductId.

Expected behavior
No exception is thrown and ProductId is returned.
Version Info

WinRT.Runtime.dll Version: <IP_ADDRESS>211
.NET SDK 9.0 Preview 5
.NET MAUI 9.0 Preview 5

Describe the bug
When I try to access Windows.ApplicationModel.Package.Current.Id.ProductId in a .NET 9.0 Preview 5 MAUI app on Windows/WinUI 3, I get an exception.
Output → Debug
Output → Debug window says:
Exception thrown: 'System.InvalidCastException' in WinRT.Runtime.dll
Exception thrown: 'System.InvalidCastException' in System.Private.CoreLib.dll

Immediate Window
Immediate Window with Windows.ApplicationModel.Package.Current.Id says for ProductId: 'Windows.ApplicationModel.Package.Current.Id.ProductId' threw an exception of type 'System.InvalidCastException'
To Reproduce

Create a new .NET MAUI App with .NET 9.0 Preview 5.
Try one of the following:
a) In code, try to access Windows.ApplicationModel.Package.Current.Id.ProductId. (You need to put #if WINDOWS around it.)
b) Type Windows.ApplicationModel.Package.Current.Id in the Immediate Window while debugging and see what happens for ProductId.

Expected behavior
No exception is thrown and ProductId is returned.
Version Info

WinRT.Runtime.dll Version: <IP_ADDRESS>211
.NET SDK 9.0 Preview 5
.NET MAUI 9.0 Preview 5

Did you forget the platform requirements? Windows phone only

Thanks. I did not see that it was Windows Phone only, because I was working in Visual Studio and the exception was a bit weird.


tf.config.list_physical_devices('CPU')

Click to expand!
Issue Type
Bug
Have you reproduced the bug with TF nightly?
Yes
Source
binary
Tensorflow Version
v2.12.0
Custom Code
Yes
OS Platform and Distribution
Linux Debain 11
Mobile device
No response
Python version
3.9.2
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
"tf.config.list_physical_devices('CPU')" only show one CPU, but my machine has multiple CPUs.
Standalone code to reproduce the issue
import tensorflow as tf

physical_devices = tf.config.list_physical_devices("CPU")
for device in physical_devices:
    print(device)

Relevant log output
PhysicalDevice(name='/physical_device:CPU:0', device_type='CPU')

Is this tensorflow bug?
How does TensorFlow utilize multiple CPUs in this situation?

I don't believe that this is supposed to print the number of CPU cores.  I think it just prints the actual physical device.
tf.config.list_physical_devices("CPU")

That means the machine has 48 CPUs, but I can only use one CPU?

Hi,
Both os.cpu_count() and multiprocessing.cpu_count() will give you the number of cores across all the CPUs in your machine.
tf.config.list_physical_devices('CPU') will return the physical CPU devices.
Tensorflow uses all the cores in the available CPU.

Thank you!
It is recommended that tensorflow be modified to display as many cpus as there are cpus.
for example:
PhysicalDevice(name='/physical_device:CPU:0', device_type='CPU')
PhysicalDevice(name='/physical_device:CPU:1', device_type='CPU')


Address client UX

When developing Clair, we focused on making Clair integrable by developers and container registries. It appears that the community uses Clair as it is a lot, analyzing images that could be either local or hosted by some registries. This issue is about integrating a solid command-line tool, for instance (and removing the whole contrib/analyze-local-images tool).

I'm closing this. I think we want to leave this out of the scope of the core project and recommend clairctl for local usage and building integration with the API for more advanced use cases.


Adding option for different number of spaces

@Mrono that's awesome! I briefly looked at it and have no comments, I'll merge and deliver as soon as I'm free.
Thank you very much!

Hi, Following up on this


Bot doesn't login/go online

I've set the token and the owner ID options.ini, and when I run the runbot.bat it says "ok lets hope it worked" and nothing happens. It doesn't go online and work.  Is there something I'm missing here?

Did you follow the guide for your system?

Yeah
On Mon, Sep 5, 2016 at 8:19 PM Jayden Bailey<EMAIL_ADDRESS>wrote:

Did you follow the guide for your system
https://github.com/SexualRhinoceros/MusicBot/wiki?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SexualRhinoceros/MusicBot/issues/572#issuecomment-244828731,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABR3CUcSahJCULfvARhY01Q5o5Eb47yKks5qnL-GgaJpZM4J1Xk0
.

A screenshot with youroptions.ini and a log from you CMD Console could help us out troubleshooting.

As you haven't replied in over a week, I am going to assume this issue was resolved. If not, let me know.


Built-in Generalized Linear Model (GLM )

Thanks for the new builtin function @Shafaq-Siddiqi . Could you please try to refactor the tests in order to avoid duplication with the existing algorithm test, have a look why the R runs were failing in the github actions, and remove the Spark tests (as this algorithm has so many small operations, forcing all of them to spark is taking too long).

LGTM - thanks @Shafaq-Siddiqi this is a great addition. During the merge, I just fixes some formatting issues, reduced the number of additional GLM tests, fixed the duplicate GLM input data generation, and removed the fileLog parameter to keep the built-in function free of side effects.


Issue with Sync (Recived an error: undefined)

I apologize if I'm missing something, but I am having the following issue with any repo (on clicking 'Resync'):
Recived an error: undefined

Furthermore, the webhook link produces the following error:

I think I see what's going on, the redis instance that Backstroke uses seems to have run out of memory. Let me see if I can remove some old keys manually for now and later I can upgrade it to be larger.

Yep, that's exactly what happened. I'll reset it when I get back from work today.

Ah, well, really appreciate that. That's a good problem to have, growth is good 😆  Just put in a $2/week donation on Liberapay to help reach your goal. :-)
Thanks for the fast response and simple/useful service, and the commitment to open source. Can close this whenever you reset things.


CNF-15661: Include inform policies in configuration timeout calculation

For the ORAN use case, inform policies should only be used to validate cluster configurations. When all enforce and inform policies are compliant, the cluster configuration is considered complete, and provisioning can be fulfilled. Updated logic now includes inform policies in the configuration timeout calculation.

/hold
Try to finish e2e testing after fixing the hub cluster issue.

/unhold
Tested e2e for both timeout and non-timeout cases.

/lgtm

/lgtm
/approve


bug: usePrepareContractWrite has incorrect typings

Is there an existing issue for this?

[X] I have searched the existing issues

Package Version
0.6.4
Current Behavior
When working with usePrepareContractWrite, the returned error key is incorrectly typed. When inspecting the object, we see that there is a more human readable property called reason, however this does not appear to be present on the type, causing TS errors.
Expected Behavior
To have correct typings on the error property to remove the TS errors
Steps To Reproduce
Just some example setup:
const { config, error: prepareError } = usePrepareContractWrite({
    addressOrName: 'address',
    contractInterface: abi,
    functionName: 'mint',
    args: [merkleProof],
  });

  useEffect(() => {
    if (prepareError && prepareError.reason) {
      toast({
        description: prepareError.reason,
        status: 'warning',
      });
    }
  }, [prepareError]);

The code above works and displays the correct execution reverted: You already claimed an NFT. toast to the end-user. However, TS is complaining:

Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
No response
Anything else?
No response

Thanks for reporting. This issue is temporarily closed due to lack of information. Please provide a minimal reproducible example and reopen this issue.


@loadable/webpack-plugin chunk.name can be null

🐛 Bug Report
// Disable splitChunks for loadable chunks
    compiler.options.optimization.splitChunks.chunks = function (chunk) {
      return !chunk.canBeInitial() && !chunk.name.startsWith('loadable-');
    };

To Reproduce
Steps to reproduce the behavior:

CRA 2.5
Add SSR loadable-components
yarn run build

TypeError: Cannot read property 'startsWith' of null
    at compiler.options.optimization.splitChunks.chunks (/example-application/node_modules/@loadable/webpack-plugin/lib/index.js:27:51)
    at getSelectedChunks (/example-application/node_modules/webpack/lib/optimize/SplitChunksPlugin.js:423:13)
    at compilation.hooks.optimizeChunksAdvanced.tap.chunks (/example-application/node_modules/webpack/lib/optimize/SplitChunksPlugin.js:584:13)
    at SyncBailHook.eval [as call] (eval at create (/example-application/node_modules/tapable/lib/HookCodeFactory.js:19:10), <anonymous>:7:16)
    at SyncBailHook.lazyCompileHook (/example-application/node_modules/tapable/lib/Hook.js:154:20)
    at Compilation.seal (/example-application/node_modules/webpack/lib/Compilation.js:1208:38)
    at hooks.make.callAsync.err (/example-application/node_modules/webpack/lib/Compiler.js:547:17)
    at _done (eval at create (/example-application/node_modules/tapable/lib/HookCodeFactory.js:32:10), <anonymous>:11:1)
    at _err2 (eval at create (/example-application/node_modules/tapable/lib/HookCodeFactory.js:32:10), <anonymous>:46:22)
    at tap.fn.args (/example-application/node_modules/react-dev-utils/ModuleNotFoundPlugin.js:114:15)
    at _addModuleChain (/example-application/node_modules/webpack/lib/Compilation.js:1065:12)
    at processModuleDependencies.err (/example-application/node_modules/webpack/lib/Compilation.js:981:9)
    at process._tickCallback (internal/process/next_tick.js:61:11)

Expected behavior
discards chunks without a name...(I think that's what the expected behavior is)

@neoziro thank you for this repo and documentation, it's incredibly well written. I have a pretty complex CRA 2.0 + SSR (Streaming) application working perfect...this the final bug I'm running in to when running yarn run build

@neoziro I now know what happens here (or what I did wrong)...
Incorrect
const Content = () => import('./container');

Correct
const Content = loadable(() => import(/* webpackChunkName: "Content" */ './container'), {
  fallback: <LoadingContent />,
});

I know, I know, top is very wrong (and not even using loadable)...but in CRA 2.0 it did build fine without the webpack loadable plugin...I was thinking of something like...
      if (!chunk.name) {
        throw new Error(`loadable: ensure you dont' have an un-named import (i.e. const Container = () => import('./container')) .`);
      }

let me know if you think this makes sense and I can make a PR, otherwise this can be closed 🎉

In the new version, the webpack plugin will be mandatory for SSR (only static mode will be supported). So no, just let it like that for now.
But you will have to add this plugin 😅, without the manifest we can’t do anything.

your SSR streaming implementation is working perfectly for us now in production. very happy with our move to loadable-components 😺

Hi, i still think that this should be fixed. I am using react-intl library, where I need to dynamically import locale data when bootstrapping client, so I am not using loadable components for this particular case. If i don't specify the magic comment with webpackChunkName the whole webpack process exits with error code. Code example:
const loadMyLocale = () => {
detect supported locale a then return import(`react-intl/locale-data/${locale}`)...
}

Promise.all([
    loadableReady(),
    loadMyLocale(),
]).then(() => ...)


Intro demo update

Addresses issue #147 .
This is mostly minor clarification stuff that I thought would help make it easier for a newcomer to understand.  I didn't mess with the figure situation after talking to Edoardo, for now I think this is fine -- instead I just discussed the more general GLM stuff at the bottom in a new section. I can cut the reference to https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6226578/ if that's too much, but I thought it was pretty cool. :smile:

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.24%. Comparing base (bb9cc9f) to head (0fa4076).

Additional details and impacted files
@@               Coverage Diff               @@
##           development     #163      +/-   ##
===============================================
- Coverage        97.24%   97.24%   -0.01%
===============================================
  Files               15       15
  Lines             1488     1487       -1
===============================================
- Hits              1447     1446       -1
  Misses              41       41

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Thanks for the suggestions Eric! Following up on the issue, I see you mentioned using the images we have to build up a schematic of the model. Are you still thinking about doing that? Just want to check!

I decided to just leave the figures as is for now -- I think the goal is ultimately to replace that image with something more like the fancy images in the repo readme. I looked over those and I wasn't confident in my ability to quickly integrate those into this demod, so I'm leaving that for a future editor. Instead I just added the text at the end to discuss all the possibilities available with GLMs.

Thanks for the suggestions Eric! Following up on the issue, I see you mentioned using the images we have to build up a schematic of the model. Are you still thinking about doing that? Just want to check!
Also, I'm not sure why the docs build is suddenly failing, since none of your changes should have affected the code -- @BalzaniEdoardo any ideas? It looks like it can't pick an initial value and so wants us to do that, but I'm not sure why that's just becoming a problem now

I fixed the error. It was caused by a change I made in the parameter initialization of the GLM. Now I am relying on scipy root finding to numerically invert the link function to set the initial intercept.
This method finds good solutions (as expected since our link functions are smooth, univariate, monotonic functions) but I I did not realize that sometimes the root finding could result in an unsuccessful optimization even if the error is of the order of 10**-10.
Instead of checking the root finding "success" flag, now I am simply checking that the solution found is close enough to zero (np.allclose) and this seems to work well.

Once the citation are added to the footnotes, this is good to go for me!

I am running off to some meetings, but should be able to finish this and the calcium changes later today. This one is just about ready (it was already very good, so changes were all pretty minor).

Thanks for the suggestions Eric! Following up on the issue, I see you mentioned using the images we have to build up a schematic of the model. Are you still thinking about doing that? Just want to check!

I decided to just leave the figures as is for now -- I think the goal is ultimately to replace that image with something more like the fancy images in the repo readme. I looked over those and I wasn't confident in my ability to quickly integrate those into this demod, so I'm leaving that for a future editor. Instead I just added the text at the end to discuss all the possibilities available with GLMs.

Sounds good! Since this PR will close the issue where we were discussing that, can you create a new one summarizing the plan? then someone else can pick it up later.

Open to more feedback, but I think this is good to go. I'll add issue discussing future plans with the diagrams.


Follow #11262, disable cache

What is the purpose of the change
Brief changelog
Verifying this change

Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Add some description to dubbo-website project if you are requesting to add a feature.
[ ] GitHub Actions works fine on your own branch.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #12171 (9bb4224) into 3.2 (d6f9d8d) will decrease coverage by 0.39%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                3.2   #12171      +/-   ##
============================================
- Coverage     69.94%   69.56%   -0.39%
+ Complexity      341        2     -339
============================================
  Files          3403     1593    -1810
  Lines        159313    65419   -93894
  Branches      26427     9524   -16903
============================================
- Hits         111430    45508   -65922
+ Misses        38216    15530   -22686
+ Partials       9667     4381    -5286

see 1846 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


themis-contract compile [--update] flag

feature request - the workflow of making a 1st contract entails:

tweak template.md and params.dhall
themis-contract update --no-auto-commit --no-auto-push
themis-contract compile --no-auto-commit --no-auto-push
view pdf

over and over and over.

Could you describe what feature you're requesting a bit? I think I can infer what you're after here based on the name of the flag and the indication of a suboptimal workflow, but whoever works on this issue in the future may not be able to piece that together.

Could you describe what feature you're requesting a bit? I think I can infer what you're after here based on the name of the flag and the indication of a suboptimal workflow, but whoever works on this issue in the future may not be able to piece that together.

for sure. so to avoid running themis-contract update prior to themis-contract compile everytime, the --update flag would pre-run the exact functionality of themis-contract update.
In fact, is there any reason we could do away with the themis-contract update command altogether and just include its functionality by default in the compile command?
AFAICT, if one is running update the logical next command to always be run is compile ... and if you're about to run compile then in almost every case (?) you've just run update.

for sure. so to avoid running themis-contract update prior to themis-contract compile everytime, the --update flag would pre-run the exact functionality of themis-contract update.
In fact, is there any reason we could do away with the themis-contract update command altogether and just include its functionality by default in the compile command?
AFAICT, if one is running update the logical next command to always be run is compile ... and if you're about to run compile then in almost every case (?) you've just run update.


Why is the length of the SA-token sequence not equal to the length of the model outputs?

Hello, your work is truly impressive!
However, I don’t understand why the length of the SA-token is 9, but the output's length is 11 in the example code.
"""
['Md', 'Ev', 'Vp', 'Qp', 'Lr', 'Vy', 'Qd', 'Ya', 'Kv']
torch.Size([1, 11, 446])
"""
Could you please explain it to me?
Thank you!

Hello, thank you for being interested in our work!
Interestingly, the question about the output size was proposed in #20 , so I recommend refer to this issue for detailed explanation.
Hope this could resolve your problem :)

您好，感谢您对我们工作的热情！
有趣的是，关于输出大小的问题是#20中提出的，所以我建议参考这个问题来获得详细的解释。
希望这可以解决您的问题:)

I have not understand yet why the SA token has length of 9 but the output length is 11?

Hi,
That is because the model will add additional special tokens when processing the input. It will add a <cls> token to the begin of the sequence and a <eos> token to the end of the sequence.

你好，
这是因为模型在处理输入时会添加额外的特殊 token，它会<cls>在序列的开头添加一个 token，<eos>在序列的结尾添加一个 token。

Thanks a lot!


Unify GHRequest and Request

Unify GHRequest and Request
Right now there are several Reuest classes. For normal OSM routes and for PublicTransit Routes. First rename Request to PTRequest to make it clear it is a PublicTransit reutest.
Also make them inherit from a general abstract Request class or make them implement a Request interface. Also it would be nice to unify the constructor so that both can take GHPoints or List<GHpoints>. Right now one takes List<GHLocation> an the other List<GHpoints>.
Unify Profile and InfoResource.Info.Profile
Make a separate 'normal' Profile for PT. So that you can do `new Request().setProfile("pt"). Make the request fail if GHStorage is no GTFS_Storage.
Background Info
I'm using gh as a lib in my own java project. We need pretty low level access and are not providing any of WebInterface. So we are not communicating through the web-api.
We do normal foot, car, bike and bus routing that approximates real transit only with OSM-data. But if GTFS data is available we want to use them.  It is not as easy as it could be to switch between PTRouter and normal Router at least if you are only using native GH java calls.
For example you should overwrite the route method in GraphhopperGTFS to use the PTRouter this would make the usage of GH for developers much easier.
btw. thanks for all the work you put into this project

Thanks!
I think I won't be going forward with this at the moment. We have one layer where I try to be "facade-y", that's the web layer -- after that, we "fan out" and call different algorithms that have different sets of parameters, hence different signatures.
I realize there are applications like yours, where one wants to call GH like a web service but not as a web service, but it's not a priority for us at the moment. Below the web layer, it gets "low-level", and that's okay.

For example you should overwrite the route method in GraphhopperGTFS to use the PTRouter this would make the usage of GH for developers much easier.

That should happen at some point -- or we get rid of the GraphHopper class entirely. (It's not our favorite class.) Maybe that's why it looks so undecided at the moment.

I'm writing so much because I just discussed all this with @easbar  --
I think in the case you are describing, putting the request using the "bus" profile and the request using PT behind the same interface, if useful, should happen on your side of the application. The decision that "routing on a road network when we have no schedule" and "routing on a schedule when we have a schedule" are substitutes for each other is happening in your application, and probably only applies in your use case.
On our side, they are totally different things.

For example you should overwrite the route method in GraphhopperGTFS to use the PTRouter this would make the usage of GH for developers much easier.

But I totally agree on that.

Thanks for this long answer and some insights.
I already handle PT requests and normal requests on my side and present a unified interface to the outside. But right now I'm not happy with the results of PT routing. Maybe because I handelnd the request wrong, missing some information or just have bad gtfs files. (But I have a backup plan to emulate bus routing, which works kind of great if you can dispense real time scheduling). I can totally understand that all this is low level and not supported officially. Working with the web-api is much easier.
But I'm happy how active the development is and have my eyes on it. Maybe some day we the gtfs low level stuff gets more accessible.
If so desired, I will look at a few issus from time to time and try to contribute something.


Refresh() fails to scroll when bar isn't active

This bug was introduced in commit 032691348b80b458468f53bd1c847078c3046d78.
See here: https://github.com/echa/ng-scrollable/blob/master/src/ng-scrollable.js#L260
Lines 252 & 260 have no effect.  To fix:

Swap line 252 with 251.
Swap line 260 with 259.

I fixed this & another similar bug in pull request #18.

Thanks for spotting this :) It'll merge your PR.


Fixes an issue where spinner does not show up on registration and bid+register forms

Apparently the loading state is broken due to a non-blocking call passed in to Formik.
Formik internally calls setSubmitting(true) before execution and setSubmitting(false) once the entire work is done, which is supposed to be helpful. However, for some reason it assumes that the onSubmit call is a blocking call (which in most cases is not), and does not wait until the entire async task is done, resulting in just calling setSubmitting(false) right after calling setSubmitting(true). This is also hard to test since we mock out async GraphQL calls with a blocking mock function in test.
For now I just added a workaround with a setTimeout, which is obviously a smell (and doesn't necessarily solves the problem due to a possible race condition), but it's better than nothing for now...
Screenshots
Registration

Bid+Register

I'll go ahead and #mergeongreen since it's blocking https://github.com/artsy/force/pull/5806 and I'd like to deploy the form changes as well. But it's definitely something we should re-visit.

Is there a known issue on the formik repo about this?

This seems like a related issue: https://github.com/jaredpalmer/formik/issues/1957


fix(framework): formatted number input bugs fixes

https://github.com/mediatool/northlight/assets/90923099/6c008700-4822-4184-8e8c-565d2a592908
This PR:

enables the user to remove last number from input field
properly sets min and max value on blur
allows formatted number input to take an inputrightelement

@SebCodesTheWeb Did it become 100 because its the max value for the field?

@SebCodesTheWeb Did it become 100 because its the max value for the field?

If so feels a little weird to take over users input. maybe we should just have validation on it (lik emaking the input red or smth)? @ilija- @HannaYankouskaya what do yall think?

@TautvydasGec @martinmartinchan Yes it did become 100 because the max was set to 100, 2. ) Changing the value to max value in case the user inputs is how we currently do it with the normal number input. There is no possibility to add validation in the formatted-number-input component itself, tho I could make the border red.


[Physics] Add raycast filtering to physics engine interface

So you can do:
physicsEngine.raycastToRef(from, to, result, query);

Instead of having to access the Havok Plugin.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

@carolhmj it looks like as you moved IRaycastQuery some imports may need to change.

Snapshot stored with reference name:
refs/pull/13998/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/13998/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/13998/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/13998/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/13998/merge
https://gui.babylonjs.com/?snapshot=refs/pull/13998/merge
https://nme.babylonjs.com/?snapshot=refs/pull/13998/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/13998/merge#BCU1XR#0


Use padStart to complete random bytes with zeros

The use of String.padStart() is in my opinion more idiomatic than manually add zeros at the beginning, then removing them.

Hey there, awesome, I'll take a look at this soon

Looks good, thank you!


Enhancement: Making litestar compatible with pyinstaller

Summary
I am currently trying to compile a litestar server to an .exe file. For this I am using pyinstaller, but it does currently not work.
For illustration, I slightly modified the hello-world-example and added pyinstaller: https://github.com/Vuizur/litestar-hello-world.
app.py is now:
"""Minimal Litestar application."""
from asyncio import sleep
from typing import Any

from litestar import Litestar, get
import uvicorn

@get("/async")
async def async_hello_world() -> dict[str, Any]:
    """Route Handler that outputs hello world."""
    await sleep(0.1)
    return {"hello": "world"}

@get("/sync", sync_to_thread=False)
def sync_hello_world() -> dict[str, Any]:
    """Route Handler that outputs hello world."""
    return {"hello": "world"}

app = Litestar(route_handlers=[sync_hello_world, async_hello_world])

if __name__ == "__main__":
    uvicorn.run(app)

This works from Python, but when I compile the exe with pyinstaller app.py and try to run it, I get the following error:
Traceback (most recent call last):
  File "logging\config.py", line 390, in resolve
AttributeError: module 'litestar.logging' has no attribute 'standard'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "logging\config.py", line 392, in resolve
ModuleNotFoundError: No module named 'litestar.logging.standard'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "logging\config.py", line 565, in configure
  File "logging\config.py", line 723, in configure_handler
  File "logging\config.py", line 399, in resolve
  File "logging\config.py", line 392, in resolve
ValueError: Cannot resolve 'litestar.logging.standard.QueueListenerHandler': No module named 'litestar.logging.standard'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "app.py", line 22, in <module>
  File "litestar\app.py", line 435, in __init__
  File "litestar\logging\config.py", line 229, in configure
  File "logging\config.py", line 810, in dictConfig
  File "logging\config.py", line 572, in configure
ValueError: Unable to configure handler 'queue_listener'
[19004] Failed to execute script 'app' due to unhandled exception!

This can be fixed by creating hook-litestar.py and pasting the following code:
from PyInstaller.utils.hooks import collect_submodules
hiddenimports = collect_submodules('litestar.logging')

and then running pyinstaller --additional-hooks-dir=. app.py
However, it would be pretty cool if litestar distributed these hooks itself. I don't know the exact steps to do this, but this page describes it: https://pyinstaller.org/en/stable/hooks.html#
Basic Example
No response
Drawbacks and Impact
No response
Unresolved questions
No response

Funding

If you would like to see an issue prioritized, make a pledge towards it!
We receive the pledge once the issue is completed & verified

+1 for a separate package

The package https://github.com/iancleary/pyinstaller-fastapi is something like an example project. As far as I can understand it is pretty trivial what it is doing, basically adding
if __name__ == "__main__":
    uvicorn.run(app)

to app.py. It does define a hook, but that one seems to be obsolete and has been added directly to pyinstaller-hooks-contrib.
So I think the best thing seems to add the hook I gave to https://github.com/pyinstaller/pyinstaller-hooks-contrib. I could look into it...

That sounds like a cool addition to our external packages! 😄 Let us know if you need anything in particular, I am going to close this.  When you get it working you can put up a PR to https://github.com/litestar-org/awesome-litestar/ so that we can have it public.

I added the hook to pyinstaller, so now it works out of the box: https://github.com/pyinstaller/pyinstaller-hooks-contrib/pull/625. You only need
if __name__ == "__main__":
    uvicorn.run(app)

now.

+1 to this.  Very cool!


[Live-Site] Setting up templates in 100ms

Setting up templates
Follow this to generate API keys first https://github.com/Real-Dev-Squad/website-www/issues/496
Visit https://dashboard.100ms.live/

Go to templates from sidebar(as in image)

Click on add a role button(as in image above) and add the following roles(except hls-viewer):

Note - role names are case sensitive

After adding role, you can click on the role and some option will shown to you like General , Publish Strategy etc.
Now we have to configure these for all the roles one by one.

For host
Role Priority - 1(high)
Publish strategy - only  screen will be selected here
Quality 1080p

Subscribe strategy will be as follows:

Permissions will be as follows(only added enabled permissions, rest all can be disabled as of now)

For moderator
Priority will be 2
Publish strategy - no options selected

-Subscribe Strategy same as host

Enabled permissions(rest all will be disabled)

For maven

These will be the General ,  Publish Strategy , Subscribe Strategy settings.

Enabled permissions will be:

For guest

These will be the General ,  Publish Strategy , Subscribe Strategy settings.

Enabled permissions will be :

Few more steps to make it to prod:

Please create a subdomain live.realdevsquad.com
Redirect live.realdevsquad.com to https://beta.realdevsquad.com/live

Added the keys in our backend, and did all the steps listed above.


State of Project

Hey folks! I'm very excited about this project and have been waiting for it for a bit now. The documentation is a bit sparse now (understandably so), is it in a state where I can pull it down and play with it to understand the UX. Or was the "release" release only intended for the project roadmap?

Hey Zach!
Feel free to pull it down but It's pretty rough right now so it might not be too fun. We'll have more details coming soon, with some sample docs and workflows. But be ware! It will create resources in your account and we haven't implemented the destroy commands yet haha.

Hi Zach,
The CLI is now in developer preview! https://github.com/aws/amazon-ecs-cli-v2/issues/557 we'd love it if you give it a try :)

Thanks and congrats! Look forward to testing it out
On Thu, Jan 9, 2020, 3:30 PM Efe Karakus<EMAIL_ADDRESS>wrote:

Closed #188 https://github.com/aws/amazon-ecs-cli-v2/issues/188.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/aws/amazon-ecs-cli-v2/issues/188?email_source=notifications&email_token=ABZNNF4FQDK64PAWGCESKZ3Q46JPVA5CNFSM4I7SCCY2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOV4D6BVA#event-2936529108,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABZNNFZBKKTVYWA4NACW2GDQ46JPVANCNFSM4I7SCCYQ
.


Update terraform Kubernetes examples to v1.10.0

cc @sdemos

Changes look good, I'm testing them out now.
We probably don't want to let the bootkube-sans-terraform instructions be on a different version than the bootkube-terraform instructions. Is it possible to get those instructions updated too? I can just do it in a separate pr after this if you don't want to.

Non-terraform setup is stalled on https://github.com/coreos/matchbox/issues/694

ah, right. that's unfortunate.
I successfully tested the changes locally and everything works as expected with terraform.


datasette inspect takes a very long time on large dbs

Hi,
I want to expose data in a very large sqlite database (~600Gb) to the web.  I have used datasette with success on smaller test databases with the same schema - it works very well (thanks!).  However, using the full db, both datasette inspect and datasette serve seem to hang or pause for a very long time (tens of minutes) on startup.  Is this expected behaviour?
(I noticed that the output of datasette inspect includes row counts for each table.   Simply counting the rows in this db will take a long time (tens of millions of rows across each of ~10 tables), so I wondered if this is the source of the problem.)
Any help on a workaround would be appreciated.

I should add that I'm using datasette version 0.22, Python 2.7.10 on Mac OS X.  Happy to send more info if helpful.

Wow, I've gone as high as 7GB but I've never tried it against 600GB.
datasette inspect is indeed expected to take a long time for large databases. That's why it's available as a separate command: by running datasette inspect to generate inspect-data.json you can execute it just once against a large database and then have datasette serve take advantage of that cached metadata (hence avoiding datasette serve hanging on startup).
As you spotted, most of the time is spent in those counts. I imagine you don't need those row counts in order for the rest of Datasette to function correctly (they are mainly used for display purposes - on the https://latest.datasette.io/fixtures index page for example).
If your database changes infrequently, for the moment I recommend running datasette inspect once to generate the inspect-data.json file and then passing that file to datasette serve mydb.db --inspect-file=inspect-data.json
If your database DOES change frequently then this workaround won't help you much. Let me know and I'll see how much work it would take to have those row counts be optional rather than required.

Hi Simon,
Thanks for the response.  Ok I'll try running datasette inspect up front.
In principle the db won't change.  However, the site's in development and it's likely I'll need to add views and some auxiliary (smaller) tables as I go along.  I will need to be careful with this if it involves an inspect step in each iteration, though.
g.

For #271 I've been contemplating having Datasette work against an on-disk database that gets modified without needing to restart the server.
For that to work, I'll have to dramatically hange the inspect() mechanism. It may be that inspect becomes an optional optimization in the future.

This will be fixed by #419


deprecation-days is ignored

Flag deprecationDays is ignored by check-breaking which uses hard-coded values instead:

31 days for Beta endpoints
180 days for Stable endpoints

How to replicate:
Note '180 days' in output below, although cmd-line specified deprecation-days=30
cmd-line:
oasdiff -base base.yaml -revision revision.yaml -check-breaking --deprecation-days 30

Output:
error	[api-deprecated-sunset-parse] at data/deprecation/base.yaml
	in API GET /api/test
		api sunset date can't be parsed for deprecated API

error	[api-sunset-date-too-small] at data/deprecation/deprecated-with-sunset.yaml
	in API GET /api/test
		api sunset date 2023-08-02 is too small, must be at least 180 days from now

error	[sunset-deleted] at data/deprecation/deprecated-with-sunset.yaml
	in API GET /api/test
		api sunset date deleted, but deprecated=true kept

base.yaml
info:
  title: Tufin
  version: 1.0.0
openapi: 3.0.3
paths:
  /api/test:
    post:
      responses:
        201:
          description: OK
    get:
      responses:
        200:
          description: OK

revision.yaml
info:
  title: Tufin
  version: 1.0.0
openapi: 3.0.3
paths:
  /api/test:
    post:
      responses:
        201:
          description: OK
    get:
      deprecated: true
      x-sunset: "2023-08-02"
      responses:
        200:
          description: OK

please assign me to this issue, thanks.

I need clarification about the specification of --deprecation-days option:
If deprecation-days is a positive value:
MinSunsetBetaDays and MinSunsetStableDays will be set to the same value as deprecation-days.
If deprecation-days is set to zero:
MinSunsetBetaDays will be 31 and MinSunsetStableDays will be 180, which are their default values.
Is that correct?

I suggest to be able to configure two deprecation-days values, one for stable and another for beta.
If the user doesn't provide either one of the values, then we should use the default values.

ok, here's my plan:

change the command by adding two different flags for each stability level.
the ChangelogFlags struct will be modified to support two distinct stability levels.
to pass the values of deprecation-days to GetChecks and GetAllChecks in checker/default_checks.go , I'll use a struct that includes deprecation-days and includeChecks. I think it will provide better flexibility for future updates.


fix(tests): remove unimplemented tests

What is the current behavior?
Tests are not implemented and make dependency management more work.
Issue Number
fixes  #1433
What is the new behavior?
Removed tests and dependencies.
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Specific Instructions
none
Other information
none

We have already supported test cases in version 2.0 at https://github.com/emqx/MQTTX/tree/dev/2.0.0. Thank you for your feedback; I will close this PR.


Database Access Errors

How do I Change the login credentials? I get the following error -
An error occurred while attempting to verify the user.Cannot open database "UserAccounts" requested by the login. The login failed. Login failed for user 'ISANDC\ETS-4595B42-YQ$'.

Seems like you have some problem with the database connection, check your computer account has access to db UserAccounts


ability to align offsets to sides of screen

i use this mod to align my hotbar to the left, however this only works when my screen is set to 1920x1080, or otherwise the hotbar goes off the screen. being able to align stuff to the left or right and then apply offsets to that would be really helpful.

Hi, this is in the works.  Has been implemented before, working on a reimplementation.


feat: Migrate Starknet : l1_to_l2_messages from "beerus_rest_api" to "beerus_rpc"

Feature Request
Describe the Feature Request
We are deprecating "l1_to_l2_messages" and now migrating all the api endpoints to "beerus_rpc".
Migrate get_block_with_tx_hashes and add tests on beerus_rpc.
Describe Preferred Solution

Describe Alternatives

Related Code

Additional Context

If the feature request is approved, would you be willing to submit a PR?
(Help can be provided if you need assistance submitting a PR)

[ ] Yes
[ ] No

Hello there, may I take this one?


Server Error (500) importing Fortify scan XML file

When attempting to import a Fortify XML scan report the server gives Server Error (500) from the underlying "TypeError: cannot concatenate 'str' and 'int' objects" fault.
Steps to reproduce
Steps to reproduce the behavior:

Download  docker-compose_base.yml docker-compose_uwsgi-release.yml
docker-compose -f docker-compose_base.yml -f docker-compose_uwsgi-release.yml up
Attempt to upload a Fortify Scan XML file created from results.fpr using ReportGenerator
500 error (from webserver)

Expected behavior
Fortify scan would be imported.
Deployment method (select with an X)

[ ] Kubernetes
[x] Docker
[ ] setup.bash / legacy-setup.bash

Environment information

Windows 10 with Docker Toolbox and Virtualbox
Lastest on git release website, just downloaded the 2  docker-compose_base.yml docker-compose_uwsgi-release.yml files directly

Sample scan files (optional)
Will try to create redacted version.
Console logs (optional)
uwsgi_1         | Internal Server Error: /product/1/import_scan_results
uwsgi_1         | Traceback (most recent call last):
uwsgi_1         |   File "/usr/local/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner
uwsgi_1         |     response = get_response(request)
uwsgi_1         |   File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 249, in _legacy_get_response
uwsgi_1         |     response = self._get_response(request)
uwsgi_1         |   File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 187, in _get_response
uwsgi_1         |     response = self.process_exception_by_middleware(e, request)
uwsgi_1         |   File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 185, in _get_response
uwsgi_1         |     response = wrapped_callback(request, *callback_args, **callback_kwargs)
uwsgi_1         |   File "/usr/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 23, in _wrapped_view
uwsgi_1         |     return view_func(request, *args, **kwargs)
uwsgi_1         |   File "./dojo/product/views.py", line 382, in import_scan_results_prod
uwsgi_1         |     return import_scan_results(request, pid=pid)
uwsgi_1         |   File "/usr/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 23, in _wrapped_view
uwsgi_1         |     return view_func(request, *args, **kwargs)
uwsgi_1         |   File "./dojo/engagement/views.py", line 519, in import_scan_results
uwsgi_1         |     parser = import_parser_factory(file, t)
uwsgi_1         |   File "./dojo/tools/factory.py", line 123, in import_parser_factory
uwsgi_1         |     parser = FortifyXMLParser(file, test)
uwsgi_1         |   File "./dojo/tools/fortify/parser.py", line 91, in init
uwsgi_1         |     dupe_key = (title + sev + cwe_id)
uwsgi_1         | TypeError: cannot concatenate 'str' and 'int' objects
Additional context (optional)
in
django-DefectDojo/dojo/tools/fortify/parser.py  line 60
cwe_id = 0
This should probably be:
cwe_id = "0"
So that it is a string not an integer. In my Fortify XML scan result there are no CWEs in the < groupTitle > so it is probably always dropping to the cwe_id = 0.
This is later used in line 91, where it tries to concatenate this now int with strings and faults.
dupe_key = (title + sev + cwe_id)
TypeError: cannot concatenate 'str' and 'int' objects

hello @dougmcdorman Can you provide scan sample which produces this error so that we can easily reproduce it?

@dougmcdorman Did you try your suggest change of making it = "0"?

I haven't been able to run a dev environment yet so I can't try the fix. When I try the dev environment I see this in the logs and the webserver doesn't respond:
nginx_1         | nginx: [emerg] host not found in upstream "uwsgi:3031" in /run/uwsgi_server:1
django-defectdojo_nginx_1 exited with code 1
If someone can provide more guidance on getting a dev environment going I will try, asked in slack.
I plan to try redacting the scan result so I can share.

I believe th correct fix is to extend cast the int to string for the
purposes of the dupe key.
On Thu, May 23, 2019, 7:50 PM dougmcdorman<EMAIL_ADDRESS>wrote:

I haven't been able to run a dev environment yet so I can't try the fix.
When I try the dev environment I see this in the logs and the webserver
doesn't respond:
nginx_1 | nginx: [emerg] host not found in upstream "uwsgi:3031" in
/run/uwsgi_server:1
django-defectdojo_nginx_1 exited with code 1
If someone can provide more guidance on getting a dev environment going I
will try, asked in slack.
I plan to try redacting the scan result so I can share.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/DefectDojo/django-DefectDojo/issues/1171?email_source=notifications&email_token=ABEFRQDRYVNVC4DJFR2KF6TPW43WLA5CNFSM4HPJCVB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWD3RSA#issuecomment-495433928,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABEFRQAM7OL6SNWAKF6WD23PW43WLANCNFSM4HPJCVBQ
.

** instead
On Thu, May 23, 2019, 8:44 PM Greg Anderson<EMAIL_ADDRESS>wrote:

I believe th correct fix is to extend cast the int to string for the
purposes of the dupe key.
On Thu, May 23, 2019, 7:50 PM dougmcdorman<EMAIL_ADDRESS>wrote:

I haven't been able to run a dev environment yet so I can't try the fix.
When I try the dev environment I see this in the logs and the webserver
doesn't respond:
nginx_1 | nginx: [emerg] host not found in upstream "uwsgi:3031" in
/run/uwsgi_server:1
django-defectdojo_nginx_1 exited with code 1
If someone can provide more guidance on getting a dev environment going I
will try, asked in slack.
I plan to try redacting the scan result so I can share.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/DefectDojo/django-DefectDojo/issues/1171?email_source=notifications&email_token=ABEFRQDRYVNVC4DJFR2KF6TPW43WLA5CNFSM4HPJCVB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWD3RSA#issuecomment-495433928,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABEFRQAM7OL6SNWAKF6WD23PW43WLANCNFSM4HPJCVBQ
.

@devGregA I thought about that but if it does find a CWE value then that is going to be a string not an int so then you would be trying to cast a string from an int to an string. I'm hoping I can find some older or other Forify scan results around that have the CWE value to test that as well. But I don't know if I will find any or if they really ever have that.

Added redacted scan file. I ripped out most of the results so I can't guarantee it is still completely valid but it does cause the same error. If I can get a dev environment running I will compare results with the unredacted file.
The unredacted xml file was generated from the Fortify .fpr file using the ReportGenerator utility since the original fpr file is actually a zip file containing a whole bunch of files:
C:\Program Files\HPE_Security\Fortify_SCA_and_Apps_17.20\bin\ReportGenerator.bat -format XML -f fortify_v18.20.1046.xml -source fortify_v18.20.1046.fpr
fortify_v18.20.1046.xml.zip

@dr3dd589 redacted scan file in the above comment.

main problem is here in grouptitles:
<groupTitle>Privilege Management: Unnecessary Permission</groupTitle>
<groupTitle>Null Dereference</groupTitle>
<groupTitle><none></groupTitle>
<groupTitle>Issue New: May 7, 2019</groupTitle>
which is not fixed and in the parser, it checks cwe no in  also the sample you provided does not contain any cwe no in  and in fortify parser it uses this method to extract cwe no which raise problem:
     cwe_id = grouptitle.split(' ')
     if len(cwe_id) > 2:
              cwe_id = cwe_id[2]
               if "," in cwe_id:
                       cwe_id = cwe_id[:1]
      else:
              cwe_id = 0

I cannot find old fortify sample based on this parser is created.
to fix this I need the latest fortify scan sample which contains also cwe number in xml file so that I can figure it out how to extract.

@devEricA please investigate this for you next issue. @dougmcdorman has attached a sample scan.

@devEricA I should have a PR ready in a couple days.

@devGregA and @aaronweaver I think I have a fix ready. Before I push, I would like to obtain older fortify scans in order to ensure that my updates work with the older files. Where could I find those files?

@devEricA I can't seem to find any. @devGregA I thought we had some but I can't find it.

Note the OWASP Benchmark program also has a Fortify parser, but I'm not use if they are using the .fpr file or a generated report.
https://github.com/OWASP/Benchmark/blob/master/src/main/java/org/owasp/benchmark/score/parsers/FortifyReader.java
I have managed to get the report generator and a modified defectdojo parser to give all results instead of just a sample from each category. @devEricA perhaps you want to share what you did for a fix and I can merge my changes in.

@devEricA Were you given any scans that include a CWE in the groupTitle? If so what did it look like? Can you provide some of the values for the groupTitle?
I took a look at your changes and I wanted to suggest a few modifications. The original code before your updated doesn't seem very robust and I was hoping we could try to improve it.
Note .isdigit will give false if it finds whitespace even though converting to int would work.
I would propose that where the cwe_id is read it always gives the same type of value (a string or an int).
The logic in the original file doesn't seem to make sense, it always looks to see if the second word is a number, I suppose if the first word is "cwe" then that would make sense but then it seems it should test for that. I could see the CWE number being tacked onto the end, but then it wouldn't always be the second word. But I have no example with a cwe to go by.
If we want to assume it is always the second word, which could contain a comma, then I would suggest this:
# The cwe number always seems to appear in the second word but might contain a comma
cwe_id_list = grouptitle.split(' ')
if len(cwe_id_list) > 2:
cwe_id = cwe_id_list[2].replace(',', '')  # replace any ","
else
cwe_id = "0"
                try:
                    cwe_int=int(cwe_id)
                except ValueError:  # if the exception ValueError comes up then it couldn't be converted to a int
                    cwe_id = "0"
                    cwe_int = 0

and lower down
dupe_key = (title + sev + cwe_id)
                        find = Finding(title=title,
                                        cwe=cwe_int,


Create Process Monitoring GUI

Create a GUI for trouble shooting and monitoring both active and completed process instances.
Should probably be a separate project.

Search for process instances by multiple criteria.
View state of active and completed processes.
Restart failed process instances.
Show errors for failed tasks.

View State

Graphically indicate completed tasks.
Allow drill down process to subprocesses.
Click on completed task and show relevant data:

Start and completion times.
Before and after data.
Other see structures for tasks and processes for other relevant data.

Search for Process Instances

By process key.
By data property.
By process name.

@CharlesIrvineKC I am interested in contributing. I am starting to migrate my Python actor code to Elixir. I think this would be a good project for me to chip in on.

Sounds great. What chat apps do you like?

Is this you: https://www.linkedin.com/in/seanchatman/

mostly complete. see:
https://github.com/CharlesIrvineKC/opera
https://opera-holy-bush-2296.fly.dev/


Lua error

Hi, I'm having an issue with the lua plug-in. I keep getting the error "Range is out of bounds". Has anyone else had this problem or does anyone know what it means? Thanks.

Can you provide a screen shot and export a sample .pcap?

@Shinobi-9T3 Also, I have made fixes in the last couple of check-ins, do you have the latest commit checked out?

This is the error I receive from wireshark.  I uninstalled wireshark and reinstalled it as well as the odid plug-in last night.

@Shinobi-9T3 , this is helpful but I would also need at least that 1 packet in a .pcap to debug and handle this condition.  It looks like that packet is actually malformed at the 802.11 level.  I suspect one of the length counters doesn't actually match the actual length.
In Wireshark, if you do the following:

Select packet as you have above.
Click "File->Export Specified Packets"
Choose "Selected Packets only" in the dialog.
Save the file as a .pcap.

Then attach the .pcap to your reply to this message.
I doubt I can fix the malformed packet issue, but I may be able to make the lua code detect and handle it better.
Thanks.

Thank you so much. Github apparently doesn't support pc
malformed_ODID - Copy.zip
ap files as attachments, which is surprising, so I'm attaching it as a .zip . Please let me know if this will work .

Thank you so much. Github apparently doesn't support pc malformed_ODID - Copy.zip ap files as attachments, which is surprising, so I'm attaching it as a .zip . Please let me know if this will work .

Yes, this came through find.  I'll begin worki

@Shinobi-9T3,
I changed the code to handle this type of frame and prevent the overrun (in the Lua code).  It is now checked into the main.  A "git pull" should show the Lua error message go away.  This specific frame is not an ODID frame -- was it expected to be one?  If it's now working to your satisfaction, please close this issue.
Thank you for finding this error handling case. :-)
--Gabriel.

Gabrielcox, I apologize for how long it's taken me too respond. The holidays have had me very busy. I appreciate you taking the time to acknowledge and work on my issue. I think I'm doing something wrong though. I don't know how to implement the core library into the android receiver example. I was able to compile the source and  export the receiver apk to my phone, but it doesn't recognize  any broadcasts(I've used my drone and a few friends drones to test it). I think that may be where the problem is with my dissector issue.  Does the wireshark dissector depend on the core c library? I'm a student in the IT field and I'm more than willing to admit that I'm wet behind the ears and definitely a "n00b". Any help you can give me is appreciated. Thank you.

No, wireshark is working fine and doesn’t depend on anything other than the Lua code (1 file) to dissect opendroneid packets.  The fact that the errors came up was proof that the dissector was running.  It just didn’t like handling that particular packet.
Do you actually have a device sending open droneid packets?   If so, you can send the capture of that device’s packet.
if you’re wanting to create something that sends opendroneid packets, the easiest thing to start with might be an esp32.

I don't know how to implement the core library into the android receiver example
This is not necessary. The Android receiver example already contains all the code that is needed.
The core-c project is primarily meant as a help for people who implement (typically embedded) transmitters (and receivers, although I think that will be less common).

I've used my drone and a few friends drones to test it.
Those drones probably doesn't broadcast any drone ID signals yet. The laws that dictate you have to broadcast drone ID signals are not yet mandating you to do so. If I recall correctly, in the US it will be towards the end of 2022 and in Europe in the beginning of 2023. I therefore expect that most drones currently on the market do not yet broadcast ID signals. Firmware updates will at some point allow some of those to do that later on. Some might need additional HW added.

If you want to setup your own transmitter for testing, some examples are available:
https://github.com/opendroneid/opendroneid-core-c#linux


Add LeetCode Solution(41)

As a GSSoC24 contributor, I want to add a solution for LeetCode problem Number 41

@VaishnaviMankala19 Please complete your task otherwise I will close it.

@Ajay-Dhangar  This is Hard Problem leetcode(41) with acceptance rate 39.6% . Can I get level2 for it.


Thread affinity in bandwidth benchmark

Not sure if you still care about comments but here we go 😄:
For the bandwidth benchmark you have used export JULIA_EXCLUSIVE=1 and thus compact pinning for the Julia threads. This explains (most of) the character of the flops plot (and probably also the bandwidth plot).
This also almost certainly underestimates the achievable flops/bandwidth for a given number of threads (see https://github.com/JuliaPerf/BandwidthBenchmark.jl#compact-vs-scattered-pinning). Instead, I'd recommend to choose a scatter pinning that respects the NUMA structure. You can use ThreadPinning.jl for this (which you already have in the Project.toml), specifically pinthreads(:scatter; places=:numa).

Yeah, I never came back to these benchmarks after the first run, I'm definitely interested in trying again with your suggestions!

How do these benchmarks look: https://github.com/giordano/julia-on-fugaku/tree/cd5795aa746ec83286dc5d82aefdde50c56f74a3/benchmarks/bandwidthbenchmarkjl? :slightly_smiling_face:

Yes, that looks much better. Also, it seems to give O(700GB/s) which is reasonable (ist it really GB or GiB?).
cc @vchuravy ☝ Not sure why you did get only ~250GB/s in your webinar live demo.

(ist it really GB or GiB?).

Whatever BandwidthBenchmarks spits out, which according to the output is MB/s, not MiB/s.

OTOH, looking at the RRZE benchmarks there seems to be quite some variation between different kernels.

Is there a way to choose the kernel in BandwidthBenchmarks? We only have sdaxpy, which is the only one not reported by RRZE

Is there a way to choose the kernel for the scaling plots in BandwidthBenchmarks?

No, it's currently hard-coded but could easily be extended in this direction. Feel free to open an issue / a PR.


Correct the spelling in comments around ImageMagick

Hi,
I'm sorry to open this, I do not want to dictate the language you use in your own software projects. However, this language might make this software incompatible with my work, e.g. some projects have code of conducts disallowing strong language.
Thanks!

Actually I still think ImageMagick / Magick++ sucks, but hey. Why not.


Decouple lottie-web in onboarding components

Follow up to #3959.
The original issue was to investigate issues with tree shaking. In our initial review, we weren’t able to replicate the issue where lottie-web was not being shaken, but we’ve continued to see reports of inflated builds[^1].
The problem
Adopters of our library would like to leverage our package without inflated bundle sizes that have resulted from the inclusion of lottie-web as a dependency. In some cases, lottie-web remains even after tree-shaking, which has resulted in developers taking a more fragile approach to preventing it from being bundled[^2].
More recently, we’ve seen additional contributions[^3] which include Lottie animations. Before we introduce these new patterns, we’d like to explore new ways to allow our components and library to support these animations while reducing the overhead, risk, and performance issues passed on to our consuming teams.
Solution
In a basic way, decoupling lottie-web from the set of onboarding components — however, this poses some risk to teams that may already be consuming them using Lottie animations. In recent reviews of our telemetry, Coachmarks and InterstitialScreen are known to be among the higher used onboarding components, however, they are still considered experimental/preview components.
Currently, lottie-web is imported in SteppedAnimatedMedia which is in turn used in

CoachmarkOverlayElements
CoachmarkStack
InlineTip
and InterstitialScreen

All of these components accept a media prop which will leverage the SteppedAnimatedMedia when passed filePaths.
### Tasks
- [ ] Work with @jlongshore and @paul-balchin-ibm to discuss potential plans
- [ ] https://github.com/carbon-design-system/ibm-products/issues/6243
- [ ] https://github.com/carbon-design-system/ibm-products/issues/6366
- [ ] https://github.com/carbon-design-system/ibm-products/issues/6434

[^1]: Kindly documented by @mikadv: https://ibm-studios.slack.com/archives/C013ZTX0N6B/p1725456070249159?thread_ts=1725374600.890359&cid=C013ZTX0N6B
[^2]: Also from @asfordmatt: https://ibm-studios.slack.com/archives/C013ZTX0N6B/p1725983300345619?thread_ts=1725374600.890359&cid=C013ZTX0N6B
[^3]: Animated headers from @glapadre @mikeolasov @marion-bruells

Any update on this issue please? We've had security vulnerabilities flagged up in our UI code due to the presence of eval() in lottie-web on this line. This specific example is pointing to this CWE
If this package was decoupled from within this repo we could see this vulnerability disappear which would save us having to make any temporary workarounds - thank you

@tomsoal We were currently targeting February for its actual removal, but think we can escalate this with the CWE. 🙏 CC @ljcarot @matthewgallo @amal-k-joy

This currently is unassigned @elycheea Do you want to assign it to someone?


obelisk could recompile frontend/src-bin

When modifying the code in frontend/src-bin/main.hs from the obelisk skeleton, the commands ob run and ob watch don't seem to pick up on the changes (in fact I don't know how I would force obelisk to run the file I wrote). Why does this happen? Does obelisk cache some files and recompile others?

@meditans ob run and ob watch both invoke ghci in the same way, without loading src-bin.
As a gross alternative, you can nix-shell -A shells.ghc followed by ghcid -c "cabal new-repl exe:frontend". The downside to this will ONLY include modules from the listed executable stanza.

Closing as a duplicate of #50. Feel free to reopen if this is still relevant.


Missing gene and product types for myxobase

Gene and protein subclass types have been added, so the issue has been resolved


Nodejs 6 not supported ?

Hi,
when I run   npm run theme_settings in the themes root i get :
$ npm run theme_settings

<EMAIL_ADDRESS>theme_settings /srv/users/serverpilot/apps/ansolas/public/themes/jumplink-october-boilerplate
node ./utilities/bootstrap_theme_settings.js && node ./utilities/merge_theme_settings.js

module.js:457
throw err;
^
Error: Cannot find module 'write-yaml'
at Function.Module._resolveFilename (module.js:455:15)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object. (/srv/users/serverpilot/apps/ansolas/public/themes/jumplink-october-boilerplate/utilities/bootstrap_theme_settings.js:2:12)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
npm ERR! Linux 4.4.0-31-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "theme_settings"
npm ERR! node v6.6.0
npm ERR! npm  v3.10.3
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>theme_settings: node ./utilities/bootstrap_theme_settings.js && node ./utilities/merge_theme_settings.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>theme_settings script 'node ./utilities/bootstrap_theme_settings.js && node ./utilities/merge_theme_settings.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the jumplink-october-boilerplate package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node ./utilities/bootstrap_theme_settings.js && node ./utilities/merge_theme_settings.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs jumplink-october-boilerplate
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls jumplink-october-boilerplate
npm ERR! There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! Please include the following file with any support request:
npm ERR!     /srv/users/serverpilot/apps/ansolas/public/themes/jumplink-october-boilerplate/npm-debug.log
serverpilot@v22015072938226788:~/apps/ansolas/public/themes/jumplink-october-boilerplate$

idea?

just installed node 5 via nvm, same result

I think I've identified the source of error:
https://github.com/daslicht/jumplink-october-boilerplate/commits/master

If you wan'a change variables or other core stuff you need to install all dependencies with
bower install
npm install

Please not, there is a known issue with default: 0 values, the this for more details: https://github.com/octobercms/october/issues/2388


Postpaid settlement mode

Usually subscriptions are paid upfront, in the "prepaid" mode. But there are companies which sign individual contracts with their customers and they allow them to settle the payment later "postpaid" (at the end of billing period), according to the real usage.
It seems quite an easy implementation - we'd need an extra field payment_mode (or settlement_mode) in the plan_subscriptions. Or just prepaid with value 1 as default.
And such a subscription would be always active, independent of ends_at, unless explicitly canceled.

Like a mettered subscription?
That thing with ends_at and cancels_at, canceled_at still haunts me, it's something that comes from rinvex package and I can't get my head around why is made that way.

I mean the moment of payment. Because now mettered subscription can already be handled with upfront payments. Someone buys 100 "tokens" at the beginning of the month and at the end of the month we check the usage. If they used 110 tokens they need to pay for extra 10 tokens.
But I mean a situation where the customer pays nothing at the beginning of the month. They are allowed to use the system and at the end of month we check how many "tokens" they used. And only at the end of month we charge them by the real usage (110).
It's like paying upfront for your prepaid phone without any contract with the telephone operator. Or when you have a contract with the operator, you are allowed to pay postpaid, at the end of the month according to your real minutes usage.

I think it's already good to go with the v4 release and we'd come back to this functionality for v4.1


Conflicting conda packages

I think openssl==1.1.1s is conflicting with the resto of the packages and that is why our workflow checks are failing:
 Looking for: ['python=3.10', 'voms', 'ca-policy-lcg', 'ca-certificates', 'xrootd', 'openssl==1.1.1s', "fsspec[version='>=0.3.3']", 'psutil', 'dask', 'parsl', 'arrow', 'dask-jobqueue', 'p-tqdm', 'pip', 'python=3.8']

  Encountered problems while solving:
    - cannot install both python-3.10.0-h12debd9_0 and python-3.8.0-h357f687_0

I think this specific version was introduced for lxplus? We probably need to find a better solution...

Or, maybe its not that, actually, It could be the python version we specify in the yml file 3.10. While the workflows try to run in 3.8 and 3.9.

@andreypz, is the issue still there with updating yaml file? env.yaml

This issue was about CI workflows that were failing at a time. If the workflows are not failing with your update - then the issues is resolved, you can close it.


Enhance self-uninstall

ee cli self-uninstall currently removes all the site, their data, containers etc. Only remaining part is that it does not remove the networks created by EasyEngine. Once the vendor label of EasyEngine is added to the networks by the following PRs:
https://github.com/EasyEngine/easyengine/pull/1192
https://github.com/EasyEngine/site-command/pull/102
https://github.com/EasyEngine/site-wp-command/pull/28
The self-uninstall command needs to be updated to accommodate network removals.

For removing networks, we need to use this docker command - docker network prune with filter using the labels we're adding in the above mentioned PRs

Since networks are managed by docker-compose, this issue is now not relevant.


Committee: Show Name of Chairperson

In the list of committees on the Committees page, is it possible to display the name of the committee chairperson, instead of just the title of "Chair"?

Closed via #425!


python-pycurl installed but still get the not installed error on CentOS 6

Package python-pycurl-7.19.0-8.el6.x86_64 already installed and latest version
I am using python 3.4 not sure what the issue is

I solved this by installing
  yum install libcurl-devel

On CentOS
 sudo apt-get install libcurl4-openssl-dev

On Ubuntu, Can this be added to the docs?

Hi, thanks speaking up!   I'm a little confused about the environment here.  Please could you clarify what method was used to install PyRestTest (pip, git clone, or git clone + setup.py), and is there is a python 2.x install present as well as python 3.4?   CentOS 6 comes with python 2.6 natively (although you could use an RPM from other sources to install a later python), and that's what I've used in installation testing.
PyRestTest does not have python 3 support yet: I put a lot of work towards this in the last release, but I am still working through remaining compatibility issues to get it into the next release (currently slated for December).  I'll have to include testing for this in that effort -- I've seen similar issues already, and the root cause was packages available for python 2 but not python 3 (fixable by using 'pip3 install' instead of 'pip install'.

I used pip to install pyRESTtest, I created a virtualenv and installed python 3.4 for there, I don't think the problem is pip3 as I tried this ubuntu as well and got the same error, The same is mentioned at http://stackoverflow.com/questions/23937933/could-not-run-curl-config-errno-2-no-such-file-or-directory-when-installing , also I would apreciate if you can tell me how to solve this though https://github.com/svanoort/pyresttest/issues/114, I am not sure if that is related to python 3

Ah, yes, that one.  This is linked to known issues, unfortunately, in packages I don't maintain.  If that solution offers a fix, it's worth including in docs for use with virtualenvs (after some testing).
Under this main doc:  https://github.com/svanoort/pyresttest#how-do-i-get-it you'll see I mention installing pycurl via the native packages and not pip, because it doesn't handle libcurl right on CentOS.
Separately there's a mention of avoiding combining pycurl with virtualenvs in that same doc... because you guessed it, the native libraries.
I opted for Docker images to avoid some of these egregious pain points when testing different environments because it was so very painful: https://github.com/svanoort/pyresttest/tree/master/docker
Native libraries interfacing with python can be such a gigantic pain in the butt sometimes, I swear.

@Leo-G This has been added to documentation with this commit:  https://github.com/svanoort/pyresttest/commit/b79d7d896cb20f165dd5cda63e05c1d0afcea0fc
I swear, if it weren't for benchmarking and some of the powerful custom options I'd drop PyCurl for requests, because the native libraries cause so many installation headaches.


Styling not applied in FF / Safari when property asynchronously set in connectedCallback

Description
When a property is set in connectedCallback() from data fetched asynchronously, render() is called as it should but the styling is not applied in FF and Safari (it works fine in Chrome). See CodePen below for example.
Live Demo
https://codepen.io/xwatkins/pen/eweNNb
Steps to Reproduce

Define styling using static get styles().
define a property (not initialised).
in render(), return null if that property is undefined, otherwise display the value of the property.
in connectedCallback(), make an asynchronous request and set the property from 2. when the promise resolves.

Expected Results
The styling should be applied when rendering happens.
Actual Results
Styling is not applied in FF/Safari. Inspecting elements, the <style> tag in the shadow DOM are empty.
Browsers Affected

[ ] Chrome
[x] Firefox
[?] Edge
[x] Safari 11
[x] Safari 10
[?] IE 11

Versions

lit-element: v2.2.0
webcomponents: v2.2.10

In your render function, you use:
render() {
        if(!this.sequence) {
          return null;
        }
        return html`<div>${this.sequence}</div>`;
      }

Returning null the first time seems to be confusing FF and Safari. When you update to the following your pattern begins to work again:
render() {
        if(!this.sequence) {
          return html``;
        }
        return html`<div>${this.sequence}</div>`;
      }

Notice the return of an actual TemplateResult from render(). I believe this allows lit-html to continue to manage the node cleanly across the multiple renders, but hopefully someone more knowledgable than I can speak to what is actually happening between the two return statements.

I see, thanks @Westbrook , I guess I was using a React pattern here!


About Workflow and Reader interactions

Hi,
Just discovered this lib and it looks promising. I've got a comment to make however on the way readers and workflow interact.
Right now, the reader must be built before the workflow since the workflow need the reader in its constructor. However, the reader is only used into the process() method. It would seems more logical to set the reader when calling the process() method.
One of the most interesting benefits would be the ability to use the same workflow object to handle several data sources. Let's say I have to import a CSV and an Excel file at once. I could build a workflow object (setting up validators, converters, etc.), and then process the 2 readers by calling twice the process() method.
$workflow = new StepAggregator();
// configure workflow here

$excelReader = new ExcelReader(/* ... */);
$csvReader = new CsvReader(/* ... */);

$workflow->process($csvReader);
$workflow->process($excelReader);

To keep BC, StepAggregator constructor could accept nullable reader, and process method could also accept nullable reader. Reader passed to process method has priority over reader passed to constructor. And if no reader it passed at all, an exception is thrown.

I like the idea and the BC-thinking! It makes the Workflow better re-usable, and easier to turn into a service.
Would you like to open a PR?

OK, I'll create the pull request.

Humm, after thinking a bit on the issue, it looks like the problem is bigger:
Processing a workflow does prepare() the writers and finish() them. However, if you want to run several readers through the workflow:

Should the writers be prepare()d and finish()ed again?
What if one add a writer to the workflow between 2 process()?
What if writer is updated between 2 process() (e.g. Change Excel sheet)?

Several solutions I can think for now:

Having a ConcatReader that take several readers and concat the data.
Make the workflow being a step, so we can create a workflow of workflow (this as to be thought deeper regarding the concept of workflow).


Displays the time since the last post and not since the topic creation

I think it would be more logical to display to time elapsed since the last post, not the topic creation (I hope it is the right way to implement it).
Anyway, thanks for this plugin.

Thanks makes sense, sorry for taking a while to address it, I will make the change separately since the template has changed a bit since then


Website REPL don't work

jQuery was updated from old version and there are no longer $.browser that was removed long ago and REPL don't work at all.

One note jQuery Timers is include in jQuery Terminal (not sure what version though).

Oops, I've forgot to check index.html.
I just removed jquery.timers.min.js and it looks like working fine.