首页 文章 精选 留言 我的

精选列表

搜索[GPU适配],共10000篇文章
优秀的个人博客,低调大师

HPE还将继续支持下一代Superdome GPU芯片

有报道称,英特尔已经开始出货最新Kittson版本的安腾处理器芯片了。 现有的安腾处理器是9500系列,代号为Poulson,在2012年推出的。现有在4个版本:9520、9540、9550和9560。 HPE在自己的高端Superdome 2服务器中采用安腾芯片,运行HP-UX操作系统,此前HPE表示将在今年推出一个更新的Kittson。HPE已经起诉Oracle,因为Larry不想再开发针对安腾服务器的软件了——因为销售量较低,现在,Oracle重点是大力开发云。 我们的理解是,安腾是由英特尔开发来与IBM POWER以及Oracle/Sun SPARC处理器竞争的。但是,多处理器、多核的至强处理器开发,让大型机用户不愿意迁移到POWER/SPARC/安腾服务器的替代选择,公有云计算的崛起削弱了POWER/SPARC/安腾服务器市场。 这样可以理解为,安腾服务器销售量拖累了POWER和SPARC服务器的销售,这三大服务器都远远落后于至强服务器的销售量。普遍认为英特尔可能会放弃安腾而专注于更为主流的至强和Knights Landing产品。 因此Kittson可能是英特尔安腾处理器架构产品线的终点。安腾并没有提供比至强芯片更为强大的服务器。应用需要专门为运行在安腾上进行设计,HPE还要忍受开发安腾服务器硬件以及HP-UX软件的成本。总而言之,安腾服务器需要很高的开发、支持和运营成本,并且没有从安腾服务器迁移出来的轻松路径。 另外要记住的一点是,HPE已经收购了HPE服务器提供商SGI,它的技术在共享内存方面与Superdome是重叠的。有人猜测说SGI和Superdome技术可能会有某种融合。 当然HPE在今年底推出基于Kittson的Superdome之后还将支持安腾客户一段时间,至少要到2025年。但是目前还没有任何信息显示Kittson性能要由于Poulson安腾处理器,不过当HPE发布基于Kittson的Superdome的时候HPE将会公布。 原文发布时间为:2017年2月16日 本文作者:孙博 本文来自云栖社区合作伙伴至顶网,了解相关信息可以关注至顶网。

优秀的个人博客,低调大师

MyEMS 多协议适配,打通零碳园区异构设备数据

2026年,国务院印发《"十五五"碳达峰行动方案》,明确要求建设100个国家级零碳园区和500个零碳工厂。零碳园区的核心命题——源网荷储一体化——本质上不是一个硬件问题,而是一个数据打通问题。成百上千台设备,品牌不同、协议不同、位置不同,怎么把它们拧成一股绳?这正是MyEMS开源能源管理系统要解决的首要难题。

优秀的个人博客,低调大师

适配多场景布局!TinySpace 组件上线,弹性 + 间距全 hold 住

本文由TinySpace组件贡献者夏雯斐同学原创。 前言 近期,TinyVue正式发布 v3.27.0版本,这次版本更新也增加了很多新特性,space组件就是其中比较重要的一个特性。 Space组件 是 OpenTiny Vue组件库中的一个布局容器组件,用于在子元素之间提供灵活的间距控制。 它支持水平与垂直方向排列、自动换行、对齐与分布控制、以及顺序调整等功能,能帮助开发者轻松实现响应式、整齐的组件布局。 适用场景 表单项或按钮组的布局 列表项的水平/垂直间距 工具栏元素的分布控制 在响应式布局中控制间距与换行 环境准备与安装 1. 环境要求 确保已安装 Node.js 10.13+ 及包管理器 npm/pnpm/yarn。 node -v 2. 安装 OpenTiny Vue # npm npm install @opentiny/vue # 或 pnpm pnpm add @opentiny/vue 3.引入TinySpace import { TinySpace } from '@opentiny/vue' 快速开始 基础使用 <template> <div id="tiny-space-all" style="padding: 16px; max-width: 600px"> <h2>TinySpace 全功能演示</h2> <!-- 控制面板 --> <div style="margin-bottom: 16px; display: flex; flex-direction: column; gap: 12px;"> <!-- 间距控制 --> <div> <strong>间距:</strong> <tiny-button @click="size = [10, 10]">[10, 10]</tiny-button> <tiny-button @click="size = [10, 30]">[10, 30]</tiny-button> <tiny-button @click="size = [20, 40]">[20, 40]</tiny-button> </div> <!-- 布局方向 --> <div> <strong>方向:</strong> <tiny-button-group> <tiny-button @click="direction = 'row'">水平 row</tiny-button> <tiny-button @click="direction = 'column'">垂直 column</tiny-button> </tiny-button-group> </div> <!-- 主轴对齐 --> <div> <strong>主轴对齐 (justify):</strong> <tiny-select v-model="justify" style="width: 160px"> <tiny-option label="start" value="start" /> <tiny-option label="center" value="center" /> <tiny-option label="end" value="end" /> <tiny-option label="space-between" value="space-between" /> <tiny-option label="space-around" value="space-around" /> </tiny-select> </div> <!-- 交叉轴对齐 --> <div> <strong>交叉轴对齐 (align):</strong> <tiny-select v-model="align" style="width: 160px"> <tiny-option label="start" value="start" /> <tiny-option label="center" value="center" /> <tiny-option label="end" value="end" /> <tiny-option label="baseline" value="baseline" /> </tiny-select> </div> <!-- 自动换行 --> <div> <tiny-switch v-model="wrap" active-text="自动换行" inactive-text="不换行" /> </div> <!-- 顺序控制 --> <div> <strong>顺序控制:</strong> <tiny-button @click="order = ['3', '1', '2']">3 → 1 → 2</tiny-button> <tiny-button @click="order = ['2', '3', '1']">2 → 3 → 1</tiny-button> <tiny-button @click="order = []">原顺序</tiny-button> </div> </div> <!-- Space 布局演示 --> <tiny-space class="tiny-space-demo" :size="size" :direction="direction" :justify="justify" :align="align" :wrap="wrap" :order="order" style="border: 1px dashed #bbb; padding: 10px; min-height: 120px;" > <tiny-button key="1" type="primary">按钮 1</tiny-button> <tiny-button key="2" type="success">按钮 2</tiny-button> <tiny-button key="3" type="warning">按钮 3</tiny-button> <tiny-button key="4" type="danger">按钮 4</tiny-button> <tiny-button key="5" type="info">按钮 5</tiny-button> </tiny-space> </div> </template> <script setup> import { ref } from 'vue' import { TinyButton, TinyButtonGroup, TinySwitch, TinySelect, TinyOption } from '@opentiny/vue' import TinySpace from '@opentiny/vue-space' // 响应式配置项 const size = ref([10, 20]) const direction = ref('row') const justify = ref('start') const align = ref('center') const wrap = ref(true) const order = ref([]) </script> <style scoped> .tiny-space-demo .tiny-button { min-width: 80px; } </style> 默认方向为 row(水平排列),默认间距为 8px。 配置详解 1.控制间距 size size 是最核心的属性,支持多种写法。 1.1数值写法 <tiny-space :size="20"/> 间距为 20px。 1.2数组写法([rowGap, columnGap]) <tiny-space :size="[50, 50]"/> 行间距 50px,列间距 50px,方便实现不等距布局。 1.3字符串写法 <tiny-space size="100px"/> 间距为 100px <tiny-space size="small"/> // small | medium | large 2.控制排列方向 direction <tiny-space :size="12" direction="row"/> 'row'(默认):水平排列 'column':垂直排列 可以通过切换 direction 实现响应式布局(如手机端竖排、PC端横排)。 3.对齐 align 与分布 justify 通过 align 和 justify 控制元素对齐与分布方式。 3.1 justify <tiny-space :size="10" justify="center"/> 3.2 aligin <tiny-space :size="10" align="baseline"/> 属性 说明 可选值 align 垂直对齐 start / center / end/baseline/stretch justify 水平分布 start / center / end / space-between 4.自动换行 wrap <tiny-space :wrap="true" :size="[10, 12]"> <tiny-button v-for="n in 10" :key="n">按钮 {{ n }}</tiny-button> </tiny-space> 效果: 当宽度不够时,按钮会自动换行,仍然保持间距一致。 5.控制顺序 order <template> <tiny-space :order="order" style="border: 1px dashed #ccc"> <tiny-button key="1">First Button</tiny-button> <tiny-button key="2">Second Button</tiny-button> <tiny-button key="3">Third Button</tiny-button> <tiny-button>Fourth Button</tiny-button> </tiny-space> </template> <script setup> import { TinyButton, TinySpace } from '@opentiny/vue' const order = ['2', '3', '1'] // 自定义顺序:第二个、第三个、然后第一个 </script> 设置 order="['2', '3', '1']" 后,渲染顺序会变为 2 → 3 → 1。 适用于在响应式布局中快速调换内容顺序。 6.嵌套布局(组合使用) <tiny-space direction="column" :size="16"> <tiny-space direction="row" :size="8"> <tiny-button>左</tiny-button> <tiny-button>中</tiny-button> <tiny-button>右</tiny-button> </tiny-space> <tiny-space direction="row" :size="8"> <tiny-button>上</tiny-button> <tiny-button>下</tiny-button> </tiny-space> </tiny-space> 7.测试与稳定性 TinySpace 已通过 Playwright E2E 自动化测试,验证: 间距正确渲染(rowGap / columnGap) 动态数据更新响应 换行与方向切换稳定 兼容 Vue 2 & Vue 3 环境 8.最佳实践总结 场景 推荐配置 表单项垂直间距 <tiny-space direction="column" :size="12"> 按钮组 <tiny-space :size="8" align="center"> 可换行标签集合 <tiny-space :size="[8, 16]" wrap> 9.小结 TinySpace 是一个轻量级、灵活的布局组件,专为控制子元素间距而设计。 它支持: 数值、预设、数组多种间距形式 垂直与水平排列 自动换行与对齐分布 顺序控制 Vue 2 / Vue 3 双版本兼容 通过它,开发者可以轻松构建整洁、美观、响应式的 UI 布局。 属性一览 属性 类型 默认值 说明 size number /array / string small 设置间距大小,可为字符串、数字或数组,数组形式为 [横向间距, 纵向间距] direction string row row | column align string stretch 设置交叉轴上的对齐方式,对应 CSS align-items 属性 justify string start 设置主轴上的对齐方式,对应 CSS justify-content 属性 wrap boolean false 是否自动换行 order string[] - 控制子项显示顺序 关于OpenTiny 欢迎加入 OpenTiny 开源社区。添加微信小助手:opentiny-official 一起参与交流前端技术~ OpenTiny 官网:https://opentiny.design OpenTiny 代码仓库:https://github.com/opentiny TinyVue 源码:https://github.com/opentiny/tiny-vue TinyEngine 源码: https://github.com/opentiny/tiny-engine 欢迎进入代码仓库 Star🌟TinyEngine、TinyVue、TinyNG、TinyCLI、TinyEditor ~ 如果你也想要共建,可以进入代码仓库,找到 good first issue 标签,一起参与开源贡献 ~

资源下载

更多资源
Mario

Mario

马里奥是站在游戏界顶峰的超人气多面角色。马里奥靠吃蘑菇成长,特征是大鼻子、头戴帽子、身穿背带裤,还留着胡子。与他的双胞胎兄弟路易基一起,长年担任任天堂的招牌角色。

Spring

Spring

Spring框架(Spring Framework)是由Rod Johnson于2002年提出的开源Java企业级应用框架,旨在通过使用JavaBean替代传统EJB实现方式降低企业级编程开发的复杂性。该框架基于简单性、可测试性和松耦合性设计理念,提供核心容器、应用上下文、数据访问集成等模块,支持整合Hibernate、Struts等第三方框架,其适用范围不仅限于服务器端开发,绝大多数Java应用均可从中受益。

Rocky Linux

Rocky Linux

Rocky Linux(中文名:洛基)是由Gregory Kurtzer于2020年12月发起的企业级Linux发行版,作为CentOS稳定版停止维护后与RHEL(Red Hat Enterprise Linux)完全兼容的开源替代方案,由社区拥有并管理,支持x86_64、aarch64等架构。其通过重新编译RHEL源代码提供长期稳定性,采用模块化包装和SELinux安全架构,默认包含GNOME桌面环境及XFS文件系统,支持十年生命周期更新。

WebStorm

WebStorm

WebStorm 是jetbrains公司旗下一款JavaScript 开发工具。目前已经被广大中国JS开发者誉为“Web前端开发神器”、“最强大的HTML5编辑器”、“最智能的JavaScript IDE”等。与IntelliJ IDEA同源,继承了IntelliJ IDEA强大的JS部分的功能。

用户登录
用户注册