Meta tags:
Headings (most frequently used words):
further, aside, defaultstringinterpolation,
Text of the page (most frequently used words):
the (41), speed (16), light (14), and (12), #string (11), value (11), this (9), case (9), appendinterpolation (9), that (8), not (8), our (8), http (7), www (7), russbishop (7), net (7), format (7), url (7), with (7), anything (7), interpolation (6), are (6), one (6), should (6), some (5), only (5), need (5), all (5), defaultstringinterpolation (5), have (5), can (5), such (5), maximum (5), which (5), time (5), other (4), signed (4), decimal (4), extension (4), for (4), point (4), thing (4), universe (4), next (4), would (4), why (4), lies (4), example (3), further (3), style (3), those (3), let (3), self (3), uint64 (3), fileprivate (3), like (3), way (3), your (3), first (3), private (3), file (3), its (3), these (3), over (3), causality (3), things (3), spacetime (3), they (3), changes (3), more (3), physics (3), travel (3), feb (3), 2026 (3), 0800 (3), pile (3), nice (2), people (2), could (2), printf (2), formatting (2), values (2), promoted (2), bit (2), prefix (2), but (2), use (2), will (2), octal (2), hexadecimal (2), category (2), interpolationvalue (2), integerstyle (2), binaryinteger (2), func (2), mutating (2), unsigned (2), any (2), binaryintegercategory (2), enum (2), another (2), convenient (2), ensure (2), paths (2), method (2), type (2), eternal (2), chosen (2), you (2), public (2), path (2), else (2), without (2), side (2), effect (2), now (2), ability (2), take (2), opinion (2), what (2), understanding (2), better (2), makes (2), there (2), during (2), neighbors (2), ticks (2), distance (2), each (2), neighbor (2), hand (2), imagine (2), quanta (2), points (2), itself (2), fields (2), from (2), clock (2), none (2), cannot (2), understand (2), aside (2), travels (2), cause (2), mass (2), has (2), change (2), dilation (2), fri (2), russ (2), bishop (2), blog (2), feed, swift, added, improvements, many, may, aware, extended, support, floats, alignment, minimum, widths, various, features, size, special, correct, character, integer, when, passed, varargs, anyway, underlying, library, interpret, bits, entirely, based, conversion, specifier, argument, length, modifier, cvararg, llo, llx, llu, lld, where, switch, int64, bitpattern, signedinteger, return, var, assume, integers, good, practice, ultimately, pass, onward, avoid, accidental, loops, parameter, named, default, overload, framework, authors, consider, extensions, very, carefully, stringprotocol, isfileurl, careful, passing, here, creates, loop, smashes, stack, description, fileurlwithpath, isdirectory, true, print, prints, instead, say, want, represent, urls, accomplish, easily, giving, customize, behavior, substring, control, into, custom, adopts, allows, create, types, drives, new, oslog, becca, royal, gordon, provided, 0228, proposal, examples, log, debug, privacy, html, expressiblebystringinterpolation, thu, oct, 2022, 0700, 54152, particle, farmer, worth, does, actually, work, idea, probably, just, analogy, hopefully, someone, greater, come, thought, complete, sense, current, applies, rules, results, propagated, step, total, takes, happen, long, bucket, brigade, made, uncountable, number, tiny, between, existence, transmit, receive, immediate, certain, defined, steps, words, everyone, exchanges, white, elephant, gifts, then, sits, back, down, process, got, plan, move, them, until, tick, metaphors, analogies, simplifications, necessity, imperfect, most, grasping, simplified, version, certainly, proverbial, hook, hang, mental, hat, abstract, concept, concrete, needs, don, know, right, phrasing, quantum, brain, breaking, enough, confusing, matter, inferring, phenomena, because, having, laws, require, source, attributed, answer, whatsoever, make, propagate, physical, property, putting, everything, did, exist, effects, remain, unchanged, adjust, clocks, gps, satellites, due, gravitation, field, nothing, using, phrase, misnomer, believe, actively, causes, harm, difficult, than, otherwise, well, being, impossible, related, give, fig, about, physicist, tue, 61429, lathe, piling, chips, fluffy, soft, regret, machinist, 61438, xenadu, gmail, com, content, management, represents, own, personal, endorsed, employer,
Text of the page (random words):
russ bishop this blog represents my own personal opinion and is not endorsed by my employer http www russbishop net feed content management blog en us fri 13 feb 2026 11 07 36 0800 xenadu gmail com russ bishop http www russbishop net pile of lies 61438 fri 13 feb 2026 11 07 36 0800 http www russbishop net pile of lies machinist lathe piling chips fluffy and soft these are lies in the pile lies only regret http www russbishop net no such thing as speed of light 61429 tue 03 feb 2026 11 34 50 0800 http www russbishop net no such thing as speed of light no such thing as speed of light i m no physicist particle farmer so take this opinion for what it is worth using the phrase speed of light is such a misnomer i believe it actively causes harm and makes some things in physics more difficult to understand than they otherwise would be why should light s chosen speed have anything to do with well anything at all why should time travel being impossible be related to light why should our ability to travel have anything to do with light why should time dilation give a fig about light the answer is none of those have anything to do with light or its speed whatsoever our universe has a speed of causality the maximum speed at which changes in the fields that make up our spacetime can propagate from one quanta one point of spacetime to another this is a physical property of the universe itself putting everything else aside if light did not exist all of those other effects would remain unchanged the maximum speed anything with mass could travel would not change the need to adjust the clocks of gps satellites due to time dilation in a gravitation field would not change light has nothing to do with it light travels at a maximum speed because having no mass the laws of physics require it to do so light speed is a side effect it is not the cause or source of the things attributed to it i don t know if speed of causality is the right phrasing but we need a better one quantum physics is brain breaking enough no need to go confusing the matter by inferring that the speed at which light travels is the cause of other phenomena a further aside all metaphors analogies and simplifications are by necessity imperfect most people cannot understand anything without first grasping a simplified version of it i certainly cannot a proverbial hook on which to hang one s mental hat the more abstract the concept the more concrete the path to understanding needs be imagine our universe our spacetime is made up of an uncountable number of tiny quanta or points there is no such thing as between these points they are existence itself imagine further that each point can only transmit or receive changes in fields from its immediate neighbors at certain defined steps in time in other words the clock ticks everyone exchanges changes like white elephant gifts then sits back down to process what they ve got and plan the next move none of them can take or hand over anything until the next clock tick thought of this way it makes complete sense there should be some maximum speed during which the current point applies the rules and the results are propagated to its neighbors during the next step the total time it takes for these ticks to happen over some distance is the speed of causality over that distance the maximum speed at which each neighbor can hand things to the next neighbor in a long bucket brigade now does our universe actually work this way i have no idea probably not it is just an analogy hopefully someone with greater understanding will come up with a better one http www russbishop net string interpolation 54152 thu 06 oct 2022 11 32 08 0700 http www russbishop net string interpolation string interpolation swift 5 added some nice improvements to string interpolation that many people may not be aware of the first is the ability to control interpolation into a custom type that adopts expressiblebystringinterpolation this allows you to create types like html and drives the new oslog string formatting eg log debug value x privacy public becca royal gordon provided some nice examples of this in the se 0228 proposal as a side effect string and substring now use defaultstringinterpolation giving us a convenient extension point to customize interpolation behavior defaultstringinterpolation as an example let s say we want to represent file urls as paths without the file prefix we can accomplish this easily extension defaultstringinterpolation fileprivate mutating func appendinterpolation _ url url if url isfileurl appendinterpolation url path else careful passing url here creates an eternal loop that smashes the stack appendinterpolation url description let u url fileurlwithpath private isdirectory true print u prints private instead of file private a good practice is to ensure that all paths in your appendinterpolation method ultimately pass a stringprotocol type onward to avoid accidental eternal loops or ensure your first parameter is named so your method is not chosen as a default overload for framework authors you should consider any public defaultstringinterpolation extensions very carefully for another example assume we d like to have a convenient way to format integers enum integerstyle case decimal case hexadecimal case octal fileprivate enum binaryintegercategory case signed unsigned fileprivate extension binaryinteger var interpolationvalue binaryintegercategory uint64 return self is any signedinteger signed uint64 bitpattern int64 self unsigned uint64 self extension defaultstringinterpolation mutating func appendinterpolation value binaryinteger _ value value style integerstyle let category value value interpolationvalue switch style case decimal where category signed appendinterpolation string format lld value case decimal appendinterpolation string format llu value case hexadecimal appendinterpolation string format 0x llx value case octal appendinterpolation string format 0o llo value values are promoted to 64 bit so our value is a cvararg and we only need one size prefix in our format string signed decimal is the only special case but we only need to use the correct format character all integer values are promoted to 64 bit when passed as varargs anyway and the underlying printf library will interpret those 64 bits entirely based on the argument length modifier and conversion specifier this example could be further extended to support floats alignment minimum widths and various other features of printf style formatting
|