kbfs not allowing laptop to suspend

System

KUbuntu 18.04
4.15.0-23-generic kernel
keybase version 2.1.0-20180615162035+8625b772b1

What happens
With keybase running, if I access kbfs (either through the terminal or file explorer) and go about my day, when I attempt to suspend my laptop, the system locks, then kind of hangs, then wakes back up. Exploring the syslog, I found that something to do with fuse was causing it. See the log below.
I then killed all of keybase doing the following:
$ killall Keybase
$ fusermount -uz /keybase
fusermount: entry for /keybase not found in /etc/mtab
$ killall keybase
$ killall kbfsfuse

I'm able to suspend my PC now just fine. It's essentially every time I access kbfs that this occurs.
Jun 19 16:50:53 devel systemd[1]: Starting Suspend...

Jun 19 16:51:13 devel kernel: [28295.494617] Freezing user space processes ...

Hmm, that's frustrating.  I see a matching kernel bug report for FUSE: https://bugzilla.kernel.org/show_bug.cgi?id=198879
But I've never experienced myself on this on windows.
For the record, unless you've changed the default Keybase config, /keybase is redirector mount that's run by root, and there's another mountpoint running at something like /run/user/1000/keybase/kbfs.  But killall kbfsfuse should take care of that one.
If you have open terminals or explorer windows under KBFS, does it help to back out of them first before you try to suspend?

@nunofernandes You can use my script to help. I haven't experienced the issue since I wrote this:
https://gist.github.com/psidhu/a65ab9632bd6c6d400ea3fe25e959fa0
Near the end, change ${TODO_CHANGE_THIS_VAR_TO_YOUR_ACTUAL_USER_NAME_MANUALLY} to your username, e.g. nunofernandes. Place the script into /lib/systemd/system-sleep/keybase-suspend and mark it executable.
I've only tested this on Ubuntu 18.04.

What I did on systemd system (Debian unstable):
Created<EMAIL_ADDRESS>file based on nice recommendations in Arch Wiki "suspend/resume" and "Combined Suspend/resume service file" chapters.
[Unit]
Description=Stop/Restart kbfs before suspend (bug #12458)
Before=sleep.target
StopWhenUnneeded=yes

[Install]
WantedBy=sleep.target

[Service]
User=%I
Type=oneshot
Environment=XDG_RUNTIME_DIR=/run/user/%I
ExecStart=-/bin/systemctl --user stop kbfs.service
ExecStop=-/bin/systemctl --user start kbfs.service
RemainAfterExit=yes

sudo systemctl daemon-reload

Then I enabled it for my desktop user id (1000 on a typical system, find with id -u):
sudo systemctl enable<EMAIL_ADDRESS>
Unfortunately, in order for this to work, kbfs.service needs to support stop command. Either https://github.com/keybase/kbfs/pull/1877 should be merged and released first or you can create a systemd drop-in in the meantime:
/etc/systemd/user/kbfs.service.d/10-stop.conf
[Service]
ExecStop=-/bin/sh -c 'fusermount -uz "$(keybase config get -d -b mountdir)"'

systemctl --user daemon-reload

This should unmount kbfs fuse filesystem before suspend (stop kbfs systemd-user service) and remount it back (start kbfs systemd-user service) once machine wakes up, hence avoiding hitting this  kernel bug. The problem with this solution is that it is not really suitable for multiuser systems as keybase-suspend@ system scope systemd must be explicitly enabled for all users. But it should be fine for typical desktop/laptop usage.

It seems that the kbfs FUSE filesystem not returning a result from statfs() promptly is also indirectly preventing Flatpak apps from starting while kbfs is mounted in a top-level directory like /keybase (flatpak/flatpak#5496).
FUSE filesystems should really be prepared to return a result from statfs() at any time, even if that means reading a possibly out of date answer from a cache. Other user-space components like Flatpak cannot reliably recognise FUSE filesystems without that working, because statfs() is precisely how we find out that it's a FUSE filesystem in the first place.
If this is causing a kernel hang during suspend, then I think that's additional evidence that whatever kbfs is doing in its statfs() implementation, it's more complicated than what the kernel expects to be valid to do there.

Can confirm issue reproduces on Ubuntu 22.04 LTS with Keybase and flatpak installed, and restart keybase-redirector and kbfs service workarounds the issue temporarily as mentioned in https://github.com/flatpak/flatpak/issues/5496#issuecomment-1712653275
# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.3 LTS"

# uname -a
Linux roach 6.1.0-1027-oem #27-Ubuntu SMP PREEMPT_DYNAMIC Mon Nov 20 15:08:14 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

https://github.com/flatpak/flatpak/issues/5496#issuecomment-1869387581


Make agent install strat MachineNetwork optional.

This field cannot be used with VIPDHCPAllocationMode false. We will have to handle it in validation.
cc @filanov

/assign @suhanime

/lgtm


Add TOCs support

Pull Request Test Coverage Report for Build 274266375

52 of 99 (52.53%)  changed or added relevant lines in 7 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-18.8%) to 60.417%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/services/Pdf.ts
21
28
75.0%

src/util/index.ts
22
37
59.46%

src/util/pdf.ts
5
30
16.67%

Totals

Change from base Build 268445692:
-18.8%

Covered Lines:
114

Relevant Lines:
177

💛  - Coveralls


Update series.ts

Description
This change would allow using as const
const weekdays = [
    'monday',
    'tuesday',
    'wednesday',
    'thursday',
    'friday'
] as const

const weekdaysSeries = series( weekdays )

or
const weekdays = series( [
    'monday',
    'tuesday',
    'wednesday',
    'thursday',
    'friday'
] as const )

Fixes
Currently in the docs you have:
type Weekday = 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday'

const weekdays = series<Weekday>([
  'monday',
  'tuesday',
  'wednesday',
  'thursday',
  'friday'
])

But this is not needed duplication of the list of weekdays

Hi @JacobWeisenburger, your fix is available in radashi@beta today (see #14). An official release is pending. We'd love to have you participate in the discussion and/or development of the radashi-org/radashi fork. 😄


Question: PCB & Plate Thickness

What thickness do you recommend when manufacturing the PCB and plate?

1.6mm for both pcb and plate.


Hooks api

Published<EMAIL_ADDRESS>(or bs-react-intl@next) with hooks api support.
~But it won't work as is due to react-intl itself doesn't support new context api yet.~
~To make it consumable, react-intl must be resolved to the fork.~
~You can do this via webpack config:~
UPDATE: Latest bs-react-intl beta works with the latest react-intl beta and supports hooks out of the box.
P.S. Old api is still available via ReactIntlCompat.

@cknitt Can you take a look at 2 recent commits before the next beta?

@cknitt It looks like it's ready to go. Should we wait until stable react-intl release?

I will create another PR to update the README of the hooks branch (updating the "Status" section).
Then the hooks PR could be merged into master, and we could release 0.9.0-beta.3.
And as soon as the stable react-intl 3.0.0 release is here, we can release a stable bs-react-intl 0.9.0.


Add decoding

It would be very nice if this package (or such a package) would implement plug-n-play firebase custom token JWT decoding.

@JaapWeijland did you try adding the option --decode or -d ?


Update banner

Short and sweet PR to update the banner with a more specific label for the package.
Closes #110

Passed all tests.


Blog Post Image for Release Notes 1.7

Related Issue
No response
Description
Considerations:

Where the image will be displayed/shared: blog post
For next week's Release Notes, it would be great to have an image showcasing the new highlights of the 1.7 release.
The highlights for the image are:

Presenting Remote Node-RED Editor Access for Devices
Introducing DevOps Pipelines

Inspirations:
/blog/2023/04/images/release-1.6.0.png

I'll need this image for Thursday morning please.

Uploaded to: https://drive.google.com/open?id=128V2unmWcDp6nVBoR7ataHjAyM4DLQ2d&authuser=joepavitt%40flowforge.com&usp=drive_fs


ci: use node 15 & use bahmutov/npm-install for caching

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

https://nodejs.org/en/about/releases/

Remove Node 10 and add Node 15 (current)
use bahmutov/npm-install for npm install caching. Looks much easier than what we do today, and probably will work better.

The build fails.

fixed


mdbook has issues with unlisted pages

see https://friends.threefold.info/habaricloud/legal/terms_conditions_all3.html
(planet/first)
the terms and conditions are not used in any page, yet still if produces this problem,

i don't understand where the issue is, can you be more specific? what do you mean by "this problem" ??

@MarioBassem
hero mdbook adds pages in the additional pages section. But some of those added pages are not in SUMMARY.md nor in any other page (e.g. intro.md is not in summary but you call it in page.md, then it will be added in the additional page). But Kristof says some pages are not in SUMMARY.md or anywhere else, but they still appear in the additional page.
My bet is that we can fix this issue around here: https://github.com/freeflowuniverse/crystallib/blob/323262e236927c370af24e23d71451ae2097bf16/crystallib/webtools/mdbook/mdbook.v#L124
I hope it's clear!

@Mik-TF if you have an example book with the issue that would be great too :D

I think a good example is provided by Kristof at the link above:
see https://friends.threefold.info/habaricloud/legal/terms_conditions_all3.html
username: planet, password: first
Let me know if this is sufficient.

i believe this is a non-issue. if page A is in summary, and mentions page B, page B is added to unlisted pages, page B is then explored, and all pages mentioned in it will also be added to unlisted pages, and so on...


Add !8ball plugin

Requested by @eudaldca , thought it was a cool project to start on python: tested the basics on PyCharm and it should work perfectly fine.

:+1:

Just address the two comments made and squash your commits together if you can. Thanks for the help! Always open to more features.

@Plastix Done :smile: :8ball:

I squashed your commits together and merged with 593941ec42918a389a348a5d35e8c5033bb34e73. Thanks! :+1:


fix(RHINENG-11380): hotfix for the case when object names are absent

Fixing bugs mentioned in these tickets
https://issues.redhat.com/browse/RHINENG-8850
https://issues.redhat.com/browse/RHINENG-11380

Codecov Report
Attention: Patch coverage is 0% with 5 lines in your changes missing coverage. Please review.

Please upload report for BASE (master@ef55434). Learn more about missing BASE report.

Files
Patch %
Lines

...ts/ExpandedRulesDetails.js/ExpandedRulesDetails.js
0.00%
5 Missing :warning:

Additional details and impacted files
@@           Coverage Diff            @@
##             master    #772   +/-   ##
========================================
  Coverage          ?   7.63%
========================================
  Files             ?      68
  Lines             ?    3942
  Branches          ?     858
========================================
  Hits              ?     301
  Misses            ?    3641
  Partials          ?       0

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

lgtm

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


can crd support url service type?

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you expect to see?
spec:
  entryPoints:
  - web
  routes:
  - kind: Rule
    match: Host(`whoami.com`) && PathPrefix(`/`)
    middlewares: []
    services:
    - kind: Url
      name: http://<IP_ADDRESS>:80

can crd to support url services kind in k8s? thks

Hi! I'm Træfiker :robot: the bot in charge of communication regulation.
Thanks for your interest in Traefik!
We dedicate the issue tracker to bug reports and feature requests only. My advanced AI has spotted that your issue might be a configuration problem or relates to something that doesn't look like a bug.
To confirm this, please join our Community Forum and reach out to us on the Traefik section.
In case I'm wrong (well, that would be embarrassing :sweat_smile:), my developers will re-open the issue and fix me!
In the meantime, you can double check Traefik's documentation.

/re-open


Dark theme not loading initially

On version 0.20.0 the dark theme is not applied, if I reload the page.
https://svelte-babylon.netlify.app/docs/introduction/getting-started#creating-a-project
The mode is correctly being set in the localStorage

I don't see the color scheme script in your <head> tag. Add the following to src/app.html inside the <head>:
<script>
  const key = 'svelteness::color-scheme';
  const scheme = localStorage[key];
  const prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
  if (scheme === 'dark' || (scheme !== 'light' && prefersDark)) {
    document.documentElement.classList.add('dark');
  } else {
    document.documentElement.classList.remove('dark');
  }
</script>

Ah yes this should work, but wouldn't it be better to place this code directly in an onMount function of maybe https://github.com/svelteness/kit-docs/blob/main/packages/kit-docs/src/lib/components/layout/KitDocs.svelte?

If you do that the color will flicker from light theme to dark and look odd. The theme has to be set before anything is rendered.

Makes sense, thanks


how use changePresence

Describe your problem here.
yeah i wanna know how to use it
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

For reasons I don't really know nor understand yet, the Lua call to it is apparently changeDiscordPresence() when I tried it previously, not sure how the timestamp for the timers/time elapsed works much, but based on the source file --
public static function changePresence(?details:String = 'Just Vibing', ?state:Null<String>, ?smallImageKey : String, ?hasStartTimestamp : Bool, ?endTimestamp: Float)
-- it works similarly to this -


Android OpenGLES native example not threadsafe?

The sample code, provided by Visual Studio 2019, 2022, does not appear to implement methods to call OpenGLES on the OpenGLES thread created when the surface is created.  Instead, it calls its rendering APIs on the UI thread, which is inherently unsafe, and unsuitable for anything but the simplest tasks, which may conveniently dodge threading issues.
All that should be needed, to remedy this issue, should be to implement callbacks for the nativeRedrawWindow and nativeResizeWindow mechanisms in the native glue, and properly comment them, to note that all GLES calls must be made inside those function scopes, along with the create and destroy windiw scopes.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: e9d1fa38-809e-5525-1241-d2dca23c705d
Version Independent ID: a3b2385f-5cf3-7ac6-ebce-d71dc39c83d9
Content: Build an OpenGL ES application on Android and iOS
Content Source: docs/cross-platform/build-an-opengl-es-application-on-android-and-ios.md
Product: visual-cpp
Technology: cpp-tools
GitHub Login: @corob-msft
Microsoft Alias: corob

@mdmcgrath
Thanks for the report. It took me some time to install the relevant software to determine that you were referring to the template-generated code. I believe, given the copyright notices reproduced in the source files, that the code in question is actually quoted from the NDK samples available at the time the template was created. At any rate, the Visual Studio templates are not part of the documentation team's content. We can't address the product issue you've raised here, so I'm closing it. To bring your issue to the attention of the development team, you should make your suggestion on Developer Community, where it will be seen by the people who can do something about it. Best of luck!


Is there a way to tag files so that Hygen is not allowed to change a part of a file?

Let me explain.
Let's say that we code generate a Standard file, let's pretend a file with all the attributes in an entity.
Then someone makes a customization in that file adding an attribute.
The next time we code generate we don't want to overwrite that customization.
Then we would like to tag the customization to avoid overwriting it.
Is this possible within Hygen?
Great tool anyway!
regards
Håkan

@haarse did you check unless_exists: true option?

Tidying up and closing, feel free to reopen if still relevant


fix: added support for new attributes in Session model

Fixes #1756
Changes:
Added support for new attributes in Session model.
Screenshots for the change:
@iamareebjamal @Shailesh351 @shreyasnbhat @rohanagarwal94
please review.

@iamareebjamal please review now.

Guys please review.

@iamareebjamal
made changes. please see.

please check if this is the way.

sorry guys. changing it in a while.

@iamareebjamal @Shailesh351
please review now.

@mariobehling @the-dagger
please review and merge.


EXC_BAD_ACCESS in PluginCircle.m

I'm submitting a ...  (check one with "x")
[ ] question
[x] any problem or bug report
[ ] feature request
The plugin version:  (check one with "x")
[ ] 2.0-beta3 (github)
[x] 2.0 (npm)
If you choose 'problem or bug report', please select OS:  (check one with "x")
[ ] Android
[x] iOS
cordova information:  (run $> cordova plugin list)
branch-cordova-sdk 2.6.15 "branch-cordova-sdk"
com.googlemaps.ios 2.4.0 "Google Maps SDK for iOS"
cordova-custom-config 4.0.2 "cordova-custom-config"
cordova-plugin-compat 1.2.0 "Compat"
cordova-plugin-console 1.1.0 "Console"
cordova-plugin-device 1.1.6 "Device"
cordova-plugin-facebook4 1.9.1 "Facebook Connect"
cordova-plugin-firebase 0.1.24 "Google Firebase Plugin"
cordova-plugin-googlemaps 2.0.11 "cordova-plugin-googlemaps"
cordova-plugin-googleplus 5.1.1 "Google SignIn"
cordova-plugin-inappbrowser 1.7.1 "InAppBrowser"
cordova-plugin-inapppurchase 1.1.0 "In App Purchase"
cordova-plugin-nativeaudio 3.0.9 "Cordova Native Audio"
cordova-plugin-network-information 1.3.3 "Network Information"
cordova-plugin-splashscreen 4.0.3 "Splashscreen"
cordova-plugin-statusbar 2.2.3 "StatusBar"
cordova-plugin-whitelist 1.3.2 "Whitelist"
ionic-plugin-deeplinks 1.0.15 "Ionic Deeplink Plugin"
ionic-plugin-deploy 0.6.7 "IonicDeploy"
ionic-plugin-keyboard 2.2.1 "Keyboard"
phonegap-plugin-barcodescanner 6.0.8 "BarcodeScanner"
Current behavior:
After the map is initialised a bunch of circles is added to it using:
this.earthMap.addCircle(circleOptions)
8/10 times everything works fine, but in the remaining cases the app crashes with an error displayed on the screenshot (see attachment).
Expected behavior:
No crash every time. :)
Steps to reproduce:
The issue is intermittent; it is unclear how exactly to reproduce it.
However, it seems to be caused by calling addCircle after the map is initialised, e.g.:
this.earthMap = this.googleMaps.create(mapNode, options);
this.earthMap.on(GoogleMapsEvent.MAP_READY).subscribe(
() => {
//addCircle called here
}
);
Screen capture or video record:

It seems your code has problem, probably the values you specified.
Please share your project files on github. I will check it.

Sorry, can't share the project (trade secrets :)), but which values could possibly cause this?
There are only two arguments used on this line of code (position and radius); both of which remain static and work 80% of times without any issues.
You can see that I've supplied the radius of 15 and the redacted position is a correct decimal as well (e.g. 40.83669 and 14.23544) and these values don't change in my code.

Sorry, can't share the project (trade secrets :)), but which values could possibly cause this?
There are only two arguments used on this line of code (position and radius); both of which remain static and work 80% of times without any issues.
You can see that I've supplied the radius of 15 and the redacted position is a correct decimal as well (e.g. 40.83669 and 14.23544) and these values don't change in my code.

You can't share your project files?, then I can't help you. Because there is no problem on my side. I'm so busy. Sorry, I don't have enough time playing quiz with hidden code.

Your code is provided as an official google maps solution for the Ionic framework, used by thousands of developers online, and this is your response?
You may choose to deny the existence of this problem, but it doesn't mean that it will go away. There is an intermittent crash in creation of circles, regardless of whether you choose to believe in it.
If you decide to ignore my report and pretend that there is no issue with your project - that's your choice, I have no problem with that.
In any case, my report was a courtesy to you, not a privilege; I will be writing my own version of this plugin.
Thank you.


Forum search result page - Dropdown items are not readable if they are selected or hovered

Describe the Issue
On forum search result page, dropdown items are not readable if they are selected or hovered.

Affected Page
https://forum.freecodecamp.org/search?q=javascript
Steps to Reproduce

Go to the page and click on a dropdown menu
Check how the items are displayed

The issue is reproducible on Chrome, Firefox, and Safari.
System

Device: Laptop
OS: macOS Sonoma
Browser: Chrome 121, Firefox 123, Safari 17

FYI, this is a failure of WCAG 1.4.3 Contrast (Minimum).


Run tests in parallel in CI

Should be worthwhile to try...

I've never seen that error before. Hmp...

Yeah, I've had very mixed experiences with pytest-xdist. We used to have it with brotlipy and I removed it for this exact reason. Wasn't really interested in spending the time to debug it. If you are, of course, then go for it!

Closing this as stale, if this is still important please reopen and rebase the branch.


what is the input image normalization?

just rgb [0-1]? or the 'usual' imagenet mean/std normalization?

See https://github.com/ozanciga/self-supervised-histopathology/issues/2

Thanks!
Just added the zero-mean normalization, but I am still seeing some strange predictions. I'm testing the model on some local x40 WSIs. Seems like it only predictions two of the classes. So I assume something is wrong in preprocessing. Which magnification is suitable for this model? Should it work for all image planes x40, x20, x10, or is it better on one specific magnification level? Also, can I assume that no stain normalization was performed? From the paper it seemed like you did color augmentation, so I guess stain normalization was not used?

make sure to apply the exact normalization on #2
i'm not sure what you mean by predictions? this is a pretrained model. you cannot use it for classification directly without fine tuning. in which case, you should see reasonable outputs regardless of the preprocessing (fine tuning should quickly adjust parameters to match your normalization)
if i remember correctly we pretrained on multiple resolutions, but then again, the actual results depend on your problem. fine tuning should still help
no stain normalization

Hi~
It is very nice work!  I have a little puzzle and would like to consult you.
How can a self-supervised model pretrained on Resnet18 be transferred to Resnet34, Resnet50 and Resnet101?
Considering that the network structure of the former and the latter three is completely different, and I wonder how you transfer parameters between different models.
Looking forward to your reply! Thanks.


Content show page

Motivation and Context
To support content show page:

additional predefined content sections needed.
additional endpoints to retrieve pages and sections.

Description

Add SRGContentPresentationTypeAvailableEpisodes and SRGContentPresentationTypeTrendingShowsByTopic content presentation types.
Add "Retrieve a page of content for a specific show" request.
Add "Most popular shows for a topic" request.
Add topics property to SRGShow, list of related topics.

Checklist

[x] The branch should be rebased onto the develop branch for whole tests with nighties.
[x] The documentation has been updated (if relevant).
[x] Issues are linked to the PR, if any.

Missing topics property to SRGShow, list of related topics, added.


Add gui knobs

Add gui knobs to control floor, colors and lights to mimic GUI functionality

Great, thanks @AlbertoCasasOrtiz 👍


Automated GHA checks are not run

This should be configured.
The .github/workflows/ file is there and all seems like in mia and other packages. But the runs do not activate with PRs, unlike in the other packages.
Some leads might be here.
Solve and also report the solution here.

This also seems to concern automated website updates which explains issue

@YagmurSimsekk any chance to give it a try?

It seems to be in sync with the main branch, at least the functions are.

Ah it seems that .github/workflows is missing from main branch. This may explain. I will add it now.

Not working, see PR #39

Ok solved by #39 now


Base64 String Encoding for Signature

This pull requests adds one set and some get methods (the equivalents to the ones already defined to work with bitmaps) for getting the signature encoded in a Base64 string format.
The idea is to make it easier when sending/getting signatures to/from a server through a webservice, avoiding the need to store them as images and write some logic on the server side to manage them.
Public methods added:

getSignatureBase64Encoded()
getTransparentSignatureBase64Encoded()
getTransparentSignatureBase64Encoded(boolean trimBlankSpace)
setSignatureBase64Encoded(String encodedSignature)

Private methods added:

bitmapToBase64(Bitmap bitmap): given a Bitmap object, returns it encoded as a Base64 string. It uses Bitmap.CompressFormat.PNG as a default (that could be easily parametrized anyway).
base64EncodedStringToBitmap(String encodedString): reverse case, given a Base64 encoded string, returns the Bitmap object.

Just ignore the README.md update, it was only prettended to be shown in my forked repository.

Hi Iuixal,
commits cannot be ignored when pulling.
In you fork you should create a branch that holds only the commit you want to be merged.
This will speed up the review and merge process.

Hi Lorenzo,
If you're interested in the Base64 feature, I'll make the branch and
another PRs, if you're not, please, tell me for saving that time.
Cheers!
El mar., 4 de agosto de 2015 18:41, Lorenzo Pini<EMAIL_ADDRESS>escribió:

Hi Iuixal,
commits cannot be ignored when pulling.
In you fork you should create a branch that holds only the commit you want
to be merged.
This will speed up the review and merge process.
—
Reply to this email directly or view it on GitHub
https://github.com/gcacace/android-signaturepad/pull/27#issuecomment-127668973
.

Hi Luis,
there is no hurry, my comment was just an advice, not a request. :)
I'm currently investigating different signing options and obviously the Base64 encoding will be a plus for android-signaturepad.
If I will decide to use this library and the PR will be still pending, I will cherry-pick from your fork without any problem.
Regards

Hi @luixal,
the SignaturePad view main purpuse is to provide a plain Bitmap. Any type of format conversion should not be part of that library. Thanks anyway for your suggestion, but I'd prefer to keep the library with basic features.


../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/photo_view-0.11.1/lib/src/core/photo_view_gesture_detector.dart:106:29: Error: The argument type 'PointerEvent' can't be assigned to the parameter type 'PointerDownEvent'.

mac@macs-Air ~ % flutter doctor -v
[✓] Flutter (Channel stable, 2.5.0, on macOS 11.4 20F71 darwin-x64, locale
    en-NG)
    • Flutter version 2.5.0 at /Users/mac/Documents/Developer/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4cc385b4b8 (2 days ago), 2021-09-07 23:01:49 -0700
    • Engine revision f0826da7ef
    • Dart version 2.14.0

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/mac/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.60.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.26.0

[✓] Connected device (2 available)
    • iPhone 12 Pro Max (mobile) • CDD00C1F-71D5-411D-8D11-74DE2986BFCF • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-4 (simulator)
    • Chrome (web)               • chrome                               •
      web-javascript • Google Chrome 93.0.4577.63

• No issues found!

after upgrading to 2.5 i keep getting this error, i have try the whole of yesterday i cant figure out where the error is coming from
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **
Xcode's output:
↳
    ../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/photo_view-0.11.1/lib/src/core/photo_view_gesture_detector.dart:106:29: Error: The argument type 'PointerEvent' can't be assigned to the parameter type 'PointerDownEvent'.
     - 'PointerEvent' is from 'package:flutter/src/gestures/events.dart' ('../Developer/flutter/packages/flutter/lib/src/gestures/events.dart').
     - 'PointerDownEvent' is from 'package:flutter/src/gestures/events.dart' ('../Developer/flutter/packages/flutter/lib/src/gestures/events.dart').
        super.addAllowedPointer(event);

@gbbest15
It seems to be pointing to 3rd party plugin photo_view which might have affected after Flutter's latest stable version.
You'll need to ask this in plugin's dedicated repo: https://github.com/bluefireteam/photo_view/issues
Check this issue comment for your reference and why you are getting the error.
Closing from here, as this isn't a Flutter issue.


Code Review : featurizer.py, softmax.py , DatabaseWorker.py

Code Review for the files: featurizer.py, softmax.py , DatabaseWorker.py

Done with new version


WRN-15493: Improve 'import skin' performance.

Checklist

[X] I have read and understand the contribution guide
[ ] A CHANGELOG entry is included
[ ] At least one test case is included for this feature or bug fix
[X] Documentation was added or is not needed
[ ] This is an API breaking change

Issue Resolved / Feature Added
Changed the version of react to 18rc.
Resolution
Additional Considerations
Links
WRN-15493
Comments

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: alexandrumorariu:x: daniel-stoian-lgpYou have signed the CLA already but the status is still pending? Let us recheck it.


Get rid of warning

I have a use case where I need to dynamically determine the nested serializer like this:
    def get_config(self, tracker: Tracker):
        config = tracker.get_config()
        if config is not None:
            serializer = TRACKER_CONFIG_SERIALIZERS.get(tracker.model)
            if serializer is None:
                logger.warning('Could not find serializer for model %s', tracker.model)
                return None
            return serializer(config).data
        return None

This works but results in a warning, because the nested serializer does not have access to the request in the context.
If we pass in the context...
            return serializer(config, context=self.context).data

...then the warning is gone, but the filtering is applied to those fields too.
The problem is that drf-dynamic-fields cannot know that this serializer is a nested serializer because it's used like a root serializer. And I'm afraid of playing some tricks with parent/child attributes, since that can go wrong easily.
I see two approaches to solve this:

Remove the warning (no filtering if there's no request in the context)
Add a special field to the context (e.g. dynamic_fields_ignore) that is queried in order to ignore the filtering on this serializer.

I'm undecided. What do you think @jtrain?

i don't have any special love for the warning. Removing it would be a positive thing for my code.
As for optionally warning or not, there might be a few ways to go about it.

As you said we could have some special field set on the serializer somewhere; or
2  it could be a settings.py setting; or
We keep the warning, but document how you'd turn it off with the python logging framework, though that would mean turning all warnings for the lib off, not just this one; or
we demote the warning to a log level or debug level warning so people could switch them off

Finally another option completely (to work around this with existing code) is to provide a clean serializer in your codebase without the dynamic field mixin, and a second serializer which simply inherits the first with the mixin. e.g.
SchoolSerializer; and
DynamicSchoolSerializer

As you said we could have some special field set on the serializer somewhere; or
2 it could be a settings.py setting

I like that. Implemented in #28.


Implement backslash escape of EOL as a hard line break.

See Commonmark 0.18, example 232. This patch implements it for LF and CRLF
style line endings.

@steve-wolter Check out the develop branch for CommonMark compatibility.

@devinus is right, in #119 we decided to move all development to the code in develop, a rewrite of Hoedown which now passes almost all of CommonMark tests. New versions of the stable code should only be released for security fixes.
So I'm closing this for now. (Also, why check for \r? Aren't these converted to \n at preprocessing?)


Implement issue #16

Also, you can check on fork how it will be looks like https://github.com/nikolenkoanton92/awesome-hacking-spots :)

Sweet! Simple, good enough, we might have a schedule table if we start having complicated timetables

Cool :) I will close issue #16 :+1:


RTPS error when using SLAM with discovery server and Nav2 timeout errors

Robot Model
Turtlebot4 Lite
ROS distro
Humble
Networking Configuration
Discovery Server
OS
Ubuntu 22.04
Built from source or installed?
Installed
Package version
1.0.0-1jammy.20231207.082431 for turtlebot-viz
1.0.4-1jammy.20231207.084603 for turtlebot_navigation
Type of issue
Navigation (SLAM, Nav2 etc.)
Expected behaviour
SLAM is operational and commands can be sent from RViz
Actual behaviour
A new error message also appears in the SLAM logs, and mapping never begins.  Also, localization and navigation frequently return a timeout error akin to the second error shown below.
PC and Turtlebot are both using FastDDS
Error messages
SLAM: RTPS_TRANSPORT_SHM Error] Failed init_port fastrtps_port7429: open_and_lock_file failed -> Function open_port_internal
Localization/Navigation: failed to send response to /controller_server/change_state (timeout): client will not receive response
To Reproduce

Attempt to start up SLAM with PC and Turtlebot on 5GHz network with FastDDS configuration
SLAM does not start and outputs error above

Other notes
This error is occasional, and it is unclear what triggers it

Update: After making the changes below, the localization and navigation errors are less frequent

Within navigation_launch.py, I added the parameter '{'bond_timeout': 0.0}' to the lifecycle_manager node.
Within the lifcycle_nodes list in the same file, I prepended all the node names with the namespace of my robot. Instead of reading
lifecycle_nodes = ['/sheldon/controller_server',                     'smoother_server',                     'planner_server',                     '/behavior_server',                     'bt_navigator',                     'waypoint_follower',                     'velocity_smoother']
it now reads as
lifecycle_nodes = ['/sheldon/controller_server',                     '/robotnamespace/smoother_server',                     '/robotnamespace/planner_server',                     '/robotnamespace/behavior_server',                     '/robotnamespace/bt_navigator',                     '/robotnamespace/waypoint_follower',                     '/robotnamespace/velocity_smoother']
I performed the same prepending process for the lifecycle_nodes list in the nav2 localization_launch.py file, and added the same bond_timeout parameter to the lifecycle_manager node in this file as well
In my nav2.yaml config file, I added 'bond_timeout: 0.0' under the ros__parameters of both bt_navigator and smoother_server

After doing the steps above, I now get navigation and localization working together with a namespace robot using the discovery server configuration. I don't know why this worked, and would appreciate insight to this, or suggestions on how to make these changes without editing those launch files directly. As for the RTPS error, the only partial solution I've found is to clear the /dev/shm directory on the robot and PC, and then reboot the robot.

Hello @FishDentistry ,
Thank you for reaching out on the Turtlebot 4 Github page. Apologies for the late reply on this. Would it be possible to provide the following items:

May we please have the modified .py launch files you have added the bond_timeout parameter to
Would it be possible to provide the full list of commands you are running in the order you are running them in
Lastly, please provide the full terminal outputs of each command run.

Looking forward to hearing from you soon.
Best Regards,
Saif M.

Hello @FishDentistry
This issue is being closed due to inactivity. If you are still experiencing the issue, feel free to reopen this ticket when you are ready to continue the troubleshooting process.
Best Regards,
Saif

Apologies for my late response. At this moment, I have updated both the TB4 and my PC to the latest version of all packages. I no longer have any modifications in my config files or launch files. Localization and SLAM both work as expected, but navigation still constantly refuses to start. When starting it using the command "ros2 launch turtlebot4_navigation nav2.launch.py namespace:=robotnamespace" I get errors like these more than 95% of the time:
[controller_server-1] [WARN] [1733850699.044709052] [sheldon.controller_server.rclcpp]: failed to send response to /sheldon/controller_server/change_state (timeout): client will not receive response, at ./src/rmw_response.cpp:154, at ./src/rcl/service.c:314
[lifecycle_manager-8] [ERROR] [1733850769.066834196] [sheldon.lifecycle_manager_navigation]: Server controller_server was unable to be reached after 4.00s by bond. This server may be misconfigured.
[lifecycle_manager-8] [ERROR] [1733850769.066887196] [sheldon.lifecycle_manager_navigation]: Failed to bring up all requested nodes. Aborting bringup.
[controller_server-1] [WARN] [1733850770.770257879] [sheldon.local_costmap.local_costmap]: Can't update static costmap layer, no map received
[lifecycle_manager-8] terminate called after throwing an instance of 'statemap::TransitionUndefinedException'
[lifecycle_manager-8]   what():  no such transition in current state
[ERROR] [lifecycle_manager-8]: process has died [pid 11076, exit code -6, cmd '/opt/ros/humble/lib/nav2_lifecycle_manager/lifecycle_manager --ros-args --log-level info --ros-args -r __node:=lifecycle_manager_navigation -r __ns:=/sheldon --params-file /tmp/launch_params_xpcdo4n0 --params-file /tmp/launch_params_oa2_84m6 --params-file /tmp/launch_params_qlaz9wkq -r /sheldon/global_costmap/scan:=/sheldon/scan -r /sheldon/local_costmap/scan:=/sheldon/scan'].
[lifecycle_manager-8] [ERROR] [1733851742.518670284] [sheldon.lifecycle_manager_navigation]: Server bt_navigator was unable to be reached after 4.00s by bond. This server may be misconfigured.
[lifecycle_manager-8] [ERROR] [1733851742.518726090] [sheldon.lifecycle_manager_navigation]: Failed to bring up all requested nodes. Aborting bringup.
[smoother_server-2] [WARN] [1733851944.251497818] [sheldon.smoother_server.rclcpp]: failed to send response to /sheldon/smoother_server/change_state (timeout): client will not receive response, at ./src/rmw_response.cpp:154, at ./src/rcl/service.c:314
[lifecycle_manager-8] [ERROR] [1733869538.939998241] [sheldon.lifecycle_manager_navigation]: Server controller_server was unable to be reached after 4.00s by bond. This server may be misconfigured.
[lifecycle_manager-8] [ERROR] [1733869538.940087550] [sheldon.lifecycle_manager_navigation]: Failed to bring up all requested nodes. Aborting bringup.
[lifecycle_manager-8] terminate called after throwing an instance of 'statemap::TransitionUndefinedException'
[lifecycle_manager-8]   what():  no such transition in current state
I get these errors even when only launching navigation without anything else active


No data in console nor pushed to the integration

Hi,
I am using Helium hosted console deviceID 69248e5c-34f8-41a7-b00f-826c6dcd3d24:
https://console.helium.com/devices/69248e5c-34f8-41a7-b00f-826c6dcd3d24
Console and Tago.io integration was working well two days ago, but now they are not updated with new joinReq/Accept nor uplink information.
Device is still joining the network as per its log, and receiving ADR control. The only field updated in the console is "last connected" from the device dashboard, but the others fields and the "Event log" stays not updated/empty

Which other data can help you to troubleshoot the issue?
Thanks

It seems to be solved right no. Please close the issue if you think that it was transient and will not happen again


Missing hyphen in the compound adjective "Schema Based"

In the metadata panel of a model instance aggregation, "Schema Based Metadata" should be changed to "Schema-based Metadata".

@pkdash Verified. Closing.


multi-gpus

Could the distillation networks be trained on multiple gpus?

That would be definitely worth trying. Don't have the bandwidth to work on that though


Is testcontainers an alternative to docker-compose-rule?

Can I use testcontainers-java to start my own containers from my docker-compose.yml while running my junit tests in a SpringBoot application?

That's what DockerComposeContainer is for:
https://www.testcontainers.org/modules/docker_compose/


remove duplicate args in rustic-cargo-run-test

Fixes error caused by duplicate test names being passed to cargo test.
Fixes https://github.com/brotzeit/rustic/issues/366.

Seems I've been changing too much recently. But I'm currently trying to reduce bugs by adding more tests.


QOS 2 messages not being delivered

Hi,
First of all, congratulations for the excellent work. I'm trying to use your library to delivery qos 2 messages however I'm receiving pubrec message from my broker and the library does not reply pubrel packet back making the message being lost.
Am I doing anything wrong or it's a know issue?
Check this:
http://public.dhe.ibm.com/software/dw/webservices/ws-mqtt/mqtt-v3r1.html#qos-flows
Thanks,
Wagner Sartori Junior

Hi Nice work, its hard for us to follow, any good example would be nice. I found one http://metaclaws.com/2013/04/29/publication_of_australian_weather_observations_using_mqtt/
I want to know that which MQTT protocol version u implemented, is there any addition to this existing code that you may have written, I see ur recent work is on node.js but this work is very useful as it help me to put everything in Twisted architecture running on single reactor loop. Kindly provide support or a documentation so that we can implement any change in existing protocol

This implementation is closing the connection after sending pubrel. @trunet Did you end up implementing it?

this was 4 years ago. don't remember, sorry!

@trunet Can you share something that will help me implement QoS 2 in a twisted application?

Sorry, I don't have it anymore. I ended up using something else.

Okay, thanks anyway!


[$250] [HOLD for payment 2024-06-20] [HOLD for payment 2024-06-18] [Track Tax] Support tax tracking for split requests with workspace

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.60-8
Reproducible in staging?: Yes
Reproducible in production?: No, new feature
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Precondition:

User is an employee of Collect workspace.
The Collect workspace has several tax rates.

Create a split scan request with an invalid receipt and include a tax rate.
When the scanning fails, go to split preview.
Manually enter amount and merchant and save it with a tax rate.
Go to transaction thread of the split request.

Expected Result:
The selected tax rate will show up under Tax rate row in transaction thread.
Actual Result:
Tax rate row is blank in transaction thread, unless tax amount is edited.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
https://github.com/Expensify/App/assets/115492554/d80f0e0e-70e5-4739-8663-110f7d1b153f

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0126969ac729dd1083
Upwork Job ID:<PHONE_NUMBER>994766848
Last Price Increase: 2024-06-20

Issue OwnerCurrent Issue Owner: @
Issue OwnerCurrent Issue Owner: @dukenv0307

@garrettmknight I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.

We think this issue might be related to the #collect project.

Taking a look...

Demoting from deploy blocker, because it's not an app blocker. This bug occurs because server is sending taxCode as null initially. We can hide the field at the frontend, but that won't be real fix for the issue. Since this is behind policyExpensechat beta, I think it's fine.
We're rolling out changes incrementally and tax support for split bill case is yet to be released. This issue will be fixed when SplitBill command accepts taxCode param and sends it back

I'll start working soon...

Finishing support for distance requests and then moving here

Working on PR's now

Auth and Web-E PR's are in review
Eto Olei shall be working on the frontend implementation

Internal PR's are merged and deployed.
We now need to finish the App PR https://github.com/Expensify/App/pull/40240 to finally fix this issue.
The App PR is on HOLD for optimistic tax updates issue/PR https://github.com/Expensify/App/issues/39616

The PR this issue depends is in review https://github.com/Expensify/App/issues/39616
Me or Eto Olei should get this next week.

Same update as Friday^

Working on the PR in another issue https://github.com/Expensify/App/issues/39616

Working on the PR in another issue https://github.com/Expensify/App/issues/39616

Same^
We'll circle back once that PR is merged

Same^. Very close to merge the PR

PR is ready for review

Not overdue - still working through the PR.

PR was deployed and reverted because of few blockers. I need to raise the PR again while fixing those blockers

PR is in review again!

@dukenv0307 offer is out to you. 50% x $250 for a regression = $125
Upwork offer

All set with payment - @dukenv0307 any regression test necessary?

Ah, missed the double post. Closing!


apg: Darwin support

Motivation for this change
apg on macOS.
The install target will no-op on case-insensitive filesystems, which are typical of macOS, but possible on other platforms, so I applied the patch on all platforms.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build apg

Success on x86_64-linux (full log)
Attempted: apg
Partial log (click to expand)
moving /nix/store/0w7di4ph0gn7y74i4wqycqpkgs9gmgaq-apg-2.3.0b/man to /nix/store/0w7di4ph0gn7y74i4wqycqpkgs9gmgaq-apg-2.3.0b/share/man
shrinking RPATHs of ELF executables and libraries in /nix/store/0w7di4ph0gn7y74i4wqycqpkgs9gmgaq-apg-2.3.0b
shrinking /nix/store/0w7di4ph0gn7y74i4wqycqpkgs9gmgaq-apg-2.3.0b/bin/apgbfm
shrinking /nix/store/0w7di4ph0gn7y74i4wqycqpkgs9gmgaq-apg-2.3.0b/bin/apg
gzipping man pages under /nix/store/0w7di4ph0gn7y74i4wqycqpkgs9gmgaq-apg-2.3.0b/share/man/
strip is /nix/store/fzcs0fn6bb04m82frhlb78nc03ny3w55-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/0w7di4ph0gn7y74i4wqycqpkgs9gmgaq-apg-2.3.0b/bin
patching script interpreter paths in /nix/store/0w7di4ph0gn7y74i4wqycqpkgs9gmgaq-apg-2.3.0b
checking for references to /tmp/nix-build-apg-2.3.0b.drv-0 in /nix/store/0w7di4ph0gn7y74i4wqycqpkgs9gmgaq-apg-2.3.0b...
/nix/store/0w7di4ph0gn7y74i4wqycqpkgs9gmgaq-apg-2.3.0b

Success on aarch64-linux (full log)
Attempted: apg
Partial log (click to expand)
moving /nix/store/gf8v5hkyil1lg6bp7l8igw88a8m9fwag-apg-2.3.0b/man to /nix/store/gf8v5hkyil1lg6bp7l8igw88a8m9fwag-apg-2.3.0b/share/man
shrinking RPATHs of ELF executables and libraries in /nix/store/gf8v5hkyil1lg6bp7l8igw88a8m9fwag-apg-2.3.0b
shrinking /nix/store/gf8v5hkyil1lg6bp7l8igw88a8m9fwag-apg-2.3.0b/bin/apgbfm
shrinking /nix/store/gf8v5hkyil1lg6bp7l8igw88a8m9fwag-apg-2.3.0b/bin/apg
gzipping man pages under /nix/store/gf8v5hkyil1lg6bp7l8igw88a8m9fwag-apg-2.3.0b/share/man/
strip is /nix/store/3zq400fri5dv7d30lpxlqm2v9y1iis6j-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/gf8v5hkyil1lg6bp7l8igw88a8m9fwag-apg-2.3.0b/bin
patching script interpreter paths in /nix/store/gf8v5hkyil1lg6bp7l8igw88a8m9fwag-apg-2.3.0b
checking for references to /build in /nix/store/gf8v5hkyil1lg6bp7l8igw88a8m9fwag-apg-2.3.0b...
/nix/store/gf8v5hkyil1lg6bp7l8igw88a8m9fwag-apg-2.3.0b

Success on x86_64-darwin (full log)
Attempted: apg
Partial log (click to expand)
./install-sh -c -m 0755 ./apgbfm /nix/store/dvmk1nygh1apw2x5hfwwn7qw2xq3jbga-apg-2.3.0b/bin; \
./install-sh -c -m 0444 ./doc/man/apgbfm.1 /nix/store/dvmk1nygh1apw2x5hfwwn7qw2xq3jbga-apg-2.3.0b/man/man1; \
fi
post-installation fixup
moving /nix/store/dvmk1nygh1apw2x5hfwwn7qw2xq3jbga-apg-2.3.0b/man to /nix/store/dvmk1nygh1apw2x5hfwwn7qw2xq3jbga-apg-2.3.0b/share/man
gzipping man pages under /nix/store/dvmk1nygh1apw2x5hfwwn7qw2xq3jbga-apg-2.3.0b/share/man/
strip is /nix/store/0fzpxnsanc02i4jsb1yhchjp4p62b2n3-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/dvmk1nygh1apw2x5hfwwn7qw2xq3jbga-apg-2.3.0b/bin
patching script interpreter paths in /nix/store/dvmk1nygh1apw2x5hfwwn7qw2xq3jbga-apg-2.3.0b
/nix/store/dvmk1nygh1apw2x5hfwwn7qw2xq3jbga-apg-2.3.0b


Saved temp png in memory instead of writing to fs - screenshot.ts

Edit: I actually done some dumb things, I modified something meaning nothing but i forget to remove those and i pushed with this PR but the following statement is done clear. I will explain at bottom what i made mistake
Taking Screenshots, instead of writing in and reading it again through fs, it can be saved in memory. This is retry of PR already i made PR which is mistaked #912 and i closed that.
I decided to add some icon to look great the showcase page. since i was just thinkin and messing with the source slightly. i dint realize i was in main branch which i make PR from on. After some days, i forget this and done this screenshot PR but that icon thing is unfinished and i pushed with that. so that was a terrible mistake so sorry for that. Hope it never happens again. And again sorry for this messy PR :(

Nice! please apply deno fmt :)

Nice! please apply deno fmt :)

Done😀


Run query with result stream

Honestly, this PR doesn't make much sense to me. I assume that you do not actually want to use this new command line program (RunQueryWithResultInStream) as such, do you?
What is the purpose of RunQueryWithResultInStream? I mean, what do you want to use it for?

Honestly, this PR doesn't make much sense to me. I assume that you do not actually want to use this new command line program (RunQueryWithResultInStream) as such, do you?

I am using this class in the HeFQUIN-Endpoint project.
queryResult = new RunQueryWithResultInStream(args).run();

What is the purpose of RunQueryWithResultInStream? I mean, what do you want to use it for?

The class 'RunQueryWithResultInStream' allows other applications to easily access our query engine to execute queries and receive results by calling the method RunQueryWithResultInStream(args).run()
Another reason for adding this new class was: when using with RunQueryWithoutSrcSel, the engine exits whenever any query cannot be answered successfully due to some errors, which causes the webserver to stop as well. In this case, no further queries can be processed. In order to process query sequences without stopping the server, I use mainMethod() instead of mainRun() in class 'RunQueryWithResultInStream'. In this way, the exception can be handled outside of HeFQUIN, and I decided to print the error messages in the log files of HeFQUIN-endpoint.

@chengsijin0817 Does the commit mentioned in my previous comment address the need that made you work on this PR? If yes, I think this PR has become obsolete, right?

@chengsijin0817 Does the commit mentioned in my previous comment address the need that made you work on this PR? If yes, I think this PR has become obsolete, right?

Yes, I have updated the implementation of HeFQUIN-Endpoint by using the new helper classes (see here).
Therefore, this PR is obsolete. I will close this PR.


Fix problems around user creation

Description
Please provide a brief description of the changes made in this pull request.
Checklist

[x] I have tested the changes locally and they work as expected.
[x] I have tested the responsiveness of the changes and they work as expected.
[x] I have assigned the pull request to the appropriate reviewer(s).
[x] I have added labels to the pull request, if necessary.

Related Issues
(Discord)

Password generation is not practical and no "hide password" button is present on user creation
Role should be "Player" by default on user creation
Typos in user modals and tables : Tournois -> Tournoi

I did these changes on a pc with no linter set up, I'm going to fix that


for Vesta control panel

this will able to manage vesta cp

Why doesn't this have a file ext?
Same goes for the other PR

i would like to see, when you adopt this to hestiacp too. Hestiacp is a for of Vesta and is  more under active development than VestaCP

One of the Devs created allready some Servermodules for Boxbilling
https://github.com/jaapmarcus/boxbilling-hestia

"PR" has been resolved with
https://github.com/boxbilling/boxbilling/pull/1256
This one can be closed...


add macOS support

This PR adds a macOS example app and conditional compiling to the few TextKit components that Notepad needs to work.

Woah this looks awesome! Taking a look now.


Integrate EFS

EFS addon enabled with EKS with https://github.com/defenseunicorns/uds-infrastructure-software-factory-aws/pull/15


GL error GL_INVALID_OPERATION message

Describe the bug
When Aminal is running with -debug option, on each resize of the window, the following messages appearing in the log:
2019-01-16T21:34:03.331+0700    INFO    gui/gui.go:531  GL debug message: Error has been generated. GL error GL_INVALID_OPERATION in (null): (ID: 173538523) Generic error
2019-01-16T21:34:03.331+0700    INFO    gui/gui.go:531  GL debug message: Error has been generated. GL error GL_INVALID_OPERATION in (null): (ID: 173538523) Generic error
2019-01-16T21:34:03.344+0700    INFO    gui/gui.go:531  GL debug message: Error has been generated. GL error GL_INVALID_OPERATION in (null): (ID: 173538523) Generic error
2019-01-16T21:34:03.344+0700    INFO    gui/gui.go:531  GL debug message: Error has been generated. GL error GL_INVALID_OPERATION in (null): (ID: 173538523) Generic error

To Reproduce
Steps to reproduce the behavior:

Run Aminal with -debug option
Try to resize the window
See the error messages in the log

Environment (please complete the following information):

OS Windows

Additional context

I'm suspecting that this may lead to leaks of OpenGL memory
When testing on my Debian Stretch VM, there is no such a message
These error messages caused by calls to gl.DisableVertexAttribArray() in glfont/truetype.go, lines 56 and 61. Commenting out those calls eliminates the error messages.
According to the documentation (https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glEnableVertexAttribArray.xhtml),

GL_INVALID_OPERATION is generated by glEnableVertexAttribArray and glDisableVertexAttribArray if no vertex array object is bound.

But there is a call to gl.BindVertexArray().
So this bug seems strange and needs investigation...

Closed due to complete rewrite as part of bringing the project back to life, please create a new issue if still relevant. Thank you!


Inappropriate ioctl for device

I've tried running a basic capture per the README.MD instructions under both Python v2.7.9 (with Numpy v1.8.2 & OpenCV v<IP_ADDRESS>) and Python 3.4.2 (with Numpy v1.8.2 & OpenCV v3.4.0) and always receive the following errors:
Python v2.7.9
Python 2.7.9 (default, Sep 17 2016, 20:26:04)
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from pylepton import Lepton
>>> with Lepton() as l:
...   a,_ = l.capture()
...
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/pylepton/Lepton.py", line 84, in __enter__
    ioctl(self.__handle, SPI_IOC_RD_MODE, struct.pack("=B", Lepton.MODE))
IOError: [Errno 25] Inappropriate ioctl for device

Python v3.4.2
Python 3.4.2 (default, Oct 19 2014, 13:31:11)
[GCC 4.9.1] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pylepton import Lepton
>>> with Lepton() as l:
...   a,_ = l.capture()
...
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.4/dist-packages/pylepton/Lepton.py", line 84, in __enter__
    ioctl(self.__handle, SPI_IOC_RD_MODE, struct.pack("=B", Lepton.MODE))
OSError: [Errno 25] Inappropriate ioctl for device

Doing a ls /dev reports that my SPI device is spidev0.0.
I'm a complete newbie to Linux and Python and I just have no idea where to even start troubleshooting this, frankly I don't even know what the error means!
Any help very much appreciated :)

What was the problem here? Can we close this issue?

Hi, I'm getting a similar error and can't resolve by substituting the device to device="/dev/spidev0.1. was this ever resolved? I don't really understand what my error means as well...
I ran the example usage code (saved the file on my machine as "test_pylepton.py") and tried to run it using python3 and got this error:
Traceback (most recent call last):
File "test_pylepton.py", line 5, in
with Lepton() as l:
File "/Users/.../GetThermal/pylepton/pylepton/Lepton.py", line 82, in enter
self.__handle = open(self.__spi_dev, "wb+", buffering=0)
PermissionError: [Errno 1] Operation not permitted: '/dev/spidev0.0'
Could you please advise what I'm doing wrong here?
My camera and setup work fine with GetThermal or other apps.
Any help would be very much appreciated
Thanks!

GetThermal? Do you have a breakout board or a PureThermal board?

Thanks for your reply @kekiefer. I have a PureThermal Mini connected to my mac over USB.
https://store.groupgets.com/products/purethermal-mini-flir-lepton-smart-i-o-module
I meant that I was able to follow the installation of the GetThermal app:
https://github.com/groupgets/GetThermal
And it works well with my camera, as well as just using it as a "normal" webcam with OBS. I'm interested in using the PureThremal mini with OpenCV+python to do some analysis and get temperature readings for each pixel. I was hoping to use pylepton to do so.
Thank you for your help!

pylepton is just for the breakout board. You should look at https://github.com/groupgets/purethermal1-uvc-capture

Check your cable setup. An incorrect setup will throw this error when using pylepton 3.0.
This guide from FLIR shows the correct GPIO setup: https://lepton.flir.com/forums/topic/pylepton-overlay-guide-2-0-for-raspbian-pixel/


Compîlation failed in amd64 on copr

https://download.copr.fedorainfracloud.org/results/remilauzier/wide/fedora-rawhide-x86_64/02263930-rust-safe_arch/builder-live.log.gz
Compilation failed with this error on amd64. it compiled fine on aarch64.
error[E0425]: cannot find function mul_u8i8_add_horizontal_saturating_m128i in this scope
--> tests/atoi_sse2.rs:12:13
|
12 |     let x = mul_u8i8_add_horizontal_saturating_m128i(x, tens); /* eeee macarena! */
|             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function pack_i32_to_u16_m128i in this scope
--> tests/atoi_sse2.rs:18:13
|
18   |     let x = pack_i32_to_u16_m128i(x, x);
|             ^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: pack_i32_to_i16_m128i
|
::: /builddir/build/BUILD/safe_arch-0.5.2/src/x86_x64/sse2.rs:2007:1
|
2007 | pub fn pack_i32_to_i16_m128i(a: m128i, b: m128i) -> m128i {
| --------------------------------------------------------- similarly named function pack_i32_to_i16_m128i defined here
error: aborting due to 2 previous errors
For more information about this error, try rustc --explain E0425.
error: could not compile safe_arch
Caused by:
process didn't exit successfully: /usr/bin/rustc --crate-name atoi_sse2 --edition=2018 tests/atoi_sse2.rs --error-format=json --json=diagnostic-rendered-ansi --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --test --cfg 'feature="default"' -C metadata=be0fd794a5104438 -C extra-filename=-be0fd794a5104438 --out-dir /builddir/build/BUILD/safe_arch-0.5.2/target/release/deps -L dependency=/builddir/build/BUILD/safe_arch-0.5.2/target/release/deps --extern safe_arch=/builddir/build/BUILD/safe_arch-0.5.2/target/release/deps/libsafe_arch-8c3bab58e19300b9.rlib -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Ccodegen-units=1 --cap-lints=warn (exit status: 1)
warning: build failed, waiting for other jobs to finish...
error: build failed

It appears that the atoi_test was in the wrong test folder. It requires ssse3 in addition to sse2.
This should be fixed by https://github.com/Lokathor/safe_arch/commit/68abef090f871c10e42ef20069ac9b39554fb683.


feat!: upgrade to webpack-chain v5

https://github.com/neutrinojs/webpack-chain/blob/master/CHANGELOG.md#v600
v6 follows

thank you


Write output files

Segment files
model_segment.csv: Estimated fault slip rates and uncertainties
Block files
model_block.csv: Estimate block rotation rates, strain rates, and uncertainties for both
Velocity files
model_velocity.csv: Velocities from full block model
rotation_velocity.csv: Velocities from block rotations
strain_rate_velocity.csv: Velocities from internal block strain rates
okada_velocity.csv: Velocities from Okada dislocations at the edges of fully coupled blocks
tri_velocity.csv: Velocities from triangular meshes
elastic_velocity.csv: Velocities that are the sum of Okada and triangle components.  Essentially all elastic.
Statistics
Write to .log file?
Triangle slip rate estimates
@jploveless Can a .msh file hold these?  Something else?  A .csv file with triangle vertices and slip rate values?  That's simple but it's a new file format which I'm wary of introducing.

Done with bunch of commits over the last month.  Log file: done, velocities and slip rates: done, Pickle file with data structures: done, .json file with command line arguments: done, copies of input files: done.


Modify size of calendar

Hi,
I want to add a view of custom controls specific for my app at the bottom om the view controller. I've added my view and brought it to the front, but it covers part of the timeline and I don't seem to be able to align the timeline above my view so that I can see the whole thing.
How do I proceed?
Best regards

Hi,
it is possible in the current implementation.
These steps will help you achieve the desired result:

Create a subclass of the UIViewController,
in the subclass:
Create an instance of the DayView
Add DayView to the main view of the ViewController as a subview
Resize the DayView to the desired dimensions.

Implement all the DayViewController methods, for example, by copying them.
So, the idea is to create a new ViewController and use DayView there.


[Test/EngSys] Remove unittest.TestCase inheritance

Remove the AzureTestCase inheritance on unittest.TestCase with object here
This needs all tests to change from using self.assertXXXX to strictly using the assert keywords. This can be eased with changes like adding a method for self.assertIsNone and self.assertIsNotNone to the base class:
def assertIsNone(self, test_obj):
    assert test_obj is None

def assertIsNotNone(self, test_obj):
    assert test_obj is not None

The setUp method will not be called, this will have to be changed to a pytest.fixture in each library.
Solution:

a regexp replacement of the inheritance of tests to double inheritance class MyOldTest(AzureTestCase, unittest.TestCase), with a note to remove the double inheritance and fix tests when you have a chance.
simple pytest fixture to call the setUp method on test objects

Test proxy migration is achivign this


Can we have a vim sphere

I figured out the equation 4π(vim)^2

Nice, we can project spherical Vim onto the screen using a Mercator projection and since the quickfix window appears at the south pole it will appear larger than it really is, so finally we'll be able to take bugs seriously while thinking laterally about the rest of our code 👍

Don't even joke about using the Mercator projection

Vim cubed.

I would prefer Vim in a Möbius strip.

@sgtpepper43 right, we should be using Gall-Peters.


"Revoke-SPObjectSecurity" link goes nowhere

Doesn't look like it is part of the most recent Management Shell cmdlet set, either.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 65bf2c0b-b0ec-2748-e47e-af66011efe30
Version Independent ID: be3968f4-d766-0b45-384b-c51c47328a86
Content: SharePoint Online PowerShell
Content Source: sharepoint/sharepoint-ps/sharepoint-online/sharepoint-online.md
Service: sharepoint-powershell
GitHub Login: @trent-green
Microsoft Alias: trgreen

@officedocsbot assign @yogkumgit

Hello @joshtransient
How are you?
Thanks for noticing.
The cmdlet belongs to SharePoint Server cmdlets, it was moved by this PR
However, it was, incorrectly listed on the SharePoint Online TOC as you could identify. Created a PR to correct. Thanks again.

@get-itips  Thank you very much for the contribution and updating the documentation with PR. @joshtransient Hope this update is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Update pl_pl.json

update for Polish translation to new version

Okay, I will do it tomorrow, because I have an important exams so I can't afford time rn.


Issue #1210 fix TAB key handling on BUTTON elements

I see it was done on 1.4.x branch. There is no plans for new update in that branch.


broken chain is broken

⛓💥 vs 🔗💥
one is working (first) and (second) one isn't. one combination doesn't have variation selector(vs)-16 (second one) and os broken.
combination:

⛓+++💥
🔗++💥

The first is intended to work. The second should not. Close?

second one is copied from emojipedia blog article about noto emoji update

https://blog.emojipedia.org/googles-emoji-15-1-support-in-noto-color-emoji/
This one?
I think that's a typo. If you click on it, it takes you to correct version.

Thank you for the report.
https://unicode.org/Public/emoji/15.1/emoji-test.txt lists two sequences for broken chain:
26D3 FE0F 200D 1F4A5                                   ; fully-qualified     # ⛓💥 E15.1 broken chain
26D3 200D 1F4A5                                        ; unqualified         # ⛓💥 E15.1 broken chain

When I test each sequence against CBDT and COLRv1 builds of the font they seem to map both sequences to a single glyph, suggesting both sequences were recognized and produce the same output:
$ hb-shape --unicodes="26D3,200D,1F4A5" --ned fonts/Noto-COLRv1.ttf
[gid3488]
$ hb-shape --unicodes="26D3,FE0F,200D,1F4A5" --ned fonts/Noto-COLRv1.ttf
[gid3488]

$ hb-shape --unicodes="26D3,200D,1F4A5" --ned fonts/NotoColorEmoji.ttf
[gid1485]
$ hb-shape --unicodes="26D3,FE0F,200D,1F4A5" --ned fonts/NotoColorEmoji.ttf
[gid1485]

I think that means working as intended. If I misunderstood please reopen and clarify how to reproduce the problem.


multi class question

Hello.
Thank you for your wonderful research.
I want to extend your methodology to multi-class classification.
Is this possible?
If possible, could you give me some implementation tips?

The multi-class classification you mean is such a semantic segmentation task?

Yes!
I would like to apply your methodology to a segmentation task with 3 or 5 classes.

Hello, I also would like to apply your API_loss to my 3_classes semantic segmentation task, but i am not sure it will be work or not?

Hi @DeepHM,
Sorry for the late reply.
Does your network return the shape of X \in R^{B, n_classes, H, W}?


refactored basic auth

Summary by CodeRabbit

Refactor

Streamlined the authentication process by integrating new configuration fields.
Enhanced the initialization of authentication variables for improved clarity and maintainability.

Chores

Removed unused code and dependencies to simplify the codebase and reduce potential errors.

Bug Fixes

Adjusted the authentication workflow to prevent potential issues with credential and configuration management.

assignAnnotation in utility.go is not needed anymore.

done


Add lists to missing translations

Motivation
For my app Saber I have a list (array) of FAQ questions and answers. When I add more things to this list, the changes aren't reflected in the missing translations file.
{
  "somelist": [
    "one",
    "two",
    "NEW"
  ]
}

Developer Experience
Running flutter pub run slang analyze should include lists in the missing translations file. This could be one of:

Assuming the new entry to the list is always at the end, only add the last n entries to the missing translations file.{
  "fr": {
    "somelist": [
      "NEW"
    ]
  }
}

Add the whole list from the main translation file. It would be up to the translater to copy over the old translations from their file.{
  "fr": {
    "somelist": [
      "one",
      "two",
      "NEW"
    ]
  }
}

Add both translations to the list and expect the translator to delete the duplicates. We could benefit from a check when running slang apply that the list length <= the original translation's list length.{
  "fr": {
    "somelist": [
      "un",
      "deux",

      "one",
      "two",
      "NEW"
    ]
  }
}

Add a stub that tells the translator to edit the translation file directly.{
  "fr": {
    "somelist": ["Please edit strings.fr.i18n.json"]
  }
}

Hi @adil192
a temporary workaround is to use normal objects. To make each of your q-a pair reusable, you can use "interfaces".
"faq(interface=FaqModel)": {
  "nextcloud": {
    "q": "What is Nextcloud?",
    "a": "Nextcloud is a..."
  },
  "encryptionPassword": {
    "q": "What is the encryption password?",
    "a": "..."
  }
}

Then you can create a widget that needs a FaqModel as constructor parameter.

For that I'd need to manually edit every translation file, so just catching the missing translations in PR reviews seems easier.
I'm happy to implement one of the above solutions (I prefer # 3) if you want me to btw :)

The "outdated" flag should be ok in most use cases.
The problem I still see is that sometimes the lists have different lengths on purpose. Maybe there needs to be another flag to tell slang analyze that it is ok that the list have different lengths.

Yes the "outdated" flag works for me, I'm happy to close this issue if you are


Create intuitive interface for special schedules

I think I might implement socket.io to tell the clients to update their stored schedule when we add a new special.


ScaleControl Initialization Failure

Hello,
I have this error in rev e9e2b6670836f1823947c80f33200c9d7ccdbb74
TypeError: undefined is not an object (evaluating 'this.planet.terrain.events.on')
In src/og/control/ScaleControl.js (line 58-60): terrain is not initialized. This can be tested with examples/emptyTerrain
Could you confirm this issue please? As a workaround I commented the aforementioned section.
Hubert

check


Apply over-all layout to formly

I'm submitting a ...  (check one with "x")
[ ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[x] support request

Current behavior

The generate an overall layout for formly i have to wrap formly by another component like that:

                   <formly-form [form]="form" [fields]="fields" [model]="model"></formly-form>

Expected behavior
Is there a possibility to do that without wrapping the formly-form?

Angular version: 7.X.X

That could be done using custom field wrapper or type, to have an idea check our example of flex-layout integration: https://stackblitz.com/edit/ngx-formly-flex-layout


Fix terracotta-platform#447: Filter out old statistics samples fom collect

REQUIRES

https://github.com/Terracotta-OSS/terracotta-platform/pull/448

Replaced by https://github.com/ehcache/ehcache3/pull/2317


Added Compatibility Matrix to Upgrade Guide

As mentioned in #6044 I'm Compatibility Matrix should be added in Upgrade Guide.

Hello again @kmaehashi
As you said, list tables are much more maintainable.
I've deleted the earlier changes, and made a new table.
And as @toslunar advised, the footnotes are separate.
Please review

We are during code freeze, but if we don't merge this PR before the branch cut we will need to update the matrix table again, so let me merge this one now.

Nice work @SwastikTripathi!

Got to learn so much. This community is awesome. And special thanks to @kmaehashi for constant support😊


JSON vs Python objects

Why do all the methods return a string of JSON? What advantage does this have over returning plain Python objects (dicts, lists, etc)?
It seems a little backwards to return JSON as part of the API that's supposed to be easy to use - now I also have to parse that myself. If you require JSON strings, perhaps you could provide a keyword argument, eg json=True or json=False that will handle this accordingly.

Hey @gdude2002 , I understand your concern and I think there should be an option like json=False added.
Consider this to be added in the next release :+1:

:+1:

So what if(that's a big if) someone would be using this in javascript and wanted to access the list being returned? Now I am not sure if you can inherently do that in javascript but I thought returning JSON objects would pretty much serve the purpose of delivering the data in a widely usable manner. Leave alone for javascript.
Now I may be wrong on this, so it would be great if you could share your thoughts on this.

Well, sure, but you're writing a Python library here, not a JavaScript library. What use case do you have for this Python-bound data somehow ending up being used by a JavaScript program, and why can't that program request the data on its own?

You have a point here @gdude2002 . So would returning a list  a good idea? Or a dict?

Whichever would be more appropriate for the data you're returning, yes. Most (valid) JSON data will translate directly to Python dicts, but there's no reason you can't clean them up a little before returning if you so wish.

I feel that list's would be good here (wordnet style).
So instead of
>>> vb.meaning("levitate")
'[{"text": "(intransitive) Be suspended in the air, as if in defiance of gravity.", "seq": 0}, {"text": "(transitive) To cause to rise in the air and float, as if in defiance of gravity.", "seq": 1}]'
>>>

it would return
>>> vb.meaning("levitate")
["(intransitive) Be suspended in the air, as if in defiance of gravity.",  "(transitive) To cause to rise in the air and float, as if in defiance of gravity."]
>>>

when json=False
What do you think ?

Yeah, that makes sense to me.

Closed by 7573f21.
feel free to reopen it again if not the case @gdude2002


Allow upload to module fields w/o existing record

Currently, we expect a record to exist before we can do a file upload.
Users should be able to upload files directly to modules and bind that to record later
Todo:

[x] new upload endpoint /namespace/{namespaceID}/module/{moduleID}/attachment/{fieldName}
[x] alter existign upload endpoint for consistencty: /namespace/{namespaceID}/module/{moduleID}/record/{recordID}/attachment/{fieldName}
[x] alter AttachmentService.CreateRecordAttachment to accept calls w/ recordID=0 and to verify permissions (CanCreateRecord)
~add backend process (see service.Watchers()) to cleanup orphaned files after XY hours/days~ (moved to #4)

See:

cortezaproject/corteza-webapp-compose#79

Fixed in f601e0aa


Add eu-north-1, which should be considered stable at this point

The only failed test is a GCP one, so this is safe to merge!

The only failed test is a GCP one, so this is safe to merge!

Thanks for review! Going to merge this in now.

Thanks for review! Going to merge this in now.


Add walkthrough for Azure Web Application

Hey Guys!
It looked like you had a walkthrough for a windows desktop but can you add a walkthrough for installing the driver on a windows Azure Web App? :)
Thanks,
Elliott Harrison

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ff86e045-4810-78b5-6646-534621f207b0
Version Independent ID: 8b23634b-12d2-ffec-47c4-391a6eec04f8
Content: Databricks ODBC and JDBC drivers - Azure Databricks
Content Source: databricks/integrations/bi/jdbc-odbc-bi.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

Thanks for the feedback! We have assigned the issue to the content author to further review this and update the document as appropriate.

Thanks for your dedication to our documentation. Unfortunately, we have been unable to address your issue and apologize for the delayed response. We are closing this issue, but if you feel that it's still a concern, please let us know directly at<EMAIL_ADDRESS>#please-close

#please-close


Enhance PR Size Labelling

Pull Request
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

#59  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @JackPlowman and the rest of your teammates on  Graphite

Merge activity

Oct 27, 3:50 AM EDT: A user merged this pull request with Graphite.


Update sql-database-upgrade-server.md

Hi @VeljkoVasic, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

@stevestein
Please review and approve/disapprove, thanks.

#sign-off


Add speeds to fan dropdown in ISY fan component

Description:
Related issue (if applicable): fixes #
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>
Example entry for configuration.yaml (if applicable):

Checklist:
If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

This is a relatively simple change that does 2 things:

There was a static entry in the array for fan speeds for "med". I have instead created a new variable "SPEED_MEDIUM" to override the one from init.py
I have added a speed_list function so that the dropdown now works correctly. I do not believe any documentation or test cases need to be updated

There is a number of existing problems in the code currently with this platform:

It overwrites the wrong properties.
Properties are set directly.
No speed_list property.
No supported_features property.

There might be more, I haven't looked through everything yet.
If you want, we could work together and try to fix all of these in this PR.

@MartinHjelmare  I would be happy to look at this; however, I would consider myself a novice, so it would take some time. Would merging this PR be acceptable for now?

Ok, I have the requested changes.

Works properly!


use variadic arguments instead of func_get_args(); for 2.1

https://github.com/yiisoft/yii2/blob/master/framework/console/controllers/FixtureController.php#L105 example
    public function actionLoad(...$fixturesInput)
    {
    }

Will raise the requirement to PHP 5.6

@samdark wasn't the requirement at 5.6 already?

https://github.com/yiisoft/yii2/blob/2.1/composer.json#L64

Now it can be moved to 2.1: https://github.com/yiisoft/yii2/blob/2.1/composer.json#L71


Switch to ITelemetryLoggerExt which supports arrays

Description
PR #12863 moved the typings for our internal loggers to telemetry-utils package and added support for arrays.  But throughout the code we still use the old type ITelemetryLogger which doesn't support arrays.
This PR is a glorified find-all-replace across the client packages for ITelemetryLogger to ITelemetryLoggerExt.
Breaking Changes
Shouldn't have any.  I'm doing a quick audit to make sure.
Reviewer Guidance
I'm mostly depending on a green build for validation here, I did it all via tooling (although it was a bit sloppy along the way).

Moving to next


Allow modPow to handle negative exponents

When b is negative the equation a^b mod n is the same as c^-b mod n where c is the multiplicative inverse of a modulo n. It should be a relative small change to the code to also allow for negative exponents in the modPow method.

This is an integer library. Allowing negative exponents would require handling of non-integer values. For example, 2^(-3) is not an integer.

I am only talking about modular arithmetic in which case a negative exponent does result in an integer, for example 2^(-3) mod 11=7.

2^(-3) mod 11
= 8^(-1) mod 11
= 1/8 mod 11
Since 11*0 < 1/8 < 11*1,
= 1/8

Modular exponentiation will always result in an element from the group (Z/nZ)*, since 1/8 is not an element of (Z/nZ)* we have that 2^(-3) mod n != 1/8 mod n. (See also https://www.wolframalpha.com/input/?i=PowerMod[2,+-3,+11])
For reference on how to calculate the negative exponent modulo n:
https://math.stackexchange.com/questions/1015713/how-to-deal-with-negative-exponents-in-modular-arithmetic
https://ipfs.io/ipfs/QmXoypizjW3WknFiJnKLwHCnL72vedxjQkDDP1mXWo6uco/wiki/Modular_exponentiation.html


[Security] Explicitly set min TLS protocol version to prevent replay attack

Description
TLSv12 and above support Message Authentication Codes which prevents replay attacks
See #2
This PR set configures URLSessionConfiguration explicitly to use TLSv12 or newer.
See https://tools.ietf.org/html/rfc5246#section-5

@ChristopherSchmitz could you please look into this PR?

@sebastianpicklum thanks for opening the report. On iOS we consider the operation system default as secure and will not introduce a dedicated min TLS version on the app for now.