Better HN
topnewbestaskshowjobs
Log inSign up

kortex

8,496 karma · joined Feb 1, 2017 (9y ago) · 2,551 submissions

Submissions

comment 6y ago · link · parent

Actually I've struggled with bipolar disorder for two decades so I'm rather well acquainted with suffering caused by distorted perceptions of reality. Maybe that's why it's less daunting of a proposition to me :)

But yes you're completely right, the actual odds of an adverse psychologic reaction are much lower. My point was moreso that dealing with terminal illness can lead to its own kind of detachment from reality and all sorts of stress.

comment 6y ago · link · parent

Yeah, experiencing that in a hospital cot sounds awful. I believe usually they have some sort of comfortable space for that.

comment 6y ago · link · parent

Caffeine, possibly. I have a pretty strong caffeine addiction myself. But the harm level of caffeine vs alcohol, tobacco, or anything else harder, is far far less.

Sugar, no, it doesn't bind to transduction receptors in the same way (it is rewarding, but not like "drugs" are).

comment 6y ago · link · parent

It made more sense before the time of IDEs and code completion. I used to greatly prefer python to c++ or java when I actually had to type full names and look up interfaces like a pleb.

Now I can't stand untyped python. Have to actually look at documentation to see what methods a class has, who has time for that?

Writing golang with tabnine is otherworldly. It's so regular, not just the syntax, but the variable naming conventions, and course structure even, that it feels like loosely nudging the autocomplete in the direction of the goal.

comment 6y ago · link · parent

I'll bite, as I've long had this same question.

So the short answer is, it looks up the hash in the hidden services directory (iirc it's a distributed hash table of sorts): https://tor.stackexchange.com/questions/711/onion-domains-dn...

But what the heck is the hidden service directory?

This explains it better than I can at the moment: https://2019.www.torproject.org/docs/onion-services

As I understand it, Bob's tor software sets up entry points on the tor network, which don't know where Bob is, but know how to get to a circuit which can get to Bob, like regular Tor. Bob signs those entry points and publishes to the DHT. Alice's client asks the DHT for the entry points to the .onion hash. The entry points can then route Alice's traffic to Bob.

I hope someone can further unpack this :)

comment 6y ago · link · parent

As someone who's studied the topic quite heavily, here's my issue with no-holds-barred legalization (I consider "legal" to mean "can manufacture and distribute" in this regard, like tobacco). Drugs that couple very tightly to the VTA (brain's behavior-reward circuit) actually can lead to lasting changes after few or single exposures. This is amplified by rapid absorption routes - injection, insufflation and inhalation. The main players here are heroin (DEA sched 1), meth (2), cocaine (2), GHB/Xyrem (3), some benzos (4), tobacco (legal), and analogs therein. It's hard to have a casual habit with these drugs, as they manipulate the brain's behavioral calculus itself.

Note that the DEA schedules are all over the board. The current schedule system has barely any correlation with harm (see work by David Nutt). But we are also in a weird place where access to two of the most destructive drugs in real measurable effects - alcohol and tobacco - are legal.

At bare minimum we need to overhaul the schedule system, legalize drugs with low/moderate addiction potential (weed, psychedelics, ketamine, phenethylamines, the Shulginoids), and legalize everything in personal possession quantities, and for scientific/medical research.

High-addiction drugs should probably be medically gated in some way.

comment 6y ago · link · parent

> quite frankly a lot of the research into managing the depressive episodes with shrooms may just be that you become more stupid and therefore less prone to thinking in the first place.

Source needed. All the research I've seen suggest that psychedelics, nay many serotonergics, boost BDNF and neurogenesis.

However, they may artificially weaken links to fear circuitry in the brain - this is usually a feature.

comment 6y ago · link · parent

Eh, if I were slowly dying over the course of weeks, and I were given 50/50 odds: "this wild ameliorate your mortality salience, or break your brain and make you crazy" I'd still take that. Heck, if you're worried about being crazy, you are probably less worried about death.

comment 6y ago · link · parent

Seems like it worked well enough to me. There's two mental frameworks with which to view manifesting. One, you are literally influing the sway of events. Two, you are only trying to placebo yourself into thinking (1) is true. That's where the real power is. It boosts your confidence.

The catch I've found is, you kinda can't half-ass it, as the stronger the internal skepticism is, the more it undermines your confidence.

comment 6y ago · link · parent

"Dopamine boredom" is a thing. There's a pasticular qualia associated with my ADHD meds wearing off that feels not unlike a combination of tired and hungry, even after I've eaten. What clued me in was my go-to binge in this state: chocolate (xanthines, fat a sugar). I wonder how easily others can learn "I'm not hungry, I'm understimulated"

comment 6y ago · link · parent

I've started to just own my ADHD as a way to destigmatize it. I'm your go-to for breadth-first search, latest tools and frameworks, creative solutions, and wielding everything from soldering irons to cloud deployments. But you might need to ride my ass a bit to stay on task.

It also has pushed me to a very CI/CD-centric and statically typed workflow (in a python-heavy AI/CV department), because I need to be able to reason about stuff I wrote on a bad brain-fog day. My philosophy is if it's easy for undermedicated me to reason about it, it's easier still for my coworkers.

comment 6y ago · link · parent

Pretty sure this was the issue giving me trouble on a ROS application for remote sensing. I have hardware trigger signal, a bank of cameras, and a gps/ins unit which emits an exact time/space stamp, all off the trigger. It is a very ROS-esque app, with camera and gps "drivers" which parse the data into ROS messages which are published. Occasionally, the tiny gps packet gets delayed way longer than the image buffering, which throws everything out of whack.

Then I discovered the TCP_NODELAY flag, which made this occurence go from 1/100 to 1/+10,000. Had to do some digging to understand "why would anyone want to delay packets ever?" the answer of course being naive code writing one byte at a time to sockets.

comment 6y ago · link · parent

Dogs are incredibly intelligent when it comes to zeroeth, first-order and second-order effects.

0-order: Pavlovian: Stimulus leads to unconscious reaction. No causal awareness.

1-order: Skinnerian: behavior X leads to good/bad outcome Y, I do more X to get Y. Causal inference without indirection.

These are pretty uncontroversial. Higher order reasoning sees much more debate, but I see evidence all over the animal kingdom.

This is the domain of cognition and eventually theory of mind, and arguably extends behavioral logic with recursion and reasoning about causality indirection.

Audrey knows several tricks. When we are trying to get her to do something hard, she knows we want her to do something. So she "rotates" through her repetoir, spinning, jumping, hi-fiving, searching for the correct behavior. One could argue that it's just extended Skinnerian conditioning, but I don't think so, I think this is the roots of 2nd order reasoning and creativity - "a solution exists and I need to try differnt approaches" - and it's cool to watch. She's 1.5 years old so she's still learning about the world.

But the best dog story comes from another owner who taught her poodle to drop toys before going outside (she couldn't leave hollow toys outside lest scorpions nest in them). So one day the dog brings two toys and drops one at the threshold, as if to say, "there, I paid your dues! Let me out!"

This higher reasoning is clearly harder for them though. I think this manifests most obviously in "no take, only throw!" They want to _have_ the ball (immediate minor reward) but also fetch (delayed large reward). She rarely drops the ball immediately, rather she almost drops it a few times, only to bite down at the last second, before relinquishing.

comment 6y ago · link · parent

> tactile drive & requesting touch

Pointless but cute anecdote. My poodle is _incredibly_ touchy. Yeah there's /r/petthedamndog but I've never seen a dog ham it up like her. Her first thing do do when we wake up is get up onto the bed, laying on us and staring at us. When she wants to be pet, she'll first stare at you, then poke you with her paw till you pet her. If you still refuse, she'll growl quietly. Then if you totally cold shoulder her (some people have to work!) she'll let out a dramatic sigh and wander off. I've never met any nonhuman animal this driven for touch, though I've had cats and fancy rats and they seem to actively seek out cudding as well.

comment 6y ago · link · parent

33 bits of entropy to narrow down to a single individual. ~28 in USA

UID, Gender, Age group, Zipcode and City, plus of course your medication habits, is probably enough to deanonymize with a reasonable amount of confidence. Say age group is one of 8, age+gender is 5 bits of entropy. City zip is ~8. So that's 15 bits left on a good day.

Throw in any off-the-shelf targeted marketing data (usally worth 10-25 bits iirc) and you might as well use SSN as the patient ID.

comment 6y ago · link · parent

I actually have done martial arts for years! Black belt in Taekwondo, green in Ishinru Karate. A touch of aikido. I love it. But, like you said, covid :(

I think I shall look into various ways for unstructured study of martial arts. What I _really_ want to learn is a Kung Fu (particularly Shaolin) and there's a place around here that teaches Chinese martial arts but it's crazy expensive.

comment 6y ago · link · parent

I definitely see both sides. Python is meant to be used exactly like this. It's an exemplar of python-as-library-glue.

I also saw the title and clicked on it because I thought to myself "no fricken way...in pure python?" It's a touch baity.

comment 6y ago · link · parent

Thanks, yeah that's the current approach. I tell myself that consistency is more important than intensity or duration, like just 1 set counts, but it seems like what happens is I build up to larger workouts, then subconsciously set an expectation to match it, then psych myself out (even if I technically only need to do one small set)

comment 6y ago · link · parent

Good luck! Glad you found a more stable source of meds, that's clutch.

Try to find ways to talk up that resume. I was under-employed for a long time but I was also working out of the hackerspace every day. I milked eeeeeevery project I even tangentally got involved in. Helped some kid flash an arduino? "Tutored microcontroller development". Have 2-3 projects you can really talk in detail on, and the rest is just fluff.

comment 6y ago · link · parent

Yep. But surprisingly not as bad as I expected, given COVID, and ADHD+bipolar going into this mess. I've been reeeally depressed in the past, this isn't that. But feeling very burned out. Focus and working memory is really suffering. I'm too busy/tired to be bored but I feel novelty-deprived. I'm barely exercising and I know that's contributing but forming exercise habits is hard for me.

Would be great actually if anyone had tips on how to get exercise habits to stick. I've literally tried to addict myself to working out using nicotine gum, nope, nothing.

comment 6y ago · link · parent

> I have noticed that using a 2000lumens projector daily, instead a normal TV has made a huge improvement in my mood, and almost eliminated that SAD feeling you get in November.

This is brilliant (pun intended!) Also a good way to mess with circadian rhythms if used after 6pm-ish (unless you use f.lux)

comment 6y ago · link · parent

That's usually a yes, or at least "keep watch". There's grades of it, things like cyclothymia and disthymia, too.

comment 6y ago · link · parent

Anyone who thinks they even might have SAD should get a daylight lamp. LEDs are so cheap. You want at least 100W of real power draw, 5000-6500K color temp.

You want em about 2-3 feet away, about 45° off-axis to minimize glare and maximize activation of intrinsically photosensitive retinal ganglion cells (ipRGCs). I keep mine on a cheap tripod behind my desk.

I have some LED floodlights, flat panels with a mounting bracket. ~$60 for 200W. Just as an example:

https://www.amazon.com/Onforu-Waterproof-Floodlight-Playgrou...

comment 6y ago · link · parent

Network effects, mate. I'm in the same boat. Zoom/hangout meetings just aren't the same magic as walking down the hallway and knocking on a door/cube.

There's still nothing widely used that compares to a whiteboard, either. Drawing tablets haven't caught on yet.

comment 6y ago · link · parent

TLS involves both cert checking (server is truly who they say they are and not MITM) and Diffie-Helman key exchange to set up session keys (messages are end-to-end encrypted).

You can DH with an untrusted cert. It might be interceptable.

HTTP is always interceptable.

But there should be zero reason not to set this connection up with a full proper cert. HTTP is just mega sloppy.

As others mentioned, you can bootstrap TLS by first checking OCSP (in the open) on your cert auth service, then use that opaque, freshly-checked connection to check the rest.

comment 6y ago · link · parent

I lose track of things easily. Gmail is my brain dump. Not only does it track all sorts of important email exchanges, but it also acts as a dump of scans of important documents. I have several gmail addresses so it's not completely single point of failure, but if my hub email was disabled, I am in a world of hurt until I sort things out.

Should I diversify? Probably, but that's more things to secure and keep track of.

comment 6y ago · link · parent

I think this marks the definitive point where RISC dominates CISC. Been a long time coming but M1 spells it out in bold. Sure variable size instructions are great when cache is limited and page faults are expensive. But with clock speeds and node sizes ansymptoting, the only way to scale is horizontal. More chiplets, more cores, bigger caches, bringing DRAM closer to cache. Minimizing losses from cache flushes by more threads, and less context-switching.

Basically computers that start looking and acting more like clusters. Smarter memory and caching, zero-copy/fast-copy-on-mutate IPC as first-class citizens. More system primitives like io_uring to facilitate i/o.

The popularity of modern languages that make concurrency easy means more leveraging of all those cores.

comment 6y ago · link · parent

Wow, excellent advice, many thanks!

> feedback loop between your brain and the computer which is faster than any other interactive computing environment i've seen

This is such a critical piece of any workflow. It's often overlooked.

comment 6y ago · link · parent

Mind-blowing work! Is there any kind of tools for "reverse engineering" or otherwise unrolling/prettifying dweets so I can study them better? It's really cool but I barely know where to begin.

comment 6y ago · link · parent

> I still don’t like that it’s possible to run arbitary commands on a user’s system just by them pip installing a package.

Is there a build system out there that doesn't have this feature? Pip is both a package manager and build system since many packages are compiled at install time.

1
666768
86