Re: RFR: 8353787: Increased number of SHA-384-Digest java.util.jar.Attributes$Name instances leading to higher memory footprint

2025-04-10 Thread Lance Andersen
On Mon, 7 Apr 2025 06:34:11 GMT, Jaikiran Pai wrote: > Can I please get a review of this change which proposes to address the > increase in memory footprint of an application that uses signed JAR files, > signed with `SHA-384` digest algorithm? This addresses > https://bugs.openjdk.org/browse/

Re: RFR: 8353787: Increased number of SHA-384-Digest java.util.jar.Attributes$Name instances leading to higher memory footprint

2025-04-10 Thread Lance Andersen
On Mon, 7 Apr 2025 06:34:11 GMT, Jaikiran Pai wrote: > Can I please get a review of this change which proposes to address the > increase in memory footprint of an application that uses signed JAR files, > signed with `SHA-384` digest algorithm? This addresses > https://bugs.openjdk.org/browse/

Re: [PATCH] libbacktrace: Add hpux fileline support

2025-04-09 Thread Ian Lance Taylor
On Wed, Apr 9, 2025 at 7:16 AM John David Anglin wrote: > > Tested on hppa64-hp-hpux11.11. > > Okay? > > Dave > --- > > libbacktrace: Add hpux fileline support > > Fixes libstdc++ stacktrace tests. > > 2025-04-09 John David Anglin > > libbacktrace/ChangeLog: > * fileline.c (hpux_get_exe

Re: [PATCH] bootstrap/119680 - fix cross-compiler build with --enable-host-shared

2025-04-08 Thread Ian Lance Taylor
Jakub Jelinek writes: > On Tue, Apr 08, 2025 at 03:03:03PM +0200, Richard Biener wrote: >> It seems that at least when cross-compiling at least collect2 pulls >> in objects from libbacktrace.a which is linked via LIBDEPS. But >> libbacktrace for the host is only built -fPIC with --enable-host-sh

Re: Names of `stringp`, `intp`, `floatp`…

2025-04-05 Thread Lance Dillon
It is originally from lisp, it means predicate, designates testing for conditions. https://www.geeksforgeeks.org/predicates-in-lisp/ On Thursday, March 20, 2025 at 02:25:23 PM EDT, Marcos Cruz wrote: Just out of curiosity, what does the "p" means in `stringp`, `intp`, `floatp`, `f

Re: RFR: 8066583: DeflaterInput/OutputStream and InflaterInput/OutputStream should explain responsibility for freeing resources [v9]

2025-04-04 Thread Lance Andersen
On Thu, 3 Apr 2025 12:55:11 GMT, Jaikiran Pai wrote: >> Can I please get a review of this doc-only change which proposes to improve >> the API documentation of `DeflaterInputStream`, `DeflaterOutputStream`, >> `InflaterInputStream` and `InflaterOutputStream` classes? >> >> As noted in https://

Re: RFR: 8353234: Refactor XMLSecurityPropertyManager

2025-04-04 Thread Lance Andersen
On Mon, 31 Mar 2025 17:42:20 GMT, Joe Wang wrote: > Refactor XMLSecurityPropertyManager. > The Xerces and Xalan components each had its own XMLSecurityManager and > XMLSecurityPropertyManager. In a previous fix, the former had been unified as > part of that changeset. This change will allow fut

Re: RFR: 8345431: Detect duplicate entries in jar files with jar --validate

2025-04-04 Thread Lance Andersen
On Fri, 4 Apr 2025 16:12:56 GMT, Lance Andersen wrote: >> As we checking entry uniqueness and the size match, and all LOC entries >> should be in CEN, that would means all CEN entries in LOC. >> But if we would like to be specific about the inconsistency, then we will >

Re: RFR: 8345431: Detect duplicate entries in jar files with jar --validate

2025-04-04 Thread Lance Andersen
On Fri, 4 Apr 2025 16:01:40 GMT, Henry Jen wrote: >> src/jdk.jartool/share/classes/sun/tools/jar/resources/jar.properties line >> 147: >> >>> 145: in incompatible public interfaces >>> 146: warn.validator.duplicate.entry=\ >>> 147: Warning: More than one copy of {0} is detected

Re: RFR: 8345431: Detect duplicate entries in jar files with jar --validate

2025-04-04 Thread Lance Andersen
On Fri, 4 Apr 2025 16:06:07 GMT, Henry Jen wrote: >> Is the ordering required by ZIP or Jar format? We can certainly do that if >> that's under spec and not an implementation detail. > > As we checking entry uniqueness and the size match, and all LOC entries > should be in CEN, that would mean

Re: RFR: 8345431: Detect duplicate entries in jar files with jar --validate

2025-04-04 Thread Lance Andersen
On Fri, 4 Apr 2025 00:39:04 GMT, Henry Jen wrote: > This PR check the jar file to ensure entries are consistent from the central > directory and local file header. Also check there is no duplicate entry names > that could override the desired content by accident. Thank you for starting the wor

Re: GSoC 2025 – Excited About GCC Go Escape Analysis & Seeking Guidance

2025-04-02 Thread Ian Lance Taylor via Gcc
On Wed, Apr 2, 2025 at 6:35 AM Thomas Schwinge wrote: > > On 2025-03-31T19:48:16+0530, Astha Pipania via Gcc wrote: > > I hope you're doing well! > > Astha, welcome to GCC! > > > I'm incredibly excited about the "GCC Go Escape > > Analysis" project for GSoC 2025. > > ... which is listed on >

Re: RFR: 8353234: Refactor XMLSecurityPropertyManager

2025-03-31 Thread Lance Andersen
On Mon, 31 Mar 2025 19:18:58 GMT, Joe Wang wrote: >> LGTM. Technically it is still March in PDT though > >> LGTM. Technically it is still March in PDT though > > Thanks. It is, tricky. Thought by the time it's out, it would be April. @JoeWang-Java, Can you confirm which Mach5 tiers have run wi

[med-svn] [Git][med-team/wise] Pushed new tag debian/2.4.1-27

2025-03-27 Thread Lance Lin (@linqigang)
Lance Lin pushed new tag debian/2.4.1-27 at Debian Med / wise -- View it on GitLab: https://salsa.debian.org/med-team/wise/-/tree/debian/2.4.1-27 You're receiving this email because of your account on salsa.debian.org. ___ debian-med-commit ma

[med-svn] [Git][med-team/wise][master] Upload to unstable

2025-03-27 Thread Lance Lin (@linqigang)
Lance Lin pushed to branch master at Debian Med / wise Commits: 6183e375 by Lance Lin at 2025-03-27T20:42:43+07:00 Upload to unstable - - - - - 1 changed file: - debian/changelog Changes: = debian/changelog

[MM3-users] Re: "Something went wrong" HTTP Error 500: {"title": "500 Internal Server Error"}

2025-03-26 Thread Lance A. Brown
;%' characters) and restart mailman (or mailmanweb if you found it in settings.py). Hi Stephen, Does Mailman need interpolation active in its ConfigParser? Does it make sense to disable interpolation in the ConfigParser so other users don't run into the same issue? Apparently this was a

[SydPhil] REQUEST TO ATTEND - Re: Reading Group on Aristotle's Politics

2025-03-25 Thread Lance Wright via SydPhil
receipt.Very best wishes,Lance Wright.Sent from my iPad---From: Lance Wright KCP O Box 396Epping NSW 1710Phone - 0438 871 409Email - wrig...@ozemail.com.auOn 27 Feb 2025, at 1:42 pm, David Bronstein wrote: Reading Group on Aristotle’s Politics   The Centre for the

Re: [RBW] FS: 59cm Filet Brazed Susie Frameset

2025-03-24 Thread Lance Terry
It's on its way to it's new home. Thanks all. On Monday, March 24, 2025 at 2:33:22 PM UTC-6 Lance Terry wrote: > Sale pending. > > On Monday, March 24, 2025 at 11:35:38 AM UTC-6 rmro...@gmail.com wrote: > >> Wow! That is a spectacular deal. Too big for me but some ta

Re: [RBW] FS: 59cm Filet Brazed Susie Frameset

2025-03-24 Thread Lance Terry
Sale pending. On Monday, March 24, 2025 at 11:35:38 AM UTC-6 rmro...@gmail.com wrote: > Wow! That is a spectacular deal. Too big for me but some tall individual > should run not walk! > Sent from my iPhone > > On Mar 24, 2025, at 11:29 AM, Lance Terry wrote: > > I guess i

Re: RFR: 8352642: Set zipinfo-time=false when constructing zipfs FileSystem in com.sun.tools.javac.file.JavacFileManager$ArchiveContainer for better performance

2025-03-24 Thread Lance Andersen
On Sun, 23 Mar 2025 12:38:04 GMT, Jason Zaugg wrote: > 8352642: Set zipinfo-time=false when constructing zipfs FileSystem in > com.sun.tools.javac.file.JavacFileManager$ArchiveContainer for better > performance Marked as reviewed by lancea (Reviewer). - PR Review: https://git.ope

[med-svn] [Git][med-team/wise] Pushed new tag debian/2.4.1-26

2025-03-24 Thread Lance Lin (@linqigang)
Lance Lin pushed new tag debian/2.4.1-26 at Debian Med / wise -- View it on GitLab: https://salsa.debian.org/med-team/wise/-/tree/debian/2.4.1-26 You're receiving this email because of your account on salsa.debian.org. ___ debian-med-commit ma

[med-svn] [Git][med-team/wise][master] Upload to unstable

2025-03-24 Thread Lance Lin (@linqigang)
Lance Lin pushed to branch master at Debian Med / wise Commits: bd8687e9 by Lance Lin at 2025-03-24T22:32:30+07:00 Upload to unstable - - - - - 1 changed file: - debian/changelog Changes: = debian/changelog

[med-svn] [Git][med-team/wise][master] Update fix_blhc.patch

2025-03-24 Thread Lance Lin (@linqigang)
Lance Lin pushed to branch master at Debian Med / wise Commits: 5ec9ee8f by Lance Lin at 2025-03-24T22:13:31+07:00 Update fix_blhc.patch - - - - - 1 changed file: - debian/patches/fix_blhc.patch Changes: = debian/patches/fix_blhc.patch

Re: RFR: 8339280: jarsigner -verify performs cross-checking between CEN and LOC [v13]

2025-03-21 Thread Lance Andersen
On Fri, 21 Mar 2025 19:23:59 GMT, Hai-May Chao wrote: >> The jarsigner -verify command currently performs verification by reading >> from JarFile to navigate the central directory (CEN) headers. It is now >> enhanced to include cross-validation of entries between JarFile (CEN-based) >> and Jar

Re: [go-nuts] Potential language feature for testing value membership in if statements?

2025-03-19 Thread Ian Lance Taylor
On Wed, Mar 19, 2025 at 10:43 AM Mike Schinkel wrote: > > Given these benchmark results, would the Go team reconsider such a language > feature on a basis of performance vs. a comparison of syntax to bring if > statement performance closer to that of switch statements? The current > disparity m

Re: [go-nuts] appropriate way to call fcntl(2) from Go on darwin?

2025-03-18 Thread Ian Lance Taylor
On Tue, Mar 18, 2025 at 12:08 AM Jason E. Aten wrote: > > I'm porting some C code that does manual filesystem "extent" > file space management from Linux to Darwin (and into Go). > > The Linux fallocate() call and its FALLOC_FL_INSERT_RANGE > operation are not directly available on Darwin, but sug

Re: [go-nuts] Potential language feature for testing value membership in if statements?

2025-03-18 Thread Ian Lance Taylor
On Tue, Mar 18, 2025 at 4:51 PM Mike Schinkel wrote: > > While working on a parser, I've repeatedly encountered patterns like: > >if c == ' ' || c == '\t' { /* handle whitespace */ } >if token == EOL || token == EOF { /* handle end markers */ } >if lexer.Type == TextLine || lexer.Type

Re: RFR: 8351969: Add Public Identifiers to the JDK built-in Catalog [v2]

2025-03-18 Thread Lance Andersen
On Fri, 14 Mar 2025 18:35:22 GMT, Joe Wang wrote: >> Add public identifiers to the JDK built-in Catalog; Replace the incorrect >> Schema 1.1 DTD files (note the Public Identifier at line 2) with the correct >> Shema 1.0 DTDs. > > Joe Wang has updated the pull request incrementally with one addi

Re: [go-nuts] appropriate way to call fcntl(2) from Go on darwin?

2025-03-18 Thread Ian Lance Taylor
On Tue, Mar 18, 2025 at 8:28 AM Jason E. Aten wrote: > Thank you so much, Ian. > > On Tuesday, March 18, 2025 at 2:21:37 PM UTC Ian Lance Taylor wrote: > > Or in this case it seems simpler to just use the unix.FcntlFstore > function which already exists and does the right thin

Re: [go-nuts] Making Go More Accessible to Non-English Speakers

2025-03-16 Thread Ian Lance Taylor
On Sun, Mar 16, 2025 at 3:31 PM Jayathra Abeywarna wrote: > > I’m exploring ways to make programming more accessible to people who don’t > speak English or use the Latin script. Right now, most programming languages > use English-based keywords and Latin characters, which can make it harder for

[osuosl-openpower] Controller OS Upgrade Notification

2025-03-13 Thread Lance Albertson
collaborating with the AlmaLinux project to restore this support in AlmaLinux 9. Once these issues are resolved, we will proceed with upgrading the POWER9 and POWER10 nodes to AlmaLinux 9. Thank you for your understanding and patience. -- Lance Albertson Director Oregon State University | Open Source

Re: RFR: 8341775: Duplicate manifest files are removed by jarsigner after signing [v7]

2025-03-11 Thread Lance Andersen
On Mon, 10 Mar 2025 21:11:15 GMT, Kevin Driver wrote: >> test/jdk/sun/security/tools/jarsigner/MultiManifest.jar line 1: >> >>> 1: PKO�rY >>> META-INF/��PKPKO�rYMETA-INF/MANIFEST.MF�M��LK-.� >> >> We usually do not include a binary file in the code repository. Can you >>

Re: RFR: 8351567: Jar Manifest test ValueUtf8Coding produces misleading diagnostic output

2025-03-10 Thread Lance Andersen
On Mon, 10 Mar 2025 18:06:43 GMT, Roger Riggs wrote: > Remove misleading/invalid diagnostic output from the JAR manifest test > ValueUtf8Coding.java. > > The Manifest binary stream is not a well formed UTF-8 string due to the > inserted continuation characters used for lines longer than 70 cha

Re: [go-nuts] go-contrib-init error message

2025-03-10 Thread Ian Lance Taylor
On Mon, Mar 10, 2025 at 2:54 AM Patrick wrote: > > > > > go-contrib-init has a -repo option. In this case you should run > > "go-contrib-init -repo=tools". > > > Thank you, Ian. > > This gives me (with -repo=text) > > $ go-contrib-init -repo=text > The repo you want to work on is currently not on

Re: [go-nuts] go-contrib-init error message

2025-03-07 Thread Ian Lance Taylor
On Fri, Mar 7, 2025 at 12:03 AM Patrick wrote: > > I'd like to contribute to https://go.googlesource.com/text. So I cloned the > directory and ran (after registering and logging in) > > go-contrib-init > > and the resulting message is: > > Current directory's git was cloned from "https://go.googl

Re: [go-nuts] go get - no package to get in current directory

2025-03-06 Thread Ian Lance Taylor
On Wed, Mar 5, 2025 at 10:34 PM Björn Försterling wrote: > > when trying to "go get" inside the "golang/tools" module (golang.org/x/tools) > I cannot download any Go files: > .../golang/tools (master) $ GOMODCACHE="$(pwd)/.godeps" go get > go: no package to get in current directory Well, that is

Re: [aarch64-announce] Controller and Hypervisor OS Upgrades

2025-03-04 Thread Lance Albertson
Controller upgrade has been completed. I also verified that live migration finally works on aarch64! Please let me know if you have any issues stemming from this upgrade. On Tue, Mar 4, 2025 at 11:29 AM Lance Albertson wrote: > I have completed the upgrades on all hypervisor nodes. I am

Re: [go-nuts] How to Sync Geth from the Latest Finalized Block with a Checkpoint-Synced Prysm Beacon Node

2025-03-04 Thread Ian Lance Taylor
On Tue, Mar 4, 2025 at 6:07 AM SEMIA GUESMI wrote: > I have a question about the Execution Client (Geth) and the Consensus > Client (Prysm). > > I synced the beacon node from a checkpoint and started the execution > client with --syncmode full. > > My question is: *Will the execution client also

Re: [go-nuts] CGO Threads and Memory Not Being Released in Go

2025-03-04 Thread Ian Lance Taylor
On Tue, Mar 4, 2025 at 11:32 AM David Bell wrote: > > Why is memory increasing indefinitely with CGO? Because when the Go scheduler creates threads, it keeps them around, on the theory that if they were needed once, they will be needed again. Certainly we wouldn't want all threads to exit as soon

Re: [PATCH] go/119098 - bump libgo version for GCC 15 release

2025-03-04 Thread Ian Lance Taylor
On Tue, Mar 4, 2025 at 2:12 AM Richard Biener wrote: > As PR119098 shows the gccgo driver uses the install path compiled > into the shared libgo and thus updating that but not the driver > will cause the driver to fail to find other tools like cgo. > > Thus bump the SONAME for GCC 15 as well, as

[gcc r15-7818] libgo: bump libgo version for GCC 15 release

2025-03-04 Thread Ian Lance Taylor via Gcc-cvs
https://gcc.gnu.org/g:8d7762945bba3c8321b5856cee3d5e5aed55facf commit r15-7818-g8d7762945bba3c8321b5856cee3d5e5aed55facf Author: Ian Lance Taylor Date: Mon Mar 3 19:39:30 2025 -0800 libgo: bump libgo version for GCC 15 release For PR go/119098 Reviewed-on: https://go

Re: [aarch64-announce] Controller and Hypervisor OS Upgrades

2025-03-04 Thread Lance Albertson
I have completed the upgrades on all hypervisor nodes. I am now starting the upgrade on the controller node and expect this to take approximately one hour to finish. Actual downtime should be around 30 minutes if all goes well. Thanks- On Tue, Feb 25, 2025 at 1:59 PM Lance Albertson wrote

Re: RFR: 8066583: DeflaterInput/OutputStream and InflaterInput/OutputStream should explain responsibility for freeing resources [v3]

2025-03-03 Thread Lance Andersen
On Mon, 3 Mar 2025 11:59:36 GMT, Eirik Bjørsnøs wrote: > > Given the inputs from Alan, Eirik and Lance, I have now updated this PR > > [...] > > > Does this look better? > > I like the structure this is shaping into, with the affected constructors > linking int

Re: [GNC] Changing Global Font to Aptos Narrow

2025-03-01 Thread Lance Kibblewhite
On my Windows 11, I have installed the Aptos fonts. Download from: https://www.microsoft.com/en-us/download/details.aspx?id=106087 File name: Microsoft Aptos Fonts.zip Narrow shows as a variant of the Aptos font, but it is in its own file: [cid:670dfbb8-5c62-4c32-8aea-9a5d5427b5c4] Aptos.ttf A

Re: [go-nuts] Google Contributor Licence Agreement web form problems

2025-02-28 Thread Ian Lance Taylor
On Fri, Feb 28, 2025 at 12:16 PM Rory Campbell-Lange wrote: > > The CLA form at > https://cla.developers.google.com/clas/new?domain=DOMAIN_GOOGLE&kind=KIND_INDIVIDUAL > is erroring for me with the following error: > > "A server error occurred, please try your request again". > > The error has pe

Re: [go-nuts] suggested change to template.Funcs docstring

2025-02-28 Thread Ian Lance Taylor
On Fri, Feb 28, 2025 at 12:19 PM Rory Campbell-Lange wrote: > > On 27/02/25, Rory Campbell-Lange (r...@campbell-lange.net) wrote: > > On 27/02/25, Ian Lance Taylor (i...@golang.org) wrote: > > > On Thu, Feb 27, 2025 at 1:04 PM Rory Campbell-Lange > > > wrote: > &

Re: [go-nuts] Why can't single-method interfaces not be implemented by embedding?

2025-02-27 Thread Ian Lance Taylor
On Thu, Feb 27, 2025 at 9:49 AM cpu...@gmail.com wrote: > > Thanks Ian, you are of course correct- but I still don't get it. Thank you > for taking the time. > > > m.EqualName has to mean something. The Go language defines it as > meaning the field in m's type, rather than the embedded method. >

Re: [go-nuts] suggested change to template.Funcs docstring

2025-02-27 Thread Ian Lance Taylor
On Thu, Feb 27, 2025 at 1:04 PM Rory Campbell-Lange wrote: > > The docstring for [html|text]/template.Funcs is as follows > > package template // import "html/template" > > func (t *Template) Funcs(funcMap FuncMap) *Template > Funcs adds the elements of the argument map to the temp

Re: [go-nuts] Why can't single-method interfaces not be implemented by embedding?

2025-02-27 Thread Ian Lance Taylor
On Thu, Feb 27, 2025 at 9:32 AM cpu...@gmail.com wrote: > > I can see that that's the difference and cause but I'm not convinced by the > explanation (although that clearly is what happens): > > If the embedded method name EqualName shadows the method name EqualName that > should still implement

Re: [go-nuts] [security] golang Firestore SIGSEGV

2025-02-27 Thread Ian Lance Taylor
On Thu, Feb 27, 2025 at 9:22 AM David wrote: > > ___ > # go run sigsegv.go > panic: runtime error: invalid memory address or nil pointer dereference > [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xa68a44] > > goroutine 1 [running]: > cloud.google.com/go

Re: We have been accepted as a mentoring organization at GSoC

2025-02-27 Thread Lance Bachmeier via Digitalmars-d-announce
On Thursday, 27 February 2025 at 08:43:27 UTC, RazvanN wrote: Hello everyone, It is with great happiness and excitement that I am making this announcement that we have been accepted as a mentoring organization for Google Summer of Code. This is a great opportunity to attract new talent to con

Re: [go-nuts] Re: Exposing newcoro/coroswitch

2025-02-26 Thread Ian Lance Taylor
On Wed, Feb 26, 2025 at 2:18 AM Nuno Cruces wrote: > > On Tuesday 25 February 2025 at 18:15:40 UTC Ian Lance Taylor wrote: > > I think what you're presenting is an argument for > > package iter > > // Push returns an iterator, a yield function, and a stop function.

Re: RFR: 8204868: java/util/zip/ZipFile/TestCleaner.java still fails with "cleaner failed to clean zipfile."

2025-02-26 Thread Lance Andersen
On Mon, 24 Feb 2025 05:50:40 GMT, Jaikiran Pai wrote: > Can I please get a review of this test-only change which proposes to address > an intermittent failure in the > `test/jdk/java/util/zip/ZipFile/TestCleaner.java` test? > > This test does operations on Inflater/Deflater/ZipFile and closes

[aarch64-announce] Controller and Hypervisor OS Upgrades

2025-02-25 Thread Lance Albertson
hoping the newer libvirt will finally provide support for live migration. I will send out periodic updates if needed. I expect this to last a couple of weeks between all the various nodes we need to do this on. If you have any questions, please let me know. -- Lance Albertson Director Or

Re: [go-nuts] Re: Exposing newcoro/coroswitch

2025-02-25 Thread Ian Lance Taylor
o the lifespan of a single function. In the original example, the values to push into the sequence would come from a method call. This can all be done already with channels, of course, as shown by the earlier examples. Ian >> On Tuesday, February 25, 2025 at 6:15:40 PM UTC Ian Lance Taylor w

Re: [go-nuts] Re: Exposing newcoro/coroswitch

2025-02-25 Thread Ian Lance Taylor
On Tue, Feb 25, 2025 at 6:17 AM Nuno Cruces wrote: > > I wanted a solution that doesn't necessarily involve goroutines and channels, > for the same reason that iter.Pull was created: because goroutines and > channels add unnecessary parallelism that has the potential to introduce data > races,

Re: [go-nuts] Cancelled context error not propagated in net/cgo_unix.go

2025-02-24 Thread Ian Lance Taylor
there wouldOn Mon, Feb 24, 2025 at 12:35 PM 'Paul Ruane' via golang-nuts wrote: > > I hit a problem today whereby a gRPC call did not come back with a status of > cancelled, despite the request context being cancelled. > > Tracing it through I found that it was because of a failed DNS lookup and

Re: What does a cast really do?

2025-02-21 Thread Lance Bachmeier via Digitalmars-d-learn
On Friday, 21 February 2025 at 15:48:12 UTC, Steven Schveighoffer wrote: But testing this, it doesn't make sense: ```d uint x = long(-1); // OK uint y = -1L; // Error: cannot implicitly convert expression `-1L` of type `long` to `uint` ``` Surely something here is worthy of a bug report

Re: Intro to calling C libraries

2025-02-20 Thread Lance Bachmeier via Digitalmars-d-learn
On Thursday, 20 February 2025 at 20:09:29 UTC, Ian wrote: Hi, What is the recommended documentation or introductory material on how to call C libraries from D? I've seen it done in GtkD (for GTK3) and I have heard of -betterC, but it's all a little overwhelming. (I'm an experienced C programm

Re: [go-nuts] Custom build tags with third-party libraries

2025-02-20 Thread Ian Lance Taylor
hen building that program. It would be a limited per-project GOFLAGS. But that wouldn't help the case of your package foo, which requires a build tag to be used when building a different package. I'm not an expert in this area. Perhaps somebody else has an idea. Ian > -Original

Re: [go-nuts] Custom build tags with third-party libraries

2025-02-19 Thread Ian Lance Taylor
On Wed, Feb 19, 2025 at 9:36 AM 'Bushnell, Thomas' via golang-nuts wrote: > > The module https://github.com/confluentinc/confluent-kafka-go takes advantage > of a custom build tag to change its behavior. (Specifically, the “dynamic” > build tag forces it to use a dynamic shared library -lrdkafka

Re: [go-nuts] runtime.AddCleanup and C struct hierarchies: cleanup order?

2025-02-19 Thread Ian Lance Taylor
On Wed, Feb 19, 2025 at 1:12 PM twp...@gmail.com wrote: > > The documentation for runtime.AddCleanup says: > > > There is no specified order in which cleanups will run. > > Given the following types: > > type Parent struct { > parentResource int > } > > type Child struct { > parent *Parent

Re: RFR: 8349699: XSL transform fails with certain UTF-8 characters on 1024 byte boundaries [v3]

2025-02-19 Thread Lance Andersen
On Wed, 19 Feb 2025 00:16:13 GMT, Joe Wang wrote: >> Fix an edge case in the patch for JDK-8207760. > > Joe Wang has updated the pull request incrementally with one additional > commit since the last revision: > > add tests verifying invalid sequence; also add tests to verify cases where > t

Re: [wsjt-devel] WSJT-X 2.7.0 GA Release

2025-02-17 Thread Lance Collister, W7GJ via wsjt-devel
their previous receiving period? It would really be a HUGE ADVANTAGE to be able to identify callers that had the capability of a quick reciprocal contact. Just had to ask!  MNI TNX and VY 73, Lance On 2/17/2025 13:02:17, Joseph Taylor via wsjt-devel wrote: The WSJT Development Team is

Re: RFR: 8349699: XSL transform fails with certain UTF-8 characters on 1024 byte boundaries [v2]

2025-02-14 Thread Lance Andersen
On Fri, 14 Feb 2025 19:09:53 GMT, Joe Wang wrote: >> Fix an edge case in the patch for JDK-8207760. > > Joe Wang has updated the pull request incrementally with one additional > commit since the last revision: > > un-needed property removed Marked as reviewed by lancea (Reviewer). -

Re: RFR: 8349699: XSL transform fails with certain UTF-8 characters on 1024 byte boundaries

2025-02-14 Thread Lance Andersen
On Fri, 14 Feb 2025 00:56:03 GMT, Joe Wang wrote: > Fix an edge case in the patch for JDK-8207760. Marked as reviewed by lancea (Reviewer). test/jaxp/javax/xml/jaxp/unittest/transform/JDK8207760.java line 125: > 123: Transformer t = createTransformerFromInputstream( > 124:

Re: RFR: 8347946: Add API note that caller should validate/trust signers to the getCertificates and getCodeSigners methods of JarEntry and JarURLConnection

2025-02-14 Thread Lance Andersen
On Thu, 13 Feb 2025 16:27:03 GMT, Sean Mullan wrote: > This change adds an API note to these methods recommending that the caller > should perform further validation steps on the code signers that signed the > JAR file, such as validating the code signer's certificate chain, and > determining

Re: RFR: 8347946: Add API note that caller should validate/trust signers to the getCertificates and getCodeSigners methods of JarEntry and JarURLConnection

2025-02-14 Thread Lance Andersen
On Thu, 13 Feb 2025 16:27:03 GMT, Sean Mullan wrote: > This change adds an API note to these methods recommending that the caller > should perform further validation steps on the code signers that signed the > JAR file, such as validating the code signer's certificate chain, and > determining

Re: RFR: 8347946: Add API note that caller should validate/trust signers to the getCertificates and getCodeSigners methods of JarEntry and JarURLConnection

2025-02-14 Thread Lance Andersen
On Thu, 13 Feb 2025 16:27:03 GMT, Sean Mullan wrote: > This change adds an API note to these methods recommending that the caller > should perform further validation steps on the code signers that signed the > JAR file, such as validating the code signer's certificate chain, and > determining

Re: RFR: 8349909: jdk.internal.jimage.decompressor.ZipDecompressor does not close the Inflater in exceptional cases

2025-02-14 Thread Lance Andersen
On Fri, 14 Feb 2025 07:41:26 GMT, Jaikiran Pai wrote: > Can I please get a review of this change which proposes to properly close the > `Inflater` instance used in > `jdk.internal.jimage.decompressor.ZipDecompressor.decompress()` method? This > addresses https://bugs.openjdk.org/browse/JDK-834

Re: [go-nuts] input directly from cli after a function

2025-02-13 Thread Ian Lance Taylor
On Thu, Feb 13, 2025 at 2:12 PM Jabari Zakiya wrote: > > I want to input an integer directly after the function > > $ ./myfunction n (CR) > > not > > $ ./myfunction (CR) > n (CR) > > None of my search results explains how to do this. Sounds like you want to look at os.Args, which will contai

Re: RFR: 8349907: jdk.tools.jlink.internal.plugins.ZipPlugin does not close the Deflater in exceptional cases [v2]

2025-02-12 Thread Lance Andersen
On Wed, 12 Feb 2025 15:45:25 GMT, Jaikiran Pai wrote: >> Can I please get a review of this change in >> `jdk.tools.jlink.internal.plugins.ZipPlugin` which proposes to close the >> `Deflater` instance cleanly? This addresses >> https://bugs.openjdk.org/browse/JDK-8349907. >> >> As noted in tha

Re: [go-nuts] Unused unexported methods kept by DCE when using plugins

2025-02-11 Thread Ian Lance Taylor
On Tue, Feb 11, 2025 at 1:57 AM Pierre Gimalac wrote: > > But in that case why would that only happen for dynamic builds ? > Shouldn't all unexported methods also be kept for the "normal" build ? In a normal build the linker can see all the code in the program, so it knows whether something is po

[gcc r15-7461] libbacktrace: add cast to avoid undefined shift

2025-02-10 Thread Ian Lance Taylor via Gcc-cvs
https://gcc.gnu.org/g:d5c72da62d29cfa0fff532c66f28670c2dfcd75e commit r15-7461-gd5c72da62d29cfa0fff532c66f28670c2dfcd75e Author: Ian Lance Taylor Date: Mon Feb 10 15:03:31 2025 -0800 libbacktrace: add cast to avoid undefined shift Patch from pgerell@github

Re: libbacktrace patch committed: Add casts to avoid undefined shifts

2025-02-10 Thread Ian Lance Taylor
On Thu, Jan 30, 2025 at 3:23 PM Ian Lance Taylor wrote: > > This patch from pgerell at GitHub adds some casts to libbacktrace to > avoid undefined shifts. These shifts are OK on all real systems but > may as well get it right. Bootstrapped and ran libbacktrace tests on > x86_

Re: [go-nuts] Unused unexported methods kept by DCE when using plugins

2025-02-07 Thread Ian Lance Taylor
On Fri, Feb 7, 2025 at 2:59 PM 'Pierre Gimalac' via golang-nuts wrote: > > I noticed that when importing the std "plugin" package then (some ?) > unexported methods are kept in the binary. > > Disclaimer it's something I only observed on a complex binary, I could not > make a minimal reproducibl

Re: RFR: 8327378: XMLStreamReader throws EOFException instead of XMLStreamException

2025-02-07 Thread Lance Andersen
On Fri, 7 Feb 2025 20:03:21 GMT, Joe Wang wrote: > Fix an error handling where the XMLStreamReader impl throws EOFException > instead of XMLStreamException as defined. Looks OK Joe I might suggest an RN to give a heads up on the change of Exception to match he spec - Marked as r

Re: RFR: 8344925: translet-name ignored when package-name is also set [v2]

2025-02-06 Thread Lance Andersen
On Thu, 6 Feb 2025 20:19:53 GMT, Joe Wang wrote: >> Fix an issue where the translet-name is incorrectly set when the >> package-name is also specified. > > Joe Wang has updated the pull request incrementally with one additional > commit since the last revision: > > update test Marked as rev

Re: RFR: 8344925: translet-name ignored when package-name is also set

2025-02-06 Thread Lance Andersen
On Tue, 4 Feb 2025 18:30:34 GMT, Joe Wang wrote: > Fix an issue where the translet-name is incorrectly set when the package-name > is also specified. Marked as reviewed by lancea (Reviewer). - PR Review: https://git.openjdk.org/jdk/pull/23446#pullrequestreview-2599444141

[wsjt-devel] Bit Rate of Q65-60A?

2025-02-05 Thread Lance Collister via wsjt-devel
I need to provide this information for a new 6m EME DXpedition license. Does anyone know what this value is? I think it is 1.67 bits/second, but I am not sure... MNI TNX and VY 73, Lance -- Lance Collister, W7GJ(ex WA3GPL, WA1JXN, WA1JXN/C6A, ZF2OC/ZF8, E51SIX, 3D2LR, 5W0GJ, E6M, TX5K, KH8

[MM3-users] Re: Configuring ARC with multiple domains in Mailman3

2025-02-05 Thread Lance A. Brown
I found a solution by arranging for outbound mail to go through a dedicated service which handles the ARC sealing and such-like for me. It's working nicely! I was even able to turn off the DMARC munging on my test list without problems. --[Lance] Stephen J. Turnbull wrote on 2/5/2025

[gcc r15-7378] go: update builtin function attributes

2025-02-05 Thread Ian Lance Taylor via Gcc-cvs
https://gcc.gnu.org/g:0006c07b7ac6594195d5db322e39907203be4c2a commit r15-7378-g0006c07b7ac6594195d5db322e39907203be4c2a Author: Ian Lance Taylor Date: Wed Feb 5 10:14:57 2025 -0800 go: update builtin function attributes PR go/118746 * go-gcc.cc (class

Go frontend patch committed: Update builtin function attributes

2025-02-05 Thread Ian Lance Taylor
This patch updates the attributes for the relatively few builtin functions defined by the Go frontend to the current ones in builtins.def. This fixes PR 118746. Bootstrapped and ran Go testsuite on x86_64-pc-linux-gnu. Committed to mainline. Ian PR go/118746 * go-gcc.cc (class Gcc_backend): De

[MM3-users] Configuring ARC with multiple domains in Mailman3

2025-02-04 Thread Lance A. Brown
e of the server Mailman is running on? Thanks for any assistance, --[Lance] ___ Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-le...@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-use

[GNC] Version 5.11 & QIF import

2025-02-03 Thread Lance Kibblewhite
Is there an estimate for when version 5.11 might be released, and whether or not it will include a fix for the QIF import failures? ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://

Re: Status Update December 2024/January 2025

2025-02-03 Thread Lance Bachmeier via Digitalmars-d-announce
On Monday, 3 February 2025 at 14:03:06 UTC, jmh530 wrote: These status updates might also work as a blog post. I agree.

Re: Status Update December 2024/January 2025

2025-02-03 Thread Lance Bachmeier via Digitalmars-d-announce
This is useful information. A couple comments: Steven Schveighoffer has been preparing DRuntime for the inclusion of the new GC. I wasn't aware that we'll be getting a new GC. Was there an announcement? I'm stretching out the publication of the DConf '24 videos. I've rushed to get them out

Re: ELF2.0: Linkable struct

2025-01-31 Thread Ian Lance Taylor via Gcc
On Fri, Jan 31, 2025 at 7:37 AM The Cuthour via Gcc wrote: > > I understand the concerns about the C++ standard requiring constant > expressions to be known during compilation. However, my proposal for > link-time evaluation offers significant flexibility and efficiency > improvements that could a

libbacktrace patch committed: Add casts to avoid undefined shifts

2025-01-30 Thread Ian Lance Taylor
This patch from pgerell at GitHub adds some casts to libbacktrace to avoid undefined shifts. These shifts are OK on all real systems but may as well get it right. Bootstrapped and ran libbacktrace tests on x86_64-pc-linux-gnu. Committed to mainline. Ian libbacktrace: add casts to avoid undefined

[gcc r15-7297] libbacktrace: add casts to avoid undefined shifts

2025-01-30 Thread Ian Lance Taylor via Gcc-cvs
https://gcc.gnu.org/g:5d43c3f08bca01c48aac851e1195f03b9319091d commit r15-7297-g5d43c3f08bca01c48aac851e1195f03b9319091d Author: Ian Lance Taylor Date: Thu Jan 30 15:20:23 2025 -0800 libbacktrace: add casts to avoid undefined shifts Patch from pgerell@github

Re: std.conv:to that does not throw?

2025-01-30 Thread Lance Bachmeier via Digitalmars-d-learn
On Thursday, 30 January 2025 at 01:38:07 UTC, Kyle Ingraham wrote: Does D have a 'try' `std.conv:to` that does not throw if it fails? Have you looked at [mir.conv](http://mir-core.libmir.org/mir_conv.html) and [mir.parse](http://mir-algorithm.libmir.org/mir_parse.html)?

Re: Documentation re -betterC compatibility with standard library functions

2025-01-28 Thread Lance Bachmeier via Digitalmars-d-learn
On Tuesday, 28 January 2025 at 13:01:56 UTC, DLearner wrote: Is there a definitive list somewhere of standard library functions that work with -betterC? For example, the following code fragment (taken from the library docs) does not work with -betterC. ``` extern(C) void main() { import st

Re: [PATCH] arm: libbacktrace: Check if the compiler supports __sync atomics

2025-01-27 Thread Ian Lance Taylor
Richard Earnshaw writes: > Older versions of the Arm architecture lack support for __sync > operations directly in hardware and require calls into appropriate > operating-system hooks. But such hooks obviously don't exist in a > freestanding environment. > > Consquently, it is incorrect to assum

[osuosl-openpower] Firmware upgrade on POWER10 systems

2025-01-27 Thread Lance Albertson
eryone a heads up in case something goes wrong. I'll be starting this upgrade later this morning. Thanks- -- Lance Albertson Director Oregon State University | Open Source Lab ___ openpower mailing list openpo...@osuosl.org https://lists.osuos

Re: [go-nuts] Fscan() eats 1st char in scanning values

2025-01-26 Thread Ian Lance Taylor
On Sun, Jan 26, 2025 at 4:51 PM 'Ivan Burak' via golang-nuts wrote: > > Fscan() eats 1st char in scanning values if the values aren't a first value > in a line. > > The documentation tells: "Fscanln is similar to Fscan, but stops scanning at > a newline and after the final item there must be a n

Re: RFR: 4452735: Add GZIPOutputStream constructor to specify Deflater

2025-01-24 Thread Lance Andersen
On Fri, 19 Jul 2024 15:16:01 GMT, Lance Andersen wrote: >>> I understand the request here, but is there a current use case for needing >>> a custom Deflater? >> >> I think the primary use case is when you want to set a non-default >> compression level, e.g.

Re: RFR: 8343609: Broken links in java.xml [v3]

2025-01-23 Thread Lance Andersen
On Thu, 23 Jan 2025 00:46:07 GMT, Joe Wang wrote: >> Fix broken links in java.xml: >> >> Catalog: contacted Oasis. The standard page >> (https://www.oasis-open.org/standard/xmlcatalogs/) now links to the PDF >> version. That is what I'm using now, replacing the html pages. Not ideal, >> but a

Re: [go-nuts] Go 1.24 runtime.Cleanup and sync.Pool.

2025-01-21 Thread Ian Lance Taylor
On Tue, Jan 21, 2025 at 6:10 PM John wrote: > > Curious if the new runtime.Cleanup() would allow auto sync.Pool.Put() for a > variable. I'm not sure from the documentation if this would work or would > cause some type of issue (the variable was on its way to collection and then > gets put in a

Re: [go-nuts] inconsistent min max signatures with variadics

2025-01-20 Thread Ian Lance Taylor
On Mon, Jan 20, 2025 at 11:35 AM 'Dan Kortschak' via golang-nuts wrote: > > On Mon, 2025-01-20 at 10:42 -0800, Ian Lance Taylor wrote: > > Calling append with an empty slice is well defined. Calling min or > > max with an empty slice is not. > > If the only inp

Re: [go-nuts] inconsistent min max signatures with variadics

2025-01-20 Thread Ian Lance Taylor
On Mon, Jan 20, 2025 at 7:00 AM Benoît Marguerie wrote: > > Even if the spec precises : > > slice arguments are not permitted > > I wonder if there's any real technical reason to prohibit the use of the > slice variadics during min/max buildin functions, when it's allowed with > append (which cr

  1   2   3   4   5   6   7   8   9   10   >