News for hackers. Stuff that matters.

suraj

Re:Writing Gnome Apps with Swift on Wednesday March 27, 2024 @07:56PM (#39846123)
Take a look at https://github.com/apple/swift-testing It is under active development as Swift first replacement for xctest. For CI service, Xcode cloud does support running tests on mac and iOS hardware. https://developer.apple.com/xcode-cloud/
Re:Function Back Deployment on Wednesday June 07, 2023 @03:57PM (#36232626)
It means `makeBatchOfToast()` is available from toasterOS1.0. So if you are running toasterOS0.5 you are out of luck. If you are targeting toasterOS1.0, `@backDeployed` will ensure that the function that is copied to your binary is used. For toasterOS2.0 and above, the function provided by the linked framework will be used.
Re:Great Vowel Shift on Wednesday April 14, 2021 @09:15PM (#26815123)
Well kite could be written as keit to match the pronunciation :)

For most non-native speakers, the backtracking of silent `e` is more confusing. It does not help in case of `sake` vs `saké` where most people do not add the acute mark and use context for disambiguation.

Re:Ask HN: Who wants to be hired? (August 2020) on Monday August 03, 2020 @07:49PM (#24044887)
Location: Sydney, Australia Remote: Yes Willing to relocate: After Covid Technologies: Backend, Embedded, Golang, C/C++, Python, Swift, C#, Java, AWS, GCP, Terraform Résumé/CV: https://www.linkedin.com/in/surajbarkale/ Email: [email protected]

Notes: I am a generalist engineer who is looking for next challenge to expand my knowledge. I have worked across various domains and I am flexible with technology. My recent projects are DolbyON app and dolby.io website.

Re:Four common mistakes in audio development (2016) on Sunday September 22, 2019 @11:42PM (#21045759)
It is possible to use Swift on audio thread. You have to be careful not to use any reference counted (i.e. class) objects. If you do need to perform allocations (e.g. creating CMSampleBuffer instances), use a custom allocator.
Re:What's Going Down at the Tiobe Index? Swift, Surprisingly on Saturday April 27, 2019 @07:37PM (#19768341)
If you want to call rust from Swift, it should be easy. I work with C libraries and it easy to interface with module maps. However, with objective C the interoperability is trivial. As long as you pay attention to retain cycles, you can hold reference and call objc methods directly. That said, please make sure your framework can be imported into Swift properly. As most of the users will be using Swift.
Re:Things nobody told me about being a software engineer on Wednesday November 14, 2018 @02:29AM (#18448191)
When I was a rookie programmer 12 years ago, I was assigned a task to optimise a routine. It took current vehicle speed as input, performed integration and calculated total distance traveled. I made a mistake that was let through code review and was caught by an automated test. My calculations were off by 1% which accumulated to a larger amount in 10 minutes. After that incident we never had another bug for 5 years in that module. Does this make the tests invalid? Our does this improve confidence in our code?
Re:Picking Apart the Crashing iOS String on Thursday February 15, 2018 @04:56PM (#16388091)
I can't speak for Telugu however, [Devanagari](https://en.wikipedia.org/wiki/Devanagari) is very similar and used throughout northern India. Each vowel and consonant is considered as a separate entity. Each consonant has a pure form and a combined form with every consonant. There are also combinations of two or more consonants that can also be combined with each vowel!

For learning, you just learn the sounds separately for each vowel and consonant. So you can read & pronounce anything written in Devanagari script but not understand it if its a different language :)

Re:What makes a good REPL? on Sunday August 27, 2017 @09:06PM (#15113786)
Jupyter[1] lifted this feature from Matlab & made it work with any kernel.

[1]: http://jupyter-notebook.readthedocs.io/en/latest/examples/No...

Re:Terraform 0.9 on Friday March 17, 2017 @08:38PM (#13899207)
I haven't used Flynn, however I am using terraform. Main purpose is to completely automate AWS configuration so we can bring up entire site in CI. This makes it really easy to have staging and production deployed from CI.
Thanks! This looks a really good starting point for a project I am working on. Using PRU for I2S is genius :) Can you please point me to the detailed specifications somewhere on http://bela.io?
Re:India floats the idea of a universal basic income on Wednesday February 08, 2017 @04:10PM (#13602156)
Adhar relies on biometric data. Iris & fingerprint scanning is done when you get your Adhar card.
Re:Go and Dogma on Monday January 09, 2017 @11:07PM (#13362485)
Does Swift qualify?

compiles to machine code: yes

have green threads: I think DispatchQueues should qualify for this

use non-blocking IO in background: yes

have parallel runtime: I am not sure

Re:Switching from macOS: Developer Environment on Friday November 04, 2016 @08:35PM (#12877424)
Because Linux package managers do not manage user packages they manage system packages.
You can compile pwsafe QT GUI for OS X very easily. However, the GUI feels out of place because of QT.
Re:Early Impacts of Let's Encrypt on Saturday February 20, 2016 @03:53PM (#11141900)
In the case of library you would want to protect users privacy for searching books. I do not think it is possible to switch to https on shared hosting without explicit action from the provider. For minimal administration, a cloud provider will work best. Check out AWS since they also offer free certificates.
Re:January 28th Incident Report on Wednesday February 03, 2016 @05:39PM (#11030446)
High availability
Re:Are Your Devices Hardwired for Betrayal? on Monday March 02, 2015 @09:47PM (#9135830)
The firmware image is present on the computer requesting authentication. So the seed is sent to gaming machine to calculate digest at the same time the server requesting authentication runs the same algo on stored firmware image. Provided the initial seed is random, barring weakness in the hashing algo, there is no way to beat this check.

This is same process as you computing SHA1 of a file you downloaded and comparing it with the SHA1 provided on the website, if you could also provide a 128 bit number as seed of the SAH1 to the website.

Older »