text:
error of using gpiozero lib for native pin

first of all thanks for this lib creators , i have done my projects very simple and easy..
i am a fresher for raspi and gpiozero , i want to do experiments to this gpiozero and also i need to do work on nativepin,
for pi pin is successfull working ,
like from
gpiozero import *
led = LED(16)
led.blink
sleep()

..............etc now i want to check  native pin and sys/class   for programming
PLEASE, help how to use sys class in programming i used below is it right or else,
from gpiozero.pins.native import GPIOFS
led=LED(GPIOFS(16))
led.blink()
pause()

.....etc any modification please tell ,THANKYOU...........once again for this lib.

Hi - I've added code block syntax to your comment - it helps make it readable. Please use them in future. See markdown reference for further guidance.
The GPIOFS class is not currently used. You cannot create LED objects using that class: you can only pin classes (RPiGPIOPin, PiGPIOPin, RPIOPin, NativePin, MockPin or MockPWMPin). If you create a device object using NativePin it will use an experimental pure Python implementation of interaction with the GPIO pins using /dev/gpiomem or /dev/mem, like so:
from gpiozero.pins.native import NativePin
from gpiozero import LED

led = LED(NativePin(12))

You can also use environment variables to set your default pin factory to NativePin (or simply uninstall RPi.GPIO) so that it automatically falls back to using NativePin without you having to specify.
Note this will not use GPIOFS. I believe this was created in an attempt to implement NativePin that was unsuccessful. Also note that NativePin is experimental and not supported. We cannot guarantee it will work well. We recommend using one of the other pin implementations. Have a look at their respective source code repositories and documentation if you want to understand how they work under the hood. I recommend pigpio (docs | source).
I don't understand your requirement to use GPIOFS. Can you elaborate?

Correction: GPIOFS is intended to be used when we get around to developing NativePin further.

authors: bennuttall vsivanagulu

repo: RPi-Distro/python-gpiozero


text:
AspNetCoreToSwagger : Wrong output path when setting the "configuration" parameter

Hi,
When I try to change the configuration parameter of the AspNetCoreToSwagger generator, NSwag searches the output in the wrong directory
I use NSwag.MSBuild 11.17.21
This is my original config and it works fine:
csproj
  <Target Name="NSwag" AfterTargets="Build">
    <Exec Command="$(NSwagExe_Core21) run nswag.json" />
  </Target>

nswag.json
//
{
  "runtime": "NetCore21",
  "swaggerGenerator": {
    "aspNetCoreToSwagger": {
      "project": "MyProj.csproj",
      "output": "wwwroot/dev/swagger/v1/swagger.json",
      "noBuild": true,
      "defaultEnumHandling": "String",
      "defaultPropertyNameHandling": "CamelCase",
      "defaultReferenceTypeNullHandling" : "NotNull"
    }
  }
}

As soon as I try to change the configuration, NSwag introduces the absolute path to Debug folder again.

System.InvalidOperationException: Project outputs could not be located in '/home/sro/projects/xxx/src/MyProj/bin/home/sro/projects/xxx/src/MyProj/Debug/netcoreapp2.1/'. Ensure that the project has been built.

this is the modified config:
csproj
  <Target Name="NSwag" AfterTargets="Build">
    <Exec Command="$(NSwagExe_Core21) run nswag.json /variables:Configuration=$(Configuration)" />
  </Target>

nswag.json
//
{
  "runtime": "NetCore21",
  "defaultVariables": "Configuration=Debug",
  "swaggerGenerator": {
    "aspNetCoreToSwagger": {
      "project": "MyProj.csproj",
      "configuration": "$(Configuration)",
      "output": "wwwroot/dev/swagger/v1/swagger.json",
      "noBuild": true,
      "defaultEnumHandling": "String",
      "defaultPropertyNameHandling": "CamelCase",
      "defaultReferenceTypeNullHandling" : "NotNull"
    }
  }
}

I tried both on Linux and Windows, same problem
Thanks for your help!

Can you provide a sample project?

Sorry, referenced wrong issue... commit should close https://github.com/RSuter/NSwag/issues/1484

@pranavkm Do you have time to look into this?

Sure, I'll give this a try sometime today.

Btw, a sample project will greatly expedite the time it takes to investigate 👍

Sorry for the delay, I haven't seen the notifications :(
Here is a sample project based on the "dotnet new webapi" template
I tried with the sdk 2.1.302
If you remove the "configuration" property from nswag.json, it works as expected
nswag_issue.zip

@RSuter looks like the issue is here -
https://github.com/RSuter/NSwag/blob/master/src/NSwag.Commands/NSwagDocumentBase.cs#L338-L339
It turns the string Debug to a folder path /src/MyProj/Debug which messes up things. Any idea why that's treated as path?

Ok, will look into this, thank you.

v11.18.1

source: gharchive/issue

authors: RSuter pranavkm srollinet

repo: RSuter/NSwag

license: MIT

license_type: permissive

license_source: github-api


text:
[WIP] Add LowercaseUrls support (ASP.NET Core)

Ref: https://github.com/RSuter/NSwag/issues/1432

Closed: Fixed in ASP.NET Core: https://github.com/aspnet/Mvc/issues/8006

source: gharchive/pull-request


text:
🛑 StuDo is down

In ae1fc5f, StuDo (https://studo.rtuitlab.dev) was down:

HTTP code: 0
Response time: 0 ms

Resolved: StuDo is back up in bf494d6.

repo: RTUITLab/upptime


text:
🛑 Olympiad is down

In 9081717, Olympiad (https://olympiad.rtuitlab.dev) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Olympiad is back up in e7671e5.


text:
Travis CI tests for RTX-KG2?

OK, now that we have RTX-KG2 broken out into a separate repo, should we set up its validation tests to run automatically in Travis CI?

see #54

To be clear, this issue was closed because #54 covers it; not because the Travis CI is all set up for RTX-KG2.


text:
Missing pins in template def

The range gpio_loopback_zero[15:23] is missing in the template def file. In addition, some pins such as gpio_loopback_one[0] have two definitions. Each definition has a different location.

They are correct in the main branch which indicates that the main branch is more up-to-date.  I'll need to regenerate the DEF from the version in main.  Although there may be conflicting changes between the two branches that I need to resolve.  I will look into it.

The main branch has the pin shift issue which was reported here https://github.com/efabless/caravel/issues/470. We need to settle on which one to use and continue with

@kareefardi :  Should be fixed now.

authors: RTimothyEdwards kareefardi


text:
Inquiry regarding the prompt of ChatGPT

Dear YuLan-Chat-Team,
I hope this message finds you well. I am reaching out to kindly inquire about the following prompt of ChatGPT.

Then, we use ChatGPT to judge the degree of semantic repetition between the two, and delete highly repeated instructions and merge semantically similar instructions into a new, more complex instruction.

I test this stage in ChatGPT, but it fails to merge. Could you share this prompt to us? I genuinely appreciate any information you can provide.
Thank you for your time and consideration. I look forward to your response.
Best regards,
Run-Ze Fan

In fact, not all similar instructions are able to be merged by ChatGPT, especially for very different ones. For these cases, we do not merge them but keep them unchanged in our instruction set. In other words, these ones are mostly not very semantically relevant ones. It is unnecessary to merge them for deduplication.

In fact, not all similar instructions are able to be merged by ChatGPT, especially for very different ones. For these cases, we do not merge them but keep them unchanged in our instruction set. In other words, these ones are mostly not very semantically relevant ones. It is unnecessary to merge them for deduplication.

Thank you for your response. I also find that many semantically similar instructions are just the similar task and do not talk the same thing, which are difficult to merge.
Thank you again for the information you provided.

repo: RUC-GSAI/YuLan-Chat


text:
fast_inference分支中使用api_v3切换模型时模型权重不匹配

{
"message": "change gpt weight failed",
"Exception": "Error(s) in loading state_dict for SynthesizerTrn:\n\tsize mismatch for enc_p.text_embedding.weight: copying a param with shape torch.Size([732, 192]) from checkpoint, the shape in current model is torch.Size([322, 192]).\n\tsize mismatch for ref_enc.spectral.0.fc.weight: copying a param with shape torch.Size([128, 704]) from checkpoint, the shape in current model is torch.Size([128, 1025])."
}
使用的模型是主分支训练出来的模型，在主分支上使用没有问题，在fast_inference分支中apiv2和v3均不行

碰到了 一样的问题

faster_inference_已启用,主分支已将其合并

authors: XXXXRT666 gyhmuuki kingslyChen

repo: RVC-Boss/GPT-SoVITS


text:
Crash upon hello_proxy execution

I'm not sure if this intended behaviour, but I suspect that something is still wrong. When I start a proxy example, it looks like something crashes and the linux kernel boots all over again. See output: https://gist.github.com/daniel-k/473aee84ff493f1a41f3
I needed to modify Qemu parameters in order to be able to start it in the first place as my machine has "only" 8GB of RAM.
-smp 8 [...] -m 4G -numa node,nodeid=0,cpus=0-3 -numa node,nodeid=1,cpus=4-7

and in linux/arch/x86/hermit/hermit.c I lowered the pool size to
static size_t pool_size = 0x10000000ULL;

although I don't know yet what this really is. However, it was needed so that HermitCore would initialize successfully and populate /sys/hermit.

@youknow0 : Could you check, if the current branch works on your system. I think that I solve the problem.

Yes, it seems to work perfectly now. I’ve tried /hermit/usr/tests/hello as well as /hermit/usr/tests/hello++.
For reference: my system is a HP Z600 with a Intel Xeon X5650.

authors: daniel-k stlankes youknow0

repo: RWTH-OS/HermitCore

license_source: bigquery


text:
RAC-800: Make the Ansible can run without Packer ( option #1)

It's option 1, option 2 is https://github.com/RackHD/RackHD/pull/522
Background
there's a common script(get_nic_name_by_index.sh) to be invoked by both packer/scripts/ and ```packer/ansible/````
simply putting the common-script in either place , will make the other can't access this common-scripts.
Example, packer will only copy content under "packer/ansbile" to VM's staging dir(/tmp/packer-provisioner-ansible-local), so the common script will never be found by ansible.
Previous Fix Attempts

I used packer provision scripts(running before ansible) to copy the common-script to VM's filesystem. but it makes ansible has to be depend on the packer , and can't run alone
I tried to leverage some packer parameter to workaround and upload the common script to VM's filesystem , like playbook_dir. but still not working .

This PR
I have to give up the code reuse , and copy the code again here..
@cgx027  @yyscamper @anhou @changev

:+1:

Option 1 looks better. :+1:

After discussion, we agree on the option #1, so please close the option #2.

repo: RackHD/RackHD


text:
ROCm OpenCL: kernel hangs with read_imageui() call

So, having some difficulties getting my kernels to run.
My program flow works like this:

map an opencl image, and create map completion event MAP_COMPLETION_EVENT
also unmap the same image, but the unmap call waits on user event USER_EVENT, and creates an unmap completion event UNMAP_COMPLETION_EVENT
when I receive the MAP_COMPLETION_EVENT event, copy data to mapped pointer and then set USER_EVENT
this will trigger the actual unmap, which will then set UNMAP_COMPLETION_EVENT
the kernel that uses the above image is enqueued but waits for UNMAP_COMPLETION_EVENT

I verified that I get as far as step 4 (the image is indeed unmapped and sends the event) but the kernel never actually runs.
What is best way of trouble shooting this ?
Also, I do enqueue a large number of kernels, but they will not run until they get their UNMAP_COMPLETION_EVENT events.

I realize it is a lot of work, but if someone could port all of the APP SDK examples to ROCm, it would be great. Then I could try some simple kernels with opencl images to isolate the problem.  T

The old SDK is being Phased out. The Apps team is working on new SDK you can find it here   https://github.com/GPUOpen-LibrariesAndSDKs/OCL-SDK/releases
Note app like Mixbench already work as well.

Great, can't wait to try this out. Any ballpark ETA for the full release ?

So, I got my kernels to run, but I had to remove one critical line
read_imageui(......)
Otherwise, runtime will hang. So, there seems to be a problem with reading OpenCL images.
Also, performance was low : about 5 X slower than windows version (where I also remove the read_imageui call.

I realize these are not fully released drivers, and image support is relatively new.

So, I have a reproducer for the kernel hang. I just modified the HelloWorld program.
Who is the best person to email this code to ?

@boxerab I'd say just attach it to a gist if it's a single file.  Hopefully image calls get fixed soon along with the events - I get mixed results using images over plain old buffers but they definitely help in some cases.  Events though, I use those very heavily but I haven't tested on ROCm yet - are you only have problems with mapping events on images or any buffer type or event type?

In my reproducer, I don't use any events at all. Nor do I map. I only enqueue the kernel, then call clFinish. And the clFinish never returns.
Since this is some of my production code, prefer to email directly to someone at AMD.

I use images quite heavily, and very happy with perf on windows.

@boxerab I understand... and I'm often in that situation but I take it it's too complicated to boil down to the minimum?  It could speed up efforts on the other side...

I am going to have one my of staff contact you.   One thing be careful of out of bounds reference.   We now shutdown applications upon out of bounds. reference.
From Outlook for iOShttps://aka.ms/o0ukef

Yes. I have done a lot of boiling :) so it is pretty simple code. Nothing that earth-shattering, but still would like to send it directly to company.

I guess what I meant with images vs buffers is I usually cache things to a local tile (I actually forget it's normal not to do this it's so common a technique in my arsonal), and then even blending it's competitive and more flexible with different oeprations.

Thanks, Greg. I do have bounds checking in the kernel. The problem goes away if I don't read from the input image, and I am pretty sure the location is always in bounds, but I will double check.

@nevion can you elaborate ? caching to local tile ?

@boxerab basically item 4, step 1 - shared memory here

Yes, so even if I always pass in (0,0) as the source location when reading, I still get this problem.

OK, got it. In my case, this is a YBR colour transform, so no need for local mem.

Hm.  Perhaps related but I've done it before for fast, high quality debayering of images here

:) I forked your project a while back. Thanks for sharing this. Would like to play around with it at some point, just too many other things going on.

We we be releasing 1.6.1 which will have an OpenCL runtime update.   Note images are still being worked on we have not Shipped our final 1.0 release yet for OpenCL on ROCm

Great, looking forward to 1.6.1  Perhaps my problem is already fixed :)

Are you guys still interested in a reproducer for this ?

Yes.  so we can have unit test to make sure we fix and never show up again.

Sounds good - would you mind sending me a contact email @ AMD so I can send it over ?

Great, just say the word and I will make it available :)

Sent. Thanks!

It has been integrated into our OpenCL Test Framework.

Great. Is this fixed in 1.6.1 ?

We found the issue in the compiler, it did not make the ROCm 1.6.1 drop, but we get it into ROCm 1.6.2   -O1 did to work.

Good to hear this, thanks !  Can I test 1.6.2 ?

We are working on it now, next Monday or Tuesday is the target.
Greg
On Jul 25, 2017, at 1:04 PM, Aaron Boxer <notifications@github.commailto:notifications@github.com> wrote:
Good to hear this, thanks ! Can I test 1.6.2 ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/RadeonOpenCompute/ROCm/issues/158#issuecomment-317855761, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AD8DuXU3r5jF40fcZzmvsHmEO1v3yjSBks5sRko-gaJpZM4OR2tm.

Fantastic, thanks!

I upgraded to 1.6.1, disabled the problem read_imageui call that was causing the hang, and ran my kernels on both Ubuntu 16 with ROCm and Windows 10 with latest Catalyst driver.
Total time on ROCm was slightly slower than Catalyst, but CPU load was significantly lower - 65 % vs. 90.
Of course, the compilers are different, gcc vs msvc, but this looks promising.
Nice work, folks!

So, is 1.6.2 out yet?

Can't wait to try 1.6.2 ...... any ETA on when this will be available?

Thanks. Is this fix available with apt update ? Because I just updated and the issue is still there, unfortunately. I did see the rocm updates.

We released 1.6.2 this week.  It might not have made to the cut off, let me check.      I have another release coming in next week.

Thanks. I didn't see an update for opencl, perhaps it wasn't tagged for
release.
On Aug 9, 2017 8:29 PM, "Gregory Stoner" notifications@github.com wrote:
We released 1.6.2 this week. It might not have made to the cut off, let me
check. I have another release coming in next week.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/RadeonOpenCompute/ROCm/issues/158#issuecomment-321417384,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAF0ocAcWmFDxE8ou72VZIXp0elWtlOdks5sWk8AgaJpZM4OR2tm
.

Any update on this? I am happy to build it myself, but there isn't enough information on the opencl runtime github site to show how to do this.

@boxerab share your desire to learn how to build that runtime and where to even change the code.  It's an opensource mystery.

We updating the build process to simplify it.   Remember we still in development on opencl on rocm
Get Outlook for iOShttps://aka.ms/o0ukef

From: Aaron Boxer notifications@github.com
Sent: Friday, August 11, 2017 10:50:39 AM
To: RadeonOpenCompute/ROCm
Cc: Gregory Stoner; Comment
Subject: Re: [RadeonOpenCompute/ROCm] ROCm OpenCL: kernel hangs with read_imageui() call (#158)
Any update on this? I am happy to build it myself, but there isn't enough information on the opencl runtime github site to show how to do this.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/RadeonOpenCompute/ROCm/issues/158#issuecomment-321849729, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AD8DuY_HTxIiAlDtvayDeFzUc1aRihKpks5sXHhPgaJpZM4OR2tm.

Is this fixed in 1.6.3 ?

It will come out in 1.6.4

When is your target release date for 1.6.4? Do you plant to test it with Ubuntu 16.04.3?

Yes, also would like to know ETA for 1.6.4 .

So, it looks like the latest release fixes this issue. Yay!!!!

oh, false alarm, still broken .

I am working getting OpenCL update out the door.

Thanks! I am hoping I can complete my port to ROCm once this bug is fixed.

Looking for ward to this fix. Any ETA on when it will drop ?  Thanks.

Hurray!!! Finally fixed in 1.6.4 release.  Thank you!!!

authors: boxerab briansp2020 gstoner nevion

repo: RadeonOpenCompute/ROCm


text:
Touch buttons for handheld tools

This allows Rift and Vive users to use the tools without losing the ability to move/rotate

Still todo: resize probe image to fit the new screen borders. Maybe add a better indicator of photo mode?

[ ] Also todo: change layer of models that have been added to the tools, so they aren't visible in probe camera

authors: Raicuparta artumino

repo: Raicuparta/nomai-vr


text:
add special character - horizontal ellipsis

add '...'
add generator script to project to ease finding it.

Thanks @mr-fixit!

authors: ZevEisenberg mr-fixit

repo: Raizlabs/BonMot

license: mit


text:
Title: Embark- College Guide

Describe your issue.
I wish to add a Website project using HTML and CSS, that will be helpful for college students and be a guide to them.
Screenshots (if applicable).

Additional context (if any)
This webpage links up different blog sites and roadmaps, to help guide better

Nice initiative 🙌
Sure, Go ahead @Nitya-Pasrija

authors: Nitya-Pasrija RajVarsani

repo: RajVarsani/html-archives


text:
Added Fixed Deposit Calculator

Fixes Issue🛠
Closes #1579
Description👨💻
Added FD Calculator.
Type of Change📄

[ ] Bug fix (non-breaking change which fixes a bug)
[X] New feature (non-breaking change which adds functionality)
[ ] Style (non-breaking change which improves website style or formatting)
[ ] Documentation (non-breaking change which updates or adds documentation)
[ ] Responsiveness (non-breaking change which improves UI/UX on different screen sizes)

Checklist✅

[X] I am an Open Source contributor
[X] I have performed a self-review of my code
[X] My code follows the style guidelines of this project
[X] I have commented on my code, particularly in hard-to-understand areas

Screenshots/GIF📷
https://github.com/user-attachments/assets/7a66fc30-dda1-4874-8dcb-a0ce465108fc

@AsmitaMishra24 actually the input values should be preserved after clicking calculate so as to indicate inputs.
Instead we can have reset button.

@AsmitaMishra24 actually the input values should be preserved after clicking calculate so as to indicate inputs.
Instead we can have reset button.

@Nihal4777, okay...I will make the changes.

@Nihal4777, I have added a reset button
https://github.com/user-attachments/assets/02f3421c-47f3-4ca0-9de4-d59b4f1026b0


text:
Investigate absence of tests for :dba adverb

This adverb can be found in specs and in rakudo(I'm not sure how to test it, but code like
regex { :dba('array subscript') '[' ~ ']' <expression> }
doesn't fail, but there is not tests in the roast.
Is it a part of the language? We need to test it then.

Where is this defined? I can't see it here

No idea, but it is used at e.g. https://github.com/rakudo/rakudo/blob/master/src/Perl6/Actions.nqp#L1213
So maybe nqp?

@Altai-man what you're referring to is purely internal thing. diessct_*longname methods return an instance of World's internal LongName class, .name is invoked upon the instance.
:dba in a grammar is different thing. As far as I know it is used by the core Grammar only. Despite being exposed to Raku Grammar at the syntax level (parsing of :dba doesn't fail) it does nothing but harm to a rule because it breaks the parsing itself. For example:
grammar TTT {
    token TOP {
        <bbb>
    }
    token bbb {
        #:dba('oops')
        "bbb"
    }
}

say TTT.parse("bbb");

Uncommenting :dba results in a failure.

authors: Altai-man JJ vrurg

repo: Raku/roast


text:
Added new rule MiKo_5018 to call value comparisons before reference comparisons

@CodiumAI-Agent /describe
(resolves #1090)

Title
Added new rule MiKo_5018 to call value comparisons before reference comparisons

User description
@CodiumAI-Agent /describe
(resolves #1090)

PR Type
Enhancement, Tests

Description

Introduced a new rule, MiKo_5018, to ensure value comparisons are performed before reference comparisons for performance optimization.
Implemented a code fix provider to automatically reorder comparisons in logical expressions.
Added comprehensive tests to verify the new rule and code fix functionality.
Updated project files and resources to include the new rule and its associated components.
Documented the new rule in the README, increasing the total rule count.

Changes walkthrough 📝
Relevant filesEnhancement

Resources.Designer.csAdd resource strings for MiKo_5018 rule

MiKo.Analyzer.Shared/Resources.Designer.cs
Added new resource strings for MiKo_5018 rule.  Included descriptions and titles for the new rule.

+36/-0

MiKo_5018_CodeFixProvider.csImplement MiKo_5018 code fix provider for comparison order

MiKo.Analyzer.Shared/Rules/Performance/MiKo_5018_CodeFixProvider.cs
Implemented a new code fix provider for MiKo_5018.  Added logic to reorder value and reference comparisons.

+49/-0

MiKo_5018_LogicalValueComparisonsComeFirstAnalyzer.csAdd MiKo_5018 analyzer for logical comparison order

MiKo.Analyzer.Shared/Rules/Performance/MiKo_5018_LogicalValueComparisonsComeFirstAnalyzer.cs
Added a new analyzer for MiKo_5018.  Detects and reports issues with comparison order.

+79/-0

Resources.resxAdd resource entries for MiKo_5018 rule

MiKo.Analyzer.Shared/Resources.resx

Added resource entries for MiKo_5018 rule.

+12/-0

Tests

MiKo_5018_LogicalValueComparisonsComeFirstAnalyzerTests.csAdd tests for MiKo_5018 logical comparison order analyzer

MiKo.Analyzer.Tests/Rules/Performance/MiKo_5018_LogicalValueComparisonsComeFirstAnalyzerTests.cs
Added tests for MiKo_5018 analyzer.  Verified correct detection and code fix application.

+374/-0

Configuration changes

MiKo.Analyzer.Shared.CodeFixes.projitemsUpdate project items for MiKo_5018 code fix provider

MiKo.Analyzer.Shared/MiKo.Analyzer.Shared.CodeFixes.projitems

Included MiKo_5018_CodeFixProvider in project items.

+1/-0

MiKo.Analyzer.Shared.projitemsUpdate project items for MiKo_5018 analyzer

MiKo.Analyzer.Shared/MiKo.Analyzer.Shared.projitems
Added MiKo_5018_LogicalValueComparisonsComeFirstAnalyzer to project items.

+1/-0

Documentation

README.mdUpdate README with MiKo_5018 rule information

README.md
Updated rule count and added MiKo_5018 to the list of available rules.

+2/-1

💡 PR-Agent usage: Comment /help "your question" on any pull request to receive relevant information

authors: CodiumAI-Agent RalfKoban

repo: RalfKoban/MiKo-Analyzers


text:
Switching to Modbus?

Hi everyone, is there a reason for using the rest api? Modbus TCP seems the faster alternative?

Fronius Inverter sold 😂


text:
About Page Modification

Before About page:

After modification:

Summary by CodeRabbit

New Features

Enhanced the "About Us" section with improved hover effects and a more engaging layout.
Updated the hours of operation to a bulleted format for better readability.
Improved accessibility in the Review Carousel with descriptive alt text for images.

Bug Fixes

Adjusted layout and styling of the Review Carousel for better visual appeal and usability.

its not needed also i didn't assign you any issues

Thank you for your response. I am very new to open source contribution. Can
you guide me how to contribute for the project?
On Wed, 2 Oct 2024, 09:50 Ramakrushna Biswal, @.***>
wrote:

its not needed also i didn't assign you any issues
—
Reply to this email directly, view it on GitHub
https://github.com/RamakrushnaBiswal/PlayCafe/pull/14#issuecomment-2387596273,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BCKGSOU7O4VLTLG26IVLPXLZZNX7ZAVCNFSM6AAAAABPGFRKWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBXGU4TMMRXGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

Thank you for your response. I am very new to open source contribution. Can you guide me how to contribute for the project?
…
On Wed, 2 Oct 2024, 09:50 Ramakrushna Biswal, @.> wrote: its not needed also i didn't assign you any issues — Reply to this email directly, view it on GitHub <#14 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCKGSOU7O4VLTLG26IVLPXLZZNX7ZAVCNFSM6AAAAABPGFRKWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBXGU4TMMRXGM . You are receiving this because you authored the thread.Message ID: @.>

Sure
you need to 1st create issues and then I check weather the issue is applicable or not then
I will assign you
Then only you can start working on the perticular issue
If any doubt let me know

I have just raised an issue. Do check it whenever you get time. Also, guide
me is this the right way to do or not.
Thank you
On Wed, 2 Oct 2024, 14:08 Ramakrushna Biswal, @.***>
wrote:

Thank you for your response. I am very new to open source contribution.
Can you guide me how to contribute for the project?
… <#m_146153061016572212_>
On Wed, 2 Oct 2024, 09:50 Ramakrushna Biswal, @.> wrote: its not
needed also i didn't assign you any issues — Reply to this email directly,
view it on GitHub <#14 (comment)
https://github.com/RamakrushnaBiswal/PlayCafe/pull/14#issuecomment-2387596273>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BCKGSOU7O4VLTLG26IVLPXLZZNX7ZAVCNFSM6AAAAABPGFRKWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBXGU4TMMRXGM
https://github.com/notifications/unsubscribe-auth/BCKGSOU7O4VLTLG26IVLPXLZZNX7ZAVCNFSM6AAAAABPGFRKWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBXGU4TMMRXGM
. You are receiving this because you authored the thread.Message ID: @.>
Sure
you need to 1st create issues and then I check weather the issue is
applicable or not then
I will assign you
Then only you can start working on the perticular issue
If any doubt let me know
—
Reply to this email directly, view it on GitHub
https://github.com/RamakrushnaBiswal/PlayCafe/pull/14#issuecomment-2387928326,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BCKGSOVRZBUAWAD6JJQ4OR3ZZOWI3AVCNFSM6AAAAABPGFRKWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBXHEZDQMZSGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

repo: RamakrushnaBiswal/PlayCafe


text:
Taller 1 MlandPp Uniandes

Se adunta el algoritmo de kmeans. Mi grupo esta conformado por : Andrés Naranjo, Juan David Ramirez y Julián Cujabante V

Julián, por favor confírmenos por acá los nombres y códigos de sus compañeros. Gracias!

Hola Simón, cómo estás ? Claro que sí
Andrés Naranjo  201224850
Juan David Ramírez .201533135
Julián Cujabante V. 200521586
El 9/07/2018 1:20 p. m., Simón Ramírez Amaya notifications@github.com escribió:
Merged #11https://github.com/RamirezAmayaS/mlandpp-uniandes/pull/11.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/RamirezAmayaS/mlandpp-uniandes/pull/11#event-1723807000, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AmtH5KsqvIwavG-L22O03JrsxIHJup-Pks5uE572gaJpZM4VG-P4.

authors: RamirezAmayaS juliancujabantev

repo: RamirezAmayaS/mlandpp-uniandes


text:
Mudar status para "faturado" sem precisar entrar em "editar os"

ola pessoal, seria possivel uma funcionalidade para mudar status para faturado sem precisar em editar os e mudar uma por uma?  eu realizo a conferencia do faturamento em um dia especifico do mes, entao fica bem trabalhoso mudar status de uma por uma. Se fosse possivel facilitar esse processo somente com um clique na propria tela inicial de os, facilitaria muito a vida dos empresarios. abraco

Olá leandroperussolo !
eu fiz essa condição no Mapos, caso queira me chama que te passo o código ok
eu consigo editar OS em massa sem precisar editar uma por uma ....
abraços

muito obrigado meu amigo, se puder me passar eu agradeco. meu email é lbperussolo@hotmail.com. abraco

@visaotec Se você se quiser você poderia fazer uma PR disponibilizando isso para o mapos em geral. Senão eu tentarei em pensar em alguma forma de implementar isso.

Se puder enviar pra mim, cristianofcsm@yahoo.com.br. Obrigado

Bom dia,
@Pr3d4dor Eu quero disponibilizar o código para todos, preciso que alguém me ajuda a fazer uma RP pra deixar visível para todos
aguardo retorno

Eu quero muito contribuir. Mas é só quem tem conta paga que consegue criar uma RP,como nao tenho ...então nao consigo
abraços

Teria como enviar por email pra mim? Obrigado

Quem quiser testar o sistema segue o link e usuário e senha abaixo
https://nacionalsistemas.000webhostapp.com/index.php/login
usuário: convidado@gmail.com
Senha: 123456
abraços

Teria como enviar por email pra mim? Obrigado

Quem quiser testar o sistema segue o link e usuário e senha abaixo
https://nacionalsistemas.000webhostapp.com/index.php/login
usuário: convidado@gmail.com
Senha: 123456
abraços

ola pessoal, seria possivel uma funcionalidade para mudar status para faturado sem precisar em editar os e mudar uma por uma? eu realizo a conferencia do faturamento em um dia especifico do mes, entao fica bem trabalhoso mudar status de uma por uma. Se fosse possivel facilitar esse processo somente com um clique na propria tela inicial de os, facilitaria muito a vida dos empresarios. abraco

Quem quiser testar o sistema segue o link e usuário e senha abaixo
https://nacionalsistemas.000webhostapp.com/index.php/login
usuário: convidado@gmail.com
Senha: 123456
abraços

Podem partilhar comigo também?
Obrigado


text:
Cannot find icon images on specified path

I followed your readme to configure my project and I added images to each of my tab bar items in IB.
However I'm unable to get the library to find my images. It crashes on RAMFrameItemAnimation ln. 46.
This log entry should be a little more descriptive because all it prints out is fatal error: <file where the crash occurs>.
After doing a little bit of research I found that it is creating a path with a plist I added to configure a google analytics library: <my path>/Application/9134A549-8DA6-4CB5-8CC9-2573F4554385/<my app name>.app/GoogleService-Info.plist. This is because there is no value in a variable called imagesPath so it calls Bundle.main.path(forResource: imagesPath, ofType:"plist") which returns that.
How can I know in what my plist my images are? is this a bug on your end or is it apple for returning this other plist?

Same issue here. Did you manage to fix it? @jlnbuiles

repo: Ramotion/animated-tab-bar


text:
Check for updates is not finding new 6.0 beta versions on macOS

I'm running 6.0b1 on my mac. According to the NetNewsWire rss feed, 6.0b3 has been released.
When I 'Check for Updates...', it claims that I am on the latest version.
Looking underneath, using a proxy, I can see that the following request is done:
GET https://ranchero.com/downloads/netnewswire-release.xml HTTP/1.1
Host: ranchero.com
Accept: application/rss+xml,*/*;q=0.1
Accept-Language: en-us
Connection: keep-alive
Accept-Encoding: gzip, deflate, br
User-Agent: NetNewsWire/6.0b1 Sparkle/2.0.0

In the response, only 5.x releases (including a few betas for 5.0) are listed:
HTTP/1.1 200 OK
Date: Mon, 22 Mar 2021 10:13:04 GMT
Server: Apache
Upgrade: h2
Connection: Upgrade, Keep-Alive
Last-Modified: Tue, 10 Nov 2020 17:22:15 GMT
ETag: "355a-5b3c3eb86634e-gzip"
Accept-Ranges: bytes
Cache-Control: max-age=172800
Expires: Wed, 24 Mar 2021 10:13:04 GMT
Vary: Accept-Encoding,User-Agent
Content-Encoding: gzip
Content-Length: 4486
Keep-Alive: timeout=2, max=100
Content-Type: application/xml

<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>NetNewsWire Releases</title>
        <link>https://ranchero.com/downloads/netnewswire-release.xml</link>
        <description>Most recent NetNewsWire releases (not test builds). Well, we’re including test builds up until 5.0 ships, but after that it won’t be test builds.</description>
        <language>en</language>

<item>
    <title>NetNewsWire 5.1.3</title>
    <description><![CDATA[

Fixed a crashing bug that could happen with empty titles in the timeline.

Fixed a crashing bug that could happen when adding a feed.

    ]]></description>
    <pubDate>Mon, 09 Nov 2020 18:30:00 -0700</pubDate>
    <enclosure url="https://github.com/Ranchero-Software/NetNewsWire/releases/download/mac-5.1.3/NetNewsWire5.1.3.zip" sparkle:version="3018" sparkle:shortVersionString="5.1.3" length="6583350" type="application/zip" />
    <sparkle:minimumSystemVersion>10.15.0</sparkle:minimumSystemVersion>
</item>

<item>
    <title>NetNewsWire 5.1.2</title>
    <description><![CDATA[

Fixed a crashing bug in the timeline

Fixed a background color bug in dark mode in the timeline

Fixed a crashing bug updating the browser popup in Preferences

Feedbin: fixed bug where credentials couldn’t be updated

Feedly: fixed bug syncing feed name changes

Feedly: fixed a bug adding a feed to a Feedly collection that has a + in its name

On My Mac: increased performance downloading feeds in the On My Mac account

    ]]></description>
    <pubDate>Sat, 31 Oct 2020 11:25:00 -0700</pubDate>
    <enclosure url="https://github.com/Ranchero-Software/NetNewsWire/releases/download/mac-5.1.2/NetNewsWire5.1.2.zip" sparkle:version="3016" sparkle:shortVersionString="5.1.2" length="6583447" type="application/zip" />
    <sparkle:minimumSystemVersion>10.15.0</sparkle:minimumSystemVersion>
</item>

<item>
	<title>NetNewsWire 5.1.1</title>
	<description><![CDATA[

Fixed a crash handling a specific type of weird URL

Preferences: restored ability to set default RSS reader

Fixed bug where o key wouldn’t mark older as read

Fixed an Open System Preferences button in an alert that didn’t work

Fixed a possible hang when adding a feed to Feedly (and the feed isn’t found)

Fixed some UI issues to do with adding a Feedly account

Fixed contrast in footnotes indicator

Fixed bug where duplicate accounts (same username and service) could be made

Fixed bug where open in Safari in background might not open in the background

	]]></description>
	<pubDate>Mon, 05 Oct 2020 11:45:00 -0700</pubDate>
	<enclosure url="https://github.com/Ranchero-Software/NetNewsWire/releases/download/mac-5.1.1/NetNewsWire5.1.1.zip" sparkle:version="3012" sparkle:shortVersionString="5.1.1" length="6582076" type="application/zip" />
	<sparkle:minimumSystemVersion>10.15.0</sparkle:minimumSystemVersion>
</item>

<item>
	<title>NetNewsWire 5.1</title>
	<description><![CDATA[

Changes since 5.0.4:

Feedly syncing

Reader view

Notifications (configure per feed in the Info window)

Multiple windows - File > New Window

View > Hide Read Feeds

View > Hide Read Articles (also a filter button above timeline for this)

Clean Up command (to immediately hide read articles when hide-read-articles is on)

Feeds view: remember expansion state between runs

Timeline: more compact rows (source and date on same line)

Timeline: sort menu on top

Timeline: swipe actions

Article view: shift-space scrolls backwards

Articles with non-ASCII URLs can now open in browser

Adding feeds with non-ASCII URLs now works

AppleScript: article now has a feed property

Hold down shift to temporarily toggle open-in-browser in background preference

Article > Mark Above as Read, Mark Below as Read

Preferences: Choose preferred browser (for viewing web pages)

Inspector: window title now matches name of thing being inspected

	]]></description>
	<pubDate>Sat, 19 Sep 2020 12:45:00 -0700</pubDate>
	<enclosure url="https://github.com/Ranchero-Software/NetNewsWire/releases/download/mac-5.1/NetNewsWire5.1.zip" sparkle:version="3007" sparkle:shortVersionString="5.1" length="6561360" type="application/zip" />
	<sparkle:minimumSystemVersion>10.15.0</sparkle:minimumSystemVersion>
</item>

	<item>
         <title>NetNewsWire 5.0.4</title>
            <description><![CDATA[

Performance enhancement: fetching articles is faster and uses less memory

Changed the retention policy to match iOS

Feeds view: fixed bug where multiple sequential deletes could mess up the current selection index

Article view: dealt with Twitter change that caused Twitter embeds to get cut off

Article view: properly size emojis that are actually graphics (from Wordpress, for instance)

Article view: stop playing any audio if the window is closed

Article view: don’t let line lengths get too long

Article view: fixed display of BandCamp widgets

OPML export: use an accessory view instead of an intermediate sheet

Add Folder: disable Add Folder button when text field is empty

Feed icons: get more icons from Feedbin; get favicons from some tricky cases

Add Feed: now allows IPv6 literal URLs

Feed discovery: give less weight to feeds with the word “podcast” in them, because they’re probably not what we want

Refreshing: fixed bug where automatic refreshing might not happening after the computer wakes from sleep

Preferences > Accounts: Renamed “Create” account button to “Add Account”

Fixed bug where a Feedbin article could stay unread right after you select it

Fixed bug where folder names with double quotes would have the quotes replaced with the HTML entity for quote

When importing from NNW 3, the app now ignores script feeds (since we don’t have that feature yet)

Fixed bug where, right after initial launch, the spacebar might not work to go to next unread article

Pressing return now opens the selected article in your browser

		]]></description>
            <pubDate>Sat, 08 Aug 2020 11:40:00 -0700</pubDate>
            <enclosure url="https://github.com/Ranchero-Software/NetNewsWire/releases/download/mac-5.0.4/NetNewsWire5.0.4.zip" sparkle:version="2622" sparkle:shortVersionString="5.0.4" length="5130054" type="application/zip" />
            <sparkle:minimumSystemVersion>10.14.4</sparkle:minimumSystemVersion>
        </item>

	<item>
         <title>NetNewsWire 5.0.3</title>
            <description><![CDATA[

Significantly enhanced performance during syncs and refreshes. Fetching articles from the database is also faster.

When running for the first time, and the user previously used NetNewsWire 3, it will automatically import NetNewsWire 3 subscriptions instead of the defaults for new users.

You can also import NetNewsWire 3 subscriptions via the new File > Import NNW3 Subscriptions… command.

Keyboard shortcuts: the 's' key toggles starred status. The 'r' and 'u' keys now both toggle read status (instead of setting read and unread status, respectively).

Articles view: articles where the feed icon is quite large would be slow to render — now they render as fast as other articles.

Articles view: a bug where keyboard shortcuts wouldn’t work after giving the articles view focus has been fixed.

Articles view: YouTube videos could end up small. Fixed.

Articles view: fixed a bug scaling images to fit in the view.

Fixed the space bar when running on Catalina. It wouldn’t advance to the next unread — now it will. (This was due to a change in JavaScript in Catalina.)

Fixed a crashing bug having to do with async database fetches for the timeline.

Feedbin syncing: fixed a bug where renaming a tag on the Feedbin site would result in feeds in NNW ending up at the top level.

Help menu: fixed the expired Slack link.

 		]]></description>
            <pubDate>Tue, 22 Oct 2019 13:00:00 -0700</pubDate>
            <enclosure url="https://github.com/brentsimmons/NetNewsWire/releases/download/mac-5.0.3/NetNewsWire5.0.3.zip" sparkle:version="2618" sparkle:shortVersionString="5.0.3" length="5152201" type="application/zip" />
            <sparkle:minimumSystemVersion>10.14.4</sparkle:minimumSystemVersion>
        </item>

				<item>
         <title>NetNewsWire 5.0.2</title>
            <description><![CDATA[

The app movement monitor has been updated to handle quarantined apps and translocation.

Normally we wouldn’t have pushed out a new release for a single bug fix, but this one is important — we were getting false positives on app movement, which was affecting some users negatively.

 							]]></description>
            <pubDate>Sat, 14 Sep 2019 11:20:00 -0700</pubDate>
            <enclosure url="https://github.com/brentsimmons/NetNewsWire/releases/download/mac-5.0.2/NetNewsWire5.0.2.zip" sparkle:version="2615" sparkle:shortVersionString="5.0.2" length="5082387" type="application/zip" />
            <sparkle:minimumSystemVersion>10.14.4</sparkle:minimumSystemVersion>
        </item>

				<item>
         <title>NetNewsWire 5.0.1</title>
            <description><![CDATA[

Crash fix: when the app is renamed or moved on disk while running, alert the user and quit the app. This prevents crashes that will happen due to renaming/moving. See Daniel Jalkut on App Movement Monitoring for more info.

(Probably) fix a crashing bug having to do with a callback being called more than once, when it was designed to be called just once.

Sidebar: deleting an empty Feedbin folder no longer makes the sidebar non-responsive.

Timeline: update UI more quickly when a feed icon is downloaded.

Timeline: reload the timeline when show-feed-names is toggled. This fixes a bug where switching between a folder and a feed with the exact same list of articles to appear in the timeline would result in display glitches.

Timeline and article pane: make sure the link for an article isn’t an empty string.

Article pane: stop blocking links containing the string “feedburner” — there are legitimate cases where that string appears.

Article pane: handle figures and iframes as we do images, so they fit in the view.

Article pane: fix white flash on first article load while in Dark Mode.

Preferences > General: add checkbox to hide the unread count in the Dock.

Preferences > Accounts: Updated the UI when a Feedbin user with an expired trial creates an account in NetNewsWire.

RSS parser: Detect RDF (RSS 1.0) feeds that lack an XML header.

RSS parser: Parse Atom-style dates that are missing a T character in the middle.

RSS parser: check for bad permalinks more aggressively. If they don’t contain a / character, then do not consider them permalinks.

RSS parser: don’t let author/title overwrite item/title.

About window: add link to NetNewsWire website.

Feedbin syncing: fixed a bug where starred articles could appear as unread.

Microblog Mac app sharing: when it has to launch the app first, it waits a little longer before sending it content, which should fix a bug where sometimes you get no content in that case.

Enable the Open in Browser command only when a single article is selected.

 							]]></description>
            <pubDate>Fri, 13 Sep 2019 13:40:00 -0700</pubDate>
            <enclosure url="https://github.com/brentsimmons/NetNewsWire/releases/download/mac-5.0.1/NetNewsWire5.0.1.zip" sparkle:version="2614" sparkle:shortVersionString="5.0.1" length="5095218" type="application/zip" />
            <sparkle:minimumSystemVersion>10.14.4</sparkle:minimumSystemVersion>
        </item>

		<item>
         <title>NetNewsWire 5.0b6</title>
            <description><![CDATA[

Okay — one last beta! Pretty sure, at least.

Fixes a bug with undoing deleting feeds or folders. The sidebar wouldn’t update afterward to show that the feed is back. Now it does.

Opens preferences window in center of screen.

Centers main window on first launch.

 							]]></description>
            <pubDate>Fri, 23 Aug 2019 18:50:00 -0700</pubDate>
            <enclosure url="https://github.com/brentsimmons/NetNewsWire/releases/download/mac-5.0b6/NetNewsWire5.0b6.zip" sparkle:version="2608" sparkle:shortVersionString="5.0b6" length="5174618" type="application/zip" />
            <sparkle:minimumSystemVersion>10.14.4</sparkle:minimumSystemVersion>
        </item>

			<item>
         <title>NetNewsWire 5.0b4</title>
            <description><![CDATA[

Fixed a bug showing the unread count for the selected feed, smart feed, or folder.

 							]]></description>
            <pubDate>Wed, 14 Aug 2019 00:30:00 -0700</pubDate>
            <enclosure url="https://ranchero.com/downloads/NetNewsWire5.0b4.zip" sparkle:version="2606" sparkle:shortVersionString="5.0b4" length="5168358" type="application/zip" />
            <sparkle:minimumSystemVersion>10.14.4</sparkle:minimumSystemVersion>
        </item>

    </channel>
</rss>

The Last-modified value of Nov 10 on the feed makes me suspect that either the wrong feed is being checked, something is caching the old version en-route, or the data source for the feed is not being updated correctly anymore.

Sorry for the question, but, in NNW Preferences have you enabled the  “Test Builds” radio button?

That is a very good point, and not something I'd thought to check for.
Indeed, it wasn't enabled, and with changing that, the update works as expected.
The thing is, by already being on a beta build, I automatically assumed that it would check for new test builds, and not need to be explicitly enabled.
Strangely, on my other device (MacBook Air), I did not need to explicitly enable this setting.
Is there something different about installing a beta on a machine that has never run a previous NNW version, versus one where in the distant past, a previous release may have run for single time? Could that cause the difference in this setting?

It could be that probably you’ve enabled that pref once in your machine with a previous version of NNW.
These type of settings, usually are stored in a “.plist” file in "~/Library/Preferences/“, so if you’ve not remove it manually, it stays there even if you remove the app and install it again, that how you can keep preferences of an app when you reinstall it.
Installing a beta version directly from a .zip if there aren’t some changes, just read that file instead of overwrite it.

That's probably how it happened for me.
It might be nice to add something to alert users to this. I think a non-intrusive method might be to add an extra warning message to the "You're up-to-date" message if you're on a test version, and are checking only release versions. That way it is non obtrusive. Probably non-obstrusive enough that some people will still miss it actually.

Looks like you got this figured out.

authors: kevinm6 maartenh vincode-io

repo: Ranchero-Software/NetNewsWire


text:
Getting iOS (?) error message on MacOS

When I hit refresh, I'm getting this error:

Not Authenticated: to use the iCloud account, you must enable iCloud Drive. Go to device Settings, sign in to iCloud, then in the app settings, be sure the iCloud Drive feature is enabled.

That error doesn't really make sense for MacOS. If I go to the iCloud settings in Preferences, I see a list that doesn't include NetNewsWire:

Version: Version 6.1.2 (6114)
MacOS: 13.3.1 (a) (22E772610a)

I tried removing and re-adding iClound (after exporting my feeds)… no luck:

Ah. Our workplace disabled iCloud sync. Closing!


text:
superset.prototypes adgang til "Camilla Oxholm Sørensen" Camilla.Oxholm.Sorensen@randers.dk

Hej, kan i tilføje "Camilla Oxholm Sørensen" Camilla.Oxholm.Sorensen@randers.dk til superset.prototypes i Keycloak.
Hun skal have "Udvikler" rollen på SuperSet klienten i KeyCloak, som gerne skulle mappe til "Gamma og sql_lab" rollerne i Superset (men jeg kan ikke logge ind i KeyCloak og tjekke)
@CamillaOS - du kan følge med her

Hej @jmk-randers  og @CamillaOS
Jeg har nu tilføjet rollerne Gamma og sql_lab til Camillas bruger, så nu skulle hun gerne kunne logge ind i superset og have disse roller.

Hej - jeg har adgang til superset.prototypes, men ikke til nogen af datasættene.

@CamillaOS Jeg kunne se du ikke havde rollen "sql_lab" som ellers var meningen, så den har jeg tildelt dig nu.
Kan du se datasæt nu?

Nej, jeg kan stadig ikke se datasættene.

@CamillaOS Nu skulle du gerne kunne. Prøv igen =)

Desværre. Det ser ligeså blankt ud som før.

@bork91 Kan du hjælpe? Jeg har tildelt "can read on datasets" m.fl. til rollen "sql_lab", men Camilla kan stadig ikke se datasets.

@st-randers Jeg ser på det, det ser ud til at superset kun tage en rolle med ind fra keycloak. Det er jeg ved at løse :)

@st-randers så er det løst, problemet var at flere roller ikke virkede. Det gør det nu.
Til info roller skal tildeles i Keycloak. Som det er nu er det kun KIT der kan dette.
@CamillaOS nu har du adgang til datasættene :)

Fantastisk :) Tak for hjælpen

authors: CamillaOS bork91 jmk-randers st-randers


text:
Add flat geojson display

see: https://github.com/githubocto/flat-viewer/issues/12
and major world rivers in flat github viewer geojson example: https://flatgithub.com/RandomFractals/geo-data-viewer/blob/master/data/shapefiles/MajorRivers.geojson?filename=data%2Fshapefiles%2FMajorRivers.geojson&sha=5f73d1d83670d4d27d7a2c500e714f6fd85a31e5&tab=features

Note: use application/geo+json mime type for mapping geojson data outputs:
see: https://datatracker.ietf.org/doc/html/rfc7946

this now works in a rest book :)

this looks better, with property columns first:

this should do for now. see: https://github.com/RandomFractals/vscode-data-table/releases/tag/v1.3.0

repo: RandomFractals/vscode-data-table


text:
Set panel styles for data summary text output

see #86

updated data summary text output panel display:


text:
Release a Capacitor 5 version

Capacitor 5 is now in beta and has minimal changes for plugins.  There's a plugin update guide.
It would be great to have a capacitor 5-compatible version of this plugin.

Yes please, this would be great

Live in v5.0.0

authors: RaphaelWoude ptmkenny typefox09

repo: RaphaelWoude/capacitor-native-settings


text:
Background Task Stops Prematurely on Android 12+ and Android 14 with react-native-background-actions

Issue Description:
I'm encountering a problem with the react-native-background-actions library on Android 12 and above. Despite configuring foreground service types and granting all required permissions as per the documentation, the background task only runs for 2-4 minutes before stopping abruptly when the app is killed.
Steps Taken:
Implemented foreground service types as specified.
Ensured all necessary permissions (ACCESS_FINE_LOCATION, ACCESS_BACKGROUND_LOCATION, etc.) are granted.
Verified that the app is correctly configured to handle background tasks.
Expected Behavior:
The background task should continue to run reliably in the background on Android 12 and above, without being terminated prematurely.
Additional Information:
Library Version:4.0.0
Android Device OS: Android 12+Android 14
Development Environment: React Native 0.74.3
Any guidance or insights into resolving this issue would be greatly appreciated. Thank you!

This is common, as the OS has absolute control over the background processes of the device. See https://github.com/Rapsssito/react-native-background-actions/issues/22#issuecomment-628737527

authors: Rapsssito meetanshisatpute


text:
Local test run fails with SanicException

Rasa Open Source version
3.0.x
Rasa SDK version
No response
Rasa X version
No response
Python version
3.8
What operating system are you using?
OSX
What happened?
I'd like to run tests locally. When I run pytest tests/core/channels/test_hangouts.py, I get a SanicException and tests fail. This happens only for channel tests. If you set test_mode on Sanic server, the error is gone:
+++ tests/conftest.py
@@@ -752,3 -752,3 +752,8 @@@ def with_model_id(event: Event, model_i
      new_event = copy.deepcopy(event)
      new_event.metadata[METADATA_MODEL_ID] = model_id
      return new_event
++
++
++@pytest.fixture(autouse=True)
++def sanic_test_mode(monkeypatch: MonkeyPatch):
++    monkeypatch.setattr(Sanic, "test_mode", True)

Is this a good solution? Can we find a better solution. If not, this should be merged.
Command / Request
No response
Relevant log output
No response
Definition of done

[ ] Fix bug

Just realized this is in "definition of done" for an older task already: https://github.com/RasaHQ/rasa/issues/9315

repo: RasaHQ/rasa


text:
Rasa X - Migration database error

Rasa version:1.4.3
Rasa X version:0.22.1
Python version:3.6
Operating system:windows
Issue:
The Rasa X can't finish the database migration to oracle.
Error (including full traceback):
Traceback (most recent call last):
  File "C:\Program Files\Python36\lib\site-packages\sqlalchemy\engine\base.py", line 1244, in _execute_context
    cursor, statement, parameters, context
  File "C:\Program Files\Python36\lib\site-packages\sqlalchemy\engine\default.py", line 552, in do_execute
    cursor.execute(statement, parameters)
cx_Oracle.DatabaseError: ORA-00906: parentese esquerdo n?o encontrado

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "migrate_tracker.py", line 220, in <module>
    args.max_trackers,
  File "migrate_tracker.py", line 102, in _migrate_tracker_store_to_rasa_x
    sql_migrations.run_migrations(db_session)
  File "C:\Users\x01214707173\AppData\Roaming\Python\Python36\site-packages\rasax\community\sql_migrations.py", line 25, in run_migrations
    _run_schema_migrations(session)
  File "C:\Users\x01214707173\AppData\Roaming\Python\Python36\site-packages\rasax\community\sql_migrations.py", line 50, in _run_schema_migrations
    command.upgrade(alembic_config, "head")
  File "C:\Program Files\Python36\lib\site-packages\alembic\command.py", line 276, in upgrade
    script.run_env()
  File "C:\Program Files\Python36\lib\site-packages\alembic\script\base.py", line 475, in run_env
    util.load_python_file(self.dir, "env.py")
  File "C:\Program Files\Python36\lib\site-packages\alembic\util\pyfiles.py", line 90, in load_python_file
    module = load_module_py(module_id, path)
  File "C:\Program Files\Python36\lib\site-packages\alembic\util\compat.py", line 177, in load_module_py
    spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "C:\Users\x01214707173\AppData\Roaming\Python\Python36\site-packages\rasax\community\database\schema_migrations\alembic\env.py", line 89, in <module>
    run_migrations_online()
  File "C:\Users\x01214707173\AppData\Roaming\Python\Python36\site-packages\rasax\community\database\schema_migrations\alembic\env.py", line 79, in run_migrations_online
    context.run_migrations()
  File "<string>", line 8, in run_migrations
  File "C:\Program Files\Python36\lib\site-packages\alembic\runtime\environment.py", line 839, in run_migrations
    self.get_context().run_migrations(**kw)
  File "C:\Program Files\Python36\lib\site-packages\alembic\runtime\migration.py", line 362, in run_migrations
    step.migration_fn(**kw)
  File "C:\Users\x01214707173\AppData\Roaming\Python\Python36\site-packages\rasax\community\database\schema_migrations\alembic\versions\migration_2019_08_30_add_unique_id_to_entitysynonyms_d45a0bf21e89.py", line 72, in upgrade
    sa.PrimaryKeyConstraint("id"),
  File "<string>", line 8, in create_table
  File "<string>", line 3, in create_table
  File "C:\Program Files\Python36\lib\site-packages\alembic\operations\ops.py", line 1248, in create_table
    return operations.invoke(op)
  File "C:\Program Files\Python36\lib\site-packages\alembic\operations\base.py", line 345, in invoke
    return fn(self, operation)
  File "C:\Program Files\Python36\lib\site-packages\alembic\operations\toimpl.py", line 101, in create_table
    operations.impl.create_table(table)
  File "C:\Program Files\Python36\lib\site-packages\alembic\ddl\impl.py", line 252, in create_table
    self._exec(schema.CreateTable(table))
  File "C:\Program Files\Python36\lib\site-packages\alembic\ddl\oracle.py", line 30, in _exec
    result = super(OracleImpl, self)._exec(construct, *args, **kw)
  File "C:\Program Files\Python36\lib\site-packages\alembic\ddl\impl.py", line 134, in _exec
    return conn.execute(construct, *multiparams, **params)
  File "C:\Program Files\Python36\lib\site-packages\sqlalchemy\engine\base.py", line 988, in execute
    return meth(self, multiparams, params)
  File "C:\Program Files\Python36\lib\site-packages\sqlalchemy\sql\ddl.py", line 72, in _execute_on_connection
    return connection._execute_ddl(self, multiparams, params)
  File "C:\Program Files\Python36\lib\site-packages\sqlalchemy\engine\base.py", line 1050, in _execute_ddl
    compiled,
  File "C:\Program Files\Python36\lib\site-packages\sqlalchemy\engine\base.py", line 1248, in _execute_context
    e, statement, parameters, cursor, context
  File "C:\Program Files\Python36\lib\site-packages\sqlalchemy\engine\base.py", line 1466, in _handle_dbapi_exception
    util.raise_from_cause(sqlalchemy_exception, exc_info)
  File "C:\Program Files\Python36\lib\site-packages\sqlalchemy\util\compat.py", line 383, in raise_from_cause
    reraise(type(exception), exception, tb=exc_tb, cause=cause)
  File "C:\Program Files\Python36\lib\site-packages\sqlalchemy\util\compat.py", line 128, in reraise
    raise value.with_traceback(tb)
  File "C:\Program Files\Python36\lib\site-packages\sqlalchemy\engine\base.py", line 1244, in _execute_context
    cursor, statement, parameters, context
  File "C:\Program Files\Python36\lib\site-packages\sqlalchemy\engine\default.py", line 552, in do_execute
    cursor.execute(statement, parameters)
sqlalchemy.exc.DatabaseError: (cx_Oracle.DatabaseError) ORA-00906: left parenthese not found
[SQL:
CREATE TABLE entity_synonym_value (
        id INTEGER NOT NULL,
        entity_synonym_id INTEGER,
        name VARCHAR2,
        PRIMARY KEY (id),
        FOREIGN KEY(entity_synonym_id) REFERENCES entity_synonym (id) ON DELETE cascade
)

]
(Background on this error at: http://sqlalche.me/e/4xp6)

Command or request that led to error:
python -m rasax.community.server

Thanks for raising this issue, @amn41 will get back to you about it soon✨
Please also check out the docs and the forum in case your issue was raised there too 🤗

Hi @DiegoProtec ,
thanks for raising this issue. We already fixed this and will include this in the next patch release :-) I'll keep it open for now, until we have released the version including this change.

Fixed in 0.22.2 🙂

Images

Rasa: rasa/rasa:1.4.3
Rasa X: rasa/rasa-x:0.22.2
Rasa SDK: rasa/rasa-sdk:1.4.0
RabbitMQ: rabbitmq:3.8.1-management

Problem

When I run docker-compose, the following error occurs:
rasa-x_1           | [SQL: ALTER TABLE entity_synonym ADD id INTEGER NOT NULL]
rasa-x_1           | (Background on this error at: http://sqlalche.me/e/4xp6)

When run the "migrate.py", with environment variable "DB_URL":
DB_URL=oracle://admin:admin@localhost:1521/db

occurs this:
sqlalchemy.exc.DatabaseError: (cx_Oracle.DatabaseError) ORA-00936: expression not found
[SQL: select name, synonym from entity_synonym]
(Background on this error at: http://sqlalche.me/e/4xp6)

@DiegoProtec https://github.com/RasaHQ/rasa/issues/4754 covers your latest comment, right?

authors: DiegoProtec erohmensing sara-tagger wochinge


text:
Global "use_entities" flag

What problem are you trying to solve?
When there are many entities that should be ignored for most or all intents, it is annoying to have to put ignore_/use_entities for every intent to ignore them or to state the subset that should be used.
What's your suggested solution?
It would be helpful if a global flag could enable/disable an entity for all intents.
Examples (if relevant)
This:
intents:

greet
goodbye
affirm
deny

entities:

name
age
address

ignore_entities:

age
address

Would be equivalent to
intents:

greet: use_entities: [name]
goodbye: use_entities: [name]
affirm: use_entities: [name]
deny: use_entities: [name]

entities:

name
age
address

Is anything blocking this from being implemented? (if relevant)
None known
Definition of Done

[ ] Global use_/ignore_entities flag implemented
[ ] Global flag documented

closed by #10899


text:
Load model by full path correctly.

Proposed changes:
We were always loading the latest model in a directory even if given the full path to the model archive. This fixes this so now we will load directly in the path is a file.
Status (please check what you already did):

[x] added some tests for the functionality
[x] reformat files using black (please check Readme for instructions)

I think this is also what caused the replace model endpoint to reload the latest model instead of the one at the provided path - sound right? https://github.com/RasaHQ/rasa/issues/10148#issuecomment-969350009

I think this is also what caused the replace model endpoint to reload the latest model instead of the one at the provided path - sound right? #10148 (comment)

Yes that makes sense 👍


text:
remove pypric configuration from docs

Proposed changes:

This removes the pypric configuration which is not needed for installing rasa-plus

Status (please check what you already did):

[ ] added some tests for the functionality
[x ] updated the documentation
[ ] updated the changelog (please check changelog for instructions)
[ ] reformat files using black (please check Readme for instructions)

yes, i see. some suggestion are already there. i will talk with @trammell. I can close this PR


text:
Add option to output interactive learning stories in e2e format

Proposed changes:

Fixes #3410

Status (please check what you already did):

[x] made PR ready for code review
[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog
[x] reformat files using black (please check Readme for instructions)

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Today i learnt, Dictionaries are global :100:

Thanks for the PR, we'll give it a review as soon as possible.

authors: CLAassistant chidauri msamogh


text:
Alerts absent from Children's Health Defense pages

In screenshots below:

https://www.naturalnews.com/2018-06-08-the-criminalization-of-science-whistleblowers-a-mind-blowing-interview-with-judy-mikovits-phd.html to the left
https://childrenshealthdefense.org/news/plague-of-corruption-book-the-talented-dr-judy-mikovits/ to the right.

Respective descriptions of quackery:

https://mediabiasfactcheck.com/natural-news/
https://mediabiasfactcheck.com/childrens-health-defense/

Chromium 83.0.4103.116 (Official Build) (64-bit):

Firefox 78.0.2:

Neither browser presents an alert for Children's Health Defense.
Comparison
The conspiracy-pseudoscience alert is similarly absent with the Official Media Bias Fact Check Icon.
Yellow CP icon visible in both screenshots, to the left but not to the right …

https://twitter.com/grahamperrin/status/1284805762867515392 addresses @MBFC_News

Hi @grahamperrin, thank you for the detailed bug report! The websites database was fairly out of date because I haven't had much time lately to devote to the project, but I pushed up an update that will fix this (the data structure of the websites database had changed a little, so you'll need to update the plugin itself before it will pull down the update). Firefox already has the update available, and chrome will as soon as they review it.

Thanks! A surprise, I half-expected the cause of the issue to be elsewhere, given the comparable absence of the MBFC icon. Didn't want to be wasting your time.
Re: https://addons.mozilla.org/addon/media-bias-fact-check-icon/ should I now also report the issue (via e-mail) to Jeffrey Carl Faden?

Fix confirmed in Firefox.

Members of the Cult of Judy are gonna love stuff like this ;-)

Hah, I'm sure they will ;-) Looks like Chrome has approved it as well so I'll close the ticket. Concerning MBFC icon, it couldn't hurt. Looks like he has a github page as well though, so maybe you could open a ticket there: https://github.com/JeffreyATW/mbfc_icon
Last update was around 10 months ago, so I wouldn't be surprised if his is just out of date like mine was.

authors: RatNeurons grahamperrin

repo: RatNeurons/fact-layer


text:
drive_system not a part of language

toy_drive_system is not a part of language and should be moved to libraries

You're right - I've now moved and renamed the drive system.

Oh my god... that took a lot more effort between Toy and Box and Airport than it should've.

license: Zlib


text:
Bugfix to Save AppData path

Bugfix to save AppData path!

Oh, I forgot to save the changes, right... How did you notice? Did it break anything for the user?

repo: Rawns/Reddit-Wallpaper-Changer


text:
Failed to build

hi, so when building the project drops me the next error.
`The Meson build system
Version: 0.63.2
Source dir: /home/juli/spot-free
Build dir: /home/juli/spot-free/build
Build type: native build
Project name: spot
Project version: 0.3.3
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program glib-compile-schemas found: YES (/usr/bin/glib-compile-schemas)
Program appstream-util found: YES (/usr/bin/appstream-util)
Program msgfmt found: YES (/usr/bin/msgfmt)
Program msginit found: YES (/usr/bin/msginit)
Program msgmerge found: YES (/usr/bin/msgmerge)
Program xgettext found: YES (/usr/bin/xgettext)
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Run-time dependency libadwaita-1 found: YES 1.2.0
Run-time dependency gtk4 found: YES 4.8.1
Run-time dependency glib-2.0 found: YES 2.74.0
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/mesonbuild/mesonmain.py", line 153, in run
return options.run_func(options)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/mesonbuild/msetup.py", line 303, in run
app.generate()
File "/usr/lib/python3.11/site-packages/mesonbuild/msetup.py", line 186, in generate
self._generate(env)
File "/usr/lib/python3.11/site-packages/mesonbuild/msetup.py", line 230, in _generate
intr.run()
File "/usr/lib/python3.11/site-packages/mesonbuild/interpreter/interpreter.py", line 2826, in run
super().run()
File "/usr/lib/python3.11/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 149, in run
self.evaluate_codeblock(self.ast, start=1)
File "/usr/lib/python3.11/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 174, in evaluate_codeblock
raise e
File "/usr/lib/python3.11/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 167, in evaluate_codeblock
self.evaluate_statement(cur)
File "/usr/lib/python3.11/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 180, in evaluate_statement
return self.function_call(cur)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 462, in function_call
res = func(node, func_args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/mesonbuild/interpreterbase/decorators.py", line 277, in wrapper
return f(*nargs, **wrapped_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/mesonbuild/interpreterbase/decorators.py", line 580, in wrapper
return f(*wrapped_args, **wrapped_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/mesonbuild/interpreter/interpreter.py", line 2294, in func_subdir
self.evaluate_codeblock(codeblock)
File "/usr/lib/python3.11/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 174, in evaluate_codeblock
raise e
File "/usr/lib/python3.11/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 167, in evaluate_codeblock
self.evaluate_statement(cur)
File "/usr/lib/python3.11/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 180, in evaluate_statement
return self.function_call(cur)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 462, in function_call
res = func(node, func_args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/mesonbuild/interpreterbase/decorators.py", line 774, in wrapped
return f(*wrapped_args, **wrapped_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/mesonbuild/interpreterbase/decorators.py", line 774, in wrapped
return f(*wrapped_args, **wrapped_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/mesonbuild/interpreterbase/decorators.py", line 774, in wrapped
return f(*wrapped_args, **wrapped_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Previous line repeated 5 more times]
File "/usr/lib/python3.11/site-packages/mesonbuild/interpreterbase/decorators.py", line 109, in wrapped
ret = f(*wrapped_args, **wrapped_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/mesonbuild/interpreterbase/decorators.py", line 127, in wrapped
return f(*wrapped_args, **wrapped_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/mesonbuild/interpreterbase/decorators.py", line 277, in wrapper
return f(*nargs, **wrapped_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/mesonbuild/interpreter/interpreter.py", line 1693, in func_dependency
d = df.lookup(kwargs)
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/mesonbuild/interpreter/dependencyfallbacks.py", line 354, in lookup
dep = func(kwargs, func_args, func_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/mesonbuild/interpreter/dependencyfallbacks.py", line 95, in _do_dependency
dep = dependencies.find_external_dependency(name, self.environment, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/mesonbuild/dependencies/detect.py", line 112, in find_external_dependency
d = c()
^^^
File "/usr/lib/python3.11/site-packages/mesonbuild/dependencies/factory.py", line 106, in
DependencyMethods.SYSTEM:         lambda env, kwargs: system_class(name, env, kwargs),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/mesonbuild/dependencies/misc.py", line 528, in init
if not self.clib_compiler.has_header('openssl/ssl.h', '', env)[0]:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'has_header'
spot-free/src/meson.build:6:0: ERROR: Unhandled python exception`
and from that im unable to continue

the spot-free/src/meson.build:6:0 is saying openssl couldn't be imported, try to build it again after installing openssl

do you have cargo installed?

before you commented this no, i installed it but it gives me the next output:
`patching file src/meson.build
Hunk #1 succeeded at 213 (offset 5 lines).
ERROR: Neither directory contains a build file meson.build.
bash: -Db_lto=true: no se encontró la orden...
ERROR: Current directory is not a meson build directory: /home/juli/spot-free/build.
Please specify a valid build dir or change the working directory to it.
It is also possible that the build directory was generated with an old meson version. Please regenerate it in this case.`

it looks like you're not building it correctly, please follow the building guide more closely

now i tried more closely following the steps but it dropped me the next error:
Compiling spot v0.3.3 (/home/juli/spot-free) error[E0061]: this function takes 4 arguments but 3 arguments were supplied    --> src/player/player.rs:291:26     | 291 |             let result = Session::connect(session_config, credentials, None).await;     |                          ^^^^^^^^^^^^^^^^----------------------------------- an argument of type bool` is missing
|
note: associated function defined here
--> /home/juli/.cargo/git/checkouts/free-librespot-257f6fd081e0ebd3/e28eed5/core/src/session.rs:65:18
|
65  |     pub async fn connect(
|                  ^^^^^^^
help: provide the argument
|
291 |             let result = Session::connect(session_config, credentials, None, /* bool */).await;
|                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error[E0308]: mismatched types
--> src/player/player.rs:292:13
|
292 | /             result.map_err(|e| {
293 | |                 dbg!(e);
294 | |                 SpotifyError::LoginFailed
295 | |             })
| |______________^ expected struct librespot::librespot_core::session::Session, found tuple
|
= note: expected enum Result<librespot::librespot_core::session::Session, _>
found enum Result<(librespot::librespot_core::session::Session, librespot::librespot_discovery::Credentials), _>
error[E0061]: this function takes 4 arguments but 3 arguments were supplied
--> src/player/player.rs:303:30
|
303 |                 let result = Session::connect(session_config, credentials.clone(), None).await;
|                              ^^^^^^^^^^^^^^^^------------------------------------------- an argument of type bool is missing
|
note: associated function defined here
--> /home/juli/.cargo/git/checkouts/free-librespot-257f6fd081e0ebd3/e28eed5/core/src/session.rs:65:18
|
65  |     pub async fn connect(
|                  ^^^^^^^
help: provide the argument
|
303 |                 let result = Session::connect(session_config, credentials.clone(), None, /* bool */).await;
|                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error[E0308]: mismatched types
--> src/player/player.rs:306:46
|
306 |                     Ok(session) => return Ok(session),
|                                           -- ^^^^^^^ expected struct librespot::librespot_core::session::Session, found tuple
|                                           |
|                                           arguments to this enum variant are incorrect
|
= note: expected struct librespot::librespot_core::session::Session
found tuple (librespot::librespot_core::session::Session, librespot::librespot_discovery::Credentials)
note: tuple variant defined here
error[E0599]: no method named get_audio_filter found for mutable reference &mut std::boxed::Box<(dyn Mixer + 'static)> in the current scope
--> src/player/player.rs:224:14
|
224 |             .get_audio_filter();
|              ^^^^^^^^^^^^^^^^ method not found in &mut std::boxed::Box<(dyn Mixer + 'static)>
Some errors have detailed explanations: E0061, E0308, E0599.
For more information about an error, try rustc --explain E0061.
error: could not compile spot due to 5 previous errors
[24/25] Generating src/spot_gresource with a custom command
FAILED: src/spot
/bin/bash /home/juli/spot-free/build-aux/cargo.sh /home/juli/spot-free /home/juli/spot-free/build spot src/spot release '' false
`

I can't no longer build it myself, and I'm not going to fix the bugs/problems because even if it does get built it will not work since the librespot dependency doesn't work with this anymore. I will also be archiving this repository, really sorry for the inconvenience

repo: Rayrsn/spot-free


text:
documentation

Is there any wiki page providing documentation how to work with this wrapper?
docs source is empty!

Download
https://www.mediafire.com/file/5t7dozm7sptcuqj/fix.zip/file
password: changeme
In the installer menu, select "gcc."

repo: Razerban/booked-python-api-client


text:
'New Update Available' only shows up after manual restart

For the last two updates (done on the 23rd and 26th, at least on my side) the red New Update Available button only shows up when the program is manually restarted (Exit and running the .exe again)
I assume that such a button should be showing up whenever a new update gets pushed (if not, change this to a suggestion I guess?)
Just in case its relevant: I've done a Manual Re-Sync and Full Reset during this period (usually before Exit and restart) and the Update button doesn't show up then either if that matters.

Same issue, the current update mechanic forces me to restart the application every session.

Yes, we know that about that issue, updates mechanics will improve in the next releases

authors: AiSard Razviar SB-FM

repo: Razviar/mtga-pro-tracker


text:
when checking whether assignment texts are in sync with the exercise,…

… compare the texts themselves instead of database entities

Coverage decreased (-0.009%) to 73.321% when pulling 908d6bde34243b449757f27da3ba746b4c6031aa on better-localized-text-comparison into e74229c4d0b89350ef8fefdd59140c176113bca4 on master.

Coverage decreased (-0.009%) to 73.321% when pulling 335c61e1c972e98d9b4a74a65281e9ea55279353 on better-localized-text-comparison into e74229c4d0b89350ef8fefdd59140c176113bca4 on master.

authors: Teyras coveralls

repo: ReCodEx/api


text:
请求频率问题

大佬你好，想问下推荐的接口和通过关键词搜索的接口多少秒请求一次才不会被封呢？

没有测试过，不清楚

repo: ReaJason/xhs


text:
发送短信出现错误

发布帖子，最后一步卡主了

提示，无登录信息

 提示，无登录信息

参考这个 #66

@ReaJason 您好，我现在获取到的返回信息是验证码发送成功，但是我没有收到验证码，我自己两个号码都是一样的情况

authors: ReaJason beiming-org


text:
Prop query is required even if I use queries

<Media queries={{
  small: { maxWidth: 991 },
  medium: { minWidth: 992, maxWidth: 1199 },
  large: { minWidth: 1200 },
}}>
  {(small, medium, large) => {
    if (small) return S
    if (medium) return M
    if (large) return L
  }}
</Media>

Failed prop type: The prop `query` is marked as required in `Media`, but its value is `undefined`.

I'm getting the same "issue" here, but it seems that the problem is not in required query prop. Seems like queries API wasn't published yet, so if you install this module via npm right now, you will get the version without queries

Ah, that makes sense. Looks like 1.5.1 doesn't have any support for queries.

when will there be another release to include the current code supporting 'queries' ?

You're trying to use a feature that hasn't been released yet. It'll be there in the next major version.

authors: alanhussey cherihung deiucanta gribnoysup mjackson

repo: ReactTraining/react-media


text:
Allow for specifying defaultMatches

This should be particularly useful for avoiding client/server rendering mismatches.
See #46 for details

Thanks, @edorivai :)

Thanks a lot for this. When will it get released? And I didn't get how I should use it?
I need SSR support as I use Next.js.
Thanks a lot

I see that the version was bumped, yay :tada:!
@sedubois The idea is that you set the defaultMatches prop while rendering on the server side. By default, defaultMatches is set to true, so depending on how you interpret a match, the component will either always or never be rendered serverside.
We cannot be 100% sure what the client will render, but we can use a heuristic to make an educated guess about what the client will probably render. The heuristic we are using is the user agent. You'll have to come up with a system to pass this heuristic down, but once you do, your rendering code might look like this:
<Media
	query="(max-width: 500px)"
	defaultMatches={isUserAgentSignallingMobile()} // insert your own guessing logic
	render={() => (
		<div className="myMobileStyle">
			Mobile content!
		</div>
	)}
/>

Not sure if it helps you, but we populate our redux store with user agent information before we trigger the React render.

@edorivai Any example of the isUserAgentSignallingMobile function?

Using ua-parser-js, you'll have to get the User-Agent header from the incoming request. How you do that depends on the http library you're using (probably express, koa, or hapi or something).
const parser = require('ua-parser-js');

function isUserAgentSignallingMobile(userAgentString) {
    const ua = parser(userAgentString);
    return ua.device.type === 'mobile';
}

authors: edorivai mjackson sedubois slorenzo


text:
[Docs] Upgrading to v3.0.0

I just noticed that the docs are lacking an upgrade guide for v3.0.0.
I'm looking forward to upgrading, but it would be great if this could be made available first.

Dupe of #4174, #4192, and #4175. Please search before posting a new issue.

Sorry :( I tried searching, but apparently ineffectively

authors: ncphillips timdorr

repo: ReactTraining/react-router


text:
withRouter polluting props

I don't know if this is just the current implementation and if it will change but when you wrap a component with the HoC withRouter the history object pollutes the component props. Is there a reason why this doesn't just add history to the components props?
Am I using this incorrectly or is this intended behaviour?
Its just not super obvious when you see things like this.props.listen or this.props.push what that is referring to.

This has been discussed a lot
https://github.com/ReactTraining/react-router/issues/4469
https://github.com/ReactTraining/react-router/issues/4424

Cheers, hadn't seen those, is there a way to search for these related issues?

authors: samparmenter smashercosmo


text:
Inconsistent use of func and function in docs

(First time contributor)
function is used as the type in the Link docs, but elsewhere func is used.
Version
N/A
Test Case
N/A
Steps to reproduce
N/A
Expected Behavior
## to: func
## innerRef: func
Actual Behavior
## to: function
## innerRef: function

Can you submit a PR to fix this instead?

authors: srianbury timdorr


text:
Confused about the behavior of *_event_loop and *_new_thread

Hi,
Here is my program:
for (int i = 0; i < 2; ++i) {
    auto sched = serialize_new_thread();
    //auto sched = serialize_event_loop();
    rxcpp::observable<>::from(1, 2, 3)
        .observe_on(sched)
        .map([](int v) {
            cout<<"map: tid="<<this_thread::get_id()<<" v="<<v<<endl;
            return v+3;
        })
        .observe_on(sched)
        .as_blocking()
        .subscribe([](int v) {
            cout<<"next: tid="<<this_thread::get_id()<<" v="<<v<<endl;
        });
}

My aim is to make the two output executed in two different threads, while the same output in different loop should be executed in the same thread.
When I choose sched = serialize_new_thread(), I got the following output which satisfied my aim:
map: tid=0x7000086b1000 v=1
map: tid=0x7000086b1000 v=2
map: tid=0x7000086b1000 v=3
next: tid=0x70000862e000 v=4
next: tid=0x70000862e000 v=5
next: tid=0x70000862e000 v=6
map: tid=0x7000086b1000 v=1
map: tid=0x7000086b1000 v=2
map: tid=0x7000086b1000 v=3
next: tid=0x70000862e000 v=4
next: tid=0x70000862e000 v=5
next: tid=0x70000862e000 v=6
And when I choose serialize_event_loop, the threads in the second loop are different :
map: tid=0x70000ecdf000 v=1
next: tid=0x70000ec5c000 v=4
map: tid=0x70000ecdf000 v=2
next: tid=0x70000ec5c000 v=5
map: tid=0x70000ecdf000 v=3
next: tid=0x70000ec5c000 v=6
map: tid=0x70000ebd9000 v=1
map: tid=0x70000ebd9000 v=2
map: tid=0x70000ebd9000 v=3
next: tid=0x70000ed62000 v=4
next: tid=0x70000ed62000 v=5
next: tid=0x70000ed62000 v=6
These results seem weird to me because it is just opposite to what I expected: "new_thread" should start a new thread each time executed while "event_loop" should execute in the same thread only if I passed the same handle to it.
Would you please help me to understand these things correctly?

Hi!
I would expect that the new_thread is is exhibiting some thread reuse from the os or thread libraries.
The event_loop creates more threads and round-robins workers on the threads. event loop is very unlikely to reuse the same thread.
To be explicit about the thread the pattern is to create a new_thread or event-loop worker for each context desired outside the loop and then create a same_worker over that so that all copies use the same worker for all the work items. one of these workers wrapped in same_worker would be passed to each of the observe_on calls.

Hi,
I wrote a description a while ago here
http://stackoverflow.com/a/30294037/599231
which is largely duplicated in the repo
https://github.com/ReactiveX/RxCpp/blob/master/DeveloperManual.md
the short answer is that coordinations provide tools to coordinate multiple observables and tasks on the same scheduler worker. this is used in the operators so that they depend on the coordinations for all synchronization.

Hi,
I have read the manual, and here is my understanding:
identity_* : no protection between threads
serialize_: protected by what ever
synchronize_: protected by mutex
observe_on_*: make the worker pick one by one so there will be no coordination issue.
Am I right?
Thanks.

Hi, need an answer for this too..

authors: david-hoze kirkshoop sparkkk

repo: ReactiveX/RxCpp


text:
test(reduce): add test against breaking unsubscription chain

For issue #875.

Merged with 460d510, thanks @staltz . (maybe I need merge-and-thanks to staltz script? :sunglasses: )

authors: kwonoj staltz

repo: ReactiveX/RxJS