posener's blog- Goroutine Scoped Context Proposal
looks like they're reinventing the dynamic scope wheel
golang  programming 
11 days ago
The Dumb Money
why Bitcoin is bad, 2018 edition
cryptocurrency  economics 
12 days ago
Five-Minute Artisan Bread | The Splendid Table
Makes 3 loaves. I used 3½ cups all-purpose flour, 1 cup bread flour, and 2 cups whole wheat.
recipe  bread 
28 days ago
Thirty Years Later: Lessons from the Multics Security Evaluation - Paul A. Karger, Roger R. Schell
a retrospective of the paper that suggested the "Reflections on Trusting Trust" hack to Thompson
security  os  multics 
4 weeks ago
The Observation Deck » Falling in love with Rust
I'm learning Rust, and like Cantrill I appreciate how Rust incorporates older good ideas in a consistent way. For comparison, here's his list of likes measured against Scheme, a language I feel comfortable with. (I chose Racket because it's actively developed, well thought out, and has a large library. Other modern Schemes like Guile would be about the same.)

Error handling: Racket has ADTs and pattern matching, but the APIs all raise exceptions. The propagation operator could be a macro, but I don't think they have it in the default library, for the same reason. (Does Racket have any semipredicates that aren't taken from standard Scheme? It seems like something they'd want to avoid.)

Macros: Racket is famous for "macros that work together". But there's nothing like format! or the Debug trait, again for historical reasons. It also seems to me that the macros don't work together as well as you'd like: given N related kinds of functionality, you often have N^2 macros implementing the cross-product of them all. Compare Rust's for loop and std::iter::Iterator with Racket's for, for/list, for/vector, for/hash, for/hasheq, for/hasheqv, etc. etc.

include_str!: Racket gets half a point for include/reader. No raw strings.

serde: racket/serialize only works with readable values (what are serde's limitations?). Nothing like serde_json::from_str; roll your own.

tuples: Again, the pieces are there (define-values, match, etc.), but the APIs don't really use them like this.

integrated testing: Racket has (module+ test ...).

performance: Racket is pretty good, but Chez is still the one to beat.

To sum up, Racket (and Scheme in general) has good primitives, but it's weighed down by old APIs.
programming  rust 
4 weeks ago
Metallica whiskey is made using sound waves from band's music, it says
imagine Metallica using copyright law to prevent home distillers from making their own with "I Disappear"
music  bourbon  alcohol  celebrity  haha 
6 weeks ago
Structuring the GLL parsing algorithm for performance - Elizabeth Scott and Adrian Johnstone
GLL (Generalised LL) parsing algorithms provide a sequentialisation of recursive-descent
style parsing that yields efficient, compiled parsers which admit any context free grammar,
including left recursive and non-left-factored rules. The resulting parsers retain the ‘recursively
decent’ property that the structure of the parser closely follows the structure of the
grammar; as such it is feasible to debug grammars by tracing the corresponding GLL parser
using a conventional code debugger.
In this paper we develop two variants of the GLL algorithm called FGLL and RGLL
which respectively support (i) efficient parsing of factorised grammars and (ii) parsing using
a reduced set of descriptors. Both techniques yield significant speed up on programming
language grammars compared to the base GLL algorithm. We also discuss the ordering of
descriptor processing and its effects on performance.
papers  parsing  compsci 
6 weeks ago
Pale Horse Rider by Mark Jacobson | PenguinRandomHouse.com
A former U.S. naval intelligence worker, Milton William Cooper published his manifesto Behold a Pale Horse in 1991. Since then it has gone on to sell hundreds of thousands of copies, becoming the number-one bestseller in the American prison system. (Bookscan lists sales at 289,000 since 2005.) According to Behold a Pale Horse, JFK was assassinated—because he was about to reveal that extraterrestrials were about to take over the earth—by his driver, an alien himself; AIDS is a government conspira...
conspiracy  books  toread 
7 weeks ago
Martha Stewart's One-Pan Pasta Recipe on Food52
12 ounces linguine
12 ounces cherry or grape tomatoes, halved or quartered if large
1 onion, thinly sliced (about 2 cups)
4 cloves of garlic, thinly sliced
1/2 teaspoon red pepper flakes
2 sprigs basil, plus torn leaves for garnish
2 tablespoons extra-virgin olive oil, plus more for serving
Coarse salt
Freshly ground black pepper
4 1/2 cups water
Freshly grated Parmesan cheese, for serving

Combine pasta, tomatoes, onion, garlic, red-pepper flakes, basil, oil, 2 teaspoons salt, 1/4 teaspoon pepper, and water in a large straight-sided skillet (the linguine should lay flat). Bring to a boil over high heat. Boil mixture, stirring and turning pasta frequently with tongs or a fork, until pasta is al dente and water has nearly evaporated, about 9 minutes. Season to taste with salt and pepper, divide among 4 bowls, and garnish with basil. Serve with olive oil and Parmesan.
pasta  recipe 
12 weeks ago
A Master’s Twist on Making Ice Cream in a Plastic Bag | The New Yorker
Plastic-Bag Vanilla Ice Cream à la Fabian von Hauske Valtierra
Makes 1 to 2 servings

1 sandwich-size ziplock bag
1 gallon-size ziplock bag OR large glass jar OR large coffee can
3 cups ice
⅓ cup kosher or rock salt
½ cup whole milk
½ cup heavy cream
¼ cup sugar
2 tsp. corn syrup
1 tsp. milk powder (non-fat is fine)
½ tsp. vanilla extract (or to taste)
⅛ tsp. salt (or to taste)

Mix or whisk together the milk, cream, sugar, corn syrup, and milk powder . Add vanilla and salt, adjust. Fill the gallon-size ziplock with three cups of ice and the kosher or rock salt. Pour the milk-and-cream mixture into the sandwich-size ziplock, seal it tightly, getting as much air out of the bag as possible, and put it inside the gallon-size ziplock, jostling it a little so that it’s surrounded by the ice and salt. Seal the large bag. Shake vigorously for 15 to 20 minutes (wearing gloves is recommended), or until the mixture has reached the desired texture. Remove the smaller bag, serve, and enjoy.
ice-cream  recipe 
july 2018
The White Man, Unburdened | Quinn Slobodian & Stuart Schrader
Murray thinks people everywhere distrust centralized government because Thai farmers distrusted paramilitary search teams
iq  thailand  vietnam  charles-murray  conservatism 
july 2018
What Went Wrong: Reflections on Science by Observation and The Bell Curve - viewcontent.cgi
The Bell Curve aims to establish a set of causal claims. I argue that the methodology of The Bell Curve is typical of much of contemporary social science and is intrinsically defective. I claim better methods are available for causal inference from observational data, but that those methods would yield no causal conclusions from the data used in the formal analyses in The Bell Curve. Against the laissez-faire social policies advocated in the book, I claim that when combined with common sense and...
iq  reviews  charles-murray 
june 2018
Caution on “Lexit”
a left critique of a left critique of the EU
britain  brexit 
may 2018
The Dismal Frontier | Current Affairs
None of these "it's not Star Trek!" rants really acknowledge that the older shows were made in the pre-Sopranos era. Long, linear stories, high tension, and characters dying suddenly are just normal now. TNG is closer to an anthology show like High Maintenance than anything else, IMHO, and I think a Trek like that would work.

But of course, the Discovery writers didn't _fail_ to make an old-fashioned Trek; they didn't even _try_.
star-trek  sf  rant 
may 2018
May 2018 NBER
A serious investigation of the Peter principle. I hope to see this in the 2019 Ig Nobel awards.
papers  management  sales  peter-principle 
may 2018
[FoR&AI] The Origins of “Artificial Intelligence” – Rodney Brooks
Chapter 1 of "Fads & Fallacies in the Name of Science" is relevant here.
ai  history  compsci  pseudoscience 
may 2018
In the Crosshairs | Phoenix New Times
from 2004, after Saville is found not guilty and a victim of entrapment
arpaio  phony-bomb-threat 
may 2018
The Plot To Assassinate Arpaio
from 1999, after the arrest. The Phoenix New Times is already suspicious
arpaio  phony-bomb-threat 
may 2018
The Presidency: The Hardest Job in the World - The Atlantic
This is a condensed and focused version of Whistlestop season 2.
politics  history  presidents  trump 
april 2018
Pan-Roasted Pork Chops | Genius Kitchen
1 tsp garlic powder
1 tsp paprika
1/2 tsp onion powder (didn't have)
1/2 tsp dry mustard
1/2 tsp packed brown sugar (didn't know I had)
1/2 tsp salt
1/4 tsp ground pepper

Preheat oven to 400°. Heat skillet over medium-high heat until hot. Add oil; heat until hot. Rub chops generously with seasoning mixture. Add chops to skillet; cook 2 minutes on one side or until brown. Flip chops; transfer skillet to oven. Bake 6-8 minutes.
recipe  pork 
april 2018
« earlier      
3d 9/11 academia accordion ada-lovelace adam-curtis addiction adulting advertising afghanistan ai album alcohol algol aliens alt-right america ancient-rome android antarctica antlr arm armory arpaio art articles asimov asl assembly astronomy atheism audio australia automation awards awesome azores bach bad baffler band barbecue bayes beauty beer bias biology bios bling boehm book books bosch bourbon brains bread brexit britain bugs business buythis c california car celebrity charles charles-babbage charles-murray chile china chinese chinese-food chromebook church-of-ww2 cities civil climate clojure colonization colors columbia compilers compsci computers con-art concurrency conservatism conspiracies conspiracy cooking corporate-person cosma cpu crime criticism crypto cryptocurrency culture culture-wars dallas data data_structures debate debugging dennett dewey dfw dictionary dinosaurs disaster disease documentary dylan eclipse economics economy education effects egypt election elections emacs energy environment equifax essay evgeny eyes farming feminism fiction finance fishing flags flat-earth follow-the-money food for-work fordham forth france franklin french functional-programming gambling game gamedev games gc genders general_instrument geometry git giuliani globalization go golang gopnick gps gq grammar graphics great-recession grinspoon guns hack hacks haha haiti hans hardware haskell health heinlein hell history housing howto i-saw? ice-cream image image-detection immigrants industrial-revolution inequality insects intel interview ios iq iran iraq isaacson italy java jobs jpeg jrm koch-family kragen language lapham larkin lcd legionnaires lego libertarianism light linux lisp lists literature live llvm lottery management manual map-generation maps markcc math mba medawar media memoir mercenaries microsoft military ml moire moldbug monad monarchy-envy money morozov morrisett movie movies mueller multics multilib music mustaches nature nes network newyorker nintendo nlp nonsense nostalgia nostradamus nudging nyc obama obituary ocaml opengl oreilly organ os oscars ovine painting paper papers parallelism paris paris-commune parsing pasta patents pdf perl peter-principle pharma philosophy phone phones phony-bomb-threat photo physics pizza plague pluto podcast poem politics pollution popper pork portis prehistory presidents printing prison programming prohibition propaganda pseudoscience punk python quiggin racism racket radio radiohead randomness rant recipe recycling reddit reference religion repair restaurant retrospective review reviews revolutions rom royal-wedding rpg rumsfeld rust sales satire scheme science scotland scrabble screws seafood security sega sex sexism sf shakespeare shalizi shuttle sitaker slack slackware smoking song sound space spi sports ssa star-trek starwars statistics steak steve storage strauss structures subway summer supermicro talk tea teilhard thailand thesis tim time tnr toiletry tolkien tom-lehrer tools toread transportation travel trump tutorial types uk unix us usb venus vermont via:cshalizi via:peter video vietnam visualization war war_on_terror water web wifi windows wine wingo wizard wmd writer writing x11 xmms yonkers yudkowsky zombie

Copy this bookmark:



description:


tags: