list by isEncrypted

Description
This PR...

Fixes: #8635
very much a PoC on this.

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[x] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)
[ ] build/CI

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[x] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[x] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

How did you try to break this feature and the system with this change?

@DaanHoogland
maybe better to add the column to volume_view

@DaanHoogland maybe better to add the column to volume_view

makes sense but the field doesn't exist. I'll refresh my sql-fu to get it in.

@DaanHoogland maybe better to add the column to volume_view

makes sense but the field doesn't exist. I'll refresh my sql-fu to get it in.

with your PR #8647 , you need to add a line to engine/schema/src/main/resources/META-INF/db/views/cloud.volume_view.sql
    `volumes`.`encrypt_format` AS `encrypt_format`,

then add the field in VolumeJoinVO

@DaanHoogland maybe better to add the column to volume_view

makes sense but the field doesn't exist. I'll refresh my sql-fu to get it in.

with your PR #8647 , you need to add a line to engine/schema/src/main/resources/META-INF/db/views/cloud.volume_view.sql
    `volumes`.`encrypt_format` AS `encrypt_format`,

then add the field in VolumeJoinVO

I thought you meant a field isEncrypted. this is simpler, thanks.

@DaanHoogland maybe better to add the column to volume_view

makes sense but the field doesn't exist. I'll refresh my sql-fu to get it in.

with your PR #8647 , you need to add a line to engine/schema/src/main/resources/META-INF/db/views/cloud.volume_view.sql
    `volumes`.`encrypt_format` AS `encrypt_format`,

then add the field in VolumeJoinVO

I thought you meant a field isEncrypted. this is simpler, thanks.

if need, you can add a method isEncrypted in VolumeJoinVO
:smiley:

@DaanHoogland Can we revisit this after we merge https://github.com/apache/cloudstack/pull/8321? This will probably result in conflicts with #8321.

@blueorangutan package

Codecov Report
Attention: Patch coverage is 29.62963% with 19 lines in your changes are missing coverage. Please review.

Project coverage is 30.74%.  Consider uploading reports for the commit 4b14ca4 to get more accurate results

Files
Patch %
Lines

...main/java/com/cloud/storage/dao/VolumeDaoImpl.java
21.42%
11 Missing :warning:

...ain/java/com/cloud/api/query/QueryManagerImpl.java
33.33%
7 Missing and 1 partial :warning:

Additional details and impacted files
@@              Coverage Diff              @@
##               main    #8643       +/-   ##
=============================================
+ Coverage     15.28%   30.74%   +15.45%
- Complexity    11524    33042    +21518
=============================================
  Files          5425     5352       -73
  Lines        474016   374485    -99531
  Branches      61139    54614     -6525
=============================================
+ Hits          72444   115122    +42678
+ Misses       393515   244089   -149426
- Partials       8057    15274     +7217

Flag
Coverage Δ

simulator-marvin-tests
24.58% <29.62%> (?)

uitests
4.38% <ø> (+0.11%)
:arrow_up:

unit-tests
16.41% <11.11%> (?)

unittests
?

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Since the query uses VolumeVO now, the fix could be much simple like
        if (cmd.isEncrypted() != null) {
            if (cmd.isEncrypted()) {
                volumeSearchBuilder.and("encryptFormat", volumeSearchBuilder.entity().getEncryptFormat(), SearchCriteria.Op.NNULL);
            } else {
                volumeSearchBuilder.and("encryptFormat", volumeSearchBuilder.entity().getEncryptFormat(), SearchCriteria.Op.NULL);
            }
        }

code looks good
@DaanHoogland
a suggestion, can you add encryptformat to the VolumeResponse ? (admin only)

code looks good
@DaanHoogland a suggestion, can you add encryptformat to the VolumeResponse ? (admin only)

We could do @weizhouapache , but as this is not touching the actual response object but only the selection criteria, it seems to be a separate issue to me. The Cmd type is not know at the time of Response creation. It goes two levels deep onto the stack in Helper classes. ViewResponseHelper::createVolumeResponse(..) > ApiDBUtils::newVolumeResponse(..)/fillVolumeData(..). This unless we want to always add the encryption type of course. In that case it is no effort.

@blueorangutan package

@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 9673

@blueorangutan test

@DaanHoogland a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

[SF] Trillian test result (tid-10258)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 53578 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8643-t10258-kvm-centos7.zip
Smoke tests completed. 129 look OK, 2 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_01_events_resource
Error
421.82
test_events_resource.py

test_05_rvpc_multi_tiers
Failure
543.50
test_vpc_redundant.py

test_05_rvpc_multi_tiers
Error
543.52
test_vpc_redundant.py

@vishesh92 can you re-re-view?

@DaanHoogland it would be good to have this filter in the UI.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 9821

@blueorangutan package

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 9846

@blueorangutan test

@kiranchavala a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

[SF] Trillian test result (tid-10410)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 45277 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8643-t10410-kvm-centos7.zip
Smoke tests completed. 131 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

@blueorangutan package

@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 9877

Merging this based on the reviews & test results.


Syntax Highlighting Dying in certain instances

Here the syntax highlighting seems to die out on let bindings:

Here syntax highlighting dies on nested switch statements:

I realized the culprit is rapping the function body in {...}

I suspect the issue may be related to the :: for punning which initially causes it to fail. What happens if you try something like paths::paths?

@freebroccolo you are right, once I do that the highlighting returns. However refmt will automatically return it to the punned labelled arguments version.

Yeah, the syntax highlighting hasn't been updated for punned arguments yet. I was working on a rewrite of the syntax highlighting that is more accurate but I haven't had a chance to finish it yet. I'll try to spend some time on that next week.

@freebroccolo Awesome!

@kennetpostigo Can you check if this is fixed for you now with the latest commit and whether you notice any new breakage? Just clone the repo, open repo director in code, and hit F5 to launch a development version of the extension, then try it on a file that was messed up before.

Looks like the fix I introduced needs a little more work actually.

I submitted another fix which I think finally resolves this. Let me know if it doesn't and I'll re-open.


NavMesh Error with certain HM3D scenes

Habitat-Sim version
v0.2.1
I am having issues navigating on some of the HM3D v0.2 scenes. I have provided code below that demonstrates the issue. 612 of the 800 training scenes work fine but the remaining 188 cause the following error: RuntimeError: NavMesh has no navigable area, this indicates an issue with the NavMesh
Any suggestions on what the issue might be and how I can fix it?
Thanks
import habitat_sim
import habitat_sim.agent
import random
from settings import default_sim_settings, make_cfg

settings = default_sim_settings.copy()
settings["seed"] = 5
settings["save_png"] = True
settings["color_sensor"] = True
settings["sensor_height"] = 0.5
settings["width"] = 224
settings["height"] = 224
settings['scene'] = "/raid/michaelequi/hm3dv2/scene_datasets/hm3d/train/00386-b3WpMbPFB6q/b3WpMbPFB6q.basis.glb"

_cfg = make_cfg(settings)

_sim = habitat_sim.Simulator(_cfg)
_sim.seed(settings["seed"])
random.seed(settings["seed"])

agent = _sim.initialize_agent(settings["default_agent"])
greedy_follower = _sim.make_greedy_follower(agent_id=settings["default_agent"])

start_state = agent.get_state()
start_state.position = _sim.pathfinder.get_random_navigable_point()

@Michael-Equi - I could not find the file settings. I'm assuming you're referring to habitat_sim.utils.settings? I tried running this script after changing the import and updating the scene path. It works as expected. I'm using the habitat-sim nightly build installed today.
conda install habitat-sim headless -c conda-forge -c aihabitat-nightly

It seems to have been an issue with habitat sim v0.2.1. v0.2.3 from nightly works fine. Thanks!


Unsecret no results on Workflow C.1

@webyrd request for update

@webyrd @jeffhhk request for update

@webyrd @jeffhhk request for update

Either returning error or zero answers. Question from Will: what was going on with the query? Is it very complicated or there was missing data?
Looks like ARS did not send any results when the PK was rerun. David is running the PK again

Fresh submission to the ARS: https://arax.ncats.io/?source=ARS&id=5f15efed-bb8c-4431-a4dd-9cf63286395c

Note: it looks like the ARS's PK was https://ars-dev.transltr.io/ars/api/messages/9434d84a-0977-41db-8fd4-94292b866b97?trace=y. One can see that some ARAs returned results, and there was an "error" for Unsecret.

{
  "callback": "http://<IP_ADDRESS>:8000/ars/api/messages/4cd7d331-d806-492e-9fe9-c601fb81ff8f",
  "max_results": 100,
  "message": {
    "query_graph": {
      "edges": {
        "e00": {
          "object": "n01",
          "predicates": [
            "biolink:related_to"
          ],
          "subject": "n00"
        }
      },
      "nodes": {
        "n00": {
          "categories": [
            "biolink:ChemicalSubstance"
          ]
        },
        "n01": {
          "categories": [
            "biolink:Disease"
          ],
          "ids": [
            "MONDO:0005301"
          ]
        }
      }
    }
  },
  "validation_result": {
    "message": "",
    "size": "1 kB",
    "status": "PASS",
    "version": "1.1.1"
  }
}

@webyrd timeline for resolution?

Two version of the server running, and sometimes (50%), the wrong server is hit, will continue fixing the issue

We worked with ITRB to fix the deployment issue on our new endpoint.  Will triage by August 12, 2021.

More recent ARAX results: https://arax.ncats.io/index.html?source=ARS&id=27fe1767-60fd-4ac5-a4ce-a85ca96a2fdc

{
  "callback": "http://<IP_ADDRESS>:8000/ars/api/messages/ce3d5066-c4b1-4c64-8f79-fcf69791770b",
  "logs": [
    {
      "level": "INFO",
      "message": "ARS info: <html>\r\n<head><title>504 Gateway Time-out</title></head>\r\n<body>\r\n<center><h1>504 Gateway Time-out</h1></center>\r\n</body>\r\n</html>\r\n"
    },
    {
      "level": "INFO",
      "message": "ARS info: tr_ars.Server: awselb/2.0"
    },
    {
      "level": "INFO",
      "message": "ARS info: tr_ars.Date: Wed, 18 Aug 2021 14:36:59 GMT"
    },
    {
      "level": "INFO",
      "message": "ARS info: tr_ars.Content-Type: text/html"
    },
    {
      "level": "INFO",
      "message": "ARS info: tr_ars.Content-Length: 132"
    },
    {
      "level": "INFO",
      "message": "ARS info: tr_ars.Connection: keep-alive"
    },
    {
      "level": "INFO",
      "message": "ARS info: tr_ars.reason: Gateway Time-out"
    },
    {
      "level": "INFO",
      "message": "ARS info: tr_ars.url: https://medikanren-trapi.ci.transltr.io/query"
    }
  ],
  "message": {
    "query_graph": {
      "edges": {
        "e00": {
          "object": "n01",
          "predicates": [
            "biolink:has_real_world_evidence_of_association_with"
          ],
          "subject": "n00",
          "id": "e00",
          "parentdivnum": 99999,
          "trapiversion": "1.1 (presumed)",
          "source": "n00",
          "target": "n01",
          "type": "biolink:has_real_world_evidence_of_association_with"
        }
      },
      "nodes": {
        "n00": {
          "categories": [
            "biolink:ChemicalEntity"
          ],
          "parentdivnum": 99999,
          "trapiversion": "1.1 (presumed)",
          "fulltextname": "n00",
          "id": "n00",
          "name": "biolink:ChemicalEntitys?"
        },
        "n01": {
          "categories": [
            "biolink:Disease"
          ],
          "ids": [
            "MONDO:0005301"
          ],
          "parentdivnum": 99999,
          "trapiversion": "1.1 (presumed)",
          "fulltextname": "n01",
          "id": "n01",
          "name": "MONDO:0005301"
        }
      }
    }
  },
  "validation_result": {
    "message": "Returned response is not TRAPI: \r\n<title>504 Gateway Time-out</title>\r\n\r\n
504 Gateway Time-out
\r\n\r\n\r\n",
    "size": "2 kB",
    "status": "NA",
    "version": "1.1.1"
  },
  "araxui_provider": "ARS",
  "araxui_response": "ce3d5066-c4b1-4c64-8f79-fcf69791770b",
  "schema_version": "1.1 (presumed)"
}

https://arax.ncats.io/index.html?source=ARS&id=f1a57d6e-f372-401f-90d3-1b1023ed9d44
{
  "description": "Success. 0 results.",
  "logs": [
    {
      "level": "INFO",
      "message": "Query time: 119ms"
    },
    {
      "level": "INFO",
      "message": "MolePro results: 0"
    },
    {
      "level": "INFO",
      "message": "MolePro response status: #\"HTTP/1.1 200 OK\""
    }
  ],
  "message": {
    "knowledge_graph": {
      "edges": {},
      "nodes": {}
    },
    "results": []
  },
  "query_graph": {
    "edges": {
      "e00": {
        "object": "n01",
        "predicates": [
          "biolink:has_real_world_evidence_of_association_with"
        ],
        "subject": "n00"
      }
    },
    "nodes": {
      "n00": {
        "categories": [
          "biolink:ChemicalEntity"
        ]
      },
      "n01": {
        "categories": [
          "biolink:Disease"
        ],
        "ids": [
          "MONDO:0005301"
        ]
      }
    }
  },
  "status": "Success",
  "validation_result": {
    "message": "",
    "n_edges": 0,
    "n_nodes": 0,
    "provenance_summary": {
      "n_sources": 0,
      "predicate_counts": {},
      "provenance_counts": {}
    },
    "size": "1 kB",
    "status": "PASS",
    "version": "1.1.1"
  },
  "araxui_provider": "ARS",
  "araxui_response": "2862c503-69b2-488a-a1ea-1d5a39132bad",
  "schema_version": "1.1 (presumed)"
}

@webyrd
The current results are returning 0 instead of an error. We expect results to be returned by Unsecret Agent from (Multiomics) EHR Risk KP or (COHD) Clinical Data Provider and possibly by Connections Hypothesis Provider (depending on how you rank those results).


drag-n-drop selected text inside textfield

Use case
Someone faced the task, so that in a textfield the selected text could be moved inside the same textfield? Maybe there is some package for this? Or does anyone know how to write their own textfield?
Proposal
Add ability to drag selected text inside textfield

same issue

up

Is there way to track drag events?

If you want to support the priority of this issue, give a 👍 reaction please.

@gspencergoog Would this be related to your drag and drop work?

True!  CC @Renzo-Olivares who was looking into this.

I wonder which platforms support this by default. It seems to work on (non-Flutter) web on my Mac.


IoU of model inferencing

While calling the model for prediction on image what IoU threshold is used?I don't see any number or counter to set threshold for IoU. Where to find this?

RTDETR don't have nms (so no IoU threshold) in postprocessor.

RTDETR 在后处理器中没有 nms（所以没有IoU threshold）。

那如果我想在测试的时候设置IoU阈值为0.5的话应该怎么办呢？


Creative keybind

Mod name
Creative keybind
Curseforge link
https://www.curseforge.com/minecraft/mc-mods/creative-keybind
Other links
https://modrinth.com/mod/creative-keybind
https://github.com/AmyMialeeMods/creative-keybind
What it does
Mod name is the feature duh.
Why should it be in the modpack
No more typin' /gamemode creative
Why shouldn't it be in the modpack
I don't know!!!!!!!!!!!!!
Categories
New feature
Additional details
P.S dosent let u switch if cheats r off

Already exists in vanilla: hold down F3 and press F4. That one also works for toggling any game modes, not just survival and creative


Display and store version of the flashed file

Was it really meant that the "file version" should overwrite the systemname?

What is the file content in the file section of the GUI? Is is a hash sum? If so i would rename it to a hashsum instead of content.

Would be nice if the file size is in MB. Not a must but at least B or Bytes instead of no unit would be good.

Was it really meant that the "file version" should overwrite the systemname?
It is also not overwriting the whole name just as many characters as the new name has.

It was previously called software version, later on we changed it system name.

What is the file content in the file section of the GUI? Is is a hash sum? If so i would rename it to a hashsum instead of content.

It is the first n (20?) bytes of the file

Would be nice if the file size is in MB. Not a must but at least B or Bytes instead of no unit would be good.
It is not in the scope of the task but it is missing the B, I am adding it.

It was previously called software version, later on we changed it system name.

Then i think it's confusing that the gui calls it system name on the left in the table and file version on the right next to the choose file button.


Address Validation API doesn't have a Java client library.

Is your feature request related to a problem? Please describe.
The Google Address Validation API doesn't have a client library for Java, only for C#. I am trying to use it to validate if an address a user enters is within the United States, as my clients cannot ship their products outside of the US. If there is already a Google service that could take care of this, please let me know! I looked and couldn't find anything as robust as the Validation API. The Node.js library isn't ideal for me as I only interact with Google Cloud APIs on my Java server, where my gcloud credentials are securely stored and automatically injected wherever gcloud requires them.
Describe the solution you'd like
I would like to create the Java library myself and open a pull request for it.
Describe alternatives you've considered
Writing the raw rest api call myself in Java, which is annoying.

(Transferred, and unassigned myself.)

Here you are : https://central.sonatype.com/artifact/com.google.maps/google-maps-addressvalidation
<dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>com.google.cloud</groupId>
      <artifactId>libraries-bom</artifactId>
      <version>26.34.0</version>
      <type>pom</type>
      <scope>import</scope>
    </dependency>
  </dependencies>
</dependencyManagement>

<dependencies>
  <dependency>
    <groupId>com.google.maps</groupId>
    <artifactId>google-maps-addressvalidation</artifactId>
  </dependency>

oh shoot, I was looking for the Java repo but couldn't find it. My bad. Thanks for clarifying!

The java library is in this directory among other libraries.
https://github.com/googleapis/google-cloud-java/tree/main/java-maps-addressvalidation


Qestions about the training settings

Hi Xuebin,
Thanks for sharing this code!
I found some divergences between this implementation and your paper, and hope you can give some hints.

In the paper, the total training iterations are 600k. Considering the image number is 21106  and the batch size is 12, the total epochs should be about 340. However, the epoch_num=100,000 in your code, which makes the iterations 175M.

You have randomly flipped the input images twice in the class RandomCrop and Rescale, do you think it is still necessary to flip all the input images in the pre-processing stage?

In the paper, the total training iterations are 600k. Considering the image
number is 21106 and the batch size is 12, the total epochs should be about
340. However, the epoch_num=100,000 in your code, which makes the
iterations 175M.
*The epoch_num=100,000 is just a maximum threshold, we usually stop
training manually. You can break the training by setting an iteration
maximum number. *
You have randomly flipped the input images twice in the class RandomCrop
and Rescale, do you think it is still necessary to flip all the input
images in the pre-processing stage?

Random flip and before-hand flip has different distributions. We just
provide the flipping function in the code. w/ or w/o won't lead
to significant differeneces.*

On Tue, Dec 8, 2020 at 10:45 PM Xiaolin Zhang<EMAIL_ADDRESS>wrote:

Hi Xuebin,
Thanks for sharing this code!
I found some divergences between this implementation and your paper, and
hope you can give some hints.

In the paper, the total training iterations are 600k. Considering the
image number is 21106 and the batch size is 12, the total epochs should be
about 340. However, the epoch_num=100,000 in your code
https://github.com/NathanUA/U-2-Net/blob/master/u2net_train.py#L58,
which makes the iterations 175M.
2.
You have randomly flipped the input images twice in the class
RandomCrop
https://github.com/NathanUA/U-2-Net/blob/master/data_loader.py#L88
and Rescale
https://github.com/NathanUA/U-2-Net/blob/master/data_loader.py#L54,
do you think it is still necessary to flip all the input images in the
pre-processing stage?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/NathanUA/U-2-Net/issues/121, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADSGORPSQN4IE2ONUFEQOWLST4FFTANCNFSM4US7N3KQ
.

--
Xuebin Qin
PhD
Department of Computing Science
University of Alberta, Edmonton, AB, Canada
Homepage:https://webdocs.cs.ualberta.ca/~xuebin/

I see. Thanks a lot!


Additional HTTP header with loading URL

I want to open a URL that needs additional custom http header. Is there any way to add custom http header?
It seems that android webview has a feature what I want.
https://developer.android.com/reference/android/webkit/WebView#loadUrl(java.lang.String, java.util.Map<java.lang.String, java.lang.String>)
It would be good to add some function for WebviewBuilder like below.

let _webview = WebViewBuilder::new(window)?
        .with_url(&some_url)?
        .with_http_header("some", "header")
        .build()?;

I tried to add header with initialization_script but it failed.
Would you assign yourself to implement this feature?

[ ] Yes
[x] No

Overall seems possible but Webkit2gtk (Linux) doesn't have a way to do it, but I will reference other platforms here until webkit2gtk exposes something for this.
Windows: https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2_2?view=webview2-1.0.1462.37#navigatewithwebresourcerequest
Android: https://developer.android.com/reference/android/webkit/WebView#loadUrl(java.lang.String, java.util.Map<java.lang.String, java.lang.String>)
macOS/iOS: https://developer.apple.com/documentation/webkit/wkwebview/1414954-loadrequest?language=objc

It's supported on Linux too, a modified load_url method could look something like this:
pub fn load_url(&self, url: &str) {
    let req = URIRequest::builder().uri(url).build();
    let headers = req.http_headers().unwrap();
    headers.append(
      "My-Header",
      "This only works when you're creating new requests, you can't modify ones creates by the webview itself.",
    );
    self.webview.load_request(&req);
  }

http_headers from WebkitURIRequest is read-only.

I tested this before i sent the message:

I know where you're coming from tho, i only ever tried it for modifying requests from fetch for example which indeed doesn't work (unless one uses web extensions, super annoying imo)

Oh nice, thanks @FabianLars. Apparently, I was looking at the wrong struct https://webkitgtk.org/reference/webkit2gtk/2.32.1/WebKitURIResponse.html

@realwakka do you have an example we can use to test this?

Thanks! I just have tested the patch in feat/load-with-headers branch with this code below..
let webview = WebViewBuilder::new(window)?
        .with_url("https://tauri.studio")?
        .with_devtools(true)
        .build()?;

    let mut header = HeaderMap::new();
    header.append("X-CUSTOM-HEADER", HeaderValue::from_static("SOME_VALUE"));
    webview.load_url_with_headers("https://www.whatismybrowser.com/detect/what-http-headers-is-my-browser-sending", header);

And it works correctly!

I've tested in ubuntu which uses webkit2gtk.

thanks @realwakka

@amrbashir Thanks for code!


Update _journals.tab for cell-press-research

via https://github.com/citation-style-language/styles/pull/6023/files

Sorry about that. Somehow my tabs are not tabs.

It looks like your text editor is automatically replacing tabs with 2 spaces. That's the default on Atom and VS Code I believe.


Added default behavior during ceration of new file channels on Windows platform

@indegro Will you have time to finish this up? This bug fix is important for Windows users and it would great to resolve it asap.

@rahulmutt Hello, sorry for late response. Done. Please, check and verify

@rahulmutt I've signed CLA.

Awesome thanks! Merging now.


[backport] Test cuTENSOR v1.0.0

Backport of #2727

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit 5504fa47a29b3be798dba4455ca24f1615fceb04, target branch v7) failed with status FAILURE.

Jenkins, test this please

Jenkins CI test (for commit 5504fa47a29b3be798dba4455ca24f1615fceb04, target branch v7) succeeded!

Jenkins, test this please

Jenkins CI test (for commit 5504fa47a29b3be798dba4455ca24f1615fceb04, target branch v7) failed with status FAILURE.

Jenkins, test this please

Jenkins CI test (for commit 5504fa47a29b3be798dba4455ca24f1615fceb04, target branch v7) failed with status FAILURE.

Jenkins, test this please

Jenkins CI test (for commit 5504fa47a29b3be798dba4455ca24f1615fceb04, target branch v7) failed with status FAILURE.

Jenkins, test this please

Jenkins CI test (for commit 5504fa47a29b3be798dba4455ca24f1615fceb04, target branch v7) succeeded!


Not recognizing number 8

I'm having a problem with number 8, it is read as 3...
I'm usin PSM 6, language english and pattern A to Z, 0 to 9 and ":" to ";"
Result:

I already change PSM, but no success.
Anyone can help?

use tesseract user forum for asking support


Domain name lookup doesn't support cancel or timeout

We might want to work-around this with helper threads or interrupts, or something.
See also https://code.google.com/p/android/issues/detail?id=40874

Any news on this? It would be great if we could set a timeout for the DNS lookup. Typical use case is when a user connects to a WiFi that does not have an internet connection. It takes 20-30 seconds until the request fails and there is no way how to reduce this time.

We are also running into issues with this. Do you know if any progress has been made on a workaround?

Nothing at the moment. It's a difficult bug to fix because DNS is completely opaque in Java.

see:http://stackoverflow.com/questions/693997/how-to-set-httpresponse-timeout-for-android-in-java/31643186#31643186

Maybe we do DNS on a background thread? That’d probably be worth the cost, although potentially surprising.

One more thing: now that our Dns interface is public, end-users can do this if they like.

n.b. This is relevant for dnsoverhttps and there are also other viable dns clients now e.g. Netty impl is straightforward and can support timeouts.  It would be nice if this was part of an overall request timeout even for a synchronous call.execute
https://github.com/yschimke/oksocial/blob/master/src/main/kotlin/com/baulsupp/oksocial/network/NettyDns.kt

I was pondering the right API for this. Is it DnsCall + DnsCallback interfaces? That seems like a lot of code.
Another option is to make the DNS method async with coroutines, but that means we need a Kotlin dependency.
Other ideas?

Punt until there is a story for a (future?) kotlin based OkHttp, hopefully with native support for coroutines?

Hi, I've been working on this. I've created a PR (#4674) to get some feedback. Thx

Dupe of https://github.com/square/okhttp/issues/5042?

Yep, these are mutually redundant.

I just ran into this on version 4.11.0, so it appears to still be an issue, but I was able to work around it by wrapping my call with withTimeout. I'm using coroutines using the technique here: https://github.com/gildor/kotlin-coroutines-okhttp/blob/master/src/main/kotlin/ru/gildor/coroutines/okhttp/CallAwait.kt
As a user, it's surprising to me that the DNS timeout isn't included in the overall callTimeout.

It would probably be more correct to use the AsyncDns implementation
https://github.com/square/okhttp/blob/6b91ea468c6b2931f9092232d8ebcf61076023ff/okhttp/src/jvmMain/kotlin/okhttp3/AsyncDns.kt
And default to Android Dns which supports it https://github.com/square/okhttp/blob/6b91ea468c6b2931f9092232d8ebcf61076023ff/okhttp-android/src/main/kotlin/okhttp3/android/AndroidAsyncDns.kt
With some other approach for JVM.  but not likely soon.


StackExchangeTool generates keyerror: 'question_id'

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.

Example Code
from langchain_community.utilities.stackexchange import StackExchangeAPIWrapper
# can also replicate with: from langchain_community.tools.stackexchange.tool import StackExchangeTool
api = StackExchangeAPIWrapper()
api.run("window function mysql")

Error Message and Stack Trace (if applicable)
File [c:\ProgramData\Anaconda3\envs\llm\lib\site-packages\langchain_community\utilities\stackexchange.py:55](file:///C:/ProgramData/Anaconda3/envs/llm/lib/site-packages/langchain_community/utilities/stackexchange.py:55), in <listcomp>(.0)
     [50](file:///C:/ProgramData/Anaconda3/envs/llm/lib/site-packages/langchain_community/utilities/stackexchange.py:50) for question in questions:
     [51](file:///C:/ProgramData/Anaconda3/envs/llm/lib/site-packages/langchain_community/utilities/stackexchange.py:51)     res_text = f"Question: {question['title']}\n{question['excerpt']}"
     [52](file:///C:/ProgramData/Anaconda3/envs/llm/lib/site-packages/langchain_community/utilities/stackexchange.py:52)     relevant_answers = [
     [53](file:///C:/ProgramData/Anaconda3/envs/llm/lib/site-packages/langchain_community/utilities/stackexchange.py:53)         answer
     [54](file:///C:/ProgramData/Anaconda3/envs/llm/lib/site-packages/langchain_community/utilities/stackexchange.py:54)         for answer in answers
---> [55](file:///C:/ProgramData/Anaconda3/envs/llm/lib/site-packages/langchain_community/utilities/stackexchange.py:55)         if answer["question_id"] == question["question_id"]
     [56](file:///C:/ProgramData/Anaconda3/envs/llm/lib/site-packages/langchain_community/utilities/stackexchange.py:56)     ]
     [57](file:///C:/ProgramData/Anaconda3/envs/llm/lib/site-packages/langchain_community/utilities/stackexchange.py:57)     accepted_answers = [
     [58](file:///C:/ProgramData/Anaconda3/envs/llm/lib/site-packages/langchain_community/utilities/stackexchange.py:58)         answer for answer in relevant_answers if answer["is_accepted"]
     [59](file:///C:/ProgramData/Anaconda3/envs/llm/lib/site-packages/langchain_community/utilities/stackexchange.py:59)     ]
     [60](file:///C:/ProgramData/Anaconda3/envs/llm/lib/site-packages/langchain_community/utilities/stackexchange.py:60)     if relevant_answers:

KeyError: 'question_id'

Description
Currently the stackexchange API wrapper may generate key errors, because some answers do not have question_id (which is an optional field according to the official API docs).
My quick one-liner fix:
In StackExchangeAPIWrapper class source code at line 55:
replace if answer['question_id'] == question['question_id'] with if answer.get('question_id', '') == question.get('question_id', '')
System Info
langchain==0.1.5
langchain-community==0.0.17
stackapi==0.3.0

Yes language want to work on this also


index common tags during block updates

-remove hard coded common tags
-don't strip apostrophes from tags

What's the status of this PR? Been sitting out here for a while.

closing this for now, one of the major issues with this is that each index adds ~100MB per tag in storage requirement. we're going to manually maintain the list of tags that need indexing to keep this in check.


about the charades_sta_train_clip-sentvec_o0.5_l10_activity_nodup.pkl in ref_info

The train_clip and test_clip in ref_info have the same size. The train_clip have stored the content of test_clip. I wonder if you have chosen the wrong file when uploading. Could you re-upload the ref_info?
Look forward your reply.

I am also confused with this part. The contents of the two files are the same. Look forward your reply.

In the code, it says "# clip ground truth and corresponding sentence embedding
# this is originally from https://github.com/jiyanggao/TALL
# we didn't use the sentence embedding provided in these files
# we use our own sentence embedding which will appear later". I am confused why training and testing sets are sharing the same clip ground truth file?


[Bug]: asan failure in absl::Status::ToString()

Describe the issue
Running an asan build of envoy, with a bit of a patch, we were surprised by a heap-buffer-overflow asan failure during ToString. I don't think it's the classic mismatched asan version problem because we only see this crash when a patch is introduced to the build, specifically calling Status::ToString (i.e. absl, envoy and asan are all playing well together without this patch.)
Relevant part of the stack trace:
    #14 0x556767c87e7a in Envoy::Http::CodecClient::onData(Envoy::Buffer::Instance&) external/envoy/source/common/http/codec_client.cc:179
    #13 0x556767c87e7a in absl::lts_20230802::Status::ToString[abi:cxx11](absl::lts_20230802::StatusToStringMode) const external/com_google_absl/absl/status/status.h:822
    #12 0x55676b2f5c17 in absl::lts_20230802::Status::ToStringSlow[abi:cxx11](absl::lts_20230802::StatusToStringMode) const external/com_google_absl/absl/status/status.cc:308
    #11 0x55676b2f5360 in absl::lts_20230802::Status::ForEachPayload(absl::lts_20230802::FunctionRef<void (std::basic_string_view<char, std::char_traits<char> >, absl::lts_20230802::Cord const&)>) const external/com_google_absl/absl/status/status.cc:182
    #10 0x55676b2f5360 in absl::lts_20230802::FunctionRef<void (std::basic_string_view<char, std::char_traits<char> >, absl::lts_20230802::Cord const&)>::operator()(std::basic_string_view<char, std::char_traits<char> >, absl::lts_20230802::Cord const&) const external/com_google_absl/absl/functional/function_ref.h:132
    #9 0x55676b2f37ff in InvokeObject<absl::lts_20230802::Status::ToStringSlow(absl::lts_20230802::StatusToStringMode) const::<lambda(absl::lts_20230802::string_view, const absl::lts_20230802::Cord&)>, void, std::basic_string_view<char, std::char_traits<char> >, const absl::lts_20230802::Cord&> external/com_google_absl/absl/functional/internal/function_ref.h:77
    #8 0x55676b2f37ff in invoke<const absl::lts_20230802::Status::ToStringSlow(absl::lts_20230802::StatusToStringMode) const::<lambda(absl::lts_20230802::string_view, const absl::lts_20230802::Cord&)>&, std::basic_string_view<char, std::char_traits<char> >, const absl::lts_20230802::Cord&> external/drte_v5_build_sysroot/root/bin/../lib/gcc/x86_64-linux-gnu/11.2.0/../../../../include/c++/11.2.0/functional:97
    #7 0x55676b2f37ff in __invoke<const absl::lts_20230802::Status::ToStringSlow(absl::lts_20230802::StatusToStringMode) const::<lambda(absl::lts_20230802::string_view, const absl::lts_20230802::Cord&)>&, std::basic_string_view<char, std::char_traits<char> >, const absl::lts_20230802::Cord&> external/drte_v5_build_sysroot/root/bin/../lib/gcc/x86_64-linux-gnu/11.2.0/../../../../include/c++/11.2.0/bits/invoke.h:96
    #6 0x55676b2f37ff in __invoke_impl<void, const absl::lts_20230802::Status::ToStringSlow(absl::lts_20230802::StatusToStringMode) const::<lambda(absl::lts_20230802::string_view, const absl::lts_20230802::Cord&)>&, std::basic_string_view<char, std::char_traits<char> >, const absl::lts_20230802::Cord&> external/drte_v5_build_sysroot/root/bin/../lib/gcc/x86_64-linux-gnu/11.2.0/../../../../include/c++/11.2.0/bits/invoke.h:61
    #5 0x55676b2f2e0a in operator() external/com_google_absl/absl/status/status.cc:314
    #4 0x55676b310639 in absl::lts_20230802::Cord::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >() const external/com_google_absl/absl/strings/cord.cc:1045
    #3 0x55676b31042c in absl::lts_20230802::CopyCordToString(absl::lts_20230802::Cord const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) external/com_google_absl/absl/strings/cord.cc:1049
    #2 0x55676b31042c in absl::lts_20230802::CopyCordToString(absl::lts_20230802::Cord const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) external/com_google_absl/absl/strings/cord.cc:1054
    #1 0x55676b30fd74 in absl::lts_20230802::Cord::CopyToArraySlowPath(char*) const external/com_google_absl/absl/strings/cord.cc:1062
    #0 0x7fb9df64d9df in memcpy (/usr/drte/v5/lib64/libasan.so.6+0x3c9df)
READ of size 8 at 0x602001b5fab4 thread T37
==6288==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x602001b5fab4 at pc 0x7fb9df64d9e0 bp 0x7fb9bd2797e0 sp 0x7fb9bd278f90

The relevant function in Envoy, CodecClient::onData
The patch adds
ENVOY_CONN_LOG(info, "protocol_error details: {}", *connection_, status.ToString());

after protocol_error_ = true;, on line 179.
I don't know what the Status object contains at the time of the error, because that's the information I'm not getting because of this asan failure!
Steps to reproduce the problem
Sorry, too much context to be able to make a simple repro. It's building with bazel, gcc, and flags --force_pic and --config=asan which maps to flags
build:asan --copt=-fsanitize=address
build:asan --copt=-fno-omit-frame-pointer
build:asan --linkopt=-fsanitize=address
build:asan --define=sanitize=address
build:asan --define=tcmalloc=disabled
build:asan --define=signal_trace=disabled

What version of Abseil are you using?
As can be mostly seen in the stack trace, the absl version is 20230802.1.
What operating system and version are you using?
Ubuntu 22.04.4 LTS
What compiler and version are you using?
Hard to extract from the bazel spaghetti.
What build system are you using?
bazel 6.1.0-1c2df03733503215490047c398d25fe5b5553a0e
Additional context
The existence of this function looks like it might be a clue.

There is not enough information here to reproduce the problem (instructions are incomplete).
That said, this is almost certainly an Envoy issue. storePayload()/getPayload() are really sketchy. They appear to be unsafely moving objects in memory.

INTERNAL: Connection was closed while dispatching frames [Envoy='\\x01\\x00\\x00\\x00-\\x07\\x00\\x00'] is apparently the ToString representation of the status when it doesn't crash in asan, in case that's helpful.

I think you're right, I think their block around MakeCordFromExternal is the problem - it looks like there was a mix of intent to pack the pointer into the payload, or pack the value into the payload, and it ended up instead making a cord that references the first 8 bytes of the object, which may not be 8 bytes long. Thanks!


Create stack : docker-compose 3 not supported

Hello guys, I'm having some difficulties with stack creation.
Bug description
When I try to copy/paste a custom docker-compose file and then submitting there is a red popup saying me that "compose file version 3 is not supported"
That's the same issue when i'm trying with a Gitlab stored project. (same docker-compose.yml) file.
I'm using the latest version of Portainer (1.23.2).
I don't know if there is something wrong with my compose file.
But when I changed the version from 3.5 to 2, it partly works.
Expected behavior
I was expecting to creating a new stack with my compose file instructions.
Portainer Logs
Steps to reproduce the issue:

Go to 'Stack page'
Click on 'Add stack'
Fill the text area with a compose file version 3.5
Scroll down and submit the form
The red popup apears -

Deployment Error : compose file version 3 is not supported

Technical details:

Portainer version: 1.23.2
Docker version (managed by Portainer): Docker version 19.03.5, build 633a0ea838
Docker compose : docker-compose version 1.25.5, build 8a1c60f6
Platform (windows/linux): Debian 9
Command used to start Portainer (docker run -p 9000:9000 portainer/portainer):  docker run -d -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock portainer/portainer
Browser: Chrome

Additional context
Nothing

Assuming you are using a standalone docker host (no swarm) then we only support compse v2.
To use compose v3, you must use swarm.

Closing this issue.
See the related issue for Compose > v2 support: https://github.com/portainer/portainer/issues/2054

FFS :)


#patch: Add in task execution event fields

Signed-off-by: Katrina Rogan<EMAIL_ADDRESS>TL;DR
Add in task execution event fields

Add phase reason and task type to TaskExecutionEvent
Add generated_name to TaskExecutionMetadata
Add a ManagedResourceInfo message for capturing resource token name (and future FRM attributes)

Type

[ ] Bug Fix
[x] Feature
[ ] Plugin

Are all requirements met?

[x] Code completed
[ ] Smoke tested
[ ] Unit tests added
[x] Code documentation added
[ ] Any pending items have an associated Issue

Complete description
How did you fix the bug, make the feature etc. Link to any design docs etc
Tracking Issue
https://github.com/flyteorg/flyte/issues/325
Follow-up issue
NA

friendly ping @EngHabu @kumare3

one last (?) ping @kumare3 @EngHabu


Url capability

Implements :url capability (section 8.8). Fixes #344. Also adds unit tests for <delete-config> and <validate>.
Notes:

Can be disabled at config time with -DENABLE_URL=OFF.
The <copy-config> implementation allows the yang-library module to be copied out to URL. As a result, a copy out followed directly by a copy in on the same URL will fail. I think this is okay but wanted to point it out.
Reviewers please double check thread safety, my test environment is minimal so I was not able to test it myself.

Hi Kevin,
thanks a lot for your contribution, it is appreciated! Just address my comments and we can merge it.
Regards,
Michal

Changes made, please review. Thanks!

Alright, thank you!
Regards,
Michal


Restore CS50 as CORE CS

As someone who tried many times to self-teach CS, CS50 does a great job motivating and opening the scope of a Computer Science path, also, it has one of the biggest communities one could ever wish for accountability and support/help.
The multiple areas of practice taught in CS50 also guide in a friendly way a newcomer to see if they really want Computer Science as a carreer and with increasing numbers of "not succesful" Engineers/Programmers a tremendous amount of people are riding the wave of "programming" thinking they will be succesful, as a matter of fact, there is a current spike in people complaining all over the internet that CS stinks, Youtube channels, Quora posts, StackOverflow and countless blogs all over the internet, doing harm against a beautiful knowledge area.
Many people with 'programming background' arguably form an opinion based on depth or difficulty of CS50's intensive program, but I might be biased saying this, since my 8 year old daughter is about to finish OSSU and she constantly tell her friends that CS50 was the reason she loved computers "and how to dominate them" to do whatever she wanted, But the current roadmap is a bit depressing by removing one of the arguably "most fun courses" ever created.
OSSU since its conception was designed to provide a structured path of knowledge, but the recent change, in my educated opinion, does more harm than good by removing  the "what you will be able to do / the sky is the limit" kind of thinking that is common in Computer Science. Almost All* serious curricular courses from top Universities in the world, try to structure their study plans and/or topics in a "motivating way" to avoid desertion/incompletion and keep students "hooked" on their studies. By removing CS50 We are most likely contributing to increase the already high levels of incompletion on OSSU which We don't want.
Based on the aforementioned, I'm againt the decision of making CS50 an "Extra course" and removing it from CORE CS. Based on the freely available statistical data about CS Study Programs, OSSU is doing an strategic failure by doing such change. What would be the goal of OSSU if people doesn't ever complete it?
So my Request is: Restore CS50 to CORE CS
Note: I understand the point of the people who suggested the change in the first place, but We need to analyze all these decisions with a "cost/benefit" kind of thinking, to see if such change that satisfies a small sample, will benefit or harm the OSSU efforts.

I share the feelings of your daughter. I myself have found cs50 fun and engaging. The instructor is awesome (David J Malan).
I hope🤞 CS50 is restored as Core CS

I share the feelings of your daughter. I myself have found cs50 fun and engaging. The instructor is awesome (David J Malan).
I hope🤞 CS50 is restored as Core CS

You have an 8 year old daughter that's finishing OSSU? That's incredible. I'd love to talk with you both!
I'll quote from our guidelines on making substantive changes to the curriculum:

OSSU’s curricular guidelines are here. Successful critiques of the curriculum will point out ways that OSSU is failing to uphold these guidelines.

You mentioned "freely available statistical data about CS Study Programs". OSSU should use such information. That's why we adopted the 500 page report by the Joint Task Force on Computing Curricula from the Association for Computing Machinery (ACM) and the IEEE Computer Society as our curricular guidelines. That's why substantive changes should reference our guidelines.
Originally you titled this issue, "Put CS50 as Intro CS". This matches many of your assertions about the benefits of CS50:

an explicit goal of intro courses is to give students a feel for the breadth of the domain
another goal is to excite learners.

But Core CS is the the midpoint of the curriculum. At this point in the curriculum students should not need to take another introduction to computer science course. CS50 doesn't belong in Core CS.
The RFC that removed CS50 from Core CS welcomed a future RFC for replacing Introduction to Computer Science and Programming using Python with CS50. To quote, "That would be a complicated change, requiring looking at the parts of our curricular guidelines are covered by Introduction to Computer Science and Programming Using Python and which are covered by CS50. If it led to missed coverage, that RFC would need to propose ways to maintain coverage." That's a lot of work. But it's better that contributors put in that work, rather than saying "take both intro courses" and directing tens of thousands of OSSU learners to take hundreds of hours of duplicate curriculum.
Your concerns about retention are very appropriate. One issue that OSSU has had with retention in the past has been students in our forums who found CS50 to be too steep of a learning curve, were demoralized and considering dropping. My hypothesis is that placing OSSU after Py4E would mitigate such outcomes, but it's certainly something we would need to be ready to address if that pattern of student complaints re-emerged.
It's great to see passion around OSSU, as well as learners interested in putting in the work to become contributors!

You have an 8 year old daughter that's finishing OSSU? That's incredible. I'd love to talk with you both!
I'll quote from our guidelines on making substantive changes to the curriculum:

OSSU’s curricular guidelines are here. Successful critiques of the curriculum will point out ways that OSSU is failing to uphold these guidelines.

You mentioned "freely available statistical data about CS Study Programs". OSSU should use such information. That's why we adopted the 500 page report by the Joint Task Force on Computing Curricula from the Association for Computing Machinery (ACM) and the IEEE Computer Society as our curricular guidelines. That's why substantive changes should reference our guidelines.
Originally you titled this issue, "Put CS50 as Intro CS". This matches many of your assertions about the benefits of CS50:

an explicit goal of intro courses is to give students a feel for the breadth of the domain
another goal is to excite learners.

But Core CS is the the midpoint of the curriculum. At this point in the curriculum students should not need to take another introduction to computer science course. CS50 doesn't belong in Core CS.
The RFC that removed CS50 from Core CS welcomed a future RFC for replacing Introduction to Computer Science and Programming using Python with CS50. To quote, "That would be a complicated change, requiring looking at the parts of our curricular guidelines are covered by Introduction to Computer Science and Programming Using Python and which are covered by CS50. If it led to missed coverage, that RFC would need to propose ways to maintain coverage." That's a lot of work. But it's better that contributors put in that work, rather than saying "take both intro courses" and directing tens of thousands of OSSU learners to take hundreds of hours of duplicate curriculum.
Your concerns about retention are very appropriate. One issue that OSSU has had with retention in the past has been students in our forums who found CS50 to be too steep of a learning curve, were demoralized and considering dropping. My hypothesis is that placing OSSU after Py4E would mitigate such outcomes, but it's certainly something we would need to be ready to address if that pattern of student complaints re-emerged.
It's great to see passion around OSSU, as well as learners interested in putting in the work to become contributors!

Sadly I am late to the discussion as I took CS50 in Oct-Nov 2020 when it was still in Core Systems and noticed the change only now.
Having basic experience with C is paramount for CS education, especially for those who want to make career in the industry. In the same time, it is best learnt after the Core Programming and particularly Functional Programming (just as they do it in Oxbridge).
Its placement in Core Systems was a necessary compromise - after all, it is a systems language. It is also a prerequisite in OS course in the same section.
I would strongly advocate to keep it as optional in Core Systems, next to OS course.
Thanks.

Sadly I am late to the discussion as I took CS50 in Oct-Nov 2020 when it was still in Core Systems and noticed the change only now.
Having basic experience with C is paramount for CS education, especially for those who want to make career in the industry. In the same time, it is best learnt after the Core Programming and particularly Functional Programming (just as they do it in Oxbridge).
Its placement in Core Systems was a necessary compromise - after all, it is a systems language. It is also a prerequisite in OS course in the same section.
I would strongly advocate to keep it as optional in Core Systems, next to OS course.
Thanks.

It will be very helpful for all participants if assertions are supported by evidence.
"Having basic experience with C is paramount for CS education"
This assertion is contradicted up by our curricular guidelines. The ACM and the IEEE do not believe that learning to program in C is of paramount importance. This is why the only reference to C in the CS2013 is in a discussion of how university introductory courses are moving away from C.
"CS50 [teaches C] better than the alternatives"
CS50 is long (again, 10% of the entire OSSU curriculum). 50% of the material is not C. And students who took CS50 reported, "I don't really know too much about pointers or memory management". The RFC that moved CS50 to extras also added a note that "familiarity with C is useful" as a prereq to OSTEP, as well as a link to Hackr.io's page on C. Hackr.io is a community driven list of resources for learning different languages. There are hundreds of votes for resources to learn C, including courses from Dartmouth and from Duke. CS50 is not even in the list.
(CS50 is listed in Hackr.io's list of resources to learn "Intro to Programming".)
I point out again, for those who feel passionately about including CS50 in the curriculum, there is some work to do.

It should replace some of the current intro work. Why? CS50 is a long intro course and OSSU currently has 2 intro courses.
It should not be the first course in the curriculum. Why? CS50 used to be the first course in the curriculum and OSSU had students who dropped the curriculum because they found the learning curve too steep.
In replacing a course, any necessary coverage of our curricular guidelines that is dropped should be addressed.

It will be very helpful for all participants if assertions are supported by evidence.
"Having basic experience with C is paramount for CS education"
This assertion is contradicted up by our curricular guidelines. The ACM and the IEEE do not believe that learning to program in C is of paramount importance. This is why the only reference to C in the CS2013 is in a discussion of how university introductory courses are moving away from C.
"CS50 [teaches C] better than the alternatives"
CS50 is long (again, 10% of the entire OSSU curriculum). 50% of the material is not C. And students who took CS50 reported, "I don't really know too much about pointers or memory management". The RFC that moved CS50 to extras also added a note that "familiarity with C is useful" as a prereq to OSTEP, as well as a link to Hackr.io's page on C. Hackr.io is a community driven list of resources for learning different languages. There are hundreds of votes for resources to learn C, including courses from Dartmouth and from Duke. CS50 is not even in the list.
(CS50 is listed in Hackr.io's list of resources to learn "Intro to Programming".)
I point out again, for those who feel passionately about including CS50 in the curriculum, there is some work to do.

It should replace some of the current intro work. Why? CS50 is a long intro course and OSSU currently has 2 intro courses.
It should not be the first course in the curriculum. Why? CS50 used to be the first course in the curriculum and OSSU had students who dropped the curriculum because they found the learning curve too steep.
In replacing a course, any necessary coverage of our curricular guidelines that is dropped should be addressed.

since my 8 year old daughter is about to finish OSSU

@Elpuma Wow, really? The entire curriculum? For an 8-year-old? She must be a prodigy!

since my 8 year old daughter is about to finish OSSU

@Elpuma Wow, really? The entire curriculum? For an 8-year-old? She must be a prodigy!

I don't see any reasons to restore CS50. The rest of the curriculum already covers much of what's taught in the course, and IMO, does it better. As previously discussed, there are better alternatives for teaching C (and Manual Memory Management, an elective topic in OSSU's curricular guidelines) to students, without spending a fraction of the time CS50 takes.

I don't see any reasons to restore CS50. The rest of the curriculum already covers much of what's taught in the course, and IMO, does it better. As previously discussed, there are better alternatives for teaching C (and Manual Memory Management, an elective topic in OSSU's curricular guidelines) to students, without spending a fraction of the time CS50 takes.

Perhaps the biggest blow to OSSU from removing CS50 is losing CS50's ecosystem. I don't think OSSU fully recognizes and appreciates what CS50 provides, for free from an endowed budget, to the open source CS self-study community -- interest, engagement, resources, and (perhaps most importantly) members.
Lots of people take CS50. Lots of people love CS50 -- and for good reason; it's an extraordinarily well-developed course with an extraordinarily-engaging professor, extraordinarily well-supported TAs, extraordinarily ambitious coverage (for an intro course), and extraordinarily mind-bending problem sets. Plus it's completely free and available all over the world.
People who take CS50, who love it, excel at it, and want more -- these are exactly the type of students which OSSU should be actively recruiting. Furthermore, they're likely to share many of OSSU's core values, and they often find their way to OSSU themselves. (And then talk about OSSU on class discussion boards, and send several more people to OSSU.)
Why wouldn't we roll out the red carpet for them??!?
I understand that CS50's a bit inconvenient and doesn't fit nicely into the curriculum as it's currently designed. So if OSSU is your first stop, we don't require CS50. We have plenty of good reasons for that, and that's fine.
But CS50 DOES fit nicely in one place: as transfer credit for Py4E at minimum. It MAY even take the place of 6.00.1x.
The simplest way to make that change is to enact the following
Proposal: OSSU should provide a second entry point into Core CS -- if you've completed CS50, skip the first two intro courses and move directly to Core CS.
Pros:

This is an easy move to make. OSSU don't have to do much to recognize another school's Intro CS course as a valid introduction to CS.
This is already OSSU's de facto recommendation; former CS50 learners already come onto the Discord and ask where they should begin the curriculum, and they are frequently told to begin in Core CS with How To Code. Occasionally someone will steer them into 6.00.1x, but many go into How To Code anyway. Having a unified written recommendation would prevent inconsistencies (and perhaps a few of the questions.)
Providing an on-ramp that allows CS50 students to bypass redundant coursework is more accommodative to those who found CS50 before they found OSSU - and encourages them to stick around, because "hey, I've already completed 10% of the curriculum!"

Cons:

For an intro course, CS50 is both unusually wide and unusually deep, but where a choice between the two must be made, CS50 tends to go wide rather than deep.
CS50 famously doesn't teach object-oriented design principles. 6.00.1x does (but may not be the best choice for the task...). Object-oriented design isn't deeply emphasized again in the OSSU curriculum until ____________________ (fill in the blank). (The point here may be that OSSU doesn't actually emphasize OOP at all -- forgoing it for the design patterns taught in How To Code.)

Perhaps the biggest blow to OSSU from removing CS50 is losing CS50's ecosystem. I don't think OSSU fully recognizes and appreciates what CS50 provides, for free from an endowed budget, to the open source CS self-study community -- interest, engagement, resources, and (perhaps most importantly) members.
Lots of people take CS50. Lots of people love CS50 -- and for good reason; it's an extraordinarily well-developed course with an extraordinarily-engaging professor, extraordinarily well-supported TAs, extraordinarily ambitious coverage (for an intro course), and extraordinarily mind-bending problem sets. Plus it's completely free and available all over the world.
People who take CS50, who love it, excel at it, and want more -- these are exactly the type of students which OSSU should be actively recruiting. Furthermore, they're likely to share many of OSSU's core values, and they often find their way to OSSU themselves. (And then talk about OSSU on class discussion boards, and send several more people to OSSU.)
Why wouldn't we roll out the red carpet for them??!?
I understand that CS50's a bit inconvenient and doesn't fit nicely into the curriculum as it's currently designed. So if OSSU is your first stop, we don't require CS50. We have plenty of good reasons for that, and that's fine.
But CS50 DOES fit nicely in one place: as transfer credit for Py4E at minimum. It MAY even take the place of 6.00.1x.
The simplest way to make that change is to enact the following
Proposal: OSSU should provide a second entry point into Core CS -- if you've completed CS50, skip the first two intro courses and move directly to Core CS.
Pros:

This is an easy move to make. OSSU don't have to do much to recognize another school's Intro CS course as a valid introduction to CS.
This is already OSSU's de facto recommendation; former CS50 learners already come onto the Discord and ask where they should begin the curriculum, and they are frequently told to begin in Core CS with How To Code. Occasionally someone will steer them into 6.00.1x, but many go into How To Code anyway. Having a unified written recommendation would prevent inconsistencies (and perhaps a few of the questions.)
Providing an on-ramp that allows CS50 students to bypass redundant coursework is more accommodative to those who found CS50 before they found OSSU - and encourages them to stick around, because "hey, I've already completed 10% of the curriculum!"

Cons:

For an intro course, CS50 is both unusually wide and unusually deep, but where a choice between the two must be made, CS50 tends to go wide rather than deep.
CS50 famously doesn't teach object-oriented design principles. 6.00.1x does (but may not be the best choice for the task...). Object-oriented design isn't deeply emphasized again in the OSSU curriculum until ____________________ (fill in the blank). (The point here may be that OSSU doesn't actually emphasize OOP at all -- forgoing it for the design patterns taught in How To Code.)

You have an 8 year old daughter that's finishing OSSU? That's incredible. I'd love to talk with you both!
I'll quote from our guidelines on making substantive changes to the curriculum:

OSSU’s curricular guidelines are here. Successful critiques of the curriculum will point out ways that OSSU is failing to uphold these guidelines.

You mentioned "freely available statistical data about CS Study Programs". OSSU should use such information. That's why we adopted the 500 page report by the Joint Task Force on Computing Curricula from the Association for Computing Machinery (ACM) and the IEEE Computer Society as our curricular guidelines. That's why substantive changes should reference our guidelines.
Originally you titled this issue, "Put CS50 as Intro CS". This matches many of your assertions about the benefits of CS50:

an explicit goal of intro courses is to give students a feel for the breadth of the domain
another goal is to excite learners.

But Core CS is the the midpoint of the curriculum. At this point in the curriculum students should not need to take another introduction to computer science course. CS50 doesn't belong in Core CS.
The RFC that removed CS50 from Core CS welcomed a future RFC for replacing Introduction to Computer Science and Programming using Python with CS50. To quote, "That would be a complicated change, requiring looking at the parts of our curricular guidelines are covered by Introduction to Computer Science and Programming Using Python and which are covered by CS50. If it led to missed coverage, that RFC would need to propose ways to maintain coverage." That's a lot of work. But it's better that contributors put in that work, rather than saying "take both intro courses" and directing tens of thousands of OSSU learners to take hundreds of hours of duplicate curriculum.
Your concerns about retention are very appropriate. One issue that OSSU has had with retention in the past has been students in our forums who found CS50 to be too steep of a learning curve, were demoralized and considering dropping. My hypothesis is that placing OSSU after Py4E would mitigate such outcomes, but it's certainly something we would need to be ready to address if that pattern of student complaints re-emerged.
It's great to see passion around OSSU, as well as learners interested in putting in the work to become contributors!

Hello!! sorry for the long time to respond! COVID has been hitting us hard recently but We came out victorious. My daughter says She would love to talk to you aswell! we can use discord if you would, or let me know what would be best for you so We can arrange the when and where haha!

You have an 8 year old daughter that's finishing OSSU? That's incredible. I'd love to talk with you both!
I'll quote from our guidelines on making substantive changes to the curriculum:

OSSU’s curricular guidelines are here. Successful critiques of the curriculum will point out ways that OSSU is failing to uphold these guidelines.

You mentioned "freely available statistical data about CS Study Programs". OSSU should use such information. That's why we adopted the 500 page report by the Joint Task Force on Computing Curricula from the Association for Computing Machinery (ACM) and the IEEE Computer Society as our curricular guidelines. That's why substantive changes should reference our guidelines.
Originally you titled this issue, "Put CS50 as Intro CS". This matches many of your assertions about the benefits of CS50:

an explicit goal of intro courses is to give students a feel for the breadth of the domain
another goal is to excite learners.

But Core CS is the the midpoint of the curriculum. At this point in the curriculum students should not need to take another introduction to computer science course. CS50 doesn't belong in Core CS.
The RFC that removed CS50 from Core CS welcomed a future RFC for replacing Introduction to Computer Science and Programming using Python with CS50. To quote, "That would be a complicated change, requiring looking at the parts of our curricular guidelines are covered by Introduction to Computer Science and Programming Using Python and which are covered by CS50. If it led to missed coverage, that RFC would need to propose ways to maintain coverage." That's a lot of work. But it's better that contributors put in that work, rather than saying "take both intro courses" and directing tens of thousands of OSSU learners to take hundreds of hours of duplicate curriculum.
Your concerns about retention are very appropriate. One issue that OSSU has had with retention in the past has been students in our forums who found CS50 to be too steep of a learning curve, were demoralized and considering dropping. My hypothesis is that placing OSSU after Py4E would mitigate such outcomes, but it's certainly something we would need to be ready to address if that pattern of student complaints re-emerged.
It's great to see passion around OSSU, as well as learners interested in putting in the work to become contributors!

Hello!! sorry for the long time to respond! COVID has been hitting us hard recently but We came out victorious. My daughter says She would love to talk to you aswell! we can use discord if you would, or let me know what would be best for you so We can arrange the when and where haha!

@Elpuma Discord works for me. Why don't you direct message me (I'm Waciuma in the OSSU Discord) and we can find a time that works!

@Elpuma Discord works for me. Why don't you direct message me (I'm Waciuma in the OSSU Discord) and we can find a time that works!

This is an easy move to make. OSSU don't have to do much to recognize another school's Intro CS course as a valid introduction to CS.
This is already OSSU's de facto recommendation; former CS50 learners already come onto the Discord and ask where they should begin the curriculum, and they are frequently told to begin in Core CS with How To Code. Occasionally someone will steer them into 6.00.1x, but many go into How To Code anyway. Having a unified written recommendation would prevent inconsistencies (and perhaps a few of the questions.)
Providing an on-ramp that allows CS50 students to bypass redundant coursework is more accommodative to those who found CS50 before they found OSSU - and encourages them to stick around, because "hey, I've already completed 10% of the curriculum!"

I agree with these points, especially the first one. Also, a lot of schools don't just give you a list of classes and say that you must take all of these, and give you no choice in the matter. Depending on the institution, there may be a number of "intro to computers" and/or "intro to programming" courses that are available to students wanting a CS degree. I count at least three at my school and there are a bunch more that I can transfer in to fill my degree requirements.
The straightforward nature of OSSU is great because, on the one hand, it is easy to understand. Start at the top and work down. On the other hand, if you don't happen to like a given course then that's too bad. There are no other options. It would be nice if, just as with "real" universities, OSSU were to implement some sort of credit system. CS50 might then count as 6 or 9 credits instead of the standard 3.

Hello,
I had programming courses during my bachelor's degree. it was more practical ones with lab work.
this went for 3 semesters long.
I decided to check cs50 two years back, and I would like to not be crucified for this statement. it is a terrible beginners course, I think it is very flashy and attractive for people new to cs, to the point where it is magical. I actually liked it a lot and enjoyed the content. that being said I think it is very time consuming and it touches on a lot of different aspects of cs.
within the first 3 lectures the professor finished 3 semesters work from my university.
I think it is a course for people who do not know which elective to choose and would like to see what is there in computer science. before deciding their electives.
that being said there is an only python intro course coming up from cs50 in april I believe CS50X intruduction to programming with python
this might be a suitable alternative. It can also be an optional course for people who do not have an idea about their electives.


Cannot switch between project on Atom 1.18

Hi ,
I have been using your plugin quite merrily, and to be honest its really very simple to use.
But off-late when I try switching between projects, I am facing an issue below is the screen-shot, and the switching fails opening another developer tool window showing the error stack trace.
Also this was'nt happening earlier, and has started happening after the update.

I can't see anything in the error that has anything to do with the package directly. Does it happen when opening a project in the same window or if you open in a new window?

Hi Daniel,
This was happening when I was switching to another project , which would open in a new window,
Also, I had updated my Atom editor and I am on Windows 10 platform.
I started getting this issue after the update to Atom.


Purple image while capturing single frame with fixed exposure

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
L515

Firmware Version
<IP_ADDRESS>

Operating System & Version
Linux (Ubuntu 18.04)

Kernel Version (Linux Only)
4.9.253-tegra

Platform
NVIDIA Jetson Nano 4G

SDK Version
2.50.0

Language
python

Segment
others

Issue Description
I get a purple image while capturing single frame with manual exposure:
(note: resized to half-scale image example)

#! /usr/bin/python3
# -*- coding: utf-8 -*-

import numpy as np
import cv2
import pyrealsense2 as rs

def grab_frame(resolution=(1920, 1080), verbose=True):
    """
    Function: grab_frame, to grab an image.
    ---
    Parameters:
    @param: resolution, tuple, image frame resolution. L515 RGB resolution [(1920, 1080), (1280, 720), (960, 540)]
    @param: verbose, boolean, to show the output of the function.
    ---
    @return: color_array, nd-array, color image frame.

    """
    # Start reading frames
    pipeline = rs.pipeline()
    config = rs.config()
    # RGB Stream
    config.enable_stream(rs.stream.color, resolution[0], resolution[1], rs.format.bgr8, 30)

    # Start streaming
    pipeline.start(config)

    # Get the sensor once at the beginning. (Sensor index: 1)
    sensor = pipeline.get_active_profile().get_device().query_sensors()[1]

    # Set the exposure anytime during the operation
    sensor.set_option(rs.option.exposure, 800.000)
    try:
        frames = pipeline.wait_for_frames()
        color_frame = frames.get_color_frame()
        # Convert images to numpy arrays
        color_array = np.asanyarray(color_frame.get_data())
        cv2.namedWindow("res", cv2.WINDOW_NORMAL)
        cv2.imshow("res", color_array)
        cv2.waitKey(2000)
        cv2.imwrite("img2.png", color_array)
    except Exception as e:
        print(e)
    finally:
        cv2.destroyAllWindows()
        pipeline.stop()
        # return color_array

if __name__ == "__main__":
    grab_frame()

Hi @bhomaidan1990  If you are using a manual RGB exposure of '800' when its default is '156', I wonder whether you were doing so because the image becomes dark when auto-exposure is disabled (like in the image below) and increasing RGB exposure brightens it?

If so, does leaving the RGB exposure at the default value and instead increasing gain to '1500' enable you to capture a single RGB frame with correct coloring?
sensor.set_option(rs.option.gain, 1500)

@MartyG-RealSense thanks for your rapid reply,

"manual RGB exposure of '800' when its default is '156'", the point is to increase capture speed and reduce exposure convergence time.
"does leaving the RGB exposure at the default value and instead increasing RGB gain to '1500' enable you to capture a single RGB frame with correct coloring?" No, changing the exposure back to auto and changing the gain gave the same purple image!

It looks as though the camerais looking down from the ceiling towards the floor.  Do you have a strong light source such as a ceiling light near the camera?

It looks as though the camera is looking down from the ceiling towards the floor. Do you have a strong light source such as a ceiling light near the camera?

"the camera is looking down from the ceiling towards the floor" True.
"Do you have a strong light source such as a ceiling light near the camera?" I have multi indirect lights to make industrial fixed lighting and not sunlight, there is 1-metre distance at least from the camera, and all lights are on top of it.

Next, please try commenting out the cv2.imshow("res", color_array) line to eliminate the possibility that there is a conflict when performing imshow before imwrite.

Does the same issue occur if you take a single-frame PNG snapshot in the RealSense Viewer using the camera-shaped snapshot option on the top of the RGB panel?

Does it make a difference if you skip the first several frames by using a 'for' instruction directly before wait_for_frames()
for i in range(5):
frames = pipeline.wait_for_frames()

I confirm that this delay has solved the problem, but is there a way to get the minimum delay possible? thanks in advance.

Great to hear that a 'for' statement resolved your problem!
You can try a lower value than 5 in the range bracket so that the number of frames skipped is reduced.


Exploratory Analysis on companies with the same name

When collecting information about companies and working on other analyses, I found a large number of distinct companies with the same name (but different CNPJ's). Want to know more about their existence through an exploratory analysis, and possibly get more insights for new irregularities.
Here's a short list of company names with multiple CNPJ's in the quota:
AUTO POSTO CASCAO LTDA
IRMAOS BRETAS , FILHOS E CIA LTDA
FLECHA S.A. TURISMO COMERCIO E INDUSTRIA
POSTO AUTOMAN LTDA
ALLPARK EMPREENDIMENTOS, PARTICIPACOES E SERVICOS S.A.
RGB RESTAURANTES LTDA.
CANAA COMBUSTIVEIS PARA VEICULOS LTDA
MARIETTA COMERCIO DE ALIMENTOS LTDA

Having the name of the partners would be a good start. Issue #16 is crucial, but according to the discussion it's one of the more complex so far : /


Can't see Wallet UI

I'm able to execute the command docker run -d --name=cardano -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY hcvst/cardano-sl-with-daedalus-wallet and docker ps shows:
5e863a436f21        hcvst/cardano-sl-with-daedalus-wallet   "/bin/sh -c 'cd daed…"   7 minutes ago       Up 7 minutes                            cranky_ramanujan

What host linux are you running on? Try xhost + on the guest to allow the X connection from the docker container, please.

Arch Linux, i managed to start the wallet without docker in the meanwhile, but im stuck at 100% sync

I also just synced and it appeared to be stuck at 100% for quite a few mins.
Did you come right?

Still at 100%. I guess there is some problem with the wallet itself, other users face the same issue https://github.com/input-output-hk/daedalus/issues/603

Ah okay this helps: https://github.com/jessfraz/dockerfiles/issues/6#issuecomment-77789863
after executing:
xhost local:root
i can now see the wallet of the docker container

By the way shouldn't there be a mount for the blockchain, so that one does not need to sync again on every docker start?

We need a better error message if the start of electron fails.

However, your docker images finally works for me, great job :+1:


GEN001 is too sensitive

Describe the bug
TFSec rule GEN001 triggers warnings on some variables, which are set completely normally, without any sensitive data lookalike. For example:
      19 | variable "log_retention" {
      20 |   description = "log retention in cloudwatch in days"
      21 |   default     = "30"    [string] "30"
      22 | }

      24 | variable "distribution" {
      25 |   description = "The method used to distribute log data to the destination"
      26 |   default     = "ByLogStream"    [string] "ByLogStream"
      27 | }

      35 | variable "lambda_function_name" {
      36 |   description = "The lambda function that is used to send the logs to logzio"
      37 |   default     = "cloudwatch-to-logzio-exporter"    [string] "cloudwatch-to-logzio-exporter"
      38 | }

Expected behavior
No warnings on these normal variable values

Hey @caiconkhicon  - this doesn't sound right, will look into it

@owenrumney : Thanks a lot


Segmentation fault parsing fairly large XML file [rt.cpan.org #70965]

Migrated from rt.cpan.org#70965 (status was 'new')
Requestors:

<EMAIL_ADDRESS>
From<EMAIL_ADDRESS>on 2011-09-14 14:12:58
:
Hi, I found when processing an XML file a few megabytes big that perl
would segfault every time.  I have reduced it to a minimal test case for
XML::Parser and one for XML::Parser::Expat.  However, the segfault
depends on the size of the XML document, so you might need to tweak the
$count variable in the test case to reproduce it on your system.  My
system is Fedora 15 x86_64 and I am using the distribution-supplied
packages for perl and XML::Parser.

First here is a program that uses XML::Parser and segfaults every time:

use XML::Parser;
sub f {
    my $p = shift;
    my $x = $p->{x};
    my $e = {};
    $p->{x} = $e;
    $x->{y} = $e if $x;
    $p->{z} = $e if not $x;
}
my $count = 18400; # sufficient to give segfault on my machine, if not,
try increasing
$c = '<Y>' x $count;
$n = XML::Parser->new(%args);
$n->setHandlers(Start => \&f);
$n->parse($c);

This test case can be reduced further to some code that calls
XML::Parser::Expat directly:

require XML::Parser::Expat;
sub f {
    my $p = shift;
    my $x = $p->{x};
    my $e = {};
    $p->{x} = $e;
    $x->{y} = $e if $x;
    $p->{z} = $e if not $x;
}
my $count = 18400; # sufficient to give segfault on my machine, if not,
try increasing
my $c = '<Y>' x $count;
my $expat = XML::Parser::Expat->new;
$expat->setHandlers(Start => \&f);
$expat->parse($c);

Please try out these test cases and let me know if you are able to
reproduce the crash.

@epa , I can't reproduce this bug at this time.  Can you?

Nope, Fedora 15 is so long ago it's not worth worrying about I think.


Web UI: Changes vite dist asset paths to relative

Adds base: '', to vite config.
The resultant change in the build frontend is that asset paths are relative instead of absolute, e.g.:
<link rel="stylesheet" href="/assets/index.58175ea1.css"> ==> <link rel="stylesheet" href="./assets/index.556a5ea7.css">
I ~believe~ hope this resolves #1159 and shouldn't affect anything else.

I've converted this to a draft, pending @steverweber reviewing.

Seems fine. Just double check with the docs here once: https://socket.io/docs/v4/client-options/
It seems the only requirement is that the client and server side pathname should always remain the same.

The default server path is the same, and we aren't specifying it, so I suppose we are all clear.


Idea: add calldata field to add parameter input when executing opcodes

Besides calldata, it would be cool to be able to set the value (the result of CALLVALUE) too.

Btw, the reason I would like to have that is that it would make it more fun to solve these EVM puzzles.
What's more, if there was some way to generate a link to the playground with a pre-filled bytecode, I could generate it for each puzzle. That would make it less of a chore to figure it out the solution.

Btw, the reason I would like to have that is that it would make it more fun to solve these EVM puzzles.
What's more, if there was some way to generate a link to the playground with a pre-filled bytecode, I could generate it for each puzzle. That would make it less of a chore to figure it out the solution.

That's a very good idea! Thanks for that. We will look into it.

@fvictorio I put your idea as a separate task https://github.com/comitylabs/evm.codes/issues/95


android打包出现错误

环境：
mac系统、jdk 1.8、android studio 2.1
错误信息：
AGPBI: {"kind":"simple","text":"warning: Ignoring InnerClasses attribute for an anonymous inner class","sources":[{}]}
AGPBI: {"kind":"simple","text":"(com.tencent.mm.sdk.openapi.WXApiImplV10$ActivityLifecycleCb$1) that doesn\u0027t come with an","sources":[{}]}
AGPBI: {"kind":"simple","text":"associated EnclosingMethod attribute. This class was probably produced by a","sources":[{}]}
AGPBI: {"kind":"simple","text":"compiler that did not target the modern .class file format. The recommended","sources":[{}]}
AGPBI: {"kind":"simple","text":"solution is to recompile the class from source, using an up-to-date compiler","sources":[{}]}
AGPBI: {"kind":"simple","text":"and without specifying any \"-target\" type options. The consequence of ignoring","sources":[{}]}
AGPBI: {"kind":"simple","text":"this warning is that reflective operations on this class will incorrectly","sources":[{}]}
AGPBI: {"kind":"simple","text":"indicate that it is *not* an inner class.","sources":[{}]}
AGPBI: {"kind":"simple","text":"warning: Ignoring InnerClasses attribute for an anonymous inner class","sources":[{}]}
AGPBI: {"kind":"simple","text":"(com.tencent.mm.sdk.openapi.WXApiImplV10$ActivityLifecycleCb$2) that doesn\u0027t come with an","sources":[{}]}
AGPBI: {"kind":"simple","text":"associated EnclosingMethod attribute. This class was probably produced by a","sources":[{}]}
AGPBI: {"kind":"simple","text":"compiler that did not target the modern .class file format. The recommended","sources":[{}]}
AGPBI: {"kind":"simple","text":"solution is to recompile the class from source, using an up-to-date compiler","sources":[{}]}
AGPBI: {"kind":"simple","text":"and without specifying any \"-target\" type options. The consequence of ignoring","sources":[{}]}
AGPBI: {"kind":"simple","text":"this warning is that reflective operations on this class will incorrectly","sources":[{}]}
AGPBI: {"kind":"simple","text":"indicate that it is *not* an inner class.","sources":[{}]}
AGPBI: {"kind":"simple","text":"warning: Ignoring InnerClasses attribute for an anonymous inner class","sources":[{}]}
AGPBI: {"kind":"simple","text":"(com.tencent.mm.sdk.b.b) that doesn\u0027t come with an","sources":[{}]}
AGPBI: {"kind":"simple","text":"associated EnclosingMethod attribute. This class was probably produced by a","sources":[{}]}
AGPBI: {"kind":"simple","text":"compiler that did not target the modern .class file format. The recommended","sources":[{}]}
AGPBI: {"kind":"simple","text":"solution is to recompile the class from source, using an up-to-date compiler","sources":[{}]}
AGPBI: {"kind":"simple","text":"and without specifying any \"-target\" type options. The consequence of ignoring","sources":[{}]}
AGPBI: {"kind":"simple","text":"this warning is that reflective operations on this class will incorrectly","sources":[{}]}
AGPBI: {"kind":"simple","text":"indicate that it is *not* an inner class.","sources":[{}]}

打包最终结果如下：

app-armeabi-v7a-release-unaligned.apk
app-armeabi-v7a-release.apk
app-x86-release-unaligned.apk
app-x86-release.apk

请问会有什么影响吗？

打出来包就没什么影响。你是用自己的key打包的吗？

对  自己的key  因为看到上面不少warning，怕有些影响

这没关系，打出包来就没什么影响


Add optional support for proto3 fields

With nullable as the default this should be ok for proto3 optional fields.
Added the flag that says optional is supported for proto3 field definitions.
Also a small fixup in one of the sample outputs.

@kevpie -- LGTM!  I was just digging into fixing this, thanks for doing.  Confirming this works.

The github workflow isn't working -- I think it needs an upgrade to go 1.16. The tests and checks pass by hand so I'll approve and worry about the workflow stuff later.

The github workflow isn't working -- I think it needs an upgrade to go 1.16. The tests and checks pass by hand so I'll approve and worry about the workflow stuff later.

Thank you @mescanne!


(Work in Progress) MRDC-722

Client changes for multi DC Appium Suites

TODO: update the "updateSuite" method for the new v2 Appium resource

Working on staging: https://app.staging.testobject.org/#/foobar/calculator/appium/4426/reports/2210


added Ludei's cocoonJS library typing

created typing for cocoonJS plugins from Ludei www.ludei.com

@artsjedi thank you for your contributions.
please fix travis ci failed. https://travis-ci.org/borisyankov/DefinitelyTyped/builds/75532626
try with --noImplicitAny option.
cocoonjs/cocoon.d.ts
check list

[ ] is collect naming convention?

https://www.npmjs.com/package/cocoonjs
http://bower.io/search/?q=cocoonjs
others?

[ ] has a test file? (cocoonjs/cocoon-tests.ts or others)
[ ] pass the Travic-CI test?

Can you please fix the failing Travis CI tests and update the PR!

Hello and thank you for your contribution!
Due to an excessively long queue of pull requests that have become stale, we are "declaring bankruptcy" and closing all PRs opened before May 1, 2016. If you'd still like to merge this code in, please open a new PR that has been merged and rebased with the master branch.
Going forward, we are committing to review or merge all PRs on a regular basis so this bankruptcy will not occur again. We apologize for the incovenience and hope you will continue to contribute to DefinitelyTyped in the future.
Thanks
The TypeScript and DefinitelyTyped teams


Enable users to fund/sponor challenges

This feature was suggested by @thomasyu888 during 2023 January sprint review meeting. A preliminary discussion about this feature is required first so that we can create a proper story.

Added to Backlog


[ci skip] adding user @timkpaine

Hi! This is the friendly automated conda-forge-webservice.
I've added user @timkpaine as instructed in #2.
Merge this PR to add the user. Please do not rerender this PR or change it in any way. It has [ci skip] in the commit message to avoid pushing a new build and so the build configuration in the feedstock should not be changed.
Please contact conda-forge/core to have this PR merged, if the maintainer is unresponsive.
Fixes #2

@conda-forge/core please merge, hoping to get in the new version and maintain moving forward

@h-vetinari sorry to spam! Adding it as a dep and saw it was a single maintainer, just wanted to help out.


Join Meshes Crash

CATS 0.17.0
Blender  2.91.0
Windows 10.0.19042.662
I found this issue when I clicked on the "FIX Model" button, if I uncheck "Join Meshes" then it works.
If you need logs tell me how I get them and I will post.

Update: I managed to fix the issue using a Decimation > save, and setting the Tris to less than my model's current, then manually applying the decimation when it crashed for the 2 meshes it had issues with

Thanks for the report, this is already fixed in the dev version of cats


car-mirror: Change SR to SGR to avoid confusion with Skip Ratchet

Up to you @expede, but submitting this to track that you mentioned it should probably change.  If this is changed across the board, it's one more char in the payload, but maybe who cares?  3 chars seems pretty fine in other protocol payloads.

It's one character: go wild!

What's the G?

Sub Graph Roots!

We could also use ep as entry points 🤔 Naming, I tell ya!

Fixed in https://github.com/wnfs-wg/car-mirror-http/pull/1


Error: badarg when trying to publish package

I've seen two problems with hexer the first one is when trying to publish a package.
I run:
hexer publish

I expect this to eventually lead to a published package (by answering Y on the CoC part). Once this is done, things communicate for a while and I get:
Error: badarg

Which was unexpected! What can I do to help you debug it, and can you eventually reproduce this at your end, to weed out the possibility it doesn't work due to me not being able to configure the software correctly?

Nice, thanks!


typo: Double word "into"

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/libraries/standard/data-structures.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


pls share the webhook logic

where's the webhook logic being handled? I don't see any route for handling webhook post request from API.AI in the index.js. Could you pls add those details?

@priyara123 webhook need to be added under fulfillment section in api.ai and also you need to enable "use webhook" option under intent section too

@priyara123 this might help https://cloud.google.com/functions/docs/writing/http

Since we updated the sample, the incoming request handling can be found here. It now uses Firebase Functions to host requests. We talk about Firebase functions in the readme and the Firebase Functions docs are here.
Closing this since we no longer use Cloud Functions directly.


If a session is connected and the bot is asked to shutdown it hangs on shutdown. CTRL+C has the same issue. CTRL+Z will kill it but is not ideal.

Now that I can see the logs, I can tell that this is related to #28. I'll look into it.

CTRL+Z will kill it but is not ideal.

Ctrl+Z uses a SIGKILL signal which makes the system ignore what process is doing and just forcefully kill it, which may result in data corruption so yeah, this is definitely not a good workaround.


Break "Pulsar源码解析.md" into multiple smaller md files

"Pulsar源码解析.md" becomes a very large file. It might be good to break it down into multiple smaller md files and organize them into sections.

Yes, I will disassemble it according to the module, and the task is mentioned in the submission record.


Infra 3705 MetricsStatusCheckBase MetricsInstanceBase

trigger build

Created new statuscheckapp app
Created new models MetricsStatusCheckBase and MetricsInstanceBase
Added generic _run() method for MetricsStatusCheckBase to compute a check result given parsed data
Migrations for new models
Tests for _run()

@elainearbaugh let me know when I should review this again.

@mahendra ready for review, addressed all your comments. Thanks!!

@mahendra I was thinking about changing the name of MetricsInstanceBase to something like MetricsSourceBase--Instances are already a completely different model in Cabot so I think it's be more clear (it's been a little confusing to see "instance" in the code and have to figure out which type of instance it is). What do you think?

@mahendra made the changes we discussed in 1:1

Move get_series() to inside the check
Change name of get_threshold()
MetricsInstanceBase -> MetricsSourceBase

trigger build

trigger build


Fix gazelle package names.

@comius Did you mean to send this to bazelbuild/bazel-skylib? This repo is a fork, not the original repo.


A not-free book listed as free

Firstly, thanks! This page is awesome.
I really don't like to look a gift horse in the mouth, but  the book "An Introduction to Machine Learning Interpretability" by Gill and Hall is not free. It's paywalled: you need a Safari account to access it, which isn't free.
Best wishes,
John

Argh ... they keep changing it. So for now I changed the link to a free link - you do have to provide an email ... and I moved it to a different subject heading.
I'm going to keep this issue open b/c the Dataiku sponsorship will end eventually ... maybe sooner rather than later ...
What I like about this booklet is that it's a non-technical resource, so I would like to wait to take it down until it can be replaced with another free, broad, non-technical resource - if you are aware of one, that would help. Personally, I can live with people signing up for a free trial of Safari to get the booklet. (As a co-author I don't profit in anyway, that I am aware of, in that scenario.)

Thanks!

Closing as it seems to be resolved.