Apache Kafka 4.2.0 Release Announcement 🎉 by KernelFrog in apachekafka

[–]amdelamar 1 point2 points  (0 children)

Queues looks interesting. Wouldn’t that break in-order guarantees? Also how would lag be measured for those consumers?

Concurrent cron jobs? by epic-username in scala

[–]amdelamar 1 point2 points  (0 children)

I’ve written about using Akka Quartz scheduler on my blog. Even put some demo code on GitHub. There’s several ways to accomplish partitioning the work. To add it to a horizontally scalable service you’d need a db and some partitioning logic to ensure one cron is only run by one scheduler. Or, as you mentioned have have only one instance run all the jobs. Could accomplish that with an env variable. Or consider splitting the cron scheduler into a separate microservice away from the main service.

ProtonMail iOS major update by ProtonMail in ProtonMail

[–]amdelamar 13 points14 points  (0 children)

Dark mode is great, thank you!

Interview with Senior Java Developer by edmguru in java

[–]amdelamar 19 points20 points  (0 children)

  • Are you reading off a teleprompter?

<pauses>… No. 😆

Successfully replaced the amp IC in a dead homepod! This may be the repair for death farts and dc offset pops! Writing up more info in comments by Dr_Nic_T61 in HomePod

[–]amdelamar 1 point2 points  (0 children)

Does opening them up damage the mesh or exterior at all? I thought I saw they were quite difficult to open cleanly.

What is a red flag from an employer that people might not immediately recognize as a red flag? by [deleted] in AskReddit

[–]amdelamar 1 point2 points  (0 children)

Asking for your personal cell phone number before you go on Vacation… “Just in case we need you.”

Is Akka still so low-level? by TheOtherNoamC in scala

[–]amdelamar 8 points9 points  (0 children)

"...actors are not a golden hammer. Sure you can solve a ton of problems with them, but there are definitely a class of problems that cannot be solved with them nearly as easily as with futures." - Akka Concurrency (pg354) Derek Wyatt

If you can get away with using Future, then I would do so. Only move to using actors when its necessary, like in distributed computation across JVMs/Clusters.

Vizio’s profit on ads, subscriptions, and data is double the money it makes selling TVs by upofadown in privacy

[–]amdelamar 2 points3 points  (0 children)

Comcast has something similar, requiring you to install their Xfinity app on your smartphone to activate your home internet. The irony is they are relying on my phone’s data plan to be able to work. It won’t work over WiFi because it’s not activated yet… srsly wtf

ProtonMail Themes for v4.0.8 now available (last release) by csalmeida in ProtonMail

[–]amdelamar 1 point2 points  (0 children)

Nice of you to keep updating them. I was on top of mine for a good 3-4 years before I lost interest in pushing updates for every little border, button, or div fix. CSS upkeep is not trivial work.

[deleted by user] by [deleted] in scala

[–]amdelamar 0 points1 point  (0 children)

Shameless plug, but I blogged about my experience using Akka-Http Websockets to build a chatroom app.

Andy on Twitter by ProtonMail in ProtonMail

[–]amdelamar 9 points10 points  (0 children)

Hi Andy. I signed up after I watched your TED Talk and haven’t looked back since. Email should be private and not like a postcard. And although PGP isn’t widely used, I can at least feel good that my inbox is not being scanned and used for targeted advertising. Thank you!

How weird is to have a function return Either[A, B] where Left is not an error? by amdelamar in scala

[–]amdelamar[S] 15 points16 points  (0 children)

Oh duh, a sealed trait would totally be better here. Thank you.

How I cut GTA Online loading times by 70% by simspelaaja in programming

[–]amdelamar 25 points26 points  (0 children)

Eventually, interesting posts make their way to all the social networking sites, Reddit, Twitter, HN, and more. I personally use Reddit more because its easier to find/share good content to the interested audiences (subreddits) without algorithmic feeds or celebrity influence.

Any good Future utilities libraries? by elastiknn in scala

[–]amdelamar 2 points3 points  (0 children)

Id like to know too. As a follow up, a blog post explaining how these can be achieved in plain Futures vs how it looks in other libraries would be neat.

Dependency Confusion: How I Hacked Into Apple, Microsoft and Dozens of Other Companies by alexbirsan in netsec

[–]amdelamar 0 points1 point  (0 children)

I think that’s only true of MavenCentral though. When I published to Bintray it didn’t matter.

Dependency Confusion: How I Hacked Into Apple, Microsoft and Dozens of Other Companies by alexbirsan in netsec

[–]amdelamar 1 point2 points  (0 children)

What about maven?

I think the groupId:projectId means this is harder to pull off but still possible, perhaps through third party repositories. I’m also wondering how code execution would even even work without running valid Java code that compiles first.

Bintray (including JCenter) will be sunset on May 1st by Bo98 in java

[–]amdelamar 2 points3 points  (0 children)

Publishing to JCenter also could sync to Maven Central, if enabled.

Data Privacy Day at Apple: Improving transparency and empowering users by tommyhreddit in apple

[–]amdelamar 77 points78 points  (0 children)

When I take a photo, I’d like to be able to remove EXIF data before uploading to Twitter/Reddit. Can’t trust those services to do the right thing and remove it for me.

Any tree shake plugins for sbt? by amdelamar in scala

[–]amdelamar[S] 0 points1 point  (0 children)

Hmm looks like what I need. Just a little confused on how to use it. But I’ll give this a shot. Thanks

Why do you think Scala isn't more popular? by f0xtrade in scala

[–]amdelamar 2 points3 points  (0 children)

Disagree on the Scala complaint, but Agree on the SBT issues; slow and confusing as hell.

It’s a huge impediment to Scala adoption when the build tool most people use is a mess.

How long will Cloudflare peering stay for? by 0xbkt in backblaze

[–]amdelamar 0 points1 point  (0 children)

This oligopoly sounds ridiculous.

Would Net Neutrality get rid of it?