HNHacker News
TopNewBestAskShowJobs

cyberbanjo

517 karma · joined January 8, 2019

submissionscomments
cyberbanjo··on Why I develop on Windows
Just to corroborate from the opposite direction, I have run exclusively Linux on my personal machines for nearly a decade, and I started a new job where I get to use PowerShell, and it's really amazing, the amount of grep/tail/head (or Get-ChildItem/Select -First/-Last) I have to do is so much less, it feels so much less klunky. Probably the only thing I don't like more so far is Get-Help, because it doesnt put you into a pager with search, it just dumps to text. EDIT: apparently I need Help not Get-Help for paging EDIT2: and I hate that PowerShell doesn't support readline/emacs keybindings
cyberbanjo··on Microsoft is busy rewriting core Windows library code in memory-safe Rust
Remain? Humans /may become/ the weakest link after remote code execution exploits cease to be discovered, but certain hacks require no human in the loop.
cyberbanjo··on Datomic is Free
Good thing this is not open source. They are licensing binaries.
cyberbanjo··on Google Authenticator now supports Google Account synchronization
Relatively easy? Relative to what?
cyberbanjo··on Why is ‘juice jacking’ suddenly back in the news?
But do chargers that pretend to be keyboards, and other HID (Human Interface Devices) have to be authorized?
cyberbanjo··on What happens when your phone is spying on you
TFA: We focus on Android-based spyware because most of the mobile spyware market appears to be focused there. Since curated app stores like Google Play do not permit the sale of such apps, in practice they must be side-loaded off-store, a process that Apple does not support. As a result, consumer mobile spyware only operates on “rooted” iPhones. Rooting an iPhone can be a technically involved operation (one popular guide to jailbreaking the iPhone involves 41 distinct steps [17]) and one that can take significant time to complete — both requirements at odds with the broad, non-technical customer base such apps are marketed to. We also focus on leading spyware apps as they are the apps that more people are exposed to and they are more likely to be innovative (new features could potentially bring them more customers).
cyberbanjo··on Coltrane: A music theory library with a command-line interface

  $ bundler
  $ ./bin/coltrane
  
  ? Welcome to Coltrane 4.1.1 (You chose: notes)
  ? Which notes?
  > C E D F G A
  ? How to display? (You chose: Guitar)
  
  -> coltrane notes notes:C-E-D-F-G-A representation:Guitar
[[ omitted ]]

  ? What to do now? (Choose with ↑ ↓ ⏎, filter with 'f')
  > 1. Different notes
    2. Different representation
    3. Go back
cyberbanjo··on My mindfulness practice led me to meltdown (2021)
I'm not Buddhist or experienced meditator, but I have surely seen instruction for counting based mindfulness practices.

https://en.m.wikipedia.org/wiki/Ganana#Technique

cyberbanjo··on Show HN: Cosh – concatenative command-line shell
Om is a prefix concatenative language

https://www.om-language.org/index.html

cyberbanjo··on Bob Dylan Says Streaming Has Made Music 'Too Smooth and Painless'
https://archive.ph/UzgCw
cyberbanjo··on Kids and music lessons: why do many promising players quit early?
Flutes are more affordable and easier to get a nice tone out of than clarinets or tubas.
cyberbanjo··on Mimetic Desires: Why We Copy Others (and Why It Matters)
>though a non-monodimensional individual would value these 4 goals as equally important.

Being multi dimensional doesn't imply that, does it? They could have many dimensions, without it being beach or city collecting?

cyberbanjo··on Lula Becomes Brazil’s President, Bolsonaro Flees to Florida
Shore? At least from a boat
cyberbanjo··on The Missing Locksmith
My favorite example is Death Grips prematurely leaking their album, to the player after following a bunch of deep web clues
cyberbanjo··on BloomTech, previously Lambda School, cuts half of staff
Recurse Center?

https://www.recurse.com/

cyberbanjo··on The erasure of women from online pregnancy literature
Sitting on an immovable object doesn't turn it into a chair, like sitting on the ground.
cyberbanjo··on The paper that keeps showing up
"If we call +1, -1, and √-1 had been called direct, inverse and lateral units, instead of positive, negative, and imaginary (or impossible) units, such an obscurity would have been out of the question."

--Gauss

cyberbanjo··on Bringing a dynamic environment to C: My linker project
For the second part: with restarts and conditions, CL pulls up an interactive debugger that asks if you would like to abort, continue/retry calling undefined or supply a definition now, amongst others.

Evalutating this in CL (SBCL)

  (undef-fn)
gives:

  Restarts:
   0: [CONTINUE] Retry calling UNDEF-FN.
   1: [USE-VALUE] Call specified function.
   2: [RETURN-VALUE] Return specified values.
   3: [RETURN-NOTHING] Return zero values.
   4: [RETRY] Retry SLY interactive evaluation request.
   5: [\*ABORT] Return to SLY's top level.
   6: [ABORT] abort thread (#<THREAD "slynk-worker" RUNNING {100288C7E3}>)
  [... as well as a clipped stack trace ...]
Pressing 1 will allow you to name an alternative function in a minibuffer prompt, 2 lets you set the return value of the undefined fn, etc.
cyberbanjo··on Bringing a dynamic environment to C: My linker project
Pre-declaring the undefined function does prevent the first of those exceptions. I guess it just feels weird to include Clojure here, because the CL experience is like it brings up an interactive debugger and asks if you wanna define the function now or abort.
cyberbanjo··on Bringing a dynamic environment to C: My linker project
How does it work in Clojure? Attempting to compile/evaluate this:

  (defn foobar [] (undef-fn))
gives:

  1. Caused by java.lang.RuntimeException
  Unable to resolve symbol: undef-fn in this context
Attempting to call foobar:

  (foobar)
gives:

  1. Unhandled java.lang.IllegalStateException
  Attempting to call unbound fn: #'user/foobar
Environment info:

  ;; CIDER 1.3.0 (Ukraine), nREPL 0.9.0
  ;; Clojure 1.11.1, Java 18.0.2
cyberbanjo··on Electrochemical potential enables dormant spores to integrate enviro signals
Seems like that is another different article about the paywalled one
cyberbanjo··on The Other Internet
I think that if I had written the book in the past decade, perhaps Bateman would have been working in Silicon Valley, living in Cupertino with excursions into San Francisco or down to Big Sur to the Post Ranch Inn and palling around with Zuckerberg and dining at the French Laundry, or lunching with Reed Hastings at Manresa in Los Gatos, wearing a Yeezy hoodie and teasing girls on Tinder. -- Bret Easton Ellis (2016)

https://www.townandcountrymag.com/leisure/arts-and-culture/a...

cyberbanjo··on Ask HN: What have we lost in tech and society?
Torrents exist, so maybe it got more difficult but not lost.
cyberbanjo··on Ask HN: What have we lost in tech and society?
Does it have access to all 8gb (because its 32bit)?

Even if so, sounds like a problem with no hardware graphics acceleration to my untrained ear

cyberbanjo··on Don’t teach kids to fear the world
Getting into a car isn't the dangerous part where I live, it's being near the road. It's safer to be in a car, near the road, than on foot or on bicycle.
cyberbanjo··on DJI Drone Flies over the Top of Mount Everest
PM is not a thing on HN, you should add contact information to this post or your account bio if you want to be reachable
cyberbanjo··on A Programming Language Database
I don't know enough Prolog to know why you'd want that (please share), but SWI prolog has a SQL interface to run prolog over SQL data, and the author has released it as CSV and JSON, I know SQLite lets you import CSV data, probably other databases do.

JSON to s-expr's should be convertable with simple search-and-replace, or you could just load the file with a json library with reader macros so it loads the data into the appropriate data structures, I'm fairly sure both common lisp and clojure let you read jsons directly like that.

cyberbanjo··on How to stop being “terminally online”
Have you tried an amateur radio meetup?
cyberbanjo··on Electronics are built with death dates. Let’s not keep them a secret
Paywall
cyberbanjo··on Popcorn Lung: A Dangerous Risk of Flavored E-Cigarettes (2016)
Anecdote, but a few weeks ago I was on an Amtrak commuter train waiting to get off, and a bunch (half dozen) of smokers waiting near the exit with me unanimously agreed that smoking and vaping are comparably harmful, and some even went to say that vaping is worse.

Selection bias, though, and one of them claimed to be a 2-3 pack a day, for decades.

← PreviousPage 2 of 10Next →