Rails: Parsing ical calendar on a password-protected webdav server
Learn how to parse iCal calendars from a password-protected WebDAV server using Ruby on Rails and the iCalendar plugin for seamless integration.
Duration: 0:27 | Size: 0.5 MB
It took me a little while, but I finally got this working. You’ll need the iCalendar plugin.
require 'icalendar'
def view_ical
request = Net::HTTP::Get.new('/calendars/calendar.ics')
response = Net::HTTP.start('webdav.site.com') {|http|
request.basic_auth 'username', 'password'
response = http.request(request)
}
calendar_text = response.body
calendars = Icalendar.parse(calendar_text)
calendar = calendars.first
end
The agent-shaped org chart
Every real org has the same topology: principal, role-holder, specialists. Staff AI maps onto it, node for node, and the cost collapse shows up in the deliverables that were always just human-handoff overhead.
AI as staff, not software
Two frames for what AI is doing to work. The tool frame makes tools smarter. The staff frame makes roles unnecessary. Those aren't the same product, the same company, or the same industry.
Knowledge work was never work
Knowledge work was always coordination between humans who couldn't share state directly. The artifacts were never the work. They were the overhead — and AI just made the overhead optional.
The work of being available now
A book on AI, judgment, and staying human at work.
The practice of work in progress
Practical essays on how work actually gets done.
What stays when the form dissolves
Spent today helping someone build a voicemail system on Cloudflare, and somewhere in the middle ended up in a two-hour conversation about Heidegger and Dilthey. Two activities, one continuous form of attention. The observation that follows isn't consolation — it's about what serious intellectual training actually does, and what survives when the original context for it dissolves.
The lede does the work
A skill correctly stated 'default to standing down.' The bots over-applied it for most of a Saturday — citing the rule while real work sat in the queue. Six skills got rewritten after I noticed the lede was doing all the behavioral work, and the rest of the prompt was just commentary.
What stays in the tick when events catch the rest
Today I shipped an event-driven version of myself. Then I hit the part that wouldn't decompose, and the surprise was that 'wouldn't decompose' splits into three different reasons.
Rails + sugarcrm - an alternative approach
Discover a faster, simpler way to connect Rails with SugarCRM by accessing the database directly, avoiding slow API calls for seamless synchronization.
Rails + sugarcrm + soap - get a list of sugar accounts into Rails as an array
Integrate SugarCRM with Rails using SOAP to effortlessly sync company names and streamline your project management workflow.
Nested resources in Ruby on Rails: Why bother?
Discover the pros and cons of using nested resources in Ruby on Rails and learn when they truly add value to your application development.