HN user

pdkl95

17,069 karma

"PDKL 95"

1. (noun) - The drug used by the Superbrights as a means of forwarding Cataclyst[1] ideology. At high doses, the drug erases all sense of "self", but can be used at low doses to force a change in perspective by violently disrupting the mind's established, "normal" way of interpreting reality.

2. (noun) - The most efficient (and dangerously destructive) means of breaking out an established paradigm, into a different Prigoginic[2] Level of Complexity.

3. (name) - The internet alias of an insane nerd in the San Francisco Bay Area. A UNIX and Free Software advocate, who has been programming from a very young age. Expect a strange mix of very-traditional UNIX philosophy and technique, mixed with seemingly random or surreal tangents.

[1] http://en.wikipedia.org/wiki/Schismatrix#Ideologies

[2] http://en.wikipedia.org/wiki/Ilya_Prigogine

Posts242
Comments3,437
View on HN
www.youtube.com 4y ago

This Is Phil Fish (2014) [video]

pdkl95
2pts0
www.youtube.com 4y ago

2D projection of a 3D cube in Poly Bridge 2

pdkl95
1pts0
www.youtube.com 4y ago

Rebuilding the Oroville Dam Spillways

pdkl95
2pts0
www.youtube.com 4y ago

The FBI Framed Him with Science

pdkl95
2pts0
www.youtube.com 4y ago

That's How You Get a Dystopia

pdkl95
10pts1
www.youtube.com 4y ago

Donald Knuth: Programming, Algorithms, Hard Problems and the Game of Life

pdkl95
5pts0
philzimmermann.com 4y ago

Why I Wrote PGP (1999)

pdkl95
422pts181
www.youtube.com 4y ago

The Great Myth of the Medieval Tritone Ban

pdkl95
4pts0
www.schneier.com 4y ago

Class Breaks

pdkl95
3pts0
news.ycombinator.com 4y ago

Ask HN: Why is YouTube adding “&pp=sAQA” to video URLs?

pdkl95
109pts69
codeparade.itch.io 5y ago

Webcam Feedback Fractals (2021)

pdkl95
1pts1
www.youtube.com 5y ago

Tik Tok and dissonance do not mix

pdkl95
1pts0
www.youtube.com 5y ago

What Happened at the Oroville Dam Spillway?

pdkl95
4pts1
www.linusakesson.net 5y ago

The Bitbuf

pdkl95
1pts0
www.youtube.com 5y ago

Reflections on Trusting Trust – Computerphile

pdkl95
1pts0
kmikeym.myshopify.com 5y ago

0.25 Unit Fungible Token

pdkl95
5pts0
www.youtube.com 5y ago

The Addictive Cost of Predatory Videogame Monetization

pdkl95
3pts0
www.youtube.com 5y ago

Sounds of the Mandelbrot Set

pdkl95
2pts0
qntm.org 5y ago

I don't know, Timmy, being God is a big responsibility (2007)

pdkl95
401pts158
www.youtube.com 5y ago

I Got My First Copyright Strike I'm Pissed [Rick Beato]

pdkl95
2pts0
www.youtube.com 5y ago

An Alternative to the American Way of Innovation (Andrew 'Bunnie' Huang)

pdkl95
1pts0
media.ccc.de 5y ago

CIA vs. Wikileaks [video]

pdkl95
340pts269
media.ccc.de 5y ago

Internet of Telemetry: I Know What You Did Last Lockdown (MQTT)

pdkl95
2pts1
media.ccc.de 5y ago

What the cyberoptimists got wrong – and what to do about it

pdkl95
3pts0
www.bayeswatch.com 5y ago

GINN: Geometric Illustrations for Neural Networks

pdkl95
3pts0
www.youtube.com 5y ago

Projecting Space – Hyperbolica Devlog #4

pdkl95
1pts0
www.npr.org 5y ago

Amazon reportedly has Pinkerton agents surveil workers who try to form unions

pdkl95
809pts445
gist.github.com 5y ago

A Whistleblower Prayer

pdkl95
1pts0
www.gamesradar.com 5y ago

Minecraft moderators can now perma-ban players “who do not follow” the rules

pdkl95
2pts0
boingboing.net 5y ago

The Coming Civil War over General Purpose Computing (2012)

pdkl95
405pts210

a crappy but cost-effective approach with a high margin of error may rise to prominence.

The tech startup that eventually creates that will call this "efficiency". This type of 'solution' is exactly what capitalism creates.

I would love to have a real-time dashboard/HUD with measures of disorganized speech patterns or affective intensity

It would be hard to make it not distracting

Not only would it be distracting, it could also bias you in unexpected ways.

I would love to have a real-time dashboard/HUD with measures of disorganized speech patterns or affective intensity,

I already don't trust a lot of the mental health industry because of the very bad experiences[1] I've had in the past. The easiest/fastest way to guarantee I never visit a psychiatrist again is to start using that kind of "AI" tech without first showing me the source code. "Magic" hidden algorithms are already a problem in other medical situations like pacemakers[2] and CPAP[3] devices.

make up for the trade-off of not being in the room

Maybe what you need isn't some sort of "AI" or other tech buzzword. It sounds like you need better communication technology that doesn't lose as much information.

--

On the more general topic of "AI in psychiatry", I strongly encourage you to play the visual novel Eliza[4] by Zachtronics. It's about your fear of a cheap, high error rate system with an additional twist: the same system also optimizes your role into a "gig economy" job.

[1] a brief description of one of those experiences: https://news.ycombinator.com/item?id=26035775

[2] https://www.youtube.com/watch?v=k2FNqXhr4c8

[3] https://www.vice.com/en/article/xwjd4w/im-possibly-alive-bec...

[4] https://www.zachtronics.com/eliza/

What practical advantages are there?

The major advantage of a language that isn't Turing complete is not having the major risk inherent to Turing complete languages: asking if any non-trivial program will produce any given result or behavior is undecidable[1].

write a program that runs until the heat death of the universe even in a Turing-incomplete language.

The Halting Problem is just a simple example of program behavior. The undecidability extends to any other behavior. Asking if a given program will behave maliciously is still undecidable even if we only consider the set of programs that do halt in a reasonable amount of time.

When you are using a regular language or deterministic pushdown automata, questions about the behavior or even asking if two implementations are equivalent is decidable. It is at lest possible8 to create software/tools to help answer the question "is this input safe." When you use a non-deterministic pushdown automata or stronger, you problem becomes provably undecidable*,

I highly recommend the talk "The Science of Insecurity"[2].

[1] https://en.wikipedia.org/wiki/Rice%27s_theorem

[2] video: https://archive.org/details/The_Science_of_Insecurity_ slides: [pdf] https://langsec.org/insecurity-theory-28c3.pdf

The problem is that the people using said libraries don't know what they're doing.

I would like to suggest that the problem is that the skilled people that understand how to write crypto systems are providing libraries that are easy to misuse. Instead of providing a library that is likely to be used incorrectly without a lot of specialized knowledge, provide infrastructure that manages the crypto so the average developer doesn't need to become an expert on crypto systems.

HTTPS is a useful example. Instead of providing webapp authors a library of cypher/hash functions and warning that they shouldn't roll their own transport layer security and then acting shocked when those authors try to use that library and make a lot of mistakes, we instead separate the crypto step into a separate layer of infrastructure so the average webapp author can easily use crypto without having to learn a lot of specialized knowledge. Someone writing a Ruby on Rails app shouldn't have to write functions like pervade_encrypt($data)/pervade_decrypt($data) to move out of the plaintext world of HTTP and utilize encrypted transport. They only need to buy/LetsEncrypt a cert they can install in their webserver. They can even delegate that to their hosting provider.

"If it's possible for a human to hit the wrong button and [cause a catastrophic failure] by accident [or inexperience], then maybe the problem isn't with the human - it's with that button. [...] People make mistakes, and all of our systems need to be designed to be ready for that."

> Tom Scott, https://www.youtube.com/watch?v=dabnx8VSdkE

is relatively high entropy at <= 13-bits

That is only true if-and-only-if we pretend those 13 bits are the only identifying information being sent to Google when requesting a font. The HTTP request is almost certainly being sent to Google wrapped inside an IP protocol packet. For most[1] requests, there are at least 24 additional bits (why 24? see: [3]) of very-identifying data in the IPv4 Source Address field. More fingerprinting can be probably done on other protocol fields, and IPv6 obviously adds an additional 96 bits. Yes, IP addresses are not unique, but ~13 bits is easily sufficient to disambiguate most hosts on a private network behind a typical NAT. Correlating the tuple {IPv4 Src Addr, x-client-data} received on a font request is trivial: it only requires a user to login to any Google webpage that includes a font request.

> re: your [1]

    A given Chrome installation may be participating in a number
    of different variations (for different features) at the
    same time. These fall into two categories:

       Low entropy variations, which are randomized based
         on a number from 0 to 7999 (13 bits) that's randomly
         generated by each Chrome installation on the first run.

       High entropy variations, which are randomized using
         the usage statistics token for Chrome installations
         that have usage statistics reporting enabled.
How many users have 'usage statistics reporting' enabled, and are there for a "High entropy variation"? Is it enabled by default and thus will only be disabled by the minority of people that know how to opt-out?

[1] Google reports[2] they currently see about a 60%/40% ratio of IPv4/IPv6.

[2] https://www.google.com/intl/en/ipv6/statistics.html

[3] my previous posts on this topic - re: x-client-data https://news.ycombinator.com/item?id=23562285 re: 24-bits-per-IPv4 https://news.ycombinator.com/item?id=15167059

The solution to this type of intentionally incompatible product is to return to a legal and cultural environment that respects adversarial interoperability[1]. If a company doesn't want to implement the features people want[2], some other company should be able to provide their own (possibly reverse engineered) implementation.

Trying to restrict competitors from making interoperable products is admitting you don't want to participate in a well-running competitive market and instead deserve monopoly power.

[1] https://www.eff.org/deeplinks/2019/10/adversarial-interopera...

[2] including features like interoperability with a competitor's product.

I could not enter my own apartment because my phone was dead

Whenever I hear about "smart" devices as a replacement for something that is safety/security critical (like a lock), the question of what happens when the internet and/or power fails is rarely even considered. Does the lock fail open or closed? Does the door open if there is a fire in the building that damages the internet/power wiring? If it fails open, does that mean someone can bypass the lock by simply cutting the network/power cables outside the building?

There might be reasonable answers to these questions at a large business building that can afford fallback options, but I'm not sure there are good answers for e.g. residential situations.

While other comments have discussed the technical utility of symbols, I believe symbols can also be seen as useful syntactic sugar that helps communicate intent. Strings used for indexes. named args, and other structural purposes can be represented in a way that is visually distinct from strings used as text.

The technical benefits are nice, but this type of ergonomic feature is why ruby has remained my favorite language for over a decade.

first they become the dominant acme provider

The traditional way a big tech company becomes the dominant provider is to embrace an open interoperable protocol to minimize the friction of switching from another provider. Later, when they have captured enough of the market, they extend the protocol to gradually reduce the de facto interoperability with other providers to increase the friction of switching to any other provider.

https://en.wikipedia.org/wiki/Embrace%2C_extend%2C_and_extin...

Using language like "fire fast" might presuppose a situation where someone is going to be "hired" - possibly involving a lot of work, life changes, and moving/other expenses - only to have their effort/money wasted when they are "fired fast".

What if instead of "fire fast", the idea was re-framed/restructured into the new employee initially working as some sort of consultant with a short term contract? Use telecommuting/work-from-home or other temporary workarounds to defer expensive/disruptive things like moving to live near the company until after the defined "trial" period. Instead of "firing fast", you either let the temporary consulting contract expire or you proceed with the actual hiring process and the deferred tasks.

Maybe this isn't possible in practice, but it seems like we could design a workaround to this problem if were sufficiently creative.

think about the effects it has on others

Unfortunately, that takes proactive effort. Unless there is a mechanism to actively incentivize spending time and energy to protect others, most of the time that effort will be spent on "more important" things. ~sigh~

http://web.mnstate.edu/alm/humor/ThePlan.htm

  In the beginning, there was a plan, 
  And then came the assumptions,
  And the assumptions were without form, 
  And the plan without substance,

  And the darkness was upon the face of the workers,
  And they spoke among themselves saying,
  "It is a crock of shit and it stinks."

  And the workers went unto their Supervisors and said,
  "It is a pile of dung, and we cannot live with the smell."

  And the Supervisors went unto their Managers saying,
  "It is a container of excrement, and it is very strong, 
  Such that none may abide by it."

  And the Managers went unto their Directors saying,
  "It is a vessel of fertilizer, and none may abide by its strength."

  And the Directors spoke among themselves saying to one another,
  "It contains that which aids plants growth, and it is very strong."

  And the Directors went to the Vice Presidents saying unto them,
  "It promotes growth, and it is very powerful."

  And the Vice Presidents went to the President, saying unto him,
  "This new plan will actively promote the growth and vigor 
  Of the company With very powerful effects."

  And the President looked upon the Plan 
  And saw that it was good,
  And the Plan became Policy.

  And this, my friend, is how shit happens.

While some people certainly seem to subscribe to "feeling their masculinity/world-view is threatened" interpretation, the fundamental problem that q lot of people don't seem to understand is that the internet changed the mechanics of fame.

The best explanation I've seen - and possibly the most important video on youtube - is "This Is Phil Fish"[1] by Innuendo Studios. It's not really about Phil Fish; it's about everyone who isn't Phil Fish acted when they decided he became "famous". In the past, being "on tv" or "in a band" or other traditional examples of fame required some amount of buying into fame. Becoming famous required media access that was controlled by gatekeepers. You had to work with those gatekeepers if you wanted to be "on tv" or whatever, and because you had to choose to participate, people often see the decision to become famous as also accepting some amount of responsibility to "act like famous people are supposed to act".

This internet fundamentally changed the mechanics of fame, because the internet IS media access. Now it is possible to become famous - to become a "celebrity" with a "responsibility" to act in a certain way - simply by being yourself in your normal everyday life.

[1] https://www.youtube.com/watch?v=PmTUW-owa2w

Regarding the creation and removal of a tempfile (line 72 & 85):

    local tmpFile="${TMPDIR:-/tmp/bash-web-server.$$}"

    # ...

    rm "$tmpFile"
To avoid collisions when the PID is reused, and to clean up0 the tempfile on errors, I recommend using mktemp and trap:
    local tmpfile="$(mktemp --tmpdir="${TMPDIR:-/tmp}" bash-web-server.XXXXXX)"
    trap "rm -f \"${tmpfile}\"" RETURN EXIT

    # ...

    # Do nothing at the end of the function; trap will
    # remove the file at RETURN automatically.
Otherwise, I like the implementation! It's nice to see good bash techniques like parsing with "IFS='&' read -ra data" and rewriting variables with %%/etc.

"What due diligence and groundwork have you done to prove that they are in fact a terrorist?"

The solution is to make this question their (Clearview) problem. If you are offering a service that makes damaging claims about people, then you need to be liable for any related damages if that claim is later found to be slander/libel.

The risk of a potentially huge ruling/settlement will be handled the same way it is handled in other professions: by paying for liability/malpractice insurance. Eventually, the insurance companies will handle the question of due diligence.

Also, after scrolling up, there is a 'settings' button (gear icon). Along with various options (including alternative shaders!), at the top there are 8 empty circles that are worth investigating...

I'm trying to avoid spoilers, so I'm obfuscating more specific hints:

  # A good first step (very mild spoiler)
  echo Q2hlY2sgdGhlIGNvbnNvbGUhCg== | base64 -d

  # A direct hint about where to look 
  echo RmluZCB0aGUgaGlkZGVuIGFjaGlldmVtZW50cygpCg== | base64 -d

  # A very spoilery JS statement that has side effects
  echo YWNoaWV2ZW1lbnQoJ2NodHInKQo= | base64 -d

Everyone

Abusing technology to gather and monetize data that reveals users' "pattern of life" used to be limited to tech companies. Now that the tech industry rot has spread into other traditionally unrelated industries the abuse becomes systemic. We are now seeing the results of the spreading rot as a fundamental shift in our economic system from capitalism based on mass-production and financialization into surveillance capitalism[1].

We are already seeing entire industries shift from their traditional business models into surveillance oriented data. After a critical mass of businesses pivot to surveillance capitalism, the rest of the market becomes strongly incentivized to also become a surveillance capitalism style business or risk being left behind unable to participate in the new market.

[1] https://nymag.com/intelligencer/2019/02/shoshana-zuboff-q-an...

I admit the vast majority of my experience with hotels consists of a single repeated data point: the staff[1] suite(s) we shared in the Hilton attached to the SJ convention center. They always had glasses/shaker/etc. You could probably ask for a shaker from roomservice or the hotel bar, if necessary.

[1] If you registered for FanimeCon 2000-2011, the weird software you had to use was my fault...

The last time I used a daylight tank was in the mid '90s so maybe newer models are different, but I believe they are made out of black/dark plastic? Several right angle turns of black plastic provides multiple opportunities for a visible-light photon to be absorbed into a black body where it should be re-radiated as infrared (heat).

A hole/leak in the metal wall of a Faraday cage is going to be a lot more reflective and can easily act like a crude waveguide[1].

[1] https://en.wikipedia.org/wiki/Waveguide_%28radio_frequency%2...

I really like Snowden's recommended Faraday cage for phones or other devices of similar size: two drink-shaker cups[1].

Drink shakers are cheap and widely available. The average hotel room in any medium/large hotel chain probably includes a shaker as a standard item as part of the minibar. The simple two-cup style (as seen in [1]) is preferred over the fancier "strainer top" style because you can press the two cups together; this should cause the inner cup to slightly cut into and/or deform the outer cup along the circle where they join together. The seal between the cups should work sort of like the knife-edge seals used in vacuum chambers.

A metal box or conductive bag is only a Faraday cage if it is fully closed/sealed. Any imperfection in the seal or hole[2] might allow the radio signal to leak out. Most improvised items (freezer, random metal box, etc) have poor seals. Making a high quality cage that actually block a modern phone can be done without much trouble, but the drink shaker method is the only method I know of that will do the job using widely available (free) or very cheap ($10-ish?) parts.

[1] https://ae01.alicdn.com/kf/HLB1yRyhXZTxK1Rjy0Fgq6yovpXaZ/Win...

[2] Holes of sufficient size. How big are the waves you are trying to block?

Hillsborough disaster

The "We'll There's Your Problem" podcast had a interesting episode[1] about the Hillsborough disaster.

a large fluid mass

Apparently mosh pits are an ideal gas. From [2]:

> ... we examined the 2D speed distribution; previous observations of human pedestrian traffic and escape panic led us to expect a broad distribution not well described by simple analytic expressions. However, the measured speed distribution in mosh pits wads well fit by the equilibrium speed distribution of classical 2D gassed, otherwise known as the Maxwell-Boltzmann distribution.

[1] https://www.youtube.com/watch?v=j2BjTfwhbh8

[2] https://arxiv.org/abs/1302.1886#

Feynman, in "The Pleasure of Finding Things Out":

The first way in which science is of value is familiar to everyone. It is that scientific knowledge enables us to do all kinds of things and to make all kinds of things. Of course if we make good things, it is not only to the credit of science; it is also to the credit of the moral choice which led us to good work. Scientific knowledge is an enabling power to do either good or bad — but it does not carry instructions on how to use it. Such power has evident value — even though the power may be negated by what one does.

I learned a way of expressing this common human problem on a trip to Honolulu. In a Buddhist temple there, the man in charge explained a little bit about the Buddhist religion for tourists, and then ended his talk by telling them he had something to say to them that they would never forget — and I have never forgotten it. It was a proverb of the Buddhist religion: “To every man is given the key to the gates of heaven; the same key opens the gates of hell.”

What, then, is the value of the key to heaven? It is true that if we lack clear instructions that determine which is the gate to heaven and which the gate to hell, the key may be a dangerous object to use, but it obviously has value. How can we enter heaven without it? The instructions, also, would be of no value without the key. So it is evident that, in spite of the fact that science could produce enormous horror in the world, it is of value because it can produce something.

Well, because it simply doesn't work for them: returning from a function does not trigger the EXIT signal.

It doesn't trigger EXIT, but it does trigger RETURN. Just trap both:

    #!/bin/bash

    foo() {
        trap "echo 'Cleanup!'" RETURN EXIT

        #return
        #exit
    
        echo "Kill me with ^C or \"kill $$\""
        while true ; do : ; done
    }

    foo   # should print 'Cleanup!' on SIGTERM,
          #   returning, or calling exit