undefined reference to `__muloti4' (crystal 0.31.1-1)

$ uname -a
Linux laptop 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

$ crystal version
Crystal 0.31.1 [0e2e1d067] (2019-09-30)

LLVM: 8.0.0
Default target: x86_64-unknown-linux-gnu

$ crystal build src/repl/main.cr -o a.out --debug
I-nt128.o: In function `**':
/usr/share/crystal/src/int.cr:272: undefined reference to `__muloti4'
/usr/share/crystal/src/int.cr:274: undefined reference to `__muloti4'
I-nterpreter5858V-M-.o: In function `do_negate':
/home/gummybears/crystal/interp/src/vm/do.cr:39: undefined reference to `__muloti4'
I-nterpreter5858V-M-.o: In function `operation':
/home/gummybears/crystal/interp/src/vm/value.cr:77: undefined reference to `__muloti4'
I-nterpreter5858V-M-.o: In function `do_imultiply':
/home/gummybears/crystal/interp/src/vm/do.cr:645: undefined reference to `__muloti4'
I-nterpreter5858V-M-.o:/home/gummybears/crystal/interp/src/vm/do.cr:716: more undefined references to `__muloti4' follow
collect2: error: ld returned 1 exit status
Error: execution of command failed with code: 1: `cc "${@}" -o '/home/gummybears/crystal/interp/a.out'  -rdynamic  -lreadline -lz -lxml2 -lpcre -lm /usr/bin/../lib/crystal/lib/libgc.a -lpthread /usr/share/crystal/src/ext/libcrystal.a -levent -lrt -ldl -L/usr/bin/../lib/crystal/lib -L/usr/lib -L/usr/local/lib`

I think this is the cause http://lists.llvm.org/pipermail/llvm-bugs/2013-June/028981.html
as I am doing i128 multiplications

@gummybears, I left a comment at https://github.com/crystal-lang/crystal/issues/7514#issuecomment-538994436 . If you want int128 bits right now you might need to to compile and link compiler-rt.

@bcardiff,
I don't need the int128 bits multiplication/division/addition/subtraction right now, I am already using it,
no problems with Crystal 0.30.1
Crystal 0.30.1 [5e6a1b672] (2019-08-12)
LLVM: 4.0.0
Default target: x86_64-unknown-linux-gnu

@gummybears but the stacktrace shows you are. Overflow is now enabled by default and that changes some operations. Use -Ddisable_overflow to double-check this. This flag is temporal though. More info at #8170

Things are getting confusing now. I am working with Crystal 0.30.1 and I am using int128 which works fine.
However today I thought to do an upgrade from Crystal 0.30.1 to 0.31.1 and see what happens with my code and test specs. So I decided to run my test specs but alas I am getting a link error which I am reporting here.

muloti4 is used to detect overflow in Int128. You should get the same error in 0.30.1 if -Dpreview_overflow is used.

Sorry for the delay, I had to read the links you were referring to. I did a test per your suggestion with the -Dpreview_overflow flag and indeed I am seeing the same error message with 0.30.1.
I am not going to use compiler-rt but think I will use i64 instead.
Thanks for the help


Wrappers for EEPROM calls

There are 6 EEPROM locations, do these need 6 getter/setter combinations?
Or a setEEPROM2()?
To be defined

requested a free sample

will be added in 0.3.0 (currently under development)

solved in 0.3.0


feat: add multiple custom assets

closes: https://github.com/FuelLabs/fuels-rs/issues/475
Initially, the idea was to have something like this:
WalletsConfig::new_multiple_assets([(asset_id_1, 23), (asset_id_2, 42), ...])
However, we have decided that the user should also be able to set the number of coins and the amount per coin. So we have the following new method:
WalletsConfig::new_multiple_assets([(asset_id_1, 100, 23), (asset_id_2, 100, 42), ...]) where we specify both the number of coins and the amount per coin in the tuple.
I have:

refactored the WalletConfig and implemented the new method
added the underlying function to create the coins and added a unit test
added a test with the provider to see if the assets are generated and if we can retrieve them
added an example and updated the docs

Regarding the approach. There is an open question whether we should create the base asset automatically or leave it to the user. I went with the second option. If the user is defining custom assets then maybe he also wants to be able to specify the number of coins and amount of the base asset. I have added this to the docs. I would like to hear you opinion on this.

In the last commit I did some refactoring of the test and removed unnecessary lines and increased the number of wallets. I had it set to 1 for debugging.

@vnepveu thanks for the review! In the end, I have added the AssetConfig struct and refactored the new_multiple_assets function. I like how it looks now. Let's see what others say :)

Thanks @MujkicA for the review!

Branch outdated -- could you sync with base? 😁

Adding the breaking label and editing the title to feat! so we can remember this is a breaking change (we're changing WalletsConfig's pub methods) once we release it.

@digorithm thanks for the review!


Parquet data loader in R

          @Fil yes that is what I will try:

Write to a temporary file
Dump to stdout

Originally posted by @espinielli in https://github.com/observablehq/framework/issues/873#issuecomment-1954054217

I have been able to correctly get a Parquet data loader in R as follows (on OSs with cat):
library(arrow)

df <- data.frame(
  Name = c("Alice", "Bob", "Charlie", "Diana"),
  Age = c(25,  30,  35,  40)
)

# Write the data frame to a temporary Parquet file
temp_file <- tempfile(fileext = ".parquet")
arrow::write_parquet(df, sink = temp_file)

system2('/bin/cat', args = temp_file)

A little bit too convoluted IMHO


Update terminology from hosts/connections to nodes

Closed in https://github.com/elastic/elastic-transport-python/commit/4de62d2f73a6f0f33fccce184633c3ae6296350b


Add a "Today" button that jumps to the current date/month

Intro
This issue has been opened specifically to give 100Devs members a chance to get involved. The issues presented will have more instruction and be easier to solve. If you are already contributing to this project or your skills are well-ahead of this issue, consider letting someone else take this on!
Summary
Add a button that says something like "Today" or "Jump To Current Date" that brings the user back to the current month on the Calendar page.
You will also want to know the following React concepts if you want to take this on:

React Hooks (useState, useEffect)
React Functional Components

Creating your branch

Fork the Together repository.
Navigate to the development branch using git checkout development.
Create a new branch using git checkout -b your-branch-name-here.
If you have questions, more instructions about this can be found in our contributing document.

Setting up a local server

Execute npm install
Execute npm run dev-concurrent in a vscode terminal.

-Push your commit(s) using git push.
-Open your fork in github and you will see a message saying you can create a pull request. Make sure your pull request is pulling into the 'development' branch instead of 'main'.
Who to contact
If you have any questions, you can either send a message in the Together channel in 100Devs Discord or in this thread.
Relevant file locations
Once you have cloned your fork of the repository into your IDE, navigate to client\src\features\calendar to see the Calendar files you'll likely be working with. You may also need to modify the useDate hook, which is located at client\src\hooks\useDate.js
Potential Problems
There are a couple of devs working on a re-design of the calendar page as listed in Issue #176 . It may be good to be in touch with those folks, although I don't forsee there being too much of an issue. The main focus here should be the implementation of a working button, i.e. functionality > aesthetics.
If you're interested in working on this feature, please comment so you can be assigned

I would love to work on this issue

I would love to work on this issue

It's yours! If you would like some advice with design @natashka333 can answer any questions.

Would love to tag along if it's not too late! @MaViSunshine

Hey, @MaViSunshine just checking in on this. Thank you!

Hey @MaViSunshine I'm going to go ahead and reassign this task to @WonjaeSung. I hope you're doing well!

Hey @WonjaeSung I'm checking in on this thank ya!

@WonjaeSung has requested to be removed from this issue and it is now open!

hey, if this would be considered a good first issue then I'd be interested in giving it a go

hey, if this would be considered a good first issue then I'd be interested in giving it a go

You're assigned!

Hey,
So I've got as far as adding button that does what it's supposed to, but wasn't sure how you wanted it to be styled. For now I found a placeholder icon - BsCalendarCheck, is there a preferred icon and tiptext that should go on this, as well as where it should be situated in the header? This is what I've currently got:

Hi @soph-em , thanks for you contribution! I believe, we want to go with Text button.

Thank you! I'll style it like that before submitting a PR


Allow passing GuzzleHttp\Client into Recombee client constructor

I think it might be better to pass the Guzzle client in the options array along with other optional settings (under guzzleClient key as the keys are camelCase).

Okay, we have no problems with this. Will you do this, or should I send another PR?

@matyx Another PR would be great. Thanks!

Closing in favor of #28


Instructions not needed for ASP .Net Core 6

In the .Net Core CLI instructions, the below packages are available for ASP .Net Core 7 or above but are shown for ASP .Net Core 6 as well.
Microsoft.EntityFrameworkCore.Design
Microsoft.VisualStudio.Web.CodeGeneration.Design
These instructions have a cascading effect in the documentation in the link as well, not stopping the user to start with ASP .Net Core 6 .  -> https://learn.microsoft.com/en-us/aspnet/core/security/authentication/identity?view=aspnetcore-6.0&tabs=netcore-cli

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

ID: 804e24dd-7e30-8cf5-2c99-1ffacb4582f6
Version Independent ID: 3e25547b-e2c9-6634-2c38-2a77207f17d4
Content: Scaffold Identity in ASP.NET Core projects
Content Source: aspnetcore/security/authentication/scaffold-identity.md
Product: aspnet-core
Technology: aspnetcore-security
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

What instructions?
Microsoft.EntityFrameworkCore.Design isn't in the .NET 6 version of the doc.

The issue is actually there in the Scaffold Identity in ASP.NET Core projects page, where it talks about installing  dotnet-aspnet-codegenerator and the relevant packages including Microsoft.EntityFrameworkCore.Design which is referred to in the Introduction to Identity on ASP.NET Core page below this command
dotnet aspnet-codegenerator identity -dc WebApp1.Data.ApplicationDbContext --files "Account.Register;Account.Login;Account.Logout;Account.RegisterConfirmation" --useSqLite

I am not sure if the user can continue the instructions for the ASP .Net 6.0 from this point onwards.


[PB-692]: feat/allow coupon code in updateSubscriptionPrice

Add coupon code to updateSubscriptionPrice to upgrade any payment plan to an offer.

Codecov Report

Merging #167 (ed2f856) into master (2160209) will not change coverage.
The diff coverage is 50.00%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@           Coverage Diff           @@
##           master     #167   +/-   ##
=======================================
  Coverage   67.45%   67.45%
=======================================
  Files          39       39
  Lines        1014     1014
  Branches      140      140
=======================================
  Hits          684      684
  Misses        295      295
  Partials       35       35

Files Changed
Coverage Δ

src/drive/payments/index.ts
53.84% <50.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
:loudspeaker: Have feedback on the report? Share it here.


Feature Request: Smart In-word completion

It'd be nice if completion candidates were filtered not only based on the prefix but also consider the suffix if completing in the middle of a word (e.g. foo_<TAB>_baz).  If there's a space after the cursor, this feature doesn't apply.
Behavior specification:
Let's assume I'm completing foo_|_baz with the cursor positition indicated by |.
Case 1. I have foo_bar_baz somewhere in completion sources.  The completion should result in foo_bar_baz.
Case 2. I don't have anything matching the wildcard foo_*_baz in the completion sources but have foo_quux.  The completion should then fallback to matching just the prefix and result in completing to foo_quux_baz.

This one has been moved from config.fuzzy.keyword_range to config.trigger.completion.keyword_range


#2514 fix bug where it stopped reporting the sum of pledges

I rule and have completed some work on Case Manager that's ready for review!
This fixes a bug where it was returning a list of the external pledges instead of summing up the value.
previous code before what i think is an oops is:
sum = 0
all_pledges = external_pledges.all
all_pledges.each do |pledge|
  sum += pledge.try :amount
end
sum

i think right now, given the fact we have amount on external_pledges, we can just lean on the sum function in activerecord. Added tests to account for what i think are the cases, since i think we just deal with USD.
It relates to the following issue #s:

Fixes #2514

For reviewer:

Hey Ian, awesome to hear from you! Hope you are doing well. (I'm on
vacation this wknd but wanted to say hi)
On Mon, Jul 4, 2022, 12:18 AM Ian Norris @.***> wrote:

I rule and have completed some work on Case Manager that's ready for
review!
This fixes a bug where it was returning a list of the external pledges
instead of summing up the value.
previous code before what i think is an oops is:
sum = 0
all_pledges = external_pledges.all
all_pledges.each do |pledge|
sum += pledge.try :amount
end
sum
i think right now, given the fact we have amount on external_pledges, we
can just lean on the sum function in activerecord. Added tests to account
for what i think are the cases, since i think we just deal with USD.
It relates to the following issue #s:

Fixes #2514
https://github.com/DARIAEngineering/dcaf_case_management/issues/2514

For reviewer:
You can view, comment on, or merge this pull request online at:
https://github.com/DARIAEngineering/dcaf_case_management/pull/2633
Commit Summary

bb3c12d
https://github.com/DARIAEngineering/dcaf_case_management/pull/2633/commits/bb3c12dab1edf2a7d8b082b66646c02af715b190
#2514 fix bug where it stopped reporting the sum of pledges

File Changes
(2 files
https://github.com/DARIAEngineering/dcaf_case_management/pull/2633/files
)

M app/models/concerns/exportable.rb
https://github.com/DARIAEngineering/dcaf_case_management/pull/2633/files#diff-782e8805eab6147193160d4343113e58f3e40b908f310a961cffda0da8350577
(2)
M test/models/patient/exportable_test.rb
https://github.com/DARIAEngineering/dcaf_case_management/pull/2633/files#diff-1ab57477b36ea04d280a1596279d0522253634acd12916aa61187e0df9d6f5cb
(12)

Patch Links:

https://github.com/DARIAEngineering/dcaf_case_management/pull/2633.patch
https://github.com/DARIAEngineering/dcaf_case_management/pull/2633.diff
—
Reply to this email directly, view it on GitHub
https://github.com/DARIAEngineering/dcaf_case_management/pull/2633, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AA5QB5HXPXZWCJGJAQIJQX3VSKF3NANCNFSM52SFDBCA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


[TC-44] TR fd leak observed when new HTTPS DS is added without certificate

In TC 1.7, when a new HTTPS DS (HTTP 302 routing) is added without certificate, there will be fd leak observed on TR. The connections to TM stay in CLOSE-WAIT, which begins to show ~20mins after a new DS without cert/key is added.
And CrState appears to be blocked in ~20mins as well, i.e. no request from TR to TM to fetch CrState.
Author: John Shen
JIRA Link: https://issues.apache.org/jira/browse/TC-44
Found Version: 1.7.0

closing based on #176

Should have read a little closer...
This is still an issue. Would like to fix. Waiting on a better solution.

bumping to major because if applicable still this would have a large impact on traffic control.

@hbeatty - this issue is from TC 1.7. we (comcast) have not seen the issue. have you seen it recently or can we close this?


LTS2 test fixes

These are test fixes backported from the main branch needed for
successful CI run of a RISC-V SMP configuration.

tests/kernel/fpu_sharing: Run test with MP_NUM_CPUS=1
tests/kernel/smp: Add SMP switch torture test
tests: kernel/smp: wait for threads to exits between tests
tests: lifo_usage: make it less susceptible to SMP races
tests/kernel/mem_protect: Check for thread_userspace_local_data
tests: mem_protect: enlarge heap size of RISCV64
tests: mem_protect: avoid allocating K_OBJ_MSGQ in userspace.
tests: mem_protect: ensure allocated objects are initialized
tests: Disable HW stack protection for some mpu tests

@npitre - can you create an issue. Actually, many of these changes are quite useful for SMP on RISC-V as well as other architectures.

@andyross - another one for your approval


Tags for content organization

In napari/napari.github.io#176 and the Documentation Working Group meetings, we discussed the idea of implementing tags for content in the napari.org website to further help organization. The goal, initially, is to keep tags consistent with what is to be implemented for the napari hub. From @neuromusic's comment on napari/napari.github.io#176:

for reference, here's the set of categories we're planning to feature on the napari hub:

Image registration
Image correction
Image enhancement
Image reconstruction
Pixel classification
Image feature detection
Image annotation
Filament tracing
Object classification
Object-based colocalisation
Object feature extraction
Object tracking
Clustering
Frequency domain analysis
Pixel-based colocalisation
Fluorescence correlation spectroscopy
Optical flow analysis
Image Segmentation

In addition, I would suggest:

Python beginner
Layers
Customization
Community-generated content (depending on the opinion of the Documentation working group)

The tags are now live and managed by sphinx-tags. New tags can be added as needed, so I'm closing this issue for now.


Changes in readme.md

ISSUE #46
Describe the changes you've made:
I corrected the website's name in the About section, corrected and changed a few sentences in the documentation to make it more error-free.
Added a few ':' wherever found necessary.
Describe if there is any unusual behavior of your code(Write NA if there isn't)
NA
Changes made under DevIncept Open Source Program.

@manasb15 remove":" from every section project admin, license, etc.
Add we in this line: not being able to find what 'we' are looking for,

@QAZIMAAZARSHAD Okay makes sense got it.

@satyampgt4 we will add labels in PR after they are successfully merged so PR's which were merged by mistake or follow-up PR's will not get counted.
And don't add labels in PR I will do that part because I have to keep a count.

@satyampgt4 we will add labels in PR after they are successfully merged so PR's which were merged by mistake or follow-up PR's will not get counted.
And don't add labels in PR I will do that part because I have to keep a count.

Okay 👍🏻

@manasb15  Fill this form https://docs.google.com/forms/d/e/1FAIpQLSeWRqZljejl0NnH8v4PqkjfTsWoQAbx_n0xR25PHaNiZnbnAw/viewform
Mention only those PR links which have DCP label.


Should we rename the crates so the names make sense now?

Requested feature
Should we rename the Rust crates so the names are more descriptive of what the crate does?
Motivation
When the project started, we named the crates after Mexican states. This was mostly because naming is hard, things were in flux, and we wanted to avoid long discussions about what to name things.
Now that things are more stable, it would probably be more inviting to users and developers to provide names for the crates the are more descriptive.
Additional context
Ideas (these are just ideas and of course there's room for discussion):
Jalisco -> SGXRootEnclave
Sonora -> TrustZoneRootEnclave
Tabasco -> ProxyAttestationServer
Colima -> TransportProtocol
Durango -> VeracruzClient
Sinaloa -> VeracruzServer
I'm not sure about Baja, Mexico City, and Chihuahua. We may not want to rename everything at this point.
With a mind for future ideas I have about isolating the platform-specific changes from each other, we may want to have separate crates for the SGX-specific server, TrustZone-specific server, etc.
Ideas for these names: SGXServer, TrustZoneServer.

I think so.   I think with the number of new components it's hard to keep track of what all the crates do now, even when you work on the project, with all of the non-descriptive names.  Suggestions for the remaining crates:
Chihuahua -> ExecutionEngine
Baja -> TrustedSessionManager
MexicoCity -> TrustedRuntimeManager

Tlaxacala -> WASMChekcer.
Veracruz-test -> Example, so newcomers know where to start?
Several type names also follow the component name. It should be changed in a consistent way.

Agreed on the WASMChecker name.
However, I don't think veracruz-test works well as an example. It uses a few abstractions (such as test_template) to reduce code duplication in the tests that make it harder to understand than an example should be.

I'm strongly in favour of descriptive names 👍 .

There seems to be a strong consensus that we should rename the various components to something more descriptive.  I'll close this question and create an issue for this task.  Consensus yesterday was this was something that @geky could do to familiarise himself with the Veracruz codebase.

See #33.


Issue #5 Lock versions for release

This template should have all locked dependencies; no SNAPSHOTs or masters leaking anywhere.

Better merge locally, tag as "1", push the tag and leave the original in master untouched

@gastaldi comments above make sense to me, and let's also add a RELEASE.adoc just showing what our process is for this repo.  Example in missioncontrol repo root.
Also if we could tag as v1 instead that might help avoid gitref conflicts with branches named after issue numbers.

Tagged as v1 https://github.com/openshiftio/launchpad-templates/commit/dfe443683a8e723ee7a06c6885696cac51fa9407


Jsx4 automatic mode: suspicious Caml_option.some

Context
Dependencies:
"@rescript/react": "^0.11.0-alpha.1",
"rescript": "^10.1.0-alpha.2",

bsconfig.json
{
  "name": "speedycal",
  "version": "0.0.1",
  "sources": {
    "dir": "src"
  },
  "package-specs": {
    "module": "es6",
    "in-source": true
  },
  "suffix": ".js",
  "jsx": { "version": 4, "mode": "automatic" },
  "bs-dependencies": ["@rescript/react"]
}

What am I seeing?
// Doctor.res
module User = {
  type t = {firstName: string, lastName: string}

  let format = user => "Dr." ++ user.lastName

  @react.component
  let make = (~doctor) => {
    <h1> {React.string(format(doctor))} </h1>
  }
}

Compiles to:
function Doctor$User(props) {
  return JsxRuntime.jsx("h1", {
              children: Caml_option.some("Dr." + props.doctor.lastName)
            });
}

The Caml_option.some seems suspicious in the output. The type of ~doctor is t, it isn't optional.
If you compare this with what's running in the playground right now: link to working code
// Generated by ReScript, PLEASE EDIT WITH CARE
'use strict';

var React = require("react");

function format(user) {
  return "Dr." + user.lastName;
}

function Playground$User(Props) {
  var doctor = Props.doctor;
  return React.createElement("h1", undefined, "Dr." + doctor.lastName);
}

var User = {
  format: format,
  make: Playground$User
};

exports.User = User;
/* react Not a pure module */

We don't have any Caml_option.some here.
Any pointers on why I might be seeing  Caml_option.some in the output? cc @mattdamon108 @cristianoc
Debug info
test file:
type t = {firstName: string, lastName: string}

let format = user => "Dr." ++ user.lastName

@react.component
let make = (~doctor) => {
	<h1> {React.string(format(doctor))} </h1>
}

With dune exec -- rescript -jsx-mode automatic -jsx-version 4 -print res test.res:
type t = {firstName: string, lastName: string}

let format = user => "Dr." ++ user.lastName
type props<'doctor> = {
  doctor: 'doctor,
}

@react.component
let make = ({doctor, _}: props<'doctor>) => {
  ReactDOM.jsx("h1", {children: {React.string(format(doctor))}})
}
let make = {
  let \"Test" = (props: props<_>) => make(props)

  \"Test"
}

With dune exec -- rescript  -jsx-version 3 -print res test.res:
type t = {firstName: string, lastName: string}

let format = user => "Dr." ++ user.lastName
@obj external makeProps: (~doctor: 'doctor, ~key: string=?, unit) => {"doctor": 'doctor} = ""

@react.component
let make =
  (@warning("-16") ~doctor) => {
    ReactDOMRe.createDOMElementVariadic("h1", [{React.string(format(doctor))}])
  }
let make = {
  let \"Test" = (\"Props": {"doctor": 'doctor}) => make(~doctor=\"Props"["doctor"])
  \"Test"
}

type tt = {children?: React.element}

let make = doctor => {
  {children: {React.string(doctor)}}
}

Simple example: children has an optional abstract type, so the optimisation does not kick in.

If the poc of record type extension would be landed later, we might be able to use two different type which are children field as optional and not.

Probably easier just to use a cast from element to opt element.

Probably easier just to use a cast from element to opt element.

Can you explain more detail? I don't get it. Do you mean this?
let make = doctor => {
  {children: ?Some(React.string(doctor))}
}

This:
external someElement: React.element => option<React.element> = "%identity"

can be used instead of Some

I guess the PR https://github.com/rescript-lang/syntax/pull/665 will generated more cleaner output https://github.com/rescript-lang/syntax/pull/665#issuecomment-1262525215

Is that in jsx mode?

Is that in jsx mode? What changed?

My mistake. I was confused. I ran the example component in the sample project:

bsconfig.json

"jsx": {
  version: 4,
  mode: "classic"
}

@@jsxConfig({version:4, mode: "automatic"})

// sample code...

It compiled okay, so I thought it would be compiled in automatic mode successfully. But, I changed bsconfig.json and ran it again it fails.
"jsx": {
  version: 4,
  mode: "automatic"
}

This record expression is expected to have type JsxDOM.domProps
The field children does not belong to type JsxDOM.domProps

The error message is correct. JsxDOM.domProps doesn't have a children field now. I should add a children field into JsxDOM.domProps or make new function e.g. addChildrenProp like addKeyProp.
At the same time, I'm gonna check why the jsxConfig{{version:4, mode:"automatic"} seems  not working under global config of "classic".

This:
external someElement: React.element => option<React.element> = "%identity"

can be used instead of Some

It works! How does this work? What makes it different from ?Some?

This:

external someElement: React.element => option<React.element> = "%identity"

can be used instead of Some

It works! How does this work? What makes it different from ?Some?

It prevents the compiler from knowing it's an option, and using a conservative approach.


esp_pm_lock_create() with invalid lock type causes abort (IDFGH-11440)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v5.3-dev-277-gc8243465e4
Espressif SoC revision.
ESP32-S3
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
ESP32S3-DevkitC
Power Supply used.
USB
What is the expected behavior?
If an invalid lock type is used, per ESP-IDF documentation for esp_pm_lock_create(), expected behavior is:

ESP_ERR_INVALID_ARG if out_handle is NULL or type argument is not valid

What is the actual behavior?
Lock is created without checking type.  Invalid lock then immediately causes an abort().
Steps to reproduce.
Call esp_pm_lock_handle_t lock; esp_pm_lock_create(42, 0, "test", &lock);
Debug Logs.
abort() was called at PC 0x42110ff6 on core 1

Backtrace: 0x40375a62:0x3fcaeae0 0x403869c5:0x3fcaeb00 0x4038cff2:0x3fcaeb20 0x42110ff6:0x3fcaeb90 0x420783be:0x3fcaebb0 0x4202ed1c:0x3fcaebd0 0x4201471d:0x3fcaebf0 0x420163cd:0x3fcaec10 0x42016491:0x3fcaec30 0x40378e3a:0x3fcaec50 0x4200eee7:0x3fcaecf0 0x420163cd:0x3fcaed50 0x420163e2:0x3fcaed70 0x420253b6:0x3fcaed90 0x420256a4:0x3fcaee20 0x420071dc:0x3fcaee60

ELF file SHA256: 5b06583c1

Rebooting...

### More Information.

_No response_

hello, Why did you choose 42 as the parameter? Please refer to the available types in this location by checking esp_pm_lock_type_t

Because it is not a valid value.
The point is that the documentation says invalid values will return ESP_ERR_INVALID_ARG, but they do not.  Instead they cause a crash.

Thank you for your feedback. After internal discussions, we plan to update the function description, while keeping the functionality of abort unchanged.

Could a enum at the end of esp_pm_lock_type_t like ESP_PM_LOCK_MAX be added?  This way it would be possible to check if the type is valid by comparing it to lock < ESP_PM_LOCK_MAX?  Similar to WIFI_AUTH_MAX and many other enums.
I implemented support for pm locks in Micropython.  The lock type is user Python code, so it might an invalid value.  If esp_pm_lock_create() doesn't check, then I need to validate first in Micropython.  Which is certainly possible.  But the only way to do that is to compare against every possible lock type, and then update this every time a new lock type is added.  Which is hard to maintain.  If there was an enum for the last lock type, it would be easier to validate.

Okay, I will add ESP_PM_LOCK_MAX for you, but please note that this change will only be effective on the master branch

hello You can pull the master branch for validation

Thank you, I've tested this and it works as expected.  Code using it in Micropython is in commit xyzzy42/micropython@5c5dbba61818da2fe9ce1fe3bb542a2fa0edc549 in my branch xyzzy42/micropython/low-power.
>>> import esp32
>>> cpu = esp32.Pmlock(0, "CPU")
>>> apb = esp32.Pmlock(1, "APB")
>>> sleep = esp32.Pmlock(2, "SLEEP")
>>> fail = esp32.Pmlock(3, "fail")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: invalid lock type
>>> esp32.pm_dump_locks()
Time since bootup: 11955048 us
Lock stats:
Name            Type            Arg    Active    Total_count    Time(us)        Time(%)
SLEEP           NO_LIGHT_SLEEP  0      0         0              0               0  %
APB             APB_FREQ_MAX    0      0         0              0               0  %
CPU             CPU_FREQ_MAX    0      0         0              0               0  %
stdin           NO_LIGHT_SLEEP  0      1         1              10994331        92 %
rtos1           CPU_FREQ_MAX    0      1         11806          1498064         13 %
rtos0           CPU_FREQ_MAX    0      0         12264          1457671         13 %

Thanks for sharing the updates, feel free to reopen.


Cesium splatter map textures

I am new to Cesium and so need some help.
I am keen to try applying the following technique to the 3d model - applying fake textures depending on the height - snow for high altitude, grass for low altitude etc.
This is apparently called splatter maps.
A bit like this
https://stackoverflow.com/questions/18880715/texture-splatting-with-three-js
What strategy would be recommended in terms of feeding altitude data to a custom shader?

Welcome to the Cesium community @mogmog ! We use GitHub for bug reports and feature request. I'd encourage you to post your question over in the community forum: https://community.cesium.com/.
I think the easiest way to start on this project may be to look into creating a custom globe material. There's a few built in that color terrain based on slope/elevation etc: https://sandcastle.cesium.com/index.html?src=Globe Materials.html


Fix compile issue introduced by nodejs change (increment node-pre-gyp version)

Updating node-pre-gyp to 0.11 fixes a compile error caused by nodejs/node#21063 and mapbox/node-pre-gyp#391. The issue irregularly occurs due to upstream changes to callbacks which, following a download failure, can cause duplicate callbacks which result in two builds of sqlite3 instead of one; the build consequently fails because the second build often removes files created by the first build. See: mapbox/node-pre-gyp#408

Thank you!


Drafts of posts should stay when toggling to chat

I was working on a long-ish post and talking to edna in chat, and thought to copy what I had so far, just in case and lucky I did because when I tabbed back the post I was working on was gone.
Seems like in a site where live chat is a thing, you'd want to be able to switch between them without losing your progress on what you're creating.
My apologies if this is intentional, I didn't see any other issues mention it :)
I'd love to take this issue on, too, if it's decided worth doing.

@thethp are you working on this? Make sure you check out https://github.com/mozilla/localForage -- it's a nice wrapper for various client-side storage solutions. Let me know if you want a hand!

Hey @jasonrhodes thanks for the heads up! I'm hoping to do this this week, sorry for the delay everyone :) I may reach out!


Moedus(que)

urn:cts:croala:bunic02.croala1761880.croala-lat2w:body.div1.l227.w4
Here is the full line:
Corniger Eridanus, Liparis, Moedusque Nyphates
I think Moedus might be the name of a river because it is surrounded by the names of other rivers in this context; however, I can't find anything about what river this is.  Does anyone know what this name refers to?

Could it be a river in Persia, since Nyphates is in Armenia?
Mēdus, i, m., = Μῆδος, a small river of Persia, a tributary of the Araxes, now the Polwar, Curt. 5, 4, 7; v. also Medi. (http://logeion.uchicago.edu/index.html#Medus)


Support Python3.9

Codecov Report

Merging #304 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master      #304   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            9         9
  Lines          418       418
=========================================
  Hits           418       418

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 448ef07...9c8a026. Read the comment docs.

Well, this was easy


wrong path?

does not work
julia> include("ACE_Traeger_replication.jl")
ERROR: SystemError: opening file "/Users/74097/git/Comp2024/ACE_Traeger_replication.jl/ACE_Traeger_replication.jl": No such file or directory
Stacktrace:
  [1] systemerror(p::String, errno::Int32; extrainfo::Nothing)
    @ Base ./error.jl:176
  [2] systemerror
    @ Base ./error.jl:175 [inlined]
  [3] open(fname::String; lock::Bool, read::Nothing, write::Nothing, create::Nothing, truncate::Nothing, append::Nothing)
    @ Base ./iostream.jl:293
  [4] open
    @ Base ./iostream.jl:275 [inlined]
  [5] open(f::Base.var"#433#434"{String}, args::String; kwargs::@Kwargs{})
    @ Base ./io.jl:394
  [6] open
    @ Base ./io.jl:393 [inlined]
  [7] read
    @ Base ./io.jl:486 [inlined]
  [8] _include(mapexpr::Function, mod::Module, _path::String)
    @ Base ./loading.jl:2126
  [9] include(fname::String)
    @ Base.MainInclude ./client.jl:489
 [10] top-level scope
    @ REPL[2]:1

julia> pwd()
"/Users/74097/git/Comp2024/ACE_Traeger_replication.jl"

Please could you try changing your working directory to cd("/Users/74097/git/Comp2024") and then run include("ACE_Traeger_replication.jl")? This should work, but do let us know if you still run into issues.


Overlapping footer and picture cards

Go ahead,
I'll assign you this issue when the contribution period starts from 10th June, then you can start working on this issue.

Hii, can I correct this bug?

Please assign @QAZIMAAZARSHAD

@QAZIMAAZARSHAD  I corrected this bug while working on home page in issue #19 So please assign me also,

@SamikshaSankar and @jayant766 a PR for this issue has already been made which will likely close this issue.
You can look for any other issues.

As discussed please assign this to me.


Allow Keycloak userinfo to be stored in JupyterHub auth_state [enhancement]

Description
When Keycloak auth happens within JupyterHub, save the userinfo details in auth_state.
This should be optional, specified in qhub-config.yaml
Value/benefit
This would mean more user details are available directly in JupyterHub (and may be passed on to JupyterLab), e.g. email address. It would allow us to develop functionality such as passing GitHub tokens onto JupyterLab (maybe) or at least setting email for git or a support chatbot or similar.

The auth state secret can be managed by z2jh I believe: https://zero-to-jupyterhub.readthedocs.io/en/latest/administrator/authentication.html#enable-auth-state

Ideally just solve #814 and this would follow for free

Now just add this to qhub-config.yaml:
jupyterhub:
  overrides:
    hub:
      config:
        Authenticator:
          enable_auth_state: true

This will cause GenericOAuthenticator to include Keycloak userinfo response in the user's auth_state.


Remove hard-coding

Currently, the viewer looks for a hard-coded key for grabbing images.
This doesn't work for demoing on multiple beamlines. Need to come with a way to dynamically or by-configuration find the right image. This should be do-able with hints? @ronpandolfi

As a first pass, I think it makes senses to look for any fields with the right dimensions. That's what we do.

This fixed in https://github.com/synchrotrons/Xi-cam.CatalogViewer/pulls


Unable to save logic app with batch interval of 45 second/seconds/.75 minutes?

Failed to save logic app "orderBatching". The recurrence interval '45' of batch configuration 'BatchName' is not valid.

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

ID: 1c0b3664-4181-90d2-c1db-d17724c16a3e
Version Independent ID: 8ce4d8ce-67c6-8d1f-7761-ad6ba06be793
Content: Batch process messages as a group or collection - Azure Logic Apps
Content Source: articles/logic-apps/logic-apps-batch-process-send-receive-messages.md
Service: logic-apps
GitHub Login: @divyaswarnkar
Microsoft Alias: divswa

@timmyreilly Thanks for the feedback! We are currently investigating and will update you shortly.

Hello @timmyreilly Are you referring to the Interval value in Recurrence trigger that's discussed as part of Batch Sender? If so, there should be an option to specify the value as Seconds, and I'm also able to save out successfully with 0.75 in Minutes as well:

Hey @timmyreilly Got any updates here on this one?

I was having issues with the Batching Action error in top right:

@timmyreilly got it! Following with 0.75 as value is working OK for me and I'm able to save out successfully:

@timmyreilly Yup, I'll reach out to the product team about the reasons why Seconds won't take any value less than 60. We will close this issue for now. If there are further questions and feedback regarding this matter, please reopen it and we will gladly continue the discussion.

@timmyreilly, thanks for reporting. I created a doc work item to address.

@timmyreilly I've merged an updated for publishing sometime tomorrow (9/27).


Support adding sample values for objects using  xml tag

I would like to be able to provide examples for objects in my class using  xml tags option.
I am following the convention of providing sample values to properties defined in my class using  xml tags but if I have a property which is a class in another package, I don't see a way to provide a sample value to that object in my class. It will be nice to have this option.
Example: I have a class A with a Cosmos.Point property for which I would like to provide an example value.
class A {
       /// <summary>
        /// Optional name for the location.
        /// </summary>
        /// <example>New York</example>
        [JsonProperty("name")]
        public string? Name { get; set; }

        /// <summary>
        /// Geometry of the location in GeoJson format.
        /// </summary>
        /// <example>{"type": "Point", "coordinates" : [7.20731, 8.64624, -10000 ]}</example>        <--- this doesn't work.
        [JsonProperty("location")]
        public Point? location { get; set; }
}

How come this works for Dictionary?
Property definition:
 /// <summary>
        /// Bla ...
          /// </summary>
        /// <example>
        /// {
        ///   "errors": {
        ///     "order": {
        ///       "status": "childFieldError",
        ///       "fields": {
        ///         "loanAmount": {
        ///           "status": "valueInvalid"
        ///         },
        ///         "transactionType": {
        ///           "status": "fieldMissing"
        ///         }
        ///       }
        ///     }
        ///   }
        /// }
        /// </example>
        [JsonProperty("fields", NullValueHandling = NullValueHandling.Ignore)]
        public Dictionary<string, Violation> Fields { get; set; }

Displayed in Schema:
nullable: true
example: OrderedMap { "errors": OrderedMap { "order": OrderedMap { "status": "childFieldError", "fields": OrderedMap { "loanAmount": OrderedMap { "status": "valueInvalid" }, "transactionType": OrderedMap { "status": "fieldMissing" } } } } }

Displayed in an example for an API call response:

On the other hand I could NOT make it work for arrays, lists or complex objects.


Plugin search is not updated

Bug Report
Plugin search on Cordova website, at the url https://cordova.apache.org/plugins/,  is not updated. It always shows 5375 plugins from about 2 months.
Problem
What is expected to happen?
What does actually happen?
Information

Command or Code

Environment, Platform, Device

Version information

Checklist

[x] I searched for existing GitHub issues
[ ] I updated all Cordova tooling to most recent version
[ ] I included all the necessary information above

Thanks for the hint. It seems the npmsearch.com response could not be parsed

The website npmsearch is down, seemingly permanently

I think this is now a very safe assumption, since npmsearch.com now doesn't have any DNS records. The domain is still registered, just doesn't have any A records anymore.

Why hasn't sapient-peartree's suggestion of Oct 22, 2021 been taken up ????
The current situation is TERRIBLE
It gives the impression that Cordova is a dead - dead end technology.

The website npmsearch is down, seemingly permanently Why not just put up a link for https://www.npmjs.com/search?q=ecosystem%3Acordova for now?

Would it be possible to direct users of the plugin search page to this search tool, at least temporarily?
At present there is absolutely no warning that the plugin search page isn't functional or any direction towards any alternatives. Coming to this as a new user of Cordova this was extremely frustrating!
I'm more than happy to quickly edit the "plugins" html page to throw a quick banner up with words to the effect of the above, if that would help? Only thing is I'm fairly green as a web dev so I can't promise that it'll be overwhelmingly pretty...

Though I can't quite say when the plugin search will work again, but I did find this repository of Cordova plugins for use that I'll be attempting to use in my Ionic project.
https://danielsogl.gitbook.io/awesome-cordova-plugins/
https://github.com/danielsogl/awesome-cordova-plugins

This is just a matter of priorities and people volunteering to pick up this issue.
IMHO I don't think a dedicated search for plugins is really necessary. I always just "XZY cordova plugin" with great success. Therefore I suggest that we either remove the page entirely or just put a text there like:
Cordova plugins are usually distributed by NPM. You can search NPM for plugins for your app or browse it with the ecosystem query:  https://www.npmjs.com/search?q=ecosystem%3Acordova. You can even install plugins directly from Git repositories.
Maybe we could also add list of all official Apache plugins.

Therefore I suggest that we either remove the page entirely

I think I agree with this sentiment. I've had a look at this issue, looking at the NPM registry API. If we were to have continue having a plugin search, I'd rather use a direct NPM api. The problem is they have the API cors restricted, therefore we'll need to have a proxy server.
Instead of dealing with server hosting that can provide this proxy (and then run into issues like our heroku app issue where we don't even have access to it anymore), I think I'd prefer to replace the plugin search with just a page that explains how plugins are generally distributed.

I disagree with removing the page entirely as without this github issue I would not have discovered that we could use npm search that way.
The page should simply show a link to the npm search and optionally a guide to plugins and a list of the official ones.

BTW anyone know how to filter for packages that are supported e.g on android AND on ios ?

Generally cordova plugins declare what platforms they support via keywords, which means you can do an NPM search query by doing something like ecosystem:cordova cordova-android cordova-ios <some other keywords for searching> to find plugins that supports both cordova-android and cordova-ios.

Is cordova dead?  I'm glad I found this page, but really, someone should either point the search at the url https://cordova.apache.org/plugins/  to something like https://www.npmjs.com/search?q=ecosystem%3Acordova  or remove the search page, which now uses a thoroughly dead search technology.
Since I'm only exploring if Cordova might even meet my needs, I'm not the right person to go mucking with PR's for the cordova site.  (Seeing "no plugins" is a flashing red indicator that it is not, but I'm not that easily dissuaded.)

I created a dev discussion thread @ https://lists.apache.org/thread/pz90x2jzlgfblcy9vo7635yqlk4bv6ck so that we can finally reach a final verdict on how we should proceed.

I don't have an account for this list and since I'm lazy I'll comment here:
I vote for #2 AKA keeping the page but making it have the following layout:
a big link/button to npm search with presupplied arguments including android, ios ecosystems as a logical AND. (since by default I expect people to want cross platform plugins, and it remove them from the burden of finding the exact name of e.g. android tag ecosystem, and removing those terms of the filter query is easy)
the e.g. below the button/link it would be nice to have an noob friendly explainer of the npm search syntax, essentially how to chain logical OR and logical ANDs in the filter query.
then below that explainer there could optionally links to the follwing external lists:

official cordova plugins
and 2) community favorite plugins

semi-official:
https://github.com/apache/cordova-plugins
community: (2200 stars)
https://danielsogl.gitbook.io/awesome-cordova-plugins/
as for the alternatives:
a direct redirect instead of a page would be inferior and non-SEO discoverable
a page removal would be non-discoverable "Is cordova dead?"


Improvements for browser version

Added webpack to package dist file.
Moved vignette to a separate file to make index.js cleaner
Added support for canvas as source image for browser.
Disabled debug logs for browser.

+1 for merge on this.

Would be great to see this merged!


[BUG] Empty state snapshots being stored

When using the new route model binding updates for state classes, I discovered that snapshots were being stored in the database for 404 requests.

@inxilpro I am not sure this will actually solve the issue, I have been having issues with 0.3.0 outside of this as well.


⚠ Bofrost.at has degraded performance

In a1b7479, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 3815 ms

Resolved: Bofrost.at performance has improved in 86ab2c7 after 23 minutes.


[ionic 4.0.0, beta 8] Menu disappear

And it continues to disappear, I think this behavior is inappropriate, because it restricts the use of the ion-menu and ion-split-pane to just the use case that Ionic proposes (which was not the intention when this component was created). It's best to let us choose the best time to hide the ion-menu.
I would not want to waste any more time creating my own ion-menu. Please fix this.

Please upload a repository to verify it because for me the ion-menu with ion-split-pane is working

Hello Paul,
I created a stackblitz with this problem: https://stackblitz.com/edit/angular-ionic4-test-hfnc2w?file=src%2Fapp%2Fapp.component.html
Just increase the window until both menus appear.
The second and the first do not appear at the same time.
Thanks for your attention

Ah okay, you not mentioned that you use two split panes, if you just use one it will work with the two menus. So I cannot help you and you have to hope that one of the Ionic Devs take care of this

Hello @paulstelzer this problem still occurs. Please you have some news on the solution of this problem.

I am just a user of Ionic and I didn't work with two split panes, so I cannot help you and have no news for you. Maybe @brandyscarney or another member of the Ionic Core team can help you

sorry for my confusion I was able to solve the problem

sorry for my confusion I was able to solve the problem


Some fields on critical damage and vehicle damage not working

Describe the bug
In vehicle attack damage and weapon critical damage sections, the healing checkbox and damage operator selection box don't seem to work.
To Reproduce
Open a vehicle attack or weapon sheet, and add either a damage section or critical damage section, respectively. Click either the Healing box or try to change the damage operator. Close the sheet, and re-open. The changes will not have saved.
Expected behavior
The changes should persist.
Screenshots

Technical details (please complete the following information):

OS: [e.g. Windows 10]
Browser: Firefox, Electron App
Foundry Version: 10.291
SFRPG Version: 0.23, 0.24

This is partially resolved in https://github.com/foundryvtt-starfinder/foundryvtt-starfinder/pull/1108 . Vehicle damage sections are working but weapon critical damage Healing and Damage Operator fields are still broken.


[infra] Deploy with heighliner

Objective
Deploy a POKT Shannon node using heighliner.
Origin Document

Strangelove implemented heighliner:

We built Heighliner to streamline the management and building of production-grade container images for blockchain node software, Cosmos and beyond.

It is a precusor for strangelove-ventures/cosmos-operator
@okdas attempted the integration in #519
@okdas put the integration on pause per the comment here in #523

Goals

Integrate Shannon with tools in the broader cosmos ecosystem
Make it easier for others to deploy POKT actors

Deliverables

[ ] Updates & tooling & configuration to support heighliner
[ ] Documentation on how to use cosmos-operator

Non-goals / Non-deliverables

Business logic changes

General deliverables

[ ] Comments: Add/update TODOs and comments alongside the source code so it is easier to follow.
[ ] Testing: Add new tests (unit and/or E2E) to the test suite.
[ ] Makefile: Add new targets to the Makefile to make the new functionality easier to use.
[ ] Documentation: Update architectural or development READMEs; use mermaid diagrams where appropriate.

Creator: @Olshansk
Co-Owners: @okdas @studna

Duplicate of #578


#308 Group commandlets into non-tool and tool

Closes #308. The output of ide help now looks as follows:
ide> help
__       ___ ___  ___
\ \     |_ _|   \| __|__ _ ____ _
 > >     | || |) | _|/ _` (_-< || |
/_/ ___ |___|___/|___\__,_/__/\_, |
   |___|                       |__/

Current version of IDE is SNAPSHOT
Usage: ide [option]* [[commandlet] [arg]*]

Available commandlets:
--version      Print the version of IDEasy.
build          Runs a build job with given arguments.
complete       Internal commandlet for bash auto-completion.
create         Create a new IDEasy project.
env            Print the environment variables to set and export.
get-edition    Get the edition of the selected tool.
get-version    Get the version of the selected tool.
help           Prints this help.
install        Install the selected tool.
list-editions  List the available editions of the selected tool.
list-versions  List the available versions of the selected tool.
repository     Setup pre-configured git repositories (clone, build, import).
set-edition    Set the edition of the selected tool.
set-version    Set the version of the selected tool.
shell          Commandlet to start built-in shell with advanced auto-completion.
uninstall      Uninstall the selected tool.
update         Pull your settings and apply updates (software, configuration and repositories).

Available tool commandlets:
android-studio  Tool commandlet for Android Studio (IDE).
aws             Tool commandlet for AWS CLI.
az              Tool commandlet for Azure CLI.
cobigen         Tool commandlet for Cobigen (code-generator).
docker          Tool commandlet for Docker.
dotnet          Tool commandlet for dotnet.
eclipse         Tool commandlet for Eclipse (IDE).
gcviewer        Tool commandlet for GC Viewer (View garbage collector logs of Java).
gh              Tool commandlet for GitHub CLI.
graalvm         Tool commandlet for GraalVm (Java with native-image).
gradle          Tool commandlet for Gradle (Build-Tool).
helm            Tool commandlet for Helm (Kubernetes Package Manager).
intellij        Tool commandlet for IntelliJ (IDE)
jasypt          Tool commandlet for Jasypt (encryption/decryption).
java            Tool commandlet for Java (OpenJDK).
jmc             Tool commandlet for JDK Mission Control (performance analysis).
kotlinc         Tool commandlet for Kotlin (compiler for JRE language).
kotlincnative   Tool commandlet for Kotlin-Native (compiler for JRE language).
lazydocker      Tool commandlet for LazyDocker.
mvn             Tool commandlet for Maven (Build-Tool).
node            Tool commandlet for Node.js (JavaScript runtime).
npm             Tool commandlet for Npm (JavaScript Node Package Manager).
oc              Tool commandlet for Openshift CLI (Kubernetes management tool).
pgadmin         Tool commandlet for pgAdmin.
quarkus         Tool commandlet for Quarkus (framework for cloud-native apps).
sonar           Tool commandlet for SonarQube.
terraform       Tool commandlet for Terraform.
tomcat          Tool commandlet for Tomcat
vscode          Tool commandlet for Visual Studio Code (IDE).

Options:
--locale        the locale (e.g. '--locale=de' for German language).
-b | --batch    enable batch mode (non-interactive).
-d | --debug    enable debug logging.
-f | --force    enable force mode.
-o | --offline  enable offline mode (skip updates or git pull, fail downloads or git clone).
-q | --quiet    disable info logging (only log success, warning or error).
-t | --trace    enable trace logging.

To get help details about a commandlet, simply call "ide help <commandlet>".
ide>

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

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.03%) to 61.174%

Files with Coverage Reduction
New Missed Lines
%

com/devonfw/tools/ide/commandlet/HelpCommandlet.java
2
94.15%

Totals

Change from base Build<PHONE_NUMBER>:
0.03%

Covered Lines:
5304

Relevant Lines:
8341

💛  - Coveralls


doris是否支持表结构导出

doris是否支持类似mysqldump这种工具，可以导出整个库的表结构之类的?

目前并不支持，不过这确实是一个好需求。
但doris的表结构导出后，应该只能给doris自身使用。并不适合mysql数据库。因为doris本身的数据模型和mysql是不一样的。
目前你可以通过 show create table table_name 命令来查看建表的sql。但不能批量导出。
It is not currently supported, but it is indeed a good demand.
But after the table structure of doris is exported, it should only be used by doris itself. Not suitable for mysql database. Because the data model of doris itself is different from mysql.

@EmmyMiao87 same problem, we want to use a table structure to create a new table，no data.
mysql has create table like xxx, if doris has it, that would be nice

@francisoliverlee The grammar you mentioned only needs to modify the grammar files sql_parser.cup and add a new CreateTableLikeStmt in analysis package. This function is not very complicated.
Does anyone want to help doris realize it?

@EmmyMiao87 @WingsGo is doing it now  #4405

@caiconghui Great! Please mention this issue in PR #4405

Related PR #4705.
I think that this issue can close.

See #7041

See https://github.com/apache/doris/pull/7041

support
lucklilili @.***> 于2023年5月8日周一 12:30写道：

See #7041 https://github.com/apache/doris/pull/7041
—
Reply to this email directly, view it on GitHub
https://github.com/apache/doris/issues/4402#issuecomment-1537729941, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGIITJHEYERJ2MQSOOERTLXFBZE3ANCNFSM4QFXMREA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
张家峰


Run command with :!sudo fails on gvim after v8.2.2919

Describe the bug
sudo command dose not display password prompt, so I can't input password to sudo command on gvim after v8.2.2919 ( 6a43b37b760347b9a1bedf12e41b458000922969 ).
To Reproduce
SHELL=zsh vim -g -c 'set shelltemp' -c ':!sudo touch /tmp/foobar' -u NONE

EDIT: add SHELL=zsh
Expected behavior
I can input password to sudo command.
Screenshots

vim 8.2.2918

vim 8.2.3469

Environment (please complete the following information):

Vim 8.2.3469 (8.2.2919 or later)
OS: Ubuntu 18.04
Terminal: GUI (gtk3)

I cannot reproduce this bug despite using vim-8.2.2969 (gtk3) on xubuntu-18.04.6.
For me, vim asks for the sudo password without error.

Oops, I forget information about shell, I use zsh.
Would you please try again using the following it ?
SHELL=zsh vim -g -c 'set shelltemp' -c ':!sudo touch /tmp/foobar' -u NONE

And, I also couldn't reproduce this problem when I checked it on bash.
I think this issue is shell matter and original issue (#8314) is same (I also cannot reproduce #8314 on bash).
So, IMO v8.2.2919 should be revert.

I got it that v8.2.2919 is result of long discussion at #4738 .
I have also investigated the behaviour of other shells (dash and tcsh), so I note the results of it.
I just look this results so I think behaviour of zsh is something wrong... and I don't know why bash is both ok.

SHELL=<shell> vim -g -c 'set shelltemp' -c ':!touch /tmp/foobar &' -u NONE

shell
vim v8.2.2918
vim v8.2.2919

zsh
not create file
create file

bash
create file
create file

dash
create file
create file

tcsh
create file
create file

SHELL=<shell> vim -g -c 'set shelltemp' -c ':!sudo touch /tmp/foobar' -u NONE

shell
vim v8.2.2918
vim v8.2.2919

zsh
can input password
can not input password

bash
can input password
can input password

dash
can input password
can not input password

tcsh
can input password
can not input password

Thanks for testing.  However, using tcsh I can input a password.
I do see the problem with bash, which is more important, since it is
widely used.  However, reverting the patch doesn't help.
Perhaps someone can look into why bash doesn't handle "!sudo cmd".
--
hundred-and-one symptoms of being an internet addict:
125. You begin to wonder how often it REALLY is necessary to get up
and shower or bathe.
/// Bram Moolenaar -- @.*** -- http://www.Moolenaar.net   \
///                                                                      \
\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

I just noticed this change and late to the party. FWIW I am seeing that this does break the :! <cmd> & pattern in the latest MacVim, but it seems to work in gVim in Ubuntu that I tested on, so I think it depends on a variety of factor (probably partially since Vim has a hack of doing signal(SIGHUP, SIG_IGN); to try to support :!xterm &).
It does seem like by making a controlling terminal when you spawn the child process, you are essentially disallowing :! <cmd> & in Vim since when it detaches it will try to kill the processes. I think it's probably ok, if we just say "use :call system('<command> &') instead.
For entering passwords without a controlling terminal, MacVim just sets the SUDO_ASKPASS and SSH_ASKPASS environmental variables to the location of script that prompts for the password in a GUI. This allows sudo to retrieve the password from the external GUI app (since otherwise it needs a proper terminal to read it from). E.g. You can do apt install ssh-askpass in Ubuntu for a simple program to do that.