Better HN
topnewbestaskshowjobs
Log inSign up

anuragsoni

2,167 karma · joined Oct 25, 2014 (12y ago) · 278 submissions

Submissions

comment 1y ago · link · parent

Apple maintains servicetalk[1] (java networking framework built on top of netty), so I'm guessing this is one potential JVM framework that was being used.

[1] https://github.com/apple/servicetalk

comment 2y ago · link · parent

I have a tv that shipped with Google TV and I've seen this chicken tender advert on it this week.

comment 3y ago · link · parent

I think you've shared this on the wrong thread. There's a separate post every month for people looking for new roles. This month's post is: https://news.ycombinator.com/item?id=36573869

comment 3y ago · link · parent

Amex does have products that cover both these use-cases independently, so I'm assuming if Apple-Card indeed moves over to Amex these features won't go away and would instead be fulfilled via Amex savings account + Amex's existing cash back support.

comment 3y ago · link · parent

> savings kickback

Are you talking about cash back? If so Amex does offer cards that support cash backs (I've had one for quite a few years). If you are talking about savings accounts, Amex also offers a High Yield Savings account whose rates are very competitive with other banks in the US.

comment 3y ago · link · parent

`finally` will also cover scenarios where the an exception is raised from within catch, or if the catch block doesn't handle an exception that's raised in the `try` block.

comment 3y ago · link · parent

I've definitely had bad experiences with take home tests, but well-run take home setups can be a lot nicer than phone-screens with live coding.

When I interviewed at my current employer they made it very clear that the take home was meant as a conversation starter, and everyone who gets a take-home made it to the on-site (virtual in this case since its a remote role). This removed the guess work into whether the test will be a waste of time, as there was a guaranteed on-site interview. The test itself was also a more accurate representation of a simpler version of problems that the team was working on, as opposed to a generic algorithm problem.

Overall this was the most positive interview loop I've ever bene through, and was a big factor in making a decision to say yes to the job offer.

comment 3y ago · link · parent

I don't work for fly, but I'll say that while the end-user of fly.io isn't expected to run an orchestration system, fly.io themselves runs an orchestration system (nomad from what I can tell), so it seems like a fairly reasonable idea for a take home evaluation for an infrastructure role at the company to evaluate skills/knowledge about orchestration systems.

comment 3y ago · link · parent

That sounds like a problem with GRPC not protobufs.

comment 3y ago · link · parent

For python there is https://github.com/ezyang/expecttest which is modeled after the OCaml expect test library.

11.

macOS Ventura is now available(apple.com ↗)

383 points · by anuragsoni · 4y ago · 494 comments

comment 4y ago · link · parent

I don’t think this is quite correct. https://constitution.congress.gov/browse/essay/artIII-S3-C2-... for further reading, but non citizens owe temporary allegiance to the United States while residing within US, and can be charged with treason.

comment 4y ago · link · parent

Immigrants in the US (including people who aren’t permanent residents) are considered residents for tax purposes and pay the same tax rate as citizens.

comment 4y ago · link · parent

Its a sample size of 1, but I found my previous job through a whoishiring post.

15.

One country took on the world’s biggest commercial landlord(theguardian.com ↗)

16 points · by anuragsoni · 4y ago · 2 comments

comment 4y ago · link · parent

> I wonder how it compares to Mypy on speed.

I use pyright at work at my current job, and used mypy at my previous job. Pyright has been better in almost every aspect in my experience. Its been more robust, and performs a lot better than mypy at type-checking in a fairly large mono-repo.

comment 4y ago · link · parent

Ubuntu has been packaging the binary Nvidia non free drivers for quite a few years now. There's an easy to use GUI app [1] to enable the non-free drivers, and switch between the different Nvidia driver versions.

[1] Software and Updates is the app's name I believe.

comment 4y ago · link · parent

So does the kobo (at least in the US). Kobo devices have the overdrive app installed on them and you can search for and borrow library books from within the device.

19.

ServiceTalk: A networking framework that evolves with your application(apple.github.io ↗)

2 points · by anuragsoni · 4y ago · discuss

20.

Better Code: Concurrency – Sean Parent (2017) [video](youtube.com ↗)

2 points · by anuragsoni · 4y ago · discuss

comment 4y ago · link · parent

Just because you don't like remote work (or if remote work doesn't work for you), doesn't mean that everyone who favors remote work is lying and that remote work is nonsense.

22.

Sasaram: Thieves stole a 60-foot-long bridge in Bihar(bbc.com ↗)

2 points · by anuragsoni · 4y ago · 1 comment

23.

Bitcask: A Log-Structured Hash Table for Fast Key/Value Data [pdf](riak.com ↗)

3 points · by anuragsoni · 4y ago · discuss

comment 4y ago · link · parent

It is indeed true that the effect system will evolve in the future, and there is no syntactic support for effects in the 5.0 release. That said, the standard library in 5.0 does contain functions that will expose the same set of features, and can still be a very useful way to build things using effects. I'm hoping experiments in the wild will prove to be useful feedback as the effect system evolves in the future OCaml releases.

EDIT: https://discuss.ocaml.org/t/multicore-ocaml-september-2021-e... is a forum post that goes into more detail about the state of effects in OCaml 5.0

comment 4y ago · link · parent

This looks like an excellent release. The addition of "blueprints" will go far in lowering the barrier to entry for people like me who just want a quick and easy way to put up something presentable. The blueprints also serve as a great example to learn about some of the soupault features so that's great!

comment 4y ago · link · parent

Its a good time to try it. The tooling has come a long way and OCaml has an excellent build system [1] (dune is probably the best build tool I've used and I miss it whenever I use other programming languages), excellent editor tooling for vscode [2], emacs and neovim. OCaml 5.0 will bring multicore support [3] and an effect system that will cover a lot of interesting use-cases. As an example with OCaml 5 it'll be feasible to have concurrency libraries that still let you write in direct-style [4] [5]. I don't intend to say that OCaml will fit every use-case, but there is a lot going for it even in its current form before multicore support lands. If you want a language that compiles fast (it does compile really fast, at-part with Go if not better), has excellent performance characteristics, and has a good story for concurrency, you should give OCaml a chance!

[1] https://dune.build/

[2] https://marketplace.visualstudio.com/items?itemName=ocamllab...

[3] https://discuss.ocaml.org/t/the-road-to-ocaml-5-0/8584

[4] https://github.com/ocaml-multicore/eio

[5] https://github.com/anuragsoni/sandbox/tree/main/ocaml/effect...

comment 4y ago · link · parent

You'll be limited to whatever python version is packaged on the host operating system. pyenv can let you test against development versions of python if needed, or released of python that are either new enough (or old enough in some cases) that they aren't available on your operating system's package repositories.
12345
10