I hereby claim:
- I am vi4m on github.
- I am vi4m (https://keybase.io/vi4m) on keybase.
- I have a public key ASCLCcLhtEgffh8mDXgJ86Q_kyPP6wppprdI_MK1madJdwo
To claim this, I am signing this object:
#!/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-05-31-a.xctoolchain/usr/bin/swift | |
import Foundation | |
func currentPath() -> String { | |
let pathPointer = UnsafeMutablePointer<Int8>(allocatingCapacity: 1024) | |
defer { pathPointer.deallocateCapacity(1024) } | |
#!/usr/bin/env python | |
""" | |
Demo Content-Length bug in Zewo | |
Usage:: | |
./dummy-web-server.py [<port>] | |
Send a GET request:: | |
curl http://localhost |
HTTP/1.1 200 OK | |
Date: Fri, 16 Sep 2016 16:23:17 GMT | |
Connection: close | |
test |
#!/usr/bin/swift -target x86_64-apple-macosx10.12 -v | |
import Cocoa | |
import WebKit | |
func halfWindow(title: String = "Half Window (^c to quit)") -> NSWindow { | |
let window = NSWindow() | |
if let screen = window.screen { | |
var frame = screen.visibleFrame | |
let size = CGSize(width: frame.size.width / 2, height: frame.size.height) | |
frame = CGRect(origin: .zero, size: size) |
### Keybase proof | |
I hereby claim: | |
* I am vi4m on github. | |
* I am vi4m (https://keybase.io/vi4m) on keybase. | |
* I have a public key ASCLCcLhtEgffh8mDXgJ86Q_kyPP6wppprdI_MK1madJdwo | |
To claim this, I am signing this object: |
I hereby claim:
To claim this, I am signing this object:
import TokamakShim | |
import JavaScriptKit | |
public let window = JSObject.global.window.object! | |
public let location = JSObject.global.location.object! | |
struct TokamakApp: App { | |
var body: some Scene { | |
WindowGroup("Tokamak App") { | |
ContentView() |
Recently, I started rejecting general questions. General questions are often wrong. Yes, you can ask wrong questions, and it's worse than giving bad answers.
It's especially evident today with questions about AI's future, the future of jobs, or other simplistic questions. Wrong questions lead to harmful actions and consequences.
For example, people often ask, "Will AI take my job?" Answering "yes" can lead to negative outcomes. Another bad question might be, "Are immigrants bad?" While some might be, asking such questions is harmful.
So, how to ask good questions? The more you know about a topic, the better the questions you can ask. No wonder the answer to the Ultimate Question of Life, the Universe, and Everything is 42; the question itself is crucial.