News for hackers. Stuff that matters.

lumannnn

Re:Ash Framework – Model your domain, derive the rest on Wednesday May 14, 2025 @07:45AM (#43983330)
We use it in production and are really happy with it.

For me, one of the biggest value points of Ash lies in removing the boilerplate without locking you in.

The devs of Ash cleverly use Elixir itself and other big names of the Elixir eco system. By doing that, they have created a framework that helps you moving more quickly as you don't have to write the same code over and over again (i.e. remove boilerplate) while still giving you the flexibility to escape if something out of the box doesn't fit right away (that's because of how Elixir works and how they just re-use the other big names, e.g. Ecto, Absinthe,...).

I've tried to write about all of this here if you are interested in reading more:

https://www.lukasender.at/ash-the-hidden-champion-of-low-cod...

In the end, it's hard to only write and read about this. You can only "feel" how things change when you actually work with it.

The learning curve is a little step at first, though (in my opinion). But the docs got a lot better over time.

All in all, I'm still happy with how things turned out and would use it again for future projects.

Re:Two million checkboxes (written in Elixir) on Saturday June 29, 2024 @09:44AM (#40830477)
Check out this presentation :)

"The Soul of Erlang and Elixir by Sasa Juric"

Really one of the best presentations to show what you may get out of adopting Elixir.

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

Ask HN: Best Way to Harden a Server?

Hello everyone!The title already gives it away.We are running Ubunutu servers and curious what’s the best way harden servers.There are multiple blog posts. Some similar. Some cover different aspects then others.There seems to not be a one-size-fits-all „best practice“ (probably, because there is none?).But maybe some of you have new insights we don’t know about already.We are also looking for...

( Read More... | 3 comments | 2 points | on HN )
Re:Superbacked – Don’t lose your secrets on Friday December 23, 2022 @01:05AM (#34102755)
Intro video from Sun Knudsen: https://www.youtube.com/watch?v=12y-fOmyjHA
No, the Lightning Network is a free and open payment network on top of the Bitcoin Network.

It's a so called "layer 2" network (Bitcoin network being the layer 1).

Everyone can run a Lightning Network Node on e.g. a RaspberryPi.

One opens "Channels" to other Nodes. Multiple nodes and channels build a network and can transfer Bitcoin/Satoshis for relatively little costs from A to B.

Network nodes can charge a fee for routing payments (or data more generally speaking).

There are different implementations of a Lightning Network node. LND is probably the most used one today. But there is also C-Lightning.

Re:The Lightning Network: Turning Bitcoin into Money on Wednesday July 13, 2022 @06:55AM (#32081002)
Look into Taproot.

Once adoption and implementation spreads, you'll realize you can open multiple channels with one on-chain transaction.

This is an evolving space and scaling happens already.

But sure, you can stick to the traditional monetary system where only a select few control the rules.

You are free to adopt Bitcoin. No one will force you :)

Re:The Lightning Network: Turning Bitcoin into Money on Wednesday July 13, 2022 @06:49AM (#32080962)
Not everyone needs to open a Channel. There are custodial solutions already. You just need some Satoshis and are good to go.

Likewise, not everyone needs to create their own Visa or MasterCard. They may have their MySQL/PostgreSQL implementation where they scale and allow for many TX/s. But they don't settle all these transactions in real time. That's also done on a different, slower layer.

Re:In defense of cryptocurrency on Friday June 10, 2022 @07:49AM (#31692743)
You probably should look at different numbers than just the dollar price.

Number of nodes is rising, number of wallets is rising, number of hash-power is rising.

Also, please look into the "Lightning Network". It's the second layer on top of Bitcoin and that's where the whole ecosystem scales (in terms of numbers of transactions per second). Cheap, scalable and fast transactions.

Adoption is happening in many places.

- "Bitcoin’s Clean Energy Revolution with Nic Carter & Troy Cross" https://www.youtube.com/watch?v=qu156PvA-NI
https://bitcoin.org/bitcoin.pdf

- "Bitcoin & Renewable Energy Transition - Bitcoin Incentivizes Green Energy" https://www.youtube.com/watch?v=-SX1eCqwd3Q

- "Can Bitcoin Mining Save the Environment? with Troy Cross" https://www.youtube.com/watch?v=bFYKq5Qe1Bs

- "This Machine Greens" https://www.youtube.com/watch?v=b-7dMVcVWgc

Re:Do-nothing scripting: the key to gradual automation (2019) on Tuesday November 02, 2021 @02:17PM (#29085264)
Maybe "<name>.playbook.sh" could give it a better look?

Ask HN: How many of you changed your mind about Bitcoin?

I'm curious of the current sentiment regarding Bitcoin.Did you change your opinion about Bitcoin, blockchain and e.g. its energy consumption?By changing your opinion I mean in any direction. From "I was pro to I'm now against Bitcoin" or "I was against to I'm now pro Bitcoin".What changed your mind?

( Read More... | 51 comments | 34 points | on HN )

Older »