Distributed systems are hard to test due to inherent non-determinism in their execution traces. Unmesh Joshi describes how deterministic simulation allows reproducible execution.
https://t.co/ar0TBnuQpI
Indians have it easy where it should be hard (getting a drivers license, littering around, blaring music/construction noises) and hard where it should be easy (getting quality education, getting your passport, commuting using public transport, breathing good air)
A thousand years ago, I made a dent in dev envs with “Vagrant.” The most popular request always was “I want Vagrant for remote envs.” I’ve been asked this to this day!! I tried and failed many times. I made things that worked but didn’t work right. Well, Rex is done right. Rex is my answer, finally.
It’s always lived in the back of my mind no matter what I did. I would come up with something and try it and it didn’t feel right.
I got really close around 5 years ago to the point I setup a website branding etc (via HashiCorp). But at the last minute I pulled it. It still wasn’t right. I couldn’t explain why and didn’t have a better solution. I just knew it had to be binned.
Well, Rex is it. This is the real deal.
Rex is doing for remote development (and a lot more than just dev) what I think a proper solution should’ve done. It’s far more than just a dev tool but I think part of what I knew is once you reach into remote environments that line isn’t clear anymore. You have to solve both remote dev and remote prod.
Here we go, back to the beginning.
The New Pink Line Metro - Aerial View of All Stations!
Bengaluru now has India's second-longest operational Metro network after Delhi!
#bengaluru#inaguration#pinkline
Anecdata for p3. Used to fly between BLR and MAS until Vande Bharat. I'll happily spend ~1.5 hours more if you let me travel city centre to city centre for half the cost.
Our market is small. Don't make the mistake of considering entire population.
What I often use in D2C - our top spending customer market is the size of the population of Germany. It's going to take a long long while for a billion Indians to be able to afford even 1 flight a year.
If you compare the size of commercial airline fleet in India and Germany - there is near parity.
We are there exactly where we should be.
Why our flights are pricey?
1. The govt knows those who have to fly are suckers, so tax ATF to death and out of control airport usage fees for pax and airlines. Add to it nuisance expenses of getting to airports due to no public transit and expensive F&B at airports.
2. Regulation and compliance environment. Lack of financial support for leasing (being fixed somewhat with GIFT City).
3. Overflow from 1/2 AC rail stock shortage in peak seasons. We actually need more top end trains for most short to medium distances.
If you want to see how bad it gets for aviation in India in terms of load Q4 & Q2 of every year - it's a struggle to fill seats.
@saybwala Anecdata for p3. Used to fly between BLR and MAS until Vande Bharat. I'll happily spend ~1.5 hours more if you let me travel city centre to city centre for half the cost.
Our market is small. Don't make the mistake of considering entire population.
What I often use in D2C - our top spending customer market is the size of the population of Germany. It's going to take a long long while for a billion Indians to be able to afford even 1 flight a year.
If you compare the size of commercial airline fleet in India and Germany - there is near parity.
We are there exactly where we should be.
Why our flights are pricey?
1. The govt knows those who have to fly are suckers, so tax ATF to death and out of control airport usage fees for pax and airlines. Add to it nuisance expenses of getting to airports due to no public transit and expensive F&B at airports.
2. Regulation and compliance environment. Lack of financial support for leasing (being fixed somewhat with GIFT City).
3. Overflow from 1/2 AC rail stock shortage in peak seasons. We actually need more top end trains for most short to medium distances.
If you want to see how bad it gets for aviation in India in terms of load Q4 & Q2 of every year - it's a struggle to fill seats.
A metro train has finally chugged into the Outer Ring Road (#BlueLine).
The 6-coach train was spotted until Doddanekundi during partial trial runs for Phase 2A (Silk Board Jn-KR Puram, 19.75km).
Phase 2A's deadline is June 2027.
Video: @MTF_Mobility
Norway now has more than 2,000 underwater AI laser robots shooting lice off its salmon
they're made by a company called Stingray, and they already guard more than 50 million salmon and trout 24/7
the reason is sea lice, tiny parasites that latch onto salmon and feed on them
as few as 11 can kill a small fish, and one pen can hold 150,000 salmon
the usual fix is pumping the fish out and blasting them with warm water or water jets to knock the lice off
but the handling is so rough that Norway's fish health report ranks it the top cause of death in full-grown farmed salmon
so instead, Stingray puts a robot inside the pen that hunts lice one at a time, all day:
> two cameras watch every salmon that swims past
> AI checks two frames to make sure it's really a louse
> then a green laser fires from up to 2 meters away
> the salmon's scales reflect the beam, so the fish swims off fine and the louse is dead
we now live in a world where AI lasers do pest control on your dinner lmao
Ok, this is neat!
Someone reported a bug that Elixir's Task.ignore/1 could leave messages in the caller's inbox. Reproducing it was tricky, out of 1.2M attempts, it only leaked 52 times: https://t.co/u0wUVCwtAz
Therefore, to consistently "reproduce" the issue, I wrote a property in Lynx (@leanprover + @elixirlang) that Task.ignore/1 should not not leak messages: https://t.co/rskDRei9lj
Of course, we could not prove this property to be true, because there was indeed a bug! And once we fixed the bug, the proof validated, showing that Task.ignore/1 no longer leave trailing messages in the scenarios dictated by the property.
Hooray!
Surprise, surprise: Peat & Fire has resurrected as Swad Kolhapuri. The owners recognised me, and I recognised their tasty food 😁 https://t.co/SoX7u3MFlD
Two #Bengaluru restuarants I'd like to see resurrected: Peat & Fire, JP Nagar (Maharashtra cuisine; did not survive Covid), Shiok (SE Asian; did not survive Indiranagar real estate prices)
BREAKING: Ukraine has carried out the world’s first medical evacuation of a human via a drone from the battlefield the 30th mechanised brigade of Ukraine managed to save their injured comrade from a minefield.
Just absolutely insane.
Hooray, my Erlang/Elixir-to-Lean project, Lynx, has already uncovered a bug in Erlang/OTP!
I started exploring proofs about Erlang's calendar module. Some properties are straightforward. For example, converting seconds to days and time, then converting them back, should give us the original number of seconds:
{days, time} = :calendar.seconds_to_daystime(seconds)
days * 86400 + :calendar.time_to_seconds(time) == seconds
We can also verify totality properties: that a function successfully returns a result for every input satisfying its preconditions. For example, every valid date should have an ISO week number:
law iso_week_number_valid_date(date),
requires: :calendar.valid_date(date),
expects: is_tuple(:calendar.iso_week_number(date))
It turns out that this property couldn't be proven because iso_week_number/1 failed for January 1 and 2 of year 0000!
Fortunately, this bug has already been fixed in Erlang/OTP. But the fact that we're already at the stage of uncovering real bugs with formal verification is incredibly exciting!
@shivram1150@trainwalebhaiya I see ageing Shatabdi expresses still running on routes that could use more VBs (e.g. MYS-MAS). Perhaps IR plans to replace them.