Better HN
topnewbestaskshowjobs
Log inSign up

andruby

5,519 karma · joined Dec 4, 2013 (12y ago) · 1,352 submissions

contact me at andrew [at] bedesign [dot] be
Submissions

comment 1y ago · link · parent

Indeed. Runtime is typically a lot faster than Rails. Response times in dev mode are <1ms which is fun to see coming from Rails :)

My personal dev speed however is a little slower in Phoenix than Rails. And I've been using Rails for almost 20 years and Elixir for 10.

There are categories of problems that are much easier in Elixir (High concurrency, low latency, etc) and for those I would always pick Elixir. If you're planning "just" a crud like web application, Ruby will probably get you to product-market-fit faster. There are (well maintained) gems for almost everything.

comment 1y ago · link · parent

Really nice! Thank you for including a youtube video. It's a little unfortunate that you do time cuts between your "prompt" and the response. I'm curious if you were waiting 0.5s or 10s to get the response. I think the usability/fun of this stands or falls with that latency.

Maybe it could be combined with fastvoiceagent.cerebrium.ai (discussed 10 months ago https://news.ycombinator.com/item?id=40805010) for lower latency

comment 1y ago · link · parent

Splitcast Technology built this in 2012. The company folded (couldn't find revenue, and had founder struggles ) but as far as I remember the tech worked. It still needed a lot of seeding nodes, but a significant chunk of the bandwidth was provided by the "viewer peers".

Key part of that tech was that it synchronized the playback between all peers. That was nice for stock market announcements and sport events for example.

https://web.archive.org/web/20131208173255/http://splitcast....

https://www.youtube.com/watch?v=R5UYu9jeQbY

https://www.crunchbase.com/organization/splitcast-technology

comment 1y ago · link · parent

Only if it's only accessible via proper TLS (otherwise it's easy to read the user/pass with MITM as basic auth doesn't encrypt the user/pass).

If there is no throttling/rate-limiting/banning then this setup allows for a lot of attempts, wether brute-force or dictionary.

comment 1y ago · link · parent

HR, marketing, sales, management, office space, servers, licenses, insurance, etc.

It seems on the high end, but not too unrealistic.

comment 1y ago · link · parent

That's a rather binary view and I disagree that rules always fall in either category.

Knowing _why_ a rule exists and what it's trying to prevent/achieve is much more valuable in my opinion. Wether or not to follow or bend a rule depends so much on the context.

comment 1y ago · link · parent

Tunisia is so productive it exports 123.4% of olive oil.

Or perhaps I don't understand what they're trying to say in that sentence

comment 1y ago · link · parent

And even if they don't raise their prices to below the imported alternatives immediately, the increase in demand means they'll sell out so quickly, they'll raise their prices anyway

comment 1y ago · link · parent

How can companies, importers and ports even implement these tariffs so quickly?

Do these tariffs go into effect immediately?

comment 1y ago · link · parent

Out of curiosity, could you add which country you are from? I think in general there's similarities everywhere.

In Belgium (Gent to be more specific) where I'm from, there is a high cultural degree of critical thinking, and if I handed in a report like that, with the accompanying numbers, our teacher would not have given it a failing grade. Especially if the report was accompanied with either a written or verbal disclaimer mentioning the limitations of the measuring equipment and that the results didn't match your expectations.

comment 1y ago · link · parent

Do both administrations call the tariffs a trade "war"?

comment 1y ago · link · parent

The actions (tariffs) have already started.

comment 1y ago · link · parent

With all the switching between camera angles during a sports broadcast, the difference in white balance, brightness and color grading would be really distracting and annoying.

comment 1y ago · link · parent

> I'm sure millions of people make unregulated sandwiches at home just fine.

Very little about that sandwich is unregulated. The bread they bought in the store is regulated. Whatever they put on the sandwich is regulated.

Without the FDA, companies would put profits above food safety.

comment 1y ago · link · parent

> Management deals with “why”, a product owner with “what”, and a developer with “how”. Try not to mix these, it doesn’t end well.

Oh my. I much more prefer it when team are cross-functional, when the Product Manager, Product Designer and Engineers form a team. Those are the people they interact with the most (not the PMs or PDs from other teams).

Marty Cagan has a couple of great books on that kind of development, and I much prefer it over teams where engineers are further away from the product people. I've been an engineering IC and in engineering and product leadership roles.

Integrating the Why (Vision/Strategy) is more tricky, but we want to do it much more openly then is traditionally done.

comment 1y ago · link · parent

> Can anyone recommend scifi that makes plausible projections around this tech?

Unironically, Wall-E. Humans leave earth behind on a ship where everything is automated.

comment 1y ago · link · parent

Google is an Engineering company. What they're really bad at, in my opinion, is productizing their technology.

Google Cloud is decent, again in my opinion, because they can more or less copy the product vision from AWS and focus on the technical excellence.

When were you last excited to use a Google product or service?

Part of the problem is also their internal incentives that lead to lot's of products being retired waay too soon, leaving behind a lot of users and hurting their reputation a lot.

comment 1y ago · link · parent

> It has a battery soldered on the circuit board. The battery slowly discharges while the unit is on. In about 10 years of operation, the battery voltage drops below 1v or so. The battery powers nothing

I am not an electrical engineer. Could the microcontroller use the battery as some kind of calibration? Or could it have another function?

comment 1y ago · link · parent

Doing business in a country means complying to its laws.

The US is/was asking a lot more from the private company TikTok iirc.

We can dislike these laws, but they’re not optional.

comment 1y ago · link · parent

I don’t know is toaster are close to max power draw, but kettles certainly are.

Most places with 240V regularly have 16A sockets, allowing a maximum draw of 3840W of power. That’s the limit. Cheap fast kettles will often draw 3000W and boil 250ml of water at room tempature in 30s.

Kettles in the US are often limited to 15A and thus max 1800W (usually 1500W) and take twice as long (60s)

Technology Connections has a great video on this: https://youtu.be/_yMMTVVJI4c

comment 1y ago · link · parent

I love PG. PostgreSQL already had most of its great features 15 years ago.

Anything new that you particularly enjoy?

comment 1y ago · link · parent

PG's internal wal-level replication? primary to a read-replica, and then switch the read to become the primary. You'll have a bit of downtime while you stop connections on the original server, switch the new server to primary, and update your app config to connect to the new server.

I believe that's a pretty standard way to provide "HA" postgres. (We use Patroni for our HA setup)

https://github.com/patroni/patroni

comment 1y ago · link · parent

Sequinstream is written in Elixir and also pretty recent.

https://github.com/sequinstream/sequin

Any reason we're seeing so many CDC tools pop up?

comment 1y ago · link · parent

I haven’t read many stories or posts from entrepreneurs turned employees. This was refreshing, albeit lacking in details.

comment 1y ago · link · parent

Yes, I think it would. Polarized light typically remains polarized when it reflects off a surface. (It’s a complex interaction so not always)

comment 1y ago · link · parent

To save you a click. Ben Collins (CEO The Onion):

We are deeply disappointed in today's decision, but The Onion will continue to seek a resolution that helps the Sandy Hook families receive a positive outcome for the horror they endured.

We will also continue to seek a path towards purchasing InfoWars in the coming weeks. It is part of our larger mission to make a better, funnier internet, regardless of the outcome of this case.

We appreciate that the court repeatedly recognized The Onion acted in good faith, but are disappointed that everyone was sent back to the drawing board with no winner, and no clear path forward for any bidder.

And for all of those as upset about this as we are, please know we will continue to seek moments of hope. We are undeterred in our mission to make a funnier world.

comment 1y ago · link · parent

I've done a lot in Rails and a bit in Elixir/Phoenix. I haven't dipped my toes into Flame yet, although I did like the presentation.

Have you used or seen it used successfully?

Just to learn from, not to knock it down.

comment 2y ago · link · parent

It’s still a photo of the sun, even if processed. You wouldn’t see much on an unprocessed photo of the sun..

comment 2y ago · link · parent

Without revealing things under NDA, what could you share about what more it would take?
1
8910
46