text:
Problem with filer event notification streams

Hi
Describe the bug
I was trying to subscribe to the filer event notification via its gRPC port. The situation is that when the seaweedFS is idle and nothing interacts with it, when I subscribe to it for e.g 5 hours ago, it will stream the whole events from 5 hours ago. but the problem is that when it reaches the end of the stream and while seaweedFS is idle it won't close the stream and I have to set a timeout for the whole stream connection. But interestingly when I start to interact with seaweedFS which leads to new events, it would close my last connection for event notifications and I have to subscribe for the events again.
Another behavior which caught my attention was that when i am trying to subscribe to the filer while its under heavy read and writes unstoppable, each time i subscribe to the filer it will send me all events till now and then closes the stream, and i have to subscribe to it one more time. but when it reaches to the end of heavy interactions with seaweedFS and makes it idle, then it will show me all events since now and then won't close the connection and leaves it open till a new event happens.
System Setup
On k8s
1 master -> weed master -mdir=/data/seaweedfs/master -ip=weed-master-svc -ip.bind=0.0.0.0 -defaultReplication=001 -volumeSizeLimitMB 100  -metricsPort=9324
2 volume servers -> weed volume -dir=/data/seaweedfs/volume -dataCenter=dc1  -rack=rack1 -mserver=weed-master-svc:9333 -ip.bind=0.0.0.0 -port=8080 -max=0 -metricsPort=9325
1 filer -> weed filer -master=weed-master-svc:9333 -ip.bind=0.0.0.0 -metricsPort=9326
1 filer db which is scyllaDB
1 S3 instance -> weed s3 -config=/conf/config.json -filer=weed-filer-svc:8888 -ip.bind=0.0.0.0 -metricsPort=9327
Expected behavior
I can't understand the logic and behavior of event notification streams. They are open when seaweedFS is idle and they will close when a new event happens. Also why filer shows the events till now and closes the connection when there are ongoing events and then I subscribe to them.
Additional context
This issue is kinda connected to my other issue:  filer.backup synchronisation with a external minio S3

Share your code?

from datetime import datetime, timedelta
import gRPC.filer_pb2 as filer_pb
import gRPC.filer_pb2_grpc as filer_pb_grpc
import grpc
from google.protobuf.json_format import MessageToJson
import minio

destination_s3_endpoint = "<minio-endpoint>"
destination_s3_access_key = "<minio-access-key>"
destination_s3_secret_key = "<minio-secret-key>"
destination_s3_secure = True
destination_s3_bucket_name = "test"

s3_client = minio.Minio(
    endpoint=destination_s3_endpoint,
    access_key=destination_s3_access_key,
    secret_key=destination_s3_secret_key,
    secure=destination_s3_secure,
)

class ExampleWatchFileChanges:
    def __init__(self):
        self.filer_client = filer_pb_grpc.SeaweedFilerStub(
            grpc.insecure_channel("<filer-IP>:18888")
        )

    def watch_changes(self, since_ns, timeout):
        watch_request = filer_pb.SubscribeMetadataRequest(
            client_name="exampleClientName",
            path_prefix="/buckets",
            since_ns=since_ns,
        )
        watch_responses = self.filer_client.SubscribeMetadata(
            watch_request, timeout=timeout
        )
        print(f"Connected to filer, subscribing from {since_ns}")
        self._process_event(watch_responses)
        print("End of stream")

    def _process_event(self, responses):  # Just print
        i = 0
        try:
            for event in responses:
                i += 1
                notification = event.event_notification

                if notification.HasField("old_entry"):
                    if notification.old_entry.is_directory:
                        continue

                if notification.HasField("new_entry"):
                    if notification.new_entry.is_directory:
                        continue

                if event.directory != notification.new_parent_path:
                    if notification.HasField("old_entry") and notification.HasField(
                        "new_entry"
                    ):
                        print(MessageToJson(event))
                    else:
                        print("this should not happen.")
                elif notification.HasField("new_entry") and not notification.HasField(
                    "old_entry"
                ):
                    print(MessageToJson(event))
                elif not notification.HasField("new_entry") and notification.HasField(
                    "old_entry"
                ):
                    print(MessageToJson(event))
                elif notification.HasField("new_entry") and notification.HasField(
                    "old_entry"
                ):
                    print(MessageToJson(event))
                print(i)
        except:
            return

if __name__ == "__main__":
    current_time = datetime.now()
    since = current_time - timedelta(minutes=1000000)
    since_ns = int(since.timestamp() * 1e9)
    example = ExampleWatchFileChanges()
    example.watch_changes(since_ns=since_ns, timeout=1000)

authors: chrislusf itsfarbod

repo: seaweedfs/seaweedfs


text:
modify regex to allow multiple line extract without escape

https://regex101.com/r/mN2cT8/2
Cleanup

@pwang2 Have you tried these changes out with the current ec project?

Sorry for respond late.
I didn't try with ec project yet.  I wrote a simple webpack loader to test it here. https://github.com/pwang2/quikr-config-loader

Any chance to take a look at this?
Right now, in quikr we are using my folk. want to switch back to yours to keep consistency.  also, if any further work needed, please let me know.

source: gharchive/pull-request

repo: sebdm/typson

license_type: permissive

license_source: bigquery


text:
linking issue

Hi there !
when I try to compile examples, i get a lot of undefined references, mainly with libusb and svgtiny,
(ubuntu 20.04 and gcc 9)
/Sources/of_v0.11.2_linux64gcc6_release/addons/obj/linux64/Release/ofxLaser/libs/laserdocklib/LaserdockDevice.o:LaserdockDevice.cpp:fonction LaserdockDevicePrivate::print() const : erreur : référence à « libusb_get_string_descriptor_ascii » non définie
/Sources/of_v0.11.2_linux64gcc6_release/addons/obj/linux64/Release/ofxLaser/libs/ofxSvgExtra/src/ofxSvgExtra.o:ofxSvgExtra.cpp:fonction ofxSVGExtra::loadFromString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) : erreur : référence à « svgtiny_create » non définie

I must admit I haven't compiled on linux for some time but I think these issues may be solved by including ofxKinnect and ofxSvg libraries in your project. Let me know if that works!

Hi Seb,
Thanks a lot ! It worked : the compilation is done, and the app is running !

Ah great news! I'm not really sure why those things don't compile on linux the way I've set them up. 😬

source: gharchive/issue

repo: sebleedelisle/ofxLaser

license: mit


text:
Implement MDC-Web Select Menus

https://material.io/components/web/catalog/input-controls/select-menus/

Do you want multiple select? If so then you live with the browsers' native select component since that is how MDC-Web implements it.
Or... We could try to implement multi-select it based upon the full featured JS component.
Or... We could ignore select completely, and direct people to use ember-power-select with the material theme.
@Kerrick Thoughts?

I'm thinking we should keep this library a thin wrapper around the provided CSS and JS Foundations from MDC-Web.

authors: Kerrick KnownSubset


text:
Fixes pause scoring bug

Fixes #182
Every time we unpaused, it would put the game into startup state. I don't really see the startup state used anywhere anyway.
This fixes the bad bug we were seeing. The pause thing is flaky still though I think. If you pause right at the beginning after going to the game screen and unpause later, some things get messed up. I think cuz we are relying on some settimeouts to do stuff and they dont get cancelled. We could just let people pause during specific states to make things more resiliant.
cc @secretrobotron

Yeah, I'm down with that idea. There are a lot of timeouts in there. I wonder if we could "pause" them or something. Like...
(function () {
  let timeoutsRunning = [];

  window.setPauseableTimeout = function (fn, time) {
    let timeout = setTimeout(fn, time);
    let currentTime = ...;
    timeoutsRunning.push({ timeout: timeout, time: time, fn: fn, startTime: currentTime });
  };

  window.pauseTimeout = function (timeout) {
    let timeout = timeoutsRunning.get(timeout);        //obviously, not a real function, but i'm lazy
    timeout.timeLeft = currentTime - timeout.startTime;
    cancelTimeout(timeout.timeout);
  };

  window.resumeTimeout = function (timeout) {
    let timeout = timeoutsRunning.get(timeout);        //obviously, not a real function, but i'm lazy
    setTimeout(timeout.fn, timeout.timeLeft);
  };
})();

authors: flukeout secretrobotron

repo: secretrobotron/games


text:
Setting up Frontend Asset Compilation in AdonisJS Using Webpack

Tutorial Format

Setting up Frontend Asset Compilation in AdonisJS Using Webpack
AdonisJS allows developers to choose how their frontend assets should be compiled. This degree of freedom also brings issues for developers who need a fast and quick way to set up asset compilation. In this tutorial, we will explore how frontend asset compilation can be set up in AdonisJS using Webpack.
Prerequisites:

Node.js version 12 or higher
npm version 6 or higher

Step 1 — Cloning the repository
Step 2 — Installing webpack and webpack CLI
Step 3 — Frontend compilation of Bootstrap and Sass
Step 4 — Frontend compilation of Tailwind CSS
Step 5 — Frontend compilation of AlpineJS
Step n — Optimizing build
Conclusion: In this tutorial, you learned how to set up frontend asset compilation in AdonisJS using Webpack

@vicradon just wanted to follow up on this topic as I'm clearing up the queue where possible? Can be re-opened when needed.
Of perhaps I missed the PR this is attached to?

authors: hectorkambow vicradon

license_source: github-api


text:
How To Build A Search Engine For Twitter Videos.

https://davemikeondateandtimejs.hashnode.dev/kubernetes-pod-the-runcontainer-error
https://davemikeondateandtimejs.hashnode.dev/how-to-fetch-dataapi-asynchronously-with-ajax
Topic Suggestion
How To Build A Search Engine For Twitter Videos.
Proposed article introduction
This tutorial will teach you how to use the twitter streaming API as this will enable to you get videos searched for in real time.
When a word is searched, it fetches tweet which would be piped to the frontend with socket.io, and a webpage that will show the tweet coming in real-time. Installation of node js is required, a package needle will be introduced also to make our request to twitter api server.
Key takeaways

How to query twitter API
How to setup needle package
How to interact with the Dom

Article quality
This content is not found anywhere on the internet.

Sounds like a helpful topic - let's please be sure it adds value beyond what is in any official docs and/or what is covered in other blog sites. (the articles should go beyond a basic explanation - and it is always best to reference any EngEd article and build upon it). @ekpenyongmike
Please be attentive to grammar/readability and make sure that you put your article through a thorough editing review prior to submitting it for final approval. (There are some great free tools that we reference in EngEd resources.)
ANY ARTICLE SUBMITTED WITH GLARING ERRORS WILL BE IMMEDIATELY CLOSED.
Please be sure to double-check that it does not overlap with any existing EngEd articles, articles on other blog sites, or any incoming EngEd topic suggestions (if you haven't already) to avoid any potential article closure, please reference any relevant EngEd articles in yours. - Approved

But Twitter already has a tutorial on that: https://developer.twitter.com/en/docs/tutorials/building-an-app-to-stream-tweets @ekpenyongmike

Hello @ahmadmardeni1
please i want to find out if i would be paid for this article

Closing due to inactivity.
This topic was approved a month ago - to make sure all our topics are up to date and unique we will be closing this issue.
You are welcome to re-submit topic for review and re-approval.
Since this topic may have been covered here or elsewhere since then.


text:
[Machine Learning] Classification of GitHub Issues Using Machine Learning

Article checklist
Attention
Our Peer Reviewer and Content Moderator teams do NOT provide any revisions services. All revisions and edits should be completed on your own forked repo (as to not take up room in the queue) in order for our team to review them all in a timely manner.
ANY ARTICLE SUBMITTED WITH GLARING ERRORS WILL BE IMMEDIATELY CLOSED.

As a rule of thumb - please be sure to only submit articles (pull requests) that are fully polished and ready to be published. Be sure to go through our resources documents for extra and 3rd party (vetted) resources to help improve overall technical writing.

Pre-submission checks

Please ensure that you have only one open topic suggestion (issue) + in-review article (linked pull request) at a time. This will ensure that we complete the review process in a timely manner from inception to publishing

If you have not already, please go over our Resources Page for more tips and tricks on how to improve your overall technical writing so reviews are swifter, increase the chance of a payout and provide more value to our readers.

For first-time contributors and for more details on our submission guidelines, see our Contributing Guidelines.

Formatting and structure checks

[x] Have you used the correct folder and file structure? - see Contribution Guidelines

[x] Is your article properly formatted in Markdown? - see Github Markdown guide

[x] Have you used our preferred heading structure? - H3 (###) and up

[x] Does your article follow any of the suggested structure formats? - see example formats

[x] Is your article over 750 words? - Tool: Wordcounter.net

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.

[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.

[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.

[x] Have you included a hero image that is 600x400 pixels, under 300KB in size, and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid - Grammarly
[x] Please place your article through a 3rd party plagiarism checker. We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide
[x] Have you checked your code runs correctly and you've highlighted all necessary dependencies for installation?
[x] Are the software programs and packages you're highlighting in your article up to date, using current versions and not deprecated?

Topic suggestion this closes

Remove the backticks and add the issue number below to link and close your Topic Suggestion (issue) when your article has been published (PR has been merged). See this video for more details.

This closes #5537

Finally, delete the article checklist notes in blockquotes and submit your PR. We look forward to reviewing your article.

Plagiarism check done ✅

Great work gentlemen. @srishilesh @charles721


text:
SSL cert error

When connecting to a mail server with a self signed SSL cert, king-phisher fails to send emails with the error:
WARNING  received a socket.error while connecting to the SMTP server
Would it be possible to add an option to either disable the ssl cert checks, or accept the self signed cert?

I looked into this a bit and it doesn't seem feasible to prompt the user to select a certificate for two reasons.

The certificate can be invalid for a number of reasons (hostname mismatch, expired etc.)
Creating a GUI widget to accurately display the information for the certificate is a bit out of the scope of the project as it would not be a trivial endeavor.

It looks like this would have to be implemented as an all or nothing option. Either the certificate will be validated entirely by the system, or the check would be disabled by the user via some configuration option.

@kureeoffsec I'm having trouble reproducing this error can you provide some more details? Specifically I'd like to know exactly what version of Python you're using (major, minor and patch please) as well as if your connecting to your SMTP server with TLS natively or using STARTTLS. Also providing the log messages before and after the message may be helpful.

Hey man, I have been out of the country for awhile, and will get back to
you asap.
On Tue, Sep 20, 2016 at 3:49 PM, Spencer McIntyre notifications@github.com
wrote:

@kureeoffsec https://github.com/kureeoffsec I'm having trouble
reproducing this error can you provide some more details? Specifically I'd
like to know exactly what version of Python you're using (major, minor and
patch please) as well as if your connecting to your SMTP server with TLS
natively or using STARTTLS. Also providing the log messages before and
after the message may be helpful.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/securestate/king-phisher/issues/147#issuecomment-248414032,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APkSZXDaybBHN5dMVTjuzxLaaIvM2FYuks5qsDjkgaJpZM4JsBE1
.

This has been open for over a month so I'm going to close it out now. If you get a chance and want to discuss it further just comment on this thread and I'd be happy to reopen it.

authors: kureeoffsec zeroSteiner

repo: securestate/king-phisher


text:
YouTube Playback issue

I'm having trouble playing some YouTube videos like this one:
https://www.youtube.com/watch?v=oTWv63RyLP8
I'm using lavaplayer 1.2.9.
Stacktrace:
com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Unable to play this YouTube track.
    at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.loadTrackFormats(YoutubeAudioTrack.java:127)
    at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.loadBestFormatWithUrl(YoutubeAudioTrack.java:94)
    at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.process(YoutubeAudioTrack.java:60)
    at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:85)
    at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$1(DefaultAudioPlayerManager.java:315)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalStateException: No adaptive formats, no dash.
    ... 8 more

Some YouTube videos use slightly different arguments in their JSON configuration. Fixed in 1.2.12.

It still doesn't work for me. Now I get a different exception with the provided video.
Stacktrace:
com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Something broke when playing the track.
    at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.wrapUnfriendlyExceptions(ExceptionTools.java:40)
    at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:97)
    at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$1(DefaultAudioPlayerManager.java:315)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NumberFormatException: null
    at java.lang.Long.parseLong(Long.java:552)
    at java.lang.Long.parseLong(Long.java:631)
    at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.loadTrackFormatsFromAdaptive(YoutubeAudioTrack.java:147)
    at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.loadTrackFormats(YoutubeAudioTrack.java:119)
    at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.loadBestFormatWithUrl(YoutubeAudioTrack.java:94)
    at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.process(YoutubeAudioTrack.java:60)
    at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:89)
    ... 4 more

I looked into the formats map and it only contains "itag", "type", "url" and "quality".

Should be properly fixed since 1.2.13

I'm having trouble with a different video now. (Don't ask why it's always a pengu video 😋)
https://www.youtube.com/watch?v=ufEEfbfb3xk
I have tried it 10 times and never managed to play it completly. I got the following exception a few times when I tried to play the song (it didn't even start and just broke directly)
Stacktrace:
com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Something broke when playing the track.
	at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.wrapUnfriendlyExceptions(ExceptionTools.java:40)
	at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:97)
	at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$1(DefaultAudioPlayerManager.java:315)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: java.net.SocketTimeoutException: Read timed out
	at com.sedmelluq.discord.lavaplayer.container.mpeg.reader.MpegReader.nextChild(MpegReader.java:62)
	at com.sedmelluq.discord.lavaplayer.container.mpeg.reader.MpegReader$Chain.run(MpegReader.java:228)
	at com.sedmelluq.discord.lavaplayer.container.mpeg.MpegFileLoader.parseHeaders(MpegFileLoader.java:72)
	at com.sedmelluq.discord.lavaplayer.container.mpeg.MpegAudioTrack.process(MpegAudioTrack.java:40)
	at com.sedmelluq.discord.lavaplayer.track.DelegatedAudioTrack.processDelegate(DelegatedAudioTrack.java:27)
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.processStatic(YoutubeAudioTrack.java:78)
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.process(YoutubeAudioTrack.java:68)
	at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:89)
	... 4 more
Caused by: java.net.SocketTimeoutException: Read timed out
	at java.net.SocketInputStream.socketRead0(Native Method)
	at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
	at java.net.SocketInputStream.read(SocketInputStream.java:171)
	at java.net.SocketInputStream.read(SocketInputStream.java:141)
	at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
	at sun.security.ssl.InputRecord.read(InputRecord.java:503)
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
	at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:930)
	at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
	at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:139)
	at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:155)
	at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:284)
	at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)
	at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)
	at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261)
	at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165)
	at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:167)
	at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272)
	at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124)
	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271)
	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
	at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
	at com.sedmelluq.discord.lavaplayer.tools.io.HttpInterface.execute(HttpInterface.java:56)
	at com.sedmelluq.discord.lavaplayer.tools.io.PersistentHttpStream.connect(PersistentHttpStream.java:94)
	at com.sedmelluq.discord.lavaplayer.tools.io.PersistentHttpStream.internalRead(PersistentHttpStream.java:122)
	at com.sedmelluq.discord.lavaplayer.tools.io.PersistentHttpStream.read(PersistentHttpStream.java:138)
	at com.sedmelluq.discord.lavaplayer.container.mpeg.reader.MpegReader.tryReadInt(MpegReader.java:133)
	at com.sedmelluq.discord.lavaplayer.container.mpeg.reader.MpegReader.nextChild(MpegReader.java:53)
	at com.sedmelluq.discord.lavaplayer.container.mpeg.reader.MpegReader$Chain.run(MpegReader.java:228)
	at com.sedmelluq.discord.lavaplayer.container.mpeg.MpegFileLoader.parseHeaders(MpegFileLoader.java:72)
	at com.sedmelluq.discord.lavaplayer.container.mpeg.MpegAudioTrack.process(MpegAudioTrack.java:40)
	at com.sedmelluq.discord.lavaplayer.track.DelegatedAudioTrack.processDelegate(DelegatedAudioTrack.java:27)
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.processStatic(YoutubeAudioTrack.java:78)
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.process(YoutubeAudioTrack.java:68)
	at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:89)
	... 4 more

And exceptions like this randomly in the middle of the track:
com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Something went wrong when decoding the track.
	at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.wrapUnfriendlyExceptions(ExceptionTools.java:40)
	at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.executeProcessingLoop(LocalAudioTrackExecutor.java:255)
	at com.sedmelluq.discord.lavaplayer.container.mpeg.MpegAudioTrack.process(MpegAudioTrack.java:52)
	at com.sedmelluq.discord.lavaplayer.track.DelegatedAudioTrack.processDelegate(DelegatedAudioTrack.java:27)
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.processStatic(YoutubeAudioTrack.java:78)
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.process(YoutubeAudioTrack.java:68)
	at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:89)
	at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$1(DefaultAudioPlayerManager.java:315)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 2991519; received: 851968
	at com.sedmelluq.discord.lavaplayer.container.mpeg.MpegAacTrackConsumer.consume(MpegAacTrackConsumer.java:91)
	at com.sedmelluq.discord.lavaplayer.container.mpeg.reader.fragmented.MpegFragmentedFileTrackProvider.provideFrames(MpegFragmentedFileTrackProvider.java:63)
	at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.executeProcessingLoop(LocalAudioTrackExecutor.java:245)
	... 9 more
Caused by: org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 2991519; received: 851968
	at org.apache.http.impl.io.ContentLengthInputStream.read(ContentLengthInputStream.java:180)
	at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:137)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
	at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
	at com.sedmelluq.discord.lavaplayer.tools.io.PersistentHttpStream.internalRead(PersistentHttpStream.java:145)
	at com.sedmelluq.discord.lavaplayer.tools.io.PersistentHttpStream.read(PersistentHttpStream.java:158)
	at java.nio.channels.Channels$ReadableByteChannelImpl.read(Channels.java:385)
	at com.sedmelluq.discord.lavaplayer.tools.io.DetachedByteChannel.read(DetachedByteChannel.java:28)
	at org.apache.commons.io.IOUtils.read(IOUtils.java:2950)
	at org.apache.commons.io.IOUtils.readFully(IOUtils.java:3072)
	at com.sedmelluq.discord.lavaplayer.container.mpeg.MpegAacTrackConsumer.consume(MpegAacTrackConsumer.java:84)
	at com.sedmelluq.discord.lavaplayer.container.mpeg.reader.fragmented.MpegFragmentedFileTrackProvider.provideFrames(MpegFragmentedFileTrackProvider.java:63)
	at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.executeProcessingLoop(LocalAudioTrackExecutor.java:245)
	... 9 more

Not sure if there's anything I can do about socket timeout, but I added the Premature end exception to the cases where it tries to reconnect (1.2.18).
Do you have a relatively unstable connection by any chance?

That's also what i thought first, but nope, it's running on a dedicated server and the connection of it is perfectly fine. Nothing else running on it has any problems and it only started recently with some videos :/

Just got this again with 1.2.18 :C
Stacktrace
com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Something went wrong when decoding the track.
	at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.wrapUnfriendlyExceptions(ExceptionTools.java:40)
	at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.executeProcessingLoop(LocalAudioTrackExecutor.java:255)
	at com.sedmelluq.discord.lavaplayer.container.mpeg.MpegAudioTrack.process(MpegAudioTrack.java:52)
	at com.sedmelluq.discord.lavaplayer.track.DelegatedAudioTrack.processDelegate(DelegatedAudioTrack.java:27)
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.processStatic(YoutubeAudioTrack.java:77)
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.process(YoutubeAudioTrack.java:67)
	at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:89)
	at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$1(DefaultAudioPlayerManager.java:325)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 2991519; received: 1507328
	at com.sedmelluq.discord.lavaplayer.container.mpeg.MpegAacTrackConsumer.consume(MpegAacTrackConsumer.java:91)
	at com.sedmelluq.discord.lavaplayer.container.mpeg.reader.fragmented.MpegFragmentedFileTrackProvider.provideFrames(MpegFragmentedFileTrackProvider.java:63)
	at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.executeProcessingLoop(LocalAudioTrackExecutor.java:245)
	... 9 more
Caused by: org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 2991519; received: 1507328
	at org.apache.http.impl.io.ContentLengthInputStream.read(ContentLengthInputStream.java:180)
	at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:137)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
	at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
	at com.sedmelluq.discord.lavaplayer.tools.io.PersistentHttpStream.internalRead(PersistentHttpStream.java:158)
	at com.sedmelluq.discord.lavaplayer.tools.io.PersistentHttpStream.read(PersistentHttpStream.java:171)
	at java.nio.channels.Channels$ReadableByteChannelImpl.read(Channels.java:385)
	at com.sedmelluq.discord.lavaplayer.tools.io.DetachedByteChannel.read(DetachedByteChannel.java:28)
	at org.apache.commons.io.IOUtils.read(IOUtils.java:2950)
	at org.apache.commons.io.IOUtils.readFully(IOUtils.java:3072)
	at com.sedmelluq.discord.lavaplayer.container.mpeg.MpegAacTrackConsumer.consume(MpegAacTrackConsumer.java:84)
	at com.sedmelluq.discord.lavaplayer.container.mpeg.reader.fragmented.MpegFragmentedFileTrackProvider.provideFrames(MpegFragmentedFileTrackProvider.java:63)
	at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.executeProcessingLoop(LocalAudioTrackExecutor.java:245)
	... 9 more

What's the default connect & read timeout and is there any way to change it? I just did a small test and loaded the URL logged by lavaplayer manually with curl and it took around 5 seconds before it actually started receiving data.

Uh, sorry about that, I didn't actually catch that exception. Maybe 1.2.19 is the charm.
The connect timeout for all HTTP connections opened is currently hardcoded to 3 seconds, so that might indeed be the issue with the read timeout (as it happens during connecting). I'll need to figure out a way to expose that setting. The latency shouldn't really be that high with a decent connection though.

The strange thing is that it only occurs on some videos and on a different server the playback works fine. It's definetly not the connection of the server, I ran some monitoring and verified that it gets the full 1 Gbit/s. Maybe there is a bad route for some of youtube's server or some of them are overloaded. I don't know. With the bad streams I also only get around 30 kb/s when it finally starts receiving data.

Okay. So I tried to set the connect, socket and connection-request-timeout to 10 seconds. Didn't help. Same exception after 10 seconds.

Seems like there really is no option to play those tracks then, especially if they eventually download so slowly anyway. May I ask which hosting provider you are using?

I'm using Hetzner from Germany.

Okay. The problem seems to have resolved itself for now (I have no idea what changed) so I'm going to close this now. Thank you a lot for your support! You are doing a great job here :)

repo: sedmelluq/lavaplayer


text:
Provide button linking to Swapr Pool Info (for Gnosis Markets)

For each outcome, there should be a link that takes you to the Swapr Pool Info page, of the Pool consisting on collateral + outcome.

Click it, get taken to swapr / whatever, page providing info on the pools
https://v3.swapr.eth.limo/#/info/pools/0x4a3fec341be7134b8ef9e9edb6bf63ae2ba17f43
This can be important. Swapr interface doesn't make it easy to access this page, but it matters directly to seer markets because liquidity distribution matters to traders. Otherwise, their only way is to try buying/selling shares through Seer UI to guess-work the current liquidity.
Only way to access this pool info from Swapr interface is to click "Pools", wait for it to load 5 pages of pools. If it's there, you'll see it, otherwise it's hidden. No links from positions to pool info. So, for non-savvy users, virtually all Pool Info is completely inaccessible.
Sort of info you can get through looking at liquidity distribution:

"Oh, there's enough liquidity for me to sell my 1000 shares!"
"Oh, there's barely any liquidity, there's an oportunity for me to provide the liquidity and get incentives!"
etc. In the absence of an Order Book like Polymarket has, and until that feature is implemented, providing an easy link to this information is the only way to provide this info.

(a bit of a rant, hopefully doesn't come up as rude)
For all the discussion and thoughts on Liquidity that Seer has made, the current interface provides no information about liquidity, only current prices. Liquidity is the arguably the most crucial piece of information for Prediction Markets, you have to be transparent about it and exhaustive. The current "Open Interest" displayed only displays information on how much tokens are currently minted, but that has nothing to do with trading.
Polymarket doesn't display that information. Most users won't understand the point. What's the difference between holding sDAI and the existence of minted outcome tokens that are not making a market, or are not available close to the current spread? There's no difference, so why report it? Those interests are not earned thanks to Seer, so why report them?
Instead, I would just display a number aggregating some relevant liquidity information, such as how much liquidity is close to the spread.
tl;dr pls remove "Open Interest" and switch it for a "Liquidity" metric, because that's what users will expect from that info

repo: seer-pm/demo

license: MIT


text:
DateTime/DateTimeOffset not supported???

At server, the following structure is serialized:
new Dictionary<string, object> {
  { "string", "Hello" },
  { "dateTime", DateTime.Now() },
};

On client, the response of that invocation is a Map<dynamic, dynamic> with:
{
  "string": "Hello,
  "dateTime": null,
}

The deserializer got a 0xd7 type, then a 0xff subtype (I guess -1 is considered 255), on this method:
dynamic _readExt(int length) {
  final extType = _readUInt8();
  final data = _readBuffer(length);
  return _extDecoder?.decodeObject(extType, data);
}

At that time, _extDecoder was null, so null was returned.

I also have this problem. But its, as you say, a problem in the messagepack repo.


text:
Add support for mode, locale, userReferralCode options

Making this change on behalf of @tsholmes, who doesn't yet have GitHub permissions on this org.

Nice this looks great!

LGTM!

authors: f2prateek ndhoule sperand-io


text:
Latest version published as 0.0.5 even though it's newer than 0.4.0

Description
The latest release was published as version 0.0.5. The version released before it was 0.4.0. As a user, I'd expect this library to follow a consistent versioning strategy like SemVer or similar.

Sorry typo.

authors: backjo deanhuynh

repo: segmentio/terraform-provider-segment


text:
EVM Precompile integration test

Describe your changes and provide context

Add hardhat tests for each of the precompiles
Test different precompile functions

Testing performed to validate your change

Verified with seilocal hardhat run
Verified with npx hardhat test --network seilocal test/EVMPrecompileTester.js

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

Project coverage is 63.27%. Comparing base (c932310) to head (49843a1).

:exclamation: Current head 49843a1 differs from pull request most recent head 9ac39d0. Consider uploading reports for the commit 9ac39d0 to get more accurate results

Additional details and impacted files

@@            Coverage Diff             @@
##              evm    #1379      +/-   ##
==========================================
+ Coverage   63.16%   63.27%   +0.11%
==========================================
  Files         350      350
  Lines       23760    23760
==========================================
+ Hits        15008    15035      +27
+ Misses       7896     7864      -32
- Partials      856      861       +5

see 3 files with indirect coverage changes

make sure you merge to seiv2

repo: sei-protocol/sei-chain


text:
Setting value programmatically doesn't call search in IE11 for MultiSelect

    select2.select2('open');
    var searchbox = select2.data('select2').dropdown.$search || select2.data('select2').selection.$search;
    searchbox.val(text);
    searchbox.trigger('input').trigger('change');

These code does not work in IE11 for MultiSelect.
I can not search the option according to "text" but "No matching results found. You might need to enter more characters. "
Is there any solution? Thanks.

One more information, Ajax Call as the data source. It seems the ajax will not fire unless someone type any thing in the search text.

Trigger input and keyup to handle the fact that IE is buggy.
https://github.com/select2/select2/blob/ab6f8466e4b56106d73286fceec7fe6cba7e8a2e/src/js/select2/selection/search.js#L143

This appears to be more of a usage question than a bug report or common feature request.  As we continue to keep the Select2 issue tracker geared towards these two areas, bug reports and common feature requests, we are redirecting usage questions to other communities such as the mailing list, IRC, or Stack Overflow.


text:
Cannot tell when a gist concept was first created or most recently modified.

Looking in a gistCore ontology file, one cannot tell when a gist concept was first created or most recently modified.
It would be nice if each Concept had an annotation about when it was created (date & version) and when it was most recently changed (date & version).  This could be automated into a skos history note, perhaps.  Other options that don't break OWL-DL could also be considered.
E.g.
gist:Aspect a owl:Class
; skos:historyNote "Created 2020-03-04; gistCore11.0.0"
; skos:historyNote "Modified 2023-07-11; gistCore12.1.0"
.

This would be nice, but to do manually might be onerous and prone to errors and incompleteness. Not sure how automatable it is.

I agree. This came up at a meeting in relation to #1017, which is straightforward, but I think this is too ambitious. Closing.

authors: marksem rjyounes uscholdm

repo: semanticarts/gist


text:
feat: Add submitted input placeholder for form

Ticket
https://sendbird.atlassian.net/browse/AC-3349
discussion: https://sendbird.slack.com/archives/C0772Q0BB8Q/p1721093737987559?thread_ts=1720573872.559059&cid=C0772Q0BB8Q
Also belows are resolved in this PR:

https://sendbird.atlassian.net/browse/AC-3111
https://sendbird.atlassian.net/browse/AC-3010
https://sendbird.atlassian.net/browse/AC-2782

@bang9 요거 리뷰 준비 됐으니 부탁드립니다. sdk 배포가 먼저 나가야 요거 배포 할수 있어요!

runformat 은 로컬에서 고치고 푸시했는데도 실패하네요..?

runformat 은 로컬에서 고치고 푸시했는데도 실패하네요..?

왜인지는 모르겠으나, 리암 PC 에서만 결과가 다르게 나오는것 같네요 yarn run format 실행하신거 맞죠?

왜인지는 모르겠으나, 리암 PC 에서만 결과가 다르게 나오는것 같네요 yarn format 실행하신거 맞죠?

넵

왜인지는 모르겠으나, 리암 PC 에서만 결과가 다르게 나오는것 같네요 yarn format 실행하신거 맞죠?

넵

한번 해결을 시도해보시겠어요?

제 랩탑은 prettier version 3.3.3을 쓰고 있는데 warning 을 캐치못하는거 같습니다. @bang9 의 prettier 버전은 몇인가요?

repo: sendbird/chat-ai-widget


text:
Fix cyclomatic complexity issues

Fixes
This patch fixes #121
Checklist

[x] I have made a material change to the repo (functionality, testing, spelling, grammar)
[x] I have read the [Contribution Guide] and my PR follows them.
[x] I updated my branch with the master branch.
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation about the functionality in the appropriate .md file
[ ] I have added in line documentation to the code I modified

Short description of what this PR does:
Fixing cyclomatic complexity issues in github.py and sendgrid_email.py

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hello @cristianossd,Thanks again for the PR! It's HACKTOBERFEST! We want to show our appreciation by sending                                              you some special Hacktoberfest swag. If you have not already, could you please fill out                                              this form so we can send it to you? Thanks!                                             Team SendGrid DX

authors: SendGridDX cristianossd thinkingserious


text:
Restore factory Settings

Can the micromanipulator be restored to factory Settings? What are the risks

At a minimum, you will have to re-configure the TSC's "group" to match the rest of your Sensapex hardware. Any other configuration options you had customized will be reset. It will also reboot the TSC, during which it will be unresponsive.

authors: outofculture usernamezhuzhu

repo: sensapex/sensapex-py


text:
It is not work

Hi,
When I start waid with "python wadi.py randoms.js 8000", it always like that:
D:\wadi>python wadi.py randoms.js 8000
[] Running Server Process 3732
Serving at port 8000
Process Process-4:
Traceback (most recent call last):
File "C:\Python27\lib\multiprocessing\process.py", line 258, in _bootstrap
self.run()
File "C:\Python27\lib\multiprocessing\process.py", line 114, in run
self._target(self._args, **self._kwargs)
File "D:\wadi\wadi.py", line 28, in run_debugger
debugger.run_Browser('IE')
File "D:\wadi\wadi_debug_win.py", line 180, in run_Browser
self.p1,self.p1name = self.system.find_processes_by_filename(self.exe)[0]
IndexError: list index out of range
[] Debugger Process 3620 exited
[] No Crashes
[] No TestCases
[] Terminating Debugger Process PID: 2504
[] Debugger Process 2504 exited
[] No Crashes
[] No TestCases
Process Process-6:
Traceback (most recent call last):
File "C:\Python27\lib\multiprocessing\process.py", line 258, in _bootstrap
self.run()
File "C:\Python27\lib\multiprocessing\process.py", line 114, in run
self._target(self._args, **self._kwargs)
File "D:\wadi\wadi.py", line 28, in run_debugger
debugger.run_Browser('IE')
File "D:\wadi\wadi_debug_win.py", line 187, in run_Browser
self.broker_process,self.broker_name = self.system.find_processes_by_filename(self.rt_broker)[0]
IndexError: list index out of range
[] Debugger Process 4248 exited
[] No Crashes
[] No TestCases
Attached to process C:\Windows\System32\RuntimeBroker.exe
Attached to process C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdge.exe
Attached to process C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdgeCP.exe
Attached to process C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdgeCP.exe
Attached to process C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdgeCP.exe
[] Terminating Debugger Process PID: 6044
[] Debugger Process 6044 exited
[] No Crashes
[] No TestCases
Process Process-8:
Traceback (most recent call last):
File "C:\Python27\lib\multiprocessing\process.py", line 258, in _bootstrap
self.run()
File "C:\Python27\lib\multiprocessing\process.py", line 114, in run
self._target(self._args, **self._kwargs)
File "D:\wadi\wadi.py", line 28, in run_debugger
debugger.run_Browser('IE')
File "D:\wadi\wadi_debug_win.py", line 187, in run_Browser
self.broker_process,self.broker_name = self.system.find_processes_by_filename(self.rt_broker)[0]
IndexError: list index out of range
[] Debugger Process 4240 exited
[] No Crashes
[*] No TestCases
Traceback (most recent call last):
File "wadi.py", line 125, in
w.run()
File "wadi.py", line 98, in run
if not self.debugger_process.is_alive():
File "C:\Python27\lib\multiprocessing\process.py", line 159, in is_alive
return self._popen.returncode is None
KeyboardInterrupt
Process Process-9:
........
and my edge version is 25.10586.0.0, and OS is win10  professional  with 32bit.
Thanks!

Heya,
The error indicates that Wadi was not able to find the RunTimeBroker.exe process, can I ask whats your setup.
Regards,
Saif
Sent from my iPhone

On 19 Jan 2016, at 07:42, sucof notifications@github.com wrote:
Hi,
When I start waid with "python wadipy randomsjs 8080", it always like that:
D:\wadi>python wadipy randomsjs 8080
[] Running Server Process 3732
Serving at port 8080
Process Process-4:
Traceback (most recent call last):
File "C:\Python27\lib\multiprocessing\processpy", line 258, in _bootstrap
selfrun()
File "C:\Python27\lib\multiprocessing\processpy", line 114, in run
self_target(self_args, *self_kwargs)
File "D:\wadi\wadipy", line 28, in run_debugger
debuggerrun_Browser('IE')
File "D:\wadi\wadi_debug_winpy", line 180, in run_Browser
selfp1,selfp1name = selfsystemfind_processes_by_filename(selfexe)[0]
IndexError: list index out of range
[] Debugger Process 3620 exited
[] No Crashes
[] No TestCases
[] Terminating Debugger Process PID: 2504
[] Debugger Process 2504 exited
[] No Crashes
[] No TestCases
Process Process-6:
Traceback (most recent call last):
File "C:\Python27\lib\multiprocessing\processpy", line 258, in _bootstrap
selfrun()
File "C:\Python27\lib\multiprocessing\processpy", line 114, in run
self_target(self_args, *self_kwargs)
File "D:\wadi\wadipy", line 28, in run_debugger
debuggerrun_Browser('IE')
File "D:\wadi\wadi_debug_winpy", line 187, in run_Browser
selfbroker_process,selfbroker_name = selfsystemfind_processes_by_filename(selfrt_broker)[0]
IndexError: list index out of range
[] Debugger Process 4248 exited
[] No Crashes
[] No TestCases
Attached to process C:\Windows\System32\RuntimeBrokerexe
Attached to process C:\Windows\SystemApps\MicrosoftMicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdgeexe
Attached to process C:\Windows\SystemApps\MicrosoftMicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdgeCPexe
Attached to process C:\Windows\SystemApps\MicrosoftMicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdgeCPexe
Attached to process C:\Windows\SystemApps\MicrosoftMicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdgeCPexe
[] Terminating Debugger Process PID: 6044
[] Debugger Process 6044 exited
[] No Crashes
[] No TestCases
Process Process-8:
Traceback (most recent call last):
File "C:\Python27\lib\multiprocessing\processpy", line 258, in _bootstrap
selfrun()
File "C:\Python27\lib\multiprocessing\processpy", line 114, in run
self_target(self_args, *self_kwargs)
File "D:\wadi\wadipy", line 28, in run_debugger
debuggerrun_Browser('IE')
File "D:\wadi\wadi_debug_winpy", line 187, in run_Browser
selfbroker_process,selfbroker_name = selfsystemfind_processes_by_filename(selfrt_broker)[0]
IndexError: list index out of range
[] Debugger Process 4240 exited
[] No Crashes
[] No TestCases
Traceback (most recent call last):
File "wadipy", line 125, in
wrun()
File "wadipy", line 98, in run
if not selfdebugger_processis_alive():
File "C:\Python27\lib\multiprocessing\processpy", line 159, in is_alive
return self_popenreturncode is None
KeyboardInterrupt
Process Process-9:
Thanks!
—
Reply to this email directly or view it on GitHub.

Hi,
I just setup pip install winappdbg, distorm3-3.win32.exe, PyV8-1.0-preview-r443.win32-py2.7.exe and pip install twisted. Then I encountered such a problem when I want to Fuzzing.
Regards,
sucof

Hey,
I was asking about your windows version and HW specs ??
Thanks,
Saif
Sent from my iPhone

On 20 Jan 2016, at 03:25, sucof notifications@github.com wrote:
Hi,
I just setup pip install winappdbg, distorm3-3.win32.exe, PyV8-1.0-preview-r443.win32-py2.7.exe and pip install twisted. Then I encountered such a problem when I want to Fuzzing.
Regards,
sucof
—
Reply to this email directly or view it on GitHub.

yeh,
sorry for my stupid, my test environment is a VM(12.0.0 build-2985596), VM's OS is win10 professional with 32bit,Th2(10.0.10586),  and specific parameter of HW specs are: CPU is I5(750), RAM is 2G. Is it?
Thanks,
sucof

you can comment out the line 187 in wadi_debug_win.py

authors: ssherei sucof

repo: sensepost/wadi


text:
Support configuration of multiple forward zones

Forward zones configuration is a bit messy when too many domains are on a single line:
forward-zones=example.org=203.0.113.210, powerdns.com=2001:DB8::BEEF:5

this PR adds possibility to zones as a hash:
powerdns::forward_zones:
  example.org: 203.0.113.210
  powerdns.com: 2001:DB8::BEEF:5

Cool! Thanks!

repo: sensson/puppet-powerdns


text:
Fix cluster tests to work with Sensu Go 5.7

Pull Request Checklist

Description

Fix cluster acceptance tests to work with sensu go 5.7
The Puppet provider has extra logic to handle both old and fixed JSON but the acceptance tests were targeted at latest release which now fixes JSON output.
Fix upstream: https://github.com/sensu/sensu-go/pull/2924

Borrowed commit from #1108 to limit travis tests so only one build happens during a PR.  This PR will be needed before #1108 fully passes.

repo: sensu/sensu-puppet


text:
Additional bolt tasks

Added task to list outdated bonsai assets. This is part of fixing #1147
Add a few comments that didn't get pushed with #1153 .

This PR is additional bolt tasks and a commit that was missing from #1153

We should have a bolt tasks section of the readme that lists the tasks and explains what they do and how to use them, just like the basics for the classes.

Wouldn't that duplicate the puppet strings auto generated docs? The docs are generated when pushed to forge based on the JSON metadata. I just wasn't sure how much we wanted to duplicate automatic docs. Still think warrants more than Strings docs?

https://forge.puppet.com/sensu/sensu/tasks
I don't see tasks in the strings docs on github but when I generate the docs locally I see tasks getting put into REFERENCE.md and the docs directory. Maybe release for bolt tasks didn't receive automatic doc updates?
I'd prefer to rely on code to document things especially since metadata is a core part of bolt tasks. If there is something lacking from the auto docs that can't be added to the auto docs then I can update readme.

We don't want the docs in the README to just replicate puppet-strings generated docs. Listing what the tasks are with a sentence or two about it let's folks you read the README understand what is possible from a glance.

Added section to README

authors: ghoneycutt treydock


text:
Subdue publisher vs Handlers

Hello,
The docs are not clear on the differences between subduing at the handlers or the publisher.  ( https://sensuapp.org/docs/latest/checks ).  Can you please elaborate when one would use one or the other ?
Thanks
-John

Subduing at the publisher stops check requests from being published for the period of time. Subduing at the handler stops event handling for the period of time.

Thanks what I sort of figured but I am not having much luck implementing it on a keep alive.   Any chance u have an example showing a keep alive being subdued on the publisher during evenings and weekends?
Thanks
Sent from my iPhone

On Jul 13, 2015, at 12:49 PM, Sean Porter notifications@github.com wrote:
Subduing at the publisher stops check requests from being published for the period of time. Subduing at the handler stops event handling for the period of time.
—
Reply to this email directly or view it on GitHub.

@portertech  - So here is my keepalive / client as shown in Uchiwa
http://drops.johntdyer.com/HhrH/5vaHHaW0
Right now the check is still failing and the only way I am able to keep the handler from handling the event is to create a stash.   Am I doing something wrong here?
-John

You want to subdue "at": "handler".

When would I want to use publisher ?

Tagged this for renewed discussion around a subdue redux; see #1219

This is fixed by #1415, which is included in version 0.26, which is now in the unstable repos (should be released tomorrow).
Subdue rules now apply to check publishing, ONLY (not to handlers). Time-based rules for handlers are now supported via a new filter when attribute. See #1415 for more information, or the impending 0.26 release notes.

authors: calebhailey johntdyer portertech

repo: sensu/sensu


text:
Make event IDs persist until the event is resolved

This pull request makes Sensu event IDs persist, for one or more event occurrences, until the event is resolved. This closes https://github.com/sensu/sensu/issues/1196
This makes event IDs useful, beyond just an event occurrence identifier.

:+1:

I'm excited about this change. I can't wait to see what people build with this.
/cc @solarkennedy and @joshzitting

I need this, this is great!

authors: amdprophet calebhailey mattyjones portertech


text:
Add values_mut() iterator for serde_json::Map

This method was added to BTreeMap and HashMap in Rust 1.10.
Will require support from LinkedHashMap. https://github.com/contain-rs/linked-hash-map/issues/82
Mentioning @clarcharr in case you would be interested in sending them a PR.

Good idea, I would be open to moving to indexmap.

repo: serde-rs/json


text:
Extract serde_json::Map and serde_json::Number opaque newtypes

Fixes #152 and fixes #57.

I added #57 to this as well. Confirmed no performance difference once everything has #[inline] (it was about 20% without :astonished:).

:umbrella: The latest upstream changes (presumably #192) made this pull request unmergeable. Please resolve the merge conflicts.

authors: dtolnay homu


text:
doc: Fix topic about parallelism

Issue #22

Thank you for your contribution

authors: anapaulamendes serengil

repo: serengil/chefboost


text:
feat: save the "rocket pool node address" and dates as a query parameters in the URL so I can bookmark a page to my validators

I love this site and the simplicity and clarity. I'd prefer to be able to bookmark pages that already have the fields already filled in - even if I need to click calculate but don't have to look any addresses up in another app or fiddle with fields to get the view that I am looking for.

Thanks for the feature request!
This is something I've been thinking about adding for a while. I was planning to store the used inputs in the browser's local storage. Query parameters are another way to go.
Can't make any promises time-wise but this is probably the next feature to get implemented.


text:
Error code 500

Error message:
Failed to get rewards - Request failed with status code 500 Execution layer rewards not available - missing data for proposer 306186, slot 8674781
Date range used 3/18/2024-2/23/2024

I've fixed some block reward indexing issues this week, looks like it also fixed this specific slot!


text:
Julia microbenchmarks

I played again with Julia microbenchmarks (https://julialang.org/benchmarks/), Pythran 0.9 and FluidPythran.
The code and some results are here https://github.com/fluiddyn/BenchmarksPythonJuliaAndCo/tree/master/JuMicroBenchmarks
There is one big Pythran performance issue with matrix multiplication for which Pythran is ~ 10 times slower than Numpy...
Pythran is slower than Julia for random generation but it is a known and understood issue (see #759).
@serge-sans-paille do you see possible improvements in the Python code (https://github.com/fluiddyn/BenchmarksPythonJuliaAndCo/blob/master/JuMicroBenchmarks/perf.py)?
@serge-sans-paille I'd like also to add few functions for which we know that Pythran does a good job. Could you please tell me which functions I could try?

For matrix multiply, the problem probably lies in the blas version you're using, I have that in my pythranrc:
blas=openblas

Don't know if you consider it fair to activate -march=native -DUSE_XSIMD ?

Yes I consider it fair to activate -march=native -DUSE_XSIMD. I am comparing JIT and these are the default option for the cachedjit decorator.

The performance issue for matrix multiplication is indeed solved with blas=openblas or blas=mkl. I thought Pythran would be by default able to use the blas library used by Numpy.
The default value leads to slow result... It may be good to warn the user and stress that the parameter blas is very important?

I have a performance issue with random generation. It is much worth than before (#759) since now, Pythran is ~10 times slower than Numpy...
See the tables in https://github.com/fluiddyn/BenchmarksPythonJuliaAndCo/tree/master/JuMicroBenchmarks

authors: paugier serge-sans-paille

repo: serge-sans-paille/pythran


text:
Unable to pass sliced 2d array (from 3d array) to Pythran

I've encountered a problem when I tried to feed a sliced 2D array (from 3D array) to a Pythran function.
Pythran version: 0.9.5
Numpy version: 1.18.1
Python version: 3.6.8
GCC version:  7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
Here is reproducible code:
# a.py
import numpy as np

#pythran export test_pythran(int64[:,:], int64[:,:], float, float)
def test_pythran(sstats1, sstats2, k_lambda, t_lambda):
    k_lambda_prime = k_lambda + sstats1
    t_lambda_prime = t_lambda / (t_lambda * sstats2 + 1)

    return k_lambda_prime, t_lambda_prime

Compiling with following  command:

pythran -DUSE_XSIMD -march=native  a.py

# test.py
import a
import numpy as np

tmp = np.random.randint(5, size=(10, 4, 3))
b = a.test_pythran(tmp[:, :, 0], tmp[:, :,1], 1., 2.) # not working

# tmp = np.random.randint(5, size=(10, 4))
# b = a.test_pythran(tmp, tmp, 1., 2.)                <= working

Then execute with python3 test.py and get the following error message:
Traceback (most recent call last):
  File "test.py", line 5, in <module>
    b = a.test_pythran(tmp[:, :, 0], tmp[:, :,1], 1., 2.) # not working
TypeError: Invalid call to pythranized function `test_pythran(int64[:, :] (reshaped), int64[:, :] (reshaped), float, float)'
Candidates are:

    - test_pythran(int64[:,:], int64[:,:], float, float)

Could you give me some suggestions for fixing this issue? Thanks!

This is a limitation of Pythran. Im willing to work on it, but as a short-term fix, just copy (ouch) the parameter to contiguous memory:
a.test_pythran(tmp[:, :, 0].copy(), tmp[:, :,1].copy(), 1., 2.)

Thank you! Hopefully this feature can be implemented in near future. That would be a big plus for many numpy users.

Probably relevant for now is this SO and this SO answer, since .copy() in this case will always create a copy whereas for numpy.ascontiguousarray the following applies:

No copy is performed if the input is already an ndarray with matching dtype and order. (comment from source code)

I'm not entirely sure how this would work out with Phytran, but the tmp array here is already C-contiguous when we check its flag (print(tmp.flags['C_CONTIGUOUS'])) and calling the code below runs fine:
test_pythran(np.ascontiguousarray(tmp[:, :, 0]), np.ascontiguousarray(tmp[:, :,1]), 1., 2.)
Note, I'm not entirely sure if this would or would not create a copy, although it looks like based on the answer by hpaulj that it would not.

Probably relevant for now is this SO and this SO answer, since .copy() in this case will always create a copy whereas for numpy.ascontiguousarray the following applies:

No copy is performed if the input is already an ndarray with matching dtype and order. (comment from source code)

I'm not entirely sure how this would work out with Phytran, but the tmp array here is already C-contiguous when we check its flag (print(tmp.flags['C_CONTIGUOUS'])) and calling the code below runs fine:
test_pythran(np.ascontiguousarray(tmp[:, :, 0]), np.ascontiguousarray(tmp[:, :,1]), 1., 2.)
Note, I'm not entirely sure if this would or would not create a copy, although it looks like based on the answer by hpaulj that it would not.

Note, I'm not entirely sure if this would or would not create a copy, although it looks like based on the answer by hpaulj that it would not.

np.ascontiguousarray(tmp[:, :, 0]) creates a copy since tmp[:, :, 0] is not contiguous.
In [3]: tmp[:, :, 0].flags
Out[3]:
  C_CONTIGUOUS : False
  F_CONTIGUOUS : False
  OWNDATA : False
  WRITEABLE : True
  ALIGNED : True
  WRITEBACKIFCOPY : False
  UPDATEIFCOPY : False

In [4]: np.ascontiguousarray(tmp[:, :, 0]).flags
Out[4]:
  C_CONTIGUOUS : True
  F_CONTIGUOUS : False
  OWNDATA : True
  WRITEABLE : True
  ALIGNED : True
  WRITEBACKIFCOPY : False
  UPDATEIFCOPY : False

In contrast, tmp[0, :, :] is contiguous so no need for a copy:

In [5]: tmp[0, :, :].flags
Out[5]:
  C_CONTIGUOUS : True
  F_CONTIGUOUS : False
  OWNDATA : False
  WRITEABLE : True
  ALIGNED : True
  WRITEBACKIFCOPY : False
  UPDATEIFCOPY : False

In [6]: np.ascontiguousarray(tmp[0, :, :]).flags
Out[6]:
  C_CONTIGUOUS : True
  F_CONTIGUOUS : False
  OWNDATA : False
  WRITEABLE : True
  ALIGNED : True
  WRITEBACKIFCOPY : False
  UPDATEIFCOPY : False

Note, I'm not entirely sure if this would or would not create a copy, although it looks like based on the answer by hpaulj that it would not.

np.ascontiguousarray(tmp[:, :, 0]) creates a copy since tmp[:, :, 0] is not contiguous.
In [3]: tmp[:, :, 0].flags
Out[3]:
  C_CONTIGUOUS : False
  F_CONTIGUOUS : False
  OWNDATA : False
  WRITEABLE : True
  ALIGNED : True
  WRITEBACKIFCOPY : False
  UPDATEIFCOPY : False

In [4]: np.ascontiguousarray(tmp[:, :, 0]).flags
Out[4]:
  C_CONTIGUOUS : True
  F_CONTIGUOUS : False
  OWNDATA : True
  WRITEABLE : True
  ALIGNED : True
  WRITEBACKIFCOPY : False
  UPDATEIFCOPY : False

In contrast, tmp[0, :, :] is contiguous so no need for a copy:

In [5]: tmp[0, :, :].flags
Out[5]:
  C_CONTIGUOUS : True
  F_CONTIGUOUS : False
  OWNDATA : False
  WRITEABLE : True
  ALIGNED : True
  WRITEBACKIFCOPY : False
  UPDATEIFCOPY : False

In [6]: np.ascontiguousarray(tmp[0, :, :]).flags
Out[6]:
  C_CONTIGUOUS : True
  F_CONTIGUOUS : False
  OWNDATA : False
  WRITEABLE : True
  ALIGNED : True
  WRITEBACKIFCOPY : False
  UPDATEIFCOPY : False

authors: clyang paugier rickbeeloo serge-sans-paille


text:
INstallation Issue

When trying to add the integration, I get the following error:
Config flow could not be loaded: {"message":"Invalid handler specified"}
This is what the log says:
Logger: homeassistant.config_entries
Source: config_entries.py:2069
First occurred: 15:48:27 (2 occurrences)
Last logged: 15:56:49
Error occurred loading flow for integration smartercoffee: cannot import name 'CoroWrapper' from 'asyncio.coroutines' (/usr/local/lib/python3.11/asyncio/coroutines.py)
I am on version:
Home Assistant 2023.10.3
Supervisor 2023.10.0
Operating System 11.0
Frontend 20231005.0 - latest

I fixed this in PR https://github.com/sergeymaysak/smartercoffee/pull/9  but it's not been integrated (Not sure what Sergey's circumstances are presently, so i think it's understandable)
Your choice is to either edit init.py and comment out that import yourself (if that's something you are comfortable doing) or to use by branch which has the fix https://github.com/brewston/smartercoffee

Fixed in release 17.

authors: Peiloy brewston sergeymaysak

repo: sergeymaysak/smartercoffee


text:
Add Pareto Security menu bar app

Project URL
https://github.com/ParetoSecurity/pareto-mac/
Category
Menubar, Security
Description
A MenuBar app to automatically audit your Mac for basic security hygiene.
Why it should be included to Awesome macOS open source applications  (optional)
Checklist

[x] Edit applications.json instead of README.md.
[x] Only one project/change is in this pull request
[x] Screenshots(s) added if any
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

@zupo Thank you! 🚀

authors: serhii-londar zupo

repo: serhii-londar/open-source-mac-os-apps


text:
How to use this with angular?

How to use this with angular 6+?

Hi @ThakkarKhushbu
did you have any luck resolving this issue?  I see there have been a number of previous closed issues related to the use of angular, so I'm not sure if they would help, or if looking at an existing project which uses angular might help e.g. https://github.com/yu4321/Angular-Electron-SerialPort_ThermalPrinterExample

authors: GazHank ThakkarKhushbu

repo: serialport/node-serialport


text:
Set the Sink as public.

So we can create the Sink via the LoggerConfiguration.WriteTo.Sink(new ApplicationInsightsSink(...)).
Serilog offers the capability to create the Sink directly. I use this feature via an "Anonymizer" Sink where I suppress in the LogEvent Properties I don't want to send to Azure. The Anonymizer Sink is unable to give the clean logEvent to the applicationInsights sink due to its private protection level.

thank you

authors: GFlisch aloneguid


text:
add subject musik to de.serlo.org

closes #331

ty

authors: Knorrke arekkas


text:
🛑 [KaKi87] General API is down

In f45535e, [KaKi87] General API (https://api.kaki87.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: [KaKi87] General API is back up in bad95f2 after 24 minutes.

repo: server-KaTys/status


text:
refactor: drop deprecated runtimes

Many runtimes were obsolete, simply remove them.

Thanks @berenddeboer!
I was thinking if we should annotate them as @deprecated or remove them. According to AWS doc, after a runtime is deprecated:

you can no longer create or update functions that use the runtime ... ... Lambda does not block invocations of functions that use deprecated runtime. Function invocations continue indefinitely after the runtime reaches end of support.

If we removed the runtime, ppl using deprecated runtime would get a type error (ie. nodejs12.x), even though they are not "required" to update.
What do u think? /cc @thdxr

Hi @fwang no-one using SST would be using any of these old run-times. They are very very old. Secondly, you don't want to support them even, so if you keep them deprecated, it still means they technically should work.

Thanks @berenddeboer, good point! Agreed.
I put back nodejs12.x and dotnetcore3.1 for now as they were recently deprecated by Lambda. I know a few folks from the early days of SST that were using these two. They should have updated. But let's just give them a few more months in case they haven't 🥲

authors: berenddeboer fwang

repo: serverless-stack/sst


text:
Proposal for programmatically build workflow definitions

What would you like to be added:
Start discussion on the proposal for programmatically build workflow definitions.
Example
workflow := NewWorkflowBuilder("id", "0.1").
                     Event("eventName").
                   Parent().
                     Function("functionName", "http://.../operation").
                   Parent().
                     EventState("stateNameEvent").
		       OnEvent("eventName").
                     Parent().
                   Parent().
                     OperationalState("stateNameOperational")
                       Action("actionName").
                         FunctionRef("functionName").
                           Sleep().
                             Before("P5S").
                             After("P5S").
                   Root().Build()

Why is this needed:

@ricardozanini PR propose #190

repo: serverlessworkflow/sdk-go


text:
🛑 us2-ray.ipservers.xyz is down

In 759ed7a, us2-ray.ipservers.xyz (us2-ray.ipservers.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: us2-ray.ipservers.xyz is back up in a32fec8.

repo: serversshnet/uptime


text:
🛑 idx2vpn.jagoanssh.com is down

In 3fe7704, idx2vpn.jagoanssh.com (idx2vpn.jagoanssh.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: idx2vpn.jagoanssh.com is back up in fca8a70.


text:
🛑 sg7-ray.ipservers.xyz is down

In 179b4b4, sg7-ray.ipservers.xyz (sg7-ray.ipservers.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: sg7-ray.ipservers.xyz is back up in cd86e01 after 32 minutes.


text:
🛑 sgcgo.ipservers.xyz is down

In 3c7cb48, sgcgo.ipservers.xyz (sgcgo.ipservers.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: sgcgo.ipservers.xyz is back up in def6125 after 1 day, 1 hour, 51 minutes.


text:
Additional Improvements in SMP-dashboard

@Abhishek-kumar09 use a combination of blonde and saffron to indicate active vs non-active, if you would. Drop the bold font weight and use normal, please.
Please drop the margin between the two buttons and the bottom border radius. Disallow the two buttons from row-wrapping (keep them on the same row).
These buttons are functioning as a tabbed menu. Even though they are not technically that, let's style them as so given that they are functioning as so.
Originally posted by @leecalcote in https://github.com/service-mesh-performance/service-mesh-performance/issues/327#issuecomment-1127720127

Hey @leecalcote , I am interested in working on this implementation. Please assign me this issue.

@chethan27, excellent. Given how much has transpired in the time that this issue has been raised, I'm tagging @asubedy to help qualify the issue as still being valid.

Yes, please let me know


text:
OpenStack Controller ignores STACK_NAME parameter value if this is intentionally invisible in Marketplace Service offering

OSCM Version 17.2.1
How to reproduce:

Create a OpneStack service offering. Set a default parameter "Dev" for STACK_NAME
Before you activate the MP service set the parameter to be not visible on MP and activate the OpenStack service
Try to subscribe for the service

Important NOTE:
If you let this parameter visible, the "subscribe for service" works and the instance in OpenStack will be deployed.  Only if you make it NOT visible in MP, you will get the following error message on the logs.
[08/04 07:06:24] [__ejb-thread-pool3] ERROR No value set for property 'STACK_NAME'
[08/04 07:06:24] [__ejb-thread-pool3] ERROR Internal error while dispatching to OpenStack
java.lang.RuntimeException: No value set for property 'STACK_NAME'
at org.oscm.app.openstack.controller.PropertyHandler.getValidatedProperty(PropertyHandler.java:298)
at org.oscm.app.openstack.controller.PropertyHandler.getStackName(PropertyHandler.java:146)
at org.oscm.app.openstack.HeatProcessor.deleteStack(HeatProcessor.java:273)
at org.oscm.app.openstack.controller.Dispatcher.dispatch(Dispatcher.java:133)
at org.oscm.app.openstack.controller.OpenStackController.getInstanceStatus(OpenStackController.java:240)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1081)
at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1153)
at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:4786)
at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:656)
at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)
at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:608)
at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:73)
at org.jboss.weld.ejb.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:52)
at sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:883)
at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)
at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:608)
at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doCall(SystemInterceptorProxy.java:163)
at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:140)
at sun.reflect.GeneratedMethodAccessor113.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:883)
at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)
at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:369)
at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:4758)
at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4746)
at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:205)
at com.sun.ejb.containers.EJBObjectInvocationHandlerDelegate.invoke(EJBObjectInvocationHandlerDelegate.java:79)
at com.sun.proxy.$Proxy376.getInstanceStatus(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie.dispatchToMethod(ReflectiveTie.java:143)
at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:173)
at com.sun.corba.ee.impl.protocol.ServerRequestDispatcherImpl.dispatchToServant(ServerRequestDispatcherImpl.java:528)
at com.sun.corba.ee.impl.protocol.ServerRequestDispatcherImpl.dispatch(ServerRequestDispatcherImpl.java:199)
at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.handleRequestRequest(MessageMediatorImpl.java:1549)
at com.sun.corba.ee.impl.protocol.SharedCDRClientRequestDispatcherImpl.marshalingComplete(SharedCDRClientRequestDispatcherImpl.java:119)
at com.sun.corba.ee.impl.protocol.ClientDelegateImpl.invoke(ClientDelegateImpl.java:258)
at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:198)
at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:150)
at com.sun.corba.ee.impl.presentation.rmi.codegen.CodegenStubBase.invoke(CodegenStubBase.java:226)
at org.oscm.app.v2_0.intf.__APPlatformController_Remote_DynamicStub.getInstanceStatus(org/oscm/app/v2_0/intf/__APPlatformController_Remote_DynamicStub.java)
at org.oscm.app.v2_0.intf._APPlatformController_Wrapper.getInstanceStatus(org/oscm/app/v2_0/intf/_APPlatformController_Wrapper.java)
at org.oscm.ess.app.adapter.APPlatformControllerAdapter.getInstanceStatus(APPlatformControllerAdapter.java:60)
at org.oscm.app.v2_0.service.APPTimerServiceBean.doHandleControllerProvisioning(APPTimerServiceBean.java:265)
at org.oscm.app.v2_0.service.APPTimerServiceBean.doHandleSystems(APPTimerServiceBean.java:249)
at org.oscm.app.v2_0.service.APPTimerServiceBean.handleTimer(APPTimerServiceBean.java:214)
at sun.reflect.GeneratedMethodAccessor227.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1081)
at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1153)
at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:4786)
at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:656)
at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)
at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:608)
at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:73)
at org.jboss.weld.ejb.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:52)
at sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:883)
at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)
at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:608)
at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doCall(SystemInterceptorProxy.java:163)
at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundTimeout(SystemInterceptorProxy.java:145)
at sun.reflect.GeneratedMethodAccessor143.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:883)
at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)
at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:369)
at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:4758)
at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4746)
at com.sun.ejb.containers.BaseContainer.callEJBTimeout(BaseContainer.java:4051)
at com.sun.ejb.containers.EJBTimerService.deliverTimeout(EJBTimerService.java:1199)
at com.sun.ejb.containers.EJBTimerService.access$000(EJBTimerService.java:89)
at com.sun.ejb.containers.EJBTimerService$TaskExpiredWork.run(EJBTimerService.java:1919)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
[08/04 07:06:24] [__ejb-thread-pool3] ERROR createAndLogPlatformException() failed: No value set for property 'STACK_NAME'

@Hybrid-Cloud-Sympathist I tried to reproduce this error but could not manage to do so. Could you tell me where you specified the default value? In the technical service, or in the Marketable service?

@Hybrid-Cloud-Sympathist  Is this still an issue?

Yes. We had in our env. a tech serv def which this can be reproduced. If we intentionally do as previously reported, this serv param and proceed to subscribe in MP the value is not forwarded. Please ask Michael for more information about this issue.

On 06 Sep 2017, at 10:07, SylviaDehn notifications@github.com wrote:
@Hybrid-Cloud-Sympathist Is this still an issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@Hybrid-Cloud-Sympathist @mfalkenhahn : please attach tech. service and please answer questions from Aug. 7th

Hello Sylvia, Ok, this will take sometime since I am on holiday till 22th September.

On 06 Sep 2017, at 11:44, SylviaDehn notifications@github.com wrote:
@Hybrid-Cloud-Sympathist @mfalkenhahn : please attach tech. service and please answer questions from Aug. 7th
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Hello Sylvia, you can close this "BUG".
I can't reproduce it any more and don't know why this is working now.
I want to thank you for your support!

authors: Hybrid-Cloud-Sympathist SylviaDehn

repo: servicecatalog/development


text:
Admin Dashboard Isues

Admin dashboard will not create a new user when logging in for the first time.
It will send OTP to the sesto email that is in the seed.
But, it will not only not add my new email as the owner--- when i simply add an email to my supabase, it will not log the user in.
There is a serious issue in the user flow -After entering correct OTP, it just loops user back around to login page in an infinite user flow loop..
Any fixes here? Id love to use this store but Its unusable right now @sesto-dev
Also, just want to make sure that this github is a true multi-vendor market? As in, multiple owners can be added with multiple products/??
Ive been trying to make updates and login for 2 days just to dee what the admin dashboard looks like - some help would be greatly appreciated.

You cannot create an admin user from the UI and its by design. If it was allowed then everybody would be able to create an account and view / modify everything about your store. I have provided the seed script as an example, you should populate it with you own data, reset your database and run the seed script again.
No the current setup is not designed to handle multiple vendor but it should be relatively straight-forward to do it.

@sesto-dev Got it thanks. I mean, even when I re-seed the DB  with my email, and go to login - it doesn't log in and goes in a loop.
There is something wrong with the "verify" route or the "user-auth-form" - It perpetually loops to login screen even if you have the owner in there and will not go to the product route or no matter what i've done so far.
Even in your live vercel hosted version this is the case - but i guess as this isn't intended to  be multi-vendor thats why.
Its an awesome project and I'd like to find out why it perpetually loops has been my main problem so far.
I have no idea why because when I log all of email "verify" file, it seems to receive the OTP an process it, but maybe the issue is middleware file, routing or cookies - though I have attempted a few fixes to no avail.
But also, if it is not meant to be an multi-vendor dash, wont I have to change the relationships to the owner in that case? As in, products and things like that should only show if that owner is logged in... That sounds like a lot of work (unless I could just make the changes to the prisma.schema file is what you'd recommend for simplicity??)

:) yes im using cursor lol! I will do that...
thats weird then -- mind if I send you a loom video of the error on my end??? based upon the owner email, when i go to OTP etc, it just perpetually loops. Such a pain because i really want to use this git...

Yes of course you can send it to me.

ok cool give me about 1 hour

@sesto-dev https://www.loom.com/share/0be8fcb5a9aa4a039377c822bebb9686?sid=9358c7dd-e1d0-4f51-bfce-214e6a07a319

DUDE! So sorry for WASTING your time. I had the JWT secret key in the STOREFRONT but forgot to add to the Admin. What a DUH moment for me. Not filling out full .envs while testing has gotten me many times. Thanks for the help! Works now! Looks great!

I'm glad your issue is resolved 👍 In one of my other projects I am using the joi package that checks for required .env variables when the server is booting up and screams at you if you've missed any, I guess it would help if I implement it here too.


text:
Add pool utilization stats endpoint

This has two purposes.

The first is to provide some insight into the pool usage when
producing diagnostic error messages, and debugging overload
behavior.

The second is to allow experimentation with heuristics for load
shedding in chef-server. Being able to probe the queue depth enables
more intelligent choices of when and where to fail.

Well, looks like there's some fixes needed for R15. I'll take a look and fix in a bit.

@markan is there something you'd like to come back to here given that you've updated support for recent Erlang versions?

Rebased; looks like tests are failing intermittently on a few tests
in travis, but I can't repro locally.  I ran it in a loop for about 40 minutes (so about 240 total iterations) and had no failures. I know I've hit a few 'racy' tests, but I can't spot the issue here.

Yeah, I recall now that there is something that happens in travis in an intermittent fashion that I never had the time to track down.

authors: markan seth

repo: seth/pooler


text:
Iptv support

Hi,
This is a great M3U8 library, I was looking to create an application for build lists on the fly and this was doing the trick but I needed to add some live channels too and it wasn't possible, so I decided to change the library in order to allows me to do it. Maybe someone else is looking for this in the internet so I decided to share with you, in case you thing is helpful.
Regards,
Neftali

Coverage decreased (-1.4%) to 98.556% when pulling 32e950d0715066a89d3e4d99b183642ac1d15010 on neftalijv:iptv-support into 6e2a54b7f64cf2c1c93b958e31e0aa79e343db09 on sethdeckard:master.

Hi,
I already remove the violations found and I'll be waiting for any other comment if is something else needed to be changed.
Regards,
Neftali

@neftalijv Thank you for the contribution!
Can you point me to a document that describes these attributes? I just want to read more about it and make sure that if we do add it to the library that our implementation is complete and correct.
The build will also need to be passing (currently failing on this branch) and we'll need to maintain code coverage as well so the specs will need to be extended to add examples for these types of playlists.
The only other issue I see is the change you made in reader to add attribute parsing, that seems to duplicate some code already present in the project (although I'll admit it's not documented or very clear that it exists), you can take a look at this class as an example. It uses the parse_attributes method defined in the M3u8 module.

@neftalijv Were you able to address the issues in my comment on March 5th? I would like to merge this but unfortunately I cannot until those issues are fixed. If you don't have the time or don't want to address them that's cool, just let me know and I'll close the PR. Thank you!

authors: coveralls neftalijv sethdeckard


text:
📝[Docs]:- add tech stack logo on readme file

Is there an existing issue for this?

[X] I have searched the existing issues

Issue Description

here on the space of writing i want to add logo gor lokking good
Suggested Change

u can see this type logo
Rationale
i am new at gssoc'24 so small help to making your project add value to my profile
Urgency
Medium
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

can you assign me to this . i very new at gssoc,24

https://github.com/sethshivam11/campus-space/pull/74#issue-2355834631              i already solve this issues can you do anything for make it correct

@sethshivam11 merge the pr plsss

@Debayan-Ghosh2005 Okk, but please explain why do you revert that?

@Debayan-Ghosh2005  because i forget to mention my issue no for this my pr do not get assign any level so  as you know pr level is very imp for getting score


text:
Not recording HSV

So I have camera.ui setup and running runs great but the issue I'm having is it's not recording. I set up using HSV Support when I first set it up months ago it worked but no longer shows any recording below is my config
"platforms": [
        {
            "name": "Config",
            "port": 8581,
            "auth": "form",
            "theme": "dark-mode",
            "tempUnits": "c",
            "lang": "auto",
            "platform": "config"
        },
        {
            "name": "CameraUI",
            "debug": false,
            "mqtt": {
                "active": false,
                "tls": false,
                "port": 1883
            },
            "http": {
                "active": true,
                "port": 7272,
                "localhttp": false
            },
            "smtp": {
                "active": false,
                "port": 2727,
                "space_replace": "+"
            },
            "ftp": {
                "active": false,
                "useFile": false,
                "port": 5050
            },
            "ssl": {
                "active": false
            },
            "cameras": [
                {
                    "name": "Front Door",
                    "manufacturer": "Ubiquiti",
                    "model": "G3 Instant",
                    "serialNumber": "001",
                    "motion": true,
                    "unbridge": true,
                    "hsv": true,
                    "prebuffering": true,
                    "prebufferLength": 4,
                    "videoConfig": {
                        "source": "-i rtsps://192.168.10.6:7441/xxxxxxxxxxx?enableSrtp",
                        "rtspTransport": "tcp",
                        "vcodec": "copy",
                        "acodec": "libfdk_aac",
                        "audio": false,
                        "stillImageSource": "-i rtsps://192.168.10.6:7441/xxxxxxxxxxx?enableSrtp",
                        "subSource": "-i rtsps://192.168.10.6:7441/xxxxxxxxxx?enableSrtp"
                    },
                    "videoanalysis": {
                        "active": true
                    },
                    "motionTimeout": 15,
                    "smtp": {
                        "email": "Front Door"
                    },
                    "mqtt": {}
                },
                {
                    "name": "Living Room",
                    "manufacturer": "Ubiquiti",
                    "model": "G3 Instant",
                    "serialNumber": "002",
                    "motion": true,
                    "unbridge": true,
                    "hsv": true,
                    "prebuffering": true,
                    "prebufferLength": 4,
                    "videoConfig": {
                        "source": "-i rtsps://192.168.10.6:7441/xxxxxxxxxxxxx?enableSrtp",
                        "rtspTransport": "tcp",
                        "vcodec": "copy",
                        "acodec": "libfdk_aac",
                        "audio": false,
                        "stillImageSource": "-i rtsps://192.168.10.6:7441/xxxxxxxxxxx?enableSrtp",
                        "subSource": "-i rtsps://192.168.10.6:7441/xxxxxxxxxxx?enableSrtp"
                    },
                    "videoanalysis": {
                        "active": true
                    },
                    "motionTimeout": 15,
                    "smtp": {
                        "email": "Living Room"
                    },
                    "mqtt": {}
                }
            ],
            "platform": "CameraUI",
            "port": 8081,
            "atHomeSwitch": false,
            "options": {
                "videoProcessor": "ffmpeg"
            },
            "logLevel": "info"
        }

Is it fixed yet?

Is it fixed yet?

I've since moved back to Scrypted since they added HSV and works flawlessly

also get this problem. shows as recording in home app (red circle) but no recordings.

Do you see a camera view in the videoanalyse settings?

yes.

I too have this issue.

I have the same issue!

Same here!

Move to Scrypted works better and is still being worked on actively. I have zero issues with HSV recording movements.

authors: Julian0Davinci Melvin-P-NL TristanBrotherton bcyng ctrlcmdshft gtdpower

repo: seydx/homebridge-camera-ui


text:
Allow an iterator of borrowed values to be used instead of a streaming iterator

Sometimes when using rust-postgres-binary-copy, which takes values as a streaming iterator, I want to use a slice of borrowed ToSql values. I might not own these values, so I can't give ownership to a streaming iterator in the normal way.
However, since a streaming iterator yields references to the iterator's item anyway, it should be possible to use these APIs without having to provide ownership to the iterator. I've been working around this by implementing the StreamingIterator trait on top of an existing Iterator of references:
use streaming_iterator::StreamingIterator;

pub struct FakeStreamingIterator<'a, I, T>
    where I: Iterator<Item=&'a &'a T>, T: 'a + ?Sized {

    inner: Box<I>,
    current: Option<&'a &'a T>,
}

impl<'a, I, T> FakeStreamingIterator<'a, I, T>
    where I: Iterator<Item=&'a &'a T>, T: ?Sized {

    fn new(inner: I) -> FakeStreamingIterator<'a, I, T> {
        FakeStreamingIterator { inner: Box::new(inner), current: None }
    }
}

impl<'a, I, T> StreamingIterator for FakeStreamingIterator<'a, I, T>
    where I: Iterator<Item=&'a &'a T>, T: ?Sized {

    type Item = T;

    fn advance(&mut self) { self.current = self.inner.next(); }
    fn get(&self) -> Option<&T> { self.current.map(|x| *x) }
}

pub fn convert<'a, I, T>(iterator: I) -> FakeStreamingIterator<'a, I, T>
    where I: Iterator<Item=&'a &'a T>, T: ?Sized {

    FakeStreamingIterator::new(iterator)
}

This then allows me to construct a FakeStreamingIterator from a slice of references, and treat it as a normal StreamingIterator. However, it's a bit of a hack, so I'm curious what the officially supported way to handle this case is — maybe something like my FakeStreamingIterator should be included to support this use case?

Yep, that seems totally reasonable to add. I think it'd probably like this to avoid the forced double indirection: fn convert_ref<'a, I, T>(i: I) -> ConvertRef<I> where I: Iterator<Item = &'a T>. You could then call it like convert_ref(my_values.iter().map(|v| *v).

Yeah, that would be fine — this is just what I came up with after several hours of blindly fighting the compiler. :D
Shall I make a PR?

Yes please!

authors: alyssais sfackler

repo: sfackler/streaming-iterator


text:
Is present and Is blank filter

Apologies in advance I'm quite new to rails and rails_admin.
Seem like the 'Is Present' and 'Is blank' column filters fail for any boolean value
It also fails when checking against the integer value of a FK object.
To better explain: I have a relationship between Client and Appointment, in my appointment list I include the field :client <-- where some automagick seems to display the clients name and create a link to that object. I can use all the other filters on the :client field just fine but if i try and check on Is Present or Is Blank the sql generated seems to try and check if client_id is not null and client_id != '' <-- which I believe is the issue.
Thanks!

This is still relevant in 0.6.7. Is there some work going into the Postgres specifics?

This error still exists. please reopen the issue.

also still having the issue with 0.6.8

This still exists on 0.8.1

No fix yet? Same issue exists with 0.8.1

authors: Hasan-a-ayar SuperMasterBlasterLaser coorasse jhilden kweejibow nlsrchtr


text:
Update ruler length to 280 characters

Per the recent Twitter update from 140-character to 280-character tweet lengths, a 140-character ruler is now obsolete. This supports the new 280-character max tweet length.

@atoponce Can you squash this down to one commit?  Instructions here.

I have no idea what I'm doing. Heh. ¯_(ツ)_/¯

authors: atoponce tjschuck

repo: sferik/t


text:
Change mono/time to monochromatic/broadband

Yet another option for the discussion in #25.

Superseded by #135.

repo: sfstoolbox/sfs-python


text:
🛑 CatamarcaCapital is down

In 807dc0f, CatamarcaCapital (https://www.catamarcaciudad.gob.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CatamarcaCapital is back up in 1bb9322 after 4 minutes.

repo: sfvc/upptime


text:
create input components for Date, Select, and TextArea

@sgasser Here is a PR for adding form input components for TextArea, Date, and Select.

Thanks. You are awesome! ;)

repo: sgasser/ember-cli-materialize