サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
アメリカ大統領選
developer.squareup.com
The State of Ruby 3 TypingIntroducing RBS, Ruby’s new type signature language We're pleased to announce Ruby 3’s new language for type signatures, RBS. One of the long-stated goals for Ruby 3 has been to add type checking tooling. After much discussion with Matz and the Ruby committer team, we decided to take the incremental step of adding a foundational type signature language called “RBS,” which
Enabling Serverless Applications at SquareEnabling AWS Lambda Functions to call into the Square datacenter’s envoy service mesh Square and the Cloud Square is early in its migration to the cloud and most applications run in our datacenters today. The Platform and Infrastructure Engineering (PIE) organization has historically focused on providing infrastructure and tooling to build and operate in t
Square’s Growth Framework for Engineers and Engineering ManagersA system for leveling up at Square Since the publication of this post, we have updated our growth framework for engineers and engineering managers. You can learn about our updated growth framework in this new blog post. At Square, we’re building products and services that help consumers and businesses participate and thrive in the eco
RubyKaigi and the Path to Ruby 3Performance, Concurrency, and Static Analysis in Ruby Original Image by Mathias Meyer CC BY-SA 2.0 At RubyKaigi in Fukuoka, Japan, Matz spoke at length about Ruby 3—the next major version of the Ruby programming language, scheduled for release on Christmas of 2020. Many of the features planned for Ruby 3 are already well underway and RubyKaigi had a ton of talks tha
OkHttp 3.13 Requires Android 5+Today we’re releasing OkHttp 3.13 Today we’re releasing OkHttp 3.13. With this update we’re bumping the project’s requirements from this: Android 2.3+ / API 9+ (released December 2010) Java 7+ (released July 2011) to this: Android 5.0+ / API 21+ (released November 2014) Java 8+ (released March 2014) Cutting off old devices is a serious change and we don’t do it light
SQLDelight started as a project 4 years ago on the ContentValues and SQLiteOpenHelper APIs from Android with the goal of making writing SQL easy and safe. The library was an early adopter of Kotlin internally, but has been generating Java since its inception. We love Kotlin and weren’t satisfied with a Java API that we knew could be done better in Kotlin, so a year ago we embarked on a complete re
Ruby’s New Exception Keyword Argumentsexception: false and exception: true In Ruby 2.6, a variety of Kernel methods get a new exception: false or exception: true keyword argument. When Kernel methods fail, some raise an error and some just return nil. This new feature lets you override that default behavior. TL;DR: In Ruby 2.6 these examples will all work: system 'not-a-command', exception: true #
New Class Naming Rules in RubyThere were 26 valid characters. Now there are 1,853! In Ruby 2.5 and prior: It’s been a longstanding rule in Ruby that you must use a capital ASCII letter as the first character of a Class or Module name. This limited you to just these 26 characters: ABCDEFGHIJKLMNOPQRSTUVWXYZ New in Ruby 2.6: In Ruby 2.6, non-ASCII upper case characters are allowed. By my count, that
Ruby’s New Infinite Range Syntax: (0..)This Christmas, Ruby 2.6 will be released with support for a new syntax denoting an infinite range! Introducing Ruby 2.6’s Endless Range On Christmas Day, 2018, Ruby 2.6 will be released with support for a new syntax denoting an endless range: 42.. #=> 42..nil # yes, this is infinite! So why do we need this new syntax? Up to this point, it has been a bit clun
CRuby just got a JIT! There have been many attempts at implementing a JIT for CRuby, the reference implementation of Ruby. None have been merged, until now. ,---. ,---. .-./`) .-./`) ,---------. . ' , | \ / | \ '_ .')\ .-.')\ \ _________ | , \/ , | (_ (_) _)/ `-' \ `--. ,---' /_\/_ _ \/_\ | |\_ /| | / . \ `-'`"` | \ \ \ / / | _( )_/ | | ___ | '`| .---. : : , \\ // . | (_ J _) | || | | ' | | | | \/
How Square makes its SDKsAt Square we leverage the OpenAPI standard, Swagger Codegen & GitHub to build and deliver our client SDKs in a scalable way. The developer platform team at Square is a little different than most. Rather than build separate APIs for our developer products, we focus on exposing the APIs that our first-party product use to create a seamless experience for developers. We have
This is the story of a resource leak in one of Square’s Go services and the process of uncovering the root cause. Facing spiky and mysterious system metrics, we used a variety of standard and homemade tools to uncover a subtle bug in one of our core internal frameworks. Earlier this year, one of our Go services began using significantly more memory, breaking out of a steady state of flat memory us
Surfacing Hidden Change to Pull RequestsProgramming frequently deals in visible changes. It’s equally as important to pay attention to hidden changes during code review. Programming frequently deals in visible changes: the logic in your code, the dependencies you declare, the API you expose. There is, however, quite a bit of associated hidden change: transitive dependencies, generated code, and ma
Generating Kotlin code with KotlinPoetJava code generation has become a popular solution to simplifying library code. Dagger generates interface implementations, Butter Knife… Java code generation has become a popular solution to simplifying library code. Dagger generates interface implementations, Butter Knife generates Android UI boilerplate, and Wire generates implementations of value classes f
An Optional’s place in KotlinWith nullability being a first-class citizen in Kotlin’s type system, is there any need for an Optional type? With nullability being a first-class citizen in Kotlin’s type system, the need for an Optional type seems all but diminished. Just because you can explicitly express nullability, however, does not mean that null is always allowed. For example, Retrofit provides
Non-null is the DefaultUsing annotations to make Java’s type system better IntelliJ warns about potential NullPointerExceptions The @Nullable imposes an obligation on the consumers of the value: they must prepare for it to be null. But what happens when I’m the one producing the value? Suppose that I’m calling the method above. This doesn’t look broken! We’ve got a problem. If the file doesn’t exi
Rolling out @NullableWe’re helping the type system to help you to help your customers Lots of us have strong opinions on null. I don’t think it’s evil, or that using null is sloppy. I just want to be deliberate: wherever a parameter or return value can be null, the interpretation of that should be explicit. /** * Consumes the next line of text and returns it. * Returns null if there are no more li
Square Open Source ♥s KotlinImproving the developer experience of Square’s libraries in Kotlin. Consumers of Square’s open source libraries may remember our “Seven Days of Open Source” prior to Google I/O 2013. We released major versions of some of our projects in the days leading up to the event. This culminated in us also having a booth inside the developer space at I/O and getting to meet and c
Android leak pattern: subscriptions in viewsAvoid memory leaks by properly handling view subscriptions In Square Register Android, we rely on custom views to structure our app. Sometimes a view listens to changes from an object that lives longer than that view. For instance, a HeaderView might want to listen to username changes coming from an Authenticator singleton: public class HeaderView extend
With Square APIs and SDKs, it’s Square — customized. Supercharge Square for sellers of every size. Our entire connected commerce platform – from elegant hardware to a rich suite of Square APIs – is yours to build with. Whether you’re developing an app or composing a bespoke solution, this is the place to make it happen.
Data ScienceEnhancing Data Quality Using Better Designed ETLsSharing an ETL design doc template EngineeringMaking Insights-Driven Decisions in an Ecosystem o...Our approach to securing our cloud environments
このページを最初にブックマークしてみませんか?
『developer.squareup.com』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く