Richer run command output

Current situation
Commands like ELIST, NLIST, etc. returns a string, which is fine. Other commands such as PRNSOL and similar, returns also a string.
This is the default behavior.
Proposition
I believe that output from the commands should be "richer". For example, we should parse commands like ELIST to output a table.
To not break compatibility, we could make an object (CommandOutput ?) which its representation (__repr__) is the command output, hence we could keep the current code.
Example

class CommandOutput():

    def __repr__(self):
        # Used when ``>>> CommandOutput``
        return self.cmd_output

    def __str__(self):
        # Used when ``>>> print(CommandOutput())``

        return self.cmd_output

    def __init__(self, cmd, string_):
        self.cmd_output = string_
        self.cmd = cmd

        if cmd in ['ELIST', 'NLIST']:
            #parse_XLIST_command()
            pass

    def parse_XLIST_command(self):
        self.table = np.([[1,2,3],[1,2,3]])

out = 'SELECT       FOR ITEM = ENAM COMPONENT = n  IN RANGE       170 TO        170 STEP          1\n\n        531  ELEMENTS(OF       7891  DEFINED) SELECTED BY  ESEL  COMMAND.'

out = CommandOutput('ESEL', out)
out

This could be used in the output of run:
    def run(self, command, write_to_log=True, **kwargs):
        """Run single APDL command.

        For multiple commands, use ``run_multiline``.

        Parameters
        ----------
        ...

        """
        # Skipped code
        # ...

        # special returns for certain geometry commands
        short_cmd = parse_to_short_cmd(command)

        response = CommandOutput(command, self._response) #New bit

        # return self._response #Old one
        return response

Prototype this. I agree that a simple string isn't sufficient sometimes.

Also, thinking about this more, provided that we can maintain backwards compatibility, being able to represent for jupyter notebooks would be really powerful as well.


Design question - is Firebase and this library the right choice?

Hi!
I am planning to create an IoT device (based on ESP8266) which will have multiple users (around 50-100 devices at first). On very high level, the approach is the following:

The user registers an account on a mobile app and provisions (adds) the device in the mobile app

Once the device is provisioned, it would send periodic even data:

temp and humidity every 30sec
ad-hoc event data whenever an event occurs (I could reduce the frequency of this being sent to Firebase by checking if multiple events are very close to each other, then I would report only 1, e.g. if in a rapid succession there are 20 events in 1 minute, I would only send 1)

Whenever Firebase recieves an event, I would trigger a Cloud Function and check if a certain threshold is exceeded (e.g. temp too high) and I would send a push notification via FCM to the mobile device

There's one use case which would mean that the user triggers an action on the mobile device and the ESP8266 device (a specific device registered to the specific user) should act on it within a few seconds at most. Previusly, I have used MQTT for this and it worked great. But I am wondering if this library and Firebase in general is fit for this purpose. Is it efficient to periodically e.g. poll the database for such actions? Billing quota wise, I am not sure how that would add up, because initially I am shooting for the free plan to be sufficient. :)

My main concern is point 4, but I am also wondering if the Realtime Database is an overkill for my use case (I understand that Firestore is not really feasible on Arduino / ESP8266 due to the fingerprint requirement).
Thanks a lot in advance!

The Firebase RTDB is just the JSON like no-sql database which can be notify the change event to the client.
To use the Firebase in IoT (serverless) project, you should redesign your work flow based on the features available and the limitations of the Firebase RTDB and the client.
Here are the abilities and limitations of Firebase RTDB and this library.

Firebase RTDB server is not a cloud server i.e. it can not compute or making a decision on any data that being receive or response unless you use the cloud function.

The security rules for authentication which allow read/write access for specific user and location can't apply when use this library due the database secret was used which will bypass the authentication in security rules.

This library works with REST APIs which some features may not available as in other platforms e.g. client connected/disconnected event is not available.

The data change notification event is the HTTP stream event which client will get the response immediately when server push the data to it.

No guarantee that all simultaneously event data will be received by the client in the stream mode unless the latest (newest) data.

You can't delay or ignore the data changes event as long as the client stay connected unless client ignored it.

Use query filter for data retrieving to reduce response data that being process in low memory device.

Use ETag when many clients push the data to the same path simultaneously to ignore the consequence data from other client that ETag does not match as ETag at the node will change when its data changed.

Be careful, in the stream mode (realtime event), the data that pushes to client can be large and can't handle by the device.

You should separate the kept small live (sensor value, status) data from the large static (log, config) data.

Use device identifier in the database path to identify the devices/clients data.

For Cloud Firestore the fingerprint is not a problem, it's just for network authentiction which can be ignore or use the certificate data instead.
The Firestore supports REST APIs too but the realtime feature is not available due to some performance limit.
The realtime feature is available for client that use the Firebase SDK and RPC (gRPC) capable clients which currently not available for the embedded device.

You may need to test with multiple web client (JavaScript) and some esp8266 devices while you are prototyping the project.
Choose Firebase RTDB if realtime database and serverless are important, otherwise choose MQTT,


Can't use anchors and aliases in YAML files (issues with linked messages)

Reporting a bug?
I am trying to reuse parts of my translations and tried using linked messages. Yaml didn't seem to like the @ symbol so I tried anchors and aliases (& and *) but I got an error Uncaught SyntaxError: Unexpected token ','. I think the issue is with anchors because if I remove all anchors my app builds again.
Example yaml:
button:
  about: &about About
  back: *about

When I follow the source, I get something like this:
export default {
  "button": {
    ,

  }
}

Expected behavior
The yaml file should output following
button:
  about: About
  back: About

Reproduction
Repo
Please check the locales/en.yml file.
Issue Package
vite-plugin-vue-i18n
System Info
System:
    OS: Windows 10 10.0.22000
    CPU: (20) x64 12th Gen Intel(R) Core(TM) i9-12900H
    Memory: 4.97 GB / 15.75 GB
  Binaries:
    Node: 16.16.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 8.11.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.22000.120.0), Chromium (107.0.1418.52)
    Internet Explorer: 11.0.22000.120
  npmPackages:
    @intlify/vite-plugin-vue-i18n: ^6.0.3 => 6.0.3
    vite: ^3.2.4 => 3.2.4
    vue: ^3.2.45 => 3.2.45
    vue-i18n: ^9.2.2 => 9.2.2

### Screenshot

_No response_

### Additional context

_No response_

### Validations

- [X] Read the [Contributing Guidelines](https://github.com/intlify/bundle-tools/blob/main/.github/contributing.md).
- [X] Read the README
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [X] Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/intlify/bundle-tools/discussions).

Thank you for your reporting!
Unfortunately, anchors and aliases is not supported for vue-i18n.
yaml is parsed by @intlify/bundle-utils parser, but it's so hard to support resolving anchors and alias.
For this reason we do not plan to support it in the future.
Thanks


Helios 2.1.3 stable release

2.1.3 Aug 18 2016

Full Mono support now available for Helios 2.x.
Improved exception logging inside TcpSocketChannel and others.

You can see the full set of changes for Helios 2.1.3 here.

Windows Server 2016, .NET 4.6.2 Perf Numbers - Stress Test
Helios.HorizontalScaling.Tests.Performance.Channels.TcpServerSocketChannelHorizontalScaleSpec+TcpServerSocketChannel_horizontal_scale_stress_test
Measures how quickly and with how much GC overhead a TcpSocketChannel --> TcpServerSocketChannel connection can decode / encode realistic messages
8/17/2016 10:38:58 PM
System Info
NBench=NBench, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null
OS=Microsoft Windows NT 6.2.9200.0
ProcessorCount=2
CLR=4.0.30319.42000,IsMono=False,MaxGcGeneration=2
WorkerThreads=32767, IOThreads=2

NBench Settings
RunMode=Iterations, TestMode=Measurement
SkipWarmups=True
NumberOfIterations=1, MaximumRunTime=00:00:01
Concurrent=True
Tracing=False

Data

Totals
      Metric |           Units |             Max |         Average |             Min |          StdDev |

---------------- |---------------- |---------------- |---------------- |---------------- |---------------- |
TotalCollections [Gen0] |     collections |        5,426.00 |        5,426.00 |        5,426.00 |            0.00 |
TotalCollections [Gen1] |     collections |        1,895.00 |        1,895.00 |        1,895.00 |            0.00 |
TotalCollections [Gen2] |     collections |            6.00 |            6.00 |            6.00 |            0.00 |
TotalBytesAllocated |           bytes |    7,456,856.00 |    7,456,856.00 |    7,456,856.00 |            0.00 |
[Counter] inbound ops |      operations |   20,120,103.00 |   20,120,103.00 |   20,120,103.00 |            0.00 |
[Counter] outbound ops |      operations |   20,120,112.00 |   20,120,112.00 |   20,120,112.00 |            0.00 |
[Counter] connected clients |      operations |          792.00 |          792.00 |          792.00 |            0.00 |
[Counter] exceptions caught |      operations |            0.00 |            0.00 |            0.00 |            0.00 |
Per-second Totals
      Metric |       Units / s |         Max / s |     Average / s |         Min / s |      StdDev / s |

---------------- |---------------- |---------------- |---------------- |---------------- |---------------- |
TotalCollections [Gen0] |     collections |           22.59 |           22.59 |           22.59 |            0.00 |
TotalCollections [Gen1] |     collections |            7.89 |            7.89 |            7.89 |            0.00 |
TotalCollections [Gen2] |     collections |            0.02 |            0.02 |            0.02 |            0.00 |
TotalBytesAllocated |           bytes |       31,039.32 |       31,039.32 |       31,039.32 |            0.00 |
[Counter] inbound ops |      operations |       83,750.36 |       83,750.36 |       83,750.36 |            0.00 |
[Counter] outbound ops |      operations |       83,750.40 |       83,750.40 |       83,750.40 |            0.00 |
[Counter] connected clients |      operations |            3.30 |            3.30 |            3.30 |            0.00 |
[Counter] exceptions caught |      operations |            0.00 |            0.00 |            0.00 |            0.00 |
Raw Data
TotalCollections [Gen0]
       Run # |     collections | collections / s |ns / collections |

---------------- |---------------- |---------------- |---------------- |
1 |        5,426.00 |           22.59 |   44,275,524.88 |
TotalCollections [Gen1]
       Run # |     collections | collections / s |ns / collections |

---------------- |---------------- |---------------- |---------------- |
1 |        1,895.00 |            7.89 |  126,775,196.83 |
TotalCollections [Gen2]
       Run # |     collections | collections / s |ns / collections |

---------------- |---------------- |---------------- |---------------- |
1 |            6.00 |            0.02 |40,039,833,000.00 |
TotalBytesAllocated
       Run # |           bytes |       bytes / s |      ns / bytes |

---------------- |---------------- |---------------- |---------------- |
1 |    7,456,856.00 |       31,039.32 |       32,217.20 |
[Counter] inbound ops
       Run # |      operations |  operations / s | ns / operations |

---------------- |---------------- |---------------- |---------------- |
1 |   20,120,103.00 |       83,750.36 |       11,940.25 |
[Counter] outbound ops
       Run # |      operations |  operations / s | ns / operations |

---------------- |---------------- |---------------- |---------------- |
1 |   20,120,112.00 |       83,750.40 |       11,940.24 |
[Counter] connected clients
       Run # |      operations |  operations / s | ns / operations |

---------------- |---------------- |---------------- |---------------- |
1 |          792.00 |            3.30 |  303,332,068.18 |
[Counter] exceptions caught
       Run # |      operations |  operations / s | ns / operations |

---------------- |---------------- |---------------- |---------------- |
1 |            0.00 |            0.00 |240,238,998,000.00 |

Ubuntu 16.04 LTS, Mono 4.4.2 Perf Numbers - Stress Test
Helios.HorizontalScaling.Tests.Performance.Channels.TcpServerSocketChannelHorizontalScaleSpec+TcpServerSocketChannel_horizontal_scale_stress_test
Measures how quickly and with how much GC overhead a TcpSocketChannel --> TcpServerSocketChannel connection can decode / encode realistic messages
08/17/2016 22:41:58
System Info
NBench=NBench, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null
OS=Unix <IP_ADDRESS>
ProcessorCount=2
CLR=4.0.30319.42000,IsMono=True,MaxGcGeneration=1
WorkerThreads=200, IOThreads=2

NBench Settings
RunMode=Iterations, TestMode=Measurement
SkipWarmups=True
NumberOfIterations=1, MaximumRunTime=00:00:01
Concurrent=True
Tracing=False

Data

Totals
      Metric |           Units |             Max |         Average |             Min |          StdDev |

---------------- |---------------- |---------------- |---------------- |---------------- |---------------- |
TotalCollections [Gen0] |     collections |        7,815.00 |        7,815.00 |        7,815.00 |            0.00 |
TotalCollections [Gen1] |     collections |          179.00 |          179.00 |          179.00 |            0.00 |
TotalBytesAllocated |           bytes |   12,742,400.00 |   12,742,400.00 |   12,742,400.00 |            0.00 |
[Counter] inbound ops |      operations |   19,724,157.00 |   19,724,157.00 |   19,724,157.00 |            0.00 |
[Counter] outbound ops |      operations |   19,726,452.00 |   19,726,452.00 |   19,726,452.00 |            0.00 |
[Counter] connected clients |      operations |          742.00 |          742.00 |          742.00 |            0.00 |
[Counter] exceptions caught |      operations |            0.00 |            0.00 |            0.00 |            0.00 |
Per-second Totals
      Metric |       Units / s |         Max / s |     Average / s |         Min / s |      StdDev / s |

---------------- |---------------- |---------------- |---------------- |---------------- |---------------- |
TotalCollections [Gen0] |     collections |           32.56 |           32.56 |           32.56 |            0.00 |
TotalCollections [Gen1] |     collections |            0.75 |            0.75 |            0.75 |            0.00 |
TotalBytesAllocated |           bytes |       53,089.86 |       53,089.86 |       53,089.86 |            0.00 |
[Counter] inbound ops |      operations |       82,178.61 |       82,178.61 |       82,178.61 |            0.00 |
[Counter] outbound ops |      operations |       82,188.17 |       82,188.17 |       82,188.17 |            0.00 |
[Counter] connected clients |      operations |            3.09 |            3.09 |            3.09 |            0.00 |
[Counter] exceptions caught |      operations |            0.00 |            0.00 |            0.00 |            0.00 |
Raw Data
TotalCollections [Gen0]
       Run # |     collections | collections / s |ns / collections |

---------------- |---------------- |---------------- |---------------- |
1 |        7,815.00 |           32.56 |   30,712,182.19 |
TotalCollections [Gen1]
       Run # |     collections | collections / s |ns / collections |

---------------- |---------------- |---------------- |---------------- |
1 |          179.00 |            0.75 |1,340,869,853.63 |
TotalBytesAllocated
       Run # |           bytes |       bytes / s |      ns / bytes |

---------------- |---------------- |---------------- |---------------- |
1 |   12,742,400.00 |       53,089.86 |       18,835.99 |
[Counter] inbound ops
       Run # |      operations |  operations / s | ns / operations |

---------------- |---------------- |---------------- |---------------- |
1 |   19,724,157.00 |       82,178.61 |       12,168.62 |
[Counter] outbound ops
       Run # |      operations |  operations / s | ns / operations |

---------------- |---------------- |---------------- |---------------- |
1 |   19,726,452.00 |       82,188.17 |       12,167.20 |
[Counter] connected clients
       Run # |      operations |  operations / s | ns / operations |

---------------- |---------------- |---------------- |---------------- |
1 |          742.00 |            3.09 |  323,471,298.92 |
[Counter] exceptions caught
       Run # |      operations |  operations / s | ns / operations |

---------------- |---------------- |---------------- |---------------- |
1 |            0.00 |            0.00 |240,015,703,800.00 |


Payment method restriction by countries

Description

Skeleton

Sorry, had to rename the package.

Will this handle it for all payment methods or only invoice?

You can specify any payment method that should be excluded via a country restriction


UIImage Transformables disappearing

IOS 10 swift 3
Hi, I've been using transformables to save UIImage thumbnails. These all disappeared when I installed ensembles, and after adding them back they seem to stay for a while, then disappear again (I assume when it resyncs). For larger files I am saving as Binary Data with external storage which so far works fine. Other transformables that just contain a small amount of data seem to also be working fine. I haven't sync'd to any other devices, it's just on my Iphone so far, as I'm just trying to get this half working correctly first. I didn't want the thumbnails to be saved externally as I wanted them to be accessed quickly as they are the main images in a long table. Looking in the db on my phone, all the items in the thumbnail column seem to have been set to null.
Is there a size limit for fields that can be synced? Is there anything else I may have missed? I'm completely new to Ensembles.
Thanks

I just tried installing on a second device, and it first had an empty database, and when I restarted the program it crashed at:
BOOL passedChecks = [revisionManager checkRebasingPrerequisitesForEvents:eventsToMerge error:&error];
EXEC_BAD_ACCESS
in the rebaseWithCompletion function.

Hi Susie,
I’m not 100% what is wrong here, but I don’t think UIImage is a good transformable to use. It doesn’t seem to conform to NSCoding, so you would at the very least have to make your own transformer. Did you do that?
Also, if you ever make a Mac app, you can’t import your data (no UIImage).
My suggestion is to store as PNG data. UIImage has a method to get the PNGData, and you can put that on disk.
You could even make a transformer that simply extracts the PNG, or uses it to make a UIImage.
Hope that helps.
Kind regards,
Drew

On 30 Nov 2016, at 09:00, Susie Johnston<EMAIL_ADDRESS>wrote:
I just tried installing on a second device, and it first had an empty database, and when I restarted the program it crashed at:
BOOL passedChecks = [revisionManager checkRebasingPrerequisitesForEvents:eventsToMerge error:&error];
EXEC_BAD_ACCESS
in the rebaseWithCompletion function.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/drewmccormack/ensembles/issues/248#issuecomment-263807669, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEuAFW5zsQr81wCqvLUSxiFcxENE7V8ks5rDS0JgaJpZM4K_4sv.

For completeness, here is a value transformer I found:
https://github.com/BendingSpoons/teleporter-lib-iOS/blob/master/Teleporter/NSValueTransformer%2BUIImage.m https://github.com/BendingSpoons/teleporter-lib-iOS/blob/master/Teleporter/NSValueTransformer+UIImage.m
Kind regards,
Drew

On 30 Nov 2016, at 09:00, Susie Johnston<EMAIL_ADDRESS>wrote:
I just tried installing on a second device, and it first had an empty database, and when I restarted the program it crashed at:
BOOL passedChecks = [revisionManager checkRebasingPrerequisitesForEvents:eventsToMerge error:&error];
EXEC_BAD_ACCESS
in the rebaseWithCompletion function.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/drewmccormack/ensembles/issues/248#issuecomment-263807669, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEuAFW5zsQr81wCqvLUSxiFcxENE7V8ks5rDS0JgaJpZM4K_4sv.

I had written a transformer class (well, based off other peoples) to transform the UIImage which had been working fine before. I'll switch to storing just the data. I hadn't yet looked at a Mac version of my app, but plan to at some stage (data entry would be much easier). I didn't know you couldn't use UIImage for the Mac, so that is really good to know. Thanks :) Maybe I'll disable ensembles temporarily, then copy my backup database back to my phone, copy the images into a separate column as png/jpg, disable the old column, then try again with ensembles. Thanks for your help :)

OK. Best to try to delete any cloud data you have before starting to sync again.
Drew

On 30 Nov 2016, at 09:41, Susie Johnston<EMAIL_ADDRESS>wrote:
I had written a transformer class (well, based off other peoples) to transform the UIImage which had been working fine before. I'll switch to storing just the data. I hadn't yet looked at a Mac version of my app, but plan to at some stage (data entry would be much easier). I didn't know you couldn't use UIImage for the Mac, so that is really good to know. Thanks :) Maybe I'll disable ensembles temporarily, then copy my backup database back to my phone, copy the images into a separate column as png/jpg, disable the old column, then try again with ensembles. Thanks for your help :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/drewmccormack/ensembles/issues/248#issuecomment-263815064, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEuACC6SosgrloifltM0ywcjBJs7Ym6ks5rDTa2gaJpZM4K_4sv.

Out of interest, what were you transforming the UIImage to exactly? Ensembles can only handle NSData for a transformable. Core Data may be a bit more lenient, I’m not sure.
Drew

On 30 Nov 2016, at 09:41, Susie Johnston<EMAIL_ADDRESS>wrote:
I had written a transformer class (well, based off other peoples) to transform the UIImage which had been working fine before. I'll switch to storing just the data. I hadn't yet looked at a Mac version of my app, but plan to at some stage (data entry would be much easier). I didn't know you couldn't use UIImage for the Mac, so that is really good to know. Thanks :) Maybe I'll disable ensembles temporarily, then copy my backup database back to my phone, copy the images into a separate column as png/jpg, disable the old column, then try again with ensembles. Thanks for your help :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/drewmccormack/ensembles/issues/248#issuecomment-263815064, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEuACC6SosgrloifltM0ywcjBJs7Ym6ks5rDTa2gaJpZM4K_4sv.

Just as Data. I think I may have originally had it as NSData, but when it upgraded to swift 3 it converted to Data. This particular class I originally basically just copied from examples as it was the first transformable I've used. A lot of the thumbnails were generated from jpgs that had been scraped (so far haven't looked much into legal issues of scraping...), which is why they are jpegrepresentation. Is there an advantage of using pngs instead? Here is my transformer class:
class ImageTransformer: ValueTransformer {
override class func allowsReverseTransformation() -> Bool {
	return true
}

override class func transformedValueClass() -> AnyClass {
	return Data.self as! AnyClass
}

override func transformedValue(_ value: Any?) -> Any? {
	if let image = value as? UIImage {
		return UIImageJPEGRepresentation(image, 1.0)
	}
	return nil
}

override func reverseTransformedValue(_ value: Any?) -> Any? {
	if let data = value as? Data {
		return UIImage(data: data)
	}
	return nil
}

}

Where do you delete the cloud data (without deleting local data)? I have about 200 entries in my db which I really don't want to have to add back in manually.

JPEG should be OK, but I have a feeling UIImage(data:) will not recognize it properly without a jpeg extension. That may be the problem you were having.
I think you would need to write the data to file, and use a jpeg extension.
PNG should just work regardless. It is basically the native format.
Drew

On 30 Nov 2016, at 10:36, Susie Johnston<EMAIL_ADDRESS>wrote:
Just as Data. I think I may have originally had it as NSData, but when it upgraded to swift 3 it converted to Data. This particular class I originally basically just copied from examples as it was the first transformable I've used. A lot of the thumbnails were generated from jpgs that had been scraped (so far haven't looked much into legal issues of scraping...), which is why they are jpegrepresentation. Is there an advantage of using pngs instead? Here is my transformer class:
class ImageTransformer: ValueTransformer {
override class func allowsReverseTransformation() -> Bool {
return true
}
override class func transformedValueClass() -> AnyClass {
return Data.self as! AnyClass
}
override func transformedValue(_ value: Any?) -> Any? {
if let image = value as? UIImage {
return UIImageJPEGRepresentation(image, 1.0)
}
return nil
}
override func reverseTransformedValue(_ value: Any?) -> Any? {
if let data = value as? Data {
return UIImage(data: data)
}
return nil
}
}
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/drewmccormack/ensembles/issues/248#issuecomment-263826547, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEuANn99sVlHi_5JO4AopMU32KrZs9xks5rDUOHgaJpZM4K_4sv.

Best way to clear all data is to deleech on the device, and then use the iCloud Settings to delete the cloud data in iCloud Drive for you app.
That should leave your local data intact on the iPhone. Later, when you start syncing again, it should upload the data again.
Drew

On 30 Nov 2016, at 10:48, Susie Johnston<EMAIL_ADDRESS>wrote:
Where do you delete the cloud data (without deleting local data)? I have about 200 entries in my db which I really don't want to have to add back in manually.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/drewmccormack/ensembles/issues/248#issuecomment-263829358, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEuAG231x267ALHEepOkUFAG1ftP1Mbks5rDUZtgaJpZM4K_4sv.


Put Key Pieces and Crystals earlier in logic

It looks like Crystals are still broken though. 5 packs don't appear in the spoiler log and I've never seen Batreaux have progress except for 5 and 10 crystals checks.

It looks like gratitude crystals are already filtered out before, at make_useless_progress_items_nonprogress. Because 5 Gratitude Crystals never shows up in any requirements, since it's treated as 5 single crystals. Crystals lying around aren't relevant here though, since they are forced to be vanilla anyways

I fixed crystals via macros. I tried to change "make_useless_progress_items_nonprogress" first, but then there was also a problem when calculating progressin spheres. At least now there can be progress at high Batreaux rewards!


⚠ TouchNet has degraded performance

In 6b1e21b, TouchNet (https://secure.touchnet.com/C20715_tsa/web) experienced degraded performance:

HTTP code: 200
Response time: 6073 ms

Resolved: TouchNet performance has improved in a175ac5 after .


Replace all not working on large file

VSCode Version: 1.22.2
OS Version: OS X 10.12.6

I have a really large svg file (900mb).
I try to use replace all on <!-- Circle --> to get rid of those comments.
It has more then 19999+ of those.
Replace all does nothing, replace 1 by 1 does work.
If you can't reproduce this then I can see if I can upload the file somewhere.

Duplicate of https://github.com/Microsoft/vscode/issues/40580, let track it there. Thanks!


camera package - photo taken by front camera is mirrored

Hi
On Android, when using the camera plugin the photo taken by front camera is mirrored.
Note: This is not a problem when using the back camera.

https://github.com/flutter/flutter/issues/27650

Please apply matrix.prescale(1.0,-1.0).
Your issue will resolve.

The camera package automatically writes the image to disk before you have a chance to do anything with it. I ended up using the image_editor package and doing this:
      // bug - when taking a photo using the front camera it is mirrored initially (horizontally)
      // solution - flip the image bitmap on its X axix
      if (_cameras[_selectedCameraIndex].lensDirection == CameraLensDirection.front) {
        // 1. read the image from disk into memory
        var file = File(path);
        Uint8List imageBytes = await file.readAsBytes();
        // 2. flip the image on the X axis
        final ImageEditorOption option = ImageEditorOption();
        option.addOption(FlipOption(horizontal: true));
        imageBytes = await ImageEditor.editImage(image: imageBytes, imageEditorOption: option);
        // 3. write the image back to disk
        await file.delete();
        await file.writeAsBytes(imageBytes);
      }

Perhaps there is a better way of doing this, i.e. intercepting the camera and flipping the image before it is written to disk - or perhaps if the bug were fixed in the camera package (!) but the above works like a charm. :)

@darre1 please don't close the issue, this is indeed an issue that we would like to resolve correctly in the plugin.
We are currently in the process of solving a whole range of orientation related issues as part of PR #flutter/plugins#3390. Changes are this issue will also be resolved when this PR lands. I will make sure to run some additional tests.

@darre1 please don't close the issue, this is indeed an issue that we would like to resolve correctly in the plugin.
We are currently in the process of solving a whole range of orientation related issues as part of PR #flutter/plugins#3390. Changes are this issue will also be resolved when this PR lands. I will make sure to run some additional tests.

ok, no prob :)

ok, no prob :)

27650 was re-opened, so closing as a duplicate of that.


Skip empty hooks directories by default

We should not consider empty hooks directories because they could lead
into inappropriate error messages. As a background information, we would
like to be able to specify empty hooks directories in CRI-O without further
processing of the hooks-dir configuration string slice.
Relates to https://github.com/cri-o/cri-o/issues/3179

/approve
LGTM

Why are we adding empty-string hooks directories? I'm really confused as to what's going on here - this seems somewhat questionable?

If we should be skipping empty directories, code LGTM.  Interested in hearing the answer to @mheon's question.

I believe the code search
/usr/share/containers/oci/hooks.d
/etc/containers/oci/hooks.d
If either one of these is empty then we should ignore it.
@saschagrunert Is this the issue?

I'm fine with not erroring on hooks directories that are specified, but don't exist, but this seems to be ignoring the empty string - which is very different, and looks like invalid input?

If it's just directories that are specified not existing, we should already catch that lower in the file?

I'm fine with not erroring on hooks directories that are specified, but don't exist, but this seems to be ignoring the empty string - which is very different, and looks like invalid input?

Sorry for the confusion. Yeah it's about invalid input. I played around with CRI-O (using this part of libpod) and had multiple combinations of CLI and config parameters which more or less resulted in passing a []string{""} slice to this function. I'll close it for now and check if we can solve it in CRI-O in a more meaningful way.


WIP feat: Malformed Lint Directive Rule

This feature is currently a work in progress, but I'm creating a PR so Andrew can offer some help troubleshooting.
This pull request adds a new rule to wdl-lint.

Rule Name: MalformedLintDirective

I am having difficulty unwrapping the comment.syntax().prev_token() in malformed_lint_directive.rs', within the comment` function.
I have tried using both expect() and unwrap(), but suspect that I'm missing some key error handling in accessing the previous token when there is no previous token to unwrap. I figure there's still some knowledge gaps for me in exactly how data is passed into this Comment function.

Don't worry about the existing history, but going forward this repo likes to use conventional commits, so check out that link and start using those for you commit messages. Clearly a biased source here, but we all think they make for a much cleaner git history and you should probably use them going forward.
And it's fine to leave as is while your PR is in draft state, but make sure to go back and edit your PR description so that it fits the complete template (if you deleted it, you can check out the source here)

@a-frantz I've updated my branch to implement two Diagnostics in the malformed_lint_directive rule:

inline_lint_directive - assigned when a comment is recognized as an inline comment and a lint directive
invalid_lint_directive - assigned when the lint directive keyword is not in a formally declared list of lint directives (current, just "except").

Something is going wrong in trying to call the .with_fix() in my invalid_lint_directive method, but I can't quite crack it. Please review and let me know if I'm missing anything, and any other sloppy code in the branch that can be improved.
Thanks!  🚀


how to drag to Finder toolbar in OS Catalina?

I tried several times, after it is in the Application. but it does not work, any solution?
thanks.

It hasn't changed in Catalina, its while holding cmd + drag and drop


Use of uninitalized value in WelsVP::VAACalcSadVar_c

In Chrome development, we hit this MSAN error (copy of stderr):
STDERR: [OpenH264] this = 0x0x703000041e20, Warning:Change QP Range from(0,51) to (12,42)
STDERR: [OpenH264] this = 0x0x703000041e20, Warning:iNumRefFrame(1) setting does not support the temporal and LTR setting, will be reset to 2
STDERR: ==1==WARNING: MemorySanitizer: use-of-uninitialized-value
STDERR:     #0 0x55da3a306857 in WelsVP::VAACalcSadVar_c(unsigned char const*, unsigned char const*, int, int, int, int*, int*, int*, int*) ./../../third_party/openh264/src/codec/processing/src/vaacalc/vaacalcfuncs.cpp:177:17
STDERR:     #1 0x55da3a31165f in WelsVP::CVAACalculation::Process(int, SPixMap*, SPixMap*) ./../../third_party/openh264/src/codec/processing/src/vaacalc/vaacalculation.cpp:0:0
STDERR:     #2 0x55da3a2ea8e2 in WelsVP::CVpFrameWork::Process(int, SPixMap*, SPixMap*) ./../../third_party/openh264/src/codec/processing/src/common/WelsFrameWork.cpp:169:26
It can be reproduced by compiling Chrome with MSAN and running the "simulcast/h264.html" test from the Web Platform Tests suite.
GN configuration that reproduces the error:
is_component_build = false
is_debug = false
is_msan = true
msan_track_origins = 2
use_goma = true
proprietary_codecs = true
ffmpeg_branding = "Chrome"
Command line that triggers the error:
out/msan/content_shell --run-web-tests third_party/blink/web_tests/external/wpt/webrtc/simulcast/h264.https.html

Tagging @mzanaty

There also appears to be the same kind of problem at https://source.chromium.org/chromium/chromium/src/+/master:third_party/openh264/src/codec/processing/src/vaacalc/vaacalcfuncs.cpp;l=85

is this issue still existing in latest version?


SSL interception unable to load repository or login

Expected behavior
Login to Docker Hub
Actual behavior

self signed certificate chain error
Cannot login to dockerhub when in a network that replaces certificates with the companies certificates.

Information about the Issue
Steps to reproduce the behavior
Load applicaiton behind proxy and ssl interception

I'm guessing you're still using Toolbox? if you're able to run Docker for Mac/Windows, I would suggest using that instead.
If not, please see the instructions below for a possible solution:
https://github.com/docker/kitematic/wiki/Common-Proxy-Issues-&-Fixes


fix(controllers): applicationID may be undefined set fallback to botID

Please describe the changes this PR makes and why it should be merged:
Status

[x] Code changes have been tested against the Discord API, or there are no
code changes

Semantic versioning classification:

[ ] This PR changes the library's interface (methods or parameters added)

[ ] This PR includes breaking changes (methods removed or renamed,
parameters moved or removed)

[ ] This PR only includes non-code changes, like changes to documentation,
README, etc.

According to the documentation, the "application" field in the ReadyPayload is NEVER undefined or null. ReadyPayload.application is a partial application object, which always includes the properties "id" and "flags".

According to the documentation, the "application" field in the ReadyPayload is NEVER undefined or null. ReadyPayload.application is a partial application object, which always includes the properties "id" and "flags".

It can be undefined according to my tests

It can be undefined according to my tests

In my test the application field did not exist therefor the applicationID var was undefined. So the slash command endpoints did not work. I have set the botID as fall-back and then everything has worked. The documentation is wrong in this case.

In my test the application field did not exist therefor the applicationID var was undefined. So the slash command endpoints did not work. I have set the botID as fall-back and then everything has worked. The documentation is wrong in this case.


skytools3 b0 still not support Python3

I download the latest version of skytools3 with skytools_3_0_b0.zip.
Try to install on Python3.2.2. Noticed that skytools3 still support Python2 only.

Yes, python 3 is low priority at the moment.  I wont have time to look into it deeply before 3.0 is out.  But feel free to submit patches...

Yes, you are right. Supporting Python3 is next step after 3.0 is out


Accent not supported

Hello Daniel,
I've implemented your Keyboard Kit library for my Custom Keyboard extension. I'm happy to integrate your library.
Now I want to achieve keyboard accent support for my custom keyboard accent. How can I achieve this?
Please help me out.
Thanks and Regards.

Hi! This is a duplicate of https://github.com/danielsaidi/KeyboardKit/issues/182 so let's continue the discussions there. 👍


WIP: add archlinux support

This patch adds the required commands to support archlinux/pacman based
containers.

Hi @nishakm ! I owed you this. I'm assuming you'd like some tests for this feature? :+1:
Also, I think that DCA bot has a typo, the commit was signed, yet it didn't have a signed-off-by (-S vs -s). I ammended the commit to include the line, but I wonder if that check is intentional.

Thank you for this! I'll take a look at what the DCO bot did. Do you have an image I can test this on?

Yes, we have an ArchLinux image under archlinux/base on DockerHub. It's a little big, but once we trim the fat we'll have it on the official library

@SantiagoTorres Works great on archlinux/base! I'd like to merge this. Would you mind squashing the two commits and resubmitting without the WIP?
I'm not sure why the DCO bot placed the required on your previous commit as your original commit is no longer available. Do you want to experiment and resubmit this PR on a new branch with your original commit message if you remember what that looked like? If not, then I'll ask the maintainer of the DCO bot if they have logs or something. Thanks so much!

@SantiagoTorres Works great on archlinux/base! I'd like to merge this. Would you mind squashing the two commits and resubmitting without the WIP?

Sure thing! Let me re-do this PR Then

I'm not sure why the DCO bot placed the required on your previous commit as your original commit is no longer available. Do you want to experiment and resubmit this PR on a new branch with your original commit message if you remember what that looked like?

I don't think it's worth the hassle imho. Thanks!

Refer to #189 for follow-up PR. Thanks again @SantiagoTorres!


Cache Avatars

Would it be possible to add an option to cache avatars?


python2 shebang

I'm not sure at this moment but AFAIK at least on RHEL-7, Python shebang lines are supposed to be in form:
#!/usr/bin/python

ie. without the 2 or 3 at the end.  However,
$ rpm -q leapp
leapp-0.3-1.devel.20181012.git.218.noarch
$ head -1 /usr/bin/leapp
#!/usr/bin/python2

I think the python2 is correct, because

the hashbang is genereated by %py2_build macro in spec file and the macro is part of python2-rpm-macros package
rpmlint does not complain about the hashbang

I'm not sure what do you mean by 1., but just note that policy might be different for RHEL-7.  Also I've checked couple of other python shebangs on RHEL-7 and all of them were #!/usr/bin/python, ie. no 2.

The /usr/bin/leapp script is generated during the build of leapp package and the responsible macro %py2_build comes from the package python-devel on RHEL7. Therefore I assume the hashbang correct, otherwise it would mean that there is a bug in python-devel package.


Frontend Project "Valient-Institute-Site-main" Contact Form Button Alignment Correction

Title and Issue number
Frontend Project "Valient-Institute-Site-main" Contact Form Button Alignment Correction
Close #3311
Checklist:

[x] I have mentioned the issue number in my Pull Request.
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have created a helpful and easy to understand README.md

@MohitGupta121 Kindly review this PR


Enable Velox Parquet Reader with IAA

Issue link [4379] (https://github.com/facebookincubator/velox/issues/4379)
The Intel® In-Memory Analytics Accelerator (Intel® IAA) is a hardware accelerator that provides very high
throughput compression and decompression combined with primitive analytic functions. It is available in the newest generation of Intel® Xeon® Scalable processors ("Sapphire Rapids"). We observed a decompression hotspot like snappy::Rawuncompress function when Velox runs TPCH benchmark with parquet format data . The IAA has a good chance to accelerate Velox, especially table scan operation intensive workload. Therefore, we enabled the IAA to Velox native parquet reader.
The IAA relies on QPL library, the QPL only supports Linux systems and x86 processor. If the CPU has no IAA devices, the QPL can be run with software path, if CPU has, it can be run with hardware path.
We run the TPCH benchmark and SSB benchmark, the SSB benchmark is implemented by us, not including in this PR. The result shows.

In terms of performance, IAA decompression has 9%~15% improvement compared with ZSTD, and is very close to snappy, 21%(SSB) and 79%(TPCH) improvement compared with gzip.

In terms if compression ratio, IAA has 5%~12% improvement compared with zstd, has 16%~21% improvement compared with snappy, and is very close to gzip.

In this PR, because IAA (de)compression needs initialize job buffer for submitting job to IAA, these job buffer need to free when Velox exits, but now I don`t know where to free. If you know, please tell me, thanks.

@Yuhta , thanks for your comments, I have synced the version with main branch of upstream. Also, I have added the 'VELOX_ENABLE_QPL' in the CMakelists.txt file, and modified related code in the cpp file. The nasm and uuid libraries dependency will be installed in setup scripts, including ubuntu, centos-8, circleci and adapter script.

@Yuhta Thanks， the job_buffer variable has been put in object, please help to review.

Can we add some test? You can put the data in tests/examples

@Yuhta, Thanks for your comment quickly, I understand there are two methods to test IAA decompression. One is unittest, there is a ./velox/velox/dwio/parquet/tests/reader/ParquetReaderBenchmark.cpp file in velox. Another is velox_tpch_benchmark. Whatever which method is adopted, there is a issue need to be noted. We need to put a enough large dataset to test. Because for IAA, IAA has a job buffer initialization cost, but SW(snappy, zstd, gzip) algorithms not, so if the test dataset is too small, the bottleneck will be the IAA job buffer initialization, rather than decompression. In the local test before, I used TPC-H 100G dataset,  I can see 9%-15% performance improvement compared to ZSTD.

Unit test is enough to make sure it's not broken for now. You can add benchmark to track the performance later. Can you rebase on the latest version to make sure the builds are passing?

Sure!

The test is crashing in CircleCI BTW

Sorry, I cant reproduce this segment fault locally, do you have any details about the CircleCI platform, including CPU, OS, GCC version and so on. Also, I run this test by executing the command velox_dwio_parquet_reader_test, not all tests, I dont know if there is a difference.  Thanks.

The os is Ubuntu 20.04.5 and gcc version is 9.2.1.  You can find the info in the log.  Detailed spec about CPU does not seem available though.


Prepared for multiple word options

I want to make a commands like this?
"you are (super|big) :adjctive": function(adjective){
        console.log(adjective);
 },

Can I? I try using " | " but don't work.
Thanks btw

You can do by defining your commands as regular expressions. This is explained in the API docs.

Thanks! This solve my problem.


There seems no implementation of positional_encoding

Hello, thanks for the PyTorch implementation!
There seems no implementation of positional_encoding,does that influence in the stream model?

sorry,I just realized A0-A3 don't need positional_encoding

Hi, could you please explain why you mentioned that they are not needed with A0-A3?

@usernameandme
I had not seen it! Many thanks!


Unable to pass  table ID in Html to powerPoint options

Hi  Below is my Code:  I am getting below error
pptxgen.es.js?8f74:1100 Uncaught Error: tableToSlides: Table ID "tabAutoPaging" does not exist!
Kindly help me to resolve this
  ppt = () => {
    var pptx = new PptxGenJS();
    pptx.defineLayout('LAYOUT_16x9');
    pptx.defineSlideMaster({
      title: 'MASTER_SLIDE',
      bkgd: 'F0F0F0',
      objects: [

        { 'rect': { x: 0.0, y: 0, w: '100%', h: 0.5, fill: 'FFFFFF' } },
        { 'image': { x:0, y:0,h:0.5, path:Logo } }

      ],

    });

var slide = pptx.addNewSlide('MASTER_SLIDE');

Row
Last Name
First Name
Description

pptx.tableToSlides("tabAutoPaging");
}

The tableToSlides argument is the <table id="tabAutoPaging"> value.
It looks like you copied the demo code, which is fine, but you need to use the same id on your HTML table.

I have passed the same id but its not working.
i have used the table  option inside the funtion but its not working.
Could you please help me to come out from this..?
Regards
Ashok

If you're generating the table, ensure it exists first.  Otherwise, you'll have to work on it.


[LUPEYALPHA-551] Admins can upload + download eligible FE providers

Context

https://dfedigital.atlassian.net/browse/LUPEYALPHA-551
Admins can upload a CSV to update eligible FE providers
Admins can also download a CSV to view the current eligible FE providers

Changes

Added to admin layout, content_for for back link. ALL the current back links in the admin area are not in the correct position. Once this is merged we can start slowly moving these to the correct position
Added class EligibleFeProvidersImporter to handle upload of CSV of eligible FE providers. This does all the heavy lifting, we could call this in a job if we need it to be async
The uploading of eligible FE providers is done synchronously. This feature is behind authentication and authorisation so don't expect any abuse of the feature. The number of records to update at the moment is 288 so not expecting long running SQL queries. And also don't expect the dataset to change very often

Screenshots
how to access feature

download screen

upload screen

upload error screen

Looks good. The main thing I would check with the design team is the design of the upload/download pages as these are inconsistent with those of the LUP policy, which might cause confusion for users.

I don't have any new designs to refer to for this page, I'm happy to put this ticket on hold if we want to wait for designs.
I'm confident to say the existing design and existing implementation is kludged together with no design thought applied as it already has multiple responsibilities on the page. I've added this new functionality on the new page rather than append it to an already busy page. I'm hoping the other responsibilities could be extracted out into different pages further down the line.

I don't have any new designs to refer to for this page, I'm happy to put this ticket on hold if we want to wait for designs.
I'm confident to say the existing design and existing implementation is kludged together with no design thought applied as it already has multiple responsibilities on the page. I've added this new functionality on the new page rather than append it to an already busy page. I'm hoping the other responsibilities could be extracted out into different pages further down the line.

Absolutely it was because I did it ;) But I think we would want a consistent design, regardless. Let's ask them what they think.

Absolutely it was because I did it ;) But I think we would want a consistent design, regardless. Let's ask them what they think.

I've now updated so the upload and download sections are inline at the bottom of the journey configuration screen


Division by zero in PortscanAttack when the most active IP did not send any packets

Issue by carlos.garcia
Wednesday Nov 02, 2016 at 13:41 GMT
Originally opened as https://git.tk.informatik.tu-darmstadt.de/SPIN/ID2T-toolkit/issues/3

If the most active IP did not send any packets, there is a division by zero in the PortscanAttack. This can happen if, for example, an IP has a lot of packets received but none sent.

Comment by carlos.garcia
Wednesday Nov 02, 2016 at 15:17 GMT

I plan to fix this by taking into account both, the sent and received packets.

Comment by carlos.garcia
Thursday Nov 03, 2016 at 11:20 GMT

Fix #3: Consider sent and received packets for the PPS

Comment by carlos.garcia
Thursday Nov 03, 2016 at 11:20 GMT

Comment by carlos.garcia
Thursday Nov 03, 2016 at 11:25 GMT

Fix #3: Consider sent and received packets for the PPS

Comment by carlos.garcia
Thursday Nov 03, 2016 at 11:27 GMT

Comment by carlos.garcia
Thursday Oct 05, 2017 at 13:02 GMT


ElasticSearchClient

Please, prepare for connecting to a database for storing the application data.

Decision at ApplicationOwner Call on Friday, 30th of September 2022:
The Accessport2LtpTranslator shall calculate the response for each request individually.
Means: There shall be no cyclic operation, which is updating an internal data store.
No ElasticSearchClient require.
Issue to be closed without further activities.


[FEATURE REQUEST] File naming: Add output/destination subfolder name into the filename

/assets/${filename}_assets
As above, I set the attachment on attachment location
Hopefully the converted files will also be in this folder

I was looking into it. Not sure when I would release it yet, but it would be under variable {subfolder}, so then user would be able to build their own desired filename structure via variables:
{Filename}{Filename With Ext}{Filename Number}{Directory}{Folder name}{Accessed Date}{Creation Date}{Modified Date}{Size}{Size B}{Size KB}{File Type}{Current Date}{Color Model}{Compression}{Width}{Height}{DPI}{Ratio}{EXIF}{IPTC}
Also which plugin is in the screenshot? It manages all folder structure and file naming in 1 input field - I would be separating the 2.

This would be really helpful, and cut down on the number of options you need to specify in the default dropdown, would definitely be interested in this

Option to create custom filenames and output folder structures via variables is now available in 1.2.0. For currently supported variables please check settings of the plugin or this doc .


Remove logic from .rjs files, turn them to .erb syntax

stickies/create.js.rjs
template_time_slots/create.js.rjs
requested_shifts/create.js.rjs
requested_shifts/destroy.js.rjs
requested_shifts/update.js.rjs
reports/update_reports.js.rjs
locations/toggle.js.rjs
loc_groups/toggle.js.rjs
links/create.js.rjs
data_objects/index.js.rjs
data_fields/update_form.js.rjs
data_field_types/_for_form.js.rjs
data_entries/create.js.rjs
announcements/create.js.rjs
announcements/update.js.rjs
All of these files have much too much logic in them for simple JS views. First, we need to refactor them into controllers or helpers, then we need to change the syntax from rjs to jQuery.

It remains to convert:

repeating_events/create.js.rjs
repeating_events/destroy.js.rjs
repeating_events/update.js.rjs
data_objects/index.js.rjs (Used only by removed observe_field methods in the view)
requested_shifts/create.js.rjs (Not used anymore)
template_time_slots/create.js.rjs (Not used anymore)


Update Budget of Concept

This PR updates the Budget of Concept based on the rules specified in the technical design (solving issues #67 , #68 , #71 )

There appears to be a bug in dev branch, that when the budget of item is updated, its corresponding level in Bag its not updated.  Maybe it can be fixed here?

Nevermind, the bug is a consequence of this PR


Is there a way to internationalize URLs?

I might use it and I'm thinking how to do it.
Anyone there knows how to use i18n to URL?
Like:
sornii.com/about (english)
sornii.com/sobre (portuguese)
sornii.com/chi-siamo (italian)

@Sornii did you figured it out ?

Nah, I think it should be better to build a route generator for flow-router with a JSON containing an key-value object with value being an array of possibilities using together with Tap i18n for URL links.


Consuming Stopped in Pinot 1.2.0

Problem Description
After upgrading Pinot from version 1.0.0 to 1.2.0 and running it for several weeks, consumption stopped from one partition.
Later, consuming stopped from all partitions handled by a single Pinot server.
How to Check
In the Pinot server log, Helix's completed tasks value is not increasing, and the queued tasks value is increasing with active threads=40
stopped server log
[2024-10-10 17:38:06.394] INFO [HelixTaskExecutor] [ZkClient-EventThread-108-real-zookeeper:2181] Scheduling message b2f4a6ab-1ce2-42f8-9207-48020206c2f5: inspectorStatAgent00_REALTIME:inspectorStatAgent00__24__144__20241008T0216Z, ONLINE->OFFLINE
[2024-10-10 17:38:06.394] INFO [HelixTaskExecutor] [ZkClient-EventThread-108-real-zookeeper:2181] Submit task: b2f4a6ab-1ce2-42f8-9207-48020206c2f5 to pool: java.util.concurrent.ThreadPoolExecutor@7fa15569[Running, pool size = 40, active threads = 40, queued tasks = 8721, completed tasks = 52682]
[2024-10-10 17:38:06.394] INFO [HelixTaskExecutor] [ZkClient-EventThread-108-real-zookeeper:2181] Message: b2f4a6ab-1ce2-42f8-9207-48020206c2f5 handling task scheduled

What to Do!
This issue can be resolved by restarting the Pinot server, but that won't prevent the problem from recurring.
To avoid data loss, adjust the Kafka retention period and the replicasPerPartition value of the realtime table.
Pinot already has a pull request for this issue. https://github.com/apache/pinot/pull/13632

More Details on the Cause of the Problem
For a single partition, the following occurs sequentially

helix task (OFFLINE->CONSUMING) scheduled for new segment
A request to /segmentConsumed returns a KEEP response.

which will make consuming thread to build(complete) segment

From the thread dump, the consuming thread is waiting for the segment lock, which is held by the (OFFLINE->CONSUMING) task thread.
The (OFFLINE->CONSUMING) task needs to acquire the _partitionGroupConsumerSemaphore, which is not released by the consuming thread.

The Pinot team is considering releasing a patched version.
Waiting for the release can be another option.


Need support for multi-group / multi-threshold signing

Currently, TUF delegations are limited to requiring a threshold number of signatures from one group of keys. Sometimes, a repository manager may want to provide a more elaborate set of requirements for who must sign a set of files.
Suppose there is a directory of targets in the repository that should be signed both by two keys from group A (developer keys, say) and by a key from group B (a change manager's key, say). That (requiring X keys out of group A and Y keys out of group B) is not currently possible in TUF.
An addition to the TUF spec is warranted to allow for this kind of complex trust arrangement.

Signing Groups was a proposal put forward as a way of solving this problem and allowing this sort of multiple-constraint setup.

We have an alternative design that should be flexible enough to address these concerns as well as a particular requirement for another project using TUF (Uptane).
The solution in the linked gist adds a new "MultiRoleDelegations" list to the "delegations" dictionary in Targets metadata. Please see that for more details.

Does this scheme suit your purposes, @ecordell?

@awwad Looks fantastic to me! As far as I can tell we get all properties we wanted from signing groups from that proposal, with the additional benefit of reducing the chance for races.

Alternative, normalized design proposal, with roles and delegations fully decoupled.
This should be easier to read than the previous and should lead to cleaner code. Delegations occur only in one place, and "roles" becomes similar to "keys": a resource for the delegations themselves, rather than one of two places delegations can be specified.

MRDs should probably be identifiable individually. Since they don't have names and there's no unique field at present, there's no means of specifically modifying one.
Could:

Add a function to revoke all delegations from role X to role set [A, B, C] (so that modifying the delegation would take the form of revoking it and adding again). One problem with this is that it would mean that managing the order of delegations would be more of a nuisance (remove many, add back).
Or add unique IDs to the MRDs, returning them from repository_tool.multi_role_delegate(), and altering functions like add_restricted_paths so that they can take the IDs. One problem with this is that it would mean that the metadata would be a little less deterministic.

I'm closing this issue since TAP 3 (multi-role delegations) now supports this feature.


Update to Cats 1.0.0-MF.

This currently errors on some Show tests, and I’m not sure why.

[info] newts.LastTest *** ABORTED ***
[info]   java.lang.ClassFormatError: Duplicate method name&signature in class file newts/Last$$anon$3
[info]   at java.lang.ClassLoader.defineClass1(Native Method)
[info]   at java.lang.ClassLoader.defineClass(ClassLoader.java:763)

I don't understand why we got this failure with your changes ...

Yeah, I get it locally, too – I’m guessing it’s due to some upstream change in Cats.
The rest of the stack trace points to the Show instances of those classes that error. But even using a constant string as the result of show results in the same error. However other classes have show instances that are also tested but don’t fail. I don’t know what makes the erroring cases special.

I wonder if we would have the same problem without AnyVal


Add suggestive self-examination to abnormal situations and use general error mechanism

Issue:
There is no doubt that the group of helm users is becoming more and more popular, but we just intuitively throw out problems and do not give empirical suggestions for users to self-check. Whether we consider adding a general prompt mechanism to provide some common errors to guide users to self-check. To some extent, this method solves many problems of question/support type in the issue list.
How to:
Filter all command errors, and show some solutions to match errors.
Goal:
Accumulate wrong solutions, and let helm be used by more people who don't understand k8s or code.
Note:  The above are just some immature suggestions of my own. Welcome to discuss them together.If the proposal is not considered, it can be closed directly.

Related to https://github.com/helm/helm/pull/8357

Hi, @Cweiping - Thank you for your ideas. Helm currently has the auto-generated docs (found in the CLI as well as at https://helm.sh/docs/helm/), which have links to some related commands. If you would like to add to the CLI docs, that would be helpful. You can find that command output in https://github.com/helm/helm/tree/master/cmd/helm.
It sounds like you may be suggesting training a model to suggest good troubleshooting steps. That sounds intriguing, but also fairly complex.  That would allow the community to help shape what this new approach could be. Thanks!


Queue manager

:tophat: What? Why?
There was an scenario where if the RRC was being accessed from different threads, it was causing unordered calls to willChangeResults and didChangeResults, and this was causing a crash on the collectionView/tableView.
Added RealmQueueManager, which is a wrapper around NSOperationQueue, that is going to prevent this by only executing 1 concurrent operation at a time.
Also added a Environment Variable that is going to prevent the operations to be enqueued while running tests
:ghost: GIF

Good catch!

:+1:

:+1:

:speech_balloon: and :+1:


[GOBBLIN-707] rewrite gobblin script to combine all modes and command

Dear Gobblin maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[*] My PR addresses the following Gobblin JIRA issues and references them in the PR title. For example, "[GOBBLIN-XXX] My Gobblin PR"

https://issues.apache.org/jira/browse/GOBBLIN-707
https://issues.apache.org/jira/browse/GOBBLIN-694
https://issues.apache.org/jira/browse/GOBBLIN-477

Description

[*] Here are some details about my PR, including screenshots (if applicable):
This PR adds new gobblin.sh script that does following:

there were individual scripts for individual gobblin modes and gobblin commands, all does config, log and other param management differently, this PR combines all commands and modes into one script that not only standardize it but also makes easy for devs to use it.
config were scattered or duplicated per gobblin mode, this PR standardizes
removes scripts and redundant configs.
updates the docs accordingly.

Tests

[*] My PR adds the following unit tests OR does not need testing for this extremely good reason:  These are scripts and config changes, dont require test case.

Commits

[*] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Hi @autumnust, working on adding and refactoring documentation for commands and deployments.... once #2586 is merged, I will add the commit here.

@autumnust , updated and refactored the doc, please take a look.

@jhsenjaliya  There's seems to be an travis issue but I am not sure if it is related to your changes.

@autumnust , Thanks for checking on that, I will push some changes to re-trigger it after some review.

@autumnust , updated docs and also added new info in doc regarding the usage of gobblin.sh, please take a look when you get chance. Thanks

@ibuenros , @autumnust, Would you pls take a look ? Thanks

1 out of 4 test env has failed, will look into it.

@ibuenros, @autumnust  since our last discussion, I have also brought all CLI and command classes under GobblinCli with Alias, so its much organized now that also helps clear CLI options.
I would suggest try to check out this PR locally and play around with it to see how this works.
Thanks

@htran1, @sv2000 , added wrapper scripts, pls take a look.

@sv2000 @htran1 @ibuenros , added some more changes as per my usage. pls take a look.

@sv2000 @htran1 @ibuenros, can you guys pls take a look at this ?

Codecov Report

Merging #2578 into master will increase coverage by 0.32%.
The diff coverage is 7.14%.

@@             Coverage Diff              @@
##             master    #2578      +/-   ##
============================================
+ Coverage     44.79%   45.12%   +0.32%
- Complexity     8689     8747      +58
============================================
  Files          1878     1879       +1
  Lines         70070    70120      +50
  Branches       7703     7698       -5
============================================
+ Hits          31391    31641     +250
+ Misses        35774    35554     -220
- Partials       2905     2925      +20

Impacted Files
Coverage Δ
Complexity Δ

...c/main/java/org/apache/gobblin/cli/JobCommand.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...apache/gobblin/runtime/cli/CliEmbeddedGobblin.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...ava/org/apache/gobblin/runtime/cli/GobblinCli.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...ore/util/DatabaseJobHistoryStoreSchemaManager.java
31.66% <100%> (+1.15%)
4 <1> (+1)
:arrow_up:

.../gobblin/runtime/util/JobStateToJsonConverter.java
20.21% <33.33%> (+0.85%)
6 <1> (ø)
:arrow_down:

...in/java/org/apache/gobblin/cluster/HelixUtils.java
35.51% <0%> (-6.33%)
12% <0%> (-1%)

.../org/apache/gobblin/cluster/GobblinTaskRunner.java
64.78% <0%> (-1.41%)
29% <0%> (ø)

...e/gobblin/config/store/zip/ZipFileConfigStore.java
73.21% <0%> (-1.34%)
12% <0%> (ø)

...apache/gobblin/hive/avro/HiveAvroSerDeManager.java
52.17% <0%> (-0.77%)
8% <0%> (ø)

...g/apache/gobblin/metrics/event/EventSubmitter.java
37.03% <0%> (-0.7%)
3% <0%> (ø)

... and 33 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 651c4a1...7d4c9c9. Read the comment docs.

@jhsenjaliya looks like there are conflicts. Can you take a look? Once you resolve the conflicts, I can merge the PR.

@sv2000, cant figure out what is the conflict here, i can not see the diff, since i dont have write access. can u pls take a look?  btw conf/service is renamed to conf/gobblin-as-service.

End up fixing the conflict with merge. Please take a look. Thanks


SAA-1598: Fix broken unit test

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

Project coverage is 86.92%. Comparing base (b9f423e) to head (2f93c19).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #805   +/-   ##
=========================================
  Coverage     86.92%   86.92%
  Complexity     3564     3564
=========================================
  Files           369      369
  Lines         12439    12439
  Branches       1025     1025
=========================================
  Hits          10812    10812
  Misses         1154     1154
  Partials        473      473

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


fixing 0.6.0 issues

Adding missing bcrypt-nodejs dependency in service
Bump ui rutha-grunt-tasks-ui module to 0.2.3 Fixes #30
Bump some dev dependencies
Updating installation steps
UI specs: Added app/app.js in karma.conf to fix issues with modules not being loaded

passing


Question: Is it possible to project without flattening the result?

I am storing some model, A, in a no-sql db. Inside it has properties of type B and C (each type with its own properties), something like this:
class A {
  string topProperty
  B bProperty
  C cProperty
}

class B{
  string someString
}

class C{
  string someOtherString
}

I am trying to project using Select and obtain a result which is not flat, but rather it maintains the hierarchy of A.
So if I try Select<A>("new (bProperty.someString, cProperty.someOtherString)") , I would like to be able to get the result in this form:
A {
  B bProperty // with someString populated
  C cProperty // with someOtherString populated
}

But it crashes with NullRef exception, as (I presume) it does not knows how to instantiate B and C. I need the result to maintain the original hierarchical and not an Anonymous type which has a flat hierarchy containing the 2 values of someString and someOtherString.
I looked over the unit tests but could not find a similar example.
Is this something I can achieve with how Select currently works?
Many Thanks!

You can use:
IQueryable<A> query = new[] { new A { bProperty = new B { someString = "x" } } }.AsQueryable();

string predicate = $"new {typeof(A).FullName}(new {typeof(B).FullName}(\"x\" as someString) as bProperty)"; // new ConsoleAppEF2.Program+A(new ConsoleAppEF2.Program+B("x" as someString) as bProperty)/
var result = query.Select(config, predicate);
Console.WriteLine(JsonConvert.SerializeObject(result)); // [{"topProperty":null,"bProperty":{"someString":"x"},"cProperty":null}]


Allow OWA to consume data from both 2020 and 2023 hasura endpoints

:tada: This issue has been resolved in version 1.188.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


(MCO-736) Singletarget

Implements the suggestion in MCO-736 to use a single target for all agents in the activemq connector.
We are running a collective of 6165 nodes with this change since a few weeks.
We observe that the number of subscriptions indeed dropped from ~75k to ~20k.
The brokers are happier and querying the list of subscriptions via JMX is now faster.
                                      Best regards    ...Ignacio...

Waiting for CLA signature by @reguero
@reguero - We require a Contributor License Agreement (CLA) for people who contribute to Puppet, but we have an easy click-through license with instructions, which is available at https://cla.puppet.com/
Note: if your contribution is trivial and you think it may be exempt from the CLA, please post a short reply to this comment with details. http://docs.puppet.com/community/trivial_patch_exemption.html

Thanks for making a go at this! Would you mind rebasing? The CI failures have been fixed on #master. Also, please take a look at the CLA; did you change your user name?

I did the rebase. Also the IT department leader just told me that he signed the CLA for CERN last week so it is OK for me.  I have just mentioned this to the CLA Submissions Team.

Thanks. I'm planning to do a little more investigating to make sure I understand this before I merge, hopefully get to that this week.

FYI, in case it helps, to check how this works in the server code, I saw that the receiver_thread of the runner creates the agents with Agents.new.
The initialize method of class Agents calls load agents that calls loadagent(agentname) for each agent that it finds in "#{libdir}/mcollective/agent".
loadagent(agentname) calls once Util.subscribe(Util.make_subscriptions(agentname, :broadcast)).
Util.make_subscriptions(agentname, :broadcast) will give a list of hashes as {:agent => agent, :type => :broadcast, :collective => c} for all collectives.
Util.subscribe will call connection.subscribe(target[:agent], target[:type], target[:collective]) for each of these.
subscribe as provided by the activemq connector will call make_target(agent, type, collective) to define the source and then @connection.subscribe(source[:name], source[:headers], source[:id]). As we modified make_target, when using plugin.activemq.agents_multiplex = true the source[:name] contains the shared target.
Please note that the code only calls @connection.subscribe once per source[:id] that in our case is equal to the source[:name] so although there will be a call to subscribe for each agent, the subscription will only be created the first time.
All this is compatible with the receiver_thread of the runner calling the receive method that calls @connection.receive as receive as provided by the activemq connector will not check for which target the message came. The receiver_thread will call afterwards agentmsg(request) on the request that we received which will call @agents.dispatch(request, @connection) to dispatch it to the right agent and handle the reply if any with reply(reply_message, request).

Could you add a section to the documentation at https://github.com/puppetlabs/marionette-collective/blob/master/website/reference/plugins/connector_activemq.md on this new parameter?
It looks like a similar change could be made to the RabbitMQ connector. It'd be nice to have parity in them.

I added a commit with similar code for rabbitmq as well as the doc entry.
Please bear in mind that do no run rabbitmq so I have no means to test it in production like that activemq one.

Hi @MikaelSmith and all,
No plan to merge this one?

I'm making time for it this week.

@ripienaar you weighed in on the ticket, have any thoughts on this PR? It doesn't break anything, and seems like a reasonable way to customize dealing with large collectives.
@reguero is the main impact of your approach to handling collectives to speed up querying the list? Or are there other benefits as well?

It's fine but should be a default off option (as it is in the code so 👍), the issues is lets say you have  the r10k agent, it will be on a tiny fraction of hosts.
The per agent topics are there so that broadcasts to this agent only goes to those nodes and not all over the show, so its a network traffic load optimisation.
But all optimisations have tradeoffs and times they make sense, for sure if you have 60k topic subs as a result to your size and how ActiveMQ uses memory it will be better to optimise the subs count rather than network broadcasts.
So the option is good, we should be sure to call out the trade off in the docs and I think the current behaviour is best default for the common case.

So to be clear: I think we need better doc updates that call out the when/why of this option, on the surface to someone skimming the docs - Whether to use a single target for all agents in a node thus reducing the number of subscriptions in the message broker. sounds like its always a good idea, but it's a good idea on the top end of the scale
To clarify the broadcast to just one agent topic comment - since 2.0ish we have direct addressing that sends messages directly to nodes into their queues by default, but once it discovers I think > 10 nodes it will broadcast to them over these topics as a optimisation over sticking 1000s of messages in queues.

Updated the doc as discussed and rebased

Thanks @reguero! Very much appreciated.


chore: add classmethod decorator

Some linters (ie pylint) will give an error if a class method doesn't have its decorator

Hi @lvvittor!
I appreciate the effort! However, this repository is an example default project generated by: fastapi-mvc from fastapi-mvc/copier-project. Thus PR needs to be merged into fastapi-mvc/copier-project code base.
Link to corresponding error.py in fastapi-mvc/copier-project repository:
https://github.com/fastapi-mvc/copier-project/blob/68e4c697c57a113d34763f48ef7cfae14c086287/template/{{package_name}}/app/views/error.py#L27-L28
In case of any questions feel free to ask.
Have a good one!


Update to use consistent naming in README

Thanks for the great library! 🎉
It's faster to implement than other popular libraries on NPM. 🤘
My main goal is for cli-progress to appear more modern/familiar by updating the syntax in the README examples.

Hi @justsml
it's ok to change this within the readme/docs - but the codebase shouldn't be touched.
especially the undercores are use to indicate global vars within a module (corporate coding styles..)
best regards, Andi

Awesome, thanks Andi!!!


Support for aliases in selleckt

Adds support for (optional) multiple aliases for each of the selleckt option items.
Useful for filtering where an alias can't be part of an option label but should still match the search input.

Nice feature - I don't know if it's possible or worth the complexity, but I've seen searches that do this give items with the match in the text itself a higher ordering in the list..

Nice feature - I don't know if it's possible or worth the complexity, but I've seen searches that do this give items with the match in the text itself a higher ordering in the list..

I think there's a strange UX issue if we don't do this. Right now all matched items are highlighted. By using aliases (where there is nothing to highlight) we will end up with a mixture of highlighted and unhighlighted items.
So, I think if we're going to support aliases, we should indeed reorder the matches so any items where the match appears in the text are shown first, with aliased items appearing last.

One other issue:
Selleckt currently progressively enhances  elements. I think that we need to add support for users putting aliases as data attributes in the original selleckt:
<option value="foo" data-value-alias="bar">Foo</option>

@grahamscott As for data-value-alias: data attributes are string values whereas aliases is an array (and it should be an array, as supporting multiple aliases seems to be natural if we add this feature). I could store the JSON-stringified representation of the aliases array in a data-attribute though.

I could store the JSON-stringified representation of the aliases array in a data-attribute though.

maybe just a comma delimited string?

WRT the ordering - we could just always order the results by matchStart - but making sure that a start of 0 comes last.  That applied to all searches (alias-based or not) might be a fairly nice way to make the "most relevant" searches come up first for the user?
Though perhaps we should be careful about re-ordering the results - Selleckt might have some built-in assumptions about the ordering of the elements?

WRT the ordering - we could just always order the results by matchStart - but making sure that a start of 0 comes last. That applied to all searches (alias-based or not) might be a fairly nice way to make the "most relevant" searches come up first for the user?

That would lower the position of items where the match starts at the beginning. You could order it so that items with matchStart and matchEnd of 0 are at the end though.

Selleckt might have some built-in assumptions about the ordering of the elements?

This should not be a problem

@spmason I've just implemented placing of items at the end of the list if they were found by an alias. Not sure if we should make more assumptions on sorting by relevance within the scope of this PR, what do you think?
@grahamscott Added support for data-aliases attribute, it accepts a comma-separated list of strings.

Yeah this'll do it, no worries about the extra sorting - I just though my way you'd get that "for free"..

@spmason Changed matchStart and matchEnd to be -1 if a match was found in aliases.


chore(master): release 1.12.4

:robot: I have created a release beep boop
1.12.4 (2023-03-23)
Bug Fixes

deps: update dependency pnpm to v7.30.1 (0b05032)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/wayofdev/docker-node/releases/tag/v1.12.4 :sunflower:


Remove ones-22 config

What type of PR is this?

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:
/kind bug

/kind cleanup

/kind design
/kind documentation
/kind failing-test
/kind feature
/kind flake

What this PR does / why we need it:
Removal/cleanup of old ONES-2022 config and test
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
NONE

/assign @radoslawc @liamfallon @tliron

@efiacor it seems like there are some leftovers in the terraform scripts

https://github.com/nephio-project/test-infra/blob/main/e2e/terraform/modules/gcp/main.tf#L25
https://github.com/nephio-project/test-infra/blob/main/e2e/terraform/modules/gcp/main.tf#L81-L91

@efiacor it seems like there are some leftovers in the terraform scripts
* https://github.com/nephio-project/test-infra/blob/main/e2e/terraform/modules/gcp/main.tf#L25

* https://github.com/nephio-project/test-infra/blob/main/e2e/terraform/modules/gcp/main.tf#L81-L91

I was unsure how to handle those tbh. Can we just remove them? Will it break anything with the terraform setup?

Failed on flaky 009.sh test
/override e2e-free5gc-ubuntu-focal
/lgtm
/approve


UG-641 Remove neutron checksum workaround

The checksum addition using this method was very
unreliable, so in OSA it was added [1] in a more
robust way to the neutron role and removed from
run-playbooks [2].
RPC-O therefore inherits it and does not need
to do this any more. In fact it may interfere
with it so it's better not to use this hack.
[1] https://review.openstack.org/330405
[2] https://review.openstack.org/330389

https://github.com/rcbops/rpc-openstack/pull/2349 will need to merge to get travis passing

recheck_cit_trusty_majorupgrade_swift
recheck_cit_trusty_deploy_swift
recheck_cit_trusty_deploy_ceph

recheck_cit_trusty_majorupgrade_ceph

I could not get rid of the submodule change, so I've closed this and made a new PR: https://github.com/rcbops/rpc-openstack/pull/2366


Report generation could be enhanced

Current reports generated, whilst adequate, could be enhanced for readability
Context
It would be nice if it was possible to provide a description to the test labels on the reports. It would also be more meaningful to link to test labels instead of test rounds in the LHS metadata links.

Suggested fix in #383

Resolved.


addresses #436: Updating MANIFEST.in does not correctly update the package sdist creates

The egg_info command reads an existing .egg-info/SOURCES.txt before writing the new one. Therefore state is preserved, and files once added to SOURCES.txt (e.g. by an include line in MANIFEST.in) will remain forever in SOURCES.txt even if there is no more reason for inclusion.
The problem described in #436  is due to the fact that .egg-info/SOURCES.txt is used for building the list of files in a source distribution (sdist command).
This PR is surgical, in the sense that solves the issue by removing 2 lines of code. However after this modification the setuptools.command.sdist.sdist.read_manifest method is not called anymore within setuptools and its removal could be considered, along with the relevant unit tests.

I can see you mentioned in this ticket that you don't understand why this logic was authored in the first place. I don't know the reason either.
Perhaps it was a premature optimization. Perhaps it was a mistake.
Since there are no tests capturing the use-case that would have protected this functionality and because the functionality appears to only have detrimental effects, I'm inclined to accept the change and see if any adverse effects are reported, at which point we can distill a use-case and write a unit test to capture that expectation.

On further consideration, I think I've imagined a scenario where this functionality might have been expected - if a project were for whatever reason manually populating that file or using a third-party tool or other command to populate that file, then this change will cause those entries to be dropped. For that reason, I think this change is backward-incompatible and I'll release it as such.

After reviewing the legacy distutils, I would guess that it was an attempt to maintain compatibility with the distutils's MANIFEST logic:

if the manifest file (MANIFEST by default) exists and the first line does not have a comment indicating it is generated from MANIFEST.in, then it is used as is, unaltered

However this makes sense in distutils, where the MANIFEST is either automatically generated or authored, and not in setuptools where .egg-info/SOURCES.txt is always generated.
Thanks for accepting the change, hoping not to break to much existing projects.

I found a project that broke with this change: https://bitbucket.org/vangheem/pyzipcode/src
This package installs properly before 35.0.0 and no longer does. Test script:
from pyzipcode import ZipCodeDatabase
z = ZipCodeDatabase()
z[94103]

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/ubuntu/virtualenvs/venv-2.7.9/lib/python2.7/site-packages/pyzipcode/__init__.py", line 101, in __getitem__
    zip = self.get(str(zip))
  File "/home/ubuntu/virtualenvs/venv-2.7.9/lib/python2.7/site-packages/pyzipcode/__init__.py", line 98, in get
    return format_result(self.conn_manager.query(ZIP_QUERY % zip))
  File "/home/ubuntu/virtualenvs/venv-2.7.9/lib/python2.7/site-packages/pyzipcode/__init__.py", line 32, in query
    cursor.execute(sql)
pysqlite2.dbapi2.OperationalError: no such table: ZipCodes

The file zipcode.db is missing in the installed package in 35.0.0 due to the MANIFEST changes (though the package could also be packaged improperly and lacking a MANIFEST as well, not sure what the exact intention with this change is).

@voidlily From my tests there is no regression from setuptools==34.4.1: starting from a fresh clone of pyzipcode, the data file pyzipcode/zipcodes.db is not installed:
$ hg clone https://bitbucket.org/vangheem/pyzipcode
$ pip install setuptools==34.4.1
$ pip install ./pyzipcode

To have pyzipcode/zipcodes.db properly included you can try installing setuptools_scm which will automagically include all files under version control in the manifest file (which is .egg-info/SOURCES.txt) and therefore in the installed package.

I think this change may have broken sdist installs with package data: #1016

I agree with @miccoli about the behavior of MAINFEST‘s logic. Whenever updating MAINFEST.in, the SOURCES.txt in .egg-info needs to be updated consistently. At present, delete the .egg-info directory before sdist may be a feasible solution.


Create Pages “asdadads”

Automatically generated by Netlify CMS

👷 Deploy Preview for magenta-custard-562890 processing.

Name
Link

🔨 Latest commit
8cb78a54460ff0b01aaf68d82c520c0123ac7079

🔍 Latest deploy log
https://app.netlify.com/sites/magenta-custard-562890/deploys/62ff74ec3d3b2600081f2033


Image doesn't show in voyager admin panel after uploading cPanel

Laravel Version: 5.5
Voyager Version: 1.0
PHP Version: 7
Database Driver & Version:

Description:
I have uploaded my laravel project in cPanel. Previous images are shown successfully but the newly added images are not showing.

Here last 2 images are already in the project before uploading in cPanel. After uploading the project successfully in cPanel I have try to upload an image but it is not shown which is first one.
Anybody help ?
Steps To Reproduce:

Looks like your symlink was "converted" to a normal folder after uploading (with FTP I guess)?
Try running php artisan storage:link

This is not running locally ... runnign in cPanle. How do I use this command line there !!!

Through SSH or something.
If you dont have SSH access, go to your public folder and rename storage to something different.
Then open Voyager and it will ask you to create the storage-symlink.

@emptynick ... I have solved the issues. Change the path of storage driver in config/filesystems.php. Change the path from storage_path() to public_path()

its not working for me

@NasirHussainAbbasi, please don't comment on very old closed issues, especially if a solution has been identified.  Odds are it's from a much older version, so the solution is likely not relevant to your problem.
Instead, you can ask in our Slack group (#help channel) or create your own issue.


Can you please review the notification sections from Travis and AppVeyor config files

Leaving these as they currently are is causing notifications to be sent to our email address when you run builds.
Specifically, I am requesting that this lines be removed:
https://github.com/tapika/swupd/blob/c1ffde1c9249668a1a08e4ba3d9a7df2e52d2598/.travis.yml#L12-L20
https://github.com/tapika/swupd/blob/c1ffde1c9249668a1a08e4ba3d9a7df2e52d2598/appveyor.yml#L29-L41

Hopefully fixed right now.

Thank you for fixing that up!


[JS] Implement LargeBinary type and enable tests

Describe the enhancement requested
Similar to largeUtf8 type in https://github.com/apache/arrow/issues/15060.

[ ] Remove https://github.com/apache/arrow/blob/47dadb02c3426c5bdd0df903dbc0f6ec17c5c784/dev/archery/archery/integration/datagen.py#L1791
[ ] Update LargeUtf8Builder._flushPending

Component(s)
JavaScript

Closed by https://github.com/apache/arrow/pull/39258 I think?

I'm glad I made this issue. I forgot to enable the test case. Done in https://github.com/apache/arrow/pull/39470


[Event Request] codeunit 11000000 "Process Proposal Lines" - OnBeforeConfirmProcessProposalLines

Dear ALAppExtensions team,
On behalf of 4PS I would like to request integration event 'OnBeforeConfirmProcessProposalLines' to be added to procedure 'ProcessProposalLines' in codeunit 11000000 "Process Proposal Lines" (NL version only).
    procedure ProcessProposalLines()
    var
        IsHandled: Boolean;
    begin
        IsHandled := false;
        OnBeforeProcessProposalLines(ProposalLine, IsHandled);
        if IsHandled then
            exit;

        //**4PS>MS.sn
        IsHandled := false;
        OnBeforeConfirmProcessProposalLines(ProposalLine, IsHandled);
        if not IsHandled then
        //**4PS>MS.en
            if not Confirm(Text1000005, false) then
                Error(Text1000006);

        ErrorNumber := 0;
        NumberPosted := 0;
        GenJnlLine.DeleteAll();

        if ProposalLine.Find('-') then begin
            repeat

    [IntegrationEvent(false, false)]
    local procedure OnBeforeConfirmProcessProposalLines(var ProposalLine: Record "Proposal Line"; var IsHandled: Boolean)
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 53230.


use Legolas, test serialization

closes #83
I haven't tested w/ github auth yet, since I need to regen a new token.

Should I go ahead and register this as v2, or do we want to hold off?

I'm happy with releasing a new version, versions are cheap and I don't expect we have many users


Change CLU cross-match radius to 30 kpc

We would like to change the CLU cross-match radius to 30 kpc

Thank you @dmitryduev!
We are reducing the CLU cross-match radius from the galaxy because we found that the 50kpc was:

Was passing too many background/foreground transients
We couldn't maintain high spectroscopic completeness at physical separation distances at >30kpc


Fill the introduction slide deck on Galaxy Introduction

Hi,
The introduction slide deck of Galaxy needs to be filled.
I think it could be nice to use ideas from this slide deck
Thanks
Bérénice

ping @bebatut @shiltemann @bgruening
Hi,
At the lab, we used to propose this Galaxy Introduction to our users:
galaxy_initiation_corrections-1.08.pdf
Before diving in the transcription of this pptx in md, I want to know your interest in it.
The outline:

A little humoristic introduction about why they need Galaxy and what is Galaxy - slides 3-23
How to import Data - slides 32-74
Tool form and status - slides 75-88
History and dataset management - slides 106-124
Workflow - slides 125-142
Sharing - slides 143-153

Is there already equivalent somewhere?
For you, is there any interest in push some parts of this material in the GTN repo?
We are rather hurry to have your point of view because we will propose this training soon with @loraine-gueguen. If you think that we need to ping other people to this thread feel free.
I know that it was discuted to split the training material in different small sections: https://github.com/galaxyproject/training-material/issues/198
And for sure, we need to review the different hands-on/exercice. I tried to propose exercice that are not related to the NGS field and easy to inderstand for people which are not used to handle NGS data and tool.
We also know that we will have to synchronise with those tutorials: https://github.com/galaxyproject/training-material/blob/master/Introduction/tutorials/Galaxy101-2.md

Hi @lecorguille !
I quickly scrolled through the introduction. As you might guess, I do not like it all too much. In my opininon, the PDF is way too massive. A whole lot of information, but it is really hard to find the point you are looking for.
Do not get me wrong, I do not critisize the content, only the "structure", if I may call it like that. I think that this Introduction is fine for a introductory talk in a workshop, but really not as an online reference. It is useful for Galaxy trainers, not so much for users.
So my advice would be to convert it into a slide deck instead and provide it for galaxy trainers. Then split it into digestable bits for users and provide these as Markdown files online, which can still be converted into PDFs, if you like it more that way.
Greetings, Florian

@lecorguille Oh, sorry, I just saw the issue title. If you want to use this as a talk / slide deck, I am sure it will do. Maybe leave out some of the slides in the beginning. They may be nice, but there are to many of them, IMHO.

Oh, we didn't plan to convert all the material!
And indeed, it is for training purposes
And indeed, it need to be splitted

I've also some super-basic slides I've created for a short Galaxy intro, which I was planning to contribute, you can see them at https://docs.google.com/presentation/d/10w9mvSPTdG53pMmr_u2KGF4cuKhcItFj10HRYFj1ZIw/edit?usp=sharing

And here are mine if they are useful: https://github.com/bgruening/presentations/tree/master/General-Galaxy-Introduction
@lecorguille I'm pretty sure that the content of you deck will be useful all over if they are available in markdown. Maybe not as full set but partially for sure.
Thanks!

Thanks for your answers! For the very next course (next week), I have not translated the slides into md, but we (with @lecorguille) will consider to do it later.
For the hands-on, I have mirrored the tutorials https://github.com/galaxyproject/training-material/blob/master/Introduction/tutorials/Galaxy101-1.md and https://github.com/galaxyproject/training-material/blob/master/Introduction/tutorials/Galaxy101-2.md
Thanks!

We are working on this during the Cambridge hackathon, WIP PR in https://github.com/galaxyproject/training-material/pull/313


Problem with handle > 31 for I2C

Hello Joan,
I get an error if the ask for a free I2C-Handle ist >31.
pi@RPiTest:~ $ pigs i2co 6 0x20 0
30
pi@RPiTest:~ $ pigs i2co 6 0x20 0
31
pi@RPiTest:~ $ pigs i2co 6 0x20 0
-24
ERROR: no handle available
It's same when I try it over the socket interface...
Is there something wrong?
Joachim

Nothing wrong, that is by design.
pigpio.h has
#define PI_I2C_SLOTS 32
Like all limits I didn't expect it to be reached.
Do you actually need more than 32 handles?

Hello Joan,
if it would be possible, I would be lucky if cound make it greater. So of the users of my module to connect IP-Symcon over your PIGPIO want build big networks of I²C-devices, so it is maybe better... ;-)
Joachim

In V61 the number of I2C handles has been increased to 64.
Hopefully this will be enough for most people.
I am reluctant to set an open (unbounded) number of handles but will consider doing so if I am convinced it is useful.  If you think you have a case please reopen this issue.

Is there a compelling reason for limiting the maximum number of I2C-handles to 64 and if not, could it be increased (e.g. to 512)? I have a situation where this becomes limiting (a modular construct where each of the up to 48 modules with up to 10 I2C-devices receives its own I2C-bus via 6 TCA9548 muxes). I can program my way around this limitation but it would be nicer if I didn't have to
Beat
PS: Thanks for pigpio which is just wonderful!
PS2: sorry for double-posting, but my original inquiry didn't get an answer for several weeks and I suspect that's because it's considered misplaced given the existence of this thread

Only a few (two?) people have ever requested more handles.
Unless you are using pigpio remotely you probably oughtn't to be using the pigpio I2C functions.  They are mainly just a wrapper around the underlying I2C/SMBus calls.  Why not just use the calls directly.
Anyhow it is simplest if you just change the #define in your own copy of pigpio and rebuild.  There is not going to be a flurry or new releases causing problems.

Unless you are using pigpio remotely you probably oughtn't to be using the pigpio I2C functions. They are mainly just a wrapper around the underlying I2C/SMBus calls. Why not just use the calls directly.
Ah... thanks. I hadn't been aware of that.

The error message can also occur when you don't close the handle correctly.
you can close it like:
for ((i=0; i<32; i++)); do pigs i2cc $i; done
or another clean way:
from pigpio import pi
x_pi = pi('<IP_ADDRESS>')
if not x_pi.connected:
    print('Unable to connect to RPi')
else:
    h = x_pi.i2c_open(1, 118)
    x_pi.i2c_close(h)
    print(h)
    if h > 30:
        x = h - 1
        while x >= 0:
            x_pi.i2c_close(x)
            x = x - 1
        print(str(h) + ' pigpio handles closed')
    x_pi.stop()

source: https://www.raspberrypi.org/forums/viewtopic.php?t=88545


setAlpha and setOpacity have no effect

Summary
The setAlpha and setOpacity methods don't seem to have any effect on the TinyColor instance.
Possible cause
Looking at the source, I believe this is because these methods are defined like this:
TinyColor setAlpha(int alpha) {
  _color.withAlpha(alpha);
  return this;
}

However, the withAlpha method returns a new Color instance:

Returns a new color that matches this color with the alpha channel replaced with a (which ranges from 0 to 255).

so this doesn't actually change _color.

I just encounter the same issue. For workaround, do .color.withOpacity() or .color.withAlpha().…

Hey @nfriend, can you resubmit this issue to community-forked repo? Thanks!

@calvintam236 Done! https://github.com/FooStudio/tinycolor/issues/14