Add search icon to text input

Added search icon to TextInput with withSearchIcon
NB: Had to add a div outside of the input element itself in order to do this. Will this change affect anything in the various applications (Can affect text inputs with styling by child attributes)

Updated now. Did you mean like this? @fredrikloberg

Updated now. Did you mean like this? @fredrikloberg

Yeah, shouldn't be breaking now 🚀


Unable to edit ontlogies

Hi Carlo,
I am working with ontobrowser and I have uploaded ontologies and codelists. But I am unable to edit them directly from the ontobrowser. I am not getting the options to edit the content or to add synonyms and add relationship. Kindly help me with this. I have atached the Screenshot of my ontobrowser.
Thank you,
Nikhita
Erasmus MC.

Please ensure that you have created a curator: https://github.com/Novartis/ontobrowser/blob/master/doc/INSTALL.md#add-a-curator

Hi Carlo,
I already created that curator, but still it is in visualization form not in editing form.
Thanks,
Nikhita

In that case, it sounds like the curator username is not being passed from Apache to Wildfly.  I suspect something has changed (since I wrote the install docs) in the newer versions of Wildfly (and/or Apache AJP). Others had the same issue.
When accessing the OntoBrowser GUI, can you please check the Wildfly server.log file for an info message: Loading curator: username. If username is null then OntoBrowser is not receiving the username from Apache.
Another user added the following code to OntoBrowserServiceImpl.java. I’m not sure why they had to do this, when using mod_proxy_ajp the username should be available via the getRemoteUser() method. Not sure if they setup the proxy calls via http (instead of AJP)?
private String getUsername() {
       HttpServletRequest request = getThreadLocalRequest();
       String username = request.getRemoteUser();
       // Temp workaround to the apache --> wildfly bridge
       if(username == null) {
              username = request.getHeader("REMOTE_USER");
       }

       if(username == null) {
              Principal principal = request.getUserPrincipal();
              if(principal != null) {
                     username = principal.getName();
              }
       }

       return username;
}

Hi Carlo,
Thanku very much for your help.
Thanks,
Nikhita


Added Rubocop-coverage-coveralls.

Added Rubocop.
Added Coveralls.
Fixed some offenses.
Can you register formtastic at https://coveralls.io? I Already added the badge.
Regards!

Good effort! I'd be definitely in for having a rubocop setting we agree on.
However, I think we should use codeclimate for it, as it provides other checks too (like TODO,FIXME, ...) , can measure method complexity and find duplications and measure coverage. The project is already set up, but needs to be migrated to the new codeclimate platform. I'd need @justinfrench to do that/give me access. And of course, agree if it is the path he'd like to take.

So, am I right that:

There's a general consensus that Rubocop is a good idea regardless
This PR adds Rubocop
This PR fixes a bunch of issues caught by it (and a list of known issues that haven't not been fixed)
Some of the fixes could be debated before this PR is merged

If we can focus this PR on the above, I think that would be great.
Then there seems to be a choice about if this should be:
a) run in development and as part of the build on Travis
b) run on on CodeClimate
c) run on Coveralls
I'm no expert here, so if I'm being asked to decide, help me out be describing the advantages of each (and perhaps consider addressing it in a smaller follow-up PR). I'm more familiar with CodeClimate, so that's my default preference, although I'd love to hear from @ryanfox1985 on the merits of Coveralls over CodeClimate.
Finally, I'm kinda worried that .rubocop_todo.yml is huge and I don't have a sense of where this is going. Would we leave current issues/offences as-is? Should we have a goal of reducing it? Should we have a goal of no issues? Would we need any contributor guidelines to help with this?

Sorry but I not agree.
Code climate is a service focused in Ruby Guide Lines and best practices and Coveralls is a service for calculate the application coverage. There are different services with different objectives.
And I think it's necessary check the Rubocop before the push code to repository and not after, the same with the test. If you do after you are allowing bad smells to your repo.
I will investigate why is not passing the test.
Regards!

@ryanfox1985
CodeClimate also measures coverage. It probably has less features than Coveralls (like failing the build if coverage drops). However, is quite nice to see both coverage and code quality at the same place.
You can totally run rubocop with codeclimate. The only difference is that codeclimate runs it on their infrastructure, instead of being a part of the main build. You still have your .rubocop.yml and all keeps working.
There are things that codeclimate has as an extra (method complexity, duplication, todos), but they can be run via CLI (depends on docker). See http://blog.codeclimate.com/blog/2015/06/19/code-climate-platform/
I agree that there is a consensus that having a rubocop config is a good idea. Having rubocop as part of the build is better than to not have it at all.
I don't agree with failing travis build because of style violations. Not only because in my opinion those two don't mix (as they build status can be enforced or not). But also because it is quite hard to extract what is wrong from the travis output.
If we would be talking about enforcing style guide, something like hound might be worth looking for, just because it comments on the PR (both blessing and a curse).
Having CodeClimate to do method complexity analysis, find duplicated code, etc. is a good thing in my opinion. And batching it with rubocop makes sense to me, because they are similar thing and belong together to a different status check than the main build.
just my 2ç
But still, having this is better having this :)

IRT Hound, you don't want that until you have a consistent style. In files with existing violations it will, well, hound PR authors even though those violations weren't added by them.

Hund is using Rubocop https://houndci.com/configuration#ruby

@ryanfox1985 this PR is not mergeable now. Looks like the autocorrect conflicts with basically anything merged. Maybe would be better to leave it out and do it as a separate PR ?  With it is is kind of impossible to review.

I removed the two last commits.

Can @justinfrench add the repository in coveralls.io?

Hi folks,
I'm finding it difficult to follow this thread and nerd-out on so many details to make a good decision. I'm going to defer to @mikz on any final decisions, and he can let me know if/when new systems need to be set-up/connected.
However, here's a few preferences of mine from me that might help guide debates:

Unless someone is volunteering to actively improve the violations found by rubocop, I don't actually see the point. In other words, if we end up not merging this, that's okay with me. Same goes for Code Climate, Coveralls, etc. It's just noise and a barrier to contribution unless someone is motivated to improve things. At the moment, that's not me.

At the moment, the only code tests we have are specs. We invoke them with rake spec on CI. If we add any new kinds of code tests (for coverage, or code style, or whatever), I don't want them bolted onto rake spec. We should add a new task rake ci which subsequently calls rake spec and other new rake tasks for new codes of tests. This way I can choose to…

run just the specs, or just the coverage, or just the code style stuff
run everything, just like it will be run on CI

I'll leave this one with @mikz to decide how to best proceed.


fscommand ignored unless frame entered "naturally"

In my flash I have a ActionScript 1 call to the following in a frame:
fscommand("event", "haha");

And in C# I add the following event handler:
lwf.AddEventHandler("haha", (LWF.Movie m, LWF.Button b) => {
    Debug.Log("working");
});

If the fscommand is in frame 2 of my flash's timeline the event handler gets called. However if it is in frame 1 (and the timeline doesn't have any more frames) it is never called. If it is in frame 1 and my timeline has 2 frames the event handler is called after three frames have been played by LWF - when it loops the timeline and enters the first frame "naturally".
The same behaviour is true if the fscommand is in the first frame of a MovieClip with only 1 frame in it, the DoAction (the GetUrl ActionScript 1, which is what a fscommand is) never gets called.
This can't be correct behaviour, right? fscommands should be executed even if it is on the first frame that is being displayed in the flash after it has finished loading?
Another thing: If I have the fscommand in frame 2 and have the following in frame 1...
gotoAndStop(2);

...the correct behaviour should be to immediately move to frame 2 and execute the ActionScript in that frame (as is how a flash player does it). LWF does move to frame 2 and does execute ActionScript there, but not fscommands? The ActionScript in frame 2 seems to only get executed if LWF moves into the frame "naturally" by letting it advance the timeline using the flash's FPS.
Any chance of this being corrected?
Or should fscommands really be skipped from being executed unless the frame is entered "naturally"?

My mistake, the issue wasn't with LWF after all. The problem was simply that the first frame was being shown before the handler of the fscommand was added.


revert chain ID 422 -> 420

Description
Questions

Metadata
Fixes

Fixes # [Link to Issue]

Contributing Agreement

[x] I have read and understood the Optimism Contributing Guide and Code of Conduct and am following those guidelines in this pull request.

ChainID 422 is mainnet, chainID 420 is testing / testnet. We reverted the default to avoid someone accidentally signing mainnet txs.

ChainID 422 is mainnet, chainID 420 is testing / testnet. We reverted the default to avoid someone accidentally signing mainnet txs.


Attempted fix for replication crash (#1912)

https://github.com/couchbase/couchbase-lite-android/issues/1912
Best guesses about what was wrong, without the opportunity to duplicate the issue.

A lot of this is formatting, so that I could read it.
The significant changes are:
native_c4replicator.cc releaseContext: remove unnecessary GlobalRef creation
C4Replicator.java free                  : add AtomicBoolean isAlive; synchronize access to native free


added a line of test to readme.md file

Just to test the github flow again

This is a really cool change


part of the CHIP-8 document is wrong

8XYE should work as 8XXE, the Y part is ignored.
FX55 & FX65 should not change I.
you can find an emulator online http://chip8.byethost24.com, and select TICTAC game rom.
if 8XYE and FX55, FX65 are implemented as in your document, this game will not work.
[https://github.com/trapexit/chip-8_documentation
](this document) is much more precise.

Hi @dolphin8 — thanks for opening this issue.
Your description of these instructions is consistent with Erik Bryntse's SCHIP documentation, which contains some subtle but important differences as compared to the original implementation of CHIP-8 on the COSMAC VIP.
As mentioned in the compatibility notes of John Earnest's SCHIP documentation:

In the original Chip8, shift instructions shift VY into VX and FX55/FX65 increment i in the process of saving and restoring by the number of registers read or written. It appears that the bugs introduced by this interpreter, combined with its popularity and the wealth of SuperChip games written for it, are the root cause of a great deal of difficulty we're faced with today in writing broadly compatible Chip8 emulators.

The documentation in this repository's wiki aims to describe CHIP-8 as it was implemented on the COSMAC VIP, so the instruction set description is in fact correct. That said, I will update this document to add a note about these particular instructions.


GetContainer is configured to return the BootContainer

When taking a dependency in a IRuleImplementationFor, you fall over as the container is has is the BootContainer which doesn't have any of your dependencies.

Triaged -> Fixing


Gem directory per Ruby install

I've recently had some issues with switching from Ruby 3.3.0 to Ruby 3.3.1, particularly around gems and how they're linked. Presently I've got a top-level .mise.toml that reads:
[env]
GEM_HOME = "{{exec(command='mise where ruby')}}/lib/ruby/gems/3.3.0"

This is to ensure that each Ruby install on my system uses a separate gem directory, if I can help it. I'm having to hardcode the 3.3.0 as you can see there (there's probably a way to get it with a command).
This seems to work locally, but leads to errors with Ruby LSP:
Automatic Ruby environment activation with mise failed: Command failed: /Users/simonfish/.local/bin/mise x -- ruby -W0 -rjson -e 'STDERR.print({ env: ENV.to_h, yjit: !!defined?(RubyVM::YJIT), version: RUBY_VERSION }.to_json)'
bash: mise: command not found
mise failed to parse template: '{{exec(command='mise where ruby')}}/lib/ruby/gems/3.3.0'
mise Failed to render '__tera_one_off'
mise Function call 'exec' failed
mise Io error while writing rendered value to output: Other
mise command ["bash", "-c", "mise where ruby"] exited with code 127
mise Run with --verbose or MISE_VERBOSE=1 for more information

I've tried adding eval "$(mise activate bash)" to my .bashrc, but I get the feeling the Ruby LSP VSCode extension doesn't run that.

You don't need to do anything at all to have different rubies install gems into different paths. In fact, unset GEM_HOME.
Compare mise x<EMAIL_ADDRESS>-- gem env |grep -A 4 "GEM PATHS" to mise x<EMAIL_ADDRESS>-- gem env |grep -A 4 "GEM PATHS" for example.

Ah, nice. That works!
My USER INSTALLATION DIRECTORY is the same across installs, and I think that might have a part to play in the issues I was experiencing, though I can't think why – I've never installed gems via --user-install before. I'll close this issue, though.


Logging module import error

I'm running into an issue setting this up- I installed the "colorama" and "requests" modules via pip when it asked for them. Then, when I ran "python cachetMonitor.py" I received the following error:
"AttributeError: 'module' object has no attribute 'getLogger'

I am getting the same error:
python /usr/local/bin/cachet-monitor/system/cachetMonitor.py
Traceback (most recent call last):
File "/usr/local/bin/cachet-monitor/system/cachetMonitor.py", line 4, in
import requests
File "/usr/lib/python2.7/dist-packages/requests/init.py", line 53, in
from .packages.urllib3.contrib import pyopenssl
File "/usr/lib/python2.7/dist-packages/requests/packages/init.py", line 29, in
import urllib3
File "/usr/lib/python2.7/dist-packages/urllib3/init.py", line 8, in
from .connectionpool import (
File "/usr/lib/python2.7/dist-packages/urllib3/connectionpool.py", line 35, in
from .connection import (
File "/usr/lib/python2.7/dist-packages/urllib3/connection.py", line 43, in
from .util.ssl_ import (
File "/usr/lib/python2.7/dist-packages/urllib3/util/init.py", line 19, in
from .retry import Retry
File "/usr/lib/python2.7/dist-packages/urllib3/util/retry.py", line 15, in
log = logging.getLogger(name)
AttributeError: 'module' object has no attribute 'getLogger'

Please has anyone fixed this issue?

python run.py from root of the repo.


:robot: Fix ARM builds

We were missing the -P flag

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

merging as affects only master


packagist point to fork ollieLtd

Hi, I'm trying to install the last version of this bundle, but installing from packagist with composer, doen't install this repository, install https://github.com/ollieLtd/OhGoogleMapFormTypeBundle.
This fork is not update with last commits.
What I missing?
thanks

Same issue here. @ollietb?

@ollietb Is this bundle maintained or abandoned?

@xmon this is the original personal project but it was moved into my official ollieLtd project when I published it

@ollietb Thank you very much for answering
But I do not understand the structure, since packiagist installs the fork of this bundle, and the versions do not match.
Sorry if I am missing something.


Refactoring the task as like Sampler

Refactoring the tasks as like Sampler to avoid the repetitive lines of code.
See :
https://github.com/gaelcolas/Sampler/blob/main/Sampler/scripts/Set-SamplerTaskVariable.ps1
https://github.com/gaelcolas/Sampler/blob/main/.build/tasks/Invoke-Pester.pester.build.ps1#L58

Yep we should try to use the public alias that Sampler is exporting so we use the same code (functionality) as Sampler does. To avoid re-invent the wheel in each module that adds "Sampler" tasks. 🤔

I have been starting to work on 're-invent the wheel' :).
Before that, I wondered if it was a good choice to create a dependance DSCResource.Test to Sampler.

Maybe not. The tasks are meant to run with Sampler but the tests are not, so maybe we should re-invent the wheel here. So continue your work.

I checked my code and I changed my think.
There's already a dependency between DSCResource.Test and Sampler.
The tasks of DSCResrouce.Test use Sampler cmdlet like Get-SamplerBuiltModuleBase.
Now, I think one more dependency isn't a big deal.
I'll try to see wath the change involved.

No, agree. Let’s try to use the alias that points to the script in Sampler. 😊

I tested it on FileSytemDSC.

Before :

After :

No issue. But I will parse the code to see if all the varaibles were initiate.

Looks like it outputted all variables from the script in Sampler. That is the first section of the output in the second image. Also the ProjectName is outputted a second time so that should be removed as well from the task. :)

Solved in https://github.com/dsccommunity/DscResource.Test/pull/111


Change timestamp format to ISO 8601 to be compliant

Description
Change timestamp in the events generated by the script to be compliant with the specification and mappings
Issues Resolved
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

This all makes sense.. I do wonder, what are we missing that isoformat doesn't work for us? Are we being too explicit and causing issues for every user in the future with UBI timestamps.

I think this change is to be compliant with the OpenSearch's strict_date_time format that we changed to in 2.18?


Incorrect type 'function' provided for option clone

Describe the bug
when i start my server and take "Incorrect type 'function' provided for option clone"
Versions
im using 12.0.0
Screenshots and Error Logs

It looks like you've done something that's poisoned the master Object prototype with additional methods (extend and clone). That environment is not supported.


feat: add automatic rebase

Close #5
This is tested and seams functional here : https://github.com/shiipou/workflows/actions/runs/1841794372
And produce this type of PR : https://github.com/shiipou/workflows/pull/1

:tada: This PR is included in version 1.0.0-beta.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


BUGFIX issue #79

BUGFIX for #79: Uncaught TypeError: Cannot read property 'tags' of undefined
does not fix any underlying problem (e.g. why is focusClickedTag() called at all), but prevents the error

Hello,
As PR seem to wait for a long time in symbols-tree-view, I include this fix in the next release of my forked package symbols-tree-nav.


Support "rel=me" as a social network link attribute (for Mastodon page verification)

Prerequisites

[X] I have searched for duplicate or closed feature requests
[X] I am mindful of the project scope

Proposal
When declaring a social link in an author, have an option allowing to customize the HTML rendered when it comes to the rel attribute, to make possible website verification by Mastodon (see motivation).
Related code piece:
https://github.com/wowchemy/wowchemy-hugo-themes/blob/a042ab6e603ebaf275ed03271ffb6ec7333281f7/modules/wowchemy/layouts/partials/social_links.html#L14
It's probably safe to simply replace rel="noopener" with rel="noopener me" for all generated links.
Motivation and context
The Mastodon social network provides the ability for a user to add website links to his/her profile. These links can then earn a status called "verified", meaning that Mastodon has found proof that the linked website do belong to the user.
To know that a website belongs to the owner of the Mastodon account, Mastodon require the user to add an HTML element of type a, with an href pointing to the Mastodon profile page, and with the attribute rel="me".
Example:
Mastodon

Moving to Wowchemy, I have a website where I have setup links to my social media profiles, and I have one for Mastodon declared in this fashion:
[[social]]
  icon = "mastodon"
  icon_pack = "fab"
  link = "https://mastodon.social/@someuseraccount"

I would like to prove to Mastodon that this Wowchemy-based website is mine. Unfortunately, the Wowchemy code generator will always generate the attribute rel="noopener" for this link, with no possibility to customize this part. This means I have no way to have here rel="me" and thus to have Mastodon recognize that I own this link/page.

https://github.com/wowchemy/wowchemy-hugo-themes/blob/a042ab6e603ebaf275ed03271ffb6ec7333281f7/modules/wowchemy/layouts/partials/widgets/about.html#L70-L72
also needs to be updated to add this to the about widget.

Wowchemy already supports the ability to add verification links to a site - see the Wowchemy docs and  https://github.com/wowchemy/wowchemy-hugo-themes/issues/851#issuecomment-1304665615
There's no need to make the software more complicated and harder to maintain by adding even more different ways to achieve the same result. It's challenging enough as it is to motivate the open source community to get involved in maintaining/documenting/supporting the existing diverse set of features in the project and contributing to the existing roadmapped issues.

Indeed, thank you for the pointer! In my case solved by creating a file layouts/partials/hooks/head-end/mastodon-verification.html containing <link rel="me" href="https://mastodon.tedomum.net/web/@boussee"/>.


how to add two gridviews with header and footer in one xml ?

i m unable to add "2 GRIDVIEWS using your lib i have added dependencies in gradle and fully qualifier name in xml too "  but still unable to  add two gridviews with header and footer inside linearlayout  in "VERTICAL ORIENTATION"  i m getting error that second gridview already has views

Can you give me a your error project?

ok sure will post

Close the issue because the post is not.


#68|Parmeterize number of recent posts in index.html

Let me know if you would also like me to parameterize the number of more posts as well. Something like:
[params]
  more_posts_number = 4

Thank you, @DeveloperDavo I just had the one comment.

Thanks again!


AC Odyssey time stop

When using the camera tool for AC Odyssey, the in-game timer automatically freezes. I wanted to do some timelapse videos but found out that the time is frozen and I'm only able to make it move forward by adjusting the cursor in the tool. However, the tool is then captured by any screen recording software and the timelapse isn't possible anymore.

This is a limitation of the game, as stated in the readme:

Time of day and a paused game / cutscenes.
Time-of-day doesn't work in cutscenes, you'll get the time-of-day of the cutscene: the game simply doesn't respond to changes of the value during cutscenes. Time of Day also doesn't work when the game is paused, the sun position doesn't change in that situation. This is a limitation of the game.

As you obviously read the readme, this isn't news to you of course.


allow the use of urllib3 1.25.x (fix)

This change was already done in 3a6bd282 and related PR:
https://github.com/boto/botocore/pull/1735
Version has been modified in :

setup.py
requirements.txt

But not in setup.cfg, thus being not effective in some situations (cf details in https://github.com/boto/botocore/pull/1735#issuecomment-495153843).
This PR is trying to fix that.

Codecov Report

Merging #1737 into develop will decrease coverage by 0.03%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop    #1737      +/-   ##
===========================================
- Coverage    92.44%   92.41%   -0.04%
===========================================
  Files           53       53
  Lines         9846     9846
===========================================
- Hits          9102     9099       -3
- Misses         744      747       +3

Impacted Files
Coverage Δ

botocore/credentials.py
98.44% <0%> (-0.39%)
:arrow_down:

Continue to review full report at Codecov.

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


New maintainers needed. Keep Silex alive.

Hi,
this is so sad to see that development for Silex is being stopped. To me Silex was the best MicroFramework for PHP. I have dozens of projects depending on it. I think the current maintainers had done a great job.
The problem ist, not all my customers will be willing to pay for migrating to Symfony. Also in the past years i've made this experience way too much, that you write an application and then all off a sudden the Framework is being abandoned or the next version is incompatible with your old code. For example Zend Framework 1. For this reason, i will never use a full fledged framework again. MicroFrameworks are at least so small, that you can support it your self if you must.
I don't want to see Silex to dissappear. It was way to good. I would like to ask if there would be anybody willing to help me with a fork and help Silex to stay alive, even if it has to be renamed. The main goal would be to establish a stable release, that will be supported for at least 3 years. The second goal would be to catch up with Symfony and be able to use Symfony 4 components.
Best,
Gunnar

Well, the thing is, if you use Symfony 4 components, you can get a similar development experience (and better performance thanks to the cached compiled container) when using the Symfony DI component and Flex than when using Silex.
The thing is, Symfony 4 does not require you to use the full-fledged framework.

Just to be clear, Silex is not abandoned. We think that migrating to Symfony 4 is the best option for current Silex users.
There is no need to fork Silex. If a group of people is interested in maintaining Silex, I would be more than happy to give the keys. I've tried in the past, and it didn't work. So, let's see if some other developers want to join you.
Also see my comment here: http://symfony.com/blog/the-end-of-silex#comment-22093
Anyway, thanks for supporting Silex.

I have the same feels as @GBeushausen, I have a lot of projects written using Silex and I do not want to migrate for Sf4 this projects (not now), so I'm open to help maintain silex alive.

Thanks @fabpot and thanks @devsdmf  for joining me . That would be wonderful, if we where able to continue with Silex. I would commit to spend some serious time on this project and try to get support from others as well.

I understand the maintainers viewpoint, but I think making it compliant with Symfony 3.4 would be a better point to deprecate it while leaving the LTS version of the latest Symfony 3.

I guess that update the silex dependencies to Symfony 3.4 components, and bump the version of silex to 3.0, would be a great step (:

@stof I've played a bit with Symfony 4 & Flex. It does seem to require a specific file layout. I've got applications with dozens of modules and bundles. This seems to be a very high cost to migrate to that particular structure and i don't see any sense in doing so. The good thing about microframeworks is that they don't force any constraints on you. With normal frameworks like Symfony 4 i have to abide to the rules the inventors of that framework designed. This was designed for a specific purpose but it's not given, that any particular application fits in that purpose the designers of the framework had in mind.
Also it seems that using yaml config files is a must, wich i'm not sure about. But i don't want to use that. So please forgive me, i love the components, but i hate the framework.
@fabpot How can we proceed to keep Silex alive? Can we at least remove the maintenance warnings for now, so we don't scare any possible new users away? Thanks.

@GBeushausen Keeping Silex alive is simple: the new group of developers willing to help need to start contributing, fixing bugs, adding support for new versions of Symfony, adding new components support, answering issues, asking to close old issues, ... Whenever someone or a group of people contributes to a level that proves their commitments, I will happily give them access to the repo. I won't remove the warning until then for one reason: I know for a fact that good intentions are not enough. Maintaining a project is a lot of work. It means commitment. And from my past experience, most people won"t help in the long term. I don't want to give the impression that Silex is maintained again if that's not really the case. That would do more harm than good. What we can do is tweaking the warning to point to this issue, asking for help. I would accept a PR that would do that as a first step.

@fabpot I know where you're coming from and can fully agree with your intentions. I'll start working on the things you've metioned. But comming from a commercial background i need to acquaint myself a bit to how things work in Github. Anyway thanks for the opportunity.

So let's do this!

Maybe rename the topic title now that a fork doesn't seem to be needed

@stof I've played a bit with Symfony 4 & Flex. It does seem to require a specific file layout. I've got applications with dozens of modules and bundles. This seems to be a very high cost to migrate to that particular structure and i don't see any sense in doing so. The good thing about microframeworks is that they don't force any constraints on you. With normal frameworks like Symfony 4 i have to abide to the rules the inventors of that framework designed. This was designed for a specific purpose but it's not given, that any particular application fits in that purpose the designers of the framework had in mind.
Also it seems that using yaml config files is a must, wich i'm not sure about. But i don't want to use that. So please forgive me, i love the components, but i hate the framework.

@GBeushausen you didn't really grasp the flexibility of SF4. You can use any language format and you can change the directory structure if you want.

So, I'm spending some time on Silex to fix the major "blockers" for an easier transition to a new core team. I've closed a bunch of old issues, merged "simple" pull requests, fixed tests, fixed support for Symfony 3.4, added support for Symfony 4.0. More to come.

I'm done for today. v2.2.3 is out and #1607 removes obsolete code for 2.3.0.

Thanks. We really apperciate this.

In my mind, micro framework means "I can put all the code in a file, and everything works well", so I think Silex is the best micro framework.
Maybe I am not proficiency in Symfony 4, but I think it is not a "micro framework".
So please keep Silex alive.

@GBeushausen Hi. I don't have much time available, but I could spend some sorting issues or writing docs.
Personnaly I use Silex as a teaching tool. It's a nice bridge between raw PHP and the magic of Symfony. So I'd rather see it alive for a few years more.

I can put all the code in a file, and everything works well

I was curious if symfony 4 code place all the code in a single file. I didn't get around to that .. but i followed the "create your own framework" with symfony components to see what is the minimal you have to do. Maybe it's a good starting point for making symfony in such a way that all framework code can be in a single file. repo is here https://github.com/flip111/Simplex

@jibundeyare Thanks. It's great to have you onboard

@phith0n That might be one use case for a micro framework. It's also often used as a thin layer on which one builds it's own framework for their specific business use case.
Silex is also great for migrating old legacy code. Just put it in front of an old app and let it handle the new routines, while you can configure it so that unmatched routes are handled by the legacy code.

Silex is also great for migrating old legacy code. Just put it in front of an old app and let it handle the new routines, while you can configure it so that unmatched routes are handled by the legacy code.

I agree 110%, it was the perfect choice for me to migrate a big legacy app in the view of using Symfony later.

@GBeushausen @agilare I would argue that doing the same with Symfony is even better. I don't see th benefit of using Silex to migrate to Symfony from a legacy application. There is plenty of talks that describe how to do it and that's easy and fast. No need to use Silex here.

I'm going to close this issue now as there is no need for people to argue whether Silex is great or not. We all love Silex, including me. Everything has been said now. If people want Silex to continue, we need people taking over. So, see you all on your next pull request :)

I'll be interested to help on mantaining silex!

Sorry to see Silex project delete or not anymore developped. It was very useful for small organisations as associations. I try to continue the dev on php 7.2 and symfony 3.4.8. The main problem seem to be in the AdminController and also in the use of salt instead of password hash. It could be relevant to work on it. I used silex 2.2.4 and all reposetories have been updated.
I will try to do something about it. Best regards. hidix

At my company we just updated all Symfony components to LTS version, latest LTS 3.4 has support till 2021 so that should give some time. Of course there still is some Silex code left that will not be maintained by Sensiolabs anymore but if the community pitches in that codebase should be easy to maintain. I don't think we need any new features just bug and security issue fixes.

@InfopactMLoos I couldn't agree more.
Us too we're a small company and we moved all components to 3.4 and php 7.2. We will definitely support the next LTS component version for our own usage - Silex isn't going anywhere in our company. While I can't make the promise that we can keep maintaining every aspects of Silex, we'll definitely pitch in when the time comes.


Please explain what this repository is for and what the action does.

:tada: This issue has been resolved in version 1.0.0 :tada:
The release is available on:

v1.0.0
GitHub release

Your semantic-release bot :package::rocket:


read cell_set from Gmsh's MSH 4.1

Arising from discussions in #691 with @tianyikillua and others

…the MSH4 format. Maybe @gdmcbain can take the relay for this? As I understand we'll create a cell_set and not a standard cell_tag since cells can have to different tags.

The idea is to better capture the semantics of MSH 4.1, in particular its improvements over MSH 2.2 rather than basically project it back on the latter as the current meshio reader does.
It is hoped that this will enable the fixing of a number of outstanding issues related to reading MSH 4.1. (TODO: List these.)

After reading http://gmsh.info/doc/texinfo/gmsh.html I still don't see how physical tags are now implemented in the 4 version...

Gmsh $Elements (meshio cells) are defined in blocks. Each block consists of a single type of element and is assigned to a single Gmsh 'entity'. The latter concept does remain mysterious, yes, but the path to physical tags is clear. Each Gmsh entity, defined in the $Entities section, is assigned zero or more physical tags.
So: cell is in a block, block is in an entity, entity has 0+ physical tags.
Gmsh's element blocks don't map all that well to the meshio.Cells items of meshio.Mesh.cells.


Aidstream timing out

@BibhaT We've had a couple of instances of Aidstream timing out this week:

10am (BST) 10/09 - RV was not able to access the site for approx half an hour
9.30 (BST) 14/09 I was able to log in, but aidstream repeatedly timed out when I was trying to update and add users to a publishers account.

Could be linked to maintenance on your end as it occurred at similar times?

@IsabelBirds 10/9: we didn't have anything going on then, we'll have a look at the logs if we can find the reason for it
14/09: yes, it could have been a routine update. We try to get the updates or anything as such completed before the day starts for most of the publishers, but sometimes it takes a bit longer than anticipated.

@IsabelBirds 10/9: we couldn't find anything in the logs, but we've since made some changes in the server. Time outs are unlikely to occur from now on.
14/09: The user you tried to add already existed in the system, but somehow the validations did not stop it when you added it. However, afterwards it picked up and hence the error occurred. We do not have a record of time out for then.


[SPARK-25237][SQL] Remove updateBytesReadWithFileSize in FileScanRDD

What changes were proposed in this pull request?
This pr removed the method updateBytesReadWithFileSize in FileScanRDD because it computes input metrics by file size supported in Hadoop 2.5 and earlier. The current Spark does not support the versions, so it causes wrong input metric numbers.
This is rework from #22232.
Closes #22232
How was this patch tested?
Added FileSourceSuite to tests this case.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/2812/
Test PASSed.

Merged build finished. Test PASSed.

@srowen reworked cuz the author is inactive and can you check? (btw, it's ok that the credit of this commit goes to the original author.)

Test build #95645 has started for PR 22324 at commit 510d729.

we can credit to multiple people now though :-)

oh, I see.

Test build #95645 has finished for PR 22324 at commit 510d729.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class FileSourceSuite extends SharedSQLContext

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

Merged build finished. Test PASSed.

Test build #95650 has finished for PR 22324 at commit bc05a35.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

retest this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/2821/
Test PASSed.

Test build #95655 has started for PR 22324 at commit bc05a35.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/2824/
Test PASSed.

Test build #95655 has finished for PR 22324 at commit bc05a35.

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

Merged build finished. Test PASSed.

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

ping @srowen @HyukjinKwon

Merged to master/2.4

If I find the reason why the numbers are different, I'll make pr in a new jira.
https://github.com/apache/spark/pull/22324#discussion_r215461695


BUG: fix the main page footer non res.

Is there an existing issue for this?

[X] I have searched the existing issues

What went down?
The existing issue has no updates and no work for more than a week. This issue will focus on changes of the specific part see attachment.
Make the text clipping to responsive design.

Assign me.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a gssoc-24-ext contributor
[X] I have starred the repository
[X] I want to work on this issue
[X] I check the issue doesn't exist

go for it @AE-Hertz


SMS Reportback Caption

On the web, we are requiring a caption to be entered along with each Reportback Image.
SMS Reportbacks should follow suit.

Confirmed that the campaigns/[nid]/endpoint supports posting the Image Caption.  Closing this issue, as it was added for making the changes into the dosomething_sms module.  @uy is working on deprecating this module, so if we need to collect Caption, an issue should be opened there.

@mikefantini Assuming we don't need SMS reportbacks to capture Captions for Reportbacks 2.0 launch?

yeah moving to 2.0.1 - looking into it today and will reopen if it seems like we need this (i.e. center crops are mostly viable on SMS reportbacks)


Add Hijri Date Picker

Incorporate https://github.com/alhazmy13/HijriDatePicker.
For the date picker widget, add option to create it using the Hijri date picker instead of the default system Gregorian date picker.

Closed in #24.


FHIR terminology embedding

This feature provides a method through the Python library which is capable of embedding ontological information about terminology in an embedding vector. This information is queried from the configured terminology service.
The information included in the embedding depends upon the parameters passed to the method, and can include:

Subsumption relationships
Property information

The embedding is represented by a sparse vector that is suitable for use within machine learning applications. We may also include integrations with selected machine learning frameworks.

We've decided that this should be implemented in a separate tool that can be composed with Pathling, but not actually be part of Pathling.


add functions + test

Dear,
Could you consider to include this contribution to add https://github.com/xordataexchange/cryptn decryption support within templates?
The pull  contains only modifications on template_funcs.go and template_test.go to automate the testing.  Adding "golang.org/x/crypto/openpgp" pkg is needed and not included in the pull request as it based in the old gb-based branch.
Thnx,

Closed as a duplicate of #210


There is a problem with backward in torch-directml

I don't know why this error happen when I use torch.nn.CrossEntropyLoss() as a loss function.
Code is below
def train_models(net, train_iter, test_iter, num_epochs, lr, device):
    """Train a model with a GPU
    Defined in :numref:`sec_lenet`"""
    def init_weights(m):
        if type(m) == nn.Linear or type(m) == nn.Conv2d:
            nn.init.xavier_uniform_(m.weight)
        net.apply(init_weights)
        print('training on', device)
        net.to(device)
        optimizer = torch.optim.SGD(net.parameters(), lr=lr)
        loss = nn.CrossEntropyLoss()
        timer, num_batches = Timer(), len(train_iter)
        for epoch in range(num_epochs):
            # Sum of training loss, sum of training accuracy, no. of examples
            metric = Accumulator(3)
            net.train()
            for i, (X, y) in enumerate(train_iter):
                timer.start()
                optimizer.zero_grad()
                X, y = X.to(device), y.to(device, dtype=torch.int)
                y_hat = net(X)
                l: torch.Tensor = loss(y_hat, y)
                l.backward()
                optimizer.step()
                with torch.no_grad():
                    metric.add(l * X.shape[0], d2l.accuracy(y_hat, y), X.shape[0])
                timer.stop()
                train_l = metric[0] / metric[2]
                train_acc = metric[1] / metric[2]
                if (i + 1) % (num_batches // 5) == 0 or i == num_batches - 1:
                    print("%4d   Loss: %5.5f  Acc: %3.3f" % (
                        epoch + (i+1) / num_epochs,
                        train_l, train_acc
                    ))
            test_acc = evaluate_accuracy_gpu(net, test_iter)
        print(f'loss {train_l:.3f}, train acc {train_acc:.3f}, '
          f'test acc {test_acc:.3f}')
        print(f'{metric[2] * num_epochs / timer.sum():.1f} examples/sec '
          f'on {str(device)}')

Errors is below

training on privateuseone:0
Backend TkAgg is interactive backend. Turning interactive mode on.
Traceback (most recent call last):
File "D:\Program Files\Python\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "D:\Program Files\Python\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "c:\Users\liuzhi.vscode\extensions\ms-python.python-2023.6.1\pythonFiles\lib\python\debugpy_main.py", line 39, in
cli.main()
File "c:\Users\liuzhi.vscode\extensions\ms-python.python-2023.6.1\pythonFiles\lib\python\debugpy/..\debugpy\server\cli.py", line 430, in main
run()
File "c:\Users\liuzhi.vscode\extensions\ms-python.python-2023.6.1\pythonFiles\lib\python\debugpy/..\debugpy\server\cli.py", line 284, in run_file
runpy.run_path(target, run_name="main")
File "c:\Users\liuzhi.vscode\extensions\ms-python.python-2023.6.1\pythonFiles\lib\python\debugpy_vendored\pydevd_pydevd_bundle\pydevd_runpy.py", line 321, in run_path
return _run_module_code(code, init_globals, run_name,
File "c:\Users\liuzhi.vscode\extensions\ms-python.python-2023.6.1\pythonFiles\lib\python\debugpy_vendored\pydevd_pydevd_bundle\pydevd_runpy.py", line 135, in _run_module_code
_run_code(code, mod_globals, init_globals,
File "c:\Users\liuzhi.vscode\extensions\ms-python.python-2023.6.1\pythonFiles\lib\python\debugpy_vendored\pydevd_pydevd_bundle\pydevd_runpy.py", line 124, in run_code
exec(code, run_globals)
File "D:\深度学习\现代卷积神经网络\googLeNet2015.py", line 70, in
d2l22.train_ch6(
File "D:\深度学习\现代卷积神经网络\d2l22.py", line 409, in train_ch6
l.backward()
File "C:\Users\liuzhi\AppData\Roaming\Python\Python310\site-packages\torch_tensor.py", line 487, in backward
torch.autograd.backward(
File "C:\Users\liuzhi\AppData\Roaming\Python\Python310\site-packages\torch\autograd_init.py", line 200, in backward
Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass
RuntimeError: m_device->CreateOperator(&opDesc, IID_PPV_ARGS(&op))

Hi @liuzhi19121999, thank you for submitting this issue. While I can't provide a timeline for resolution as the moment, please know that your feedback is valuable to us. We will follow up once we can review this issue.

Hi @liuzhi19121999, thank you for submitting this issue. While I can't provide a timeline for resolution as the moment, please know that your feedback is valuable to us. We will follow up once we can review this issue.

Resolution coming anytime soon? AMD is literally unusable for ML if it cannot do backpropagation.


Off grid / renewable power

We should add some info about off grid considerations and link to guides / info / solutions for this kind of thing.
For starters, @bigdaveakers has a nice guide we could link to https://www.instructables.com/Helium-Hotspot-Off-Grid-Solar-Set-Up-for-Nebra-Out/

@shawaj can we create a new resource category under the handy guides, then we can list this information and their details?

Yeah good plan 👍

Hello, I have also built an outdoor version and I have to say that this is not practical in autumn / winter / spring in Europe - Germany ... Since the consumption of 3 kWh per month cannot be covered with a small battery storage (100ah 12V I have max.  5 days buffering).  with 2x 130W solar panels and MPPT solar controller.  Since the weather here is just 10-14 days cloudy.  Even with a 4.5 KwP system, a charge of just 0.1 KWh comes together!  If you want to buffer this time of year, the investments are far too high, what you have to pay for battery storage.  A 100W panel is sufficient in summer.

Thanks for sharing @zonfacter, Do you have write-ups or photos you can share with us?, We will display them on our website under your name. Thanks.

@shawaj Created a resource page https://github.com/NebraLtd/Helium-Guides/commit/eb2096705ff483507eb3c203aefd9ec8b703a949 for sharing helium related resources and community projects and added to the sidebar under handy-guides.

Added @bigdaveakers  projects under Helium Resource and Community Projects.  https://helium.nebra.com/handy-guides/resource


Update design of sharing anonymous usage data in Admin Settings

The current design of the toggle to share usage data in Admin Settings is confusing. The proposal is to change it to be similar to the Appsmith Watermark design(check the image below)
Design
Anonymous Usage Data

[ ] Share anonymous usage data to help improve Appsmith

@riodeuno can I work on this?

Hey I've updated the design from the toggle button to the check box could you please assign the issue so that I can create a pull request and also whats the process of merging the pull request. and lastly do you want the code in vanialla HTML , css and javascript or react coz I've implemented that in both.
Best Regards,
Govind

Thanks for showing interest 🎉  @Govind783. Assigning this to you now.
Please don't forget to read the Contribution Guidelines. Please request us for a review here once you raise a PR.

Hey I've gone through the contribution guidelines. could you please tell me where is the code located, which specific file or folder, the line number

Please check this file

Hey @Govind783, you will have to install the dependencies in the app/client folder itself. Could you share the error you are seeing when you run npm install in the client folder? Ideally, it should have worked.

hey @ankitakinger I tried running npm install in app/client folder it self it still gives this error. Even tried with --force  still this error persists
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/react
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>|| 16" from<EMAIL_ADDRESS>npm ERR! node_modules/@blueprintjs/select
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

hey @infinitetrooper can you look into and suggest me how do i do forward with this

@Govind783 Could you use yarn instead of npm install?

nope tried with yarn as well but did not solve the error :(

@Govind783 Since this needs to be fixed soon, I'm going ahead and picking this up. I'm sorry but you can try picking up another low-priority issue and contact us if you face any issues.
Ideally yarn should have helped. I'm using 1.22.17 yarn version and it works for me.

This is completed now.


Fix/duplicated graphile request 2

it's working!!!
I also tested the database transaction rollback, and it worked perfectly.
good job! @vscatarino & @DiegoSena

@sandhilt could you help us?


Attach default interval options to parsed scale lines

ref #378

Self-reviewing: Seems to fix the issue.


Fix bug with reopening lazy table client on call after Close()

Fixed re-opening case after close lazy-initialized clients
Removed dependency of call context for initializing lazy table client

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Pull request type

Please check the type of change your PR introduces:

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[x] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Issue Number: N/A
What is the new behavior?

Other information

Codecov Report

Merging #225 (e063da0) into master (33a7ce2) will decrease coverage by 17.44%.
The diff coverage is 50.00%.

@@             Coverage Diff             @@
##           master     #225       +/-   ##
===========================================
- Coverage   56.78%   39.33%   -17.45%
===========================================
  Files         141      141
  Lines       15481    15469       -12
===========================================
- Hits         8791     6085     -2706
- Misses       6137     8946     +2809
+ Partials      553      438      -115

Flag
Coverage Δ

1.14.x
?

1.15.x
?

1.16.x
26.87% <72.72%> (+0.01%)
:arrow_up:

1.17.x
39.33% <50.00%> (-17.45%)
:arrow_down:

1.18.x
?

connection
14.89% <0.00%> (+0.08%)
:arrow_up:

discovery
14.35% <0.00%> (+0.01%)
:arrow_up:

e2e
22.73% <0.00%> (-24.26%)
:arrow_down:

integration
22.73% <0.00%> (-24.26%)
:arrow_down:

macOS-latest
?

ratelimiter
16.76% <0.00%> (-0.03%)
:arrow_down:

scripting
17.26% <0.00%> (-0.01%)
:arrow_down:

table
?

ubuntu-latest
39.33% <50.00%> (-17.45%)
:arrow_down:

unit
26.87% <72.72%> (+0.01%)
:arrow_up:

windows-latest
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

internal/lazy/coordiantion.go
68.29% <ø> (-2.17%)
:arrow_down:

internal/lazy/ratelimiter.go
94.11% <ø> (-0.33%)
:arrow_down:

internal/lazy/scheme.go
23.40% <ø> (-54.60%)
:arrow_down:

internal/lazy/scripting.go
92.68% <ø> (-0.50%)
:arrow_down:

internal/lazy/table.go
37.93% <0.00%> (-46.45%)
:arrow_down:

internal/table/client.go
85.18% <72.72%> (-4.59%)
:arrow_down:

internal/repeater/repeat.go
0.00% <0.00%> (-80.29%)
:arrow_down:

internal/deadline/context.go
0.00% <0.00%> (-80.00%)
:arrow_down:

internal/table/statement.go
0.00% <0.00%> (-75.00%)
:arrow_down:

internal/scheme/config/config.go
12.50% <0.00%> (-75.00%)
:arrow_down:

... and 59 more

Continue to review full report at Codecov.

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


Ensure unique url for service.resource-details, update all instances

In support of a task in this pt: https://www.pivotaltracker.com/story/show/147640893
No UX? I don't know what counts anymore, seems to me to be just a simple url change
TL;DR services.resource-details now has url of /services/:serviceId/resource=:vmId (used to be /services/:vmId)
This was getting terribly annoying, refreshing the resource details page only to have this happen:

Cuz our resource details url isn't unique 😭
Before: can you tell which one is a service details vs a resource details?

After: unique!  also doesn't mind being reloaded or navigated to directly (via url)

@chriskacerguis 👀 🙇♀


Develop

I want to merge this change because...

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations

Docs

[ ] Link to documentation:

Pull Request Checklist

[ ] Privileged queries and mutations are either absent or guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migrations are either absent or optimized for zero downtime
[ ] The changes are covered by test cases
[ ] All new fields/inputs/mutations have proper labels added (ADDED_IN_X, PREVIEW_FEATURE, etc.)
[ ] All migrations have proper dependencies
[ ] All indexes are added concurrently in migrations
[ ] All RunSql and RunPython migrations have revert option defined

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.3 out of 5 committers have signed the CLA.:white_check_mark: szdrasiak:white_check_mark: tomaszszymanski129:white_check_mark: IKarbowiak:x: gufio:x: tgarbowskiYou have signed the CLA already but the status is still pending? Let us recheck it.


questions and suggestions x2

Seeing the publication of LudoMako encouraged me to write.
as for the dances with "+" in the name, just rename them as a normal dance (for example flyer+ change to flyers the dances keep the same position but from dance 6 on you can't read it in any position)
for some reason when i load the exported vmd from million dance they load me to 100 times their original size (even when i turn off the resize option) and the final one is because my pc uses "." to divide the decimals instead of "," (with time i got used to that and i can already take out in dl, but they are still very heavy)
the camera can be used in vmd just by opening the vmd in miku moving and exporting it, then in mmd load and multiply the position to 0.01 and add the fov +30 (for some reason in vmd it is exported to 0 from million dance)
example: https://www.youtube.com/watch?v=36CUwCLk53w
also, I discovered that the game's cubemaps (hairh.png) can be used by adding them as test subtexts exporting directly from noesis but the models generated in million dance don't have them (I don't know if I'm using an outdated version)
example: https://www.youtube.com/watch?v=7M2hWyGcFwM
(I still have some problems with the textures)

Thank you for testing.
So it's great: "+" motions can be used almost directly. Current file name restrictions aim to help user select the correct file quickly. Easing the restrictions and extending available positions will do the job.
The wrong scaling is strange. The "idol height" textbox should be treated correctly for different locales. It is supposed to be formatted and parsed using current UI locale set in Region and Language Options in Control Panel. (On my computer the decimal separator is dot ".".) This behavior is used to fix #4, which was reported as fixed. But obviously something went wrong again. I think I should change the unit to centimeter to avoid confusion (and the annoying decimal separator differences).
It's good to see that converting in MMM also works (which means less code to maintain XD). FOV 0 for VMD cameras is a bug caused by this line: https://github.com/OpenMLTD/MLTDTools/blob/6b29e2467a5a9c11bb03241aad01183162afcf32/src/MillionDance/FMain.cs#L446 (will be fixed later). Well I didn't test VMD cameras though. :(
I don't know where the hair highlights should be positioned, so they are not overlayed to the hair textures now. Would you like to share how (using any software is okay)?
And thank you for mentioning Noesis. I didn't know this software before.

https://sta.sh/0wbxyyih0qi
Here is a prepared haruka model (not yet finished)
I doubled the hair material and put "hairh.png" as sub texture (in the same box as the spa and sph)
As for the eye glow, I duplicated both materials and replaced the original texture (eyeL and eyeR) with eyeh.png and rotated the uv-map 20 degrees to the right (or left?, I still have trouble distinguishing them)

Sorry, when I tried to download that model yesterday, it showed up "the page doesn't exist". So just forget the solid model. :(
What I'm confused is: the hair texture is 512x512px but the hightlight texture is 256x256px. I have tried two naive ways to bake the texture:

scale the hightlight texture to 512x512 and overlay ("decal") to the hair texture;
overlay the highlight texture to the 4 corners (256x256 each), with possible rotations.

None of these worked. How does setting a subtexture solve this problem? For example, what will the baked texture (final hair texture with highlights) look like?

Hair mesh has two UV’s, one for normal hair texture, another one for highlights
MillionDance exports only one UV layer, for this reason highlight texture can’t be applied

@kdru Thank you for the tip. I wasn't aware of that. 😮
Trying to integrate it now.

Sorry :"3, there:
https://drive.google.com/file/d/113aFe6b6n4Nigkl7QoyE0_ZMJ_GwuyzF/view?usp=drivesdk

AAAAAAAH
I just found out that the glow map solo is right after the regular dance,
So the dance finishes and right after that he starts the solo
(The dance ends at frame 4490 and the solo starts at frame 4500)

the hair tex simply uses uv2, hence why they're not loaded directly. Eeyes uses veretx colors for the shadow, and the eye dots uses same uv as the regular eyes, i just have no idea how the game makes them fade out when the camera angle changes.

I guess the hair uses a spherical cubemap (I don't know how it works) and to make it work with shader the added a uv map that is used as a kind of tangent
Same with the eyes but I guess they're uv morphs
(I think asset studio can't export those kinds of morphs)

@LudoMako What @Sozuke says is generally right. They do have those kinds of inputs in hair and eye shaders. I don't think it can be accomplished with vanilla MMD (e.g. secondary texture & UV, and tangents computed at runtime). It should require MME or something like that. Unfortunately, I don't have experience using that.
For the hair highlights, it can't be done with a simple spherical map. I tried to draw the highlights over hair texture (in Unity) and the result does not look very good. It is similar for the eye highlights: it is possible to use UV morph in MMD but not secondary texture.
I also searched how to create a "decal" effect in MMD. For now the only way is duplicating the mesh and assign a new material. This method would be problematic for both hair (it is used physical animation) and eyes (if you want to create UV morph).

@hozuki Not really, the hair indeed uses 2 UVs, vanilla mmd can use it if you duplicate hair mesh and use highlight texture as subtex for it. And actually, no need to use entire hair mesh to create those highlights.

@kdru Thank you. I was confused about the "sub-texture" option before your explanation.
But this method has two problems. First, it requires manual vertex duplication and removal. Second, head models may have highlights in the parts affected by physics, for example Kotoha:

The first problem may be solved by searching affected faces and duplicating them. The result will be one or more static meshes. I can't think of a nice solution to the second one for now.

Not really a problem as mesh saves weights O:
So it will move with normal hair mesh 🤔
As for locating highlights mesh parts, you can apply texture, select at least one poly with highlight part and hit ctrl+x, it will select all connected polygons and you can separate them easily
Btw, is there any way I can contact you on discord or something like this?

@kdru Thanks for the help. It seems there is a little misunderstanding: you were talking from a user's perspective (manually using external tools to do the postprocessing) and I was talking from a developer's perspective (finishing all steps in the program without intervention).
Anyway, your idea does work correctly. I'll push the code soon.

I have a Discord account but I don't log on frequently...


Short solution needed: "golang uuid" (golang)

Please help us write most modern and shortest code solution for this issue:
golang uuid (technology: golang)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments explain solution.
Link to this issue in comments of pull request.

How to generate UUID value


Auto-fix for Style/SafeNavigation chaind with [] operator breaks code

Auto-fix makes working code to code with error. (After auto-fix, it raises NoMethodError when name is nil)
# before rubocop -a
def some_method
  # Alerts as Style/SafeNavigation
  name && name.split(' ')[0]
end

# after rubocop -a
def some_method
  # Alerts as Lint/SafeNavigationChain
  name&.split(' ')[0]
end

Expected behavior
def some_method
  # or, something clearer
  name&.split(' ')&.[](0)
end

Actual behavior
Shown above.
RuboCop version
Include the output of rubocop -V. Here's an example:
$ rubocop -V
0.50.0 (using Parser <IP_ADDRESS>, running on ruby 2.3.4 x86_64-linux)

This also happens with other sign operators such as <.
For example, a && a.b < 3 is corrected to a&.b < 3 and the corrected one raises NoMethodError when a is nil.

Also noticed it does not account for when nil could actually have the opposite effect of false:
# before rubocop -a
def some_method
  # Alerts as Style/SafeNavigation
  raise unless current_user && current_user.id == params[:id]
end

# after rubocop -a
def some_method
  raise unless current_user&.id == params[:id]
end

The first one would not raise if current_user is nil and params[:id] is nil but the latter one presumably would?

Fixed in #4749.

@Drenmi Sorry. But I think, that this PR don't try fix this bug at all.

Now we expect multiple chained autofix only first call
But it raises NoMethodError in this issue and it comments. If we replace all calls with safe navigation - we add more logic that was.
So we can not autofix for multiple chained at all.

Hm. This looks like it might be deeper than the previous fix. Reopening.

Can't reproduce in 0.54


Update HTTP2.php

Cleanup increment.

status: error
command: composer test
message: Code coverage needs to be enabled in php.ini by setting 'xdebug.mode' to 'coverage'
Only php version 7.3.

status: error
command: composer test
message: Code coverage needs to be enabled in php.ini by setting 'xdebug.mode' to 'coverage'
Only php version 7.3.


[SITO] File format for situation objects - New

We went through all review comments. For some, files/code were adapted. Others we would like to clarify. Please see our comments above.

We went through all review comments. For some, files/code were adapted. Others we would like to clarify. Please see our comments above.

Shall we already review your changes? Or shall we wait until you clarified the other points?

Regarding the two different versions of header type, ty_header_60 and ty_header_60_cloud.
ADT tooling as of my knowledge is ABAP Langeuage Version space (SAP Development) and 5 (Customer Development) only. ABAP Language Version 2 is reserved for Fiori UIs. Why do we have to chose the one or other type?

@schneidermic0
We consider our input now as final, subject for final review!
Only recommendation that we didn't follow is the field order, see explanation above.

Draft of user story:
https://jira.tools.sap/browse/SITUATIONS-3679

Hi colleagues,
thank you for your thorough review.
We tried to address all of your comments. Regarding field "field_order", we kept it since we believe it is important to make it explicit for the user.

Thanks for your update @micotto. I am taking over for @schneidermic0.
But before I start my review, could you please mark our suggestions either as "resolved" or put a comment if or if not you adopted our suggestions? This makes my review quite easier since I do not have to ask if you thought about these suggestions. Thanks :)

Hi @wurzka. I went through the review comments once more and adapted everything which was missing. With a few exceptions (where I put comments), all suggestions are resolved now.

We'll do both suggested changes.
Regarding the DDIC types, by "removing title" do you mean keeping line ""! " or deleting the complete line ?
Also, does your suggestion apply to the TYPES-statements only, or to the CONSTANTS-statements as well ?

I suggest deleting the complete line s.t. there is only line
"! SIT2_DO_SCOPE

I would remove these titles also for the constants.

Both suggested changes were carried out.
In addition, we had to change two entities from array to item (plus one tiny change were a plural was missing.)


init upgradehandler (pre-pivot) and cleanup

init code for upgrade prepivot

Call and backup and extra-manifest as needed and moved some of the functions to upgradeHandler
No requeue-ing when an error is caught

an error msg for when ibu name is not what's expected
CRs to quickly deploy minIO and other support CRs+doc to work with backup in HACKING.md
include RBAC for deletebackuprequests

/test all

/test all

/cc @Missxiaoguo
/cc @jc-rh
/cc @donpenney

/hold
plugging in ExportRestoresToDir

/hold
making some adjustments

/test ci-job

/unhold

/lgtm

We will need some tests for this as there some edge cases which we might miss in case minor/major refactoring. Maybe kuttle/e2e test will benefit from this? I'll do that with another PR though. wdyt @jc-rh @Missxiaoguo

We will need some tests for this as there some edge cases which we might miss in case minor/major refactoring. Maybe kuttle/e2e test will benefit from this? I'll do that with another PR though. wdyt @jc-rh @Missxiaoguo

kuttl would be a bit difficult. Similar to TALM ones where we use scripts to update ACM CR status, we would need to fake OADP behavior. Might want to try UT first.

/approve


Please update "Limitations" statement about searching users/groups

The first item in Limitations states:

There isn't yet an equivalent of -SearchString for Get-AzureADUser and Get-AzureADGroup commands...

Get-MgUser and Get-MgGroup both support the -Search argument when used with -ConsistencyLevel eventual.

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

ID: 91a73899-203d-ccf8-0298-4c9d50315862
Version Independent ID: 27d88335-54fd-013c-2420-e197c2b17e7a
Content: Migrate from Azure AD PowerShell to Microsoft Graph PowerShell.
Content Source: microsoftgraph/docs-conceptual/migration-steps.md
Product: non-product-specific
Technology: microsoft-graph-powershell
GitHub Login: @msewaweru
Microsoft Alias: eunicewaweru

Thanks, @joshtransient for highlighting this issue. I will action accordingly.

Proceeding to close this issue with the merged PR.


M3-4935: Add initrd selection to Linode Config modal

Description
Users were able to, in Classic Manager (and presently via the API), select a disk for initrd. This PR adds a dropdown in the Linode Config modal in the "Block Device Assignment" section for initrd. The dropdown is populated by disks with an initrd filesystem.
To-Do

[ ] Fix bug where initrd somehow gets set to null when you change and save the new disk multiple times in quick succession
[x] Explanatory PR comments
[x] Confirm with API that the initrd should not explicitly be a number/integer (right now a typeof is not specified in the API mapping)

How to test

Create a few disks with a filesystem type of "initrd"
Add or edit a Linode Configuration. Confirm that the "initrd" field is visible in the modal and that it is populated with any disks on that Linode with a filesystem type of "initrd".
Select a disk and save the changes. Go through the modal flow a few times to ensure the correct disk is saved for initrd and shows up the next time you open the modal.

The bug I described in demo prep still exists, but I'm going to go ahead and remove the WIP label here. I may be overlooking what's causing the issue but I'm starting to think it might be something on the back-end because the payloads go through as expected.

Encountered a couple small issues, but they may be related to the issue you're already aware of (and if not, might be API issues anyhow)

After setting up a few initrd disks and creating a configuration, I select one of the initrd disks under "Block Assignment / initrd" and click "Add Configuration", then edit the configuration and observe that the value under "initrd" is "None". Updating or re-setting it seems to work fine, however. (This is the one that I think is the same issue you've described)
This might just be inherent to initrd disks, but it seems like I'm unable to resize them once they're created. Whether I try to make them bigger or larger, I always seem to get this message in the notifications pane: A disk on Linode cy-test-initrd could not be resized by prod-test-019.

Since I think the first issue is one you're already aware of, and the second is most likely a backend issue, I'm still gonna approve this -- just wanted to bring attention to these issues just in case.

Encountered a couple small issues, but they may be related to the issue you're already aware of (and if not, might be API issues anyhow)

After setting up a few initrd disks and creating a configuration, I select one of the initrd disks under "Block Assignment / initrd" and click "Add Configuration", then edit the configuration and observe that the value under "initrd" is "None". Updating or re-setting it seems to work fine, however. (This is the one that I think is the same issue you've described)
This might just be inherent to initrd disks, but it seems like I'm unable to resize them once they're created. Whether I try to make them bigger or larger, I always seem to get this message in the notifications pane: A disk on Linode cy-test-initrd could not be resized by prod-test-019.

Since I think the first issue is one you're already aware of, and the second is most likely a backend issue, I'm still gonna approve this -- just wanted to bring attention to these issues just in case.

The first point is tied into the issue I referenced -- not sure about the second point but that would be related to either a back-end or technical limitation with initrd disks


[Discussion] Some thing about training spleeter model

I tried to train my model with musdb18 dataset with CLI and find out the total required time of training. I implemented the command "time spleeter train -p ./configs/musdb_config.json -d ~/data/musdb18/train/".  I have modified the json file and checked all of the directories, but It seems nothing happened. The terminal only printed out:
INFO:spleeter:Start model training
INFO:spleeter:Model training done
real	0m37.829s
user	0m34.643s
sys	0m1.982s

Hi @Spencer19990618,
something seems to have indeed gone wrong as the full training time seems quite small.
You could try to use --verbose option to have a bit more info about what's happening under the hood.

@romi1502  I had tried ### --verbose before. it seems that the files in my dataset were not loaded.
INFO:tensorflow:Saving 'checkpoint_path' summary for global step 0: musdb_model/model.ckpt-0
WARNING:tensorflow:Training with estimator made no steps. Perhaps input is empty or misspecified.


Big proc macro refactoring

Removed a lot of clutter, unified some code
Started using syn::parse::Parse for pyfunction attributes
No more newlines between imports
Renamed #[prop(get, set)] to #[pyo3(get, set)]
#[pyfunction] now supports the same arguments as #[pyfn()]
Some macros now emit proper spanned errors instead of panics.
Fixed clippy lints

Examples for the spanned errors:
error: Unsupported parameter
  --> examples/word-count/src/lib.rs:11:21
   |
11 | #[pyclass(subclass, invalid)]
   |                     ^^^^^^^

Great work, thanks!
Though I couldn't check all sentences in detail, I left some comments mainly about style and error messages.

The code you commented wasn't written or changed by and is only in the diff because I reduced the indent. That part is for another refactoring.

Btw @pganssle I think I found the reason why pyo3 is so slow for function calls. Every function call generates a call to parse_fn_args with a slice to options which is than filled by that function. I've removed the slice-to-iter-than-convert-in-nested-blocks part, but the argument conversion is still awkward.
https://github.com/PyO3/pyo3/blob/d02f7c3aa54bde2c03e358b539b96583aa5bf95b/pyo3-derive-backend/src/pymethod.rs#L396-L420


CollectionView select event is not fired when highlightOnTouch is enabled

CollectionView widgets fail to fire the select event when a cell has highlightOnTouch enabled.

Thanks for reporting the issue. We can confirm the problem and are looking into it.


Add support to Asterisk renderer to say numbers.

This patch makes changes to the Asterisk media renderer to add support for saying numbers using the SayNumber AGI command of Asterisk.  Previously only playing audio files was supported for this renderer.
I've added rspec tests for this new behavior, and changed any rspec tests that now behave slightly differently.
This has been tested on Asterisk 11.

Coverage decreased (-0.01%) to 99.001% when pulling 89ba71899438c5c902c4fc749ee96b14245b404c on ssether-usinternet:develop into 466192afca6b3a72a7f4430784b7512c78e7fb94 on adhearsion:develop.

@ssether-usinternet Should this not be part of adhearsion-asterisk? Also keep in mind Punchblock is no longer a separate gem in Adhearsion 3.

@lpradovera We're using Adhearsion 2.6.4, primarily because it doesn't look like Adhearsion 3 is production quality.  I only see a rc1 release, but not a proper full release of Adhearsion 3.  Also, when we started this project all the documentation was for 2.6.  I'm not certain if there's any documentation for 3 or not.
I'm not sure why we'd want to put this in adhearsion-asterisk.  This patch merely builds upon the already existing support for playing audio files, and adds the ability to play numbers.
We'd consider switching to 3.0 if it's ready for production.  We started this project on the 2.6 branch because we wanted to be on something that was stable and maintained.  We're about ready to move our project forward into semi-production, so I wouldn't want to de-stabilize it at this point and move to 3.0.
I'd certainly port this over to 3.0 if that helps, but for our current release we need to support the 2.6 branch in the short term.

For the record, my company has been using Adhearsion 3 in production for over a year now on behalf of some household names, though admittedly we're using FreeSWITCH rather than Adhearsion. There has been the odd issue but I've fixed all the ones I've found.

@ssether-usinternet I agree, and besides, Punchblock is 2.6-only anyways. I think this LGTM!


broadcast-box: init at 2024-03-20

Description of changes
Adds broadcast-box package and module.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[x] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Thank you for the kind words and the suggestions! I've replied to your comments and made changes where necessary.
I've also added some more options so now an option exists for every documented environment variable. I think I will still keep the extraEnv option in case Broadcast Box adds new options in the future.
I tried testing the WebRTC-over-TCP functionality but no matter what I set TCP_MUX_ADDRESS to, I get "address already in use". I'm assume this is user-error rather than a problem with the NixOS module or Broadcast Box, but I'd be interested to hear if you experience the same issue.
I've changed the wording of port options so that, rather than mentioning in every port option that random ports will not open the firewall, the openFirewall option now just a sentence warning that randomly assigned ports will not be opened. Hope this is ok.
Once again, thanks for the help and I look forward to hearing your feedback.

I've made some changes to the module including:

Systemd hardening
The status API is now disabled by default because it exposed stream keys
The nat1To1Ip and includePublicIpInNat1To1Ip options have been renamed to nat.ip and nat.autoConfigure (which is now true by default to match the upstream docker compose config)
Added the new tcpMux.force option
Added an example to the stunServers option
Various wording improvements

I've also exposed the NixOS test in the package with passthru.tests.

@fpletz are you still interested in reviewing this?

I've rewritten and greatly simplified the module. Rather than creating an option for every upstream environment variable, I've replaced them with a single settings option that accepts any variable in uppercase snake case. The submodule only defines the necessary options for determining which ports needs to be opened.

Seems to work great in my testing! I was able to use a reverse proxy for the web UI/API without any issues :D

Thank you for the review! I've implemented your suggestions and updated the package.
I've replaced the HTTP_ADDRESS variable with address and port options so
that should make it a bit easier to run behind a reverse proxy.

I've replaced the HTTP_ADDRESS variable with address and port options so that should make it a bit easier to run behind a reverse proxy.

Oh I probably wasn't quite clear. What I meant specifically was having an option that would determine if the HTTP port should be opened in the firewall. I think having the environment variable as before was totally fine, though I also don't mind address and port ^^

I've added separate openFirewall and web.openFirewall options


Hello

@ealex
Can I ask you some questions about the EG8010 on the EGS002 board? For the IFB signal, I'd like to use a Hall sensor instead of the sense resistor. The datasheet's I've found so far seem to indicate the IFB is just a safety shut down. If over 0.5V for xyz time, then shutdown the output. Then if you exceed 0.65V the op-amps circuits on the EGS0002, preform additional shutdown efforts. I see the datasheet claims that the EG8010 can provide a measured amps via serial streamed data. However I don't see how the EG8010 knows the amps. Perhaps below this 0.5V is an analog measurement. Or perhaps I do not understand the 0.5V IFB comments in the datasheet. So I ask some questions.
-- Is the IFB a safety shutdown as I think it is?
-- Do you know if the serial stream will provide the measured amps and if so how accurate is the reported amps?
-- Would you have interest in getting the serial stream into an ESP32?
-- Do you know how a hall sensor can be used instead of a sensor resistor for the IFB and similar signals? I have a simulation found here Simulations/IFB_Hall_Sensor_simulation.PNG Do you think this simulation is close to the signal that IFB is expecting? In that simulation, the max amps will produce a 0.5V signal.
Perhaps contacting you via the "issues" tab is not great. If you want to migrate to email, you can email me<EMAIL_ADDRESS>

Hello
The IFB pin on the EG8010 is just a safety shutdown, look at "8.2 AC Output Current Feedback" in the datasheet
From my understanding: the voltage level at the IFB pin is compared to a fixed 0.5V reference.
When it exceeds 0.5V and it stays there for more than 600mS then the output is disabled.
Then it waits some time (16s ?) and it tries again - 5 times in total.
On the EGS0002 module, there's an extra comparator that also disables the mosfet drivers. I had to remove the comparator, hard-wire the drivers to always-on, and connect the IFB straight to the EG8010.
In the intended application the IFB is measured on the low side of the MOSFET bridge - it's on the same ground level => no galvanic separation is required.
It's now showing the actual load current - it's showing the primary side one - basically output power / primary side voltage + a lot of switching noise.
An interesting link: https://github.com/tvixen/4KW-230V-Inverter
You said something about an ESP32 - if you want to measure the actual output current maybe you can use a current transformer with a proper load resistor.
One end is connected to one of the ADC inputs, the other is biased to VADC/2 - half point of the ADC voltage.
You can measure the waveform and get the current, output power factor, overload, etc.
I've got the serial LCD's (8.8 Serial 12832 LCD Setting) but they're a joke - i don't know how they should work - maybe in a fixed output voltage setup
The serial protocol looks interesting (8.9 RS232 Serial communication port) but I did not get a chance to test it.
It looks like it will give you all the data - by the looks of it you can apply some scaling factors and find out the output voltage / current.
Note that you don't have a way to set the current limit - that's a hard-wired function inside the IC.
looks like someone managed to connect via the serial port: https://forum.arduino.cc/t/interfacing-with-eg8010-problems/416715/3
I won't be able to play with them for a while - the're in a box somewhere, as I'm slowly moving to another place / workshop and I only have room for the work related stuff.


Support User Mode Linux (UML) virtualization

Issue description
This is a feature request. It would be nice to support User Mode Linux (UML) as a backend. Its a nice compromise between the lightness of a container which must use the host kernel and the heaviness of a fullbown VM. I suspect this will play nicely with currently existing container images. I suggest that the --vm parameter take an option to support this, eg. --vm uml. Perhaps one wrinkle is that this would not be able to be supported on non-Linux hosts and currently only x86 and ppc (with maybe arm in the works). Also, Ubuntu repos do not have a user-mode-linux package (they used to, but it got dropped), though Debian does. There would probably need to be some way to tell lxd where an alternative location is for the uml kernel and modules.

Thanks for the request, this made me look into UML again which I haven't done in quite a few years.
Unfortunately, I don't think it's something we're very likely to ever want to support.
The main reason for this is that adding a new instance driver in LXD takes a fair amount of time and significantly increases our testing and maintenance effort, so for us to do this, we'd need a very very good reason. We did it for virtual machines as containers alone couldn't do everything we wanted, but I don't see that strong a case for UML.
Looking at the current UML documentation, it shows UML as being a great way to experiment with the Linux kernel, debug it and try new kernel features. It is however not a good solution for general purpose workloads as all user space calls must be intercepted by UML, very severely affecting the performance of the workload that's being run. And maybe even worse given today's software landscape, UML is single processor. With most systems today having access to at least 4 CPU threads, software is less and less designed to work in such pure single-processor environments.
That said, I still find UML to be a very neat concept and should consider using it again next time I'm doing kernel development, it sure looks more enjoyable to use for debugging than a full fledged VM or physical system.


2.x Implement custom EurekaInterestClient for Eureka Read server.

The custom client uses single subscription (fullRegistryFetch), and propagates properly channel level buffer markers to interest subscribers.

NetflixOSS » eureka » eureka-pull-requests #115 FAILURE
Looks like there's a problem with this pull request

NetflixOSS » eureka » eureka-pull-requests #116 SUCCESS
This pull request looks good

NetflixOSS » eureka » eureka-pull-requests #119 SUCCESS
This pull request looks good


Is possible to add filters or new layers to the camera?

Is possible to add filters or new layers to the camera? For example, add an image on top of the camera.  Thanks!

You might be able to use CSS filters, but I'm not sure if it will work with the flash player. Also, they won't be stamped out when you snap a photo.
With the canvas implementation, you have much more flexibility. You can use the canvas as a texture for threejs, pixi, etc. You can do whatever you want, really.

I've done something similar using div and css
In the css I used absolute position to overlap the layers and in order to put in front a semi-transparent I wrote the following:
        background-image: url(myImage.jpg);
        background-size: 100%;
        opacity:0.3;

finally I adjusted the positions of the layer setting top,left,width and height dinamically in javascript


Argument support

First of all, thanks for this, looks really useful.
I've packaged it and might make a nixos module out of this, but I have a small suggestion if you'd consider; cmdline arguments/parameters. Configuration options are not too many, so it might be helpful to override a 'default configuration' via arguments. Plus it can help later probably, e.g. having a --version.

Hello!
Every entry in the configuration file can be overrided via env. e.g.
PASTE__RANDOM_URL__TYPE=alphanumeric
PASTE__RANDOM_URL__LENGTH=8

What is your use case for having command-line arguments other than --version?

Oh nice, didn't know that. :+1:

What is your use case for having command-line arguments other than --version?

Just convenience I guess, creating a config file and pointing it is a bit more work than just passing those as env/arguments.
Also, not sure if this is a bug, but apparently sending unknown file types can cause content-type: application/octet-stream to be served.
Is this intentional? If yes, is there a way to enforce a default type? (I'd love to see https://paste.gurkan.in/emerging-stag.nix as text file directly, instead of downloading :eyes:)
Thanks again

Btw, I'm working around above problem like this for now, maybe someone else would find it useful:
function rpaste() {
    # Check if this is a pipe or not
    if [ ! -t 0 ]; then
        # Pipe, create temp file and send
        rm -f /tmp/pastedfile.txt
        while IFS= read -r line; do
            printf '%s\n' "$line" >> /tmp/pastedfile.txt
        done
        FILENAME=/tmp/pastedfile.txt
    else
        if ! [[ "$1" == *.txt ]]; then
            # We really need txt
            cp "$1" /tmp/pastedfile.txt
            FILENAME=/tmp/pastedfile.txt
        else
            FILENAME="$1"
        fi
    fi
    curl -F "file=@$FILENAME" -H "Authorization: mytoken" "https://mypastehost"
}

Feel free to close if octet-stream is the desired one for all cases :crossed_fingers:

Just convenience I guess, creating a config file and pointing it is a bit more work than just passing those as env/arguments.

I see, maybe in the future :) (feel free to submit a PR though)

Also, not sure if this is a bug, but apparently sending unknown file types can cause content-type: application/octet-stream to be served.
Is this intentional? If yes, is there a way to enforce a default type? (I'd love to see https://paste.gurkan.in/emerging-stag.nix as text file directly, instead of downloading eyes)

It is not intentional. In fact, this was a thing that I was meaning to fix. 0x0 has a similar issue and it supports overriding the MIME types.
So I pushed 03348cb38f4bc11e27a6c31f646550a009810fe4, which adds the following configuration entry to the [paste] section:
mime_override = [
    { mime = "image/jpeg", regex = "^.*\\.jpg$" },
    { mime = "text/plain", regex = "^.*\\.(log|txt|diff)$" },
]

This is hopefully going to be useful for most of the MIME type related issues.
Additionally, I pushed e7ad855f4d6aa0218d69ed0030bcfcb4a82ecde8 which is also something useful I think.

Btw, I'm working around above problem like this for now, maybe someone else would find it useful:

Thanks for the script 🐰

Feel free to close if octet-stream is the desired one for all cases crossed_fingers

Last time I checked this issue was about command-line arguments 😄 So it's going to be stay open until that's done. I will be adding them via structopt in the future hopefully.

It looks like this is not going to happen anytime soon. Closing!


[RemoteMirror] Add a call to get the demangled name for a typeref

rdar://problem/59909982

Adrian worked on something very close to this so maybe he wants to check this one out.

This is the merged PR that Davide is referring to:
https://github.com/apple/swift/pull/29139

... which is incidentally the getDemangling() API being used here :-)

Yeah, I happened across your PR and said, hey, this is just what the doctor ordered!

@swift-ci please test and merge

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - b726056f5f375f1cc1a34e2ece6dd6aa071b186e

@adrian-prantl Please take a look at the changes to stdlib/public/Reflection/TypeRef.cpp  that I just pushed.

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - 1c1d57574cf29a3d716f2dd936dda71c65c8d083

@swift-ci please test and merge

@swift-ci please test and merge


Merging Old develop into Old master 4.23.2019 - Deleting and redirecting Event webhook pages, EASE API getting started

Description of the change:
Reason for the change:
Link to original source:

Closes #

Hello @Whatthefoxsays,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


add WebSocket client support for WASM

Description
This pull request updates the crate to allow WebSocket client support for WebAssembly (WASM).  Changes include:

Modified dependencies to support WASM compatibility
Refactored parts of the code for better WASM integration
Added necessary features to enable WebSocket client functionality in WASM environments
Added http feature to enable or disable http client with reqwest crate in relay_client

These updates will enable users to utilize WebSocket client capabilities in WASM.
Resolves # (issue)
How Has This Been Tested?

Due Diligence

[ ] Breaking change
[ ] Requires a documentation update
[ ] Requires a e2e/integration test update

@borngraced related to this https://github.com/KomodoPlatform/WalletConnectRust/pull/1#pullrequestreview-2246697612 fmt are not fixed yet.

@borngraced I updated CI to run on PRs opened to kdf, please review the changes and fix CI problems.


invalid JDBC connection when its access token is expired

About You:
Name: Song Gao
Company: Starburst Data
Your question:
We integrated OAuth authentication within our connector and it works - I can connect, add tables and create viz. However, 10 minutes after switching to sheet1, I got error Authentication failed.
The reason is, Tableau takes control of the OAuth flow and sends access token to our underlying JDBC driver, but the access token expires after 10 minutes.
Is that possible to let Tableau to invalid an existing connection if its access token is expired? Or is that possible to ask Tableau not to reuse/pool JDBC connections for this connector?

I did more research and now I think this is a JDBC driver issue instead of a Tableau issue. Our driver needs to implement Connection.isValid(long) method to force Tableau creating a new connection with a new access token.


Handle version numbers in reflect:get*Annotations functions.

Fix https://github.com/ballerina-platform/ballerina-lang/issues/9330

:white_check_mark: Build ballerina-lang 300 completed (commit https://github.com/ballerina-platform/ballerina-lang/commit/c625bfbd2e by @hasithaa)

:white_check_mark: Build ballerina-lang 313 completed (commit https://github.com/ballerina-platform/ballerina-lang/commit/ab170404b1 by @hasithaa)


does not work alongside Fabric, using cocoapods

podfile:
pod 'CocoaLumberjack', '~> 2.0'
pod 'CrashlyticsLumberjack', '2.0.1-beta'
pod 'Fabric/Core', '~> 1.3'
pod 'Fabric/Crashlytics', '~> 1.3'
when running pod install I get:
[!] The 'Pods' target has frameworks with conflicting names: Crashlytics.

Bump!

I need more info about what is going wrong.  The mentioned pods are no longer supported.

I'm embarrassed to say I can't remember how I finally fixed this. It might have simply been from updating CocoaLumberjack. Anyway, all good now using CocoaLumberjack (2.0.1) and Fabric installed via their dashboard app.


UnicodeEncodeError: 'ascii' codec can't encode characters in position 2435-2442: ordinal not in range(128)

File "/usr/local/bin/pyvim", line 11, in                                                                                (60,1) - 25%
sys.exit(run())
File "/usr/local/lib/python2.7/site-packages/pyvim/entry_points/run_pyvim.py", line 48, in run
editor.run()
File "/usr/local/lib/python2.7/site-packages/pyvim/editor.py", line 288, in run
self.cli.read_input(reset_current_buffer=False)
File "/usr/local/lib/python2.7/site-packages/prompt_toolkit/interface.py", line 325, in read_input
self.renderer.reset()
File "/usr/local/lib/python2.7/site-packages/prompt_toolkit/renderer.py", line 211, in reset
self.output.flush()
File "/usr/local/lib/python2.7/site-packages/prompt_toolkit/terminal/vt100_output.py", line 166, in flush
self.stdout.write(data)

Hi @ekollof,
Thanks for reporting this bug. Excuse me for replying this late.
I think I fixed the bug in prompt_toolkit. I installed ArchLinux and had the same issue there.
https://github.com/jonathanslenders/python-prompt-toolkit/commit/9aa56e741444ff0c2756e531b3a352063b7e99c2
The gray dots to indicate trailing whitespace at the lines did not appear in the ASCII encoding.

A new version with this fix has been released as well.


Select Options not updating

First off I am pretty new to Angular 4. I am trying to update the options array after doing an API call in the ngOnInit() method. Now the data is being retrieved and pushed in the options array however the select does not update the options.
<ng-select [options]="venueList" [multiple]="false" placeholder="Event Venue" formControlName="venue" (selected)="getVenueAddress($event.value)" [allowClear]="true">                 </ng-select>
That is how I am initializing the Select in the HTML.
Any help would be greatly appreciated.

If you want the options to be updated, you'll need to replace the option array with a new one, so that angular detects that it is a new object. If you push new options to existing list of options, angular will not detect that change, which is why the new options will not appear in the select drop down.
This won't work:
ngOnInit() {
    // Set option list.
    this.venueList = [];

    // Load venues.
    this.venuesService.loadVenues().subscribe((venues) => {
        venues.forEach((venue) => {
            // This doesn't work. The array venueList remains the same object, angular
            // will not detect a change within the object.
            this.venueList.push(venue);
        });
    });

This will work:
ngOnInit() {
    // Set option list.
    this.venueList = [];

    // Load venues.
    this.venuesService.loadVenues().subscribe((venues) => {
        // This will work. Now the venueList is replaced with a new array, which
        // will be detected by angular.
        this.venueList = venues;
    });