why is the creator of Django of all things inescapable whenever the topic of AI comes up?
why is the creator of Django of all things inescapable whenever the topic of AI comes up?
Apple TV lets you share with two sets of apple headphones, which is awesome... but I wanted a way to:
* Share to more than two sets * Extend coverage past the (very generous) bluetooth range of AirPods. * Have lossless (albeit 44khz/16bit) wireless audio with audiophile headphones.
I was considering using an esp32, but so happy this exists now! Thanks!
This feels really disingenuous. Larry and Sergei are the team that brought us Google Search.
"Magic of" is trying to hide the fact that you didn't bring Google Search to fruition. The last 5 years of Google Search do not feel magical at all.
Instead, claim credit for something that you did do with Google Search.
From looking at your LinkedIn: CTO > Joined Google via acquisition of ITA Matrix and worked on schema.org amongst other very impressive things. Before that, founding team of Bing @ MSFT. CEO > Worked on search at Google from 2018 - 2024 ( 6 years )
These are impressive credentials-- so find a better way to showcase them.
``` import Foundation import SwiftData
@Model final class FocusItem { let created: Date = Date() var completed: Date? var theFocus: String = "New Focus" var details: String?
init(completed: Date? = nil, theFocus: String, details: String? = nil) {
self.completed = completed
self.theFocus = theFocus
self.details = details
}
}struct FocusItemDescriptors { static let currentFocusPredicate = #Predicate<FocusItem> { $0.completed == nil }
static let sortDescriptor = SortDescriptor(\FocusItem.created, order: .reverse)
static let currentFocusFetchDescriptor = FetchDescriptor(
predicate: currentFocusPredicate, sortBy: [sortDescriptor])
}
`````` import SwiftData import SwiftUI import WidgetKit
struct ContentView: View { @Query( filter: FocusItemDescriptors.currentFocusPredicate, sort: [FocusItemDescriptors.sortDescriptor]) private var items: [FocusItem] @Environment(\.modelContext) private var modelContext
@State private var isAddingNewItem = false
@State private var newFocusText = ""
var body: some View {
NavigationStack {
List {
ForEach(items) { item in
NavigationLink {
FocusItemDetailView(item: item)
} label: {
Text(item.theFocus)
}
}
.onDelete(perform: deleteItems)
}
.navigationTitle("Focus")
.toolbar {
#if os(iOS)
ToolbarItem(placement: .navigationBarTrailing) {
EditButton()
}
#endif
ToolbarItem {
Button(action: addItem) {
Label("Add Item", systemImage: "plus")
}
}
}
}
.sheet(isPresented: $isAddingNewItem) {
AddFocusItemView(isPresented: $isAddingNewItem, addItem: addNewItemWithFocus)
}
}
private func addItem() {
isAddingNewItem = true
}
private func addNewItemWithFocus(_ focus: String) {
withAnimation {
let newItem = FocusItem(theFocus: focus)
modelContext.insert(newItem)
DataManager.shared.reloadWidgets()
}
}
private func deleteItems(offsets: IndexSet) {
withAnimation {
for index in offsets {
modelContext.delete(items[index])
}
DataManager.shared.reloadWidgets()
}
}
}struct FocusItemDetailView: View { @Environment(\.dismiss) private var dismiss let item: FocusItem
var body: some View {
VStack {
Text(item.theFocus)
if let details = item.details {
Text(details)
}
Text(
"\(item.created, format: Date.FormatStyle(date: .numeric, time: .standard))"
)
Button {
item.completed = Date()
DataManager.shared.reloadWidgets()
dismiss()
} label: {
Text("Mark as Complete")
}
}
}
}
struct AddFocusItemView: View {
@Binding var isPresented: Bool
let addItem: (String) -> Void
@State private var newFocusText = "" var body: some View {
NavigationView {
Form {
TextField("What is your focus?", text: $newFocusText, axis: .vertical)
.lineLimit(3...10)
}
.navigationTitle("New Focus")
.toolbar {
ToolbarItem(placement: .cancellationAction) {
Button("Cancel") {
isPresented = false
}
}
ToolbarItem(placement: .confirmationAction) {
Button("Add") {
addItem(newFocusText)
isPresented = false
}
.disabled(newFocusText.isEmpty)
}
}
}
}
```With the heavy lifting of SwiftUI/Swift Data, and iCloud providing automatic and private syncing, this is the cloc output for my project, (including widgets and all of the code and projects needed to target all of these platforms.)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
XML 13 0 0 579
Swift 19 131 142 548
JSON 4 0 0 115
YAML 1 7 0 43
-------------------------------------------------------------------------------
SUM: 37 138 142 1285
-------------------------------------------------------------------------------
If you live in the apple ecosystem and want to make a simple tool for yourself, you really should go ahead and do that.
It started as a desire to have a "focus" on my Apple Watch at all times, and in less than 10 hours, I have widgets, shortcuts (and Siri) integrations, and syncing across every apple platform (although I haven't yet tried it on tvOS).
I've thought about productizing it, and I might one day, but that would add orders of magnitude to the time of making this something that people should be asked to pay for.
And I'm not going to open source it, because it is ~500 loc, with no libraries plus a bunch of Xcode generated stuff.
1. How much did your involvement lead to the fundraising success?
2. How much did your involvement lead to the products' early success?
3. Does it make sense to take the IP early idea that you were passionate about as part of your exit package?
==========
Expectations:
* you should expect no cash. taking cash will lead to a lower chance of a return on your equity. if you desperately need cash, you should get a small package based on your salary.
* you have no way to protect against being diluted. you have no idea how much work it will take to make this project successful. making it successful will require dilution. at best you could negotiate never being diluted under a certain amount, and making that based on successive valuations. if you leave at pre-seed, and it becomes a unicorn, you likely don't deserve 10%. what do you think you realistically deserve if this is a massive runaway success AFTER you leave.
* one way to think about this, is what would your time have been worth at a company with a higher TC. if you would have been paid $500k including equity somewhere else, maybe you should get the same amount of equity as someone investing 500k in cash, and get the exact same dilution as they would.
* you will not find a standard answer anywhere. you need to find the best solution between: