Add software device python

Hi,
This PR is targeting issue #4197. This PR is not a merge candidate - I'm trying to get feedback about direction only.
I've implement the functionality that allows me to emulate a D435i device on a rs2.context object. I can create a pipeline object and pass in a configuration that targets the emulated device by serial number. I can subsequently interrogate for camera_info, options, and grab frames. All of these settings are configured through the API. Here is an example python session where I create a trivial emulated device.
Keep in mind, that my goal here was to get something functional - not to have the end all, be all, perfect solution and API. I've also not added unit tests yet because I want to make sure that the direction I'm heading is reasonable before investing time and energy into that.
I've primarily attempted to add this functionality by adding to the API only - not modifying it. There are very clearly ways that we could make the API for the software device more concise if we changed the signature of certain methods. For example, rs2_software_sensor_add_writable_option and rs2_software_sensor_add_read_only_option are redundantly and could probably be combined into a single method with a readonly argument. Are you accepting of this kind of consolidation of the software device API or would you prefer to have maximum backward compatibility?
The current implementation adds a new emulated device backend because I didn't want to break functionality related to the playback devices. I would appreciate any feedback on this approach and how it integrates with the rest of the project. Specifically, in the context object I have added a vector of emulated devices, and this has caused the context::create_devices and context::on_device_change method signatures to expand and become rather ugly. I could integrate this into the platform::backend_device_group object but I wasn't sure because the playback devices are stored separately from this group object. Thoughts?
I did not see any unit tests for the python wrapper. Do you have a preferred platform for python unit tests if I were to try and add some ?

Hi @callendorph
Thank you for contributing. I'd like to review the C++ part and @lramati can confirm python is good (python looks good to me)

Hi @callendorph
I'm closing this PR, @lramati has merged your contribution into #5333 and continues to work on better software device support in C++ and python. Thanks!


Lazy token acquisition in app mode

Acquire repository token only when about to process

A user token is necessary at app startup in order to see which repositories they have installed the app on. So we probably need to refresh the token once we later process the repository, unless we re-architect to lazy process installations too.


add a specific dictionary blueprint for enums

As of now dictionaries are created with 4 items. When a dictionary is requested with an enum key and the enum has less than 4 values you'll get stuck in an infinite loop.

Hi, I would like to help with this. I've set up the project and am running the testcases. Will let you know when I have something.
SideNote:
I was having trouble getting the project open in Visual Studio 2015/MonoDevelop saying "TF400813: Resource not available for anonymous access. Client authentication required."
Going through some other threads with the same issue I installed VS2017 and it seemed to fix it. But thought I'd mention it in case you want to include it in the ReadMe as 'Common Issues'

@JoeGannon  Have submitted a PR here #31

Thanks for the PR @AzureByte. Yeah... sorry about that. I'll add a "Working with the code" section to the readme.


add bokeh to wiki test

Small test for bokeh to wiki

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 87.721%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
6308

Relevant Lines:
7191

💛  - Coveralls


Nearby API support

I've not dig into the detail but I heart that at the droidkaigi session.

Umm, ...close!


fix: detect global Path correctly instead of relying on PATH env variable

PR #82 broke the detection of global installed binaries. The detection of the binary uses all environment variables and finds the global binary. When we then run the edge function with deno ... deno is not found because PATH is not there anymore.
I don't like this solution, but I like the alternative even less. The only alternative i could come up is using node-which package to find the absolute path to the global binary. But not sure if we really want to add that overhead?
What do you think? This means that edge functions in dev will have PATH available.

Okay after thinking a lot about it, I guess this is the better solution to correctly resolve the global binary and not rely on PATH being present.


Codegen fix

Description of changes:
This is based off of #5654. Creating a new PR as I dont have permission to push to MLH fork
#5334 c630145 changed amplify-codegen from hard coding src to using SourceDir in the config file.
This resulted in the default sourceDir value / (system root) for reactnative being used. The PR ensures the schema download location is always with in the project root and mitigates permission issues.
Also the push command will show an warning if codegen fails instead failing the whole push operation
fix #5483
Other:
Docs PR: aws-amplify/docs#2581

Thanks for taking care of this @yuth I really appreciate it!

@yuth is this tested on Windows?
Some people on Discord seems to be having some issue when performing amplify codegen.

I have a problem running amplify codegen since i get this error C:\Projekte\1Pitch\C:\Projekte\1Pitch\graphql contains invalid WIN32 path characters. something is misconfigured and i dont know how to work it out

hello everyone, the ampligy codegen command isnt working in my project, returning a WIN 32 path error, my project isnt custom at all, followed all default installation steps via the vscode terminal. Any ideas?

Please read thru these convo
https://discord.com/channels/705853757799399426/708077731711156284/812254012065841182
He had to modify SourceDir and DistributionDir to ./ instead of /.


Fix  padding and styles

Fixes a few padding and typography issues in table headers
Changes

Fix padding in s to always be 10px on all sides
Match sortable  styles to non-sortable  styles

Testing
Tables should now have 10px of padding on all sides of any . Also, sortable s should match regular s. Basically, tables should look like the "tables-fixes" screenshot below instead of the "canary" screenshot as they do now. A good table to test with is the one on test/cf-tables.html.
Review

@Scotchester
@mistergone

Screenshots

canary
tables-fixes

Checklist

[x] Changes are limited to a single goal (no scope creep)
[x] Code can be automatically merged (no conflicts)
[x] Code follows the standards laid out in the front end playbook
[x] Passes all existing automated tests
[x] New functions include new tests
[x] New functions are documented (with a description, list of inputs, and expected output)
[x] Placeholder code is flagged
[x] Visually tested in supported browsers and devices
[x] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)

The code changes look fine, but I'm not sure why Travis failed. @contolini, looks like maybe some issue with the accessibility tests? Could you check it out, please?

Travis can't decrypt env variables from forks. Ignore the error.
On Tuesday, March 22, 2016, Scott Cranfill<EMAIL_ADDRESS>wrote:

The code changes look fine, but I'm not sure why Travis failed. @contolini
https://github.com/contolini, looks like maybe some issue with the
accessibility tests? Could you check it out, please?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/cfpb/capital-framework/pull/300#issuecomment-200023043

--
Chris

:+1:


Clickout Does Not Work on Mobile

Currently mobile is not supported.

It doesn't work for at all

Release v3.0.1


Propagate timeout errors up in fill phase.

@bratseth PR

"type", "message", "details". All strings.

@bratseth Ready for another review


Add module to package.json for #805

Fixes #805

Thanks for the patch! I've merged this in and will cut a new release today so it's available to users.

Awesome--thanks for such a quick turn-around and for the release!


Datagrid custom filtering doesn't work properly with column toggle

Describe the bug
With Column toggle, adding custom filtering doesn't work properly.
How to reproduce
https://stackblitz.com/edit/clarity-issue-3120-jskbuz?file=src/app/checkbox-list-filter.component.ts
Steps to reproduce the behavior:

Go to  above stackblitz.
Try appling filter to "Group" Column. It oprns the filter window but at the same time it sorts column too.

Expected behavior
Clicking the filter icon should just open the filter icon.
Versions
App

Angular: 7.2
Clarity: 1.1

Additional notes
If we remove toggle (ng-container from group column) it works well.

This happens in the provided stackblitz because the filter is being projected into the wrong place for the column template because its inside of the *clrDgHideableColumn container.
We have to use the structural directive with the ng-container to get a reverence to the content (in this case 'Group') in order to know what should be used in the toggle for hide/show.
Here is how the column should look:
        <clr-dg-column [clrDgField]="'group'">
          <ng-container *clrDgHideableColumn="{hidden: false}">
            Group
          </ng-container>
          <clr-dg-filter [clrDgFilter]="groupFilter">
            <checkbox-list-filter #groupFilter [filterParamName]="'group'" [items]="groupFilterOptions">
            </checkbox-list-filter>
          </clr-dg-filter>
        </clr-dg-column>

And here is a working fork of the stackblitz: https://stackblitz.com/edit/clarity-issue-3120-ozaybz


#67 Moving composer install command for development

Resolves #67

Changes in PR: https://github.com/budgetbee/budgetbee/pull/72


Add Cluster CIDR setting for bottlerocket

Fixes #N/A
Description
Add Cluster CIDR setting for bottlerocket
How was this change tested?
Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[x] No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
Details

2 of 2 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.005%) to 82.81%

Totals

Change from base Build<PHONE_NUMBER>6:
0.005%

Covered Lines:
5675

Relevant Lines:
6853

💛  - Coveralls


Allow animation to be disabled.

Currently when a file is uploaded or removed, there's a cool fade in and out animation.
Problem with this feature is that it might cause some weird component resizing.
Here's an example:

That said, I think the animation should be configurable.

The animation only "animates" the container, removing the animation wont solve the resizing.
You have two options if you don't want the "weird resizing" to happen:

Completely remove the image preview with the "withPreview=false" prop.
Add a height css property to the image container / the whole component.

Take into account that there could be many images so we cant make a general solution for this "problem". You need to address it for your specific use case, for example setting the image container height to a fixed 250px.


corrosion_link_libraries doesn't respect the OUTPUT_NAME property

I was trying to link a rust crate to c++ libraries that were defined in my project, and came across the todo in corrosion_link_libraries
        # TODO: The output name of the library can be overridden - find a way to support that.
        corrosion_add_target_rustflags(${target_name} "-l${library}")

This is exactly my problem, my libraries are defined as add_library(LibFoo SHARED ${some_sources}) and then the actual filename on the filesystem is set like set_target_properties(LibFoo PROPERTIES OUTPUT_NAME foo)
I found that swapping out the actual link line with
        if (TARGET ${library})
            corrosion_add_target_rustflags(${target_name} "-l$<TARGET_PROPERTY:${library},OUTPUT_NAME>")
        else()
            corrosion_add_target_rustflags(${target_name} "-l${library}")
        endif()

seems to do the trick, even if it's a bit ugly.
Would a patch like this be accepted as-is? What kind of testing would you want to confirm it works in more situations than the current code?

This looks sensible. Please make a pull request.
As for the test, you can maybe simply add a test that tries to compile a library with a different output name.  (or change one of the existing test to specify the output name (maybe in the test/workspace))

Hmm. looking at the rest of the link libraries helper, I don't think the TARGET check is required. the TARGET_LINKER_FILE_DIR part already falls over if ${library_name} is not already a target. e.g. if you wanted to explicitly link against libgcc.a for whatever reason.  Makes the change much simpler.


Kaggle competition

Want to make prediction for https://www.kaggle.com/competitions/playground-series-s3e19/overview

Codecov Report

Merging #1315 (6689e61) into master (7e54706) will decrease coverage by 82.14%.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##           master   #1315       +/-   ##
==========================================
- Coverage   88.83%   6.69%   -82.14%
==========================================
  Files         192     203       +11
  Lines       12188   12498      +310
==========================================
- Hits        10827     837     -9990
- Misses       1361   11661    +10300

see 197 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Хотя да, лучше 2019 и 2021 оставить только)

View entire conversation on ReviewNB


Clean up Documentation - UnifiedGroup Commandlets and Add-PnPOffice365GroupToSite

Type

[X] Bug Fix
[ ] New Feature
[ ] Sample

Related Issues?
What is in this Pull Request ?
More documentation cleanups: Unified Group deletes and Add-PnPOffice365GroupToSite
All been deprecated (or alias)

Thank you!

Thank you!


Formatter: Align nested ternaries

A common construct in verilog is using a nested ternary to express a priority selection structure, the output produced by the formatter for these isn't hugely readable, as an example from: https://github.com/lowRISC/ibex/blob/master/rtl/ibex_icache.sv
Before formatting:
assign tag_index_ic0 = inval_prog_q   ? inval_index_q :
                       ecc_write_req  ? ecc_write_index :
                       fill_grant_ic0 ? fill_index_ic0 :
                                        lookup_index_ic0;

After formatting:
assign tag_index_ic0 = inval_prog_q ? inval_index_q :
    ecc_write_req ? ecc_write_index : fill_grant_ic0 ? fill_index_ic0 : lookup_index_ic0;

In the before version it's very clear what output is associated with what condition, the formatted version is harder to read.

This makes for an interesting case of shape-detection: looking for a syntax tree shape that is actually linearly nested but formatted in a flat strategy.  It turns out this is what happens already with cascaded if-else-if constructs in
https://github.com/google/verible/blob/19dade32b36684002ea4f88a9b8786d5d3402b92/verilog/formatting/tree_unwrapper.cc#L588
and
https://github.com/google/verible/blob/19dade32b36684002ea4f88a9b8786d5d3402b92/verilog/formatting/tree_unwrapper.cc#L1176
The handling for this reshapes partitions from the bottom up (last else-if first) and incrementally in the latter function.
To solve this problem, I would start by tackling token partition tree shaping, and then alignment of those partitions next, using the existing alignment framework.
Since were dealing with expressions that can appear nearly anywhere, in the long run, we should look into bottom-up (dynamic programming) strategies to make this generally applicable in many places.

@msfschaffner FYI, you mentioned this one

Also worth noting is that this is potentially a nested alignment problem.  assign statements themselves may desire a particular alignment around =.

Continued on #953, closing this ticket


Configuration when parents unknown

Hi,
How do I configure the input json when there are no parents? Do I set the value to unquoted 'null' ?
https://github.com/PacificBiosciences/HiFi-human-WGS-WDL/blob/main/backends/gcp/family.gcp.inputs.json
{
"humanwgs_family.family": {
"family_id": "String",
"samples": [
{
"sample_id": "String",
"hifi_reads": [
"File"
],
"affected": "Boolean",
"sex": "String? (optional, ['MALE', 'FEMALE', null])",
"father_id": "String? (optional)",
"mother_id": "String? (optional)"
}
]
}

You can use the unquoted null, or you can delete the key/value completely, as in:
{
  "humanwgs_family.family": {
  "family_id": "HG002",
  "samples": [
    {
      "sample_id": "HG002",
      "hifi_reads": [
        "gs://path/to/my.bam"
      ],
      "affected": true,
      "sex": "MALE"
    }
  ]
}

Some backends handle null in unexpected ways, so I would suggest deleting the key/value pairs for unused optional entirely rather than setting null.

Do you know if terra handles unquoted null correctly?

I think it should be to use null, but I haven't tested this directly.

I can test it. But what should I look for when I test it to know if it worked?


Add a ?parents:false optional argument to Io.mkdir

Fixes error on compilation:
make -f Makefile.local
eval $(opam env) && dune build
File "test/irmin-tezos/dune", line 11, characters 0-92:
11 | (rule
12 |  (alias generate-cli-test-data)
13 |  (targets data)
14 |  (action
15 |   (run %{exe:generate.exe})))
Fatal error: exception Io_error: "No_such_file_or_directory"
make: [Makefile.local:2: all] Error 1 (ignored)

I will rewrite this so that generate.ml creates the directories it needs...

OK, I force pushed the minimal change to generate.ml. If we need a mkdir --parents we can add it later. But this maybe unblocks the ci.

Thanks!


this is making me depressed

Same. I think a lot of people got into software engineering because it is a way to demonstrate and build on our innate creativity, and at the same time using reasoning and system design to solve real problems. Personally speaking, it's emotionally difficult to see this all being automated.

I hear the both of you. I would like to comment with an alt perspective:
This should be looked at as a catalyst for creativity-- implementation isn't the point, building excellent products that makes the world better is the target
Tools like this could help you be more creative.
You can fail faster. Find PMF faster, all with 100x less sunk costs and effort.
You get to focus on building the stuff that the local AIs don't yet have the capability to. You get to focus on the big, amazing ideas and leverage these LLMs to get you there as fast as possible.
I posit: Did the printing press make books go away?

I agree with 0xmulch, you have to use the tools that are given to you because we can't turn back time.
I see this eventually becoming a great tool for software developers to use as it gives you at least a base for your projects and helps you get through the wall of software developers writers block.
I don't think anybody wants a self-opinionated automated software developer because they could go in the wrong direction.
You are Iron Man/Woman and this is your iron suit.

I'm not going to lie, as an autistic person that fled away from the illogical and incoherent world of people into computing, seeing this field collapse into basically talking to stakeholders and AI agents is legitimately heart-breaking. And that's assuming that it even survives in some form and isn't going the way of the telephone router or village artisan. I think @0xmulch's point is valid coming from a "founder type" background of coming up with and marketing as many products as possible, but I've never had the idea generation skills or charisma to pull that off. Feels more likely that I'm made redundant instead.

I haven't even started my job training yet since I'm still in school. I have been coding for the best part of my life. It's really sad to see that I might not get a job because of greedy CEOs that replace developers with AI agents.

Hey everyone, the creator of Devika here. Wanted to share my 2 cents. 🙌
This is an important discussion to have so I appreciate posting this issue. All of your points are valid. I personally do not believe humans will be replaced by agents like this... entirely. Most positions will indeed be redundant in the future, mostly the ones with the tasks to write boilerplate code or CRUD apps. If you've something unique to show for, you will never be replaced by AI. Even though AI can emulate them, some elements are unique to humans, focus on what you want to excel in and you'll do just fine. Of course, I am personally being very optimistic about this whole AI-integrated future, I could be wrong.
In short, strive to be in the top percentile of whatever skill you're pursuing, as long as you stand out of the crowd, I don't think this AI wave is going to affect you. This takes an enormous amount of work, but that's how the game works. :)
This project will be open-source forever, I do not have any financial incentives with the project even though I could turn it into one with a single decision, investors and VCs are filling up my inbox. I could release a paid-managed version of this in a day, but I won't. This project is modeled after Devin, which is closed source and proprietary, we need to commoditize and bring powerful tools to everyone, not just the people who are privileged to access it, that's the intention behind the project. Thanks! 🙌


Purpose of removeAllObserverTokens in SyncCoordinator?

Hello!
I've been reading and finding very useful the book. Thanks so much for writing it! We are incorporating some aspects of it into an app we are working on. It's been very useful, and we found it pretty straight-forward to add a separate remote type.
I have a question:
In the SyncCoordinator, removeAllObserverTokens() is called in the tearDown() method. It seems like this is a no-op, doing nothing at all (except removing tokens from the private collection of tokens). Am I correct in this understanding? Was this simply added for potential future extensibility?

It’s there mostly for extensibility. But in a multithreaded environment it is important to use explicit tearDown() methods to tear down constructors. You should not rely on code inside deinit for this, because deinit will run on an arbitrary thread — the one where the last strong reference is released. Using explicit tear-down logic makes it a lot more predictable to tear down objects in multithreaded code.


🚆docs: update invalid env variables in hetzner ubuntu example

Update Hetzner Ubuntu example
Summary
This PR updates an outdated deployment example for hetzner which still used VITE_APP_TITLE that is now APP_TITLE. An older, now unused env variable is also removed.
Change Type
Please delete any irrelevant options.

[x] Documentation update

Testing
Please describe your test process and include instructions so that we can reproduce your test. If there are any important variables for your testing configuration, list them here.
Test Configuration:
Checklist

[x] My code adheres to this project's style guidelines
[x] I have performed a self-review of my own code
[ ] I have commented in any complex areas of my code
[ ] I have made pertinent documentation changes
[x ] My changes do not introduce new warnings
[ ] I have written tests demonstrating that my changes are effective or that my feature works
[ ] Local unit tests pass with my changes
[ ] Any changes dependent on mine have been merged and published in downstream modules.

thanks!


[Feature] Excel Cell with rich text of multiple lines, what's the text wrapping symbol, \n or \r\n, how to use it

初始清单

[X] 这真的是个问题吗？
[X] 我已经在 Github Issues 中搜索过了，但没有找到类似的问题。

问题
Excel Cell with rich text of multiple lines,what's the text wrapping symbol，\n or \r\n，how to use it?
here is my code,but it just show the first line of rich text
"cellData": {
"0": {
"0": {
"v": null,
"s": "22-_string226",
"p": {
"id": "0_0",
"body": {
"dataStream": "资产名称\r\n（同U列，仅便于参看）\r\n",
"textRuns": [
{
"st": 0,
"ed": 5,
"ts": {
"fs": 11,
"bg": null,
"cl": {
"rgb": "#0070c0"
}
}
},
{
"st": 6,
"ed": 18,
"ts": {
"fs": 11,
"bg": null,
"cl": {
"rgb": "#0070c0"
}
}
}
],
"paragraphs": [
{
"startIndex": 5,
"paragraphStyle": {
"indentFirstLine": 20,
"spaceAbove": 20
}
},
{
"startIndex": 19,
"paragraphStyle": {
"indentFirstLine": 20,
"spaceAbove": 20
}
}
],
"sectionBreaks": [
{
"startIndex": 20,
"columnSeparatorType": 1,
"sectionType": 0
}
]
},
"documentStyle": {
"pageSize": {
"width": 300,
"height": 100
},
"marginTop": 0,
"marginBottom": 0,
"marginRight": 2,
"marginLeft": 2
}
}
}
}
}

In dataStream, the concept of paragraphs is used instead of line breaks.

\r indicates the start of a new paragraph. I understand this is the line break you are looking for.
The ending \r\n is mandatory; otherwise, you will encounter an error.

@hexf00 That is true. One more point.
\n also means section break, but in cell's rich text, there is no concept of section break(only in Doc), so in cell rich text, \n only appears at the end of dataStream.

"dataStream": "资产名称\r\n（同U列，仅便于参看）\r\n",

As comment above, there should be no \n in the middle of dataSteam.


Update .scrutinizer.yml

WHY
BEFORE - What was wrong? What was happening before this PR?
??
AFTER - What is happening after this PR?
??
HOW
How did you achieve that, in technical terms?
??
Is it a breaking change?
??
How can we test the before & after?
??
If the PR has changes in multiple repos please provide the command to checkout all branches, eg.:
git checkout "dev-branch-name" &&
cd vendor/backpack/crud && git checkout crud-branch-name &&
cd ../pro && git checkout pro-branch-name &&
cd ../../..

Hello @ghanekaramol
Can you help me understand what this change does ? Can you point me to some scrutinizer docs on this ? I wasn't able to find any docs on it (probably my fault but still 🤷 )
Cheers

Hey @ghanekaramol
Can you explain what you are trying to do?

Closing due to no response


This no longer works in NodeJS 9.0

From waht I can tell reading source, this module is at fault for axios no longer working after upgrading to 9.0.
Node makes no real reference to what is going on here, but the error is
 [ERR_MISSING_ARGS]: The "value" argument must be specified

0|developm |     at validateHeader (_http_outgoing.js:501:11)
0|developm |     at ClientRequest.setHeader (_http_outgoing.js:510:3)
0|developm |     at new ClientRequest (_http_client.js:173:14)
0|developm |     at Object.request (https.js:241:10)
0|developm |     at RedirectableRequest._performRequest (/Users/bradennapier/Desktop/Dash OS/IDE/projects/dash-datastream/apps/datastream/node_modules/follow-redirects/index.js:73:20)
0|developm |     at new RedirectableRequest (/Users/bradennapier/Desktop/Dash OS/IDE/projects/dash-datastream/apps/datastream/node_modules/follow-redirects/index.js:57:7)
0|developm |     at Object.wrappedProtocol.request (/Users/bradennapier/Desktop/Dash OS/IDE/projects/dash-datastream/apps/datastream/node_modules/follow-redirects/index.js:229:10)
0|developm |     at dispatchHttpRequest (/Users/bradennapier/Desktop/Dash OS/IDE/projects/dash-datastream/apps/datastream/node_modules/axios/lib/adapters/http.js:130:25)
0|developm |     at new Promise (<anonymous>)
0|developm |     at httpAdapter (/Users/bradennapier/Desktop/Dash OS/IDE/projects/dash-datastream/apps/datastream/node_modules/axios/lib/adapters/http.js:18:10)

I hitting the same error when making get requests using axios and node v9.6.1.
[ERR_MISSING_ARGS]: The "value" argument must be specified
It worked before on node 6.x prior to the upgrade.

@adibkadir Do you have specific steps to reproduce? Are we sure this isn't an axios bug?

Just found the problem. It was an axios error. I was passing a null string to the Cookie property in the request header config. The error was just a little hard to understand.
Sorry :)


Cassandra provisioning is slow.

See comments on #430.

For cassandra_ycsb, this will be partly addressed by #428 (using a pre-compiled YCSB release).
I'm putting together a patch to install Cassandra and YCSB in parallel - currently the Cassandra nodes are bootstrapped, then YCSB is installed on the client.

#435 parallelizes the install of YCSB and Cassandra.
#428 speeds up the YCSB provisioning component.

Do you have an performance times to share?  How much faster did it get?
On Thu, Sep 3, 2015 at 1:08 PM, Connor McCoy<EMAIL_ADDRESS>wrote:

#435 https://github.com/GoogleCloudPlatform/PerfKitBenchmarker/pull/435
parallelizes the install of YCSB and Cassandra.
#428 https://github.com/GoogleCloudPlatform/PerfKitBenchmarker/pull/428
speeds up the YCSB provisioning component.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/PerfKitBenchmarker/issues/434#issuecomment-137560575
.

--
Anthony F. Voellm (aka Tony)
Google Voice:<PHONE_NUMBER>
https://www.google.com/voice/b/0?pli=1#phones
Blog: http://perfguy.blogspot.com/
Benchmark like a pro... PerfKitBenchmarker
https://github.com/GoogleCloudPlatform/PerfKitBenchmarker

With 3 cassandra VMs and one client, the prepare phase decreases by ~67% (9 minutes to 5.5). Gains will be lower for larger cluster sizes.

Looks good to me... should we close?
On Fri, Sep 4, 2015 at 10:32 AM, Connor McCoy<EMAIL_ADDRESS>wrote:

With 3 cassandra VMs and one client, the prepare phase decreases by ~67%
(9 minutes to 5.5). Gains will be lower for larger cluster sizes.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/PerfKitBenchmarker/issues/434#issuecomment-137800816
.

--
Anthony F. Voellm (aka Tony)
Google Voice:<PHONE_NUMBER>
https://www.google.com/voice/b/0?pli=1#phones
Blog: http://perfguy.blogspot.com/
Benchmark like a pro... PerfKitBenchmarker
https://github.com/GoogleCloudPlatform/PerfKitBenchmarker


Fix SILCombine to preserve a release of a move-only type

The release needs to be preserved in case a user-defined deinit is present in the released type. Checking for move-only is slightly conservative.
Fixes rdar://109846094 ([move-only] SILCombine eliminates struct deinitialization)

@swift-ci test


Update ns-schannel-schannel_cred.md

fixed typo in SCH_CRED_DISABLE_RECONNECTS

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


Idaho - UP Migration - Move to Production

User Story:
As a developer, I want to move the Idaho settings to production after getting approval from the STLT, so that they can start receiving live data.
Description/Use Case
[STLT] is already receiving data from the covid pipeline they will be onboarded to the UP where they will be receiving data from SimpleReport including Covid, Flu and RSV. We need to make sure the message we generate from the UP passes the STLTs validation. We can use SimpleReport to submit test messages to the STLT.
Risks/Impacts/Considerations
Dev Notes:

[ ] Upload the staging receiver settings to Production
[ ] Copy the receiver's secret key with the new receiver name in Azure's production environment
[ ] Verify we can connect to the newly created receiver
[ ] Monitor the UP data for the conditions the receiver is interesed in and notify them when reports are routed to them
[ ] Send a test message through Simple Report and make sure it gets routed to the STLT
[ ] Send test messages according to the STLT needs

Acceptance Criteria

[ ] Receiver UP settings are pushed to production
[ ] ReportStream can connect to STLT in production
[ ] Notify STLT when reports are routed to them for each condition they are receiving

Work already completed.


Challenge 00: doesn't tell you how to check version

The 00th challenge tells you what to do but not how to.

"The first thing we're going to do is make sure that your npm version is up to date."
"Run how-to-npm verify once that is done."

But actually, the way to do this challenge is to give that command, right? That's what worked for me. I can create a PR if this is actually what's wrong. Not sure how to do the i18n though..

Hello! I think the challenge is to simply check the user's environment instead of how to npm -v.


httplog option only works for service ports?

Hello, I'm trying to enable the httplog on marathon-lb 1.2.2 (still running 1.7) but I've noticed some odd behaviour.
I tried the wiki's suggestion to set the haproxy label for the backend as well as setting the frontend as noted in a different issue, however it seems both solutions only work if access the service port IE
curl -v localhost:10102 -H "Host: myapp.com"

produces
Sep 02 04:46:44 ip-10-0-7-188.ec2.internal haproxy[14797]: <IP_ADDRESS>:46302 [02/Sep/2016:04:46:44.102] server-api_10102 server-api_10102/10_0_1_14_17515 0/0/0/1/1 301 948 - - ---- 3/1/0/1/0 0/0 "GET / HTTP/1.1"

but
curl -v localhost:80 -H "Host: myapp.com"

produces
Sep 02 04:46:39 ip-10-0-7-188.ec2.internal haproxy[14797]: Connect from <IP_ADDRESS>:25870 to <IP_ADDRESS>:80 (marathon_http_in/HTTP)

So since I want to see logs from clients that connect to the LB from 80/443, is there a way to enable that per app, or do I have to change the marathon_http_in template?

It's not enabled by default for port 80, so you'll have to override the template. You just need to add option httplog to HAPROXY_HTTP_FRONTEND_HEAD: https://github.com/mesosphere/marathon-lb/blob/master/Longhelp.md#haproxy_http_frontend_head

@brndnmtthws sorry to bother on a closed ticket but do you have a specific example for overriding the port 80 template?
I managed to set httplog on the service port with this on my marathon task from an example in another issue you posted
"HAPROXY_0_FRONTEND_HEAD": "frontend {backend}\n  bind {bindAddr}:{servicePort}{sslCert}{bindOptions}\n  mode {mode}\n  option httplog\n"
But I am struggling to find the correct template to be able to add "option httplog" to frontend marathon_http_in bound on port 80

In that case you'll need to override the global template. There's an example for changing a different global option (the TLS versions, in this case) here: https://github.com/mesosphere/marathon-lb/wiki#enabling-tls-v10

ok thanks will give that a try

@brndnmtthws  still no luck. What I want to modify is the HAPROXY_FRONTEND_HEAD. I don't want to modify HAPROXY_HEAD as I also have some TCP only endpoints here. Following the TLS example I added this to my task definition:
 "uris": [     "file:///etc/haproxy_frontend_template.tgz"   ],
and the content of this gzip tar is
frontend {backend}   bind {bindAddr}:{servicePort}{sslCert}{bindOptions}   mode {mode}   option httplog
I've also tried a plaintext file but that didn't load either.

I had some misunderstanding on the templates and read things wrong. I need to modify HAPROXY_HTTP_FRONTEND_HEAD as you've mentioned above. For now I was able to follow your example posted here https://docs.mesosphere.com/1.7/usage/service-discovery/marathon-lb/advanced/ by loading the compressed template from the local file system and defining a global configuration for "option httplog"
I struggled on figuring out how to set HAPROXY_HTTP_FRONTEND_HEAD. I tried it on the task, on the MLB by setting the below as well as by loading from an archive but didn't have much luck.
"HAPROXY_HTTP_FRONTEND_HEAD": "frontend marathon_http_in\n  bind *:80\n mode http\n  option httplog\n",

I have resolved my issue. I was trying to be a bit fancy :( . The way the archive is created must be exactly as per the instructions.
You need to configure this
#!/bin/bash
mkdir -p templates
cat >templates/HAPROXY_HTTP_FRONTEND_HEAD <<EOL
frontend marathon_http_in
bind *:80
mode http
option httplog
EOL
tar czf templates.tgz templates/
I had this originally
#!/bin/bash
mkdir -p templates_frontend
cat >templates_frontend/HAPROXY_HTTP_FRONTEND_HEAD <<EOL
frontend marathon_http_in
bind *:80
mode http
option httplog
EOL
tar czf templates_frontend.tgz templates_frontend/


Make use of api_timeout (#78)

This PR makes use of the api_timeout parameter of the Client. There is already an open issue for this ( #78 )

@Kenadia @samweinberg23 (or anyone else from the team) would you mind reviewing this? ty

Could you update the version to v1.6.2 here as well? thank you!


Rewrite Blob implementation

Don't let the diffstat fool you: there are a lot of things changed by this PR. In fact, there are so many changes, I feel a <details> is justified.
This PR isn't exactly completed. New Web Platform Tests still need to be written for many things, but especially

size when the blob is closed
slice() with negative arguments
inheritance of type (not inherited) and readability state (inherited) in slice()

A lot of other changes are mainly just routine Web IDL compliance improvements.
Detailed changelog
General
For functions, I now declare all the optional function arguments inside the parentheses with default values of undefined if not specified. This is easier to read (for me anyway), while keeping the function arity intact.
Constructor

https://w3c.github.io/FileAPI/#constructorBlob

More closely followed step-by-step correspondence with the spec

That does indeed mean that some variable names are changed to the ones used in the spec

Extraneous this instanceof Blob test dropped

The test is implicit for Harmony classes

Any iterable can now be used as blobParts

https://heycam.github.io/webidl/#es-to-sequence

Switch on element in blobParts is reordered

Previously the branch for Buffer was dead code as ArrayBuffer.isView(buffer) is always true
Now the test for Buffer is in first, followed by the order dictated by the spec (except for USVString, which is a catch-all case)
https://w3c.github.io/FileAPI/#constructorBlob

The conversion from ES String to IDL USVString is enforced using webidl-conversions

https://w3c.github.io/FileAPI/#typedefdef-blobpart

Special checks for RegExp and Date for options are removed

As they've been removed from the spec
https://heycam.github.io/webidl/#es-to-dictionary

The check for non-ASCII-printable characters is refactored into a separate function so that it can be used in slice

The regex is also simplified

size property

https://w3c.github.io/FileAPI/#dfn-size

Return 0 when the blob is closed.

slice()

https://w3c.github.io/FileAPI/#dfn-slice

Negative start and end are now supported

https://w3c.github.io/FileAPI/#dfn-start
https://w3c.github.io/FileAPI/#dfn-end

start and end are now explicitly converted to number and clamped to long long

Some nonsensical code now works as expected (e.g. slice('abc') === slice(0))
https://w3c.github.io/FileAPI/#ref-for-dfn-slice-1

Do not inherit type from parent blob

https://w3c.github.io/FileAPI/#dfn-contentTypeBlob

type is now directly filled in slice instead of going through the constructor

https://w3c.github.io/FileAPI/#dfn-contentTypeBlob

Inherit readability state from parent

https://w3c.github.io/FileAPI/#ref-for-readabilityState-8

Sorry for the delay in this! I am able to work on it now.
A couple things come to mind:

Are any of these changes testable? It looks like several of them should be, and we should be adding tests to make sure they don't regress. See https://github.com/tmpvar/jsdom/blob/master/Contributing.md#tests

I wish we didn't support Buffer, actually; that's not part of the web platform. Can we remove that and make things more to-spec?

@domenic, alternatively, we can use webidl2js which would solve a lot of the issues in a better, more automated way. Is there a tutorial on how to convert a module to become IDL-based?
Regarding tests, yes, as I've written in the PR description, they can be written fairly easily. I held off on that in order to get the behaviors right first.

Yeah, it would be much nicer if we could move to webidl2js. We haven't written a tutorial yet, although that's on my short-term todo list. I started in https://github.com/tmpvar/jsdom/commit/fc2f27ec363b48281974807e64d5df7006c5616b but got stuck for reasons in that commit message. But I think those reasons don't apply if you only try to port Blob...

Superseded by #1681.


FIX scale_bem():  source space without normals

@kingjr this should fix https://github.com/mne-tools/mne-python/issues/4262

I think rr and nn should always be the same size, so I think we have a bug elsewhere

_read_bem_surface() sets res['nn'] = list() if a corresponding tag is not found, whereas res['rr'] seems to be always there.

Codecov Report

Merging #4263 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4263      +/-   ##
==========================================
+ Coverage    86.2%   86.21%   +<.01%
==========================================
  Files         346      346
  Lines       64639    64639
  Branches     9907     9907
==========================================
+ Hits        55725    55731       +6
+ Misses       6197     6193       -4
+ Partials     2717     2715       -2

We need to check where nn is used for BEM surfaces. If we have some special checks in the BEM solution computation code we need to be careful. But if it's just used for visualization, given an arbitrary rr, tris pair you can simply compute the effective normals with cross products usingcomplete_surface_info i.e. what it does here. If it's safe to do so, we can improve our BEM viz at the same time as fixing this bug by actually adding the normals (and of course setting them properly in the Mayavi mesh).

given an arbitrary rr, tris pair

I shouldn't say arbitrary, but rather sufficiently sampled, which our BEMs should be...

I don't think the BEM code uses the normals.

So basically we would want a _assert_normals_are_present() function that is called whenever the normals are used? For the scaling function itself it is probably more consistent to leave the normals the way they are in the input source space (i.e. not add them if they are missing in the input already)?

We can just change the bem surface reader to add the normals.

@Eric89GXL complete_surface() is adding a lot of information, is it save and efficient to call every time a surface is read or should I extract the part to add the normals and only call it if they're missing?

The parts that it adds (e.g., triangle normals) are mostly necessary for the vertex normal calculations. AFAIK they don't take too long, which should especially be the case for BEM surfaces that are highly decimated, so should be safe to add.

If we start replacing the normals every time you load a bem, could that lead to backwards compatibility problems? Would it be better to only add entries that are not present already?

In cases where this improves precision it is probably actually desirable, but might some models store normals that were computed differently?

If we start replacing the normals every time you load a bem, could that lead to backwards compatibility problems? Would it be better to only add entries that are not present already?

See reply by @agramfort:

I don't think the BEM code uses the normals.

And I think that's also the case. You can check by e.g. deleting them from the dict altogether to see if it breaks any of the BEM tests...
But to be safest I'd say only add them if they're not present with length > 0.

@Eric89GXL this should fix it, adding normals upon reading a source space if they're missing.

why is there no test changed?

As far as I can tell it would require adding a broken bem file

can you at least check that the new keys are actually present with proper
shapes etc?

I am really not sure what to test here. The PR only applies complete_surface_info, which is tested elsewhere, in cases where a bem file is missing normals. I don't assume we have a bem with missing normals in the testing data and don't think it would be worth adding one?

hum ok fair enough
can you just update what's new?

thanks @christianbrodbeck


[Key Vault] Add azure-identity dev requirement

Context: weekly automated test runs for azure-mgmt-keyvault are failing because azure-identity isn't installed in the test environment. Though tests don't reference the package directly, AzureTestCase uses Identity credentials when AzureMgmtTestCase.create_mgmt_client is called during tests. This adds a dev requirement for azure-identity to resolve that.

@msyyc this azure-identity dev requirement will be necessary for all packages that are failing weekly test runs (eventgrid, eventhub, servicebus, and storage, as seen here). Are folks from the management plane getting alerted of these failures? If not, we can talk to someone from the engineering system team to resolve that.

Closing because these pipelines are no longer enabled.


Updated grammar, structure and term consistency

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

@dingjy94 Would you mind reviewing this PR to validate the translation changes made in this PR match the current English version of this challenge?  Thanks.

@dingjy94 Would you mind reviewing this PR to validate the translation changes made in this PR match the current English version of this challenge?  Thanks.


Issues when using a folder structure for markdown files

I am porting a Jekyll site to nuxtent and I am running into some issues.
I have three content sections:

Blog posts
Showcases (like blog posts, but different type of content)
Pages (regular non-post content)

My config for this is as such:
    content: [
        ['blog', {
            page: '/blog/_post',
            permalink: '/blog/:slug',
            isPost: true,
            anchorLevel: 4,
            generate: [
                'get',
                'getAll'
            ]
        }],
        ['showcase', {
            page: '/showcase/_showcase',
            permalink: '/showcase/:slug',
            isPost: true,
            anchorLevel: 4,
            generate: [
                'get',
                'getAll'
            ]
        }],
        ['pages', {
            page: '/_page',
            permalink: ':section/:slug',
            isPost: false,
            anchorLevel: 4,
            generate: [
                'get',
                'getAll'
            ]
        }],
    ],

Posts and showcases work as expected, because it's just a bunch of .md files in a single directory.
But things are different for pages, which is a hierarchical structure with a mix of folders and markdown files. I've run into a number of issues:
Top level files not allowed with nested registered directories
First, I wanted to have the pages in / so that the markdown files would mimic the URL structure. This gave me the Top level files not allowed with nested registered directories error. I tried working around it, or even disabling that check in the module to see how bad it would break, but nothing seemed to work.
Ok, I can live with having to put pages in /pages so this is not a deal breaker. I just wish I understood better why this was an issue. Something about conflicting routes, but I don't think I fully understand it.
How do you serve a directory index
I've copied over some of my jekyll pages, and I don't need many to hit this problem. Given this page structure:

pages

welcome.md <== this won't work, I think because section is empty so the :section/:slug permalink is not ok
docs
index.md <== This will be accessible as /docs/index but not as /docs or /docs
install.md

As you know, index has special status on webservers, and it seems contra-intuitive that this module would break that.
I also tried this page structure to work around this:

pages

welcome.md <== this won't work, I think because section is empty so the :section/:slug permalink is
docs.md <== I wanted to be clever, but this doesn't work either
docs

install.md

But that doesn't work either.
Note that the nuxtent content api does have the /pages/docs entry. So it's known in the api. But when I try to navigate to it, the nuxt router does not match it to my _page.vue page.
Questions

What's the exact nature of the top level files/registered directories problem, and can one work around it?
Is there a way for me to get index.md to register under the directory path?
Is there a better way to get a nested structure of markdown files to work?

I've made some progress on this. After reading the path-to-regexp documentation (which is used by vue-router to match dynamic routes), I learned that you can use a parameter modifier to make a parameter optional.
So I've updated me config like this:
        ['pages', {
            page: '/_page',
            permalink: ':section?/:slug',
            isPost: false,
            anchorLevel: 4,
            generate: [
                'get',
                'getAll'
            ]
        }],

note the ? after :section to make it optional

And I've updated me markdown directory structure like this:

pages

docs.md
docs

install.md

Now I can access /docs and /docs/install and they both work.
Which leaves my with:
Question

What's the exact nature of the top level files/registered directories problem, and can one work around it?

Forgive me for mostly talking to myself here. I hope this is useful for others as I don't think this is documented

My solution above only partially fixes the issue. Specifically, using  :section?/:slug as the permalink pattern will only work for pages one directory deep.
That's because ? is the 0 or 1 modifier. What we need is the 0 or more modifier so that vue-router will match when we have a page like docs/some/deep/link/with/many/slashes.
Using :section*/:slug as permalink pattern will take care of that.

@joostdecock would love to play around with this myself as well. Do you perhaps have an example or existing repository where you (can) show this off?

The dev branch has my latest work. I have 3 content types for nuxtent, and I want different languages.
I'm currently having dinner, but if you have questions/suggestions I'll look in to them later.
Or go to the nuxtent slack channel

@joostdecock do you mind taking a look at https://gitlab.com/dimitrieh/nuxtent-section-demo ? trying to get a really simple demo going showing off this feature! 😄
Something is going wrong 🐙

Connect your browser to http://localhost:3000/content-api I think it will give you a better understanding of what to expect from that api, and what the influence is of changing the path and permalink settings in the nuxtent.config.js file.

@joostdecock I got it working 😄
thanks for the tip, helped a lot!


Add additional logging to know that the component ran

There are scenarios where the component logs nothing and it's hard to determine if it ran or had an error outside of the try/catch

@winklerj to validate whether this has already been done

@winklerj we'll want to get this one confirmed and done before we start this SAP integration, now that we know it'll be via a SOAP web service.

I believe this was the commit to add additional logging https://github.com/blendededge/soap-component-oih/commit/2b7c2a04a86409348b357164c321b5936cef830e on 10/23


ES 2.2 and SG "Search Guard not initialized"

I cannot for the life of me get past running the sgadmin.sh script. I keep getting the error that SG is not initialized.
Connect to localhost:9300 Exception in thread "main" ElasticsearchException[Search Guard not initialized (SG11) for cluster:monitor/health] 	at com.floragunn.searchguard.filter.SearchGuardFilter.apply(SearchGuardFilter.java:240) 	at org.elasticsearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:99) 	at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:77) 	at org.elasticsearch.action.support.HandledTransportAction$TransportHandler.messageReceived(HandledTransportAction.java:45)

Here is my ES yaml file:
`#searchguard
security.manager.enabled: false
searchguard.authcz.admin_dn:

cn=test-2, ou=client, L=Test, C=DE
#Searchguard keys
searchguard.ssl.transport.keystore_filepath: keys/test-2-keystore.jks
searchguard.ssl.transport.truststore_filepath: keys/truststore.jks
searchguard.allow_all_from_loopback: true
`

ES appears to find and load the keys fine but every trying to this http://localhost:9200 returns the same SG error about it not be initialized.

I am getting the same error with ES2.2 and SG2 on a different action(indices:admin/exists). Pasting below the stack trace, kindly help
Exception in thread "main" ElasticsearchException[Search Guard not initialized (SG11) for indices:admin/exists]
at com.floragunn.searchguard.filter.SearchGuardFilter.apply(SearchGuardFilter.java:240)
at org.elasticsearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:99)
at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:77)
at org.elasticsearch.action.support.HandledTransportAction$TransportHandler.messageReceived(HandledTransportAction.java:45)
at org.elasticsearch.action.support.HandledTransportAction$TransportHandler.messageReceived(HandledTransportAction.java:41)
at com.floragunn.searchguard.ssl.transport.SearchGuardSSLTransportService.messageReceivedDecorate(SearchGuardSSLTransportService.java:137)
at com.floragunn.searchguard.transport.SearchGuardTransportService.messageReceivedDecorate(SearchGuardTransportService.java:222)
at com.floragunn.searchguard.ssl.transport.SearchGuardSSLTransportService$Interceptor.messageReceived(SearchGuardSSLTransportService.java:107)
at org.elasticsearch.transport.netty.MessageChannelHandler.handleRequest(MessageChannelHandler.java:244)
at com.floragunn.searchguard.ssl.transport.SearchGuardMessageChannelHandler.handleRequest(SearchGuardMessageChannelHandler.java:57)
at org.elasticsearch.transport.netty.MessageChannelHandler.messageReceived(MessageChannelHandler.java:114)
at com.floragunn.searchguard.ssl.transport.SearchGuardMessageChannelHandler.messageReceived(SearchGuardMessageChannelHandler.java:45)
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:462)
at org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:443)
at org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:303)
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
at org.elasticsearch.common.netty.OpenChannelsHandler.handleUpstream(OpenChannelsHandler.java:75)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:462)
at org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:443)
at org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:303)
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)
at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108)
at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89)
at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)
at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

@djtecha @benejo so both of you have successfully runned sgadmin.sh and after this you get the above mentioned errors. Right?

No, for me the initial sgadmin.sh fails with that. Not sure how I'm supposed to initialize as I thought that script did it.

Same for me, the sgadmin.sh script fails with the above mentioned error.

plugins/search-guard-2/tools/sgadmin.sh -h <IP_ADDRESS> -cd plugins/search-guard-2/sgconfig/ -ks plugins/search-guard-2/sgconfig/elkadmin-keystore.jks -kspass password1 -ts plugins/search-guard-2/sgconfig/truststore.jks -tspass password2
Connect to <IP_ADDRESS>:9300
[06:40:25,731][WARN ] org.elasticsearch.com.floragunn.searchguard.ssl.SearchGuardKeyStore - AES 256 not supported, max key length for AES is 128. To enable AES 256 install 'Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files'
Exception in thread "main" ElasticsearchException[Search Guard not initialized (SG11) for indices:admin/exists]
at com.floragunn.searchguard.filter.SearchGuardFilter.apply(SearchGuardFilter.java:240) at org.elasticsearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:99) at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:77)

Pls. make sure that elasticsearch.yml contains an entry like

searchguard.authcz.admin_dn:
  - "cn=xxx, ou=yyy, L=Test, C=DE"
# note the double quotes above !!

where "cn=xxx, ou=yyy, L=Test, C=DE" matches your DN of the certificate you submit via

sgadmin.sh -ks keystore.jks

I ran the clean.sh to delete all the certs and tried again with double quotes and made sure the cn mentioned in ES config matches the keystore used for sgadmin.sh. This time I got the same error(action cluster:monitor/health) as djtecha got. Pasting below a short stacktrace,
Exception in thread "main" ElasticsearchException[Search Guard not initialized (SG11) for cluster:monitor/health]
at com.floragunn.searchguard.filter.SearchGuardFilter.apply(SearchGuardFilter.java:240)

Here is my ES config, could it be I have some network stuff off? I can connect to 9300 though from the loacl box (where the script is run from as well).
`cluster.name: elasticsearch
node.name: "corp-estest-2"
node.master: "true"
node.rack: "HQ"
node.max_local_storage_nodes: 1
index.number_of_shards: 5
index.number_of_replicas: 0
path.conf: /etc/elasticsearch
path.data: /data
discovery.zen.minimum_master_nodes: 0
network.bind_host: "<IP_ADDRESS>"
network.publish_host: non_loopback:ipv4
discovery.zen.ping.multicast.enabled: false
discovery.zen.ping.unicast.hosts: ["corp-estest-2"]
security.manager.enabled: false
searchguard.authcz.admin_dn:

"cn=corp-estest-2, ou=client, L=Test, C=DE"
searchguard.ssl.transport.keystore_filepath: keys/corp-estest-2-keystore.jks
searchguard.ssl.transport.truststore_filepath: keys/truststore.jks
searchguard.allow_all_from_loopback: true
`

Can you pls. post the logs (on debug level, after you faced this error)?

oh, maybe this helps: https://groups.google.com/d/msgid/search-guard/f2d45829-6759-45f8-bbdd-43ca50d85890%40googlegroups.com

Woot! Got it running!
To the rest this is what I did:
run openssl x509 -noout -subject -in corp-estest-2-signed.pem -text to grab the CN info, then make sure it's in the following format.
searchguard.authcz.admin_dn:

"CN=corp-estest-2,OU=client,O=client,L=Test,C=DE"

will try to make this less hard ...

Haha I think adding this combined with all the ES 2.2 changes complicates things. I really appreciate your hard work!

So to summarize here:

cn=corp-estest-2, ou=client, L=Test, C=DE != "CN=corp-estest-2,OU=client,O=client,L=Test,C=DE"
Be careful to specify searchguard.authcz.admin_dn correct and if its not working double check: https://github.com/floragunncom/search-guard/issues/95#issuecomment-191917938

searchguard.authcz.admin_dn is case in-sensitive but the RDN's must be in the right order.

"CN=corp-estest-2,OU=client,O=client,L=Test,C=DE" == "cn=COrp-estest-2, OU=client,o=Client, L=Test,  C=DE"
"CN=corp-estest-2,OU=client,O=client,L=Test,C=DE" != "CN=corp-estest-2,OU=client,O=client,C=DE,L=Test"

Will close this. Feel free to reopen.

I am now trying for almost 3 weeks and cannot resolve this problem. When I create a keystore and truststore with the given example scripts from search-guard-ssl plugin, I set the DN to
"CN=node-0.example.com, OU=SSL, O=Test, L=Test, C=DE"
and everything works like a charm. But the keystore is created with a self-signed certificate and I need a trusted one.
So, I have a trusted wildcard-certificate and I created a keystore and truststore from it to distribute to my node. But when I want to apply the config with that one, I get the Search-Guard not initialized error.
The DN of my own Keystore looks like this:
"CN=*.company.de, OU=companyunit, O=company GmbH, L=somecity, ST=region, C=DE".
I hope you can help because I'm going crazy with this.

Please provide more informations about how you create the key- and truststores (a script or openssl/keytool commands and elasticsearch.yml) and the error message you got as well as your Search Guard SSL and Elasticsearch version.
The example skripts, to be precise, does not create self-signed certificates but they create a real certificate authority and sign the created certificates whit that CA. They show the necessary steps you need to do to generate valid set of certificates.
Which CA do you use? A official one like Verisign/Symantec or a own CA from you company?
Did you create a certificate signing request? Did you configure searchguard.authcz.admin_dnin elasticsearch.yml properly?

Thank you for the fast response.
I use Search-guard-ssl version <IP_ADDRESS>.1 and search-guard version <IP_ADDRESS>-beta1.
I use official CA certificate from GlobalSign. Here is my shell to create my own keystore:

# creating pem files from DER certificates
openssl x509 -inform DER -outform PEM -in Root-R1.crt -out Root-R1.pem
openssl x509 -inform DER -outform PEM -in gsorganizationvalg2.crt -out gsorganizationvalg2.pem

# putting all pem files to chain file
cat Root-R1.pem gsorganizationvalg2.pem GlobalSign-Organization-Validation-CA-SHA256-G2.cer > combined.pem

# creating truststore
keytool -importcert -file combined.pem -keystore truststore.jks -storepass mypass -noprompt -alias root-ca

# creating p12 keystore
openssl pkcs12 -export -in company.de.certificate.crt -inkey company.private.key -chain -CAfile combined.pem -name "node.company.de" -passout pass:mykeypass -out my.p12

# converting p12 to jks keystore
keytool -importkeystore -deststorepass mykeypass-srcstorepass mykeypass-destkeystore node-keystore.jks -srckeystore my.p12 -srcstoretype PKCS12

my elasticsearch.yml:

#####################################
#          elasticsearch            #
#####################################

network.host: <IP_ADDRESS>

cluster.name: elasticsearch
node.name: int
bootstrap.mlockall: true
http.cors.allow-origin: "/.*/"
http.cors.enabled: true
index.refresh_interval: 30s

#####################################
#      search guard ssl configs     #
#####################################

# Relative path to the keystore file (mandatory, this stores the server certificates), must be placed under the config/ dir
searchguard.ssl.transport.keystore_filepath: node-keystore.jks

# Keystore password (default: changeit)
searchguard.ssl.transport.keystore_password: mykeypass

# Relative path to the truststore file (mandatory, this stores the client/root certificates), must be placed under the config/ dir
searchguard.ssl.transport.truststore_filepath: truststore.jks

# Truststore password (default: changeit)
#searchguard.ssl.transport.truststore_password: mypass

# Enforce hostname verification (default: true)
searchguard.ssl.transport.enforce_hostname_verification: false

#searchguard.ssl.transport.http.enforce_clientauth: false

#######   https   ######

# Enable or disable rest layer security - https, (default: false)
searchguard.ssl.http.enabled: true

# Relative path to the keystore file (this stores the server certificates), must be placed under the config/ dir
searchguard.ssl.http.keystore_filepath: node-keystore.jks

# Keystore password (default: changeit)
searchguard.ssl.http.keystore_password: mykeypass

# Relative path to the truststore file (this stores the client certificates), must be placed under the config/ dir
searchguard.ssl.http.truststore_filepath: truststore.jks

# Truststore password (default: changeit)
searchguard.ssl.http.truststore_password: mypass

#####################################
#       search guard configs        #
#####################################

security.manager.enabled: false
searchguard.authcz.admin_dn:
  - "CN=*.company.de, OU=companyunit, O=company GmbH, L=somecity, ST=region, C=DE"

# test admin_dn
#  - "CN=node-0.example.com, OU=SSL, O=Test, L=Test, C=DE"

I hope this helps

I followed same steps as per link
https://github.com/floragunncom/search-guard/wiki/Search-Guard-Bundle.
When I try to start elasticsearch I get below error message
"service elasticsearch start
Starting elasticsearch: Exception in thread "main" ElasticsearchException[Failed to load plugin class [com.floragunn.searchguard.SearchGuardPlugin]]; nested: InvocationTargetException; nested: IllegalStateException[SearchGuardSSLPlugin must be be installed];
Likely root cause: java.lang.IllegalStateException: SearchGuardSSLPlugin must be be installed
at com.floragunn.searchguard.SearchGuardPlugin.checkSSLPluginAvailable(SearchGuardPlugin.java:135)
at com.floragunn.searchguard.SearchGuardPlugin.(SearchGuardPlugin.java:53)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at org.elasticsearch.plugins.PluginsService.loadPlugin(PluginsService.java:472)
at org.elasticsearch.plugins.PluginsService.loadBundles(PluginsService.java:432)
at org.elasticsearch.plugins.PluginsService.(PluginsService.java:129)
at org.elasticsearch.node.Node.(Node.java:158)
at org.elasticsearch.node.Node.(Node.java:140)
at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:143)
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:178)
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:270)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:35)
Refer to the log for complete error details."
When checked in logs I see below
[2016-07-27 14:27:49,501][WARN ][bootstrap                ] unable to install syscall filter: seccomp unavailable: CONFIG_SECCOMP not compiled into kernel, CONFIG_SECCOMP and CONFIG_SECCOMP_FILTER are needed
[2016-07-27 14:27:49,594][INFO ][node                     ] [node-1] version[2.3.3], pid[28517], build[218bdf1/2016-05-17T15:40:04Z]
[2016-07-27 14:27:49,594][INFO ][node                     ] [node-1] initializing ...
[2016-07-27 14:27:49,920][ERROR][bootstrap                ] Exception
ElasticsearchException[Failed to load plugin class [com.floragunn.searchguard.SearchGuardPlugin]]; nested: InvocationTargetException; nested: IllegalStateException[SearchGuardSSLPlugin must be be installed];
at org.elasticsearch.plugins.PluginsService.loadPlugin(PluginsService.java:483)
at org.elasticsearch.plugins.PluginsService.loadBundles(PluginsService.java:432)
at org.elasticsearch.plugins.PluginsService.(PluginsService.java:129)
at org.elasticsearch.node.Node.(Node.java:158)
at org.elasticsearch.node.Node.(Node.java:140)
at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:143)
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:178)
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:270)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:35)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at org.elasticsearch.plugins.PluginsService.loadPlugin(PluginsService.java:472)
... 8 more
Caused by: java.lang.IllegalStateException: SearchGuardSSLPlugin must be be installed
at com.floragunn.searchguard.SearchGuardPlugin.checkSSLPluginAvailable(SearchGuardPlugin.java:135)
at com.floragunn.searchguard.SearchGuardPlugin.(SearchGuardPlugin.java:53)
... 13 more
Can anyone help me in fixing this issue?

@rocky4bmw this seems unrelated to the original issue, and the original issue is already closed. Please ask your question on the Search Guard Google Group: https://groups.google.com/forum/#!forum/search-guard


Fix README.md

I changed instructed to instruct

It should be be instructed instead of instruct. So, in case of conflict you will be instructed to go into....

Okay.
I revised it again.


Readme still refers to reason.bsb.enabled instead of reason.diagnostics.tools.

The old config:
"reason.bsb.enabled": true,

is now
"reason.diagnostics.tools": ["bsb"],

Fixed in ec0400e.


The duration of the audio read by the soundfile library is incorrect

In fact, the audio duration is about 21 hours.  but the duration read by the soundfile is 6e+10:4e+01:3.719h
import soundfile
audio_info = soundfile.info("e:/..../ss.mp3")
print(info)

Please raise this issue with libsndfile. Soundfile merely reports what the underlying library returns.


Iterate huge SQL/DQL request with left join ?

Hi,
I can't iterate my sql/dql request with a left join, is there any way to do that ?
(Iterating results is not possible with queries that fetch-join a collection-valued association. The nature of such SQL result sets is not suitable for incremental hydration.) from http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/batch-processing.html
I just want to export a table with specifics rows, but i have to do a left join on other table, do you have any ideas to iterate my results and prevent memory size exhausted ?
Thanks a lot

Any solutions ?

When you use iterate, you are using the hydration IteratableResult object. This hydrates objects one by one as you iterate over the result set.
When you use joins, the hydration becomes more complicated (see http://ocramius.github.io/blog/doctrine-orm-optimization-hydration/).
Do you need the data from the other table? Or is it just to filter the rows from the original table?

I need the data from the other table but is not necessary for me to have results converted into object, it is just to export as CSV/XML file format ...
I guess the hydration is unnecessary in my case but i don't know the appropriate method to iterate my SQL/DQL request (400.000 rows)

You can easily solve this by counting the number of possible objects, then do it in batches using pagination.

You have a number of options:

Manually iterate over the hydrated objects in pages (as @guilhermeblanco suggests)
Use raw queries for the export (skipping the hydration all together)
Use raw queries in pages

The solution suggested by @guilhermeblanco made one request per paginate results ... (no really performant ?)
How can i can use raw queries for the export ? the problem is still the same because i really need to iterate the results and prevent memory size exhausteed.
Thanks a lot

When we talk about "pages", we mean "LIMIT/OFFSET" (http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/dql-doctrine-query-language.html#first-and-max-result-items-dql-query-only).
The same applies to raw queries.

But it will made one request per paginate results (0/25 = 1 request, 25/50 = 1 request, ...)
Is there any way to iterate WITH ONE request like a mysql_query + mysql_fetch_object ?
$result = mysql_query($query, $db);
while ($row = mysqli_fetch_object($result)) {
    $exporter->putCSV($row, $file);
}

You can make your "pages" contain only one row? I'm not sure what your question is.

My example is quite simple, i just want to export my entire request (400.000 rows) to a CSV/XML file, i can't iterate the request because there is a left join ...
So i need a solution to properly iterate the results with only one request. (and i guess the pagination, or LIMIT/OFFSET is not the best solution if i have 400.000 rows).
Can you imagine ? if i set a limit to 25 (for example) for 400.000 rows, i will have 16.000 request to get the entire results ...
I just want to prevent the memory size exhausted error. I have tried with DoctrineORMQuerySourceIterator but mysql keep in memory (buffer) the entire request (exaust the memory).

Nobody says you should LIMIT on 25. You can start with 2 pages of 200.000 rows, if you still have memory issues, try 100.000, and so on.

but is not necessary for me to have results converted into object

Sorry but doesn't it means that the whole conversation is out of scope of the ORM?
Did you try to do it using the DBAL only? http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/data-retrieval-and-manipulation.html#data-retrieval

From DBAL document : The query method EXECUTES the SQL and returns a database statement object
in my case, it exhaust the memory (buffer mysql), i haven't try this yet but i'm pretty sure of that ...


Link and bookmark game options seem to do the same thing

The link one should only enable links in the TV games, the bookmark one should only allow bookmarking.

fixed in 2.0.13


Anything I can do about SSL support?

Got a RasPi 3 running with Homebridge and Config UI X, but want to use HTTPS for the webinterface.

Hi @albi,
I use Nginx which acts as a reverse proxy to provide SSL support to homebridge-config-ui-x and several other services I have running.
There are plenty of guides on the internet showing how to set this up so I won't write up another.
I will provide the location block you'll need if you choose to go with Nginx though, since you need to add a few extra lines to support WebSockets which homebridge-config-ui-x uses heavily:
location / {
    proxy_pass              http://localhost:8080;
    proxy_http_version      1.1;
    proxy_buffering         off;
    proxy_set_header        Host $host;
    proxy_set_header        Upgrade $http_upgrade;
    proxy_set_header        Connection "Upgrade";
    proxy_set_header        X-Real-IP $remote_addr;
    proxy_set_header        X-Forward-For $proxy_add_x_forwarded_for;
}


Script and test for sending email to ERPC participants [#OSF-8258]

Purpose
The folks running ERPC want to contact the entrants to update them about the competition. They have given us email text to send to the entrants (anyone who has admin + read/write to a registration created with ERPC registration schema). We will send one email to them. The email includes a link to a Google form where the entrants can sign up to be contacted further.
Changes

Script to gather all admin/write contributors to registrations using the ERPC MetaSchema. Then, if not used in dry mode, send an email to those participants.

Side effects
None anticipated
Ticket
https://openscience.atlassian.net/browse/OSF-8258

Closing to open a new djangole PR

Moved to #7481


frontend: remove keydown blocking in spinner component

The Spinner component has some logic that aggressively suppresses
keydown events, it prevents the default bubbling of the event and
removes focus from the active element.
This was done to prevent the user from accidentally navigating or
changing a form that was covered by the Spinner.
The logic was introduced to Spinner and WaitDialog in:

d7a9fec80254740dc905974374206b100e896ecc
a0077119ccc607b728dff95f023f2c337bd751a9

Listening to global document and preventing the event is a bit a
hack and at some point this broke on macOS. It still works on
Linux and is the reason for a regression. The bug is that users
can not enter a device name during setup and the input element
looses focus when typing.
Regression was introduced in a change that conditionally shows
the Spinner in the Waiting view. As the setup wizard itself is
now an overlay, the Spinner can be rendered below and is not
visible but still suppresses global keydown event.

ee2d529a1a26187e9cf2cfafd4c0fa284939d687

To prevent such issues this commit removes the logic in Spinner.
This should be fine in cases where the Spinner does not cover
any elements (account overview, buy info). Spinner is also
used to cover iframes until onload event occurs, this should
be ok as the spinner only appears quickly.
WaitDialog should not be rendered below an overlay, but also
the keydown event suppression does not work on macOS. Keeping as
is for now.
This commit only fixes the regression, but there are a few changes
that could improve blocking the UI in the future:

having a global "block" or "isBlocking" state in app context
moving away from form covering dialogs to just display the
data instead of the form for example in Send view

rebased PTAL @benma @strmci


payment -> technical details: not all hops are displayed

All hops should be displayed, not just first and last one.
Also, when clicking on a public key, it should extend and display complete pubkey.
Phoenix Android 2.0.10
Phone: Samsung Galaxy S20+

+1 i'd like to see the path that the payment took. its a good info to have.
i like how zeusLN has this, where you can see which nodes routed the payment.


Release v1.3.1

Dink v1.3.1 fixes a few edge cases (for level and kill count notifiers), augments pet metadata with the acquisition milestone, and allows skipping death notifications if the total value of the lost items is below a configurable threshold.

I'm going to merge this one without mm2pl's ✅ only because NFC has been given an extra push to cleanup the queue, so we might as well get in the line while it's being cleaned.


Cant enter ChromeOS username or non security textboxes

I have wiped my chromebook 7 or 8 times because of this issue. When I download KDE, XFCE, or Unity, I start my chromebook up and am not able to enter ChromeOS. I can type my email password or wifi password, but not anything that doesn't have hidden text. The on-screen keyboard doesn't even work. However, to enter Ubuntu, I open up the developer console from log in screen and start crouton. I wouldn't need to be posting this cause i prefer Ubuntu or Linux, but recently I installed Trusty Tahr Unity, and I get some random server error:
No screens found(EE)
IDK if worth mentioning, but If i kept restarting my chromebook when I had XFCE I would eventually be able to log in. After installing Ubuntu I haven't been able to log in once.
Sorry about all my problems, hoping some other people went through trouble too. When I start my chromebook up I get OS verification screen and I just press CTRL + D, sometimes this just takes me to a screen trying to put OS verification on. I have to restart my chromebook until it doesn't show this screen.
Please help me, Thanks in advanced :D

After lots of reboots and endless tries at Sudo startunity, I finally got it to get in unity from developer console though. Restarted chromebook and now im presented with the same problem. Cant login and cant start Ubuntu.

@lucasheer,
Your dilemma of not being able to log in to your Google account is pretty serious.
When you say :

I have wiped my chromebook 7 or 8 times because of this issue.

Do you mean 'powerwashed' it or actually did a 'usb restore'?
I imagine you mean 'powerwash', I think you need to do a 'usb restore'.
Then you need to download a fresh version of 'crouton' and update your chroot.
If you decide to do a 'usb restore', please backup your chroot to external media first, then you won't need to start from scratch.
Hope this helps,
-DennisL

OK OK, I found out a way i can get back into Ubuntu.
First from login (cause i cant get in) I go to developer console and type start unity
After I get the error I go CTRL + ALT + F3
Then back CTRL + ALT + F2
And finally back to ChromeOS CTRL + ALT + F1
And now I CTRL + ALT + F2 and type Sudo startunity and it enters Ubuntu :)

@dennisLfromGA sorry about my new comment i didn't refresh the page lol
I meant I deleted all local data by exiting developer mode and then re-entering develoepr mode.

@DennisLfromGA Edit: I redid my chromebook just to try to be able to login.


Shouldn't swap branch after deliver

When we run a deliverwe're immediately taken to the default integration branch

The expected behaviour is more that we stay on the branch - I know it's renamed, but never the less -I would rather stay on it.
Setting me back to the integration branch makes me loose te files I just edited - and if I have jekyll or sass running in watch mode - it start rebuilding again.
I know @JKrag shares my opinion on this one.

I agree that this is also the behavior I want in the end. It will also make git phlow web take me to the current issues, so I for example can see that issue being closed properly and click on my commit.
So when I run git phlow deliver of any kind, I want to stay on the renamed delivered branch.
That way of working also support our fast feedback loop, where I just need to grab a cup of coffee while the integration process run, and then it is verified or deployed. So when I start my next task with workon and the integration branch is updated before merging I get that feature I just delivered.
I would be odd to be taken immediately to the integration branch where my feature isn't found yet.

I disagree. I would expect git phlow deliver to take me back to the integration branch. Because then I am ready to type my next git phlow workon command.

@martinmosegaard and you realize the taking you back to the integration branch will reset your code changes back to something before your changes? Also that if you have a debugger or say jekyll process running it will rebuild?
No matter if you are on the integration branch or stays on the delivered branch, you're ready to do the next git phlow work at any time.
So you still disagree? Isn't it just a matter of taste?

Regarding resetting the code changes: I assume they have been delivered (pushed to remote) so I can forget about them.
Regarding debugger/jekyll, that has not been a use case for me, but conceptually, I would still start a new debugging session. Because I am done with the previous issue and ready to work on the next issue, so I no longer need to debug anything related to the previous issue.
Regarding your last point, I thought it was best to do git phlow workon from the integration branch. As I understood it, the ideal is to always branch off from the integration branch (not from another feature branch)?
If I depend on my previous issue, the PIP integration should put in on master within a couple of minutes anyway. I can probably use that time to think about the next issue to work on.
Still, it could be a matter of taste :)

we can make this a flag in stead? eg. git phlow deliver --local --stay for staying on the delivery branch?

This has many different consequences and sets of scenarios.
Where can I find the user stories or the spec that we are trying to implement?
Which branch you work on your next task on has consequences for the following scenarios:

Successful integration with more than one commit squashed
Failed integration
Will end up in different scenarios depending on what the merge strategy is on the ci server

Basically my point is that this will not only have workflow consequences it will also have history consequences.
This also corresponds to the are we trying to say "You only need these five commands to work efficiently" or are we trying to supplement already Git skilled people.
What branch you are on after delivering and doing workon has big impact on how to resolve the rainy-day scenarios.
If we suppose that I'm isolating my work on a feature branch, feature branch on top of feature branch should not be wanted. Also what happens if I try to deliver on a feature branch of a feature branch, after having the first feature branch integrated. Might give a nasty rebase :)

@RandomSort Our thought was that staying on the delivered branch should make it less confusing for the user (as it prevents all the users nice work from disappearing in front of their eyes).
workon would still create new branches from [master] as always, so we are not suggesting "feature branch off of a feature branch" cases.
@groenborg and I have just brainstormed a new feature (coming as a new issue later today) that would support something like git phlow workon <xyz> --wait. This would stay here on your previous work, and wait for your delivered changes to arrive on master before creating a branch for the next issue. In this way you could continue editing your live blog immediately. (yes, this issue might need some grooming and POC, but lets take that discussion on the upcoming issue).

@martinmosegaard It is not so much about debugging, but about
a) automatic rebuilding of my entire project because my files change when i deliver, and
b) my changes are gone, so I can not continue work based on these. Lets say issue 13: create a new function and issue 14: use this new function. The moment I deliver 13, the function will be gone, and I have to wait for it to "come back". This is very annoying, also for live blogging and frequent sharing during report writing.

But if it bases the workbranch on master then your changes Will still
"disappear"?
Den 24. nov. 2017 3.24 PM skrev "Simon Grønborg"<EMAIL_ADDRESS>
It would make sense to change the default behaviour of git phlow, so it
does not change workspace whenever you run deliver. Given how workon
works (creating a branch from origin/master), it does not make any
difference in terms of how git behaves because the branch you are on have
no effect on the workspace you create. It imply boils down to the user
experience.
in @lakruzz https://github.com/lakruzz case and @JKrag
https://github.com/jkrag case where they use the workflow for blogging
and Jekyll related work, it is a bad experience because Jekyll recompiles
😞, for my work it can be a irritating because I do not get to continue
my work which in fact is possible given the non-disruptive behaviour of
workon.
In edge cases it can make sense to change branch, but that would be case
where the delivered changes are non-continuous.
Therefore I will conclude that we will solve this problem by using a
--home flag that will take the user home if they want to wait to update
their own master branch with the integrated changes from GitHub.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Praqma/git-phlow/issues/264#issuecomment-346839402,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAjjq5PNPviMfwH1Qb0VyNM5iveDrSwUks5s5tGQgaJpZM4P7orH
.

@RandomSort That depends a lot on when you do the workon. You can continue reading your code/text for a few minutes (without rebuild) and then do the workon when the changes have been integrated. As far as I can judge, you could even start working, making local changes, before you do workon to create the new feature branch. This might have to require a temporary stash-unstash, but that could easily be incorporated in the tool. My favourite git up extention for instance does this  every single time a update.
Also have a look at #286 and #285 which would potentially enable you to do a blocking wait for the changes, all while still keeping your workspace intact to avoid confusion and rebuild.

Thanks for all the input - issue is on hold until we have defined how we actually want our phlow to work.

I will make the decision that we do not switch branch.. The way the tool works makes it that solution work really well.

@groenborg you're not going to implement this issue... you added labels It is not in scope.


Demo of integrating to SciChart

Hi Karl,
I'm interested in making a demo of integrating trading to SciChart - High Performance WPF Charts. If I do it, would you put a link in your readme.md?
SciChart is commercial software, not free, but it is very good and allows financial charting in realtime. Also if we see improvements to Trady we're willing to help contribute!
Best regards,
Andrew

@andyb1979 yea, of course. We can put the link to README.md if you do it, any help is welcomed 👍


Regarding the TBCNN Impl.

Hello,
Thank you for the great impl.
I've been trying to understand your impl. By the way, does the impl also work without CUDA? if not, which part of code should I modify to make it work without CUDA?
Thank you very much and have a great day!

this implementation is based on tensorflow, you can enable Cuda training by set something like :
os.environ['CUDA_VISIBLE_DEVICES'] = "1"
to enable GPU training

Thank you very much 👍


Normaliztation: Force energetic properties to match the target after normalization

Which issue(s) are closed by this pull request?
Closes #721
Changes proposed in this pull request:

use square root of a signals energy and power for normalization
update docs and tests

I'm wondering if it's clear that for channel_handling='mean' the mean energy is calculated before taking the square root, and not the other way around. What to you think?

Thanks for catching. It was correct, but probably not clear. In addition, I detected thet the normalization for 'energy' and 'power' was only correct for target=1. I fixed that as well and extended the tests.


GROOVY-7319: Add primitive array min() and max()

Please see http://jira.codehaus.org/browse/GROOVY-7319 for the detail.

First of all "assert -3 as byte == a1.min()" shows to me the intention to ensure the return value of min() is a byte. But even if it was any other primitive, the assert would not fail. instead you have to use "assert a1.min().class == Byte" or something similar... of course additionally to checking the value.
Then there is of course the course of action regarding those primitive type comparators. Maybe that should be discussed on the mailing list instead of here

OK, I did three things.

Wrote an email to dev mailing list.
Checked the return type in ArrayTest.
Renamed min(IntComparator) to minComapre(IntComparator).

Functionality now mostly merged in Groovy 5.


Foundation Resources

Hey community, If you any plugins, themes, tutorials or other great things you've made to help out Foundation, let us know!
Resources page: http://foundation.zurb.com/develop/resources.html
Give us a link with your name and we can check it out to see if it will go well on our Resources page.
Thanks!

Hello,
I've just made a Cool WordPress Theme, aka "Nassim", using Foundation 5.5 and Underscores.
Demo : http://nassim.intowp.com/
Docs : http://nassim.intowp.com/docs/
Hope you'll like it !

Hello Zurb!
I am saddened to announce I would like the removal of my Wordpress theme "WPBaseFoundation" theme. I have not touched the theme in quite awhile and would not like anyone to be upset by a theme that's become out dated and ruins the "Awesomeness" that is Foundation.
I switched employers and during the transition the theme fell behind and many other great themes have came along! I am excited to say that I am creating another theme that will work as a boilerplate for a bare minimal theme utilizing not only Foundation but the Twig Templating Engine for Wordpress.
Thank you for allowing my theme to be shared and I can't wait to submit my next theme. Sometime in the next month =)
https://github.com/sloyer/WPBaseFoundation

Pinegrow Web Editor - Visual site builder desktop app for Foundation
http://pinegrow.com

Express Foundation Template by lyphtec
Starter template for Express (Node / io.js) backend utilising jspm.io for browser package management (supports ES6!).
Repo: https://github.com/lyphtec/express-foundation-template
Live demo: http://express-foundation-template.azurewebsites.net/

https://github.com/marnen/foundation_form_builder via @marnen

@rafibomb Thanks! I should have posted here myself. :)

https://github.com/mgmartel/timber-foundation

Free Ghost theme based on Foundation for sites with simple Grunt Scss workflow:
https://github.com/juliancwirko/abc
Meteor.js Foundation for sites package:
https://atmospherejs.com/juliancwirko/zf5
Blog post about Yeoman generator-zf5
http://julian.io/foundation-5-and-yeoman/
Blog post about Ghost theming with Foundation
http://julian.io/ghost-theming-with-zurb-foundation-and-scss/

Hey everyone - thanks for all you submissions! We just published all the tools, themes, and, integrations posted here. Let me know if anything is missing - Rafi at zurb . com   Thanks!

flexible.gs is compatible with foundation : ) http://flexible.gs/support/
Flexible Grid System by Doğukan Güven Nomak

:+1: Very good thread :D


[poppler] update to 23.11.0

Fixes #35402
Update port poppler to the latest version 23.11.0.

[x] Changes comply with the maintainer guide
[x] SHA512s are updated for each updated download
[ ] The "supports" clause reflects platforms that may be fixed by this new version
[ ] Any fixed CI baseline entries are removed from that file.
[ ] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

Feature cairo,cms,curl,glib,private-api,splash,zlib tested successfully in the following triplet:

x86-windows
x64-windows
x64-windows-static

I'm investigating this error，
CMakeFiles/poppler.dir/poppler/GlobalParams.cc.o -c /mnt/vcpkg-ci/buildtrees/poppler/src/er-23.11.0-08ca2759be.clean/poppler/GlobalParams.cc
/mnt/vcpkg-ci/buildtrees/poppler/src/er-23.11.0-08ca2759be.clean/poppler/GlobalParams.cc:1563:5: error: use of undeclared identifier 'displayFontDir'; did you mean 'displayFontDirs'?
    displayFontDir = fontDir;
    ^~~~~~~~~~~~~~
    displayFontDirs
/mnt/vcpkg-ci/buildtrees/poppler/src/er-23.11.0-08ca2759be.clean/poppler/GlobalParams.cc:1379:20: note: 'displayFontDirs' declared here
static const char *displayFontDirs[] = { "/usr/share/ghostscript/fonts", "/usr/local/share/ghostscript/fonts", "/usr/share/fonts/default/Type1", "/usr/share/fonts/default/ghostscript", "/usr/share/fonts/type1/gsfonts", nullptr };
                   ^
/mnt/vcpkg-ci/buildtrees/poppler/src/er-23.11.0-08ca2759be.clean/poppler/GlobalParams.cc:1563:20: error: array type 'const char *[6]' is not assignable
    displayFontDir = fontDir;
    ~~~~~~~~~~~~~~ ^

And now you removed the new cms feature from the manifest, when the portfile is ready to use it. :confused:

Thanks for the update!


what visual studio components should be installed?

please help)

Hi, which way of install you are using? If you install it using Miniconda or Chocolatey  then you don't have to install it manually.

i use windows10 +  miniconda and i cant build wheels -
i have error like this:
build\lib.win-amd64-cpython-311\pointnet2_ops_ext.cp311-win_amd64.pyd : fatal error LNK1120: : 101
error: command 'C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\link.exe' failed with exit code 1120
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pointnet2-ops

  build\lib.win-amd64-cpython-311\torch_scatter\_scatter_cpu.pyd : fatal error LNK1120:: 38
  error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Professional\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\link.exe' failed with exit code 1120
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for torch-scatter
Running setup.py clean for torch-scatter
Failed to build pointnet2-ops simple-knn diff-gaussian-rasterization pytorch3d torch-scatter
ERROR: Could not build wheels for pointnet2-ops, simple-knn, diff-gaussian-rasterization, pytorch3d, torch-scatter, which is required to install pyproject.toml-based projects

i can build wheels for this 5: pointnet2-ops simple-knn diff-gaussian-rasterization pytorch3d torch-scatter

I used this instruction https://github.com/MrForExample/ComfyUI-3D-Pack/issues/22#issuecomment-1937795756

oh god, I installed it)
I installed Anaconda instead of MiniConda. and received more information about the errors

Glad you did it, cheers friend, I'll note it in the install instruction in next update 👍