Selector.select() returned prematurely 512 times in a row; rebuilding selector while run testsuite

The following is logged on my crunchbang linux installation:
21:30:14.072 [Thread-1] INFO  i.n.t.t.socket.SocketStartTlsTest - Running: testStartTls[0: serverEngine = io.netty.handler.ssl.JdkSslServerContext@50aeaf68, clientEngine = io.netty.handler.ssl.JdkSslClientContext@33bd9009] 3 of 3 (ServerBootstrap(group: OioEventLoopGroup, channelFactory: OioServerSocketChannel.class, localAddress: /0:0:0:0:0:0:0:1%1:33570, options: {SO_TIMEOUT=10, ALLOCATOR=UnpooledByteBufAllocator(directByDefault: true)}, childGroup: OioEventLoopGroup, childOptions: {ALLOCATOR=UnpooledByteBufAllocator(directByDefault: true)}) + Bootstrap(group: NioEventLoopGroup, channelFactory: NioSocketChannel.class, options: {ALLOCATOR=UnpooledByteBufAllocator(directByDefault: true)}, remoteAddress: /0:0:0:0:0:0:0:1%1:33570)) with UnpooledByteBufAllocator
21:30:14.075 [testsuite-nio-worker-4-3] WARN  io.netty.channel.nio.NioEventLoop - Selector.select() returned prematurely 512 times in a row; rebuilding selector.
21:30:14.075 [testsuite-nio-worker-4-3] INFO  io.netty.channel.nio.NioEventLoop - Migrated 1 channel(s) to the new Selector.
21:30:14.075 [testsuite-nio-worker-4-3] WARN  io.netty.channel.nio.NioEventLoop - Selector.select() returned prematurely 512 times in a row; rebuilding selector.
21:30:14.075 [testsuite-nio-worker-4-3] INFO  io.netty.channel.nio.NioEventLoop - Migrated 1 channel(s) to the new Selector.
21:30:14.076 [testsuite-nio-worker-4-3] WARN  io.netty.channel.nio.NioEventLoop - Selector.select() returned prematurely 512 times in a row; rebuilding selector.

➜  testsuite git:(4.0) ✗ java -version
java version "1.7.0_55"
OpenJDK Runtime Environment (IcedTea 2.4.7) (7u55-2.4.7-2)
OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)

➜  testsuite git:(4.0) ✗ uname -a
Linux dev05 3.14-1-amd64 #1 SMP Debian 3.14.7-1 (2014-06-16) x86_64 GNU/Linux

This is reproducible all the time

I've the same problem with linux kernel 4.2 and 3.16. (Debian Jessie)

Also seeing this with a custom kernel 4.13.3 on Gentoo.  Any idea if this is a kernel configuration issue, not a kernel bug?

@timboudreau sorry  no idea :(

We're seeing this as well on our Play! app.
Netty 4.0.51.Final
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
uname -r : 4.9.20-11.31.amzn1.x86_64
Happens under heavy load.
Any help would be appreciated.


Update readme.md Added Brave

Added Brave to supported list in Readme.
Fixed the Brave icon not showing.<!--
Thanks for contributing! 🍄 Do not ignore this template, plz.

No it doesn't close any existing issues.

Help us test and visualize this PR:

This PR affects the Readme.md Page

-->
Test URLs
My Fork
Screenshot

Stop
https://github.com/refined-github/refined-github/pulls?q=is%3Apr+sort%3Aupdated-desc+brave+is%3Aclosed

Line dropped. I blame 2b5e1b0 (#465)


How to read FileStorage?

Hi, I can write FileStorage(yaml file), but I dont find how to read FileStoarge data. Any tips? Thanks.

@liupgd May be these will help
https://docs.opencv.org/4.x/dd/d74/tutorial_file_input_output_with_xml_yml.html
https://docs.opencv.org/4.x/da/d56/classcv_1_1FileStorage.html
If your issue not solved, feel free to reopen this issue.


PowerShell instructions don't add OMP to the path

Following the PowerShell instructions:

I got the prompt for which version to install. I could have used some guidance there on which one you expected me to choose, or at least that either choice is fine.

Either choice, the same thing happens. Winget completes (apparently) successfully, but typing any oh-my-posh command at the command line prompt or in my $PROFILE, I get this error message:

oh-my-posh : The term 'oh-my-posh' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path
was included, verify that the path is correct and try again.

If the thing I just installed doesn't land on my path automatically, then this document should walk me through setting that up.

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

ID: d3cbeb9a-9e7c-f8f4-5c03-5d6262d2b440
Version Independent ID: eb575c79-5b2a-45f6-646f-9d41d5d223e8
Content: Windows Terminal Custom Prompt Setup
Content Source: TerminalDocs/tutorials/custom-prompt-setup.md
Product: dev-environment
Technology: windows-terminal
GitHub Login: @cinnamon-msft
Microsoft Alias: cinnamon

@EXPErdelfavero - Are you talking about using winget to install Windows Terminal and providing more help on which  to choose?  Or am I misunderstanding your request?
I believe the difference between the two winget packages is that one is maintained (autoupdated) by the Microsoft Store and one is just a straight package install, but I can check into that further if that's the basis of your question. I don't believe that either choice should affect your pathing.

Take a look at the page link in the Details of my report. This isn't anything to do with installing Terminal. I've had that installed for some time, works fine for Ubuntu and CMD, seems to work for PowerShell (PS) though I don't use PS much. This is about trying to use oh-my-posh for a custom command line prompt in PS following the "Customize your PowerShell prompt with Oh My Posh" section in that topic.
I'm using winget to install oh-my-posh, the command copied from the first code block in that section. When I run the command, I'm told there are two different packages with the same name and different IDs and I need to "refine the input". I'm not complaining to you about that UX text, but would complain to the right person. 😁 You even have a screenshot of this (oh-my-posh-winget.png), but no explanation of which you want me to choose, or how to I should decide which to choose. You do give the command line to pick by ID, but nothing about which ID I should use. This is a small point, but crucial to someone who just wants to prompt set up and doesn't already know how to do this sort of thing in PS or with winget, whichever is relevant here.
It doesn't help that no matter which of the two IDs I use, the result is that I get the error message I quoted originally, about the term not being recognized. It feels like there's a step missing about updating a path or restarting the shell with the new install, but I was out of time to figure out what to do to get it working, and wrote this bug instead.

OK, thanks. As someone who's just trying to get the functionality and not learn all about winget and the different sources or kinds of packages, I'd appreciate having a specific recommendation in a how-to topic. (I get it, though, advice you give today might be made obsolete by new releases, etc...) Thinking about it, I wouldn't be surprised if the msstore version is from the same source, packaged for the store for ease of finding it...
Don't lose track of the part where I tried both the IDs listed, and both times I got the error message about not recognizing the command when I tried to run it. To my mind, that's actually a bigger problem than picking an ID to install. Presumably if I installed the wrong ID and ran it, there would be some indication of that fact.

Yes - I'm pretty certain both packages come from the same place. I think the difference between them would be that if the Oh-my-posh package is updated, the store version would automatically make that update, where the version straight from Jan would need you to do a winget upgrade oh-my-posh in order to grab the latest version. I just want to double-check that I'm correct about that and not missing any other differences.
And yes - agree that the more clear and straightforward we can make this, the better. It can be tricky to determine what level of detail to go into and when there's multiple aspects at play - like where to just point to the oh-my-posh docs or the package manager docs, so feedback like you've provided here is really helpful. Thank you.

Added more specific command to install from MS Store and check version in https://github.com/MicrosoftDocs/terminal/commit/901065508d78d24d7d7294456ea99e68de52a3c0.
Thanks again for bringing this point of confusion to our attention @EXPErdelfavero. Hopefully it will help others avoid running into this same issue.


if there is any data augmentation operation in the code？

Hello authors, please tell me if there is any data augmentation operation in the code. I tried to find it but couldn't find it.

no image augmentation, only resizing.  Since all other operations would affect the content and partially make images not related to QAs.

Indeed, image augmentation will affect the content. If "small range rotation", "contrast" and "brightness" are added to Otter, it may be helpful for classification tasks. What do you think?

Yes, I think it would be helpful!


the way to label data

Hi @mvirgo ,
I am curios how you make the label like below,

I have read the report you post here.
in the Algorithms and Techniques section, you said
Next, I must process the images for use in making labels, for which I will use the same techniques I previously used in my computer vision-based model
But I can't find the previous model you used.
In the reflection part, you said
I then created six coefficient labels, three each for both lane lines. Next, I created a program to
make those labels into re-drawn lanes

then I look into make_labels.py, you define load_drawn_images,
def load_drawn_images():
    """Load re-drawn lane image locations"""
    drawn_image_locs = glob.glob('draw/*.jpg')
    sort_drawn_image_locs = sorted(drawn_image_locs, key=natural_key)
    return sort_drawn_image_locs

I don't know how to make re-drawn images.
Can you show an example about labeling the image step by step and which python files you used?
thanks

The make_labels.py file is where you need to be; I just re-drew over the original lines in red to make them clearer. If you change the color thresholds in here to more closely match normal road conditions you can get what you need.
You can also check out Advanced Lane Lines for examples of normal thresholds, although do note I think that still uses the old method that doesn't work with curves as well.


Use of ES6 Default Param Value spec in JS functions

I'm attempting to create a helper function where I want to supply some default values (it is to wrap the e.force:showToast event, but could be for any reason, really).
ES6's default parameter value spec is so nice and syntax sugarlicious, I though I would give that a try.
No luck.
Here is the function definition:
fireToast : function(msg = 'No Message Specified',
                     title = 'Wobble Message' ,
                     duration = 5000, key, mode, type = 'info'){...}

When I attempt to save this, I get the following error:

ERROR: 0Ad240000008RPA: org.auraframework.util.json.JsonStreamReader$JsonStreamParseException: Expected ',' or ')' [64, 30]: '='

Not the end of the world, but would be really nice to have. Thanks!

This will hopefully be coming at some point in the future, but we currently don't have a way to allow it as the version of closure compiler that we have doesn't support this.

Is there something that prevents us from upgrading the version of closure compiler?

It looks like they are locked on a Java 6 version for some reason from 2013: v20130411
Given that there are significant fixes in later releases this should be a priority now that ES6 browsers will be the default post January 2018.


Converted README to Markdown syntax.

I noticed that your README was sort of in Markdown format, but wasn't actually valid Markdown and didn't have the Markdown extension. This commit changes the extension and fixes the formatting to make it valid Markdown.

@JackScottAU,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla.microsoft.com.
It will cover your contributions to all Microsoft-managed open source projects.
Thanks,
Microsoft Pull Request Bot

@JackScottAU, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request.
Thanks, Microsoft Pull Request Bot


ROSA policies content migration from old repo.

Migration of policies content from old repo. This content was never merged because it was still in QE review under an old PR. QE review still needs to be completed before this PR can be merged.
JIRA: https://issues.redhat.com/browse/OSDOCS-1682
Manual preview: http://file.rdu.redhat.com/jonwilli/moa/JIRA1682/policies_rosa/assembly-osd-service-definition.html
@yuwang-RH @yufchang @vikram-redhat @jeremyeder  @okashi18

The content was migrated from the wrong branch, so I had to update it. Unfortunately, this is going to require a second QE review. I will also update the JIRA card.
Note: There is no way to create a new preview from this repo. Please review the content in the PR instead. Thank you.
@yuwang-RH @vikram-redhat  @jeremyeder  @okashi18

The content was migrated from the wrong branch, so I had to update it. Unfortunately, this is going to require a second QE review. I will also update the JIRA card.
Note: There is no way to create a new preview from this repo. Please review the content in the PR instead. Thank you.
@yuwang-RH @vikram-redhat  @jeremyeder  @okashi18


Refreshing the window in light theme causes bad flicker

@aeschli fyi

fixed by 1e955490e80f3f2d63aabd6cb3b93e2bc37cd23b

@aeschli I am on latest and still see it when running  "out of dev"


[DSIP-22][TriggerPlugin] Introduce Trigger Plugin

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
After seeing all local & large distributed job-scheduling framework,
I found that we may leverage our excellent plugin framwork design and consider extending a key process in job-scheduling ---- Trigger, which allows user to defines their custom trigger in distributed runtime environment.
Apparently quartz has considered this situation, which is a part of master scheduler, but not extend into distributed executing semantics.
seeing https://www.quartz-scheduler.org/documentation/quartz-2.1.7/tutorials/tutorial-lesson-04.html
In distributed job-scheduling environment, we could aligned all trigger into a event trigger.
Use case

[Use case 1: TimerTrigger]
This is common case. which is currently widely supported by dophinscheduler and all other job-scheduling framework, which event is signal event from timer.
[Use case 2: MQTrigger]
for example, after receive a message with some pattern, we should start a new workflow. which event is message from MQ.
[Use case 3: HTTPTrigger/TCPTrigger/SMTPTrigger]
very popular. after we make a HTTP call with dophinscheduler-api, we should start a new workflow. even we can trigger pipeline after we receive an email from external 3p team.
which event is network call.
[Use case 4: Combine Streaming & Batch Job]
In common scenarios, we often use streaming to do some near-real-time OLAP job, which requires batch job for backfill supplyment in case some unexpected error happens in streaming.
which event could be any condition with streaming elements.

Benefits from the best plugin in dolphinscheduler.
We should consider to add trigger SPI plugin loaded by master server.
Overview:
  ┌────────────────────┐
  │                    │
  │ TriggerController  │
  └─────────┬──────────┘
            │
            │
  ┌─────────▼──────────┐
  │                    │
  │ TriggerServiceImpl │
  └─────────┬──────────┘
            │
       ScheduleV3
            │
┌───────────▼────────────┐                       ┌──────────┐
│                        │                       │          │
│  SchedulerServiceImpl  ├──────createCommand────►    DB    │
│                        │                       │          │
└────────────────────────┘                       └──────────┘                                           ▼

All trigger should trigger by Event
Event Delivery should based either Push or Pull mode.
Trigger only at the start on the workflow for easy implementation.

Detail Design
Controller Layer

TriggerController CURD Trigger

Compatibility

Scheduler has been refactor into scheduler-api partially.
Relationship of trigger spi & scheduler api

DB Layer

Create new table t_ds_trigger
Leverage current table t_ds_schedules
Use SimpleTrigger to execute immediately, so that we can update db accordingly in quartz scheduler implementation.

Related issues
[DSIP-16][Task] Support stream task
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

Good idea, we may need to design the TriggerAPI and TriggerEvent structure first.

Now architecture quartz scheduler uses db as Pessimistic Concurrency Control,
when job is execute we insert command into DB.
Deep dive if we can leverage quartz interface or we needs to implement ourselves in TriggerService. If so, we should leverage current master failover mechanism.

We have table t_ds_command table, or trigger event should transform to command.

Thanks wenjun.
These days I've been thinking the relationship of trigger & scheduler service responsibility in new architecture.
In my current high-level design.

host 2 trigger related table: trigger -> trigger instance, which currently may be host by quartz scheduler
Push: HTTPTrigger -> push -> create trigger instance
Pull: ThreadPool -> pull -> onevent -> create trigger instance

Pull mode is more common and needs resource, I am thinking integrate pull trigger into a special task type, which could be dispatched by master/worker, leverage current task architecture which can master/server failover.
 I suggest to put it into master due to we may not wants user create complex IO logic in trigger.

Scheduler takes trigger instance for scheduling, which could be scheduled by master host & priortity.

We need to define how to assign the trigger to Master, since we use pull mode, so all Master will pull the trigger from DB, we need to make sure one trigger will only be consumed by one Master.

We need to define how to assign the trigger to Master, since we use pull mode, so all Master will pull the trigger from DB, we need to make sure one trigger will only be consumed by one Master.

Here's current quartz architecture. DolphinScheduler uses quartz scheduled by timer trigger and insert command into DB. For quartz scheduler, it use exclusive lock while acquiring Triggers and fired them to get JobDetails for executing in hosted threadpool.
see https://github.com/quartz-scheduler/quartz/blob/main/quartz/src/main/java/org/quartz/core/QuartzSchedulerThread.java#L291-L381
Currently quartz not share public interface for us for implementation our own trigger mechanism.
Here's the high-level steps we implement this feature:

(Required) dolphinscheduler-ui & dolphinscheduler-api: add trigger controller: CURD trigger & push trigger implementation by inserting command directly
(Required) dolphinscheduler-scheduler-plugin: Implement new scheduler plugin

acquire distributed lock from RegistryClient
get triggers from db and wrap them into threadpool
if trigger success, callback will insert command into DB waiting for picking up to build workflow & processinstance.

(Optional) Consider unifying trigger and task or we just set them working individually.

I am still considering a better solution that we can compatible with quart scheduler in first version, but it seems a bit hard.
Luckily ds has few steps on it.

Step #1: create related table schema for review
Step #2: create trigger load plugin manager
Step #3: backend development, add a test api for local testing, draft api review for testing
Step #4: frontend development

Step #1: create related table schema for review Step #2: create trigger load plugin manager Step #3: backend development, add a test api for local testing, draft api review for testing Step #4: frontend development

Is there any progress? ^_^

master fetch t_ds_trigger_definition table for trigger
execute trigger, if it meets user-custom condition, insert a command into t_ds_command, note that this operation needs to be transactional

Here's the question,
currently our command fetching are based on id-based algorithm, the key point is when ProcessInstance is generated, we delete related command record.
https://github.com/apache/dolphinscheduler/blob/dev/dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessServiceImpl.java#L299
but we should not delete t_ds_trigger_definition in this scenario.
One solution is we add one more table to record offset for fetching, once master is alive, every time master will firstly acquire lock, then fetching t_ds_trigger_definition table for trigger and execute, finally we update offset into db with trigger_instance within one transaction.
for more gracefully, we can do it in consistent-hash way. just like memcached & brpc. https://github.com/apache/brpc/blob/master/src/brpc/policy/dynpart_load_balancer.cpp#L83consider to its complexity, I will use method #1 for implementation.

Any eta on at least http trigger to invoke a workflow on demand?


MSgapfill and MSgenome

Hello @Fxe ,
Minor edits of MSgapfill:

flagged unused imports
consolidated variable definitions
a solver argument was defined at the end of the run_gapfilling function signature to support the exploration of different solvers, while respecting back-compatibility where omitting the parameter is will simply operate with CPLEX (the original option) and all original positional arguments will operate just the same.
PEP-8 spacing was introduced to function parameters

and MSgenome:

flagged unused imports and function parameters
a redundant intermediary variable was replaced

Thank you :)
Andrew

Looks good. Big improvements to standardization of code and readability. Nothing I see should break anything.


Updated link to leaves repo.

Updated the bash script to point to the right fork with the change.

i am trying to install the fork version and it have some issues
@leavez  can you merge it? we can also create a new cask that install it with brew

i am trying to install the fork version and it have some issues @leavez can you merge it? we can also create a new cask that install it with brew

It would be great to have this PR merged.
If you clone my fork, it should be able to compile fine with Xcode. It's all leavez code. I haven't tried to compile since I made the PR, but only changes I made to the install script to point to leavez repo.


EXC_BAD_ACCESS code=1

I add the flow code to Base32Tests.swift
    func testBase32Decode() {
        self.measure{
            let b32 = "AY22KLPRBYJXNH6TRM4I3LPBYA======"
            for _ in 0...100 {
                _ = b32.base32DecodedData
            }
        }
    }

Run testBase32Decode can reproduce the error

Thanks for reporting! 🙏
I cut new release https://github.com/norio-nomura/Base32/releases/tag/0.5.3


Disable THP (Transparent Huge Pages)

It's recommended by the MongoDB docs: https://docs.mongodb.com/manual/tutorial/transparent-huge-pages/
See also https://github.com/voxpupuli/puppet-redis/issues/372.

hey @gdubicki, can you provide a PR for this?

Frankly I am not using this module, @bastelfreak , just voxpupuli/puppet-redis. I created this ticket to be something like a "know issue" thing as MongoDB was mentioned as a use case for disabling THP in alexharv074/puppet-disable_transparent_hugepage .


Create node.js.yml

Have you think about codecov.io for the test coverage?
Kongponents is doing it see https://app.codecov.io/gh/Kong/kongponents


KNOX-2771 - Log HTTP client config parameters such as socket timeouts with info level

What changes were proposed in this pull request?
Changed log level of http connection timeout and socket timeout to from DEBUG to INFO and added INFO level log for retry count and retry non safe request parameters, because sometimes clients were confused why the timeout parameters haven't changed even though they changed it in gateway-site.xml, but service.xml override-s it. Now they can see in the log what is the value of these parameters, only after the first request after topology deployment.
How was this patch tested?
I tested it manually, using curl -k -u tom:tom-password https://localhost:8443/gateway/sandbox/hive command from terminal.

Nothing is set:

Timeout params set in gateway-site.xml and retry params set in sandbox.xml:

Timeout params set in gateway-site.xml and in service.xml, retry params set like 2.:

We can see that service.xml overrides gateway-site.xml settings.
The logs only appear after the first request after the topology is deployed.
After that it is not logged until the topology is deployed again.

@smolnar82 @zeroflag

One more general ask: instead of using screenshots of text blocks (configuration, logs, etc...) in the description or comments, please use the 'text block' representation of GitHub PRs. The way it's impossible to copy-paste that content if I wanted to use it. For instance, instead of using this screenshot

Please do this:
    <property>
        <name>gateway.httpclient.connectionTimeout</name>
        <value>8m</value>
    </property>
    <property>
        <name>gateway.httpclient.socketTimeout</name>
        <value>10m</value>
    </property>


docs: improve specification diagrams

More sequence diagrams for different use cases
Statically render diagrams to avoid the annoying pop-in on load
Split up the lifecycle diagram
Standardize on a single tool (e.g. d2? https://d2lang.com/)

I think mermaid is still preferable to d2 (d2 feels a bit finicky and I don't think we generally need all the extra power, plus mermaid seems to be supported in more places). But we should pre-render diagrams.


[Bug] Powershell Install-dbaMaintenanceSolution parameters don't work

PowerShell Version        : 5.1.18362.752
dbatools latest installed : 0.9.834
Culture of OS             : en-US
SQL Server:
SQL Server 2017 14.0.1000.169
us_english
Report
Host used

[ X ] powershell.exe

[ X ] ISE

[ ] VS Code

[ ] Other (please specify)

[ X ] Still buggy in powershell.exe

Errors Received
No errors... everything completes, but parameters are not applied in the jobs.
[09:17:10][Install-DbaMaintenanceSolution] Installing on server localhost, database Server_Info.
[09:17:10][Install-DbaMaintenanceSolution] Installing MaintenanceSolution.sql.
[09:17:10][Install-DbaMaintenanceSolution] Installation complete.
Steps to Reproduce
Simply try and run the install command with any parameters and it will not create the job using anything but the default values.
Expected Behavior
I expected it to create the jobs with the parameters specified.
Actual Behavior
Jobs were created with default values.

I would try this with the latest version of DBATools... you're quite a few versions behind.

I would try this with the latest version of DBATools... you're quite a few versions behind.

Updated to version 1.0.115... same issue persists.

Please provide steps to replicate the issue you are having along with verbose console output.

Please provide steps to replicate the issue you are having along with verbose console output.

#SQL Instance to install Server_Info on
$SQLServer = "localhost"
#Specify a backup path for OLAs maintenance scripts
$OlaBackupLocation = "C:/"
$OlaCleanupTime = 72
#Specify the datafile & logfile path for the DB
$DataFilePath = 'C:\Program Files\Microsoft SQL Server\MSSQL14.MSSQLSERVER\MSSQL\DATA\Server_Info.mdf'
$LogFilePath = 'C:\Program Files\Microsoft SQL Server\MSSQL14.MSSQLSERVER\MSSQL\DATA\Server_Info_log.ldf'
#Install OLA Maintenance Solution
Install-DbaMaintenanceSolution -SqlInstance $SQLServer -Database 'Server_Info' -BackupLocation $OlaBackupLocation -CleanupTime $OlaCleanupTime -InstallJobs -ReplaceExisting
The end result:

Please remove the file name from both of these paths:
$DataFilePath
$LogFilePath

They should only point to the folder location you want the MDF and LDF wrote to.

Please remove the file name from both of these paths:
$DataFilePath
$LogFilePath

They should only point to the folder location you want the MDF and LDF wrote to.

Removed and reran, but those params aren't even used in the installation script I pasted.

I don't write my backups to the root system drive, but yes the command does work properly for me.

Okay so if I run it in a WIndows Powershell session like you it does work, but if I run it in the ISE or a Powershell 7 window it does not work.  That is unfortunate.  I wonder if it will run properly in an Azure Runbook... going to test now.

Azure Automation runbooks don't support PowerShell 7 so it should work fine.

Would this:
$OlaBackupLocation = "C:/"
versus this
$OlaBackupLocation = "C:\"
make any difference?

@janszedc I have no issues with PowerShell 7 using the same command provided. It creates the jobs properly.

I will close this for now, but you can reopen it if this is still an issue with the current version.

Hi Andreas
Same issue here.
Parameters are NULL, running the command from VSCode (Powershell and PowerShell Integrated) and also from PowerShellIse.
Install-DbaMaintenanceSolution -SqlInstance xxxxxx -Database "_DBA" -CleanupTime 504 -InstallJobs -LogToTable -ReplaceExisting
PowerShell 5.1
Dbatools 1.0.153
Using the profiler, all parameters have default values but the default database.

Regards,
Christophe

Sorry @conseilit , can you please go into more detail what the problem is?

Maybe you have an old version of the script in the local cache. Please use -Force to get the latest version from github.

Hum, strange, the Maintenance Solution Repo has not changed for 5 months. And i'm creating many instances / month using teh same ps1 script ....
By the way, using the -Force solves the issue.
Thanks


reduce listing deployments time

Description
reducing listing deployments time
Changes
reduce listing time by ignoring chunk3 in default case, when the toggle is switched on, listing function will work normally for the three chunks
Related Issues
#2438
Documentation PR
For UI changes, Plaese provide the Documetation PR on info_grid
Checklist

[ ] Tests included
[x] Build pass
[ ] Documentation
[x] Code format and docstrings
[ ] Screenshots/Video attached (needed for UI changes)

if the items are deployments, please rename the variable to deployments instead
@Mahmoud-Emad
yes it is, but I'm afraid that may have effects on other places, as the LoadedDeployemnt type have items

@0oM4R Is this normal?

is this network issue ?

@0oM4R Is this normal?

is this network issue ?

Fixed by building the project.


Sojourn time parametric modelisation

Hello poypoyan,
It looks like the sojourn time is modeled as non parametric distribution, will you consider in the future to provide parametric modelisation of the sojourn time such as the Poisson distribution ? (In order to address problems with large sojourn time in hidden states).
Thank you again.
Best
Ronan

Hello,
Yes, I considered that before (see https://github.com/poypoyan/edhsmm/issues/7). However, I still do not have enough idea on how to implement that :(. I'll take note of this, but this is less priority to me than the censoring testing.
Thanks!
poypoyan

Hello,
Apologies, but I'll not work on this anymore, because I'll archive this repo, see #20.
Thank you,
poypoyan


USHIFT-3480: exclude fips tests from 4.17

fips  check-payload missing golang-1.22 symobls  in 4.17 , temporarily disabling fips tests from periodics.

@eslutsky , can be rename the files to .disabled instead of deleting them?

/lgtm

/test metal-periodic-test

test is failing because of aws infra capacity issue.

/test metal-periodic-test

/test metal-periodic-test

/unhold


add alchemy mention in cancelPrivateTransaction RPC section

Closing in favor of fresh PR https://github.com/flashbots/flashbots-docs/pull/462


When doing a partial refund the tax isn't matching

When doing a partial refund the tax isn't matching. I'm sending a screenshot. In this example, the order line says the tax is 64.17, but next to the refund button the tax is 84.46.

This is a general Magento bug, as I see it.

Since this is a Magento bug, Please upgrade to the latest version.


[BEAM-389] Provide equals and hashCode in DelegateCoder

R: @kennknowles
CC: @dhalperi

I also have to provide equals and hashCode in StringDelegateCoder and tests.
PTAL

PTAL
made DelegateCoder final


IE9 + Placeholder blows up

When using the placeholder control with IE9, I get the following error:
 Error: [$compile:ctreq] Controller 'ngModel', required by directive 'placeholder', can't be found!

and also
TypeError: Unable to get property 'source' of undefined or null reference undefined

tracing the error up the call stack, we can see there is a undefined exception in the ngModel.$formatters function.  http://www.screencast.com/t/Q3UGvMYQp
My control setup looks like:
<ui-select ng-model="$parent.saveAsId" name="report" style="width:100%;">
    <ui-select-match>{{$select.selected.name}}</ui-select-match>
    <ui-select-choices group-by="reportType" repeat="report.id as report in availableReports | filter: $select.search">

    </ui-select-choices>
</ui-select>

I'm using Angular 1.3.1

Same problem here..
Any help will be appreciated.

That was my fault :), I'm using jade for html templating, one tab missed before ui-select-match blowed everything up!!!
Old code:
ui-select(
  ng-model="journal.from.id",
  theme="bootstrap",
  style="width: 400px"
  )
ui-select-match(placeholder="من المدين") {{$select.selected.name}}
ui-select-choices(
    repeat="account in accounts track by $index"
    )

Updated code:
ui-select(
  ng-model="journal.from.id",
  theme="bootstrap",
  style="width: 400px"
  )
  ui-select-match(placeholder="من المدين") {{$select.selected.name}}
  ui-select-choices(
    repeat="account in accounts track by $index"
    )

You may notice additional one tab in the updated code.

I'm still seeing the same problem on Chrome. I'm using angular#1.3.15, angular-ui-select#0.11.2.
My html setup looks like:
{code}

{{$select.selected.set_name}}

{code}
Any help will be appreciated.


Recompling tests in Delphi 11.2 causes IO 105 errors

Taking existing tests and simply recompiling them use Delphi 11.2 causes I/O Error 105 errors.
It looks like no matter what the tests are compiled with, the WindowsConloseWriter sets Self.RedirectedStdOut to be true.
Even if the actual console logger is not set, then the final call to System.Write in the project - System.Write('Done.. press <Enter> key to quit.'); still causes the exception.
It looks like the call to GetConsoleMode always returns false, setting the RedirectedStdout flag.
It might be something in the tests that is causing this, but I don't understand why it works in 10.2 and not in 11.2

I'm not able to reproduce this here.  Try recreating the project and copying the existing units in, perhaps something got messed up during the upgrade process.

I had this way back when I used the console.
At development I have been using TestInsight, so have not tested the
console.
It somehow can't allocate a console always. I have a feeling that there
were some fixes to this. But not sure though. Vaguely remember it might
have been a problem of tested code, to interfere with console creation
somehow. I'll try to dig up more info...
On Thu, Nov 24, 2022 at 11:23 AM Mark Humphreys @.***>
wrote:

Taking existing tests and simply recompiling them use Delphi 11.2 causes
I/O Error 105 errors.
It looks like no matter what the tests are compiled with, the
WindowsConloseWriter sets Self.RedirectedStdOut to be true.
Even if the actual console logger is not set, then the final call to
System.Write in the project - System.Write('Done.. press  key to
quit.'); still causes the exception.
It looks like the call to GetConsoleMode always returns false, setting
the RedirectedStdout flag.
It might be something in the tests that is causing this, but I don't
understand why it works in 10.2 and not in 11.2
—
Reply to this email directly, view it on GitHub
https://github.com/VSoftTechnologies/DUnitX/issues/324, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA7E2H243QPK44QSOPQT2D3WJ4X2FANCNFSM6AAAAAASKCMKVA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I have noticed that occasionally it all works. I suspect that it is something in the code being tested, but I will have to start recreate the project one set of tests at a time.


Electron communication and update dialogs

Moved everything I could, including initialization logic, to the electron module

Looks good


Issue #16: counties() - Match correct state column name to shapefile schema

Added this section to state column validation step to account for different file schemas:
   ...
    if state is not None:
        if type(state) is not list:
            state = [state]
        valid_state = [validate_state(x) for x in state]

        if year == 1990:
            state_col = 'ST'
        elif year in [2000, 2010]:
            state_col = 'STATE' if cb is True else f'STATEFP{yr}'
        else:
            state_col = 'STATEFP'

        ctys = ctys.query(f'{state_col} in @valid_state')
    ...

See the issue for further context, and this notebook: https://github.com/apsocarras/pygris/blob/issue-4/reprex/reprex.ipynb

I mistakenly named the branch #4, this is for Issue #16

Thanks for the PR and reprex!  I'll look through this and get this fixed.


Extension module isn't built

[x] I read the conda-forge documentation and could not find the solution for my problem there.

Issue:
crcmod tries to build an extension module. gsutil (the Google Cloud Storage CLI client) hopes that it will be available because the extension module is much faster than the pure-python implementation, and complains if it's missing. cf. https://github.com/conda-forge/google-cloud-sdk-feedstock/issues/79
Inspecting the contents of https://anaconda.org/conda-forge/crcmod/1.7/download/linux-64/crcmod-1.7-py38h32f6830_1003.tar.bz2, it does not contain any .so files, so the compiled extension isn't being shipped in the architecture-specific versions of the package that this feedstock builds.
That means that the conda-forge flavour of crcmod can't be used to satisfy gsutil's optional dependency on a compiled crcmod.
It would be nice if the architecture-specific variants contained the extension modules.

@tdsmith, this feedstock has not been maintained very well and I took it on only because I needed python 3.9 support for some downstream package (not sure which).
If you have the time and expertise to add a PR to switch back to the architecture-specific builds and include the extensions you need, that would be most welcome.  If you want to add yourself as a maintainer, that would also be welcome.  Otherwise, I will try to get to this when I can.

Thanks for the response! I have some funemployment time coming up and I'll try and take a look then.

I've opened https://github.com/conda-forge/crcmod-feedstock/pull/13


Set text-decoration of Open Info icon

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the Bug
Storefronts that have a CSS selector targetting all a tags with a text-decoration:underline can inadvertently add an underline to the Open Info icon in the toolbar.
Steps To Reproduce
Add the following CSS to observe the issue:
a {
    text-decoration: underline;
}

Expected Behavior
An underline is not visible for the Open Info icon in the toolbar
Screenshots
No response
Environment
No response
Additional Context
No response

A PR to fix this is here: https://github.com/sfccdevops/sfcc_developers_core/pull/42

Fixed by #42


No platform specified

Electron is querying an url like this https://download.someapp.com/update/darwin_x64/1.1.1/latest-mac.json. This produces a 404 error, Page not found. Nuts logs out the following:
Error: No platform specified and impossible to detect one
at Nuts.onDownload (/app/lib/nuts.js:150:36)
at wrapper (/app/node_modules/lodash/index.js:3189:19)
at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)
at next (/app/node_modules/express/lib/router/route.js:137:13)
at Route.dispatch (/app/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)
at /app/node_modules/express/lib/router/index.js:281:22
at Function.process_params (/app/node_modules/express/lib/router/index.js:335:12)
at next (/app/node_modules/express/lib/router/index.js:275:10)
at /app/node_modules/express-useragent/index.js:43:9

What am I doing wrong? Am I using the wrong URL?

Turns out that this is a safety feature of running nuts on Google App Engine. No Updates available (204 No Content) is translated automatically into a 404 Page not Found. When an update is actually available it works as advertised.


Issue #142: [iOS] Incorrect MIME Types

Fixes #142
Most files served from ContentSync's 'localPath' had a MIME Type of application/octet-stream under iOS 10. Surprisingly the only problematic effect I've seen from this so far is that svg graphics weren't drawing.
Also the anti-caching headers weren't being set if the existing Accept header was missing.

just confirming this fix worked for our broken SVG's on IOS10, any ETA on this being pulled into a release?

Hi @DhiaNHM
I've merged this in, but if you're using the PhoneGap Developer App expect to see a release sometime this week.


Problems exportating r_knee and wrist from CREO to Simmechanics

Right now I had to manually fix the simmechanics XML for the r_knee exported as weld, and the missing stl for l_wrist_1 link

50237ab (#27)
0200cab (#27)

Shall we keep track in a separate issue of these glitches in the exportation from creo?
@Lawproto @mfussi66 @Mick3Lozzo @pattacini @salvi-mattia @fiorisi
Originally posted by @Nicogene in https://github.com/icub-tech-iit/ergocub-software/issues/27#issuecomment-1381604207

To add a bit of details:

Regarding the left wrist STL, we get the following error:

Unable to triangulate part SIM_ECUB_L_WRIST_1.  Aborting output.
Warning: The stl file for SIM_ECUB_L_WRIST_1 could not be created.

The options in the Simscape Plugin do not seem to be able to fix the issue, maybe we can try to lower the shrinkwrap quality or play around with the stl export options? (cc @lawproto)

Regarding the right knee, there is no warning or error at all during the export process

The options in the Simscape Plugin do not seem to be able to fix the issue, maybe we can try to lower the shrinkwrap quality or play around with the stl export options? (cc @Lawproto)

Yes, usually changing the shrinkwrap quality solves the problem.

there is a span in the quality level in the guidelines [it seems me 7-9]
it is better to use the lowest that give the result rather than go straight for the highest

it is better to use the lowest that give the result rather than go straight for the highest

Did not know this prior to tackling the pre-URDF sim model experience, I went for the highest whenever possible instead. Thanks for the suggestion.
FYI I noticed that the same quality number seem to give pretty different mesh result for very similar or even equal links. Felt kinda odd, to be honest. This is a copmarison between l_wrist_1 and r_wrist_1.
.

Guess which is on the left and which is on the right of the image 😃

Did not know this prior to tackling the pre-URDF sim model experience, I went for the highest whenever possible instead. Thanks for the suggestion.

you live, you learn

FYI I noticed that the same quality number seem to give pretty different mesh result for very similar or even equal links. Felt kinda odd, to be honest. This is a copmarison between l_wrist_1 and r_wrist_1. .
Guess which is on the left and which is on the right of the image

yes, it happens

With the commit above, I did all the necessary steps to recreate a new l_wrist_1 model for the Creo 7 ecub sim model. I chose quality 6, which is the lowest contemplated by our guidelines.
@mfussi66 please let me know if this solves your problem.

The wrist seems fine now! See the meshlab screenshot of the opened STL:

The knee issue is persisting.

Since we decided to not generate anymore ergoCub 1.0 urdf using simmechanic_to_urdf and since it seems to not happen when using creo2urdf we can close this issue.


NTR: [regulation of cortical cytoskeleton organization]

Please provide as much information as you can:

Suggested term label:

regulation of cortical cytoskeleton organization

Definition (free text)

standard def

Reference, in format PMID:#######

PMID:9372443

Gene product name and ID to be annotated to this term

Parent term(s)

GO:0030865 | cortical cytoskeleton organization

are you sure rho1p regulates cytoskeleton organization ? It seems it could be part of the process or cytoskeleton organization?

That's a good question, I don't know how to annotate the GTPases:
Look at this:
https://www.pombase.org/gene/SPAC1F7.04
and at SGD
https://www.yeastgenome.org/locus/S000006369#go
none of  us know whether GTPases are "part_of" or "regulation"
I have erred on the side of 'regulation' because it acts as a 'switch'  and it is connected to the pck signalling:
https://www.pombase.org/reference/PMID:11102532
Although overexpression of rho2(+) in wild-type or pck1 delta cells is lethal and causes morphological alterations, actin depolarization, and an increase in alpha-D-glucan biosynthesis, all of these effects are suppressed in a pck2 delta strain.
(this is rho2, but rho1 also acts as an adaptor for protein kinase C)
and here in regulation of septation
https://www.pombase.org/reference/PMID:29813053
but I wonder if all of these are really due to the effects from  "regulation of trafficking" but the GTPases do seem to 'control' the actin cytoskeleton organization in some way.
I think we should discuss this on an annotation call....it is one of my questions
Slide 22 https://docs.google.com/presentation/d/1nXF8QrA21XURoaIDNHFR6sbO2e0inxom772eqSg2bV0/edit#slide=id.g15ebbd8f1dd_1_7
but the example I used was the sro7 GTPase activator and the Scd1 GTPase
in relation to exocytosis/endocytosis. Are these regulation? or not?
https://www.pombase.org/gene/SPAC1F3.03

Sounds good.
I think we need to distinguish regulation of a MF within a process and regulation of the process itself. And of course knowing the start and end of the process is really helpful to distinguish between the two.
I looked for more recent papers and I cannot find much. Maybe this is a case where we need to use 'acts upstream of or within, positive (?) effect - what do you think?


Something is not right! Try another image.

Hi,
It seems to be a great tool for analyzing mitochondria in multicell images.
However, I have tried to use the sample images (multicell images - 143) on cell_catcher after the usage of Nuc_Adder, no matter what settings I tried it with (with low nuclei signal level), it returned with Something is not right! Try another image.
I have tried with 100+ Nuclei Non Uniformity as suggested and checked with "Low Nuclei Signal"
How should I set the Nuclei Signal Threshhold, Nuclei Non Uniformity and Nuclei Size Threshold to proceed?
Thanks!

The closed thread had a similar answer. Will proceed to mitogenie now, thanks!


dx-radio-group   option shuffling

HOw to shuffle options dyanamically  defined in dx-radio-group using Angular2?

At the moment, it's not clear to me what you mean by "shuffle options". Please post this issue to our support center and elaborate on the behavior you are looking for.


orthw: Generalize the batch creation of package configurations

Drop the command pc-create-offending, which creates package
configurations for all packages with offinding license findings, in
favor of the new command pc-create-all, which creates package
configurations for the provided packages IDs. The package IDs are read
from the provided file or else from standard input.
Note: Creating package configurations for all offending packages is
still possible via orthw offending-packages | orth pc-create-all.

@tsteenbe I implemented you intial proposal instead of this one in #43.
So, closing this PR in favor of #43.


Metrics API (node/pod resource usage)

The Metrics Server (Resource Metrics API) is currently not set up, this is already mentioned as a to-do in the README:

Metrics API due to kube aggregation not being setup

Please add support for the Resource Metrics API (metrics.k8s.io/v1beta1 API version) to track node/pod resource usage and allow using kubectl top (#157) and tools like kube-ops-view.
K3s is awesome btw :smile:

Also realized today that the fact that metrics API is not present anything relying on HorizontalPodAutoscaling won't work either. :( That is something I ran into with trying to autoscale a deployment on k3s.

I had a similar issue with kind (Kubernetes in Docker), here how I deployed Metrics API: https://github.com/kubernetes-sigs/kind/issues/398

Metrics server should work with the latest RC, but needs some extra configuration.
To verify functionality k3s should run with a --kubelet-arg="address=<IP_ADDRESS>" flag, ex:
INSTALL_K3S_VERSION=v0.4.0-rc2 ./install.sh --kubelet-arg="address=<IP_ADDRESS>"

And install metrics server using our custom deployment from the root of this repo:
kubectl apply -f recipes/metrics-server

Then after a minute test metrics scraping:
kubectl get --raw /apis/metrics.k8s.io/v1beta1/nodes

Our goal is to continue improving k3s so a default deployment of metrics-server will work with the default arguments of k3s, this is being tracked in /issues/328.

Works for me. Started up k3s using:
root@k3s-node1:~# k3s server --kubelet-arg="address=<IP_ADDRESS>"

Applied metrics-server manifests:
root@k3s-node1:~# k3s kubectl apply -f k3s/recipes/metrics-server/
clusterrole.rbac.authorization.k8s.io/system:aggregated-metrics-reader created
clusterrolebinding.rbac.authorization.k8s.io/metrics-server:system:auth-delegator created
rolebinding.rbac.authorization.k8s.io/metrics-server-auth-reader created
apiservice.apiregistration.k8s.io/v1beta1.metrics.k8s.io created
serviceaccount/metrics-server created
deployment.apps/metrics-server created
service/metrics-server created
clusterrole.rbac.authorization.k8s.io/system:metrics-server created
clusterrolebinding.rbac.authorization.k8s.io/system:metrics-server created

Able to see pod and node metrics:
root@k3s-node1:~# k3s kubectl top node
NAME        CPU(cores)   CPU%   MEMORY(bytes)   MEMORY%
k3s-node1   40m          4%     350Mi           72%
root@k3s-node1:~# k3s kubectl top pod --all-namespaces
NAMESPACE     NAME                              CPU(cores)   MEMORY(bytes)
kube-system   coredns-857cdbd8b4-dl2bx          4m           11Mi
kube-system   helm-install-traefik-s8x6m        0m           0Mi
kube-system   metrics-server-675d76bcdb-6bc26   1m           14Mi
kube-system   svclb-traefik-6cf7794986-jdpd4    0m           1Mi
kube-system   traefik-55bd9646fc-d8bc9          4m           14Mi

Thanks for testing @dnoland1!

@erikwilson fix for the README: https://github.com/rancher/k3s/pull/355


Consolidated four CoreGraphics execution tests

I don't see any reason to split the tests like this. I merged the tests into the biggest and best-organized test file.
I also removed the REQUIRES: OS=macosx line from the test because CoreGraphics API should be available on all platforms.

@swift-ci Please test

@swift-ci Please test

Build failed
Swift Test Linux Platform
Git Sha - dea42944a7952857954ae44d1cb381f39417209c

Build failed
Swift Test OS X Platform
Git Sha - dea42944a7952857954ae44d1cb381f39417209c

@swift-ci Please test macOS

Build failed
Swift Test OS X Platform
Git Sha - 977d25e4bbcb264c9460a9ef2ef9520bd3832c3f

@swift-ci Please test

@swift-ci Please test

@swift-ci Please test Windows

Build failed
Swift Test OS X Platform
Git Sha - 9d527699098dbef7e37bd6ec84791993205c2c32

@swift-ci Please test

@swift-ci Please test

@swift-ci Please test Windows

Can you help me change to vietnames language github board because I am not familiar with this application and have language weaknesses


feat: allow adding conditions to actions

Can't be merged until server changes so there is less urgency.
Adds ConditionCreatorModal to create conditions (currently only Enum and Value conditions)

Changes to render ValueConditions on actions details list and action scorer list

Better visualized with Video
E2E tests:

:tada: This PR is included in version 0.401.0 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update gradle-wrapper.properties

I had a problem building for android and tried his fix and it worked
Thanks

Any updates on when this is gonna be merged? Also because Android 15 is gonna be available tomorrow , can u change the compileSdkVersion to 35? I'm having problems building my app on Android 15


Windows 10 build issue

I'm using Windows 10 with Visual Studio Community 2015. Initially, the output for npm install was along the lines of

C:\Users\Mike\Documents\GitHub\atom\build\node_modules\minidump\build\minidump.vcxproj(20,3): error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.

Modifying the VS installation to include the Windows 8 SDK appears to resolve this particular issue, but I then get
><EMAIL_ADDRESS>install C:\Users\Mike\Documents\GitHub\node-minidump
> node-gyp rebuild

C:\Users\Mike\Documents\GitHub\node-minidump>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node  rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Platform.targets(64,5): error MSB8020: The build t
ools for v140 (Platform Toolset = 'v140') cannot be found. To build using the v140 build tools, please install v140 bui
ld tools.  Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-cli
ck the solution, and then selecting "Upgrade Solution...". [C:\Users\Mike\Documents\GitHub\node-minidump\build\minidump

I'd really like to get this working so that I can build Atom on Windows [ref https://github.com/atom/atom/issues/6667] and I'm happy to provide any other information that could help to debug it.

Ok, a couple of days of trial and error has paid off: uninstalling VS completely, installing VS Express, setting the environment variable GYP_MSVS_VERSION=2013 and restarting has done the trick. I realised I forgot to try restarting after getting the second error above, so I suspect that VS Community (or Express) 2015 would have been ok with the extras added.


Re Stored Product Copy Feature

@amit-webkul, Getting a translation issue with the creation of the variant product. and also for Copied product name should be unique so that the slug will generate unique. Here

checks have passed

Done


[CLOSED] Resource: Module 2 / Custom strlen

 Issue by jesseilev
Friday Nov 06, 2015 at 00:11 GMT
Originally opened as https://github.com/Launch-Code/cs50x-live-2016/issues/9

An example program that writes and uses a custom implementation of the strlen function.
The function should simply iterate over a string and increment a counter until it reaches '\0', the null terminator.
Put it in customstrlen.c

 Comment by ben2525
Friday Dec 04, 2015 at 02:05 GMT

Sent the solution to Jesse by email

 Comment by jesseilev
Monday Dec 07, 2015 at 22:59 GMT

Done. Resource is here

 Comment by stlou
Friday Dec 04, 2015 at 17:32 GMT

Need to still need to make the folder in the exercises dir, and put ben's solution into the readme


Create 0x2841a8a2ce98a9d21ad8c3b7fc481527569bd7bb

Add SL3 Logo

o

Hey thanks for your interest in adding your token image to Pangolin! Please check out our README on instructions on formatting. The image must be called logo.png and the directory name is the checksum cased token address


chore(bindings/nodjes): Don't check-in binaries

I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/
Summary
Fix https://github.com/datafuselabs/opendal/issues/1468

LGTM


fanta pants

"chainId": 101,
"address": "5VQPTUA7GtHHjve58NjpNnVyq9vrrFyaiq7t3ZeaBkyz",
"symbol": "FANTAPANTS",
"name": "fanta pants",
"decimals": 6,
"logoURI": "https://raw.githubusercontent.com/gingeronenft/fantapants/e25799b3bbc3e82f695fd7e916fd71e19cf926f5/image-asset.png",
"tags": [
,
"meme-token"

I can help refer this https://github.com/zakimzf/profile/pull/1
PS : if you don't need my help...then please ignore this!


Fix DHCPv4/6 net_pkt alloc timeout

Avoid freezing system workqueue when allocating net_pkt
Fixes #77935

Thanks for getting to this :)
Seems to work on my end (dhcpv4) with the 100msec timeout.


Add swift_objc_members attribute to RLMObjectBase

which will allow Swift 3.x syntax RLMObject/Object subclasses to continue working in Swift 4.x (i.e. without marking dynamic properties as also being @objc).
Depends on #5218.

Should we also remove @objc from all our tests and sync models if this makes it unnecessary?

The downside of doing this is that it's not at all obvious to users that other properties and types in their classes are going to have subtly different semantics than if they didn't inherit from Object. Requiring @objc be specified on each property or @objcMembers be used makes the different behavior explicit.

Should we also remove @objc from all our tests and sync models if this makes it unnecessary?

Sure, let's do that.

their classes are going to have subtly different semantics

I don't think so, since it appears to only really affect properties/functions that are also marked as dynamic, and so far the dynamic keyword is only implemented in terms of objective-c runtime dynamic dispatch.
Do you have a concrete example in mind where you'd get different semantics?

The examples in SE-160 demonstrate a number of cases where you'll see different semantics.
Two cases stick out:
class MyClass : Object {
  func foo() { }
}

MyClass.foo() would not be callable from Objective-C in Swift 4 unless explicitly annotated as @objc, but is if Object is declared as @objcMembers.
class MyClass : Object {
  func foo(_ int: Int) { }
  func foo(_ double: Double) { }
}

This would be valid in Swift 4 without @objcMembers, but is invalid with it due to the two functions having the same Obj-C selector.

Thanks for surfacing those examples. IMO that's reason enough to not do this. Closing.


handle onMouseOver and onMouseLeave

Is there anyway to handle events and pass it directly into the styled component without dealing with state? I was thinking being able to do something like:
<MyComponent onMouseOver={() => true} onMouseLeave={() => false}></MyComponent>

We don't want to make state part of the equation obviously since you could very easily create a HOC wrapper for it or just embed the logic into one of your components yourself, but there are some other solutions obviously.
You could also just use the :hover pseudo selector where you just want to change styling based on mouse hovers. But apart from that hovers will be application UI state, which is not what we manage ;)


Items in the overflow of the TextSelectionToolbar should take the width of the largest item

Steps to reproduce

create a Material style TextSelectionToolbar with contextMenuBuilder of a TextField, TextFormField or similar
make the context menu items overflow to show the overflow button
2.1. if you are in DartPad and the menu does not overflow, you can drag the vertical divider between the code and the display to make the display smaller.
2.2. similarly, you can add more ContextMenuButtonItems to the Toolbar to make it wider
open the overflow menu

Expected results
All items in the overflow menu should have the width of the largest item
Actual results
All items have their own minimal width resulting in a non-clickable area beside them
Code sample
Code sample
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();

    if (kIsWeb) {
      BrowserContextMenu.disableContextMenu();
    }
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Center(
          child: TextFormField(
            initialValue: "Example Text",
            contextMenuBuilder: (context, editableTextState) {
              final anchors = editableTextState.contextMenuAnchors;
              final buttonItems = [
                ContextMenuButtonItem(label: "More items", onPressed: () {}),
                ContextMenuButtonItem(label: "To make the menu", onPressed: () {}),
                ContextMenuButtonItem(label: "Overflow", onPressed: () {}),
                ...editableTextState.contextMenuButtonItems,
                ContextMenuButtonItem(label: "Long example menu item", onPressed: () {}),
                ContextMenuButtonItem(label: "Short", onPressed: () {}),
              ];

              // Follwing is the code that AdaptiveTextSelectionToolbar uses when the platform is android.
              // I copied it to force the material style toolbar

              final List<Widget> buttons = <Widget>[];
              for (int i = 0; i < buttonItems.length; i++) {
                final ContextMenuButtonItem buttonItem = buttonItems[i];
                buttons.add(TextSelectionToolbarTextButton(
                  padding: TextSelectionToolbarTextButton.getPadding(
                      i, buttonItems.length),
                  onPressed: buttonItem.onPressed,
                  child: Text(AdaptiveTextSelectionToolbar.getButtonLabel(
                      context, buttonItem)),
                ));
              }

              return TextSelectionToolbar(
                anchorAbove: anchors.primaryAnchor,
                anchorBelow: anchors.secondaryAnchor == null
                    ? anchors.primaryAnchor
                    : anchors.secondaryAnchor!,
                children: buttons,
              );
            },
          ),
        ),
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration

The buttons  with shorter text do not take the full width, resulting in a non-clickable area on their right hand side

Logs
No response
Flutter Doctor output
Doctor output
none
The example code was executed in DartPad with Dart 3.3.0 and Flutter 3.19.0 on the Stable channel

Thanks for filing this @JannikWinter.
I can't seem to reproduce this on my end both on mobile and testing with DartPad (the toolbar doesn't come up).

Can you please provide more information on the reproduction steps?

Thank you for looking into this and sorry for the inconvenience @dam-ease.
I updated the reproduction steps and the example code :)

Thanks for your response and the update @JannikWinter
I can reproduce this on the latest master and stable channels.
https://github.com/flutter/flutter/assets/53122008/f913dbae-2527-4239-b484-389d615705a1
stable, master flutter doctor -v

[!] Flutter (Channel stable, 3.19.1, on macOS 14.2.1 23C71 darwin-arm64, locale
    en-NG)
    • Flutter version 3.19.1 on channel stable at
      /Users/damilolaalimi/sdks/flutter
    ! Warning: `dart` on your path resolves to
      /opt/homebrew/Cellar/dart/3.1.5/libexec/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/damilolaalimi/sdks/flutter.
      Consider adding /Users/damilolaalimi/sdks/flutter/bin to the front of your
      path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision abb292a07e (6 days ago), 2024-02-20 14:35:05 -0800
    • Engine revision 04817c99c9
    • Dart version 3.3.0
    • DevTools version 2.31.1
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/damilolaalimi/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/damilolaalimi/Library/Android/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.14.3

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

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      17.0.6+0-17.0.6b802.4-9586694)

[!] Android Studio (version unknown)
    • Android Studio at /Users/damilolaalimi/Downloads/Android Studio
      Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to determine Android Studio version.
    • Java version OpenJDK Runtime Environment (build
      17.0.7+0-17.0.7b1000.6-10550314)

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

[✓] VS Code (version 1.83.1)
    • VS Code at /Users/damilolaalimi/Downloads/Visual Studio Code.app/Contents
    • Flutter extension version 3.78.0

[✓] Connected device (5 available)
    • sdk gphone64 arm64 (mobile) • emulator-5554                        •
      android-arm64  • Android 14 (API 34) (emulator)
    • Damilola’s iPhone (mobile)  • 00008110-001964480AE1801E            • ios
      • iOS 17.1.1 21B91
    • iPhone 15 (mobile)          • DBCC5388-DA57-470E-8F0E-477EA0AA3C3A • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-17-2 (simulator)
    • macOS (desktop)             • macos                                •
      darwin-arm64   • macOS 14.2.1 23C71 darwin-arm64
    • Chrome (web)                • chrome                               •
      web-javascript • Google Chrome 122.0.6261.69

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.

[!] Flutter (Channel master, 3.20.0-13.0.pre.47, on macOS 14.2.1 23C71 darwin-arm64, locale en-NG)
    • Flutter version 3.20.0-13.0.pre.47 on channel master at /Users/damilolaalimi/fvm/versions/master
    ! Warning: `dart` on your path resolves to /opt/homebrew/Cellar/dart/3.1.5/libexec/bin/dart, which is not inside your current Flutter SDK checkout at /Users/damilolaalimi/fvm/versions/master. Consider adding /Users/damilolaalimi/fvm/versions/master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 331769f397 (3 hours ago), 2024-02-26 23:50:40 -0500
    • Engine revision 0bc21ea7bc
    • Dart version 3.4.0 (build 3.4.0-179.0.dev)
    • DevTools version 2.33.0-dev.11
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/damilolaalimi/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/damilolaalimi/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.14.3

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

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[!] Android Studio (version unknown)
    • Android Studio at /Users/damilolaalimi/Downloads/Android Studio Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to determine Android Studio version.
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

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

[✓] VS Code (version 1.83.1)
    • VS Code at /Users/damilolaalimi/Downloads/Visual Studio Code.app/Contents
    • Flutter extension version 3.78.0

[✓] Connected device (6 available)
    • sdk gphone64 arm64 (mobile)     • emulator-5554                        • android-arm64  • Android 14 (API 34) (emulator)
    • Damilola’s iPhone (mobile)      • 00008110-001964480AE1801E            • ios            • iOS 17.1.1 21B91
    • iPhone 15 (mobile)              • DBCC5388-DA57-470E-8F0E-477EA0AA3C3A • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-2 (simulator)
    • macOS (desktop)                 • macos                                • darwin-arm64   • macOS 14.2.1 23C71 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad                • darwin         • macOS 14.2.1 23C71 darwin-arm64
    • Chrome (web)                    • chrome                               • web-javascript • Google Chrome 122.0.6261.69

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.


Added SPN authentication & relevant in-depth documentation.

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

Closing due to duplicate in #383 from work account.


wrong uptime value on gen2 devices

on shelly 1 pm plus, the sys.uptime value retrived from shelly cloud node is erroneous.

Can you provide further details?

When I use the cloud node, to access shelly 1pm plus ou shelly 3 pro, the returned object have a static value on uptime. From what I see it looks like the number of restarts.I’ve tried to get the values directly from the device and the value is correct.If you need I can send an example of the payload for you to try to diagnose.I’ve tried with devices with firmware 0.12 and 0.13betaEnviado do meu iPhoneNo dia 26/01/2023, às 21:01, Karl-Heinz Wind @.***> escreveu:
Can you provide further details?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Yes please

I’m out, but during the week I will send you some debug dataEnviado do meu iPhoneNo dia 27/01/2023, às 23:46, Karl-Heinz Wind @.***> escreveu:
Yes please
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

@Miguelguilherme
I crosschecked with a gen 2 PM1 see image below
You can see both, the status from the cloud at the top and the status from the device underneath in blue.
Time is
11:48 uptime 234 for response from the cloud and
12:00 uptime 964 for the response from the device directly
Uptime seems to be in seconds. The cloud data is not up to date as it is only updated from time to time.
So the cloud API does not seem to contact the device but access cached data which is stored in the cloud when getting the status. The data which is returned by the node comes directly from the shelly server. If that is a problem in your eyes then you need to contact the shelly developers... sorry I can not do anything about it.


Number of requests lower than expected in web UI

Fixes #3000
Issue
The problem here was that was that updating the stats was happening at the same time as the fetch for stat data. So the UI was being updated with stale data, and when the new stat data would come in, the state would be updated immediately, but not the rest of the UI. The solution is to wait for the new stat data to be fetched, then update the entire UI
Screenshots

Love it. The tests don't tho :)


Update Profile Name

@aryasoni98   thanks for making your first contribution, I will be merging your Pull Request, also look at the issues so that you can get a chance to win a limited community Swag from me.
If you like the project and Repo please give it a star and Follow me on Github (would be appreciated)


Add google authentication feature

name: Add google authentication
about: Google authentication
title: 'Enable google authentication '
labels: issue #175
assignees:  Jigao Zeng
Describe the issue
The user can't sign in using google authentication, which is not convenient if they forgot their account details.
Describe the solution
Add google sign in based on firebase.

I think the reason is the user didn't sign up first before using google log in, so no information is stored. My idea is to do a "sign up" first if the user haven't by storing their information, and then load the home page.

So after I got this error - even when I switched to main and ran the application, I still got this error which was very very scary. For now I have disabled Google Authentication in Firebase. Given how late this PR was put up I am hesitant allow it to go through considering the error that it caused :/

Yea, I am fixing the big problem. Can I ask user to go back to sign up page if their google email is not being registered?


"Use of undeclared type GMSAutocompleteResultsViewController"

My ios Swift app was using GoogleMaps v1.13.2, today I updated my pods (to 2.0.1), now I am getting the following errors:
Use of undeclared type GMSAutocompleteResultsViewController
Use of undeclared type GMSPlace
I open the GoogleMaps pod and I don't see GMSPlace.h or GMSAutocompleteResultsViewController.h files. Were they removed? Why?

Got to know that these GMSAutocompleteResultsViewController and GMSPlace are now moved to a different pod, 'GooglePlaces'.


How to change crawler.py

Hello - I am trying to change some stuff on my own in crawler.py, but when I do the changes are not reflected in my results. Is there something I need to do to make those edits fill into my running code. Basically, I'm trying to make current popularity unavailable = -1 as it was in the prior version, but when I turn this code:
try:
    # get info from result array, has to be adapted if backend api changes
    info = jdata[0][1][0][14]
    return info[84][7][1]

# ignore, there is either no info available or no popular times
# TypeError: rating/rating_n/populartimes in None
# IndexError: info is not available
except (TypeError, IndexError):
    return None

into this code:
try:
    # get info from result array, has to be adapted if backend api changes
    info = jdata[0][1][0][14]
    return info[84][7][1]

# ignore, there is either no info available or no popular times
# TypeError: rating/rating_n/populartimes in None
# IndexError: info is not available
except (TypeError, IndexError):
    return -1

it still returns none and has no "current_popularity" in the json object.

I have figured out how to do a check for "current_popularity" in the json object and impute -1 if unavailable via these lines in my code:
if 'current_popularity' in currentPopData:
    currentPop = currentPopData['current_popularity']
else:
    currentPop = -1

But I would still love to know how to make and implement changes in the overall crawler, so I can make any future edits that I want (and have the skills to implement) on my own. Any help from anybody is much appreciated!

Hey @deeznuts03
I guess your problem is this:
If you apply changes in crawler.py, the pip installed package does not change. The pip wheel has to be build again, uninstalled and installed.
You can build a new wheel with:
python3 setup.py bdist_wheel
or just import the module locally and not install via pip.
Did this solve your problem?

Would I use that line of code in the terminal/cmd (mac/pc)?
And how do I import it locally and not install via pip?
 You are very helpful :)

Yes, you have to run this code in the terminal. I'm not sure why the bdist_wheel error happens, maybe you ran it in the wrong folder, or some file was missing?
For information on imports check https://docs.python.org/3/reference/import.html. Basically you just have to add the populartimes code as a python module/package to your current project.


Build main components for the professionals screen

Single professional component
booking component/ page
details component/ page

Done


Address typos

Addressing some typos and grammatical inconsistencies in the Schema section of the documentation.
Some changes also target missed areas from #4275.

Git history is corrupted, closing in favour of #4445


Missing ruby dependencies are not managed

As a user of poeditor, I do not want to be stuck with a awefull stacktrace when a ruby dependencie is missing
The script should check that dependencies are available and should fail with an explicite message when a dependencie is missing
Example:
“'builder' modul not found, please run ‘gem install builder’”

The installation instructions have been updated accordingly, with all steps explained in details, so this should not happen anymore.


Wiki changes

I moved almost all of the documentation from the repository into the wiki. Please see the attached .zip file containing my changes.
moh-eRx.wiki.zip
I posted this change as an Issue because it is not possible to create a pull request for a wiki. See also the related pull request for the rest of my documentation changes.

Wiki updated.


gmail.compose.start_compose() does not pop the compose window

Hi,
I successfully installed the gmailjs-node-boilerplate chrome extension, the console msg "This is your extension talking" shows up w/o any issues.
However,
gmail.compose.start_compose()
returns:
true

I don't see any compose window neither do I see anything in drafts folder.
Any idea why the compose window isn't showing up? Filed https://github.com/josteink/gmailjs-node-boilerplate/issues/20 but @josteink suggested that it might be an issue on gmail.js side of things.

bump ^ is it just me that's having this issue?

I can confirm this appears broken in latest version of Gmail & GmailJS.

This should be fixed in latest git master now. Can you verify that it works for you too?
If so, I can publish a new npm-release for that fix.

Released in version 1.0.6.


"Dejunk has been blocked from an action only available to the Blizzard UI"

Recently, as of October 30th on version Dejunk-1.3.2, when using Admiral's Compass, Garrison Hearthstone or Hearthstone (I presume any item that teleport to another location) error start appearing that "Dejunk has been blocked from an action only available to the Blizzard UI" with proposition to disable addon and reload UI or ignore it. If ignored error will pop up again.

My settings

Issue not appearing on version Dejunk-1.3.1

not only teleport
i can't use everything from the bag like potion or click on item to desenchant it

Yep, I broke something somehow apparently. Looking into it.

Looks like it's because I used hooksecurefunc to hook the bag open/close/toggle functions. Gotta figure out an alternative for Dragonflight, but it's fine in Classic.


Return dispatch return value from service?

When using the redux-thunk middleware, I've created some action creators with routes that look like:
import Ember from 'ember';
import route from 'ember-redux/route';

function loadData(id) {
  return async function (dispatch) {
    const data = await fetch(...);
    dispatch({ type: 'DESERIALIZE_DATA', data: data });
  }
}

export default route({
  model(dispatch, params) {
    return dispatch(loadData(params.id));
  }
})(Ember.Route.extend());

However, since the dispatch method on the service (https://github.com/toranb/ember-redux/blob/master/app/services/redux.js#L20) just returns undefined, the ember model loading hooks don't wait for the async action to complete before rendering the route.
Are there any downsides to modifying dispatch on the service to always return the dispatch result? The only consideration I can think of right now is potentially returning a value in the model hook, which would cause Ember to setup a model on the controller. However, so long that you don't return dispatch from the model unless it's a promise from thunk, it seems like we can avoid inadvertently returning a model.

This is a good catch - I just realized I don't have any examples/tests that use this pattern in the addon. To add this I'd just like a legit example (codified as a test case w/ acceptance) just so others who follow can see it in action.
In the above I see you are using fetch but I'm not sure what ember addon/npm module you are using. Would you be up to add a component/route/acceptance test here that shows it off?
One other question about your example - in the loadData function I see you return async function but inside that function you simply dispatch but does this need to be return dispatch instead?
If you can create a full example app (instead of the acceptance test) I could take that working example and test drive this feature. Just let me know how you prefer to operate going forward

Ah yes, I was just using fetch as an example of something that returns a promise:
https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API
Regarding calling dispatch vs. returning it, I think I don't actually want to return it, because if I do, I would expect Ember will use that resolved promise value as the model. By not returning it, the promise resolves with undefined, and therefore we don't get any unnecessary model attached to the controller.

Closing this in favor of PR https://github.com/toranb/ember-redux/issues/7.


Standardize makefile

cleanup DEFAULT_IMG and CONTROLLER_TOOLS_VERSION

It seems we might need to update the patch running both go mod tidy and make manifests [1].
[1] https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/pr-logs/pull/openstack-k8s-operators_designate-operator/47/pull-ci-openstack-k8s-operators-designate-operator-main-precommit-check/1654467160203857920/artifacts/test/build-log.txt

Looks like master is breaking with both of these last 2 patches one for make tidy as well as fixes for make golint

/ok-to-test

refreshed and included operator-sdk from local bin

Had to resolve a few trailing whitespace warnings from ci tests.

All changes are there.


Failover Clustering/Deploy: Set-ClusterQuorum link

Description:
As reported in issue ticket #4454 (Set-ClusterQuorum link is outdated), the link to the cmdlet Set-ClusterQuorum page is currently using an old TechNet link permanently redirected to docs.microsoft.com -- the page belongs to the Windows Server 2008 R2 and 2008 subdirectory of the Previous Versions hierarchy. Using a more updated page is highly preferable.
Thanks to @grayjeremy (Jeremy Gray) for noticing and reporting this issue.
Changes proposed:

Replace the old TechNet URL with the new PowerShell page URL
Typo correction: "Configue" -> Configure
Typo correction: "quotrum" -> quorum

Whitespace and codestyle adjustments:

Add an editorial blank line between metadata and the page title
Standardize H2/H3/H4 headings by adding a blank line after each (10 lines)
Normalize hyphens as bullet point list indicators (3 lines)
Standardize on 1 blank line above image link (1 line)

Ticket closure / reference:
Closes #4454
Previous PR attempt: #4459

@illfated : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Remember to use the comment command #sign-off if you want to replace the label [do-not-merge] with the label [ready-to-merge].


Fix incorrect description of API

ISourceBlock.Link does not take a boolean parameter. It takes a DataflowLinkOptions object, as seen in the preceding example.
Please verify that I have not made an error in any xref elements.
Summary
Describe your changes here.
Fixes #Issue_Number (if available)

Thanks for making the additional change, @drewnoakes. I'll merge your PR now. Your changes should appear live on docs.microsoft.com in the next day or two.


Add multi_region

what

Add multi_region

why

for keys that need to be used cross region

references

https://aws.amazon.com/about-aws/whats-new/2021/06/kms-multi-region-keys/

/test all


15 tests failed. locale:el:parse (450.23) locale:el:parse (450.39) locale:el:parse (450.47) locale:el:parse (450.55) locale:el:parse (450.87) locale:el:parse meridiem (451.5) locale:el:parse meridiem (451.9) locale:el:parse meridiem (451.13) locale:el:parse meridiem (451.17) locale:el:parse meridiem (451.21) locale:el:parse meridiem (451.25) locale:tzl:suffix (1869.2) locale:tzl:now from now (1870.1) duration:JSON.stringify duration (2186.1) format:full expanded format is returned from abbreviated formats (2218.1)

Client info
Date String   : Mon Aug 10 00:15:19 UTC+0100 2015
Locale String : 10 August 2015 00:15:19
Offset        : 0
User Agent    : Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR 1.1.4322; .NET4.0C)

====
locale:el:parse (450.23)
??????S should be month 3
// Expected 2
// Actual   7
7 === 2

====
locale:el:parse (450.39)
????S should be month 5
// Expected 4
// Actual   7
7 === 4

====
locale:el:parse (450.47)
??????S should be month 6
// Expected 5
// Actual   7
7 === 5

====
locale:el:parse (450.55)
??????S should be month 7
// Expected 6
// Actual   7
7 === 6

====
locale:el:parse (450.87)
????????S should be month 11
// Expected 10
// Actual   7
7 === 10

====
locale:el:parse meridiem (451.5)
10 should be 22
// Expected 22
// Actual   10
10 === 22

====
locale:el:parse meridiem (451.9)
10 should be 22
// Expected 22
// Actual   10
10 === 22

====
locale:el:parse meridiem (451.13)
10 should be 22
// Expected 22
// Actual   10
10 === 22

====
locale:el:parse meridiem (451.17)
10 should be 22
// Expected 22
// Actual   10
10 === 22

====
locale:el:parse meridiem (451.21)
10 should be 22
// Expected 22
// Actual   10
10 === 22

====
locale:el:parse meridiem (451.25)
10 should be 22
// Expected 22
// Actual   10
10 === 22

====
locale:tzl:suffix (1869.2)
Died on test #2 undefined: Object doesn't support this property or method
// Expected undefined
// Actual   null
null === undefined

====
locale:tzl:now from now (1870.1)
Died on test #1 undefined: Object doesn't support this property or method
// Expected undefined
// Actual   null
null === undefined

====
duration:JSON.stringify duration (2186.1)
Died on test #1 undefined: 'JSON' is undefined
// Expected undefined
// Actual   null
null === undefined

====
format:full expanded format is returned from abbreviated formats (2218.1)
Died on test #1 undefined: Object doesn't support this property or method
// Expected undefined
// Actual   null
null === undefined

I'm not sure if IE7 is officially supported, but with only 15 failing tests (most of which look like they come from the same cause) it is probably worth fixing these, if possible.
Note that the duration:JSON.stringify error looks like a regression of #867, and is probably an error in the tests.

Well, I'm not sure we've been very official about it, but we do state in the docs

Currently the following browsers are used for the ci system: IE8, IE9 on Windows 7, stable Chrome on Windows XP, Safari 10.8 on Mac and stable Firefox on Linux.

Personally, I feel that IE8 is the minimum bar, and only because IE9 doesn't run on Windows XP.  Even that is becoming less important these days, given XP's end of life.
If the fix doesn't add much overhead, then sure - a PR would be welcome.  But if it's significant, and doesn't help any other environments, then it will probably be axed.

Yeah - I saw that in the docs.  However, the conversation in issue #650 implies that IE7 was supported at the time (2013) and I couldn't find anywhere in the changelogs that indicated that IE7 support had been officially dropped.  Can you point me to the version where this happened?
As someone who provides software that is used by the NHS in the UK, where IE7 support is still (unfortunately) often still a requirement, I need a library that is not going to cause any breakage on IE7, otherwise I would have to look for an alternative solution.  An older version with fewer features would be acceptable, if there is a known-good release for IE7.
Note that 11 of the above failed tests were for the Greek language, 2 were for the constructed 'Talossan' language, and 1 is probably an invalid test (JSON object doesn't exist in IE7).  Therefore there is only one test that really matters here (from my perspective), which is the last one.


diffWords doesn't consistently ignore whitespace, despite the README saying it should

The docs:

Diff.diffWords(oldStr, newStr[, options]) - diffs two blocks of text, comparing word by word, ignoring whitespace.

Here are some examples of this working as described:
> diff.diffWords("foo bar", "foo          bar")
[ { value: 'foo          bar', count: 3 } ]
> diff.diffWords("foo, bar", "foo,          bar")
[ { value: 'foo,          bar', count: 4 } ]

But here are a couple of examples of it not working as described:
> diff.diffWords("foo bar", "foo\n\nbar")
[
  { count: 2, value: 'foo\n' },
  { count: 1, added: true, removed: undefined, value: '\n' },
  { count: 1, value: 'bar' }
]

> diff.diffWords("( foo )", "(foo)")
[
  { count: 1, value: '(' },
  { count: 1, added: undefined, removed: true, value: ' ' },
  { count: 1, value: 'foo' },
  { count: 1, added: undefined, removed: true, value: ' ' },
  { count: 1, value: ')' }
]

The first failure case is due to changes from https://github.com/kpdecker/jsdiff/pull/217, but the second is independent of those changes.

An even more profound example of whitespace being EXTREMELY SIGNIFICANT to diffWords, in a way that produces frankly absurd results:
https://github.com/kpdecker/jsdiff/issues/160#issuecomment-1866099640


feat: Redeem offer

@0xneves I need your help to specify this task... The main questions I have are:

How to create a list of offered trades from a given user?
Which is the contract address of Swaplace SC?
What is the function to call in order to redeem a trade?
With a single EthereumAddress (the address of the authenticated user) am I capable of doing the request of every params needed for this function call?

Thanks!

Please let me know if this aids your development so I can close the issue.

Closing this issue assuming its resolved.


float model using FINN

Hi,
I wish to know what is the design flow if a float point model (.prototxt and .caffemodel) is given.
How can I automatically quantize to use HWGQ caffe?
And then implement using FINN?
Thanks

There is not automated flow for this


Fix env var password hashing for PBKDF2

Description
Category (Bug fix)
Passwords provided as environment variables are always hashed using BCrypt even when configured to use something else. Authentication fails when using PBKDF2 .
Issues Resolved
Resolves https://github.com/opensearch-project/security/issues/4771
Testing
Initially found testing on a personal cluster. Confirmed fix works.
Included new test for PBKDF2 with PR.
Run Bulk Integration Tests.
Check List

[ ] New functionality includes testing
[ ] New functionality has been documented
[ ] New Roles/Permissions have a corresponding security dashboards plugin PR
[ ] API changes companion pull request created
[ ] Commits are signed per the DCO using --signoff

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.

@cwperks @willyborankin @derek-ho Thanks for the questions and approvals. Much appreciated!


stats: report sample count as an integer to prevent loss of precision

When the number of samples in a histogram exceeds roughly 2^24, the
value of the "+Inf" bucket in Prometheus stats output is rounded
and rendered in scientific notation. This causes incorrect results
in the Prometheus histogram_quantile function, which assumes that
the rounding-error between the 1 hour and +Inf buckets represents
some number of requests that took in excess of 1 hour.
libcirclhist actually stores the sample count as a uint64_t, so
stop implicitly converting it to double and output the count
precisely (as we do with the non-infinite buckets). Also
modifies the output format of the sum metric to avoid scientific
notation.
Risk Level: low
Testing: added test case
Doc Changes: n/a
Release Notes: n/a
Signed-off-by: Stephan Zuercher<EMAIL_ADDRESS>

Ping @dnoe

@dnoe do you have time to move this forward or shall I look for another reviewer?


Open a popup

I would like to call the layer.openPopup() method on a marker.

rwwagner90, I don't think you answered the question (stevevance is using markercluster plugin now).
I have the same problem, i will try to be more clear :
I have a list with displayed markers names. So i need to loop into those markers with traditional way map.eachLayer. But this doesn't work because the layer i add to the map is pruneClusterForLeaflet = new PruneClusterForLeaflet(); map.add(pruneClusterForLeaflet);
I didn't find in the documentation any method about looping. Thats what stevevance tried to say.

@mohamedHoud are you saying you want to be able to click the name of a marker, somewhere else on the page, not on the map, and have the marker's popup show up? I'm not really understanding.

Yes, thats it :+1:

@mohamedHoud you will not be able to use the traditional Leaflet looping methods. You can still do this though. You would just need to set up your click events in the PrepareLeafletMarker function.
It's been a year since this issue was posted, and I don't use Leaflet for my job anymore, so I'm not entirely sure, but I have a potential idea in mind.
Something like this:
First: Set a custom value on marker.data and set it to a selector for the element you want to click and open the popup.
Something like:
marker.data.myCustomSelector = '.my-selector-class';

Second, you would grab that element and set up a click event listener:
pruneCluster.PrepareLeafletMarker = function (leafletMarker, data) {
$(data.myCustomSelector).on('click', function (e) {
        GenerateRrosePopup(e, data.popupContent);
      });
leafletMarker.setIcon(data.icon);
}

That's a very rough example, but do you understand what I mean?

Ok, you say if i click on an element in my list that have the same class as the marker the click event will fire up for the popup?

I tried the following for the test :
...
leafletView.RegisterMarker(marker);
pruneCluster.PrepareLeafletMarker = function (leafletMarker, data) {
leafletMarker.on('click', function () {
alert(1);
leafletMarker.openPopup();
});
}
I figured that when i click on the marker nothing happened (no alert no popup) , i don't understand how this work.

@mohamedHoud your test does nothing with classes, as I said you should do in my example. The prune cluster markers have a data object, if you read the docs you will see. You need to set marker.data.myCustomSelectorClassWhateverYouWantToCallThis = '.my-class-foo-whatever'
That class you are setting is the class you need to have on the element you want to click and open the popup.

Also, what is the variable marker that you have?

the marker variable is var marker = new PruneCluster.Marker(lat,lon,{icon:icone});
so what i did here is :
...
marker.data.ref=".reseauVille";
leafletView.RegisterMarker(marker);
pruneCluster.PrepareLeafletMarker = function (leafletMarker, data) {
$(data.ref).on('click', function () {
leafletMarker.openPopup();
});
}
Nothing happened (thats why i tried to alert(1) to say if it's called), i am missing something ?
Thank you for your time.

@mohamedHoud if you make a JSBin or something, I can help take a look, but I don't know what the issue would be from just seeing that small code snippet. Are you getting any errors?


Add LinkedIn Connections Growth Analysis

thanks for your PR. I think this library is a bit to specialized for this list. Keep up the great work :+1:


Consider a less telco specific term for UEIdentity in simple_edge_discovery.yaml

The CAMARA commonalities API design guidelines suggests reducing telco specific terminology.  This specifically mentions UE.  See the commonalities section here
The Simple Edge Discovery API is close to being released, but removing UE from this endpoint could help with onboarding developers that are not steeped in telco terminology.
Perhaps changing UEIdentity to DeviceIdentity or UserDeviceIdentity could be easier to understand.  This would also apply to wireline and Wi-Fi networks, in addition to mobile networks.

Thanks Randy, good catch - I'll raise that on the commonalities call today to confirm. UserDeviceIdentity seems most appropriate  .

Done in PR #127 (alignining with the same non-telco specific values used in Device Idenitifier and QoD APIs). The term UE also removed from the docuementation.


Translations update from Hosted Weblate

Translations update from Hosted Weblate
for TRegExpr/index.
Current translation status:

good start!


Incorrect import statement when both overriden_models and separate_models options are used

First of all, I want to say thank you for this great project which I've only been experimenting with for two days and the DevEx it provides is almost flawless. In my case, some field of type Map<String, List<SomeDto>> inside a model was created as Map<String, dynamic>, but thanks to the overriden_models option I was able to handle it with a custom model class. I was also using the separate_models option and that led to some hard-coded import 'overriden_models.dart'; lines inside the *.swagger.dart files, which I think is a bug. This PR replaces the hard-coded import statement with the value of importUrl field from options.overridenModels.
Fixes #745

This change already in master

@monoblaine  sorry I don't have time to support this package. Thanks for contribution! Feel free to create a Pull requests. I will upload changes to pub.dev regularry