Can't get or search emojis - emojis.json is not found

When I try to get an emoji, or perform a search, I get an error saying emojis.json not found.
elssar@r2d2:~/work/src$ em -s food
Traceback (most recent call last):
  File "/usr/local/bin/em", line 9, in <module>
    load_entry_point('em-keyboard==0.0.3', 'console_scripts', 'em')()
  File "/usr/local/lib/python2.7/dist-packages/em.py", line 105, in cli
    lookup = parse_emojis()
  File "/usr/local/lib/python2.7/dist-packages/em.py", line 41, in parse_emojis
    return json.load(open(filename))
IOError: [Errno 2] No such file or directory: '/usr/local/lib/python2.7/dist-packages/emojis.json'

elssar@r2d2:~/work/src$ em heart
Traceback (most recent call last):
  File "/usr/local/bin/em", line 9, in <module>
    load_entry_point('em-keyboard==0.0.3', 'console_scripts', 'em')()
  File "/usr/local/lib/python2.7/dist-packages/em.py", line 105, in cli
    lookup = parse_emojis()
  File "/usr/local/lib/python2.7/dist-packages/em.py", line 41, in parse_emojis
    return json.load(open(filename))
IOError: [Errno 2] No such file or directory: '/usr/local/lib/python2.7/dist-packages/emojis.json'

Help works fine though.
I'm using Python 2.7.3, pip 1.5.6 on Ubuntu 12.04 (old, I know)

I was just about to report this.
Wild speculation that it's something to do with the package_data

What version are you using? The latest release (v0.0.4) should work properly.

It looks like you're using 0.0.3. Upgrade to 0.0.4 :)

Upgrading fixed it :heart:


update adding windows node page

update adding windows node page
fixes #30510

/assign @kbhawkey

Looking for Lgtm!

Hi @RA489 looks like you need a rebase but the new link lgtm

/sig windows

/close
This was addressed with https://github.com/kubernetes/website/pull/30105


Explicitly defining the main entry point to the module.

This fixes some edge compatibility issues that I had using striptags with NativeScript on Android (https://github.com/NativeScript/NativeScript). I checked and it passes all of the tests and should change almost nothing for most use cases.

Nice! Thanks @blaketarter, I'll try to get this merged and published soon.

Nice! Thanks @blaketarter, I'll try to get this merged and published soon.

I merged in your changes. I also went ahead and removed the src directory entirely, so there is no longer an index.js file. I updated the package.json file to match, but feel free to reopen if this causes any issues.
Thanks again! :+1:


Unenforced discard limits

An internal discard limit is applied to limit discarding bytes from a connection on close. It's currently at 4MiB: https://github.com/connectrpc/connect-go/blob/734ea9430653fa7956c53a06c3f139ac41d9407a/protocol.go#L43
However when connect receives a large message payload it discards the entire message to read the max size and report an error :

https://github.com/connectrpc/connect-go/blob/734ea9430653fa7956c53a06c3f139ac41d9407a/envelope.go#L253-L257
https://github.com/connectrpc/connect-go/blob/734ea9430653fa7956c53a06c3f139ac41d9407a/protocol_connect.go#L1087-L1091

This avoids the discard limit and will read up to the max message size (max uint32, and potentially more in connect unary?). This also can read much more than the connect.WithReadMaxBytes limited, although it won't keep the total payload in memory.
To Reproduce
To showcase I wrote a quick test to time a large payload with a server that has a 2MiB limit. Each iteration takes around 4.5s locally. Altering the bounds to error and not discard reduce this to less than 1s (presumably the time to marshal and start sending the large payload).
func TestShowDiscard(t *testing.T) {
	mux := http.NewServeMux()
	mux.Handle(
		pingv1connect.NewPingServiceHandler(
			&ExamplePingServer{},
			connect.WithReadMaxBytes(2*1024*1024), // 2 MiB
		),
	)
	server := httptest.NewServer(mux)
	t.Cleanup(server.Close)

	httpClient := server.Client()
	httpTransport, ok := httpClient.Transport.(*http.Transport)
	assert.True(t, ok)
	httpTransport.DisableCompression = true

	clients := []struct {
		name string
		opts []connect.ClientOption
	}{{
		name: "connect",
		opts: []connect.ClientOption{},
	}, {
		name: "grpc",
		opts: []connect.ClientOption{
			connect.WithGRPC(),
		},
	}, {
		name: "grpcweb",
		opts: []connect.ClientOption{
			connect.WithGRPCWeb(),
		},
	}}

	bigPayload := strings.Repeat("a", math.MaxUint32-10)
	msg := &pingv1.PingRequest{Text: bigPayload}
	size := proto.Size(msg)
	t.Log("size", size)
	if size > math.MaxUint32 {
		t.Fatal("message too big")
	}
	for _, client := range clients {
		now := time.Now()
		t.Log("start", client.name, now)
		client := pingv1connect.NewPingServiceClient(
			httpClient,
			server.URL,
			connect.WithClientOptions(client.opts...),
		)
		if _, err := client.Ping(
			context.Background(), connect.NewRequest(&pingv1.PingRequest{Text: bigPayload}),
		); err != nil {
			t.Log(err) // resource_exhausted: message size<PHONE_NUMBER> is larger than configured max 2097152
		}
		t.Log("duration", time.Since(now))
	}
}

Open questions

Should the discard limits be applied to message discarding?
Does the number of bytes read affect the discard limit?

Additional Info
Opened #606 to explore a solution, but needs clarification on how discard limits should be calculated.

Connect docs for WithReadMaxBytes mention http.MaxBytesHandler as an alternative.

Handlers may also use http.MaxBytesHandler to limit the total size of the HTTP request stream (rather than the per-message size). Connect handles http.MaxBytesError specially, so clients still receive errors with the appropriate error code and informative messages.

The current behaviour is not interchangeable to only being applied per message or per handler. http.MaxBytesHandler will try to close the connection and does not allow any more reads to progress once the limit is hit. Whilst connect.WithReadMaxBytes restricts the buffer size of a single message but doesn't stop more reads or close the connection.

Whilst connect.WithReadMaxBytes restricts the buffer size of a single message but doesn't stop more reads or close the connection.

This is for client and bidi stream endpoints, too? I thought that if the handler detected that this limit was exceeded that it results in a "resource exhausted" error to the client. That suggests that the RPC is immediately failed. But it sounds like what you're saying is that doesn't happen automatically -- it would require the handler to propagate the error that was returned from Receive. And if the error is ignored, the handler could keep going and ultimately return a different error (or even no error). Is that right?
Seems like possibly a bug.

I thought that if the handler detected that this limit was exceeded that it results in a "resource exhausted" error to the client.

Sorry I was unclear. The http.MaxBytesHandler will stop any Read() calls to the body guaranteeing that Read() can only get X bytes. The connect.WithReadMaxBytes will keep allowing Read() calls but does return an error and will close the connection on the returned error. Was raising this to figure out how to factor the discard limit into the read limit. Should we allow more Read() calls per message then WithReadMaxBytes limits?


Subdomain Handling

How can i do that!?

See also https://github.com/chriso/klein.php/issues/245

This should be closed @Rican7


fix(XMLHttpRequest): forward "responseType" and "withCredentials" to the bypassed request

Fixes: #309

Setting the withCredentials property now throws a jsdom exception during tests. It's odd since it fails on the preflight check for Acess-Controlled-Allow-Credentials header missing from the OPTIONS response (preflight) but jsdom never reaches that endpoint.

I have very little experience with Express, but I think the cors package in your test server handles the OPTIONS request. To return that header, it seems like we should use the { credentials: true } configuration for the cors middleware. (more info).

@avm99963, yeah, that's a good point. But I would still expect my app.options('/') route to be hit during that preflight check. I will try your suggestion, it sound like what we need.

I've found a bug in the @open-draft/test-server package that prevented custom middleware to take effect if it conflicts with the default middleware, like CORS. Merged the fix, will update and the CI should be green.

Awesome, thank you so much!! :)

This still needs some work, I will try to continue whenever I have a minute. I like that this unblocks the actual XHR behavior in regard to credentials. A great change.

Released: v0.20.0 🎉
This has been released in v0.20.0!

📄 Release notes
📦 npm package

Make sure to always update to the latest version (npm i @mswjs/interceptors@latest) to get the newest features and bug fixes.

Predictable release automation by @ossjs/release.


Dashboard cannot show tag names contain '/' correctly

Tag names with a / in them only show the text after the / in both the name and the URL (giving 404s) in the Dashboard.
Our CI build process pushes tags like build/123 and the dashboard shows it as 123.  The tag shows correctly in other places and navigating to /user/repo/src/build/123 works as well.
Gogs version:  <IP_ADDRESS>7
Git version: 2.0
OS: OS X (10.11)

This issue is claimed to be fixed by merging https://github.com/gogits/gogs/pull/2603
Can you help test on develop or https://try.gogs.io/?

Looks good.


release: 0.21.6

https://github.com/leptonai/leptonai/actions/runs/10327789878

https://github.com/leptonai/leptonai/actions/runs/10375894918


Android build issue

When doing a gradle build for my android app, I get pair of errors:
Error:Error converting bytecode to dex:
Cause: com.android.dex.DexException: Multiple dex files define Lorg/apache/commons/io/CopyUtils;

Error:Execution failed for task ':app:transformClassesWithDexForDebug'.
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/bin/java'' finished with non-zero exit value 2

These go away when I use a different jwt library.  I'm not sure if it's this library, or if it's clashing with another library I have imported that's doing things wrong.
My gradle dependencies:
    compile 'com.android.support:appcompat-v7:22.2.1'
    compile 'com.android.support:support-v4:22.2.1'
    compile 'com.squareup.okhttp3:okhttp:3.3.0'
    compile 'com.auth0:java-jwt:2.2.0'

I figured out my issue. I did have clashing dependencies:
gradle :app:dependencies:
+--- com.android.support:appcompat-v7:22.2.1
|    \--- com.android.support:support-v4:22.2.1 -> 23.1.1
|         \--- com.android.support:support-annotations:23.1.1
+--- com.android.support:support-v4:22.2.1 -> 23.1.1 (*)
+--- com.squareup.okhttp3:okhttp:3.3.0
|    \--- com.squareup.okio:okio:1.8.0
+--- com.auth0:java-jwt:2.2.0
|    \--- org.apache.commons:commons-io:1.3.2
\--- com.moki:manage-sdk:2.3.0
     +--- com.j256.ormlite:ormlite-android:4.47
     |    \--- com.j256.ormlite:ormlite-core:4.47
     +--- com.j256.ormlite:ormlite-core:4.47
     +--- com.google.code.gson:gson:2.4
     +--- com.android.support:support-v4:23.1.1 (*)
     \--- commons-io:commons-io:2.4

So manage-sdk requires commons-io:2.4 and java-jwt requires commons-io:1.3.2. I fixed it by changing my dependency for the jwt library:
    compile('com.auth0:java-jwt:2.2.0') {
        exclude module:'commons-io'
    }

Hopefully this is helpful to others.


Use also code in shipping method directory to avoid issue if same name

I ignored schema tests in Makefile because we have an issue with the test application migration and the sylius gateway config schema : https://github.com/Sylius/Sylius/pull/13214#issuecomment-1007502528


Routemaster.of(context).replace('/home') does not go anywhere

My login page on success I show a snackbar like this
    final snackBar = SnackBar(
      content: Text(message),
      action: SnackBarAction(
        label: 'OK',
        onPressed: () async {
          if (_user.hasAccess) {
            final username = _user.name;
            final email = _user.email;
            final UserSharedPrefs loggedInUser =
                dummy.dummyUser.copyWith(username: username!, email: email!);
            final json = loggedInUser.toJson();
            await storageService.setObjectItem(
                userSharedPrefsKey, loggedInUser);
            final appBarState = createAppBarStateFromUser(loggedInUser);
            initializeAppStateFromLoginInfo(loggedInUser, appBarState);
            await storageService.setObjectItem(appBarStateKey, appBarState);
            //TODO: save sideBarState maybe later

            loginInfoProvider.login();
            //Navigator.pop(context);
            print('login: going to /home');

            Routemaster.of(context).replace('/home');
          } else {
            Routemaster.of(context).replace('/');
          }
        },
      ),
      duration: Duration(seconds: 30),
    );

    ScaffoldMessenger.of(context).showSnackBar(snackBar);

I can see my print statement 'login: going to /home right before the line that uses routemaster but it does not go anywhere.
Then int give me some inactive inputconnection message:

Does this package not play nice with Riverpod?

The second time I try it after commenting out all my state saving lines I log in but the user is no longer the logged in user but a dummy user.
That code looks the same except
onPressed: () async {
          if (_user.hasAccess) {
            /*
            final username = _user.name;
            final email = _user.email;
            final UserSharedPrefs loggedInUser =
                dummy.dummyUser.copyWith(username: username!, email: email!);
            final json = loggedInUser.toJson();
            await storageService.setObjectItem(
                userSharedPrefsKey, loggedInUser);
            final appBarState = createAppBarStateFromUser(loggedInUser);
            initializeAppStateFromLoginInfo(loggedInUser, appBarState);
            await storageService.setObjectItem(appBarStateKey, appBarState);
            //TODO: save sideBarState maybe later
            */
            loginInfoProvider.login();

            //Navigator.pop(context);
            print('login: going to /home');

            Routemaster.of(context).push('/home');

and I changed it to push

It's always on the second try when I already have a valid session in shared preferences.  Can you clarify this whole sequence of changing the RouteMap?  I have a condition that checks whether the session is valid or if that provider loginInfoProvider is logged in which I do in the second to last line above and it is not working and I'm very very confused.


Add multiple execute

Tests will be fixed after pull request. Its confirmed that it works outside of github actions, so once again this might be something wrong with workflows.


ASF UI ToDo-List and Ideas

IMPORTANT NOTICE
Development for new ASF UI has begun. Current IPC GUI will not be updated anymore.
Current issue until release can be found here.
Check before releasing new UI

Dark mode
Localization
Responsivity

FAQ
Error 1006 when viewing Log page
This is getting caused by one of the following points:

Adblocker - Add IPC GUI to whitelist
Windows 7 - Websockets are not supported on win7
nginx - Check websocket proxying

Won't be a problem anymore in new UI.

Also its already stated in this FAQ.

ASF-ui stuff has been moved to https://github.com/JustArchiNET/ASF-ui/issues.


add view plugin for OnePhotonSeries

I'd like to request a view plugin for pynwb.ophys.OnePhotonSeries, which doesn't exist currently:

the very least it could use the same one as for TwoPhotonSeries or ImageSeries, and it would be really useful to have it.
Thank you!

@weiglszonja I'd be happy to add that. Would it be possible to find a public example on DANDI so I can develop/verify against that?

I think this can be closed now, opened #116 as follow-up question


Remove yarn install during build

This replaces #45 and per the discussion there removes yarn install from css:build. In its place, a FAQ is added for those that want to replicate prior behavior.
Since yarn add ... already installs newly added packages, there's no need to call yarn install from the various install.rb files either.

I don't think this is better than running yarn:install potentially twice. Too subtle, requires checking this documentation before use. Don't think yarn:install twice is a major issue. Need another more seamless path if we want to get rid of it.


fix a state bug

Fixes a bug with on_in_stack behavior, unit test coming soon.

Seems to be a duplicate of #2211, closing :sweat_smile:


📜 types

related to https://github.com/owid/etl/pull/3474
Add documentation on typing in ETL.

closing due to unexpected CI/CD errors. Resuming work in https://github.com/owid/etl/pull/3575


Add support for JSON Schema-style additional fields

In the v0.3.0-alpha6 release we confirmed that the semantics of pattern constraints would remain as is:

The spec recently included a change that proposed to use the JSON schema semantics for pattern constraints ([k]: v), rather than the old CUE semantics. To aid in the transition, cue fmt rewrote these fields to be enclosed in curly braces, which mimics the old semantics under these planned rules.
It has now been decided to keep the old semantics and stop rewriting old uses.

It went on to describe how the JSON Schema concept of additional fields would instead be added:

Instead we now intend to allow the JSON schema semantics additionally by writing [...k]: v. The nice thing here is that any pattern which is to be matched additionally, is now always preceded by a .... It also is a nicer generalization of the syntax.

This issue tracks the changes required for support of additional fields.

This issue has been migrated to https://github.com/cue-lang/cue/issues/785.
For more details about CUE's migration to a new home, please see https://github.com/cue-lang/cue/issues/1078.


Running make on a clean repo doesn't work properly

What happened?
When running make on a clean repo clone the response it:
make: Nothing to be done for `img.build'.

Running make by itself should run the default build steps for the project.
How can we reproduce it?
git clone https://github.com/crossplane/upjet
cd upjet
make

The img.build: target has no purpose and is blocking the fallthrough default build target which works properly.

Hi @bobh66,
Thanks for opening the issue. Looks like the root cause is we are defining the empty img.build target before the fallthrough target and thus, running make without any targets runs the empty img.build target instead of the fallthrough target.


Single binary release format

Hi! Thanks for all of your great work on this project!
Would it be possible to have a single binary release, in addition to the existing release format?
Thanks!

Correct, it would be nice to have it outside of the pkg.

So a release looking like
Aftermath.pkg
AftermathUninstaller.pkg
aftermath_binary
source_code

Would that solve what you're trying to do?

Yes, that would be ideal. Thank you!

Updated in v1.1.0 release

Awesome, thanks! I'll go ahead and close this issue.


How to build and install on Linux?

Are there any instructions for how to build the Java adapter and install it? Any help would be great! Thanks

Hi,
Look at this. Maybe it helps.


Add sample for playing music in classic Kotlin sample

The current implementation of MusicConsumptionFragment in leanback-showcase uses deprecated MediaPlayerGlue. Need help in implementing MediaPlayerAdapter with PlaybackTransportControlGlue
There is not much in documentation, or articles, videos on developing TV apps. Most of the help we find online is for playing video but not much for audio.
How can we convert MusicConsumptionFragment to modern Kotlin like in classic kotlin case.
I cant understand how to use MediaPlayerAdapter with PlaybackTransportControlGlue extending PlaybackSupportFragment to get the UI similar to MusicConsumptionFragment where one has CoverPhoto, title, description and a list of rows for episodes with like and add to playlist action

We have an older example of extending PlaybackSupportFragment for audio at https://github.com/android/uamp/blob/v1/mobile/src/main/java/com/example/android/uamp/ui/tv/TvPlaybackFragment.java from the Universal Android Music Player (UAMP) sample. It hasn't been modernized, but it may provide some help.


As a user I would like to make cheeps in the web application

Current version are able to send Cheeps after new commit
Refrenced commit


Metrics discovery phase

Partially closes: #2479
Description

Introduces a discovery phase to initialize the metrics.
Changes :

state.rs now contains functions to initialize metrics specific to a chain / client / channel / path.
Hermes now scans connections and channels in every case. Previously, the relayer would scan channels only when exact filters were specified in the config, otherwise it would just scan every client.
Minor code improvements

Note :

tx_latency* metrics are still not initialized because a histogram can only be initialized by adding a value and values can't be removed.
The impact of the discovery phase on performances is still unknown. On a small test net, there is no degradation.

PR author checklist:

[x] Added changelog entry, using unclog.
[ ] Added tests: integration (for Hermes) or unit/mock tests (for modules).
[x] Linked to GitHub issue.
[ ] Updated code comments and documentation (e.g., docs/).
[x] Tagged one reviewer who will be the one responsible for shepherding this PR.

Reviewer checklist:

[ ] Reviewed Files changed in the GitHub PR explorer.
[ ] Manually tested (in case integration/unit/mock tests are absent).

Great job @AlianBenabdallah ! It might be better to only discover the metrics which depend on the configuration tx_confirmation = true if the configuration is set. The metrics are ibc_receive_packets, ibc_acknowledgment_packets, ibc_timeout_packets and tx_latency_confirmed

Regarding tx_latency*, do you know how to initialize these metrics without adding a new value ?

Great job @AlianBenabdallah ! It might be better to only discover the metrics which depend on the configuration tx_confirmation = true if the configuration is set. The metrics are ibc_receive_packets, ibc_acknowledgment_packets, ibc_timeout_packets and tx_latency_confirmed

Regarding tx_latency*, do you know how to initialize these metrics without adding a new value ?

I haven't found a way to initialise the latencies without adding a new value thus distorting the histogram. But in my opinion it is not critical to discover the two metrics tx_latency_submitted and tx_latency_confirmed.

Great job @AlianBenabdallah ! It might be better to only discover the metrics which depend on the configuration tx_confirmation = true if the configuration is set. The metrics are ibc_receive_packets, ibc_acknowledgment_packets, ibc_timeout_packets and tx_latency_confirmed

It should be solved in the last commit. I also took into account ibc_client_updates, ibc_client_misbehaviours and clear_* metrics.


Implement ConcurrentTimedRotatingFileHandler

Move the current implementation of RotatingFileHandler to a mixin (aside
the shouldRollover method).
Use the mixin to patch the new implementations into the two subclasses
(ConcurrentTimedRotatingFileHandler and ConcurrentRotatingFileHandler).
Move the specific shouldRollover logic to the
ConcurrentRotatingFileHandler implementation.
fixes: #23

Cool, thanks for the PR. My initial take is that it looks good, but I'll review in a little more depth soon and hopefully accept it.

@tshirtman  - I opened a PR to your branch with some suggested changes. Thanks!

@tshirtman  - I've got a branch here:
https://github.com/Preston-Landers/concurrent-log-handler/tree/concurrent_timed_rotating_file_handler
This incorporates your PR with some minor additions, including updating the stresstest.py file to have an option to run a timed rotation. I've also updated the branch to include some other recent changes like an alternate location for the lock file.
Based on my experience with using these timed rotation changes in stresstest.py, I think the overall concept is good, but I suspect there may be some issues with the current implementation. I think these issues may be fairly minor when using a "normal" rotation time like 60 minutes or 1 day. It seems like some issues might be cropping up when using short time rotations, like a few seconds to a minute. Which is perhaps less realistic, but it remains a possibility. It's also easier to test short intervals.
Stresstest.py results seem to suggest that some log entries may be getting lost along the way when rotation engages. I.e., it shows a "diff" at the end where the two independently checked sets of log files don't match up.
Perhaps a more serious issue is how TimedRotatingFileHandler computes the self.rolloverAt time - it recomputes this ever time the rollover occurs. But the new time is not communicated out to the different instances of ConcurrentTimedRotatingFileHandler. This is leading to each instance computing different times to rollover, and the rollovers aren't occurring cleanly. I.e., if the interval is 10 seconds, you're aren't getting only 1 rollover every 10 seconds- you might get several smaller rollovers per 10 second interval, depending on how many writers (clients) there are. Each one is getting a slightly different time to rollover. This may only be very apparent when using a short interval, on the order of seconds. Using an hourly or daily rollover, this may be much less likely to happen, but I think there may still be a possibility.
So that's why I haven't merged this to master yet. I'm planning to continue investigating on this branch. I think the idea is very worthwhile. There might need to be some kind of communication channel between instances to coordinate the rollover cleanly. The base TimedRotatingFileHandler class wasn't designed for multiple independent writers.
Thanks again for your contribution.

Hey, thanks for the write up, and sorry for not getting back to this! Glad you think it's useful, i understand that indeed some synchronization mechanism would be needed for the file change, i think flock could be used for this (https://docs.python.org/3/library/fcntl.html#fcntl.flock) but i didn't try it outside of Linux (though the doc doesn't seem to indicate portability issue).

It's already using portalocker to achieve exclusive access to the log file.
The main problem is that independent processes will compute slightly different values for the next rollover time and they don't coordinate or share those times. Right now the lock file (which is separate from the actual log file) is an empty file with no contents. We just use it for the file lock. My thought is that when in TimedRotation mode, we can write the next rollover time to this lock file to coordinate between separate processes. The advantage of that is that we are already using the file and shouldn't need an additional communication channel. Doing a size-based rotation doesn't have this problem because when the rollover occurs, the size of the log file resets and so the other processes know they don't need to do another rollover.

Can you tell me if there are any changes? I really want to use it and it's strange that standard logging does not support rotation by days without errors for N processes

Good news: support for this feature is now experimentally available.
See the other PR#55 for details, and this comment.
A wheel is available for testing here:
https://github.com/Preston-Landers/concurrent-log-handler/releases/tag/0.9.23-alpha-1

Closing this PR as the other one has been merged. Please let me know if you find this useful or have issues.
https://github.com/Preston-Landers/concurrent-log-handler/pull/55


Xcodeproj doesn't know about the following attributes

[ ] I searched for existing GitHub issues

https://github.com/CocoaPods/Xcodeproj/issues/535 Now closed
Issue Description
Building with Xcode 10 and using React-native Firebase crashyltics (which requires a build phase with inputFiles value) causes the following error
Xcodeproj doesn't know about the following attributes {"inputFileListPaths"=>[], "outputFileListPaths"=>[]} for the 'PBXShellScriptBuildPhase' isa. (RuntimeError)

It appears as though fastlane is referencing or ships with an older version of xcodeproj which doesn't have the fix for this issue 1.5.7
from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/xcodeproj-1.5.7/lib/xcodeproj/project.rb:262:in `new_from_plist'
Complete output when running fastlane, including the stack trace and command used
[!] Xcodeproj doesn't know about the following attributes {"inputFileListPaths"=>[], "outputFileListPaths"=>[]} for the 'PBXShellScriptBuildPhase' isa.
If this attribute was generated by Xcode please file an issue: https://github.com/CocoaPods/Xcodeproj/issues/new

+------+------------------------+-------------+
|              fastlane summary               |
+------+------------------------+-------------+
| Step | Action                 | Time (in s) |
+------+------------------------+-------------+
| 1    | default_platform       | 0           |
| 2    | register_devices       | 3           |
| 3    | clean_build_artifacts  | 0           |
| 4    | changelog_from_git_co  | 0           |
|      | mmits                  |             |
| 5    | increment_build_numbe  | 4           |
|      | r                      |             |
| 💥   | commit_version_bump    | 0           |
+------+------------------------+-------------+

+---------+--------------+----------------+
|        Plugin updates available         |
+---------+--------------+----------------+
| Plugin  | Your Version | Latest Version |
+---------+--------------+----------------+
| bugsnag | 1.3.2        | 1.3.4          |
+---------+--------------+----------------+
[10:18:37]: To update all plugins, just run
[10:18:37]: $ bundle exec fastlane update_plugins

[10:18:37]: fastlane finished with errors

Looking for related GitHub issues on fastlane/fastlane...

/Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/xcodeproj-1.5.7/lib/xcodeproj/project/object.rb:321:in `configure_with_plist': [!] [!] Xcodeproj doesn't know about the following attributes {"inputFileListPaths"=>[], "outputFileListPaths"=>[]} for the 'PBXShellScriptBuildPhase' isa. (RuntimeError)
If this attribute was generated by Xcode please file an issue: https://github.com/CocoaPods/Xcodeproj/issues/new
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/xcodeproj-1.5.7/lib/xcodeproj/project.rb:262:in `new_from_plist'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/xcodeproj-1.5.7/lib/xcodeproj/project/object.rb:350:in `object_with_uuid'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/xcodeproj-1.5.7/lib/xcodeproj/project/object.rb:300:in `block (2 levels) in configure_with_plist'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/xcodeproj-1.5.7/lib/xcodeproj/project/object.rb:299:in `each'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/xcodeproj-1.5.7/lib/xcodeproj/project/object.rb:299:in `block in configure_with_plist'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/xcodeproj-1.5.7/lib/xcodeproj/project/object.rb:296:in `each'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/xcodeproj-1.5.7/lib/xcodeproj/project/object.rb:296:in `configure_with_plist'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/xcodeproj-1.5.7/lib/xcodeproj/project.rb:262:in `new_from_plist'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/xcodeproj-1.5.7/lib/xcodeproj/project/object.rb:350:in `object_with_uuid'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/xcodeproj-1.5.7/lib/xcodeproj/project/object.rb:300:in `block (2 levels) in configure_with_plist'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/xcodeproj-1.5.7/lib/xcodeproj/project/object.rb:299:in `each'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/xcodeproj-1.5.7/lib/xcodeproj/project/object.rb:299:in `block in configure_with_plist'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/xcodeproj-1.5.7/lib/xcodeproj/project/object.rb:296:in `each'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/xcodeproj-1.5.7/lib/xcodeproj/project/object.rb:296:in `configure_with_plist'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/xcodeproj-1.5.7/lib/xcodeproj/project.rb:262:in `new_from_plist'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/xcodeproj-1.5.7/lib/xcodeproj/project.rb:203:in `initialize_from_file'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/xcodeproj-1.5.7/lib/xcodeproj/project.rb:103:in `open'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.102.0/fastlane/lib/fastlane/actions/commit_version_bump.rb:60:in `run'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.102.0/fastlane/lib/fastlane/runner.rb:253:in `block (2 levels) in execute_action'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.102.0/fastlane/lib/fastlane/actions/actions_helper.rb:50:in `execute_action'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.102.0/fastlane/lib/fastlane/runner.rb:232:in `block in execute_action'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.102.0/fastlane/lib/fastlane/runner.rb:227:in `chdir'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.102.0/fastlane/lib/fastlane/runner.rb:227:in `execute_action'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.102.0/fastlane/lib/fastlane/runner.rb:157:in `trigger_action_by_name'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.102.0/fastlane/lib/fastlane/fast_file.rb:149:in `method_missing'
	from Fastfile:37:in `block (2 levels) in parsing_binding'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.102.0/fastlane/lib/fastlane/lane.rb:33:in `call'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.102.0/fastlane/lib/fastlane/lane.rb:33:in `call'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.102.0/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.102.0/fastlane/lib/fastlane/runner.rb:45:in `chdir'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.102.0/fastlane/lib/fastlane/runner.rb:45:in `execute'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.102.0/fastlane/lib/fastlane/lane_manager.rb:56:in `cruise_lane'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.102.0/fastlane/lib/fastlane/command_line_handler.rb:36:in `handle'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.102.0/fastlane/lib/fastlane/commands_generator.rb:108:in `block (2 levels) in run'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in `run'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in `run_active_command'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.102.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:74:in `run!'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in `run!'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.102.0/fastlane/lib/fastlane/commands_generator.rb:333:in `run'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.102.0/fastlane/lib/fastlane/commands_generator.rb:41:in `start'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.102.0/fastlane/lib/fastlane/cli_tools_distributor.rb:108:in `take_off'
	from /Users/me/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.102.0/bin/fastlane:20:in `<top (required)>'
	from /Users/me/.fastlane/bin/bundle/bin/fastlane:22:in `load'
	from /Users/me/.fastlane/bin/bundle/bin/fastlane:22:in `<main>'

Environment

🚫 fastlane environment 🚫
Stack

Key
Value

OS
10.13.6

Ruby
2.2.4

Bundler?
false

Git
git version 2.17.1 (Apple Git-112)

Installation Source
~/.fastlane/bin/bundle/bin/fastlane

Host
Mac OS X 10.13.6 (17G65)

Ruby Lib Dir
~/.fastlane/bin/bundle/lib

OpenSSL Version
OpenSSL 1.0.2g  1 Mar 2016

Is contained
false

Is homebrew
true

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode-beta.app/Contents/Developer/

Xcode Version
10.0

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8
✅

fastlane gems

Gem
Version
Update-Status

fastlane
2.102.0
✅ Up-To-Date

Loaded fastlane plugins:

Plugin
Version
Update-Status

fastlane-plugin-bugsnag
1.3.2
🚫 Update available

Loaded gems

Gem
Version

slack-notifier
2.3.2

atomos
0.1.2

CFPropertyList
3.0.0

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.6

xcodeproj
1.5.7

rouge
2.0.7

xcpretty
0.2.8

terminal-notifier
1.8.0

unicode-display_width
1.1.3

terminal-table
1.7.3

plist
3.4.0

public_suffix
2.0.5

addressable
2.5.2

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.6.4

tty-cursor
0.5.0

tty-spinner
0.8.0

babosa
1.0.2

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

excon
0.62.0

faraday
0.12.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.3

gh_inspector
1.1.3

json
1.8.1

mini_magick
4.5.1

multi_json
1.13.1

multi_xml
0.6.0

rubyzip
1.2.1

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.5.0

bundler
1.14.6

faraday_middleware
<IP_ADDRESS>

naturally
2.2.0

simctl
1.6.3

uber
0.1.0

declarative
0.0.10

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.2

mime-types-data
3.2016.0521

mime-types
3.1

little-plugger
1.1.4

logging
2.2.2

jwt
1.5.6

memoist
0.16.0

os
0.9.6

signet
0.7.3

googleauth
0.5.1

httpclient
2.8.3

google-api-client
0.21.2

emoji_regex
0.1.1

libxml-ruby
3.0.0

xml-simple
1.1.5

git
1.4.0

fastlane-plugin-bugsnag
1.3.2

generated on: 2018-08-27

I forgot to add a big thanks for the awesome tool !!

Are you sure a newer version of xcodeproj fixes the issue?
Can you identify which newer version of xcodeproj fixes the issue? (see https://github.com/CocoaPods/Xcodeproj/releases)
(I don't know enough about ruby and bundle, but I guess you can maybe run bundle update xcodeproj to update to a newer version and try again - depending on how exactly you are using fastlane)

Looks like 1.5.8

Warn when encountering unknown attributes instead of bailing out. theoriginalgri #535

https://github.com/CocoaPods/Xcodeproj/pull/570
I am not building fastlane on my machine, if I get a moment I can try. But I have deadline on Friday, and then 2 weeks off, so it would have to after - sorry

I edited the xcodeproj inside fastlane locally to match the changes from the Pull Request below. Basically replacing the raise with warn and everything works
https://github.com/CocoaPods/Xcodeproj/pull/570/files

@brenwell The PR has been merged, look out for the next release that should include this and fix your problem.

I am also facing the same problem has any one idea how to resolve this issue in xcode 10.

use a higher version pod to run pod deintegrate, then you can use a lower version pod to pod install
I solved use the method as I said.


[TFLite] Enable ApplyLazyDelegateProviders in TF-Lite Python Interpreter.

Fixed #53042 .
Enable XNNPACK delegate in TensorFlow Lite Python Interpreter.

Hi,
Thanks a lot for reporting the issue and trying to put together a fix.
At a glance, it seems to me that the ApplyLazyDelegateProviders function is designed to be called automatically inside the Interpreter class and the function should probably not even be public.
I'll try to find someone who is more familiar with this piece of code to review your pull request.

Thank you for your comment.
The InterpreterWrapper was a friend class, so I called the private method. It would have been better not to call it.
I understand that the issue will be resolved. Thank you very much. I'll wait.

Thank you for your comment.
The InterpreterWrapper was a friend class, so I called the private method. It would have been better not to call it.
I understand that the issue will be resolved. Thank you very much. I'll wait.

Pls check out https://github.com/tensorflow/tensorflow/commit/365a3b68471f158defc3aea79a25fdaa56be4ac8 which should have fixed the issue. Thx again for catching the bug!


Bluesky: include embeds in original post discovery

Looks like OPD is currently missing original post links that show up in an embed but not in post text. We should look in embeds too! Example: https://bsky.app/profile/snarfed.org/post/3kearseq3532n
{
  "uri": "at://did:plc:fdme4gb7mu7zrie7peay7tst/app.bsky.feed.post/3kearseq3532n",
  "cid": "bafyreigast6fvdbuyxe3hdgeyou6pn2pxjcfgggxxvb3scdf5z564yjm44",
  "value": {
    "$type": "app.bsky.feed.post",
    "text": "Hot on the heels of last week's Bridgy Fed progress, more to report this week: first pass at Bluesky support is feature complete! All basic interactions - user discovery, following, posts, replies, likes, reposts - are working, both directions. 🎉",
    "embed": {
      "$type": "app.bsky.embed.external",
      "external": {
        "uri": "https://snarfed.org/2023-11-15_bridgy-fed-status-update-9",
        "thumb": {
          "$type": "blob",
          "ref": {
            "$link": "bafkreicxbomf3uvbq5xogp3wozcureg5poh44zhzhwhjdy5vhcp5rvuk4u"
          },
          "mimeType": "image/jpeg",
          "size": 665507
        },
        "title": "Bridgy Fed status update",
        "description": "Another brief Bridgy Fed progress report: first pass at Bluesky support is feature complete! All basic interactions – user discovery, following, posts, replies, likes, reposts – are wor…"
      }
    },
    "langs": ["en"],
    "createdAt": "2023-11-15T19:30:47.318Z"
  }
}

Surprisingly easy fix ^ ...but oddly it only worked for replies, not likes or reposts. Hrm.

I'm guessing the problem here is that likes and replies don't have the full original post object, and we're not fetching it like we need to before we do OPD. Hrm.

Actually I think this from this poll log is the smoking gun:
I 2023-11-17 20:53:37.859508+00:00 Demoting original post links because user tag:bsky.app,2013:did:plc:2jwys3khk3vezo4s7dodvrno did:plc:2jwys3khk3vezo4s7dodvrno doesn't match author did:plc:2jwys3khk3vezo4s7dodvrno marcuslindblom.com

Yup, looks like that did it. @marcuslindblom this fix didn't backfill your missing like from before, but hopefully they should work going forward. Thanks again for the reports, all!

Awesome 👏

This worked for me, thank you so much!


Order of font types in generated css is suboptimal

Hi there,
while optimizing the generated css I noticed that by default (if all formats are requested) you generate .woff references before .woff2 in the css file.
From my testing, this leads compatible browsers (current Firefox, Safari, Chrome) to prefer the slightly larger .woff files over the more optimal .woff2.
Therefore I propose to switch the default order. (This is also something that FontAwesome does by the way, which I where I first noticed this).
What do you think?

Great! Thanks!


Updates MultiSelectListBox.php

Fixed attribute multiple for select list. Without this attribute some browser consider first value as selected by default

Thanks @khvalov


IssueManagerController & IssueController must be merged

http://ojs.io/manager/issues
Class "Ojs\ManagerBundle\Controller\IssueManagerController" does not exist.

there is no link like http://ojs.io/manager/issues it must be http://ojs.io/manager/issue. link is placed in dashboard page and now runs correctly.


1541-fix-kairos-agent-lsblk

Fixes https://github.com/kairos-io/kairos/issues/1541

Codecov Report

Merging #68 (0bd2fd9) into main (f051fab) will decrease coverage by 0.03%.
The diff coverage is 0.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main      #68      +/-   ##
==========================================
- Coverage   57.42%   57.40%   -0.03%
==========================================
  Files          40       40
  Lines        4792     4794       +2
==========================================
  Hits         2752     2752
- Misses       1823     1825       +2
  Partials      217      217

Impacted Files
Coverage Δ

internal/agent/upgrade.go
0.00% <0.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Closing this in favor of either this: https://github.com/kairos-io/kairos-agent/pull/70 or this: https://github.com/kairos-io/kairos-agent/pull/69


[Aio] unary unary client call barebones implementation

We will be implementing the foundations of the Aio client by implementing the minimal stuff needed for sending a request and waiting for a response for a unary unary call.
After this is implemented we will be extending the barebones for having a full parity implementation compared to the synchronous client.
This issue can be scope within the Asyncio Client Implementation https://github.com/grpc/grpc/issues/19497 issue.
Acceptance Criteria

Aio client can perform a  unary unary call by sending a request and waiting for a response.

@gnossen could you add this into the gRPC easy project, please? Also, could you put it in-progress? I'm currently working on this.

IMO this can be moved to done /cc @lidizheng


Change max prop of Slider after creation

🚀 Feature request
Add possibility to change max value of slider after it has been created
🧱 Problem Statement / Justification
I'm using the slider to filter a list of items based on a numerical property. As these items are loading async the maximum possible value can increase as more items are loaded. The slider would then need to adapt it's maximum value to the highest value that any item have.

Using the controlled context, you can achieve this.
Here's an example
https://stackblitz.com/edit/xfpdhm?file=src%2FApp.tsx,src%2FSlider.tsx&showSidebar=0
Notice these things:

The use of slider.splitProps to extract out the props that the slider machine needs
Adding the controlled { context: sliderProps }

Thanks! Took some time to figure out how to replicate it in Vue but in the end all what was needed was to have  an object with the sliderProps wrapped in a computed value. Then set that to the context prop:
const sliderProps = computed(() => {     return {         max: props.max     }; });


show the custom widgets in the main dev novel

right now the extra widgets (vanilla, jquery) are only visible with the query string widgets=vanilla (or jquery).
We could show this in the UI somewhere, maybe a select somewhere, where a single dev novel can have "chapters" with "stories"

Closing because we're not showing alternative widgets anymore.


Missing coordinates in select_data() output for use with psyplot

Coordinates clon_bnds and clat_bnds get lost in the xarray.DataArray stored in the dictionary output of select_data(). Those coordinates are needed if the xarray.DataArray should be converted to an xarray.Dataset and then used with psyplot.
-> find a way to keep those coordinates.

One solution would be to add the coordinates manually to the data array... Not very elegant...
da = da.assign_coords(clon_bnds=(["ncells", "vertices"],ds.clon_bnds.values))

Should we try to add this into https://github.com/C2SM/iconarray/pull/19 ?


Improvements/clarifications

Updated Raspian link
Correct typo
Changed layout on README (specified when you can connect your Raspberry)
Specified on the graph which is the USB NIC

Thanks!


Extracted image paths don't appear to be correct?

Attempted using this example post.
The sample Markdown output from mediumexporter for the header image at the top of the post:
![Some various map tiles of the [MPG Ranch](http://mpgranch.com/) area, in Montana’s Bitterroot Valley.](https://medium2.global.ssl.fastly.net/max/2560/1*sNRRIAtOi6FLSNRC9HSynw.png)

Going to that URL I get this error: "Fastly error: unknown domain. Please check that this domain has been added to a service."
When viewing the image source in dev tools on the post in Medium the actual image path appears to be:
https://cdn-images-1.medium.com/max/1000/1*sNRRIAtOi6FLSNRC9HSynw.png

Each of the other image paths in the post are incorrect in the markdown output.

Fixed. Thanks for reporting! (and sorry for the delay!)

@xdamman you should reopen this issue because it's still there when using the programmatic API
async function importer(link, dir, name) {
  return mediumexporter.getPost(link, {
    output: path.resolve(dir, name),
    hugo: true,
    frontmatter: true
  });
}

with https://cdn-images-1.medium.com/max/800/1*mzCbz0Mxihql1Nyz2yAApQ.png
gives ![Our command process in **top**](1*mzCbz0Mxihql1Nyz2yAApQ.png) instead of ![Our command process in **top**](./images/1mzCbz0Mxihql1Nyz2yAApQ.png)


WARN: Demuxer 'audio': stream explicitly disabled by the device

WARN: Demuxer 'audio': stream explicitly disabled by the device
how to fix?

Which Android version? Any error message before that line?

android 14,
i just fixed it, somewhere someone told me,(at github comment) myaudio format is not woring, use acc, andthen it worked.

can you explain more specifically bro, I got this problem after the update OS

@dororo003 The problem that @DARK7BEA5T had was that its device does not have any OPUS encoder (the default audio format, so he had to call scrcpy --audio-codec=aac;
Since you got a similar problem after a system upgrade, your problem is probably not the same. What scrcpy version do you use? You should upgrade to the latest version (currently 2.3.1).

@rom1v My problem has been resolved, I saw your comment on the same topic. Thank you friend


Rewrite of variable_decay.py for speed improvements

Jack requested that I improve the performance of variable_decay.py so that it is acceptable for your servers. It ended up being a total rewrite. Instead of using list operations with O(N) searches to handle the set of "spikes" to be applied to trending scores in the future, I'm now using an in-memory sqlite database with appropriate indexes on it. The performance is quite good, with the bottlenecks once again being the write to disk every 10th block (which takes around ~ 2 seconds on my VPS; this updates claim.trending_mixed for every claim that had an LBC value change) and every 1000th block (takes about ~60 seconds on my VPS as it involves rewriting the whole claim.trending_mixed column of claims.db). Other blocks are very cheap, something like 0.01 seconds most of the time — about twice as fast as it was before.
A few algorithm parameters were slightly tweaked and if you need to improve performance by tweaking them further, I would be happy to provide advice. For example the 1000-block write could probably be done less frequently. There might also be ways of avoiding disk writes altogether but that would be a fair amount of work.
If you want to see what the trending list looks like, it's running on <IP_ADDRESS>:50001.

I ran this last week and it took the same amount of time to sync as AR, so that's good! Will do a sanity check between lbry.tv to make sure the results match and it should be good to go.
Thanks for the PR @eggplantbren , will get some appreciation over!

I am glad, and thanks!
I'm still not totally convinced I've ironed out the performance as well as
I could have. I might take a look later this week.
On Tue, Jul 28, 2020 at 2:45 AM Thomas Zarebczan<EMAIL_ADDRESS>wrote:

I ran this last week and it took the same amount of time to sync as AR, so
that's good! Will do a sanity check between lbry.tv to make sure the
results match and it should be good to go.
Thanks for the PR @eggplantbren https://github.com/eggplantbren , will
get some appreciation over!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lbryio/lbry-sdk/pull/2991#issuecomment-664440406, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMBKORUOS4N2VBMVJMJ7NLR5WHHVANCNFSM4OSCNZGQ
.

--
Dr Brendon J. Brewer
Phone: +64 27 5001336
Web: https://www.brendonbrewer.com
LBRY: lbry://@BrendonBrewer#3 https://lbry.tv/@BrendonBrewer:3
Keybase: https://keybase.io/brendonbrewer

I should also mention: don't expect the results to be totally identical. I
tweaked a few things.
On Tue, Jul 28, 2020 at 7:08 AM Brendon Brewer<EMAIL_ADDRESS>wrote:

I am glad, and thanks!
I'm still not totally convinced I've ironed out the performance as well as
I could have. I might take a look later this week.
On Tue, Jul 28, 2020 at 2:45 AM Thomas Zarebczan<EMAIL_ADDRESS>wrote:

I ran this last week and it took the same amount of time to sync as AR,
so that's good! Will do a sanity check between lbry.tv to make sure the
results match and it should be good to go.
Thanks for the PR @eggplantbren https://github.com/eggplantbren , will
get some appreciation over!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lbryio/lbry-sdk/pull/2991#issuecomment-664440406,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMBKORUOS4N2VBMVJMJ7NLR5WHHVANCNFSM4OSCNZGQ
.

--
Dr Brendon J. Brewer
Phone: +64 27 5001336
Web: https://www.brendonbrewer.com
LBRY: lbry://@BrendonBrewer#3 https://lbry.tv/@BrendonBrewer:3
Keybase: https://keybase.io/brendonbrewer

--
Dr Brendon J. Brewer
Phone: +64 27 5001336
Web: https://www.brendonbrewer.com
LBRY: lbry://@BrendonBrewer#3 https://lbry.tv/@BrendonBrewer:3
Keybase: https://keybase.io/brendonbrewer

Why? :-(
On Tue, Sep 29, 2020 at 9:03 AM Jeremy Kauffman<EMAIL_ADDRESS>wrote:

Closed #2991 https://github.com/lbryio/lbry-sdk/pull/2991.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lbryio/lbry-sdk/pull/2991#event-3816250975, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMBKOXVP467ORCK4L7SBMTSIDTYJANCNFSM4OSCNZGQ
.

--
Dr Brendon J. Brewer
Phone: +64 27 5001336
https://www.brendonbrewer.com
https://odysee.com/@BrendonBrewer:3
https://keybase.io/brendonbrewer

@eggplantbren I was told this was coming in via another branch. @eukreign please discuss with him.

We do have to redo everything for the postgres version so that might be
what you were thinking of.
On Tue, Sep 29, 2020 at 10:40 AM Jeremy Kauffman<EMAIL_ADDRESS>wrote:

Reopened #2991 https://github.com/lbryio/lbry-sdk/pull/2991.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lbryio/lbry-sdk/pull/2991#event-3816579216, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMBKOT36UTES53TF3Y2W7TSID7FBANCNFSM4OSCNZGQ
.

--
Dr Brendon J. Brewer
Phone: +64 27 5001336
https://www.brendonbrewer.com
https://odysee.com/@BrendonBrewer:3
https://keybase.io/brendonbrewer

I believe these changes we're merged to master via another branch, closing this PR.

I believe these changes we're merged to master via another branch, closing this PR.


mdformat breaks Hugo shortcodes by escaping <

Describe the bug
context
Running mdformat on a Markdown file with a Hugo shortcode.
expectation
I expected mdformat to not break the shortcode.
bug
Instead mdformat is breaking the shortcode by escaping < to \<.
problem
This breaks the shortcode for Hugo users.
Relevant Hugo comment: https://github.com/executablebooks/mdformat/issues/112#issuecomment-1148935498
Reproduce the bug
{{< youtube -dJolYw8tnk >}}

That links to this YouTube video.  mdformat corrects this to
{{\< youtube -dJolYw8tnk >}}

List your environment
mdformat==0.7.16
mdformat-frontmatter==2.0.1

I agree this can be annoying. Also "[" and "]" are escaped - so I can't use this for Obsidian. I might make a PR so we're able to configure this behavior.

I just want to add another case. I am using mkdocs with PyMarkdown Extension Snippets; useful for embedding content directly in your documentation pages.
A document is included using the following syntax:
--8<-- "filename.ext"

mdformat changes it to:
--8\<-- "filename.ext"

The behavior does not happen inside a code block, the following code is not changed:
\```yaml
--8<-- "filename.yml"
\```

(had to add the escape characters to display it kind of correctly, lol).

GitHub blocks highlights are escaped too: https://github.com/orgs/community/discussions/16925
Changes:
> [!NOTE]
> Test

With:
> \[!NOTE\] Test

Any updates on this?

It would be really nice to have support for turning off this escape option. Is there any progress on this?

For those looking for a work-around, I found one that works at least in my case. I don't love it but it enabled me to move on.
Surrounding the shortcode with an inline code block prevents mdformat from escaping anything inside it. The surprising thing to me is the precedence of the shortcode is apparently higher than the precedence of the code block. The side-effect is that there is an empty  rendered before the output of the shortcode. I was also surprised that the shortcode did not render inside the code block, and maybe this will break in some cases (or in the future).
 `{{< highlight-file "file.yaml" yaml "">}}`


Attempt to fix #381

Coverage remained the same at 100.0% when pulling 1ee5fcd02c387f3b5a3dca70fb107bc7a4b09de4 on issue_381 into 6f5d96b661fb58799eee9f69608924f96789a406 on master.


Similar project but for sponsors

I was browsing through and found your repository and it makes me happy that someone is making something for streamers to avoid ToS videos.
Have you seen SponsorBlock for browsers? https://sponsor.ajay.app
I was wondering if someone could take this codebase and make it work for streamer TOS. It supports tagging certain time frames, setting their sponsor type (self,ad,intro) and submitting them to a DB (and a voting system to weed out the incorrect ones).
It only has skipping supported right now but it would be cool (if it was possible to cater it for twitch) to support blanking a video segment or muting an audio segment so a video could still be watched without it being skipped all together.
The dev is pretty active on Discord so I'm curious if maybe he even would be interested.

Hey. First of all: I'm glad this project is getting recognized!
Unfortunately I'm just a 16 year old kid that made this thing within 2 weeks for my streamer friends. I don't have the expertise yet to make something like that by myself, let alone try to work off someone else's codebase. Maybe with a smaller project, but this seems like a huge learning curve and a lot of work and it would take me a lot of time to do this.  The level is just too high.
I don't have the time or skills to do something like this for free, I'm sorry.
Hope you have a nice day!

Reopened if you have any questions/concerns.

Closed due to inactivity.


CONTRIBUTING.md - SSL reference should be updated to builders-club

Describe the bug
In the contributing documentations, the clone instructions for SSL reference MichaelJolley repo that is no longer there.  (It moved ya?)
To Reproduce
Look at contributing.md file
Expected behavior
git upstream line would be:
git remote add upstream git@github.com:builders-club/number-one

100%. Good catch. I bet our other repos have the same issue.
@allcontributors please add @MaryJoStaebler for bugs

This has merged!


Potree measurement tool broken

The potree distance/angle/area measurement tool has changed. The repo code now long works correctly

https://github.com/NLeSC/PattyVis/commit/26f56c4b94b48adda402aa2dce1eb13c22322f17


Usage of reserved characters in path, unencoded

This issue was originally submitted as https://github.com/zendframework/zendframework/issues/6153.
This is a valid LinkedIn API URL:
https://api.linkedin.com/v1/people/~:(first-name,last-name,email-address)

Using the following code:
$uri = new \Zend\Uri\Http();
$uri->setScheme('https');
$uri->setHost('api.linkedin.com');
$uri->setPath('/v1/people/~:(first-name,last-name,email-address,picture-url)');
echo $uri;

Results in:
https://api.linkedin.com/v1/people/~:%28first-name,last-name,email-address,picture-url%29

The reserved bracket characters are escaped. This resulting URL is not a valid LinkedIn API URL.
Zend\Uri\Uri::toString() uses self::encodePath($this->path) internally, making it impossible to override encodePath()'s behaviour by extending Zend\Uri\Http and replacing the method.
My understanding of the RFC is that reserved characters need not necessarily be escaped where they are being used as delimiters. Should there be some way to represent URLs such as the above?

@kgrey I've created PR #17 for it


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_0fnz1au22i/clone/recipe/meta.yaml:72: missing_dev_url: The recipe is missing a dev_url
ERROR: /tmp/abs_0fnz1au22i/clone/recipe/meta.yaml:72: missing_documentation: The recipe is missing a doc_url or doc_source_url
ERROR: /tmp/abs_0fnz1au22i/clone/recipe/meta.yaml:72: missing_license_family: The recipe is missing the about/license_family key.
WARNING: /tmp/abs_0fnz1au22i/clone/recipe/meta.yaml:72: missing_description: The recipe is missing a description
Errors were found


[testing] Expand sklearnex testing to all methods taking "X" or "y" as input

Description
All testing under the sklearnex/tests folder use centralized estimator and method lists which were previously limited to methods based off of the various inherited sklearn Mixins.  This tested all 'core' functionality like 'fit', 'predict', 'transform', etc. which are directly patched out by oneDAL functions.  Some next level methods (those which use these core functionality with a small number of additional calculations) like score were included.  However, this list was incomplete, as some estimators (like PCA and KNeighbors) implement special additional methods like inverse_transform and kneighbors_graph, which require special inputs and/or outputs.  Up until now, these methods have not been tested using the centralized testing suite (and may have not been tested at all).  This PR dynamically checks and collects all methods to all patched estimators which contain "X" or "y" in the input into testing, increasing flexibility and reducing maintenance.
The additional code comes from having to fix issues related to taking in dpnp and dptcl inputs since they were previously untested.
Rather than using _device_offload.dispatch which is code heavy, cumbersome and with significant overhead, a limited use of get_namespace was added to these failing methods which provide the necessary pre- or post-processing of 'core' oneDAL methods.
With these additions, dpnp and dpctl inputs are almost fully covered in the codebase.  One deselection was made in radius_neighbors and radius_neighbors_graph in the NearestNeighbors algorithm, as these would require significant work (i.e. the implementation of a new estimator) in order to properly support dpnp/dpctl inputs (unless we knowingly only allow CPU computation).
The listed changes are as follows:

use sklearn native validation _check_sample_weight instead of a custom ensemble algorithms check_sample_weight method to _check_sample_weight to avoid new checks
Change IncrementalEmpiricalCovariance mahalanobis and score methods to accept dpnp/dpctl inputs (score was previously missed as this estimator has no Mixins)
Provide error to NearestNeighbors algorithm for use of radius_neighbors and radius_neighbors_graph for non-numpy/pandas inputs, which are unsupported.
Remove radius_neighbors from KNeighborsRegressor and KNeighorsClassifier, as they do not support it from sklearn, and it was purely using sklearn functionality
Fix kneighbors_graph method of NearestNeighbors, KNeighborsRegressor, and KNeighborsClassifier to take in dpnp/dpctl inputs, and return a scipy.csr_matrix (removed wrap output data, etc.)
Disable score_samples and score methods in stability testing for PCA (will add tickets to address these issues).
Introduce PCA.inverse_transform using get_namespace to insure components_ and mean_ are on the same device as X

NOTE: current private CI fails for PCA in the inverse_transform method in dpnp testing, this is due to an out-of-date version of dpnp, and is currently getting addressed.


Contest #141: attribute error on setattr with slots

$ python -m friendly_traceback foo.py

╭──────────────────────────────────────── Python exception ─────────────────────────────────────────╮
│ Traceback (most recent call last):                                                                │
│   File "foo.py", line 6, in <module>                                                              │
│     f.b = 1                                                                                │
│ AttributeError: 'F' object has no attribute 'b'                                                   │
│                                                                                │
│ An AttributeError occurs when the code contains something like object.x and x is not a method or  │
│ attribute (variable) belonging to object.                                                         │
│                                                                                │
│ The object f has no attribute named b. The following are some of its known attributes: a.         │
│                                                                                │
│ Exception raised on line 6 of file 'foo.py'.                                                      │
│                                                                                │
│        4:                                                                                │
│        5: f = F()                                                                                │
│     -->6: f.b = 1                                                                                │
│                                                                                │
│     f: <F object> from __main__                                                                   │
╰───────────────────────────────────────────────────────────────────────────────────────────────────╯
$ cat foo.py
class F:
    __slots__ = ["a"]

f = F()
f.b = 1

Third one for fun and last which I'll also consider as out of scope; slots prevent to assign new attributes; which usually always work :-)

Interesting example - but not one where Friendly-traceback gives incorrect information.

Interesting example - but not one where Friendly-traceback gives incorrect information.

but not one where Friendly-traceback gives incorrect information.

I agree; I think that the 3 example I gave are really on the edge; this one is really interesting as I still remember the first time encountering it and I strongly thought that "yes, it does not have  one one that's why I want to create it" :-)
Regardless, thanks it is fun thinking about these; hope you'll had lot of good contributions and feedback.

but not one where Friendly-traceback gives incorrect information.

I agree; I think that the 3 example I gave are really on the edge; this one is really interesting as I still remember the first time encountering it and I strongly thought that "yes, it does not have  one one that's why I want to create it" :-)
Regardless, thanks it is fun thinking about these; hope you'll had lot of good contributions and feedback.

Thanks for taking the time to try some examples. I may have to look more at such an example and see if I can identify the usage of slots and give more precise information in such cases.

Thanks for taking the time to try some examples. I may have to look more at such an example and see if I can identify the usage of slots and give more precise information in such cases.

After looking at this example in details, I consider it to be a valid entry (the first official entry!) for this contest as Friendly-traceback should identify the use of slots and give more precise feedback.

After looking at this example in details, I consider it to be a valid entry (the first official entry!) for this contest as Friendly-traceback should identify the use of slots and give more precise feedback.

Fixed in repo with the addition of a sentence. Parts of the information given now read as follows:
The object f has no attribute named b. Note that object f uses __slots__ which prevents the creation of new
attributes. The following are some of its known attributes: a.

Fixed in repo with the addition of a sentence. Parts of the information given now read as follows:
The object f has no attribute named b. Note that object f uses __slots__ which prevents the creation of new
attributes. The following are some of its known attributes: a.

Test case added; closing the issue.

Test case added; closing the issue.


Clean downloaded include files with make clean

Need this so the new serial.hpp file can come down.

I think this is OK in light of nothing better.
However, it isn't great.

It'd be nice to have some kind of "lock" for the files downloaded,  maybe a sha256sum or something... at this time we merely trust the commit ID in the URL...


flake: Allow providing a custom lib to lib.nixosSystem

Description of changes
Currently, an argument lib passed to lib.nixosSystem is overridden with self.lib, meaning that it is not trivially possible to pass a custom lib as obtained from nixpkgs.lib.extend (final: prev: {...}) This PR changes the ordering of the argument update operations so that a custom lib has precedence. This change also simplifies the default setting of system = null: The change whether this has been set is no longer necessary since providing a value for system will override it either way.
I tested this in my own configuration and did not encounter any issues.

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

Duplicate of https://github.com/NixOS/nixpkgs/pull/273942 :)

Thanks for the reference, it seems I only searched for issues and not PRs before opening this. Sorry!


ci: verify that breaking the EM yaml build fails presubmit

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

@alyssawilk i dont think this would trigger the necessary tests - we could add this file to the trigger files

lgtm, thanks @alyssawilk
i think we should move this together with the other always run jobs - its difficult to know what does/not run unless you know the code or track through the ci actions on an event - aside other benefits putting them together should make that a bit clearer

By move, do you mean reorder the contents of the .yml file, or something else?

By move, do you mean reorder the contents of the .yml file, or something else?

currently all of the jobs in mobile-perf.yml, and mobile-docs.yml are always run, and now also this one job from this workflow
im suggesting placing all of these jobs in a single workflow


Locales are (probably) messed up on gnome install

I've installed new and improved archtitus in a VM (to check for issues before deploying it to main machine), choosing gnome and other options were left as standard (btrfs, nvme, full install etc). Everything went great, i was in gnome in about 10ish minutes, and everything seemed to work great. I tried to open gnome terminal and it failed. It just spinned cursor for a while and then failed to launch. I know that this is usually related to messed-up locales, so I've used your other script to set locales, rebooted and everything started working as it should. I didn't check if this is reproducible in other desktop environments nor did I check what locales were set up prior to firing up your script, sorry...

Locales are handled separate of any of the current user changeable configurations in the current state of the scripts. Its setup to uncomment out the en_US locale in locale.gen.
sed -i 's/^#en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen
locale-gen
localectl --no-ask-password set-locale LANG="en_US.UTF-8" LC_TIME="en_US.UTF-8"
What script did you run to fix the issue?

I've used this gist: https://gist.github.com/ChrisTitusTech/f55e2fd0b39b268fed251d12bd91b5e8

@ChrisTitusTech
This line is needed: echo "LANG=en_US.UTF-8" > /etc/locale.conf


Change serialization of Chronos NaiveDate

https://github.com/graphql-rust/juniper/issues/150
NaiveDate should serialize / deserialize from "2018-01-02" instead of a full ISO date.

Please update the doc comment at the top of the file and add this to the changelog.
This is a potentially breaking change if someone is using a non-rust client or storing results...so we should probably bump to 0.10. Thoughts @theduke?

Codecov Report

Merging #151 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #151      +/-   ##
==========================================
+ Coverage   90.99%   90.99%   +<.01%
==========================================
  Files          95       94       -1
  Lines       16341    16209     -132
==========================================
- Hits        14870    14750     -120
+ Misses       1471     1459      -12

Impacted Files
Coverage Δ

juniper/src/integrations/chrono.rs
97.2% <100%> (+1.24%)
:arrow_up:

juniper_rocket/src/lib.rs

Continue to review full report at Codecov.

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

@LegNeato this PR is ready for review. Thanks

@sportoi sadly I don't have commit privs so can't review and merge. We'll have to wait for @theduke or @mhallin.

@sporto thanks and sorry for the delay.


fix(webpack): re-enable client bundle analysis

Bors merge bot cheat sheet
We are using bors-ng to automate merging of our pull requests. The following table provides a summary of commands that are available to reviewers (members of this repository with push access) and delegates (in case of bors delegate+ or bors delegate=[list]).

Syntax
Description

bors merge
Run the test suite and push to master if it passes. Short for "reviewed: looks good."

bors merge-
Cancel an r+, r=, merge, or merge=

bors try
Run the test suite without pushing to master.

bors try-
Cancel a try

bors delegate+
Allow the pull request author to merge their changes.

bors delegate=[list]
Allow the listed users to r+ this pull request's changes.

bors retry
Run the previous command a second time.

This is a short collection of opinionated commands. For a full list of the commands read the bors reference.

Obsolete because of #1475

Obsolete because of #1475


Switch babel plugins to devDependencies

We don't need babel to use the module, only to develop on it.
I think we can move babel-related stuff to devDependencies.

Cheers thanks for the contribution


Skip IntelliJ files when creating extension dists.

The buildExtension grade task right now is meant to skip Eclipse project files.  Since IntelliJ-Ghidra has existed for quite some time, extensions developed from IntelliJ have their project files included in the dist package when built with buildExtension, something that is not desirable.
I am unaware of any NetBeans plugin for developing Ghidra extensions, so I only added IntelliJ project files to the exclusion list.

This has come up before with Visual Studio Code.  I think the best thing to do would be to look for an exclusion file so that we don't have to maintain user-specific or unsupported file types.

Right, that makes sense.  It turns out I can get the same result in my build.gradle file with:
buildExtension.exclude "*.iml"
buildExtension.exclude ".idea/**"

I've had a few tries at adding support for a configuration block to the task, and I got sort of close but still got nothing useful in the end (I'm not a Gradle expert, mind you) - I'll probably revisit this at another time.  This can be closed for now, I guess.
That said, maybe the exclude lines bit can be added to the documentation instead?

I like your buildExtension.exclude solution better than a separate file.  I'll add an example to the Skeleton build.gradle file.


retranslate when element is changed (not add/remove)

currently stuck because I haven't yet figured out how to keep translations from triggering this and creating a feedback loop


Streamingfeatures

Test to see if performance can be gained and memory usage minimized by using cursors and streaming response for all outputs.

@vincentsarago This is super ugly right now, but looks possibly very promising.
This separates out the count to a separate query and by default will just use an estimated count for the numberMatched total.
For returning GeoJson and GeoJsonSeq, rather than creating the FeatureCollection on the database, it gets the Features as just straight text and returns them directly as a streaming response using a cursor so that it can grab data a chunk at a time. For GeoJson, it just returns the FeatureCollection wrapper before and after yielding the Features. Right now, it doesn't have any of the link stuff in there, so it is just taking geojson as text from the database and directly yielding it rather than decoding/encoding the json -- adding the links back in will probably add a chunk of the overhead.
Using the countries sample dataset, it returns the geojson of all countries (http://localhost:8000/collections/public.countries/items?f=geojson&limit=1000) in 270ms while on master, the same query takes  6.86 seconds.


Import error diagnostic is incomplete.

Enhancement
At present, the error diagnostic output about import in KCL is as follows.
KCL:
import math as m // `mt` is written as `m` here by mistake.

two = mt.log10(100)

The diagnositc:
KCL Compile Error[E2L23] : A complie error occurs during compiling
---> File /KCLVM/test/grammar/import/builtin_import_as/main.k:3:7
3 |two = mt.log10(100)
       7 ^  -> Failure
name 'mt' is not defined

This doesn't help much for helping the user find where the typo.
Maybe we should learn rust.
It is more useful to output such diagnostic information.
KCL Compile Error[E2L23] : A complie error occurs during compiling
---> File /KCLVM/test/grammar/import/builtin_import_as/main.k:3:7
3 |two = mt.log10(100)
       7 ^  -> Failure
name 'mt' is not defined

help: consider importing one of these items
   |
0  |    import math as mt
   |
0  |    import mt

I couldn't be sure if the name not defined was the name in the import statement, so I added a suggestion, like https://github.com/kcl-lang/kcl/pull/715

Good choice

Closed by #731


When using eslint-plugin-markdown, errors are not highlighted correctly

When using eslint-plugin-markdown, errors are not highlighted correctly:

Note that the javascript is being linted correctly: On hover, the correct no-unused-vars warning is shown. ('foo' is assigned a value but never used)

After some testing, it seems like this is a problem with eslint-plugin-markdown not reporting the correct character positions


Standardise sub-categories

Below are examples of how the category free text field is been used by current online vendors:

Yard Sale - Electronics
Corn, Pumpkin, Melon etc.
6. Tools/Misc.
Cedar oils / essential / resin
Hobby & Sports
Coins & Paper Money :: Bullion :: Silver :: Bars & Rounds
Shoe Care & Accessories › Shoelaces

As you can see, vendors have been creative with separator fragments (using -, ,, /, ;, &, ::, ›) to make a hierarchy of subcategories. It would be helpful if the client front-end (and backend, cc @cpacia) could have better support for a path of sub-categories instead of a single flat monolithic category field.

As described here, Duo Search has spent a lot of time "fixing" listing categories. CC'ing @morebrownies @jjeffryes for their thoughts on this issue for improvement categories.
cc

We're not going to be implementing this in the foreseeable future.


Support rewriting of  dynamically via click handler on body

We can't statically rewrite anchors, since pages can/will contain circular references.  This results in the HTMLRewriter going into an infinite loop.  What we need to do instead is leverage the dynamic injected scripts we add to a page for LiveDev, and add a global click handler on body for anchors, which should inspect the URI, if it's a path we know about, use that and close/re-open LiveDev using that path.

The right way to do this is probably to inject a script in our Live Dev instrumentation that uses document.links to hijack all click handling:
function handleClick() {
  // if href is relative fs path, postMessage back to editor and navigate to new page in preview
}
for (var links = document.links, len = links.length, i=0; i<len; i++) {
    links[i].onclick= handleClick;
}


There is no .exe file in Windows standalone version 0.4.0

the .exe is missing for version 0.4.0 windows standalone

What's that?

So Norton Antivirus recognizes it as malicious

@OzMaatuk well, it's an AI with access to the filesystem and terminal, so... haha

Yep, think will try to use the source instead.
Thanks, Issue is closed.


Use python-build instead of build in benchmark workflow

[ ] Closes #9405

Looks good @philipc2 ! Shall we merge?


chore: bdd-spring-1573122523 to 0.0.1

chore: Promote bdd-spring-1573122523 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Can one of the admins verify this patch?

@jenkins-droid test this please

Can one of the admins verify this patch?

@jenkins-droid test this please

@AlexandreEichenberger I am seeing an issue with the powerpc pipeline that relates to a recent change in llvm-exegesis. Therefore, we don't even build LLVM for it. =(
LLVM buildbots for ppc pass the test.  Do you have any idea how to solve this?
The error says that __builtin_thread_pointer' is not supported on this target, but I don't have a way to reproduce this.
Thank you!

Ahh that looks really frustrating.
I wonder if we can play with CMake flags to not build with llvm-exegesis

Ahh that looks really frustrating.
I wonder if we can play with CMake flags to not build with llvm-exegesis

I tried doing that. This led to disabling llvm-mca, obj2yaml, and yaml2obj, but lit tests all seem to depend on them, and I get a bunch of CMake dependency errors between these tools and tests.
In any case, it turns out __builtin_thread_pointer is not supported by gcc (https://godbolt.org/z/chEnh7Ton), but works with clang (https://godbolt.org/z/c9bdTqv5f), that is why LLVM buildbots for PPC work and onnx-mlir pipelines don't.
I am somewhat blocked now, since this only happens on PPC + GCC (it seems), and everything else is green.
Should we try building an in-tree clang for it?
Could you anyone check this, please?

maybe the problem has to do with this llvm code change:
https://github.com/llvm/llvm-project/commit/46b5b855489f87aac2487d099175807880486041
but I can't think of any workaround

@flemairen6 @ttjost What about the s390 error, is it unrelated?

Can one of the admins verify this patch?

@jenkins-droid test this please

@ttjost please sign-off on the last commit to fix the DCO failure
I'm not 100% sure why the jenkins pipelines fail with ERROR: Exception: java.lang.Exception: admin authentication failed, maybe it's blocked by the DCO failure?

Can one of the admins verify this patch?

@jenkins-droid test this please

@AlexandreEichenberger can you tell why the jenkins pipelines are failing with ERROR: Exception: java.lang.Exception: admin authentication failed?

/workdir/llvm-project/llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp: In member function 'llvm::Error llvm::exegesis::{anonymous}::SubProcessFunctionExecutorImpl::createSubProcessAndRunBenchmark(llvm::StringRef, llvm::SmallVectorImpl<long int>&) const':
/workdir/llvm-project/llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp:336:61: error: '__builtin_thread_pointer' is not supported on this target
  336 |         syscall(SYS_rseq, (intptr_t)__builtin_thread_pointer() + __rseq_offset,
      |                                     ~~~~~~~~~~~~~~~~~~~~~~~~^~

Apparently ppc64le does not support __builtin_thread_pointer

@AlexandreEichenberger @philass I will merge this if the pipelines are green, the clang fix landed

Jenkins Linux s390x Build #12026 [push] Bump to llvm commit 8b76... started at 08:53

Jenkins Linux ppc64le Build #11020 [push] Bump to llvm commit 8b76... started at 08:59

Jenkins Linux amd64 Build #12013 [push] Bump to llvm commit 8b76... started at 07:53

Jenkins Linux s390x Build #12026 [push] Bump to llvm commit 8b76... passed after 3 hr 8 min

Jenkins Linux ppc64le Build #11020 [push] Bump to llvm commit 8b76... passed after 3 hr 15 min


401 unauthorized /me

Clone the sample project and open dev tools -> Navigate to localhost:3000 -> You'll see a 401 error, a GET request to /me.

@mdeggies I'm not sure this is supposed to be considered an error? It's essentially checking if there is a current user and failing, because there is no current user for this session. The browser is the one handling the cookies here and this is expected behaviour.

@mdeggies is this using a flow where you authenticated against the client API?  If so that is a known problem that we're working on and hope to fix today, it will require a new release of express-stormpath.

@robertjd Ahh yep, that's it. I am using Client API here. Btw, happy birthday! :)

Hey @mdeggies can you try again?  I just updated this example, and it should be working with Client API tokens now.


Spring data upgrade

@tstavinoha, take a look.
Not sure what to do with the version bump since it is a breaking change, major jump?
Disclaimer to README.md for breaking changes due to https://github.com/querydsl/querydsl/issues/1917?

yeah, we should bump the major version

Coverage decreased (-2.8%) to 79.762% when pulling 2b2e0cc917edb02633dae9c526d6ec7351ec4711 on spring-data-upgrade into 9f0c37819588d0b5785473e46bd8de467b541418 on master.


Continuous Integration with Travis

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@959744e). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #1   +/-   ##
=========================================
  Coverage          ?   94.91%
=========================================
  Files             ?        3
  Lines             ?       59
  Branches          ?        0
=========================================
  Hits              ?       56
  Misses            ?        3
  Partials          ?        0

Continue to review full report at Codecov.

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


Revert p2p ip discovery

Revert the ip auto discovery
https://github.com/oceanprotocol/ocean-node/pull/554

closed on https://github.com/oceanprotocol/ocean-node/pull/561


Removed duplicate avro-maven-plugin from pom

I will do a separate PR for 4.1.x

@apovzner OK. We can close the ESCALATION once the 4.1.x PR is merged.


Update community-ecosystem-apps.md

Purpose of this pull request
This pull request is to update the FAQ section of this document
Issue number:

Select the type of change:

[ ] Minor Changes - Typos, formatting, slight revisions
[ X] Update Content - Revisions and updating sections
[ ] New Content - New features, sections, pages, tutorials
[ ] Site and Tools - Updates, maintenance, and new packages for the site, Gatsby, React, etc

closing this PR, I submitted a new one that is updated


Cancelling while matched results in a bug

See https://forum.faforever.com/topic/3475/possible-cause-for-the-recurring-setting-up-automatch-cycle

Today a had a game I wanted to join(10/12 players) and I connected forever. After cancelling trying to join other lobbies did not work, the client did not launch the game. It did update binaries and then nothing, no error no nothing(no game running in task manager). I relaunched the client and exactly the same happened. Relaunching the client and not trying to connect exactly that game made it work :D Sadly guy closed game before I launched the debugger... Joined about 100 other games to try to reproduce but cloud not find ppl I can not connect to, always works XD ...
Maybe sabotaging the connection cloud reproduce the issue. Cancelling before connecting does not seem to do it.
Overview over the logs:
23:32:33.747 -> Started game
23:33:04.898 -> Terminated due to connection failure
23:33:09.056 -> User retries joining game
23:33:09.475 -> Client asks server to join game
->Notice here that the server should have send a game_launch message, which it never did 6 seconds should be more than enough <-
23:33:15.858 -> User gets nervous and reclicks
23:33:16.270 -> Client informs server about intention to join
-> Missing game_launch message <-
23:33:43.914 -> User closes client as nothing happens
RELAUNCH
23:34:21.756 -> User opens game that he can not connect to the 4th time
23:34:23.463 -> Game starts
23:34:45.126 -> Game closed because it did not connect
23:34:48.907 -> User tries joining a different game than the one he is trying all the time
23:34:49.349 -> Client informs server about join
-> Missing game_launch message <-
Pattern repeats
23:38:26.899 -> User restarts client
23:48:59.763 -> Server does finally respond to the game_join and client launches game that connects
23:49:55.214 -> Joining second game also no problem
client2.log
This seems to be a server bug from the client log point of view. The game_launch is missing, why no idea 😮 . Maybe @Askaholic cloud get the server log of exactly that time and message sent. Not sure if that is actually an option and how hard that is.

There have been some weird response times on grafana for the server as well recently. I have seen it jump to 200ms when normally it sits at 5ms.

hmm not sure if that's related

I mean it did not respond even if it was given way more than 6 seconds and in the other cases it responded immediately. After the  game_join, gam_info messages were still received anyways.

Should we move this to the server repo just to show that we can probably not do anything about it 🤔

We can only get server logs if this happened recently since only a few hours of data is saved due to how the docker logging is currently configured. Not sure what the exact amount is.
The only reason that the game launch message might not get sent that I can think of would be if the user’s connection is not fast enough to receive all of the data from the server. Then the server may stop handling incoming messages from the client until the client has read a sufficient number of bytes (the write buffer is emptied on the server side). If the client can’t read bytes as fast as the server is writing them (due to lots of broadcasted messages for example) then the write buffer might not be fully emptied for a long time. But then reconnecting should fix this as the buffer is quite large.

@Askaholic other server messages are read and logged. Also I am connected via cable and I have stable internet. I doubt that cloud have happened here.

was less than 2 hours ago

Ok then I’ll request logs

23:33:16.270 MEST

So is this not something that can be handled in the client?

we did not found what the actually problem is

Unable to replicate


prompt: 'none' not working for useGoogleLogin

Hi there,
Thanks for starting this library. I'm trying to find a way to use useGoogleLogin where once the user has authenticated once, they do not need to do it again when useGoogleLogin is called. I see the prop in the documentation that says I should be able to use prompt: 'none' but when I passed it into my useGoogleLogin call it still seems to require selecting a user account each time that I invoke the login method.
Has anyone been able to get useGoogleLogin to work in conjunction with the prompt: 'none' setting?
Any help would be greatly appreciated!
const login = useGoogleLogin({
    onSuccess: (codeResponse) => {
      setAuthCode(codeResponse.code)
    },
    flow: 'auth-code',
    scope: googleLoginScopes,
    prompt: 'none',
  })

Facing the same issue here

ditto


feat: update to drawio-desktop 24.4.8

Automated changes by create-pull-request GitHub action

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


Classes

Hello I would like to know how you define the following classes:
FileConsentCard
FileDownloadInfo
Are these metaclasses?
Thanks

Detalles del documento
⚠ No edite esta sección. Se requiere para docs.microsoft.com ➟ vinculación de problemas de GitHub.

ID: 5307fe5c-a6f0-59e2-d125-69051ab58595
Version Independent ID: ca3f41d9-1c2a-6cde-b780-61fec8f0fcb6
Content: Sending and receiving files from a bot - Teams
Content Source: msteams-platform/concepts/bots/bots-files.md
Product: msteams
GitHub Login: @o365devx
Microsoft Alias: o365devx

You can find the implementation of both classes here: https://github.com/OfficeDev/BotBuilder-MicrosoftTeams/tree/master/Node/src/models
Let us know if you have any specific questions after that and we'll be happy to assist further.

Sorry I forgot to ask for the implementation in C# Visual Studio.
Thanks In advance.!

@Diro92 - Here are C# classes: https://github.com/OfficeDev/BotBuilder-MicrosoftTeams/tree/master/CSharp/Library/Microsoft.Bot.Connector.Teams.Shared/TeamsAPI/Models
These are available as Nuget package Microsoft.Bot.Connector.Teams:

Please note that the v4.x version of that Nuget package supports Bot Builder v4, and the v0.9.x versions support Bot Builder v3.

there is a way to get the file from pc as an attachment from OpenDialogFile in node js in the bot?

@Diro92 - You should be able to configure your bot to support files upload. Then user could upload files using attachment button available in UI.

Are you looking for something else?