News for hackers. Stuff that matters.

ekeren

Re:Wing: A cloud-oriented programming language on Tuesday December 20, 2022 @09:04AM (#34066008)
Disclaimer, I work at Monada, the company behind wing

I completely agree with you, a language that considers cloud development as a first class citizen must embrace something like open-telemetry for distributed logging (spans, traces, metrics, logs). When you log something or measure something in your code it should always be part of some distributed trace. We want to embrace this thinking for localhost development and allow our customer to choose their APM provider when they deploy. In a sense we don't see a difference between a cloud resource that is called logger (can be implemented by DataDog, New Relic, Coralogix, etc) and a cloud resource that is called a Queue (can be implemented by SQS, Redis, RabbitMq, etc...)

Also, as you mentioned, because in practice all the `inflight` (https://docs.winglang.io/concepts/inflights) code is async by nature, the language should wait for any API call to be resolved (e.g. "await") by default, deferring an API call is the exception

Re:JavaScript Injection Approval Process for IOS on Tuesday March 14, 2017 @03:51PM (#13870890)
This is exactly what we are referring to in the suggestion

Which ci system to choose? circleci/Codeship/TravisCi/Jenkins?

We have a suite of bash scripts that runs all our tests, here are the specifications:- It runs on mac (for ios-application testing and unit)- It activate a browser (chrome/safari) for testing the web UI - https://blog.rollout.io/2015/03/how-we-automate-our-sdk-tests-to-support-delivery-to-millions-of-mobile-users/- It runs nodejs tests on the server- It need to integrate with selenium- Our...

( Read More... | 1 comment | 2 points | on HN )
Re:Constants in objective c, a macro that keeps you DRY on Sunday April 26, 2015 @11:04AM (#9441980)
You are correct, you can commit it again
Re:Introducing Swift on Monday June 02, 2014 @07:48PM (#7837273)
It is exciting, the language is full of modern stuff... This is what I catch at a glance of the book:

- Optionals (Java's @Nullable)

- Tupples

- Functions as first class citizens

- let vs var (immutable vs mutable)

- Operators are functions

- Closures

- Extensions (Adding things to an existing class)

- Value object (struct - are passed by value -- and so are Strings!!! )

- Reference Objects (class)

- Generics (lets hope it will be better than Java's version)

- External Parameters ??

- @final keyword (to prevent overrides - like Java's final)

It kinda looks like C# meets Ruby meets the let keyword Very complex...

And More

- object reference operator === and !==

- typealias (~ typdef)

- Optional Binding (if let x = y.f() { } else {}

- for-in loops (for i in 0...count)

- The default behavior of switch is not to fallthrough

Re:Show HN: Gifnic - Animated Gif Camera on Thursday December 12, 2013 @09:52AM (#6894692)
Funny