Always filter timeouts

I think we should always filter timeouts generated by liburing and make the is_timeout method private. I'd do this as a part of #22.
I can't think of a reasonable way that users would want to respond to to these timeouts. It would be simpler to just always ignore them. They're not timeouts the users prepared and submitted, they're only those generated by liburing as a part of calling submit or wait with timeout methods.
Anyone have any thoughts?

The big issue with this is that timeouts can have error results, but this would just drop those errors instead of allowing the user to somehow respond to them. A way to solve that would be to change the API of (for example) peek to also include reporting a timeout-originating error as a possibility.

I'm not super familiar with the with_timeout functions, but can't this be solved using partition on the cqe iterator?

You can't literally use partition because the CQE iterator doesn't implement Iterator, but the basic principle of what you're saying is true. With the system right now, a user can handle uring-raised timeouts with:
cq.peek_for_cqes().for_each(|cqe| {
    if cqe.is_timeout() { /* handle timeout */ }
    else { /* handle normal CQE */ }
})

#22 also contains an adapter to easily ignore all uring raised timeouts:
cq.peek_for_cqes().filter_timeouts(true).for_each(|cqe| {
    // handle normal CQE
})

However, I see a few issues with this. The first is that is_timeout is pretty ambiguous - it specifically means "is it a timeout generated by liburing with its "with_timeout" methods?" not "is it a timeout?" (timeouts the user preps and submits themselves will not have LIBURING_UDATA_TIMEOUT as their user_data field).
The other is that its very easy to forget or not realize that you need to be handling liburing-raised timeouts specially, and then just assume all the user_data fields are something you yourself have set. For example, a common pattern will be to set a pointer to some waker data as the user_data of any SQEs your program submits, and then call a "wake" routine on that pointer. But if you didn't filter out timeouts, you'll end up calling it on values of LIBURING_UDATA_TIMEOUT (incidentally this is u64::MAX) and segfaulting your program.
I think a better API would be to provide some sort of adapter for defining the callback you will use for specifically handling the results from timeouts. That will receive an FnMut(io::Result<()>).
As an example, here is how you might use the API in full as I've described:
cq.peek_for_cqes().handle_timeouts(|result| if let Err(err) = result {
     log!(err);
}).for_each(|cqe| {
    unsafe { wake(cqe.user_data() as *mut MyWaker, cqe.result()) }
})

I've implemented the API as described above in #22.

Thank you for explaining that, I didn't understand the subtleties of this issue. This looks like a good way forward.


Cannot read property '@@redux-api-middleware/RSAA' of undefined

Hey Guys, I'm using this library in react-native. It worked fine in one project but when i tried it with this project https://github.com/Vydia/react-native-background-upload in my other project its giving this error in the remotely debugged console of react-native.
Cannot read property '@@redux-api-middleware/RSAA' of undefined
The package version is 2.0.0-beta.3. Anyone able to help ?

Found the problem, a null action was dispatching that was messing up with my interceptor using redux-api-middlware. 😄


Change brightness by time (for people with sleep problems, plase)

Before opening the issue, have you...?

[X] Searched for existing issues

Is your feature request related to a problem? Please describe
I have a problem with sleep, if I see too much light at night then I cannot sleep. My monitor minimum brightness is to high. Please implement a feature to automatically dim at night, I really need it to have a normal life.
I'm currently using this app and manually changing brightness at night every day but sometimes I forget and then I have problems sleeping and having a normal day.
There is many people like me please implement this. I'm a developer but I don't have experience developing for macos.
Thanks
Describe the solution you'd like
The time when the screen dims should be configurable, also a time to restore normal brightness. If the app starts inside the "dim time" it should dim at launch. That is all.
Describe alternatives you've considered
The only application that currently does this is called "Lunar" and it does not work well, the brightness changes randomly, it's a disaster, full of bugs and expensive.
Anything else?
Pleaseee I'm suffering

@fermmm have you tried Lunar's Location Mode?
Sounds like it does what you want: dim brightness gradually from noon to sunset, and increase brightness back from sunrise to noon.
I'm the developer of Lunar by the way, algorithms like these take time to implement so I thought you might want to know about an already existing solution.

@fermmm have you tried Lunar's Location Mode?
Sounds like it does what you want: dim brightness gradually from noon to sunset, and increase brightness back from sunrise to noon.
I'm the developer of Lunar by the way, algorithms like these take time to implement so I thought you might want to know about an already existing solution.

I mentioned Lunar in the original issue text. In Lunar the dimming stops working randomly, it's not useful for me. I reported the bug in your github page: Issue
Also I have other complains with Lunar:

It's the only app for MacOS that have this feature, having only one option without alternative it's not healthy unless the app is totally perfect which is not the case.
The UI looks pretty but does not follow standards and it's hard to get things configured
It's hard to understand how clock mode will behave in detail, I needed many tries to get it working as I wanted. You can add many time points but that leaves you with many questions about how it works, in general with 2 times, for "on" and "off" should be enough, if you have users that want to add more times then that should be like and advanced mode of that UI.
The selector for the "modes" it's also not made with standard UI, I didn't understand if all modes can work at the same time or just one, because the modes selector looks like a UI menu changer not like a switch for the entire app behavior.

I have more complains but if you manage to get the app working I'll be happy because I paid for the app and it doesn't work, and it's not cheap.

Hey guys @fermmm @alin23 - I see there are some issues about Lunar. I am sure @fermmm 's complaints are understandable and I am also sure @alin23 would want to respond as he is a super caring developer - this would howeer result in a discussion here that does not really belong to this repository. So if it is all right with you guys, I'll just remove these parts of the discussion but leave the original Feature Request here for MonitorControl for any dev to take who is willing to implement the feature it into the open source app.
Thanks both of you for your understanding! :)

I need this too. I have a Macbook M1 and I close the lid all the time and I use an LG extended monitor. In this way of using, the ambient light of the Mac never works and I need a scheduling brightness change. It will have a set of brightness controls based on time. Thanks so much.

@truonglong88 - you can try Lunar by @alin23 as it has great scheduling capabilities for brightness. This feature is unlikely to make into MonitorControl anytime soon (of course PRs are always welcome!).


[nginx] VTS status exporting counts as gauges

Using the new Nginx VTS module support (yay!), it appears that many of the metrics are being exported as a gauge type, rather than as a count. This can be fixed by hand manually changing every metric type in the DD dashboard, but it happens for a lot of metics - namely, all of the HTTP response codes at least. It looks like network traffic (inBytes/outBytes) does as well. Might be others, I haven't looked in great detail.

Also, from an ease-of-use standpoint, it would be a bit more pleasant to work with data that's structured in a more tag-heavy way, instead of very specific keys. e.g. Instead of nginx.serverZones.my-domain.com.responses.2xx, I'd prefer something more like nginx.serverZones.responses.count,zone:my-domain.com,code:2xx (this is how the Prometheus exporter for Kubernetes Nginx ingress controller works) since it makes graphing way less tedious. Of course this is just a matter of personal opinion, and may not be compatible with the way Nginx Plus exporting works.

Hey @Firehed !
Thanks for reporting this. The gauge vs rate stuff is definitely an issue, I'm adding this to our backlog.
The tagging issue was tackled by this PR: https://github.com/DataDog/integrations-core/pull/1448, which should be released with the next version of the agent next week. It is already on master if you want to try it out.

This was fixed in #1820: new metrics suffixed _count with the correct metric type will be sent. Closing.


Cannot build 2.5.0 (RPATH/RUNPATH)

I'm maintaining f3d for openSUSE and get a build failure that I don't quite understand for 2.5.0.
2.3.0 still build fine with same recipe.
I'll adapt the issue template since think it is more appropriate, hope that's okay.
The error:
[   63s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/f3d-2.5.0-13.1.x86_64/usr/lib64/libf3d.so.2
[   63s] CMake Error at library/cmake_install.cmake:74 (file):
[   63s]   file RPATH_CHANGE could not write new RPATH:
[   63s]
[   63s]
[   63s]
[   63s]   to the file:
[   63s]
[   63s]     /home/abuild/rpmbuild/BUILDROOT/f3d-2.5.0-13.1.x86_64/usr/lib64/libf3d.so.2.5
[   63s]
[   63s]   The current RUNPATH is:
[   63s]
[   63s]     /home/abuild/rpmbuild/BUILD/f3d-2.5.0/build/lib:
[   63s]
[   63s]   which does not contain:
[   63s]
[   63s]     /usr/lib64:/home/abuild/rpmbuild/BUILD/f3d-2.5.0/build/lib:
[   63s]
[   63s]   as was expected.
[   63s] Call Stack (most recent call first):
[   63s]   cmake_install.cmake:57 (include)

Full build log.
Build recipe.
The expanded macros can be seen in the log mentioned above.

Hi @jubalh
A few remarks about the recipe:
rm -fv %{buildroot}%{_libdir}/libVTKExtensions*.a

Should not be needed if you use VTK 9.3.0
# this is needed so f3d autoloads the plugins for those filetypes specified in the configs
mkdir -p %{buildroot}%{_sysconfdir}/f3d/config.d
install -Dm644 plugins/assimp/configs/config.d/10_assimp.json %{buildroot}%{_sysconfdir}/f3d/config.d/10_assimp.json
install -Dm644 plugins/alembic/configs/config.d/10_alembic.json %{buildroot}%{_sysconfdir}/f3d/config.d/10_alembic.json
install -Dm644 plugins/exodus/configs/config.d/10_exodus.json %{buildroot}%{_sysconfdir}/f3d/config.d/10_exodus.json
install -Dm644 plugins/native/configs/config.d/10_native.json %{buildroot}%{_sysconfdir}/f3d/config.d/10_native.json
install -Dm644 plugins/occt/configs/config.d/10_occt.json %{buildroot}%{_sysconfdir}/f3d/config.d/10_occt.json

Should not be done manually, instead use the right install component:
https://f3d.app/doc/dev/BUILD.html#installing
You may want to enable other optional components.
As to the issue itself, you probably should try:
-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON
I'm not sure why it is needed though.

Related to this: https://github.com/f3d-app/f3d/pull/1217

Should not be needed if you use VTK 9.3.0

Indeed :)

You may want to enable other optional components.

For some of them we don't have the dependencies packaged yet.

-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON

That works as well!
Thank you!

You definitely should not install dependencies component in the context of a distribution package.

Sure, not doing that :)


DRILL-4203: Parquet File. Date is stored wrongly

Drill was writing non-standard dates into parquet files for all releases
before this commit. The values have been read correctly by Drill, but
external tools like Spark reading the files will see corrupted values for
all dates that have been written by Drill.
This change corrects the behavior of the Drill parquet writer to correctly
store dates in the format given in the parquet specification.
To maintain compatibility with old files, the parquet reader code has been
updated to check for the old format and automatically shift the
corrupted values into corrected ones automatically.
The test cases included here should ensure that all files produced by
historical versions of Drill will continue to return the same values
they had in previous releases. For compatibility with external tools, any
old files with corrupted dates can be re-written using the CREATE TABLE AS
command (as the writer will now only produce the specification-compliant
values, even if after reading out of older corrupt files, one
new extra field "is.date.correct = true" will be included into the parquet meta
information of files and into drill metadata cache files).
While the old behavior was a consistent shift into an unlikely range to be
used in a modern database (over 10,000 years in the future), these are
still valid date values. In the case where these may have been written
into files intentionally, and we cannot be certain from the metadata if
Drill produced the files, an option is included to turn off the auto-correction.
Use of this option is assumed to be extremely unlikely, but it is included for
completeness.
One small fix in the ParquetGroupScan to accommodate changes in master that changed
when metadata is read.
Added new tests for bugs (revealed by the regression suite) with old and new
parquet (binary) files for new tests, updated metadata cache files accordingly.
Removed unnecessary double conversion of value with Julian day.
Added ability to correct corrupted dates for parquet files with the second
version old metadata cache file as well.
Fix DrillVersionInfo to make it provide a valid version number even during
the unit tests. This is now a build-time generated class, rather than one
that looks on the classpath for META-INF files. (This pattern
for file generation with parameters passed from the POM files
was borrowed from parquet-mr)

@jaltekruse Could you please review?

@vdiravka can you repost this PR with the commits split into Jason's original work and then with your fixes on top? We should give credit where it is due.

@parthchandra Done. Now it involves 2 Jason original commits (only with resolved git version conflicts) and one my commit on top.

Thanks @jaltekruse.
@parthchandra Could you please take a look?

The branch is rebased to the master version.

How can I get to test this fix .Thanks

@tushu1232 Until this fix is merged into the master you can clone my fork repository (https://github.com/vdiravka/drill), switch to the DRILL-4203 branch and build the project.


Add error message for not configuring a Store

Do something like MVC: https://github.com/aspnet/Mvc/blob/faaba481e82f15e83b6ff02241fe2c55e568a9d0/src/Microsoft.AspNet.Mvc.Core/BuilderExtensions.cs#L61
Print out a nice error message when Identity is configured incorrectly.

I think the experience today is that you get whatever stock DI missing required service exception message is.  Do you find that error not descriptive/intuitive enough?

The error says InvalidOperationException: Unable to resolve service for type 'Microsoft.AspNet.Identity.IUserStore`1[EmptyToStart.Models.ApplicationUser]' while attempting to activate 'Microsoft.AspNet.Identity.UserManager`1[EmptyToStart.Models.ApplicationUser]'.
An average user would not know the internals of which services AddIdentity and friends add and would not know what to do.

To add more background, in the context of ASP.NET Identity the AddIdentity() extension method and its friends are considered just sugar methods and we think it is valid to wire up the services manually. Moreover, store writers are encouraged to produce their own sugar AddXyzStores() extension and they should be able to do it with minimal friction. Given that, a marker service that any AddXyzStores() methods needs to add in order for their stores to avoid an exception seems very strange. On the other hand the store services are generic on user types, so it is hard to think how we could detect whether they have been registered anywhere before they are injected into the constructors of the instances that consume them, e.g. UserManager<TUser> and RoleManager<TRole>. Last, we could change the signature of UserManager<TUser> and RoleManager<TRole> so that the store services are not required and then throw a clearer exception from their constructor, but that would dilute the clarity of their contract.
All in all, I get that these are only semi-strong arguments for not trying to improve on what DI will throw and that the exception from DI is not great. That said, are we ok with adding a layer of indirection everywhere we use DI to make the exceptions better? If yes, can we find a pattern that works and only adds minimal conceptual overhead for people trying to extend our stack?

(made some edits to make the post above clearer)

We considered this and we are not fixing this issue. However, like MVC we will throw if you don't have AddIdentity()

I fixed it by adding the line below in ConfigureServices method of Startup:
services.AddEntityFrameworkStores<YourDbContext>();
Probably the name "AddEntityFrameworkIdentityStores" is more suitable for this extension method.


powerdns::config ensure => absent should remove setting and shouldn't require 'value'

At the moment, it's not possible to purge a configuration setting.

Thanks for your work so far @alexjfisher.
Once you're ready to merge this I need to have a look at #21 first. The current tests have a few errors that need to be ironed out.

I've just pushed the fixes for the errors the tests were giving.

This is now merged into develop.


alert messages not entirely visible on samsung galaxy s4 mini and s5 mini

The alarm messages are not entirely visible. See attached picture. https://files.gitter.im/MilosKozak/AndroidAPS/Fqf9/IMG_2156.jpeg
This possibly also occurs on other devices with smaller screen size.

Can you resubmit to the AndroidAPS repo? Thanks!

woops


[Select]: option mapping via function does not get called.

Describe the bug
When mapping options in Select with getter functions, functions are not called:
<Select.Root options={["Apple", "Banana", "Peach"]} optionDisabled={option => option === "Banana"}>
   ...
</Select.Root>

Expected behavior
It should call the functions.

fixed in v0.8.0.


Add Integration Test for Local Number Validation

Coverage remained the same at 43.554% when pulling 78bb9bf5b5a3c48ac9a979665c1f627671a4919a on LingForCC:add-integration-test into d0c6093676cfa143ca100d0c0afa570f6c3a2f98 on ringcentral:master.


Dockerfile.crf produces larger than neccessary images

(I've never contributed to an open-source project before, so apologies in advance.)
By making the following change to Dockerfile.crf, I was able to shrink the resulting container from 1.55 GB to 865 MB.

No longer copy grobid-core-onejar.jar to the runtime stage.
Move the unzipping of grobid-service & grobid-home as well as the zip file clean-up to the builder stage and just copying the uncompressed file.

I can submit a merge request with some or all of these changes if requested.

Hi @superdude264 thanks a lot!
This would be very useful. A pull request with the changes would be really great.

Hi @superdude264 thanks a lot!
This would be very useful. A pull request with the changes would be really great.

Awesome, I will submit early next week.

Awesome, I will submit early next week.


AttributeError when using deprecated alias np.int in NumPy

AttributeError occurs here and here when attempting to use the deprecated alias np.int in NumPy.

see fix https://github.com/scikit-optimize/scikit-optimize/pull/1204


When detecting whether a fluid being drained is infinite or not, game will only detect the fluid blocks upon the bottom of the hose(or at least not all the way to the bottom of it)

Description
see pic

so i have to crank the hose all the way to the bottom of my lava pit
Game Log
/
Debug Information
/

This is intended and this is how it's always worked


Support returning all hanzi entry matches and fix tests

Thanks for the great library! I have two small proposed changes.

Fixed a failing test (probably due to a newer version of CEDICT coming out)
Added a new method called GetAllByHanzi, which returns all of the entries that match a given hanzi phrase. Currently, there is no way of doing this, and it means that some hanzi with multiple entries don't have all of them returned (e.g. 听）.

Closing as accidentally added one too many commits. People can just pull from github.com/Destaq/cedict in the future if they want to call the GetAllByHanzi method.


remove extract feature from generate function

generate function accept token only

:tada: This issue has been resolved in version 1.0.0-beta.43 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Container Port and Node Port mapping default to open

When mapping a port, for example:
- "80:80"

in the Docker Compose file. It's the same as simply doing
- "80"

Is this normal? Exposing the ports by default when converting them to a service?

I think so, because if you don't create a service name resolution wont happen from other pods. And it's safe because services are by default exposed as clusterIP which is not accessible from outside cluster.

Yeah, kind of realized that this issue was me just being a Kubernetes noob :) Closing! Thanks @surajssd


Build index.js not working

https://github.com/ubiquity/bounty-bot/actions/runs/4343910473

fixed
https://github.com/ubiquity/bounty-bot/commit/9d455b431a01e6de323133b9e74c4f5a61cfc101


wip conv2d weight expand bs then rest

resnet 100 TFLOPS -> 118 TFLOPS. more kernel counts and memory though

no longer faster after #4354


[Proposal] Adds schema convention about DEFAULT values

@nunomaduro Can you add an explanation of why and one or more cases of a good reason?

New proposal:
Avoid DEFAULT values on columns. Unless if you are working with a old table where you don't control all entry points.


npm run app fails

Greetings,
When trying to run the app, I get this error.

<EMAIL_ADDRESS>app /home/pafluxa/software/tidal-cli-client
node app/index.js

/home/pafluxa/software/tidal-cli-client/app/index.js:25
(async () => {
^
SyntaxError: Unexpected token (
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:374:25)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Function.Module.runMain (module.js:442:10)
at startup (node.js:136:18)
at node.js:966:3
Would you kindly take a look at this when you get the chance? I promise I'll make a donation if resolved :-)
Thanks,

Pedro.

I got the same issue, you need to update node

Hi,
I ran the instructions I found here
https://stackoverflow.com/questions/41195952/updating-nodejs-on-ubuntu-16-04
It seems to be working now.
Thanks!

Pedro.

Hi there again,
Answer to myself: I upgraded mpv to the latest version following these instructions
http://ubuntuhandbook.org/index.php/2016/07/install-mpv-media-player-ubuntu-16-04/
It now works! Thanks for the support :dagger:

Pedro.

No worries! :)

@HowBoutSomeSnus Thank you very much for helping @pafluxa resolve his issue. You are awesome.


Questions

Configure LavaServer on src/EreleConnector/nodes.ts
There is no such folder src/EreleConnector/nodes.ts ?
Can u help me ?

i have change all config on src/config.ts.
i'll update readme soon, thank you

Configure LavaServer on src/EreleConnector/nodes.ts
There is no such folder src/EreleConnector/nodes.ts ?
Can u help me ?

i have change all config on src/config.ts.
i'll update readme soon, thank you

Configure LavaServer on src/EreleConnector/nodes.ts
There is no such folder src/EreleConnector/nodes.ts ?
Can u help me ?

i have change all config on src/config.ts.
i'll update readme soon, thank you

Ty

Configure LavaServer on src/EreleConnector/nodes.ts
There is no such folder src/EreleConnector/nodes.ts ?
Can u help me ?

i have change all config on src/config.ts.
i'll update readme soon, thank you

Ty

anytime


CLI keptn configure monitoring example text outdated

Environment

Client OS (e.g., Linux, macOS, Windows):
Keptn Version (keptn version):  0.18.1
Kubernetes Cloud Provider (e.g., GKE, AKS):
Kubernetes version (kubectl version):

Affected Component

[ ] Approval
[ ] Bridge
[x] CLI
[ ] Datastore
[ ] Docs
[ ] Distributor / Event Broker
[ ] Helm
[ ] Istio
[ ] Jmeter
[ ] Kubernetes Integration
[ ] Openshift Integration
[ ] REST API
[ ] Webhook

Describe the bug
keptn configure monitoring --help shows some examples which include one:
Examples:
keptn configure monitoring dynatrace --project=PROJECTNAME

This is invalid as the command requires a service.
To fix
Remove this example line from the CLI examples command. The examples with a --service flag should remain as they are still valid.

/assign
Hi, I'll try to fix it.


Slovenian translation, provided by Martin Srebotnjak

First pull request - so if you prefer other way of proposing changes, don't hesitate to let me know..
The commit adds Slovenian translation to the cmsworkflow module.

Sorry this took so long to review. You can reopen this PR if you'd like to re-address it, it will need a rebase now.


Op command entries in user context menu

Would be nice for ops to have a way to ban, kick or kickban a user from the context menu.

This was addressed by #1722. @YaManicKill, can we close this issue? I know not all actions have been added, so I'll leave it up to you. It would be nice to link this to 2.7 and call it a go :D

I think this should be left open, as ban is a pretty fundamental and expected feature. Perhaps we could make a new issue for ban? However the larger issue with that is having to refactor to get a users host name and such

I'd be happy to close this one if we create a new one for adding ban to the context menu. But yeah, I agree with @MaxLeiter , I think the ban functionality is pretty big and we should have an open issue for it.

Fair enough, I was just checking in on a couple old issues. Ok with whatever you prefer.

Let's just keep this in, but I'll edit it, then. It's not like we have a counter for "number of closed issues" just "number of opened issues".

Please add ban option! its fundamental to the operators of rooms.

So, what exactly should be banned when banning a user via the context menu?

I like WeeChat's default which is banning *!$ident@$host meaning that if there is no identd *!*@host willl get baned and if there is identd, *!ident@host (e.g<EMAIL_ADDRESS>will get banned.
However it won't work on networks that have no identd checking (and thus no ~ in ident) or if the host allows users to change the ident at will anytime, so maybe ban should be a submenu offering banning options such as *!$ident@$host, *!*@$host, I don't know how useful `nick!ident@host or variations of that would be as nick is the easiest one to change.


Trim heading (Stop soft-wrap)

Hey there! Just installed the plugin. Is it possible to trim headings in the outline? Right now, all the heading flow to the next line (aka, soft-wrap is enabled).

Modifying CSS file can achieve this.
But what if heading is too long? If hiding it, some contents can't be seen.

Can you help me with the CSS for the same?
So, the reason why I want to trim long headings is it makes them easily skimmable. I use the Quiet Outline plugin to quickly access headings for longer notes. And for that, just 2-3 words of a heading are enough to identify where I want to go.
Can you help me with the CSS for trimming / let the headings overflow in the plugin?

Yes, add this rule to styles.css or snippets folder :

It worked. Thanks a lot.


How can one bind to properties from inside a Forms XAML?

Can you add examples of Mvx::bi.nd inside this sample as it doesn't seem to be too obvious. I get crashes of the previewer mostly when I attempt it. The example from the medium post wasn't demonstrable.

Please file this against the official MvvmCross repo.


Feature: Rewrite NiftyNet to use TensorFlow 2.0

It would be very neat to have NiftyNet use TensorFlow 2.0 instead of 1.x. This especially for our use case where we want to speed up the training time by using the better TF 2.0 multi-GPU support.

As discussed in #484 NiftyNet is not actively mainatained anymore. Most of the NiftyNet development efforts have now been redirected towards MONAI.


apktool d my.apk error

Information

Apktool Version (apktool -version) -2.3.4
Operating System (Mac, Linux, Windows) -Mac 10.14
APK From? (Playstore, ROM, Other) -Other

Stacktrace/Logcat
Include stacktrace here

Steps to Reproduce

apktool  apktool d test.apk

Duplicate of #1874 , thanks for the report!
In the future, screenshots of errors are difficult to triage due to unable to copy/paste.


refactor(pubsub): use sc instead of custom attribute

"messaging.message.total_size_bytes" -> sc::kMessagingMessageEnvelopeSize

This change is

I had a similar problem and did #12992, which admittedly is not pretty.

I had a similar problem and did #12992, which admittedly is not pretty.

Thanks. Did the same.


Correct MD path with unicode characters doesn't render correct HTML path

Let's say we have this mkdocs.yml:
site_name: test
plugins:
  - ezlinks:
        wikilinks: true

And this folder structure:
docs/
├── index.md
└── á.md

And in index.md we have this content:
Path has already been encoded: [./%C3%A1%20.md](./%C3%A1%20.md)
Path isn't encoded: [./á.md](./á.md)

The output index.html would be:
Path has already been encoded: ./%C3%A1%20.md
Path isn't encoded: ./á.md

If the index.md is renamed to something else, says a.md, then a.html would be:
Path has already been encoded: ./%C3%A1%20.md
Path isn't encoded: ./á.md

The correct case in any case should be ./%C3%A1/.md or at least ./á.md

Hmm, the plugin transform the wikilinks into standard markdown links, so it's more a python issue and not caused by the plugin.
You should normalize your files


Rank suggestions

This are the flag ranks that are currently operational or will be added in a future release. Feel free to add your suggestions!

Note: The flags with striked-through text (~like this~) are not implemented yet.

Ranks

Flag count
Rank name
description/reason
credits

365
A flag a day keeps bad posts away
one year has 365 days
@FelixSFD

811
How dare thy!
811 is Shog's user id
Paul Stenne

1.111
No badge needed
A number is prettier than a badge anyway!
-

1.337
l337 fl4663r
l337 5p34k 15 4w350m3!
@LunarWatcher

1.969
Moon landing
I flagged the moon!
@Jinx88909

2.008
Flag Overflow
Stack Overflow was created in 2008
@paper1111 for where to put it and the flag count

2.395
Flag me up, Scotty
We don't beam, we flag
@LunarWatcher

3.456
<3456
You <3 flagging too much.
@Jinx88909

5.566
Long Time No Flag
Taiwanese boy band, formed under Taiwanese music company, J-Star
@Jinx88909

10.000
Elite Squad
At one point of time, there were only 16 of us
@Bhargav-Rao

11.111
Game of Flags
All elevens because the TV show Game of Thrones started in 2011
-

19.679
Professional Larsonist (Brad Larson)
19679 is Brad's user id
Paul Stenne

22.656
Almost Jon Skeet
22656 is his (John's) user ID
@FelixSFD

33.333
The Mad Flagger
Got nothing better to do with your time? ;D
-

42.195
The Marathon
Marathon's length in meters
@Floern

65.536
The two to the sixteen
-
@Floern

101.010
Definitely a robot
42 in binary code. Also 42 is the Answer to the Ultimate Question of Life, the Universe, and Everything
@FelixSFD

314.159
π
Who ate all the Pi?
@Jinx88909

874.188
tripleee
Wheeereee has theee eee goneee?
Paul Stenne

1.849.664
Woof woof
1849664 is Undo's user id
Paul Stenne

3.735.529
He just does the pointing job
3735529 is Smokey's user id
Paul Stenne

4.733.879
Call me flaggy
4733879 is Filnor's user id
Paul Stenne

2.147.483.647
The Overflow
Maximum size of a 32-bit integer
@Floern

4.294.967.296
A long journey
-
@Floern

2.008 for Flag Overflow because SO was created at 2008

Thanks for your suggestions @paper1111, I added it to the list

count
name
reason

365
A flag a day keeps bad posts away
one year has 365 days

22656
Almost Jon Skeet
22656 is his user-ID

101010
Definitely a robot
42 in binary code. Users with > 100k flags must be bots ;-) We could convert any other decimal number to binary as well, as long as it will result in an incredibly high flag count. 42 is just an example. Maybe 73 would be better?

@FelixSFD I personally prefer 42, because 42 is the Answer to the Ultimate Question of Life, the Universe, and Everything (42) :D, but I've already included the other two in the list. Thanks!

Elite squad for 10k, because at one point of time, there were only 15 of us.

@Bhargav-Rao Thanks for your suggestion. I added it to the list.

42195 "The Marathon" (Marathon's length in meters)

65536 "The two to the sixteen"

2147483647 "The Overflow"

–2147483648 "Yup, it's a signed integer"

4294967296 "A long journey"

@Floern, the "long journey" is quite close to 4,487,936,121, which is the distance in kilometers from earth to the edge of the solar system.

@Floern @Bhargav-Rao I don't think that one will get 4.3 billion flags anytime soon, but it's good to be prepared 😄

@pbdevch It was meant as a joke, but I think you'd just have to check whether the flag count is negative (or was once).

@Floern I already thought so, I won't actually implement it. I think the disk space for checking negative flags would be wasted unnecessarily though.

1969 - "Moon landing" - "I flagged the moon!"
314159 - "π" - "Who ate all the Pi?"
3456 - "<3456" - "You <3 flagging too much."
5566 - [https://en.wikipedia.org/wiki/5566]("A Taiwanese boy band, formed under Taiwanese music company, J-Star.") - [https://en.wikipedia.org/wiki/Long_Time_No_See_(5566_album)]("Long Time No Flag.")

@Jinx88909 Thank you! Now we have more ranks between 1K up to 20K and beetween 100K and the (maybe) impossible billions. I'll implement them in the next version.

l337 fl4663r for 1337 flags

Flag me up, Scotty for 2395 flags

@LunarWatcher Thank you for your suggestions! I added them to the list and implement them in the next version. (Which will have the number 0.11.0).

I'll close this issue so it won't be listed in the issue list anymore. If you want to suggest a new rank, just add a comment. If you can't add one, you can ping me in SOBotics.

testing closed comments with my sock /Filnor

@Filnor
1,252,759 - "Uncle Joncle" - https://stackoverflow.com/users/1252759/jon-clements


data link

Hello, could you please give me the download link of the data set?

hey, sorry for the late reply.
you can check the anserini regression notebooks, i.e., disk12, robust04.
For the robust04 collection, they also have an easy-to-use colab notebook.

Hi, can you explain in detail what these following files（res_file ，docnolist_file df_file，topic_file）are?I have disk4 and disk5 files and want to process them into corresponding usable files.Thank you very much for your reply！
relevance_params = {'res_file': os.path.join(global_info_path, 'desc.res'),
'qrels_file': os.path.join(global_info_path, 'qrels.clueweb09b.txt'),
'docnolist_file': os.path.join(global_info_path, 'docnolist'),
'output_file': os.path.join(global_info_path, 'relevance.clue.desc.fromres1000.pickle')}
global_info_path = "/home/lcj/data/desc.disk12/features/global.info"
idf_params = {'df_file': os.path.join(global_info_path, 'disk12.dfcf.txt'),
'topic_file': os.path.join(global_info_path, 'disk12.desc.porter.morefilter.txt'),
'output_file': os.path.join(global_info_path, 'desc.idf.pickle'),
}


feat: add better feedback to multiple commands

addresses #314
Some commands had little to no feedback for the user in terms of the elements created/modified in some commands. This PR aims to complete the "Better Feedback messages" section of this summary.
Feedback changes:

account new prints the new account id along with a command to see more details. Same for input-notes import.
sync now prints some stats about the new/updated elements. Just quantities though, no specific information.*
tx new prints the tx ID and the IDs of the created output notes. Plus added some messages for each step (executing, proving/submiting).

I can change this if requested and add more specific information (like new note IDs, IDs of updated notes/accounts, etc,). The downside is that for a large sync then maybe there would be a lot of output.

Adding a screenshot of the new feedback:

Adding a screenshot of the new feedback:

Looks great! A couple of potential improvement suggestions:

Would it be possible to split "Proving transaction and then submitting..." into "Proving transaction" and "Submitting transaction" lines? It would be awesome if there could be timing info attached to these. For example: "Proving transaction... done in 1.2 sec", "Submitting transaction to node... done in 0.2 sec". If that's difficult, we can tackle this as a separate issue.
I would change "Output note IDs created" to just "Output notes:"


Upgrading Flyway-core to above versions 8.2 not supporting MariaDB

Which version and edition of Flyway are you using?
Was using 8.0.5 - upgrading to 8.5.13
If this is not the latest version, can you reproduce the issue with the latest one as well? (Many bugs are fixed in newer releases and upgrading will often resolve the issue)
The latest version 8.5.13 is broken. Downgraded to 8.5.10 - still broken
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Java Client from Maven plugin - version 3.0.3
org.mariadb.jdbc
mariadb-java-client
Which database are you using? (Type & version)
MariaDB 10.6
Which operating system are you using?
MacOS Monterey 12.4
What did you do? (Please include the content causing the issue, any relevant configuration settings, the SQL statement(s) that failed (if any), and the command you ran)
Upgrading Flyway from 8.0.5 to the latest so we can upgrde SpringBoot to 2.7.0
Now getting the following exception:
Caused by: org.flywaydb.core.api.FlywayException: Unsupported Database: MariaDB 10.6
at org.flywaydb.core.internal.database.DatabaseTypeRegister.getDatabaseTypeForConnection(DatabaseTypeRegister.java:106)
Debugging the following class:
package org.flywaydb.core.internal.database;
DatabaseTypeRegister and method getDatabaseTypeForConnection(Connection connection):
SORTED_DATABASE_TYPES.iterator();
List's only the following supported DB types:
result = {ArrayList@9541}  size = 15
0 = {CockroachDBDatabaseType@9603}
1 = {RedshiftDatabaseType@9604}
2 = {DB2DatabaseType@9605}
3 = {DerbyDatabaseType@9606}
4 = {H2DatabaseType@9607}
5 = {HSQLDBDatabaseType@9608}
6 = {InformixDatabaseType@9609}
7 = {OracleDatabaseType@9610}
8 = {PostgreSQLDatabaseType@9611}
9 = {SAPHANADatabaseType@9612}
10 = {SnowflakeDatabaseType@9613}
11 = {SQLiteDatabaseType@9614}
12 = {SybaseASEJConnectDatabaseType@9615}
13 = {SybaseASEJTDSDatabaseType@9616}
14 = {TestContainersDatabaseType@9617}
This is the supported list in 8.4.0 - also broken
result = {ArrayList@9512}  size = 16
0 = {CockroachDBDatabaseType@9574}
1 = {RedshiftDatabaseType@9575}
2 = {DB2DatabaseType@9576}
3 = {DerbyDatabaseType@9577}
4 = {FirebirdDatabaseType@9578}
5 = {H2DatabaseType@9579}
6 = {HSQLDBDatabaseType@9580}
7 = {InformixDatabaseType@9581}
8 = {OracleDatabaseType@9582}
9 = {PostgreSQLDatabaseType@9583}
10 = {SAPHANADatabaseType@9584}
11 = {SnowflakeDatabaseType@9585}
12 = {SQLiteDatabaseType@9586}
13 = {SybaseASEJConnectDatabaseType@9587}
14 = {SybaseASEJTDSDatabaseType@9588}
15 = {TestContainersDatabaseType@9589}
Version 8.2.0 is correct:
result = {ArrayList@9513}  size = 18
0 = {CockroachDBDatabaseType@9575}
1 = {RedshiftDatabaseType@9576}
2 = {MariaDBDatabaseType@9577}
3 = {DB2DatabaseType@9578}
4 = {DerbyDatabaseType@9579}
5 = {FirebirdDatabaseType@9580}
6 = {H2DatabaseType@9581}
7 = {HSQLDBDatabaseType@9582}
8 = {InformixDatabaseType@9583}
9 = {MySQLDatabaseType@9584}
10 = {OracleDatabaseType@9585}
11 = {PostgreSQLDatabaseType@9586}
12 = {SAPHANADatabaseType@9587}
13 = {SnowflakeDatabaseType@9588}
14 = {SQLiteDatabaseType@9589}
15 = {SybaseASEJConnectDatabaseType@9590}
16 = {SybaseASEJTDSDatabaseType@9591}
17 = {TestContainersDatabaseType@9592}
What did you expect to see?
Expected to see MariaDB in the list of databases.
This is the list of supported DB's in version 8.0.5 - debugging the above mentioned class
result = {ArrayList@9518}  size = 20
0 = {CockroachDBDatabaseType@9580}
1 = {RedshiftDatabaseType@9581}
2 = {MariaDBDatabaseType@9517}
3 = {SynapseDatabaseType@9582}
4 = {DB2DatabaseType@9583}
5 = {DerbyDatabaseType@9584}
6 = {FirebirdDatabaseType@9585}
7 = {H2DatabaseType@9586}
8 = {HSQLDBDatabaseType@9587}
9 = {InformixDatabaseType@9588}
10 = {MySQLDatabaseType@9589}
11 = {OracleDatabaseType@9590}
12 = {PostgreSQLDatabaseType@9591}
13 = {SAPHANADatabaseType@9592}
14 = {SnowflakeDatabaseType@9593}
15 = {SQLiteDatabaseType@9594}
16 = {SQLServerDatabaseType@9595}
17 = {SybaseASEJConnectDatabaseType@9596}
18 = {SybaseASEJTDSDatabaseType@9597}
19 = {TestContainersDatabaseType@9598}
What did you see instead?
Unsupported database type error.
Seems like MariaDB is dropped in totality.

Since version 8.2.1, the flyway-mysql package has to be added separately as well as flyway-core. This includes the relevant DatabaseType for MariaDB, so it should then appear in the list.

Wow - missed that one! Thank you very much. Working like a dream when adding that. Appreciate!


Makefile program path fixes

Hi, these fixes help me build duktape on arch linux without the need to patch Makefile.
I haven't tested it elsewhere, but command -v should be more portable than which.

@megous Thanks, I'll check this out. Could you add yourself to AUTHORS.rst (see CONTRIBUTING.md) in this pull?

Done.

Thank you.


Add the bug report link on the partnerbase view

Summary
Currently, we only provide the bug report icon on the upper right-hand side of the bank user's view:

Let's add that also on the partnerbase side so that partner users can also submit bug reports if they encounter anything strange.
Things to Consider
As a reminder, you can access the partner base site by going to http://localhost:3000/partner_users/sign_in and logging with<EMAIL_ADDRESS>The snippet of code you can reference is located app/views/layouts/_lte_navbar.html.erb
Criteria for Completion

This should be a bulleted list of items that, if satisfied, would result in an acceptably complete Pull Request. Be as specific as you need to be. For example:

[ ] As a partner user, I should be able to see a bug icon on the upper right corner so that I can report any bugs that I notice and it can get fixed.
[ ] The bug link should only appear in production.

Bonus Round
I believe that users may not immediately know what a 'Bug' icon does. See if we can replace the bug icon with an informative button that indicates that it is used to submit a bug report.

from this week's OH: @MohamedHegab will take this issue.
@edwinthinks can you assign him officially? I don't seem to have permissions to

@albertchae sure! I invited them to the repo so we should be able to assign them afterward. Let me see if I can give you access to that.


Compiling from source in Ubuntu 16.04 and using ROS Kinetic

Hi,
I'm trying to install Pinocchio to use in a ROS project. However, I'm having compile errors regarding my version of eigenpy
eigenpy >= 2.0.0 is required.
-- Checking for module 'eigenpy>=2.0.0'
--   Requested 'eigenpy >= 2.0.0' but version of eigenpy is 1.6.9-dirty
You may find new versions of eigenpy at http://github.com/stack-of-tasks/eigenpy

I installed eigenpy via
sudo apt-get install ros-kinetic-eigenpy

However after looking at the release notes I realized that for kinetic it only goes to version 1.6.9.
I've tried installing eigenpy from the robotpkg apt repository, but then I get an error that it cannot find the eigenpy library.
I would really appreciate any help trying to solve this compiling issues.
Thank you!

I think @wxmerkt may have some clues for solving this issue. @wxmerkt Do you know why eigenpy is not up to date to the version 2.3.0?
@rshum19  In the meantime, you can install eigenpy directly from source

@rshum19 : on robotpkg, did you specify the python version you need ? That should be sudo apt install robotpkg-py27-pinocchio, which will install robotpkg-py27-eigenpy as a dependency.

@nim65s This a ROS installation procedure.

I have not yet updated Kinetic to newer versions. We are still having ongoing issues with the CMake modules for Melodic. I am planning to fix the Melodic release today (the install directory for the eigenpyConfig.cmake in particular, and the build type).
For Kinetic, I am not sure it is worth the effort - there may be a few cycles to get it working with the changes from CMake modules.
@rshum19 The easiest way for you to get it to run is just clone the eigenpy repository into your catkin workspace. It will build with the other packages automatically.

@wxmerkt Thanks a lot for this helpful answer!

If all goes well with the Melodic release, I might try to also update Kinetic.
Let's keep this issue open - I will close it once I know if we can get the Kinetic version of EigenPy also updated.

@jcarpent and @wxmerkt  thank you for your prompt response and suggestions. I have managed to compiled eigenpy from source successfully, but I'm still getting compiling issues please see below.
In file included from /home/ballbot/pinocchio_ws/build/pinocchio/include/pinocchio/bindings/python/multibody/joint/joints-variant.hpp:11:0,
                 from /home/ballbot/pinocchio_ws/src/pinocchio/bindings/python/multibody/joint/expose-joints.cpp:7:
/home/ballbot/pinocchio_ws/build/pinocchio/include/pinocchio/bindings/python/multibody/joint/joints-models.hpp: In function ‘pinocchio::JointModelComposite& pinocchio::python::addJoint_proxy(pinocchio::JointModelComposite&, const JointModelVariant&, const SE3&)’:
/home/ballbot/pinocchio_ws/build/pinocchio/include/pinocchio/bindings/python/multibody/joint/joints-models.hpp:79:118: error: call of overloaded ‘apply_visitor(pinocchio::python::JointModelCompositeAddJointVisitor, const JointModelVariant&)’ is ambiguous
       return boost::apply_visitor(JointModelCompositeAddJointVisitor(joint_composite,joint_placement), jmodel_variant);
                                                                                ^
In file included from /usr/include/boost/variant/apply_visitor.hpp:16:0,
                 from /usr/include/boost/variant/detail/hash_variant.hpp:23,
                 from /usr/include/boost/variant/variant.hpp:34,
                 from /usr/include/boost/variant.hpp:17,
                 from /home/ballbot/pinocchio_ws/build/pinocchio/include/pinocchio/multibody/joint/joint-collection.hpp:11,
                 from /home/ballbot/pinocchio_ws/build/pinocchio/include/pinocchio/bindings/python/multibody/joint/joint-derived.hpp:11,
                 from /home/ballbot/pinocchio_ws/src/pinocchio/bindings/python/multibody/joint/expose-joints.cpp:6:
/usr/include/boost/variant/detail/apply_visitor_unary.hpp:82:1: note: candidate: typename Visitor::result_type boost::apply_visitor(const Visitor&, Visitable&) [with Visitor = pinocchio::python::JointModelCompositeAddJointVisitor; Visitable = const boost::variant<pinocchio::JointModelRevoluteTpl<double, 0, 0>, pinocchio::JointModelRevoluteTpl<double, 0, 1>, pinocchio::JointModelRevoluteTpl<double, 0, 2>, pinocchio::JointModelMimic<pinocchio::JointModelRevoluteTpl<double, 0, 0> >, pinocchio::JointModelMimic<pinocchio::JointModelRevoluteTpl<double, 0, 1> >, pinocchio::JointModelMimic<pinocchio::JointModelRevoluteTpl<double, 0, 2> >, pinocchio::JointModelFreeFlyerTpl<double, 0>, pinocchio::JointModelPlanarTpl<double, 0>, pinocchio::JointModelRevoluteUnalignedTpl<double, 0>, pinocchio::JointModelSphericalTpl<double, 0>, pinocchio::JointModelSphericalZYXTpl<double, 0>, pinocchio::JointModelPrismaticTpl<double, 0, 0>, pinocchio::JointModelPrismaticTpl<double, 0, 1>, pinocchio::JointModelPrismaticTpl<double, 0, 2>, pinocchio::JointModelPrismaticUnalignedTpl<double, 0>, pinocchio::JointModelTranslationTpl<double, 0>, pinocchio::JointModelRevoluteUnboundedTpl<double, 0, 0>, pinocchio::JointModelRevoluteUnboundedTpl<double, 0, 1>, pinocchio::JointModelRevoluteUnboundedTpl<double, 0, 2>, pinocchio::JointModelRevoluteUnboundedUnalignedTpl<double, 0>, boost::recursive_wrapper<pinocchio::JointModelCompositeTpl<double, 0, pinocchio::JointCollectionDefaultTpl> > >; typename Visitor::result_type = pinocchio::JointModelCompositeTpl<double>&]
 apply_visitor(const Visitor& visitor, Visitable& visitable)
 ^~~~~~~~~~~~~
/usr/include/boost/variant/detail/apply_visitor_unary.hpp:160:23: note: candidate: decltype(auto) boost::apply_visitor(const Visitor&, Visitable&, typename boost::disable_if<boost::detail::variant::has_result_type<Visitor> >::type*) [with Visitor = pinocchio::python::JointModelCompositeAddJointVisitor; Visitable = const boost::variant<pinocchio::JointModelRevoluteTpl<double, 0, 0>, pinocchio::JointModelRevoluteTpl<double, 0, 1>, pinocchio::JointModelRevoluteTpl<double, 0, 2>, pinocchio::JointModelMimic<pinocchio::JointModelRevoluteTpl<double, 0, 0> >, pinocchio::JointModelMimic<pinocchio::JointModelRevoluteTpl<double, 0, 1> >, pinocchio::JointModelMimic<pinocchio::JointModelRevoluteTpl<double, 0, 2> >, pinocchio::JointModelFreeFlyerTpl<double, 0>, pinocchio::JointModelPlanarTpl<double, 0>, pinocchio::JointModelRevoluteUnalignedTpl<double, 0>, pinocchio::JointModelSphericalTpl<double, 0>, pinocchio::JointModelSphericalZYXTpl<double, 0>, pinocchio::JointModelPrismaticTpl<double, 0, 0>, pinocchio::JointModelPrismaticTpl<double, 0, 1>, pinocchio::JointModelPrismaticTpl<double, 0, 2>, pinocchio::JointModelPrismaticUnalignedTpl<double, 0>, pinocchio::JointModelTranslationTpl<double, 0>, pinocchio::JointModelRevoluteUnboundedTpl<double, 0, 0>, pinocchio::JointModelRevoluteUnboundedTpl<double, 0, 1>, pinocchio::JointModelRevoluteUnboundedTpl<double, 0, 2>, pinocchio::JointModelRevoluteUnboundedUnalignedTpl<double, 0>, boost::recursive_wrapper<pinocchio::JointModelCompositeTpl<double, 0, pinocchio::JointCollectionDefaultTpl> > >; typename boost::disable_if<boost::detail::variant::has_result_type<Visitor> >::type = void]
 inline decltype(auto) apply_visitor(const Visitor& visitor, Visitable& visitable,
                       ^~~~~~~~~~~~~
make[2]: *** [bindings/python/CMakeFiles/pinocchio_pywrap.dir/multibody/joint/expose-joints.cpp.o] Error 1
make[1]: *** [bindings/python/CMakeFiles/pinocchio_pywrap.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2
cd /home/ballbot/pinocchio_ws/build/pinocchio; catkin build --get-env pinocchio | catkin env -si  /usr/bin/make --jobserver-fds=6,7 -j; cd -

I've tried both the regular cmake ../ && make -j8 && make install steps as well as catkin build and get the same error. Is there a prefer compiling method ?
Thank you!

Which packages with which versions do you have in your workspace? How did you build them?

If you have pinocchio and eigenpy cloned into a catkin workspace, use the regular catkin build.
If you follow a regular CMake workflow, use the cmake ; make ; make install.
Doing a mix complicates things and can lead to complications.

In my catkin worskpace I have eigenpy version 2.3.0 and pinocchio 2.3.1. To build them I'm using catkin build

What is your boost version ?

@jcarpent  I'm using version  Boost version <IP_ADDRESS>

It seems that this is related to your compiler options. Are you using c++11?

To follow @jcarpent's comment, you could set this with:
catkin config --cmake-args -DCMAKE_CXX_FLAGS="-std=c++11"

or -DCMAKE_CXX_STANDARD=11 ;)

@wxmerkt using the suggested cmake arguments solved my compiling issue. May be a good idea to include this flag as part of the CMakeLists.txt file
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}  -std=c++11")

Thanks all for your help! I'm going to close this issue now.

Glad to hear it's resolved :-).

Hi I'm reopening this issue, because I'm having compiling issues on a different machine.  It seems that its an issue with the eigen library?
In file included from /usr0/home/rshu/pinocchio_ws/src/pinocchio-2.2.3/unittest/serialization.cpp:10:0:
/usr0/home/rshu/pinocchio_ws/build/pinocchio/include/pinocchio/serialization/eigen.hpp:81:10: error: redefinition of ‘template<class Archive, class _IndexType, long unsigned int _NumIndices> void boost::serialization::serialize(Archive&, Eigen::array<T, N>&, unsigned int)’
     void serialize(Archive & ar, Eigen::array<_IndexType,_NumIndices> & a, const unsigned int version)

System:
OS: Ubuntu 16.04
Eigenpy: 2.3.0
Pinocchio: 2.2.3
Boost: 1.58.0
Eigen: 3.2.92
gcc: 6.50
python: 2.7.12
Any idea why this could be?

Can you try the last release of Pinocchio ?

@jcarpent Pulling the latest from the repository solved my issue thank you!

Btw: EigenPy 2.3.1 & Pinocchio 2.4.0 are now released to ROS Kinetic. They will be live with the next sync (~every two weeks, usually).


project roadmap

Hi.....
What is the roadmap of the project? When is the scheduler code open source?

Thanks for your attention, we will release a detailed plan later this month.

@baxiaoshi Now you can see the project plan in milestones.

/close


Getting "abort_controller_1.default is not a constructor" error - Trying to use with Nuxt 3.

Describe the bug
Getting "abort_controller_1.default is not a constructor" error - Trying to use with Nuxt 3. Tried both with async await and .then calls.
To Reproduce
Steps to reproduce the behavior:

Create nuxt 3 app
`pnpm i link-preview-js
import and use getLinkPreview method

<script setup>
import { getLinkPreview } from "link-preview-js";
onMounted(() => {
  getLinkPreview("https://www.youtube.com/watch?v=MejbOFk7H6c").then((data) =>
    console.debug({ data })
  );
});
</script>

See error

index.js:352

       Uncaught (in promise) TypeError: abort_controller_1.default is not a constructor
    at index.js:352:34
    at step (index.js:33:23)
    at Object.next (index.js:14:53)
    at index.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (index.js:4:12)
    at getLinkPreview (index.js:325:12)
    at index.vue:4:1
    at callWithErrorHandling (runtime-core.esm-bundler.js:155:22)
    at callWithAsyncErrorHandling (runtime-core.esm-bundler.js:164:21)

Expected behavior
Data corresponding to the URL should be returned.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: win11
Browser: edge
Version: Version 103.0.1264.62 (Official build) (64-bit)

Read the readme


fixed bug with no_meta dimensions

And added tests for it.

Current coverage is 92.11% (diff: 100%)

Merging #17 into master will increase coverage by 0.03%

@@             master        #17   diff @@
==========================================
  Files             3          3
  Lines           505        507     +2
  Methods           0          0
  Messages          0          0
  Branches        113        113
==========================================
+ Hits            465        467     +2
  Misses           26         26
  Partials         14         14

Powered by Codecov. Last update fbeaf71...99e9de7


Update requirements.txt

Fixes the rendering trajs bug everyone was having.

Hi Samuel,
Thank you for doing the pull request. The Werkzeug library looks a bit unrelated, let me check it on my side and I will come back to this issue.

Hi Samuel,
Thanks you once again for your work! I am merging the pull request into the main branch.
Best,
Alex


Allow the exlusion of one-word pages for automatic linking

I have tested out automatic linker for some days on a logseq graph of 800 pages.
About 100 pages of them have one-word titles, but only a selection of them are useful to be referenced.
I think it is practical if automatic linker can exclude one-word pages, unless it has a hashtag.

An option for this can definitely be added. Will let you know once it’s available.
On 14 Oct 2022, 3:16 PM +0400, Yuri @.***>, wrote:

I have tested out automatic linker for some days on a logseq graph of 800 pages.
About 100 pages of them have one-word titles, but only a selection of them are useful to be referenced.
I think it is practical if automatic linker can exclude one-word pages, unless it has a hashtag.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


Implement driver for tm1814 RGBW LED

Hello all,
Could someone still adapt the decoder for the TM1814 IC?
The datasheet is attached.
TM1814-TitanMicro.pdf
Thanks in advance

@HendrikSchmi Thanks for reaching out! We generally reserve the Issues section for our GitHub repos for bugs. Because of this, I'll close this issue for now.
Having said that, I do want to make sure your request is properly recorded! As such, I'd suggest you to post your feature request on our ideas site below:
https://ideas.saleae.com/b/feature-requests/
Alternatively, I wanted to let you know that we currently don't have the resources to help with implementing this internally. Our software team (4 members at the moment) is laser focused on other priorities.
In case you are unable to implement the changes via your own custom analyzer or extension to meet your requirements, we're working with the folks at Binho to provide services to develop custom extensions. More information on this can be found in the link below in case you are interested in reaching out to them!
https://binho.io/pages/custom-protocol-analyzer-development


Danielle Romanoff Created using Colaboratory Made one smalle change 1 + 1

Trying to start again as yesterday I was a tad distracted.

Trying to get this even with the master repository

I'm confused why it says I'm one commit ahead of Lambda

Finally got straightened out here and using this correctly

Module 2 done. It would have been nice to have some headers to understand exactly what the data was representing. The only obvious one was the type of car. With headers, I would have loved to play with that data a bit.


Linking Executable sample app failed in Raspberry Pi

Hello everyone,
I've been trying to get the AVS service into Raspberry Pi. I followed the instructions in the amazon developer website (https://developer.amazon.com/docs/alexa-voice-service/build-the-avs-device-sdk.html)
It throws the below error just when the sample app building is almost done.
Any help will be welcome.
[ 95%] Linking CXX executable SampleApp
/usr/bin/ld: error: CMakeFiles/SampleApp.dir/KeywordObserver.cpp.o: file too short
collect2: error: ld returned 1 exit status
SampleApp/src/CMakeFiles/SampleApp.dir/build.make:419: recipe for target 'SampleApp/src/SampleApp' failed
make[3]: *** [SampleApp/src/SampleApp] Error 1
CMakeFiles/Makefile2:10093: recipe for target 'SampleApp/src/CMakeFiles/SampleApp.dir/all' failed
make[2]: *** [SampleApp/src/CMakeFiles/SampleApp.dir/all] Error 2
CMakeFiles/Makefile2:10105: recipe for target 'SampleApp/src/CMakeFiles/SampleApp.dir/rule' failed
make[1]: *** [SampleApp/src/CMakeFiles/SampleApp.dir/rule] Error 2
Makefile:2526: recipe for target 'SampleApp' failed
make: *** [SampleApp] Error 2

Hi @krithi96sk  , I'm closing this issue due to inactivity. Feel free to reopen if you are still experiencing any issues. Thanks


[Style] Enhance the logo

What's the style idea?
A good logo should:   Be timeless ,Be memorable, Work well large or small. Encompass your brand vibe. I will design a best logo and replace it with the current one. please assign me this issue.
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[x] I am a GSSOC'24 contributor.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

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

Do you have any supporting screenshots @arpitkumar008

Id you liked my work then please assign me the issue .
On Thu, 30 May, 2024, 22:21 Rakesh Roshan, @.***> wrote:

Do you have any supporting screenshots @arpitkumar008
https://github.com/arpitkumar008
—
Reply to this email directly, view it on GitHub
https://github.com/Rakesh9100/Beautiify/issues/778#issuecomment-2140240500,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BIM6UCKKSI2LK2DQ277IAOLZE5KIFAVCNFSM6AAAAABH6OGTJOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBQGI2DANJQGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Okay, go ahead @arpitkumar008

Pls provide your PR @arpitkumar008


[Bug] Apollo isn't generating sources on Windows.

Hello there,
Summary
I've a project with multiple services and two schemas and this setup is working fine for UNIX-like system but it does absolutely nothing when running on Windows. The sources aren't generated and it also doesn't output an error if I create a query that shouldn't exist.
Version
Tested in 2.2.0 and 2.4.0.
Description
Given I have a module notifications and I have this configuration with 2 services properly working on MacOS/Linux:
apollo {
    service("coffee") {
        sourceFolder = "$projectDir/src/main/graphql/com/zeez/app/coffee"
        schemaPath = "$rootDir/common/src/main/graphql/com/zeez/app/coffee/schema.json"
    }

    service("tea") {
        sourceFolder = "$projectDir/src/main/graphql/com/zeez/app/tea"
        schemaPath = "$rootDir/common/src/main/graphql/com/zeez/app/tea/schema.json"
    }
}

Then I've a common module defined this way:
apollo {
    service("coffee") {
        sourceFolder = "$projectDir/src/main/graphql/com/zeez/app/coffee"
        rootPackageName = "com.zeez.app.coffee"
    }

    service("tea") {
        sourceFolder = "$projectDir/src/main/graphql/com/zeez/app/tea"
        rootPackageName = "com.zeez.app.tea"
    }
}

As I said, this setup is working fine for UNIX-like system but didn't work on Windows. I think it is because how the sourceFolder and schemaPath are resolved.
On Windows the output of the sourceFolder or schemaPath above are something like this:
C:/Zeez/notifications/src/main/graphql/com/zeez/app/coffee
Where on MacOS it will be:
/Users/Bla/Zeez/notifications/src/main/graphql/com/zeez/app/coffee
Additional information
If I write anything in the Query.graphql or even if I put anything in the schema.json the task will pass with success.
Am I doing something wrong or a missing configuration?
Thank you everyone.

Hi 👋 , when I've seen similar things, it was most of the times due to either symlinks or case sensitivity.
The fact that it doesn't show an error would hint that the schema is indeed not found so I would focus there first. Is there any uppercase/symlink in the path leading to your schema?

Hello there, @martinbonnin
Thank you for your response. Probably it didn't have. May it will depend on the output of $rootDir I guess.
Example output on Windows:
C:\Folder\project-name\module/src/main/graphql/com/project/app/coffee/schema.json
I've removed sourceFolder property from the my configuration and the following error outputs:
ApolloGraphQL: cannot find a schema file at
C:\Corey\zeez-android/common/src/main/graphql/com/zeez/app/coffee/schema.json.

Tried:

C:\Corey\zeez-android\notifications\src\main\graphql\C:\Corey\zeez-android\common\src\main\graphql\com\zeez\app\coffee\schema.json

As you can see for some reason it is appending the specified schemaPath to the current project dir, which is notifications module. I still think it is because how the method resolveSchema is dealing with the path, but I can be wrong. 🤔

Can you try to reduce the problem to only one module? Can you generate models in your common module?
./gradlew :common:generateApolloSources

Does that work ?

Yes, of course!
I've moved some queries to common module and the configuration is the following:
apollo {
    service("coffee") {
        sourceFolder = "$projectDir/src/main/graphql/com/zeez/app/coffee"
        rootPackageName = "com.zeez.app.coffee"
        schemaPath = "$projectDir/src/main/graphql/com/zeez/app/coffee/schema.json"
    }

    service("tea") {
        sourceFolder = "$projectDir/src/main/graphql/com/zeez/app/tea"
        rootPackageName = "com.zeez.app.tea"
        schemaPath = "$projectDir/src/main/graphql/com/zeez/app/tea/schema.json"
    }
}

Also tried with .. instead of $projectDir but it result in the same output:
BUILD SUCCESSFUL in 1s

But unfortunately no source has been generated.

Interesting. So it looks like this is due to the ../ relative path. I'll try to reproduce.
In the meantime, a possible workaround could be to use schemaFile instead which is not resolved relative to src/$foo/graphql. I guess if you put the absolute path there that could help.

@martinbonnin using schemaFile indeed does work.
Thank you for your effort in helping me. I'll check later if it is working properly and doesn't break any existing behavior, but my guess is that it is working pretty well.
Thank you, Martin.

I've tried using schemaFile instead of schemaPath for my multi-module project setup but it didn't work. Sources wasn't getting generated for each module but it does if I put the query in the common module (responsible for having the schema files).
It is a strange behavior and may need further investigation. I'll try to do it when I've more time or maybe I'll create a sample project to investigate this problem.
Besides that I'll keep working with unix-like system until it gets fixed or I found a proper workaround.
Additional information
If I set up everything properly with schemaFile I need to move a for example Query.graphql to the common module, then it will be generated but for an unknow reason, every module which uses apollo for code generation will have the generated source file of this query under its build folder.

I could reproduce this morning. Will keep looking.

Whoopps, I take that back, I made a typo in sourceFolder. Generating sources with a relative path in schemaPath is working. See https://github.com/martinbonnin/apollo-android-samples/tree/main/relativeWindowsPath for an example.
Side note: considering you have a common module that holds your schema and other modules that consume it, it looks like your project could benefit from multi-modules support that just landed in 2.4.0. It's still experimental but I'd love to hear what you think about it.

I'm glad to hear that. I'll try to fix the source generation of my project, if I manage to get it working, I'll jump ahead to try multi-module support!
It seems to be very interesting and I'll give a try.
Question, relative will do the work whereas absolute path (the way I'm doing right now $projectDir/project/bla/schema) shouldn't? Did I got it right?
Anyway, I appreciate your help. I think multi-modules is the way to go! \o/

Question, relative will do the work whereas absolute path (the way I'm doing right now $projectDir/project/bla/schema) shouldn't? Did I got it right?

I'm not sure to be honest. I was able to generate some files using a relative path in schemaPath but I still don't explain why it wasn't working for you in the first place. Maybe the bug is in how sourceFolder is resolved. If you could upload a reproduction repo somewhere, that would be super useful.
Let me know what you think about multi-module, it's still in the phase where we can change APIs so feedback is very welcome!

Oh, that's fine. I'll upload a reproduction repo whenever I can (maybe today or tomorrow, I don't know). In the meanwhile I'll experiment multi-module in my project and I'll create another issue if I found something relevant to the API.
Thanks!

Hey @martinbonnin, I've forked your apollo sample and I was able to reproduce my problem as you can see on this commit

Nice, that'll make fixing the bug way easier, I'll look into this on Monday.

I'll also check if the multi-module support fits for my project and I come back to you with a feedback if necessary.

Thanks 👍. I just cleaned up this sample a lot: https://github.com/martinbonnin/apollo-android-samples/commit/24e9ff5222fe1d9681826e3b7205f8e160c55910
This repo is what I use for dogfooding and experimenting stuff which means it isn't  always the cleanest but multi-modules should be good now! Let me know how that goes

Released in 2.4.1. Let us know how that goes!


We just switched to the new Proto library build rules in the instrumentation-proto repository, by following the instructions at https://bazel.build/blog/index.html#protocol-buffers-in-bazel.  Here is the pull request: https://github.com/google/instrumentation-proto/pull/26

We just switched to the new Proto library build rules in the instrumentation-proto repository, by following the instructions at https://bazel.build/blog/index.html#protocol-buffers-in-bazel.  Here is the pull request: https://github.com/google/instrumentation-proto/pull/26
Then we updated a git submodule to bring the changes into instrumentation-java, as in this commit: https://github.com/sebright/instrumentation-java/commit/95a6691ea8705f28c9b8a7a7f6ce3fa9d6b1c692
We were building instrumentation-java with --javacopt=-Werror --javacopt=-Xlint:all in CI.  After the change, we started getting many errors that seemed to come from the com_google_protobuf_java http_archive target in our WORKSPACE file.  Here is part of the list of errors from the failed Travis build:
ERROR: /home/travis/.cache/bazel/_bazel_travis/43f33de0ac8ec257b07378061caba359/external/com_google_protobuf_java/BUILD:553:1: Java compilation in rule '@com_google_protobuf_java//:protobuf_java' failed: Worker process sent response with exit code: 1.
external/com_google_protobuf_java/java/core/src/main/java/com/google/protobuf/AbstractMessage.java:55: warning: [rawtypes] found raw type: AbstractMessageLite
    extends AbstractMessageLite
            ^
  missing type arguments for generic class AbstractMessageLite<MessageType,BuilderType>
  where MessageType,BuilderType are type-variables:
    MessageType extends AbstractMessageLite<MessageType,BuilderType> declared in class AbstractMessageLite
    BuilderType extends Builder<MessageType,BuilderType> declared in class AbstractMessageLite
external/com_google_protobuf_java/java/core/src/main/java/com/google/protobuf/AbstractMessage.java:250: warning: [rawtypes] found raw type: List
          List list1 = (List) value1;
          ^
  missing type arguments for generic class List<E>
  where E is a type-variable:
    E extends Object declared in interface List

The full command was:
bazel build :stats-core_impl --javacopt=-Werror --javacopt=-Xlint:all --javacopt=-Xlint:-cast --javacopt=-Xlint:-deprecation --javacopt=-Xlint:-try --verbose_failures

(We were already suppressing some other warnings.)
The full log is at https://travis-ci.org/sebright/instrumentation-java/jobs/212241166 .
Bazel version:
Build label: 0.4.5
Build target: bazel-out/local-fastbuild/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Thu Mar 16 12:19:38 2017<PHONE_NUMBER>)
Build timestamp:<PHONE_NUMBER>
Build timestamp as int:<PHONE_NUMBER>

I expected bazel to not fail the build in this case, for two reasons:

com_google_protobuf_java is only a dependency of the project.  I think there should be a way to only fail if warnings come from the targets in the BUILD file.  (Is there already an option that does that?)
java_proto_library shouldn't cause errors, because it is a built-in build rule.

/cc @bogdandrutu
Originally posted by @sebright in https://github.com/bazelbuild/bazel/issues/2699 s-out/
antlr3/
contrib/
Documentation/
e2e-tests/
java/
javatests/
lib/
modules/
plugins/
polygerrit-ui/
prolog/
prologtests/
proto/
resources/
tools/
webapp/
polymer-bridges
.bazelignore
.bazelproject
.bazelrc
.bazelversion
.editorconfig
.git-blame-ignore-revs
.gitignore
.gitmodules
.gitreview
.mailmap
.pydevproject
.zuul.yaml
BUILD
COPYING
INSTALL
Jenkinsfile
package.json
README.md
SUBMITTING_PATCHES
version.bzl
web-dev-server.config.mjs
WORKSPACE
yarn.lock

Hi there - could you please elaborate on how you're using the Dev Container CLI?


⚠ GitLab Server has degraded performance

In 8d2208f, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 13797 ms

Resolved: GitLab Server performance has improved in 0b052b0.


modernization-plugin branch: GetPostTerms grouping

Hey Max,
I just noticed this glitch in the GetPostTerms method: if you pass True to the second arg, to group the terms by their parent taxonomy, only the first term is returned in the list. An example can be found here.
Cheers,
Peter

Fixed in the plugin in https://github.com/maxcutler/wp-xmlrpc-modernization/commit/b65445e6d9e18a80a4e15ee706123cfdb68e4719


Error: cannot import name 'LoRaSpi' from 'LoRaRF'

I was installing the network node from network folder  , but it throws this error when pressed run. Can anyone resolve it?

You must be following the current examples; but those were refactored (commit 67cb5c9) after the v1.4.0 release (commit 86572c3), so they reference a new API that doesn't exist in the published version.
You have two options:

Install the bleeding-edge version with:
pip3 install git+https://github.com/chandrawi/LoRaRF-Python.git

Note that you might get a No module named 'gpiod' exception with this version, so you'll need to be prepared to deal with that (installing python3-gpiod doesn't seem to be the right way, as I get the same module 'gpiod' has no attribute 'Chip' errors as in Issue #18).

Stay with the current v1.4.0, but reference the examples from that version.

Thank you for that, I followed the same.
but now it says,

Do you not have SPI enabled?
If you run ls /dev/spi*, you should see something like this:

...if not, then you don't have SPI enabled (and that's why you see a "file not found" error).

I am using raspberrypi Zero w with Lora module SX1262

Same!  And mine is working.
After looking closer at the error message, I see a reference to gpiod/chip.py, but you shouldn't be using a module called "gpiod," I don't think -- I don't have that in my environment, anyway.  Seems like your Python environment might be goofy.  But I'm just guessing, not sure what else to advise.

I'm using DietPi, 64-bit (bookworm).  But its Apt uses the Debian repos, so it'd be the same as Raspbian (or Raspberry Pi OS).  But I don't think this is an OS issue.
I just noticed that LoRaRF is using gpiod:
https://github.com/chandrawi/LoRaRF-Python/blob/67cb5c96fd4bb95db57e176590ced4b78b3f1192/LoRaRF/base.py#L2
... so I was half-way wrong earlier.
So what happens if you run this?
python3 -c "import gpiod; print( gpiod.__file__ )"

For me, it returns /usr/lib/python3/dist-packages/gpiod.cpython-311-aarch64-linux-gnu.so -- a compiled shared object, not a straight Python file (which is consistent with what the Debian package installs for my system).
I would expect yours to return /usr/lib/python3/dist-packages/gpiod.cpython-311-i386-linux-gnu.so, and if so, then maybe just delete ~/.local/lib/python3.9/site-packages/gpiod?

Thanks @MaffooClock I resolved the issue by following above steps, and succesfully transmitting and receiving data.
Now i want to send the list of floats but it is showing the error Type error.
I have mentioned it in issue 13 /issue #21
Can you help about it?

I'm using DietPi, 64-bit (bookworm). But its Apt uses the Debian repos, so it'd be the same as Raspbian (or legacy Raspberry Pi OS). But I don't think this is an OS issue.
I just noticed that LoRaRF is using gpiod:
https://github.com/chandrawi/LoRaRF-Python/blob/67cb5c96fd4bb95db57e176590ced4b78b3f1192/LoRaRF/base.py#L2
... so I was half-way wrong earlier.
So what happens if you run this?
python3 -c "import gpiod; print( gpiod.__file__ )"

For me, it returns /usr/lib/python3/dist-packages/gpiod.cpython-311-aarch64-linux-gnu.so -- a compiled shared object, not a straight Python file (which is consistent with what the Debian package installs for my system).
I would expect yours to return /usr/lib/python3/dist-packages/gpiod.cpython-311-i386-linux-gnu.so, and if so, then maybe just delete ~/.local/lib/python3.9/site-packages/gpiod?

MaffooClock,
Thank you for this. It helped me troubleshoot my issue as well. But I am running this in a virtual environment and deleting the gpiod directory from the virtual environment simply throws the below error
(weewx-venv) weewx@freedompi:~ $ python3 -c "import gpiod; print( gpiod.__file__ )" Traceback (most recent call last):   File "<string>", line 1, in <module> ModuleNotFoundError: No module named 'gpiod'
Contents of the gpiod directory
(weewx-venv) weewx@freedompi:~/weewx-venv/lib/python3.11/site-packages/gpiod $ ls -lrat total 324 -rw-r--r--  1 weewx weewx    195 Jul 10 13:22 version.py -rw-r--r--  1 weewx weewx   2222 Jul 10 13:22 line_settings.py -rw-r--r--  1 weewx weewx   6911 Jul 10 13:22 line_request.py -rw-r--r--  1 weewx weewx   1262 Jul 10 13:22 line.py -rw-r--r--  1 weewx weewx   2259 Jul 10 13:22 line_info.py -rw-r--r--  1 weewx weewx    503 Jul 10 13:22 internal.py -rw-r--r--  1 weewx weewx   1419 Jul 10 13:22 __init__.py -rw-r--r--  1 weewx weewx   1125 Jul 10 13:22 info_event.py -rwxr-xr-x  1 weewx weewx 256256 Jul 10 13:22 _ext.cpython-311-aarch64-linux-gnu.so -rw-r--r--  1 weewx weewx    545 Jul 10 13:22 exception.py -rw-r--r--  1 weewx weewx   1371 Jul 10 13:22 edge_event.py -rw-r--r--  1 weewx weewx  10956 Jul 10 13:22 chip.py -rw-r--r--  1 weewx weewx    476 Jul 10 13:22 chip_info.py drwxr-xr-x  2 weewx weewx   4096 Jul 10 13:22 __pycache__ drwxr-xr-x  3 weewx weewx   4096 Jul 15 12:40 . drwxr-xr-x 52 weewx weewx   4096 Jul 15 12:48 ..
How do I get my program to pick up /usr/lib/python3/dist-packages/gpiod.cpython-311-aarch64-linux-gnu.so when I'm working in a virtual environment? I have tried creating a link, but that doesn't work either.


Point CS to the correct resource group holding the regional DNS zone

What this PR does
Currently, we cannot create ARO HCP clusters in the dev environment because CS returns:
"description":"PUT https://management.azure.com/subscriptions/1d3378d3-5a3f-4712-85a1-2485495dfc4b/resourceGroups/aro-hcp-dev/providers/Microsoft.Network/dnsZones/westus3.hcp.osadev.cloud/NS/aro.mshen.pdu9
--------------------------------------------------------------------------------
RESPONSE 404: 404 Not Found
ERROR CODE: ResourceGroupNotFound
--------------------------------------------------------------------------------
{\n  \"error\": {\n    \"code\": \"ResourceGroupNotFound\",\n    \"message\": \"Resource group 'aro-hcp-dev' could not be found.\"\n  }\n}
--------------------------------------------------------------------------------"

but the DNS zone has been moved to aro-hcp-dev-westus3. I am not 100% certain if this is the right place for the fix.

a go work sync

Wrong thing to do, #386 demonstrates the fix


Story list styling

This PR contains improvements to the styling of the main list of stories

Btw, let's also refer to the issues page with Hacker News App label when clicking HackerNews Help?

@rauanmayemir I'll add an issue for the Menu item texts


XML  documentation shall start with a verb

Summaries shall start with a verb in 3rd tense (that is ending with a s).
Following is not acceptable:

this
as
...ss
needs
has
is

consider ts, ds and es as detection for the verb form.


Dev days update

Docs Build status updates of commit f994cc2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/mr-dev-days.md
:white_check_mark:Succeeded
View

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.


VSCode laggy when not run as administrator

Issue Type: Bug
When I run VSCode (Normal or Insiders), the behaviour is very laggy (Scrolling in files with even just 130 lines is a pain).
Previous reported issues have pointed at the window resolution (My screen is 3440x1440, I usually have it on one half of the screen) and making the window smaller seems to mitigate the issue, but for that I have to make the screen REALLY small (Like only seeing 3-4 lines at a time). I've tried to run it with --disable-gpu and with the built in GPU but nothing makes a notable difference.
Then I tried to run it as administrator and everything runs smoother than ever.
What can be causing this? Running it as an administrator is not a viable option as I use it with Unity and trying to open a file from it always shows the admin prompt.
VS Code version: Code 1.51.1 (e5a624b788d92b8d34d1392e4c4d9789406efe8f, 2020-11-10T23:34:32.027Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 x 2208)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.85GB (9.26GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions: none

I am also having this issue. After updating, there is a very noticeable drop in performance which makes working in any code frustrating.
The issue is especially noticeable when using keyboard cursor navigation between lines.
As the OP suggests, running as administrator seems to eliminate the lag.

This sounds like a duplicate of #107016 . If you close all instances of vscode and run code --disable-renderer-accessibility does the slowness disappear ?

Yes! That did it, I'll close the ticket and follow the other one. Sorry for the duplication 😅 and thanks a lot for the help!


Enable/disable autocomplete

It is now possible to disable autocompletion using --no-autocomplete command line argument and to toggle autocomplete using the \autocomplete crash command.

I think we should consider adding a generic command for options that change the behaviour of crash e.g \cset autocomplete on or \cset format dynamic
But ack anyway

I think that is a good idea @mfussenegger , especially in combination with a configuration file.
Guess that is something for a fun Friday evening with a pint ... 🤔

Some small fixes @chaudum

ACK


Results not displayed; empty entity

Hello,
I configured the bundle as indicated in the doc.
The thing is, my entities are using uuids as primary keys and name as text property, so here is what I did:
            $builder->add('category', Select2EntityType::class, array(
                'class' => Category::class,
                // [...]
                'primary_key' => 'uuid',
                'text_property' => 'name'
            ));

Here is the output from the controller used by the widget:
[{"uuid":"69d440fb-357a-440a-a932-0e71a203b085","name":"Some Category"}]

However, as I said, results are loaded (I checked in the brower console, everything is clear), and here is what happens. I tried investigating the problem, and found out that the $entity coming into EntityToPropertyTransformer::transform($entity) is empty.
Any clue?

I have the same problem :(

as far as i can tell, a "text" property MUST be returned by the AJAX response. and the text_property has no effect if you're loading remote data.


typo in word

Changes proposed:

replaces reades to readers

Coverage remained the same at 86.441% when pulling ef59cd0962ea1ba3410b31251cf4fef67243ce0a on lufego:patch-1 into 1563ece475e3d024679f839e7ab091578019aeeb on reactjs:master.

Thanks @lufego!


Covers aren't included

For sites that support it, a cover image should be downloaded and included in the epub.
If they don't include it, some simple cover-page should be generated. (title \n by author in big letters in the middle of the page? Probably acceptable.)

As of bff375a8e732a76ca71f6e609c3b8571b7773f6c covers are being generated. Still need to obtain covers for sites that have them.

Now: some covers are being included.


876 donate page

Needs the fixed site map to be viewed properly, done otherwise, will need a theme pass along with the rest.

Needs the fixed site map to be viewed properly, done otherwise, will need a theme pass along with the rest.

Is the site map fixed for this PR? How can I view the Donate page?

Yes the framework was there I just needed to have it activated.


Environment.driver only returns the first attribute.

The Environment.drivers function only returns the first attribute in a driver's list.
Example code:
use odbc_api::Environment;

let env = Environment::new ()?;
for driver_info in env.drivers()? {
    println!("{:#?}", driver_info);
}

This returns something like this:
[
    DriverInfo {
        description: "DB2",
        attributes: {
            "Driver": "/opt/ibm/db2/clidriver/lib/libdb2.so",
        },
    },
    DriverInfo {
        description: "DB2_LIBDB2",
        attributes: {
            "Description": "DB2 Driver",
        },
    },
    DriverInfo {
        description: "ODBC Driver 17 for SQL Server",
        attributes: {
            "Description": "Microsoft ODBC Driver 17 for SQL Server",
        },
    },
]

However, each driver has more attributes than just the first one and should look more like this:
[
    DriverInfo {
        description: "DB2",
        attributes: {
            "dontdlclose": "1",
            "Description": "DB2 Driver",
            "fileusage": "1",
            "Driver64": "/opt/ibm/db2/clidriver/lib/libdb2o.so",
            "Driver": "/opt/ibm/db2/clidriver/lib/libdb2.so",
        },
    },
    DriverInfo {
        description: "DB2_LIBDB2",
        attributes: {
            "Description": "DB2 Driver",
            "Driver": "/opt/ibm/db2/clidriver/lib/libdb2.so",
            "fileusage": "1",
            "dontdlclose": "1",
            "Driver64": "/opt/ibm/db2/clidriver/lib/libdb2.so",
        },
    },
    DriverInfo {
        description: "ODBC Driver 17 for SQL Server",
        attributes: {
            "Description": "Microsoft ODBC Driver 17 for SQL Server",
            "Driver": "/opt/microsoft/msodbcsql17/lib64/libmsodbcsql-17.10.so.5.1",
            "UsageCount": "1",
        },
    },
]

From what I can tell, let attributes = attr_buf.to_utf8() is truncating to the first null found, and the attributes_iter isn't doing anything more with the input as a single null-terminated item.
https://github.com/pacman82/odbc-api/blob/604e335fc1591495e49da3a4345d2b7c89bcb331/odbc-api/src/environment.rs#L520-L523

Hello @keraion
odbc-api 6.0.1 has been released including a fix which should list all attributes. Thanks for reporting the issue and drilling into the cause of the error.
Best, Markus


Organize flairs

Maybe organize isn't the right word but what ever.
I have 30+ link flairs and sometimes I need to add a flair in the middle of them all. (That way when selecting a flair people don't have to go hunting for the flair. It's in the same place as the other ones like it are.)
The only way for me to do this is by adding a new flair and moving all the existing ones down. This takes a long time and is very frustrating.
It would be nice to be able to just drag and drop the flairs to where I want them. Or just be able to click add beneath an existing flair.

I've thought about a feature like this for a long time because I frequently new flair to /r/leagueoflegends. The problem is it would have to do exactly what you do manually, which isn't exactly a good method. As useful of a feature as it would be, it suffers from usability issues (having to wait 15 minutes to move a flair) only fixable by the admins or anyone willing to create a pull request.

15 minutes?
When does it limit you to 15 minutes? I haven't been limited yet? It does limit me for about 2 seconds each time I save a flair though.

reddit has ratelimits for API actions.  So you could end up hitting one and have to wait for 10 mins.
But that's not the only issue.
Keep in mind, as implemented, this feature would be a simple drag action for the user   Behind the scenes toolbox would be deleting and creating every flair again.  So if you move a flair up 20 spots, toolbox would have to delete and create 20 flairs.  That's 40 API calls.

When does it limit you to 15 minutes?

I'm using this as a example use case based on the only subreddit I would use it in: /r/leagueoflegends. There, flair is split into two groups, and each group is around 130 flair in size. The first group is kept in alphabetical order and is the one most frequently modified. In the best case — new flair starting with Z — only 130 flair have to be removed and re-added for a run time of 8.7 minutes at the required rate limit of 2 seconds. In the worst case — new flair starting with A — around 260 flair have to be removed and re-added, resulting in an impressive 17.4 minute run time. The average is about 13 minutes.

I would be fine with waiting, but I do understand how it would be a problem. And see why this wouldn't be added.


Fix typo in the filename.

The filename is not correct there is a typo there.

Can you submit this in Gerrit?  Code development should all go through Gerrit as the sync is only from Gerrit->GH.


Update subpar dependency (2018-03-07)

This updates the subpar dependency to 0356bef3fbbabec5f0e196ecfacdeb6db62d48c0, which works with --incompatible_remove_old_python_version_api in Bazel 0.23.

FYI this flag will be flipped in Bazel 0.25, which will be released mid-April.
If you want to stay on top of future Bazel changes, you may want to look into getting coverage added to Bazel's downstream projects CI at ci.bazel.build.

Flipping the flag at head bazel now.

I also sent https://github.com/google/containerregistry/pull/135 back in January, no news from the maintainers. :(
cc @KaylaNguyen, @dekkagaijin, @jonjohnsonjr


lookupValidator returning undefined or invalid object

Hello,
I'm trying for first time ember-cp-validations, and I'm having a hard time making it work.
Right now I've not been able to validate any object of my application (models or components); when I call the validate method I'm always getting this error: Cannot read property 'getDependentsFor' of undefined. I'm not using custom validators, I'm trying with: 'presence' and 'number'.
It seems that var Validator = type === 'function' ? _emberCpValidationsValidatorsBase['default'] : lookupValidator(owner, type)['class']; is returning undefined.

I've tried to avoid the call to getCPDependentKeysFor setting volatile: true in the declarations of the validators but the error becomes:
lookupValidator(...).create is not a function

It looks like lookupValidator is not returning the right kind of object (like it's shown in the image above).
Ideally I'm looking to validate an Ember.Component, but it'll be ok if at least I could validate EmberData models. I don't know if I'm doing something wrong, but if I am, any help would be appreciated.
Environment

Ember Version: 2.4.3
Ember CLI Version: 2.4.3
Ember CP Validations Version: 3.2.4

Steps to Reproduce
Following the Basic Usage steps in the Docs. Validations object it's declared in a separate file and imported later.

Just a minute ago I found what looks like a similar problem in Stackoverflow: https://stackoverflow.com/questions/37931211/setup-for-ember-cp-validations, I'm leaving the link if the discussions should be moved there instead

Like in the stackoverflow post, another library was interfering with the lookupValidator method of ember-cp-validations. In my case it was jspdf .
I'm closing the issue by now, in case someone else has the same issue, first try to inspect what lookupValidator returns so you can find which library is interfering.


Update Logic for Checkout

It appears that NVIDIA recently update their checkout logic to remove the quick checkout link, using this other projects work
https://github.com/jef/nvidia-snatcher/pull/108/files
I plan on trying to do something similar most likely with ChromeDP.

Update completed, migrated to using chromedp and manual checkout automation.


In CreateSecureChannelListenerRequest, the vault parameter should be renamed to vault_name

Current behavior
The vault field of the CreateSecureChannelListenerRequest struct is not named properly.
Desired behavior
The vault field of the CreateSecureChannelListenerRequest struct should be vault_name and all its uses should be fixed accordingly to use the new field name.
Implementation details
This is the argument that must be changed:
https://github.com/build-trust/ockam/blob/3bccb9d66b5ff8fe08d0eba351aeec2aced52281/implementations/rust/ockam/ockam_api/src/nodes/models/secure_channel.rs#L79

Some tips for newcomers:

Create a new branch for the issue you are working on (don't push directly to your fork's develop branch)
Run cargo fmt. You can configure the editor to run it automatically everytime a file is saved
Run cargo clippy to make sure the code compiles + follows rust standards/best practices
You don't need to keep your branch updated with develop until there is a merge conflict. If you still want to update it, use git rebase develop instead of gir merge develop

We love helping new contributors! ❤
If you have questions or need help as you explore, please join us on Discord. If you're looking for other issues to contribute to, please checkout our good first issues.

I want to contribute. Please assign me

Please assign to me


[Workflow] Treat all warnings as errors

This pull request updates our build and test workflow to compile with as many practical warning flags as possible. For MSVC, this includes /W3 and /WX. For all other compilers, this includes -Wall, -Wextra, -Wpedantic, and -Werror.
Files have also been modified to fix any new warnings emitted. Three classes of warnings have been patched:

Unused parameters: in many instances, tf::Subflow was not being used, causing recursive calls to not be parallelized. This occurs elsewhere in the code, and has thus not been fixed. Rather, the warnings are suppressed by excluding the parameter name.
Different signedness: trivial change from int to unsigned int (should really be size_type).
Unused variable: in Exponent.cpp, there is an unused variable that may or may not be intentional.

@matthew-mccall can you take a look the tf::Subflow changes? I know that it's not the correct behavior, but we can create an issue to address it down the line.
@404Naz can you take a look at src/Exponent.cpp and see if the unused variable is intentionally unused?


Benchmarking methods: data simulation

dealing with the increasing number of methods
So we have plenty of great ideas for implementing some data analysis tools and use our features.
However, we reached also some interesting limitations on some situations, e.g.

Detecting electrode deconnection, see #16 , #23 (or other artifacts)
Detecting bad electrode

There are an amazing amounts of methods that could deal with those problem. However, what we are interested, instead of applying a method and hoping it works, to have continuous validated learning, i.e. being able to quickly know if our method works and quantify the success.
my proposal:

each described issue should have a quantified effect on our exiting pipeline (e.g. "we observe that more than 50% of the electrode deconnections are classified as bursts").
each issue should have a least of hypothesis (e.g. "electrode deconnections increase instantaneous power to over 100 times the baseline which is higher than the burst threshold of 2")
we give a short list of solutions with expected results (e.g. "the amplitude thresholding classifier should have also an higher threshold and will reject any amplitude higher than 20 times the baseline")
we should associate a simple benchmark to this issue that will return the concrete result ("e.g. from 50% of the electrode deconnections, only 5% are now missclassified as burst without modifying the burst detection")
all methods should be automatically benchmarked when developed. We should be able to tell at any given time how they are doing against competing methods if they needs to be developed.
one simple way to do that will be to apply very simple data simulation and using a pytest-like scheme to bechmarked the related methods. MOABB is a very good example of the kind of thing that might be great (but it is case it is a bit overkilled).

why making this so much complicated?
I understand that it seems completely overkill to develop such complicated framework to develop ONE feature, however let me give my experience:

I developed dozen or even hundred of artefacts cleaning/rejecting/cancelling methods in my career. While most looks very nice and very fancy when I was working on then, none stayed for long. Why ? Was I developing always better and better methods ? Probably not... The sad reason is because I had no way to compare then easily (without spending hours of data comparison). So it was easier for me to just say "oh well, it works nicely. It looks better than the previous method".
we need to end that cycle of developing tones of fancy methods that are no clear way to be bench marked. We need to know exactly why and how our methods influence our pipeline.
I believe that if we have this architecture of continuous benchmarking, each method developed will be truly useful for a long time and won't be rotting somewhere after we published.

Ok I approve !

won't do it here, out of scope of this project


ci: make gen-code work properly

What type of PR is this?

/kind bug
What this PR does / why we need it:
make gen-code work properly, also git rid of GOPATH
Which issue(s) this PR fixes:
Fixes #510
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

/approve

/label tide/merge-method-squash

/lgtm