Value guarded in: Snowplow::EmrEtlRunner::Cli::load_config

Getting error while running emrEtlRunner
Value guarded in: Snowplow::EmrEtlRunner::Cli::load_config         With Contract: Maybe, String, Bool => Maybe         At: uri:classloader:/emr-etl-runner/lib/snowplow-emr-etl-runner/cli.rb:202
my config is

aws:
  # Credentials can be hardcoded or set in environment variables
  access_key_id: abc
  secret_access_key:def
  s3:
    region: us-east-1
    buckets:
      assets: s3://snowplow-assets
      log: s3n://snowplow-etl/logs/
      raw:
        in:
          - "s3n://snowplow-events/"
        processing: s3n://snowplow-etl/processing/
        archive: s3://snowplow-archive/raw
      enriched:
        good: s3://snowplow-data/enriched/good
        bad: s3://snowplow-data/enriched/bad
        errors: s3://snowplow-data/enriched/errors
        archive: s3://snowplow-data/enriched/archive
      shredded:
        good: s3://snowplow-data/shredded/good
        bad: s3://snowplow-data/shredded/bad
        errors: s3://snowplow-data/shredded/errors
  emr:
    job_name: Snowplow ETL # Give your job a name
    ami_version: 5.9.0      # Don't change this
    region: us-east-1      # Always set this
    jobflow_role: EMR_EC2_DefaultRole # Created using $ aws emr create-default-roles
    service_role: EMR_DefaultRole     # Created using $ aws emr create-default-roles
    placement:    # Set this if not running in VPC. Leave blank otherwise
    ec2_subnet_id: subnet-082251e665ce25c17  # Set this if running in VPC. Leave blank otherwise
    ec2_key_name: nmj
    bootstrap: []           # Set this to specify custom boostrap actions. Leave empty otherwise
    software:
      hbase: "0.92.0"                # Optional. To launch on cluster, provide version, "0.92.0", keep quotes. Leave empty otherwise.
      lingual: "1.1"             # Optional. To launch on cluster, provide version, "1.1", keep quotes. Leave empty otherwise.
    # Adjust your Spark cluster below
    jobflow:
      master_instance_type: m1.medium
      core_instance_count: 2
      core_instance_type: m1.medium
      core_instance_ebs:    # Optional. Attach an EBS volume to each core instance.
        volume_size: 100    # Gigabytes
        volume_type: "gp2"
        volume_iops: 400    # Optional. Will only be used if volume_type is "io1"
        ebs_optimized: false # Optional. Will default to true
      task_instance_count: 0 # Increase to use spot instances
      task_instance_type: m1.medium
      task_instance_bid: 0.015 # In USD. Adjust bid, or leave blank for non-spot-priced (i.e. on-demand) task instances
    bootstrap_failure_tries: 3 # Number of times to attempt the job in the event of bootstrap failures
    additional_info:        # Optional JSON string for selecting additional features
collectors:
  format: cloudfront # Or 'clj-tomcat' for the Clojure Collector, or 'thrift' for Thrift records, or 'tsv/com.amazon.aws.cloudfront/wd_access_log' for Cloudfront access logs
enrich:
  versions:
    spark_enrich: 1.10.0 # Version of the Spark Enrichment process
  continue_on_unexpected_error: false # Set to 'true' (and set out_errors: above) if you don't want any exceptions thrown from ETL
  output_compression: NONE # Compression only supported with Redshift, set to NONE if you have Postgres targets. Allowed formats: NONE, GZIP
storage:
  versions:
    rdb_shredder: 0.13.0        # Version of the Relational Database Shredding process
    rdb_loader: 0.14.0          # Version of the Relational Database Loader app
    hadoop_elasticsearch: 0.1.0 # Version of the Hadoop to Elasticsearch copying process
monitoring:
  tags: {} # Name-value pairs describing this job
  logging:
    level: DEBUG # You can optionally switch to INFO for production
  snowplow:
    method: get
    app_id: ID-ap001
    collector: klk.cloudfront.net # e.g. d3rkrsqld9gmqf.cloudfront.net

How to fix it?

Same issue on line 211
I posted it on discourse also


Add breakdown by state (USA, Canada, etc)

each states should have different curves

Canadian provinces data is included in the John Hopkins data, so that shouldn't be too hard to add.

FWIW, @nytimes has data in the US per state and per county: https://github.com/nytimes/covid-19-data

Alternatively I would recommend using something like this: https://coronadatascraper.com/#timeseries-jhu.csv
It looks much like the johns hopkins dataset, but include county, state (in the US and some other countries) and country level information for most of the world and is updated in a programatic way.

Hmm.. at the moment I'm a bit wary of including third party scrapers as I'm concerned about data accuracy & reliability. For now I'd prefer to keep the list of data sources as narrowly defined as possible, ideally JHU and NYT if we can get those formats to work together. That way if there's a problem with the data down the road, we know where to look.

JHU also tracks US numbers at the county level. I think this will be really interesting to see, as the spread of the virus will travel county-by-county and hit various parts of each state at different times. This can later be cross-referenced with local mandates for shelter-in-place, etc.

While at it, could you also combine EU? And going further, also per continent? So that would result in a tree. Europe goes through borders (Russia and Turkey), so hopefully not a politically sensitive thing.


Add API TOC categories template

Resolves https://github.com/bonsai-rx/docfx-tools/issues/6 by sorting API nodes in the TOC into standard Bonsai Workflow categories.
See README for usage instructions.
Note: When I tested it in my local preview just having bonsai/template wasn't enough (unintuitive and not sure it is supposed to work that way) but it may be for the best since bonsai/template currently contains the workflow container css/js template and some packages might want to import only that and not the API TOC template.
An online preview of this PR can be seen at: https://banchan86.github.io/machinelearning_docs/api/Bonsai.ML.LinearDynamicalSystems.html
Edit: As I'm looking at it I also realised the namespace page should reflect the TOC grouping, will work on that too.

Changing to draft to work on changing the TOC grouping to "Operators, Enums and Classes"


Indents from child elements

CLI: 5.2.0
NativeScript-Angular:7.2.2
Angular:7.2.7

<GridLayout columns="*,*" rows="auto,*" width="100%" height="100%">

</GridLayout>

Regardless of what settings the parent element
all children have padding
http://prntscr.com/mxer3m

Hi @3DtuningProduction,
Can you provide some more info about the problem, you are facing? I tested the provided code snippet in a sample project, however, both elements( the GridLayout and its child component(Label) were correctly layouted).

Hi @3DtuningProduction,
Can you provide some more info about the problem, you are facing? I tested the provided code snippet in a sample project, however, both elements( the GridLayout and its child component(Label) were correctly layouted).

Hi @tsonevn
thanks for the answer
I looked in your example - everything works fine.
The difference with my project is only that
in app.component.html
<RadSideDrawer [drawerTransition]="sideDrawerTransition">     <GridLayout rows="auto, *" tkDrawerContent  class="main-menu">         <ScrollView row="1">             <StackLayout>                 <GridLayout columns="auto, *" *ngFor="let menuItem of menuItems; let i=index" class="menu-item monserrat semi-bold" [ngClass]="'menu_item_' + i" (tap)="onTapMenu(menuItem)">                                                           </GridLayout>             </StackLayout>         </ScrollView>     </GridLayout>     <page-router-outlet tkMainContent></page-router-outlet> </RadSideDrawer>
Can it somehow affect?

Hi @3DtuningProduction,
Can you send us a sample project or make the needed changes in the one that I have attached, which will help us to reproduce the problem? Also, please provide some more context about the problem with the padding. I reviewed the attached image in your very first comment, however, I am not sure that I am understanding where is the problem.

@3DtuningProduction the explanation is still a bit vague -  if you can't share your case then try isolating the problem in a sample Playground. As of now, it is not clear what the issue is and what you are trying to achieve (and what you have used as a codebase).


Committime integration test

Introduce a GitHub committime integration test and runs it during CI. This will run mockoon to mock the GitHub and OpenShift APIs.
There is currently a strange bug where running integration tests alongside unit tests will cause the integration tests to fail, but this doesn't happen when they're run separately. They're run separately in CI, so I'm not fully concerned, but I'm looking into it now.
Testing Instructions
Start mockoon's server, then run: pytest -m integration
To see the bug I mentioned, run: pytest -m
@redhat-cop/mdt

@KevinMGranger so, I can follow the integration/test_committime.py file, and I understand the expected results in that file, but what I don't see is how we are loading the actual data into the mock kube api server. Was that in a different PR?

@KevinMGranger looks like you've got a merge conflict to resolve before we can merge.

@etsauer Merge conflicts fixed


With Sonallint plugin dependencycheck fails

If I use below plugin together for java application
classpath 'org.owasp:dependency-check-gradle:8.2.1'
classpath 'name.remal.gradle-plugins.sonarlint:sonarlint:3.0.8'
apply plugin: 'org.owasp.dependencycheck'
apply plugin: 'name.remal.sonarlint'

Task :dependencyCheckAnalyze
The Yarn Audit Analyzer has been disabled. Yarn executable was not found.
Exception occurred initializing Yarn Audit Analyzer.

An unexpected error occurred during analysis of 'C:\Users\RAJESH~1.SAM\AppData\Local\Temp\dctemp659d7154-4928-4659-a245-5db3576048d3\check3997599348955
249549tmp\145\package\node_modules\typescript\lib\typescript.js' (RetireJS Analyzer): Java heap space
But if i remove :  apply plugin: 'name.remal.sonarlint'
It works.

Task :dependencyCheckAnalyze
Verifying dependencies for project core-deploy
Checking for updates and analyzing dependencies for vulnerabilities
Generating report for project core-deploy
Found 92 vulnerabilities in project core-deploy

Tried to disable nodeAnalyser, nodeAudit both. Still same issue.

The sonarlint plugin is a different project. I do not maintain or support the ODC sonarlint plugin.


Avoid concatenation of duplicate client_id for the application_id

When requesting the token (get_token) with the OAuth2 Client, the application_id used by Azure is formed by the OAuth2.Client.client_id + client_id passed as a param for the get_token so this results in the duplicity of the client_id and an invalid application_id that can't be found in Azure Directory.
This pull request proposes to take out the client_id and the client_secret from the get_token method because it already uses the OAuth2 Client params.

+1

I think the cause of this duplicate issue is because azure-directory is specifying parameters to the OAuth client as symbols, whereas the Client is expecting them to be specified as strings.


Adding small section on enable attention slicing

It was suggested on the forum to add a small section to explain the pipe.enable_attention_slicing() line and make sure users are aware of the ability if their GPU is too small to run stable diffusion out of the box.  I have gotten this to work with a 4 GB GPU (3050M) using enable_attention_slicing.  Wasn't able to get all the way through the notebook, but could at least generate images.

Hi @kevinbird15 that's awesome! Would it be possible for you to submit just the source for the new cell without changing any of the outputs?

Yeah, let me fix that.  I thought I had already...  Fix incoming

@pcuenca I am not sure why, but all of the images show that they have changed.  Any idea why that would be or how I can reset them?  I tried this:
git checkout master -- stable_diffusion.ipynb
Then I re-entered only the two cells I actually wanted to change, but all of the images still look as if they have been modified.

This is done now.
First, I ran git reset --hard HEAD~2 to revert my two changes I had made, Then I re-applied my changes and the images were still different. I then used vs-code to revert the images from being changed.  Not sure how to do it otherwise, but once that was done, I just did git push --force to apply the modifications.  Should be good to go now!


Fix undefined local variable or method `keychain_path'

Since https://github.com/fastlane/fastlane/commit/b9ceba3814a53f600557f2357c5fcc9b032ed8ab, calling sigh resign fails with:
...gems/sigh-1.10.0/lib/sigh/resign.rb:10:in `run': [!] undefined local variable or method `keychain_path' for #<Sigh::Resign:0x007fcb418d8358>
This is caused of course by keychain_path not being parsed from the args appropriately in run. This PR fixes that :)

Thanks for the quick fix @skevy!


Stats/polish graph

fix #557
give data zoom axis to let user drag the timeline

Looks nice!

Look great!

@ilblackdragon Just FYI, NEAR Wallet has its end-to-end tests running every few minutes, and it creates a new mainnet account (*.goodbot.near) every 5 minutes, so ~288 new accounts a day.

Hm, this graph doesn't account for deletion? Because goodbot deletes those accounts after creating them.

@ilblackdragon Yeah, we are going to add "Live accounts" chart: #586


Chrome flags support

Couldn't find, does x11docker has support for passing chrome flags? I need to add "--use-fake-ui-for-media-stream" but it seems it doesn't work right now.

Compare the syntax given in x11docker --help:
To run a container on a new X server:
  x11docker IMAGE
  x11docker [OPTIONS] IMAGE [COMMAND]
  x11docker [OPTIONS] -- IMAGE [COMMAND [ARG1 ARG2 ...]]
  x11docker [OPTIONS] -- RUN_OPTIONS -- IMAGE [COMMAND [ARG1 ARG2 ...]]

You need to add -- before the image name, then you can pass arguments or flags.
Something like: x11docker -- jess/chrome --use-fake-ui-for-media-stream

True, thank you. Another question - will it use system default microfone without any modifications? I'm trying to pass my virtual mic inside, but when I launch it with just x11docker --pulseaudio -- jess/chromium --no-sandbox  --use-fake-ui-for-media-stream - it doesn't seem to work. A caveat is that virtual microfone is just a virtual pipe in my case (prw-r--r-- 1 user user 0 сер  3 22:11 /home/user/virtmic), so I'm not sure, can chromium in docker access it at all. I tried to share it with different --share options, but it doesn't seem to work.

Let's discuss this different topic in a new ticket: #377


Improve the text at the top of the home page

Received the latest home page text from the product team.

 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: apeyrat sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Mistake, please ignore.


WIP: Travis cmake

I only wanted to add the "global CMakeLists.txt", and I did not want to push 8 files(?) Sorry again for my inferior use of git.... :-( I needed the other changes to be able to test this one.

This is work in progress, no need to review

replaced by https://github.com/exercism/fortran/pull/47


Bulk load data from excel to table in sql developer

Type: Feature Request
Bulk upload of data from Excel file to Database table
Above mentioned feature was availabe in Oracle sql developer.But I was not able to find in VS Code sql developer.
If this feature is availabe in VS code. Kindly Suggess me how to perform that operation.
Thanks in advance.
VS Code version: Code 1.86.0 (05047486b6df5eb8d44b2ecd70ea3bdf775fd937, 2024-01-31T10:28:19.990Z)
OS version: Windows_NT x64 10.0.22631
Modes:

VS Code sql developer

Is this a feature provided by an extension? One way to check is to run the Start Extension Bisect command.

This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines. If you don't know which extension is causing the problem, you can run Help: Start extension bisect from the command palette (F1) to help identify the problem extension.
Happy Coding!


GanttColumnGenerator : bug when using cropped

There is a bug into the GanttColumnGenerator (generate function).
It always add one more column if there is some cropped column.
Exemple : Define a working time from 8am to 4pm, show the gantt chart for a day with non working time set to cropped.
The algorithm will add the column 8, 9, 10, 11, 12, 1, 2, 3, 4 AND 8 (the next day).
I will post a request to fix that.

:+1: Thanks for you help

You can close it (https://github.com/angular-gantt/angular-gantt/pull/590)


feat: 🎸 Add AccountManagement.getSubsidy to get Subsidy entity

Description
Adds a method to AccountManagement to get Subsidy entity for a pair of beneficiary and subsidizer. This would be useful in REST-APIs to get Subsidy instance and then perform other operations on top of it
Breaking Changes
NA
JIRA Link
DA-111
Checklist

[ ] Updated the Readme.md (if required) ?

:tada: This PR is included in version 19.0.0-beta.3 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 19.0.0-alpha.4 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


fix: Multiple export jar terminals exist at the same time

fix #495

I will close this now. If there are any user complaints about #495 we may consider a solution for it.


Improving sprite/icon delivery

@kblizeck @ShaneHowell and I had a brief discussion about some pain points when using the sprite generator tool.
Problems when using a sprite sheet

It doesn't allow you to resize, fill or animate an icon
Resizing and fill-ing an icon saves you from adding multiple versions of the same icon
The generator does not watch for new changes/additions to the assets/icons directory to rebuild the sprite sheet (a bug that can be fixed outside of this overall discussion).

However, there are also noticable performance gains to using sprite sheets.
The goal
I believe the best goal is to get the performance benefits of a sprite sheet while allowing the flexibility to scale, fill and animate icons as needed.
Proposed solution
In a previous iteration of the generator we utilized the SVGInjector module so the following HTML would embed the SVG into the DOM:

Note: This should not be used for every SVG, but only on specific SVGs that need fill, scalability or animation.
This provides the dynamic functionality to SVGs—when absolutely needed—while utilizing the sprite sheet for most other icons.

Is this an adequate solution to the sprite problem?

Another problem I've ran into while using the sprite sheet is icon bleed. Previously when I used the icon sheet classes like

, i'd always get icon bleed on the right if an icon was beside it in the sheet.
This doesn't seem to be the case with the new project starter though, according to my tests.
I think the proposed solution will work!

Awesome, @ShaneHowell! @kblizeck I'll wait back to hear from you as well. If you're content with it, I'll try rolling these fixes into version 2.6.

Just FYI @ShaneHowell and @kblizeck, I made a pretty sizable update to the Project Starter that includes sprite watching and dynamic sprite injection (for the times you need to pull in an icon to animate/add fill/etc)!


use pvlive 1.4.0 and fix nighttime zeros

Pull Request
Description

update to pvlive 1.4.0, and use new url
fix timestamps for nitghtime zeros
tidy up docker

Fixes #
How Has This Been Tested?
CI tests

[x] Yes

Checklist:

[x] My code follows OCF's coding style guidelines
[x] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[x] I have checked my code and corrected any misspellings

I decided to merge, to test it out, but please add any comments


"Live development session has ended" occurs spontaneously

While using the experimental live preview, it will disconnect me at seemly arbitrary intervals. Attempting to open the preview again doesn't work until I reload Brackets. This seems to only occur while I'm editing CSS, not anything else.
I am on Mac OSX 10.9.5, Brackets build 1.9.0-17312 (release 189f6d39a). Screenshot of console error message is attached.

Having a similar issue, although Live Preview ends at random times, not when I'm editing a specific file. I'll start the Live Preview then less than 15 seconds later it will unexpectedly end.
I'm using Live Preview with Firefox (v56.0, build ID<PHONE_NUMBER>0823).
My system:

Mac OSX 10.11.6
Brackets: Release 1.11 build 1.11.0-17524 (release 86b5e2d4e)

Screenshot of Console:

Having a similar issue, although Live Preview ends at random times, not when I'm editing a specific file. I'll start the Live Preview then less than 15 seconds later it will unexpectedly end.
I'm using Live Preview with Firefox (v56.0, build ID<PHONE_NUMBER>0823).
My system:

Mac OSX 10.11.6
Brackets: Release 1.11 build 1.11.0-17524 (release 86b5e2d4e)

Screenshot of Console:

I face the same problem on windows operating system.
How solve this problem?

I am having the same issue. I thought this was something that could be turned off. I'm on a Mac Mojave 10.14.4.

Following @krystianjj comment on Sep 11, 2015 fixed the issue for me :)
• Go to File menu and disable "Enable Experimental Live Preview";
• Then, still in File menu, enable "Live Preview".

I have same problem.how to solve it?


typescript: add ApiRouteSchema, ApiSettingsSchema

create and export

ApiRouteSchema used to define settings.routes
ApiSettingsSchema used to define api service's settings
I can't remember all of them T__T

api.service settings

@icebob https://github.com/moleculerjs/moleculer-web/blob/master/src/alias.js#L63
seem only accept 1 action
aliases: {
  'POST /login': [
    'user.mustExists', // will be overwritten
    'user.passwordCompare',
  ]
}

@icebob https://github.com/moleculerjs/moleculer-web/blob/master/src/alias.js#L63
seem only accept 1 action

Yeah, you are right, it has only one action.

@shawnmcknight could you review it again, plz?

hope you can merge this

I would like to wait for an approval from @shawnmcknight

Please merge before it outdated again

@shawnmcknight @icebob


Question about the PC address reported by mythril

Description
So to sum up, I found that the PC address reported does not match the  disassemble code generated by solc. I don't know if I made any mistake in usage or if I apprehend the meaning of PC addresswrongly.
Thanks for your help!!
Tests
Let's use the example in README:
root@i10940x:/home/usr/mythril# myth analyze solidity_examples/killbilly.sol -t 3
==== Unprotected Selfdestruct ====
SWC ID: 106
Severity: High
Contract: KillBilly
Function name: commencekilling()
PC address: 354
    Code: selfdestruct(msg.sender)
Estimated Gas Usage: 974 - 1399
Any sender can cause the contract to self-destruct.
Any sender can trigger execution of the SELFDESTRUCT instruction to destroy this contract account and withdraw its balance to an arbitrary address. Review the transaction trace generated for this issue and make sure that appropriate security controls are in place to prevent unrestricted access.
--------------------
In file: solidity_examples/killbilly.sol:22

selfdestruct(msg.sender)

--------------------
Initial State:

Account: [CREATOR], balance: 0x0, nonce:0, storage:{}
Account: [ATTACKER], balance: 0x0, nonce:0, storage:{}

Transaction Sequence:

Caller: [CREATOR], calldata: , decoded_data: , value: 0x0
Caller: [ATTACKER], function: killerize(address), txdata: 0x9fa299ccadadadadadadadadadadadaddeadbeefdeadbeefdeadbeefdeadbeefdeadbeef, value: 0x0
Caller: [ATTACKER], function: activatekillability(), txdata: 0x84057065, value: 0x0
Caller: [ATTACKER], function: commencekilling(), txdata: 0x7c11da20, value: 0x0

There is an item in the report PC address: 354. I considered it as the offset of the opcode in bytecode. Like here, I think at PC address: 354, the opcode should be CALL, but when I try to check this out by reading the disassemble code generated by solc, I found they are different. The disassemble code looks like this at 354 (equal to 0x162)
0162    50    POP
	0163    50    POP
	0164    60    PUSH1 0x40
	0166    51    MLOAD
	0167    80    DUP1
	0168    91    SWAP2
	0169    03    SUB
	016A    90    SWAP1
	016B    F3    *RETURN
	016C    5B    JUMPDEST
	016D    60    PUSH1 0x00
	016F    80    DUP1

which is a pop.
Same thing happen when handling integer overflow, the PC address does not match the  disassemble code generated by solc. For example, mythril reports  PC address : 100, but the opcode in the  disassemble code at offset 100 may not be MUL, ADD or other opcodes that might lead to overflow, instead, opcode at offset 100 might be POP CALL or other things.
Thanks for your help!!

Hi @ShangzhiXu are you checking runtime disassembly or creation disassembly? In this case, you'd have to check runtime disassembly.

Thanks！I'll check it out


Cannot use curator with FastAPI: uvloop needs to be handled properly in run_in_event_loop

When trying to use curator with FastAPI, I get this error:
ERROR:apigateway.handlers.faithfulness_handler:Error in batch processing: Can't patch loop of type <class 'uvloop.Loop'>
nest_asyncio is not compatible with uvloop. event_loop.py needs to properly handle uvloop.

Thanks for flagging!
There are two separate issues here:
(1) uvloop does not work with nest_asyncio which we used to run curator --- this is what's breaking.
(2) we shouldn't run a long-running blocking operation in the main loop of FastAPI --- this is separate but important since not blocking the main loop is important for performance.
A solution that tackles both (1) and (2) is to run curator in a separate thread. This solves (1) because the thread is separate from uvloop and thus allows us to avoid incompatibility issues between nest_asyncio and uvloop, and it solves (2) because we are running in another thread, so we are not blocking the main loop.
Below is an example of using run_in_threadpool to run curator. It seems to work with uvloop. Could you try this?
import asyncio

from starlette.concurrency import run_in_threadpool

"""Example of using the curator library to generate diverse poems.

We generate 10 diverse topics and then generate 2 poems for each topic."""

from typing import List

import uvloop
from datasets import Dataset
from pydantic import BaseModel, Field

from bespokelabs import curator

def generate_topics():
    class Topics(BaseModel):
        topics_list: List[str] = Field(description="A list of topics.")

    topic_generator = curator.Prompter(
        prompt_func=lambda: "Generate 10 diverse topics that are suitable for writing poems about.",
        model_name="gpt-4o-mini",
        response_format=Topics,
        parse_func=lambda _, topics: [{"topic": t} for t in topics.topics_list],
    )

    topics: Dataset = topic_generator()
    print(topics["topic"])

    class Poems(BaseModel):
        poems_list: List[str] = Field(description="A list of poems.")

    poet = curator.Prompter(
        # The prompt_func takes a row of the dataset as input.
        # The row is a dictionary with a single key 'topic' in this case.
        prompt_func=lambda row: f"Write two poems about {row['topic']}.",
        model_name="gpt-4o-mini",
        response_format=Poems,
        # `row` is the input row, and `poems` is the Poems class which is parsed from the structured output from the LLM.
        parse_func=lambda row, poems: [{"topic": row["topic"], "poem": p} for p in poems.poems_list],
    )

    poems = poet(topics)
    print(poems.to_pandas())

async def main():
    await run_in_threadpool(generate_topics)

uvloop.run(main())


[Bug]: Ray distributed backend does not support out-of-tree models via ModelRegistry APIs

Your current environment
PyTorch version: 2.3.0+cu121
Is debug build: False
CUDA used to build PyTorch: 12.1
ROCM used to build PyTorch: N/A

OS: Amazon Linux 2 (x86_64)
GCC version: (GCC) 7.3.1 20180712 (Red Hat 7.3.1-17)
Clang version: Could not collect
CMake version: version 3.29.5
Libc version: glibc-2.26

Python version: 3.10.14 | packaged by conda-forge | (main, Mar 20 2024, 12:45:18) [GCC 12.3.0] (64-bit runtime)
Python platform: Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.26
Is CUDA available: True
CUDA runtime version: 12.1.105
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration:
GPU 0: NVIDIA A100-SXM4-40GB
GPU 1: NVIDIA A100-SXM4-40GB
GPU 2: NVIDIA A100-SXM4-40GB
GPU 3: NVIDIA A100-SXM4-40GB
GPU 4: NVIDIA A100-SXM4-40GB
GPU 5: NVIDIA A100-SXM4-40GB
GPU 6: NVIDIA A100-SXM4-40GB
GPU 7: NVIDIA A100-SXM4-40GB

Nvidia driver version: 535.183.01
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
CPU(s):              96
On-line CPU(s) list: 0-95
Thread(s) per core:  2
Core(s) per socket:  24
Socket(s):           2
NUMA node(s):        2
Vendor ID:           GenuineIntel
CPU family:          6
Model:               85
Model name:          Intel(R) Xeon(R) Platinum 8275CL CPU @ 3.00GHz
Stepping:            7
CPU MHz:             3599.164
BogoMIPS:            5999.99
Hypervisor vendor:   KVM
Virtualization type: full
L1d cache:           32K
L1i cache:           32K
L2 cache:            1024K
L3 cache:            36608K
NUMA node0 CPU(s):   0-23,48-71
NUMA node1 CPU(s):   24-47,72-95
Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves ida arat pku ospke

Versions of relevant libraries:
[pip3] numpy==1.26.4
[pip3] nvidia-nccl-cu12==2.20.5
[pip3] torch==2.3.0+cu121
[pip3] transformers==4.41.2
[pip3] triton==2.3.0
[conda] No relevant packages
ROCM Version: Could not collect
Neuron SDK Version: N/A
vLLM Version: 0.5.0
vLLM Build Flags:
CUDA Archs: Not Set; ROCm: Disabled; Neuron: Disabled
GPU Topology:
GPU0    GPU1    GPU2    GPU3    GPU4    GPU5    GPU6    GPU7    CPU Affinity    NUMA Affinity   GPU NUMA ID
GPU0     X      NV12    NV12    NV12    NV12    NV12    NV12    NV12    0-23,48-71      0               N/A
GPU1    NV12     X      NV12    NV12    NV12    NV12    NV12    NV12    0-23,48-71      0               N/A
GPU2    NV12    NV12     X      NV12    NV12    NV12    NV12    NV12    0-23,48-71      0               N/A
GPU3    NV12    NV12    NV12     X      NV12    NV12    NV12    NV12    0-23,48-71      0               N/A
GPU4    NV12    NV12    NV12    NV12     X      NV12    NV12    NV12    24-47,72-95     1               N/A
GPU5    NV12    NV12    NV12    NV12    NV12     X      NV12    NV12    24-47,72-95     1               N/A
GPU6    NV12    NV12    NV12    NV12    NV12    NV12     X      NV12    24-47,72-95     1               N/A
GPU7    NV12    NV12    NV12    NV12    NV12    NV12    NV12     X      24-47,72-95     1               N/A

Legend:

  X    = Self
  SYS  = Connection traversing PCIe as well as the SMP interconnect between NUMA nodes (e.g., QPI/UPI)
  NODE = Connection traversing PCIe as well as the interconnect between PCIe Host Bridges within a NUMA node
  PHB  = Connection traversing PCIe as well as a PCIe Host Bridge (typically the CPU)
  PXB  = Connection traversing multiple PCIe bridges (without traversing the PCIe Host Bridge)
  PIX  = Connection traversing at most a single PCIe bridge
  NV#  = Connection traversing a bonded set of # NVLinks

🐛 Describe the bug
The ray distributed backend does not support out-of-tree models (on a single node).
Repro:

from vllm import ModelRegistry
from vllm.model_executor.models.mixtral import MixtralForCausalLM
ModelRegistry.register_model("SomeModel", MixtralForCausalLM)

from vllm import LLM, SamplingParams

if __name__ == "__main__":
    llm = LLM(
        model="SomeModel/", # just use a downloaded mixtral model from huggingface with config.json   "architectures": ["SomeModel"]
        tensor_parallel_size=8,
        # distributed_executor_backend="ray", # ray backend fails!
    )

will take a look later

sorry i don't get it. the usage of oot model registration, is that you register the architecture name appearing in the huggingface config file, not the LLM argument.
see https://huggingface.co/facebook/opt-125m/blob/main/config.json#L6 for example.

sorry i don't get it. the usage of oot model registration, is that you register the architecture name appearing in the huggingface config file, not the LLM argument.
see https://huggingface.co/facebook/opt-125m/blob/main/config.json#L6 for example.

Yes, this is how I am using it.
For context, the "SomeModel/" directory here contains a config.json file which references my custom architecture. For clarity, can use this example:
from vllm import ModelRegistry
from vllm.model_executor.models.mixtral import MixtralForCausalLM
ModelRegistry.register_model("SomeModel", MixtralForCausalLM)

from vllm import LLM, SamplingParams

if __name__ == "__main__":
    llm = LLM(
        model="directory_with_model/", # directory which has a config.json with architectures: ["SomeModel"]
        tensor_parallel_size=8,
        # distributed_executor_backend="ray", # ray backend fails!
    )

then it makes sense to me. ray workers does not know "SomeModel", the following code:
from vllm import ModelRegistry
from vllm.model_executor.models.mixtral import MixtralForCausalLM
ModelRegistry.register_model("SomeModel", MixtralForCausalLM)

is not executed in ray workers.

thanks!
is there a way to do this initialization on the ray workers?

@SamKG so the default backend (multiprocessing) should work out-of-the-box, right?

also cc @rkooo567 - maybe this is solvable via runtime env
@SamKG is there a full repro somewhere we can look at?

@SamKG is there a full repro somewhere we can look at?

Try attached
repro.tar.gz

@rkooo567 this functionality seems related, but how can we expose it to users?

ray.init(runtime_env={"worker_process_setup_hook": })... allows to execute code on all workers. Would this suffice?

this seems to fix the issue!
import ray
from vllm import ModelRegistry, LLM

def _init_worker():
    from vllm.model_executor.models.mixtral import MixtralForCausalLM
    ModelRegistry.register_model("SomeModel", MixtralForCausalLM)
_init_worker()
if __name__ == "__main__":
    ray.init(runtime_env={"worker_process_setup_hook": _init_worker})
    llm = LLM(
        model="model/",
        tensor_parallel_size=8,
        distributed_executor_backend="ray",
    )
    llm.generate("test")

very nice!
@youkaichao maybe we can just print out a warning linking to the vllm docs about this?
and in the vllm docs let's have an example snippet like above!

closed by https://github.com/vllm-project/vllm/pull/7426/
the recommended way for registering oot models should be using plugins.
I will write docs later.
cc @SamKG you can have a try for the plugin system!

closed by #7426
the recommended way for registering oot models should be using plugins.
I will write docs later.
cc @SamKG you can have a try for the plugin system!

Is there any solution to the multi tensor parallel plugin method for theOOT model problem (except using ray backend)? I can't find the relevant documentation for the plugin.

@chensiye-csy  sorry I didn't have time to write doc yet, but you can follow https://github.com/vllm-project/vllm/tree/main/tests/plugins/vllm_add_dummy_model . it is fairly easy.

yes this is exactly the problem plugin will solve. the plugin function will be called in every vllm process.

yes this is exactly the problem plugin will solve. the plugin function will be called in every vllm process.

That's good! How can I use plugin in OOT model?

the easiest way:
run pip install -e . in https://github.com/vllm-project/vllm/tree/main/tests/plugins/vllm_add_dummy_model , and change this line:
https://github.com/vllm-project/vllm/blob/95965d31b6ac2c9557816a6ffabe4a3117a5ccb2/tests/plugins/vllm_add_dummy_model/vllm_add_dummy_model/__init__.py#L23


A .js bundle and api seems to be missing

Hi Pzhao,
It is a nice tool and I wanted to give it a shot, however your README seems to describe how to use the tool for the end-user but not for the developers / library-consumers who would need an API to integrate this tool to their webpages. The code on Github seems to pertain to website code rather than the library code.
I tried looking into the dist folder, but there does not seem to be a *.js bundle that automatically imports/inlines necessary css, helper libraries etc. There is no build step for library builders like rollup.js either.
So how one would go about integrating your work to his/her website ?
(no iframes, that is not a sustainable solution)
Ty
---UPDATE---
Running npm install, followed by npm run build and followed by npm run start initially started a webserver that resulted in 404,  logging Cannot GET '/' on the client side. I did the following changes on the weback.config.js:
module.exports = {
  mode: "development",
  entry: './src/index.tsx',
  output: {
    filename: 'bundle.js',
    path: path.resolve(__dirname, 'dist'),
    publicPath: '/dist/'
  },
  devServer: {
      static: {
          directory: path.join(__dirname, '/dist')
      }
  },...

I added a new script to package.json:
"scripts": {
    ...
    "start2": "webpack serve"
  }

So now running npm run start2 correctly serves the right content. Still, the generated bundle.js is for replicating the entire website. It would be very helpful to release a  standalone *.js file that render a given input string, without all the UI. You might consider this issue a feature request. Once again, very nice work.

It is true that there is currently no API to allow other developers to integrate RNAcanvas functionality directly into their projects.
I don't have any experience in creating such APIs actually. Right now I've begun looking over the npm docs on how to create and publish packages. Would an npm package be the kind of thing you were thinking of?
The RNAcanvas codebase is also not the most stable at the moment (to help facilitate the removal of technical debt). If an API for RNAcanvas were to be created, I suppose there would need to be a degree of separation between the API and the underlying codebase so that the API could be as stable as possible. How feasible would this be?
(Also, as you found out, it is possible to build and serve the RNAcanvas app via the methods that you used.)
Thanks for the interest in RNAcanvas!

It is completely alright. Bioinfo tools deal with UI/UX + science at the same time so it is indeed difficult.
You could start by isolating svg drawing functions and helpers (svg.js + your code to generate bezier curves around the molecules etc.), requiring them into an entry point function (inside index.js or similar) which in turn would accept strings as inputs and a container to render the svg into. Adding a rollup.config.js would then bundle this whole thing into consumable library, separating it from jquery/react or other UI elements dealing with DOM & website in general.
Above is not easy, nor it is hard, it just time consuming. So right now your tool is great, you must be busy with other things, so it is just a food for thought. Later when you have time and your API is a bit more stable, you can start in small steps.
At the moment, I built your app and dockerized it and added allowedHosts key under devServer in webpack.config.js. This way I can run the docker container, place it behind nginx reverseProxy and render its contents from another application/docker container via an iframe. It is not perfect, but it does the job.
Again, it is a great tool. Good luck.

Just wanted to mention that a new version of RNAcanvas is being developed (and written from scratch) named RNAcanvas Code: https://code.rnacanvas.app
Documentation: https://pzhaojohnson.github.io/rnacanvas.code/
This new version is meant to allow code-centric drawing of RNA structures.  The RNAcanvas Code app is also embeddable in other websites (documentation here: https://pzhaojohnson.github.io/rnacanvas.embedded/).


feat: allow passing extra headers to Lighthouse

See discussion on the issue https://github.com/netlify-labs/netlify-plugin-lighthouse/issues/152
Opening as draft so I can get some feedback on use case.

Hi, this is a pretty old PR, but we would love to use headers for basic auth purposes in our project. What can we help with to move this along?
TIA!


Could you please post a win32 version for testing on Windows?

Could you please post a win32 version for testing on Windows 10 terminal?
Thanks

I don't have Windows installed currently so I can't build or test the downloader on Windows.

Assuming the license hasn't changed, https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/ still has Windows VMs that are licensed for "testing" without constraining it to testing websites and which grant you explicit permission to use a snapshot to bypass the expiry of the trial period.
As for building legally redistributable stuff, that's what a CI service like AppVeyor with Windows VMs free to open-source projects is for.

About a year ago, I tried to build it, but it needs some porting effort, depending, what compiler you are using. I could not do it, because I'm not a programmer, more a self-taught jack of all trades

With VisualC++ my roadblock was finding a proper JSON implementation.
MSYS(2) there is some issue with getting the building enviroment right.
Cygwin has some memory / malloc symbol stuff which I could not resolve.

Sude-, there is also a msys cross compiler which also works with Linux and you can do testing with the stuff ssokolow mentioned.

Good point. While you need real Windows to test properly, any Debian-family distro should have mingw-w64 and wine for preliminary building and testing.


feat: headers everywhere

Description
This PR resolves MOPLAT-408
Using Screen in all the app screens!!
PR Checklist

[ ] I tested my changes on iOS and Android.
[ ] I added screenshots or videos to illustrate my changes.
[ ] I added Tests and Stories for my changes.

To the reviewers 👀

[x] I would like at least one of the reviewers to run this PR on the simulator or device.

Need help with something? Have a look at our docs, or get in touch with us.

Great work Pavlos,
I just did a quick QA I saw spacing/padding issues on the below screens. Could you please fix them too?
Then we are good to go I guess

all fixed, good catch!


Bugfix: django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty.

Describe the bug
After installing in editable mode on branch v0.4.3, running archivebox init results in an exception

django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty.

The directions I followed were basically these: https://github.com/pirate/ArchiveBox/wiki/Roadmap#-pip-install-archivebox
Steps to reproduce

git clone https://github.com/pirate/ArchiveBox.git && cd ArchiveBox && git checkout v0.4.3
pyenv local 3.7.4
pipenv install && pipenv shell
pip install -e .
mkdir data && chmod 777 data && cd data
archivebox init

After running the last step, I get the above error. At that point the ArchiveBox.conf file has already been created with something like:
[SERVER_CONFIG]
SECRET_KEY = abc123

Screenshots or log output
avatar-wan ArchiveBox # archivebox init
[+] Initializing a new ArchiveBox collection in this folder...
    /Users/mpeteuil/projects/ArchiveBox/data
------------------------------------------------------------------

[+] Building archive folder structure...
    √ /Users/mpeteuil/projects/ArchiveBox/data/sources
    √ /Users/mpeteuil/projects/ArchiveBox/data/archive
    √ /Users/mpeteuil/projects/ArchiveBox/data/logs
    √ /Users/mpeteuil/projects/ArchiveBox/data/ArchiveBox.conf

[+] Building main SQL index and running migrations...
Traceback (most recent call last):
  File "/Users/mpeteuil/.local/share/virtualenvs/ArchiveBox-GFvPTHwb-/Users/mpeteuil/.pyenv/shims/python/bin/archivebox", line 11, in <module>
    load_entry_point('archivebox', 'console_scripts', 'archivebox')()
  File "/Users/mpeteuil/projects/ArchiveBox/archivebox/__main__.py", line 10, in main
    archivebox.main(args=sys.argv[1:], stdin=sys.stdin)
  File "/Users/mpeteuil/projects/ArchiveBox/archivebox/cli/archivebox.py", line 58, in main
    pwd=pwd or OUTPUT_DIR,
  File "/Users/mpeteuil/projects/ArchiveBox/archivebox/cli/__init__.py", line 55, in run_subcommand
    module.main(args=subcommand_args, stdin=stdin, pwd=pwd)    # type: ignore
  File "/Users/mpeteuil/projects/ArchiveBox/archivebox/cli/archivebox_init.py", line 34, in main
    out_dir=pwd or OUTPUT_DIR,
  File "/Users/mpeteuil/projects/ArchiveBox/archivebox/util.py", line 105, in typechecked_function
    return func(*args, **kwargs)
  File "/Users/mpeteuil/projects/ArchiveBox/archivebox/main.py", line 293, in init
    setup_django(out_dir, check_db=False)
  File "/Users/mpeteuil/projects/ArchiveBox/archivebox/config/__init__.py", line 821, in setup_django
    django.setup()
  File "/Users/mpeteuil/.local/share/virtualenvs/ArchiveBox-GFvPTHwb-/Users/mpeteuil/.pyenv/shims/python/lib/python3.7/site-packages/django/__init__.py", line 19, in setup
    configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
  File "/Users/mpeteuil/.local/share/virtualenvs/ArchiveBox-GFvPTHwb-/Users/mpeteuil/.pyenv/shims/python/lib/python3.7/site-packages/django/conf/__init__.py", line 79, in __getattr__
    self._setup(name)
  File "/Users/mpeteuil/.local/share/virtualenvs/ArchiveBox-GFvPTHwb-/Users/mpeteuil/.pyenv/shims/python/lib/python3.7/site-packages/django/conf/__init__.py", line 66, in _setup
    self._wrapped = Settings(settings_module)
  File "/Users/mpeteuil/.local/share/virtualenvs/ArchiveBox-GFvPTHwb-/Users/mpeteuil/.pyenv/shims/python/lib/python3.7/site-packages/django/conf/__init__.py", line 176, in __init__
    raise ImproperlyConfigured("The SECRET_KEY setting must not be empty.")
django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty.

Software versions

OS: MacOS 10.14.6
ArchiveBox version: 374dd39
Python version: 3.7.4

Odd, does it work on the v0.4.0 branch? It's probably a simple mistake I made somewhere like accidentally initializing django with setup_django before the config file is read.

Sure thing. Yes, it looks like the v0.4.0 branch work fine.

This should be fixed on the latest Django branch. If you still see any problems comment back here and I'll reopen the ticket.


Open folder from Explorer

A useful feature I would use is an option to open a folder from the right click menu in the explorer.
For example, instead of pressing File -> Open Folder and browsing to it you can just right click the folder in the explorer and Open.

This extension should do what you want: https://marketplace.visualstudio.com/items?itemName=chrisdias.vscode-opennewinstance


IPFW / shaper: large (long) SRC / DST entries in rule won't be parsed by ipfw / no more rules active

[ x ] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[ x ] I have searched the existing issues and I am convinced that mine is new.

Shaper: handling of large (long) SRC / DST entries in rules
I successfully added the list of Cisco-Webex-hosts into the Source-field of a shaper-rule. When applying the settings and reviewing the status-page I saw that no rule was active anymore but the dashboard said the ipfw-status was fine.
I restarted the ipfw-daemon manually and saw this error:
root@foowall:~ # service ipfw restart
Line 89: address list too long
Firewall rules loaded.

Where line 89 (which is really quite long) contained my Webex-IPs:
add 60002 queue 10011 ip from any to <IP_ADDRESS>/26,<IP_ADDRESS>/25,<IP_ADDRESS>/19,<IP_ADDRESS>/25,<IP_ADDRESS>/25,<IP_ADDRESS>/19,<IP_ADDRESS>/25,<IP_ADDRESS>/25,<IP_ADDRESS>/17,<IP_ADDRESS>/24,<IP_ADDRESS>/24,<IP_ADDRESS>/16,<IP_ADDRESS>/28,<IP_ADDRESS>/24,<IP_ADDRESS>/18,<IP_ADDRESS>/25,<IP_ADDRESS>/24,<IP_ADDRESS>/19,<IP_ADDRESS>/23,<IP_ADDRESS>/26,<IP_ADDRESS>/20,<IP_ADDRESS>/24,<IP_ADDRESS>/24,<IP_ADDRESS>/19,<IP_ADDRESS>/25,<IP_ADDRESS>/18,<IP_ADDRESS>/19,<IP_ADDRESS>/25,<IP_ADDRESS>/19,<IP_ADDRESS>/20,<IP_ADDRESS>/25,<IP_ADDRESS>/20,<IP_ADDRESS>/19,<IP_ADDRESS>/25,<IP_ADDRESS>/19 src-port  any dst-port any    via igb0 // 5e11c675-e756-436a-8ac0-3dc7e23607d7 opt3: WebConf-ViConf - Upload

Splitting this single rule into two worked as a workaround, but can't be the solution. The main problem is that you don't get feedback in the GUI that the configfile was not parsed successfully, as the ipfw runs anyway.
Environment

OPNsense 21.1.1-amd64
FreeBSD 12.1-RELEASE-p13-HBSD
OpenSSL 1.1.1i 8 Dec 2020
Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz (4 cores)

the number of accepted addresses in single rules is limited indeed, I've prepared a patch https://github.com/opnsense/core/commit/f4966e15c6bb7d4e5a2e9e8fb21cfe9051d1f072 to use tables when more than one address is provided.
Can you try  this (on 21.1.2, from the console):
opnsense-patch f4966e1

then reload the ruleset


negative counts in timeseries.csv

There is also 0.5 counts for type active and cases

I know exactly why the Utah problem was happening, that can be fixed easily (they're reporting 3 counties as "Tri-county").
For CHE, maybe they switched to offer daily data instead of cumulative... They switched the data source up before and broke everything, so I wouldn't put it past them.
@qgolsteyn can you investigate CHE? I can fixup Utah.

@tautme fixed the Utah issues, filed separate issue https://github.com/lazd/coronadatascraper/issues/356

@qgolsteyn I think this is an issue with the source -- even if there was something weird, they have deaths and recovered > cases.

The source appears to have missing entries for cases, which would make active negative if deaths are reported

See #357 for decision on active. Closed with 84e8a277


Inconsistent download archives across platforms

The download archives have an inconsistent structure on different platforms.

The macOS and Linux archives contain a ChakraCoreFiles folder which contains everything, including the LICENSE file.

The Windows archives, however, don’t contain this parent ChakraCoreFiles folder, and instead have all the files at the root of the archive. They also don’t include the LICENSE file.

cc @obastemur

Agree with @mathiasbynens and I believe we need to change couple of things with Windows bundles.

put the samples and LICENSE (similar to xplat package)

@dilijev @MSLaguana what do you think?

I don't think the archive needs a single folder at the root of the archive. Yes, all packages should look the same. We should include the LICENSE in all. Not sure we need to include the Samples in any of them, as those are present in the wiki and represent clutter in the packages themselves. Maybe we could include a release-specific README with links to samples, description of how to use the package and so on.

Agree with @dilijev . The Windows package also lacks the headers and .lib file, which are necessary for embedding.

The single folder at the root of the .tar.gz is pretty common, so you don't unzip something and find that you've polluted the current directory unexpectedly. Typically that folder name matches the name of the archive (without extension) but that's just a convention.
On windows, we have top-level folders for each flavor, while on xplat we only build one flavor. If we want a consistent folder structure between windows and xplat, what would we like it to be?
root
- cc_<platform>_<version>
\ - LICENSE
  - bin
  \ - <platform>
    \ - ch[.exe]
      - chakracore,[dll / so]
      - chakracore.lib?
  - include
  \ - <various headers>

Spoke with @dilijev a bit and realised that the linux packages are also missing the libchakracore.a files. We might want to re-visit what the purpose of these released archives is, and make sure that they are fit for purpose.
E.g. are they intended for just running ch.exe foo.js and getting output? Are they intended to allow you to embed chakracore, and so we should provide the .lib/.a files?

I assumed the use case was to just run ch.exe foo.js, because embedders would probably want to check out the source code.

I yield to the argument in favor of a single folder at the root of an archive. I suggested removing it because most archival tools on Windows will offer to (or by default) extract to a directory with the same name as the archive. However, polluting your CWD with whatever was in the archive is worse than a redundant subdir.
On xplat builds where we ship only x64, the x64/ subdir would look redundant but it seems like a good thing to keep things as congruent as possible between the various platforms' packages.

Windows packages are not currently suited to embedding ChakraCore.dll in an application because they are missing the dev headers. Not sure about the *nix packages. If we decide to remove support for embedding it wouldn't be a regression from the perspective of Windows packages. (Also there's the NuGet packages for that.)
I am unsure about whether I think these downloads should enable embedding ChakraCore...

Spoke with @dilijev a bit and realised that the linux packages are also missing the libchakracore.a files. We might want to re-visit what the purpose of these released archives is, and make sure that they are fit for purpose.

We had discussed this initially (offline) hence I don't think we have any reference on Github. Let me try to explain;
We do not miss archive files. Xplat package ensures an easy experience with ChakraCore targeting multiple distros with a single binary.
There are multiple reason for not including archive files with xplat packages. Couple of them;

Archive files are more platform dependent and used for static embedding on xplat. Our linux package targets multiple distros.
Are we going to ship the archive files for ICU too?
How about stdlib?

The list goes on with the package size etc.
If a project wants to embed ChakraCore statically, well, we have enough samples are explaining the usage.
my 2 cents;; unless there is a good reason, I'm -1 on putting the platform dependent archive file into xplat packages and raising confusions.

@obastemur That's totally fair. In that case I think we should say across the board that the purpose of these archives is not to be consumed by embedders, but rather ONLY to provide a runnable host from a given release (ch).

Oh I think I misunderstood... Static archives (.a/.lib files) should not be included because they are too system-specific and large. However, shared object files for embedding ChakraCore (by .so/.dll) should be provided in these packages, in addition to the runnable host.
Therefore, across the board these packages should provide a runnable host and the tools necessary to dynamically link ChakraCore in an application.

We don't have good visibility on how folks who consume ChakraCore actually consume or embed it.

@dilijev , in docfx we embed ChakraCore in a dotnet core app. Our target platform includes Windows, MacOS and linux. The current NuGet approach of embedding only works for Windows, so we have to fallback to other solutions on other platforms.


Factor attribute-stripping into a fold, similar to libsyntax

This stuff: https://github.com/serde-rs/serde/blob/3a3777a2fb00450fc436e28bb87f53b28ca4744c/serde_codegen/src/lib.rs#L199-L292
Here is how libsyntax does it: https://github.com/rust-lang/rust/blob/master/src/libsyntax/fold.rs

Half of this code is gone in #592 but I am keeping the ticket open to handle the other half.

This code has been replaced by https://github.com/rust-lang/rust/pull/37614.


Change the name of Lawyer office

Currently office=lawyer + lawyer=notary and office=notary have the same name (Notary office) which can cause confusion if the translator doesn't see the tags. Is it possible to change the preset name of office=lawyer to something else?

You mean that office=notary shares the same name and should be renamed, right?
The wiki is not very helpful on this matter, unfortunately:

Note that this tag may have different meaning (currently it is not defined) […]

Note that currently the preset for office=lawyer + lawyer=notary is a "hidden" one (not searchable), so it wouldn't cause confusion by being a duplicate in the search results.
What would you propose to call these two presets?

I meant office=notary.
office=notary can be called Notary office and office=lawyer + lawyer=notary can be called Civil law notary (as they are called in the respective Wikipedia articles). I'm not sure if it would make sense when it's translated in other languages though.

I found some older tickets regarding this tag:

https://github.com/openstreetmap/iD/issues/4634
https://github.com/openstreetmap/iD/pull/4491#commitcomment-25316574

and here's a recent usage statistics graph:
.

I'm not really familiar with the common law system, so the concept of different kinds of notaries was new for me. But after reading this topic up a bit on wikipedia, what I understand is that in some countries (the using the common law system, i.e., UK, Ireland, US, Canada, Australia, New Zealand and perhaps a few others) there exist two different kinds of notaries: notaries public and civil law notaries. In other countries (e.g., continental Europe) this distinction does not seem to exist (anymore).
Having this in mind, I think the decision to hide the preset for lawyer=notary seems like it was a mistake.
Now, the question is: wouldn't it be best if we limit the office=notary preset to countries with common law systems and call it Notary Public?

Now, the question is: wouldn't it be best if we limit the office=notary preset to countries with common law systems and call it Notary Public?

Yes, I think a regionally limited preset for notaries public makes plenty of sense, as long as we can reliably identify the jurisdictions where they operate. It’s possible that some of the earlier confusion was because civil law notaries are unheard of in most of the United States. But adding to the confusion, civil law notaries apparently do operate in parts of the U.S., including Louisiana (which uses civil law) and Florida (which uses common law). So we would need to keep the civil law notary preset enabled for these hybrid jurisdictions as well.
The capability to define regional presets changes the calculus for a lot of old discussions like the ones you dug up. For example, Bail Bond Agent could also be limited to certain legal systems, but that probably isn’t causing any problems because “bail bond agent” doesn’t mean a different thing in other legal systems.


npm shell  does not work

Hi team,
I am using ubuntu 20.4, kernel 4.9.56, node version v16.20.2, npm version 8.19.4. I installed the command
npm install @project-chip/matter-node-shell.js"'.
I am trying to run using the "npm shell " but I get the error message as shown below.

I tried to resolve the issue but somehow I am unable to. Please guide me.

"npm run shell 1" should be your friend

@Apollon77

Nope does not work. Maybe you can share a screenshot of what happens on your end and then I can proceed.

in which directory do you execute that? you might need to change into<EMAIL_ADDRESS>director for that to work? Seems we might need to adjust docs ...

So i tried it and I get a new error.

Come one guys, give me something here.....

I did not had time to repro this, but in fact what you can alöways do is to call the scrips directly like
"node<EMAIL_ADDRESS>..."

@hassan-xy I addressed the bug you turned up with npm run in the installed package in #933.  You'll have to wait until it gets into the nightly to use it.  You also should be able to do npx matter-shell 1 once that PR lands to run the shell when the module is installed.
@Apollon77's last answer should always work too -- just run the JS directly with node.

Ok, fixes are in latest nightlies

Not sure whats happening here but just cant seem to detect nearby devices. I have a esp32 that gets detected by the chip tool but does not detect here.

Guys any updates?

So great to see it runs now. In fact this message mainly means that he was not able to discover any devoice as you correctly assume. for details please set the loglevel of the shell a bit higher or enable debug logfile (see "config help" for options) and porovide this - but pleae in a new issue because the isue here is closed because it launches now


S2 Popover border token - color only, re-do

Created by Action: https://github.com/adobe/spectrum-tokens-studio-data/actions/runs/8899957574
Token Studio PR: https://github.com/adobe/spectrum-tokens-studio-data/pull/125

Run report for 6623c9d1
Total time: 30.3s | Comparison time: 33.1s | Estimated savings: 2.8s (8.6% faster)

Action
Time
Status
Info

🟩
SyncWorkspace
0ms
Passed

⬛
SetupNodeTool(~20.12)
1.2s
Skipped

🟩
InstallNodeDeps(~20.12)
7.5s
Passed

🟩
SyncNodeProject(tokens)
0.2ms
Passed

🟩
SyncNodeProject(root)
0.2ms
Passed

🟩
RunTask(tokens:buildTokens)
16s
Passed

🟩
RunTask(tokens:buildManifest)
275.8ms
Passed

🟩
RunTask(root:test)
1.4s
Passed

🟩
RunTask(tokens:build)
2.7s
Passed

🟩
RunTask(tokens:generateDiffResult)
5.6s
Passed

🟥
RunTask(tokens:test)
2.7s
Failed

Touched files
packages/tokens/src/color-component.json


Drop Bower dependencies of gh-pages branch (?)

I've just noticed there are Bootstrap and jQuery Bower dependencies on gh-pages branch. Are they really required? They look pretty redundant to me there. :wink:

Thanks for requesting this. It's still used and really useful to manage the dependencies version.

https://github.com/watilde/chest/blob/gh-pages/index.html#L8
https://github.com/watilde/chest/blob/gh-pages/index.html#L80
https://github.com/watilde/chest/blob/gh-pages/index.html#L81

So let me say they are required.

Yep, but almost no code is used from those libraries. Site can run fine
without them.
On Wed, Aug 31, 2016 at 11:23 AM Daijirō Wachi<EMAIL_ADDRESS>wrote:

Thanks for requesting this. It's still used and really useful to manage
the dependencies version.

https://github.com/watilde/chest/blob/gh-pages/index.html#L8
https://github.com/watilde/chest/blob/gh-pages/index.html#L80
https://github.com/watilde/chest/blob/gh-pages/index.html#L81

So let me say they are required.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/watilde/chest/issues/72#issuecomment-243708135, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACmW6---H-YooiWw4tj35WeNoVMtPGYsks5qlUfzgaJpZM4Ju44O
.


Base branch should be changed to develop once https://github.com/ethereum/solidity/pull/14810 is merged.

Base branch should be changed to develop once https://github.com/ethereum/solidity/pull/14810 is merged.
オリジナルは @nikola-matic が https://github.com/ethereum/solidity/pull/14811 にポスト

Open

Open


Resize history/collections panel

Well, that's quiet self-explanatory. I sometimes work with split windows and I can't resize the left panel containing the history/collections of the request which is kinda big with a 1366x800 resolution.

Coming finally in v3.0!


select2 multiple add all / remove all features

I cannot find documentation if this is implemented, but in a select2 mulitple it will be handful for user to have an option to select all or remove all.
This was implemented I think on select2 already but not sure if ported to Backpack CRUD
https://github.com/select2/select2/issues/195
This is for select2_from_array

Not ported here (yet) from what I can tell.
Probably want to make this work for all types of select(2)s.

Just for now I am using a work around, created 2 buttons ALL and CLEAR and added this script:
var $select2Multi = $('select[name="modules[]"]');
$("#clear").on("click", function ( event ) {
	event.preventDefault();
	$select2Multi.val(null).trigger("change");
});
$("#all").on("click", function ( event ) {
	event.preventDefault();
	$select2.select2('destroy').find('option').prop('selected', 'selected').end().select2()
});

@MickaelTH - I can't find this in the select2 docs to see its syntax. Could you please point me in the right direction?
If they implemented this in the core, I'm wondering if it's as easy as specifying some attributes on the field type. In that case, we only need to use the updated JS and it would work.

@tabacitu - Could it be related to https://select2.org/selections#clearable-selections?

Closing due to inactivity; feel free to reopen.


§Receive just the last message

I just receive the last message on each frame
i send 10 message and juste the last is analyse
thnaks

Hi tarabass,
We will soon be disabling this 'Issues' section, since the page is not regularly monitored.
If you need further assistance with the M4L Connection Kit, please contact Ableton Support and we'll be happy to help.
Best regards,
Lillia
Max for Live Content Specialist


Implement archive-job feature

closes #667
Checklist before merging

[ ] I added an appropriate entry to CHANGELOG.md

For the record, there are tests that do pass on ubuntu 22 and not on ubuntu 20, in the github ci.
Here are the relevant sqlite versions
Package: libsqlite3-0
Architecture: amd64
Version: 3.31.1-4ubuntu0.5
Multi-Arch: same
Priority: important
Section: libs
Source: sqlite3
Origin: Ubuntu

Package: libsqlite3-0
Architecture: amd64
Version: 3.37.2-2ubuntu0.1
Multi-Arch: same
Priority: important
Section: libs
Source: sqlite3
Origin: Ubuntu

This changelog for 3.37 (https://www.sqlite.org/changes.html)

When adding columns that contain a CHECK constraint or a generated column containing a NOT NULL constraint, the ALTER TABLE ADD COLUMN now checks new constraints against preexisting rows in the database and will only proceed if no constraints are violated.
probably explains the first error, but not the currently failing CI

And here is the other problem (thanks @mfranzon):

2021-03-12 (3.35.0)
Added support for ALTER TABLE DROP COLUMN.

Closing in favor of #927


@prisma/clien Not found in npm

Bug description
Hi, when I run:
npm @prisma/client I got:
E404
Not found
The same also here https://npm.runkit.com/%40prisma%2Fclient
How to reproduce

npm install @prisma/client

Expected behavior
No response
Prisma information
Nothing.
Environment & setup

OS: Windows
Database: PostgreSQL
Node.js version: v20.11.1

Prisma Version
5.17.0

Solved:
npm config set registry http://registry.npmjs.org
npm - g install npm
npm cache clean -f


This looks good, thank you! I'll get this merged

This looks good, thank you! I'll get this merged
Just to note that I'll shortly change this content into a reusable because another user identified a different issue  that coincidentally touches the same content, but the indentation issue would still exist there so needed fixing, and in any case you'll be fully credited as contributor on this PR 😄
Thank you again for your help!
Originally posted by @subatoi in https://github.com/github/docs/pull/28408#pullrequestreview-1642376297

@kyawgyi99996
It looks like your issue is resolved since you closed this thread.
If there are further questions regarding this matter, please tag me in a comment. I will reopen it and we will gladly continue the discussion.


drop django<2.0 support, add support for django>=3.0

Dropped support for django==1.11.x and updated the initial migration.

fixes #8.


cli: Clarified remote usage, per issue #2404

Clarified remote usage, closes #2404

Unfortunately it looks like this change breaks docopt parsing.
++ 15:14:16.241 /home/ubuntu/go/src/github.com/flynn/flynn/test/../cli/bin/flynn -a remote-94f2c076 remote add
usage: flynn [-a ] remote add [] [-y]

test_cli.go:1032:
    // create the default remote
    t.Assert(r.flynn("-a", remoteApp, "remote", "add"), Succeeds)
... result *main.CmdResult = &main.CmdResult{Cmd:[]string{"/home/ubuntu/go/src/github.com/flynn/flynn/test/../cli/bin/flynn", "-a", "remote-94f2c076", "remote", "add"}, Output:"usage: flynn [-a ] remote add [] [-y]\n", Err:(*exec.ExitError)(0xc8203de960)}

I'm having trouble running just test_cli. I tried vagrant@flynn:~/go/src/github.com/flynn/flynn$ script/run-integration-tests -f test/test_cli.go but that just runs and reports OK: 0 passed

Run with -f TestRemote

Closing, this patch appears to be broken. Feel free to open a new PR with a working patch.


Update to a more modern tcpip

followon #54  ; attempting to use an updated tcpip.

I'm closing this one but I have cherry-picked your fix, thanks!

Re-opening as this needs more work (the fork of tcpip doesn't compiler). Nothing blocking though, so not a big priority.

I'll open up a new PR with a better update.


Export low level interface API for MSVC

Added more exported symbols to have access to the low-level LightGBM API.
A new file LightGBM/export.h was created to define the  LIGHTGBM_EXPORT and LIGHTGBM_C_EXPORT macros, according to the compiler.

Hi @cbecker, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

Should be fine now, I also signed the CLA.

@cbecker you can try close and reopen this PR to change the state of CLA.

Hi @cbecker, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.
TTYL, MSBOT;


Create a lesson about Strings

Suggesting to create a lesson about Strings in Elixir, starting from:

how do they work
simple operations and manipulation
how are they handled inside the BEAM
Etc.

If you need some help with that, please let me know! :smile:

Great idea, @setzer777! And thanks for the suggestion.
I am currently working on an Elixir Natural Language Processing library as part of my PhD (it's currently private on my github) and I have been looking into this for quite sometime.
Maybe we could work together on this lesson together?

Great @pjhampton! I bet functional programming have helped you a lot with your project :stuck_out_tongue:
Of course! Let's just split the lesson into sections and then we can start to work :)

:boom: Teamwork ftw!

I propose this sections for the lesson:

Strings in Elixir: Explain what's the deal with strings in Elixir, about their binary-ty and stuff haha

Graphemes
Codepoints

Common functions:

downcase/uppercase
length
split
at
contains
to_char_list (this is gonna be interesting...)

String manipulation

iterate a string
replace characters

I just have this at the moment, let's fulfill the lesson! :)

Supercool @setzer777!!
Do you have Slack? If not sign up here: https://elixir-slackin.herokuapp.com/
We have our own channel #elixirschool where we can chat about this further :smile_cat:

PR #224 was merged today. I think this issue can be closed now.


Vault contents listed in Alfred result, but selecting a result only brings 1password app into focus

Diagnostic
Workflow version
2022.13
Alfred version
5.0 EA6
macOS version
12.4
Architecture
arm64
Workflow environment variables
Dict {
auto_refresh = 1
logins_only = 0
hostnames_only = 1
}
1Password version
8.8.0-143.BETA
op version
In Workflow: 2.2.0
In /usr/local: 2.0.0
Biometric unlock
Enabled
Custom terminal feature
Enabled
Launchd job
Loaded: -	0	com.alfredapp.1password
Installed
Debugger output
Please note, all but one vault item have been redacted for privacy at [REDACTED] below.

[14:04:22.982] Logging Started...
[14:04:28.823] 1Password[External] Processing complete
[14:04:28.826] 1Password[External] Passing output '' to Run Script
[14:04:28.926] 1Password[Run Script] Processing complete
[14:04:28.929] 1Password[Run Script] Passing output '' to Run Script
[14:04:39.816] 1Password[Script Filter] Queuing argument '(null)'
[14:04:39.893] 1Password[Script Filter] Script with argv '(null)' finished
[14:04:39.896] 1Password[Script Filter] {"items":[[REDACTED]...{"uid":"2qn2yevddzemtefeu4ikfrun2u","title":"LogMeIn Billing portal","subtitle":"Chris Shared 𐄁 firespring.1password.com","variables":{"vau [truncated]
[14:04:43.768] 1Password[Script Filter] Processing complete
[14:04:43.779] 1Password[Script Filter] Passing output '' to Conditional
[14:04:43.780] 1Password[Conditional] Processing complete
[14:04:43.780] 1Password[Conditional] Passing output '' to Conditional
[14:04:43.781] 1Password[Conditional] Processing complete
[14:04:43.781] 1Password[Conditional] Passing output '' to Open URL
[14:04:43.781] 1Password[Open URL] Processing complete
[14:04:43.782] 1Password[Open URL] Passing output '(
    "onepassword://view-item/?a=&v=wgj4est2ualczxceeayhpsr53y&i=unl3f76sg5flpiwbtnxddtsevi"
)' to Run Script
[14:04:43.795] 1Password[Run Script] Processing complete
[14:04:43.796] 1Password[Run Script] Passing output '5' to Conditional
[14:04:43.796] 1Password[Conditional] Processing complete
[14:04:43.796] 1Password[Conditional] Passing output '5' to Run Script

Terminal output
glittle-000000:~ graham.little$   /bin/zsh /var/folders/yz/37jk91bd0hd33yzrr0q3yt700000gq/T/tmp.nRbqj8uO

---------------------------- INSTRUCTIONS ----------------------------

The official 1Password command-line tool will ask you to sign in.
This is necessary to get the items list for the 1Password Workflow.

For account details, consult your 1Password Emergency Kit:

  https://support.1password.com/emergency-kit/#get-your-emergency-kit

----------------------------------------------------------------------

Updating items list. It will take a few seconds to complete.
You may close the terminal at any time.
.................
glittle-000000:~ graham.little$

More details
I installed the workflow, authorized access with the 1p command, and quit the terminal shell. All appears normal so far.
Invoked Alfred search, typed in:
1p Adobe
And saw the expected results from my vault listed in Alfred. Hit return for an item that has a login url, the 1password app was brought into focus with no change to search results. Expected result is a browser window would be opened to the login URL listed in the related 1password entry.
Repeated starting at invoking Alfred, hit ⌘ return, and 1password was brought into focus with no change in search results. Expected result is the entry selected in Alfred would be searched in 1password.

Hit return for an item that has a login url

Please try it with other items and see what happens. To debug we need to try to understand a pattern: does it happen with all of them or just some? If just some, how are those different?

the 1password app was brought into focus with no change to search results

Seems like a bug in 1Password. If the app is unlocked, it changes correctly. The method is calling their own URL scheme (onepassword://view-item/) so changes need to happen on their side.

Closing for lack of reply.


Many errors on Polygon

Description
Environment

Browser: Firefox, Chrome, Brave
Wallet: MetaMask, Gnosis, Ledger
Safe: All mainnet network
Environment:

production mainnet

Steps to reproduce

Go to Polygon network
Proceed a transaction

Expected result
Many errors
Obtained result

Read-only wallet
Hidden metamask pop-up
Failed transaction
[...]

Screenshots

Thanks @Sigri44! We're aware and the backend team are looking into it.

I will close the issue as the back-end was fixed and gnosis safe is working on Polygon


Missing Passes

Hello, we are currently using this API for loading some information but we noticed that Passes are missing, they have descriptions, rarity and all that.
Example: Paris 2023 Viewer Pass
Thanks

Where would you put this data, on collectibles.json or a new file?

I've added everything related to operation passes like in this page.
@metzz1  Check the new JSON and let me know if there is something that could be improved.
https://github.com/ByMykel/CSGO-API/blob/main/public/api/en/collectibles/operation/pass.json
I will fix the collectible's rarity in a couple of days.


Consistent messaging on homepage

Suggested changes from website review on 2021-08-21:

[ ] Too much whitespace and too much scrolling. Also see the "three messages" below.
[ ] What problem are we solving? Phrases might be something like:
- "How do I meet other freelancers?"
- "What is the best ML community?"
- "What is networking like now?"
[ ] "AI" is in the name "Marmalade AI" but does not appear on the homepage.
[x] Both the upper and lower buttons should say the same thing.
[ ] Maybe change "Making freelancer networking easier" to "Making it easier for freelancers to network" (remove ambiguity about what kind of "networking" this is).

[ ] Use that same phrase everywhere. Right now, there are at least 3 variations.

[ ] "Serendipity":

Maybe use a more common word, or scratch this row, since "serendipity" is not a differentiating benefit. This would also reduce the page length and hopefully we could get the three-section benefit part from the bottom to be just after the fold.
Maybe change to something about {better, deeper, stronger} networking. "Build a smaller, more focused network."

[ ] Move the graphics down. The text above the fold doesn't tell me how it will help me succeed. [Jim is not in complete agreement with this. Yes the formatting is not great yet, but the flow of images and text is along the ideas of what we originally wanted and what Jim still likes.]
[ ] The "mission" points on the About page are very clear differentiators that should be on the home page.

Three messages

[ ] Change to:

You can find better work.
Better work can find you.
Sharpen your skills.

[ ] Not clear what is the difference (on the home page) between "improved networking" and "automated matching".

Re-design
See Craig's redesign of the home page at 'website > Craig_20210824 > index'.

Fixed by #145.


Fix "main" in package.json

This makes the package work with snowpack.

@greghub It would be great to merge this, getting error with rollup

@greghub Any way this can be merged?


Question: atomic deployment

Our pm2 deployment config has a "post-deploy" step that runs npm install && pm2 startOrReload ecosystem.json --env production.  If the app is already deployed and running, it may load JS modules from `node_modules. I am concerned that the post-deploy step may put the app in an inconsistent state, with this scenario:
App files:
├── index.js
├── a.js
├── b.js
├── node_modules
│   ├── pkg1
│   └── pkg2
└── package.json

Steps:

Old app is deployed and index.js runs. User visits a webpage and the app loads "a.js" and "pkg1" from node_modules to handle the request.
I make some changes to my app after editing "a.js", "b.js" and upgrading the versions of "pkg1" and "pkg2" in package.json.
I run pm2 deploy and pm2 downloads the new "a.js" and "b.js"
The "post-deploy" script runs npm install and updates "pkg1" and "pkg2"
The user visits another webpage and the old version of the app (still running) loads the new copy of "b.js" and the new version of "pkg2".
Now the app is in an inconsistent state because it has the old "index.js", "a.js", and "pkg1", and the new "b.js" and "pkg2"

So what I'm wondering is how to avoid this while maintaining zero downtime. Is this something you've thought about with pm2?

Old issue, but I would say this isn't so much as deployment tool issue as a client runtime versioning issue. It's very difficult to manage what is actually loaded in the browser, between caching and deployment timings and so on. As long as you don't have gigantic changes, this probably won't be a big issue. The app will limp along in the inconsistent state, and if the client hits the changed code, it will work, error out (undefined is not a function, for example), or it will do something entirely unpredictable. One way to do with this would be to put version numbers in all your JS file names. This would cause a 404 on loading the file, instead of serving an inconsistent version.
 Spin up the new version without taking down the old version, drain the connections from the old app as the sessions die, eventually, once no one is connected to the old server, take it out of the load balancer and shut it down. This of course requires you to be running two versions of the app. You need to be running some gigantic enterprise Amazon/Google/Netflix scale app for this to be economical, but that's typically how it's done.

@Balrog30 my concern is purely server-side loading of the JS -- no browser involved.

In that case, if zero-downtime is so important that it can't be down or inconsistent for the time it takes to do an npm install on the app, I would pre-package the node_modules folder with the app, having the modules pre-installed would make npm install unnecessary. Well, unless you have native modules that need to be re-built for the environment. Then you'd need to either build them in an identical (or similiar-enough) environment.  Probably not impossible to do with PM2 deploy, but it wouldn't be done with the simple configurations they have in the documentation.

Another atomicity problem: the default "ref" is a branch name, origin/master ... what happens if master is updated during the deployment process? Is PM2 smart enough to only deploy the exact commit at the time pm2 deploy is run?


introduce six.round()

Originally reported by: Brett Cannon (Bitbucket: brettcannon, GitHub: brettcannon)

Since the semantics for round() changed between Python 2 and 3: http://python3porting.com/differences.html#rounding-behavior

Bitbucket: https://bitbucket.org/gutworth/six/issue/94

@benjaminp see syx.round

@benjaminp - do you know if there is any plan to develop this enhancement?


Revert "Response schemas"

Messed up the merge commit, going to revert and remerge
Reverts IBM/openapi-validator#70

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Timezone bug in Timeline view

Describe the bug
A clear and concise description of what the bug is.
When viewing the timeline for a workflow run in temporal-ui, the timeline displays the user's local time as the x-axis labels, even when the UI is configured to display times in UTC.
To Reproduce
Steps to reproduce the behavior:

Go to any workflow run

Ensure the time setting is set to UTC:

Scroll down to the timeline view

See error where the timeline labels are local time instead of UTC (even though the hover-tooltip displays UTC).

Expected behavior
I expect the timeline x-axis labels to be display in UTC instead of local-time.
Screenshots

Desktop (please complete the following information):

OS: macOS
Browser chrome
Version 2.22.2

Additional context
Temporal-ui version: 2.22.2

Fixed


Unstable test of FCIS

This assertion sometimes fails.
https://github.com/chainer/chainercv/blob/master/tests/experimental_tests/links_tests/model_tests/fcis_tests/utils_tests/test_mask_voting.py#L36-L37

Can you put an error log URL when travis fails?

Sorry, I re-run the test carelessly. The log was overwritten.

Since I can't provide the log message, I close this issue. I will re-open when it occurs again.

It occurs again.
https://travis-ci.org/chainer/chainercv/jobs/377139613

It does not occur with Python2.7, sorry.
I will check with python3.5

Fixed via #606


[TUBEMQ-47] fix some typoes

fix some typoes

typo: typos
lol

@TisonKun
a PR with typo in its name fix some typos ⊙_⊙


Region typos in LUIS CLI

Tool
Name: LUIS
Version: 2.4.0
OS: Windows
Describe the bug
There are typos in the valid LUIS regions:
eastus is not a valid authoring region.  Valid values are [westus|westeuerope|australiaest]
To Reproduce
Try deploying LUIS app on an invalid region and get the error response.
Expected behavior
Regions should be westeurope, australiaeast?
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
[bug]

@ryanlengel Thanks for bringing this to our attention! I've filed a PR that will fix this and close this issue.


ADDED Sass, NPM & Bower

I really like this time picker. But I needed it in some other colors than currently is supported.  I’ve added SASS support in my version so you can change the colors easily. Also to make it easier to include in a project that uses NPM or Bower I’ve added NPM & Bower support. I also found as very small bug where if someone uses input type other than text it will shows odd.
As you will see I push everything in dist folder as most project do, in this folder you will find the minimized version of the js & css file.
If you like it you can merge it and register your package on npm & bower
Changes

ADDED support for SASS
ADDED support for NPM
ADDED support for Bower
FIXED type=time bug
ADDED more examples
UPDATED docs with bower & npm install

Thanks...

@chingyawhao are you going to publish it on npm?

I just publish it on npm and bower
But since there is no semantic version available...use "*" for bower version


adds links to open in new tab

This adds the _blank to the GitHub and Twitter links to open them in a new tab.

#41 fixed


Reduce transmutes

With ptr_meta, the number of transmutes in the core library can be reduced significantly.

Fixed by 103170ff179961c9767da945ad1de24d92a7de4e


Small fix in the opening sentence on the compilers page

We list a total of 16 compilers on the page, so the opening line should be fixed.

+1
On Fri, Sep 18, 2020, at 11:47 AM, Milan Curcic wrote:

We list a total of 16 compilers on the page, so the opening line should
be fixed.
You can view, comment on, or merge this pull request online at:
https://github.com/fortran-lang/fortran-lang.org/pull/136
Commit Summary

small fix in the opening sentence on the compilers page
File Changes

M compilers.md
https://github.com/fortran-lang/fortran-lang.org/pull/136/files#diff-9529f537267bec0588f8db4469297ab3 (2)
Patch Links:

https://github.com/fortran-lang/fortran-lang.org/pull/136.patch

https://github.com/fortran-lang/fortran-lang.org/pull/136.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/fortran-lang/fortran-lang.org/pull/136, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAFAWB2NMYJEFEQUB2IZATSGOMJXANCNFSM4RSJZUCA.


internal/event/stream: fixes unsafe queue access

This fixes a problem in the event stream where we were unsafely accessing the internal event queue. Queue access is now entirely managed through process() via an additional []Event channel used to peek at the queue.

force-merging, travis-ci.org is dead. see #128


Mac desktop client focuses on Search-box instead of Type-box when replying to a thread

I confirm (by marking "x" in the [ ] below: [x]):

[x] This is not a troubleshooting question. Troubleshooting questions go here: http://www.mattermost.org/troubleshoot/.
[x] This doesn't reproduce on web browsers (such as in Chrome). If it does, issue reports go to the Mattermost Server repository.
[x] I have read contributing guidelines.

Summary
Mac desktop client focuses on Search-box instead of Type-box when replying to a thread
Environment

Operating System: macOS 10.15.4
Mattermost Desktop App version: 4.4.0 (<IP_ADDRESS>82)
Mattermost Server version: 5.19.1

Steps to reproduce
Go to input field, press "reply", either by clicking the 'reply-arrow' or by typing S-arrowup
Expected behavior
Reply field opened, and focus in that field
Observed behavior
Reply field opened, focus in "Search" field instead

@jby This has been fixed in server v5.20 release.

Oh, I thought it was a desktop problem since I don't see it in browser.


Option to disable voice search (enhancement)

Description
Option into the Builder to disable voice search
**and another option to disable the Coordinates box, and only to show the result box when the address is selected (valid address)
Info Required

Which version of the library do you actually use?
compile 'com.schibstedspain.android:leku:3.4.3'

Do you have the localization permission granted?

Yes!

Are you sending parameters to the activity through the bundle?

With builder and sending the intent to the activity.

Could you describe what are the actions do you make to raise that error?

Is not an error, more like an enhancement.

Android monitor shows any log related to the library when the error is shown?

Is not an error, more like an enhancement.

Any other thing that could help me to reproduce the error?

Is not an error, more like an enhancement.

@cotfas thanks for your suggestion! I'll create the option as soon as I can. 😉

Hi,
Thanks
Also, an option to customize from outside (intent) the searchView text hint
:D
Thank you

Hi @cotfas !
This will be available in the next release version 5.0.0 that will be released soon.
Many thanks!

New release version 5.0.0 now available for download. I'm closing this issue because it's solved with the latest version. If it fails again please reopen the issue. Many thanks for reporting it and for using this library!


Bug: Web Test Needed on PR Check-in

Describe the bug
Please provide a clear and concise description of the bug.
The PR check-in tests need to include web as a test target. Submitters of PRs need to test their changes on web before submitting a PR and the PR submission process needs to include web as a target to verify.
How to reproduce
None,
Expected behavior
A description of what you expected to happen.
The PR test builds needs to include web.
Screenshots
N/A
Additional context
None.

@domesticmouse
Is this still  valid issue?

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

I'm guessing this was an issue on the flutter_markdown package wherein @mjordan56 wanted CI over web rendering. I'm ok with this not being a requirement going forward.


162034484 add map interface

:book: PR Content
Referring to feature 162034484

Integrate a map into our app.

Using Mapbox API to customize a useful map for Android.

Add markers according to auto-geolocation or manual option if providers are unavailable.
Write simple smart contract (Solidity) and wrap it as Java class

:next_track_button:   What's next?

[ ] Create wallet and deploy smartContract
[ ] Interact with smartContract

:art: UI Changes

Suggestions and comments are welcome :smiley:

LGTM


when in backoff, make sure that the chosen connection isn't closing

Backoff chooses a random connection and tries to update the ready status; however, if the connection is closing, updateRdy will return immediately, leaving the backoffCounter in a bad state. The side effect is that maybeUpdateRdy will never update the ready count due to the incorrect backoffCounter and the consumer will never again consume messages.

It seems like a regression on #106

It may be better (and avoid a potential race) to have updateRdy return an error if c.IsClosing() and have backoff handle the error appropriately.

Was going to suggest the same, want to give that a try?
Thanks for finding this!

I made the switch to checking the returned error.
On consumer.go line 694 clears backoffDuration perhaps momentarily.  It may be better to move it to the end of backoff(), after backoff is successful? This would avoid mistakenly sending false to a call to inBackoffBlock()
https://github.com/jnewmano/go-nsq/blob/master/consumer.go#L694

On consumer.go line 694 clears backoffDuration perhaps momentarily. It may be better to move it to the end of backoff(), after backoff is successful? This would avoid mistakenly sending false to a call to inBackoffBlock()

SGTM

LGTM


Set up CD

Via Travis

There are two ways to go.

Create a deployment SSH key on EC2, store an encrypted copy on Travis CI, and write a Bash script to scp everything over.
Use AWS CodeDeploy.

Problem: CodeDeploy doesn't want to overwrite existing files. I think it's OK if I clear everything out first. It appears that all future deploys will cheerfully overwrite files then.

That did it!


[Sprint] Colab tutorial update

Description

We need to update Colab tutorial. Many things have changed.

Checklists

[ ] I would create a corresponding branch for this issue from the designated (mostly dev) branch.
[ ] This issue only contains a preceding agreement between project owners.

Minor modification has applied.
All process has executed well.


fix: Inputitems: ensure consistent appearance with single and multiple lines

Proposed Changes

Makes single-line Inputitems component as high as an Input component
When selected items (tags) break into multiple lines, ensures more balanced distance between them

From this:

To this:

@rubjo please resolve conflicts (just regenerate doc launching "npm run build:docs:watch:oruga") then squash these commits into a single semantic commit (fix: ....)
Thank you so much!

@rubjo please resolve conflicts (just regenerate doc launching "npm run build:docs⌚oruga") then squash these commits into a single semantic commit (fix: ....)
Thank you so much!

Hmm, is there a setting on this repo not activated, maybe? "Allow squash merging"?

@rubjo don't worry, we can squash your PR 😉
Anyway there is a problem.. at the moment we avoid to put padding and margin attributes without a variable because the oruga.css (lite)  should contains only positions attributes (display, position, ...)

:)
Hm yes, I understand the wish to keep the lite css truly lite. Feel free to reject - maybe this is best to leave out and have the user adjust if desirable

:)
Hm yes, I understand the wish to keep the lite css truly lite. Feel free to reject - maybe this is best to leave out and have the user adjust if desirable

No no, the fix is ok. I think you can restart from https://github.com/oruga-ui/oruga/pull/224/commits/b6f15a3f419d660dab5ea6d0b2ee786f52100986 and just use a variable for 0.1em, something like $input-item-space: 0.1em what about? cc @jtommy

@rubjo ok as described by @astagi

Could you look at the latest submitted commits again? After 3ec489d, I'm no longer using the 0.1em value, I'm using the inputitems-item-margin variable on the input as well. Along with 0 values for margin-left and vertical padding, just as 0 values are used for many properties in almost all other components' SCSS.
So now I don't really see more variables it is reasonable to add. If there's something obvious I've overlooked here, sorry, I'd appreciate if you could just make the necessary changes - grazie :)

Mmm what other components?

The components in oruga/packages/oruga/src/scss/components/,
don’t a lot of them use top: 0, left: 0 and other resers here and there?

The components in oruga/packages/oruga/src/scss/components/,
don’t a lot of them use top: 0, left: 0 and other resets here and there?

Yes, I linked an older commit as a suggestion to start again from there.  I love the following implementation as I said above, but to follow Oruga's css philosophy and design it's hard to see margin and padding values hardcoded to 0. I think that starting from https://github.com/oruga-ui/oruga/commit/b6f15a3f419d660dab5ea6d0b2ee786f52100986 would be better, you can just set a single variabile to 0.1em and let users tuning that value.

to follow Oruga's css philosophy and design it's hard to see margin and padding values hardcoded to 0

The principle is understandable (although it is surprising, then, to see a quick file search reveal 20-30 existing places in packages/oruga/src/scss/components where margin or padding is set to 0, and >100 places where any property is set to 0).
It turned out that the initial 0.1em padding solution didn't really produce consistent spacing in a line-wrapped inputcontainer anyway: the final line would have slightly more whitespace surrounding it.
So I'm closing this and patching this locally whenever necessary. Maybe I'll try again if I get some time to study Buefy and others and how this is solved cross-browser, zoom-proof, with as little code as possible (and separate user-defined variables, if that's necessary here).


How can I unistall Prezto

Extremely sorry but this is one of the most shittest tools I ever used, can anyone let me know how to get rid of this ????????
#Shit

Hello! Sorry to hear you had a bad experience. If you have more specifics about what you didn't like, I'd be interested to hear - we're always looking to improve the overall experience.
Thankfully, if you followed the installation method listed in the README, removing the following symlinks will uninstall prezto:

$HOME/.zshrc
$HOME/.zpreztorc
$HOME/.zprofile
$HOME/.zlogin
$HOME/.zlogout
$HOME/.zshenv


Add latest node 14.13.1

Adding node 14.13.1 to base image.

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

Actually, this needs to be two separate PRs, updated now.

Superseded by 14.15.0


missing crate feature "minifier"

lib.rs has a cfg annotation for the "minifier" feature, although the Cargo.toml doesn't specifiy it

Oh, thanks for pointing it out. Probably leftover from when we removed the feature from this crate. We should remove that line in lib.rs. We don’t use a minifier and if someone wants to use swc’s then they can import that crate.

Not a problem, just found it confusing!


3.0's SilkTouch affected by a ClangSharp upstream bug whereby test code is in XML

Example file: out.xml.txt
This needs to be fixed upstream in the ClangSharp repo and the version updated in our projects once a new update is released encompassing these changes.
The likely culprit is the OutputFactoryBuilder, but don't quote me on that.
Related dotnet/Silk.NET#557

@Perksey, looks to have worked 🎉

Awesome, thanks! :tada: