Multiple file Upload

It would be great this bunlde managed multiple file uploads

Yes it would ;) but I think it would be a lot of work. And I don't plan to evolve this bundle further. I will only maintain it in case of a bug.
However feel free to work on that and submit a pull request. I will gladly review it.


How to display ionic-components in storybook?

Is there a way to run storybook to display components of the ionic framework?
support request summary
I am trying to render ionic-angular components in Storybook, but I'm (probably not unexpectedly) getting template parse errors of the sort:
compiler.js:486 Uncaught Error: Template parse errors:
'ion-title' is not a known element:
1. If 'ion-title' is an Angular component, then verify that it is part of this module.
2. If 'ion-title' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the<EMAIL_ADDRESS>of this component to suppress this message. ("
  <ion-navbar>
    [ERROR ->]<ion-title>login</ion-title>
  </ion-navbar>
"): ng:///DynamicModule/LoginPage.html@9:4

I have set up storybook following the slow guide to angular
https://storybook.js.org/basics/guide-angular/
and my src/stories/index.ts looks like this
index.ts
import { LoginPage } from './../pages/login/login';
import { TestComponent } from './../components/test/test';
import { storiesOf } from '@storybook/angular';
import { action } from '@storybook/addon-actions';

storiesOf('TestComponent', module)
.add('page', () => ({
    component: LoginPage,

    props: {
      text: '😀 😎 👍 💯',
    },
  }))
  .add('with some emoji', () => ({
    component: TestComponent,
    props: {
      text: '😀 😎 👍 💯',
    },
  }))

TestComponent is generic
(has been generated with from the ionic cli withionic generate component testComponent)
and is displayed fine.
LoginPage however fails with the error above
version of Storybook and optionally any affected addons that you're running
I'm using
@storybook/addon-actions": "^3.4.8",
@storybook/angular": "^3.4.8",

So, it appears that the answer to this lies in moduleMetadata. It had to mirror the @NgModule of app.module.ts
so now index.ts becomes:
import { HomePage } from './../pages/home/home';
import { TestComponent } from './../components/test/test';
import { storiesOf } from '@storybook/angular';
import { action } from '@storybook/addon-actions';
import {  App, NavController,IonicModule, IonicApp } from 'ionic-angular';
import { MyApp } from '../app/app.component';

storiesOf('TestComponent', module)
    .add('page', () => ({
        moduleMetadata:{
        declarations:[MyApp, HomePage],
        imports:[
            IonicModule.forRoot(MyApp)
         ],
         entryComponents:[MyApp, HomePage],
         bootstrap:[IonicApp],
          providers:[App,  NavController]
    },
    component: HomePage,
    props: {
        text: '😀 😎 👍 💯',
    },
  }))
  .add('with some emoji', () => ({
       component: TestComponent,
       props: {
           text: '😀 😎 👍 💯',
       },
  }))

Thanks for your attention, would wecome any further comments/suggestions

Given the moduleMetadata object above, storybook will display the html template of the component in question.
However, none of the scss styles are displayed. Could you please indicate what I might be missing?

How are the ionic's styles loaded to your regular app?

@igor-dv apparently a main.css file is compiled under www/build that is loaded by the generated index.html.
I was able to make some more progress by using import '../www/build/main.css' in .storybook/config.js. Is there any other way?

IMO, having this file in the assets field of angular.json should work as well. But importing this file in config.js is also an acceptable solution (at least in the React ecosystem)

Hi!
I'm working on a Vue.js project and according to the Storybook docs I add the following script in the preview-head.html file (https://storybook.js.org/configurations/add-custom-head-tags/):
<script src="https://unpkg.com/<EMAIL_ADDRESS>
And to show a button I create a story like this one:
  .add('with ionic', () => ({
    template: '<ion-button>Hello Button</ion-button>'
  }))

Everything works well except the font-family. It should looks like:

But it displays like:

I don't understand when the button handles a change of its font-family :( ...
Any idea please? Thanks

I was following the Ionic docs but it seems I have to add the style too accoding to their repo:
https://github.com/ionic-team/ionic/tree/master/core#vanilla-html
So I need to set:
<link href="https://unpkg.com/<EMAIL_ADDRESS>rel="stylesheet">
<script src="https://unpkg.com/<EMAIL_ADDRESS>
Now the font-family is concording with my Vue.js app. But I don't have animations on my Ionic elements (like when I click on a button, a circle expands).

I was following the Ionic docs but it seems I have to add the style too accoding to their repo:
https://github.com/ionic-team/ionic/tree/master/core#vanilla-html
So I need to set:
<link href="https://unpkg.com/<EMAIL_ADDRESS>rel="stylesheet">
<script src="https://unpkg.com/<EMAIL_ADDRESS>
Now the font-family is concording with my Vue.js app. But I don't have animations on my Ionic elements (like when I click on a button, a circle expands).

@sneko  I think the problem is that ionic components need <ion-app> as a parent. I got the animations to work by writing a custom decorator in the config.js to wrap my stories with <ion-app>.
This is how my config.js looks like now:
import { IonicModule } from '@ionic/angular';

// automatically import all files ending in *.stories.ts
const req = require.context('../src/', true, /\.stories\.ts$/);
function loadStories() {
  req.keys().forEach(filename => req(filename));
}

const wrap = templateFn => storyFn => {
  const story = storyFn();
  return {
    ...story,
    template: templateFn(story.template)
  };
};
const ionicWrap = wrap(content => `<ion-app>${ content }</ion-app>`);

addDecorator(ionicWrap);
addDecorator(
  moduleMetadata({
    imports: [IonicModule]
  })
)

configure(loadStories, module);

@smnhgn when I add the <ion-app> wrapper the component just renders undefined. If I on the other hand add the <ion-app> tag directly in the component it renders just fine.
The stories file looks like this:
storiesOf('Task', module)
  .addDecorator(
    moduleMetadata({
      declarations: [TestComponent],
    })
  )
  .add('default', () => {
    return {
      component: TestComponent,
    };
  });


Fix ContainerCreateOptsBuilder::mounts

This PR introduces a new ContainerMount type and changes the type used by ContainerCreateOptsBuilder::mounts.
Closes: #138

This works.
https://github.com/marhkb/pods/pull/403


Update scales design

Updates scales and its labels according to the attached design images

@timocov @eugene-korobko, this issue only update actual price scale design or you give api to set custom design for labels?
Would I be able to make such design after closing this issue?

@DTupalov it's about updating the default design for price labels.

Will it have radius settings @timocov ?

Will it have radius settings @timocov ?

@thanhlmm Not in this change. Can you please create another issue for that so after this issue will be closed we can start to work on adding the new features/overrides.


bug/html parsing incorrectly categorizing text

Describe the bug
The html parser is incorrectly categorizing a set of divs as different text types. There are three divs, one right after each other and each div is categorized as UncategorizedText, Title, and NarrativeText. These should all be the same text category and definitely not a title category.
To Reproduce
Parse the attached html file. Examine the elements created for these three div ids SBOS510440, SBOS5102933, SBOS5105314

1. VIN = +VS + 500 mV.

2. TVS: +VS(max) > VTVSBR (Min) > +VS

3. Suggested value is approximately 5 kΩ in overvoltage conditions.

 elements = partition_html(text=html_text)
electrical-overstress-sbos8126148.zip
Expected behavior
Expect these to three divs to be the same text category, but not a title category
Screenshots
Here's the list of elements for the three divs:

Environment Info
OS version:  Linux-6.1.83-4.ph5-x86_64-with-glibc2.28
Python version:  3.10.14
unstructured version:  0.15.13
unstructured-inference is not installed
pytesseract is not installed
Torch is not installed
Detectron2 is not installed
PaddleOCR is not installed
Libmagic version: file-5.33
magic file from /etc/magic:/usr/share/misc/magic

Yep, good call. I'll sort this out.


add beta light/dark mode 1.1

I made some changes from the previous pull request, in particular I corrected what I had been told previously, I hope everything is correct now. I specify that obviously not all pages have an exact implementation of dark mode but it is due to the fact that they are still under development of course.
Ps. I tried to insert only the lib folder as you requested, but it was done only with the last commit, from next time I will start from the beginning.

Hello, and thank you for your contribution!
I've pushed a commit to revert most system files. Please be aware of this in the future.
If you want, we would really appreciate if you could monitor all dark mode stuff while developing goes forward, and fix possible problems.
Thank you, bye!!

Hi, I'm very happy that my work went well since this was my first open source contribution. That said, I will definitely continue working on the project in the future.
Thanks again everyone, bye.


Update instructions

Description
Updated the instructions for the network dependency utility and the steps needed to be carried out in order to utilise the PowerBI report.  I also included a picture of a sample output of what the PowerBI report would look like.
I updated the assessment utility with a sample output of the PowerBI report as well.
Checklist

[x] This pull request was tested on both of:

[ ] PowerShell 5.1 (Windows)
[X] PowerShell 6.x
[X] PowerShell 7.x (Latest PowerShell)

[X] Scripts do not contain static passwords or other secret tokens.
[X] All Azure resource identifiers which must be universally unique are guaranteed to be so.

Testing information

Platform and PowerShell version: [pscustomobject]$PSVersionTable | Select-Object OS, BuildVersion, PSVersion
Az version: (Get-InstalledModule -Name Az).Version

Hey @rashi-ms I've made some additional changes after working through these utilities again and also added in some images so people know what to expect when using these PowerBI reports, could you please review these changes?
Thanks,
Sarah


How not to delete posts/images when using nodb_storage and publishing again

This is a general question about what approach to follow when using SimpleContent and adding posts
SCENARIO

We have our WebApp with SimpleContent, no_db, etc.

The blog posts are stored under nodb_storage.

Once in production we use OLW to create new posts/images

We version the code with Git source control

Pushing changes to master branch will trigger a new publish of the whole application

The problem I see is that the Git repository will not be aware of new posts published through Open Live Writer.
If another developer clones the Web app repository, makes some changes and pushes changes to master triggering a new publish, wouldn't the content of nodb_storage be deleted in production?
What would be the best approach to follow for that scenario?
One option I can think of is running the WebApp in local so that we can use Open Live Writer to publish always locally (OLW attached to the localhost Metaweb API), and after that pushing the new changes to the source control so that everything what's in local is also in source control and in production.
Is there any other approach?

It is a challenging problem. Honestly I think the solution you mentioned is the most straight forward approach to keep things flowing in one direction only from git to production.

If another developer clones the Web app repository, makes some changes and pushes changes to master triggering a new publish, wouldn't the content of nodb_storage be deleted in production?

I think that is most likely but depends on your environment. The files could live on disk as unversioned files, but in a web farm scenario where new nodes are provisioned based on git, then typically when a push to git triggers a new deployment it creates a new web farm node with the new files and the old node is de-provisioned so the files that are not part of git are lost. So maybe not explicitely deleted just lost because they are only on one node and not part of the state that builds new nodes.
Even with this approach, it does not solve all problems. Specifically consider if you have comments enabled those comments are part of the serialized post in production, ie the production copy of the post gets updated from the web front end when someone makes a comment. One solution is to just not allow comments. Another solution is to not use the internal comment system but instead use something like Disqus or IntenseDebate or some other external comment system. To do that would require customizing the views to remove the markup related to the internal comment system and add whatever is needed to plugin one of those systems. The default views are embedded but you can copy ones that you want to override into the appropriate folder under  Views and the local file will be used instead.
Other strategies I can think of include having some way to push new files and file changes from production back to git. Github for example has apis that would make it possible and I think most of the big online git providers have similar apis. There could be some component in production to watch the file system and push commits to the repo. I have also considered implementing an event system for create/update/delete etc which would allow people to plugin custom event handlers that can be triggered to run after those events happen so custom code could then push the changes to git. Even in the absence of an event handler system, one could plugin custom NoDb IBasicCommands implementation that would both save to the file system and push to git. Similarly for files uploaded via OLW, they would be processed by IMediaProcessor, you could make a custom implementation based on FileSystemMediaProcessor that both saves to the file system and pushes to git.

and of course another strategy is to use EF Storage instead of NoDb, but that would still require some solution for uploaded files. the current solution stores media files on disk but perhaps some custom implementations could be created to store files in the db instead or blob storage somewhere. then of course the posts would need to be processed to change the urls or maybe some middleware could redirect media requests that are directed to the local filesystem to a different url


create_dir_all and DirBuilder

uring, therefore async, versions of create_dir_all and DirBuilder.

For now, this comes with an example binary that was useful in development and testing of the feature. It doesn't make a create example for normal uring use though so I'm happy to consider it temporary and we can remove it as part of this PR or any time later.
Also there is an async version of is_dir that is used solely by this feature which may be useful in its own right one day or at least parts of it as it has to look at libc bits of the statx structure and asking whether a path or a File is a directory is fairly common so there are normally helper functions or methods provided for that. For now our statx call returns a libc::statx structure so the caller is own their own to track down the details of how to do it.

FYI. I'm working on a builder version of statx and that will allow getting the statx structure without first having opened the file, so the is_dir function in this create_dir_all can be greatly simplified after that.


fix: add armv7l for rpi to the ARCH list

- What I did
- How I did it
- How to verify it
- Description for the changelog
fix: add armv7l for rpi to the ARCH list

@cconstab @cpswan note that the install_* commands are now updated, however the update_* scripts will not work until the next release.


chore(changelog): Fixup git-cliff formatting

Replaced backticks surrounding body with blockquotes. This formats
significantly better.
Added a few postprocessors to remove junk like the PR template,
horizontal lines and some trailing whitespace

Note: there is extra non-automatically generated stuff in the changelog that this would remove - the changes to CHANGELOG.md should not be merged as-is, and this is worth waiting for @orhun to check out.
Compare: https://github.com/ratatui-org/ratatui/blob/5e7fbe8c328050a282a49b8c6ab3f5b33c7cfb4c/CHANGELOG.md
To: https://github.com/ratatui-org/ratatui/blob/main/CHANGELOG.md

It seems to be missing a summary section

Yep - I mentioned this in the PR comment and the reason for the do not merge label.

Note: there is extra non-automatically generated stuff in the changelog that this would remove - the changes to CHANGELOG.md should not be merged as-is, and this is worth waiting for @orhun to check out.

Thanks! @orhun


the example can't run on ubuntu 22.04. the ubuntu runs on docker, it shows Function not implemented.

the example can't run on ubuntu 22.04. the ubuntu runs on docker.

kernel : Linux 5.10.25-linuxkit x86_64

It's disabled in docker if you get -ENOSYS as the error. This is not a liburing issue.


Allow searching our database by coordinates

Seems like the best way to do this is to create a bounding box given the user's current coordinates and then use that to search the database.
http://stackoverflow.com/questions/238260/how-to-calculate-the-bounding-box-for-a-given-lat-lng-location
http://janmatuschek.de/LatitudeLongitudeBoundingCoordinates

This isn't something we will do based on foursquare policy information.  Instead we will cache search results but always use foursquare for searching.


use Segment and SegmentList features in generating glitches and background

No changes functionally. This patch makes use of intersection properties of Segments and its derivatives.

@deepchatterjeeligo Haven't forgotten about this. Ultimately I think these tools with eventually be migrated to mldatafind in some sort of vetoe manipulation package. Once we figure out how that is going to look, we can migrate this over.


flake8-pyi is not compatible with flake8 3.8

Attempting to run flake8-pyi with flake8 3.8 (which hasn't been released yet) raises an AttributeError due to the use of optparse instead of argparse.
$ pip install flake8==3.8.0a2 flake8-pyi
$ flake8
...
File ".../lib/python3.8/site-packages/pyi.py", line 359, in add_options
    option.to_optparse().default = option.default
File ".../lib/python3.8/site-packages/flake8/options/manager.py", line 332, in to_optparse
    raise AttributeError("to_optparse: flake8 now uses argparse")
AttributeError: to_optparse: flake8 now uses argparse

I've taken a quick look and it looks like the code in add_options() is going to need some changes because flake8 switched from optparse to argparse. I'll see if I can take a stab at a PR today.


add constant contract and clear abi

Add triggerconstantcontract and clearABI new api for Java tron v3.6.
Add unit test for new Apis by using Java tron release_3.6 branch.
@sullof Please review when you have time for those new API.

Closed since has merged into account-id branch.


Distribute on crates.io

I understand that this is a work in progress project, but I think the earlier people can experiment, the better! Maybe just release it with a less than 1.0 version.
Also, it would put the documentation on Docs.rs, which could be useful. I think a release could also attract more contributors.

Hi @alexkreidler! I'm actually preparing a release. The documentation is ready. I'm finishing some big changes in the storage system and I plan to push it just after. It should be out in a few days.

I have pushed today a first release: https://crates.io/crates/oxigraph
It's a "RC" version because I was not sure that the process would work.
Everything worked fine except the automated Docker build.
I am currently improving the documentation (especially on the Python side) and running benchmarks before pushing the real 0.1 in the next few days.

Great, I'll close this issue!


Worker CIS Profile - Default is blank instead of (None)

Worker CIS Profile is only shown on custom clusters and there is a (None) option, but it's not selected as the default value when creating a custom cluster.

v2.6-head 8/11 mid day

@neillsom This also needs to go in to release-2.6 branch. You need to create another PR with this change on that branch. You should be able to check out that branch and cherry-pick the commit.

Works fine on v2.6-head (c10ef4b)


WebRequest: change char to TCHAR

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 1 file pending identification.


Updated end of line character sequence to CRLF rather than LF

According to RFC 959 (https://www.ietf.org/rfc/rfc959.txt), the end-of-line sequence for FTP commands should be CRLF and not LF. Most FTP server implementations don't care and support either, but Microsoft's IIS/FTP solution is picky and will return a 451 error response due to the invalid line termination (see https://support.microsoft.com/en-us/kb/2505047).

Btw, great project @pohmelie !!

Awesome!

Probably we should make constant with name CRLF or EOL in common.py for client and server usage. And what about our mlsd and list workers? Should we send \r\n instead of \n in this case?
I have no experience with writing setup.py, but can we use version as:

import aioftp
...
args = dict(
    name='aioftp',
    version=aioftp.__version__,

And what about publishing? Cause flit don't collect setup.py to wheel (I think).

Thanks for pull! :+1:

"The argument field consists of a variable length character string
ending with the character sequence  (Carriage Return, Line
Feed) for NVT-ASCII representation; for other negotiated languages
a different end of line character might be used"
regarding setup.py - imo it would be better to use configparser and parse flit.ini into setup() args - then we'll have descriptions in one place (flit.ini) though setup.py will be supported too.

I'd wote for client to check "SYST" and in case of "unix" in response use LF, otherwise CRLF.

@rsichny is there a possibility to server to deal with "\n" and not with "\r\n"? From same rfc:
End-of-Line
     The end-of-line sequence defines the separation of printing
     lines.  The sequence is Carriage Return, followed by Line Feed.

And if we create duality of LF/CRLF on client, what we should do on server? Server can't determine client system.

@pohmelie guess the server should always use CRLF in command connection, as stated by RFC

@rsichny yeah, that is what I talking about. So server send CRLF always, but client send CR or CRLF? This looks strange. I mean, if client and server are so «smart», why not use CRLF everywhere?

Technically clients should only send CRLF according to the spec. Some clients only send LF and that's probably a bug or has some legacy reason for being. Servers tend to handle both for maximum compatibility (unless you are Microsoft...)

@pohmelie Didn't mean to add all those commits to this pull request! Just the line ending contribution.

I will refactor this a bit. Move EOL to common.py and use it both server and client.


Add LowerLayerSetter class to allow to tweak coap level parameter for requests

This aims to implements #875.
An example of use :
// configure reliability parameters
Builder reliabilityParams = ReliabilityLayerParameters.builder();
reliabilityParams.ackRandomFactor(1).ackTimeout(100).ackTimeoutScale(1).maxRetransmit(1);
// send requests
ReadResponse response = server.send(registration,
                                    new ReadRequest("3/0/1"),
                                    CoapRequestSetter.reliabilitySetter(reliabilityParams),
                                    timeout);

The master version (without any backward compatibility stuff and with support for bootstrap server is available at https://github.com/eclipse/leshan/commit/7a2966a3c59b89db1aa832d42ab7191afb9e6ff6)

This now integrated in branch 1.x (cf7dbc9 ) with backward compatibility
and in master commit (813d6642b) without backward compatibility.


site supervise capability

site_supervise module will measure all thermostats at a single site on a single cadence, this will help provide site orchestration capability.  This first ticket will provide the initial module and algorithm.  Additional tickets may be raised for refactoring required along the way.

add capability to run multiple zones simultaneously, this may require multi-threading.

ThermostatSite class
methods:
display all zones within site
display all temps within site
supervise all zones within site


Moving VoteOnInbound, VoteOnOutbound and other voting messages into observer module

I'm thinking that the voting messages themselves should be also moved to observer . Since the vote is casted by observer.
Basically crosschain contains the logic when an inbound or outbound is validated but it's external module that triggers the validation. In the current case, it's the observer modules that validate inbound/outbound with voting but in the future it can be lightclient module when a tx is verified in a header or an IBC module if we connect with Cosmos

Closing this as it is unlikely we're going to make this change.
In our current model, crosschain is the entry point for everything crosschain related and it uses observer module to validate the transaction


Repo.preload using a has_many(_, through: _) association does not always load all structs

Environment

Elixir version (elixir -v): 1.7.4
Database and version (PostgreSQL 9.4, MongoDB 3.2, etc.): Postgres 9.6
Ecto version (mix deps): 3.0.5
Database adapter and version (mix deps): Postgrex 0.14.1
Operating system: MacOS

Current behavior
Using a join table schema with @primary_key false as suggested in the docs causes Repo.preload to only add one of the records of a has_many(_, through: [_, _]) association
Using the example in the docs
defmodule UserOrganization do
  use Ecto.Schema

  @primary_key false
  schema "users_organizations" do
    belongs_to :user, User
    belongs_to :organization, Organization
  end
end

with one organization and two associated users in the db, running
Organization |> Repo.all() |> Repo.preload(:users)
would return
[
  %Organization{
    __meta__: #Ecto.Schema.Metadata<:loaded, "organizations">,
    id: 1,
    name: "Citadel of Ricks",
    users_organizations: [
      %UserOrganization{
        __meta__: #Ecto.Schema.Metadata<:loaded, "users_organizations">,
        organization: #Ecto.Association.NotLoaded<association :organization is not loaded>,
        organization_id: 1,
        user: %User{
          __meta__: #Ecto.Schema.Metadata<:loaded, "users">,
          id: 1,
          name: "Rick",
          organizations: #Ecto.Association.NotLoaded<association :organizations is not loaded>,
          users_organizations: #Ecto.Association.NotLoaded<association :users_organizations is not loaded>,
        },
        user_id: 1
      },
      %UserOrganization{
        __meta__: #Ecto.Schema.Metadata<:loaded, "users_organizations">,
        organization: #Ecto.Association.NotLoaded<association :organization is not loaded>,
        organization_id: 1,
        user: %User{
          __meta__: #Ecto.Schema.Metadata<:loaded, "users">,
          id: 2,
          name: "Morty",
          organizations: #Ecto.Association.NotLoaded<association :organizations is not loaded>,
          users_organizations: #Ecto.Association.NotLoaded<association :users_organizations is not loaded>,
        },
        user_id: 2
      }
    ],
    users: [
      %User{
        __meta__: #Ecto.Schema.Metadata<:loaded, "users">,
        id: 1,
        name: "Rick",
        organizations: #Ecto.Association.NotLoaded<association :organizations is not loaded>,
        users_organizations: #Ecto.Association.NotLoaded<association :users_organizations is not loaded>,
      }
    ]
  }
]

Expected behavior
The users attribute above should be filled with both of the users instead of just the first one.
Happy to work on a fix for this but need to confirm that we want to
(a) fix the code to load all through structs
instead of
(b) throw an error if a has_many(_, through: [_, _]) relationship do not have a primary key
Work Around
Adding primary_key: true to both of the belongs_to() gives the expected preload result.

I would like to understand why this happens. What is going on with the code so that it loads only part of the data? Most likely it is loading it all but it thinks it is the same somehow? Can you put up a minimal app with a failing test case so we can take a deeper look? Thank you! :heart:

@josevalim
minimal app: https://github.com/dallincrane/ecto_check
All the data needed from from the db is loaded. Haven't looked super close at it but I believe the issue is here in the Repo.Preloader.recur_through function
{children, _} =
  Enum.reduce(structs, {[], %{}}, fn struct, acc ->
    children = struct |> Map.fetch!(field) |> List.wrap

    Enum.reduce children, acc, fn child, {fresh, set} ->
      keys =
        child
        |> through_pks(pks, assoc)
        |> validate_non_null_pk!(child, pks, assoc)

      case set do
        %{^keys => true} ->
          {fresh, set}
        _ ->
          {[child|fresh], Map.put(set, keys, true)}
      end
    end
  end)

where it is only added to the list of children if the primary_key values do not exist as a key in the set map. Because the primary_key values in this scenario will always be an empty list [], only the first struct is added as a child.

Thanks for the PR. after look at the fix and the code, i don't think it can work without primary keys. I mean, we could if we assume the records are unique, but that may have its own issues too, so I think going with an error is the way to go! :+1:


Reusable diagnostic function

This changeset exposes a function get_diagnostic(diag_type). It returns a number (unlike get_diagnostic_* functions, which return a formatted string).
I did a tiny refactor here, and:

Both get_coc_diagnostic and get_nvim_lsp_diagnostic now both return a number (previously both returned a string, but only the former appended a space, which was a minor inconsistency).
I've de-duplicated some logic by introducing get_formatted_diagnostic. It also ensures all values are formatted the same.

This is mostly since I want to be able to use something like get_diagnostic("Info") + get_diagnostic("Hint"). The existing functions return strings, so doing math on them is unnecessarily complicated.

Any feedback here?

Any feedback here?

Last time @glepnir wrote something in Github, he said he was in a hospital. It was 16 days ago. I hope he is fine.

Oh, thanks for the heads up, I had no idea. Hope he gets well.


face mask rendered from ARcore AugmentedFace object vertices/indexes is distorted

When I try to render a face mask using vertices, indexes from ARcore Augmented Face node, then the final result is corrupted. The face mask is at the correct position, but the texture is not solid. You can check it how it looks here.
I take meshes from the AugmentedFace object:
val meshVertices = face.meshVertices
val uvs = face.meshTextureCoordinates
val meshNormals = face.meshNormals
val meshIndices = face.meshTriangleIndices
Buffers are created like that:
faceVertexBuffer = VertexBuffer.Builder()
    .bufferCount(3)
   .vertexCount(468)
  .attribute(VertexBuffer.VertexAttribute.POSITION, 0, VertexBuffer.AttributeType.FLOAT3, 0, 3 * Float.SIZE_BYTES)
 .attribute(VertexBuffer.VertexAttribute.TANGENTS, 1, VertexBuffer.AttributeType.FLOAT3, 0,             3 * Float.SIZE_BYTES)
    .attribute(VertexBuffer.VertexAttribute.UV0, 2, VertexBuffer.AttributeType.FLOAT2, 0,             2 * Float.SIZE_BYTES)
   .build(filament.engine)
meshVertices.rewind()
meshNormals.rewind()
uvs.rewind()
faceVertexBuffer.setBufferAt(filament.engine, 0, meshVertices)
faceVertexBuffer.setBufferAt(filament.engine, 1, meshNormals)
faceVertexBuffer.setBufferAt(filament.engine, 2, uvs)
faceIndexBuffer = IndexBuffer.Builder()
    .indexCount(2694)
    .bufferType(IndexBuffer.Builder.IndexType.USHORT)
    .build(filament.engine)
meshIndices.rewind()
faceIndexBuffer.setBuffer(filament.engine, meshIndices)
And I render it:
RenderableManager.Builder(1)
.boundingBox(Box(0.0f, 0.0f, 0.0f, 1.0f, 1.0f, 1.0f))
.geometry(0, RenderableManager.PrimitiveType.TRIANGLES, faceVertexBuffer, faceIndexBuffer, 0, 468)
.material(0, materialInstance)
.build(filament.engine, faceRenderable)
filament.scene.addEntity(faceRenderable)
Do you have any suggestions what am I doing wrong? What am I missing?

Filament expects a tangent frame not just normal vectors in the TANGENTS attribute. You can use the SurfaceOrientation API to generate those tangent frames directly. Also, are your vertex and index counts correct since you hardcode them?

Thanks @romainguy for the hint. I tried SurfaceOrientation API and some other stuff.
So I build SurfaceOrientation in a few configuration and then get tangents using getQuatsAsFloat.
I have the following results:

When I use normals only, then nothing is changed. The mask is distorted as before.
For positions + indices I get error libfilament-jni.so (offset 0x7b1000) (filament::geometry::OrientationBuilderImpl::buildWithFlatNormals()+136) (BuildId: 54802414ffabe932202b04617aef440852b15774)
For normals + uvs + positions + indices I get error libfilament-jni.so (offset 0x7b1000) (filament::geometry::OrientationBuilderImpl::buildWithUvs()+820) And when I remove uvs from the builder then there is no error and nothing is changed.

I checked Sceneform sdk and I found out that they build tangents from normals only. I implemented the same function in my app and nothing has changed. They also convert indices from short to int. I tried that as well, no success.
Also I tried to build vertexbuffer using only position buffer. Again I got distorted mask in the same way as before.
Do you have any other idea what should I check?

@romainguy do you have any suggestions what is wrong?

I think this should be moved into a discussion. There won't be any action/fixes on our side at this point.


create two txt files on notes branch

Why did you close this pull request? Now I cannot merge it into the master branch.

I opened a new one and I believe you have already merge that one into the master branch.
Thanks

On Feb 2, 2015, at 8:59 AM, Ryan Sobol<EMAIL_ADDRESS>wrote:
Why did you close this pull request? Now I cannot merge it into the master branch.
—
Reply to this email directly or view it on GitHub https://github.com/codefellows/sea-w24-uge/pull/2#issuecomment-72493302.

Yes, you're right!


pass request body to erlang/elixir

Hyperbeam can be great to offload heavy data workload from erlang/elixir server,  and only proxying/forwarding control requests upward.  Because still not so family with rust language, I cannot figure out the way to pass request body to erlang/elixir (native/hyperbeam/src/server.rs), can you give some help, thanks a lot.

Hi @xrzhao, thank you for your interest in this project. The current state of this project is not intended to be used by anyone at this point. I hope to spend more time on it in the coming weeks as we make improvements in rustler itself.
The server currently does not send the body into the BEAM, but I certainly intend on making that possible in the next round of work.


Encrypt/Decrypt Tags

Are there any plans to add functionality to encrypt/decrypt tags as they are written/read? I have a version that does this here:
https://github.com/joepegler/phonegap-nfc-aes
I'm quite new to this sort of thing, but I'm writing a thesis on your excellent library and figured I'd look into including a couple of useful methods to keep payloads a secret. My version hasn't been optimized or anything like that, but if you do think it might be useful then let me know if you think it's a worthwhile avenue to explore and I'll try and make it a bit neater. I've effectively merged a JavaScript AES Encryption library into your 'phonegap-nfc.js' file, and used it to read and write tags with AES Encryption.
The two methods I've added are
nfc.addAesNdefListener(callback, [onSuccess], [onFailure], [myKey]);

and
nfc.aesWrite(message, [onSuccess], [onFailure], [myKey]);

where 'myKey' is a 16|24|32 length hexadecimal string of the users choice.

@joepegler , are you still working on your project aes encryption? I'm interested

@joepegler , are you still working on your project aes encryption? I'm interested


Gui conversion issues

https://www.autohotkey.com/boards/viewtopic.php?p=581354#p581354
Will fill in details later

V1:
Gui, ClipGui: New, +hwndClGui

Gui, ClipGui: Add, Text, % "Center x" . Margin . " y" . Margin .  " w" . Margin*2 . " h" . 20 . " vCH" . A_Index . " hwndBot" . A_Index, % StrLen(this.clips[A_Index]) . " characters"

cmd=%1%

V2 (Converted):
ClipGui. New("+hwndClGui")

ClipGui. Add("Text", "Center x" . Margin . " y" . Margin .  " w" . Margin*2 . " h" . 20 . " vCH" . A_Index . " . A_Index, StrLen(this.clips[A_Index]) . " characters")
Bot" := ogcTextCH.hwnd

cmd := 1

V2 (Expected):

V2 (Expected):
ClipGui := Gui(), ClGui := ClipGui.Hwnd

; Not really possible - see below

cmd:=_1

Issue 1:
Easy fix
Issue 2:
It looks like this control is created in a loop, so "+hwndVar" . A_Index could create Var1, Var2 etc
afaik there isn't anyway to do this outside of cases like this, and because now you can't make a hwnd var inside the command (you use hwndVar := GuiCtrl.hwnd, and hwndVar%A_Index% is invalid)
Issue 3:
Another variable issue, valid in v1 not in v2

Issue 3 seems to be this
https://www.autohotkey.com/docs/v1/Variables.htm#CommandLine
Not sure if it will be fixable..


Addition to Homebrew

I use Mac, will wait for Homebrew support :)
Warning: No available formula with the name "hellwal".

I want hellwal to support as many platforms as possible, but I simply don't have a way to test it properly. I cannot afford Mac and I dont want to play with hacky OSX vm's...
My concerns:

it have to be able to compile on different processor architecture,
im not sure about all used libraries
iterm2 has different escape codes than other standardized terminals

If you or someone test it if this is working properly or just make it work on Mac's and create PR I'll happly accept it.


render error:-2013

Hi,
I just created a new project on weex through the cli.
When running  npm run serve it runs fine but on ios (physical device through weex playground) or android (emulator) it doesn't render.
I tried finding answers through google translate but nothing that could help me.

This issue has been closed because of no feedback or lack of activity. It can be reopened If you offer more information about. Thank you for your contributions.

长时间没回复，issue 关掉了。如果还想继续讨论，请提供更详细的信息，然后会 reopen 此 issue。谢谢配合。


Auto generate the config docs page

Todo

[x] Generate cli docs from the cli struct.
[x] Generate config docs from the config struct.
[x] Add comments to .env.example
[ ] Add help tags to config structs.

Refs
closes #194

Pull Request Test Coverage Report for Build 814539625

0 of 3 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.05%) to 45.99%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/config/config.go
0
3
0.0%

Totals

Change from base Build 764458588:
-0.05%

Covered Lines:
1250

Relevant Lines:
2718

💛  - Coveralls

I merged #440 into my PR, now we could test the new config file.

I just remembered that we also want to print in the docs  what is the default configs.
Should print it in json format so that people can directly copy it to use and just change some things in it.

Ok I think this looks good, what is that last item in your list? - Add help tags to config structs.

Thanks, the last one was about adding help annotation the config struct fields.


doc values not selected after code reload

I have a form with an object field Days with all the week days as sub fields.
when I give the form in the doc attribute default values, non of the radio buttons for the days fields is checked, other fields do get their default value.
Days:{
      type:Object,
      minCount:7,
      maxCount:7,
      optional:false,
  },
  "Days.sun":{
      type:String,
      autoform: {
        options: function () {
            return [{label:"0",value:0},{label:"1",value:1},{label:"2",value:2}];
        },
        type:"select-radio",
        template:"buttonGroup",
      }
  },

Should be fixed in next release.

Done in AutoForm 5.0, now released.

I just ran into this! Updated and it works. Thanks aldeed!


Refined account windows.

Refined spacing, shrunk field labels, put sign-out button at bottom, swapped button positions.
Some screenshots:

A few things:

Sign Out button right aligned, with much smaller width.
Sign In button aligned to the right margin of window (15px to border)
"Sign in with…" text using small text size.
15px space between "Sign in with…" text and email field
15px space between password fields and buttons.
15px space between buttons and bottom of window
Resize account details window to fit the amount of existing content

The 15px spaces should be optically the same, so they might have to be prodded up or down to look correct.t

I'm inclined to put a bit of space between the password field and the buttons in the sign-in window, but it doesn't make much of a difference.

actually the spacing between "Sign in with..." and "Email:" is now looking more than 15px. Adjusting...

I agree with you impulse to make the space between more than 15px, though my gut is to make things consistent because if we ever do automate some kind of layout manager it will be easier to drop in if the values are the same.

Account details is a little bit weird, though I think we should do some research and get a few examples of how similar information is handled in other place. I guess in the end Account Details will be a form where you can update the email address and password, so that will make this into a more traditional form.

I think it will look much more normal once populated... with a list of fonts published via ghostlines, and a reset password button, and so forth.

better.

Right—agreed. This looks good to merge as-is, though.


Q. How can I convert output of LeGO-LOAM to 2D grid map for path planning?

My question is on the title.
I want to make a 2D(x,y) Grid map for path planning.
So I checked pointcloud through RVIZ and I think '/segmented_cloud_pure' topic is suitable for my task. (Is this right? It's from imageProjection.cpp)
Then, I wonder that if segmentedCloudPure(pcl:Pointcloud data) had over 10,000 points, what means the sequence of the points?

我的问题在标题上。 我想制作一个 2D（x，y）网格图用于路径规划。 所以我通过 RVIZ 检查了点云，我认为“/segmented_cloud_pure”主题适合我的任务。（对吗？它来自 imageProjection.cpp）
然后，我想知道如果segmentedCloudPure（pcl：Pointcloud data）有超过10,000个点，那么这些点的序列意味着什么？

I also encountered this problem. Did you solve it?

@bestgaomu Do you mean convert PC to 2D?


Rename transform to rewrite

Solve #169

PR-Codex overview
This PR updates the documentation and CLI commands related to the term rewriting process in the project.
Detailed summary

Renamed normalizer transform to normalizer rewrite for clarity and consistency.
Updated references and instructions across documentation files.
Modified CLI commands and options related to the rewriting process.

This is not the master branch and nobody was hurt.
I think it's more productive to write a message that asks for clarification or that outlines how you're going to fix the problem than writing a message where you apologize for creating this problem.
link

@RoukayaZaki, please resolve the conflicts


[NEO-78835]: fix extraHttpHeaders issue

Description
The extraHttpHeaders passed to the connection parameters which is used to initialise the client, is not present in the XtkJobInterface's function and FileUploader APIs
const connectionParameters = sdk.ConnectionParameters.ofBearerToken(targetDomain, imsToken, {extraHttpHeaders: {testHeader: 'headerValue'}});
const clientSdk = await sdk.init(connectionParameters).catch(() => false);
await clientSdk.logon();

const job = await clientSdk.jobInterface({
  xtkschema: "nms:dataModel",
  method: "write",
  jobId: name,
  args: dataModelJSON,
});

// This API call does not have the extraHttpHeaders in the headers.
await job.submitSoapCall();

Also, the submit and execute APIs does not have the extraHttpHeaders in the header.
Although, all the other methods like getStatus, getResult, cancel, pause, waitJobCancelled and hasWarning already support the extraHttpHeaders as they are being handled by the Proxy clientHandler.
Similarly, we have this issue in the fileUploader APIs.
Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

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

Checklist:

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

I see in the PR that you have modified a couple of tests to pass connectionParameters: { _options: {}} }. Could you explain why? Normally unit tests serve as regression tests, so any changes in the tests is a sign that there could be a regression.
Also, I see don't see any new tests regarding this PR, could you add some? We'd like to see tests which asserts that the extra headers are correctly passed now, i.e. those tests should fail with the previous code and succeed with the new code

The connectionParameter is something which will always be present in the client object. But the client mocking in XtkJob test cases did not have it, so I added it. If we use the MockClient, then we do not have to add this required parameter.
Also, I have added the test cases for extra headers.


Random numbers below 20 are considered valid

In #6 you confirmed that the 7-8th digit should start at 20, and fixed the generator.
But isPerson returns true for the 7-8th numbers below 20.
For instance<PHONE_NUMBER> returns true, but is invalid.

I think we discussed this before, the 7-8th numbers start at 20 right now but I think that is a decision by Þjóðskrá, so maybe in the future they decide to start counting at 00 and I'm not sure they will let anyone know.
We could have a min 20 requirement, the advantage would be a stricter validation.
Probably worth it to add this then.

Since the generator starts at 20, I think the validator should do the same.

Yeah I think we'll do that, if Þjóðskrá changes the way they generate Kennitölur it will be a huge breaking change anyway so a version bump wouldn't be the worst result in that case. The big advantage is stricter validation. Lets go for it.
I'll have time over the weekend to implement a couple of the fixes for V1 and then I need to publish V2 soon so people can start validating system Id's.

This is fixed in V2, there is a beta version available now on the v2.0.0-beta.0 version.
yarn add<EMAIL_ADDRESS>


Hacktoberfest 2022 💫

To contribute for Hacktoberfest 2022 edition, you'll just need to add project (if you have a project to add).
No needed any translation or minor fix on this project.
Read our contributor guide first !

can i take this issue?

Sorry @LucianeFernandesRoque but this issue is only open for developer who have senegalese project to add.
This repo is listing tools built by Senegalese developers.


Add support for entities without a reference resolver

Resolves #1361
Heya :wave:
This PR adds support for defining entities without a reference resolver using the resolvable parameter of the @key directive on the SimpleObject and Object macros.
The key to be marked unresolvable can be either implicitly (#[graphql(unresolvable)]) or explicitly (#[graphql(unresolvable = "<key>")]) defined. When implicitly defined, the macro assumes all non-skipped fields are part of the key. When explicitly defined, the macro assumes the provided key is valid for the object. The explicit key will most likely be used for entities referenced by compound keys with nested fields, which cannot be easily validated.
This should not be a breaking change. The resolvable argument defaults to true, so it will not affect schema generation unless explicitly requested.
Example usage:
#[derive(SimpleObject)]
#[graphql(unresolvable)] // <-- new attribute
struct ImplicitObject {
	pub id: u64,
	pub username: String,
}

#[derive(SimpleObject)]
#[graphql(unresolvable = "id")] // <-- new attribute
struct ExplicitObject {
    pub id: u64,
}

This example will generate the following schema:
#                                               v-- added directive argument
type ImplicitObject @key(fields: "id username", resolvable: false) {
    id: Int!
    username: String!
}

#                                      v-- added directive argument
type ExplicitObject @key(fields: "id", resolvable: false) {
    id: Int!
}

These objects will also not be added to the _Entity union as they cannot be resolved by the subgraph.

thanks! 🙂


UTF-8 and Gzip for text files

Adds a helper function to open text files which ensures UTF-8 encoding
is used in Python 2, and allows the user to pass files with Gzip
compression (which can be faster as well as more space efficient on
disk).

Other than my very brief inline comment, LGTM.

Okay, I think this is good to go. In summary, gzip file handles are only picklable in Python 3 (I tried fixing it in picklable-itertools for Python 2, but it's a nightmare because the buffered stream makes it really hard to tell where you are in the underlying file). Same goes for UTF-8 encoding, which works fine in Python 3 but in Python 2 becomes unpicklable.

Wait, would that mean that for Blocks and under Python2 we wouldn't be able to pickle the main loop within an epoch?

Yes, but only if you use .gz files or if you pass encoding='utf-8'. Neither is serializable in Python 2 without a lot of custom pickling (that I tried to do this morning, but gave up on after 2 hours).
In general though, you can get away with never using UTF-8 in Python 2 as long as you make sure that the dictionary doesn't use UTF-8 either. I was using this within a project where the dictionary was already created elsewhere as UTF-8, so in that case it's useful to have the keyword argument.
In short, nothing changes about the current behaviour, but if you insist on using the new functionality of reading files in UTF-8 or using gzip in Python 2 you will lose picklability, yes.

As long as it's not breaking anything existing, I'm okay with that. You should document it, though.

Yes, please document it, and please use the phrase "legacy Python" and not "Python 2" to do so. :wink:

It's documented already as part of the TextFile docstring, or do you mean that I should put in the open_ docstring as well?
@dwf Sure.

I'd put it in the open_ docstring as well, just in case it's reused by future library components or user code.

Done and rebased.


Lost ECA when transfering

I am missing over 8 million ECA after transfering from legacy to savings and checking accounts. All transactions are now 10/10 confirmations.

Can you please show your wallet? the transaction id, address...?

when i got the new wallet i had 29.7 mill

Hi Coolcovey,
It seems that an edge case happened on your transaction. We need to look at that in detail, can you send me an email at<EMAIL_ADDRESS>please, so that we can look at that together ?

Closed as solved.


Fix covariance matrix mutating feature names

Checklist

[x] Added a CHANGELOG.rst entry

This PR implements a minimal fix for #669. It replaces the (non-pure) _set_up_and_check_fit_args method call in covariance_matrix() with the side-effectless check_X_y_tabmat_compliant method plus a few other lines of code.
The fix does work, but I believe that the underlying issue is a bit deeper, and a proper solution would require some refactoring. Basically, it is not totally clear (at least to me) where the line lies between _set_up_and_check_fit_args and check_X_y_tabmat_compliant. For example, converting to MatrixBase and handling integer arrays is done in the former, while I feel it should belong to the latter.
It would be nice to have a method/function (could be check_X_y_tabmat_compliant), after which we can be sure that X is a nice, checked MatrixBase object, but which does not have side effects. It could also take care of aligning categorical features (I believe that the category alignment step was omitted from covariance_matrix before.), or, later on, materializing formuals.

Change log? :)

Oops, added :) Do you think we should merge this quick fix, or go for refactoring check_X_y_tabmat_compliant and _set_up_and_check_fit_args? (Or do both in this order?)


Compilation flags on rasbperry pi

On raspberry pi gcc has version 6.3.0 20170516 (Raspbian 6.3.0-18+rpi1+deb9u1)
and flags -Wrestrict -Wduplicated-branches -Wstringop-overflow=4 are not recognized.
gcc: error: unrecognized command line option ‘-Wduplicated-branches’; did you mean ‘-Wduplicated-cond’?
gcc: error: unrecognized command line option ‘-Wrestrict’; did you mean ‘-mrestrict-it’?
gcc: error: unrecognized command line option ‘-Wstringop-overflow=4’; did you mean ‘-Wstrict-overflow=’?

That Makefile should work now for older gcc.

Thank you :)
wt., 28 kwi 2020, 14:27 użytkownik somnisoft<EMAIL_ADDRESS>napisał:

That Makefile should work now for older gcc.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/somnisoft/smtp-client/issues/7#issuecomment-620607071,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABWAJI7OO63637JRMWFB5VLRO3KSPANCNFSM4MSFGFWA
.


Does it support Triton server？

No, we do not support Triton currently. We'd gladly accept a PR adding it however!


Upgrade slick.js to use .width and not css("width")

this is to address https://github.com/6pac/SlickGrid/issues/308

This should have been opened under 6pac repo


onDemand check for updated manifest

What type of PR is this?
bug + feature
Which issue does this PR fix:
none that i know of
What does this PR do / Why do we need it:
make sure on-demand always sync the manifest, so when pulling images such as:
docker pull my-zot-repo-host:5000/docker.io.mirror.on-demand/alpine:latest
will actually get the latest manifest all the time and not the cached manifest
this is expected behavior from a client perspective
this will also allow to use "on-demand" in conjunction with poll-interval, making sure the poll interval syncs the blobs and when a client asks for an image, on-demand will make sure it got the latest manifest and downloaded unsynced blobs if needed
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@peusebiu
Hey, I've reformatted the git commit message and signed the commit.
And Thanks for approving
Amit


[SPARK-34712][SQL] Refactor UT about hive build in version, avoid to change every time when upgrade hive version

What changes were proposed in this pull request?
Use HiveUtils.buildinHiveVersion to replace correspoding Ut about hive version
Why are the changes needed?
Refactor UT about hive build in version, avoid to change every time when upgrade hive version
Does this PR introduce any user-facing change?
No
How was this patch tested?
Not need

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

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40546/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40546/

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


[BUG] Small bug with episode duration

@elgatito @antonsoroko
As the title says, there is a bug with the duration of the episodes. It actually keeps showing the same running time for each episode and it's wrong. No episode of Stranger things lasts 30 minutes.

TMDb helper and other plugins they show a good running time of the episodes.

@matke-84
i just check the code - elementum uses ether "default" show's runtime (if available) or 30m - for both show and for episode.
but we can use:
for episode: episode runtime - if available, if not - then default_runtime.
for show: number_of_episodes*default_runtime.
funny that nobody noticed that for 8 years! :-D
https://github.com/elgatito/elementum/commit/bfaf21c3fa9ebe98e51af87ec735d4c5c4f2d5df#diff-d216c3118d3c0b899b8815d434b5e63924ca8b0b6545ef434abcad7d1a994fb8R92
please test this build:
https://disk.yandex.ru/d/20qkkSdga6RHFA

@antonsoroko
Episodes now display good runtimes. Thank you.

for show: number_of_episodes*default_runtime

This is interesting. I don't use in my skin, I know it uses Kodi's default skin. The only thing is that the default time doesn't have many tv shows, so somewhere it is displayed somewhere not.

The only thing is that the default time doesn't have many tv shows

sure, stranger things do not have "default runtime". so i calculate it only if it is available. anyway, it is obvious that it is just a estimation of total show's runtime, not a precise number. maybe it is not very useful, but i added it already.

@matke-84 That is not a "bug", actually. There was no runtime field per episode on TMDB, and was only a common runtime for Show.
Then runtime was added and now time episodes have own runtime value and some rely on runtime provider per Show.


Clarify --vanity example

A small change to prevent others from running into the same issue as me in #29. If you don't feel it's necessary don't hesitate to disregard this.

thanks @dewey


Update to beta.3

r? @nikomatsakis
(rust_highfive has picked a reviewer for you, use r? to override)

@bors: r+


[FLINK-15200][table sql / legacy planner]legacy planner cannot deal type with precision like DataTypes.TIMESTAMP(3) in TableSourceUtil.

[FLINK-15200][table sql / legacy planner]legacy planner cannot deal type with precision like DataTypes.TIMESTAMP(3) in TableSourceUtil.

What is the purpose of the change

This pull request fix legacy planner cannot deal type with precision like DataTypes.TIMESTAMP(3) in TableSourceUtil, Using Datatype to validate rather than TypeInformation.

Brief change log

update file org/apache/flink/table/sources/TableSourceUtil.scala
update file org/apache/flink/table/catalog/CatalogTableITCase.scala

Verifying this change

add IT test in org/apache/flink/table/catalog/CatalogTableITCase.scala

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): ( no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

Close this PR as it will be fixed in FLINK-15168.


not work with alfred version Alfred 5.0.1

not work with alfred version Alfred 5.0.1

not account appear

Open Google Authenticator directory in finder.
Open alfred.py, replace code
preferences = plistlib.readPlist('info.plist')
withwith open('info.plist', 'rb') as fp :
  preferences = plistlib.loads(fp.read())

Save and retry.

Open Google Authenticator directory in finder.
Open alfred.py, replace code
preferences = plistlib.readPlist('info.plist')
withwith open('info.plist', 'rb') as fp :
  preferences = plistlib.loads(fp.read())

Save and retry.

It didn't work for me.
For anyone out there struggling with the same issue in macOS 12.x, try this version that uses Python3:
https://github.com/tbrek/alfred-workflow-gauth/blob/master/Google Authenticator.alfredworkflow?raw=true
Source: https://www.alfredforum.com/topic/4062-gauth-google-authenticator-time-based-two-factor-authentication/?do=findComment&comment=94149


updated explanation of the projects key in syntax for issue forms

Why:
Closes: #28972

What's being changed (if available, include any code snippets, screenshots, or gifs):
Kindly inform me if these modifications are the ones necessary for the attached issue. If they are not, I will proceed to make the appropriate adjustments.
Check off the following:

[x] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline.

For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.

[x] For content changes, I have completed the self-review checklist.

Hey there, @steveward, would you mind taking a peek at this PR?
It has been a week, and I'm eager to receive an update

Hey @vgrl, big thanks for merging the PR! and Grateful for giving me the chance to contribute to this repo.


@Component annotated beans composition doesn't work

Hello, I try to use composition of two functions annotated with @Component,
and I get null as argument.
Without composition works as expected.
@Bean annotated functions composition work as expected as well.
spring-cloud-stream-binder-kafka:4.0.3
and
spring-cloud-stream-binder-kafka-streams:4.0.3

@LiquidSelf, Could you put these components in a sample project and share with us? We can then triage the issue further to identify the issue.

@LiquidSelf, Could you put these components in a sample project and share with us? We can then triage the issue further to identify the issue.

as simple as that https://github.com/LiquidSelf/sample/blob/main/src/main/resources/application.yaml#L6

@LiquidSelf Thank you for the sample. I just added a fix where the Kafka Streams binder now supports Component beans for function composition. Could you test your app against the latest snapshot (4.1.2-SNAPSHOT)? Thanks!

@LiquidSelf, Were you able to verify the fix?

@LiquidSelf, Were you able to verify the fix?

hello, only fast verify on mock-demo project, fix works,
but first component function getting called two times,
and processing happens two times for first function in composition (only first) ,
e.g:

test-1#apply gets called two times,
As a result processing occurs 2 times as well


Forgotten Paramters after enlarging Serial No. and Lot No. to code 50

Hi,
I am not sure if am in the correct repo.
In Table 5773 - Activity Type, Function "SetTrackingFilter" you forgot to change the parameters of the function after you changed Serial No. and Lot No. to code 50.
Current:
[External] SetTrackingFilter(SerialNo : Code[20];LotNo : Code[20])

Correct:
[External] SetTrackingFilter(SerialNo : Code[50];LotNo : Code[50])

Best regards,
Bert

In the fix goes! Thanks for the bug report!


Mark un/observed word forms

Following further up on #455 and #484, mark unobserved word forms in grey, in contrast to full-black for observed word-forms (or something comparable).

Conceptually, this is actually connected with #111, in that both in that issue and here we are indicating the plausibility of an inflected word form. In #111, the probability =0, here the probability is close to =1, with the intervening forms having a probability somewhere between 0 and 1.

Fixed as of 8009e1a16e504ecb1ea275061e86d9069c7d11b8


Properly print compiler errors

Context: https://discord.com/channels/1094102475927203921/1094102475927203924/1310693847587881020

Put sourcecode.Location inside core.Meta
Maybe we don't really need to wrap errors to build a proper context. One of the problems we have is that we use scope.Location when build an error and it's not always correct. For example in http get example it contained location of an http package when error itself clearly was where portAddr was located.
Besides, core.Position (line and column) is clearly part of the location. We could build easely insert location into every meta object at parsing step and perhaps improve compiler errors a lot
It doesn't mean we don't need to wrap our errors though, it might be possible, that for a better context it would be useful, but since we don't do that properly, we at least need to build deepest child error correctly


PDO dummy mapping caused invalid memory access

Entry for dummy mapping cannot be found because there is no OD entry for that.

Fixed


Use SurrealDB

[ ] https://github.com/awesomebible/my.awesomeBible-nuxt/issues/115
[ ] https://github.com/awesomebible/docs/issues/95

Add /onboarding page, where the user can input name, username, profile pic which then create user record in SurrealDB.
The user is redirected there on first login (when the user data record doesn't yet exist in Surreal)
After that /profile can be used for updates.


Payee account parameter cannot be empty. Check perfectmoney config file for details.

Payee account parameter cannot be empty. Check perfectmoney config file for details.'
Config file is ok, but showing this text. How to solved it

You need to publish the config file and put the "PM_PAYEE_ACCOUNT" in the config file or your .env file. If you have done this step and still getting the error please let me know.

Yes I am already set my payee Account "UA64456" in "PM_PAYEE_ACCOUNT" but still showing this error.

I can't replicate the error with the 'pm_payee_account' field being set. Can you please copy the content of 'perfectmoney.php' file and '.env' file here? You can leave out sensitive information.


Wandering in the Hyperlink desert.

The sections begins with "In this section..."  Do you realize how painful it makes this documentation to follow? I should be able to follow it like a book by simply scrolling down through the pages. Someone went nuts with hyperlinks because they didn't know how to write a document.   Following a hyperlink to a page that is simply a list of hyperlinks is pointless and from a professional viewpoint quite disrespectful of my time as a reader.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 8c516129-2576-8860-173c-2157273e24a5
Version Independent ID: 5d4dafdf-0f66-6f77-55b5-05387a7cb8b5
Content: Concepts for all driver developers
Content Source: windows-driver-docs-pr/gettingstarted/concepts-and-knowledge-for-all-driver-developers.md
Service: unspecified
Product: windows-hardware
GitHub Login: @nabazan-microsoft
Microsoft Alias: windowsdriverdev

Thanks, @mfstanton. Sorry that this page is causing you aggravation.
@PageWriter-MSFT  and I will work on redesigning how this content fits with the larger story of getting started. If you have specific suggestions, we'd love to hear them. Thanks! Eliot

Thank you Sir. I will keep in touch. As someone who has written user documentation from an Engineer’s viewpoint when I was at Unisys, I understand the problem with getting the right amount of content and detail into the opening and subsequent sections. The biggest problem I have is the excessive use of hyperlinked text that doesn’t get me to more than a paragraph or two of information or simply an ordered list of more hyperlinks. That can be really annoying after the third or fourth iteration without actually getting to the meat of a technical document.
From: Eliot Graff<EMAIL_ADDRESS>Sent: Friday, May 18, 2018 6:38 PM
To: MicrosoftDocs/windows-driver-docs
Cc: mfstanton; Mention
Subject: Re: [MicrosoftDocs/windows-driver-docs] Wandering in the Hyperlink desert. (#510)
Thanks, @mfstanton https://github.com/mfstanton . Sorry that this page is causing you aggravation.
@PageWriter-MSFT https://github.com/PageWriter-MSFT  and I will work on redesigning how this content fits with the larger story of getting started. If you have specific suggestions, we'd love to hear them. Thanks! Eliot
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/MicrosoftDocs/windows-driver-docs/issues/510#issuecomment-390358507 , or mute the thread https://github.com/notifications/unsubscribe-auth/AV_ifRSlEktU1OGVbCnImeo91Pk96BwTks5tz1tGgaJpZM4UFd6D .  https://github.com/notifications/beacon/AV_ifYJu7s_jEhme8ncE1EvZmiZ1KQPTks5tz1tGgaJpZM4UFd6D.gif

Logged in to comment - I'm a newcomer into windows programming world (need to learn about driver programming), and I completely disagree with you @mfstanton.
When I read a guide, I expect the information the be condensed as much as possible, because that way I can absorb more of it without feeling overwhelmed. Of course, if I want to have more info, that's where hyperlinks come in. If it would be your way, when I open a page, I would be greeted by a 5 minute long scrolling sheet of content explaining everything in crucial detail. Nobody wants that. That would only hurt the learning process.
I strongly believe that the way things are documented right now is the right way to go. I've been reading here for over an hour, knowledge is being spoon fed to me.
ggwp authors ;)

The page is now a TOC entry only. It unfolds to show the topics in the node, but does not have content in it (e.g., nothing but links content), unless you go there via direct link or bookmark.
Should be live this afternoon.


Remove unused imports

cardano-prelude compiles with GHC-8.8 and GHC-8.10 just fine atm.

We need to remove some new warnings from -Weverything
Unused/redundant imports warning is stricter,
and spotted some redundant imports

ping

bors merge

I have no access to buildkite. What's the reason of failure?

I have no access to buildkite. What's the reason of failure?

cardano-prelude_build_558_stack-rebuild.log
I don't mind removing the stack-rebuild CI job. I recently removed it from ouroboros-network.

So issue is not in the code, but in some nix setup?
trace: Using IOHK default nixpkgs
trace: WARNING: `cleanGit` called on /build/cardano-prelude without a `name`. Consider adding `name = "cardano-prelude";`
trace: WARNING: A `ghc` argument was passed for source this has been deprecated in favour of `compiler-nix-name`. Using `ghc` will break cross compilation setups, as haskell.nix can notpick the correct `ghc` package from the respective buildPackages. For example use `compiler-nix-name = "ghc865";` for ghc 8.6.5
unpacking 'https://github.com/input-output-hk/hackage.nix/archive/a922710425e5181c930db021412132a789de6c2e.tar.gz'...
tar (child): gzip: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
error: while evaluating the attribute 'ghc' of the derivation 'stack-env' at /build/cardano-prelude/nix/stack-shell.nix:5:3:
while evaluating anonymous function at /build/cardano-prelude/shell.nix:3:1, called from /build/cardano-prelude/nix/stack-shell.nix:7:10:
while evaluating anonymous function at /build/cardano-prelude/nix/haskell.nix:4:1, called from /build/cardano-prelude/nix/pkgs.nix:3:35:
while evaluating 'cabalProject' at /nix/store/387map7af4ajhywb1abw658mfqcai8px-source/overlays/haskell.nix:472:24, called from /build/cardano-prelude/nix/haskell.nix:18:12:
while evaluating the attribute 'hsPkgs' at /nix/store/387map7af4ajhywb1abw658mfqcai8px-source/overlays/haskell.nix:470:42:
while evaluating the attribute 'config' at /nix/store/vi2klbspnnpvkyp6qygj14ff01npqbqi-source/lib/modules.nix:87:25:
while evaluating 'yieldConfig' at /nix/store/vi2klbspnnpvkyp6qygj14ff01npqbqi-source/lib/modules.nix:74:29, called from /nix/store/vi2klbspnnpvkyp6qygj14ff01npqbqi-source/lib/modules.nix:73:16:
while evaluating 'mergeModules' at /nix/store/vi2klbspnnpvkyp6qygj14ff01npqbqi-source/lib/modules.nix:190:26, called from /nix/store/vi2klbspnnpvkyp6qygj14ff01npqbqi-source/lib/modules.nix:64:17:
while evaluating 'mergeModules'' at /nix/store/vi2klbspnnpvkyp6qygj14ff01npqbqi-source/lib/modules.nix:194:36, called from /nix/store/vi2klbspnnpvkyp6qygj14ff01npqbqi-source/lib/modules.nix:191:5:
while evaluating 'flip' at /nix/store/vi2klbspnnpvkyp6qygj14ff01npqbqi-source/lib/trivial.nix:101:16, called from /nix/store/vi2klbspnnpvkyp6qygj14ff01npqbqi-source/lib/modules.nix:237:6:
while evaluating 'byName' at /nix/store/vi2klbspnnpvkyp6qygj14ff01npqbqi-source/lib/modules.nix:217:25, called from /nix/store/vi2klbspnnpvkyp6qygj14ff01npqbqi-source/lib/modules.nix:225:21:
while evaluating 'reverseList' at /nix/store/vi2klbspnnpvkyp6qygj14ff01npqbqi-source/lib/lists.nix:393:17, called from /nix/store/vi2klbspnnpvkyp6qygj14ff01npqbqi-source/lib/modules.nix:64:38:
while evaluating 'filterModules' at /nix/store/vi2klbspnnpvkyp6qygj14ff01npqbqi-source/lib/modules.nix:93:31, called from /nix/store/vi2klbspnnpvkyp6qygj14ff01npqbqi-source/lib/modules.nix:64:51:
while evaluating 'closeModules' at /nix/store/vi2klbspnnpvkyp6qygj14ff01npqbqi-source/lib/modules.nix:101:27, called from /nix/store/vi2klbspnnpvkyp6qygj14ff01npqbqi-source/lib/modules.nix:62:16:
while evaluating 'imap1' at /nix/store/vi2klbspnnpvkyp6qygj14ff01npqbqi-source/lib/lists.nix:116:14, called from /nix/store/vi2klbspnnpvkyp6qygj14ff01npqbqi-source/lib/modules.nix:112:20:
while evaluating anonymous function at /nix/store/387map7af4ajhywb1abw658mfqcai8px-source/lib/call-cabal-project-to-nix.nix:9:1, called from /nix/store/387map7af4ajhywb1abw658mfqcai8px-source/overlays/haskell.nix:459:48:
while evaluating anonymous function at /nix/store/vi2klbspnnpvkyp6qygj14ff01npqbqi-source/lib/attrsets.nix:395:24, called from /nix/store/vi2klbspnnpvkyp6qygj14ff01npqbqi-source/lib/attrsets.nix:344:15:
while evaluating anonymous function at /nix/store/vi2klbspnnpvkyp6qygj14ff01npqbqi-source/lib/attrsets.nix:395:24, called from /nix/store/vi2klbspnnpvkyp6qygj14ff01npqbqi-source/lib/attrsets.nix:344:15:
while evaluating anonymous function at /nix/store/vi2klbspnnpvkyp6qygj14ff01npqbqi-source/lib/attrsets.nix:395:24, called from /nix/store/vi2klbspnnpvkyp6qygj14ff01npqbqi-source/lib/attrsets.nix:344:15:
while evaluating anonymous function at /nix/store/vi2klbspnnpvkyp6qygj14ff01npqbqi-source/lib/attrsets.nix:395:24, called from /nix/store/vi2klbspnnpvkyp6qygj14ff01npqbqi-source/lib/attrsets.nix:344:15:
while evaluating the attribute 'hackage' at /nix/store/387map7af4ajhywb1abw658mfqcai8px-source/overlays/haskell.nix:23:11:
while evaluating anonymous function at /nix/store/387map7af4ajhywb1abw658mfqcai8px-source/lib/fetch-external.nix:7:3, called from /nix/store/387map7af4ajhywb1abw658mfqcai8px-source/overlays/haskell.nix:23:21:
while evaluating anonymous function at /nix/store/387map7af4ajhywb1abw658mfqcai8px-source/lib/override-with.nix:3:11, called from /nix/store/387map7af4ajhywb1abw658mfqcai8px-source/lib/fetch-external.nix:11:5:
program 'tar' failed with exit code 2: Command exited with code 1!

this error was fix yesterday: https://github.com/input-output-hk/cardano-prelude/commit/66cc54bb40699952f8ac805e4713db2399f749aa
bors retry


Ping and Curl not working in Alpine and Ubuntu when using Podman

Image and version of the image where the issue happens
I tried it on ubuntu:22-04 and alpine:edge
Describe the bug
Using the image with distrobox:
distrobox create --image quay.io/toolbx-images/ubuntu-toolbox:22.04

then trying to use curl or ping inside and there is no connection.
I tested with other alpine and ubuntu images from other sources and it is only the ones from toolbx that has this issue.
Reproduction steps

distrobox create --image quay.io/toolbx-images/ubuntu-toolbox:22.04 -n ubuntu
distrobox enter ubuntu
ping google.com

Host distribution and version, toolbx and podman versions
Ubuntu 22.04
distrobox: 1.5.0
podman version 3.4.4

This actually seems to be a distrobox issue


[WIP] drivers: modem: gsm: mux: Support GSM 07.10 muxing protocol

Add support to GSM 07.10 muxing protocol which is used to
share the same UART for PPP and AT commands. This allows e.g.
the modem to send SMS and have PPP connection at the same
time.
This is pretty much work in progress, it compiles but will not work as full support is not yet there.

@jukkar was this going to be reintroduced at a later time?

@mike-scott Yes, I am working on it right now. I will re-submit when it is in somewhat usable state. It will most probably miss the 2.2 deadline.

Happy to know there will be an implementation of the GSM 07.10 protocol. I have been looking for an implementation for a long time!
I did some research about eating implementations and made a feature request at Espressif for the ESP-IDF.
Details about the search result and all implementations I could find here : https://github.com/espressif/esp-idf/issues/4688

Hi @GeorgeGkinis I am hopefully be able to send the mux code to review soon. My implementation is not using virtual UARTs as Zephyr does not have that kind of concept and I did not want to start to implement this kind of big feature just for muxing. Virtual UART support could be done at some point if needed. So for SMSs and location data, some kind of APIs are needed to pass the data to/from applications.
Anyway, my code is able to create the DLCIs and negotiate the channels to modem, I am using SIM808 for testing. Problem is that when I try to send AT commands to the correct DLCI (after establishing the channels), the modem just refuses to respond. Difficult to know what is going on as there are not really any examples in Internet for normal packet flow when using muxing. If I am not able to resolve this soon, I will still send the PR for a review as a draft.

@jukkar maybe this could help.
Also many modems like in the example also have GPS. Please bear that in mind, as to allow the parsing of the incoming NMEA.
I found this packet flow example which uses a SIMCOM module.
http://lists.openvehicles.com/pipermail/ovmsdev/2017-October/003359.html
Thank your efforts!

It seems that I cannot re-open this PR, so created a new one at #23422. Lets move the discussion there.


Fix latex drawing conditions for 2 and 3 qubit gates

Summary
This commit fixes an issue with drawing conditions on 2 and 3 qubit
gates. When the deprecated support for accessing individual bits as a
tuple was removed from terra in favor of using the bit classes the latex
drawer wasn't update for dealing with classical conditions. The bit
access to find the first bit in a classical register used for a
condition was not changed and was incorrectly using a tuple to try and
find the position. This commit corrects the issue by updating the access
to get the bit object from the register instead of using a tuple.
Details and comments

I texted with:
qasm_string = """
OPENQASM 2.0;
include "qelib1.inc";
qreg q[1];
creg c0[2];
creg c1[2];
if(c0==2) x q[0];
if(c1==2) x q[0];
"""
circuit = QuantumCircuit.from_qasm_str(qasm_string)
circuit.draw('mpl')

But also master is not failing. Any example code? (maybe a test? at some point in the future, we will run them :) )

Try latex as your output type, this is a fix for the latex drawer not matplotlib. :) But also it's only for 2 qubit gates and 3 qubit gates. For a specific example you can see this on:
import qiskit as qk
qr = qk.QuantumRegister(3)
cr = qk.ClassicalRegister(3)
circ = qk.QuantumCircuit(qr, cr)
circ.cx(qr[0],qr[1]).c_if(cr, 3)
circ.ccx(qr[2], qr[1], qr[0]).c_if(cr, 2)
circ.draw(output='latex')

Also you can see the bug just by looking at the code, the bit access is still using a tuple...

Ups! Sorry... You are right.


Assets minification

Find a way with assets minifications.
My common way is to use yui-compressor through django-assets, but it would probably not be a good solution on Raspberry (since it requires installing java and yui).
Commonly i never commit minified assets, but for this project it seems to be a nice way to ship them in repository so there are ready to use and nothing more is required on raspberry.
The trick on this is that we would have to manage the switch between development and minified assets in templates.

Done with 0.9.0 (commit 6103f9b)


why my screenfull.off looks not work?

it is not console.log when i leave this page
vue version:2.6.0
screen full : 5.0.0

It's because you are using anonymous functions. When an anonymous function passed or executed it has a unique ID associated with it. Irrespective of how many times you use the same anonymous function it will have different ID. A named function tends to preserve its ID with means it can be fetched my the screenfull.off function and then background process can act on it.
HINT: screenfull.off inherits all from element.removeEventListener which means it works the same!


URIError: URI malformed

OS: MacOS 12.4
markdown-link-check: 3.10.0
node: v16.15.1
I'm getting the following error with no indication where the issue is:
$ markdown-link-check -v -p ./docs/foo.md

FILE: ./docs/foo.md
Checking... [======================   ] 87%/opt/local/lib/node_modules/markdown-link-check/node_modules/link-check/lib/proto/http.js:37
        const url = encodeURI(decodeURIComponent(new URL(link, opts.baseUrl).toString()));
                              ^

URIError: URI malformed
    at decodeURIComponent (<anonymous>)
    at Object.check (/opt/local/lib/node_modules/markdown-link-check/node_modules/link-check/lib/proto/http.js:37:31)
    at linkCheck (/opt/local/lib/node_modules/markdown-link-check/node_modules/link-check/index.js:29:25)
    at /opt/local/lib/node_modules/markdown-link-check/index.js:118:9
    at /opt/local/lib/node_modules/markdown-link-check/node_modules/async/dist/async.js:246:13
    at replenish (/opt/local/lib/node_modules/markdown-link-check/node_modules/async/dist/async.js:446:21)
    at iterateeCallback (/opt/local/lib/node_modules/markdown-link-check/node_modules/async/dist/async.js:430:21)
    at /opt/local/lib/node_modules/markdown-link-check/node_modules/async/dist/async.js:327:20
    at /opt/local/lib/node_modules/markdown-link-check/node_modules/async/dist/async.js:248:17
    at /opt/local/lib/node_modules/markdown-link-check/index.js:129:13

As a user, I would like to know what line in the source it was failing on.

Same error here.

I modified .../node_modules/markdown-link-check/node_modules/link-check/lib/proto/http.js to print out URLs just before it hit the error at this is what it showed
❯ markdown-link-check -p -v README.md

FILE: README.md
https://lukeprior.github.io/nbn-upgrade-map/
https://data.gov.au/dataset/ds-dga-19432f89-dc3a-4ef3-b943-5326ef1dbecc/details
Checking... [==                       ] 7%https://github.com/minus34/gnaf-loader
Checking... [====                     ] 15%https://minus34.com/opendata/georabble-intro-to-gnaf.pdf
Checking... [======                   ] 23%https://www.nbnco.com.au/residential/upgrades/more-fibre
Checking... [========                 ] 30%https://geojson.org/
Checking... [==========               ] 38%https://geojson.io/
Checking... [============             ] 46%https://img.shields.io/badge/dynamic/json?label=Suburb%20Progress%20vs%20Listed&query=%24.suburbs.listed.TOTAL.percent&url=https%3A%2F%2Fraw.githubusercontent.com%2FLukePrior%2Fnbn-upgrade-map%2Fmain%2Fresults%2Fprogress.json&suffix=%
/Users/simonroberts/.asdf/installs/nodejs/14.20.0/lib/node_modules/markdown-link-check/node_modules/link-check/lib/proto/http.js:41
        const url = encodeURI(decodeURIComponent(new URL(link, opts.baseUrl).toString()));

In this case, the error is caused by a bare '%' sign which should be %25 for a percent sign.

FWIW what I changed was (crudely) adding the console.log() line immediately before the line that got the error:
        console.log(link)
        const url = encodeURI(decodeURIComponent(new URL(link, opts.baseUrl).toString()));


fix: fixed local auth handling for streamed flows

Can you fix defineFlow -> ai.defineFlow please.


Adding path aliases for skillmap

Fixes https://github.com/microsoft/pxt-arcade/issues/3281
Marking draft because I need to merge some changes into targetconfig.json to actually test this.

lgtm!

tested this locally on my machine, was able to load #beginner so i'm merging it in!


[SPARK-13944][ML][WIP] Separate out local linear algebra as a standalone module without Spark dependency

What changes were proposed in this pull request?
Separate out linear algebra as a standalone module without Spark dependency to simplify production deployment. We can call the new module spark-mllib-local, which might contain local models in the future.
The major issue is to remove dependencies on user-defined types.
The package name will be changed from mllib to ml. For example, Vector will be changed from org.apache.spark.mllib.linalg.Vector to org.apache.spark.ml.linalg.Vector. The return vector type in the new ML pipeline will be the one in ML package; however, the existing mllib code will not be touched. As a result, this will potentially break the API. Also, when the vector is loaded from mllib vector by Spark SQL, the vector will automatically converted into the one in ml package.
How was this patch tested?
WIP

Test build #54968 has started for PR 12172 at commit cb95b0c.

Test build #54968 has finished for PR 12172 at commit cb95b0c.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

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

Merged build finished. Test FAILed.


Add documentation for implementing new compiler passes.

As title. Also fixes up a few British English spellings.

Can be merged once CI passes

For azure only the coverage run timed out. Probably safe to merge.


Multi-depth inheritance fails to generate

I have the following schemas in an OpenAPI doc:
components:
  schemas:
    ActionTypeEnum:
      type: string
      enum:
        - http
        - grpc
        - soap
    ActionCommon:
      description: >
        ActionCommon defines all the common fields for an Action, regardless of if it's for a create/update operation.
      type: object
      properties:
        type:
          $ref: '#/components/schemas/ActionTypeEnum'
        name:
          type: string
          regex: '^[a-zA-Z0-9_\-$]+$'
      required:
        - type
        - name
    ActionBase:
      description: >
        ActionBase defines all the common fields for an Action which is returned from the API.
      type: object
      allOf:
        - properties:
            id:
              type: string
            errors:
              type: array
              items:
                type: string
          required:
            - id
        - $ref: '#/components/schemas/ActionCommon'
    ActionHTTP:
      description: ActionHTTP defines an HTTP Action.
      type: object
      allOf:
        - $ref: '#/components/schemas/ActionBase'
        - properties:
            type:
              type: string
              const: http
            method:
              type: string
            path:
              type: string
          required:
            - type
            - method
            - path

Running fern generate I get the following error:
[api]: __package__.yml -> types -> ActionHttp
       Object has multiple properties named "type":
         - ActionHttp -> type
         - ActionHttp -> (extends) ActionCommon -> type

If I move the type property from ActionCommon into ActionBase then everything works. My interpretation is that the conversion into Fern's IR does not allow inherited properties from anywhere other than it's direct parent.

@dan-j thanks for the detailed example -- will moving type unblock you temporarily? I think we wont have time to look into it this week, but can look the week after

This is now fixed on the latest OpenAPI importer


[WFLY-7024] show-resources operation of jaxrs subsystem must provide more information about end-point

Jira: https://issues.jboss.org/browse/WFLY-7024
Design notes about the RFE: https://developer.jboss.org/docs/DOC-55718
Main changes:

Moved codes about :show-resource() operation to a separate class: ShowJaxrsResourcesHandler
Show more information about each REST endpoint, including sub-resources if include-sub-resources=true in the parameter is true.
filter-path and filter-method can be also used to filter out REST resource endpoints

NOTE: NO ModelVersion bump up, because this RFE is run-time only operation, it does not change the resource model.

@asoldano would you please take a look at this? Thank you.

@gaol looks fine, thanks

@gaol: this MR looks fine to me too

@gaol sorry I did not actually review this one until today. I think you need to bump the model version in JaxrsExtension. Just letting @bstansberry confirm

@kabir I did not increase the model version in JaxrsExtension because I think this is run-time only operation, and I think it does not affect model.
I am probably wrong :-), in case it needs model version increase, does it need transformer then?

@gaol Not transformers are needed for runtime attributes/resources. Let's see what Brian says. The idea is that ops run against version 1.0.0 of the subsystem should still work when the subsystem version is the same. In this case, I think they can still understand the output (i.e. jaxrs-resource seems to contain the same information as before, with some additions). My uncertainty is if the extra information warrants a version bump.
I think it does since consuming clients could be doing something like (pseudocode):
for (key of jaxrs-resource) {
    if (key.equals(CLASSNAME)) {...}
   else if (key.equals(PATH)) {...}
   else if (key.equals(METHODS)) {...}
   else {
     throw IllegalStateException("Unknown key");
  }
}

so what worked before for the client will now blow up.

@kabir I get the idea. :-) I agree that it needs a version bump up because the output format is different than what previous version does.
jaxrs-resource does contain the same information as before, but the format is changed. It is not flat list anymore, it is grouped by the resource-class.

Is this an incompatible API change that will be going into an EAP minor? Will clients written to expect the old output format break when they invoke the operation?

@bstansberry 3 optional parameters are added to the operation: show-resources() in this PR, so in CLI operation invocation point of view, it is compatible.
The output format, on the other hand, is incompatible to the previous output. So the clients written to expect the old output format will break.

@gaol It sounds like this should be a new operation then, with the old one deprecated. Breaking clients in a minor isn't good.

Sorry for the late response, this week is public holiday in China.
OK, the incompatible data format is mentioned in the design notes doc as a non-requirement, apparently it is wrong.
I would suggest to integrate the information into the 'read-resource' operation if possible then, and deprecate the old operation.
If all of you agree with the proposal, I will change the Jira status back to "analysis dev", and update the doc accordinglly.

I we are changing this, why do we have custom operation handler at all?
Shouldn't we just have sub resources which each represent jax-rs resource with attributes we want to expose?

Probably for legacy reasons

PR is updated to deprecate the :show-resources() operation and integrate the rest information into :read-resource() operation.
The :read-resource() operation does not accept extra parameters, but the query() operation can be used to search some specific REST endpoints' information


[WFLY-14899 - Document env var expression resolution

https://issues.redhat.com/browse/WFLY-14899
Implementation: https://github.com/wildfly/wildfly-core/pull/4633 / https://issues.redhat.com/browse/WFCORE-5464

I'm not sure if we can address this in your PR but this documentation would better belong to a "user" guide than an admin guide.
The intent of that feature is for the user that deploys their application and wants to tweak it. I'm not sure how easy it will be for users to find this out with our current doc structure.


Feat: Add to homebrew

It would be nice for folks to be about to install gollama with a simple brew install gollama
Describe the solution you'd like

add to homebrew (or via a tap)

https://docs.brew.sh/Adding-Software-to-Homebrew

@sammcj PR opened: https://github.com/Homebrew/homebrew-core/pull/178405

Oh legend! Thank you!

@DanzigerGeist looks like they're waiting on some changes on your PR

It is done. Here https://github.com/Homebrew/homebrew-core/pull/189888

Oh I missed this! Thank you! 🎉


Dialog gets closed after screen orientation changes

FolderChooserDialog and ColorChooserDialog always retain to show the dialog, even we change the screen oriantation on a device. But, if we use normal material dialogs, the dialog gets closed whenever we change the screen orientation. Seems that we need to save its state.

That's not a bug. You have to put your dialogs in a DialogFragment.

Ah, I just found a workaround. I downloaded your library and modify MaterialDialog class by using Saving State technique. With this, we don't need to put the dialog on DialogFragment anymore.
Here's my code to save and retrieve the state. You can copy it to your library.
@Override
public Bundle onSaveInstanceState() {
    Bundle superState = super.onSaveInstanceState();
    SavedState myState = new SavedState(superState);
    Bundle mBundle = new Bundle();
    mBundle.putSerializable("md_builder", getBuilder());
    myState.bundle = mBundle;
    dismiss();
    return mBundle;
}

@Override
public void onRestoreInstanceState(Bundle savedInstanceState) {
    super.onRestoreInstanceState(savedInstanceState);
    Bundle bundle = savedInstanceState.getBundle("md_builder");
    mBuilder = (Builder) bundle.getSerializable("md_builder");
    getBuilder().show();
}

private static class SavedState extends View.BaseSavedState {

    Bundle bundle;

    public SavedState(Parcelable superState) {
        super(superState);
    }

    private SavedState(Parcel in) {
        super(in);
        bundle = in.readBundle();
    }

    @Override
    public void writeToParcel(Parcel out, int flags) {
        super.writeToParcel(out, flags);
        out.writeBundle(bundle);
    }

    public static final Parcelable.Creator<SavedState> CREATOR = new Parcelable.Creator<SavedState>() {
        public SavedState createFromParcel(Parcel in) {
            return new SavedState(in);
        }

        public SavedState[] newArray(int size) {
            return new SavedState[size];
        }
    };
}

And don't forget to make Builder class implements Serializable.

+1

Is it possible to release the next version of the library with this correction?

No, that messes with the default behavior of a dialog. If you want dialogs that maintain themselves during orientation change, you wrap your dialog with a DialogFragment.

@afollestad Is there a reason why the material-dialogs aren't already wrapped with DialogFragment?

Hi @afollestad, can you make Material Dialogs uses DialogFragment by default? So that it can rotate without being closed.
Thanks.

No, that would be too large of a change to do for the entire library. Everything would have to be redone.

@afollestad
Hello. Can I pass SingleButtonCallback from the main fragment to a DialogFragment (that contains MaterialDialog)?


Contest Finder Extension added

Description
i have added contest finder api that will give user to fututre contest .
user can register for that also.
Fixes:  #712

Type of change

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] I have made this from my own
[x] I have taken help from some online resourses
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK
Uploading ContestFinder.mp4…

hey @Sulagna-Dutta-Roy , folder is renamed as per your suggestion.

@Vipullakum007

same with this


Inbuilt configs in distribution

Move inbuilt_cfgs to minerva/inbuilt_cfgs
To resolve issues with minerva distributions needing the inbuilt config files, this PR moves inbuilt_cfgs to within minerva to ensure they are in any future minerva distributions and thereby fix potential issues with loading configs at import time.

It's a definite improvement for our cleaned up setup, please merge it


Fix the slow database using drag and drop

the label changelistener to which you drag is fired four times, so updates database four times while it shouldn't update database as that is already handles in ondragdropped, same for the label listener from which you drag one time.

ComboBox index resets to -1 every time, same for value resetting to null. So when you drag something, all the ComboBox's get reminded of their actual selected index and value, and therefore trigger the valueChangedListener. Causing every Cell to update its day.


Datepicker is misaligned with other components

Six Webcomponents version
4.2.2
Steps to reproduce
<div style="display: flex; gap: 0.5rem">
  <six-datepicker label="Datepicker" style="width: 50%"></six-datepicker>
  <six-input label="Input" style="width: 50%"></six-input>
</div>

What is expected?

What is actually happening?
Datepicker label takes extra 4px margin-top, could be fixed with an ugly CSS patch
six-datepicker::part(base) {
  margin-top: -4px;
}

System Info
No response
Any additional comments?
No response

Should be fixed with v4.3.0