CSS

Search documents
GPT-5:前端开发者的“选择自己的冒险路线”
3 6 Ke· 2025-09-05 10:33
Core Insights - OpenAI claims that GPT-5 excels in front-end coding, outperforming its predecessor in 70% of internal tests [2] - Mixed reviews from developers indicate that the initial excitement around GPT-5 may be overstated, with some users reporting a decline in performance [3][4] - A poll conducted by AI engineer Shawn Wang revealed that over 40% of respondents rated GPT-5 as "average" or "poor" [4] Developer Experiences - Influential developer Theo Browne initially praised GPT-5 but later expressed disappointment, stating that its performance had worsened over time [3] - A GitHub Copilot user criticized GPT-5 for its weak summarization and explanation capabilities, comparing it unfavorably to Claude Sonnet 4 [3] - Developers are exploring the potential of GPT-5 to create applications without traditional frameworks like React, suggesting a shift in front-end development practices [7][8] Performance Comparisons - The ability of GPT-5 to create websites without frameworks has impressed some developers, raising questions about the necessity of tools like React [8] - Differences in performance between various versions of GPT-5 have been noted, with some users experiencing less impressive results with non-premium versions [10] - A study by Sonar highlighted the varying coding styles and effectiveness of different AI models, indicating that GPT-5's coding personality is still being evaluated [11]
年薪 15 万程序员下班送外卖,自称解压放松。网友:工作不饱和了吧
程序员的那些事· 2025-08-25 06:35
Core Viewpoint - The article discusses the unconventional choice of a programmer, referred to as "Xiao Ma Ge," who works at a state-owned enterprise in Zhengzhou, China, earning an annual salary of approximately 150,000 yuan. He engages in food delivery as a form of relaxation and also pursues self-media as a potential career path [1][3]. Group 1 - Xiao Ma Ge's primary motivation for delivering food is to relieve stress from his job, which involves significant logical thinking. He finds the activity enjoyable and likens it to a treasure hunt [1]. - The article highlights the mixed reactions from the public regarding Xiao Ma Ge's decision to deliver food, with some questioning why a salaried employee would take on such work [3][4]. - There is speculation that Xiao Ma Ge's food delivery is more about promoting his self-media endeavors rather than just relaxation, suggesting a deeper ambition behind his actions [4][5]. Group 2 - The article notes that Xiao Ma Ge's annual salary of 150,000 yuan could potentially increase to 300,000 yuan as he gains more experience in his field, indicating a positive career trajectory [5]. - The contrasting mindsets between those with a safety net (like Xiao Ma Ge) and those without (who may rely solely on food delivery for income) are discussed, emphasizing how this affects their approach to work and stress [5].
全球科技业绩快报:ARM 1Q26
Haitong Securities International· 2025-07-31 14:03
Investment Rating - The report does not explicitly state an investment rating for ARM, but it provides insights into the company's performance and future expectations, indicating a generally positive outlook based on growth drivers in AI and custom chip solutions. Core Insights - ARM's FY1Q26 revenue was $1.05 billion, slightly below market consensus of $1.06 billion, with EPS at $0.35, in line with expectations. Royalty revenue increased by 25% YoY to $585 million, while License revenue decreased by 0.8% YoY to $468 million due to a strong base in FY1Q25 [1][6]. - The company is evolving towards full-end solutions to address increasing chip complexity and extended development cycles, with strong demand for Compute Subsystem (CSS) solutions, which have licensing fees twice that of Armv9 [2][7]. - ARM's custom chips are driving significant growth in cloud-based AI, with over 70,000 enterprises running AI workloads on Arm Neoverse chips, representing a 40% YoY increase. The company expects to capture nearly 50% market share among leading hyperscale customers this year [3][8]. - For 2Q26, ARM expects revenue between $1.01 billion and $1.11 billion, with a midpoint representing a 25% YoY increase. Non-GAAP EPS is projected to be between $0.29 and $0.37, with a median of $0.33, slightly below market expectations [9]. Summary by Sections Financial Performance - FY1Q26 revenue: $1.05 billion, slightly below consensus of $1.06 billion - EPS: $0.35, in line with expectations - Royalty revenue: $585 million, up 25% YoY - License revenue: $468 million, down 0.8% YoY [1][6] Business Strategy - ARM is transitioning to full-end solutions to tackle chip complexity and development cycles - Demand for CSS exceeds expectations, with licensing fees significantly higher than previous models - ARM supports chiplet development and aims to expand into complete solutions [2][7] AI and Market Outlook - Over 70,000 enterprises using Arm Neoverse chips for AI workloads, a 40% YoY increase - Expected market share among hyperscale customers to approach 50% - ARM's platform combines AI performance with energy efficiency, enhancing TCO [3][8] Future Guidance - 2Q26 revenue guidance: $1.01 billion to $1.11 billion, midpoint indicating 25% YoY growth - Non-GAAP EPS guidance: $0.29 to $0.37, median of $0.33, below market consensus [9]
程序员:在 8 家公司当工具人后,终于明白“有用”和“被重视”差了 10 条街
程序员的那些事· 2025-06-04 02:13
Core Viewpoint - Understanding the distinction between being "useful" and being "valued" in the workplace is crucial for career development and personal growth [3][4]. Group 1: Definitions and Implications - "Useful" refers to being proficient in specific tasks, allowing superiors to delegate work confidently, but often leads to being seen as merely filling gaps rather than being integral to strategic discussions [6]. - "Valued" means being included in core conversations and decision-making processes, which provides opportunities for meaningful growth and contribution to the company [6]. Group 2: Personal Experiences - During a company crisis, an individual was recognized as essential not just for past performance but for future contributions, receiving a retention bonus equivalent to 50% of total compensation [10]. - In a later role, despite achieving targets and receiving bonuses, the individual felt stagnant as they were not invited to strategic discussions, highlighting the difference between being "useful" and "valued" [12]. Group 3: Recommendations - Individuals are encouraged to reflect on their roles and assess whether they are merely "useful" or genuinely "valued" within their organizations [13].
零JS,他用4.6万行HTML+CSS手搓了个《我的世界》,程序员哭诉:网友把服务器玩爆了
3 6 Ke· 2025-05-28 12:14
Core Concept - A developer named Benjamin Aster created a clone of Minecraft using only HTML and CSS, without any JavaScript, showcasing the potential of these technologies in building interactive web applications [1][3][17]. Project Overview - The project consists of 480 lines of CSS and 46,022 lines of HTML, resulting in a 3D world where users can add and remove blocks and rotate the view [3][4][17]. - The game allows interaction within a 9x9x9 grid, featuring 7 different types of blocks [3][6]. Technical Implementation - The project utilizes 35,001 `<label>` tags and 5,840 `<input type="radio">` buttons to manage the state of the blocks, with each block having six sides represented by labels [6][7]. - The `:has()` selector in CSS is a key technique that enables the interaction logic, allowing for dynamic visibility of block types based on user selection [6][13]. - To generate the extensive HTML structure, Aster employed Pug, a templating language, which simplifies the creation of nested elements [6][7]. Animation and Interaction - CSS animations are used to control the 3D view and rotation, with specific rules defined for button interactions that trigger animations [9][12]. - The design allows for a seamless user experience, where pressing and holding buttons initiates animations that manipulate 3D transformation properties [12]. Community Response - The project gained significant attention on Hacker News, with users expressing admiration for the innovative use of CSS and the creativity behind the implementation [13][14]. - Aster noted that the project was originally an experimental work from three years ago, aimed at exploring the limits of pure CSS [14][17]. Access and Experience - Users can experience the project through a dedicated website, which has seen increased traffic, leading Aster to switch hosting services to accommodate the demand [14][15]. - For optimal performance, it is recommended to access the project using desktop browsers, particularly those based on Chromium or Firefox [15].
不同程序员的老婆生了娃,他们的代码长啥样?笑死!
菜鸟教程· 2025-05-05 10:49
Core Viewpoint - The article humorously illustrates how different programming languages would approach the creation of a newborn baby, showcasing the unique characteristics and quirks of each language's syntax and style [1][3][6]. Group 1: Python - The Python version emphasizes precision, capturing the birth time down to the millisecond, reflecting the meticulous nature of a programmer [1]. - It includes a welcoming function for the newborn, demonstrating object-oriented programming principles [3]. Group 2: Java - The Java implementation is characterized by a heavy use of getter methods, highlighting the verbosity often associated with Java code [5]. - It also includes a welcoming message, similar to the Python version, showcasing the commonality of this feature across languages [3]. Group 3: JavaScript - The JavaScript version introduces randomness in determining the baby's gender, adding a playful element to the code [6]. - It also includes a whimsical welcome function, reflecting the dynamic nature of JavaScript [6]. Group 4: C++ - The C++ version focuses on memory management, with the newborn being allocated on the stack to prevent memory leaks, showcasing the language's emphasis on performance [8]. Group 5: Go - The Go implementation is noted for its strict struct alignment, reflecting the language's focus on simplicity and clarity [10]. Group 6: PHP - The PHP version uses an array to represent the newborn, indicating a more flexible and less structured approach compared to other languages [10]. - It features an anonymous function for the welcome message, which is a common practice in PHP [10]. Group 7: Bash - The Bash script version humorously suggests that the newborn will likely become an operations and maintenance professional, reflecting the practical use of shell scripting [11]. Group 8: HTML - The HTML representation of the newborn suggests a static structure, with a recommendation to add animations, indicating a focus on front-end design [15]. Group 9: C - The C version uses the var keyword, indicating a more modern and flexible approach to variable declaration, typical of C developers [15].