ImageStripper attempting to remove already-removed method

********************************************************************************
************************** Dolphin Crash Dump Report ***************************
********************** VM version: v7.1.16-76-g2ba0d2297 ***********************

21:41:44 PM, 11/29/2020: Dolphin7.exe caused an unhandled Win32 Exception 20000002
at 75AA9AB2 in module 75980000 (C:\WINDOWS\System32\KERNELBASE.dll)

*----> Exception Parameters <----*
290EA810	Not found: defineFields

...

{0FC507CC: cf 0FC507AD, sp 0FC507E0, bp 0FC507C8, ip 3, MethodDictionary(Dictionary)>>errorKeyNotFound:}
	receiver: a MethodDictionary
	arg[0]: defineFields

{0FC507AC: cf 0FC50789, sp 0FC507C0, bp 0FC507A4, ip 13, MethodDictionary(Dictionary)>>at:}
	receiver: a MethodDictionary
	arg[0]: defineFields
	stack temp[0]: a Object

{0FC50788: cf 0FC50769, sp 0FC5079C, bp 0FC50784, ip 6, Metaclass(Behavior)>>compiledMethodAt:}
	receiver: ExternalStructure class
	arg[0]: defineFields

{0FC50768: cf 0FC5073D, sp 0FC5077C, bp 0FC50760, ip 15, [] in MethodCategory>>methodsInBehavior:}
	receiver: nil
	arg[0]: defineFields

{0FC5073C: cf 0FC50709, sp 0FC50758, bp 0FC5072C, ip 19, [] in SequenceableCollection>>collect:}
	receiver: nil
	arg[0]: 7
	arg[1]: defineFields

{0FC50708: cf 0FC506DD, sp 0FC50724, bp 0FC506F8, ip 13, Array(SequenceableCollection)>>uncheckedFrom:to:keysAndValuesDo:}
	receiver: a Array
	arg[0]: 1
	arg[1]: 20
	arg[2]: [] @ 14 in SequenceableCollection>>collect:
	stack temp[0]: 7

{0FC506DC: cf 0FC506BD, sp 0FC506F0, bp 0FC506D8, ip 8, Array(SequenceableCollection)>>keysAndValuesDo:}
	receiver: a Array
	arg[0]: [] @ 14 in SequenceableCollection>>collect:

{0FC506BC: cf 0FC50699, sp 0FC506D0, bp 0FC506B4, ip 22, Array(SequenceableCollection)>>collect:}
	receiver: a Array
	arg[0]: [] @ 12 in MethodCategory>>methodsInBehavior:
	stack temp[0]: a Array

{0FC50698: cf 0FC50675, sp 0FC506AC, bp 0FC50694, ip 17, MethodCategory>>methodsInBehavior:}
	receiver: a MethodCategory
	arg[0]: ExternalStructure class

{0FC50674: cf 0FC5064D, sp 0FC5068C, bp 0FC50670, ip 50, [] in JadeImageStripper(BasicImageStripper)>>prepareExternalStructures}
	receiver: a JadeImageStripper
	arg[0]: 'template definition'

{0FC5064C: cf 0FC50629, sp 0FC50668, bp 0FC50644, ip 12, Array(ArrayedCollection)>>do:}
	receiver: a Array
	arg[0]: [] @ 42 in BasicImageStripper>>prepareExternalStructures
	stack temp[0]: 2

{0FC50628: cf 0FC50609, sp 0FC5063C, bp 0FC50624, ip 60, JadeImageStripper(BasicImageStripper)>>prepareExternalStructures}
	receiver: a JadeImageStripper
	stack temp[0]: a OrderedCollection

{0FC50608: cf 0FC505ED, sp 0FC5061C, bp 0FC50608, ip 2, JadeImageStripper(ImageStripper)>>packageDrivenStage}
	receiver: a JadeImageStripper

{0FC505EC: cf 0FC505B9, sp 0FC50600, bp 0FC505D4, ip 62, [] in JadeImageStripper(ImageStripper)>>buildApplication}
	receiver: a JadeImageStripper
	stack temp[0]: L'Z:\jfoster\code\Dolphin\Jade\runtime\Jade.exe'
	stack temp[1]: L'Z:\jfoster\code\Dolphin\GUIToGo.exe'
	stack temp[2]: a Array
	stack temp[3]: a WeakIdentityDictionary

From what I can tell, this happens in the following:
BasicImageStripper>>>prepareExternalStructures
	"Private - Fully compile all ExternalStructure subclasses if required. They must already
	have fully defined templates."

	| structs |
	structs := self externalStructureClasses.
	self defineExternalStructures: structs.
	self startElement: 'PrepareExternalStructures' attributes: #().
	self compileExternalStructures ifTrue: [self compileExternalStructuresNow: structs].
	"Having defined all the templates, we can now remove the methods used to define them"
	structs do:
			[:each |
			"Access the byteSize to ensure set (important if not compiling external structures)"
			each byteSize.
			each class methodDictionary removeKey: #defineFields ifAbsent: []].
	"Remove the structure template definition and compiling mechanisms"
	#('compiling' 'template definition') do:
			[:each |
			self
				removeMethods: (each asMethodCategory methodsInBehavior: ExternalStructure class)
				reason: 'structure definition: ' , each
				force: true].
	self endElement: true.
	self
		finishedWithAll: #(#compileExternalStructures #compileExternalStructuresNow: #defineExternalStructures: #prepareExternalStructures #externalStructureClasses)

It looks like there is explicit code to remove #defineFields which is followed by code to remove every method in the template definition category (which would have included #defineFields if it weren't already removed. What seems like a bug is that if the method has been removed then it should not be in the method category.

Workaround:
BasicImageStripper>>prepareExternalStructures
	"Private - Fully compile all ExternalStructure subclasses if required. They must already
	have fully defined templates."

	| structs |
	structs := self externalStructureClasses.
	self defineExternalStructures: structs.
	self startElement: 'PrepareExternalStructures' attributes: #().
	self compileExternalStructures ifTrue: [self compileExternalStructuresNow: structs].
	"Having defined all the templates, we can now remove the methods used to define them"
	structs do:
			[:each |
			"Access the byteSize to ensure set (important if not compiling external structures)"
			each byteSize].
	"Remove the structure template definition and compiling mechanisms"
	#('compiling' 'template definition') do:
			[:each |
			self
				removeMethods: (each asMethodCategory methodsInBehavior: ExternalStructure class)
				reason: 'structure definition: ' , each
				force: true].
	structs do:
			[:each |
			each class methodDictionary removeKey: #defineFields ifAbsent: []].
	self endElement: true.
	self
		finishedWithAll: #(#compileExternalStructures #compileExternalStructuresNow: #defineExternalStructures: #prepareExternalStructures #externalStructureClasses)


E2E tests for the new namespacemapping logic

Description
1 - cluster_label_test: this test aims to verify that the labels inserted at installation time are actually put on the virtual nodes.

/ok-to-test


The package version is outdated at packagist.com

It would be good if you setup packagist hook, so it updates at packagist whenever something is committed to  repository

I am not an active packagist user myself so this escaped me. I have updated it now, I will look into how I can make this automated somehow. Thank you.


Add IP command step to basic tests

The IP command crc ip should be invoked at least once by the tests.

Fixed in #369


Upgrade CI

2 things stand out as slowing down the CI process:
Soljs
We compile solidity from 4 modules (contracts, 'cf-apps', and funding + adjudicator contracts) using soljs which is way slower than solc compiled from c. We upgrade builder to include a solc binary & configure our solidity modules waffle.json files to use that instead of soljs.
We make prod too much
We make prod before each of our 4 set of tests and then again before make push in staging/prod CI. The full build before each set of tests isn't actually a huge deal bc those can run in parallel but that still clogs up our CI. Then we serially make prod again before pushing though, that's no bueno. Find a better way to make prod once and then not again during same CI run.
Saving testing data like docker images & build artifacts between jobs is complicated & vendor-specific in CircleCI. That kind of cross-job data storage might be inherently vendor-specific though. If we gotta do something vendor-specific, might as well use GitHub's CI since that'll keep everything in one place.

So were switching off circle and to github? Nice!
Are there any other changes we'd need to make to allow this to happen or is what we have fairly portable?

Just need to translate the YML file and move the env vars.


Assertion fails when sending message - assertInEventLoop

I'm trying to update to NIO (I'm hoping it fixes https://github.com/IBM-Swift/Kitura-WebSocket/issues/79).
In my app when I use connection.send(message: data) it fails an assert about the channel being in an event loop.
I believe this section should use context.eventLoop.execute {
The full stack trace of the assert:
* thread #3, queue = 'DocumentQueue', stop reason = Precondition failed
    frame #0: 0x00007fff6bb9bd50 libswiftCore.dylib`_swift_runtime_on_report
    frame #1: 0x00007fff6bbfb632 libswiftCore.dylib`_swift_stdlib_reportFatalErrorInFile + 210
    frame #2: 0x00007fff6bb2d1ac libswiftCore.dylib`function signature specialization <Arg[0] = Exploded, Arg[1] = Exploded, Arg[2] = Exploded> of closure #1 (Swift.UnsafeBufferPointer<Swift.UInt8>) -> () in closure #1 (Swift.UnsafeBufferPointer<Swift.UInt8>) -> () in closure #1 (Swift.UnsafeBufferPointer<Swift.UInt8>) -> () in Swift._assertionFailure(_: Swift.StaticString, _: Swift.String, file: Swift.StaticString, line: Swift.UInt, flags: Swift.UInt32) -> Swift.Never + 252
    frame #3: 0x00007fff6bb2d29e libswiftCore.dylib`function signature specialization <Arg[0] = Exploded, Arg[1] = Exploded, Arg[2] = Exploded> of closure #1 (Swift.UnsafeBufferPointer<Swift.UInt8>) -> () in closure #1 (Swift.UnsafeBufferPointer<Swift.UInt8>) -> () in Swift._assertionFailure(_: Swift.StaticString, _: Swift.String, file: Swift.StaticString, line: Swift.UInt, flags: Swift.UInt32) -> Swift.Never + 94
    frame #4: 0x00007fff6b8fc3e8 libswiftCore.dylib`function signature specialization <Arg[1] = [Closure Propagated : closure #1 (Swift.UnsafeBufferPointer<Swift.UInt8>) -> () in closure #1 (Swift.UnsafeBufferPointer<Swift.UInt8>) -> () in Swift._assertionFailure(_: Swift.StaticString, _: Swift.String, file: Swift.StaticString, line: Swift.UInt, flags: Swift.UInt32) -> Swift.Never, Argument Types : [Swift.StaticStringSwift.UnsafeBufferPointer<Swift.UInt8>Swift.UIntSwift.UInt32]> of generic specialization <()> of Swift.String._withUnsafeBufferPointerToUTF8<A>((Swift.UnsafeBufferPointer<Swift.UInt8>) throws -> A) throws -> A + 440
    frame #5: 0x00007fff6bafd7d0 libswiftCore.dylib`function signature specialization <Arg[0] = Exploded, Arg[1] = Exploded> of Swift._assertionFailure(_: Swift.StaticString, _: Swift.String, file: Swift.StaticString, line: Swift.UInt, flags: Swift.UInt32) -> Swift.Never + 368
    frame #6: 0x00007fff6b8fb859 libswiftCore.dylib`Swift._assertionFailure(_: Swift.StaticString, _: Swift.String, file: Swift.StaticString, line: Swift.UInt, flags: Swift.UInt32) -> Swift.Never + 25
    frame #7: 0x00000001014d997d NIO`EventLoop.preconditionInEventLoop(file="/Users/bridger/Development/Scribble/SwiftServer/.build/checkouts/swift-nio/Sources/NIO/ChannelPipeline.swift", line=153, self=0x0000000102448930 -> 0x00000001015c97f0 type metadata for NIO.SelectableEventLoop) at EventLoop.swift:542:9
    frame #8: 0x00000001014e08ce NIO`protocol witness for EventLoop.preconditionInEventLoop(file:line:) in conformance SelectableEventLoop at <compiler-generated>:0
    frame #9: 0x00000001014d92a5 NIO`closure #1 in EventLoop.assertInEventLoop(self=0x0000000102448930 -> 0x00000001015c97f0 type metadata for NIO.SelectableEventLoop, file="/Users/bridger/Development/Scribble/SwiftServer/.build/checkouts/swift-nio/Sources/NIO/ChannelPipeline.swift", line=153) at EventLoop.swift:536:18
    frame #10: 0x00000001014d932c NIO`partial apply for closure #1 in EventLoop.assertInEventLoop(file:line:) at <compiler-generated>:0
  * frame #11: 0x000000010159391e NIO`closure #1 in implicit closure #1 in debugOnly(body=0x00000001014d92f0 NIO`partial apply forwarder for closure #1 () -> () in (extension in NIO):NIO.EventLoop.assertInEventLoop(file: Swift.StaticString, line: Swift.UInt) -> () at <compiler-generated>) at Utilities.swift:24:14
    frame #12: 0x000000010159389a NIO`debugOnly(body=0x00000001014d92f0 NIO`partial apply forwarder for closure #1 () -> () in (extension in NIO):NIO.EventLoop.assertInEventLoop(file: Swift.StaticString, line: Swift.UInt) -> () at <compiler-generated>) at Utilities.swift:24:5
    frame #13: 0x00000001014d6286 NIO`EventLoop.assertInEventLoop(file="/Users/bridger/Development/Scribble/SwiftServer/.build/checkouts/swift-nio/Sources/NIO/ChannelPipeline.swift", line=153, self=0x0000000102448930 -> 0x00000001015c97f0 type metadata for NIO.SelectableEventLoop) at EventLoop.swift:535:9
    frame #14: 0x00000001014934b1 NIO`ChannelPipeline.channel.getter(self=0x000000010232cd40) at ChannelPipeline.swift:153:24
    frame #15: 0x00000001014a1773 NIO`ChannelHandlerContext.channel.getter(self=0x000000010232d230) at ChannelPipeline.swift:1061:30
    frame #16: 0x0000000100beb78d KituraWebSocket`WebSocketConnection.send(message=6 bytes, asBinary=true, self=0x000000010232d0c0) at WebSocketConnection.swift:82:29
    frame #17: 0x0000000100020616 ScribbleServer`WebSocketConnection.send(serverToClientMessage=CanvasModel.ServerToClientMessage @ 0x0000700009d55af0, self=0x000000010232d0c0) at CanvasDocumentServer.swift:655:18
    frame #18: 0x000000010001ce15 ScribbleServer`CanvasDocumentServer.clientConnected(connection=0x000000010232d0c0, auth=ScribbleServer.ConnectionAuth @ 0x0000700009d57080, lastAck=154, lastLocalAction=56, appBuild=190, self=0x0000000103926350) at CanvasDocumentServer.swift:174:20
    frame #19: 0x00000001000099e5 ScribbleServer`specialized closure #3 in CanvasDocumentController.connected(server=0x0000000103926350, connection=0x000000010232d0c0, lastAck=154, lastLocalAction=56, clientBuild=190) at CanvasDocumentController.swift:185:20
    frame #20: 0x0000000100009b99 ScribbleServer`partial apply for specialized  at <compiler-generated>:0
    frame #21: 0x0000000100009bdd ScribbleServer`thunk for @escaping @callee_guaranteed () -> () at <compiler-generated>:0
    frame #22: 0x00000001021f7e7c libdispatch.dylib`_dispatch_call_block_and_release + 12
    frame #23: 0x00000001021f8f1b libdispatch.dylib`_dispatch_client_callout + 8
    frame #24: 0x0000000102201067 libdispatch.dylib`_dispatch_lane_serial_drain + 773
    frame #25: 0x0000000102201f1b libdispatch.dylib`_dispatch_lane_invoke + 442
    frame #26: 0x000000010220d4db libdispatch.dylib`_dispatch_workloop_worker_thread + 691
    frame #27: 0x0000000102272015 libsystem_pthread.dylib`_pthread_wqthread + 421
    frame #28: 0x0000000102271e01 libsystem_pthread.dylib`start_wqthread + 13

Thanks @bridger
Created https://github.com/IBM-Swift/Kitura-WebSocket-NIO/pull/16

The fix works for me. Thank you!


File Cleanup Policies

In the doc rename io.streamthoughts.kafka.connect.filepulse.fs.clean.LocalMoveCleanPolicy to io.streamthoughts.kafka.connect.filepulse.fs.clean.LocalMoveCleanupPolicy.
Using streamthoughts/kafka-connect-file-pulse:latest and run:
[root@e39785377436 lib]# jar tf kafka-connect-filepulse-local-fs-2.4.2.jar | grep "clean"
io/streamthoughts/kafka/connect/filepulse/fs/clean/
io/streamthoughts/kafka/connect/filepulse/fs/clean/LocalMoveCleanupPolicy.class
io/streamthoughts/kafka/connect/filepulse/fs/clean/LocalMoveCleanupPolicy$MoveFileCleanerConfig.class

Thanks for reporting this issue, documantion has been fixed.


Use /home/atsign as default directory for at_onboarding_cli

Is your feature request related to a problem? Please describe.
At the moment, users need to provide inputs for the following fields:

isLocalSecondaryRequired
commitLogPath
hivePath
downloadPath
atKeysFilePath

Describe the solution you'd like
Instead of asking for the user's input for the above fields; use to default the path for all of these directories to HOME_DIRECTORY/.atsign. This would simplify the user experience and also make the behaviour uniform with all of the other atRepositories/tools.
Describe alternatives you've considered
No response
Additional context
No response

Implementation has been done. Need to resolve failing tests in the attached PR

The failing tests could not be resolved after spending a good amount of time. Will try again. Carrying this to PR51 to resolve the tests and testing.


ci: fix gh_token name in travis

Please fill in the template below before submitting your pull request. This helps keep a consistent structure for project history.
Metadata

[ ] Feature: a new feature.
[ ] Bug: a bug fix.
[ ] Refactor: a code change that neither fixes a bug nor adds a feature.
[ ] Style: changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.).
[ ] Test: adding missing tests or correcting existing tests.
[ ] Performance: a code change that improves performance.
[ ] Documentation: changes to documentation.
[ ] Build: changes that affect the build system or external dependencies.
[x] CI: changes to our CI configuration files and scripts.
[ ] Chore: housekeeping changes that do not affect production.

Changes
Add GITHUB_TOKEN to Travis CI script instead of GH_TOKEN. Fixing.
Checklist

[ ] This PR contains only a single concern and is small enough to be reviewed easily.
[ ] Documentation for this issue has been added or updated with this PR.
[ ] Unit tests have been added, if applicable.

Screenshots
Please include any relevant screenshots if this PR pertains to a visible UI change.
Additional Information
Please include any additional notes you feel are necessary here.

:tada: This PR is included in version 1.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


How to test the performance of PoE and PBFT

I have tried to run  ./performance/poe_performance.sh config/kv_performance_server.conf but cannot get the results,  the results shown below: getting results
scp -i /home/ubuntu/.ssh/guigu_bft.pem ubuntu@<IP_ADDRESS>:/home/ubuntu/.log ./<IP_ADDRESS>_log
scp: /home/ubuntu/.log: No such file or directory
scp -i /home/ubuntu/.ssh/guigu_bft.pem ubuntu@<IP_ADDRESS>:/home/ubuntu/.log ./<IP_ADDRESS>_log
scp: /home/ubuntu/.log: No such file or directory
scp -i /home/ubuntu/.ssh/guigu_bft.pem ubuntu@<IP_ADDRESS>:/home/ubuntu/.log ./<IP_ADDRESS>_log
scp: /home/ubuntu/.log: No such file or directory
scp -i /home/ubuntu/.ssh/guigu_bft.pem ubuntu@<IP_ADDRESS>:/home/ubuntu/.log ./<IP_ADDRESS>_log
scp: /home/ubuntu/.log: No such file or directory
scp -i /home/ubuntu/.ssh/guigu_bft.pem ubuntu@<IP_ADDRESS>:/home/ubuntu/.log ./<IP_ADDRESS>_log
scp: /home/ubuntu/.log: No such file or directory
ls: cannot access 'result_*_log': No such file or directory
Traceback (most recent call last):
File "performance/calculate_result.py", line 70, in
cal_tps(tps)
File "performance/calculate_result.py", line 44, in cal_tps
print("average throughput:",sum(tps_sum)/len(tps_sum))
ZeroDivisionError: division by zero
save result to results.log
calculate results, number of nodes: 0
max throughput: 0

May I ask how you solved this problem?


Support changing the output name from "nbind"

I'd like to change the output name used by emscripten to not be "nbind". Is this supported?
I tried renaming nbind.js, but it still looks for nbind.js.mem which I'd also like to rename.

Changing product_name in src/nbind.gypi inside nbind is enough to change the name of that file, and this line to find it with the new name if loading on Node.js. I'm thinking how to make this properly configurable.


efficientnet on high resolution images

can we use efficientnet as a feature extractor on high-resolution image input(1024x1024)?
It will affect the accuracy or we should expect similar level results?
I tried the same but facing high validation loss. What could possibly be the reason behind this?
Thanks!

Same question here, according to this link: https://tfhub.dev/google/collections/efficientnet/1. The image input sizes should be between 224 and 600 but what to do when my images are bigger and I don't want to rescale them because I need the details to distinguish between images.
Thanks

Did you find an answer to your question? I'm stuck with the same question right now.
Thanks


Wrong video duration if over one hour

If the video duration is more than one hour, the reported video duration is only in the format hour:minute and not hour:minute:seconds
example query:
http://youtube-scrape.herokuapp.com/api/search?q=onde%20del%20mare&page=1

Hey, I was trying to use this but I don't get any response. Do you know if this is still working ?

Yeah this has worked for me.
On Tue, 12 Feb 2019 at 8:52 AM, Mohit<EMAIL_ADDRESS>wrote:

Hey, I was trying to use this but I don't get any response. Do you know if
this is still working ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/HermanFassett/youtube-scrape/issues/3#issuecomment-462600149,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH0B_OndWpQZcWgR6UUO2pcDAsQLTJXlks5vMjNigaJpZM4VoQ7V
.

I have a dataset of about 30,000 song titles for which I need to find relevant video titles. SO this scraper helps immensely. However, after 150 continuous hits, I start getting no response. Any idea why this happens @pulkitj79

@mohitchoudhary25 if you hit the http://youtube-scrape.herokuapp.com then I'm only hosting it on a free account at heroku so it has limited daily usage. As I mentioned, you'll want to set up your own endpoint for reliable api.

@mohitchoudhary25  I have also deployed at heroku on a different URL. You can deploy it locally too. And yes, as YouTube does the rate limitation, it stops working after 150-200 links. You need to wait for some time to start again. However, I am working on a similar project to find the relevant video titles for song titles. Let's connect to discuss more. Mail me at<EMAIL_ADDRESS>

Thanks for this issue, it should be fixed now


camera.capture() not working if Annotator is on

If I try to capture an image or video from the camera using camera.capture() or camera.start_recording() while the Annotator is on, the application crashes.
This is the code:
from aiy.vision.annotator import Annotator
from picamera import PiCamera
import time

def main():

    with PiCamera(sensor_mode=4, framerate=30) as camera:

         camera.start_preview()
         annotator = Annotator(camera, dimensions=(320, 240))
         scale_x = 320 / 1640
         scale_y = 240 / 1232

         annotator.clear()
         annotator.text((10,20),"test")
         annotator.update()

         time.sleep(2)

         camera.capture('test_annotator.jpg')
         '''
         camera.start_recording('my_video.h264')
         camera.wait_recording(3)
         camera.stop_recording()
         '''
         time.sleep(10)

    camera.stop_preview()

if __name__ == '__main__':
    main()

The application crashes when camera.capture() gets executed. The error is below and is the same when trying to record a video instead of pic:
mmal: mmal_port_pool_destroy: port 0x24a7240, pool 0x24b6970 destroyed while port enabled
Traceback (most recent call last):
  File "ann1.py", line 54, in <module>
    main()
  File "ann1.py", line 43, in main
    camera.capture('test_annotator.jpg')
  File "/usr/lib/python3/dist-packages/picamera/camera.py", line 1418, in capture
    encoder.start(output)
  File "/usr/lib/python3/dist-packages/picamera/encoders.py", line 1126, in start
    super(PiCookedOneImageEncoder, self).start(output)
  File "/usr/lib/python3/dist-packages/picamera/encoders.py", line 377, in start
    self.output_port.enable(self._callback)
  File "/usr/lib/python3/dist-packages/picamera/mmalobj.py", line 1254, in enable
    self._pool.send_all_buffers(block=False)
  File "/usr/lib/python3/dist-packages/picamera/mmalobj.py", line 1941, in send_all_buffers
    super(MMALPortPool, self).send_all_buffers(port, block, timeout)
  File "/usr/lib/python3/dist-packages/picamera/mmalobj.py", line 1892, in send_all_buffers
    self.send_buffer(port, block, timeout)
TypeError: silent_send_buffer() takes 1 positional argument but 4 were given

I tried to use annotator.stop() before the camera.capture(), but no change.
Is this due to this bug?
Any idea what I could do?
I am using a RP3, AIY v20181116, Raspi camera v2(from the Google vision kit), Raspian Stretch 4.14.79-v7+, Python 3.5.3.
Thanks

I'm having the same problem. Any solutions to this?

Same problem aswell, anyone has a solution yet?

Same problem aswell, anyone has a solution yet?

It does seem to be fixed when I change the monkey patch to MMALPool.send_buffer and hardcode the args instead of the MMALPortPool.send_buffer.  ( it is the MMALPool.send_buffer that throws the error)

samsterckval, thank you very much for sharing your workaround.
I've quickly tested it on my device: the application does not crash, but I still see following error and the video capture does not work (image capture is ok). So I think  the problem is not yet solved.
File "_ctypes/callbacks.c", line 234, in 'calling callback function'
  File "/usr/lib/python3/dist-packages/picamera/mmalobj.py", line 1227, in wrapper
    self._pool.send_buffer(block=False)
TypeError: silent_send_buffer() missing 1 required positional argument: 'port'


systemd-stage-1: allow non-existent /lib/firmware

Description of changes
Since 1557027, makeModulesClosure doesn't create a lib/firmware directory if there is no firmware in the initramfs. If this happens, systemd-stage-1 fails to build.
/lib only contains /lib/modules and /lib/firmware, both of which are from modulesClosure. Therefore, we can just add the entirety of ${modulesClosure}/lib to the initramfs to allow for the possibility that lib/firmware doesn't exist. This also brings systemd-stage-1 in line with the traditional stage-1.
cc @alyssais

Things done

Built on platform(s)

[x] x86_64-linux
[x] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This is going to be a problem if other things end up with reasons to put stuff under /lib. How much do we want to worry about that?

If it happens, it's an easy fix (go back to what we were doing before).  But given it doesn't seem to have come up yet, and we've had an initramfs for quite a while…

The main reason for doing it this way is to match the traditional initrd. If we want to make changes, the equivalent change needs to be made to both.

@ofborg test systemd-initrd-simple


Battle.runEvent (and similar functions), Battle.findEventHandlers (and helper functions) [Performance]

When taking a CPU profile of Showdown when running my AI, this set of functions uses the most time overall and the most time per call. However, changing these functions to be performant might require changing the entire structure of the code, so finding the best way to handle events that various parts of a battle can activate is step 1.

Hard-coding Events
After reading through the design work in pkmn/engine - which I'll probably be referencing a lot because of how thorough it is - I have another idea which gets rid of looking up events altogether.

Maintain the battle.runEvent calls as the exist now and replace them with deliberate functions for each event type (battle.runEvent(UseItem, ...) become battle.onUseItem(...))
Within those specific runEvent functions, all the possible event handler functions for it will be listed and the one to run will be chosen based on various switch and if statements

For example, if onModifyDamage is called, that function will check run a switch statement against the move user's item, and if the user has a Life Orb, LifeOrb::onModifyDamage will get called.
The order in which event handlers are listed in these functions will act as a replacement for the "priority" parameter some events use

This allows for all the event handlers from the same effect type to continue to be written in the same place and resused, keeping the code organized. Also, separating the code out like this allows for swapping out runEvent functions depending on the game being simulated.
Not sure yet how well this will work with the "Analyze Effect" portion of the code or of its performance benefits over other options. This also breaks if the order of events for a specific type ever changes (like factoring in a Choice Band's boost on a move changes from before to after factoring in any weather-based boosts), but right now I'm not aware of that ever happening.

Hard-coding Events
After reading through the design work in pkmn/engine - which I'll probably be referencing a lot because of how thorough it is - I have another idea which gets rid of looking up events altogether.

Maintain the battle.runEvent calls as the exist now and replace them with deliberate functions for each event type (battle.runEvent(UseItem, ...) becomes battle.onUseItem(...))
Within those specific runEvent functions, all the possible event handler functions for it will be listed and the one to run will be chosen based on various switch and if statements

For example, if onModifyDamage is called, that function will check run a switch statement against the move user's item, and if the user has a Life Orb, LifeOrb::onModifyDamage will get called
The order in which event handlers are listed in these functions will act as a replacement for the "priority" parameter some events use

This allows for all the event handlers from the same effect type to continue to be written in the same place and resused, keeping the code organized. Also, separating the code out like this allows for swapping out runEvent functions depending on the game being simulated.
Not sure yet how well this will work with the "Analyze Effect" portion of the code or of its performance benefits over other options. This also breaks if the order of events for a specific type ever changes (like factoring in a Choice Band's boost on a move changes from before to after factoring in any weather-based boosts), but right now I'm not aware of that ever happening.

Maybe using an inheritance/virtual method design instead of switch and if statements here is better. It is for sure from a maintainability standpoint, but performance is TBD: I'm looking into it.

Settled with 945900d6ff8f9637909ea6161f8b155ba7c34ea1 in designs/Features/EventHandling.md


Typo in the wiki

In the wiki's section about conditions there is that example line:
TALK TO THE HAND "a is greater b"
I think it meant to say TALK TO THE HAND "a is greater than b".
Now It isn't correspond to the description given above the example.

Issues like these would be resolved easily once #127 is done.


Update connect-cef-ama.md

Change the name of the cef_ama_troubleshooter script and it's directory placement.

@limwainstein
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


add pan and core proteome feature

more info: http://link.springer.com/content/pdf/10.1007%2F978-1-84800-255-5_12
Original pull request by @bmesuere on Tue Jan 22 2013 at 13:39.
Merged by @bmesuere on Wed Oct 16 2013 at 19:43.

the correctness of the uniprot_cross_references should be checked
Original comment by @bmesuere on Tue Jan 22 2013 at 14:52.

Last query results:
query: 0.864871946
to_set: 0.391235205
pan: 1.176600948
core: 0.533578104
Completed 200 OK in 26093ms (Views: 15.2ms | ActiveRecord: 1504.7ms)

According to stack overflow, arrays might be faster: http://stackoverflow.com/questions/9436663/data-structures-iterating-over-two-arrays-vs-converting-to-sets-and-performing
Original comment by @bmesuere on Wed Jan 23 2013 at 17:17.

query: 0.713755245
pan: 2.612047668
core: 0.408266836
Completed 200 OK in 35769ms (Views: 334.3ms | ActiveRecord: 1483.4ms)

Original comment by @bmesuere on Wed Jan 23 2013 at 17:24.

query: 0.714950811
pan: 1.473139383
core: 0.461906712
Completed 200 OK in 26476ms (Views: 377.0ms | ActiveRecord: 1472.0ms)

so sticking with set
Original comment by @bmesuere on Wed Jan 23 2013 at 17:38.

todo:

[x] add infobox on mouseover
[x] add taxon name to genomes table
[x] switch refseq_id for name in graph

Original comment by @bmesuere on Fri Jan 25 2013 at 14:39.

The top graph is now ported to javascript with webworkers.

[x] Add error handler
[x] Benchmark the JSON rendering
[x] Show more info while loading peptides
[x] Why is the initial query so slow? add some indexes?
[x] Write proper XHR code
[x] Integrate into assets pipeline?
[x] How does the server handle all these requests at once? (blocking time in chrome dev tools)
[x] Test in Firefox, show message in IE
[x] Fix error with one datapoint

Original comment by @bmesuere on Sun Apr 07 2013 at 11:31.

[x] Reorder the genomes
[x] Remove genomes
[x] Switch to correct bioproject id's
[x] Group by bioprojectid, not refseq

Original comment by @bmesuere on Tue Apr 09 2013 at 15:46.

[x] Reorder the layout #124
[x] Add full screen and save option #123
[x] Enable reordering on the graph

Original comment by @bmesuere on Wed May 29 2013 at 23:07.

[x] Add genomes by taxonomy tree
[x] Add negative set

Original comment by @bmesuere on Fri Jun 07 2013 at 10:52.

Last 2 commits improved the page load time from 1500ms to 300ms!
Original comment by @bmesuere on Fri Jul 12 2013 at 16:28.

[x] prevent adding duplicates
[x] prevent adding too many genomes
[x] Add an option to remove all added genomes #130
[x] case insensitive search
[x] display + search by bioprojectid?
[x] numbers in tree = leaf count
[x] sort the tree
[x] remove cheackbox-like list-style for leafs
[x] fix cursor for drag and drop
[x] add newly added genomes to the back of the table
[x] better indication of drop target
[x] add accept restriction for droppable because reorder is broken now
[x] add graph as dragtarget
[x] better default open state
[x] let the table scroll with the page
[x] Add more info to the tooltips (bioproject id, number of peptides)

Original comment by @bmesuere on Fri Jul 12 2013 at 17:42.

[x] prevent collapse behaviour when clicking a leaf
[x] add a dropdown button to add a species. Default stays load.
[x] Add an option for auto-sorting the genomes #128
[x] Make a node clickable (bold label, some kind of info panel, option to download peptides)
[x] Add an export option to every node in the graph #125
[x] Enable reordering by dragging the graph labels
[x] fix green line for manually added genomes

Original comment by @bmesuere on Tue Jul 16 2013 at 20:58.

results of usability test:

[x] Sort dropdown should appear on hover
[x] Sort dropdown should disappear after clicking on item
[x] Down chevron on top of table is confusing
[x] When only 1 node is left on the graph, dragging didn't always work. Might be related with cursor flicker. (couldn't reproduce the issue)
[x] refactor to replace proteome with peptidome

Original comment by @bmesuere on Thu Jul 18 2013 at 15:49.

feedback Sangya:

[x] Change the Load/Add Species button to "Add Species >"
[x] Remove the black square in the tooltip in front of peptides
[x] Change cursor to "pointer" when hovering over a node -> seems impossible without adding dummy dots on top of the "bars"
[x] Add close button to popover
[x] Try adding color to the download peptides list
[x] When dragging from the tree, add a header to the minitable, change the arrow to 4 pointing arrow, Add a plus-icon + shorter text to the other table
[x] on graph mouse over, make the nodes a bit larger

Original comment by @bmesuere on Wed Aug 07 2013 at 15:41.

[x] green line doesn't start loading after removal of everything (couldn't reproduce)
[x] increase the add-limit to 80
[x] add dots for genome size
[x] add "id" to all requests
[x] make all lines optional

Original comment by @bmesuere on Wed Aug 07 2013 at 18:09.

[x] add more info about the green line
[x] merge the branch

Original comment by @bmesuere on Sun Sep 22 2013 at 14:32.


⚠ Bofrost.de has degraded performance

In 3a58a34, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1086 ms

Resolved: Bofrost.de performance has improved in fde5555 after 29 minutes.


orca --help requires X server

Downloading https://github.com/plotly/orca/releases/download/v1.3.1/orca-1.3.1.AppImage, and running it with the switch --help, it fails over SSH with no X11 forwarding.
$ ./orca-1.3.1.AppImage --help

(orca:27700): Gtk-WARNING **: 11:22:23.027: cannot open display:

As the help output is shown on the terminal, it’d be great, if no X display server was required.

Hello @paulmenzel!
Good news! Orca is no longer really the recommended way to do static image export with Plotly :)
We have a new, pip-installable tool called Kaleido which is superior to Orca in almost every way and does not require an X display server! Please check it out: https://medium.com/plotly/introducing-kaleido-b03c4b7b1d81


kernel: Disable tick handling when !MULTITHREADING

[The specific bug being addressed here is that the NRF5x timer is enabled always, gets picked up by tests/kernel/threads/no-multithreading, and then starts firing ticks into the timer subsystem that the kernel isn't configured to handle.  Unfortunately there's no way to disable "the system timer" in kconfig distinct from board-specific DTS, and the subject is complicated.  The nrf driver handles clock scaling and power/idle too, and a bootloader might want that.]
The kernel timer subsystem isn't part of the !MULTITHREADING
environment (no threads to wake up, though in principle it should be
possible to support timeout callbacks with some work in the future).
Protect it against platforms that select this but still enable a timer
driver.
Signed-off-by: Andy Ross<EMAIL_ADDRESS>

Codecov Report

Merging #9740 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #9740   +/-   ##
=======================================
  Coverage   52.23%   52.23%
=======================================
  Files         212      212
  Lines       25946    25946
  Branches     5591     5591
=======================================
  Hits        13553    13553
  Misses      10159    10159
  Partials     2234     2234

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 af17c19...a441608. Read the comment docs.


Truncate Except schema.table

Does this support specifying the schema when adding tables to the exception when truncating?
e.g:
except: 'schema.foo'

I've tried this and it does work


Upgrade echo

This PR upgrades echo framework in order to fix associated vulnerabilities:

CVE-2022-40083
CVE-2022-32149

Superseded by #21


Rework CM to go to previous prompt

In the situation:
prompt1 $ command1
output1
prompt2 $ | com|mand2
output2

(Assume the first | character is cursor position 1, and the second one is cursor position 2)
Current behavior:
CM from both cursor positions leads to the same output: the cursor at the beginning of prompt2
Desired behavior:
CM from cursor position 1 should lead to the cursor moving to the beginning of prompt1, and from position 2 should lead to the beginning of prompt2

From: https://www.reddit.com/r/vim/comments/sbngor/comment/hw52re1/?utm_source=share&utm_medium=web2x&context=3

This will be easier after #3


Remove block cleaner docs

:mag: Description
Clean up docs. The tool has been removed in the previous release.
Types of changes :bookmark:

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Test Plan 🧪
Review

Checklist 📝

[x] This patch was not authored or co-authored using Generative Tooling

Be nice. Be informative.

Merged to master


Release Google.Cloud.Language.V1 version 3.1.0

Changes in this release:
New features

Add support for V1 and V2 classification models for the V1 API (commit 634b207)

Documentation improvements

Fix docstring formatting (commit 191e5de)

Created release for Google.Cloud.Language.V1-3.1.0


Initial work at design document

Pull Request Checklist

Description

Add design document

This is looking good! Comments inline.


Debugged more code

I had to change a few things and add another room to ensure that all selections would populate the correct response.

will push and see how it goes


usb attach error

Please help me to understand what is represented in the image, please.

It looks as though two versions of the same script file DeviceWatcher.java are being shown side by side, one of them in Librealsense SDK 2.33.1 and the other in SDK 2.34.0.  This file is located in the Android wrapper at this path:

https://github.com/IntelRealSense/librealsense/blob/master/wrappers/android/librealsense/src/main/java/com/intel/realsense/librealsense/DeviceWatcher.java

You referred to a USB attach error.  What is the error message that you are receiving, please?

In SDK 2.34.0, when the USB camera is connected, onDeviceDetach will be called , but not in the old version.

I am not an Android wrapper programmer so I cannot speak for the intent of the wrapper developers.  Reading the code though, it looks like the DeviceListener listens for whether a device is inserted (Attached) or unplugged (Detached) and directs the program to the invalidateDevices() function to decide what should happen next.  In that block, it either adds or removes the device depending on the checks that the logic makes about the status of variables.
Does the program still work the same in 2.34.0 as it did in 2.33.1, even if the code has differences?

No ,it will call different function.

The code looks okay to me (though I am honestly nor an Android wrapper programming expert).  The listener checks for the insertion status, and takes an action depending on whether an Attach or Detach event is detected.
It is possible for the USB port to mis-identify an insertion as a removal if the connector is inserted in a certain way, such as accidentally pulling the cable backwards a little after pushing it in, or not fully inserting it as far into the port as it will go.  The ideal insertion method is a fast, firm push action instead of a slow insertion.
If a fast, firm insertion does not fix the problem then I would recommend using Librealsense version 2.33.1 instead of 2.34.0.

@Long888 This indeed looks like a bug. Even if a usb device is plugged and anyone has used the listerner to maybe receive a callback and do to some initialization etc., it will never be triggered. As both insertion and disconnection are will trigger the onDeviceDetach method.

@kafan1986   Thanks vry much for your input on this case.   Are you experiencing this detach problem with the Android wrapper yourself, please?

@MartyG-RealSense No, I have not tested it personally, so can not guarantee its behaviour. Last I used v2.31.0 SDK and firmware <IP_ADDRESS>.

@kafan1986   Thanks again for your help.
@Long888  I recommend using 2.33.1 for now and see if your problem is fixed when the next SDK version (probably 2.35.0) is released.

@Long888 , the issue was reproduced and addressed in the attached PR.
To be published in the next release

@Long888  I can confirm that this bug-fix was included in SDK version 2.35.0 published on 31 May 2020.  Can you test your project with SDK version 3.35.0 or the newer 2.35.2 and let us know if it has resolved your problem, please?   Thanks!

Hi @Long888  Do you require futher assistance with this case please, or can it be closed?  Thanks!

@Long888   Thanks so much for the update!


Node level fault updated structure

Signed-off-by: Smriti S<EMAIL_ADDRESS>

Preview environment: https://ci.pr.harness.io/pr-630

Preview environment: https://ci.pr.harness.io/pr-630

Preview environment: https://ci.pr.harness.io/pr-630

Preview environment: https://ci.pr.harness.io/pr-630

Preview environment: https://ci.pr.harness.io/pr-630

Preview environment: https://ci.pr.harness.io/pr-630


Added Newly added categories in docs

Fixes Issue🛠
Closes #1250
Description👨💻
Hi @Rakesh9100
I have added 3 categories in Readme file which were missing.
Type of Change📄

[ ] Bug fix (non-breaking change which fixes a bug)
[ ] New feature (non-breaking change which adds functionality)
[ ] Style (non-breaking change which improves website style or formatting)
[x] Documentation (non-breaking change which updates or adds documentation)
[ ] Responsiveness (non-breaking change which improves UI/UX on different screen sizes)

Checklist✅

[x] I am an Open Source contributor
[x] I have performed a self-review of my code
[x] My code follows the style guidelines of this project
[x] I have commented on my code, particularly in hard-to-understand areas

Screenshots/GIF📷

@Rakesh9100 Please review

@Rakesh9100 Please can you review this PR and merge it asap. Please!!


Remove README.md

https://github.com/mwitkow/go-grpc-middleware/commit/e25b7320bd2baf4a5843c035778ae73cc4b88b76 added README.md, where a README.MD already exists.  This doesn't play well on macs, with their case insensitive FS.

See https://github.com/golang/dep/issues/365 for the problem I hit.

Codecov Report

Merging #25 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #25   +/-   ##
=======================================
  Coverage   72.96%   72.96%
=======================================
  Files          27       27
  Lines         810      810
=======================================
  Hits          591      591
  Misses        182      182
  Partials       37       37

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 dbe298b...9b04d2f. Read the comment docs.

Can you make this move the README.MD to README.md content so that the fixup.sh script detects it? :)

Sure!
On Fri, Apr 7, 2017 at 12:55 PM Michal Witkowski<EMAIL_ADDRESS>wrote:

Can you make this move the README.MD to README.md content so that the
fixup.sh script detects it? :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mwitkow/go-grpc-middleware/pull/25#issuecomment-292517595,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAbGhfVi3_Qxl42xlY3RGwrEHG6AbtZnks5rtiRKgaJpZM4M1efm
.

Cheers!


fix(vite): support iframe blocking

Environment

Operating System: Darwin
Node Version:     v16.19.0
Nuxt Version:     3.2.2
Nitro Version:    2.2.2
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      app, css, vite, modules, sanity, nitro, hooks
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
nuxt.config.ts settings this option isIframeBlocked: true
Describe the bug
Setting isIframeBlocked: true does not block iFrames (e.g. Vimeo Player)
Additional context
No response
Logs
No response

Please setup a minimal reproduction using StackBlitz as required by the issue template :pray:

Okay, here is an example.

Gotcha, thanks! Actually, iframe blocking is not yet implemented for vite, only for webpack: https://github.com/dargmuesli/nuxt-cookie-control/blob/cab857401082393378ab280b0502913e1489466a/src/module.ts#L102 Background being that Nuxt 2 used webpack as its bundler.
Pull requests welcome! :heart:

Additional info: the iframe block setting initialState was never properly implemented for cookies and is scheduled to be removed in the upcoming version 6 of this module to avoid confusion. The whole iframe blocking topic needs a proper implementation, that is. This could be done before v6, reverting any removal in that version. Or v6 happens first, avoiding further confusion, with a potential new implementation coming at a later time.

If anyone else encounters this problem, I am using a solution similar to this for now, here the full preview.

Would it be an option for you to create a PR containing your implementation generalized for others to use it as well?

:tada: This issue has been resolved in version 6.1.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


im unable view content under router   :   'menuContent':   Do i need to do anything special

.state('app.search', {
url: '/search',
views: {
'menuContent': {
templateUrl: 'templates/search.html'
}
}
})
im trying to port  ioinic onto my mean js  app.   is this thing  menuContent from some directive ?

Hello! Thanks for opening an issue with us! As this seems like more of a support question i will urge that you ask this question on our forum. Thanks for using Ionic!


renderInput API

Description
Our new API to render the text field, that solves a lot of problems! Like spreading props down to text field, override them, override classes for the picker – and saves a lot of bundlesize.
Breaking changes
From now it is required to pass the renderInput prop to any picker. For the compatibility (no user-facing changes) it will be
<DatePicker
+  renderInput={props => <TextField {...props} />}
/>

Regarding the props that do no longer spread, did you use our helper to warn?
import { exactProp } from '@material-ui/utils';

@oliviertassinari do you mean to pass all TextField prop-types there?

I am not sure that this module will work for us properly... I mean that there will be more problems than positive effects, as we have a lot of props that are spread for different components (and for this design we passing all the props everywhere XD)

@dmtrKovalenko This plugin works as long as 1. the props aren't spread (which we are introducing) 2. all the prop-types are defined (which is a standard for our components). So I don't see your concern, do you have more details? For instance, in this case:
<DatePicker foo="bar" />

Should it warn?

We don't have all the prop-types defined in 1 place. We defining prop-types in the components that are using that prop-types.

@dmtrKovalenko Ok, so we can't yet do it. I assume this problem will be solved in the mono-repository. We use the Types to automatically generate the prop-types. We would have them all defined, as in https://next.material-ui-pickers.dev/api/DatePicker.

yes, it should be a nice addition for DatePickers


Code splitting and exports

I have a number of entry points, one for each page of my app, which all output files which export a component. I also have a commons chunk which I would like to contain the code which mounts the component. Is there a way to not output the commons chunk to the browser but output the other entries say in __component__?

Is there a way to not output the commons chunk to the browser but output the other entries say in component?

Can you expand on this idea? What sort of output do you need exactly?

I opened this issue a long time ago and it is not applicable anymore. The way I worded it was confusing (even to me 😖) so I can't jump back into my mindset to clarify. Closing…

It's ok. Thanks. :+1:


Please expand the README.md

Please, at least add quick howto like Install (or links to it). And/Or a short example for usage (not a big block of text like there is).
This is quite usual (and welcoming) for upstream projects to have this in the README.md :).

I'd be happy to help with this issue. Please assign it to me

Glad to hear that! Please wait for the repo maintainers/owners to agree some changes are needed :).

Ok, thank you.
On Mon, 4 Mar 2024, 20:54 Pavel Valena, @.***> wrote:

Glad to hear that! Please wait for the repo maintainers/owners to agree
some changes are needed :).
—
Reply to this email directly, view it on GitHub
https://github.com/teemtee/tmt/issues/2730#issuecomment-1977150647, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AOZBHUVNRCL6IRI5AZYHRD3YWSYPDAVCNFSM6AAAAABEFSCQQ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZXGE2TANRUG4
.
You are receiving this because you commented.Message ID:
@.***>

Worth considering:

https://github.com/teemtee/tmt/pull/2414 The contents of the README were moved recently to better support sphinx-specific decorators. But having a more shortened tl;dr version of that as a front-page is worth reconsidering
synchronization of README.md with index.md (example, see usage of <!-- SPHINX-START -->)
Badges? Many cool ones from https://shields.io/badges
What to include? Best discussed with the main developers, but some things I think would be nice

Purpose and goal of tmt. I view it as a tool to unify testing independent of CI environment
One simple test.fmf with the cli interface to trigger/CI environments that run it
Where to get in touch
Primary sponsors?

Anyway let's wait for more feedback from @lukaszachy @psss @thrix? Happy to review though.

Yes, the original README content was moved because it has grown substantially and it did not make sense to maintain similar information on several places. I like the idea of providing a tldr version on the most essential commands. Perhaps, we could resolve this issue together with this one?

#968

The same content could be submitted to the tldr command repository. Plus, in the README we could include a link to the installation instructions to help users get quickly started?


Cleanup, etc.

Big, breaking changes.

Got rid of assertSnapshot(encoding:)—didn't seem worth it. The Any check is more powerful and strict.
God rid of the trailing closure record { … } API and instead added record: true to the assertion itself.
Recording always causes a test assertion failure. This lets us quickly check what was recorded by looking at the Xcode error.
String diff failures use a new diff format. This is easier to read than a general call to XCTAssertEqual.
Snapshots are now grouped at the test file level (rather than test directory level). This means more directory groupings with shorter file names that are easier to scan in GitHub pull requests.
Multiple snapshots in a single test will increment automatically. This makes sorting through snapshots chronologically easier. It all means setting a snapshot name is optional.

(This fixes #19 and #20 when merged.)


Refactor BaseActiveRecord::getAttributes()

Improve performance

Q
A

Is bugfix?
❌

New feature?
❌

Breaks BC?
❌

Fixed issues
-

Improve performance

Could you prove the result with benchmarks?

Could you prove the result with benchmarks?

Simplified PR, left only the obvious part


integrate cpu and ram details in the dashboard

Which package/s are you suggesting this feature for?
Dashboard
Is your feature request related to a problem? Please describe
integrate cpu and ram details in the dashboard so I can choose the best node fitting my requirements
Describe the solution you'd like
maybe to be shown up in the node finder and while selecting a node for deployment and maybe searchable text filter

@Omarabdul3ziz  is this supported on gridproxy?

it is implemented in this PR https://github.com/threefoldtech/tfgrid-sdk-go/pull/726 info about ram/motherboard/cpu can be found under dmi section on the /nodes endpoint response

it is released with version 0.15.0 and deployed now on devnet

WIP:
https://github.com/threefoldtech/tfgrid-sdk-ts/issues/2057#issuecomment-2021510752

Work completed:
Added processor version and memory type chips in node card. I also added a tooltip for each chip.

verified on devnet
version : f530d72
cpu and ram details are now integrated in node finder

https://app.testlodge.com/a/26076/projects/40893/suites/234374?expand_section=426661#case_4150459


Multidatastore and many-to-many relationships

Hi Tolis,
I'm experiencing a problem with the MultiDatastore feature and the implicitly generated table to hold the keys to both tables. The application cannot find the generated table when the data tables are not in the default database. It seems that the system tries to find the generated table in the default database.
Can you tell me how to solve this problem?
Kind regards, Willem

Closing issue for age. Feel free to reopen it at any time.
.Thank you for your contribution.


Kanban board review

https://github.com/rugwizangoga/Kanban-board/projects/1
We are 2 people
We have an extra issue from the morning session peer to peer code review and I accidentally submitted it on this project and it got reviewed.

Thanks nothing else


agtype_typecast funcs changed to immutable

changed the following three function from stable to immutable

agtype_typecast_int
agtype_typecast_numeric
agtype_typecast_float

Could you kindly fully explain why this is needed?

based on my current understanding, it would be better from a query planning/optimization standpoint. Since these functions fulfill the criteria required for immutable functions ; tables arent accessed inside them, they dont effect the db and always return the same result for a given input . I think they can be safely marked immutable.


Remove unused package python3-urllib3

https://github.com/stolostron/backlog/issues/20635
Signed-off-by: Philip Wu<EMAIL_ADDRESS>

/lgtm


Explorer.exe - Files and Folders not showing

#858 FancyZones
Windows build number: Microsoft Windows [Version 10.0.18363.476]
PowerToys version: <IP_ADDRESS>
PowerToy module for which you are reporting the bug (if applicable):Fancy Zones

Steps to reproduce
Snap Explorer.exe to a new zone, eventually the files and folders stop showing up. Sometimes the toolbar disappears. Happens to 3rd party tools such as explore++ as well.  The hidden files and folders does not happen if the file explorer window is not snapped to a "fancy zone".
Expected behavior
Powertoys <IP_ADDRESS> does not exhibit the hiding behavior in explorer.exe, you can always see your files and folders regardless of snap position / screen.
Actual behavior
Hidden files and folders in file explorer making selecting a file impossible.
Screenshots
Unsnapped

Fancy Zone <IP_ADDRESS> - Snapped to zone.

Happens on both monitors (two monitor setup).

This looks like duplicate of #840. You can try using these instructions to get updated FancyZones DLL and see if the problem persists.

Seems to have fixed the issue with the new .dll file for Fancy Zones, thank you for the quick reply and sorry for the duplicate issue post.

This looks like duplicate of #840. You can try using these instructions to get updated FancyZones DLL and see if the problem persists.

No problem! Glad it works for you now!
Closing as duplicate of #840.


Add ability to lift effects

redux-loop notably lacks the functionality provided by Effects.map in elm-effects. There's an important difference between Elm and redux-loop here, in that functions are not comparable in Elm but we can still do reference equality in JavaScript, so adding this functionality should not break deepEquals comparisons. Also, the ability to do arbitrary mapping might lead folks to try to chain transformations together using anonymous functions, which they won't be able to test easily.
In my Elm experience the only use I've found for Effects.map is to map nested actions onto a dedicated higher-order action for the parent's update function.
With all of this in mind, I want to limit the scope of any mapping functionality in redux-loop to just lifting actions into higher-order actions, at least for now. This should take the form of a new effect type in redux-loop called lift.
As of redux-loop 1.0.4, all effects promises resolve an array of actions regardless of whether they are guaranteed to produce 1 or 0. This should make it easy to store a lower effect and a reference to an action creator to lift with, and just map over the lower actions with it once they've resolved. Ideally, we should have some sanity checks in place to throw if the result of lifting is not also an action, but I want to track adding sanity checks as a different story. So feel free to add them, or not.

cc @jarvisaoieong, i saw that you were working on map functionality in your fork

I'd like to help. I've do some experiment to port the elm architecture examples to redux with the redux-loop. I also fork the redux-logger to support async action logging with the power of redux-loop.
I will show these examples for discussing.

Oked, let's check it out.
source code: https://github.com/jarvisaoieong/redux-architecture
live demo: http://jarvisaoieong.github.io/redux-architecture/
In the live demo, please open the console to see some log

I will update the README for more information later.

@jarvisaoieong this is fantastic! I love the logger integration, super helpful for tracing action paths.
I think your implementation of Effects.map is exactly what we would want for Effects.lift. Do you want to rename and submit a PR?

Nice you like it. I will submit a PR today.

published v1.1.0!


Allow pluralizing/inflecting from template

First of: I'm very sorry if this either (1) already exists or (2) I'm stupid.
While the automatic pluralization that Hugo does is sometimes not helpful (see #344), sometimes it is the desired state. For example, on my homepage, I have a list per section:
  {{ range .Data.Pages.GroupBy "Section" }}

{{ .Key | title }}

  {{ range .Pages }}

        {{ .Render "li" }}

  {{ end }}

  {{ end }}

Not only would I like the .Key to be capitalized properly, which I can do by piping to title, but I also would like it to be pluralized (in the same way that Hugo automatically does within sections).
Is it possible to add a pluralize and singularize filter?
I've tried looking in the tpl/ subfolder in the source and on the website describing template functions and with Google, to no avail.
The desired state would thus be: {{ .Key | pluralize | title }}.

No it doesn't exist. Yes it should be easy to add. Pull requests are welcome.

I know it's a trivial change, and would've done it if it weren't for an unfortunate situation at my current employer making it cumbersome to do so. If no-one does it in a few weeks, I might go ahead and move through the process.
Thanks for the quick reply!