CpuGeneralColumnsView union should be #[repr(C)]

According to the rust unsafe code guidelines, the layout of #[repr(Rust)] unions is, in general, unspecified.
Additionally, I believe that all variants in CpuGeneralColumnsView should be "manually padded" with unused field elements to the maximum size of any one of the variants. The layout of a #[repr(C)] union may "have padding in each union variant after the field, to make all variants have the same size." As I understand it, this implies that it is UB to transmute a union in which all variants do not have the same size and alignment to an array.

The second point mentioned above can be seen by running the following test with miri.
cargo miri test -p evm_arithmetization cpu::columns::general::tests::test_ub

link to snippet
#[cfg(test)]
mod tests {
    use plonky2::field::types::Field;
    use plonky2::field::goldilocks_field::GoldilocksField;
    use crate::cpu::columns::general::{CpuGeneralColumnsView, CpuShiftView};
    use crate::cpu::columns::{CpuColumnsView, NUM_CPU_COLUMNS};

    #[test]
    fn test_ub() {
        type F = GoldilocksField;

        let shift = CpuShiftView { high_limb_sum_inv: F::ZERO };
        let general = CpuGeneralColumnsView { shift };
        let cols = CpuColumnsView { general, ..Default::default() };
        let arr: [F; NUM_CPU_COLUMNS] = cols.into();
    }
}

Note, however, that all fields of CpuGeneralColumnsView are private. Every use of CpuColumnsView<T>, including the Default implementation, currently comes from transmuting an array [T; NUM_CPU_COLUMNS].
The unions rfc states that "If a union contains multiple fields of different sizes, assigning to a field smaller than the entire union must not change the memory of the union outside that field."
Therefore, I don't believe there is currently any way for safe code to construct a CpuColumnsView<T> containing a union with padding bytes.

Addressed in #355.


Remember decision for "Background music" on chapter start

Set a cookie remembering the last state of the checkbox

Great suggestion! This had probably crossed my mind at some point but it got lots in the void. I'll see how easy it is to do.

I'm wondering about this: should this be tied to the computer, to the player, or to the story/character? All of them make sense to me, I'm not sure what the most common case, or common expectation, would be.
Probably the last one is the least likely to be expected by the user, but I'm not sure about the other two.

To the computer would be fine -- I'm normally reading on the same devices, and it's easy enough to toggle on the page itself (which should not toggle the default, for what it's worth).
The big thing is just avoiding the interstitial.

To the story doesn't work -- I don't want someone else to set my default. To the character might be odd, because I feel like I'd have the same preference no matter who I'd be playing.
It's effectively to the user, but the device is 90% there.

Another reason for device is that my home computer I might not mind having music on, but my work computer (and my phone) should be silent.

Also, by device is the easiest to implement (just check for a client side cookie). So that would be a good point to start.

@fhemberger: heh, this is Elm. Sometimes what is easy and what is hard is flipped around (compared to JavaScript, anyway) :sweat_smile:
But I now think that approach makes the most sense, so I'm going to start by setting a cookie with whatever the last selection was, and use that as a default (instead of always defaulting to true).
@blinks: I'm pretty sure that at least on some (popular) mobile browsers it's not possible to start playing music without user interaction, so I think it won't be possible to start a chapter with music just by loading the URL. I'm tempted to separate the removal of the "Start page" to another issue, so we can discuss and track better. Hopefully when I'm done with the cookie thing I will have clearer ideas about the rest.

I just finished branch issue14-settings-cookie with an initial implementation for remembering the last checkbox value for the background music thing.
I'll test a little bit more and merge and release in a couple of days. Then I'll start experimenting and thinking about the other stuff, possibly after moving it to a new issue. Thanks a lot for the ideas and the discussion!


packaged app fails to run on mac with error "Library not loaded: @rpath/libnode.dylib"

I am trying to use electron & electron packager for the first time.
I built my app from Windows, generated versions for Mac & Win.
Windows version works fine, but app fails to run on Mac.
I am getting error "Library not loaded: @rpath/libnode.dylib"
Mac OS X 10.10.5 (14F27)
Exception Type:        EXC_BREAKPOINT (SIGTRAP)
Exception Codes:       0x0000000000000002, 0x0000000000000000
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Library not loaded: @rpath/libnode.dylib
Referenced from: /Users/vganzha/Desktop/tableau-webclient-metrics-parser-darwin-x64/tableau-webclient-metrics-parser.app/Contents/Frameworks/Electron Framework.framework/Electron Framework
Reason: image not found
electron-packager version is 7.0.2
Electron version: 1.1.3
my package.json:
{
  "name": "tableau-webclient-metrics-parser",
  "version": "1.0.0",
  "description": "Display webclient metrics in more user-friendly format",
  "main": "main.js",
  "scripts": {
    "start": "electron main.js"
  },
  "devDependencies": {
    "electron-prebuilt": "^1.1.2"
  },
  "dependencies": {
    "mustache": "^2.2.1"
  }
}

This is a good issue to provide a minimal testcase (an easy way to do so is to base it off of electron-quick-start) so that other people can see if they can reproduce it.
That being said, I'm not convinced that we should be allowing Mac apps to be built on Windows...it only works under very specific conditions.

thanks, let me try to build it under mac. Will inform about result.

thank you, I built it on Mac and it works now!

@malept Are you allowing it or not? Currently (to my knowledge) nothing indicates that this scenario isn't possible. Building Windows apps on Mac is supported (with Wine), so... That's a bummer because adding additional Mac build agents to our CI server is not a workable solution for us at the moment, and I suppose that's true for others as well.
I assumed that the Electron container was already built and linked properly and that the app was just "dropped" in the appropriate folder when packaging, making it work on Windows without any of the usual Mac build toolset. Am I mistaken in how this works?
What are the "very specific conditions" required to make this work?

It's allowed. In the past two years since this bug was opened, I didn't disable cross-platform building. However, due to weird interactions with things like permissions, it may not work the way you'd expect when the host is Windows and the target is not Windows. To my knowledge, you should be able to build for all platforms on Linux hosts.
Examples of problems building non-Windows targets on Windows hosts: #115, #164, #431
Please note that all of this is predicated on the condition that you are not using any native modules. If your Electron app requires native modules to run, due to Node limitations, you must have the same host and target platforms (and possibly arch, I can't remember at the moment) the same (i.e., build Windows targets on Windows hosts, Mac targets on Mac hosts, Linux targets on Linux hosts).

Thanks for the info (and the links to other relevant issues), I'll take a look at them. For the record, our app is quite simple and uses no native modules. We get the exact error mentioned by the OP (libnode.dylib).

Unfortunately I don't own a Mac, so I can't debug this issue. What I would suggest is building the same Mac target app on both a Windows host and a Mac host, and look at the differences on a Mac.

Thanks for the suggestion, I'll see if I can find some time to do it and will report on my findings here if appropriate.


Change parameter type integer to int

Change parameter type integer to int to fix php 7 type definition.
Example:
This code:
class php7

public function getId(int $id)
{
}

Generate:
class php7

public function getId(integer $id)
{
}

But is don't work because php don't recognize it code.
With replace genarete:
class php7

public function getId(int $id)
{
}

:+1:

:+1:

Doesn't same happen with bool and boolean?

:+1:

+1

Nice ;)

@aik099 yes, but fix too now!

Hi there is there an excutable example? This works fine for me:
<?php

declare(strict_types=1);

require "vendor/autoload.php";

class Stub {
     public function dave(int $int): int
     {
         return $int;
     }
}

$stub = Mockery::mock(Stub::class);

var_dump(PHP_VERSION); // string(5) "7.0.2"
var_dump($stub instanceof Stub); // true

@davedevelopment don't work on interface.

<?php

declare(strict_types=1);

require "vendor/autoload.php";

interface Stub {
     public function dave(int $int): int;
}

$stub = Mockery::mock(Stub::class);

var_dump(PHP_VERSION); // string(5) "7.0.2"
var_dump($stub instanceof Stub); // true

@davedevelopment don't work on interface.
I have
namespace Stub;

class Stub implements StubInterface
{
..
}

namespace Stub;
StubInteface {
...
 }

And it don't work for me.

Add namespace and try, becaus in my project don't work.

Here don't work any code you post.

<?php

declare(strict_types=1);

namespace Stub {
    interface Stub {
         public function dave(int $int): int;
    }

    class RealStub implements Stub
    {
        public function dave(int $int): int
        {
            return $int;
        }
    }
}

namespace {
    require "vendor/autoload.php";

    var_dump(PHP_VERSION); // string(5) "7.0.2"

    $stub = Mockery::mock(Stub\Stub::class);

    var_dump($stub instanceof Stub\RealStub); // false
    var_dump($stub instanceof Stub\Stub); // true

    $stub = Mockery::mock(Stub\RealStub::class);

    var_dump($stub instanceof Stub\RealStub); // true
    var_dump($stub instanceof Stub\Stub); // true
}

What PHP version are you using? Perhaps it would be easier if you submitted a test case

PHP 7.0.3-5+deb.sury.org~wily+1 (cli) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies

Thanks, compiling 7.0.3 now. Can I just check you're running this against the mockery master branch?

Interface
<?php

namespace Contracts;

interface RepositoryInterface
{
    public function paginate(int $perPage = 10, array $columns = ['*']);
    //...
}

Repository
<?php

namespace Repositories;

use Contracts\RepositoryInterface;

abstract class Repository implements RepositoryInterface
{
    public function paginate(int $perPage = 10, array $columns = ['*'])
    {
        //
    }
}

ClientRepository
namespace Clients\Repositories;

use Repositories\Repository;

class ClientRepository extends Repository
{
}

Service test
<?php

namespace Services;

use Clients\Repositories\ClientRepository as Client;
use Mockery as m;

class ClientCreateServiceTest extends \TestCase
{

    public function __construct()
    {
        $this->repository = m::mock(Client::class);
        $this->client = new ClientCreateService($this->repository)
    }

    public function testAddClient()
    {
        $obj = new \stdClass();

        $this->repository
            ->shouldReceive('create')
            ->once()
            ->andReturn($obj);

        $client = $this->client->create($request);
        $this->assertEquals($obj, $client);
    }
}

Ai try mackery 0.9.4:
composer require --dev mockery/mockery

In that case I suggest trying against the master branch, looks like this has been fixed.

I tried, but it gives problems with other dependencies.

It is impossible install master branch, because hamcrest use another version.

That's an easy one. According to #541 discussion all you need to do is to add "hamcrest/hamcrest-php": "@dev" to your composer.json (to require or require-dev).

It work with composer "mockery/mockery": "dev-master as 0.9.4"


Pros/Cons table for in-place upgrade method logic bug in documentation

The strategy method for in-place upgrade method is confusing between the pros/cons listed in the table.   Please fix this to properly indicate if a another server is required or not to perform an in-place upgrade.   Thanks.

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

ID: b05d11c1-26dd-7bfe-a93c-aee83c101298
Version Independent ID: c86c1628-4fb2-7cca-9f04-2d3cddfbe73b
Content: Azure AD Connect: Upgrade from a previous version - Microsoft Entra
Content Source: articles/active-directory/hybrid/connect/how-to-upgrade-previous-version.md
Service: active-directory
Sub-service: hybrid
GitHub Login: @billmath
Microsoft Alias: billmath

@dnelsenFNTS
Thanks for your feedback! We will investigate and update as appropriate.

@billmath
Can you please check and add your comments on this doc update request as applicable.


Prevent Rails from adding methods to validator

The  ActiveModel::Validations::AcceptanceValidator and ActiveModel::Validations::ConfirmationValidator attempt to define attr_reader and attr_writer methods on the model, which conflicts with the delegate approach for implementing Validator.
#262 suggests to use our own AcceptValidator
This is another solution to make acceptance and confirmation validations work by preventing Rails from adding methods to the Validator. The accessors will now properly delegate to the form object.
A common pattern I saw in the gitter chat is people taking the validations out of their AR models and moving them to a Reform::Form (either with Trailblazer or without), so making sure that the default Rails validations work will really smooth the transition to TRB/Reform.
@apotonick I know you are tired of fixing Rails' shit and dealing with their wild assumptions. I hope you'll appreciate not having to come up with this solution yourself.

Awesome, thanks so much!

Alright. Thanks for adding tests. That was an oversight on my part.


Reverse URL lookups between APIRotuers

[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.
[x] After submitting this, I commit to one of:

Read open issues with questions until I find 2 issues where I can help someone and add a comment to help there.
I already hit the "watch" button in this repository to receive notifications and I commit to help at least 2 people that ask questions in the future.
Implement a Pull Request for a confirmed bug.

Environment

OS: macOS
FastAPI 0.62.0
Python 3.9

Description
Reverse url lookups are something that doesn't seem to be documented very well for FastAPI, but they are supported by Starlette and extremely helpful to avoid hardcoding url paths. Hardcoding paths can become a real nuisance, especially in the starting phases of a project (and most projects starting with FastAPI are probably new!) as you shuffle around your routes in order to match the desired API design. Not only that, but they are almost necessary if you are writing tests!
I did find this issue: https://github.com/tiangolo/fastapi/issues/199 which goes over using app.url_path_for which is helpful for simple apps, but if you are using multiple routers it does not seem to be sufficient.
Ideally, we could use  APIRouter.url_path_for('other:some_route') to do reverse url lookups, as that does seem to be supported in Starlette, but it fails in FastAPI.
Below is a simple test case with the failing test that I believe should pass.
from fastapi import FastAPI, APIRouter
from fastapi.testclient import TestClient

app = FastAPI()

foo_router = APIRouter(prefix='/foo')

@foo_router.get('/sub')
async def foo_sub():
    return {'message': 'Hello from foo sub'}

bar_router = APIRouter(prefix='/bar')

@bar_router.get('/sub')
async def bar_sub():
    return {'message': 'Hello from bar sub'}

app.include_router(foo_router)
app.include_router(bar_router)

client = TestClient(app)

def test_url_lookup_same_router():
    url = foo_router.url_path_for("foo_sub")
    response = client.get(url)
    assert response.json() == {"message": "Hello from foo sub"}

def test_url_lookup_other_router():
    url = bar_router.url_path_for("foo:foo_sub")
    response = client.get(url)
    assert response.json() == {"message": "Hello from foo sub"}

The last test fails with starlette.routing.NoMatchFound

What are you referring to for that colon syntax in the url_path_for call?
In any case, this is probably the closest to what you want:

@bar_router.get('/sub')
async def bar_sub(request: Request):
    return {'message': request.url_for('foo_sub')}

The colon syntax in from the Starlette docs, it looks like routes can be namespaced, which is handy:
https://www.starlette.io/routing/#reverse-url-lookups
I didn't know about Request.url_for(), that's very handy. Thank you! Any thoughts on how we might be able to reverse URLs from within tests where we don't have access to a request yet, for example, to make a GET request on a specific endpoint?

Ah, that isn't very well documented :/
You don't really need to use Request.url_for unless you want a URL to be relative to the current route - app.url_for_path exists as well.
Perhaps if you explained why you are trying to generate URLs outside of a request scope in a test we could better help?

Hi,
I've found app.url_for_path is sufficient for testing. It would be nice to have some kind of namespacing, so you could lookup "foo:list" and "bar:list",  because as of now you have to ensure that every route function has a unique name. That's fine, just something to be careful of.

It is possible to specify route name via attribute name in routes as mentioned in https://github.com/tiangolo/fastapi/issues/3119. If not specified, function name is used. The route name is then used in url_for and url_for_path methods. Unfortunately it is also shown as endpoint name in Swagger UI but if one chooses reasonable naming pattern, it is possible to define custom route names usable both for reverse URL lookups and as endpoint names in Swagger UI.

Thanks for the help here @Mause and @hmoravec  ! 👏  🙇
Thanks for reporting back and closing the issue @Fingel  👍

Sorry for the long delay! 🙈  I wanted to personally address each issue/PR and they piled up through time, but now I'm checking each one in order.


Customizing axes using HoloViews plot options

Since plotting using cartopy uses a custom matplotlib Axes class to display geographic projection a lot of the code to set various axis options (e.g. ticking, labels, ranges) in HoloViews does not work correctly. We should either find a way to make the existing code in HoloViews compatible with the custom axes or reimplement it in the GeoPlotclass in this repository. The former would be preferable since the latter would also require overriding the behavior of the HoloViews OverlayPlot somehow.

Quite tricky!
I think it might be worth trying to figure out what should always be implemented on a matplotlib axis, whether it is a custom axis or not. Unfortunately, that won't help us right now seeing that the axes in cartopy don't seem to support what we want.
What I am suggesting is that maybe there is a third option: improve the cartopy axes if supporting what we need is general and an improvement to cartopy? If these axis options aren't applicable for domain specific reasons, that suggests we go for the second option suggested by @philippjfr. I just can't see how we could make HoloViews work with custom axes in general unless there is a suitable API we can always rely on...

I just can't see how we could make HoloViews work with custom axes in general unless there is a suitable API we can always rely on...

It may just be a case of using a different supported API in many cases but overall I agree with that assessment. Making specific changes to cartopy to make it more consistent with the matplotlib API where it makes sense is always a good idea.
I think I need to go through and make a detailed list of what works and doesn't work and then we can go from there.


Add "docker info" output to bugtool

@joestringer Is this what you expect for issue #3990
cat cilium-bugtool-20180525-090413.757+0000-UTC-872233256/cmd/docker-info.md
docker info
Containers: 2
 Running: 2
 Paused: 0
 Stopped: 0
Images: 18
Server Version: 18.03.1-ce
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 773c489c9c1b21a6d78b5c538cd395416ec50f88
runc version: 4fc53a81fb7c994640722ac585fa9ca548971871
init version: 949e6fa
Security Options:
 apparmor
 seccomp
  Profile: default
Kernel Version: 4.9.13-040913-generic
Operating System: Ubuntu 17.10
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 2.936GiB
Name: runtime1
ID: P2EI:32ZX:AKKL:K4QK:CRU7:RQHR:RL5X:CGFD:YP5H:ZI5B:ZUAX:NCUO
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
 <IP_ADDRESS>/8
Live Restore Enabled: false

WARNING: No swap limit support

@stevenceuppens Looks good, please rebase/squash the commits. We try to avoid merge commits on master.

test-me-please


labels are very small in  in Bootstrap modals

The scripts are copied from your example. But when put in modals, the labels are corrupted. See http://plnkr.co/edit/lAjGHx9lk8DgTOALrVMs

This is probably because the chart was created before the modal is materialized. The trick I use to get bounding boxes for labels will not work. Try to explicitly call an update when the modal is shown.
var timeline = new d3KitTimeline(...);
$('#myModal').on('shown.bs.modal', function () {
  timeline.visualize();
})

There are two events shown.bs.modal and show.bs.modal. Give them a try.
Reference: http://getbootstrap.com/javascript/#modals

Thanks very much. I did it with angular ui-bootstrap. timeline.visualize() works great after the data is ready.


Replaced the duplicated string with a constant in the Wallbox integra…

…tion

Proposed change

Replaced the duplicated string with a constant in the Wallbox integration in order to improve maintainability.
Type of change

[ ] Dependency upgrade
[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New integration (thank you!)
[ ] New feature (which adds functionality to an existing integration)
[ ] Deprecation (breaking change to happen in the future)
[ ] Breaking change (fix/feature causing existing functionality to break)
[x] Code quality improvements to existing code or addition of tests

Additional information

This PR fixes or closes issue: fixes #
This PR is related to issue:
Link to documentation pull request:

Checklist

[x] The code change is tested and works locally.
[x] Local tests pass. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.
[ ] I have followed the development checklist
[ ] I have followed the perfect PR recommendations
[x] The code has been formatted using Black (black --fast homeassistant tests)
[ ] Tests have been added to verify that the new code works.

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

[ ] Documentation added/updated for www.home-assistant.io

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

[x] The manifest file has all fields filled out correctly.
Updated and included derived files by running: python3 -m script.hassfest.
[ ] New or updated dependencies have been added to requirements_all.txt.
Updated by running python3 -m script.gen_requirements_all.
[ ] For the updated dependencies - a link to the changelog, or at minimum a diff between library versions is added to the PR description.
[ ] Untested files have been added to .coveragerc.

To help with the load of incoming pull requests:

[ ] I have reviewed two other open pull requests in this repository.

Kishor Peneff Group 10
2:  The duplicated strings which represent an icon makes it slower to change the icon as all instances of the string needed to be switch.
3: The switch to a constant makes it easier to change the icon as only the value of the constant needs to be switched out. This is quicker as well.

looks good


Master

3 new KB articles for SYOP feature

There are files in your request that I'm guessing you didn't actually edit (the readme, license, and .gitignore, etc file).
This pull request has merge conflicts, please make sure your branch is update to date with our latest version.
Can you make sure you have the latest version of CenturyLinkCloud\PublicKB:master
https://github.com/CenturyLinkCloud/PublicKB#merging-an-upstream-repository-into-your-fork


Unable to load dokan.dll on Windows 10

On Windows 10, using either v0.7.2 or v0.7.3-RC4 (latest) from https://github.com/dokan-dev/dokany/releases I get the following error:

I had the same problem, but the error was on my side. Did you maybe skip the installation of the MS Visual C++ 2013 Redistributable on the Dokany installation? Even after I did this, I still had some trouble. But I think this way works fine

Install the 2013 Redist (I think the x86 version, but nothing wrong with just installing both)
Restart
Install Dokany
Use win-sshfs

I think this is the way, why I'm now happily connected to my remote with Win10 too :)

I opened the page that the installed directed me to and downloaded the x64 2013 redist. It didn't work, same as above.
Surely the installer should tell people to download the x86 version?

is this fixed? I just synced to the tot, still seeing this.

I installed this version and it worked for me https://github.com/dokan-dev/dokany/releases/tag/v0.7.4

I went for this one https://github.com/dokan-dev/dokany/releases (used the Dokan_x64.msi), before I installed https://support.microsoft.com/de-de/help/2977003/the-latest-supported-visual-c-downloads.

@BernhardSchlegel did that work for you? My process on 64 bit windows 10:

installed VC 2017 (x64) 14.13.26020
restarted
installed Dokan_x64.msi Dokan Library <IP_ADDRESS>0 (x64) with Dokan Core and Development
restarted
Running Sshfs Manager <IP_ADDRESS> still opens with exception, "Virtual drive could not connect: Unable to load DLL 'dokan.dll': The specified module could not be found. (Exception fro HRESULT: 0x8007007E)

Any suggestions? Do I need to install a 32 bit version of VC like mentioned above?

It appears that I need a copy of dokan.dll in the WinSshFS\Release<IP_ADDRESS> directory, if not the System32 directory, though I'm still getting dokan library errors when I copy dokan1.dll over from ProgramFilesFolder\Dokan\DokanLibrary\dokan1.dll and rename it to dokan.dll.


Would this work on ESP32-S3?

I have no idea about link pin between ESP32-S3 and MAX31855. ESP32-S3 pin function map is display below. If I ref this project for ESP32-S3, will setGPIOpins() work well like that on ESP32 ?
My pin defined like this: https://github.com/Zanduino
MAX31855
const uint32_t SERIAL_SPEED     = 115200; ///< Set the baud rate for Serial I/O
const uint8_t  SPI_CHIP_SELECT  =     10; ///< Chip-Select PIN for SPI
const uint8_t  SPI_MISO         =     37; ///< Master-In, Slave-Out PIN for SPI
const uint8_t  SPI_SYSTEM_CLOCK =     36; ///< System Clock PIN for SPI

Mentioned github project run well on Arduino uno R3, But the temperature always reported zero on ESP32-S3. :< Is there some guidance? Thanks!
Ambient Temperature is 0.000°C
Probe Temperature is   0.000°C

Ambient Temperature is 0.000°C
Probe Temperature is   0.000°C

Hi,
Thanks for the issue, might take a few days to dive into it . Point of attention is to have pull up resistors on the data and click lines.
How do you power the device 3V3 or 5V?

Thank you very much for attention and replying. Someone said that pull up resistors is unnecessary to SPI. The program run well on Arduino UNO R3 (which have build in pull up resistors) should run well on ESP32-S3 too, with some change in pin define of course. I use 5V on ESP32-S3.

What confuse me is that ESP32-S3 pin function map declared two FSPID 11 and 35, two FSPICLk 12 and 36, two FSPIQ 13 and 37 and so on. As ESP32-S3 Technical Reference Manual 30.5.2 Introduction to FSPI bus and SPI3 Bus Signals show that    FSPIQ similar to MISO on UNO R3, but FSPIQ have pin 13 and 37. Should I wiring MAX31855-SO to ESP32-S3 13 or 37 ? MAX31855-SCK, MAX31855-CS same problem.

You do a nice work that tell people MISO and CLOCKPIN is fixed, MOSI not used, Chip-Select can be others too. This is helpful for newbies. If it possible I hope that the table expand two column with ESP32-S3 FSPI and ESP32-S3 SUBSPI. And for soft SPI using, hope setGPIOpins() expanded to suite ESP32-S3 too.

Sorry to disturb and Thanks for your outstanding work 👍.

Sorry to disturb

No problem, just very busy

@AncientTree
Have you tested the library with the software SPI?

I can't verify that the code you show could work or not, because I have no idea about Espressif IDF. I had to make do with the hardware SPI wiring method I found. I finally found a usable wiring like this:

And my code like this, Arduino-IDE with library https://github.com/Zanduino/MAX31855:
/*! @file Demo.ino

@section Demo_intro_section Description

Example program for measuring temperatures using the MAX31855 Cold-Junction Compensated Thermocouple-to-digital
converter.\n\n
The MAX31855 datasheet is located at https://datasheets.maximintegrated.com/en/ds/MAX31855.pdf and describes the
relatively simple interface.  The MAX31855 uses SPI to communicate and only outputs data. It writes a sentence of
32 bits which include devices failure information and the ambient temperature as well as the thermocouple probe
temperature in degrees Celsius.\n\n

The most recent version of the MAX31855 library is available at https://github.com/SV-Zanshin/MAX31855 and the
documentation of the library as well as example programs are described in the project's wiki pages located at
https://github.com/SV-Zanshin/MAX31855/wiki \n\n

This example is simple in that it displays the ambient and probe temperatures every 5 seconds and flags any errors
that the device raises.

@section Demolicense __**GNU General Public License v3.0**__

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General
Public License as published by the Free Software Foundation, either version 3 of the License, or (at your
option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details. You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

@section Demoauthor Author

Written by Arnd\@SV-Zanshin

@section Demoversions Changelog

Version | Date       | Developer                     | Comments
------- | ---------- | ----------------------------- | ---------------------------------------------------
1.0.1   | 2019-02-02 | https://github.com/SV-Zanshin | Issue #4 - Convert program comments and style to Doxygen
1.0.0   | 2017-08-12 | https://github.com/SV-Zanshin | Finished, first release
1.0.0a  | 2017-08-11 | https://github.com/SV-Zanshin | Initial coding
*/
#include <MAX31855.h> // Include MAX31855 Sensor library
/*******************************************************************************************************************
** Declare all program constants                                                                                **
*******************************************************************************************************************/
const uint32_t SERIAL_SPEED     = 115200; ///< Set the baud rate for Serial I/O
const uint8_t  SPI_CHIP_SELECT  =     8; ///< Chip-Select PIN for SPI
const uint8_t  SPI_MISO         =     13; ///< Master-In, Slave-Out PIN for SPI
const uint8_t  SPI_SYSTEM_CLOCK =     12; ///< System Clock PIN for SPI

/*******************************************************************************************************************
** Declare global variables and instantiate classes                                                               **
*******************************************************************************************************************/
MAX31855_Class MAX31855; ///< Create an instance of MAX31855

/***************************************************************************************************************//*!
* @brief    Arduino method called once at startup to initialize the system
* @details  This is an Arduino IDE method which is called first upon boot or restart. It is only called one time
*           and then control goes to the main "loop()" method, from which control never returns
* @return   void
*******************************************************************************************************************/
void setup()
{
  Serial.begin(SERIAL_SPEED);
  #ifdef  __AVR_ATmega32U4__  // If this is a 32U4 processor, then wait 3 seconds for the interface to initialize
    delay(3000);
  #endif
  Serial.println(F("Starting software SPI demo program for MAX31855"));
  Serial.print(F("Initializing MAX31855 sensor\n"));
  /********************************************************************************************
  ** Uncomment out either the hardware or software SPI call, depending upon which is in use  **
  ********************************************************************************************/
  while (!MAX31855.begin(SPI_CHIP_SELECT))                            // Hardware SPI for MAX31855
//while (!MAX31855.begin(SPI_CHIP_SELECT,SPI_MISO,SPI_SYSTSEM_CLOCK)) // Software SPI for MAX31855
  {
    Serial.println(F("Unable to start MAX31855. Waiting 3 seconds."));
    delay(3000);
  } // of loop until device is located
 Serial.println();
} // of method setup()

/***************************************************************************************************************//*!
* @brief    Arduino method for the main program loop
* @details  This is the main program for the Arduino IDE, it is an infinite loop and keeps on repeating.
* @return   void
*******************************************************************************************************************/
void loop()
{
  int32_t ambientTemperature = MAX31855.readAmbient(); // retrieve MAX31855 die ambient temperature
  int32_t probeTemperature   = MAX31855.readProbe();   // retrieve thermocouple probe temp
  uint8_t faultCode          = MAX31855.fault();       // retrieve any error codes
  if ( faultCode )                                     // Display error code if present
  {
    Serial.print("Fault code ");
    Serial.print(faultCode);
    Serial.println(" returned.");
  }
  else
  {
    Serial.print("Ambient Temperature is ");
    Serial.print((float)ambientTemperature/1000,3);
    Serial.println("\xC2\xB0""C");
    Serial.print("Probe Temperature is   ");
    Serial.print((float)probeTemperature/1000,3);
    Serial.println("\xC2\xB0""C\n");
  } // of if-then-else an error occurred
  delay(2000);
} // of method loop()

@AncientTree
OK Thank you for the update, appreciated.
if there are no more questions you may close the ossue.

Thank you for attention and my problem resolved perfectly.

I'm happy to tell you that your library and the software SPI sample (examples\max31855_swSPI\max31855_swSPI.ino) works perfectly with the ESP32-S3 and I can set any pin as DO, CLK. My judgment was previously clouded by a few broken Dupont wires(silly me). Now you may be able to add the ESP32-S3 to your compatibility list.


fix Fix query time out not set

What problem does this PR solve?
Related PR: https://github.com/apache/doris/pull/41798
Problem Summary:
https://github.com/apache/doris/pull/41798 does not set cancel reason if query is timeout on fe.
Release note
None
Check List (For Author)

Test

[ ] Regression test
[ ] Unit Test
[ ] Manual test (add detailed scripts or steps below)
[ ] No need to test or manual test. Explain why:

[ ] This is a refactor/code format and no logic has been changed.
[ ] Previous test can cover this change.
[ ] No code files have been changed.
[ ] Other reason

Behavior changed:

[ ] No.
[ ] Yes.

Does this need documentation?

[ ] No.
[ ] Yes.

Check List (For Reviewer who merge this PR)

[ ] Confirm the release note
[ ] Confirm test cases
[ ] Confirm document
[ ] Add branch pick label

run buildall

run buildall


Temperature Calculator Ready

Closes #51

Attractive user interface.
Perfect functioning.
Quick responsive and best user experience.

@RuanAragao please review this pull request and requested to merge it under hacktoberfest 2023

@RuanAragao this is just a enhancement not a new calculator. So, index.html file is already attached to the main index.html file.

@RuanAragao this is just a enhancement not a new calculator. So, index.html file is already attached to the main index.html file.

My apologies, it's true. Thanks for the contribution!


rename DNSProvider to just Provider

We talked about it I think. Let's use the simpler "provider".
/cc @ideahitme

👍


Cleanup

Changes:

Added includeantruntime parameter on javac tasks
Fixed ant "test" task - couldn't find junit.jar because it was repackaged for OSGI
Fixed ant "zip.bin" task - wasn't building the required pathvisio.jar
Removed unnecessary OSGI JUnit requirement from MANIFEST.MF
Removed obsolete (pre-OSGI) IntelliJ IDEA config file

I will look at these tomorrow...

3 out of 4 patches pushed to SVN. This one not yet, see email:
https://github.com/markwoon/pathvisio/commit/dc4dfdeb6fc9765655ad36bfbd1756d1fb1300ea

Discussed the last patch with Tina, and pushed it to SVN.


Fixed the memory consumption when creating a task

Fixed the memory consumption when creating a task
Motivation and context
Currently, the task creation process can consume too much memory, especially for large videos.
How has this been tested?
Manually + unittests
Checklist

[x] I submit my changes into the develop branch
[x] I have added description of my changes into CHANGELOG file
- [ ] I have updated the documentation accordingly
- [ ] I have added tests to cover my changes
- [ ] I have linked related issues (read github docs)
- [ ] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[x] I have updated the license header for each file (see an example below)

# Copyright (C) 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT

Coverage increased (+0.01%) to 62.215% when pulling 3e8e397e2f9c49a6927a56ea8a2d4a46ac4da05a on az/fix_memory_consumption into 6dd8130475e7c017077c72f0e3c13d5ba5d5295f on develop.


Socket.recvVec behaviour does not match documentation

Version
2024.2 (latest)
Operating System

[ ] Any
[X] Linux
[ ] macOS
[ ] Windows
[ ] Other Unix

OS Version
Presumably any.
Processor

[ ] Any
[ ] Arm (using Rosetta)
[X] x86-64 (64-bit)
[ ] Other

System Component
SML/NJ Library
Severity
Minor
Description
The documentation for SockUtil.recvVec says:

recvVec (sock, n) reads n bytes from the stream socket sock; fewer than n bytes is returned when the stream is closed at the other end of the connection. It raises the Size exception when n is negative.

However if fewer than n bytes are available it raises SysErr.  There is a comment alluding to this on line 97 of smlnj-lib/INet/sock-util.sml saying (** If the server closes the connection, do we get 0 bytes or an error??? **).
The basis function Socket.recvVec works as expected.
Transcript
uncaught exception SysErr [SysErr: closed socket]
Expected Behavior
val it = ...
Steps to Reproduce
fun myRecvStr(sock, len) =
  let
    val v = Socket.recvVec(sock, len)
  in
    Byte.bytesToString v
  end

fun getHttp () =
  let
    val {addr=addr,host=_,port=_} = SockUtil.resolveAddr (valOf (SockUtil.addrFromString "mlton.org"))
    val s = SockUtil.connectINetStrm({addr=addr, port=80})
    val _ = SockUtil.sendStr(s, "HEAD / HTTP/1.1\r\nHost: mlton.org\r\nConnection: close\r\n\r\n")
  in
    SockUtil.recvStr(s, 8192)
    (* works if you replace the above line with this *)
    (*myRecvStr(s, 8192)*)
  end

val () = print (getHttp ())

N.B. SockUtil.recvStr uses SockUtil.recvVec internally.
Additional Information
No response
Email address
<EMAIL_ADDRESS>

I think it’s the other way round, Socket.recvVec from basis does work as expected but SockUtil.recvVec from SML-NJ library does not.
The example could, perhaps, have been clearer:
fun getHttp () =
  let
    val {addr=addr,host=_,port=_} = SockUtil.resolveAddr (valOf (SockUtil.addrFromString "mlton.org"))
    val s = SockUtil.connectINetStrm({addr=addr, port=80})
    val _ = SockUtil.sendStr(s, "HEAD / HTTP/1.1\r\nHost: mlton.org\r\nConnection: close\r\n\r\n")
  in
    SockUtil.recvVec(s, 8192) (* <- throws SysError *)
    (* Socket.recvVec(s, 8192) *) (* <- this works as expected, returning a Word8Vector with length 382 *)
  end

I tried Socket.recvVec on PolyML and it works the same as on SML/NJ, that is it returns a short vector as expected.  I would have expected SockUtil.recvVec to work in the same way, but it does not.
Would an acceptable solution be to just redefine SockUtil.recvVec as follows?
fun recvVec (sock, n) = Socket.recvVec (sock, n)


OffsetsForTimes method on Consumer

Do we have sample code on how to use this event OffsetForTimes in .net with sample parameters ?

the best we've got right now are the integration tests: https://github.com/confluentinc/confluent-kafka-dotnet/blob/master/test/Confluent.Kafka.IntegrationTests/Tests/Consumer_OffsetsForTimes.cs


[FEATURE REQUEST] AoM and Buffering over time.

I would like a toolkit report that displays Age of Money and Buffering over time, similar to what the YNAB mobile app shows for AoM.

I've considered making this report so many times and don't know why I haven't done it yet haha
Unsurprisingly, we've got a request for this on in Trello already here. Feel free to upvote it, hopefully I or someone else gets to this soon!


my imodels -> my itwins

We will soon be turning on My iTwins for all users. This PR updates a link.

https://github.com/Mergifyio backport release/4.0.x


package.json - license ISC / author

It looks like file package.json contains wrong information about license in field license. Source does not contain full text of ISC License nor other notice about ISC license.
Field author is empty.

Not sure how big a change this is, but should probably make sure it's compliance.

I will check about the ISC, however it would be nice if @vlna can explain the relevance of package.json licence information since we are not producing any packages. I would say we can just remove this file. It is not used for builds any longer.

As I remember default license for new package.json is ISC - see https://docs.npmjs.com/getting-started/using-a-package.json - and I guess it was contributed by mistake.
The license looks wrong and options are:

remove file (if file is redundant)

fix license to Apache 2.0 (if file is still needed)

From the npm docs:

license
You should specify a license for your package so that people know how they are permitted to use it, and any restrictions you're placing on it.

But we are not producing any package. Therefore, the license field is irrelevant. I am not sure what is the reason of rising this issue.

The package.json file only applies to the documentation build. It is clearly mentioned in the title.

And how is documentation licensed - ISC? Apache 2.0? Other?

@vlna I am lost, what do you mean by this? There is no npm package that is called "MassTransit Documentation". package.json does not define a license. This file instructs npm how to create a package, which requires a license. We do not produce any packages.

npm has grown from being a package manager to actually be a build tool as well. This is how we use it. Unfortunately, npm has only one way to define the configuration and this is using the package.json file. However, having package.json file in the repository does not mean it contains the license and all other information about the repository. For this we have the license file and all Nuget packages contain correct licensing information.

OK, I'm don't know enough about npm usage but isn't package.json part of generated package?

No. There is no package, I am writing this again. I created this file by hand, from scratch.

OK, now it's clear for me.


Programmatically compile *.proto files to *.rs

Hello,
I'm a little bit lost with FileDescriptorSet, FileDescriptorProto, and CodeGeneratorRequest.
Using code from this repo I was able to use parse_from_reader::<FileDescriptorSet> to convert a *.fdset file to *.rs.
When trying to skip the *.fdset phase and go straight from *.proto to *.rs, I can't quite understand the relationship between a FileDescriptorProto and FileDescriptorSet object.
I'm trying to construct a CodeGeneratorRequest, is this the correct way to proceed?

The FileDescriptorSet object has an internal RepeatedField<FileDescriptorProto>: fn set_file(&mut self, v: RepeatedField<FileDescriptorProto>), which is also what a CodeGeneratorRequest needs but I can't quite figure out the relationship between a CodeGeneratorRequest and FileDescriptorSet.

If I understand you correctly, you want avoid using protoc to generate .rs files?
Note, rust-protobuf does not have own .proto parser. So you need to obtain a list of FileDescriptorProto somehow, e. g. by invoking protoc --descriptor_set_out which outputs FileDescriptorSet message.
Given FileDescriptorSet object, you can extract a list of FileDescriptorProto and just invoke codegen::gen.
CodeGeneratorRequest is a message used between protoc program and compiler plugin, i. e. protoc-gen-rust. You don't need it unless you are writing another compiler plugin.

I can't quite figure out the relationship between a CodeGeneratorRequest and FileDescriptorSet.

AFAIU these are independent messages.

Thanks.


Enables dependabot for Cargo and Actions

Hopefully this is something useful to help keep dependencies up to date with a little less manual work.
This enables dependabot for the Cargo and GitHub Actions ecosystems, checking at a monthly interval (configurable).  I don't believe there is anything required besides the inclusion of this file to enable dependabot.

@stumpylog thank you for your contribution!


feature/se-11-create-user-on-dev5

Problem description
The test user doesn't exist in the dev5, create it for test purposes.
Reported issues
Loading error: https://github.com/dataquest-dev/dspace-angular/issues/58
Problems
1. Loading error
I cannot login after I created an user or admin as administrator on the dev5, the page just freezes in logging process with loading icon. In the console the FE throws error:

I was trying to reproduce this error on local docker. I just built the dataquest docker images locally and tryied to create user as administrator. But the error doesn't occured, I successfuly logged in as the user. That means there is problem with dev5.
Temporary solution: The admin is successfuly added to the dev5 from the github action. I just added command to create a new user after creating a new admin in the building_scripts/run/start.

@milanmajchrak this is done, isn't it

@milanmajchrak this is done, isn't it

Yes I'm going to close it


Missing Delve Enable/Disable Admin Options

Per the following documentation, I should find options to enable/disable Delve within my dev tenant.  I did confirm that my user has an appropriate license assigned (E5).

But I do not appear to have those administrative options available within my tenant.

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

ID: b21ad738-c2a1-ef1f-d745-eebe907311ac
Version Independent ID: e931c7e1-fdb4-414b-986d-d7755fc797c4
Content: Office Delve for Office 365 admins
Content Source: SharePoint/SharePointOnline/delve-for-office-365-admins.md
Service: sharepoint-online
GitHub Login: @gretel
Microsoft Alias: gretel

@TracyGH Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@TracyGH In the SharePoint Admin center, click Settings on the left hand nav, then there is a small classic settings link in the main pane. This is what the article is describing.

Documenting my misunderstanding, in case it helps out someone else.
It's not this one, which shows 'some' classic menu items in the modern admin page.

It's this one, which opens the settings menu from the classic admin page.


Problem reading Maxwell two datasets

Hello, I am getting the following error while trying to read a Maxwell two dataset:
"KeyError Traceback (most recent call last)
Cell In[9], line 1
----> 1 se.read_maxwell(h5_data,rec_name=rec_si, stream_id=well_si)
File ~/anaconda3/envs/si_env/lib/python3.11/site-packages/spikeinterface/extractors/neoextractors/maxwell.py:62, in MaxwellRecordingExtractor.init(self, file_path, stream_id, stream_name, block_index, all_annotations, rec_name, install_maxwell_plugin, use_names_as_ids)
59 self.install_maxwell_plugin()
61 neo_kwargs = self.map_to_neo_kwargs(file_path, rec_name)
---> 62 NeoBaseRecordingExtractor.init(
63 self,
64 stream_id=stream_id,
65 stream_name=stream_name,
66 block_index=block_index,
67 all_annotations=all_annotations,
68 use_names_as_ids=use_names_as_ids,
69 **neo_kwargs,
70 )
72 self.extra_requirements.append("h5py")
74 # well_name is stream_id
File ~/anaconda3/envs/si_env/lib/python3.11/site-packages/spikeinterface/extractors/neoextractors/neobaseextractor.py:188, in NeoBaseRecordingExtractor.init(self, stream_id, stream_name, block_index, all_annotations, use_names_as_ids, **neo_kwargs)
158 def init(
159 self,
160 stream_id: Optional[str] = None,
(...)
165 **neo_kwargs: Dict[str, Any],
166 ) -> None:
167 """
168 Initialize a NeoBaseRecordingExtractor instance.
169
(...)
185
186 """
--> 188 _NeoBaseExtractor.init(self, block_index, **neo_kwargs)
190 kwargs = dict(all_annotations=all_annotations)
191 if block_index is not None:
File ~/anaconda3/envs/si_env/lib/python3.11/site-packages/spikeinterface/extractors/neoextractors/neobaseextractor.py:27, in _NeoBaseExtractor.init(self, block_index, **neo_kwargs)
23 def init(self, block_index, **neo_kwargs):
24
25 # Avoids double initiation of the neo reader if it was already done in the init of the child class
26 if not hasattr(self, "neo_reader"):
---> 27 self.neo_reader = self.get_neo_io_reader(self.NeoRawIOClass, **neo_kwargs)
29 if self.neo_reader.block_count() > 1 and block_index is None:
30 raise Exception(
31 "This dataset is multi-block. Spikeinterface can load one block at a time. "
32 "Use 'block_index' to select the block to be loaded."
33 )
File ~/anaconda3/envs/si_env/lib/python3.11/site-packages/spikeinterface/extractors/neoextractors/neobaseextractor.py:66, in _NeoBaseExtractor.get_neo_io_reader(cls, raw_class, **neo_kwargs)
64 neoIOclass = getattr(rawio_module, raw_class)
65 neo_reader = neoIOclass(**neo_kwargs)
---> 66 neo_reader.parse_header()
68 return neo_reader
File ~/anaconda3/envs/si_env/lib/python3.11/site-packages/neo/rawio/baserawio.py:185, in BaseRawIO.parse_header(self)
172 def parse_header(self):
173 """
174 This must parse the file header to get all stuff for fast use later on.
175
(...)
183
184 """
--> 185 self._parse_header()
186 self._check_stream_signal_channel_characteristics()
187 self.is_header_parsed = True
File ~/anaconda3/envs/si_env/lib/python3.11/site-packages/neo/rawio/maxwellrawio.py:145, in MaxwellRawIO._parse_header(self)
143 gain_uV = 3.3 / (1024 * gain) * 1e6
144 mapping = settings["mapping"]
--> 145 sigs = h5file["wells"][stream_id][self.rec_name]["groups"]["routed"]["raw"]
147 channel_ids = np.array(mapping["channel"])
148 electrode_ids = np.array(mapping["electrode"])
File h5py/_objects.pyx:54, in h5py._objects.with_phil.wrapper()
File h5py/_objects.pyx:55, in h5py._objects.with_phil.wrapper()
File ~/anaconda3/envs/si_env/lib/python3.11/site-packages/h5py/_hl/group.py:357, in Group.getitem(self, name)
355 raise ValueError("Invalid HDF5 object reference")
356 elif isinstance(name, (bytes, str)):
--> 357 oid = h5o.open(self.id, self._e(name), lapl=self._lapl)
358 else:
359 raise TypeError("Accessing a group is done with bytes or str, "
360 "not {}".format(type(name)))
File h5py/_objects.pyx:54, in h5py._objects.with_phil.wrapper()
File h5py/_objects.pyx:55, in h5py._objects.with_phil.wrapper()
File h5py/h5o.pyx:189, in h5py.h5o.open()
KeyError: "Unable to synchronously open object (object 'routed' doesn't exist)""
Not very sure what it means, and is interesting that for othe recordings, same setup, I dont get any error.
here you can find the respective dataset and the jupyter notebook I am using "SC2_all_wells_latest.ipynb":
https://drive.google.com/drive/folders/1CoqJTnrn4_qIQEU_rZEc3MuNhaxgHln3?usp=sharing
I've also added another folder, 'data_that_works', which contains a recording of the same plate at a later time point. This one can be read
Could you please help me figure out what may be going wrong here? Thanks a lot!

@sofiapuvogelvittini the problem with the dataset is that for some well*** fields there are no signals associated to them.
I made a PR with a fix here #1579 . Can you test it out?

Weird! I was able to open both dataset with the fix. How did you install from the PR branch? Make sure you restart the notebook!

I am sorry, I think I was not installing it properly. I have now managed to install it correctly, and it’s working with both datasets! Thank you for your help!


Specs for installation with msi and 7z

See #145 #127 #128

Still looking for options to make it work on Windows


SD card MP3 playback

Can you bring back the SD card MP3 playback support from version 1 of the radio, please?
And it is removed in the first place?

hi @Edzelf , any update on this? love the usb and sd playback feature in v1.

Works also in V2.


Jesse: Watch cognizancemarketresearch.com

Jesse requests the watch of the watch_keyword cognizancemarketresearch\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

cognizancemarketresearch\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Rejected by Jeff Schaller in Charcoal HQ. Reason: 'in favor of the earlier PR#9292'


linker command failed with exit code 1

i try install to ios
i got this issue https://github.com/taskrabbit/react-native-zendesk-chat/issues/21
and make this staps:
Libraries/RNZendeskChat.xcodeproj > Build Settings > Framework Search Paths
Add: "${SRCROOT}/../../../ios/Pods/ZDCChat" (recursive)
a got this error

Same problem here. Any solution?

That screenshot shows that your project is configured to deploy to iOS 8.0, but the framework react-native-zendesk-chat only supports >= iOS 9.2. If you change your App's DEPLOYMENT_TARGET to be a more modern iOS version, this probably will work.

In my case it is not the version. Displays the following error:
ld: symbol (s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

That sounds like you're missing a step/framework/library.
@dev-twoweb -- Have you followed these instructions: https://developer.zendesk.com/embeddables/docs/ios-chat-sdk/setup in addition to the instructions in this repo?

Yes, even following all documentation instructions the error persists. Follow the print with the complete error:

@dev-twoweb What version of React-Native are you using? -- That looks like you just upgraded React-Native & you aren't linking to JavaScriptCore.framework

In my case this misses the problem. Thank you!


CSS basics

Related: #2

I did the corrections you asked for, but I'm not certain about the cause of my HTML file being mentioned in this PR. I pushed my changes on the HTML branch, then I made the CSS branch, checked out to it and the HTML files weren't in my folder until you allowed the HTML branch to merge to main.
Did I do it right?

Ops! I made a mistake pushing my new file to the same branch as before. Can I fix that anyway?
I've got more questions from you, mostly about this new PR:
Would you rather I used the same method for applying stylesheets to each of the "Hello World"s? I mean something like using an id for each one of them or using a paragraph tag for them all, not headers.
Also, I did realize that by background-color you meant it for the whole page, not each text, but it's not like any page could have 6 different background colors, so I featured the texts with backgrounds as well. Is that OK?

the HTML files weren't in my folder until you allowed the HTML branch to merge to main.

How is that possible? If you created CSS branch from HTML, the files of the old branch for sure exist in the new branch and shouldn't be included in the diff of this PR. You need to investigate what happened exactly (e.g. try a git diff on your local repo and see if the HTML file is part of the diff).
If the issue persists, we can investigate it together.

Ops! I made a mistake pushing my new file to the same branch as before. Can I fix that anyway?
I've got more questions from you, mostly about this new PR: Would you rather I used the same method for applying stylesheets to each of the "Hello World"s? I mean something like using an id for each one of them or using a paragraph tag for them all, not headers.
Also, I did realize that by background-color you meant it for the whole page, not each text, but it's not like any page could have 6 different background colors, so I featured the texts with backgrounds as well. Is that OK?

Yes, but it's a bit complex. Anyways, I prefer you learn about these stuff and fix it, leaving this PR for #2 only.
The steps to fix the issue:

create a new branch from this branch, e.g. css-colors
reset this branch to a previous commit hash, where new changes related to #3 are not present (git reset --hard <hash>)
do a force push (git push -f)

If you have any questions, etc. feel free to ask. Also please note that force pushing is rarely recommended and here is one of the few cases where its acceptable.

I prefer to review your PR after the above issues are fixed.

the HTML files weren't in my folder until you allowed the HTML branch to merge to main.

How is that possible? If you created CSS branch from HTML, the files of the old branch for sure exist in the new branch and shouldn't be included in the diff of this PR.

Actually, I was really trying not to mix things up, thinking we must create new branches from the main branch. So, after I completed what I wanted to push for #2 , I moved the HTML folder out of the repo's folder, then started creating a CSS branch and everything. I believe this may have caused the problem.

the HTML files weren't in my folder until you allowed the HTML branch to merge to main.

You need to investigate what happened exactly (e.g. try a git diff on your local repo and see if the HTML file is part of the diff).

I tried git diff on my local repo and it showed me nothing at all.

Ops! I made a mistake pushing my new file to the same branch as before. Can I fix that anyway?
I've got more questions from you, mostly about this new PR: Would you rather I used the same method for applying stylesheets to each of the "Hello World"s? I mean something like using an id for each one of them or using a paragraph tag for them all, not headers.
Also, I did realize that by background-color you meant it for the whole page, not each text, but it's not like any page could have 6 different background colors, so I featured the texts with backgrounds as well. Is that OK?

Yes, but it's a bit complex. Anyways, I prefer you learn about these stuff and fix it, leaving this PR for #2 only.
The steps to fix the issue:
1. create a new branch from this branch, e.g. `css-colors`

2. reset this branch to a previous commit hash, where new changes related to [CSS: colors #3](https://github.com/ConnecMent/inception/issues/3) are not present (`git reset --hard <hash>`)

3. do a force push (`git push -f`)

If you have any questions, etc. feel free to ask. Also please note that force pushing is rarely recommended and here is one of the few cases where its acceptable.

All done. I just used  git reset --hard HEAD@{n}  instead.

Now I've git another tiny problem. I can't commit anything on branch css-colors and it's not even showed on the site.

Now I've got another tiny problem. I can't commit anything on branch css-colors and it's not even showed on the site.

I pushed once and this was solved

The changes still contains code unrelated to the linked issue. Please do EXACTLY what is asked in the issue. It's not important in issues focused on learning at all, but you need to learn real world methods of doing tasks.

do not include unwanted html and css
do not give tags other than <html> a class
etc.

The changes still contains code unrelated to the linked issue. Please do EXACTLY what is asked in the issue. It's not important in issues focused on learning at all, but you need to learn real world methods of doing tasks.
* do not include unwanted html and css

* do not give tags other than `<html>` a class

* etc.

Done.


AugMemo DeLorean Inconsistency

Rasa Open Source version
2.8.7
Rasa SDK version
No response
Rasa X version
No response
Python version
3.8
What operating system are you using?
OSX
What happened?
A customer has a bot working as expected with Rasa 2.3.3 and Rasa 2.6.1. For those versions their stories follow the AugmentedMemoizationPolicy. While upgrading to Rasa 2.8.7 they noticed inconsistency within the behavior of the AugmentedMemoizationPolicy where for the same stories they were using previously the AugMemo policy was now losing track of the conversation and deferring to the TEDPolicy to make a prediction, which they observed was largely a low confidence prediction.
Potential Source of the Problem
A potential explanation for this is because of the change introduced in Rasa 2.8 where the DeLorean phase of AugMemo began to trim the tracker history according to the max_history prior to constructing the prediction states. Previously the entire tracker history was being used until this commit applying the tracker trimming.
When the AugmentedMemoizationPolicy is trained all the states contain a component detailing the last user intent, like this: {user: {"intent": "x"}, in addition to the various other action and slot events.
For the customer's case their story has a bunch of sequential actions occurring between user utterances. Once the number of sequential actions exceeds max_history when the DeLorean trims the tracker the last user utterance is lost. So, when the DeLorean constructs the prediction states from the trimmed tracker the last user intent is not included in those states. As a result AugMemo will not find a match because the states constructed during training and at prediction time do not contain the same information.
Reproducing the Error
The problem can be reproduced with the repo linked in this slack discussion, which contains a similar bot to what the customer is using. You can train a model and follow this conversation:
User: Hi
Bot: What can I help you with?
User: /technical_support

The bot will process actions up to action_set_customer_service_path where the bot will no longer be able to follow the AugmentedMemoizationPolicy to make predictions. Instead TED makes a low confidence prediction. The expectation is the bot would follow the checkpoint to predict action_check_customer_service_path. Reviewing the construction of the mcfly_tracker after action_set_customer_service_path the trimmed tracker no longer contains the last user utterance because there are now 6 actions occurring after the utterance and the utterance gets trimmed.
Command / Request
No response
Relevant log output
No response

@samsucik @JEM-Mosig reviewers


carousel images API issue

CDM IIIF doesn't seem to actually support sizing using !w,h which should give something scaled to best fit inside those dimensions, instead it is just returning max which is too big really. CDM is returning the full sized image instead. using pct:n is too random since you don't know starting size.
Also unfortunately CDM returns an error if you put in a size that is bigger than the image max size, so Psyciana has a few images that are 400px high, so if you set carousel to 500px, you end up with errors for random images.
i think choosing just the height, ,h is best, although not perfect...

carousel-js is split into pdf, youtube, thumbs, or image.
image version uses iiif choosing just the height.


Custom keyboard options when responding

Currently there is no possibility to specify a custom keyboard or a custom inline keyboard for making it easier to respond (e.g. numbers keyboard when specifying time), as you can when using the standard reply from Telegraf.

I think this is the same as #1?

Yeah i guess it is. Il shift the discussion to #1 then.


users k-nearest neighbors

I just wanted to ask, if a matrix of k-nearest neighbors is kept for every user? And if yes, how could i possibly access it. I browsed the code and it seemed to me, there is no such thing. Instead there are item-item matrices. But i just wanted to make there is or is not.
Thx, Christoph

I thought a little bit more about the problem. I can actually inverse the input data and compute a user-user matrix by passing data like this
recommender.add_to_matrix!(:users, "product_id", "user_23", "user_42")

@christoph-buente can you elaborate more your solution?
Hi, im developing a solcial network and users can download things. I would also like to recommend a user to follow similar users based on their download activity.
For example
User 1 Downloads Thing1 and Thing2
User 2 Downloads Thing1 and Thing2
User 3 Downloads Thing9 and Thing4
Recommend User1 to follow User2
How can I achieve that?

Hi @silva96 ,
It's a long time since I used it. But what you basically want is a User-User similarity. The tool gives you item-item similarities, if I remember correctly. That just helps with the typical Amazon statement: users who bought this item were also interested in these.

Hi @silva96 ,
It's a long time since I used it. But what you basically want is a User-User similarity. The tool gives you item-item similarities, if I remember correctly. That just helps with the typical Amazon statement: users who bought this item were also interested in these.

So I can't achieve this with this gem? I thought, by reading your previous response back in 2015, you kind of solved it.


Automatic verification of tx body in tests

Potential solutions:

calculate the tx hash from the tx body and verify they are the same.
use the tx body to produce the tx hash at every test run so no inconsistency is possible. This is somewhat uncomfortable to use when trying to debug.

Done in #148.


Cannot copy style URL with commands

If you navigate to https://mayccoll.github.io/Gogh/ , clicking on 'clipboard' icon, in the upper right corner of the theme image doesn't do anything. It does not copy the theme command to clipboard.
But I was able to install the desired theme using the command below
wget -O gogh https://git.io/vQgMr && chmod +x gogh && ./gogh && rm gogh
I also suggest that you update your README.md Ln:42 to navigate to https instead of http.

Yep, that functionality was disabled. I already solved. 24f8c74
I need to work on that page and bring more themes, but that is a hard work.
I'm looking the way.


Look Into how to Identify Live Events

This is to support prelim team lists and matches

Added in the latest version


Add accelerate to poetry dependencies

Hey Costa,
It seems that the 'accelerate' package isn't part of the poetry dependencies, although we're currently using it. I can submit a PR to update the pyproject.toml and poetry.lock files to include accelerate.

In addition, I encountered errors in calling `reward_model.module.reward_gain` and `reward_model.module.reward_bias` in the reward learning script, like [here](https://github.com/vwxyzjn/lm-human-preference-details/blob/main/lm_human_preference_details/train_reward_accelerate.py#L384-L385), and [here](https://github.com/vwxyzjn/lm-human-preference-details/blob/main/lm_human_preference_details/train_reward_accelerate.py#L411-L412). The error message is `AttributeError: 'AutoModelForCausalLMWithRewardHead' object has no attribute 'module'
` for me.  However, directly using `reward_model.reward_gain` and `reward_model.reward_bias` work just fine. Is there a reason why `module` is important? Should we change  `reward_model.module.reward_gain` to  `reward_model.reward_gain`?

(I see! reward_model.module is needed when using multiple GPUs with accelerate.)
Tianlin

Hi @liutianlin0121, thanks for this issue. I can't believe that I didn't add accelerate to poetry. Could you make a PR? You can probably run poetry add accelerate@latest.

(I see! reward_model.module is needed when using multiple GPUs with accelerate.)

Yeah, so this is an unfortunate limitation of torch: for some reason under the distributed mode, the module is no longer directly accessible. Torch also kind of forces you to use exclusively forward function. In comparison, jax doesn't have these two issues.

I see, thank you!


/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -incremental -module-name flutter_id_now -O -whole-module-optimization -enforce-exclusivity=checked @/Users/mreichelt/Library/Developer/Xcode/DerivedData/Runner-bcejfhmpxehmpgeubjpwhquzfvmw/Build/Intermediates.noindex/Pods.build/Release-iphoneos/flutter_id_now.build/Objects-normal/arm64/flutter_id_now.SwiftFileList -D COCOAPODS -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk -target arm64-apple-ios8.0 -g -module-cache-path /Users/mreichelt/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -swift-version 5 -I /Users/mreichelt/Projects/other/flutter_id_now/example/build/ios/Release-iphoneos/flutter_id_now -F /Users/mreichelt/Projects/other/flutter_id_now/example/build/ios/Release-iphoneos/flutter_id_now -F /Users/mreichelt/Projects/other/flutter_id_now/example/build/ios/Release-iphoneos/FLAnimatedImage -F /Users/mreichelt/Projects/other/flutter_id_now/example/build/ios/Release-iphoneos/Masonry -F /Users/mreichelt/Projects/other/flutter_id_now/example/build/ios/Release-iphoneos/Sentry -F /Users/mreichelt/Projects/other/flutter_id_now/example/build/ios/Release-iphoneos/SocketRocket -F /Users/mreichelt/Projects/other/flutter_id_now/example/build/ios/Release-iphoneos/libPhoneNumber-iOS -F /Users/mreichelt/Projects/other/flutter_id_now/example/ios/Flutter -parse-as-library -c -num-threads 4 -output-file-map /Users/mreichelt/Library/Developer/Xcode/DerivedData/Runner-bcejfhmpxehmpgeubjpwhquzfvmw/Build/Intermediates.noindex/Pods.build/Release-iphoneos/flutter_id_now.build/Objects-normal/arm64/flutter_id_now-OutputFileMap.json -parseable-output -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/mreichelt/Library/Developer/Xcode/DerivedData/Runner-bcejfhmpxehmpgeubjpwhquzfvmw/Build/Intermediates.noindex/Pods.build/Release-iphoneos/flutter_id_now.build/Objects-normal/arm64/flutter_id_now.swiftmodule -Xcc -I/Users/mreichelt/Library/Developer/Xcode/DerivedData/Runner-bcejfhmpxehmpgeubjpwhquzfvmw/Build/Intermediates.noindex/Pods.build/Release-iphoneos/flutter_id_now.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/mreichelt/Library/Developer/Xcode/DerivedData/Runner-bcejfhmpxehmpgeubjpwhquzfvmw/Build/Intermediates.noindex/Pods.build/Release-iphoneos/flutter_id_now.build/flutter_id_now-generated-files.hmap -Xcc -I/Users/mreichelt/Library/Developer/Xcode/DerivedData/Runner-bcejfhmpxehmpgeubjpwhquzfvmw/Build/Intermediates.noindex/Pods.build/Release-iphoneos/flutter_id_now.build/flutter_id_now-own-target-headers.hmap -Xcc -I/Users/mreichelt/Library/Developer/Xcode/DerivedData/Runner-bcejfhmpxehmpgeubjpwhquzfvmw/Build/Intermediates.noindex/Pods.build/Release-iphoneos/flutter_id_now.build/flutter_id_now-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/mreichelt/Library/Developer/Xcode/DerivedData/Runner-bcejfhmpxehmpgeubjpwhquzfvmw/Build/Intermediates.noindex/Pods.build/Release-iphoneos/flutter_id_now.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/mreichelt/Library/Developer/Xcode/DerivedData/Runner-bcejfhmpxehmpgeubjpwhquzfvmw/Build/Intermediates.noindex/Pods.build/Release-iphoneos/flutter_id_now.build/flutter_id_now-project-headers.hmap -Xcc -I/Users/mreichelt/Projects/other/flutter_id_now/example/build/ios/Release-iphoneos/flutter_id_now/include -Xcc -I/Users/mreichelt/Projects/other/flutter_id_now/example/ios/Pods/Headers/Public -Xcc -I/Users/mreichelt/Library/Developer/Xcode/DerivedData/Runner-bcejfhmpxehmpgeubjpwhquzfvmw/Build/Intermediates.noindex/Pods.build/Release-iphoneos/flutter_id_now.build/DerivedSources-normal/arm64 -Xcc -I/Users/mreichelt/Library/Developer/Xcode/DerivedData/Runner-bcejfhmpxehmpgeubjpwhquzfvmw/Build/Intermediates.noindex/Pods.build/Release-iphoneos/flutter_id_now.build/DerivedSources/arm64 -Xcc -I/Users/mreichelt/Library/Developer/Xcode/DerivedData/Runner-bcejfhmpxehmpgeubjpwhquzfvmw/Build/Intermediates.noindex/Pods.build/Release-iphoneos/flutter_id_now.build/DerivedSources -Xcc -DPOD_CONFIGURATION_RELEASE=1 -Xcc -DCOCOAPODS=1 -emit-objc-header -emit-objc-header-path /Users/mreichelt/Library/Developer/Xcode/DerivedData/Runner-bcejfhmpxehmpgeubjpwhquzfvmw/Build/Intermediates.noindex/Pods.build/Release-iphoneos/flutter_id_now.build/Objects-normal/arm64/flutter_id_now-Swift.h -import-underlying-module -Xcc -ivfsoverlay -Xcc /Users/mreichelt/Library/Developer/Xcode/DerivedData/Runner-bcejfhmpxehmpgeubjpwhquzfvmw/Build/Intermediates.noindex/Pods.build/Release-iphoneos/flutter_id_now.build/unextended-module-overlay.yaml -working-directory /Users/mreichelt/Projects/other/flutter_id_now/example/ios/Pods
               CompileSwift normal arm64 /Users/mreichelt/Projects/other/flutter_id_now/ios/Classes/SwiftFlutterIdNowPlugin.swift (in target 'flutter_id_now' from project 'Pods')
                   cd /Users/mreichelt/Projects/other/flutter_id_now/example/ios/Pods
                   /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c /Users/mreichelt/Projects/other/flutter_id_now/ios/Classes/SwiftFlutterIdNowPlugin.swift -emit-module-path /Users/mreichelt/Library/Developer/Xcode/DerivedData/Runner-bcejfhmpxehmpgeubjpwhquzfvmw/Build/Intermediates.noindex/Pods.build/Release-iphoneos/flutter_id_now.build/Objects-normal/arm64/flutter_id_now.swiftmodule -emit-module-doc-path /Users/mreichelt/Library/Developer/Xcode/DerivedData/Runner-bcejfhmpxehmpgeubjpwhquzfvmw/Build/Intermediates.noindex/Pods.build/Release-iphoneos/flutter_id_now.build/Objects-normal/arm64/flutter_id_now.swiftdoc -serialize-diagnostics-path /Users/mreichelt/Library/Developer/Xcode/DerivedData/Runner-bcejfhmpxehmpgeubjpwhquzfvmw/Build/Intermediates.noindex/Pods.build/Release-iphoneos/flutter_id_now.build/Objects-normal/arm64/flutter_id_now-master.dia -emit-objc-header-path /Users/mreichelt/Library/Developer/Xcode/DerivedData/Runner-bcejfhmpxehmpgeubjpwhquzfvmw/Build/Intermediates.noindex/Pods.build/Release-iphoneos/flutter_id_now.build/Objects-normal/arm64/flutter_id_now-Swift.h -emit-dependencies-path /Users/mreichelt/Library/Developer/Xcode/DerivedData/Runner-bcejfhmpxehmpgeubjpwhquzfvmw/Build/Intermediates.noindex/Pods.build/Release-iphoneos/flutter_id_now.build/Objects-normal/arm64/flutter_id_now-master.d -target arm64-apple-ios8.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk -I /Users/mreichelt/Projects/other/flutter_id_now/example/build/ios/Release-iphoneos/flutter_id_now -F /Users/mreichelt/Projects/other/flutter_id_now/example/build/ios/Release-iphoneos/flutter_id_now -F /Users/mreichelt/Projects/other/flutter_id_now/example/build/ios/Release-iphoneos/FLAnimatedImage -F /Users/mreichelt/Projects/other/flutter_id_now/example/build/ios/Release-iphoneos/Masonry -F /Users/mreichelt/Projects/other/flutter_id_now/example/build/ios/Release-iphoneos/Sentry -F /Users/mreichelt/Projects/other/flutter_id_now/example/build/ios/Release-iphoneos/SocketRocket -F /Users/mreichelt/Projects/other/flutter_id_now/example/build/ios/Release-iphoneos/libPhoneNumber-iOS -F /Users/mreichelt/Projects/other/flutter_id_now/example/ios/Flutter -g -import-underlying-module -module-cache-path /Users/mreichelt/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity=checked -O -D COCOAPODS -serialize-debugging-options -Xcc -working-directory -Xcc /Users/mreichelt/Projects/other/flutter_id_now/example/ios/Pods -Xcc -I/Users/mreichelt/Library/Developer/Xcode/DerivedData/Runner-bcejfhmpxehmpgeubjpwhquzfvmw/Build/Intermediates.noindex/Pods.build/Release-iphoneos/flutter_id_now.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/mreichelt/Library/Developer/Xcode/DerivedData/Runner-bcejfhmpxehmpgeubjpwhquzfvmw/Build/Intermediates.noindex/Pods.build/Release-iphoneos/flutter_id_now.build/flutter_id_now-generated-files.hmap -Xcc -I/Users/mreichelt/Library/Developer/Xcode/DerivedData/Runner-bcejfhmpxehmpgeubjpwhquzfvmw/Build/Intermediates.noindex/Pods.build/Release-iphoneos/flutter_id_now.build/flutter_id_now-own-target-headers.hmap -Xcc -I/Users/mreichelt/Library/Developer/Xcode/DerivedData/Runner-bcejfhmpxehmpgeubjpwhquzfvmw/Build/Intermediates.noindex/Pods.build/Release-iphoneos/flutter_id_now.build/flutter_id_now-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/mreichelt/Library/Developer/Xcode/DerivedData/Runner-bcejfhmpxehmpgeubjpwhquzfvmw/Build/Intermediates.noindex/Pods.build/Release-iphoneos/flutter_id_now.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/mreichelt/Library/Developer/Xcode/DerivedData/Runner-bcejfhmpxehmpgeubjpwhquzfvmw/Build/Intermediates.noindex/Pods.build/Release-iphoneos/flutter_id_now.build/flutter_id_now-project-headers.hmap -Xcc -I/Users/mreichelt/Projects/other/flutter_id_now/example/build/ios/Release-iphoneos/flutter_id_now/include -Xcc -I/Users/mreichelt/Projects/other/flutter_id_now/example/ios/Pods/Headers/Public -Xcc -I/Users/mreichelt/Library/Developer/Xcode/DerivedData/Runner-bcejfhmpxehmpgeubjpwhquzfvmw/Build/Intermediates.noindex/Pods.build/Release-iphoneos/flutter_id_now.build/DerivedSources-normal/arm64 -Xcc -I/Users/mreichelt/Library/Developer/Xcode/DerivedData/Runner-bcejfhmpxehmpgeubjpwhquzfvmw/Build/Intermediates.noindex/Pods.build/Release-iphoneos/flutter_id_now.build/DerivedSources/arm64 -Xcc -I/Users/mreichelt/Library/Developer/Xcode/DerivedData/Runner-bcejfhmpxehmpgeubjpwhquzfvmw/Build/Intermediates.noindex/Pods.build/Release-iphoneos/flutter_id_now.build/DerivedSources -Xcc -DPOD_CONFIGURATION_RELEASE=1 -Xcc -DCOCOAPODS=1 -Xcc -ivfsoverlay -Xcc /Users/mreichelt/Library/Developer/Xcode/DerivedData/Runner-bcejfhmpxehmpgeubjpwhquzfvmw/Build/Intermediates.noindex/Pods.build/Release-iphoneos/flutter_id_now.build/unextended-module-overlay.yaml -parse-as-library -module-name flutter_id_now -num-threads 4 -o /Users/mreichelt/Library/Developer/Xcode/DerivedData/Runner-bcejfhmpxehmpgeubjpwhquzfvmw/Build/Intermediates.noindex/Pods.build/Release-iphoneos/flutter_id_now.build/Objects-normal/arm64/SwiftFlutterIdNowPlugin.o
               /Users/mreichelt/Projects/other/flutter_id_now/ios/Classes/SwiftFlutterIdNowPlugin.swift:3:8: error: no such module 'IDnowSDK'
               import IDnowSDK
                      ^

[  +10 ms] ════════════════════════════════════════════════════════════════════════════════
           Building a deployable iOS app requires a selected Development Team with a
           Provisioning Profile. Please ensure that a Development Team is selected by:
             1- Open the Flutter project's Xcode target with
                  open ios/Runner.xcworkspace
             2- Select the 'Runner' project in the navigator then the 'Runner' target
                in the project settings
             3- In the 'General' tab, make sure a 'Development Team' is selected.
                You may need to:
                    - Log in with your Apple ID in Xcode first
                    - Ensure you have a valid unique Bundle ID
                    - Register your device with your Apple Developer Account
                    - Let Xcode automatically provision a profile for your app
             4- Build or run your project again

           For more information, please visit:
             https://flutter.dev/setup/#deploy-to-ios-devices

           Or run on an iOS simulator without code signing
           ════════════════════════════════════════════════════════════════════════════════
[   +3 ms] "flutter ios" took 15.586ms.
Encountered error while building for device.

#0      throwToolExit (package:flutter_tools/src/base/common.dart:28:3)
#1      BuildIOSCommand.runCommand (package:flutter_tools/src/commands/build_ios.dart:90:7)
<asynchronous suspension>
#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:615:18)
#3      _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:73:64)
#4      _rootRunUnary (dart:async/zone.dart:1134:38)
#5      _CustomZone.runUnary (dart:async/zone.dart:1031:19)
#6      _FutureListener.handleValue (dart:async/future_impl.dart:139:18)
#7      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:680:45)
#8      Future._propagateToListeners (dart:async/future_impl.dart:709:32)
#9      Future._completeWithValue (dart:async/future_impl.dart:524:5)
#10     Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:554:7)
#11     _rootRun (dart:async/zone.dart:1126:13)
#12     _CustomZone.run (dart:async/zone.dart:1023:19)
#13     _CustomZone.runGuarded (dart:async/zone.dart:925:7)
#14     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:965:23)
#15     _microtaskLoop (dart:async/schedule_microtask.dart:43:21)
#16     _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5)
#17     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#18     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:175:5)

Output of flutter doctor -v
[✓] Flutter (Channel beta, v1.12.13+hotfix.6, on Mac OS X 10.15.1 19B88, locale de-DE)
    • Flutter version 1.12.13+hotfix.6 at /Users/mreichelt/bin/flutter
    • Framework revision 18cd7a3601 (vor 4 Wochen), 2019-12-11 06:35:39 -0800
    • Engine revision 2994f7e1e6
    • Dart version 2.7.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.1)
    • Android SDK at /Users/mreichelt/bin/android_sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.1
    • ANDROID_HOME = /Users/mreichelt/bin/android_sdk
    • Java binary at: /Applications/Android Studio 3.6.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.2.1, Build version 11B500
    • CocoaPods version 1.8.4

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

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio 3.6.app/Contents
    • Flutter plugin version 42.2.2
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio 3.5.app/Contents
    • Flutter plugin version 40.1.2
    • Dart plugin version 191.8423
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[!] Android Studio
    • Android Studio at /Applications/Android Studio 4.0.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[!] IntelliJ IDEA Community Edition (version 2019.2.4)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

[✓] IntelliJ IDEA Ultimate Edition (version 2019.2.4)
    • IntelliJ at /Users/mreichelt/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 39.0.5
    • Dart plugin version 192.6603.23

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

[✓] Connected device (3 available)
    • iPhone 11 Pro Max • 749180F6-01CA-4185-A7E8-7D8F275910F4 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-13-2 (simulator)
    • Chrome            • chrome                               • web-javascript • Google Chrome 79.0.3945.117
    • Web Server        • web-server                           • web-javascript • Flutter Tools

! Doctor found issues in 2 categories.

I created an issue for the IDnow iOS SDK: https://github.com/idnow/de.idnow.ios/issues/80
Indeed, this seems not to be a Flutter issue. I will update this issue here as soon as I know more. 👍

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact descriptions what happens, logs and the output of 'flutter doctor -v'  please.
All system setups can be slightly different so it's always better to open new issues and reference related issues.

@iapicca Thanks - as described, this seems to be an issue with Cocoapods and/or IDnow SDK anyways - not with Flutter.


No support for Tensorflow 2

Hi,
is the code (e.g. tf_od_predict.py) going to be upgraded to Tensorflow 2?
Thank you,
Jan

Hi @janpisl,
Sorry, I missed your question here.
Currently, no plan to update the util script to TF2.x. Though, you feel free to refer and update the script from the TensorFlow team's recent update, e.g. this script .


add records console to aghost

About the PR
closes #17086
Media
opened on station, records:

opened off station, no records:

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog
no cl no fun

@Chief-Engineer is this implementation good enough

yeah i think to work off station it would need to cache the last known station and that seems yucky


How does nvgScale work? Seems it doesn't affect anything

Tried to use this way but seems nvgScale doesn't change anything. Why? :)
nvgScale( vg, 30.f, 30.f );

nvgBeginFrame( vg, 1280, 720, 1 );
nvgBeginPath( vg );
nvgEllipse( vg, 500, 500, 200, 100 );
nvgFillColor( vg, nvgRGBA( 255, 255, 0, 255 ) );
nvgFill( vg );

nvgEndFrame( vg );

Oops. I got it. I placed nvgScale at the wrong place :) Placing nvgScale after nvgBeginFrame solves the problem. :)

I have one more question on this subject. If I use really large scaling (a few times more than my original size) - does NanoVG removes (clips) automatically those areas of my upscaled image that we don't see? Or for example if I have image with a size: 1000x1000 and do nvgScale(vg, 30, 30) does it reserve a memory for image size: 30 000 x 30 000?

It does not reserve memory, but it will try to draw really big shape. That can mean a lot of work on GPU and can be slow.

Is it possible to avoid it? if I don't need to load GPU on those areas which we don't see... It doesn't clip it automatically?

No, there's no clipping or culling to keep things simple.


[SPARK-12201][SQL] add type coercion rule for greatest/least

checked with hive, greatest/least should cast their children to a tightest common type,
i.e. (int, long) => long, (int, string) => error, (decimal(10,5), decimal(5, 10)) => error

cc @marmbrus @yhuai

Test build #47325 has started for PR 10196 at commit 2081673.

Test build #47325 has finished for PR 10196 at commit 2081673.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/47325/
Test PASSed.

Thanks, merging to master and 1.6.


Fill out the wiki

This is more of a note to myself, but the wiki should be filled out with:

[x] Column Types breakdowns and their parameters
[x] Sheet / Column defaults editing
[ ] Depot code structure
[ ] Depot data structure
[ ] Guide to building the extension for development / contribution guide
[ ] CastleDB similarities / differences
[ ] Roadmap
[x] Video demo
[ ] Edge cases / assumptions
[ ] Display columns note
[ ] depotDefaults.js
[ ] Svelte / Webviews

Added https://github.com/kkukshtel/Depot/wiki/Depot-Column-Information today

Added https://github.com/kkukshtel/Depot/wiki/Depot-Sheet-Information

Added https://github.com/kkukshtel/Depot/wiki/Depot-vs.-CastleDB


[BUG] Improper alignment of events.

Describe the bug
Improper alignment of events.
To Reproduce
link: https://www.thecyberhub.org/events
Expected Behavior
Alignment should be equal

You can create a separate component for the heading (using styled-components only)
and give a fix margins

and can set the margin-top upcomming and pastevents components

also make sure to correct ongoing events (will be there on particular dates)

Screenshot/ Video

Code of Conduct

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

Hey @kabir0x23, I would like to work on this issue

Awesome, I am assigning this issue to you.

@kabir0x23 Fixed in the linked PR

Great, we will review your PR and merge very soon. until then/If you are looking to contribute more to the open-source, then you can give a look at other open issues or can create issues.
Thank you 😄.


Add global using statement for WorldResourceId

Similar to https://github.com/latticexyz/mud/pull/2135

Since WorldResourceIdInstance and ResourceId are in different packages, I believe we can't use global for them.
It can be done if we import world into store, which I believe is not the best design pattern as it will create a cyclic dependency. 🤔
@yonadaaa @holic

You're right:

I wonder if there's room for moving this into e.g. a "common" package to import into each and avoid cyclic dependencies, or if we should keep each type in their respective packages and keep using world resource IDs in the verbose way.


Darkmodefix

#11
Changed:

To:

Didn't come across the error of light mode being visible when auto toggled.

Thanks for taking a look at this! I should have some time to review tomorrow. I think what we want is default to be dark mode, and to toggle to light mode (if desired).

okay testing this! Here is what I see:

the red doesn't appear to show up
the dark mode is still default, but now the button to make light doesn't work

E.g., here is what I see:


How to obtain the directory where the executable file is located

How to obtain the directory where the executable file is located？
such as the executable file xxx.exe in D:\aaa\bbb\ccc\ , How to obtain this directory

from pathlib import Path
myexepath = Path(file).parent
something like that, I guess

There is https://nuitka.net/user-documentation/common-issue-solutions.html#standalone-finding-files and https://nuitka.net/user-documentation/common-issue-solutions.html#onefile-finding-files explaining the two common cases and how to do it with portable code, i.e. one that works with Python too.
For other cases, the __compiled__ has an attribute containing_dir which is mainly helpful to get the folder where the .dist or .app is located. Since it works differently to Python, I do not recommend using it, although it would work to find files external to the onefile binary and external to the module mode binary as well.

There is https://nuitka.net/user-documentation/common-issue-solutions.html#standalone-finding-files and https://nuitka.net/user-documentation/common-issue-solutions.html#onefile-finding-files explaining the two common cases and how to do it with portable code, i.e. one that works with Python too.
For other cases, the __compiled__ has an attribute containing_dir which is mainly helpful to get the folder where the .dist or .app is located. Since it works differently to Python, I do not recommend using it, although it would work to find files external to the onefile binary and external to the module mode binary as well.

that is working , thanks


Rest api support

Does this gem supports Rest API interface ?
Rest support link: https://github.com/colosa/processmaker/commit/d6f1539a7bfd285a836111a4ddf20ad770134e3d

Hi @kirantpatil, sorry about the late (super, super late) response.
I'm revisiting this gem and I will add REST in a new version of this gem. I'll update the code when it's released.