Better HN
topnewbestaskshowjobs
Log inSign up

suraj

1,851 karma · joined Oct 7, 2009 (17y ago) · 138 submissions

[ my public key: https://keybase.io/suraj; my proof: https://keybase.io/suraj/sigs/CpkHpnpwfYefUMiVKZWCHzp1_v8etd1DHkYSeciStes ]
Submissions

comment 2y ago · link · parent

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/

comment 3y ago · link · parent

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.

3.

VSCode: Perform REST calls in a Notebook interface(github.com ↗)

3 points · by suraj · 5y ago · discuss

comment 5y ago · link · parent

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.

comment 6y ago · link · parent

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: suraj@barkale.com

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.

6.

The Global Implications of “Re-Education” Technologies in Northwest China(cgpolicy.org ↗)

13 points · by suraj · 6y ago · 1 comment

7.

My Python Development Environment, 2020 Edition(jacobian.org ↗)

393 points · by suraj · 7y ago · 232 comments

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

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.

comment 8y ago · link · parent

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?

comment 8y ago · link · parent

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 :)

comment 9y ago · link · parent

Jupyter[1] lifted this feature from Matlab & made it work with any kernel.

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

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

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?

comment 9y ago · link · parent

Adhar relies on biometric data. Iris & fingerprint scanning is done when you get your Adhar card.

comment 9y ago · link · parent

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

comment 10y ago · link · parent

Because Linux package managers do not manage user packages they manage system packages.

18.

One second Dash(ridiculousfish.com ↗)

2 points · by suraj · 10y ago · discuss

19.

These rare Indian records survived over a century and are now online(arstechnica.com ↗)

1 points · by suraj · 10y ago · discuss

20.

EDA is dead. What comes next is exciting(medium.com ↗)

5 points · by suraj · 10y ago · discuss

21.

This Dumb Industry: In Defense of Crunch(shamusyoung.com ↗)

62 points · by suraj · 10y ago · 59 comments

comment 10y ago · link · parent

You can compile pwsafe QT GUI for OS X very easily. However, the GUI feels out of place because of QT.

23.

The collective insanity of the publishing industry(genedoucette.me ↗)

204 points · by suraj · 10y ago · 146 comments

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

High availability

26.

How to start a Chinese company(dangerousprototypes.com ↗)

12 points · by suraj · 10y ago · 1 comment

27.

The history behind the decision to move Python to GitHub(snarky.ca ↗)

67 points · by suraj · 10y ago · 27 comments

28.

Writing your first mercurial extension(secretgeek.net ↗)

2 points · by suraj · 11y ago · discuss

29.

How can we do better?(secretgeek.net ↗)

2 points · by suraj · 11y ago · discuss

12345