查找

Question
· Nov 10

Foreign Table datatypes

Hello!

I'm trying to create some foreign tables to a PostgreSQL database. In some cases, columns with certain datatypes cannot be consumed by IRIS and the following error is thrown:

 [SQLCODE: <-237>:<Schema import for foreign table did not return column metadata>]

  [%msg: <Unkown data type returned by external database>]

For example: serial4 typed ID columns are typical examples. Is it possible, what's the best way of resolving these datatypes, which- seemingly- don't have proper JDBC metadata mappings?

Of course, explicitely defining columns and types as part of the CREATE FOREIGN TABLE statement solves the problem, but when working with large number of foreign tables and unknown number of potentially problematic datataypes, this can be cumbersome.

 

Thank you for any help in advance!

Attila Toth

Discussion (0)1
Log in or sign up to continue
Article
· Nov 10 3m read

_spec para swagger-ui desde la clase de spec

Seguramente queríais usar la especificación OpenAPI (OAS) en formato JSON que utilizasteis para vuestra clase spec en el paquete iris-web-swagger-ui de IRIS.
La OAS generada por el método ##class(%REST.API).GetWebRESTApplication(...) es muy básica, sin descripciones de los parámetros ni de la estructura esperada de las respuestas.

Así que, después de crear vuestra aplicación REST a partir de una OAS, deberíais tener:

  • Una clase application.disp.cls generada
  • Una clase application.spec.cls (añadiremos una ruta hacia la especificación OpenAPI que se encuentra en la propiedad "XData OpenAPI")
  • Una clase application.impl.cls (solo implementaremos el método GetSpec)

Si instalasteis el paquete iris-web-swagger-ui (https://openexchange.intersystems.com/package/iris-web-swagger-ui), necesitáis un endpoint que devuelva la OAS.

Mi enfoque consiste en añadir una ruta hacia la OAS en la clase spec y aplicarla usando la propiedad "OpenAPI" de dicha clase spec. Esto os permitirá, por ejemplo, tener disponible para pruebas toda la estructura del OAS original.

En la clase de ejemplo del paquete iris-web-swagger-ui (Sample.PersonREST), hay una implementación del método SwaggerSpec que actualiza algunas propiedades para reflejar lo que está configurado en la Aplicación Web de IRIS. Si seguís este procedimiento, recomiendo actualizar directamente la OAS en la clase spec para proporcionar esa información y así centralizar la documentación de vuestra API (aunque siempre podéis actualizarla en el método GetSpec que os muestro como ejemplo).

Siguiendo el ejemplo de la clase Sample.PersonREST, la ruta será /_spec. Aunque existe un valor para la etiqueta "basePath", este será reemplazado por el nombre de la Aplicación Web de IRIS.

Class application.spec Extends %REST.Spec [ProcedureBlock]
{

XData OpenAPI [ MimeType = application/json ]
{
{
  ...
  "basePath":"/api/myapi",
  ...
  "paths":{
    "/_spec": {
      "get":{
        "operationId":"GetSpec",
        "description":"This OpenAPI Spec",
        "produces":[
          "application/json"
        ],
        "responses":{
          "200":{
            "description":"Successful operation"
            }
          }
        }
    }, 
...

Lo siguiente es pegar este código sencillo en la clase de implementación. Concretamente, después de compilar la clase spec, la clase impl tiene un nuevo método (GetSpec) que debe devolver un objeto dinámico (el comentario principal proviene de la OAS en la clase spec y de la etiqueta "description" del "get" en la ruta). Debéis reemplazar "application.spec" por la referencia a vuestra propia clase de aplicación.

/// This OpenAPI Spec
ClassMethod GetSpec() As %DynamicObject
{
    Set spec = {}.%FromJSON(##class(%Dictionary.CompiledXData).%OpenId("application.spec||OpenAPI").Data.Read())
    Set spec.basePath = %request.Application
    Return spec
}

¡Eso es todo!

Ahora id a vuestro iris-web-swagger-ui (en mi caso, http://localhost:52773/swagger-ui/index.html) y probad explorando en “http://localhost:52773/api/myapi/_spec” dentro del campo de navegación de swagger-ui.

Nota: definí una Aplicación Web llamada /api/myapi con “application.disp” como su “clase de despacho” (Dispatch class).

Discussion (0)1
Log in or sign up to continue
Article
· Nov 10 5m read

Stussy Hoodie – The Ultimate Symbol of Streetwear Culture

When it comes to streetwear, few brands have achieved legendary status like Stussy. Born from the beaches of California, Stussy transformed from a small surf-inspired label into one of the most influential names in global fashion. Its bold logo, laid-back vibe, and timeless appeal have made it a cornerstone of modern streetwear. And at the center of this cultural phenomenon stands one piece that perfectly embodies its legacy — the Stussy Hoodie.

The Origins of Stussy: From Surfboards to Streetwear

The story of Stussy began in the early 1980s with a surfer and board shaper named Shawn Stussy. While shaping surfboards in Laguna Beach, California, Shawn began signing his name in a distinctive graffiti-style font — a mark that would later become the iconic Stussy logo recognized worldwide.To promote his boards, he started printing the same signature on T-shirts and selling them to locals. What started as a marketing idea quickly became a movement. The shirts caught the attention of not just surfers but also skaters, musicians, and street kids who loved the rebellious and creative energy behind the designs.As the brand grew, Stussy expanded its clothing line to include hoodies, hats, and accessories, each piece representing a mix of surf, skate, and street culture. The brand didn’t follow fashion trends — it created them.

The Rise of the Stussy Hoodie

Among Stussy’s most iconic pieces, the Stussy Hoodie has become a symbol of effortless style. Known for its comfort, simplicity, and bold branding, it perfectly reflects the brand’s relaxed California roots while appealing to fashion lovers worldwide.The hoodie’s design often features the classic hand-drawn Stussy script logo, sometimes combined with world tour graphics or bold prints inspired by music and street culture. Each hoodie captures a sense of authenticity that can’t be replicated — it feels raw, real, and timeless.What makes the Stussy Hoodie truly special is how it blends quality with personality. Made from soft, durable materials, it’s perfect for layering or wearing on its own. Whether you’re hanging out with friends, skating downtown, or heading to a casual meetup, a Stussy Hoodie adds effortless cool to any outfit.

Stussy’s Global Impact on Streetwear

Over the past four decades, Stussy has influenced every corner of the streetwear scene. The brand’s rise coincided with the growth of hip-hop, skateboarding, and youth culture — and it became a bridge between them all.In the 1990s, Stussy gained massive popularity across cities like New York, London, and Tokyo. Its clothing was seen as a mark of individuality — worn by people who didn’t want to blend in but stand out. The Stussy Hoodie became a unifying piece for those who lived and breathed creativity, from rappers and graffiti artists to DJs and fashion enthusiasts.Even today, the Stussy Hoodie remains a favorite among celebrities and streetwear icons. Artists, skaters, and designers continue to wear it not only for its aesthetic appeal but also for its history and meaning. Stussy has transcended generations, maintaining relevance in a constantly changing fashion landscape.

Iconic Collaborations: The Stussy Hoodie Reinvented

Part of Stussy’s ongoing success comes from its collaborations. Over the years, Stussy has teamed up with some of the biggest brands in fashion — including Nike, Supreme, Bape, Dior, Levi’s, and Converse. Each collaboration gives the Stussy Hoodie a fresh twist while preserving its original identity.For example, the Stussy x Nike collaborations introduced unique street-sport hybrids that combined comfort with cutting-edge style. Meanwhile, the Stussy x Dior partnership elevated the hoodie to luxury status, blending high-end fashion with underground streetwear.These limited-edition hoodies often sell out within minutes of release, proving how powerful the Stussy name remains. Each drop becomes a collectible — not just a piece of clothing, but a piece of fashion history.

How to Style a Stussy Hoodie

The beauty of the Stussy Hoodie lies in its versatility. It’s easy to wear, easy to pair, and fits almost every occasion. Here are a few classic ways to style it:

  • Street Classic: Pair your hoodie with baggy jeans, sneakers, and a cap for the ultimate casual look.
  • Layered Fit: Combine a Stussy Hoodie with a denim or bomber jacket for an urban, layered style.
  • Sporty Comfort: Match it with joggers or sweatpants for a relaxed and athletic vibe.
  • Minimalist Edge: Choose neutral tones like black, grey, or beige for a simple yet refined outfit.

No matter how you wear it, the Stussy Hoodie adds confidence and creativity to your look.

Why Stussy Still Dominates the Streetwear Scene

Unlike many brands that fade away over time, Stussy continues to evolve while staying true to its roots. The secret to its success lies in authenticity. Stussy doesn’t chase trends — it sets them.The brand’s designs remain grounded in the culture that inspired them: music, art, surf, and street. Every Stussy Hoodie reflects a perfect blend of nostalgia and modern style, appealing to both longtime fans and the new generation of streetwear lovers.In a world filled with fast fashion, Stussy’s commitment to quality and originality keeps it relevant. The Stussy Hoodie isn’t just another hoodie; it’s a representation of decades of creativity, freedom, and cultural expression.

Conclusion: The Legacy of Stussy and the Power of the Hoodie

The Stussy Hoodie is more than just a fashion item — it’s a piece of history. It embodies the evolution of streetwear from underground culture to global influence. Whether you’re a skateboarder, musician, artist, or simply someone who values authentic style, Stussy has something that speaks to you.For over 40 years, the brand has maintained its position as a pioneer in urban fashion, inspiring countless others to follow in its footsteps. The Stussy Hoodie remains a timeless essential — a perfect blend of comfort, style, and attitude.In the end, wearing Stussy isn’t just about fashion; it’s about expressing who you are. It’s about being part of a culture that celebrates originality and self-expression. And that’s why the Stussy Hoodie will always be more than a hoodie — it’s an icon

Discussion (0)1
Log in or sign up to continue
Article
· Nov 10 5m read

Stussy Hoodie – The Streetwear Essential That Defined a Generation

 

In the world of streetwear, few names command as much respect and recognition as Stussy. What began as a small surfwear brand in Southern California has evolved into a global streetwear empire, influencing generations of designers, artists, and fashion lovers. Among all its creations, the Stussy Hoodie stands out as one of the most iconic and beloved pieces in modern fashion. Comfortable, stylish, and rich in cultural history, it’s more than just a hoodie—it’s a statement of individuality and authenticity.

The Beginning of Stussy: A Surfboard Brand That Changed Fashion Forever

The story of Stussy started in the early 1980s when a surfer and board shaper named Shawn Stussy began selling surfboards along the beaches of Laguna Beach, California. Each board carried his unique, graffiti-style signature—a design that would soon become one of the most recognizable logos in fashion.To promote his surfboards, Shawn started printing his signature on T-shirts and shorts. These quickly gained attention for their unique style, and before long, people were buying the clothes more than the boards. This marked the birth of Stussy as a clothing brand—one that blended surf culture, skateboarding, hip-hop, and street style into something entirely new.What made Stussy different was its ability to unite subcultures. From skaters and DJs to graffiti artists and musicians, people connected with the brand’s free-spirited attitude and bold creativity. It wasn’t just a label—it was a lifestyle.

The Rise of the Stussy Hoodie

Among the brand’s many popular designs, the Stussy Hoodie emerged as a standout piece that perfectly captured the brand’s essence. Simple yet instantly recognizable, it features the iconic Stussy script logo, often printed across the chest or embroidered on the back.The hoodie’s popularity comes from its effortless blend of comfort, quality, and urban appeal. Made from soft, durable materials, the Stussy Hoodie provides warmth and style in equal measure. It’s not overly flashy, yet it carries a certain confidence—a quiet statement that says you know streetwear.From Los Angeles to London and Tokyo, the hoodie became a global symbol of urban fashion. Celebrities, skaters, rappers, and streetwear fans all embraced it as a wardrobe essential.

Why the Stussy Hoodie Stands Out

The Stussy Hoodie has remained a streetwear favorite for decades because it represents more than just fashion—it symbolizes culture, creativity, and community. Here’s why it continues to stand out:

  1. Timeless Design: The clean, minimal look ensures it never goes out of style. Whether it’s a plain black hoodie or a bold graphic edition, every Stussy piece carries the brand’s classic DNA.
  2. Comfort and Quality: Crafted from premium cotton and fleece materials, it offers unmatched comfort while maintaining durability.
  3. Versatility: The Stussy Hoodie pairs easily with jeans, joggers, or cargo pants, making it perfect for both casual and trendy looks.
  4. Cultural Impact: It’s more than clothing—it’s a symbol of individuality and self-expression. Wearing Stussy means being part of a movement that values creativity over conformity.

Cultural Influence and Global Reach

What started in California soon became a global sensation. By the 1990s, Stussy had expanded into major fashion markets in Europe and Asia. Its influence grew alongside hip-hop and skate culture, becoming the go-to brand for those who lived and breathed the streets.The Stussy Hoodie became a staple not just for its comfort but for what it represented—a sense of rebellion and freedom. It was worn by musicians, street artists, and everyday people who saw fashion as a form of self-expression.Even today, in an era dominated by luxury collaborations and digital trends, Stussy remains relevant. Its ability to adapt while staying authentic keeps it at the heart of streetwear culture. Whether spotted at skate parks, music festivals, or fashion runways, the Stussy Hoodie continues to embody the energy and creativity of urban youth.

Iconic Collaborations: Blending Streetwear with High Fashion

One reason Stussy has maintained its influence is its innovative collaborations. Over the years, the brand has teamed up with giants like Nike, Supreme, Bape, and even luxury houses like Dior. These collaborations bring new life to the classic Stussy Hoodie, blending high fashion with raw street style.Limited-edition releases often sell out within hours, proving the hoodie’s cult status among collectors and fans alike. Each collaboration adds a new twist—fresh colors, bold patterns, or reimagined logos—while preserving the authenticity that makes Stussy so special.By merging streetwear with high-end fashion, Stussy continues to bridge the gap between underground culture and mainstream appeal.

How to Style a Stussy Hoodie

One of the best things about the Stussy Hoodie is its versatility. You can wear it in countless ways, depending on your personal style. Here are some ideas:

  • Casual Streetwear Look: Pair it with ripped jeans, cargo pants, and classic sneakers for an effortlessly cool outfit.
  • Layered Vibe: Throw it under a denim or bomber jacket for a street-ready layered fit.
  • Sporty Fit: Combine the hoodie with joggers and athletic shoes for a comfortable, athletic edge.
  • Minimalist Chic: Choose neutral tones like grey, white, or beige and pair them with clean sneakers for a modern, minimal look.

No matter how it’s worn, the Stussy Hoodie always adds an unmistakable streetwear edge.

The Legacy of Stussy

After more than 40 years, Stussy remains one of the most respected names in global streetwear. The brand’s commitment to authenticity, creativity, and quality continues to attract both loyal fans and new admirers.The Stussy Hoodie has transcended its role as a clothing item—it’s a symbol of cultural history. It connects generations and reminds us that fashion can be both simple and meaningful.Whether you’re discovering the brand for the first time or adding to your streetwear collection, owning a Stussy Hoodie means owning a piece of fashion history. It represents everything that makes streetwear powerful: comfort, culture, and confidence.

Conclusion: Stussy Hoodie – Where Legacy Meets Modern Style

The Stussy Hoodie is more than a piece of clothing; it’s a timeless icon of streetwear culture. From its humble surf beginnings to its status as a global fashion symbol, Stussy continues to inspire creativity and individuality.In a world of fleeting trends, the Stussy Hoodie remains a reminder that true style never fades—it evolves. Wearing it isn’t just about looking good; it’s about expressing who you are and what you stand for. And that’s what makes Stussy a legend in every sense of the word.

Discussion (0)1
Log in or sign up to continue
Question
· Nov 10

CSPGatewayLatency Alert, what does it mean? How should be managed?

Hello, thanks for your time reading this question.

We are receiving each day, alerts from one of our four Production nodes. It always has the same text:

 

[InterSystems IRIS SEVERE ERROR gchciris4.canariasalud:ENSEMBLE] [Utility.Event] [SYSTEM MONITOR] CSPGatewayLatency(127.0.0.1:443) Alert: CSPGatewayLatency = 5001.304, 5001.233, 5000.964 (Max value is 2000).

 

We have looked for it in the documentation here:

https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY...

 

We thought it was related to the following paragraph:

"Server Response Timeout

The maximum number of seconds allowed for the target Caché server to respond to a request from the web server. The timeout refers to a period of no activity, so, for example, sending a line of HTML data every second for 10 hours does not cause a timeout. The minimum allowable value for this field is 5 seconds.

The value set here is the default for the system. If an Inherited Value is specified, the value came from the Default Parameters page. You may, however, set a different value on individual server-specific configurations or within the application itself.

Note that if you have an Apache server, you can also set this value using Timeout in the Apache http.conf file. The lower of these two values is triggered first."

 

 

However, we suppose that CSP Gateway Latency of maximum 2 seconds is not related to Server Response Timeout by default limited to 5 seconds.

 

We just want to understand the Node error. Could you please point to the documentation where it is explained?

 

We need to understand it prior to solve it.

 

We have also looke for "CSPGatewayLatency" using the forum search text area, but it does not pop up relevant results.

https://community.intersystems.com/smartsearch?search=CSPGatewayLatency

 

Could you please help us? Thank you so much.

 

We have also seen this example:

Update Default Parameter(s)

Kill newpars
Set newpars("Server_Response_Timeout")=30
Do gateway.SetDefaultParams(.newpars)

Found here: https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY...

 

And this old post:

https://community.intersystems.com/post/cache-monlbl-response-time-question

 

Could your help us, please? Thanks.

5 new Comments
Discussion (5)3
Log in or sign up to continue