time.Time Support for ORM's

Description
When not using strict schema mode columns can be created with DateTime as a valid type in Sqlite. ORM's and schema generation tools like gorm & sqlc map this DateTime to golang's time.Time type. This type is then provided directly to libsql to build the query.
But there is no support for mapping this type.
Example schema
CREATE TABLE IF NOT EXISTS bookmarks (
  description VARCHAR(255) NOT NULL,
  created_at DATETIME NOT NULL,
  updated_at DATETIME NOT NULL
);

#Questions?

Should the recommendation be that strict mode is used on table creation to stop ORM's from mapping to unsupported type?
Should libsql support more primitive golang types and convert them to sqlite base types?

@lewisje1991 here's a potential fix https://github.com/libsql/libsql-client-go/pull/77
Please let me know if that fixes the problem for you.


how to check the result from covertree

Hi,
I try to use this demo to have a test, and I run like this:
dist/cover_tree data/train_100d_1000k_1000.dat data/test_100d_1000k_10.dat
data/train_100d_1000k_1000.dat
data/test_100d_1000k_10.dat
Number of OpenMP threads: 8
Number of points: 1000000
Number of dims : 100
56.5687 85.2284 -26.9832
Build time: 62972
Number of OpenMP threads: 8
Number of points: 10000
Number of dims : 100
99.7609 -40.0263 99.2302
Querying serially
Quering parallely
k-NN serially
range serially
Query time: 4394231
sh: 1: pause: not found

How to check the output of the covertree? e.g. indices distances
Thank you.

The demo does not provide the indices and distances. But the NearestNeighbour function does return the (point, distance). So in your application, you can use obtain the point and distance.


Allow protobuf 5 for the local client

Protobuf 5.26 was released earlier this month. We pin <5.0 for the local client, I assume just to be conservative, but I am testing whether there are any issues in CI.

Integration tests also passed using this version locally, by the way.


Assign default group name in groupby if name=None (#158)

Ran across the issue describe in #158 the other day and decided to implement Stephan's suggestion of assigning a default name of 'group' to the DataArray passed to groupby if name=None. Previously when name=None on the DataArray a ValueError: group must have a name was raised.
This is my first pull request so let me know if I missed anything. Thanks!

[x] Closes #158
[x] Tests added
[x] Passes isort -rc . && black . && mypy . && flake8
[x] Fully documented, including whats-new.rst for all changes and api.rst for new API

Thanks @pjbutcher


Make menuconfig not works on Ubuntu

I'm follow this tutorial: https://dl.espressif.com/doc/esp-idf/latest/get-started/index.html#connect
But when I enter on the project folder and type make menuconfig apparentely the path is not configured, but when I type printenv I can see the paths.

I did followed all steps on the espressif official tutorial.
ps. Putty not works too, but in the Arduino windows I Can up firmware.

IDF_PATH should be one directory only and PATH should not have entry for project.mk

Sorry, I don't got it. DO you can help me?

export IDF_PATH=/home/augusto/esp/esp-idf

I updated, my comment, I don't known which file I must edit

If you use bash then you can put it in either .bashrc or .profile
However the setup guide recommends .profile. The full details are in the Getting Started guide for Linux:
https://docs.espressif.com/projects/esp-idf/en/stable/get-started/linux-setup.html#toolchain-setup
https://docs.espressif.com/projects/esp-idf/en/stable/get-started/add-idf_path-to-profile.html#add-idf-path-to-profile-linux-macos
Note that after editing .profile you will need to either log out and back in, or source ~/.profile in the current terminal, to get the new values.


add basic uptime stats

follow the pattern already used in AGA and reporting services

closing due to project shutdown


Node - Celery/MonetDB concurrent transactions

On the NODE service we need to figure out how the parallelism of the transactions will work.

Moved to jira.


visual studio code has a crash wewdge bug I'm currently stuck in

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.87.0
OS Version: debian bookworm x64

Steps to Reproduce:

$ code

Result: no window
VS code was working yesterday 3/6/24. Today 3/7/24 I had to unwedge X due to an unfortunate series of events. This was done by kill -9 -1 as my user while code was running. Removing .vscode and .config/Code was not sufficient to unwedge.
result of sh -x code --verbose -n:
+ [ -n  ]
+ grep -qi Microsoft /proc/version
+ id -u
+ [ 10000 = 0 ]
+ [ ! -L /usr/bin/code ]
+ command -v readlink
+ readlink -f /usr/bin/code
+ dirname /usr/share/code/bin/code
+ VSCODE_PATH=/usr/share/code/bin/..
+ ELECTRON=/usr/share/code/bin/../code
+ CLI=/usr/share/code/bin/../resources/app/out/cli.js
+ ELECTRON_RUN_AS_NODE=1 /usr/share/code/bin/../code /usr/share/code/bin/../resources/app/out/cli.js --verbose -n

followed by a long sleep or hang

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.87.1. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

apt-get says there's no newer code package though

What do you mean by unwedge? you uninstalled vscode?

@meganrogge : it will not start aster a crash. wedged condition.

I have no idea what you mean, but it doesn't seem like an issue with vscode.


[Work in progress] Grouping sets first pass

Turns out that we cannot do this correctly without having the execution component done.


What is amphp/promise? Promises/A or Promises/A+?

I am using ReactPHP/Promise now, but it is Promises/A implementation.
I would like to use Promises/A+ implementation as it has performance boost.
So what is the amphp promise? Promises/A or Promises/A+?

None of them, see http://amphp.org/amp/promises/. Amp offers a single callback registration mechanism, onResolve(), which is optimized for coroutines. We think that coroutines are superior to callbacks.
While promises are the basic unit of concurrency, they're not the main point where to gain performance. If you want to compare due to performance concerns, I'd suggest benchmarking yourself, e.g. using amphp/byte-stream vs. reactphp/stream.


Implement category blacklist / whitelist

Would be very useful if we could add a blacklist / whitelist to categories, so certain categories aren't cross-seeded.
Personally, I use the post-import feature on sonarr to move my torrents to another category with another save path after importing to sonarr. Cross-seeding always fails for torrents in this stage, as there are no files on tv-sonarr.crosseed save path.
Thank you.

I'd also love to see a feature like this, but with tags. I have autobrr, sonarr and radarr going and a lot of content from there is set to autodelete after x weeks. If cross-seed runs, it will add permanent versions of these temporary torrents, for the other trackers. Right now, I have to manually go in every once in a while to clear out the torrents cross-seed added, once sonarr/radarr/autobrr deletes the original torrent.
So blacklisting anything with either the relevant sonarr/radarr category or the autobrr tag would be very useful for me.

Strongly agree on getting this added. Would make a huge difference for categories I have like seed-limit, which I have just to satisfy seed limits that weren't met for one reason or another.

I have a hit-and-run category that I manually add torrents to if my indexer give me one (sometimes it just happens), it would be nice to omit that category from cross-seed.

Would love this as well. I use autobrr to snatch and throw away torrents on trackers without HnR rules, cross-seed picks these up and injects them from other trackers. Any way to configure an ignored tag or category can help remedy this. I'd hate to stand up a separate client just for autobrr.

Yup, this would be great! I have like 1000 book torrents that I don't want to cross-seed because books are in the kilobytes, so there's no point cross-seeding those. Plus, I don't want to abuse the indexers with these unnecessary requests, or make my cross-seed scan super slow to prevent abusing the APIs.
It can be solved in the mean time with the hooks offered by the torrent clients. In qbittorrent it is the " Run external program on torrent finished". Just validate if the category/tags match the ones you want and hardlink/copy of the torrent file to a custom folder. Make cross-seed read from that folder instead of the suggested ones.

If this is to be implemented, it should be per indexer similar to #612. This gives the added option of ignoring movie searches for tv trackers and vice versa. Would be nice if dataDirs could be used additionally as well.

If this is to be implemented, it should be per indexer similar to #612. This gives the added option of ignoring movie searches for tv trackers and vice versa. Would be nice if dataDirs could be used additionally as well.

This functionality is in the pipeline (completed and being tested further for v6) as you know - as far as category blacklisting goes....this would basically need to be done during prefiltering most likely, and would require #471 if we were to implement it properly (otherwise it would be post-snatch and during injection that it aborts - and that's not really accomplishing the grander scope of the functionality to reduce searches....although technically still blocking the release.
Basically, we would have to implement this in Deluge with labels as well as qBittorrent, and that would require expanding the API usages and data structuring in our current codebase...
While this seems like a simple feature, the proper implementation requires quite a bit of effort and dedication to get functional so we wouldn't later be rewriting the entire thing for sqlite (whenever that happens)...

Given the seeming demand for this feature, I've joined forces with @bakerboy448 who maintains some third-party scripts, and written up a category and tracker blacklist/whitelist bash script you can use to execute the on complete cross-seed command.
It's a basic bash script, and is fairly simple to configure. Simple google search will be able to help you add the necessary commands if you do not understand.
I understand this is not integrated into cross-seed natively, but I figured something was better than nothing for you guys.
Change the $TORRENT_CAT at the bottom to $TORRENT_TRACKER to match the regex on the right side of the =~
https://github.com/bakerboy448/StarrScripts/blob/main/xseed_qbit_cat_filter.sh

I thought of a similar feature request, but instead of allow/deny list, it would allow the ability for groups to be created which cross-seed with each other. So you may have A/B/C categories that search across one another, and X/Y/Z that are independently searched, which reduces noise from low value searches.

While this could be a benefit if you happen to know one specific tracker cross-seeds well, the overall use-case for this seems rather niche.
We've already implemented measures into the v6 pre-release that prevent almost all of the unnecessary searches (content type wise) from hitting trackers that do not support that media.
https://www.cross-seed.org/docs/v6-migration#torznab-categories
What you're saying could cut down on the low-value searches, but there's really no harm in searching and effectively knowing what content is on another tracker already beyond a media type (TV, movies, anime, etc) is probably not that viable of a plan.

Implemented in #773


Flaky CI tests

Presumably a bug in OkHttpClientTestRule, this pops up in different places.
okhttp3.mockwebserver.MockWebServerTest > statementStartsAndStops FAILED

    java.util.concurrent.RejectedExecutionException: Task okhttp3.internal.concurrent.TaskRunner$runnable$1@3013a9c rejected from java.util.concurrent.ThreadPoolExecutor@56fcad64[Shutting down, pool size = 1, active threads = 1, queued tasks = 0, completed tasks = 2]

I think threading tests negate these old reports.


Count the number of files in each partition

I'm trying to write a process that would run at some specified interval (once a day, for example) and rewrite partitions with many files into fewer files.
The simple approach would be to just compact all of the partitions, as demonstrated in the following snippet:
(spark
 .read
 .format("delta")
 .load("/path/to/table")
 .coalesce(1)
 .write
 .format("delta")
 .mode("overwrite")
 .option("dataChange", "false")
 .save("/path/to/table"))

However, it might be too costly of an operation since I have many partitions in the table, and some of them may not have had new files written to them since the last compaction, so I'll be rewriting them for nothing. I'd like to be able to count the number of actual files in the table's partitions, so that I could modify my process to only rewrite those that passed a certain threshold (say, over 100 files):
(spark
 .read
 .format("delta")
 .load("/path/to/table")
 .where(filter_relevant_partitions)
 .coalesce(1)
 .write
 .format("delta")
 .mode("overwrite")
 .option("replaceWhere", filter_relevant_partitions)
 .option("dataChange", "false")
 .save("/path/to/table"))

My problem is how to get those numbers so that I could filter the relevant partitions. Simply counting the number of files in the partition directories in HDFS won't do, since some of them are irrelevant due to update and delete operations on the table, and my deleted files retention is longer than my compaction process interval, so running vacuum before won't clear those out for me. I tried looking at the table's describe detail output, but it only shows the number of files in the entire table (not by partition). I also tried looking at the table's history and following the series of operations to determine the count, but I still couldn't come up with a file count per partition. I'm currently looking at the transaction log to see if I get compute the counts from there, but it feels like I might be going too deep and overlooking a simpler approach.
Is there any way to achieve what I'm trying to do, other than replaying the transaction log?

I have the same problem, my solution was used internal scala Api
import org.apache.spark.sql.delta.DeltaLog
DeltaLog.forTable(sparkContext, destinationPath).snapshot.allFiles.toDF()
With this, I have information about all my files, quantity and size in each partition.

@rubenssoto This is perfect, thank you!
In case anyone else is interested, this is how I do it in python:
from pyspark.sql import DataFrame
from pyspark.sql import functions a f

partition_cols = spark.sql(f'describe detail delta.`{path}`').select('partitionColumns').collect()[0][0]

JDeltaLog = spark._jvm.org.apache.spark.sql.delta.DeltaLog
all_files_jdf = JDeltaLog.forTable(spark._jsparkSession, path).snapshot().allFiles().toDF()
all_files_df = DataFrame(all_files_jdf, spark._wrapped)
partition_counts_df = (
    all_files_df
    .groupBy([f.col('partitionValues')[key].alias(key) for key in partition_cols])
    .count()
)

@rubenssoto This is perfect, thank you!
In case anyone else is interested, this is how I do it in python:
from pyspark.sql import DataFrame
from pyspark.sql import functions a f

partition_cols = spark.sql(f'describe detail delta.`{path}`').select('partitionColumns').collect()[0][0]

JDeltaLog = spark._jvm.org.apache.spark.sql.delta.DeltaLog
all_files_jdf = JDeltaLog.forTable(spark._jsparkSession, path).snapshot().allFiles().toDF()
all_files_df = DataFrame(all_files_jdf, spark._wrapped)
partition_counts_df = (
    all_files_df
    .groupBy([f.col('partitionValues')[key].alias(key) for key in partition_cols])
    .count()
)

In case anyone has issues running this on Databricks, I first had to downgrade to runtime 12.2


[release/1.7 backport] Mount snapshots on Windows

backport of https://github.com/containerd/containerd/pull/8043

There is an effort to enable native Windows support in buildkit and the functionality that merged in #8043 is a large dependency for that work.
The buildkit project maintainers understandably prefer to stick to stable releases of containerd.
I realize that backports are not normally done for features, but considering there is no defined timeframe for the next major version release of containerd, it would help tremendously if we could backport this branch and unblock a bunch of PRs in buildkit.

The diff looks reasonable for backport. Keep the dependency version pinned to a tag though.

I updated the continuity dependency to a tagged version.
The failure seems unrelated.

Seems to have caused a regression:

https://github.com/containerd/containerd/issues/8891


Is executable doesn't mean a+x

Seen this issue:
  Command: /tmp/flutter_gradle_wrapper.CKEZBO/gradlew -b /usr/local/google/home/chingjun/test/flutter/packages/flutter_tools/gradle/resolve_dependencies.gradle --project-cache-dir
  /tmp/flutter_gradle_wrapper.CKEZBO resolveDependencies".

Flutter doctor pointed me to https://github.com/flutter/flutter/issues/6207, which doesn't help.
Turns out the problem was because the permission on gradlew was rwxr-x---, which is not a+x.
The code before https://github.com/flutter/flutter/commit/354f80b84a9b30ec3b49d8fed81bce772a1bc8e8 was:
final String modes = sourceFile.statSync().modeString();
if (modes != null && modes.contains('x')) {
  os.makeExecutable(destinationFile);
}

Which is technically the same as my change here.

Would you mind pasting the full log? It checks for a+x because the Flutter command can be run by any user.

The problem is that gradlew file might not be a+x
$ ll bin/cache/artifacts/gradle_wrapper/
total 24
drwxr-x--- 3 chingjun primarygroup 4096 Dec 18 09:30 ./
drwxr-xr-x 4 chingjun primarygroup 4096 Dec 18 09:30 ../
drwxr-x--- 3 chingjun primarygroup 4096 Nov 30  2017 gradle/
-rwxr-x--- 1 chingjun primarygroup 4971 Nov 30  2017 gradlew*
-rw-r----- 1 chingjun primarygroup 2404 Nov 30  2017 gradlew.bat

Here's the full log:
Flutter crash report; please file at https://github.com/flutter/flutter/issues.
command
flutter precache -a --flutter_runner --web --use-unsigned-mac-binaries
exception
ProcessException: ProcessException: Permission denied
Command: /tmp/flutter_gradle_wrapper.IFRGHR/gradlew -b /usr/local/google/home/chingjun/test/flutter/packages/flutter_tools/gradle/resolve_dependencies.gradle --project-cache-dir /tmp/flutter_gradle_wrapper.IFRGHR resolveDependencies
#0      _DefaultProcessUtils.run (package:flutter_tools/src/base/process.dart:266:37)
<asynchronous suspension>
#1      AndroidMavenArtifacts.update (package:flutter_tools/src/cache.dart:917:58)
#2      Cache.updateAll (package:flutter_tools/src/cache.dart:363:24)
#3      PrecacheCommand.runCommand (package:flutter_tools/src/commands/precache.dart:87:19)
#4      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:626:18)
#5      _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:74:64)
#6      _rootRunUnary (dart:async/zone.dart:1134:38)
#7      _CustomZone.runUnary (dart:async/zone.dart:1031:19)
#8      _FutureListener.handleValue (dart:async/future_impl.dart:140:18)
#9      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
#10     Future._propagateToListeners (dart:async/future_impl.dart:711:32)
#11     Future._completeWithValue (dart:async/future_impl.dart:526:5)
#12     Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:556:7)
#13     _rootRun (dart:async/zone.dart:1126:13)
#14     _CustomZone.run (dart:async/zone.dart:1023:19)
#15     _CustomZone.runGuarded (dart:async/zone.dart:925:7)
#16     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:965:23)
#17     _microtaskLoop (dart:async/schedule_microtask.dart:43:21)
#18     _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5)
#19     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#20     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:175:5)

flutter doctor
[!] Flutter (Channel master, v1.13.3-pre.61, on Linux, locale en_US.UTF-8)
    • Flutter version 1.13.3-pre.61 at /usr/local/google/home/chingjun/test/flutter
    • Framework revision 54fa1a5a69 (66 minutes ago), 2019-12-18 11:47:32 -0500
    • Engine revision c327cae7ab
    • Dart version 2.8.0 (build 2.8.0-dev.0.0 c9d89d55a6)
    ✗ Downloaded executables cannot execute on host.
      See https://github.com/flutter/flutter/issues/6207 for more information
      On Debian/Ubuntu/Mint: sudo apt-get install lib32stdc++6
      On Fedora: dnf install libstdc++.i686
      On Arch: pacman -S lib32-gcc-libs

[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /usr/local/google/home/chingjun/Android/Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 28.0.3
    • Java binary at: /usr/local/buildtools/java/jdk/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_181-google-v7-272050736-272050736)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[!] Android Studio (version 3.4)
    • Android Studio at /opt/android-studio-with-blaze-3.4
    • Flutter plugin version 34.0.2
    • Dart plugin version 183.5901
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Connected device (3 available)
    • Pixel 2    • HT7AK1A00618 • android-arm64  • Android 9 (API 28)
    • Chrome     • chrome       • web-javascript • Google Chrome 79.0.3945.88
    • Web Server • web-server   • web-javascript • Flutter Tools

! Doctor found issues in 3 categories.

Also I see the failing test now, this is used twice. Once is to check the permission of the source file, and once again to check the permission of the destination file.
We need to check for a+x for the second case, but has executable flag on for the first case.

Updated the code to check for all executable flag set when deciding whether to set destination file, and any executable flag set on source file when deciding whether to add the permission at all, PTAL. Thanks


 They can be used to test all field types, all RPC method types, all annotation, etc.

This PR doesn't include 1) the changes necessary to get the updated annotations working properly 2) updates to the cloud generator to get it to build the garbage protos 3) updated helper tests using the additional fields these protos provide. But the protos do include the updated annotations and are compiling without warning. I expect the garbage protos to be added to over time as new areas for test coverage are identified.

Now that I see this, I'm wondering what makes it different from gapic-showcase EchoClient?

@quartzmo it's probably not so different as we get started but it will be once we really get going (and testing). Showcase is sort of a normal API and we'll want a proto that we can put all sorts of strange things in to test edge cases, etc. that we can't put in showcase. Hence, this garbage :)

@quartzmo There are many things that this has that showcase does not, such as using all available field types, defining oneof fields, using resource, resource_reference, and resource_set annotations, etc...

I didn't add the google.api.method_signature annotations because we already discussed changing what is accepted to the client methods. It would be nice to allow users to provide either the request object as a positional argument, or the request object values as named arguments. Because of this, we won't be generating method signatures using these annotations. But, we could generate code examples using them.
What do you all think? Is it worth adding google.api.method_signature annotations to the garbage proto?

I would vote for adding a method_signature somewhere even if we completely ignore it in the generator.
It'll serve as explicit documentation that this annotation has no effect and since it'll be commonly found in the input it wouldn't be bad to have some simple test that shows it doesn't do anything. Not a high priority item by any means though.

K, added some method_signature and field_behavior annotations.

@blowmage the extra content looks good. Are you planning to do anything more here?

I don't have anything else for this PR.


Token: add constructor and normalization

i64::MIN turns out to be an invalid value for a token: https://github.com/scylladb/scylladb/blob/4be70bfc2bc7f133cab492b4aac7bab9c790a48c/dht/token.hh#L32
Hashing algorithm should change i64::MIN result to i64::MAX.
In order to have this check in one place and make sure we always perform it I made value field of Token non-public and created constructor and getter for it.
Fixes: https://github.com/scylladb/scylla-rust-driver/issues/947
Pre-review checklist

[x] I have split my patch into logically separate commits.
[x] All commit messages clearly explain what they change and why.
[ ] I added relevant tests for new features and bug fixes.
[x] All commits compile, pass static checks and pass test.
[x] PR description sums up the changes and reasons why they should be introduced.
[ ] I have provided docstrings for the public items that I want to introduce.
[ ] I have adjusted the documentation in ./docs/source/.
[ ] I added appropriate Fixes: annotations to PR description.

I added doc comments for Token and it's new methods.
CI fails because of https://github.com/scylladb/scylla-rust-driver/issues/950

Rebased on main
Changed new_denormalized constructor to INVALID associated constant


Prepare files for exercises

Please prepare as much as possible files for exercises and use the following structure to send them to me (zipped by telegram):

folder name = cas number + space + description (optional)

structure.mol
1h.jdx
1h.fid.jdx
dept30.jdx
dept30.fid.jdx
cosy.jdx
cosy.fid.jdx
... (tocsy, roesy, noesy, hsqc, hmbc, jresolv, ...)

Each folder will containg a molfile called 'structure.mol' and all the 1D and 2D with always (if possible) the jcamp before FT and after FT.
Depending the exercises the student will have to make the FT or not.
I will combine all the spectra and we will create a webpage that allows to create easily new exercises based on them.

Dear Luc, I will start working on that this weekend. I got usually APT or DEPTQ spectra for C-13.

@nes-cgn thanks for the file. I uploaded them in a new project: https://github.com/cheminfo/nmr-dataset1
We only need .mol (and no .sdf) and the file could be name structure.mol


How to pad for a MLP with embedding layer?

Hi, everyone, I am a newer to Keras. I have some issues of padding.
My data is a fixed length of features and a classifier label. For example (1,4,5,6,8,0,10,8,0).  each  feature have different means,  i pad the feature if  some of samples have no such feature with a label of zero. In the model, i want to sent the feature ids  to a embedding layer and then connect the embedding result to MLP for classification. I know the keras Embedding layer have a mask_zero parameter but  i am not sure how to use it. Anyone can give some advice for me? than you.

I have a similar issue. I zero-pad my inputs to ensure they're all the same length, but then I want to mask the zeros for learning later.


Flutter plugins don't work on windows - GeneratedPluginRegistrant

Steps to Reproduce
After upgrade flutter, now pathprovider is a plugin. I try to use it but get the below error. I think something is wrong with registration of plugins.  The GeneratedPluginRegistrant  file  is generated automatically.
This is the output on a new project. Although in my old project fails too. Furthermore in my old app show an additional issue in the settings.gradle file that is not updated.
Logs
PS C:\PROGRAMACION\FLUTTER\mysterion> flutter run
Running 'flutter packages get' in mysterion...        1.2s
Launching lib/main.dart on SM A510F in debug mode...
Running 'gradle assembleDebug'...
C:\PROGRAMACION\FLUTTER\mysterion\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java:11: error: cannot find symbol
PathProviderPlugin.registerWith(registry.registrarFor("io.flutter.plugins.path_provider.PathProviderPlugin"));
^
symbol:   method registerWith(Registrar)
location: class PathProviderPlugin
1 error
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Gradle build failed: 1

Flutter Doctor
PS C:\PROGRAMACION\FLUTTER\mysterion> flutter doctor
[√] Flutter (on Microsoft Windows [VersiÃ³n 10.0.15063], channel master)
• Flutter at C:\flutter
• Framework revision 9b56c1c58c (3 hours ago), 2017-05-10 09:41:55 +0200
• Engine revision cbbf956fcb
• Tools Dart version 1.23.0-dev.11.11
[√] Android toolchain - develop for Android devices (Android SDK 25.0.3)
• Android SDK at C:\Users\Drasius\AppData\Local\Android\sdk
• Platform android-25, build-tools 25.0.3
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version: OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[√] Android Studio (version 2.3)
• Android Studio at C:\Program Files\Android\Android Studio
• Gradle version 3.2
• Java version: OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[-] IntelliJ IDEA Community Edition (version 14)
• Dart plugin version 141.1586
• Flutter plugin not installed; this adds Flutter specific functionality.
• For information about managing plugins, see
https://www.jetbrains.com/help/idea/managing-plugins.html
[-] WebStorm (version 2016.1)
• Flutter plugin not installed; this adds Flutter specific functionality.
• For information about managing plugins, see
https://www.jetbrains.com/help/idea/managing-plugins.html
[√] Connected devices
• SM A510F •<PHONE_NUMBER>c56327 • android-arm • Android 6.0.1 (API 23)

For more information about diagnosing and reporting Flutter bugs, please see https://flutter.io/bug-reports/.

I'm really sorry, but this plugin is currently broken. @szakarias is working on fixing it, and a new version will be published shortly!

I test sharedpreferences plugin and the same error

Yes, all plugins need to be updated after this breaking change:
https://groups.google.com/forum/#!topic/flutter-dev/zba1Ynf2OKM
Also, we are working on adding test automation in travis to prevent breaks like this going undetected.
Sorry about the breaks once again, these were the last planned breaking changes to plugins.

thank you, sorry not needed it's normal in development. I like working with flutter and dart techs. keep going like this


ref: Use atexit only in init

This uses the same logic as the old raven python background worker which is to block in the atexit running thread on the lock the background worker has. This way the demon thread can be kept alive a while longer to orderly start the shutdown.

That's actually going to keep the thread alive until empty.

Good loop :)
On Sat, Sep 1, 2018 at 5:53 PM Markus Unterwaditzer <
<EMAIL_ADDRESS>wrote:

@untitaker approved this pull request.
In sentry_sdk/utils.py
https://github.com/getsentry/sentry-python/pull/45#discussion_r214517073
:

@@ -523,9 +523,11 @@ def strip_string(value, assume_length=None, max_length=512):
return value[:max_length]

-logger = logging.getLogger("sentry.errors")
+logger = logging.getLogger("sentry_sdk.errors")
😬
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/getsentry/sentry-python/pull/45#pullrequestreview-151596918,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAc5DACcTRwlzfBFdLo3Jrit1c1rpDsks5uWq2RgaJpZM4WVzXB
.


Allow headers to be passed in to underlying Axios

This Pull Request adds the following items.

A VSCode Dev Container so that all pre-requisites are installed for the repository
You can now debug the tests in the devcontainer
Add the ability to pass a Record into the downloadFile method. This will represent the Headers that a user can define when required. This is particularly useful when you wish to download binaries from GitHub Releases and you need a application/octet-stream Content-Type

Fixes #38
Fixes #39
Tests all passing

Hi: - This image shows that we have successfully downloaded from GitHub Releases (which is only possible using the octet-stream header. This is documented here: - https://docs.github.com/en/rest/releases/assets?apiVersion=2022-11-28

This extension does not have a user interface as it expects other extensions to make use of it's API. However, here are the integration tests running which installs the extension and shows some basic Use Cases


Command.chain / Command.bind / Command.use

I'd like to request a simple feature that will make Vorpal a bit more composable.
const pizzaOptions = vorpal =>
    vorpal
       .option('-p, --pepperoni', 'pepperoni topping')
       .option('-o, --olive', 'olive topping')

vorpal
  .command('pizza')
  .use(pizzaOptions)
  .action( /* ... */ )

It's effectively a monadic bind.

What if the command instance could be treated like an array?  You could use command.push(pizzaoptions) instead?

That works too, but use would be more generic / extensible. It would be used for not just options but anything :)


FileNotFoundException occurs when viewing error log

If an orchard-error log file does not yet exist and I switch the type from "Debug" to "Error" a System.IO.FileNotFoundException occurs:

Change "Type" to error:

Error occurs:

Is that coming from an external module of something in this repos?

Ah yes. My apologies. This is from the external Devq.ErrorLog module. Closing this issue.


Error "SyntaxError: Unexpected end of JSON input","    at JSON.parse (

The local testing failing with following error.
START RequestId: 6c1ff0fa-f8e6-403a-933f-1e0eb2eb7e08 Version: $LATEST 2023-08-10T10:52:02.324Z        6c1ff0fa-f8e6-403a-933f-1e0eb2eb7e08    ERROR   Error parsing line: {"id":"chatcmpl-xxxxx","object":"chat.completion.chunk","created":1691664722,"model":"gpt-3.5-turbo-0613","choices":[{"index":0,"delta":{"content":"umn"},"finish_reas    at async Runtime.handleOnceStreaming (file:///var/runtime/index.mjs:1180:26))rror in streamOpenAIResponse: SyntaxError: Unexpected end of JSON input 2023-08-10T10:52:02.375Z        6c1ff0fa-f8e6-403a-933f-1e0eb2eb7e08    ERROR   Invoke Error    {"errorType":"SyntaxError","errorMessage":"Unexpected end of JSON input","stack":["SyntaxError: Unexpected end of JSON input","    at JSON.parse (<anonymous>)","    at file:///var/task/streamOpenAIResponse.mjs:40:29","    at Array.map (<anonymous>)","    at processChunk (file:///var/task/streamOpenAIResponse.mjs:38:10)","    at streamOpenAIResponse (file:///var/task/streamOpenAIResponse.mjs:58:27)","    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","    at async Runtime.handler (file:///var/task/index.mjs:22:19)","    at async Runtime.handleOnceStreaming (file:///var/runtime/index.mjs:1180:26)"]} END RequestId: 6c1ff0fa-f8e6-403a-933f-1e0eb2eb7e08 REPORT RequestId: 6c1ff0fa-f8e6-403a-933f-1e0eb2eb7e08  Init Duration: 1.79 ms  Duration: 6378.76 ms    Billed Duration: 6379 ms        Memory Size: 512 MB     Max Memory Used: 512 MB {"statusCode":200,"headers":{"Content-Type":"application/json"}} Request started.

Streaming will be officially supported in V4 of the OpenAI Node library. It is currently in Beta, but I can recommend switching already. Would that work for you?
-> https://github.com/openai/openai-node/discussions/182

Hi! Streaming is now officially supported by OpenAI: https://github.com/openai/openai-node


DRY: Reuse Finder.castView(…)

This moves the location of the actual cast into the call site and thus outside of the try/catch block which provides more information should the cast.

Sorry, I don't get it. The only difference between the implementation of castView and those two versions of find*ViewAsType is the usage of cls.cast(view) instead of (T) view. If the cast fails, the exact same IllegalStateException will be thrown – or am I missing something?

If you look at the bytecode you'll see the cast doesn't actually happen
when you just do (T) whatever. It happens at the call-site of that method
instead.
On Wed, Jun 29, 2016 at 10:16 AM Christian Becker<EMAIL_ADDRESS>wrote:

Sorry, I don't get it. The only difference between the implementation of
castView and those two versions of find*ViewAsType is the usage of
cls.cast(view) instead of (T) view. If the cast fails, the exact same
IllegalStateException will be thrown – or am I missing something?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/JakeWharton/butterknife/pull/655#issuecomment-229369163,
or mute the thread
https://github.com/notifications/unsubscribe/AAEEES9lK2lEjyPmAHvTHpnk9O819abJks5qQn4JgaJpZM4JBAXZ
.

Ok, so maybe we should change the implementation of castView to also rely on cls.cast(view) so that the remaining usages of castView can benefit from the IllegalStateException, too?


can't build success in ember 3.9.0

ember-uikit\components\heading.scss:125:26
Error: expected selector.
╷
125 │ .uk-heading-primary when ($deprecated = true){

Should be fixed when #90 gets resolved.

Currently failing at https://github.com/adfinis-sygroup/ember-uikit/blob/master/tests/acceptance/index-test.js#L9
I wonder if I should just ignore it and merge anyway.

Merged

build success, thanks


[5.9][Serialization] Write down SPI-only dependencies as required in swiftmodules

Ensure clients load transitive @_spiOnly dependencies by writing them down in the same category as default imports in swiftmodules. These dependencies will be required for clients loading from swiftmodule and swiftinterface, but hidden from clients loading from a public swiftinterface.
The lack of this information was revealed by #64260, as previously clients would see @_spiOnly dependencies as normal dependencies.
rdar://108326858
Cherry-pick of #65337

@swift-ci Please test

@swift-ci Please test


Revamp Settings UI

Please remember the Contributing Guidelines :heart:
:star2: What does this PR do?

New layout for settings page(s)
Permissions may be searched by integration name
Permissions shows both integration name and the domain
Center settings container to not look awkward on wider viewports
Super-secret dark mode settings
Delete the "remember active tab" feature. Its statefulness has broken the settings more than once. It can come back when settings is stable if desired.

:bug: Recommendations for testing

Open and test all settings across both browsers
To test dark mode paste this incantation in the settings view console

document.documentElement.classList.toggle('dark')

:memo: Links to relevant issues or information
Closes #1313

Is it related? 🤔

Darkmode looks bad in Chrome

Is it related? 🤔

@rylek90  yeah that bug is fixed in a recent PR, rebased this branch on top of it.
Dark-mode is still a wip and not enabled for users will be improved in later PRs

Strong nitpick incoming:


Error: Can not find module eslint-config-eslint:recommended coming when my config file contains "extends":"eslint:recommended"

How do I load such a config file?

Are ESLint and gulp-eslint both installed in a local node_modules or are one/both of them installed globally?

ESlint is installed globally while gulp-eslint is installed in local.

Never mind! Using latest version of gulp-eslint fixes the issue.


Linux Support

I've tried getting Sourcery working on Linux as a test. SourceKit and SourceKitten can be compiled for Linux, I've already managed that, but the FileWatcher used in Sourcery seems to be the only library that doesn't support Linux. If Sourcery moves to SPM you could fetch all dependencies except the FileWatcher using SPM and compile it. --watch wouldn't work, but Sourcery would be working on Linux which is good for Server Side Swift development. Anywhere a feature isn't supported/supportable on Linux you can place a #if !os(Linux) or preferably #if os(macOS) os(iOS) os(watchOS).
Just as an added note: I'm not suggesting this as a must for 1.0. But I'd definitely like this to be supported in the future.

FileWatcher pod is no longer used for Sourcery as I needed more powerful daemon, we'll just remove it completely (I thought I already did)

I'm not sure if you've removed it. I might still be running too old code in my tests.

@krzysztofzablocki Any updates on this? 🙇

We’re using this watcher to add support for Linux in SourceKittenDaemon. It’s a wrapper of the inotify C library present in the Linux kernel + a basic daemon.

Ponyboy47, the guy behind the original wrapper, has been developing a new FS Watcher here. The guy really knows what he’s doing, so maybe that’s a better option. We’ll see.

Hi, I need this for various reasons, would you accept the patch that removes --watch on Linux as for my use (and I think most other people too) we need Sourcery in our CI environments but we don’t need it as a workflow tool (on Linux at least).

@mxcl I guess this is acceptable for now, but why not just commit generated code instead of running Sourcery on CI?

but why not just commit generated code instead of running Sourcery on CI?

Two reasons:

Humans make mistakes, if I have to generate it manually, I'll forget.
I don't like committing generated files (especially generated files that are only used for CI on two platforms out of six)

I guess this is acceptable for now

Well, if you aren't cool with it then I'd rather not. Since maintaining something that core don't want is not fun.

I think it is fine as I suppose watcher does not work on Linux any way, but I didn't try it. @krzysztofzablocki you probably know better if thats the case?

I agree with @mxcl
Committing generated code seems like a very bad idea. The whole point of Sourcery is that the canonical code are your macros. If you’re committing generated code, you’re not committing canonical code. I might be wrong, but that seems like a very bad idea.

@mxcl we'd be happy to accept a PR that enables Linux support, even without the watcher especially since its nice to have and not a critical feature 👍
I totally agree with Humans make mistakes, if I have to generate it manually, I'll forget., the whole idea behind Sourcery is to limit human mistakes as much as possible, its the driving principle for this project.
@felix91gr I do disagree on not committing generated files in most projects, but there are few reasons behind this:

I believe that you should always be able to fetch your repository and run it instantly without having to run pod install and things like that.
Sourcery generates the exact code you ask it to generate, its not opinionated and I think we should still review that code in our PR's, this is your production code after all, by commiting it you will see Diffs in the PR's
If for some reason the tool would ever breaks on new version of Xcode / OSX, your code is still working and you can just move to maintaining it by hand like you did before using Sourcery

I definitely think that limiting human mistakes by having the codegen run with each build is more important than whether you commit the code or not, although I've been burned by not commiting it in the past so my recommendation is to do it for the above reasons :)

@krzysztofzablocki I could not explain it better, completely agree with all the points (the only thing is probably LinuxMain is really not that necessary to commit, but if so, I would consider it as exception). I think we should put it in README as general recommendation.

K great, I'll spin up my docker.

@mxcl how did it go? I'm willing to help. I'm in need of generating LinuxMain files and already two people have pointed out to me that this is trivial with Sourcery 😅
Maybe we can make a PR to start enabling Linux support :)

Also: @krzysztofzablocki @ilyapuchka, what's left in general to enable Linux support?

I made some progress but it was going to be a lot more work than I anticipated, mainly because Sourcery doesn't handle #if os() and I would need to make that work too.

Oh no :(

mainly because Sourcery doesn't handle #if os()

How so?

Hello, everyone
Do we have any progress with this? I'd be supremely interested in using Sourcery on Linux, and I'd also be willing to help if someone could give me some pointers.

Any updates on linux compatibility?

👋 Hi all
I have installed ubuntu VM through tart and updated to 22.04 according to this guide.
I had to run the following commands prior to being able to run bundle install in Sourcery:

sudo apt install libffi-dev
sudo apt install build-essential
sudo apt install libsqlite3-dev

Then I was able to successfully run bundle install.
Unfortunately SourceryRuntime contains import of CommonCrypto which are binding codebase to Apple platforms.
I wonder if there's a way to cut these references out ❔
I'll continue investigation 🕐

We could drop CommonCrypto and use some replacement, I think this is only used for cache hash

We could drop CommonCrypto and use some replacement, I think this is only used for cache hash

Indeed, there's some replacement available in swift-tools-support-core, albeit being deprecated - SHA256

Or SwittCrypto

👋🏻  Hey, a little update:
as it appears to be, there are a lot of issues compiling code under AST and other parts of code, mainly related to @objcMembers throwing an error on Linux.
Wrapping it into
#if os(macOS)
@objcMembers
#else
#endif

helps, so I am continuing this journey.

👋🏻 Hey all, a little update:
I was able to reduce number of errors down to a hundred or less, but now there are plenty in Configuration.swift and mostly related to JavaScriptCore framework.
Other changes I needed to make is to disable almost all SourceryRuntime/Generated extensions due to inheritance from NSObject and use of @objc annotations. This would take a while to automate I suspect 🤔
My current plan is to make it buildable, although some features will be broken.

👋🏻 Hey all, some news:
I was able to resolve all of the build errors in Sourcery, though some of the fixes I applied I'd need to refactor. At the moment I face these issues coming from swift-llbuild:
error: link command failed with exit code 1 (use -v to see invocation)
/usr/bin/ld.gold: error: cannot find -lncurses
.build/checkouts/swift-llbuild/lib/llvm/Support/Unix/Process.inc:340: error: undefined reference to 'setupterm'
.build/checkouts/swift-llbuild/lib/llvm/Support/Unix/Process.inc:358: error: undefined reference to 'tigetnum'
.build/checkouts/swift-llbuild/lib/llvm/Support/Unix/Process.inc:362: error: undefined reference to 'set_curterm'
.build/checkouts/swift-llbuild/lib/llvm/Support/Unix/Process.inc:363: error: undefined reference to 'del_curterm'
clang-13: error: linker command failed with exit code 1 (use -v to see invocation)

I figured it out, I needed to install sudo apt-get install libncurses5-dev and ... build is successful! Sourcery was compiled under Ubuntu! 🔥

Hi all 👋🏻
Linux Support #1188  is ready for review. What a ride! It works 🔥 🎆


HL7 Compare Tool

Description
This task improves the HL7 Compare capabilities to support #4525
Acceptance Criteria

Builds on and improves existing HL7 compare classes
Ability to configure what field is ignored
Ability to ignore time differences but detect time formatting problems
Ability to turn a HL7 difference into a human-readable message

@greene858 can you check with Carlos/Pipeline team first before taking on this ticket? cc: @brandonnava


Concave NavigationPolygon generated from code is treated as convex

Godot version
4.0 beta 1
System information
Windows 10
Issue description
When setting a NavigationRegion2d's navpoly to a concave NavigationPolygon from code, the navpoly is treated as though it is convex, despite being displayed as correctly.
https://user-images.githubusercontent.com/42951415/190827060-e2f9d4f0-e73e-47a3-84c6-20a1416be0a1.mp4
Steps to reproduce
Set up basic 2d navigation, and set the navpoly of the NavigationRegion2d to a new concave NavigationPolygon.
To use the minimal reproduction project, tick the exported variable "Generate In Code" (found on the NavigationRegion2d node) on to see it not work, or off to see it work as expected. You can also change the exported variable "Target Num" to 1, 2 or 3, to see how it tries to navigate to 3 different targets.
Minimal reproduction project
ConcaveNavFromCode.zip

Your vertices array does not work to create a valid polygon for navigation mesh.
All navigation mesh polygons need to be triangulated and convex.
NavigationMesh resources used by the NavigationServer system require triangulated and convex 3D polygons and the NavigationPolygon facilitates the 2D to 3D conversions to the correct format for you if you provide it with suitable data.
What you see as "correct" is a broken debug polygon cause a working navmesh polygon in Godot 4 with the improved debug visuals will show you the polygon edges and highlight faces in different color tone similar to what you see in the Editor with a correct polygon.

Your vertices array could work for defining a NavigationPolygon outline that you can add with NavigationPolygon.add_outline() and calling NavigationPolygon.make_polygons_from_outline() as this will convert your outline vertices to a valid NavigationMesh for you.
If you don't want to work with outlines you can still use NavigationPolygon.add_polygon() but need to double-check that you add the right polygon format by adding the correct vertices first and addition polygon indicies second, e.g. triangulated, correct winding order and no intersections.

Thanks for your help!


feat: add regenerate cases

Description
[Describe what this change achieves]
Issues Resolved
[List any issues this PR will resolve]
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@SuZhou-Joe FYI, there are some tests failed


CCA support

Add a cca sub-command to:

[x] create a CCA token from a claims-set, platform and realm secret keys
[x] check the integrity of a CCA token given a matching platform public key
[ ] run a challenge-response session with a Veraison verifier both as RP and Attester
[ ] also add the necessary documentation
[ ] align naming of keys with public CCA documentation

@thomas-fossati I can take the rest of the bits to complete this issue?

@thomas-fossati I can take the rest of the bits to complete this issue?

please go ahead!

Thank you!

Issue is now complete, marking the last item as complete!


Deprecation warning: Replace exportloopref with copyloopvar in golangci-lint configuration

When running golangci-lint locally, I encountered the following warning:

WARN The linter 'exportloopref' is deprecated (since v1.60.2) due to: Since Go1.22 (loopvar) this linter is no longer relevant. Replaced by copyloopvar.

It seems that exportloopref is no longer relevant in Go 1.22 and has been replaced by copyloopvar. It is better to update the linter configuration to remove exportloopref and enable copyloopvar instead.
If possible, please assign this issue to me, and I’ll fix it right away.
Additionally, if there’s anything wrong with how I’m submitting this issue or any improvements you’d suggest, please feel free to let me know. 😃

Good catch @derek10cloud thanks for submitting.  Can you please let us know which version of golangci-lint you are using locally?  You can interrogate with golangci-lint --version.
Right now, our CI uses v1.59.1, so this deprecation doesn't crop up... yet.  We use version pinning, which is great for consistency and determinism.  However, we just bump the pinned version from time to time, based on gut feel... which is probably not so great.  Probably we should increment versions to latest stable on a not-too-frequent, not-too-infrequent interval.  I have honestly not thought it through.  Very happy to hear your thoughts on the matter.

Thanks for the response! I'm using golangci-lint v1.60.3 built with go1.22.7.
It looks like I might be on a version that's a bit too new.
I agree that version pinning is important for stability. A regular update schedule (e.g., every few months) might strike a good balance between staying up to date and maintaining consistency. Happy to help with this!


Option for adjusting position of shoulder nodes back and forth.

Hey, found this pose editor to be very functional and easy to use. However, I'd like to have a bit more flexibilty with regards to position of the shoulder nodes relative to the chest node. Currently, it's locked as a straight line, however, that means that the shoulders and chest are locked as a straight line. This makes it difficult to make fine adjustments as the shoulders relative to the center of the chest, and prevents making shrugs or hunch postures etc.
would appreciate if it's possible to look into adding some minor up/down, back/forward adjustment to the chest node to make this adjjustments possible.

Sorry, I did not mean the redo-undo, I meant the ability to adjust the shoulder nodes position independant of each other. Right now, shoulders are locked as a straight line, unless I am missing a control that allows me to adjust the shoulders individually.
As you can see from the screenshot provided, that prevents some of the more subtle shoulder positions.


Webpack won't build the required JS and CSS files

In earthquakes.html file, the following files are linked:
<script src="leaflet-src.js"></script>
<script src="leaflet.timeline.min.js"></script>
<link href="leaflet.css" rel="stylesheet">

While I opened up in the browser, it's 404 Not found.
In terminal, the webpack build was successful, but no files are copied to examples/ directory. Could someone help me what am I missing?

If you run npm start, it'll run the webpack-dev-server. Then http://localhost:8112/examples/ should work.
I suppose I should add a note to that effect in the readme 😅

Apparently there are still a couple issues with that (earthquakes.html is looking for leaflet.timeline.min.js, and I change the build to get rid of the .min)

I've updated the examples to have the right filename and added a line in the README about how to run them. Feel free to reopen if you run into any problems.


Conflict with Object.prototype.watch in FireFox/Gecko

In Gecko engine commandLine.options.watch evaluates to a truthy value — Object.prototype.watch. That means running the compiler in Gecko (as opposed to V8/node) it effectively defaults --watch to true
Extra hasOwnProperty check makes sure we're discounting prototype's watch function.
As an alternative to the suggested changes we can check typeof != 'function' or rename CompilerOptions.watch to say watchFiles to avoid the conflict altogether. Neither of those looks preferable.
I've got a tool prototype that allows running TypeScript compiler in a browser. Surprisingly, tsc.js is able to compile a simple dummy file in virtually any old browser: Opera12, IE6, old Blackberry, iPhone 4. The only exception at the moment is FireFox/Gecko, because of 'watch'. When I delete Object.prototype.watch and run tsc.js, it succeeds in Gecko too.
Despite browser compatibility is not an official goal, it's a nice to have feature. And the cost is a one-line change.

Apart from the last feedback, :+1:

thanks!


migrate to go modules

Using build in go modules instead of external tool is in my opinion the target solution since "modules" is fully grown up golang feature.

Resolves #57
@GregoryDosh Want to chime on this?

I would say, all in all, it looks good and there is still some learning on my part on how the indirect dependencies are resolved within the build env for different OSes.

No release on this one because there isn't any functional change!


Define memory_info for global.texture*

There are now many warnings in the tuning process about undefined memory information when using textures. A definition is required as textures* are tagged.

CC @csullivan  @elvin-n


[WIP] Wide & Deep migration to PyTorch

Description

Migrating Wide & Deep out of tensorflow.
Note: Previously I have only used models from high level libraries like Keras. I'm doing this to learn PyTorch, so feel free to give me any pointers or even scrap everything if it is not useful.
Related Issues

#2072

References

The paper that defines the model
A notebook from matanivanov which defines a PyTorch implementation
A full library of wide-deep models

Checklist:

[x] I have followed the contribution guidelines and code style for this project.
[ ] I have added tests covering my contributions.
[ ] I have updated the documentation accordingly.

[x] This PR is being made to staging branch AND NOT TO main branch.

WIP Tasks

[x] Implementing the model as PyTorch's nn.Module

[x] Allowing additional embeddings
[x] Allowing additional continuous features
[x] Allowing cross-features (sorry, I don't understand it yet)

[x] Creating a wrapper with .fit() and .recommend_k_items() methods

[ ] Allowing additional embs in wrapper's .fit()

Can't test in notebook because there is no data to use embeddings for (see #2176)

[x] Allowing additional cont. feat. in wrapper's .fit()
[x] Caching the "ranking pool"
[x] Save model every save_checkpoints_steps iterations in model_dir
[x] Eval test loss every log_every_n_iter iterations instead of every iter

[x] Creating a torch.data.Dataset to pass to the wrapper class
[ ] Creating tests
[ ] Updating Jupyter Notebooks

Sorry @daviddavo I pressed the wrong action. I changed the PR to ready for review because we are having some problems with the tests.

NP, I still have quite some work to do

FYI @daviddavo  the tests should be working now after https://github.com/recommenders-team/recommenders/pull/2169

The tensorflow estimators approach currently used by recommenders uses a binary regressor (default value of n_classes). To get the recommendations, all user-item pairs are used as input (created using the user_item_pairs method).
On the PyTorch notebook the output is not binary, instead there is a class for each movie. The aim of this notebook is to predict the next movie to watch, and not to make a top-k recommendations, a different problem.
The question is, what does the original paper do? Does it output a single scalar? Or does it output a vector with a value corresponding to each item? As I understand it, it should be a single value ( $P\left(Y=1|X\right)=\sigma\left(...\right)$ ), but that notebook made me doubt.
Nevertheless, I think I will modify the current model so the "head" returns a scalar and to get the top-k recommendations we pass all the possible user-item pairs, as the recommenders' tensorflow implementation does.
Edit: NVIDIA's deep learning examples also output a single value. My doubts have been resolved but I'll keep this post as some kind of documentation. I'll finish the model and do the training soon.

Loss function decreases over time in my jupyter notebook. the only thing remaining is the "software engineering" part

Now that I'm testing it with the full 100k dataset, I realized its very slow. I will profile it next weekend, but I have a hunch that the problem is the DataLoader, which uses a lot of slow .locs


[TFL] Fix tosa.clz lowering to not use intrinsic for VMVX and Vulkan

TOSA's clz operation generates a math.ctlz operation. For Vulkan and VMVX there are no lowering to a supported operation.
Add decomposition to the old path to unblock these operations.

I don't think there are SPIR-V instructions for counting leading zeros, other than Intel specific OpUCountLeadingZerosINTEL, so will need to rely on decomposition for now..

Are there any benchmarks we have checked in that use this op? (this motivated me to add a ctlz op to the VM, but it'd be cool to see the delta :)


Don't use v8-debug.h

Hi @ddopson , could you please merge this as this can be a rather blocking issue with Node 10 ?

Thanks for the contribution
I’ll take a look later but it might stretch to the weekend before it’s pushed

Would you like to be a maintainer for this package? I'm not doing much in
Node these days...
On Wed, May 9, 2018 at 12:35 PM, Anton Whalley<EMAIL_ADDRESS>wrote:

Thanks for the contribution
I’ll take a look later but it might stretch to the weekend before it’s
pushed
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ddopson/node-segfault-handler/pull/50#issuecomment-387799269,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA6d3-1f6Xgu3CENLtTM30vKASu_IY3Tks5twxrPgaJpZM4Tk3Pd
.

Hi there ! Do you need any help to merge this ?

@Djiit - I actually did! For a while, I had lost my GitHub password. Fixed now.
Seriously, I don't even have a NodeJS environment installed, so if anybody wants to step up and be a more responsible maintainer for this package, it's a really low bar right now...

@No9 @ddopson Thank you! Could you publish a new version to npm?

I'd like to. First I need to install npm, and figure out which password I
used.
Bonus points for anybody who finds an automated build system. (seriously,
it should just auto-cut versions for every push to GitHub that passes
tests!)
On Wed, May 16, 2018 at 11:31 AM, Chris Kim<EMAIL_ADDRESS>wrote:

@No9 https://github.com/No9 @ddopson https://github.com/ddopson Thank
you! Could you publish a new version to npm?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ddopson/node-segfault-handler/pull/50#issuecomment-389562346,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA6d34AnLZuS26MMyS8x3BXn6KBtYxbyks5tzEZDgaJpZM4Tk3Pd
.

Probably this?: https://docs.travis-ci.com/user/deployment/npm/
On Wed, May 16, 2018 at 3:55 PM, Dave Dopson<EMAIL_ADDRESS>wrote:

I'd like to. First I need to install npm, and figure out which password
I used.
Bonus points for anybody who finds an automated build system. (seriously,
it should just auto-cut versions for every push to GitHub that passes
tests!)
On Wed, May 16, 2018 at 11:31 AM, Chris Kim<EMAIL_ADDRESS>wrote:

@No9 https://github.com/No9 @ddopson https://github.com/ddopson
Thank you! Could you publish a new version to npm?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ddopson/node-segfault-handler/pull/50#issuecomment-389562346,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA6d34AnLZuS26MMyS8x3BXn6KBtYxbyks5tzEZDgaJpZM4Tk3Pd
.

Is anyone willing to step up and work with me to get this module tested /
auto-deployed / become a maintainer?
--- Dave
On Wed, May 16, 2018 at 3:55 PM, Dave Dopson<EMAIL_ADDRESS>wrote:

Probably this?: https://docs.travis-ci.com/user/deployment/npm/
On Wed, May 16, 2018 at 3:55 PM, Dave Dopson<EMAIL_ADDRESS>wrote:

I'd like to. First I need to install npm, and figure out which password
I used.
Bonus points for anybody who finds an automated build system. (seriously,
it should just auto-cut versions for every push to GitHub that passes
tests!)
On Wed, May 16, 2018 at 11:31 AM, Chris Kim<EMAIL_ADDRESS>wrote:

@No9 https://github.com/No9 @ddopson https://github.com/ddopson
Thank you! Could you publish a new version to npm?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ddopson/node-segfault-handler/pull/50#issuecomment-389562346,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA6d34AnLZuS26MMyS8x3BXn6KBtYxbyks5tzEZDgaJpZM4Tk3Pd
.

Published as 1.0.1 as it's a backward compatible bug fix not new functionality


Update v4.6.0

Update v4.6.0 - Movement Remastered

Added Paper Doll
Added Option for Equipment Text Alignment

TODO:

[x] 1.20
[x] 1.19.4
[x] 1.18.2
[x] 1.17

Preview:

.jar release when? 😄


Update rapids JNI and private dependency to 24.08.0

Wait for the pre-merge CI job to SUCCEED

Draft this PR until rapids JNI and private v24.08.0 dependency jars get released

build

please ignore spark400 failure, it will be taken care of in 24.10 thanks

please ignore spark400 failure, it will be taken care of in 24.10 thanks

Sounds good to me, let me merge it


Script to generate service documentation relies on libgeopmpolicy.so

In general we have been avoiding any dependencies on libgeopmpolicy.so in the service directory.  This is not true for the script in service/docs/geninfo.sh.  It uses geopmread and geopmwrite.  This has some bad side effects besides missing dependencies: the listing of signals includes signals from the ProfileIOGroup and the EpochIOGroup which are not loaded by libgeopmd.so.  The information provided by geopmread --info and geopmwrite --info is not currently available through the geopmaccess CLI.  This feature should be added to thegeopmaccess command line tool.

geopmread and geopmwrite are now distributed with geopm-service build.


[Doc] update fluent object invocation example

Oh, man, these are nice fixes for silly typos. Thank you so much!


Add length property to Matrix classes to make them fully Array-like

This allows Matrix objects to be used as arrays in APIs that expect an array-like object.
For example, adding a length with the value of 16 to the Matrix4 class would allow a TypedArray to be set directly from a Matrix4 instance:
var matrix4 = new Cesium.Matrix4();
var typedArray = new Uint32Array(16);
typedArray.set(matrix4);

Without a length property, the above silently fails. With a length property, it works as expected.
Proposal summary, add these properties:
Matrix2.prototype.length = 4;
Matrix3.prototype.length = 9;
Matrix4.prototype.length = 16;

Thanks for the idea, @speigg!
This is OK with me.  Good beginner issue.  Any other thoughts?

So we just need to add length properties to their respective .js files only. Or should we something else.

Yes, we would add a length like this: https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Core/AssociativeArray.js#L30-L34
And also add tests: https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Documentation/Contributors/TestingGuide/README.md
And update CHANGES.md

@speigg this was added in #3579 and will be available in the next release


Crash on error HTTP

Hi,
I have an application which crash on launch when inspeckage is enabled on it.
It seems to be an HTTP error, may be because they use squareup/okhttp ?
The crash log is attached below :

05-09 20:39:34.644 28971 28971 I Xposed  : Inspeckage_Error com.android.okhttp.OkHttpClient#open(java.net.URI)#exact
05-09 20:39:34.644 28971 28971 I Xposed  : Inspeckage_Error java.lang.ClassNotFoundException: com.android.okhttp.internal.http.HttpURLConnectionImpl
05-09 20:39:34.684 28971 28971 E Xposed  : com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Expected value at line 1 column 14 path $.hookJson
05-09 20:39:34.684 28971 28971 E Xposed  : 	at com.google.gson.Gson.fromJson(Gson.java:894)
05-09 20:39:34.684 28971 28971 E Xposed  : 	at com.google.gson.Gson.fromJson(Gson.java:844)
05-09 20:39:34.684 28971 28971 E Xposed  : 	at com.google.gson.Gson.fromJson(Gson.java:793)
05-09 20:39:34.684 28971 28971 E Xposed  : 	at com.google.gson.Gson.fromJson(Gson.java:765)
05-09 20:39:34.684 28971 28971 E Xposed  : 	at mobi.acpm.inspeckage.hooks.UserHooks.initAllHooks(UserHooks.java:40)
05-09 20:39:34.684 28971 28971 E Xposed  : 	at mobi.acpm.inspeckage.Module.handleLoadPackage(Module.java:126)
05-09 20:39:34.684 28971 28971 E Xposed  : 	at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:34)
05-09 20:39:34.684 28971 28971 E Xposed  : 	at de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:61)
05-09 20:39:34.684 28971 28971 E Xposed  : 	at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:106)
05-09 20:39:34.684 28971 28971 E Xposed  : 	at de.robv.android.xposed.XposedBridge$1.beforeHookedMethod(XposedBridge.java:203)
05-09 20:39:34.684 28971 28971 E Xposed  : 	at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:729)
05-09 20:39:34.684 28971 28971 E Xposed  : 	at android.app.ActivityThread.handleBindApplication()
05-09 20:39:34.684 28971 28971 E Xposed  : 	at android.app.ActivityThread.access$1800(ActivityThread.java:222)
05-09 20:39:34.684 28971 28971 E Xposed  : 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1861)
05-09 20:39:34.684 28971 28971 E Xposed  : 	at android.os.Handler.dispatchMessage(Handler.java:102)
05-09 20:39:34.684 28971 28971 E Xposed  : 	at android.os.Looper.loop(Looper.java:158)
05-09 20:39:34.684 28971 28971 E Xposed  : 	at android.app.ActivityThread.main(ActivityThread.java:7229)
05-09 20:39:34.684 28971 28971 E Xposed  : 	at java.lang.reflect.Method.invoke(Native Method)
05-09 20:39:34.684 28971 28971 E Xposed  : 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
05-09 20:39:34.684 28971 28971 E Xposed  : 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
05-09 20:39:34.684 28971 28971 E Xposed  : 	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:134)
05-09 20:39:34.684 28971 28971 E Xposed  : Caused by: com.google.gson.stream.MalformedJsonException: Expected value at line 1 column 14 path $.hookJson
05-09 20:39:34.684 28971 28971 E Xposed  : 	at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1567)
05-09 20:39:34.684 28971 28971 E Xposed  : 	at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:594)
05-09 20:39:34.684 28971 28971 E Xposed  : 	at com.google.gson.stream.JsonReader.peek(JsonReader.java:429)
05-09 20:39:34.684 28971 28971 E Xposed  : 	at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:74)
05-09 20:39:34.684 28971 28971 E Xposed  : 	at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:61)
05-09 20:39:34.684 28971 28971 E Xposed  : 	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:116)
05-09 20:39:34.684 28971 28971 E Xposed  : 	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:216)
05-09 20:39:34.684 28971 28971 E Xposed  : 	at com.google.gson.Gson.fromJson(Gson.java:879)
05-09 20:39:34.684 28971 28971 E Xposed  : 	... 20 more
05-09 20:39:34.684 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /data/lp/xposed
05-09 20:39:34.684 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.694 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.694 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.694 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.694 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.694 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.694 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.694 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.704 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.704 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.704 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.704 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.704 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.704 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.704 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.704 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.704 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.704 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.704 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.714 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.714 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.714 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.714 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.714 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.714 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.714 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.714 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.714 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.714 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.724 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.724 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.724 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.724 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.724 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.724 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.724 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.724 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.724 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.724 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.724 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.724 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.724 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.734 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.734 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.734 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.734 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.734 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.734 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.734 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.734 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.734 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.734 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.734 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.734 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.744 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.744 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.744 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.744 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.744 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.744 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.744 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.744 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.744 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.744 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.744 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.744 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.744 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.754 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.754 28971 28971 I Xposed  : Inspeckage_FileSystem:R/W [new File(String)]: /storage/emulated/0
05-09 20:39:34.754 28971 28971 F art     : art/runtime/indirect_reference_table.cc:115]       505: 0x76b5f078 java.lang.String "Xposed"
05-09 20:39:37.144 25114 25114 I InjectionManager: dispatchPrepareOptionsMenu :de.robv.android.xposed.installer.XposedInstallerActivity
05-09 20:39:38.554 25114 25114 I InjectionManager: dispatchOptionsItemSelected :de.robv.android.xposed.installer.XposedInstallerActivity
05-09 20:39:56.304 29032 29032 W System.err: 	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:134)
05-09 20:39:57.254 25114 25114 I InjectionManager: dispatchPrepareOptionsMenu :de.robv.android.xposed.installer.XposedInstallerActivity
05-09 20:39:58.114 25114 25114 I InjectionManager: dispatchOptionsItemSelected :de.robv.android.xposed.installer.XposedInstallerActivity
05-09 20:39:59.024 29032 29032 W System.err: 	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:134)
05-09 20:40:10.484 29032 29032 W System.err: 	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:134)
05-09 20:40:12.844 29032 29032 W System.err: 	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:134)
05-09 20:40:17.084 29032 29032 W System.err: 	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:134)
05-09 20:40:19.414 29032 29032 W System.err: 	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:134)
05-09 20:40:23.694 29032 29032 W System.err: 	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:134)
05-09 20:40:26.044 29032 29032 W System.err: 	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:134)
05-09 20:40:50.404 29032 29032 W System.err: 	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:134)
05-09 20:40:52.694 29032 29032 W System.err: 	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:134)

Thanks,

Hi @Flo354, the app that you are trying is public? I can test it?

Thanks for your answer @ac-pm
The app is not public but I can give it to you in private if you want.

Yes, you can send to acpm.mobi[at]gmail.com

Done

Please try the new version 2.0


feat(rust): dynamically parse the --at argument for relay create command

In the relay create command, replace the hardcoded /project/default value used in the --at argument by /project/<default_name>, where the default project name is resolved dynamically.

I still would love to see --at-project and --at-node though

That's something we have to finish discussing, but I'm 100% in with that.


[JetNews]  Bump to alpha03

Changes:

Use new snackbar coroutine-based API
Work around crash in swipable exposed by re-ordering of onCommit
Migrate to buildSrc Dependencies.kt to match other samples.
Refactor snackbar test to use new testing APIs, and avoid blocking a composable.

Abandoning this PR and making a new one!


io_uring_wait_cqe_nr

Hi
I use  thread / per core to complete the logic.
I want to be able to handle other tasks if there are no io completion events.
Is there any potential risk in using io_uring_wait_cqe_nr(&ring, &cqe, 0) if I want to get the completion event in a non-blocking way?
Or do you have a better way to do it?

That should work, or you can use io_uring_peek_cqe() which will check for a cqe without blocking.

OK.thx~~~


Full mesh partial replication protocol.

[x] Track interest groups, allow interest and disinterest.
[x] Filter updates based on interest groups.
[x] ObjectFilterFun everywhere must be a two arity call and take the metadata.
[x] Object metadata should allow specification of which groups it belongs in.
[ ] Because of transitive delivery, adapt, because some nodes will rely on transitivity to ensure convergence, which means a simple 1-1 exchange will only work under full replication.
[x] Ensure functionality under partial replication.

Will address transitive work in a subsequent commit.


Diabetes prediction

✅ Hacktoberfest
Diabetes Prediction using KNN

Data Analysis
KNN prediction from scratch
Saving predictions to file

Hey, @vanshika230 Do add a proper readme in your folder by describing the project that you made
and also do add CSV, data files in separate folder

@anubhav201241  I have made the changes accordingly. Please review them.


Updates from Muhammad Bin Naeem

Breadcrumbs added
Search bar added
Index page update
URLs modified
New Setup Process Content Added
titles corrected accordingly

Why remove my name @max2u


style: add ellipsis to creator in PlaceCard

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
37 unchanged lines in 3 files lost coverage.
Overall coverage remained the same at 47.708%

Files with Coverage Reduction
New Missed Lines
%

src/entities/Place/routes/getPlaceMostActiveList.ts
2
74.07%

src/entities/Place/model.ts
17
54.55%

src/entities/Place/migration.ts
18
11.48%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
239

Relevant Lines:
361

💛  - Coveralls


[Universal banner] Design research & explorations

User story 1  - End user

As an [user role below]:
ibm.com user

I need to be able to do:
See this banner on every IBM page on every locale, informing them of a global IBM event or campaign.

so that I can:

Read and understand the high level & critical information.
Click to see more details

User story 2  - DDS Designer

As a [user role below]:
DDS Designer

I need to be able to do:
Explore widely any solution that might be effective at solving the a user task described above.

so that I can:
Deliver a successful final design, specs, and usage guidance for this component.

Additional Information

See the epic for the overarching descriptions of the work.
[box folder]
[reference materials]

Explorations should include:

various use cases (THINK, COVID)
competitive analysis
several design options

Acceptance Criteria

[ ] Design direction(s) has been identified, reviewed, and approved for the final design phase
[ ] The next story has been updated with the design direction

Will assign to Sorin once he is added to github

Sorin's design posted on slack:
https://ibm.box.com/s/2go8wmogmb0huwb21dq3kpbf2fgt2w1f
Feedback for going into next sprint:
Hey @sorin-calinescu ! Love the new round. A few suggestions:

The heading & body doesn’t have a lot of contrast in size. So I tried $expressive-paragraph-01 . It’s strictly speaking not a heading. Would like to hear what others think about this usage. I like how it differentiates from our Card a bit.
I personally like Link component on mobile. It’s more space efficient. Also works better when an image is attached
Need md breakpoint. Would you try a 2 up layout  where image is one side? Could be a Feature card reference.
Desktop, try expressive paragraph too, and I think the stacked heading and copy would work better. When with image, image goes left.
Watch out for close x icon’s hover & touch area. Min 32x32 on desktop, and on mobile it’s gotta be bigger too. I think 48x48? I forget.

Continue here #6546


Verbs: Fix assertion failures

Merging #3733 exposed some kind of bug in the Verbs layer causing many tests to fail during autobuild, all in the same way.
Verbs non-SMP: Fatal error on PE 0> [0] Assertion "startNode >=0 && startNode<_Cmi_numpes" failed in file src/arch/util/machine-broadcast.C line 141
Verbs SMP: Fatal error on PE 2> [2] Assertion "((CmiMsgHeaderBasic *)msg)->rank==0" failed in file src/arch/util/machine-broadcast.C line 66

Untested, and I don't know if it fixes the issue(s). Feel free to push more fixes to this branch.

@ericjbohm @adityapb Reviewers, could you try this branch on a Verbs machine to see if it resolves the failures? If it does not, could you paste a full backtrace here?

The change in my commit needs to be fixed either way, so this is ready for review.

This needs another review


Bulkinsert deletes temptables too quick

When we use this line it will not delete the temp tables created by EFCore .BulkExtensions:
context.BulkInsert(items, new BulkConfig() { PreserveInsertOrder = true, SetOutputIdentity = true, UseTempDB = false });
But when we set the following config option it will delete the Table but to early:
UseTempDB = true,
We get the following exception message:
"ClassName": "System.InvalidOperationException",
	"Message": "Cannot access destination table '[dbo].[#BatchRequestsTemp76f28794]'.",

"InnerException": {
		"ClassName": "System.Data.SqlClient.SqlException",
		"Message": "Invalid object name '#BatchRequestsTemp76f28794'.",
		"Data": {
			"HelpLink.ProdName": "Microsoft SQL Server",
			"HelpLink.ProdVer": "14.00.1000",
			"HelpLink.EvtSrc": "MSSQLServer",
			"HelpLink.EvtID": "208",
			"HelpLink.BaseHelpUrl": "http://go.microsoft.com/fwlink",
			"HelpLink.LinkId": "20476",
			"SqlError 1": "System.Data.SqlClient.SqlError: Invalid object name '#BatchRequestsTemp76f28794'."

After bulkinserting with the setting to True. The items do not get inserted to the DBContext. If we use the False setting the items get inserted but the TempTables never get deleted.
Somebody already made an issue about this(issue: After BulkInsert XxxTempXxxOutput tables not removed#68) but it has been closed because the problem couldnt be reproduced, we tried several options and but after all none of them worked.
We would like to hear which options we can try to fix this problem.

In ReadMe there is comment about this:
UseTempDB when set then BulkOperation has to be inside Transaction, so you can try this.
There is also Example of using Transaction in ReadMe.
Regarding the problem of not deleting temp tables, when not using UseTempDB,
the comment is same as on the issue you mentioned:
Are you having some Exception after which temp tables are not Droped or do they always remain in Db?
If error remains you should write code that reproduces it, or write it in a test.

it works when i put the bulkinsert inside the transaction, thank you very much!

Not sure if commenting on a Closed issue will get any response, but we have an application that is using transactions and is setting UseTempDB to true, yet we're still getting Cannot access destination table '[schema].[#TempTableName]'. -- Invalid object name '#TempTableName'.
Seems that we only get this error when we add interceptors via DbContextOptionsBuilder.AddInterceptors(...).
When we remove the interceptor code from our application, the temp table errors go away.
Any thoughts???

Not sure, but could be that somehow interceptor changes the transaction behavior in some way.
Can you make a reproducible example or a test for it.

@borisdj : I appreciate the response! Our application is a bit complicated, so might be tough to put together a reasonably-sized example to reproduce. One of our developers reported that things seem to work (even with the interceptor doing its thing) if we set UseTempDB = false, but there are downsides to doing that from what I've read.
Do you have any thoughts/insights on that approach? Thanks!

UseTempDB is false by default, so leaving it as such is completely fine.
When set to true internal DB mechanism is used for TempTable Create/Drop while when left to false this is done explicitly.
But in both cases same procedure is executed and they have the same result.

@borisdj : Thanks for the feedback! Will let you know if we have any additional questions.


usb: add {get,set}_{vendor,product}_id

Add runtime getters/setters for the vendor and product ids that were
previously only configurable at build time via USB_DEVICE_{VID,PID}.

What is the use case for the feature?

The use case I have is to emulate a certain device (a Nintendo Switch controller) when I detect that I'm connected to a specific type of host, but there are other use cases that I know of that would benefit from being able to change these IDs at runtime (e.g. talking to a device that supports the Android Open Accessory protocol, which identifies capabilities via product ID).

Ok.


chore(extension): fix default values formatting in staking mappers

Checklist

[ ] JIRA - LW-10001
[ ] Proper tests implemented
[ ] Screenshots added.

Proposed solution
Explain how does this PR solves the problem stated in JIRA ticket.
You can also enumerate different alternatives considered while approaching this task.
Testing
Describe here, how the new implementation can be tested.
Provide link or briefly describe User Acceptance Criteria/Tests that need to be met
Screenshots
Attach screenshots here if implementation involves some UI changes

coverage: 50.567%. remained the same
when pulling 008628caeb2509afecfb745993a24580c532bcb3 on chore/LW-10001-fix-staking-mappers-default-values
into e8a9096cf2da863f8e75f0933ea9c709589ac0eb on main.


Added check_shapes functionality when reading from bytes

WIP
Addresses #2436
Add a check_shapes option when reading from bytes, which will raise an error if the loaded shape is different from the target shape

Codecov Report

Merging #2607 (110a9e4) into main (341f528) will decrease coverage by 0.15%.
The diff coverage is 57.14%.

@@            Coverage Diff             @@
##             main    #2607      +/-   ##
==========================================
- Coverage   79.44%   79.29%   -0.16%
==========================================
  Files          49       49
  Lines        5211     5172      -39
==========================================
- Hits         4140     4101      -39
  Misses       1071     1071

Impacted Files
Coverage Δ

flax/serialization.py
68.02% <54.54%> (-1.07%)
:arrow_down:

flax/errors.py
84.15% <66.66%> (-0.54%)
:arrow_down:

flax/core/nn/linear.py
42.34% <0.00%> (-0.52%)
:arrow_down:

flax/struct.py
78.12% <0.00%> (-0.34%)
:arrow_down:

flax/core/scope.py
89.72% <0.00%> (-0.07%)
:arrow_down:

flax/core/lift.py
95.81% <0.00%> (-0.07%)
:arrow_down:

flax/linen/normalization.py
97.08% <0.00%> (-0.05%)
:arrow_down:

flax/core/frozen_dict.py
96.19% <0.00%> (-0.04%)
:arrow_down:

flax/linen/summary.py
99.00% <0.00%> (-0.01%)
:arrow_down:

flax/traverse_util.py
99.01% <0.00%> (-0.01%)
:arrow_down:

... and 6 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Fix typos in Gradio course (chapter 9)

Fix a few typos in Gradio course.
VSCode trimmed all the extra whitespaces it seems, I can remove that if that's an issue.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Allow selecting different packages on different platforms

For example on Linux, cabal needs the binutils package, but not on macOS. Some packages are also not supported on all platforms.
It would be good if there was a mechanism to restrict the addition of certain packages on a per-platform basis.

dupe of #41


[GraphQL]

Description
Deprecates the  exchange_rates and staking_pool resolvers on validator type, and adds a staking_pool_id and exchange_rates_table resolver to correctly return the staking pool id and the wrapped exchange rates object.
Test plan
Existing tests:
cd sui-graphql-e2e-tests && cargo nextest run --features pg_integration

Release notes
Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.
For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

[ ] Protocol:
[ ] Nodes (Validators and Full nodes):
[ ] Indexer:
[ ] JSON-RPC:
[x] GraphQL:  Deprecated the  exchange_rates and staking_pool resolvers on validator type, and added a staking_pool_id and exchange_rates_table resolver to correctly return the staking pool id and the wrapped exchange rates object.
[ ] CLI:
[ ] Rust SDK:

So if I understand correctly, the stakingPool is an object wrapped in the validator struct, and the exchangeRatesTable is a table wrapped in the stakingPool wrapped in the validator struct?

That is correct.

that's wild man


[Feature] [ShenYu] Apache ShenYu (incubating) plugin support grpc,sofarpc,motan,tars

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
Enhanced Plugin Functionality.
support grpc,sofarpc,motan plugin tracing.
Use case
support grpc,sofarpc,motan plugin tracing.
Related issues
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Completed and ready for closure, see https://github.com/apache/skywalking-java/pull/170 for details


[SS3-only] Update to have proper "replace" rules and set name to use proper package name

@nglasl Not too sure on this, but shouldn't the 1.0.0 tag / branch be setup correctly to say it's package name is this, not shea's?:
https://packagist.org/packages/symbiote/silverstripe-multisites-googleanalytics
Also should have the "replace" rules? (Also I'm not super across how that works)

@nglasl There's a project using this in SS 3.6 and the whole rename from SSAU to Symbiote stuff is making updating Multisites painful.

Cheers for bringing this one up @silbinarywolf. I've now added a replace to the main branch, and an installer name to the previous major version branch. This should resolve most issues you're seeing.


Added Prestashop Adapter

Thank you.

hi, can you make a pull request for Prestashop example in https://github.com/n1crack/datatables-examples/tree/master/other_examples
ty.


Schema validation

the main aspect of this pr is the usage of child-validators for schema-validation in order to make that non-blocking.
along with it are changes that are necessary to make that work and smaller fixes.
i also wanted to implement a cache that tracks transformed schemas for optimization and to tackle #176, but since mappings are not hashable that requires some caution, and thus time, and i didn't want to hold back my progress so far.

Looks good.

Rebased and merged with https://github.com/nicolaiarocci/cerberus/commit/dc2f74a028318fb79958d022122fa0b7a9906830
Thanks.


[22.05] strongswan: add patch for CVE-2022-40617

Description of changes
https://www.strongswan.org/blog/2022/10/03/strongswan-vulnerability-(cve-2022-40617).html
Patching is explicitly mentioned as an option, and there are numerous small changes between 0.9.5 and 0.9.8 that could result in altered behaviour.
See #194342 for unstable.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] 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

[x] 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/)
22.11 Release Notes (or backporting 22.05 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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Passthru tests are passing on x86_64-linux and aarch64-linux. Thank god we have them.


ISPN-5429 Avoid CacheEntryFilterConverter duplicate callbacks

@wburns Can you please review this? :)

When plugging a CacheEntryFilterConverter in a cluster, it can lead to duplicate callbacks as a result of listener invocation base class not detecting that the CacheEntryFilterConverter is both a filter and converter.
When clustering CacheEntryFilterConverter instances, these are wrapped to avoid pre-events, and the wrapping halts the discovery that the CacheEntryFilterConverter is both a filter and converter.
Overriding equals() in wrapper classes and making sure base listener invocation uses equals() instead of referential equality solves the problem.
Added remote listener tests to verify the expected amount of callbacks are received by CacheEntryFilterConverter implementations.

If this happens just because of the pre-events filtering, I'd rather remove the pre-event filter because it is needless. RemoteClusterListener does the isPre check already, so this pre-filter was just meant as a perf optimization which has to be removed anyway because filter wrapping prevents detection of filter type where needed (filter indexing needs that https://github.com/infinispan/infinispan/pull/3351)
Are there other instances where this is happening?

I'd keep the tests but revert the other changes and remove the pre-filter.

Closing in favour of https://github.com/infinispan/infinispan/pull/3430


Whether to plan to develop a tensorflow version

I am very hopefully that you to develop a tensorflow version.

No we don't plan it any time soon