Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.
You've got two main options:
; Stumbling towards Y | |
; | |
; The applicative-order Y combinator is a function that allows one | |
; to create a recursive function without using define. | |
; This may seem strange. Usually a recursive function has to call | |
; itself, and thus relies on itself having been defined. | |
; | |
; Regardless, here we will stumble towards the implementation of the | |
; Y combinator (in Scheme). |
# this forces Arena into full screen mode on startup, set back to 3 to reset | |
# note that if you go into the Arena "Graphics" preference panel, it will reset all of these | |
# and you will need to run these commands again | |
defaults write com.wizards.mtga "Screenmanager Fullscreen mode" -integer 0 | |
defaults write com.wizards.mtga "Screenmanager Resolution Use Native" -integer 0 | |
# you can also replace the long complicated integer bit with any other scaled 16:9 | |
# resolution your system supports. | |
# to find the scaled resolutions, go to System Preferences --> Display and then | |
# divide the width by 16 and multiple by 9. on my personal system this ends up |
Copyright© Technovelgy LLC; all rights reserved. | ||||
---|---|---|---|---|
Name | Purpose | Author (Publication Date) | Category | |
Andy - an artificial human | A slang term for "android" - an artificially created humanoid being. | Philip K. Dick (1968) | ai | |
Autobutle | An automated servant. | Frank Herbert (1972) | ai | |
Automaton Chessplayer - the first chess-playing computer | The first chess-playing computer. | Ambrose Bierce (1910) | ai | |
Automonk | A robot with an AI trained on an individual monk. | Ray Naylor (2022) | ai | |
Ava - she wants to be taught | A piece of learning software. | Amitav Ghosh (1995) | ai | |
Bard | A machine that invents randomized stories and can read them out loud or animate them for viewing. | Isaac Asimov (1956) | ai | |
Bendix Anxiety Reducer | Machine-based psychotherapy. | Robert Sheckley (1956) | ai | |
Big Computer - wide-screen Jehovah | Just like it says; this computer knows it all. | John Varley (1983) | ai |
/* ******************************************************** | |
* Copyright ©2024 Rundata Systems. All rights reserved. | |
* This project is licensed under the GPLv3 License. You | |
* can find a copy of this license at: | |
* https://www.gnu.org/licenses/gpl-3.0.en.html | |
* | |
* More detail (1m read): | |
* https://www.rundata.co.za/rundata/products/verbose_proxy | |
* | |
* Example usage (3m video): |
// Copyright (C) 2023 dasshiva | |
#include <stdlib.h> | |
// Compiles on GCC 11.4.0 ubuntu idk about other systems | |
// Abusing macros to make C look a tiny bit better (maybe worse for some) | |
#define class(x, contents) typedef struct x x; struct x contents; // declare a class x | |
#define var(ty, name) ty name; // declare a variable | |
#define func(ty, x, ...) ty (*##x) (__VA_ARGS__); // declare a member function maybe static or non-static | |
#define static_func_def(ty, x, ...) ty x (__VA_ARGS__) // declare a static function | |
#define func_defnp(class, ty, x) ty x (class* self) // define a non-static function taking no parameters |
;; Big thanks to Christophe Grand - https://groups.google.com/d/msg/clojure/L1GiqSyQVVg/m-WJogaqU8sJ | |
(defn scaffold [iface] | |
(doseq [[iface methods] (->> iface .getMethods | |
(map #(vector (.getName (.getDeclaringClass %)) | |
(symbol (.getName %)) | |
(count (.getParameterTypes %)))) | |
(group-by first))] | |
(println (str " " iface)) | |
(doseq [[_ name argcount] methods] | |
(println |
(defmacro return% [a] | |
`(fn return-fn# [success# error#] | |
#(try | |
(success# ~a) | |
(catch Throwable t# | |
(error# t#))))) | |
(defn bind% [m b] | |
(fn a [success error] | |
#(m (fn x [value] ((b value) success error)) error))) |
Object>>chain | |
^ ChainProxy new setTarget: self | |
ChainProxy>>doesNotUnderstand: aMessage | |
target := aMessage sendTo: target. | |
^ target | |
ChainProxy>>setTarget: anObject | |
target := anObject. | |
^ self |