Backspace and updating error

So, I am running a windows 10 system, and have the bash ubuntu feature installed and enabled. I have configured platformio-atom-ide-terminal to automatically launch this bash instead of powershell, since I am mostly using bash commands and mostly need to use linux.
Now, The specific issue is two-fold. When I compile and run a program using the default g++,  entering text into a cin statement gives a ^H instead of removing the character. In addition, when the program is supposed to clear the screen, using system("clear"), it only works after I start typing in the next cin statement, almost like its not automatically updating. These are technically 2 issues, however I suspect that when 1 is cured, the other will be cured as well.
A nice feature that may be somewhat related is that when I compile using the same command in this or in bash, in this I get more error information, especially relating to segfaults.
Running everything with the command: g++ ;./a.out

Please retest again with platformio-atom-ide-terminal 2.9.0 is using node-pty-prebuilt instead unmaintained and outdated pty.js
if issues persist open a new ticket with required information.
Thx =)


Use it from Terminal, like in powershell and maybe create a vim plugin

Is your feature request related to a problem? Please describe.
I would love to use it in other editors, so make a cli version like in gut i think? And then I or other people could create plugins for editors like vim.
Describe the solution you'd like
Commands like: gdunit -test start
Describe alternatives you've considered
Directly plugins for editors like vim or vscode or emacs, but the cli is much better, as users could create own plugins or use it in bash / powershell ...
Additional context
Gdunit is awesome

Didn't saw that it is actual implemented


Mongoid Support

I would like to see some orm agnosticism. It is 2010 and rails 3 is starting to bloom.
Here is a neat example of acts_as_textiled converted to acts_as_markdown rewritten for mongoid..
However, I can't seem to get the to_s functionality. It displays the html in my show page great! It does not seem to display the original database markdown value in the form field for editing though.
http://gist.github.com/499872

Fork, patch and submit a pull request and I might consider this.

I figured out how to set the value to get this to work.
<%= f.text_area :body, :value => f.object.body(:source) %>


Show export address and name pointer table entries as pointer to function and names respectively

Instead of seeing rva, it would be better to see pointers to functions and function names in those tables.

Yes the code needed to change that is right here: https://github.com/Vector35/view-pe/blob/f7d405b56ed0b2944e1e46f94a861317f7949438/peview.cpp#L2018

Oh wait those are RVAs which our type system doesn't really support right now.


How to use leaflet.elevation with angular

Hello,
is it possible to use the library in Angular.
If yes, could you please give me an example.
Thanks a lot

Hello, is it possible to use the library in Angular. If yes, could you please give me an example. Thanks a lot

I am curious if you managed to set it up in angular and if yes, please can you send me an example. Thanks in advance!


Minor suggestions

This PR is meant for discussion.
Added in this pass:

Add section on simple use cases that don't require mcsd. This was just a brainstorm and may happily be removed.
Add explainer on actors, transactions, resources.
Add clarification on CHWs, volunteers, unlicensed roles. The latest mcsd spec is not imperative in how to capture these roles.

https://profiles.ihe.net/
https://profiles.ihe.net/GeneralIntro/
https://profiles.ihe.net/GeneralIntro/ch-3.html

I've included the feedback from the community.


fix(esl-event-listener): ehnance checking of event target instance when delegating

Closes: #1579

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


New version: Mirantis.Lens version 2023.9.290703-latest

Pull request has been created with WinGet Automation :rocket:
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:


pull request for e2e test at 01/04/2017 15:45:08

:white_check_mark: Validation status: passed
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.


Is it possible to decrypt a jsfucked code?

Any method is good to know.
I'm considering using this in production env.

Suppose a string "foobar" has the encoded string.

Remove the last () from foobar
foobarEval = eval(foobar)
console.log(String(foobarEval))

@fritx Do NOT use this in production! You should consider this project as educational. It is quite easy to decrypt, as @babakness shows.

Ah yes! Didn't know that.
Thanks guys.

I think now would be a good time to close this issue. :)


Bot re-requests reviews

Sometimes there is a long delay between the bot creating a PR with maintainer pings and requesting reviews from maintainers.  If a maintainer approves such a PR upon noticing the ping but before the bot requests a review, the bot will re-request reviews from all maintainers, thus clearing all maintainer approvals from the PR.

The bot only ping maintainers, it doesn't request reviews?

Oh, sorry, it's a different bot requesting the reviews: ofborg.


Synthetically superimpose projected images onto random backgrounds

Can u ask KLFF give me full photo last AlexFLS underwear Advertisement high resolution photo to me? Pls
Berry Law

Shantanu Chhabra<EMAIL_ADDRESS>於 2019年4月25日 04:08 寫道：
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Add support for ARM/AARCH64

Tested on macOS 13.2.1 (M1) and Ubuntu 22.04 LTS (aarch64)

Woot, this is awesome - thank you for sending this out Duncan! I also never realized EXIT_SUCCESS / EXIT_FAILURE were part of stdlib; for whatever reason I thought it was a Windows thing for the longest time 🤦🏽♂😅
Cheers


use a  custom  image instead of the default image in WTO  v 1.3.0

Describe the bug
In the version 1.3.0 i was not able to change the default  image used  by the web terminal operator
Expected Behavior
the new image set in  DevWorkspaceTemplates [web-terminal-tooling]  should be used  by the terminal
Current Behavior
the old default image still used  even after changing the DevWorkspaceTemplates [web-terminal-tooling] yaml
Steps to Reproduce
What steps can be done to reproduce

Edit the DevWorkspaceTemplate named web-terminal-tooling in the openshift-operators namespace to set a new image for all users
set web-terminal.redhat.com/unmanaged-state: true to make the change last

OpenShift Version:
4.8.35

@szemmour-rh, maybe you already found a solution, but I wanted to share a solution.
I ran into this same problem, and found that it was because I didn't delete the current Pods that were running. Running this command, and then starting a new web terminal session worked for me:
oc delete pod -l 'controller.devfile.io/devworkspace_id' -n $YOUR_NAMESPACE

@evanshortiss is correct here, though you don't technically need to delete the pods -- any event related to the terminal will trigger the Operator to update the pod with the intended image. Deleting the pod does this, but so does adding an annotation to the pod/deployment/DevWorkspace.
This is occurring because the operator is event-driven -- if a terminal is running no objects are triggering events, the operator will not look at it and apply the updates from the DevWorkspaceTemplate. Without intervention, eventually the terminal you're using will shut down (idle -- default is 15 minutes), and when restarted will use the new image.


Consider setting read-only before save for SQL Server Identity columns

See Issue #703.
Rather than having SQL Server throw, if we mark SQL Server Identity properties as only accepting temporary values, then we will get an exception from our stack when code attempts to set other values rather than waiting for the store to throw.
Also consider that if Identity becomes the default again, then it may be worth changing the update pipeline to make insertion of actual values work, if this is possible to do in a reasonable way.

Given you can get the explicit values inserted (with a bit of extra code) I think our current behavior is actually pretty good. @divega @ajcvickers do you agree that this could be closed now?

@rowanmiller I'm fine with closing it. The exception SQL Server throws seems fine to me.

From looking at the code I believe we don't have any usage in the stack of ReadOnlyBeforeSave. It also seems that you have to drop down to metadata to use it. Makes me wonder if it is worth keeping it.


[Question] How to Import USD Scenes as References?

On the README file it mentioned "Importing USD files into Blender as "references"" - I have Blender 2.93 and cannot find any USD import option under File - Import.

Thanks!

Hi.
You need to open USD nodetree and choose corresponded node:

Thanks for the reply!
I can't see the USD panel type - Am I missing something?

Yes, you need to select installed Render Engine first:

It worked!
I tried to create a node tree and open a file - does the USD stage show up on the Blender scene, or it will only show up in the render?

The USD stage will be used in the render if you select "usd node tree" as the data source and will show in the outliner.

The node diagram does show up; But at the moment I still don't know how to render things with this since the Render window seem to just get stuck.

Please open a new issue with attached scene, configuration info and info from console (if it presented here)


Unable to uncheck the checkbox product in bundle product

Hi, I have experienced an Issue with bundle product.
I have migrated products form magento 2 store to VS and when i I am on product page where the product is a bundle type I am unable to uncheck the product if the option is checkbox an there is only one checkbox. Offcourse I checked that the option IS NOT REQUIRED.

Please check the ProductBundleOptions.vue - how the checkboxes logic is supported in there; as far as I know we’re currently not supporting all bundle options types so maybe it’s a good area for the contribution as well!

Hey, are there any news on it? :)

@PatrickKluwig I am working on this issue
Because the Base Checkbox component is currently improved I am to refactor the current implementations for the bundle product.
PR: https://github.com/DivanteLtd/vue-storefront/pull/2679

Hi guys, any updates? :)

I am no more working on this issue, anybody is willing to contribute is most welcome

I think it was fixed @bachus03 could you check this on develop branch?


Fix inference.buffers index

@automatiek Does this make sense? If so, can we land in our master repo?

Yes it does! Thanks for finding and reporting @metanav.

This has now been landed.


Use installed.json for extra discovery

As suggested @naderman in https://github.com/laravel/framework/commit/cb6474742f7f8bad649d295909fe0840520bcfa9#commitcomment-22370108 this uses vendor/composer/installed.json, instead of looping through al package dirs.
Renamed the test to reflect the class, and cleaned up the packages.php file before running the test, to make sure it's fresh.
One note is that the order might change, but I'm not sure if we should assume it always just random?

Hah I wasn't even looking at the right file oh well ;-)

Taylor rewrote it a few commits later :) https://github.com/laravel/framework/commit/a5a0f3e7b82a1a4dc00037c5463a31d42c94903a
Hmm, tests are failing because the installed.json is not present. @naderman Should the file always be present, or is that a recent change?

@barryvdh it's been there since at least 2012: https://github.com/composer/composer/commit/15ab5868a339bd523de739929fdb0f89a01a6a88

Sweet!


Postgres quickstart and extensions initial

@rachel-msft : Thanks for your contribution! The author, @yualan, has been notified to review your proposed change.

Microsoft authors and contributors need to make content contributions through the private repository so the content can be staged and validated by the current validation rules.
After you review staging and fix all validation issues, you can add the sign-off comment to let PR reviewers know that the updates are ready to be merged.
For more information, see Should I work in a private or a public repo?
Would you create a pull request in the private repo to make these updates? We'll close this PR. Thank you.

#hold-off

@rachel-msft : Thanks for your contribution! The author, @, has been notified to review your proposed change.


Add A Sample Profile Card in the Readme

You can add a sample GitHub profile card in the Readme.md file, to let viewers know how the card actually looks like!

Great suggestion!! 👍
Do you want to work on this?

Great suggestion!! 👍
Do you want to work on this?

Sure!!

Great suggestion!! 👍
Do you want to work on this?

Sure!!

That's great!
I'm assigning you 🚀

@pushkaraj2007 Made the PR!

@pushkaraj2007 Made the PR!

That's great!
Let me check it out ✨


4092 sequencer simulates fee preparation functions

Please read contributing guidelines and remove this line.

Benchmark results
No metrics with a significant change found.

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit e58eda80 and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
128 txs

l1_rollup_calldata_size_in_bytes
45,700
180,580
720,100

l1_rollup_calldata_gas
222,676
871,264
3,465,820

l1_rollup_execution_gas
315,867
989,712
3,686,198

l2_block_processing_time_in_ms
1,156 (+1%)
4,336 (-1%)
17,266

note_successful_decrypting_time_in_ms
301 (-3%)
977 (-1%)
3,659 (-1%)

note_trial_decrypting_time_in_ms
10.7 (-45%)
111 (-3%)
140 (-6%)

l2_block_building_time_in_ms
17,919 (-1%)
70,680
284,019

l2_block_rollup_simulation_time_in_ms
13,134
51,735 (-1%)
208,373 (-1%)

l2_block_public_tx_process_time_in_ms
4,758 (+1%)
18,867 (+1%)
75,384 (+1%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
13,757 (-1%)
26,312

note_history_successful_decrypting_time_in_ms
2,561 (+9%)
4,697 (+2%)

note_history_trial_decrypting_time_in_ms
95.4 (+10%)
187 (-18%)

node_database_size_in_bytes
17,326,160
33,034,320

pxe_database_size_in_bytes
29,923
59,478

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
306 (-1%)
44,528
25,825

private-kernel-ordering
191 (-2%)
44,145
16,193

base-rollup
1,409 (-1%)
130,286 (+1%)
933

root-rollup
82.2
4,192
729

private-kernel-inner
430 (-2%)
71,331
25,825

public-kernel-private-input
244 (+1%)
33,919 (+5%)
27,457 (+6%)

public-kernel-non-first-iteration
244 (+3%)
33,961 (+5%)
27,457 (+6%)

merge-rollup
7.83
2,712
933

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
0 deployed contracts
1 deployed contracts

tx_size_in_bytes
16,827
40,135

Transaction processing duration by data writes.

Metric
0 new commitments
1 new commitments

tx_pxe_processing_time_ms
547 (-1%)
1,294 (-1%)

Metric
0 public data writes
1 public data writes

tx_sequencer_processing_time_ms
0.513 (+3%)
587 (+2%)


upstream: remove cluster.hosts

Description:
Since Cluster's load_assignment field is implemented (#3864), remove Cluster's hosts.
Risk Level: Medium
Testing: Existing tests
Release Notes: removed cluster.hosts
Fixes #4618
Signed-off-by: Dhi Aurrahman<EMAIL_ADDRESS>

@htuch Agree that this is a high risk deprecation. Maybe this would warrant an envoy-announce email?

@htuch Agree that this is a high risk deprecation. Maybe this would warrant an envoy-announce email?

Maybe we should do a runtime deprecation here per @alyssawilk's new stuff? Maybe she can guide us on Monday?

This predates the new style deprecation but if we think it's high risk there's no harm in extending it.  This is the sort of deprecation where I think our new fatal-by-default will really help make removals smoother.
That said I do expect a fair amount of issues when we do our first fatal-by-default flip late this week / early next week :-P

Yeah, I think running this through the new-style deprecation would make sense, +1.

Sorry for not having a lot of context on this one.  Since there's an existing translation from hosts to  load_assignment, what's the advantage from the user's point of view in deprecating hosts field?


Added cardano-cli-<IP_ADDRESS>

From https://github.com/IntersectMBO/cardano-cli at 367ff7e6860a8c2497fcd0d0a470d343ee667af6

@carbolymer> change done here and on cardano-cli :+1:
Thanks for clarifying, because it was actually unclear to me if we had a policy on whether to tag the commit with message Release foo or the merge commit. Now I know :+1:


Added AcpCore tvOS binding library and test app.

Description
Added AcpCore tvOS binding library and test app.
Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have signed the Adobe Open Source CLA.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

The readme changes look good. Can the badge be added for ACPCore tvOS as well?

The readme changes look good. Can the badge be added for ACPCore tvOS as well?


Network Error

Downloading binding file is failed. Download link : https://github.com/sass/node-sass/releases/download/v4.12.0/win32-x64-64_binding.node
It is about 20mb file, even I try to download that file in my chrome browser it failed. Here is not China, here is Korea. Perhaps link is broken?

The file 2349Kb (~2MB) rather than 20.

This worked before but now 404:
https://github.com/sass/node-sass/releases/download/v4.11.0/linux-x64-72_binding.node

@Allain55 you changed your NodeJS version https://github.com/sass/node-sass/blob/master/TROUBLESHOOTING.md#404s
Hiding this message since it is unrelated to this issue

Hitting the same issue:
><EMAIL_ADDRESS>install /home/mic/dev/articule/articuleio/node_modules/node-sass
> node scripts/install.js

Downloading binary from https://github.com/sass/node-sass/releases/download/v4.11.0/linux-x64-72_binding.node
Cannot download "https://github.com/sass/node-sass/releases/download/v4.11.0/linux-x64-72_binding.node":

HTTP error 404 Not Found

And it breaks the build. Is it a known issue?


Change the URL for each link from Ayrshire1775 to lowercase

Quite simply when it loads each feature into the grid it now adjusts the URL for each link from Ayrshire1775 to ayrshire1775. Meaning it loads the map properly.

That's neat, thank you.


 not rendering on iphone 6+ when wrapped in

react-native 0.44 & native-base 2.1.3
The following code works as expected when running on an iphone 6, but not on an iphone 6+. On the 6+ the text does not render. In the layout inspector within xCode it appears that the RCText view has a rect of 0,0,0,0.
As a row in a <ListView /> with each row as
<Card>
     <CardItem>
          <Body>
               <Text>Does Not Render on Iphone 6+, Rect is 0,0,0,0</Text>
          </Body>
     </CardItem>
</Card>

All components are imported from native-base. If I remove the <Body> tag from the JSX example above the <Text> component renders properly on a 6+.

Fixed with 2.1.5


Define git, local and run sources

Source (abstract)

id (unique, generated when created)
type (git,local,run)
userId

Git source type=git

sourceId
hostUrl
path
accessToken
ref

Local source type=local

sourceId
label
path

Run source type=run

sourceId
path

Git source
A location for sources stored in a remote git repository. A git source can be locally cloned to create a local source when source access is required.

create
POST to / with request body containing type=git, hostUrl, path, accessToken (optional) and ref (optional)

read
GET to /{id}

update
PUT to /{id} with request body containing id, hostUrl, path, accessToken (optional) and ref (optional)

delete
DELETE to /{id} with no request body

Local source
A filesystem location for source files that are accessed directly. This will be the files provided to services that request sources.

create
POST to / with request body containing type=file, label
The path value required by the entity will be derived from the userId and the label.

read
GET to /{id}

update
PUT to /{id} with request body containing label
The path value required by the entity will be derived from the userId and the label.

delete
DELETE to /{id} with no request body

Run source
A run source is a copy of a git or local source that is used for a test run. This allows for the local storage of a remote source. This allows for a test run to be re-run against the exact same source.
Type-general actions

list
GET to /list, returns a list of sources (run sources excluded)

prepare
POST to /{id}/prepare, initiates creation of run source from specified source

retrieve
GET to /{id}/retrieve, retrieves locally-stored run-type source files

Related:

#61
#62
#63


Better performance on Kiwi.Geom.Transform

Improve performance of Kiwi.Geom.Transform, as this appears to be a bottleneck on some devices.

Several key changes to Transform:

Concatenation process streamlined. getParentMatrix() now returns the actual parent matrix, without eliminating anchor point data via a costly computation. getConcatenatedMatrix() accounts for anchor point data by subtracting it from the current coordinates. This does mean getParentMatrix() may now return slightly different values in the case of a group with a non-zero anchor point, but this should be considered a bug fix.
Transform may be locked with locked = true. This prevents its own matrix from updating.
Transform may be set to ignore parents with ignoreParent = true. This prevents it from considering parent matrices.
Transform now has a _concatMatrix property, used as a permanent scratch object for concatenating parent matrices.


[NTR] fallopian tube secretory epithelial cell

Preferred term label:
fallopian tube secretory epithelial cell
Synonyms
oviduct secretory epithelial cell
uterine tube secretory epithelial cell
Definition
Fallopian tube secretory epithelial cell is one of the three cell types of the fallopian tube epithelium. The two other cell types of the fallopian tube epithelium are the ciliated cells and the intercalary cell, or peg cells. The secretory cell has approximately the same height as the ciliated cell and is usually a more narrow columnar cell. The nucleus is ovoid and perpendicular to the long axis of the cell. The chromatin is more dense and the nucleolus smaller than that seen in the ciliated cell. [https://www.proteinatlas.org/learn/dictionary/normal/fallopian+tube]
Parent cell type term:
CL:1001591 (oviduct glandular cell)
What is the anatomical structure that the cell is a part of?
UBERON:0003889 (fallopian tube)
Your nano-attribution (ORCID)
0000-0002-0819-0473

Hi @paulacalipho, thank you for the new term request.
The other two cell types of the fallopian tube epithelium mentioned in your definition currently do not appear in CL (references to these other cell types also appear in the parent cell type definition). Would you like to provide details on those two other cell types in order to add them? This is not necessary, and I will defer to your preference.

Hi @bvarner-ebi I can work on definitions for these two cell types and come back to you asap

Thank you, @paulacalipho.
In the meantime, I have added CL:4030006 fallopian tube secretory epithelial cell to the Cell Ontology.
The definition:
An epithelial cell that is part of the fallopian tube epithelium that secretes mucous fluid and oviduct-specific products through the stimulation of estrogen and luteinizing hormone. The fallopian tube secretory cell has approximately the same height as the ciliated cell and is usually a more narrow columnar cell. The nucleus is ovoid and perpendicular to the long axis of the cell. The chromatin is more dense and the nucleolus smaller than that seen in the ciliated cell.
Annotated as a comment:
The other cell types of the fallopian tube epithelium include the ciliated cell and the intercalary cell, or peg cell. The fallopian tube secretory epithelial cell type has been implicated as a source of high-grade serous ovarian carcinoma.
Let me know if you have any questions or concerns.

@bvarner-ebi Perfect, many thanks

@bvarner-ebi Sorry for the late notice, but instead of part of UBERON:0003889 (fallopian tube), should be better consider part of ciliated columnar oviduct epithelium  UBERON:0007589, as just requested for "fallopian tube ciliated cell"?

Hi @paulacalipho, thank you for the question.
Do you have a source to support that the 'fallopian tube secretory epithelial cell' is part of the 'ciliated columnar oviduct epithelium'? Otherwise, we could make it part of the less specific UBERON:0004804 'oviduct epithelium'.

@bvarner-ebi As "fallopian tube secretory epithelial cell'' is part of the "fallopian tube epithelium" that have also ciliated cells, I assumed that is a ciliated epithelium. But I may be wrong and would be better to make part of UBERON:0004804 'oviduct epithelium'.

@paulacalipho, my hesitation is not knowing if this cell type is always found in what would be classified as ciliated columnar oviduct epithelium since there is variation in the epithelium of the oviduct both spatially and temporally.
Per PMID:25117646:
The ciliated cells are mainly found on the apex of the mucosal folds [7], mostly in the fimbria (over 50 %) and less commonly in the isthmus (less than 35 %) [5, 6, 8]. Cilia extend from the apical surface of the ciliated cells into the lumen of the tube and are about 10 μm long and 0.25 μm in diameter [9]. Secretory cells are non-ciliated cells and contain apical granules that produce the tubular fluid. The least common cell type are intercalated cells, also known as peg cells whose function and even existence as a discrete cell type is a matter of debate. While some authors consider them a distinct type of secretory cells whose contents have been extruded with resulting collapsed cytoplasm [10], others consider them as merely representing a morphological variant of the classic secretory cells [11, 12]. Tubal epithelium undergoes cyclical changes in response to ovarian steroids which can be evident as a higher percentage of ciliated cells in the follicular phase, with gradual transition into a secretory cell-dominant pattern in the luteal phase of the cycle [10, 12].

@bvarner-ebi OK, in that case is better relate it to UBERON:0004804 'oviduct epithelium'. In addition the creation of the peg cells may not be recommended

Thanks for the feedback, @paulacalipho.
Since this term is a subclass of 'oviduct glandular cell', it being part of the 'oviduct epithelium' is already inferred, so I don't think any change is needed:


fix: fix up ep resourceVersion comparison and clean up

Type of change:

[x] Bugfix
[ ] New feature provided
[ ] Improve performance
[ ] Backport patches

What this PR does / why we need it:

Pre-submission checklist:

fix https://github.com/apache/apisix-ingress-controller/issues/806#issuecomment-1059945155

[ ] Did you explain what problem does this PR solve? Or what new features have been added?
[ ] Have you added corresponding test cases?
[ ] Have you modified the corresponding document?
[ ] Is this PR backward compatible? If it is not backward compatible, please discuss on the mailing list first

Codecov Report

Merging #901 (94ce8a1) into master (8348d01) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master     #901   +/-   ##
=======================================
  Coverage   32.05%   32.05%
=======================================
  Files          71       71
  Lines        7775     7775
=======================================
  Hits         2492     2492
  Misses       5009     5009
  Partials      274      274

Impacted Files
Coverage Δ

pkg/ingress/endpoint.go
0.00% <0.00%> (ø)

pkg/ingress/status.go
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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

updated: apisixTls/ endpointSlice/ secret aslo have this problem.
@tao12345666333 @lingsamuel

good catch.

maybe need to re-run e2e-test😂 @tao12345666333

re-run CI.

It's green! Thanks!


Add myself to codeowner

Signed-off-by: Shubham Gupta<EMAIL_ADDRESS>

+1

We reached consensus.
Welcome aboard @shubham-cmyk 🎉

Thanks a lot @eddycharly.
I appreciate all of you guys


Add a "New Version" notice

Chrome Apps are updated automatically and silently, leaving the user without knowledge that their Parallax IDE was updated in-between sessions.
We need to add a feature that notifies the user (via overlay) that the Parallax IDE they are running is now a new version.  The notification should appear automatically only upon the start of the first session of the new version on the system- not for any session after the first session.
The notice should be a modal overlay that requires the user click an "OK" button
The notification is a modal overlay with a text message and one or more hyperlinks, all designed so that it does not require frequent manual updating.  An OK button appears at the bottom of the notification to allow the user to close the notice.
For example, for version 0.8.0, the notification is as follows:

Parallax IDE Automatically Updated to v0.8.0
You are now running a new release of Parallax IDE!
See Release Notes and Installation Notes for more details.

Verified done!


Settings are not translated to other languages

Godot version:
3.0
Issue description:
Editor settings(and project settings) looks still not be complete included to translation list..

Is it intended or not ?

Oh, I see its not possible - https://github.com/godotengine/godot/issues/14582 ...


Update Publish.hpp

Fix line #204 warning message under Visual Studio 2017 Win64

Hi @chamber-wang,
Thank you for this pull request! We will test the changes and merge it into the master branch after we're done.
Thanks!
Varun

Hi @vareddy ,
Thanks, It's my pleasure.
Chamber Wang Mar 19

Included in this commit.


DNM: Testing Secret lookup

Checklist:

PR has reference to the issue(s) it resolves
Write / update unit tests
Write / update integration (envtest) tests
Ensure there is an issue for e2e tests if needed
Ensure make test passes
Ensure test coverage hasn't decreased
Test code changes manually
Update readme and documentation
Write PR description that highlights overall changes and add usage examples if applicable

/test build-service-e2e

/test build-service-e2e


how to create the path including object_Neg for being able to run the concat_w2v.py script?

So, when I search your repo for object_NEG I can only find two incidences one in a utl file (that you haven't shown how to use it in README.md) and then another one in concat_w2v.py that I am intending to run.

The problem is nowhere else before running the concat_w2v.py script you have instructed how to create the object_Neg folder as expected for concat_w2v.py same with the object_GT folder.
Could you kindly please provide instructions on how to create these folders and which exact files need to be moved over there?
Here's a code snippet of concat_w2v.py that requires stuff being loaded from the concat_w2v.py folder:
for key in Trainval_Neg:
    for i in range(len(Trainval_Neg[key])):
        #pdb.set_trace()
        print(range(len(Trainval_Neg[key])))
        hoi_class = Trainval_Neg[key][i][1]#[0]
        print("I am here", i)
        cur_obj   = mapping[hoi_class]
        obj_holder = np.tile(obj_vec[int(cur_obj)], (312, 1))
        holder = np.concatenate([part_holder, obj_holder], axis=0)
        if not os.path.exists(args.SMPLX_PATH + '/object_NEG/HICO_train2015_%08d/%03d_feature.pkl' % (key, i)):
            print("path doesn't exists")
        if os.path.exists(args.SMPLX_PATH + '/results/HICO_train2015_%08d/%03d.pkl' % (key, Trainval_Neg[key][i][-1])):
            print("the path exists")
            pc = pickle.load(open(args.SMPLX_PATH + '/object_NEG/HICO_train2015_%08d/%03d_feature.pkl' % (key, i), 'rb'))
            pc = np.concatenate([pc, holder], axis=1)
            print('pc type: ', pc)
            print('pc shape: ', pc.shape)
            pickle.dump(pc, open(args.SMPLX_PATH + '/object_NEG/HICO_train2015_%08d/%03d_feature.pkl' % (key, i), 'wb'))

Here's another snipper in the same script that requires to load stuff from the non-existent object_GT folder:
for key in Trainval_GT:
    ## what's the class number for image #2.jpg?
    for i in range(len(Trainval_GT[key])):
        hoi_class = Trainval_GT[key][i][1][0]
        cur_obj   = mapping[hoi_class]
        #pdb.set_trace()
        obj_holder = np.tile(obj_vec[int(cur_obj)], (312, 1))
        holder = np.concatenate([part_holder, obj_holder], axis=0)
        if os.path.exists(args.SMPLX_PATH + '/results/HICO_train2015_%08d/%03d.pkl' % (key, Trainval_GT[key][i][-1])):
            pc = pickle.load(open(args.SMPLX_PATH + '/object_GT/HICO_train2015_%08d/%03d_feature.pkl' % (key, i), 'rb'))
            pc = np.concatenate([pc, holder], axis=1)
            pickle.dump(pc, open(args.SMPLX_PATH + '/object_GT/HICO_train2015_%08d/%03d_feature.pkl' % (key, i), 'wb'))

The same goes with the final part of the script that requires stuff to be loaded from the non-existent folder object_test:
for image_id in Test_RCNN:
    for i in range(len(Test_RCNN[image_id])):
        item = Test_RCNN[image_id][i]
        if item[1] == 'Human':
            for j in range(len(Test_RCNN[image_id])):
                if i == j:
                    continue
                Object = Test_RCNN[image_id][j]
                cur_obj = Object[4] - 1
                obj_holder = np.tile(obj_vec[cur_obj], (312, 1))
                holder = np.concatenate([part_holder, obj_holder], axis=0)
                if os.path.exists(args.SMPLX_PATH + '/results/HICO_test2015_%08d/%03d.pkl' % (image_id, item[-1])):
                    pc = pickle.load(open(args.SMPLX_PATH + '/object_test/HICO_test2015_%08d/human_%03d/%03d_feature.pkl' % (image_id, i, j), 'rb'))
                    pc = np.concatenate([pc, holder], axis=1)
                    pickle.dump(pc, open(args.SMPLX_PATH + '/object_test/HICO_test2015_%08d/human_%03d/%03d_feature.pkl' % (image_id, i, j), 'rb'))

While I can find codes in util.py for constructing object_GT and object_Neg folders, I am unsure how I could run the script for that purpose or at which step should I do so. Additionally, I don't see anything that creates object_test folder in your repo.
As for object_test I only see 3 folders that are loading it.

Thanks a lot for your time @Foruck

It is intended to be the directory you used for the corresponding '--save_obj_path' in step 6.


Torpedoes dont fire

GT4500Test.fireTorpedo_All_Success:37 expected:  but was:

firing multiple torpedoes declared but not implemented, todo: implement


Integration tests for Playground Search requests

Description
DiceDB Playground is an interactive platform that allows users to experiment with DiceDB commands in a live environment, similar to the Go Playground. Users will be able to submit and execute commands directly through a web interface. The initial implementation will focus on enabling users to search for and trigger commands.
For more details about DiceDB playground you can check here.
As part of this task we need to enhance unit tests and integration tests for /search API.
This task would be extension of https://github.com/DiceDB/dice/issues/728
Details
Validation:

Validate the incoming request to ensure required parameters are provided.
Ensure appropriate HTTP response codes are returned based on success or failure scenarios.

Testing:

Unit tests for the new /search handler to cover success and failure scenarios.
Integration tests that send various queries via the Search endpoint and check for correct responses.

Dependent on https://github.com/DiceDB/dice/issues/728

Hey @lucifercr07, Can I pick this up?

Hello @harsha-mangena,
There has been no activity on this issue for the past 5 days.
It would be awesome if you keep posting updates to this issue so that we know you are actively working on it.
We are really eager to close this issue at the earliest, hence if we continue to see the inactivity, we will have to reassign the issue to someone else. We are doing this to ensure that the project maintains its momentum and others are not blocked on this work.
Just drop a comment with the current status of the work or share any issues you are facing. We can always chip in to help you out.
Thanks again.

Hey @arpitbbhayani, unfortunately out of station for the past week, will start working on this!

Hey @arpitbbhayani, @lucifercr07
Still waiting on https://github.com/DiceDB/dice/issues/732#issuecomment-2376938957

Hello @harsha-mangena,
There has been no activity on this issue for the past 5 days.
It would be awesome if you keep posting updates to this issue so that we know you are actively working on it.
We are really eager to close this issue at the earliest, hence if we continue to see the inactivity, we will have to reassign the issue to someone else. We are doing this to ensure that the project maintains its momentum and others are not blocked on this work.
Just drop a comment with the current status of the work or share any issues you are facing. We can always chip in to help you out.
Thanks again.


CX Reflected_XSS_All_Clients @ src/main/java/org/t246osslab/easybuggy/core/servlets/DefaultLoginServlet.java [master]

Reflected_XSS_All_Clients issue exists @ src/main/java/org/t246osslab/easybuggy/core/servlets/DefaultLoginServlet.java in branch master
Method doPost at line 84 of src\main\java\org\t246osslab\easybuggy\core\servlets\DefaultLoginServlet.java gets user input for the ""userid"" element. This element’s value then flows through the code without being properly sanitized or validated and is eventually displayed to the user in method <%=session.getAttribute at line 24 of src\main\webapp\uid\serverinfo.jsp. This may enable a Cross-Site-Scripting attack.
Severity: High
CWE:79
Checkmarx
Lines: 86 40

Code (Line #86):
        String userid = StringUtils.trim(req.getParameter("userid"));

Code (Line #40):
        bodyHtml.append("<form method=\"POST\" action=\"" + req.getRequestURI() + "\">");

Issue still exists.
SUMMARY
Issue has total 2 vulnerabilities left to be fix (Please scroll to the top for more information)

Issue still exists.
SUMMARY
Issue has total 2 vulnerabilities left to be fix (Please scroll to the top for more information)


Data formats and API for I2S direct-from-ADC could be better documented (IDFGH-577)

Environment

Development Kit: Wemos Lolin D32
Module or chip used:  ESP32-WROOM-32
IDF version: v3.3-beta1-223-ga62cbfec9
Build System: Cmake
Compiler version: 1.22.0-80-g6c4433a
Operating System: Linux (Ubuntu 18.04)
Power Supply: USB

Problem Description
This is a little more vague than a more technical problem/bug, because I'm not sure whether there's really any bug in the ESP IDF libraries, whether the documentation should be clearer, or whether I've misunderstood certain things. So I'm happy for feedback that helps me narrow down the scope of what I'm reporting here. I've bolded specific questions or suggestions.
I'm trying to use I2S direct-from-ADC functionality via the ESP IDF libraries, specifically driver/i2s.h. I'm having a lot of trouble figuring out how I'm meant to use the library functions.
Let's start with the sample format itself. I was using all 12 bits of the ADC resolution, so I would have expected the DMA data to range from 0x0000 to 0x0fff (after decoding from MSB or LSB format, whichever I selected). However, I wasted a lot of time trying to figure out why I was getting values like 0x6abc until I realised it was always a 0x6 in the highest four bits, and a bit of digging found this (from p583 of the ESP32 Technical Reference Manual):

ESP32 supports up to a 12-bit SAR ADC resolution. The 16-bit data
in DMA is composed of the ADC result and some necessary information
related to the scanning mode:

For single mode, only 4-bit information on channel selection is
added.

Suggestion: I think this information needs to be in the IDF docs. I'm quite happy to be referred to technical documentation from an API, but the reference needs to be made, in my opinion. Otherwise I feel like I can only approach the IDF docs after having read and absorbed all the more technical documentation, which detracts from having the library in the first place. But in this specific case, I think it's an odd enough feature that it deserves to be mentioned in the high-level docs.
Secondly: I began by testing with a single microphone, so I selected I2S_CHANNEL_FMT_ONLY_LEFT. The signal I decoded on my client was effectively halved in frequency, so I quickly figured out I still needed to deinterleave the stereo signal (ie. take every second decoded 16-bit value, after masking with 0x0fff). I have no idea what was in the "other" channel, since I was only using one microphone and ADC, but it looked very similar to my primary signal (not identical though!). Same with I2S_CHANNEL_FMT_ALL_LEFT, except now half my signal was zeroed. (Disclaimer: I may have these switched around, I'm going from memory here.) Changing from LEFT to RIGHT seemed to make absolutely no difference.
There are tables on p308 of the technical reference manual that describe what the register I2S_TX_CHAN_MOD does — question: is this what corresponds to the i2s_channel_fmt_t enum? Suggestion: could that also please be documented more explicitly in the IDF docs? Question: can I actually do mono ADC reads and transmission, to avoid transmitting unnecessary bytes in mono mode?
Thirdly: I now want to use stereo conversion. My first question: how do I set the second ADC for the second microphone? There's only i2s_set_adc_mode() which takes a single ADC index. How do I populate stereo data from two ADCs? Again, if I need to do this directly in the registers, it should be referenced from the IDF docs.
Finally, a couple of little questions: what are the dma_buf_count and dma_buf_length members of i2s_config_t? I can't find any reference to this in the technical reference manual. Does the sample_rate member need to be the rate at which I want to sample each channel with the ADCs, or the total sample rate being put into DMA (ie. so it doubles if I switch to stereo)?
I have a test project that's public on Gitlab that I'm using to test out basic I2S functionality, so if you want a code base to quickly verify something, feel free to use that.

I have been experimenting with the I2S interface a bit and faced many similar issues/questions as you.
Ultimately, my conclusion is that the I2S driver currently only supports a single channel.  The docs don't quite reflect this, but there is at least one comment in the driver itself that indicates that only a single channel is supported.
I couldn't for the life of me figure out a way to make use of the multi-channel pattern tables via the I2S w/o modification to the adc/i2s drivers.  I don't have answers to all of your questions, but was able to piece together some info that might be useful to you so I figured I'd share it back.
From what I can tell, the main issue is with the current idf implementation of adc_i2s_mode_init.  Currently it can only configure the pattern table with a single channel and defaults to 11DB attenuation.  I was able to work around this issue by exposing adc_set_i2s_data_len and adc_set_i2s_data_pattern to support calling from external code.  In my application code I set the i2s in adc mode, and then call these two functions to reconfigure the pattern table for dual channel input:
//install and start i2s driver
i2s_driver_install(i2s_num, &i2s_config, 0, NULL);
//init ADC pad
i2s_set_adc_mode(I2S_ADC_UNIT, I2S_ADC_CHANNEL_DATA);

// Expand default pattern with the clk channel at index 1
// Data is assigned to pattern index 0 by i2s_set_adc_mode
adc_set_i2s_data_len(I2S_ADC_UNIT, 2);
adc_set_i2s_data_pattern(I2S_ADC_UNIT, 0, I2S_ADC_CHANNEL_DATA, ADC_WIDTH_BIT_12, ADC_ATTEN_DB_0);
adc_set_i2s_data_pattern(I2S_ADC_UNIT, 1, I2S_ADC_CHANNEL_CLK, ADC_WIDTH_BIT_12, ADC_ATTEN_DB_0);

Finally, I found that when calling i2s_adc_enable(EXAMPLE_I2S_NUM); the pattern table is reconfigured by the library's _i2s_adc_mode_recover, so (for now) I've just commented this call out in the library.

Thirdly: I now want to use stereo conversion. My first question: how do I set the second ADC for the second microphone? There's only i2s_set_adc_mode() which takes a single ADC index. How do I populate stereo data from two ADCs? Again, if I need to do this directly in the registers, it should be referenced from the IDF docs.

The pattern table seems to be the intended way to do this from the ESP32 TRM.  The workaround described above for the pattern table should let you configure up to sixteen channels for sequential sampling.

Finally, a couple of little questions: what are the dma_buf_count and dma_buf_length members of i2s_config_t? I can't find any reference to this in the technical reference manual.

I believe these are used to configure/allocate the actual memory buffers used by the DMA to transfer data from the i2s controller to RAM.  In my testing, it appears that the DMA interrupt isn't fired until a given DMA buffer is full, at which point the entire buffer is copied into the driver's queue to be read by i2s_read.  A larger buffer results in a longer duration between interrupts, more data to process at once, and increased latency due to the interrupt coming later in larger buffers.
For my specific application, I need to process/respond to incoming ADC data quickly, so I have a larger number of small buffers.  If latency isn't an issue for you (ie. recording audio to disk) you'd probably get better overall performance by having a fewer number of large buffers.  Note that the library requires that you have at least two and no more than 128.
One other thing I found is that the data returned from i2s_read seems to be inverted and all samples must be inverted before processing.  I tried calling adc_set_data_inv with both TRUE and FALSE but neither seemed to have any impact on the resulting data, I still had to XOR every sample with 0xFFF.

@montaguk That is incredibly useful, great work deducing all of that.
Espressif — it would be very nice to have some answers to the above questions, even if it's not going to work out of the box any time soon, I need to be able to account for missing functionality and communicate the reason to other engineers.

ESP devs - it's been months now. I'd like to know whether this device is fit for the purpose I used it for, or whether I need to change my design to use a different device. Could you please shed some light on this?

@montaguk In your example code, I assume that I2S_ADC_CHANNEL_DATA stands in for one of the ADC channels being used, but what is I2S_ADC_CHANNEL_CLK?

Those names are a bit confusing w/o any context. I'm actually using the i2s ADCs to decode a proprietary protocol that has a DATA and a CLK signal.  Fom the standpoint of the i2s, it's just two separate input channels that could be used for any purpose.  The DATA and CLK only have meaning within the context of my application.
Hopefully that helps!

Thanks, that makes sense! Oh, two more things, in case you know — do you know if the sample rate in the initial i2s_config_t struct needs to be double its mono-mode value (to account for the extra channel), and whether it matters what the channel format is set to?

I finally got around to testing this but cannot get the channel order to make any sense. See #3686 .
Espressif devs — could we please have some info on this?

I guess it is still sampling at half the sample rate. A mono channel @ 44.1Khz would actually be 22.05KHz after de-interleaving.
I made the same observation as you a year or so ago (https://github.com/espressif/esp-idf/issues/1911). I wanted to get 1MHz sampling rates but the best one can do is 1/2 that. What with the other issues and slow response, I was forced to go to a different device in the end.
Now coming to look at this again for a new project, I see improvements have been made somewhat but  it's obviously still interleaving a single signal.

Thanks for reporting and sorry for late reply, this issue has been fixed, please help update to see if your issue gets resolved, will close now, feel free to reopen.

Thanks for reporting and sorry for late reply, this issue has been fixed, please help update to see if your issue gets resolved, will close now, feel free to reopen.

How is this problem solved? Could you please provide the commit hash or release notes?

Thanks for reporting and sorry for late reply, this issue has been fixed, please help update to see if your issue gets resolved, will close now, feel free to reopen.

@Alvin1Zhang How is this problem solved? I didn't see the adc.c was modified
Could you please provide the commit hash or release notes?


loss of eyelid cilia and loss terms in general

The EQ for loss of eyelid cilia (http://purl.obolibrary.org/obo/MP_0000425) currently uses the absent pattern but this is not correct. The phenotype is about the inability to retain the eyelashes.
In general we could use a pattern for impaired/improved retention of an entity. We probably also need a new PATO term for this.

look at GO process - exogen (GO:0042638)
relate this to follicle

Checking annotations:
J:294 - occasionally denuded
J:45400 - possibly due to breakage?
J:230018 - loss associated with eyelid edema and other inflammatory issues
J:16021 - just says loss, possibly related to skin issues
J:169191 - just says absent lower lashes

can't use process as there are too many ways to get to the same end point

http://www.ontobee.org/ontology/MP?iri=http://purl.obolibrary.org/obo/MP_0001280 uses decreased amount

MP:0003246 - text definition says loss, eq uses absent but many annotations are partial loss


THPS2 Not unlocking drive correctly (works with Crash3 and CoolBoarders4) - seems to recover.

Before opening this kind of issue, please ensure:

Are you using a compatible console version? - Yes (verified with Crash Bandicoot 3)
Are you using CD-R media, and not CD-RW? (Not there yet)
Did you copy all the files in the expected format to the memory card? (Yes)

tonyhax version: 1.2.2 AND 1.2.3
Installation method: uLaunchElf and a PS2. Copied BESLEM-99999TONYHAX 1st, on its own so its it slot 1. No renaming of files.
Entry point game:   Tony Hawk's Pro Skater 2  SLES-02908/ANZ
Console model: SCPH 7002
Integrity check: Passes
BIOS version: BIOS: v4.1 12/16/97 E
Bug explanation:
THPS 2 - 'create skater' ->
Music doesn't stop, and the 'console' scrolls to 'Drive region: European' and stops.
verified with another memory card,
On screen:
tonyhax v1.2.2 🐬 orca.pet
Integrity check passed
BIOS: v4.1 12/16/97 E
Unlocking CD drive
Drive region: European
tonyhax v1.2.3 🐬 orca.pet
Integrity check passed
BIOS: v4.1 12/16/97 E
Resetting drive
Unlocking drive
The same card worked and verified with Crash Bandicoot 3 after failing for THPS2, on 1.2.2 and 1.2.3
If I boot up THPS2 after pre-booting with Crash3, the drive unlocks (but music keeps playing)

Also works with Cool Boarders 4. I can't see anything specific about the THPS saves, and it works with other titles on my console.

That's odd - THPS2 is one of the games I've tested and I know very well it works on real hardware, at least on my SCPH-102.

Yeah. I still think I must have done something wrong... but it works fine for other games, and I was careful to follow the script exactly

More testing - no change in symptoms if tonyhax and THPS2 are the only files on the card.
More testing - If I just pop the cd drive open it does work, even though it doesn't say 'Swap CD now'
I pop in an original disc and it continues on. (dive regions, swap cd now, and instantly boots the next disc).
i.e. 'works', but buggy.
The only difference I can tell is that THPS2 keeps playing music whilst the tonyhax spl is loading/running.

Just to be sure - you get to see the "Swap CD now" but after having inserted a new disc, or it does not appear at all?

@nkrul
Hiya, maybe you could try this to see if you get any results -> swap the discs immediatedly after the THPS-2 save file has been loaded, close CD lid, then continue as usual -> choose the “CREATE SKATER” menu and press X.
There was a bug like this with Sports Superbike (before Tonyhax v1.2.3) where the music would still continue playing but the console would freeze on the TonyHax screen.
Before TonyHax v1.2.3 addressed this bug, swapping the disc immediatedly after the save file was loaded, and the screen said "OK" - helped fix that problem. Hope it can help for you, just putting it out there as an idea to try. Fellow user from here "kingknuts" originally found this solution, see #22 for more details.

AFTER swapping discs it shows the 'Swap CD now' - briefly and the console scrolls past when it immediately loads the next game.
This does sound a lot like #22 . And it does work, so yeah.
Perhaps an [un]common issues section?
Thanks for the support people.

I wonder if it's only certain models or BIOS that are affected. I can confirm that on a
SCPH-101 NTSC U/C, BIOS v4.5 05/25/00 A
Tonyhax loaded via Tony Hawk 2 works well. The music continues to play when tonyhax is loaded, but I've never had an issue getting the program to run (only issues with the TH2 disc itself not loading).

@ nkrul
That's great news the 'work-around method'* gave you positive results :)
Yeah, that's how it worked on the bike gateway games (XS Moto, Castrol, Superbike 1/2). Swap the CD after the save file has been loaded (rather than later when asked at the TonyHax screen) then (as you said) it scrolls fast through the whole TonyHax instruction screen and loads (backup) game without any problems.
@socram8888 ...and yet nkrul was using TonyHax v1.2.3 which fixed that bug with XS Moto, Castrol, Superbike 1/2
@AmuroRayMan ...i will aim to write down my PSOne and PS1 BIOS' and message back later to compare with you guys here. Off the top of my head, i think my PS1 is same as nkrul (PAL v4.1 12/16/97) and my PSOne (PAL xx/xx/00) is similar to yours, but will aim to report back here later with actual BIOS.
Ciao for now

It's unlikely that it's issue #22 IMHO. That issue was that the disc drive didn't get reset in software and ignored the unlock commands while playing CD audio. The controller thus never acknowledged the commands, and tonyhax just got stuck waiting for the interrupt to happen. The workaround of opening the tray worked because the controller gets automatically reset and goes back to normal data mode. v1.2.3 issues on its own this reset command in software.
In this case you don't even get to see the "Integrity check passed" or the BIOS version message which happens even before any access to the disc drive takes place. And it's even weirder because it's a game I have actually also tested on physical hardware and confirmed to boot just fine.

@socram8888 ...it's strange that when nkrul tries #22 -> 'Swapping CD early method' (after gateway save file loaded 'OK') - it works.
Re: audio playing in the background on the purple / blue screens....
I found in tests, the 'Swapping CD early method' cuts off all (gateway game) audio music playing in the background once the CD lid has been opened, so the purple / blue loading screens have no audio.
However, when TonyHax v1.2.3 fixed the bug for XS Moto, Castrol, Superbike 1/2, the background music (from those gateway games) can still be heard on the "Purple" & "Blue" screens, before TonyHax loads up and boots backup game.

Sorry for delay, was away due to work stuff.
Here (if it helps) are the BIOS versions for my PSOne & Fat PS1
PSOne = Bios v4.4 03/24/00 (E)
Fat PS1 = Bios v3.0 01/06/97 (E)
...not quite the same as your BIOS versions (nkrul & AmuroRayMan)
Before TonyHax v1.2.3, both my PS1s had an issue / bug with XS Moto, Superbike 1 & 2, Castrol Racing, similar to your gate-way game problems / symptoms.
I have ordered THPS-2 from eBay so i can test that gate-way game, will aim to report back results for you guys once game arrives, all being well.

Unless I broke something, last time I tried tonyhax on real hardware (v1.2.1 I think it was) it worked just fine on my SCPH-102 (also with BIOS 4.4)

v1.3.1 Works just fine. I'll still clone the repo, just to play around.
Thanks dude <3

Perfect! I'll close the issue then.


Backported Decision tree off-by-one fix

Pull Request #210 included a bug fix for a off-by-one bug found thanks to the visualzation
(see https://github.com/RubixML/ML/pull/210#issuecomment-1097611719 for details).


CUDA extension are not installing

I already created discussion and wrote in issues. Unfortunately, only now I fully realized that the problem is still in the cuda extension. I tried a lot of methods from other issues, but none worked.
Now I can run models if I use use_triton=True, but it's worth turning it off as "CUDA extension not installed" or "name autogptq_cuda_256 not defined" errors pop up. Moreover, using triton the speed is about 2-3 tokens/s
I tried to compile from the source (it was the soulution in #130), but i had a lot of errors. I think it is because of when I install with pip install torch it supports cuda 11.7, but i have cuda 11.8. I tried this command pip install torch==2.0.0+cu118 torchvision==0.15.1+cu118 torchaudio==2.0.1 --index-url https://download.pytorch.org/whl/cu118 from pythorch docs, but i had this error
ERROR: Command errored out with exit status 1:
   command: /home/test/talakh-dir/.venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-kfhr47eo/lit/setup.py'"'"'; __file__='"'"'/tmp/pip-install-kfhr47eo/lit/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-rh3lnqpk
       cwd: /tmp/pip-install-kfhr47eo/lit/
  Complete output (6 lines):
  usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: setup.py --help [cmd1 cmd2 ...]
     or: setup.py --help-commands
     or: setup.py cmd --help

  error: invalid command 'bdist_wheel'
  ----------------------------------------
  ERROR: Failed building wheel for lit

Please, help me find the solution...

I have summarized all the advice i have received and i have seen in other issues. Now the speed is not perfect (at least it seems to me that it can be faster), but I am satisfied. about 16 tokens/s.
First of all problem was in my cuda version. I have 11.8, but torch supports 11.7 (when you install it with pip install torch)
So this is how I installed torch
pip3 uninstall -qy auto-gptq
pip3 uninstall -y torch torchvision torchaudio
pip3 install --no-cache-dir torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118

Thanks to TheBloke for this commads from other issue
Next I install auto_gptq from the source
git clone https://github.com/PanQiWei/AutoGPTQ.git && cd AutoGPTQ/
pip install .

TheBloke recomended me to use this command: GITHUB_ACTIONS=true pip3 install -v --no-cache-dir auto-gptq, but it is not working (at least for me)
After all these actions I finally can run model without triton and it works with inference`s speed about 16 tokens\s on my 3090TI.
If this is not the maximum speed I can get on my graphics card, I would be happy to hear some advice or try other options for installing auto_gptq and running the model

But there is one strange detail. When I am installing torch and auto_gptq with commands above, I have these errors:
For torch:
ERROR: Command errored out with exit status 1:
   command: /home/test/talakh-dir/.venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ww22j8x1/lit/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ww22j8x1/lit/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-j6rkfn3j
       cwd: /tmp/pip-install-ww22j8x1/lit/
  Complete output (6 lines):
  usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: setup.py --help [cmd1 cmd2 ...]
     or: setup.py --help-commands
     or: setup.py cmd --help

  error: invalid command 'bdist_wheel'
  ----------------------------------------
  ERROR: Failed building wheel for lit

For auto_gptq:
 ERROR: Command errored out with exit status 1:
   command: /home/test/talakh-dir/.venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-lnax5_v5/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-lnax5_v5/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-6fxu_9_g
       cwd: /tmp/pip-req-build-lnax5_v5/
  Complete output (6 lines):
  usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: setup.py --help [cmd1 cmd2 ...]
     or: setup.py --help-commands
     or: setup.py cmd --help

  error: invalid command 'bdist_wheel'
  ----------------------------------------
  ERROR: Failed building wheel for auto-gptq

And what is strange is that it works. I can load the model and use it without any errors or warnings

Hi, sorry for these! A patch fix will be released and should fix all the problems you encountered when using manually install. ❤
But once you installed correct pytorch successfully, I would recommend you install auto_gptq by using pre-compiled wheel that respect to your python and cuda version. For example pip install https://github.com/PanQiWei/AutoGPTQ/releases/download/v0.3.0/auto_gptq-0.3.0+cu118-cp39-cp39-linux_x86_64.whl

For the error error: invalid command 'bdist_wheel' it may because you are not install build and wheel before hand.

Thank you, I will try your recommendations.
And looking forward to the new patch


[Feature Request] Search by TMDB ID

Today I wanted to add a film to Flox that had a difficult title to search for. In fact, the film title was only one letter and Flox refused to even process my search request.
I think there are other examples of movies and TV shows that are difficult to search for. Perhaps a simple solution is to allow us to search by the TMDB ID directly. Indeed, I was able to pull up the movie using https://[my flox domain]/movies/[id] and add it my watchlist that way. It would be great if there was a way to find these titles without typing into the URL bar directly.

Hey, thank you for this idea. Makes sense :)
I will close this issue because i will completely redevelop Flox. In the next version, i will include something like this!


Allow a user to lease a cluster by name

Would be useful for testing different configurations.

I think that adding tags to each cluster would be more helpful here, so that we can lease a cluster across multiple dimensions (i.e. the memory & CPU configuration of the target cluster).
Alternatively, if the "query" on cluster is only going to be based on the compute, storage and network resources, we might be able to get those from the GKE API and just query on those attributes.
Thoughts?


Some Grammer improvement

Self-explanatory, I think...

I committed the things that still weren't correct as well as updating with current plans, so it's done now ig...

Ah, I see, thanks for merging still!

Ah, I see, thanks for merging still!

It's alright!


Message not consumed from Kafka

Hi, I am new to golang and I used sarama to read data from kafka. It worked fine. However, because the offset management was not there in sarama, I am trying to use sarama-cluster.
However, I am unable to consume messages as was possible when I was using sarama.
Here is my code
        var logger = log.New(os.Stderr, "", log.LstdFlags)

        config := cluster.NewConfig()
	config.Consumer.Return.Errors = true
	config.Group.Return.Notifications = true

        sarama.Logger = logger

	// Create new consumer
	consumer, _ := cluster.NewConsumer(brokers, "test-group", []string{"my-topic-name"}, config)

	defer func() {
		if err := consumer.Close(); err != nil {
			panic(err)
		}
	}()

	signals := make(chan os.Signal, 1)
	signal.Notify(signals, os.Interrupt)

	for {
		select {
		case err, more := <-consumer.Errors():
			if more {
				fmt.Println(err)
			}

		case messageFromKafka, more := <-consumer.Messages():
			if more {
				fmt.Fprintf(os.Stdout, "%s/%d/%d\t%s\t%s\n", messageFromKafka.Topic, messageFromKafka.Partition, messageFromKafka.Offset, messageFromKafka.Key, messageFromKafka.Value)
			}

		case ntf, more := <-consumer.Notifications():
			if more {
				fmt.Println("Rebalanced: %+v\n", ntf)
			}

		case <-signals:
			fmt.Println("Interrupt is detected")
			break
		}
	}

As per the logs, it seems to be connected as well :
2017/06/26 13:47:02 cluster/consumer sarama-f45d15bb-1492-4d21-96c4-63d6bebbeff9 consume "my-topic-name"/1 from -1
2017/06/26 13:47:02 cluster/consumer sarama-f45d15bb-1492-4d21-96c4-63d6bebbeff9 consume "my-topic-name"/0 from -1
2017/06/26 13:47:02 Connected to broker at xxx403.xxx:9092 (registered as #403)
2017/06/26 13:47:02 consumer/broker/403 added subscription to "my-topic-name"/1
2017/06/26 13:47:02 Connected to broker at xxx402.xxx:9092 (registered as #402)
2017/06/26 13:47:02 consumer/broker/402 added subscription to "my-topic-name"/0

Am I missing something here ?
What might be the potential reasons for this to fail ?
Please let me know if I can give you any more information.
PS : Similar code works fine with sarama.

Hey, you didn't really mention what exactly the problem is? Which bit is
failing for you? The only mistake I can see is the break after consuming
signals, which will break out of the select but not the for loop.
On 26 Jun 2017 5:32 am, "gauravsb"<EMAIL_ADDRESS>wrote:

Hi, I am new to golang and I used sarama to read data from kafka. It
worked fine. However, because the offset management was not there in
sarama, I am trying to use sarama-cluster.
Here is my code
    config := cluster.NewConfig()

config.Consumer.Return.Errors = true
config.Group.Return.Notifications = true
// Create new consumer
consumer, _ := cluster.NewConsumer(brokers, "test-group", []string{"my-topic-name"}, config)
defer func() {
if err := consumer.Close(); err != nil {
panic(err)
}
}()
signals := make(chan os.Signal, 1)
signal.Notify(signals, os.Interrupt)
for {
select {
case err, more := <-consumer.Errors():
if more {
fmt.Println(err)
}
  case messageFromKafka, more := <-consumer.Messages():
  	if more {
  		fmt.Fprintf(os.Stdout, "%s/%d/%d\t%s\t%s\n", messageFromKafka.Topic, messageFromKafka.Partition, messageFromKafka.Offset, messageFromKafka.Key, messageFromKafka.Value)
  	}

  case ntf, more := <-consumer.Notifications():
  	if more {
  		fmt.Println("Rebalanced: %+v\n", ntf)
  	}

  case <-signals:
  	fmt.Println("Interrupt is detected")
  	break
  }

}
Am I missing something here ?
What might be the potential reasons for this to fail ?
Please let me know if I can give you any more information.
PS : The same code works fine with sarama.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/bsm/sarama-cluster/issues/139, or mute the thread
https://github.com/notifications/unsubscribe-auth/AABA5ncPsopDN9do5q6WPPbFxIlFRDmLks5sHzR1gaJpZM4OE3YS
.

@gauravsb I tried the example provided in cmd/sarama-cluster-cli and it works for me. I noticed that you have added additional break statement.

Sorry for bothering. It seems to be working fine. Turns out that there some internal connection issue with kafka due to which it did not work.


webrtc, filewriter, filesystem NuGet packages outdated

Not sure if this is the right place to report this, but these packages have errors such as having bool instead of boolean and also don't support --noImplicitAny.

@staxmanade ?

@slikts can you look at the version you have installed? The most recent package was published from this repository at this commit https://github.com/borisyankov/DefinitelyTyped/blob/7c228c09302f51d19b6b93fcfc5decaf8e8bbaa2
https://www.nuget.org/packages/webrtc.TypeScript.DefinitelyTyped/ is up to version 0.2.0 (this morning when I checked)
Hope this helps,

I should have mentioned that the webrtc, filewriter and filesystem packages were installed as dependencies of the chrome package, sorry. The versions were 0.0.1, and manually upgrading them fixed it. Why doesn't the NuGet website or the manager inside of VS list the dependency versions? Also, why are the dependencies for the chrome package different in tsd?

This seems like a bug in NuGet (as document on this page http://docs.nuget.org/Create/Versioning) empty = latest version.

If you're using vs2015 then you're probably seeing the same issue reported in #5446


removed anything that has been deprecated in 1.26

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests


AttributeError: 'MySQLConnection' object has no attribute 'execute'

I am using chatterbot as follows:
from chatterbot import ChatBot
from sqlalchemy import create_engine
from sqlalchemy.pool import NullPool
from constants.database import *

 chatterbot = ChatBot(
        'Nicholas The Navigator',
        storage_adapter="chatterbot.storage.SQLStorageAdapter",
        logic_adapters=[
            {
                'import_path': 'chatterbot.logic.BestMatch'
            },
            {
                'import_path': 'chatterbot.logic.LowConfidenceAdapter',
                'threshold': 0.20,
                'default_response': 'I am sorry, but I cannot find things that you need. Maybe you should explore our website. '
            }
        ],
        trainer='chatterbot.trainers.ListTrainer'
    )

    chatterbot.train([
        "hi",
        "hello",
        "greetings!",
        "how are you?"
        "i am fine, thank you."
    ])

Upon writing the following code after this
# my sql connection for some custom tasks
# CONNECTION_STRING = 'mysql+mysqlconnector://userone:mypass@localhost/db_chatterbot'
my_engine = create_engine(CONNECTION_STRING, poolclass=NullPool).connect()

I am getting an error,
Traceback (most recent call last):
  File "D:/user.one/project/_analytics/Analytics/server.py", line 134, in <module>
    chatterbot = make_chatterbot()
  File "D:/user.one/project/_analytics/Analytics/server.py", line 128, in make_chatterbot
    my_engine = create_engine(CONNECTION_STRING, poolclass=NullPool).connect()
  File "D:\user.one\personal\_python\Anaconda3\lib\site-packages\sqlalchemy\engine\base.py", line 2102, in connect
    return self._connection_cls(self, **kwargs)
  File "D:\user.one\personal\_python\Anaconda3\lib\site-packages\sqlalchemy\engine\base.py", line 90, in __init__
    if connection is not None else engine.raw_connection()
  File "D:\user.one\personal\_python\Anaconda3\lib\site-packages\sqlalchemy\engine\base.py", line 2188, in raw_connection
    self.pool.unique_connection, _connection)
  File "D:\user.one\personal\_python\Anaconda3\lib\site-packages\sqlalchemy\engine\base.py", line 2158, in _wrap_pool_connect
    return fn()
  File "D:\user.one\personal\_python\Anaconda3\lib\site-packages\sqlalchemy\pool.py", line 345, in unique_connection
    return _ConnectionFairy._checkout(self)
  File "D:\user.one\personal\_python\Anaconda3\lib\site-packages\sqlalchemy\pool.py", line 788, in _checkout
    fairy = _ConnectionRecord.checkout(pool)
  File "D:\user.one\personal\_python\Anaconda3\lib\site-packages\sqlalchemy\pool.py", line 532, in checkout
    rec = pool._do_get()
  File "D:\user.one\personal\_python\Anaconda3\lib\site-packages\sqlalchemy\pool.py", line 1284, in _do_get
    return self._create_connection()
  File "D:\user.one\personal\_python\Anaconda3\lib\site-packages\sqlalchemy\pool.py", line 350, in _create_connection
    return _ConnectionRecord(self)
  File "D:\user.one\personal\_python\Anaconda3\lib\site-packages\sqlalchemy\pool.py", line 477, in __init__
    self.__connect(first_connect_check=True)
  File "D:\user.one\personal\_python\Anaconda3\lib\site-packages\sqlalchemy\pool.py", line 683, in __connect
    pool.dispatch.connect(self.connection, self)
  File "D:\user.one\personal\_python\Anaconda3\lib\site-packages\sqlalchemy\event\attr.py", line 246, in __call__
    fn(*args, **kw)
  File "D:\user.one\personal\_python\Anaconda3\lib\site-packages\chatterbot\storage\sql_storage.py", line 70, in set_sqlite_pragma
    dbapi_connection.execute('PRAGMA journal_mode=WAL')
AttributeError: 'MySQLConnection' object has no attribute 'execute'

However, upon commenting the chatterbot code, the error disappears. It seems like there is a problem with connecting underlying databases with sqlalchemy.
How do I solve this problem?

which version chatterbot are you using? To know chatterbot version python -m chatterbot --version.
If you are using older version try to upgrade to latest version pip install --upgrade chatterbot

@vkosuri
python -m chatterbot --version = 0.8.5

@mdalvi
I'm having this issue too, looks like SQLite(chatterbot default storage is SQLite) and MySQL aren't getting along well. To workaround this, i changed chatterbot storage to MySQL

@leandrohmvieira

To workaround this, i changed chatterbot storage to MySQL

And how do we do that?

@mdalvi something like this
bot = ChatBot('mysqlbot',
                  storage_adapter="chatterbot.storage.SQLStorageAdapter",
                  database_uri="mysql://user:password@host:port/databasename",
               		)


Add spacing around scrollbar

On the current version of water.css I find the scrollbar too thin to easily click and looks weird being right against the edge of the page with rounded corners, so I added space with a transparent border. @kognise Let me know if you disagree or there's any issue stopping a merge
This new styling looks more like YouTube's scrollbar. Here's a before and after.

For some godforsaken reason this doesn't work properly with auto theme, lemme take a look.


Update website examples

I was thinking we could update the web examples with algebra.parse() since it is much easier to write. For ex.
This:
var z = new Expression("z");
var eq1 = new Equation(z.subtract(4).divide(9), z.add(6));

Could become this:
var eq1 = algebra.parse("1/9 * z - 4/9 = z + 6");

That section is specific to building an equation with separate LHS and RHS sides. The process of building an equation from a string is covered in the parser section.

See #33


Add feature to view app description like in scoop.sh

maybe if you scoop search only 1 result of the app it will show the description of that app on terminal, like for example i search "googlechrome" it will show the description of that app like below

This is a good idea, although I think implementing it into the search would add unnecessary fluff. I will work on adding a seperate command, like scoop describe or something similar, which shows information like this.


Can not .create() values with model stored in MongoDb having "one-way association" with another model stored in MySQL

Sails version: v1.0.2
Node version: v8.1.2
NPM version: 4.2.0
DB adapter name: sails-mongo
DB adapter version: ^1.0.1
Operating system: Mac OSX

Hi,
This seems to be a bug in sails-mongo adapter v 1.0.1.
Sails Mongo Adapter seems to assume that the foreign keys (One Way Association defined using "model" attribute) have to be "Mongo Keys" even if the referenced model lives in "MySQL".
Here is how to replicate:
I have a Users model stored in MongoDb and a UserTypes model stored in MySQL:
Users.js:
module.exports = {

  datastore: 'mongoDb',
  attributes: {
   id: {type: 'string', columnName: '_id', required: false},

    name: {
      type: 'string',
      required: false,
      allowNull: true,
      maxLength: 50,
      minLength: 3
    },

    userType: {model: 'usertypes', required: true},
  }
};

and UserTypes.js:
module.exports = {

  datastore: 'default',
  attributes: {

    id: {type: 'number', autoIncrement: true},

    label: {
      type: 'string',
      maxLength: 255,
      required: true,
      unique: true
    },
    createdAt: false,
    updatedAt: false,
    users: {collection: 'users', via: 'userType'}
  }
};

where default datastore is MySQL and mongoDb datastore is MongoDb.
When I try to create a new User:
Users.create({name: "Shivam", userType: 1})

I get following error:
{ AdapterError: Unexpected error from database adapter: Invalid replacement foreign key value provided for association (`userType`).  Cannot interpret `1` as a Mongo id.

(Usually, this is the result of a bug in application logic.)
For more info on Mongo ids, see:
• https://docs.mongodb.com/manual/reference/bson-types/#objectid
• http://sailsjs.com/support

    at _afterPotentiallyFinding (/My_Project_Root//node_modules/waterline/lib/waterline/methods/find-or-create.js:258:17)
    at _afterPotentiallyRunningAfterLC (/My_Project_Root//node_modules/waterline/lib/waterline/methods/find-one.js:328:20)
    at _maybeRunAfterLC (/My_Project_Root//node_modules/waterline/lib/waterline/methods/find-one.js:322:20)
    at _afterFetchingRecords (/My_Project_Root//node_modules/waterline/lib/waterline/methods/find-one.js:324:13)
    at _afterGettingPopulatedPhysicalRecords (/My_Project_Root//node_modules/waterline/lib/waterline/utils/query/help-find.js:754:12)
    at /My_Project_Root//node_modules/waterline/lib/waterline/utils/query/help-find.js:151:16
    at Object.success (/My_Project_Root//node_modules/sails-mongo/lib/private/do-with-connection.js:254:18)
    at /My_Project_Root//node_modules/machine/lib/private/help-build-machine.js:1354:30
    at _tryToRunCb (/My_Project_Root//node_modules/parley/lib/private/Deferred.js:542:20)
    at /My_Project_Root//node_modules/parley/lib/private/Deferred.js:755:16
    at /My_Project_Root//node_modules/machine/lib/private/help-build-machine.js:966:24
    at Function.handlerCbs.success (/My_Project_Root//node_modules/machine/lib/private/help-build-machine.js:826:26)
    at Object.fn (/My_Project_Root//node_modules/sails-mongo/lib/private/machines/release-connection.js:77:18)
    at wrapper (/My_Project_Root//node_modules/@sailshq/lodash/lib/index.js:3275:19)
    at Deferred.parley.now.flaverr.name [as _handleExec] (/My_Project_Root//node_modules/machine/lib/private/help-build-machine.js:1068:17)
    at Deferred.exec (/My_Project_Root//node_modules/parley/lib/private/Deferred.js:679:10)
    at Deferred.switch (/My_Project_Root//node_modules/machine/lib/private/help-build-machine.js:1306:16)
    at /My_Project_Root//node_modules/sails-mongo/lib/private/do-with-connection.js:242:92
    at /My_Project_Root//node_modules/sails-mongo/lib/private/do-with-connection.js:123:18
    at Object.success (/My_Project_Root//node_modules/sails-mongo/lib/private/build-std-adapter-method.js:61:47)
    at /My_Project_Root//node_modules/machine/lib/private/help-build-machine.js:1354:30
    at _tryToRunCb (/My_Project_Root//node_modules/parley/lib/private/Deferred.js:520:18)
  cause:
   { AdapterError: Unexpected error from database adapter: Invalid replacement foreign key value provided for association (`userType`).  Cannot interpret `1` as a Mongo id.
   (Usually, this is the result of a bug in application logic.)
   For more info on Mongo ids, see:
   • https://docs.mongodb.com/manual/reference/bson-types/#objectid
   • http://sailsjs.com/support
       at _afterPotentiallyFinding (/My_Project_Root//node_modules/waterline/lib/waterline/methods/find-or-create.js:258:17)
       at _afterPotentiallyRunningAfterLC (/My_Project_Root//node_modules/waterline/lib/waterline/methods/find-one.js:328:20)
       at _maybeRunAfterLC (/My_Project_Root//node_modules/waterline/lib/waterline/methods/find-one.js:322:20)
       at _afterFetchingRecords (/My_Project_Root//node_modules/waterline/lib/waterline/methods/find-one.js:324:13)
       at _afterGettingPopulatedPhysicalRecords (/My_Project_Root//node_modules/waterline/lib/waterline/utils/query/help-find.js:754:12)
       at /My_Project_Root//node_modules/waterline/lib/waterline/utils/query/help-find.js:151:16
       at Object.success (/My_Project_Root//node_modules/sails-mongo/lib/private/do-with-connection.js:254:18)
       at /My_Project_Root//node_modules/machine/lib/private/help-build-machine.js:1354:30
       at _tryToRunCb (/My_Project_Root//node_modules/parley/lib/private/Deferred.js:542:20)
       at /My_Project_Root//node_modules/parley/lib/private/Deferred.js:755:16
       at /My_Project_Root//node_modules/machine/lib/private/help-build-machine.js:966:24
       at Function.handlerCbs.success (/My_Project_Root//node_modules/machine/lib/private/help-build-machine.js:826:26)
       at Object.fn (/My_Project_Root//node_modules/sails-mongo/lib/private/machines/release-connection.js:77:18)
       at wrapper (/My_Project_Root//node_modules/@sailshq/lodash/lib/index.js:3275:19)
       at Deferred.parley.now.flaverr.name [as _handleExec] (/My_Project_Root//node_modules/machine/lib/private/help-build-machine.js:1068:17)
       at Deferred.exec (/My_Project_Root//node_modules/parley/lib/private/Deferred.js:679:10)
       at Deferred.switch (/My_Project_Root//node_modules/machine/lib/private/help-build-machine.js:1306:16)
       at /My_Project_Root//node_modules/sails-mongo/lib/private/do-with-connection.js:242:92
       at /My_Project_Root//node_modules/sails-mongo/lib/private/do-with-connection.js:123:18
       at Object.success (/My_Project_Root//node_modules/sails-mongo/lib/private/build-std-adapter-method.js:61:47)
       at /My_Project_Root//node_modules/machine/lib/private/help-build-machine.js:1354:30
       at _tryToRunCb (/My_Project_Root//node_modules/parley/lib/private/Deferred.js:520:18)
     name: 'AdapterError',
     adapterMethodName: 'create',
     modelIdentity: 'users',
     raw:
      { Error: Invalid replacement foreign key value provided for association (`userType`).  Cannot interpret `1` as a Mongo id.
      (Usually, this is the result of a bug in application logic.)
      For more info on Mongo ids, see:
      • https://docs.mongodb.com/manual/reference/bson-types/#objectid
      • http://sailsjs.com/support
          at /My_Project_Root//node_modules/sails-mongo/lib/private/machines/private/reify-values-to-set.js:95:35
          at /My_Project_Root//node_modules/@sailshq/lodash/lib/index.js:3253:15
          at baseForOwn (/My_Project_Root//node_modules/@sailshq/lodash/lib/index.js:2223:14)
          at /My_Project_Root//node_modules/@sailshq/lodash/lib/index.js:3223:18
          at Function.<anonymous> (/My_Project_Root//node_modules/@sailshq/lodash/lib/index.js:3526:13)
          at reifyValuesToSet (/My_Project_Root//node_modules/sails-mongo/lib/private/machines/private/reify-values-to-set.js:68:5)
          at Object.fn (/My_Project_Root//node_modules/sails-mongo/lib/private/machines/create-record.js:58:7)
          at wrapper (/My_Project_Root//node_modules/@sailshq/lodash/lib/index.js:3275:19)
          at Deferred.parley.now.flaverr.name [as _handleExec] (/My_Project_Root//node_modules/machine/lib/private/help-build-machine.js:1068:17)
          at Deferred.exec (/My_Project_Root//node_modules/parley/lib/private/Deferred.js:679:10)
          at Deferred.switch (/My_Project_Root//node_modules/machine/lib/private/help-build-machine.js:1306:16)
          at Object.during (/My_Project_Root//node_modules/sails-mongo/lib/private/build-std-adapter-method.js:74:18)
          at _makeCallToDuringFn (/My_Project_Root//node_modules/sails-mongo/lib/private/do-with-connection.js:109:17)
          at /My_Project_Root//node_modules/sails-mongo/lib/private/do-with-connection.js:128:7
          at Object.success (/My_Project_Root//node_modules/sails-mongo/lib/private/do-with-connection.js:91:16)
          at /My_Project_Root//node_modules/machine/lib/private/help-build-machine.js:1354:30
          at _tryToRunCb (/My_Project_Root//node_modules/parley/lib/private/Deferred.js:542:20)
          at /My_Project_Root//node_modules/parley/lib/private/Deferred.js:755:16
          at /My_Project_Root//node_modules/machine/lib/private/help-build-machine.js:966:24
          at Function.handlerCbs.success (/My_Project_Root//node_modules/machine/lib/private/help-build-machine.js:826:26)
          at Object.fn (/My_Project_Root//node_modules/sails-mongo/lib/private/machines/get-connection.js:61:18)
          at wrapper (/My_Project_Root//node_modules/@sailshq/lodash/lib/index.js:3275:19) code: 'E_CANNOT_INTERPRET_AS_OBJECTID' } },
  isOperational: true,
  adapterMethodName: 'create',
  modelIdentity: 'users',
  raw:
   { Error: Invalid replacement foreign key value provided for association (`userType`).  Cannot interpret `1` as a Mongo id.
   (Usually, this is the result of a bug in application logic.)
   For more info on Mongo ids, see:
   • https://docs.mongodb.com/manual/reference/bson-types/#objectid
   • http://sailsjs.com/support
       at /My_Project_Root//node_modules/sails-mongo/lib/private/machines/private/reify-values-to-set.js:95:35
       at /My_Project_Root//node_modules/@sailshq/lodash/lib/index.js:3253:15
       at baseForOwn (/My_Project_Root//node_modules/@sailshq/lodash/lib/index.js:2223:14)
       at /My_Project_Root//node_modules/@sailshq/lodash/lib/index.js:3223:18
       at Function.<anonymous> (/My_Project_Root//node_modules/@sailshq/lodash/lib/index.js:3526:13)
       at reifyValuesToSet (/My_Project_Root//node_modules/sails-mongo/lib/private/machines/private/reify-values-to-set.js:68:5)
       at Object.fn (/My_Project_Root//node_modules/sails-mongo/lib/private/machines/create-record.js:58:7)
       at wrapper (/My_Project_Root//node_modules/@sailshq/lodash/lib/index.js:3275:19)
       at Deferred.parley.now.flaverr.name [as _handleExec] (/My_Project_Root//node_modules/machine/lib/private/help-build-machine.js:1068:17)
       at Deferred.exec (/My_Project_Root//node_modules/parley/lib/private/Deferred.js:679:10)
       at Deferred.switch (/My_Project_Root//node_modules/machine/lib/private/help-build-machine.js:1306:16)
       at Object.during (/My_Project_Root//node_modules/sails-mongo/lib/private/build-std-adapter-method.js:74:18)
       at _makeCallToDuringFn (/My_Project_Root//node_modules/sails-mongo/lib/private/do-with-connection.js:109:17)
       at /My_Project_Root//node_modules/sails-mongo/lib/private/do-with-connection.js:128:7
       at Object.success (/My_Project_Root//node_modules/sails-mongo/lib/private/do-with-connection.js:91:16)
       at /My_Project_Root//node_modules/machine/lib/private/help-build-machine.js:1354:30
       at _tryToRunCb (/My_Project_Root//node_modules/parley/lib/private/Deferred.js:542:20)
       at /My_Project_Root//node_modules/parley/lib/private/Deferred.js:755:16
       at /My_Project_Root//node_modules/machine/lib/private/help-build-machine.js:966:24
       at Function.handlerCbs.success (/My_Project_Root//node_modules/machine/lib/private/help-build-machine.js:826:26)
       at Object.fn (/My_Project_Root//node_modules/sails-mongo/lib/private/machines/get-connection.js:61:18)
       at wrapper (/My_Project_Root//node_modules/@sailshq/lodash/lib/index.js:3275:19)

 code: 'E_CANNOT_INTERPRET_AS_OBJECTID' } }

However, .populate() works just fine:
Users.findOne('USER_ID_HERE').populate('userType')

yields the following result:
{
  id: "USER_ID_HERE",
  name: "Shivam",
  userType: {
    id: 1,
    label: "Student"
  }
}

Am I doing something wrong or is this actually a bug?

I have also posted a Question on Stack Overflow explaining the same:
SailsJS 1.0 : Error in .create() for a model in Mongo with One Way Association to a model stored in MySQL

UPDATE:
Setting dontUseObjectIds: true for the UserType Model (which is stored in MySQL) seems to fix the issue.
However, using a model setting which is ONLY TO BE USED WITH SAILS-MONGO Adapter for a Model using sails-mysql adapter is strange as well as un-documented.
Now, I'm wondering, if this is bug or an undocumented feature?

Thanks for the reply.
Now I see!
This is a duplicate of #4367


SNOW-1794510 Basic AST Decoder

Which Jira issue is this PR addressing? Make sure that there is an accompanying issue to your PR.
<!---
In this section, please add a Snowflake Jira issue number.
<p>Note that if a corresponding GitHub issue exists, you should still include
the Snowflake Jira issue number. For example, for GitHub issue
https://github.com/snowflakedb/snowpark-python/issues/1400, you should
add "SNOW-1335071" here.
--->
Fixes SNOW-1794510

Fill out the following pre-review checklist:

[x] I am adding a new automated test(s) to verify correctness of my new code

[ ] If this test skips Local Testing mode, I'm requesting review from @snowflakedb/local-testing

[ ] I am adding new logging messages
[ ] I am adding a new telemetry message
[ ] I am adding new credentials
[ ] I am adding a new dependency
[ ] If this is a new feature/behavior, I'm adding the Local Testing parity changes.
[x] I acknowledge that I have ensured my changes to be thread-safe. Follow the link for more information: Thread-safe Developer Guidelines

Please describe how your code solves the related issue.

Decoder that takes in a base64 encoded protobuf object, converts it into Snowpark code and runs the code. The results are stored in a symbol table.
Right now create_dataframe, col, DataFrame.select, Column.alias, Column.cast, Column.add, Table, and make_interval are supported.
The decoder tests can be run with --decoder along with the existing expectation tests. This compares the protobuf generated by the Snowpark test code with the encode-decode-encode version of the protobuf to verify that the decoder works as expected.

Currently blocked on the following PRs:
https://github.com/snowflakedb/snowpark-python/pull/2712
and #234459 in the monorepo.


Modified condition to parse Quick Reply properly

This little modification solves the issue of quick reply not being able to parse out as postback.
Even if the request contains quick reply, Claudia won't be able to parse it as a postback because the first condition is already fulfilled and it never goes till 'else-if' statement where the quick-reply is actually parsed.

Hm, doesn't this part of the code doing exactly that?
https://github.com/claudiajs/claudia-bot-builder/blob/master/lib/facebook/parse.js#L21-L29

The part highlighted by you is correct.
Problem is that it is never executed even if messageObject contains a Quick Reply.
The messageObject of a normal Text message will contain message and message.text fields. Which the first if statement checks. Once the first condition is satisfied, rest are ignored.
A Quick Reply also contains the above fields as well as message.quick_reply and message.quick_reply.payload fields.
As both Text and Quick Reply message contains the same fields, the code never enters the Quick Reply else if statement because the first condition is already satisfied as it contains the two fields which are same to both.
The little modification I made make sure that first condition is only executed if the message does not contain a Quick Reply, so that the actual condition block of Quick Reply gets executed instead of being ignored.

Makes sense, thanks and thanks for detailed explanation!

Thanks for the merge. And big thanks to you and your team for developing Claudia. It is making life easier for students like me to develop and deploy APIs and bots on AWS! :)

Pushed to npm in v2.9.0, release notes are here.
Thanks again :)
Feel free to send PR for anything you think could be useful for Claudia and, of course, to suggest any new features.