text:
Nonce error when using with Firebase Authentication

This tool seems to be incompatible with Firebase Authentication for some reason. When attempting to login with saml-mock as an IdP, Firebase rejects the SAML Response with the error Duplicate credential received. Please try again with a new credential. (auth/missing-or-invalid-nonce).
I've configured saml-mock as a Custom SAML provider in Firebase, though I'm not sure if I just misconfigured things. If there's interest in getting this to work with Firebase, I can try to provide more details and steps to reproduce.

@brianpeiris I don't have any experience with Firebase, but the missing-or-invalid-nonce error sounds like it's expecting an OIDC flow rather than SAML, because nonce is an OIDC concept.
If that doesn't seem to be the problem, would you be able to share a HAR file of the full login flow? I can check if something's amiss. Please make sure to redact anything sensitive or PII from the HAR.

Hmm, perhaps the nonce is specific to Firebase's authentication mechanism. Still not sure why saml-mock would fail to work though. I was able to get boxyhq/mock-saml working.
I'll try to make a minimal reproduction and record a HAR for this in a few days. Thanks.

@thameera I've reproduced the issue with a fresh Firebase project and a simple test application.
Here is the HAR file showing the nonce error. I've deleted the associated firebase project, so any sensitive information is now invalid. saml-mock-firebase-har.zip
I've also created a repo containing the test application here: https://github.com/brianpeiris/test-firebase-saml
Also confirmed this application and Firebase configuration works with BoxyHQ's Mock SAML as I mentioned earlier.

Thanks for the sample app and HAR file. It looks like Firebase looks for unique IDs in the SAML assertion, but SAML Mock hard codes that to "1234". Can you try changing this value every time you login and see if the error goes away? This is the ID="1234" part in first line of the SAML Assertion textbox.
If the login starts working after that, I'll update the mock so that the assertion is a unique ID always.

Thanks! That was the issue. Every SAML assertion must have a globally unique ID -- it didn't even accept duplicated IDs across different browsers.
Out of curiosity, how did you figure that out from the HAR?
Also some notes for anyone trying this:

I also had to enable saml-mock's "Sign Response" checkbox, or else Firebase would fail with Failed to verify the signature in SAMLResponse (auth/invalid-credential).
The issuer and audience have to match between Firebase and saml-mock. Otherside you will get errors like SAML Response <Issuer> mismatch. (auth/invalid-credential). or All <AudienceRestriction>s should contain the SAML RP entity ID: 'saml-mock'. (auth/invalid-credential).
To avoid this, I configured Firebase like so, for my test app, to match saml-mock's default issuer. The "aud" parameter in the SSO URL also has to match the "Service Provider (Entity ID)" configuration.Entity ID: saml-mock
SSO URL: https://samlmock.dev/idp?aud=urn:firebase:saml-mock&acs_url=https://localhost:5173/__/auth/handler
Service Provider (Entity ID): urn:firebase:saml-mock

Great, I'll push a fix shortly.
It wasn't clear from the HAR itself, but some research showed that one possibility would be a non-unique nonce. Since SAML doesn't have nonces, I did some trial-and-error tests with non-unique values in SAML Mock responses like ID and SessionIndex. It was more of a lucky find. Talk about unhelpful error messages.
The responses had to be signed indeed (as opposed to assertions), forgot to mention it here. Didn't come across the issuer mismatch because i was using the same entity id everywhere.

Looks like this will need an ID that's different from that of the response's. I'll fix this tomorrow.

@brianpeiris if you can confirm that the latest change fixes the issue we can close this out. You'll still need to check Sign Response manually.

@thameera Yup, confirmed that the auth works as expected now. Thanks for the fix!

Great, thanks for reporting and testing!

authors: brianpeiris thameera

repo: thameera/saml-mock


text:
Display not updating to correct status + MQTT publishing early

Describe the bug
Onscreen display does not update when the panel is disarmed via the app or via MQTT.
Also MQTT appears to update before the timer has completed the countdown.
To Reproduce
See video.
Expected behavior
Expect the display to update to the correct status. I.e. disarmed, panel shows disarmed.
MQTT topic only be set once countdown is completed.
Screenshots
Video

Smartphone (please complete the following information):

Device: Ollee M16071A
OS: Android 5.1.1

Check the internal logs, we log each incoming message.   You are also on an older version of the application, though not everyone has access to the new version through Google Play.   Please visit the release section to install the latest if possible.

I don't think this ticket is valid as there is now a new version.   If the issue persists, please file a new bug.

source: gharchive/issue

authors: seanmccabe thanksmister

repo: thanksmister/android-mqtt-alarm-panel

license_type: permissive

license_source: github-api


text:
Wrapping transport

[ ] I added CHANGELOG entry for this change.
[ ] Change is not relevant to the end user.

Changes

Verification

This was for mentoring right, can we close?

source: gharchive/pull-request

authors: GiedriusS MichaHoffmann

repo: thanos-io/objstore


text:
made docsearch attribute reflect version of page

Signed-off-by: thisisobate obasiuche62@gmail.com

[ ] I added CHANGELOG entry for this change.
[x] Change is not relevant to the end user.

Changes
Made docsearch attribute reflect the version of the page

Verification
Works on local

it will result in meta tags with values v0.2

cool, just tested this and it works perfectly in the preview :)

Awesome!

authors: squat thisisobate

repo: thanos-io/thanos


text:
Editing a post sets the id to 0

Laravel Version: Latest
Voyager Version:  v0.11.12

Description:
Everytime I update a a post, the value of the ID changes to 0 no matter what...
This only happens when updating a post, it doesnt have on any of the other edit pages....
Steps To Reproduce:

I've just tested and Post update is working fine.
This seems related to your Post view, you probably changed it?!
Please compare it with the Voyager Post view.
Good luck.

authors: akazorg cadmicro

repo: the-control-group/voyager

license: mit

license_source: bigquery


text:
I need add post view count . How it with Voyager ? Any example ? Or Anyone can help me ?

Description
A clear and concise description of what is missing, incorrect, or needs clarification.
Proposed location for change
A link or description of where, in your opinion, this change would best fit in our current documentation.
Additional context
Any relevant links or other information to justify this change.

You must fill out the issue template, not just leave it default.


text:
[BUG  Menu Builder]

Hello
in panel admin

Menu Builder

has a bug!
It worked. But in

the Drag and drop section of the menu items below to re-arrange them.

I Delete a menu Items !!
then writes the

Successfully Deleted Menu Item.

But not really deleted
What should I do?

Sloved


text:
Package documentation

Document all the code in the package.

I´ll go for it!

authors: Adrianns br-programmer

license: MIT


text:
validator: Fail on impossible configurations

Especially when processing, stddev or target causes it to be impossible to meet deadline.

Possibly as an extension one could also ask "will this config sustain minimum N jobs/second". Ref #43

repo: the-grid/guv


text:
Possible flickering menu fix

Fix for flickering menu (1920x1080 resolution problem)
This problem cant be replicated on the local server for some reason... But I tried to fix it using User CSS (browser extension) and it seems that editing this part of CSS solved the problem. (Tested several times)

.deploy

Thanks for the PR, but this doesn't seem to fix the issue to me.

.deploy

.deploy main

authors: ErrorCZE Razzmatazzz

repo: the-hideout/tarkov-dev


text:
OpenMPTarget

For plain C target, OpenMP is a good enhancement. omp parallel for is obvious but omp simd seems an effective way to produce SIMD instructions.
A simplistic target is currently in the compiler module, which uses a user-provided map from inames to pragmas; see use in this example.
It would be better to take advantage of Loopy's iname tags to trigger generation of a pragma, e.g.

g.0, loop over outer global dimension, results in #pragma omp parallel for
l.0, ilp or vec, loop over local dimension, results in #pragma omp simd

There are other useful pragmas for label data as private, loop fusion, etc, but this is the first step.

This generates a lot of functions for many variations.  On GCC 6.3 even results in AVX-512 variants which don't compile locally.

Since we're already shipping Numba in TVB, which also supports a omp parallel like directive using prange, I'd prefer to drop this for the moment. We can reopen later if required.

repo: the-virtual-brain/tvb-hpc


text:
First Timers Only

Contributing to open source for the first time can be scary and a little overwhelming.
I'm willing to hold your hand so you can make your first PR. The tasks mentioned in this issue are rather a bit easier than normal. And anyone who's already contributed to open source isn't allowed to touch them!
Okay, here we go! The aim of this project is to extend http://github.com/swapagarwal/JARVIS-on-Messenger functionalities to other platforms (like Telegram). Head over to http://m.me/J.A.R.V.I.S.on.Messenger and try out the features. Pick any one simple feature and we'll add it to https://t.me/jarvis_chatbot
Join the conversation on Discord: https://discord.gg/MsZ9N9n 👈
I'd highly encourage you to document the process, blog and tweet about it and encourage other first timers to do the same!
https://www.firsttimersonly.com/

Hello! We are 2 students from the computer science department of Aristotle University of Thessaloniki and we want to work on that for a project we have on open source.

@StylPamp Let's discuss more on Discord. 👍

Hi I am also student from india , and would like to contribute in your project

@Predator1997 Hop on to Discord and we'll pick what you can work on. 👍

Thanks for letting me help, can i know your discord username?
Thank You
Parth Bangale
On Thu, Dec 13, 2018 at 7:20 AM Swapnil Agarwal notifications@github.com
wrote:

@Predator1997 https://github.com/Predator1997 Hop on to Discord and
we'll pick what you can work on. 👍
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/the-vision/jarvis-telegram/issues/1#issuecomment-446812530,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ab2v0plhhvUSr_CfEZGygf_rVgX3NXTXks5u4bJbgaJpZM4ZNrPR
.

Join the conversation on Discord: discord.gg/MsZ9N9n 👈

☝

Hey, I'd love to contribute to the project. This would be my first time.

Hi @swapagarwal , I would love to contribute to the project. Please let me know how can I get on?

hello..im mew to coding..(python)..been doing it about a yeat now...is this the right place for me?

Hi there! I’m interested in contributing! Should I just message you on discord so we can talk about how I could contribute? I’ve never contributed to an open source project before

Hello! I would love to contribute to this open source project. Let me know what I should work on. Thanks!

@swapagarwal
Is this still open for contribution? I am rather new to Python and have never contributed to Open Source before. It would be great if I could start here. Any suggestions?

Hi there, I am also very new to Python and have never contributed. I would love to start here or get any suggestions!
Many thanks,
Madeline

Hi There!,
I'd like to contribute to this project, I'm quite new to open-source, is there a discord I can join?

Hi, I am new to open source and would like to contribute to this ticket. Can you please let me know if this this ticket is still open?

Hi, I am new to open source and would like to contribute to this ticket. Can you please let me know if this this ticket is still open?

Hello Swapnil, I am new to GitHub and would like to contribute as part of my college project. Is it still open, or would you recommend other projects that do the same?

Contributing to open source for the first time can be scary and a little overwhelming. I'm willing to hold your hand so you can make your first PR. The tasks mentioned in this issue are rather a bit easier than normal. And anyone who's already contributed to open source isn't allowed to touch them!
Okay, here we go! The aim of this project is to extend http://github.com/swapagarwal/JARVIS-on-Messenger functionalities to other platforms (like Telegram). Head over to http://m.me/J.A.R.V.I.S.on.Messenger and try out the features. Pick any one simple feature and we'll add it to https://t.me/jarvis_chatbot Join the conversation on Discord: https://discord.gg/MsZ9N9n 👈
I'd highly encourage you to document the process, blog and tweet about it and encourage other first timers to do the same! https://www.firsttimersonly.com/

Hey, I'm beginner. I use ChatGPT to find an open-source project. I hope I'm in the right place.

authors: Mythili007 NovusEdge Predator1997 Sergeamon Vandinimodi1595 bitnahian flatman123 jarmarquez mmmbennett pratheekcr swapagarwal techmariah varunika

repo: the-vision/jarvis-telegram


text:
Talent Domains at "Taishan Mansion" are at the wrong region

Hi, I found that all the talent domains at Taishan Mansion are at Mondstadt instead of Liyue. Can you go check it ?

good catch.
thanks.
domainentrance is one of the few things i had to manually map

which weapon material

Sorry I can't open my script right now but a few days ago I did a query for weapon material domain for each region and I found that the one which should be located at Liyue is at Monds. My result was ["Mondstadt", "Mondstadt", "Inazuma"] instead of ["Mondstadt", "Liyue", "Inazuma"]

it's for the domain entrance "Hidden Palace of Lianshan Formula"

Problem in the index too

npm update genshin-db@latest

authors: Sairei nlhnam2000 theBowja

repo: theBowja/genshin-db


text:
[BUG] Missing data in 2024 Sprint Qualifying

Describe the issue:
In 2024 Sprint Qualifying Sessions Q1, Q2 and Q3 times are missing. Could you please add them?
Reproduce the code example:
session=fastf1.get_session(2024,"Miami","Sprint Qualifying")
session.load()
session.results

Error message:
No response

See if this does what you want: split_qualifying_sessions

See if this does what you want: split_qualifying_sessions

No, I meant that session.results["Q1"] (the same goes for Q2 and Q3) are filled with NaT values intead of the actual qualifying times (as it is, for example, in the qualifying session from fastf1.get_session(2024,"Miami","Q")

@babi00 please make sure you are using the latest version of FastF1. If you are using pip, run pip install --upgrade fastf1 to update.
This should no longer be an issue in the most recent version.

@babi00 please make sure you are using the latest version of FastF1. If you are using pip, run pip install --upgrade fastf1 to update. This should no longer be an issue in the most recent version.

It says that I already have the latest version (3.3.7, right?). I don't understand if somehow it's just a problem for me or if it is a data's issue.

@babi00 I am currently on vacation without any  computer. So I cannot diagnose really. You can try and delete the whole content of the cache directory. FastF1 should print the path to your cache folder every time you run any script. Maybe this resolves the problem. Else, I can't help you any more before next week.

This is most likely related to #364 as Ergast as of now does not support both sprint shootout (2023) and sprint qualifying results.
Code example:
session=fastf1.get_session(2024,"Miami","Sprint Qualifying")
session.load()
print(session.results)
Output:

@MyosotisLz is correct that Ergast does not support the Sprint Qualifying. But a large part of the data (including the Q1/2/3 times) should be calculated from the timing data as a fallback.
There was a problem where the renamed "Sprint Qualifying" this year wasn't correctly handled as a session that has qualifying format. There is/was a naming conflict because "Sprint Qualifying" already existed in 2021, but back then it was a session with race format. I've fixed this now to properly differentiate by year, and now the results will be available via the fallback mechanism.

@MyosotisLz is correct that Ergast does not support the Sprint Qualifying. But a large part of the data (including the Q1/2/3 times) should be calculated from the timing data as a fallback.
There was a problem where the renamed "Sprint Qualifying" this year wasn't correctly handled as a session that has qualifying format. There is/was a naming conflict because "Sprint Qualifying" already existed in 2021, but back then it was a session with race format. I've fixed this now to properly differentiate by year, and now the results will be available via the fallback mechanism.

I'm sorry but I don't understand how can I can now access to Q1/Q2/Q3 times. I've installed the upgraded version but still didn't find a way. What do you mean with "fallback mechanism"?

@babi00 you don't need to do anything. If you have updated to v3.3.8, the Q1/2/3 times are now simply available in the results.
The fallback is just an internal thing that you don't need to worry about. I just wanted to mention it because obviously the data in question is not available on Ergast for this session.

authors: Casper-Guo MyosotisLz babi00 theOehrly


text:
[Bug] overall help not working (CLI error)

Describe the bug
When running pulsemeeter -h or pulsemeeter --help the command produces an error.
Expected behavior
printing the help
log
❯ pulsemeeter --help
Traceback (most recent call last):
  File "/usr/bin/pulsemeeter", line 8, in <module>
    sys.exit(main())
  File "/usr/lib/python3.10/site-packages/pulsemeeter/__main__.py", line 514, in main
    create_parser_args()
  File "/usr/lib/python3.10/site-packages/pulsemeeter/__main__.py", line 322, in create_parser_args
    args = parser.parse_args()
  File "/usr/lib/python3.10/argparse.py", line 1825, in parse_args
    args, argv = self.parse_known_args(args, namespace)
  File "/usr/lib/python3.10/argparse.py", line 1858, in parse_known_args
    namespace, args = self._parse_known_args(args, namespace)
  File "/usr/lib/python3.10/argparse.py", line 2067, in _parse_known_args
    start_index = consume_optional(start_index)
  File "/usr/lib/python3.10/argparse.py", line 2007, in consume_optional
    take_action(action, args, option_string)
  File "/usr/lib/python3.10/argparse.py", line 1935, in take_action
    action(self, namespace, argument_values, option_string)
  File "/usr/lib/python3.10/argparse.py", line 1098, in __call__
    parser.print_help()
  File "/usr/lib/python3.10/argparse.py", line 2555, in print_help
    self._print_message(self.format_help(), file)
  File "/usr/lib/python3.10/argparse.py", line 2539, in format_help
    return formatter.format_help()
  File "/usr/lib/python3.10/argparse.py", line 283, in format_help
    help = self._root_section.format_help()
  File "/usr/lib/python3.10/argparse.py", line 214, in format_help
    item_help = join([func(*args) for func, args in self.items])
  File "/usr/lib/python3.10/argparse.py", line 214, in <listcomp>
    item_help = join([func(*args) for func, args in self.items])
  File "/usr/lib/python3.10/argparse.py", line 501, in _format_text
    return self._fill_text(text, text_width, indent) + '\n\n'
  File "/usr/lib/python3.10/argparse.py", line 650, in _fill_text
    text = self._whitespace_matcher.sub(' ', text).strip()
TypeError: expected string or bytes-like object

Python Version 3.10.4
Additional context
It somehow works on another device of me.

Okay I found the error. It was introduced by @theRealCarneiro with the pep 8 commit.
git blame: https://github.com/theRealCarneiro/pulsemeeter/blame/main/pulsemeeter/main.py#L286-L288
Going to create a pr soon.

fixed with #60

repo: theRealCarneiro/pulsemeeter


text:
Add nudgeIgnoreRange opt to number type

fixes #314
@tomorrowevening and @clementroche were experiencing an issue (#314) where using types.number with nudgeMultiplier and range at the same time is behaving unexpectedly. I understand that the source of the unexpected behaviour is that the nudge is automatically scaled to the size of the range, which can make the nudgeMultiplier behave very differently for different ranges. To fix this issue, I have added an additional types.number option nudgeIgnoreRange to disable this behaviour so that nudgeMultiplier results in the same nudge size regardless of the range.

Closing as fixed

authors: AriaMinaei vezwork

repo: theatre-js/theatre


text:
How it will lead with react-hooks?

I liked a lot it but now that there is a new coding approach with Hooks, how Deox will lead with it
Thanks, and congratulations by the library

Deox helps you create your Redux store more efficiently. React hooks changed the connect portion of react-redux API and it didn't affect your Redux store. So you can use Deox with react hooks like how you used it with connect higher-order component.
Also, you can check this codesandbox to see a working example and you can compare it with its previous version which is working by connect HOC.

authors: LukasTsunami thebrodmann

repo: thebrodmann/deox


text:
Wrong artifactId in exiftool-lib-1.1.pom

imgscalr-lib
should be
exiftool-lib

Sorry for the inconvenience, fixed.

authors: stikkos thebuzzmedia

repo: thebuzzmedia/exiftool


text:
[FEATURE] Code Linting

Detailed description
The Codebase is pretty Raw at this point.
To make onboarding and contributing easier, lint rules and maybe a prettier setup are recommended
Context
easiier to contribute.
no need for maintainers to force specific code styles in commentary -> can be handled by repo
Possible implementation
esLint, Prettier
maybe tsconfig?
Additional information
No response
Code of Conduct

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

hey @kabir0x23 do you think this a good idea?
if yes i could set up some rules.

hey @kabir0x23 do you think this is a good idea?
if yes I could set up some rules.

Yes, this is a great idea.
I have also tried linting once on one of my project, linter and prettier on commit.
Yes, go ahead 🚀.

this is ready, but please merge #10 before this.
it would be recommended to maybe create another branch, to base feature branches off.
maybe:
main for production ready
develop for developing and to base feature branches off?

Okay nice,
Got it
Like
create a develop branch only for developing purposes.
and main for developing
can you elaborate on, to base feature branches off?

this is ready, but please merge #10 before this.
it would be recommended to maybe create another branch, to base feature branches off.
maybe:
main for production-ready development for developing and to base feature branches off?

first merging PRs in dev branch (linters will their work)
and then we will merge it into the main branch

exactly, the only branch that merges into master is develop all other branches go into develop first.

exactly, the only branch that merges into master is develop all other branches go into develop first.

Nice Nice

Okay got it.

exactly, the only branch that merges into master is develop all other branches go into develop first.
for example: checkout develop -> pull -> checkout -b some-feature -> PR to develop
I will add an action to check code in CI tomorrow, but you can still merge this, i will do all the actions on another branch.

I will a create a development branch

repo: thecyberworld/thecyberhub-app


text:
Dropdown menu does not close

Dropdown menu does not close after clicking any meny item.
This happens even on example http://thednp.github.io/bootstrap.native/#exampleDropdown in every browser, I've checked IE11, Chrome and Firefox.
Original bootstrap javascript has such behavior and works well http://getbootstrap.com/javascript/#dropdowns

Indeed, our implementation here is a bit different, slightly more simple, it handles forms inside dropdown-menu and when the when the click target is a link, it goes to that link.

Hi @thednp, awesome library! Saves me many bytes :)
So what is the solution if you want it to close on clicking a menu item? E.g. in case you use named anchors?

@pors You can always fork the script and do something like this:
    if ( target === self.menu || target.parentNode === self.menu || target.parentNode.parentNode === self.menu || (/\#/.test(target.href) || /\#/.test(target.parentNode.href)) ) {
      self.toggle(e);
    }  else if ( children && children.indexOf(target) > -1  ) {
      return;
    } else { self.close(); }

Haven't tested but you probably get the point.

Wow, that's a fast answer :)
Will do what you propose, thanks!

@pors and @egmen the future version will have an option to control this behavior.
By default the new option will be disabled false which will make the Dropdown same as before, but when true, it will not close, as you know it is now, and even better.

authors: egmen pors thednp


text:
Having trouble making this work

Hey,
I'm quite new to this, so I really have no idea how to get a project set up with this... Could you be a bit more detailed with your instructions.
I'm familiar with Cordova/Phonegap 3.0.0 building through terminal and I also am familiar on how to set up Chromeview as a library on a project. From there I'm a bit confused I'm not sure where to initialize Chromeview and I'm also not really certain when I use this Cordova-Android-Chromeview tool.
I followed the instructions as was still quite confused. If you could help me out that would be greatly appreciated.
Thanks.

AltLayer Airdrop Season One Announcement

Exciting news! AltLayer token (ALT) is set to launch on Binance on January 25, 2024. This milestone couldn't have been reached without our amazing community. Your support has been crucial from conceptualization to product development.
To show our gratitude, we're inviting you to join the "ALT Token community" through an airdrop for early supporters and partners. Below is a summary:

Total Allocated ALT Tokens: 300,000,000 (3% of total supply)
Distribution Categories:

NFT Holders
Altitude Campaign Participants
EigenLayer Restakers
EigenLayer Ecosystem Partners
Celestia Stakers and others

For detailed criteria and information, check the full announcement here.
Claim opens from January 25 to February 25, 2024. Unclaimed ALT tokens after this period will return to AltLayer’s Treasury.
Thank you for being part of AltLayer's success! More to come in Season One, stay tuned.
Note: Certain regions are restricted from the airdrop. Please review the disclaimer before participating.
Winners: @volatikus, @lunamcsv, @Smart624, @techsouvik, @chybisov, @joeshub, @dalraf, @kenjiSpecial, @0x434d53, @abedimajid, @oldtune, @mannystatus, @3lding, @nowakkamil, @omarefg, @derekbeard, @daddinuz, @franciosi, @mehmeta, @Web3Capital, @the40thieves, @Tsopic, @hoganri, @theforager, @rkaelle, @Jigaladima, @sujal, @dj-sly, @abefimov, @andrewpaulicek

authors: Bhanderi-Aksahy Spittal

repo: thedracle/cordova-android-chromeview


text:
Better memory-mapped CSR matrices

[ ] Additional function parameters, change functionality or change defaults?
[ ] New estimator in cr.tl.estimators?
[ ] New kernel in cr.tl.kernels?
[ ] New gene trend model in cr.ul.models?
[ ] New plotting function in cr.pl?
[x] Other?

Wishlist:

no copying into memory*
support for bulking (most likely homogenous [same shape, indices and indptr], maybe heterogenous if needed)

TODOs:

[x] how to handle resize? - use many files, we will need variable sizes (combination + normalization)
[x] *check if scipy.sparse.csr_matrix with underlying memory-mapped buffers already satisfy this - no
[ ] how to structure the temp directory for faster access? see: https://stackoverflow.com/questions/8238860/maximum-number-of-files-directories-on-linux
[ ] lazy computational approach? (would need a lot of refactoring regarding combinations, but doable - write a small interpreter [we already have the tree structure + call the sampling method])

Come to think of it, I think the propagation mode should be removed - it brings too many problems, it's not efficient + sampling already covers it.

repo: theislab/cellrank


text:
Split function in sc.get

This adds sc.get.split to split adata based on an obs column. The examples are in the docstring.

I think this is a really good idea. Definitely a good hold over until a real GroupBy object is worked out. I'll review in depth later but have a few thoughts:

How about split_by? Rhymes with group_by which this is quite like.
I would like to be able to do this along the var axis
What do you think about including some of the grouping options from _prepare_dataframe? E.g. grouping by multiple keys, binning by continuous values? It would be nice if this could be used in place of _prepare_dataframe.

The features would not have to be implemented in this PR, but it would be good to think about what the API for them would be and making sure it could be added elegantly.

Renamed to split_by, added axis argument.

What should be names of interval categories in a returned dict? Intervals converted to strings?

Now key is renamed to by, it can take a string, list or series. I still prefer to have the groups argument instead of making custom grouping series.

authors: Koncopd ivirshup

repo: theislab/scanpy


text:
Write Blazor .NET integration guide

Is your feature request related to a problem? Please describe.
Write an integration guide on the official documentation for using Blazor, Tailwind CSS, and Flowbite.
Describe the solution you'd like
Create a new blazor.md file and based on the structure of other integration guides (ie. TypeScript) write a guide using this structure:

Introduction to Blazor & what companies use it
Create a new Blazor project
Install and configure Tailwind CSS with Blazor
Install and configure Flowbite
Showcase Flowbite components and example
Starter project repository with MIT License

Describe alternatives you've considered
None.
Additional context
None.

Hey @CatherineKiiru,
That would be more than awesome! Together with @tdashworth we've started a Flowbite Blazor library which would be more than suitable to have a standalone integration based on the core UI components from Flowbite - so the current guide should at least specify that library.
Otherwise, you can start working on this issue by first writing a guide on how to create a new Blazor project, how to install Tailwind CSS, how to install Flowbite and showcase the usage of some of the components from Flowbite.
A starter repository would also be useful!
Cheers,
Zoltan

Thank you, I'll work on it. Do you have a deadline preference?

Hey @CatherineKiiru,
Take your time, there's no rush or deadlines :)
Cheers,
Zoltan

Any timeline to have this in place? Thanks in advance.

I am working on it and plan to complete this guide in June.

I was really hoping that I was able to setup a base project to start working on critical project with flowbite.
Did you find a way to init flowbite on a blazor wasm project?
If you do, you could share some details here and I can do the rest of the heavy lifting on the blazor side.
Thanks in advance.

@famda  I follwed these steps to setup my project for Tailwinds
https://www.youtube.com/watch?v=enE3omOdzZc
I am trying to integrate flowbite now.
@CatherineKiiru  if you have anything please share.

Hi @jsukhabut I'll share once I am done

authors: CatherineKiiru famda jsukhabut zoltanszogyenyi

repo: themesberg/flowbite


text:
🛑 Files CDN is down

In 687e45e, Files CDN (https://files.therealzzy.xyz) was down:

HTTP code: 502
Response time: 13313 ms

Resolved: Files CDN is back up in d67382a.


text:
Timesheet - 16/04/2021- Manish Ram

Task 1
Reviewed timesheets
Proof of Work

Commented "Approved" for approved timesheets or left other comments to ask for additional Infos to the timesheet issues dated 13/04/2021 and 14/04/2021
https://github.com/thenewboston-developers/Contributor-Payments/issues

Time Spent
1 hour

Task 2
Audit contributor payments for 13/04/2021

Checked sent payment amounts were equal to worked hours x hourly rate.

Checked payments made to the correct account.

Checked payments were not missed.

Labeled Paid timesheets and closed them.

https://drive.google.com/file/d/1f_PS2ReFSLMmFr_yloESkvrGuUGv0jvx/view

Time Spent
0.5 hour

Task 3

Audit related minor discussion
Discussion with Chrisha on standard meeting PoW doc and Hiring Process
Ideal day for Auditor added to Auditor's doc

Proof of Work

Can be verified by Audit Team Lead
https://docs.google.com/document/d/1jG-N78RSdQl-j5CTwI8wSN3NAePNDVDxF6G1Kjnx4-0/edit
https://docs.google.com/document/d/1Nson3mDYeOyXF0THY8btlWtDAwIgHFfCcuXD4c3rFd8/edit
https://docs.google.com/document/d/11qWPCVpcJyH1eeRstjLwBsyBS_kA5m1V40boakWleMk/edit

Time Spent
1 hour

Total Time Spent
2.5 hours
Account Number
0f92e975101eb96cea80dce430d74efd3172fa229377818d467ded85dcf2ab6c

Approved

authors: itsnikhil manishram


text:
Problem saving with BOM_UTF16_LE

Issue summary
When I setOutpuBom to BOM_UTF16_LE I always get chinese characters like:
ॡ뇃썡쎩쎩熱䀲筀裢얂쎓宦胢슚纩裢ફ猼牣灩㹴匠摦浵⁰‽楷摮睯匮摦浵⁰籼⠠畦据楴湯⠠潤⥣笠瘠牡爠晥瑓汹‽潤⹣牣慥整汅浥湥⡴猧祴敬⤧硲獅‽⠯⹛⬪帿笤⡽簩孜嵜⽜屜⥝术摩硒㴠⼠扜晳搭浵⵰摜⴫敲学㄰崲睜尫⽢敫䡹湩⁴‽‰㴼渠癡杩瑡牯瀮慬晴牯⹭潴灕数䍲獡⡥⸩湩敤佸⡦䴧䍁⤧㼠✠浃❤㨠✠瑃汲Ⱗ愠摤癅湥䱴獩整敮⁲‽畦据楴湯⠠ⱥ渠扣
If I put BOM_UTF8 then:
a	ñaééñq2@@{∂œæ[‚©~∫
I want to store in UTF16_LE cause in Mac Excel it supposes works well. If for example I open in mac UTF8 store csv, I can't see "ñ é..." but If I open with Sublime and Save as UTF16_LE with BOM then Excel for Mac open it perfectly.
But whern I save directly with $csv->setOutputBOM(Writer::BOM_UTF16_LE), I see always chinese long strings.
System informations

Information
Description

League\Csv version
8.1.1

PHP/HHVM version
7.0

OS Platform
OSX and Centos

Standalone code, or other way to reproduce the problem
I've got this code:
$csv = Writer::createFromFileObject(new SplTempFileObject());
$csv->setDelimiter("\t");
$csv->setOutputBOM(Writer::BOM_UTF16_LE); //or utf8
$csv->insertOne(['a','ñaééñq2@@{∂œæ[‚©~∫']);
dump($csv->output());die;

Expected result
I expect:

Actual result

@markitosgv Thanks for using this library.
What you are describing is not a bug, the library works in UTF-8 so the easiest way for you to resolve this issue is to convert your new rows into UTF16 prior to adding them to your CSV document. The setOutputBOM method job is to prepend the correct BOM sequence to the downloaded document, it does not guarantee that your data is correctly encoded.

Ok thanks I achieve with Excel for Mac example: http://csv.thephpleague.com/bom/
Thanks! My mistake.

authors: markitosgv nyamsprod

repo: thephpleague/csv


text:
New Netbanx Hosted Payments API Support

Added support for the new Netbanx (Optimal Payments / Paysafe) Hosted Payments gateway API support.
Supports:
Purchase (redirect)
Authorize (redirect)
Capture
Refund
All new Netbanx customers are not allowed to use the old API anymore.
API Docs: https://developer.optimalpayments.com/en/documentation/hosted-payment-api/overview/
Tests for capture() and refund() (success and failure casses) still needed.

This replaces the previous pull request:
https://github.com/thephpleague/omnipay-netbanx/pull/4

I will merge this but a follow up with some more docblocks would be appreciated.
Can you test this with a live account and verify that it works please? I will then tag for release.
Thanks for the contribution.

Will add some doc blocks and verify in a new pull request.

authors: delatbabel lukeholder

repo: thephpleague/omnipay-netbanx


text:
Rename Events to CommandEvents

According to the IRC discussion, it should be done to avoid confusion with domain events.

Closed by 6b34f09cb73bd9aaaf7559b9b2d8aaab26528976

repo: thephpleague/tactician-command-events


text:
add support for detailed PR browsing

allow being able to show detailed info about a repo's PR's, like labels and other relevant meta data from the response

duplicates #59


text:
handle to lever script

same as the door script where you can add handles. but this time for the lever script?

I was thinking about that a bit as well. Could you elaborate on the expected behaviour? Should only the handle be grabbable?

Hey.
I thin in the case when you add a handle. Only the handle ka grababble. When no handle is set specificly it behaves at it does now

This seems all doable to me right now? I think this issue should be closed.

Linked to https://github.com/thestonefox/VRTK/issues/1522

authors: 10FingerArmy koffertje kristianpd thestonefox

repo: thestonefox/VRTK


text:
🛑 GitLab is down

In c7fed23, GitLab (https://gitlab.theswissbay.ch/users/sign_in) was down:

HTTP code: 0
Response time: 0 ms

Resolved: GitLab is back up in 971aa1e after 307 days, 10 hours, 3 minutes.

repo: theswissbay/status


text:
Implement TAP 12

Add tap12 to the reference implementation. This TAP allows for greater flexibility in how keyids are generated. This will require the following changes to the client:

[x] Remove all use of keyid_hash_algorithms and instead use the keyid defined by the repository. This step is well documented in #848.
[ ] Check that all keys applied to a signature are unique using a standardized representation (ex modulus and exponent for rsa) so that the same key with multiple keyids cannot be applied to a threshold.
[ ] Make a local keydb for each delegating targets role so that keys can be locally scoped to their delegating instance (ie where the keys are defined in the delegating role and used in the delegated role)

The repository code should not need to change as sha256 may still be used to generate keyids.

I have started on step 1 in #1014.

Two quick questions:

Is there a plan to completely remove keyid_hash_algorithms in the course of the TAP 12 implementation? If not, we need to create a separate issue to do so.
Do others think the removal of the field deserves a decision record (#1141)?
#1014 has become quite a focal point for related discussions (see the many mentions from other GH issues/prs). Is it worth to retain a summary of these discussions?

1. Is there a plan to completely remove `keyid_hash_algorithms` in the course of the TAP 12 implementation? If not, we need to create a separate issue to do so.

Removing keyid_hash_algorithms would be part of a TAP 12 implementation, but it might be worth adding a separate issue as we decided in #1095 that most of the TAP 12 implementation should wait on the refactor work.

2. Do others think the removal of the field deserves a _decision record_ (#1141)?
   #848 has become quite a focal point for related discussions (see the many mentions from other GH issues/prs). Is it worth to retain a summary of these discussions?

As this is already discussed in a TAP, I don't know if a decision record is needed. However, I'd rather over-document than under-document, so if others disagree we can add one.

1. Is there a plan to completely remove `keyid_hash_algorithms` in the course of the TAP 12 implementation? If not, we need to create a separate issue to do so.

Removing keyid_hash_algorithms would be part of a TAP 12 implementation, but it might be worth adding a separate issue as we decided in #1095 that most of the TAP 12 implementation should wait on the refactor work.

I think it would be good to document the removal of keyid_hash_algorithms explicitly in a separate issue, it's related to TAP 12 but not blocked by it.

2. Do others think the removal of the field deserves a _decision record_ (#1141)?
   #848 has become quite a focal point for related discussions (see the many mentions from other GH issues/prs). Is it worth to retain a summary of these discussions?

As this is already discussed in a TAP, I don't know if a decision record is needed. However, I'd rather over-document than under-document, so if others disagree we can add one.

I think it could be good to add a decision record. The field is unique(?) to the reference implementation and hasn't been documented in the specification, therefore I think it a) doesn't make sense to look for documentation on this field's removal in the specification documentation (taps) and b) regardless, it should be explicitly documented in the implementation's repository.

This does not require much, if any, work in current python-tuf: we don't assume anything about keyids currently. Using keyids like "keyA" or "offline root key #1" should just work.

authors: jku joshuagl lukpueh mnm678

repo: theupdateframework/python-tuf


text:
Find dumps but don't show them

Hi,
I've a problem I can't solve by myself with your tool. When I run the tool on an email adress, he found breaches and in this case he found a dump too but I can't see it.
I took a screenshot of the problem.
Thanks for your help!

@DocKali it's possible that you came across an Email only dump, such as :
1@email.com
2@email.com
3@email.com

That's why it did not output anything, if it's possible can you share the email ?
You can contact me via Telegram : https://t.me/thewhiteh4t

@DocKali Please update by executing git pull inside pwnedornot dir, it will display a message now if it's unable to access the dumps.

Im still having this issue. And i know that the breach is not email only because i checked with my email.

authors: DocKali robertohein thewhiteh4t


text:
ES5 / ES6 dynamic require in index.js doesn't work with browserify

I end up with: Uncaught Error: Cannot find module './es5'
If I change the output from:
module.exports = require(useES6 ? './es6' :  './es5');
to:
module.exports = require('./es5');
Then everything works fine.

I have the same issue, please tell where exactly you've changed that? I'm new in typescript

Please, refer to this section in the documentation.
When using with browserify, webpack etc, you must import the library as:
import {AutoWired, Inject} from "typescript-ioc/es5";

or, if you are using es6 as output:
import {AutoWired, Inject} from "typescript-ioc/es6";

repo: thiagobustamante/typescript-ioc


text:
Document and improve abstract reader/writer interface

tinycbor fork branch thiagomacieira/dev adds support for abstract readers and writers, but the implementation had some limitations in cases where multiple CborValue cursors were iterating over the same CBOR document, causing state contamination.  The interface also was not documented.
This documents the new interface and further builds upon it by slightly re-arranging CborParser members and opening the token in CborValue to use by the reader interface for any required purpose.

This pull request is superseded by https://github.com/intel/tinycbor/pull/208

repo: thiagomacieira/tinycbor


text:
Remove unstable test

Relaying on the fact that systemd is not listed by apt list --manual-installed is fragile.
This test has been simply removed, the list feature being tested by the install and remove tests.
Proposed changes
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.
Types of changes
What types of changes does your code introduce to thin-edge.io?
Put an x in the boxes that apply

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Improvement (general improvements like code refactorings that doesn't explicitly fix a bug or add any new functionality)
[ ] Documentation Update (if none of the other choices apply)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Paste Link to the issue

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[ ] I have read the CONTRIBUTING doc
[ ] I have signed the CLA (in all commits with git commit -s)
[ ] I ran cargo fmt as mentioned in CODING_GUIDELINES
[ ] I used cargo clippy as mentioned in CODING_GUIDELINES
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

Codecov Report

Merging #333 (bfe296c) into main (56fa4f7) will increase coverage by 0.12%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #333      +/-   ##
==========================================
+ Coverage   66.02%   66.15%   +0.12%
==========================================
  Files          67       67
  Lines        3956     3956
==========================================
+ Hits         2612     2617       +5
+ Misses       1344     1339       -5

Impacted Files
Coverage Δ

mapper/tedge_mapper/src/collectd_mapper/batcher.rs
82.58% <0.00%> (+2.23%)
:arrow_up:

Continue to review full report at Codecov.

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

authors: codecov-commenter didier-wenzek


text:
Sample Project

Can you create a little sample compiler?

I probably would if I was still working on this project. Unfortunately I stopping work on it a couple months ago, but I would like to revive it at some point.


text:
ExpenseTrackerApp/CrypticRevenger

Developer Checklist

[x] Followed guidelines mentioned in the readme file.
[x] Followed directory structure. (e.g. ProjectName/{USERNAME}/...yourfiles)
[x] Starred ⭐ the Repo (Optional)

** Summary**
Expense tracker apps are typically designed to help users manage their finances by tracking and categorizing expenses, setting budgets, and providing insights into spending habits. They can vary in features and capabilities, so if you have a specific question about a particular expense tracker app or need information on how to use one, please provide more details, and I'll do my best to assist you based on the information available up to my knowledge cutoff date.
Screenshot
First page

After adding

Live Project Link
(https://www.zoho.com/creator/apps/custom-expense-tracking-management-software.html)

Hi @CrypticRevenger ,
Please update the directory name, and follow the guidelines in the readme file.
Thank you.

@thinkswell I have renamed and updated file please look into it.

Hi @CrypticRevenger ,
Please use the directory to -> ExpenseTrackerApp/USERNAME/...yourfiles

Sir can you please elaborate how to rename the directory as per your
requirements.
I have tired all I know.
Your regards
On Sun, 8 Oct, 2023, 2:23 am Krishna Vishwakarma, @.***>
wrote:

Hi @CrypticRevenger https://github.com/CrypticRevenger ,
Please use the directory to -> ExpenseTrackerApp/USERNAME/...yourfiles
—
Reply to this email directly, view it on GitHub
https://github.com/thinkswell/javascript-mini-projects/pull/671#issuecomment-1751815879,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A6R4X6LAKZZRWNW6VHQFYO3X6G6NPAVCNFSM6AAAAAA5W7V6JGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJRHAYTKOBXHE
.
You are receiving this because you were mentioned.Message ID:
@.***>

currently you are putting all your files inside ExpenseTrackerApp right, what you have to do is that just create another folder named - CrypticRevenger and put all your files in this folder intead.

Sir please check the updated file named updated the directory name , I have
done the same in that. Please check the attached file below.
On Sun, 8 Oct, 2023, 2:35 am Krishna Vishwakarma, @.***>
wrote:

currently you are putting all your files inside ExpenseTrackerApp right,
what you have to do is that just create another folder named -
CrypticRevenger and put all your files in this folder intead.
—
Reply to this email directly, view it on GitHub
https://github.com/thinkswell/javascript-mini-projects/pull/671#issuecomment-1751817812,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A6R4X6IDHRJZJRHV4HVC5KTX6G7ZBAVCNFSM6AAAAAA5W7V6JGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJRHAYTOOBRGI
.
You are receiving this because you were mentioned.Message ID:
@.***>

@CrypticRevenger please a README.md file, explaining briefly about

Your project
How to use it
And add some screenshots of the project.

Thank you again and revert back with a comment after these changes.

Duplicate PR, please close this @CrypticRevenger

authors: CrypticRevenger PBJI thinkswell

repo: thinkswell/javascript-mini-projects

license: Unlicense


text:
"Switch Account" button does not have any events and no event fires to onConnect either

So basically, when a user connects their wallet, I have an onConnect event that fires and creates them an account and I manage their auth myself. Now the issue is there's a Switch Account button, but no way to listen to or know that event has fired (maybe I could check the current account vs the stored address but like, cmon), can we get this added to the connect button props?

@ZachHandley good feedback.
You should be able to subscribe to these account changed events using activeWallet.subscribe(...)
This fires a bunch of interesting events l, including accountChanged which gives you the new account.
https://portal.thirdweb.com/references/typescript/v5/WalletEmitterEvents
Lmk if that helps

Interesting, okay, I'll look into that, thank you!

authors: ZachHandley joaquim-verges

repo: thirdweb-dev/js


text:
Added customizable filter key for flexibility

This PR adds a new user config for createOptions to customize how to run a search on given options. This allows users to add custom JSX.Element as labels without worrying about search results.

👋 I was going to say I don't think this would solve what you need. Did you still have a problem to solve here or all good now?

authors: akshaydeo martinpengellyphillips

repo: thisbeyond/solid-select


text:
[qwik-pod] Fix Files Not Showing Issue When Visiting Repo Through Profile Page

Below, we can see some files are not showing as expected

I think this was misinterpreted @kenslachtajr @SDaian
When going to a repo from the profile page, files don't show

Everything seems fine, this ticket can be closed as files and folders shows as expected after comparing with my original git repo.
Unfortunately we just wasted some valuable time.
image below was from Github itself which is the same as the above.

authors: hdJerry kenslachtajr


text:
Idee/Frage: Kann die Config auf eine andere Datei zugreifen für Eve History? Fake Kontaktsensor Variable.

Hallo,
habe eine Idee zu den Fensterkontakten und Eve History.
Kontakt in HAP angelegt als: HomeMaticWindowAccesory

Sieht schöner aus im Homekit (auch unsere 2 Flügelige Balkontür als Icon Auswählbar)

Siri Abfrage ob Fenster offen funktioniert (mit Hinweis auf Motorisierte Fenster

Status wird schön dargestellt mit offenem / geschlossenem Fenster als gerät

leider keine Eve History (zum vergleichen wann die Fenster offen waren im Bezug auf Temperaturabfall)

Kontakt in HAP angelegt als: HomeMaticContactSensorAccessory

Eve History möglich

leider wird kein Gerät im unteren reiter der Geräte angezeigt. Nur ein Kontaktsensor im "Status"

Kannst du dem HomeMaticWindowAccesory sagen es soll auch eine persist anlegen oder Blockt Eve die dann weil es kein HomeMaticContactSensorAccessory ist?
Da das Gerät nicht doppelt über HAP eingebunden werden kann (wegen Homekit nicht möglich),
könnte man doch eine Variable in Homematic anlegen mit dem Status offen / geschlossen. Dieser Status wird dann in EVE History angelegt (funktioniert zumindest bei der Relativen Luftfeuchtigkeit schon mit History)
Kann man dann diese Variable und das HomeMaticWindowAccesory irgendwie Gruppieren, so dass man in HAP dann das Window + die Variable einem Gerät zuweist? Dann würde die Anzeige in Homekit passen und Eve könnte die History erstellen.

Gruß meistermolli

Das Thema gab es so ähnlich bereits. Du musst Dich für eins entscheiden. Da Dir die eve History wichtig ist, warum nutzt Du dann nicht auch die eve App, da ist dann ja egal wie die Home App es darstellt. Btw. ist von Apple so gewollt, Kontaktsensoren zusammen zu fassen.

Das Thema gab es so ähnlich bereits. Du musst Dich für eins entscheiden. Da Dir die eve History wichtig ist, warum nutzt Du dann nicht auch die eve App, da ist dann ja egal wie die Home App es darstellt. Btw. ist von Apple so gewollt, Kontaktsensoren zusammen zu fassen.

Hallo @detLAN,
darum geht es ja aber in meiner Frage nicht... um beides nutzen zu können hatte ich eine Idee und Frage hier nach der Umsetzungsmöglichkeit.
Die wäre folgende:
**Virtuellen Taster nehmen und benennen "Fenster Status"
Programm Anlegen:
Wenn Fenster Kontakt = offen dann "Fenster Status" = true sonst "Fenster Status" = false
in HAP Homematic ein HomeMaticWindowAccesory anlegen mit dem Gerät Virtuellen Taster "Fenster Status"
dann ähnlich wie bei dem Boost Modus der Heizungsthermostate ein weiteres gerät integrieren, das Gruppiert angezeigt wird.
Das zweite Gruppierte Gerät ist dann der Fenster Kontakt mit HomeMaticContactSensorAccessory.
Dieses zweite Gerät kann man ggf. Ausblenden lassen von HomeKit?
Die Geräteklasse HomeMaticContactSensorAccessory ist dann aber im gesamten Gerät noch enthalten und wird hoffentlich dann von Eve in die History eingetragen.**

Mir geht es bei der HomeKit Nutzung schlicht darum meiner eigenen Familie zu Hause, aber auch der weiteren Familie (Eltern, Schwager, Bruder) zugriff auf das SmartHome zu geben. Zum Glück sind die fast alle mit Apple ausgestattet. Nicht jeder ist so gewandelt darin das SmartHome zu bedienen oder zu verstehen. Alle haben im Standard schon die HomeKit App drauf. Was bringt mir ein SmartHome, das nur ich selber nutzen kann und jeder weitere steht da wie der Ochse vorm Berg.
Ich kann dem Besuch auch sagen, bevor du es nutzen kannst lade bitte noch die
Hue App, die Nuki App, die Eve app, die Homeconnect app und die Sonos app herunter... finde dich darin zurecht.
Wenn du dich dann irgendwo in der app verläufst oder in der Datenflut ertrinkst macht der Besuch doch nie mehr die App auf.
Ich sage doch lieber: Hier ist die Einladung.
Der rest ist mehr oder weniger selbst erklärend (wenn es um die Bedienung geht).
Du kannst dir sobald du im WLAN bist selber die Haustür auf machen oder erst deine Matschigen Schuhe von der Wanderung in der Garage ausziehen und waschen.
Der eingeladene kann keine Geräteänderungen vornehmen, ist beim Annehmen der Einladung bereits in der richtigen App auf dem Startbildschirm mit den wichtigsten Geräten. Eigentlich schlau gelöst.
(Wenn HomeKit an anderen Ecken nicht so viele Einschränkungen hätte, die ich damit umgehen kann, dass ich Persönlich auch andere Apps nutze)
Besuch muss auch nicht auf die History Zugreifen oder die Automationen Programmieren. Das mache nur ich. Also reicht es aus, dass nur ich die Eve App nutze... dennoch sollte das alles etwas strukturiert sein.
Mein Ziel bleibt: Alles in einer App. Allein schon wegen der TV / HomePod und Sonos Bedienung nutze ich im gesamten Alltag auch die Apple Home App.

Hallo @detLAN,
darum geht es ja aber in meiner Frage nicht... um beides nutzen zu können hatte ich eine Idee und Frage hier nach der Umsetzungsmöglichkeit.
Die wäre folgende:
**Virtuellen Taster nehmen und benennen "Fenster Status"
Programm Anlegen:
Wenn Fenster Kontakt = offen dann "Fenster Status" = true sonst "Fenster Status" = false
in HAP Homematic ein HomeMaticWindowAccesory anlegen mit dem Gerät Virtuellen Taster "Fenster Status"
dann ähnlich wie bei dem Boost Modus der Heizungsthermostate ein weiteres gerät integrieren, das Gruppiert angezeigt wird.
Das zweite Gruppierte Gerät ist dann der Fenster Kontakt mit HomeMaticContactSensorAccessory.
Dieses zweite Gerät kann man ggf. Ausblenden lassen von HomeKit?
Die Geräteklasse HomeMaticContactSensorAccessory ist dann aber im gesamten Gerät noch enthalten und wird hoffentlich dann von Eve in die History eingetragen.**

Mir geht es bei der HomeKit Nutzung schlicht darum meiner eigenen Familie zu Hause, aber auch der weiteren Familie (Eltern, Schwager, Bruder) zugriff auf das SmartHome zu geben. Zum Glück sind die fast alle mit Apple ausgestattet. Nicht jeder ist so gewandelt darin das SmartHome zu bedienen oder zu verstehen. Alle haben im Standard schon die HomeKit App drauf. Was bringt mir ein SmartHome, das nur ich selber nutzen kann und jeder weitere steht da wie der Ochse vorm Berg.
Ich kann dem Besuch auch sagen, bevor du es nutzen kannst lade bitte noch die
Hue App, die Nuki App, die Eve app, die Homeconnect app und die Sonos app herunter... finde dich darin zurecht.
Wenn du dich dann irgendwo in der app verläufst oder in der Datenflut ertrinkst macht der Besuch doch nie mehr die App auf.
Ich sage doch lieber: Hier ist die Einladung.
Der rest ist mehr oder weniger selbst erklärend (wenn es um die Bedienung geht).
Du kannst dir sobald du im WLAN bist selber die Haustür auf machen oder erst deine Matschigen Schuhe von der Wanderung in der Garage ausziehen und waschen.
Der eingeladene kann keine Geräteänderungen vornehmen, ist beim Annehmen der Einladung bereits in der richtigen App auf dem Startbildschirm mit den wichtigsten Geräten. Eigentlich schlau gelöst.
(Wenn HomeKit an anderen Ecken nicht so viele Einschränkungen hätte, die ich damit umgehen kann, dass ich Persönlich auch andere Apps nutze)
Besuch muss auch nicht auf die History Zugreifen oder die Automationen Programmieren. Das mache nur ich. Also reicht es aus, dass nur ich die Eve App nutze... dennoch sollte das alles etwas strukturiert sein.
Mein Ziel bleibt: Alles in einer App. Allein schon wegen der TV / HomePod und Sonos Bedienung nutze ich im gesamten Alltag auch die Apple Home App.

Okay, dass ging so aus Deinem einleitenden Post jedoch nicht hervor 😉

Okay, dass ging so aus Deinem einleitenden Post jedoch nicht hervor 😉

Ähm wenn ich mir das hier so durchlese, weiss ich nicht was das eigentliche Problem ist ... 🤔
Sollte ich was umbauen müssen: Kann mir mal jemand ein mangement summary geben

Ähm wenn ich mir das hier so durchlese, weiss ich nicht was das eigentliche Problem ist ... 🤔
Sollte ich was umbauen müssen: Kann mir mal jemand ein mangement summary geben

authors: detLAN meistermolli thkl

repo: thkl/hap-homematic


text:
🛑 humite.stewarts.org.uk ssh is down

In 7ee239c, humite.stewarts.org.uk ssh (humite.stewarts.org.uk) was down:

HTTP code: 0
Response time: 0 ms

Resolved: humite.stewarts.org.uk ssh is back up in 6fd4607 after 20 minutes.

repo: thomasdstewart/upptime


text:
🛑 Syncthing-KA-TM is down

In b2431a1, Syncthing-KA-TM ($URL_SYNCTHING_MERZ_NIMBUS_TM) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Syncthing-KA-TM is back up in 31502ac after 4 minutes.

repo: thomasmerz/upptime


text:
🛑 Pihole-KA is down

In d3a32ec, Pihole-KA ($URL_PIHOLE_MERZ_NIMBUS) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Pihole-KA is back up in 32dd2b0.


text:
Polish translation

I translated all level descriptions into Polish. I will add docs.js translation soon.
Can someone who knows Polish check if there are any mistakes, errors or unclear instructions?

@jaworek, thanks! I'll be making a few small changes to the English in the next day or so, can I ping you to update PL one last time before I merge this in?

Sure!

Just made the changes.
New levels:

order 1
grid-template-columns 4
grid-template-columns 5
grid-template-columns 6

Also modified the wording on these levels:

order 1
grid-template-columns 3
grid-template 1

Shouldn't be any other major changes to the text. Feel free to finalize your translation!

Polish translation is finished. It's ready for merge.

Thanks @jaworek, merged!

authors: jaworek thomaspark

repo: thomaspark/gridgarden


text:
STP manager won't remove a paused job when the infoton is removed

Steps to reproduce:

upload sensor job infoton
pause it (set its active to false)
remove the sensor infoton totally

Expected result: the job will be totally deleted from the manager job map
Actual result: the job is left in the map as a paused job

The fix will be to handle deleted infotons for:

failed job
paused job

repo: thomsonreuters/CM-Well


text:
THORN-2166 Fix topology-openshift in OpenShift 3.10

[X] Have you followed the guidelines in our Contributing document?
[X] [v2] Have you created a JIRA and used it in the commit message?
[ ] [v4] Have you created a GitHub Issue and used it in the commit message?
[X] Have you checked to ensure there aren't other open Pull Requests for the same issue?
[ ] Have you built the project locally prior to submission with mvn clean install?

Tested in 3.9 too.

I take it you ran the entire https://github.com/rhoar-qe/thorntail-openshift-test-suite to verify?

I did just the topology one as it is the only place where this library is used (topology openshift). I can try with all tests if you want of course

Ah sure, right :-) No, that's fine.

Windows test failures are unrelated (MP Config and MP FT TCKs, management console).

authors: Ladicek juangon

repo: thorntail/thorntail


text:
Error: Expression was too complex to be solved in reasonable time

I’m getting an error Expression was too complex to be solved in reasonable time; consider breaking up the expression into distinct sub-expressions when using Argo to parse GitHub’s pull request JSON into my struct. I have the following decoder:
static var decoder: JSONValue -> PullRequest? {
        return PullRequest.create
            <^> <|"number"
            <*> <|"state"
            <*> <|"title"
            <*> <||"labels"
            <*> <|*"created_at"
            <*> <|*"updated_at"
            <*> <|*"merged_at"
            <*> <|*"closed_at"
            <*> <|["user", "login"]
            <*> <|*"assignee"
            <*> <|["repository", "owner", "login"]
            <*> <|"comments"
            <*> <|"html_url"
            <*> <|*"statuses_url"
}

That is 14 properties for the pull request entity from GitHub’s API (which returns a ton more). I’m currently using the code in #2 as master would lead to the compiler and indexer more or less hanging (they did not but they never finished in reasonable time ^^).
This seems to be caused by a bug in swiftc where only 11 statements per expression works.
Do you have a suggestion for workaround of this? As it would be great to be able to have more than 11 properties :smile:

@tonyd256 this limitation should probably be stated somewhere in the README or leave the issue open until it's been resolved (on Swift's end I suppose)
I looked at the GH issues when I noticed this happening in my project - I imagine it'll happen to others in the future.
Love the project! Excited to switch over to it when it can handle my beefy models :wink:

Glad that you like it! Since this is an "issue" with Swift I'd like to keep it off the issues of Argo. But I will add a note to the readme about this.

I have this issue too, oh man I love your project! Can this issue be fixed somehow?

@Blackjacx You could try making your models smaller if that's possible. If that isn't possible you could try adding intermediate variables to the decoding process. Here is an example:
static func decode(j: JSONValue) -> OverTwelve? {
  let f = OverTwelve.create
    <^> j <| "int"
    <*> j <| ["user_opt", "name"]
    <*> j <| "double"
    <*> j <| "bool"
    <*> j <|? "int_opt"
    <*> j <| "int2"
    <*> j <| ["user_opt2", "name"]
    <*> j <| "double2"

  return f
    <*> j <| "bool2"
    <*> j <|? "int_opt2"
    <*> j <|| "string_array"
    <*> j <||? "string_array_opt"
    <*> j <|| ["embedded", "string_array"]
    <*> j <||? ["embedded", "string_array_opt"]
    <*> j <|? "user_opt"
}

Use as many intermediate variables as you need. I tried it with 14 properties but it worked for me with no intermediate variable as well. This makes me think it's a case by case basis. Try this and if it works for you let us know and we'll add something in the notes.

No sorry, using intermediate variables doesn't help me. Maybe I need to split the model. But dosen't need the compiler have the same work even if I split my model? The variables exist in either instance.

For posterity: breaking up the expression per @tonyd256's suggestion goes a long way to speeding up build times and getting around the complex expression issue, though it is far less elegant.
@Blackjacx I'm curious, besides style/elegance, what was the issue you faced when breaking up the expression?

Even when I break up the statement, the compiler stopped working for me. Maybe this is different with swift 1.2?

Very odd, working fine in 1.1 (Xcode 6.1). I've got a total of 16 properties split into two groups. It's definitely a solid 1-2 seconds faster when split into more than two groups but I've not had any trouble with this yet.
public static func decode(json: JSONValue) -> Product? {
    let a = Product.create
        <^> json <| "id"
        <*> json <| "brand"
        <*> json <| "donation_category"
        <*> json <| "price"
        <*> json <| "amount_to_charity"
        <*> json <| "msrp"
        <*> json <| "percent_off"
        <*> json <| "charity_id"

    return a
        <*> json <| "url"
        <*> json <| "color"
        <*> json <| "materials"
        <*> json <| "sizing_details"
        <*> json <| "condition"
        <*> json <| "is_final_sale"
        <*> json <|| "images"
        <*> json <|| "sizes"
}

On 1.2 I had to type hint as well to get it compiling (assuming due to the new Decoded box?):
  public static func decode(j: JSON) -> Decoded<Stock> {
    typealias Halved = Decoded<String? -> String? -> Int -> Bool -> String? -> String? -> String? -> Stock>
    let a: Halved = Stock.create <^> j <| "id"
                                 <*> j <| "userId"
                                 <*> j <| "name"
                                 <*> j <| "price"
                                 <*> j <| "priceCurrency"
    return a                     <*> j <|? "costPrice"
                                 <*> j <|? "costPriceCurrency"
                                 <*> j <| "inventory"
                                 <*> j <| "visible"
                                 <*> j <|? "created"
                                 <*> j <|? "updated"
                                 <*> j <|? "deleted"
  }

You shouldn't have to give a a type. It can infer the type from Stock.create. You can then eliminate the Halved typealias. This probably isn't going to solve your problem but thought I'd let you know.

@tonyd256 unfortunately when the type is removed:

@nathankot What does your create function look like? There is an issue with Swift where you need to have _ before all the parameter names in the create function when you break it up like this. Try adding those _s to all the parameter names after the break.

@tonyd256 @nathankot I seem to be having the same issue (same compiler error). Adding _s doesn't seem to be helping :/
static func create
        (id: String)
        (_ brandID: String)
        (_ brandName: String)
        (_ donationCategory: String)
        (_ price: String)
        (_ msrp: String)
        (_ charityID: String)
        (_ charityName: String)
        (_ isSold: Bool)
        (_ mainImage: Image)
        (_ altImage: Image) -> Product {

            return Product(…)
    }

    /** Attempt to decode JSON into Product */
    public static func decode(json: JSON) -> Decoded<Product> {

        // Split expression into intermediate assignments to get past Swift's compiler limitations - feels super wrong
        // See https://github.com/thoughtbot/Argo/issues/5

        let a = Product.create
            <^> json <| "id"
            <*> json <| ["brand", "id"]
            <*> json <| ["brand", "name"]
            <*> json <| ["donation-category", "name"]
            <*> json <| "price"
            <*> json <| "compare-price"

        return a
            <*> json <| ["org", "id"]
            <*> json <| ["org", "name"]
            <*> json <| "status-sold"
            <*> json <| "main-image"
            <*> json <| "alt-image"

    }

@gilesvangruisen are you saying that you are getting the "expression too complex" error or the error "could not find an overload for <*>" that @nathankot is getting without the _s?

My apologies… I'm getting the "could not find an overload for <*>…"

@gilesvangruisen Thanks for the clarification. So you're importing Runes and Argo right? (sanity check)

@tonyd256 I am indeed. Both Argo and Runes on latest versions, 1.0.3 and 2.0.0 respectively.

I ended up removing some properties that were YAGNI but @tonyd256 my first
example should get it compiling if you don't mind the mess :)
On Fri, Jun 26, 2015 at 7:51 AM, Giles Van Gruisen <notifications@github.com

wrote:

@tonyd256 https://github.com/tonyd256 I am indeed. Both Argo and Runes
on latest versions, 1.0.3 and 2.0.0 respectively.
—
Reply to this email directly or view it on GitHub
https://github.com/thoughtbot/Argo/issues/5#issuecomment-115375808.

Hi all, I separate my model but still got error. Below is my code:
struct UserModel {
let user_Id: Int
let user_Email: String
let user_FirstName: String
let user_MemberToken: String
let user_LastName: String
let user_SurName: String
let user_Bithday: String
let user_ProfilePhoto: String
let user_Role: Int //role: 1-Coach; 2: Requester
}
extension UserModel: Decodable{
static func decode(json: JSON) -> Decoded {
let a = UserModel.init
<^> json <| "id"
<> json <| "email"
let a1 = a
<> json <| "firstName"
<> json <| "memberToken"
<> json <| "lastName"
let a2 = a1
<> json <|? "sureName"
<> json <|? "birthDay"
return a2
<*> json <|? "profilePhoto"
<^> json <|? "role"
}
The error is: "cannot convert value of type ‘(user_Id: Int, user_Email: String, user_FirstName: String….)". Please help me fix it.

This is a different error. Looks like you're using the optional decode operator (<|?) for user_SurName, user_Bithday (sic), user_ProfilePhoto, and user_Role when you haven't typed those properties as being optional. You should still be using the normal decode operator for these (<|), or you should properly type your optional properties.

HI @gfontenot I still got the same error when replace all "<|?" by "<|". Don't know the reason :(

@nhatlee I'm happy to help you, but do you mind opening a new issue for this? No need to spam the other people in this thread.

@gfontenot Ok. opened new issue as your suggestion.

Looks like using intermediate variables isn't going to be an option for much longer. Any other workarounds that anyone is aware of?

@clayellis that's not actually what that warning is talking about. That implicit currying syntax you used to write your create function is being removed, not the ability to use intermediate variables. I'd suggest removing that create function and using a curry function (like those found in Curry.framework) to curry your model's initializer. See the code snippet in the README for an example.

@gfontenot Refer to @gilesvangruisen's comment made on June 25, 2015.
A better workaround to all of this without creating a create function is this:

This way you don't have to make a create function and can just continue currying. (Basically, what you were referring to, @gfontenot. But it seems like no one else had suggested it explicitly so I figured I'd post.)

@clayellis Yes, thanks, that's what I was talking about. I just wanted to make sure there wasn't any confusion around what was being removed. Using intermediate variables is going to be possible moving forward, it's just using the implicit currying syntax that's being removed.

Best practices for solving compiler issues can now be found at:
https://github.com/thoughtbot/Argo/blob/master/Documentation/Curry-Limitations.md
https://github.com/thoughtbot/Argo/blob/master/Documentation/Compilation-Errors.md

authors: Blackjacx clayellis gfontenot gilesvangruisen intonarumori nathankot nhatlee rastersize sebbean tonyd256

repo: thoughtbot/Argo


text:
Read Me test section needs updating

When trying to learn how I should be writing tests for emails I read the readme.
In the readme under testing
https://github.com/thoughtbot/bamboo/blob/master/README.md#testing
it states an example like so.
 test "welcome email" do
    # Unit testing is easy since the email is just a struct
    user = new_user

    email = Email.welcome_email(user)

    assert email.to == user
    # The =~ checks that the html_body contains the text on the right
    assert email.html_body =~ "Thanks for joining"
  end

The assert email.to == user is misleading and fails to highlight there is a helper to address that as seen here https://github.com/thoughtbot/bamboo/blob/e2816b8a7fec5ff19b8fa5c28cbdb840793d34dc/test/lib/bamboo/adapters/test_adapter_test.exs#L57
In addition to that the test would fail as written unless user was assumed to be a keyword list where the key is nil as my test as failed like so.
2) test confirm_request (ElixirGroupWeb.EmailTest)
     test/elixir_group_web/email_test.exs:23
     Assertion with == failed
     code:  assert email.to() == user.email()
     left:  [nil: "email-0@example.com"]
     right: "email-0@example.com"
     stacktrace:
       test/elixir_group_web/email_test.exs:28: (test)

@joshchernoff Thanks for reporting! Can you provide your code for the failing test and the email function definition? What are you passing in to the to in the email  function? The assert_email_delivered_with helper is meant to be used for integration tests in the case where an email would have been sent (like in the "after registering, the user gets a welcome email") example in the README, vs. that assert email.to == user example is for the "welcome email" unit test case where the mail is only being built and not being sent yet. Not sure if any of that helps?

Its been a while so I will see if I can reproduce,

@joshchernoff Some changes have been made to the README recently. Can you review the testing section and see if those changes address your concern?

Sorry, its been so long.
I've started to re-review this issue again and have public code to reproduce this issue.
First, to rule out an issue with versions I've been able to repro this on {:bamboo, "~> 1.4"} as of today
to see this issue please review:
https://github.com/PDX-Elixir-Group/elixir.group/blob/master/test/elixir_group_web/email_test.exs#L25-L34
@tag login: @user.email
  test "confirm_request", %{conn: conn, user: user} do
    email = Email.confirm_request(conn, user.email, "foo")

    assert email.to == [nil: user.email]
    assert email.from == {"No Reply | Elixir.Group", "noreply@elixir.group"}
    assert email.subject == "Elixir.group | Confirm your account"
    assert email.html_body =~ "A new user was created for the email address of #{user.email}"
    assert email.html_body =~ Routes.confirm_path(conn, :index, key: "foo")
  end

If you notice the assert email.to == [nil: user.email]
We can first start by looking at the values passed into Email.confirm_request(conn, user.email, "foo") in this test. I'm gonna skip over the conn since there does not look to be an issue with it.
Then if we look at the value user.email we can see its coming from @user params_for(:user) which if if we IO.inspect(user.email) we will get back in this case a string "email-0@example.com" and as for "foo" its a string litteral as well.
We can then go into ElixirGroupWeb.Email.confirm_request to look at how therese values are being used.  https://github.com/PDX-Elixir-Group/elixir.group/blob/master/lib/elixir_group_web/email.ex#L94-L98
  @doc """
  An email with a confirmation link in it.
  """
  def confirm_request(conn, address, key) do
    prep_mail(address)
    |> put_html_layout({ElixirGroupWeb.Mailer.LayoutView, "email.html"})
    |> subject("Elixir.group | Confirm your account")
    |> text_body("Confirm your email here http://www.example.com/confirm?key=#{key}")
    |> assign(:address, address)
    |> assign(:key, key)
    |> assign(:conn, conn)
    |> render("invite.html")
    |> Mailer.deliver_later()
  end

following into prep_mail(address) we see
  defp prep_mail(address) do
    new_email()
    |> to(address)
    |> from({"No Reply | Elixir.Group", "noreply@elixir.group"})
  end

If we IO.inspect out the results of prep_mail we see
%Bamboo.Email{
  assigns: %{},
  attachments: [],
  bcc: nil,
  cc: nil,
  from: {"No Reply | Elixir.Group", "noreply@elixir.group"},
  headers: %{},
  html_body: nil,
  private: %{},
  subject: nil,
  text_body: nil,
  to: "email-0@example.com"
}

At this point the to values remains to be a string literal.
Following along a little deeper on the same pipe line in confirm_request if I insepct after the render("invite.html") IE
    |> assign(:conn, conn)
    |> render("invite.html")
    |> IO.inspect()

I still see the string as a litteral.
%Bamboo.Email{
 [...]
  to: "email-0@example.com"
}

But after I call |> Mailer.deliver_later() next in the pipline if I then inspect after that I start to see the issue.  IE
    ...
    |> render("invite.html")
    |> Mailer.deliver_later()
    |> IO.inspect()

will produce
%Bamboo.Email{
  [...]
  to: [nil: "email-0@example.com"]
}

Again this is in the context of running my test via.
mix test test/elixir_group_web/email_test.exs:26
Reviewing my ElixirGroupWeb.Mailer
https://github.com/PDX-Elixir-Group/elixir.group/blob/master/lib/elixir_group_web/mailer.ex
defmodule ElixirGroupWeb.Mailer do
  use Bamboo.Mailer, otp_app: :elixir_group

  defmacro __using__(:view) do
    quote do
      use Phoenix.View,
        root: "lib/elixir_group_web/templates",
        namespace: ElixirGroupWeb.Mailer

      # Import convenience functions from controllers
      import Phoenix.Controller, only: [get_flash: 1, get_flash: 2, view_module: 1]

      # Use all HTML functionality (forms, tags, etc)
      use Phoenix.HTML

      alias ElixirGroupWeb.Router.Helpers, as: Routes
      import ElixirGroupWeb.Gettext
    end
  end
end

I don't see any reason why the issue would happen there. At this point I assume the issue is isolated to methods coming from use Bamboo.Mailer I've yet to dive into that yet. But I will update as I do.

After digging deeper I found the function in question that formats the email address to a KW list where the key is nil.
In short deliver_later > Bamboo.Mailer.deliver_later/2 > Bamboo.Mailer.deliver_later/3 > Bamboo.Mailer.validate_and_normalize/2 > Bamboo.Mailer.normalize_addresses/1 > Bamboo.Mailer.format/2 > Bamboo.Formatter.format_email_address/2
defimpl Bamboo.Formatter, for: BitString do
  def format_email_address(email_address, _opts) do
    {nil, email_address}
  end
end

As we can see running Enum.map on a thing that return a tuple will return a keyword list with first element being the key and the second being the value.
IE:
iex(3)> Enum.map(["foo@bar.com"], fn i -> {nil, i} end)
[nil: "foo@bar.com"]

Thus
the if the email_addresses are ["foo@bar.com"] calling
defimpl Bamboo.Formatter, for: List do
  def format_email_address(email_addresses, opts) do
    email_addresses |> Enum.map(&Bamboo.Formatter.format_email_address(&1, opts))
  end
end

defimpl Bamboo.Formatter, for: BitString do
  def format_email_address(email_address, _opts) do
    {nil, email_address}
  end
end

would result in in [nil: "foo@bar.com"]
So in my case calling  Mailer.deliver_later() anywere before inspecting my email will result in my address being formatted in a way that would invalidate the test docs. I realize the test docs are meant to be a unit case in this case and that I could be calling Mailer.deliver_later() closer to the edges but this could be a good time to call out this issue so people understand the side offfect of calling Mailer.deliver_later() better.

Maybe a call out to where you should be "sending" your emails could be a good thing to highlight in the readme. I see this only being an issue for people how find them selfs sending their emails as a part of their email composition which could be an anti-pattern but since I've not seen anything on this I'm not sure.

Over I think the readme update called out by @lancejjohnson addresses the issue, but I think more should still be done to callout that calling deliver or deliver_later will produce a newly formatted email where the shape of the data will change.

repo: thoughtbot/bamboo


text:
Docs: Resize images using markdown syntax

[ ] Requires #64 to be merged before this will work / make a smaller PR

This PR uses the new fragment syntax added to the doc sync tool to resize some images with the style attribute.
Maintainers can see a preview here: https://thousandbrainsproject.readme.io/v0.0-image-attributes/docs/sensor-modules

Tagging all the maintainers as this is a useful thing to know about.


text:
Include persistent, easily consultable payment instructions

Users are currently experiencing issues reading contracts and remembering what they read in message flows.
Let's add a persistent message generated after the signing of an agreement that has the details of their order: What to mention, where to transfer.
Such a message should be removed or change once payment has been received by us.
This is somewhat related to the TODO list, but user tailored and customised.

Hoster:
Please use the following transfer details
Amount: USD 600 - Bank : Mashreq Bank - IBAN : AE230330000019120028156 - BIC : BOMLAEAD
For the attention of Green IT Globe Holdings FZC, a company incorporated under the laws of Sharjah, United Arab Emirates, with registered office at SAIF Zone, SAIF Desk Q1-07-038/B
Please use the SOXXX as reference.

@dvorkbod What message shall we use for investor?

Investor:
Please use the following transfer details
Amount: USD XXX - Bank : Mashreq Bank - IBAN : AE230330000019120028156 - BIC : BOMLAEAD
For the attention of Green IT Globe Holdings FZC, a company incorporated under the laws of Sharjah, United Arab Emirates, with registered office at SAIF Zone, SAIF Desk Q1-07-038/B
Payment must be made from a bank account registered to your name. Please use FIRSTNAME LASTNAME AMOUNT iTFT tokens as reference.

BTC investor:
Please use the following transfer details
Amount: BTC XXX - wallet 3GTf7gWhvWqfsurxXpEj6DU7SVoLM3wC6A
Please inform us by email at adnan@greenitglobe.com when you have made payment.

authors: RubenMattan dvorkbod


text:
offload better exception traceback from sensitive data

Because sometime, the exception is shown with the value of sensitive variables.
We can offload this data based on some keywords or certain keys.

Also data of logs/alerts if have any sensitive keys.

we need to check this section https://github.com/Qix-/better-exceptions#advanced-usage for preventing the leaking

We need to choose between keeping it in production with offloading/truncation or just move it to development dependencies and only use it if imported or debug flag is set to False in configuration.

don't see it as a pressing matter now

don't see it as a pressing matter now

authors: abom xmonader

repo: threefoldtech/js-ng


text:
issue with getting zos client

In [20]: node = j.clients.zos.get(name="test111", host="10.102.113.188", password="***")

In [21]: node.ping()
---------------------------------------------------------------------------
SSLError                                  Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/redis/connection.py in connect(self)
    492         try:
--> 493             sock = self._connect()
    494         except socket.timeout:

/usr/local/lib/python3.6/dist-packages/redis/connection.py in _connect(self)
    740                 context.load_verify_locations(self.ca_certs)
--> 741             sock = context.wrap_socket(sock, server_hostname=self.host)
    742         else:

/usr/lib/python3.6/ssl.py in wrap_socket(self, sock, server_side, do_handshake_on_connect, suppress_ragged_eofs, server_hostname, session)
    406                          server_hostname=server_hostname,
--> 407                          _context=self, _session=session)
    408

/usr/lib/python3.6/ssl.py in __init__(self, sock, keyfile, certfile, server_side, cert_reqs, ssl_version, ca_certs, do_handshake_on_connect, family, type, proto, fileno, suppress_ragged_eofs, npn_protocols, ciphers, server_hostname, _context, _session)
    816                         raise ValueError("do_handshake_on_connect should not be specified for non-blocking sockets")
--> 817                     self.do_handshake()
    818

/usr/lib/python3.6/ssl.py in do_handshake(self, block)
   1076                 self.settimeout(None)
-> 1077             self._sslobj.do_handshake()
   1078         finally:

/usr/lib/python3.6/ssl.py in do_handshake(self)
    688         """Start the SSL/TLS handshake."""
--> 689         self._sslobj.do_handshake()
    690         if self.context.check_hostname:

SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:847)

During handling of the above exception, another exception occurred:

ConnectionError                           Traceback (most recent call last)
/sandbox/bin/js_shell in <module>
----> 1 node.ping()

/sandbox/lib/jumpscale/Jumpscale/clients/zero_os_protocol/BaseClient.py in ping(self)
    141         :return:
    142         """
--> 143         return self.json('core.ping', {})
    144
    145     def system(

/sandbox/lib/jumpscale/Jumpscale/clients/zero_os_protocol/BaseClient.py in json(self, command, arguments, tags, id)
    129         :Return: Data
    130         """
--> 131         result = self.sync(command, arguments, tags=tags, id=id)
    132         if result.level != 20:
    133             raise RuntimeError('invalid result level, expecting json(20) got (%d)' % result.level)

/sandbox/lib/jumpscale/Jumpscale/clients/zero_os_protocol/BaseClient.py in sync(self, command, arguments, tags, id)
    113         :return: Result object
    114         """
--> 115         response = self.raw(command, arguments, tags=tags, id=id)
    116
    117         result = response.get()

/sandbox/lib/jumpscale/Jumpscale/clients/zero_os_protocol/Client.py in raw(self, command, arguments, queue, max_time, stream, tags, id, recurring_period)
    250         self._raw_chk.check(payload)
    251         flag = 'result:{}:flag'.format(id)
--> 252         self._redis.rpush('core:default', json.dumps(payload))
    253         if self._redis.brpoplpush(flag, flag, 120) is None:
    254             TimeoutError('failed to queue job {}'.format(id))

/usr/local/lib/python3.6/dist-packages/redis/client.py in rpush(self, name, *values)
   1664     def rpush(self, name, *values):
   1665         "Push ``values`` onto the tail of the list ``name``"
-> 1666         return self.execute_command('RPUSH', name, *values)
   1667
   1668     def rpushx(self, name, value):

/usr/local/lib/python3.6/dist-packages/redis/client.py in execute_command(self, *args, **options)
    772         connection = pool.get_connection(command_name, **options)
    773         try:
--> 774             connection.send_command(*args)
    775             return self.parse_response(connection, command_name, **options)
    776         except (ConnectionError, TimeoutError) as e:

/usr/local/lib/python3.6/dist-packages/redis/connection.py in send_command(self, *args)
    617     def send_command(self, *args):
    618         "Pack and send a command to the Redis server"
--> 619         self.send_packed_command(self.pack_command(*args))
    620
    621     def can_read(self, timeout=0):

/usr/local/lib/python3.6/dist-packages/redis/connection.py in send_packed_command(self, command)
    592         "Send an already packed command to the Redis server"
    593         if not self._sock:
--> 594             self.connect()
    595         try:
    596             if isinstance(command, str):

/usr/local/lib/python3.6/dist-packages/redis/connection.py in connect(self)
    496         except socket.error:
    497             e = sys.exc_info()[1]
--> 498             raise ConnectionError(self._error_message(e))
    499
    500         self._sock = sock

ConnectionError: Error 1 connecting to 10.102.113.188:6379. [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:847).

In [22]:

I tried with (0-core client) with same jwt, and i can ping
In [77]: from zeroos.core0.client import Client

In [78]: cl = Client('10.102.113.188', password=jwt)

In [79]: cl.ping()
Out[79]: 'PONG Version: master @Revision: a734d644f453aa131d79fbfa6f86dc9c929ddfa1'

it works Good

verified

repo: threefoldtech/jumpscaleX


text:
update tfuser to work with revised network

Since https://github.com/threefoldtech/zosv2/pull/278/commits/8a4b100375139ef7f0d8b13573c9d6389e014385 the network definition has changed and tfuser doesn't build anymore.
We should update tfuser to make it compatible with the new network design.

We need to update tfuser to be able to talk with bcdb, maybe we can group into this issue.

authors: maxux zaibon


text:
node/cli: export genesis metadata

This commit adds a new subcommand to the CLI that exports metadata from
the compiled-in runtime, similar to the existing subcommands like
export-genesis-state and export-genesis-wasm.
A typical usage would be
sugondat-node export-genesis-metadata --raw binary_metadata.scale
subxt codegen --file binary_metadata.scale | \
	rustfmt --edition=2021 --emit=stdout > src/metadata.rs

Ideally, it would be solved by paritytech/polkadot-sdk#2745 and thus we could
just take the wasm blob (either exported by export-genesis-wasm) and just get
it from there via simple of the shelf tools. Until then, we will have this command.

Current dependencies on/for this PR:

main

PR #148   👈

This stack of pull requests is managed by Graphite.

repo: thrumdev/blobs


text:
refactor: cancel unneeded page fetches at the end of seek

We initially prefetch PREFETCH_N pages along the path to any given key. By the time the seek
operation is completed, we may know in advance that several of these page fetches were simply unnecessary.
By canceling these pre-fetches, we allow the page-fetch workers to avoid performing unnecessary I/O.
This effectively clears the workload of the page-fetch workers when the warm-up workers conclude,
leaving them free to work on the next transaction of pre-fetches.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#158  👈
#157
#151
#149 : 1 other dependent PR (#150 )
master

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

Join @rphmeier and the rest of your teammates on  Graphite

repo: thrumdev/nomt


text:
fix for Wsign-compare

Fix for anyone compiling with -Wsign-compare

Internal shelve 82231798

authors: allisonvacanti elstehle

repo: thrust/cub


text:
Vercel routing

Direct link routing for vercel added
Live demo: https://open-profile-2h1uw651w-josephglz.vercel.app/profile/josephglz

Thank you for the contribution @Josephglz

Join our Discord server to discuss ideas, ask questions, and collaborate with others.

authors: Josephglz thtauhid

repo: thtauhid/open-profile


text:
502 Bad Gateway of the project link

https://ml.cs.tsinghua.edu.cn/prolificdreamer/ is 502 Bad Gateway.

fixed :)

authors: LuChengTHU nkutbw

repo: thu-ml/prolificdreamer


text:
failed to  run google circuit from https://datadryad.org/stash/dataset/doi:10.5061/dryad.k6t1rj8 , circuits  in /tests/input are ok.

it seems that Hyquas can only handle  two-qubit controlled gate?

repo: thu-pacman/HyQuas


text:
Duplicated histogram_counts.pyn

I found 2 files:

hists/histogram_counts.npy
segmentation/histogram_counts.npy

Is there a duplication here? @thuhoainguyen

I think you copied the file from hists to segmentation folder and added both of them to git but forgot to delete one?

I have deleted histogram_counts.npy file in segmentation folder

authors: anhtuduong thuhoainguyen


text:
能适用于短时高维的时间序列吗

利用koopman理论有限维逼近无限维，可以处理高维度的时间序列，看到作者提出的算子适应适合长期预测，不知道是否适用于短期预测呢？

您好，感谢关注。有关短期预测，论文中Table.2使用的M4数据集[1]是一个典型的短期预测数据集，所提出的Koopa模型在其上取得了最优的效果，证明了该模型在的短期预测任务的适用性。
另外，关于高维时间序列（或称多变量时间序列），推荐您关注我们另一篇工作iTransformer。
[1] The M4 Competition: 100,000 time series and 61 forecasting methods.

repo: thuml/Koopa


text:
为什么我在PEMS03数据集上的训练集,验证集,测试集个数和论文里面的对不上

用的是你的代码呀:

这是你论文的结果:

而且我在别人的问题里面也发现这个问题,他的个数和我是对上的,和你论文里的对不上,是你写错了吗?

repo: thuml/iTransformer


text:
Support for typedef

Thrift has a notion of type aliases called typedef, and I was wondering if this library could include support for that.
This could be done with the type feature of typescript.
For example, this could generate:
typedef string UUID
export type UUID = string;

typedef string Timestamp
export type Timestamp = string;

Thanks, PR has been merged and a new version of npm package also has been published

Thanks!! I may have another PR coming to type i32's differently. My thrift stuff is parsing i32 as a Buffer type, since JS doesn't have an integer type. I'll make an issue if that is something I can't change in my thrift library.


text:
🛑 THBWiki CD Site is down

In 7ef372a, THBWiki CD Site (https://cd.thwiki.cc/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: THBWiki CD Site is back up in ee8f269.

repo: thwiki/status


text:
Bad encoding in query parameters with new TestClient using httpx.Client

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the FastAPI documentation, with the integrated search.
[X] I already searched in Google "How to X in FastAPI" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to FastAPI but to Pydantic.
[X] I already checked if it is not related to FastAPI but to Swagger UI.
[X] I already checked if it is not related to FastAPI but to ReDoc.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
import logging

from fastapi import FastAPI

app = FastAPI()

@app.get("/example")
async def _show_encoding_error(look_for: str):
    return {"found": look_for}

if __name__ == '__main__':
    from fastapi.testclient import TestClient

    with TestClient(app) as client:
        params = {"look_for": "plain text"}
        resp = client.get("/example", params=params).json()
        logging.warning(resp)
        assert resp["found"] == "plain text"

        params = {"look_for": "España"}
        resp = client.get("/example", params=params).json()
        logging.warning(resp)
        assert resp["found"] == "España", resp["found"]

Description
After the change to httpx for the TestClient in v0.87.0, the query parameters are not properly encoded? when sending requests with it, and strings are corrupted when received in the endpoints.
The example app works as expected if called from the SwaggerUI or from another python process using a plain httpx.Client, so it appears something broke with the new wrapping for TestClient 🥲
import httpx

params = {"look_for": "España"}
with httpx.Client(base_url="http://localhost:8000/") as client:
    resp = client.get("/example", params=params).json()
    assert resp["found"] == "España"

Operating System
macOS
Operating System Details
M1, running arm64 arch
FastAPI Version
0.87.0
Python Version
Python 3.10.5
Additional Context
starlette-0.21
httpx-0.23.0
Discovered when trying to migrate the test suite for a ~big project previously using fastapi-0.85.1 + starlette-0.20.4.
All minor syntax changes from old requests to new httpx were under control, but in one unit test, a string with an accent was making some search to fail without results (test is sending "Formalización" but endpoint is receiving "FormalizaciÃ³n" 😱), and I was getting crazy 😅

I just saw this it is not related to FastAPI but to Starlette 😅, after https://github.com/encode/starlette/pull/1376, and the example code above fails the same way if using the original object from starlette.testclient import TestClient
I'll try to ask there 👍
Not sure if closing this one, as starlette version is pinned to 0.21.0 because of the TestClient change

For those in a hurry, or just to quick-check that the strange broken tests you're having after the TestClient change to httpx are related to this,
pip install https://lexic-public-assets.s3.eu-west-1.amazonaws.com/wheels/universal/starlette-0.21.0-py3-none-any.whl
will swap the published version with a fixed one containing https://github.com/encode/starlette/pull/1953 👍

This is solved in Starlette 0.22.0.

@Kludex What is the plan to fix it in FastAPI? Is there a PR that pulls in the Starlette 0.22.0?

@Kludex What is the plan to fix it in FastAPI? Is there a PR that pulls in the Starlette 0.22.0? The Starlette 0.22.0 is already out.

@mezhaka ,
in https://github.com/tiangolo/fastapi/pull/5659, but I'm new here 😅, so not sure about the workflow to generate patches, sorry

@azogue Nice, even with a test!

Thanks @azogue for reporting and upgrading it here! :cake:
Thanks everyone for the discussion too! :coffee:
This is available in FastAPI 0.88.0, just released. :rocket:

authors: Kludex azogue mezhaka tiangolo

repo: tiangolo/fastapi


text:
🌐 Add Japanese translation for docs/ja/docs/tutorial/security/get-current-user.md

Relates to #1572
This translates tutorial/security/get-current-user.md into Japanese.
I'll continue to try to work on the other docs in tutorial/security/ directory.

The following article has been translated by me. I apologize if you have already worked on it.
https://github.com/tiangolo/fastapi/pull/3526
If you would like to review it, please do.

@sh0nk
The following article has been translated by me. I apologize if you have already worked on it.
#3526
If you would like to review it, please do.

Thanks for your review @tokusumi !
As all the comments make sense, I've fixed them in https://github.com/tiangolo/fastapi/pull/2681/commits/a5479696dba668eb85d0f82606c4938d20ffb671.

📝 Docs preview for commit 6887e11cd7cecfcbd82118a16684a207062cf0d3 at: https://649a0ea6cc19e50d9fcacbf2--fastapi.netlify.app

Thank you @sh0nk! 🚀
As @tokusumi is one of the champions of Japanese translations and already approved this, I'm gonna take it. 🤓

authors: sattosan sh0nk tiangolo


text:
docker安装后，使用token登录失败怎么解决？

token是不是被阿里禁用了？

没有被禁呀，有两种方法
1，进入到docker容器里面，手动登录，或者手动更改token的环境变量，然后restart容器
2，直接kill掉容器，更改好新token，启动容器

authors: xiaoyaofenfen yqyoyo

repo: tickstep/aliyunpan


text:
下载的文件，为什么会把云端的对应完整目录也一样下载到本地了呢？

如题，下载云端相应目录的文件到本地，会把云端的对应完整目录也一起下载到指定的本地目录下，是有什么参数我没有注意到吗？

没看明白，是说下载的时候指定的是一个文件，但是下载把整个文件夹下载下来了？如果是这样，看看是否路径有空格，然后你没有加引号导致

没看明白，是说下载的时候指定的是一个文件，但是下载把整个文件夹下载下来了？如果是这样，看看是否路径有空格，然后你没有加引号导致

他的意思应该是会在本地按照云端的路径创建目录，我也遇到这个问题，这个能调整吗

没看明白，是说下载的时候指定的是一个文件，但是下载把整个文件夹下载下来了？如果是这样，看看是否路径有空格，然后你没有加引号导致

他的意思应该是会在本地按照云端的路径创建目录，我也遇到这个问题，这个能调整吗

我还是没理解这个啥意思啊，下载肯定是1:1的把云端的目录和文件的结构都下到本地的。你现在是需要1:1呢，还是不需要1:1然后所有文件都丢在一个目录下面？

是不是说云端路径的前缀不需要的意思，可以用saveto命令
download 视频 -saveto "/Volumes/downloads"

和你一样的困惑，下载的时候保留了完整的目录结构，而我只需要下载当前文件到当前文件夹即可

authors: Kevin-ZYM lyxcc127 taurusxin xiaoyaofenfen