Not receiving readable terminal output from BNO055

I am trying out a BNO055 IMU located on a Arduino 9-Axes Motion Shield. I have tested the shield with the NAxesMotion and it seems to work without any problems.
When i try the new library from you and uncomment either BNO055_28 and BNO055_29 running the BNO055 sketch i am not receiving any readable output from the console.
What may be wrong?

Apparently the latest build of Arduino IDE are having problems with the encoding in the Serial Monitor. So i fell back to version 1.6.3 which solved the problem.


Is it possible to load multiple different relationships (not simply multi-level)

Say I have a model called "Book" and that is related to both "Page" and "Author" models, but that the page and author models are separate.  If it was a simple multi-level relationship, I could do something like:
public function getAlgoliaRecord()
{

    $this->page->author;
    return $this;

}

But since the relationships aren't related, I'm not sure how I'd go about grabbing both.  Can someone help me out here?

  I figured (incorrectly) that doing $this->page; would somehow overwrite $this->author; so I didn't even bother trying.
Thank you for clearing that up for me!


RFC to improve module install UX

Options:

make install async
explain it will take a while / display logs

It was discussed offline that it would be best to a have good message setting the expectation for how long iasql_commit or iasql_install can last for the time being and continue to monitor the issue and collect more data about the issue and how to best move forward https://github.com/iasql/iasql/pull/2311


Calling push_back on a non-vector object

Describe the bug
In the file ./modules/perception/common/i_lib/pc/i_struct_s.h:706, the code tries to call push_back on a non-vector object, i.e., "voxels_[id].push_back(n);"
To Reproduce
Currently the method "bool VoxelGridXY::Set()" is not called, so the compiler does not compile this buggy snippet. But I am trying to compile the code on ARM platform, and will have to call this non-sse4-optimized "bool VoxelGridXY::Set()" method, and thus the compiler will report the compiling error.
Expected behavior
The expected code should be:
voxels_[id].indices_.push_back(n);

Thank you so much for finding the bug. The fix is in #7304.


Incorrect resample-image -size option help

The default is the input voxel size, not constant 1 1 1.
See https://github.com/BioMedIA/MIRTK/blob/463d90ac6145be7627bb240dae5649eddf1eebb6/Applications/src/resample-image.cc#L60.

Fixed by 9482b884c8022bbcc1fd4f85dd702a48dfad45d1.


Backend Publish Pagination

This PR contains the following changes:

Default items-per-page value increased to 20. Will be changed on upgrade if the value hasn't been customized.
A subtle input field in the pagination info to allow direct page-jumping instead of hitting "next" 100 times. The input field is being validated on submit.

I don't know how to append PR's to existing issues. This one comes from #800


"LV_CONTEXT" is not type-compatible with formal parameter "CONTEXT".

Hi,
parameter Context has a "simple" data type which only accepts character like data so gives an error for a number like fields.
The following code gives design time an error.
Solution: change parameter context from simple type to any
  DATA lv_context TYPE sflights.

  DATA logger TYPE REF TO zif_logger.

  logger = zcl_logger_factory=>create_log( object = 'ABAPUNIT'
                                           subobject = 'LOGGER'
                                           desc = 'LOGGER Demo' ).

  MESSAGE E000(oo) WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4 INTO DATA(dummy).
  logger->add( context = lv_context ).

Closed by https://github.com/ABAP-Logger/ABAP-Logger/pull/128 and https://github.com/ABAP-Logger/ABAP-Logger/pull/129


Unpin versioningit build dependency

The backstory is that I am switching nixpkgs to use build to build Python packages, which checks build dependency version constraints (by default). The nixpkgs repository (usually) only keeps the latest version of each package, and versioningit is already at 2.2.0.
Would it be possible to leave the upper bound constraint open until a breakage is observed? I'm also open to any other scheme you prefer.

Thanks, I don't have any problem with unpinning it. It would be nice is dependabot or similar had support for automatically bumping build time deps so one could semiautomatically upgrade this as a new version of buid time deps is released and tested in ci but I see the risk of this breaking anything as low

Codecov Report

Merging #638 (e4fd6c3) into main (4f80cd4) will increase coverage by 0.08%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #638      +/-   ##
==========================================
+ Coverage   79.09%   79.17%   +0.08%
==========================================
  Files          16       16
  Lines        2406     2406
==========================================
+ Hits         1903     1905       +2
+ Misses        503      501       -2

see 2 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Thank you for your review!


Fixes #26818 : Removing bad reference in docker volumes tutorial

Fixes https://github.com/docker/docker/issues/26818
Removing bad reference in docker volumes tutorial
Signed-off-by: milindchawre<EMAIL_ADDRESS>

LGTM. Let's ship it 🚀


XIM doesn't work because some events are not filtered with XFilterEvent

I'm using  japanese input method on linux. XIM works with filtering some X events. KeyPress/KeyRelease/ClientMessage etc. So the all of events should be filtered with XFilterEvent.

Even with this is fixed Japanese input won't work unless one has a kana keyboard layout. I'll be adding proper support for pre-edit input method styles later with #41, but that requires adding new API functions.


Merge prTesting_202005111957 branch to master branch

Docs Build status updates of commit 9aa4149:
:clock10: Pending: waiting for processors (9 builds ahead of you)
:warning: Docs Build is busy, currently there are 9 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 9aa4149:
:warning: Validation status: warnings

File
Status
Preview URL
Details

split/updateTestRef.md
:warning:Warning

Details

split/updateTestRef.md

[Warning] Missing attribute: author. Add the current author's GitHub ID.
[Warning] Missing attribute: title. Add a title string to show in search engine results.
Line 0: [Warning] Markdown content is not allowed before H1.
Line 1: [Suggestion] H1 is required. Use a single hash (#) followed by a space to create your top-level heading. NOTE: This Suggestion will become a Warning on 04/01/2020.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


LikeFilter: Read value lazily when doing a prefix-based match.

This speeds up cases where we don't actually need to read the value, such as LIKE 'foo%'.
Benchmarks:
master

Benchmark                            (cardinality)  Mode  Cnt      Score      Error  Units
LikeFilterBenchmark.matchLikePrefix           1000  avgt   10      6.034 ±    0.764  us/op
LikeFilterBenchmark.matchLikePrefix         100000  avgt   10   1212.425 ±  165.169  us/op
LikeFilterBenchmark.matchLikePrefix        1000000  avgt   10  13881.014 ± 1802.151  us/op

patch

Benchmark                            (cardinality)  Mode  Cnt      Score     Error  Units
LikeFilterBenchmark.matchLikePrefix           1000  avgt   10      4.176 ±   0.159  us/op
LikeFilterBenchmark.matchLikePrefix         100000  avgt   10    894.584 ±  41.895  us/op
LikeFilterBenchmark.matchLikePrefix        1000000  avgt   10  10665.437 ± 271.716  us/op

LGTM!

:+1:


Monorepo?

Does it make sense to switch this to a monorepo with related modules? In particular mapeo-schema, which is very closely tied to this? @EvanHahn maybe you have some experience with monorepo setups? My impression is that they are a lot of work to get all the tooling working.

tl;dr: I am generally pro-monorepo. Happy to try something. npm workspaces look nice.
I have two experiences consolidating multiple repos: braintree-web, a work team project, and Helmet, a personal open source project. Both of these experiences were positive. It was a little difficult to get working but the benefits far outweighed the costs, in my opinion.
I think there are several benefits to monorepos, but the biggest is improved development velocity. It speeds things up in a few ways:

Spend less time organizing. For example, this issue is actually three issues: the "main" one, and two smaller ones. Maybe this could be a single issue with subtasks.
Spend less time releasing. I mentioned two previous projects that used to be multi-repo. In both cases, doing a release was tricky; I had to mentally walk the dependency graph, making sure to release things in the right order. And if you make a mistake...
Reduce duplication. For example, I opened a PR to update nanobench types in this repo and did the same thing in multi-core-indexer. In a monorepo, this could have been a single change. And prior to my change, both repos had code that did the same thing.
Easier standardization. For example, multi-core-indexer uses tap, mapeo-core-next uses brittle, and CoMapeo-mobile uses jest. A monorepo would make it easier to standardize. Monorepos would still let us have these differences if we wanted to (or didn't have time to migrate).
Faster navigation. It's usually small, but there's a cost to jumping between repositories. For example, if you're not sure which component does something, git grep works in a monorepo setting and doesn't in a multi-repo setting. I recently wanted to figure out which of our projects depend on multi-core-indexer; that took me ~a minute of GitHub searching compared to ~a second with git grep.

These issues could totally have been solved another way. For example, we could reduce duplication with more dependencies. But I think monorepos are a more elegant solution to these problems.
It may not work for us for some reason—every project is different—but I'm glad we're considering it. I'm also unsure which projects would be folded into a monorepo and which would be left out (if any). Should CoMapeo-mobile be part of the monorepo, for example?
I don't know the best monorepo tool for 2024, but I'd evaluate npm workspaces and Lerna. npm workspaces seem pretty easy, at a glance.
If this is something we're considering, I'm happy to do some proper investigation and write up a proposal.

Agree that a monorepo would probably be to our benefit in this case (I don't have a ton experience with them personally).
@EvanHahn thanks for the details! I'd be very interested in you taking the lead and proposing something. Personally would hope that npm workspaces work well enough for us, but again, no prior experience with it.
Off the top of my head, the modules that should be part of a potential monorepo would be:

mapeo-sqlite-indexer
multi-core-indexer
mapeo-schema
mapeo/mock-data
digidem/types

I'd be hesitant to include application repos like comapeo-mobile, but that's just a gut feeling.

also just adding that https://nx.dev/ is the successor project to lerna, if that helps in any case.


Added source-map-loader webpack plugin to load source maps in packages/*

Source maps haven't been loading from packages other than packages/gui for a while now. This adds the source-map-loader webpack plugin to load those source maps.

Known Issue:

There are lines where break point cannot be set.

https://user-images.githubusercontent.com/84098616/160229523-7b0be56a-22f5-4dac-b8e7-d326f703fe11.mov

@ChiaMineJP Thanks for your fixes!


Add API to buffer BinaryData.

This adds APIS that can make BinaryData replayable. And solves https://github.com/Azure/azure-sdk-for-java/issues/28799 .

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-core

/check-enforcer override


add renovate bot for dependencies updates

I've sent an email to the GoogleCloudPlatform org admins asking for https://github.com/apps/forking-renovate on this repository.


Success and failure blocks not called after opening urban airship notification inside the app

I'm guessing this is the same issue as https://github.com/AFNetworking/AFNetworking/issues/307 Is there a fix for the same? When the app is in the active state, if a notification comes in, I'm showing a view, tapping on which triggers the required network calls. Once the user taps on the view, AFNetworking blocks aren't called. Has this issue been fixed?

It's extremely unlikely that this is in any way related to #307. If you have sample code that reproduces this behavior, please post that. Otherwise, for general usage questions, please ask over on Stack Overflow using the AFNetworking tag.


Build failure: python312Packages.scalene

Steps To Reproduce
Steps to reproduce the behavior:

build python312Packages.scalene

Build log
* Getting build dependencies for wheel...
running egg_info
make vendor-deps
make: Nothing to be done for 'vendor-deps'.
writing scalene.egg-info/PKG-INFO
writing dependency_links to scalene.egg-info/dependency_links.txt
writing entry points to scalene.egg-info/entry_points.txt
writing requirements to scalene.egg-info/requires.txt
writing top-level names to scalene.egg-info/top_level.txt
reading manifest file 'scalene.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'vendor/Heap-Layers/.git'
no previously-included directories found matching 'vendor/printf/.git'
warning: no previously-included files found matching 'scalene/old/*'
adding license file 'LICENSE'
writing manifest file 'scalene.egg-info/SOURCES.txt'

ERROR Missing dependencies:
        setuptools<71.0,>=65.5.1

Additional context
Per https://github.com/pypa/setuptools/issues/4483, this failure is intentional due to some behaviour changes in setuptools. I'm not completely familiar with the change or setuptools overall, but the gist seems to be that setuptools now "prefers installed dependencies over vendored ones", whatever that means in this case.
Notify maintainers
@sarahec
Metadata
fails on master (5963d2a4088941cb88a1d40058443c2ef1473e69)

Add a :+1: reaction to issues you find important.

I need to escalate this to someone who understands pinning packages while I work with scalene's author to fix this properly.
From requirements.txt:
setuptools>=65.5.1,<71.0  # Pin to setuptools<71.0 to avoid this bug: https://github.com/pypa/setuptools/issues/4496

As soon as Emery has a fix on his end, we can bump the version number or apply the patch.

Updated in the original sources. We need Emery to cut a new release of Scalene as we're building from the published binary. (The scalene source build is complicated.)

The scalene source build is complicated

FYI, I managed to make source builds work. That will make future bug responses quicker.


AVRO-3363 updated DatumWriter to IDatumWriter

Jira

[ ] My PR addresses the following Avro Jira issues and references them in the PR title. For example, "AVRO-1234: My Avro PR"

https://issues.apache.org/jira/browse/AVRO-3363

Tests

[ ] My PR does not need testing for this extremely good reason: non functional change

Commits

[ ] My commits all reference Jira issues in their subject lines. In addition, my commits follow the guidelines from "How to write a good git commit message":

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

Documentation

[ ] In case of new functionality, my PR adds documentation that describes how to use it.

All the public functions and the classes in the PR contain Javadoc that explain what it does

This is an API break.
It an improvement but will break user applications for no big benefit.
Some users (LinkedIn) recently complained about such small breaks in minor versions.

Yes, this was an API break.  This should be resolved by continuing the make DatumWriter usable by having it inherit IDatumWriter.    So any external code will get the warning that it is going to be deprecated without actually breaking anything.

@martin-g I believe we came to an agreement to merge.

Personally I dont think this should be merged, unless part of a major release


[gatt_server] Cannot set bigger packet size when communicating with Linux client (IDFGH-13069)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
I run gatt_server example on a esp32c3 and from Debian 12 I connect to it using gatttool which is using version 5.66-1+deb12u1 of bluez. My final goal is to send 2MB of data over BLE, however this is quite slow because only sending a packet worth 1024 bytes using gatttool takes around 1.3 seconds. That means sending 2MB would require around 45 minutes.
To send the data I use the following command:
(export PKT_SZ=1024; gatttool -b 34:85:18:F7:F7:3A --mtu 500 --char-write-req -a 0x002a -n $(printf "ff%.0s" `seq 1 $PKT_SZ`))

To make sure that the MTU gatttool is trying to negotiate is accepted, I also added a cal to esp_ble_gatts_send_response(gatts_if, param->mtu.conn_id, ESP_GATT_OK, 0, NULL); inside the ESP_GATTS_MTU_EVT event.
To make this faster I thought on using the packet length extension functionality of BLE which should get me at most 251 bytes of data in a packet instead of 20, which is the default. I tried to increase the size using a call to esp_ble_gap_set_pkt_data_len(param->connect.remote_bda, 251) inside ESP_GATTS_CONNECT_EVT event handler.
However, that does not seem to work. When I send a 21 byte  packet using the following command:
(export PKT_SZ=21; gatttool -b 34:85:18:F7:F7:3A --mtu 500 --char-write-req -a 0x002a -n $(printf "ff%.0s" `seq 1 $PKT_SZ`))

I get the following output from gatt_server:
I (3414311) GATTS_DEMO: GATT_WRITE_EVT, conn_id 0, trans_id 1, handle 42
I (3414341) GATTS_DEMO: GATT_WRITE_EVT, conn_id 0, trans_id 2, handle 42
I (3414351) GATTS_DEMO: ESP_GATTS_EXEC_WRITE_EVT
I (3414351) GATTS_DEMO: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
I (3414351) GATTS_DEMO: ff ff ff ff ff

Compared to sending a 20 byte packet which looks like this:
I (3423851) GATTS_DEMO: GATT_WRITE_EVT, conn_id 0, trans_id 1, handle 42
I (3423851) GATTS_DEMO: GATT_WRITE_EVT, A value len 20, value :
I (3423861) GATTS_DEMO: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
I (3423871) GATTS_DEMO: ff ff ff ff

It looks like the 21 byte packet is split in two packets and the 20 byte packet is not, which indicates that the call to esp_ble_gap_set_pkt_data_len had no effect at all. I also see a lot of GATT_WRITE_EVT when writing the 1024 bytes packet, when in fact there should be just 5-6 of them (1024/251).
In summary, the BLE stack inside esp-idf does not seem able to use the packet length extension functionality. Am I doing something wrong or is this a known limitation?

My $0.02 here. It appeared to me that when using Nimble (what stack are you using?) you can stretch the MTU to something like 2048 (2k) BUT then the BLE stack on Linux start moaning and doesn't work (see dmesg on your Linux machine). I could only get it to work with MTU sizes smaller than 560 bytes (which seems to be "the standard").
BLE is really awkward if you want to send large amounts of data, but for example the ESP32-S3 only has BLE, not BT classic, I found out the hard way. If your ESP32-C3 does support BT classic, I'd suggest using that instead. Otherwise I am curious if it can be solved on the Espressif side.

@eriksl, I used bluedroid in the experiment from above but I also tried nimble with the throughput_app/bleprph_throughput example. For a 500 bytes packet with nimble I get around 450ms, that's about 1Kbps. Fortunately, the nimble example already sets the packet length using ble_hs_hci_util_set_data_len, as opposed to gatt_server which does not.
However, nimble fails to set such a big MTU as you proposed. ble_att_set_preferred_mtu has a hard limit at 527.

You can set the MTU in the sdk menuconfig. IIRC you also need to set it in either Nimble or on the client side.
Anyway, I have it now working if I use a MTU smaller than 560 bytes. On the client side I send a specific command string to the HCI that sets the MTU and then the server (esp32) follows, given you have configured a big enough MTU size in the sdkconfig.
With that configuration I can reach a speed of 3-4 kbytes per second. Which is awfully slow, but it's sufficient to do an emergency firmware upload if nothing else works. Upload takes a few minutes that way, it's doable.
My experience is that the examples aren't very good actually. It pays off to compare the API calls they're doing to the official documents of the ESP-ISD and the Nimble documentation. Sometimes some API calls aren't really required, sometimes some are missing and sometimes they need to be slightly different according to your own needs.
It took me A LOT of time to get a simple SPP-like thing working in BLE because of the not-so-great documentation and examples (both from Espressif and Nimble). I also had the bad luck I had to implement the client as well, on Linux, and here the documentation is even worse (Bluez). If you don't want to submit to the dbus nightmare, you're on your own there. Even though (I found out) talking to the HCI really isn't difficult, if only it were documented...

It's possible that there's a problem with gatttools. I established a connection from the computer with the Bleak python client and I got the desired MTU.
In this case there seems to be nothing wrong with esp-idf. I will close the issue.

No I don't think gatttools is the cause. I got messages from the kernel (= low level, in-kernel part of the BT). I searched the kernel source and found the offending line. It just simply assumes no one will ever need to use a bigger MTU in this transfer mode. This is detected at a point way too far in the process to correct it, or have the user informed in an orderly way, that's why it's reported in the dmesg and just fails with no clear reason (packet is dropped).


Rule (regex) identify MSSQL credentials in code analysis

Hello, I had created a local .yml rule to identify these types of mssql "connection" password exposure. Because originally running gitleaks on pip it was not identified. And when manually reviewing via code-review I caught this type of scenario. With that I made the regex to automate and try to contribute so that if this type of exposure comes again, gitleaks will be able to catch it and alert me.
Below is an example of the manual test.

yml (example)
rules:
  - id: mssql_database_credentials
    regex: "Password=[^;]+"
    description: Detects exposure of MSSQL database credentials.
    tags: ["database", "MSSQL", "credentials"]

or

go (example)
package rules

import (
	"regexp"

	"github.com/zricethezav/gitleaks/v8/config"
)

// MSSQLDatabaseCredentials generates a rule for detecting exposure of MSSQL database credentials.
func MSSQLDatabaseCredentials() *config.Rule {
	// Define Rule
	r := config.Rule{
		// Human readable description of the rule
		Description: "Detects exposure of MSSQL database credentials",

		// Unique ID for the rule
		RuleID: "mssql-database-credentials",

		// Regex used for detecting secrets
		Regex: regexp.MustCompile(
			`Password=[^;]+`),

		// Keywords used for string matching on fragments (pre-filter)
		Keywords: []string{"MSSQL", "credentials"},
	}

	// Validate rule
	tps := []string{
		// Example secrets that match the rule
		"Password=mySecurePassword123;",
	}
	return validate(r, tps, nil)
}

The default generic rules captures this. "Password=mySecurePassword123;", doesn't match because of the extensive stoplist associated with the generic rule


add link to the whatsapp updates group

https://chat.whatsapp.com/CCFkZwKn3oD8kJoRLms7ts

You can assign me this issue :)

I'll try it. can you assign me?

Closing as we now have a dedicated social link


Please release new version

Can you release new version so we can you it with 7.2.*?

@spingee The latest 4.0.0-beta.3 was released to NuGet with the intent to support Orleans 7.2. Are you encountering an issue with it? If yes, will you open an issue with more details?

Sry i overlooked it, my bad

No worries!


adds progress and repeat tags

TBH: I don't see the usecase for some stuff:
Why would you want to provide a static progress? Where would you use a tag from your unit tests?
For "<progress:0.5:|:10:green:#696969>" you could write <green>|||||<c:#696969>||||| and you're done.
Same stuff with the repeating tag. It could be nice to repeat some stuff but why is there no way for the api to provide a number?
smth like:
mm.deserialize("Hey, <repeat:":) ">", Formatter.repeat("repeat", 5));
Both progress and repeating tags shouldn't be considered as StandardTags.
And I disagree with the double supplier. Other tag resolver such as Placeholders or the existing Formatters don't have a Supplier, using Supplier now without a fallback to no supplier is a change in the api.


Use manifestival/manifestival instead of kabanero-io/manifestival

The original Manifestival library now supports creating manifests from other source types.  Since that was essentially the only difference between our fork and the original, we should stop using our fork.
These were the changes that pertained to Kabanero:

Manifest objects are now immutable, so we receive a new object after Transform()
We're using the Manifestival controller-runtime client
ApplyAll and DeleteAll were renamed to Apply and Delete respectively

@jcrossley3 if you have a few minutes to look this over, we'd appreciate it!

@mezarin @dacleyra If one (or both) of you would review and merge this, I'd appreciate it.
Well I guess only one of you can merge it.  Technically.


fix: run onError callback before onCompleted

Fixes https://github.com/zino-app/graphql-flutter/issues/680 https://github.com/zino-app/graphql-flutter/issues/643
Fixes / Enhancements
As a developer executing a mutation request
When I receive an error from the server
Then I should be able to react to this error in the onError callback, before the onCompleted callback is run.
Example use case:
In my app, I allow the user to update his/her username. And then I Navigator.of(context).pop to the previous route after the mutation. But I don't want to pop the screen if there's an error. Instead I want to be able to show some kind of error message.

I've confirmed that this fixes the problem described

It's not just that we should call onCompleted first – we should wrap onCompleted and update in exception handling, and call onError with any errors thrown, closer to what apollo does
    return this.mutate(mutationFunctionOptions)
      .then((response: FetchResult<TData>) => {
        this.onMutationCompleted(response, mutationId);
        return response;
      })
      .catch((error: ApolloError) => {
        this.onMutationError(error, mutationId);
        if (!this.getOptions().onError) throw error;
      });


No longer able to disable fluid use on Rod of Return (after new config system?)

Issue Description:
Modpack: Direwolf20 1.12, with EnderIO manually updated to version 5.0.40.
In EnderIO version 5.0.37, I was able to disable the Rod of Return's fluid use in the config by setting fluidUsePerTeleport to 0. Now, this doesn't work. I think it might be because the range for this config option is now (1, 1000).
I can still disable the Telepad's fluid use by setting telepadFluidUse to 0. This config option uses setMin(0) instead of setRange(1,1000).
When I have time I will do my best to build the mod and see if setRange(0,1000) will fix it.
Affected Versions:

EnderIO: 5.0.40 (and presumably 5.0.39)
EnderCore: 1.12.2-0.5.45
Minecraft: 1.12.2
Forge: <IP_ADDRESS>08
SpongeForge? no
Single Player and/or Server? singleplayer

This needs a proper way to disable fluid use; that setting it to 0 worked was pure luck.


Update json4s-core, json4s-jackson, ... to 4.0.3

Updates

org.json4s:json4s-core
org.json4s:json4s-jackson
org.json4s:json4s-native

from 3.6.11 to 4.0.3.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.json4s" } ]

labels: library-update, semver-major

Hi @hseeberger! Would it be possible to merge this and release a new version? We'd like to use json4s:4.0.3. Thank you!

Release 1.38.0 is on its way ...

Hi @hseeberger, it appears version 1.38 was never released to Maven Central (not an issue for us because we compiled the release locally), but just fyi!


Indicate if artifact should be donated to the museum

If an artifact should be donated to the museum for the A Complete Collection achievement, add it to the item 'needed for' field.

Done in the upcoming 1.8 release.


fix(docs): change html lang to English

Description
Fixes issue where browsers try to translate https://perfectionist.dev/ from English -> English due to HTML lang being set to ru
Additional context

What is the purpose of this pull request?

[x] Bug fix
[ ] New Feature
[x] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[x] Ideally, include relevant tests that fail without this PR but pass with it.
[x] Read contribution guidelines.

Thank you very much!


revert: moving oiShares declaration out of the block

https://linear.app/autonomysoftware/issue/BAC-70/revert-the-extraction-of-oishares-from-the-block-in-build

@EperezOk :wave:
Please review a very small pr. Explanation inside Linear.


Can I get full admin rights to see whats up with the mkdocs builds?

As per slack discussion, we can move this repo here:
https://github.com/OBOAcademy


Score counter is not functional.

The score counter does not update during the game nor after the game finishes.

This is by design - this repo is intended as the source for an open source event and one of the tasks during the event is to work on the score.


feat(examples): add connection limit example

What's changed?

Add an example to show how to limit connection on a handle (as this keeps getting asked often in Discussions/Discord)

Hey @bcakmakoglu thanks so much for this! If it's OK with you I'm going to merge this and tweak some bits on my end?

Absolutely :)


2.3.0

Meta-package release.

@sjsrey, when appveyor.yml was removed was it also disabled?

@sjsrey, when appveyor.yml was removed was it also disabled?

Great catch. Just deleted the webhook.


[devops:bot] update deps in nix/sources.json (from: rhino-core@deeb462

update nix refernces for rhino-core and|or nixpkgs to match https://github.com/rhinofi/rhino-core/blob/deeb462095640d83072ecc02bc632b3fe9747ec7/nix/sources.json (branch: dev)

superseded by #129


platesphp.com should probably https

In celebration of upcoming 2019, for one.

rightnow using https, but some style not yet
if you see at the site, you'll know it
<link rel="stylesheet" href="http://theme.thephpleague.com/css/all.css">

This should be taken care of now :)


merge command detects .k2 filetype but produces no output

When I run "merge" on Kraken2 output files, I get confirmation that the format was detected correctly, but the command completes immediately without generating an output file. I've tried with and without an out file path, and with wildcard expansion (*k2) as well as providing two full input file paths. The merge command is working for Bracken report files. Any ideas what might be going on?
Thanks!
architeuthis merge -o /projectnb/frpmars/soil_microbe_db/NEON_metagenome_classification/soil_microbe_db_merged_kraken.csv /projectnb/frpmars/soil_microbe_db/NEON_metagenome_classification/01_kraken_output/*.k2

2024/09/22 23:14:19 Detected format for files is 'kraken2'.

Conda info in case it's useful!
     active environment : struo2
    active env location : /projectnb/talbot-lab-data/zrwerbin/.conda/envs/struo2
            shell level : 1
       user config file : /usr3/graduate/zrwerbin/.condarc
 populated config files : /share/pkg.8/miniconda/24.5.0/install/.condarc
                          /usr3/graduate/zrwerbin/.condarc
          conda version : 24.5.0
    conda-build version : not installed
         python version : 3.12.4.final.0
                 solver : libmamba (default)
       virtual packages : __archspec=1=cascadelake
                          __conda=24.5.0=0
                          __glibc=2.28=0
                          __linux=4.18.0=0
                          __unix=0=0
       base environment : /share/pkg.8/miniconda/24.5.0/install  (read only)
      conda av data dir : /share/pkg.8/miniconda/24.5.0/install/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://conda.anaconda.org/bioconda/linux-64
                          https://conda.anaconda.org/bioconda/noarch
                          https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /projectnb/talbot-lab-data/zrwerbin/.conda/pkgs
       envs directories : /projectnb/talbot-lab-data/zrwerbin/.conda/envs
                          /projectnb/talbot-lab-data/metabolic_models/scripts/metaGEM/envs
                          /usr3/graduate/zrwerbin/.conda/envs
                          /share/pkg.8/miniconda/24.5.0/install/envs
               platform : linux-64
             user-agent : conda/24.5.0 requests/2.32.3 CPython/3.12.4 Linux/4.18.0-553.16.1.el8_10.x86_64 almalinux/8.10 glibc/2.28 solver/libmamba conda-libmamba-solver/24.1.0
 libmambapy/1.5.8
                UID:GID : 283690:202078
             netrc file : /usr3/graduate/zrwerbin/.netrc
           offline mode : False

I think I see what is going on. I will send in a fix.

Okay, should be fixed in version 0.3.1 . I also added a test for this.


Direct document retrieval via _from and _to possible?

my environment running ArangoDB
I'm using the latest ArangoDB of the respective release series:

[ ] 3.3

Hi dear Arango team,
I was trying and wondering if there is a direct retrieval of edge documents possible?
Such as:
DOCUMENT("edge_collection", HAS(_from=="123456" && _to=="12333333"))
In the documentation the DOCUMENT needs the _id, but I only have _from and _to available.
Is that possible without a FOR statement?
I imagine a direct retrieval could be more performant.
Thanks a lot,
Tobias

Thanks a lot - actually we have used the FOR statement, I was only wondering if there is a more direct retrieval possible (even though _from and _to are not uniques).


⚠ Bofrost.fr has degraded performance

In 50fc903, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1648 ms

Resolved: Bofrost.fr performance has improved in ef20718 after 8 minutes.


✨ Add plugin system for for extending the parser

This is not quite the finished product yet, but it outlines the basic functionality of what I'm looking to implement
closes #13

On a side note, it might be better to run a separate linting job, directly using pre-commit, rather than running all the tools separately?
  pre-commit:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
    - name: Set up Python 3.8
      uses: actions/setup-python@v1
      with:
        python-version: 3.8
    - uses<EMAIL_ADDRESS>

yeh this linting error doesn't even show up in pre-commit so a bit difficult to fix 🤷

Right, rebased and now that's a better CI set up IMO 😬

so the current code will handle "single token" type plugins, but I'm not sure what the best route is for container type plugins.
The most important one to my mind is tables, which are pretty much enabled in every markdown renderer.

tables are a real tricky one, because I think to do it correctly you need to first generate the text for all cells, then use that to work out the width of each column (i.e. the max length of text), then write the whole table (adding correct padding). Something like:
| a | b |
| :-: | -: |
| cde | fghi |

to
align = ["center", "right"]
cells = [["a", "b"], ["cde", "fghi"]]

to
|  a  |    b |
| :-: | ---: |
| cde | fghi |

I think here then you need to be able to do two things:

parse the render method to the plugin, so that it can do its own nested rendering
allow the plugin to also return the final token index "consumed" (e.g. table_close), which would require something like:

rather than using:
for i, token in enumerate(tokens):

use:
i = 0
while i < len(tokens):
  token = tokens[i]
  ...
  i += 1

OK, in 8a27caa I have implemented the changes similar to those described above.
This should now allow for the accommodation of any type of extension plugin.

I've also made MDRenderer and MARKERS available at the top-level, so they can be used by these plugins

Thanks for the PR! Some questions and feedback above.
I like the "return token index consumed" approach.

Oh also, maybe add a brief description how to make a parser plugin in CONTRIBUTING.md?

Oh also, maybe add a brief description how to make a parser plugin in CONTRIBUTING.md?

yep was just waiting to do this once the mechanism had been finalised

all review comments addressed!

This is fantastic! In the words of the infinitely wise welcome-bot

You are awesome! :hugs:

Merged.

Ah it always brightens my day to see the party fish 🎉 🤣

@chrisjsewell I think I will make one change myself, which is expose mdformat.renderer package instead of mdformat.MDRenderer and mdformat.MARKERS. I think especially with the MARKERS it feels better to me to have it in the renderer namespace.
I will then release, shouldn't take very long.

yeh no worries ta


And another duktape/quickjs implementation

Hi guys,
we have been using our extended version of Duktape Android internally for a while and recently added support for quickjs and open sourced it - https://github.com/prosiebensat-1-digital-gmbh/oasis-jsbridge
Basically we built things "on top of" duktape-android, so I think API should be very similar. What we added is:

more type inference (using generics with reified parameters)
support for suspending functions
two-way support for JS promises (mapped to Deferred or suspending functions)
JsValue type to refer arbitrary JS values
a bit more memory handling code in JNI
some JS runtime polyfills (setTimeout, XHR, console) and waiting for Duktape debugger VSCode plugin connection on client

QuickJS flavor has the same feature set (except for debugger). In case you are interested in bringing in these features into Duktape Android, we would be glad to consolidate the efforts and have one library instead of two :)
cc @bwalter

Neato!
Our approach to date has been to deliberately limit what you can do with this library. I’ve personally been anxious about the maintainability and performance drawbacks of hiding the boundary between JS and Java. If we make it too easy to write programs that mix the two languages, people might write such programs and those programs might have bad properties.
But the approach you’re taking is very nice. More power, but still very much honoring the fact that the memory JS sees is distinct from the memory Java sees.
I’m not ready to immediately consolidate. Our risk tolerance is low and ownership is difficult. But we’ll keep an eye on your project and perhaps even encourage users to check it out when they bump into the limits of what this library does for them.

I totally understand that ownership question may be hard. Just want to say that we are pretty flexible in that regard.

I’ve personally been anxious about the maintainability and performance drawbacks of hiding the boundary between JS and Java. If we make it too easy to write programs that mix the two languages, people might write such programs and those programs might have bad properties.

I am curious, what kind of drawbacks (except for obvious JS interpreter performance) do you have in mind? People can write bad and good programs with any tool. In this case it's visible what is crossing the bridge (Native->JS and JS->Native interfaces). We see the listed features as natural development of Duktape and I am trying to understand why you "deliberately limit what you can do with this library". Or maybe you just have another roadmap that @jakewharton hinted at here (https://github.com/square/duktape-android/issues/143#issuecomment-522201495)?

I'm anxious of architectural and maintainability problems. Not sure what, but it's a if departure from what I know works.


Icon Request(s): Menu (Alternative styles)

Icon Request
Thank you for the beautiful icons.

Icon name: Menu
Tags of this icon: menu, hamburger, bars
Use case: To open or close mobile menu, side drawers etc.
Screenshots of similar icons:

https://remixicon.com/#system
You'll see them in the first row of the system category.
Thank you for your advice and samples.


Rel 3.11.2 -- patch method throw exception which use to work fine in Rel 3.9.1

Description
Code sample          std::string valStr = jsonvalprofile.serialize();
nlohmann::json profileval = nlohmann::json::parse(valStr);
                             std::string valStr1 = jsonvalpatch.serialize();
                            nlohmann::json patchval = nlohmann::json::parse(valStr1);

                           // patch the original json value with patch object
                           result = profileval.patch(patchval);

Reproduction steps
sample json
{   "capacity" : 50,   "locality" : "test",   "id" : "94f250ab-f6f5-46fa-8d38-765b5ce9ab6c",   } ],   "xyz" : [ {     "lmn" : "214",     "nnp" : "001"   } ],   "priority" : 1, }
patch sample[ {   "op" : "add",   "path" : "/xyz/1/lmn",   "value" : "214" }, {   "op" : "add",   "path" : "/xyz/1/nnp",   "value" : "002" } ]
The patch operation fails with
[json.exception.out_of_range.401] array index 1 is out of range
Expected vs. actual results
Exapected:
patch to be successful as it use to happen in v3.9.1
Minimal code example
std::string valStr = jsonvalprofile.serialize();
                                nlohmann::json profileval = nlohmann::json::parse(valStr);

                                 std::string valStr1 = jsonvalpatch.serialize();
                                nlohmann::json patchval = nlohmann::json::parse(valStr1);

                               // patch the original json value with patch object
                               result = profileval.patch(patchval);

Error messages
The patch operation fails with
 [json.exception.out_of_range.401] array index 1 is out of range

Compiler and operating system
clang --version clang version 15.0.7 (Fedora 15.0.7-2.fc37)
Library version
v3.11.2
Validation

[ ] The bug also occurs if the latest version from the develop branch is used.
[ ] I can successfully compile and run the unit tests.

Your sample JSON is invalid.  It contains an unmatched ].
, } ], "xyz" : [ { "

Your operation is invalid according to JSON Patch.  Previous versions of the library erroneously accepted it.  That was fixed in #3628
https://datatracker.ietf.org/doc/html/rfc6902#page-4
When the operation is applied, the target location MUST reference one of:

A member to add to an existing object - whereupon the supplied
value is added to that object at the indicated location.  If the
member already exists, it is replaced by the specified value.
An element to add to an existing array - whereupon the supplied
value is added to the array at the indicated location.  Any
elements at or above the specified index are shifted one position
to the right.  The specified index MUST NOT be greater than the
number of elements in the array.  If the "-" character is used to
index the end of the array (see [RFC6901]), this has the effect of
appending the value to the array.

Your location is neither an existing object, nor an array element, but instead a location inside a non-existing object.  You need to add the full new element as a single operation, or add an empty element and then add members to it.

Thank for the reply, if i understand this right, you are saying its failing due to the fact that at location of array element 1 we don't have  lmn "/xyz/1/lmn" ?

It's because /xyz/1 doesn't exist.  You need to create /xyz/1 before you can add more things to it.  What you have there is should be close to working but I think "value": "" would make it a string instead of an object.  Can you try "value": {} instead?


Chore/test coverage/programming test cases

Description
Increases test coverage for ProgrammingExerciseTestCaseResource. I also refactored the endpoint Strings to a constant class and fixed the equals and hashCode methods of the test case entity since they didn't include all attributes of the class.

The failing test case also fails on develop


Firebase and GoogleAdsMobile Migration To SPM for Privacy Manifest

Description
As you know, starting from 1/5/2024, if you using SDK in your project you need to have a Privacy Manifest to get your app approved. From Firebase 10.22, App Privacy Manifest is supported. And I'm updating my current Firebase to 10.22
According to the Release Note seem like the privacy manifests only added in the SPM version. Correct me if I misunderstand this.
So I migrate it from Cocoapods to SPM.
But the problem is here, my Project using Firebase, Google Mobile Ads and mediation: GoogleMobileAdsMediationUnity. I can easily migrate Firebase and Google Mobile Ads to SPM, but GoogleMobileAdsMediationUnity is not supported
Key Point: Mediation adapter libraries are not yet available on Swift Package Manager. If you use [mediation](https://developers.google.com/admob/ios/mediation), we recommend integrating with CocoaPods.

As a result, it remains in the pods, but when using it, a dependency will be added: PromiseObjC, to be specify the module module FBLPromises will be created. And in SPM, Firebase will also installed Promise which also created the module module FBLPromises, this trigger an IDE Error Redefinition of module 'FBLPromises'
Anyone facing the same problem? And what is your approaching to solve it?
Firebase SDK Version
10.22
Xcode Version
15.0.1
Installation Method
Swift Package Manager
Firebase Product(s)
Analytics, Crashlytics, DynamicLinks, Messaging, Remote Config
Targeted Platforms
iOS

Thanks for the report. This looks like a documentation problem in the release notes. Privacy Manifests are supported with CocoaPods.
And it's not supported to mix CocoaPods and SPM.
@ncooke3 @morganchen12  Please correct the release notes.

The release notes are now correct - https://firebase.google.com/support/release-notes/ios
Sorry for the confusion @vonghiep and thanks for letting us know!


 I'm using the gevent pool for celery if it matters.

open ignore_result options

There's not enough information for me to reproduce the error that you're seeing. If you can put together a sample app that consistently reproduces the problem then we can likely figure out what's going on. However I strongly suspect that this is an error in how Celery (or another lib) might be using redis-py rather than a bug within redis-py itself.

@Hamza-Lachi @silviuum If either of you can provide an example that reproduces this issue I can take a look and try to figure out what's going on. Currently I don't have enough info to diagnose where the problem is.

FWIW, I'm also seeing this with Celery 5.0.0 and Redis for Python 3.5.3.
Unfortunately it's not easy to create a simple app to reproduce, because I'd estimate it happens only once in a while. I've tried it with something as simple as this:
@celery.task()
def add_together(a, b):
    return a + b

def check_working():
    result = tasks.add_together.delay(3, 7).wait()

I put that check_working in a production health check. It works fine for days and then seemingly at random, I'll get this error, only to have the next call work fine.

@mikeauthramp Is you app running in a multithreaded environment? This seems like a race condition to me. Specifically, I'm wondering if this error is another manifestation of celery/celery#6335.

@andymccurdy It is a multi-threaded environment.

I am also seeing the same issue on celery 5.0. It's quite hard to reproduce and happens once every 24h for us.

Still pretty confident this is a Celery/Kombu issue, specifically celery/celery/#6335

this problem exists in scene that django==3.1.5 with celery==5.1.0;
I started django with single-thread, but it sill exists,

I have the ‘ redis.exceptions.ResponseError: wrong number of arguments for 'subscribe' command’ issue with:
Azure for cache Redis server 6.14
Celery 5.1.2
Redis-py 3.5.3
so the issue is not sorted
Any news on what needs to be done?

Same for redis in google cloud memorystore.
redis-py 3.5.3, celery 5.1.2.
ResponseError: wrong number of arguments for 'subscribe' command

 File "redis/client.py", line 3617, in get_message
    response = self.parse_response(block=False, timeout=timeout)
  File "redis/client.py", line 3505, in parse_response
    response = self._execute(conn, conn.read_response)
  File "redis/client.py", line 3479, in _execute
    return command(*args, **kwargs)
  File "redis/connection.py", line 756, in read_response
    raise response

I would think that celery is probably the one sending the wrong arguments here but I don't think its https://github.com/celery/celery/issues/6335 as I don't have any sort of asynchronous code running.


Adapt Sounder SIPS Application to use unity-app-generator

Convert the Sounder SIPS application so it can be build using Unity APP Generator

Build process needs to be reorganized
Need to solve issue of obtaining SounderSIPS source code, possibly pull from an S3 bucket


Add Lwjgl3 maximized window features

I put in a callback for maximized state, and options to maximize a window at will or start it maximized.
I renamed window.deiconify() to window.restore() to reflect that it can be used for two different purposes. Better to rename it now when the backend is young than to make it a quirk forever.
Addresses #4298. I didn't add a isMaximized() method to keep it clean, as we don't have isFullScreen or isIconified window methods, and the callback should be sufficient.

There was a small memory leak - the GLFW callback needs to be free()'d when closing a window. I also took the liberty to merge maximized() and demaximized() into one single function.

Good catch. I put demaximized() in to mirror deiconified(). I wonder if iconified/deiconified should also be condensed into one for symmetry.

Personally, I'd say yes. Not only to keep the interface less cluttered, but also because demaximize and deiconify are really strange words. ;)


Move Cypress tests

Removing the tests to keep this repo light since it is intended to be readonly. Actual development is happening in Canary, so the tests should be there instead.

A live preview is being deployed!Please note that it may take a few seconds for GitHub Pages to build and deploy. The preview will be removed in a few days.

A live preview is being deployed!Please note that it may take a few seconds for GitHub Pages to build and deploy. The preview will be removed in a few days.


Labels color switch

Grey labels should switch to white, based on the sector color to make them more readable.

Closed in #74

Closed in #74


Remove stringutils from distribution

Purpose

$subject

@shafreenAnfar I think, we need to update the base of the PR and cherry-pick the commits.

Closing this PR, As I have sent another #25516


i got banned on terra for xraying....and i regret it

Ban Appeal i wish i never hacked cause terra was the only server i really enjoyed and played can i please get unbanned it will never happen again i dont care if i get wiped just please unban me trust me ill never try to xray anything EVER again.

or hack ever again on minecraft

my username is TomahawkYT

someone pls respond to my ban appeal

I honestly do believe that you regret using a hacked client. Despite the fact that your last ticket was closed, I'm willing to allow you back on the grounds that you are careful not to break any other rules, and that you agree to having you account reset; since I cannot determine what is legitimate and what is not. If you are happy with this, I can unban your account :)

thank  you  so much <3

im happy with this

wait will my pokemon stay either way if i lose them i can just look for somemore

and also i agree to having my account reset

I'll have to reset everything, I'll sort it when I am at my desk, shouldn't be too long :)


Adding footer

Is your feature request related to a problem? Please describe.
Adding a dedicated footer to the website containing copyright statement and github repo link as well as about us
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

i would like to contribute on this project ..please assign to me

@abhijeetnishal should I start working on it?

I would like to work on this project. Please assign it to me.

@abhijeetnishal I would like to work on it, please assign it to me


Backend: Add Facebook Pages subscriptions

Similar to Youtube and Twitter API integration, use the Facebook OAuth credentials to allow people to subscribe to Facebook Pages.
Ideally we'd add an "Advanced" groupset in the Add Site dialog where somebody could enter in a YouTube url, a Twitter url, or a Facebook Group/Pages url.

I'm interested in this feature and I'd to work on it if that's possible.
I would use this API https://developers.facebook.com/docs/graph-api/reference/v8.0/page/feed
What is difference between this issue and #812? Is it lack of user credentials?
In theory one could parse HTML, example: https://mbasic.facebook.com/newsblur?v=timeline&filter=2&refid=17 and make RSS feed out it. Then there is no need for OAuth credentials in the case of public Facebook pages.
Due to Facebook anti-scraping restrictions and limiting traffic from the same IP, using a proper API seems like a better solution.

You're right, this ticket and #812 are the same. I'll close #812 in lieu of this ticket.
I actually built it but it doesn't work. You can see the facebook_fetcher.py file, but I can't get it to work for some reason and haven't returned to it. Probably something to do with API credentials.


🤘 metal: Migrate to objc2 architecture with objc2-metal bindings

The current objc crate stack is completely unmaintained and has severely fallen out of date with no updates for over 4 years.  The metal-rs crate, built on top of this architecture, is completely written by hand which is tedious to keep up-to-date, not to mention has inconsistencies in its implementation.
All of this is superseded by the new objc2 crate stack built by @Madsmtm.  Beyond providing what seems like a better, safer abstraction over Objective-C, all bindings are completely autogenerated meaning we'll no longer lag behind upstream bindings (requiring painstaking manual patching) or have inconsistencies in the implementations, as long as the generator is properly able to represent the bindings.

This PR is a draft to allow me to get a better understanding of Objective-C, as well as for @Madsmtm to chime in on the current use of Metal bindings.  Who also helpfully provided me a branch with planned future improvements, including changing the generated bindings to be closer to metal-rs to make other migrations easier to manage.
One important thing that is missing from this PR is interop with older metal-rs types.  objc2(-metal) has the typical Id::from_raw() interop that could allow us to upgrade gpu-allocator here while still using metal-rs for a little while longer in our own codebase.  Such interop could be provided like the public-winapi optional feature, or hand-rolled in our codebase if so desired.

I've now succesfuly ran with these changes, I think we should go ahead and merge them.

https://github.com/Traverse-Research/gpu-allocator/commit/6a2f5214e99403e596cb4dc93cd82f5b2b3f2f8d

Add 'all' dependency because I can't get it to work without when basing our code on the latest 'objc2-metal' branch

This sounds wrong so I've dropped the commit. If gpu-allocator builds on/for Metal correctly, the issue lies elsewhere. Maybe another crate forgot to list the right features? Or there is interop that requires a different set of features?
Let me investigate for a bit before we merge this :pray:

This sounds wrong so I've dropped the commit.

Yeah no worries, it's a hackfix for me to be able to use this in my local testing, I can apply it locally. I didn't want to dive into why it was breaking (after having spent some time on it).

If gpu-allocator builds on/for Metal correctly, the issue lies elsewhere. Maybe another crate forgot to list the right features? Or there is interop that requires a different set of features?

I'm building on a later commit then what's released, I think the feature setup just changed.

Let me investigate for a bit before we merge this 🙏

Found it: the git version that you're patching to hides quite a few of the types used here behindd a new MTLAllocation feature since the XCode 16 beta 1 update:
https://github.com/madsmtm/objc2-generated/commit/aadc4edddcf4d59e408ee608a9115bda54d317bf
We can't explicitly add this feature yet because it's not available in the objc2 dependency here, and "all" would kindo fbe papering over it.

Let's add MTLAllocation in our own codebase (or all) and patch it up here when we upgrade to the new version (which I hope counts as a semver break).

Sounds good, lets merge?

Ready for merge once CI is green :tada:


Cannot add folder to backup with Manage Files

Hi
I am using this version on a Synology device. It does seem to be able to backup all the files in the root folder.
But even after adding a volume to the docker and adding the path /storage and making sure the Docker user is a user with read and write permission to that folder it does not show the folder in the Manage Files menu in Code42 app.
Am I missing somthing here?
//Robin

Can you share the output of docker inspect <container name> ?

Hi
Sorry but not sure how to do that?
I have not been running this with any terminal commands. Only gui installation on Synology.
But if you can send some more info on what you want me to do and I am more than willing to to whatever you need me to :)
//rbn

On 13 Nov 2020, at 14:00, Jocelyn Le Sage<EMAIL_ADDRESS>wrote:
Can you share the output of docker inspect  ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/jlesage/docker-crashplan-enterprise/issues/4#issuecomment-726751446, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADLJBRGHBYLMYVQRYJRJ4ILSPUUW5ANCNFSM4TTHBEUQ.

This command can be run from the terminal.  If it's easier for you can could also share your container configuration using screenshots.

Realised it was as easy as SSH into the Synology :)
Here is the output for that command:
[
{
"Id": "2e8f4d2a9bd7649c03be2fa66994e5e8becabc71c40c95dbed28eb9767518787",
"Created": "2020-11-11T15:11:09.551328631Z",
"Path": "/init",
"Args": [],
"State": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 8786,
"ExitCode": 0,
"Error": "",
"StartedAt": "2020-11-14T08:50:48.034168879Z",
"FinishedAt": "2020-11-13T13:13:25.837753881Z",
"StartedTs":<PHONE_NUMBER>,
"FinishedTs":<PHONE_NUMBER>
},
"Image": "sha256:c156b27000b9ddc200a5cd7049496106380285ee3a0b24edc58614d74749264a",
"ResolvConfPath"<EMAIL_ADDRESS>"HostnamePath": "/volume2/@docker/containers/2e8f4d2a9bd7649c03be2fa66994e5e8becabc71c40c95dbed28eb9767518787/hostname",
"HostsPath": "/volume2/@docker/containers/2e8f4d2a9bd7649c03be2fa66994e5e8becabc71c40c95dbed28eb9767518787/hosts",
"LogPath"<EMAIL_ADDRESS>"Name": "/CopyCloud",
"RestartCount": 0,
"Driver": "aufs",
"Platform": "linux",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "unconfined",
"ExecIDs": null,
"HostConfig": {
"Binds": [
"/volume1/NasFolder:/storage:rw"
],
"ContainerIDFile": "",
"LogConfig": {
"Type": "db",
"Config": {}
},
"NetworkMode": "bridge",
"PortBindings": {
"5800/tcp": [
{
"HostIp": "<IP_ADDRESS>",
"HostPort": ""
}
],
"5900/tcp": [
{
"HostIp": "<IP_ADDRESS>",
"HostPort": ""
}
]
},
"RestartPolicy": {
"Name": "no",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"CapAdd": null,
"CapDrop": null,
"Dns": null,
"DnsOptions": null,
"DnsSearch": null,
"ExtraHosts": null,
"GroupAdd": null,
"IpcMode": "shareable",
"Cgroup": "",
"Links": null,
"OomScoreAdj": 0,
"PidMode": "",
"Privileged": true,
"PublishAllPorts": false,
"ReadonlyRootfs": false,
"SecurityOpt": null,
"UTSMode": "",
"UsernsMode": "",
"ShmSize": 67108864,
"Runtime": "runc",
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"LANG=en_US.UTF-8",
"S6_BEHAVIOUR_IF_STAGE2_FAILS=3",
"S6_SERVICE_DEPS=1",
"USER_ID=100",
"GROUP_ID=1000",
"APP_NAME=CrashPlan Enterprise",
"APP_USER=app",
"XDG_DATA_HOME=/config/xdg/data",
"XDG_CONFIG_HOME=/config/xdg/config",
"XDG_CACHE_HOME=/config/xdg/cache",
"XDG_RUNTIME_DIR=/tmp/run/user/app",
"DISPLAY=:0",
"DISPLAY_WIDTH=1280",
"DISPLAY_HEIGHT=768",
"S6_WAIT_FOR_SERVICE_MAXTIME=10000",
"KEEP_APP_RUNNING=1"
],
"ConsoleSize": [
0,
0
],
"Isolation": "",
"CpuShares": 50,
"Memory":<PHONE_NUMBER>,
"NanoCpus": 0,
"CgroupParent": "",
"BlkioWeight": 0,
"BlkioWeightDevice": null,
"BlkioDeviceReadBps": null,
"BlkioDeviceWriteBps": null,
"BlkioDeviceReadIOps": null,
"BlkioDeviceWriteIOps": null,
"CpuPeriod": 0,
"CpuQuota": 0,
"CpuRealtimePeriod": 0,
"CpuRealtimeRuntime": 0,
"CpusetCpus": "",
"CpusetMems": "",
"Devices": null,
"DeviceCgroupRules": null,
"DiskQuota": 0,
"KernelMemory": 0,
"MemoryReservation": 0,
"MemorySwap":<PHONE_NUMBER>,
"MemorySwappiness": null,
"OomKillDisable": false,
"PidsLimit": 0,
"Ulimits": null,
"CpuCount": 0,
"CpuPercent": 0,
"IOMaximumIOps": 0,
"IOMaximumBandwidth": 0,
"MaskedPaths": null,
"ReadonlyPaths": null
},
"GraphDriver": {
"Data": null,
"Name": "aufs"
},
"Mounts": [
{
"Type": "bind",
"Source": "/volume1/NasFolder",
"Destination": "/storage",
"Mode": "rw",
"RW": true,
"Propagation": "rprivate"
},
{
"Type": "volume",
"Name": "a86c4414e4c9af5319a644bd120a71382907ee461080f9ec128ab73bd39fbb57",
"Source": "/volume2/@docker/volumes/a86c4414e4c9af5319a644bd120a71382907ee461080f9ec128ab73bd39fbb57/_data",
"Destination": "/config",
"Driver": "local",
"Mode": "",
"RW": true,
"Propagation": ""
}
],
"Config": {
"Hostname": "CopyCloud",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"5800/tcp": {},
"5900/tcp": {}
},
"Tty": true,
"OpenStdin": true,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"LANG=en_US.UTF-8",
"S6_BEHAVIOUR_IF_STAGE2_FAILS=3",
"S6_SERVICE_DEPS=1",
"USER_ID=100",
"GROUP_ID=1000",
"APP_NAME=CrashPlan Enterprise",
"APP_USER=app",
"XDG_DATA_HOME=/config/xdg/data",
"XDG_CONFIG_HOME=/config/xdg/config",
"XDG_CACHE_HOME=/config/xdg/cache",
"XDG_RUNTIME_DIR=/tmp/run/user/app",
"DISPLAY=:0",
"DISPLAY_WIDTH=1280",
"DISPLAY_HEIGHT=768",
"S6_WAIT_FOR_SERVICE_MAXTIME=10000",
"KEEP_APP_RUNNING=1"
],
"Cmd": [
"/init"
],
"Image": "jlesage/crashplan-enterprise:latest",
"Volumes": {
"/config": {},
"/storage": {}
},
"WorkingDir": "/tmp",
"Entrypoint": null,
"OnBuild": null,
"Labels": {
"org.label-schema.build-date": "2020-10-29T21:47:02Z",
"org.label-schema.description": "Docker container for CrashPlan PRO",
"org.label-schema.name": "crashplan-enterprise",
"org.label-schema.schema-version": "1.0",
"org.label-schema.vcs-ref": "3bee9c185f914fdf54e6a91d53cc7d90e59b534a",
"org.label-schema.vcs-url": "https://github.com/jlesage/docker-crashplan-enterprise.git",
"org.label-schema.version": "1.7.1"
},
"DDSM": false
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "913655d696742c3d12d057728b83c4568404e6a3b80df8b855344a7eed77a540",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {
"5800/tcp": [
{
"HostIp": "<IP_ADDRESS>",
"HostPort": "32785"
}
],
"5900/tcp": [
{
"HostIp": "<IP_ADDRESS>",
"HostPort": "32784"
}
]
},
"SandboxKey": "/var/run/docker/netns/913655d69674",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "0784a644d5427ac0c529a1a5a6ea35beab14bbc43aa7f3441e9fbd3170210249",
"Gateway": "<IP_ADDRESS>",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "<IP_ADDRESS>",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"MacAddress": "02:42:ac:11:00:02",
"Networks": {
"bridge": {
"IPAMConfig": null,
"Links": null,
"Aliases": null,
"NetworkID": "2a25d7cfae2de0d7b2f2b2bdd61817aab7937bd27827e059fc3148f737c3efd0",
"EndpointID": "0784a644d5427ac0c529a1a5a6ea35beab14bbc43aa7f3441e9fbd3170210249",
"Gateway": "<IP_ADDRESS>",
"IPAddress": "<IP_ADDRESS>",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "02:42:ac:11:00:02",
"DriverOpts": null
}
}
}
}
]
//Robin

On 13 Nov 2020, at 14:49, Jocelyn Le Sage<EMAIL_ADDRESS>wrote:
This command can be run from the terminal. If it's easier for you can could also share your container configuration using screenshots.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/jlesage/docker-crashplan-enterprise/issues/4#issuecomment-726774420, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADLJBRCQOKRFOWQEYXQJODLSPU2NRANCNFSM4TTHBEUQ.

So currently, it seems that the only configured volume is /volume1/NasFolder, mapped to /storage in the container.  Is it what you expect ?

Hi
Yes. In FileStation on the synology I have a Folder called NasFolder. And yes it is on volume1
But CrashPlan does not see this folder. It only sees the system folder of the Synology unit.
//Robin

16 nov. 2020 kl. 15:01 skrev Jocelyn Le Sage<EMAIL_ADDRESS>
So currently, it seems that the only configured volume is /volume1/NasFolder, mapped to /storage in the container. Is it what you expect ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

From the CrashPlan UI, are you looking at /storage (i.e. not /volume1/NasFolder)?

Hi
If I click manage files I see root folder
And then if I click that I see the systems folder. I checked in those as well, but cannot see any folder named NasFolder or anything else (checked mnt and folders like that.).
//Robin

On 16 Nov 2020, at 15:48, Jocelyn Le Sage<EMAIL_ADDRESS>wrote:
From the CrashPlan UI, are you looking at /storage (i.e. not /volume1/NasFolder)?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/jlesage/docker-crashplan-enterprise/issues/4#issuecomment-728109367, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADLJBRAYZZWMAB5ZX5EU7K3SQE3VTANCNFSM4TTHBEUQ.

Can you provide the output of:
docker exec <container name> ls -l /

Yes, this is the output.
drwxr-xr-x    2 root     root          4096 Nov 11 15:30 Volumes
drwxr-xr-x    2 root     root          4096 Oct 29 21:48 bin
drwxr-xr-x   12 app      app           4096 Nov 16 15:27 config
drwxr-xr-x    3 root     root          4096 Oct 29 21:48 defaults
drwxr-xr-x   10 root     root         18700 Nov 14 08:50 dev
drwxr-xr-x   81 root     root          4096 Nov 14 08:50 etc
drwxr-xr-x    2 root     root          4096 Jun 26 02:56 home
-rwxr-xr-x    1 root     root           389 Mar  1  2018 init
drwxr-xr-x   20 root     root          4096 Oct 29 21:48 lib
drwxr-xr-x    2 root     root          4096 Jun 26 02:56 lib64
drwxr-xr-x    2 root     root          4096 Mar  1  2018 libexec
drwxr-xr-x    5 root     root          4096 Jan 23  2020 media
drwxr-xr-x    2 root     root          4096 Jan 23  2020 mnt
drwxr-xr-x    9 root     root          4096 Nov 11 15:11 opt
dr-xr-xr-x  305 root     root             0 Nov 14 08:50 proc
drwx------    2 root     root          4096 Jan 23  2020 root
drwxr-xr-x    4 root     root          4096 Nov 14 08:51 run
drwxr-xr-x    2 root     root          4096 Oct 29 21:48 sbin
drwxr-xr-x    2 root     root          4096 Jan 23  2020 srv
-rwxr-xr-x    1 root     root           650 Oct 29 21:46 startapp.sh
d---------    1 root     root            64 Nov 11 12:41 storage
dr-xr-xr-x   12 root     root             0 Nov 14 08:50 sys
drwxrwxrwt    7 root     root          4096 Nov 14 08:51 tmp
drwxr-xr-x   85 root     root          4096 Nov 11 15:11 usr
drwxr-xr-x   32 root     root          4096 Nov 11 15:11 var
Looks like we don’t have permission to se storage… right? But how is that possible. Because it looks like NO User has rights to it … hm.
//Robin

On 16 Nov 2020, at 17:52, Jocelyn Le Sage<EMAIL_ADDRESS>wrote:
Can you provide the output of:
docker exec  ls -l /
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/jlesage/docker-crashplan-enterprise/issues/4#issuecomment-728187015, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADLJBRA4XPVHGRXY62Z6X4TSQFKFNANCNFSM4TTHBEUQ.

Do the folder has proper permissions on your NAS ?
ls -l /volume1/

Looks like it:
ls -l /volume1/
total 0
drwxr-xr-x  1 admin users 76 Oct 29 10:27 @database
drwxrwxrwx+ 1 root  root  42 Oct 31 16:56 @eaDir
drwxrwxrwx+ 1 root  root  64 Nov 11 13:41 NasFolder
drwxr-xr-x  1 root  root  24 Oct 29 10:27 @S2S
drwxr-xr-x  1 root  root  84 Oct 31 16:56 @SynoFinder-log
drwxrwxrwt  1 root  root  34 Nov 11 14:01 @tmp
If I change the volume mount path setting on the docker installation from /storage to /mnt this is how the ls changes:
drwxr-xr-x    2 root     root          4096 Nov 11 15:30 Volumes
drwxr-xr-x    2 root     root          4096 Oct 29 21:48 bin
drwxr-xr-x   12 app      app           4096 Nov 16 17:39 config
drwxr-xr-x    3 root     root          4096 Oct 29 21:48 defaults
drwxr-xr-x   10 root     root         18700 Nov 16 17:38 dev
drwxr-xr-x   81 root     root          4096 Nov 16 17:38 etc
drwxr-xr-x    2 root     root          4096 Jun 26 02:56 home
-rwxr-xr-x    1 root     root           389 Mar  1  2018 init
drwxr-xr-x   20 root     root          4096 Oct 29 21:48 lib
drwxr-xr-x    2 root     root          4096 Jun 26 02:56 lib64
drwxr-xr-x    2 root     root          4096 Mar  1  2018 libexec
drwxr-xr-x    5 root     root          4096 Jan 23  2020 media
d---------    1 root     root            64 Nov 11 12:41 mnt
drwxr-xr-x    9 root     root          4096 Nov 11 15:11 opt
dr-xr-xr-x  310 root     root             0 Nov 16 17:38 proc
drwx------    2 root     root          4096 Jan 23  2020 root
drwxr-xr-x    4 root     root          4096 Nov 16 17:38 run
drwxr-xr-x    2 root     root          4096 Oct 29 21:48 sbin
drwxr-xr-x    2 root     root          4096 Jan 23  2020 srv
-rwxr-xr-x    1 root     root           650 Oct 29 21:46 startapp.sh
drwxr-xr-x    2 root     root          4096 Nov 11 15:11 storage
dr-xr-xr-x   12 root     root             0 Nov 16 17:38 sys
drwxrwxrwt    7 root     root          4096 Nov 16 17:38 tmp
drwxr-xr-x   85 root     root          4096 Nov 11 15:11 usr
drwxr-xr-x   32 root     root          4096 Nov 11 15:11 var
As you can see now the mnt is blocked
//Robin

On 16 Nov 2020, at 18:39, Jocelyn Le Sage<EMAIL_ADDRESS>wrote:
Do the folder has proper permissions on your NAS ?
ls -l /volume1/
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/jlesage/docker-crashplan-enterprise/issues/4#issuecomment-728216180, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADLJBRHHDWBQX4H2OW7OGDLSQFPVFANCNFSM4TTHBEUQ.

If I change the mount path to /volume1/NasFolder it gets like this:
drwxr-xr-x    2 root     root          4096 Nov 11 15:30 Volumes
drwxr-xr-x    2 root     root          4096 Oct 29 21:48 bin
drwxr-xr-x   12 app      app           4096 Nov 16 17:44 config
drwxr-xr-x    3 root     root          4096 Oct 29 21:48 defaults
drwxr-xr-x   10 root     root         18700 Nov 16 17:44 dev
drwxr-xr-x   81 root     root          4096 Nov 16 17:44 etc
drwxr-xr-x    2 root     root          4096 Jun 26 02:56 home
-rwxr-xr-x    1 root     root           389 Mar  1  2018 init
drwxr-xr-x   20 root     root          4096 Oct 29 21:48 lib
drwxr-xr-x    2 root     root          4096 Jun 26 02:56 lib64
drwxr-xr-x    2 root     root          4096 Mar  1  2018 libexec
drwxr-xr-x    5 root     root          4096 Jan 23  2020 media
drwxr-xr-x    2 root     root          4096 Jan 23  2020 mnt
drwxr-xr-x    9 root     root          4096 Nov 11 15:11 opt
dr-xr-xr-x  310 root     root             0 Nov 16 17:44 proc
drwx------    2 root     root          4096 Jan 23  2020 root
drwxr-xr-x    4 root     root          4096 Nov 16 17:44 run
drwxr-xr-x    2 root     root          4096 Oct 29 21:48 sbin
drwxr-xr-x    2 root     root          4096 Jan 23  2020 srv
-rwxr-xr-x    1 root     root           650 Oct 29 21:46 startapp.sh
drwxr-xr-x    2 root     root          4096 Nov 11 15:11 storage
dr-xr-xr-x   12 root     root             0 Nov 16 17:44 sys
drwxrwxrwt    7 root     root          4096 Nov 16 17:44 tmp
drwxr-xr-x   85 root     root          4096 Nov 11 15:11 usr
drwxr-xr-x   32 root     root          4096 Nov 11 15:11 var
drwxr-xr-x    3 root     root          4096 Nov 16 17:44 volume1
But I still cannot see it in the CrashPlan app.
But also… if I run
ls -l /volume1/
I get:
d---------    1 root     root            64 Nov 11 12:41 NasFolder
So it sure lockes the mount path somehow.
//Robin

On 16 Nov 2020, at 18:39, Jocelyn Le Sage<EMAIL_ADDRESS>wrote:
Do the folder has proper permissions on your NAS ?
ls -l /volume1/
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/jlesage/docker-crashplan-enterprise/issues/4#issuecomment-728216180, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADLJBRHHDWBQX4H2OW7OGDLSQFPVFANCNFSM4TTHBEUQ.

Hi again
I noticed I could see the folder in Manage files under /volume1/NasFolder. It is selected, but I cannot see any sub folders in it. So some sort of permission error is it. At least I can see it … that’s progress.
//Robin

On 16 Nov 2020, at 18:39, Jocelyn Le Sage<EMAIL_ADDRESS>wrote:
Do the folder has proper permissions on your NAS ?
ls -l /volume1/
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/jlesage/docker-crashplan-enterprise/issues/4#issuecomment-728216180, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADLJBRHHDWBQX4H2OW7OGDLSQFPVFANCNFSM4TTHBEUQ.

FOUND IT.
Somehow I must have put in the group ID on the user ID running the docker app. Now when I changed it I was able to see the volumes as expected.
Thank you so much for assisting me… it sometimes is easier to find the problem when having someone else to test with.
//Robin

On 16 Nov 2020, at 18:39, Jocelyn Le Sage<EMAIL_ADDRESS>wrote:
Do the folder has proper permissions on your NAS ?
ls -l /volume1/
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/jlesage/docker-crashplan-enterprise/issues/4#issuecomment-728216180, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADLJBRHHDWBQX4H2OW7OGDLSQFPVFANCNFSM4TTHBEUQ.

Great, glad to see that you found the issue :)


webpack-dev-middleware instead of webpack-dev-server

Is there a particular reason why you're using your own express server based on webpack-dev-middleware instead of just using webpack-dev-server? I've tried both, and it seems like there is no difference (both support hot reload and all the features I know of), but in your case it's much more complicated and obscure, especially when you need to change something in your build process.
So if it's all the same, I suggest to replace that server with a simple webpack-dev-server --inline --hot command in the package.json. For people who try to use hot real for the first time it would be much clearer and simpler.

Because we need to

Do server-side rendering with custom handlers
Watch and rebuild both the server bundle AND the client bundle
webpack-hot-middleware has better error display when compilation fails.


short titles for navigation bar?

The long titles don't look very good on the navbar. We might be able to assign an abbreviated title?

we have shortened the titles


operator crunchy-postgres-operator-rhmp (5.3.0)

Signed-off-by: Ben Blattberg<EMAIL_ADDRESS>

Getting this error in the generate-index step:
[generate-index : generate] Error: Invalid bundle postgresoperator.v5.3.0, replaces nonexistent bundle postgresoperator.v5.2.0

(Also not clear to me the relation between generating the index and pushing image to quay, but I see 5.2.0 here)
Any ideas / clarity would be greatly appreciated, especially since we merged in 5.2.0 with similar issues (here).

Closing this to address the OCP 4.8 install problem (as per here: https://github.com/redhat-openshift-ecosystem/community-operators-prod/pull/1981 ) & the related issue of our already merged bundles:

https://github.com/k8s-operatorhub/community-operators/issues/2092
https://github.com/redhat-openshift-ecosystem/certified-operators/issues/1702

Updated to 4.9, holding off until we can fix the certified-operators merge.


CI: Research Govulncheck

Goal
This research aims to determine how govulncheck can be integrated into our pipelines.
The questions to answer are:

does this replace/complement synk?
should we have it as part of every build?
should we have it scheduled?
can the result be imported into GitHub security alerts?

DoD

[x] Create a follow-up ticket to work on the implementation

follow-up ticket: #8937


Fixed Transform on Android with HW-acceleration

See: https://code.google.com/p/android/issues/detail?id=24517
Matrix-based Translation was broken on Android when Hardware-Acceleration was enabled.
Not sure if it applies to all Android versions, but was broken when I tested on 4.4.4.
The end result for the user was that user defined transformed were applied to the origin of the screen, rather than the currently active transform (usually positioned at the View's origin).
getMatrix() in Canvas.java is also deprecated, and should thus not be used:
https://github.com/android/platform_frameworks_base/blob/master/graphics/java/android/graphics/Canvas.java#L680
Using Canvas.concat(m) instead appears to fix this issue.

Thank you for the research! This is great.


Can't find node with NVM, ST3, ZSH

Hi.
I have ST3 latest beta, NVM with node v0.10.36 and zsh(with oh-my-zsh).
My .zshenv file:
export NVM_DIR=$HOME/.nvm
source $(brew --prefix nvm)/nvm.sh

nvm has alias default set to v0.10.36
node -v works from command line
which node gives me /Users/me/.nvm/v0.10.36/bin/node
I tried to use JSCS without changing any settings. And i tried to hardcode the paths to ~/.nvm/v0.10.36/... Still doesn't work.
Oh-my-zsh doesn't have nvm plugin installed.
Don't know what else to try to make it work.
Always same error:
Couldn't find Node.js. Make sure it's in your $PATH by running `node -v` in your command-line.

And in sublime console:
Using node.js path on 'osx': ~/.nvm/v0.10.36/bin/node
Using jscs path on 'osx': ~/.nvm/v0.10.36/bin/jscs
Unexpected error(<class 'Exception'>): Couldn't find Node.js. Make sure it's in your $PATH by running `node -v` in your command-line.
error: Couldn't find Node.js. Make sure it's in your $PATH by running `node -v` in your command-line.

Any ideas?

Not sure it will fix it, but can you try a non aliased (absolute) path to
node? i.e. try the non-tilde form of the path.
On Apr 4, 2015 4:45 AM, "telegraphinho"<EMAIL_ADDRESS>wrote:

Hi.
I have ST3 latest beta, NVM with node v0.10.36 and zsh(with oh-my-zsh).
My .zshenv file:
export NVM_DIR=$HOME/.nvm
source $(brew --prefix nvm)/nvm.sh
nvm has alias default set to v0.10.36
node -v works from command line
which node gives me /Users/me/.nvm/v0.10.36/bin/node
I tried to use JSCS without changing any settings. And i tried to hardcode
the paths to ~/.nvm/v0.10.36/... Still doesn't work.
Oh-my-zsh doesn't have nvm plugin installed.
Don't know what else to try to make it work.
Always same error:
Couldn't find Node.js. Make sure it's in your $PATH by running node -v in your command-line.
And in sublime console:
Using node.js path on 'osx': ~/.nvm/v0.10.36/bin/node
Using jscs path on 'osx': ~/.nvm/v0.10.36/bin/jscs
Unexpected error(<class 'Exception'>): Couldn't find Node.js. Make sure it's in your $PATH by running node -v in your command-line.
error: Couldn't find Node.js. Make sure it's in your $PATH by running node -v in your command-line.
Any ideas?
—
Reply to this email directly or view it on GitHub
https://github.com/TheSavior/SublimeJSCSFormatter/issues/18.

@mrjoelkemp actually it did work!!! Thanks a bunch!

Yay. Thanks for reporting. @thesavior, feel free to close.

@mrjoelkemp, thanks for helping!

Is this any way to get this to place nicely with nvm, without explicitly setting the node path? .zshenv does not prevail.

@OliverJAsh Can you try setting your node path to . ~/some/path/to/node? The dot (at least on OSX) should make it work.

@mrjoelkemp I'm using nvm and I don't want to hard core the path to node anywhere, as it may change frequently (that's the purpose of nvm (node version manager)). I presumed it would find it in my $PATH but it doesn't?

I see. Thanks for clarifying.
I don't know what the solution is, but happy to brainstorm ideas in hopes that someone with a windows machine would lend a hand and draft a PR.
Setting SHELL=True, which we do on Windows should respect the PATH.
Perhaps we should try not setting cwd on Windows https://github.com/TheSavior/SublimeJSCSFormatter/blob/cd5ab6f84b5412e7604d21b74bbb1c5f9dccd809/JSCS-Formatter.py#L144 since setting cwd makes the executable lookup relative to the set directory.
Any other ideas are welcome.

The plugin doesn't seem to be looking for node or jscs in the $PATH. It only seems to care about the path options provided: https://github.com/TheSavior/SublimeJSCSFormatter/blob/cd5ab6f84b5412e7604d21b74bbb1c5f9dccd809/JSCS-Formatter.py#L72.
Other Sublime plugins seem to handle this quite fell, for example SublimeLinter: https://github.com/SublimeLinter/SublimeLinter3/blob/ce29335059a0aecf7f8ef8c2b6b5e3b07a70542b/lint/util.py#L1352-1364. The PATH is used inside create_envrionment.

 Any chance you'd be able to investigate reusing parts of the SublimeLinter solution to see if it resolves the issue? Any help is appreciated.


Addition of the AnimeFLV extension for Spanish anime

I have added the provider (extension) to be able to watch anime in Spanish using the animeflv website, which is very well known in the Latin community.

LGTM!


Styles

Are you planning to include any of the themes' styles? Maybe that's something users can automatically add themselves and I'm just unaware?
Loving this package, thanks for writing it!

Anyone knows if there is a way to customize styling? Or modify the command line used to compile?

Styling might be useful.
I tried this in the repo I cloned:
exec "aglio -i #{tempFile} --theme-variable slate --theme-template triple -o -", {env, options}, (err, stdout, stderr) =>
This was on line 36. I tried this to allow it to parse the document and convert it to html. Though the issue arises when I tried to add theme-variable and theme-template, but it gives an error that a promise is not resolved, and that a variable document is not found. According to me, the error is due to the resolveImagePaths function is not able to properly parse the the pipelined stdoutput.


Shadow won't work with round corners

Reproduce in example:
Just tap Floats-Top

Thanks for reporting this issue. I'll look into it.

Resolved in 0.4.3. Cheers! 🎉


Gitbook Theme

This may not be useful since there isn't a great way to define quick and dirty themes with tailwindcss.
I updated some code, fixed some bugs, and changed many styles to be closer to Gitbook.com, as I am replacing Gitbook with Nextbook. Feel free to use it or discard.

Thanks for this project.

Thanks for looking it over, the only issue I'm seeing is that code blocks will increase the width of the main content section on smaller resolutions. I added code to styles/app.css#56 that works around the issue but it could be better.

This also changes things like:

Adds ability for a chapter heading to have a path property to act as a link (dropdown caret will always act on the dropdown, however)
Only highlights a single page in navbar (previously would highlight any page that matched partial paths)
Adds a max-width to <pre> tags generated, this may affect the clipboard icon, not sure.

I've also updated nextjs to v13 and converted to the new style of <Link>, if you want I can pull those changes in as well.
I would like to update the current link (permalink) when the user scrolls, but it needs to be throttled as next doesn't like using router to change hash on scroll

@amiroff bumping this,
take a look when you get a chance, this will probably add a few quality-of-life improvements.
I'm also adding authentication (next-auth) and content management (tinaCMS), I could pull those changes into a PR if you like. Also the upgrade to Nextjs 13

@lacymorrow thanks a lot for your efforts!
Look and feel wise It looks awesome!
Looking at the preview here, I just had the opportunity to test Copy Link feature, and it looks like it adds one more # to the link. Is this a bug? Example url being copied:
https://next-book-git-fork-aam-institute-gitbook-amiroff.vercel.app/nextbook/nextbook-features##collaboration--deployment

Upd: a slight bug I see with code blocks not quite fitting the responsive layout:

Yeah I still haven't figured out the code blocks yet, the <pre> tags seem to break the layout.
I'll fix both today.

@amiroff fixed the hash in the "Copy Link" component and the code blocks width. Take a look when you can.

@lacymorrow sorry, has been off the grid for a while.
Let's call this version 3.1. Could you please add some notes on what has been added since 3.0 to the readme file? Since we are going to squash and merge, tracking with commits would not be possible. 🙏🏻

@amiroff fixed the hash in the "Copy Link" component and the code blocks width. Take a look when you can.

For me clicking it does not copy the link unfortunately.

10 months later, fixed the scrollspy and "Copy Link" action.

Going to check ASAP. Thanks for not giving up.

@lacymorrow hte build fails on Vercel, did not try locally though. What about you?
[01:58:47.254] Running build in Washington, D.C., USA (East) – iad1 (Hive)
[01:58:47.356] Cloning github.com/amiroff/NextBook (Branch: gitbook, Commit: 794d05e)
[01:58:47.362] Skipping build cache, deployment was triggered without cache.
[01:58:47.763] Cloning completed: 407.332ms
[01:58:48.005] Running "vercel build"
[01:58:48.493] Vercel CLI 32.5.5
[01:58:48.829] Installing dependencies...
[01:58:49.959] npm ERR! code ERESOLVE
[01:58:49.961] npm ERR! ERESOLVE unable to resolve dependency tree
[01:58:49.961] npm ERR!
[01:58:49.962] npm ERR! While resolving<EMAIL_ADDRESS>[01:58:49.962] npm ERR! Found<EMAIL_ADDRESS>[01:58:49.962] npm ERR! node_modules/@mdx-js/mdx
[01:58:49.962] npm ERR<EMAIL_ADDRESS>from the root project
[01:58:49.962] npm ERR!
[01:58:49.962] npm ERR! Could not resolve dependency:
[01:58:49.962] npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>[01:58:49.962] npm ERR! node_modules/mdx-embed
[01:58:49.962] npm ERR<EMAIL_ADDRESS>from the root project
[01:58:49.962] npm ERR!
[01:58:49.963] npm ERR! Fix the upstream dependency conflict, or retry
[01:58:49.963] npm ERR! this command with --force or --legacy-peer-deps
[01:58:49.963] npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
[01:58:49.964] npm ERR!
[01:58:49.964] npm ERR!
[01:58:49.964] npm ERR! For a full report see:
[01:58:49.964] npm ERR! /vercel/.npm/_logs/2023-11-17T22_58_49_145Z-eresolve-report.txt
[01:58:49.965]
[01:58:49.965] npm ERR! A complete log of this run can be found in: /vercel/.npm/_logs/2023-11-17T22_58_49_145Z-debug-0.log
[01:58:49.977] Error: Command "npm install" exited with 1
[01:58:50.111]

Ok it's an issue with the way the new version of NPM resolves legacy dependencies from NPM < 7+.
Three options:

Use yarn, the stable default yarn version doesn't have this issue.
Use npm i --force or npm i --legacy-peer-deps to resolve legacy deps
Use a forked version of mdx-embed.

I went ahead and forked the repo and updated the dependencies, and pulled them into this PR.
You should be able to run npm i as normal now.
Let me know if you'd like me to update this project's dependencies.


vulkan: Use Vulkan 1.1

Increase Vulkan version to 1.1, which is required to support vkGetBufferMemoryRequirements2.

Merging this as discussed in Memory subgroup call on October 1st, 2024.


imageTable:  Update links on empty state

This commit add specific link when open Immutable tab without any images at image builder table
Fixes # related to https://issues.redhat.com/browse/THEEDGE-3478

Blocked until https://github.com/RedHatInsights/edge-frontend/pull/718 is merged and deployed.

this pr https://github.com/RedHatInsights/edge-frontend/pull/718 was merged


[Function Request] Please return the RCON command

Hi!
My function request is to allow the remote connection to execute RCON command can get a message return
Thank you for reading :)i

I advise against the use of RCON on servers as the password is easily brute forced. For this reason I can't support this-sorry about that.


"Please wait a few minutes before you try again"

My instagram account got messed up after logging in using ramme.
By logging in in a browser I get this. This is the whole HTML response !
{"message": "Please wait a few minutes before you try again.", "status": "fail"}
The Android app is also messed up and doesn't show anything related to my account.
I suspect ramme did something that triggered some weird (maybe buggy) security feature of instagram.

My issue got resolved as per the old reddit thread... after some time. Maybe half a day or so.
As it's impossible for me or you to reproduce it, I'm closing this issue.


docs: apkam key naming conventions ADR

- What I did
create an ADR for apkam naming conventions
- How I did it
Filled out template.
Draft for now until we've been through review here.
- How to verify it
Rich diff
- Description for the changelog
feat: apkam key naming conventions ADR

What are we hashing exactly for the {hashed_namespace} portion?

What are we hashing exactly for the {hashed_namespace} portion?

I had proposed this: for example, sshnp uses sshnp:rw,sshrvd:rw
So you can't just use the namespace (because there can be multiple, and with different permissions) but we could sort the namespaces alphanumerically and optionally hash the sshnp:rw,sshrvd:rw string to create a unique (enough) identifier for the keys.
The one thing I dislike about this current proposal is how to automatically detect apkam keys without having to specify -k with cli apps like npt, sshnp, sshnpd. Maybe if we use sshnp-rw-sshrvd-rw in the filename part, then the cli app could also look for that filename in addition to the default MPKAM file.

Maybe if we use sshnp-rw-sshrvd-rw in the filename part, then the cli app could also look for that filename in addition to the default MPKAM file.

Thinking about worse case scenario, if these keys are compromised, the attacker would be able to see what apps they have access to.
Regardless, I think this would be the best way to move forward, any other solution would include some extra layer of complexion that we have to include in source. This way, we can change less code and provide less complexity for our apps.
Are we comfortable with including the namespace access in the file name?


Install list of extensions

I was about to transfer a set of 20 extensions to another instance of VSC on another machine. In Atom it works simply with two commands:
create a list with all extensions
apm list --installed --bare > packages.list
Install all extensions from list
apm install --packages-file packages.list
I know you have the possibility to install via cli as well in VSC, but it is somewhat weird. I can list all the extensions and save them in a list:
code --list-extensions > extensions.list
But from that point on it's overcomplicated as I'm not able to install from a list. So, in a powershell I now use something like
 foreach($line in get-content extensions.list)  {code --install-extension $($line)}
But I'd wish there was a built-in method to install from a list, like in Atom. Please consider this in a future update.

Linux/Mac:
cat extensions.list | xargs -L1 code --install-extension

I use this for windows cmd:
for /F "tokens=*" %%A in (extensions.list) do code --install-extension %%A
and this for bash:
<extensions.list xargs -I % code --install-extension %

@Tyriar uses this script http://www.growingwiththeweb.com/2016/06/syncing-vscode-extensions.html

I guess vscode-way of doing this is .vscode/extensions.json file in the workspace https://code.visualstudio.com/docs/editor/extension-gallery#_workspace-recommended-extensions

I'd like to see this for the same reasons as @malorus (i.e. syncing across machines) with a couple of additions:

Allow the command to read a file with a list of extensions that also supports comments. At a certain number of extensions, it's nice to break them down by category, especially for reviewing them periodically to see if they're still important.
For each, check whether they are installed before reinstalling them. The reason is that it's nice to take a list like this, put it in a dotfiles repository, and then regularly run the command in a script so that extensions are just there (within a reasonable time) across machines once you commit the update to the dotfiles repository. Without the check, it's a lot of unnecessary work to keep reinstalling extensions daily (or at whatever interval a script would run). Similarly, it might be nice to have an option or another command that uninstalls any extensions that are not in the list.

needed for onboarding new developers more quickly.

@jtkiley Re 1:
cat extensions.list | grep -v '^#' | xargs -L1 code --install-extension

Any line that starts with # will get ignored.

I'd like to see this for the same reasons as @malorus (i.e. syncing across machines) with a couple of additions:

Allow the command to read a file with a list of extensions that also supports comments. At a certain number of extensions, it's nice to break them down by category, especially for reviewing them periodically to see if they're still important.
For each, check whether they are installed before reinstalling them. The reason is that it's nice to take a list like this, put it in a dotfiles repository, and then regularly run the command in a script so that extensions are just there (within a reasonable time) across machines once you commit the update to the dotfiles repository. Without the check, it's a lot of unnecessary work to keep reinstalling extensions daily (or at whatever interval a script would run). Similarly, it might be nice to have an option or another command that uninstalls any extensions that are not in the list.

I arrived here searching exactly for this: a method to sync extensions through a dotfile, like in sublime text.
The extensions installed and the names in this dotfile should be on a 1-1 correspondence.
I hope this feature will be implemented!


[Swift 2.3] Fix crash for looking up sim id on real device

This fixes a crash when trying to lookup a simulator identifier on a real device.  Fixes Issue #60

Hold off on this...I thought it was the force unwrap causing the crash but it appears to be the getenv() call that is crashing

Alright this is ready to go. I found a better API to get the ENV var for the simulator that won't crash if it doesn't exist. and I give a default "Unknown" value as the identifier because I tried the identifier passed in but it caused and infinite recursion :(

Hi, this one looks just as good as the Swift 3 one, however it doesn't build because line length is now 162 instead of 160 (this is an issue coming from our swiftlint rules. 2 possible fixes: change the rule in .swiftlint.yml or split the statement over multiple lines (I'd prefer the latter). Other than that: 💯🎉🙏 :)

Perfect, thank you so much! :)


searching coordinates doesn't work

Not really part of the purpose of this app since it's not really searching if you have the exact coordinates.