HNHacker News
TopNewBestAskShowJobs

cmehdy

2,134 karma · joined December 12, 2016

submissionscomments
cmehdy··on Flanderization
There might be some tricky bits to that: most people's domains aren't going to be the same and the projections will result in empty results. In some cases a few bases are shared and there's something to work with, in other cases it might be possible for one party to find.. I guess some homomorphism, that would enable some projections to be non-null.

It could be the case that it's not the usual way things go however, and instead of finding a perfect transformation instead an imperfect one loses some of the information (for example if you and I were to have this exchange in a language where one of us isn't comfortable and the other is). And I guess there's also the question of what to do with the resulting projections we get when we do get some.. are they part of feedback loops around the measure of engagement between people, perhaps? Can the measure of that projection become actionable in any meaningful way to either party? etc.

cmehdy··on Flanderization
As time goes you might find your eigenvectors. Sometimes it takes a change of norms, sometimes it takes a change of bases. But things might be simpler when you live your eigenvectors :)
cmehdy··on Tor is fighting and beating Russian censorship
I'm sorry what?

From my European perspective there's very little difference between the magnitude of terrifying things done by either the US then or Russia now... except maybe that Russia has less reach and power in the bigger scheme of things.

Abduction of people in allied countries to be brought to black sites, torture of inmates at Guantanamo (construction starting 2002), puerile attempts by officials at "downranking" the amount and definitions of torture inflicted upon people, varying degrees of war crimes committed while the highest instances of the world's powers debate vague points or outright lie about the very foundation of why they militarily attack another country, and this continued despite very public outrage at a few strikingly depressing "leaks" (smiling soldiers torturing inmates) or testimonies, and violence inflicted upon specific targets while keeping constant pressure on third parties to remain by the sidelines.

https://www.justsecurity.org/57301/policy-legal-implications...

> Both of Thursday’s Al Nashiri and Zubaydah judgments “are striking for their frank and clear declaration that the CIA operated black sites in Lithuania and Romania at which torture took place, with the knowing acquiescence of the host governments,” notes Just Security’s Oona Hathaway. “The Court, relying in significant part on the 2014 US Senate Committee Report, dismissed Romania’s and Lithuania’s claims that, among other things, (a) the applicants lacked credible sources of evidence; (b) the black sites did not exist in their countries, and (c) if the sites did exist in their countries, the government did not agree to them and did not know that torture was taking place at them,” Hathaway said.

https://web.archive.org/web/20210525025654/https://www.wired...

> The first of those existing rules came from Department of Justice, which in 2002 wrote a series of memos that gave a new, very narrow definition of torture. (The next year, lawyers at the DOD wrote a report that reiterated these rules.) To qualify as physical torture, the memo said that an act of interrogation would have to cause serious physical injury, "such as organ failure, impairment of bodily function or even death."

https://www.wsws.org/en/articles/2004/05/iraq-m12.html

> A May 11 article in the Los Angeles Times exposed other methods of torture used by US forces: deliberately inflicting massive and severe burns, the use of electric shocks, and threatening detainees’ female relatives with rape. The Times article also revealed that the ICRC considers that between 70 and 90 percent of Iraqis seized and held by US forces are wrongly detained.

[...]

> After the bombing ended, US Special Forces and Dostum’s troops herded 3,000 surviving prisoners into sealed metal containers and drove them for 20 hours to Sheberghan prison. Most of the prisoners suffocated along the way. When the convoy arrived at its destination, the containers were emptied and the prisoners who had survived the journey were shot. Their remains were buried in a mass grave.

https://www.wikiwand.com/en/Abu_Ghraib_torture_and_prisoner_...

> Eleven soldiers were convicted of various charges relating to the incidents, with all of the convictions including the charge of dereliction of duty. Most soldiers only received minor sentences. Three other soldiers were either cleared of charges or were not charged. No one was convicted for the murders of the detainees.

---

And with all of these things, two full decades after that and with the full "freedom" of access to the internet that one has in Europe or North America, a lot of people still say with a straight face that those situations don't compare?

Talk about successful propaganda. I'm sure Russia is dreaming to continue achieving similarly too.

cmehdy··on Non-Obvious Docker Uses
It might be a silly question since I know little about this tool but I didn't see a mention of docker-compose in the FAQ: do you have personal experience with use-cases where multiple volumes might need to be mounted, ports forwarded, and multiple containers talking to each others or depending on each others?
cmehdy··on Kubernetes for Developers Who Know How to Develop
All the maintenance you put towards getting things running right now will be maintenance you put towards making sure your cluster is doing what you need and want.

If you start having more servers, a k8s cluster can do something like automatically transfer workloads when one machine has an issue for example, or dynamically allocating storage (even cloud) when needed, or allowing you to issue a single command to spin up more instance of whatever task you'd want to run more in parallel, or updating a version in a config file and letting the cluster do the job of stopping/updating/restarting things.

But what you also have to do is ensure the underlying networking between machines works, all versions of the binaries on all the machines of the cluster are in close agreement with each others, encryption of data via certificates and CAs is satisfactory, and your master(s) might require different maintenance from the workers - but you'll end up reading the docs to know how to roll updates step by step.

In your use case I would stick with a smart use of docker-composes, perhaps just centralized in a private repo, with cron jobs on top. If you buy/rent a couple machines of any kind (from raspberry pis to cloud instances) to put on your network and run things for you, then a cluster becomes increasingly interesting as the amount of tasks needed/wanted and amount of computing available grows.

My context: I have some limited experience with work (including some scary "abstractions" on top of K8s & Helm) and a recent CKA (certified kubernetes administrator hands-on certification) from LinuxFoundation.

cmehdy··on Play with TailwindCSS in the Browser
I do not know much about CSS but Tailwind was very straightforward, and through it I got to learn things in CSS which weren't made obvious before. It's funny that you use the terms "tedious mess" because that's exactly how I feel about CSS without it. Handling screen sizes, print, colors, and simple layouts.. all that seems way too annoying to do in pure CSS to my non-frontend-dev mind, and trivial to do with Tailwind.
cmehdy··on Stars in distant galaxies are typically more massive
It's more like every point of view looks at the past. Which is also true if you look at your screen right now, it's just that you're looking at your screen some nanoseconds ago.
cmehdy··on Stars in distant galaxies are typically more massive
But how would we know if all spatial dimensions were moving along a constant vector? We can't rely on redshit/blueshift if the medium of transmission itself is moving like everything else. The next question might be "moving in what, then?" but then why not abstractly ask the same about time.
cmehdy··on Electronics Explained: Fundamentals for engineers, technicians and makers (2018)
CS and EE are very different fields, there's lots to learn in each field.

My curriculum was a blend of EE and applied maths/phys: I made carbon nanotubes in a lab, used quantum tunneling microscopes to look at atoms of gold, used VHDL to write games and generate the signals to display them in VGA, used control theory and electromechanical models to make a webcam rotate and move to track a face via PID, applied Kalman filters, etc..

But at no point did I learn how a compiler works, how linting works, what are fundamental differences between main programming paradigms, what data structures to pick for different kinds of problems, what are the fundamentals of an OS, how to be comfortable with LISPs, etc..

Once I was out of the academic environment without a PhD or a strong specialization (and just struggling to find any work), it was much more valuable to know binary trees and SQL than all of the EE stuff. So I was on the other end of what you experience, where at one point we covered without gaps quantum physics/chemistry --> barebones CPU, yet I wouldn't have known how to make something robust with it afterwards.

And obviously, despite doing 'some' applied mathematics, any mathematician would look at what I did and probably roll their eyes at the amount of convenient assumptions made.

There's just so much to learn out there that most of what we do in our lives is rely on abstractions, and it doesn't even have to be specific to computers: most people can use a bicycle without being able to draw a functional one[0].

[0] https://www.fastcompany.com/3059089/it-turns-out-its-almost-...

cmehdy··on Psychedelics and mental illness
I don't think it's possible to make a broad statement like that about psychedelics. You'll always just hear one take from a person with their experience and the experience of the people they might have tried it with or even guided, but the spectrum of experiences is too vast to qualify and quantify it without the actual research.

My personal standpoint is fairly different from yours because my anxiety is permanent and a measure of the "agitation" of my existence, to which death is almost a relief really. From that standpoint I've never quite had to confront much of anything about mortality or death. In fact I've almost always felt more alive during trips, at peace with whatever flowing model of the self and existence experienced in the moment. Psychedelic effects can make our senses feel more 'salient' too (for me musical experiences can be very profound), which I've used to contemplate extremes (like noise-cancellation silence after a roaring musical piece).

The main regularly noticeable thing I experience after just about every trip (of various kinds of psychedelics) is severe depression being alleviated for anywhere between a couple days to a few weeks.

Ultimately though, most of what I would say is just likely to be whatever personal theory I've built up this unique stream of experiences. That's why we really need people to get in there and do the difficult work.

edit: also the "some drug" in question is most likely DMT, and I've had extensive experiences with it (on its own or not) and absolutely appreciate that others would have religious experiences, near-death experiences, etc.. but I don't think anybody with any experience of DMT that goes beyond a one-shot would testify to the reliability of trips of such nature. It can be a very volatile experience, as well as being much less predictable from person to person than the more mild stuff like low doses of mushrooms etc. Again, science might eventually come to the rescue :)

cmehdy··on Psychedelics and mental illness
The article makes a lot of good points. I'm a lover of psychedelics, I've apparently managed to be wired in a way that has made every single experience one that I don't regret (whether joyous, superficial, or intricate, unexpected), but I would never make the mistake of assuming my experience directly translates to other people's. Hype, cultists and people thinking in absolute only do a disservice to what we could extract from those experiences.

Serious research with people who are detached from the drugs is something we should all want, especially because we've only had a short time for detailed records of psychedelics experiences to exist at all and most experiences to this day aren't really observed scientifically at all. I believe that science is the best thing we've got to approach the unknown, psychedelics aren't a "godly exception".

I also remain aware that science doesn't always offer answers right away and we just keep on going anyway. It's been true for most technologies, for a lot of what goes in our food every day, for how we've structured society, etc. We accept that there's unknown risks, we try to mitigate what comes our way and prepare for what we can estimate, and we learn to live through what we didn't see. But we still eat the food, use the technologies, try social systems, and so on.

I think that attitude is also one to have with psychedelic experiences. That happens through testing what you have, guided experiences if and when there's a need or uncertainty, "set & setting" and discussing them beforehand, being gentle with dosage, making a sincere attempt at an inventory of the self before deciding on taking the psychs, and so on and so forth. And some people try some of it, some people don't, and that's OK as long as everyone strives to have an experience they can handle with what they know. Just like with everything else.

cmehdy··on Using Windows after 15 years on Linux
I had missed that part, thanks for linking me to it. Also great blog and writing! Thank you for putting in all that work.
cmehdy··on Using Windows after 15 years on Linux
Fluent is great, thanks for that!
cmehdy··on Using Windows after 15 years on Linux
Mostly the same experience having had 10+ years on Mac before a switch to Windows. Powertoys[0] are great although some are slow (especially the one acting like Mac's Spotlight). UI is different but not a bad experience once you've used it for a couple weeks. I didn't see any mention of file explorers (i.e. Explorer vs Finder) in your articles but it's fascinating how those two concepts are the same thing yet so different in their strengths and weaknesses - and to be honest, my explorer experience improved once I started using QTTabbar[1] to customize everything to my liking.

I'm surprised your WSL article is so short, because WSL2 is so incredibly convenient for Linux and keeps on improving steadily. I've been able to set up and practice on virtual kubernetes cluster using KinD[2] (Kubernetes in Docker) thanks to the seamless integration of Docker for Windows into the WSL subsystem. VSCode can tap into Linux VMs with pretty much no delays too. Shutting down the whole thing to free up resources takes one line in Powershell and happens within a few seconds. The terminal app despite having a bit of a clunky UI is highly configurable and just works, etc.

There are things that scare me about Windows though, for example the mandatory real-time "defender" file scanning that you have to disable either manually at every boot or disable entirely through registry thus losing the virus scanning functionality. The amount of clunky Cortana stuff that really took a while to remove. The store app that feels flimsy, the games dependency on Xbox apps and subsystems which can lead to annoying bugs, and certain UI delays that make the system sometimes feel not so fast compared to the tricks Macs can pull to make you feel at ease. Consequently I'm not very likely to touch Windows 11 as Microsoft is seemingly trying to enforce more things in configurations and UI.

[0] https://docs.microsoft.com/en-us/windows/powertoys/

[1] https://github.com/indiff/qttabbar

[2] https://kubernetes.io/blog/2020/05/21/wsl-docker-kubernetes-...

cmehdy··on Collaborate with kindness: Etiquette tips in Slack
Ah, you must have stumbled upon https://nohello.net/ too. I think what they mean is "don't just say hey and leave a person hanging", i.e. if you have a long message to write just put it all together instead of potentially attracting somebody's attention to make them wait while <user is writing something..>.
cmehdy··on Elden Ring figured out the anti-piracy SEO game
If it's about the fextralife wiki and its horribel twitch inclusion on every page, ublock can suppress those divs and the last line rewrites the css rule to be full-screen (if that helps)

To add to your filters:

eldenring.wiki.fextralife.com##.simulation-hero-heading.section-heading-light.section-heading.ad-sidebar

eldenring.wiki.fextralife.com##.sidebar-top-border

eldenring.wiki.fextralife.com###sidebar-wrapper

eldenring.wiki.fextralife.com###wrapper:style(padding-left: 0px !important)

cmehdy··on The Life of Pi: Ten Years of Raspberry Pi
Funnily enough, as of 2022 I've been finding it impossible to get Raspberry Pis. I suppose it's due to shortages.. I'm in Canada and everywhere is sold out, when checking the US it's sold out, the UK too, etc. Couple resellers price-gouging at 4-5x prices do exist though.

Here's to 10 more years of Pis, preferably with availability too!

cmehdy··on Russia to restrict Facebook access for 'censoring' its media
Limiting Facebook access also ensures that the Russians abroad who carry a voice against Putin in the language of their fellow citizens also get silenced/ignored. It's the bully closing his eyes to the damage he's doing, except that he's dragging 140 million people with him.
cmehdy··on Desperation-Induced Focus
I collated those definitions from a couple websites and they all closed in on the same terms, which is also what I had come to understand over the years. But it's possibly a case of definitions and usage shifting a bit, or maybe a cultural element (defined in British English vs American perhaps?). But I got the closer meaning by looking up "despair" rather than desperation, so it was one hop away :)
cmehdy··on Desperation-Induced Focus
I understand the term better thanks to your contextualization, thanks. Some online definitions indeed cite "recklessness due to despair" along with despair itself being a subjective "complete loss of hope" (despair's definition). So I can see the writing as trying to highlight the idea of making a "blind" effort through something that seems entirely lost and turning that into a driving force going forward.
cmehdy··on Desperation-Induced Focus
So that's a common hyperbole I guess? I've encountered the term "desperate situation" in writing (fiction) used to highlight subsequent achievements, but I assumed that every instance of "desperation" could at least be replaced with "hopelessness" - which doesn't have to be as harsh as the realities I know, but certainly go exactly opposite to the hope required for a small company to survive and thrive.
cmehdy··on Desperation-Induced Focus
Definition of desperation

1 : loss of hope and surrender to despair

2 : a state of hopelessness leading to rashness

Am I missing something or is it a term that is coopted to romanticize something particularly horrible? I'm not a native english speaker so perhaps I am missing something, but with severe depression and suicidal attempts I had understood states of a certain learned helplessness to be what desperation is about.

Adversity and hope are what I believe small struggling companies hold on to, which seems wholly different from "desperation" and much more conducive to growth and creation.. but perhaps I'm not understanding what natives would understand.

cmehdy··on Dwarf Fortress Steam Updates – Release Roadmap
For 4x-type games, there was a recent v1 global release of Remnants of the Precursors[0], made by a single dev who participates to the related subreddit[1]. The upcoming Falling Frontier[2] is also a one-man dev team iirc.

As a person struggling with day-to-day due to mental health issues, all the people working on such projects truly are an inspiration - and on top of that we get good games :)

[0] https://rayfowler.itch.io/remnants-of-the-precursors

[1] https://old.reddit.com/r/rotp/

[2] https://www.gog.com/game/falling_frontier

cmehdy··on Neural nets are not “slightly conscious,” and AI PR can do with less hype
I found the conversation between you two interesting (as well as Scott Aaronson's post), so I figured I could contribute with a potentially relevant piece of reading: "Hard Criteria for Empirical Theories of Consciousness" (24-page PDF) at https://digitalcommons.chapman.edu/cgi/viewcontent.cgi?artic...

In the same ballpark as IIT, I've seen many mentions of GWT/GNT (global neuronal workspace theory). But the PDF covers that and many others. I don't have any particular "conclusion" myself, but it's just a fascinating discussion to be swimming in even when utterly clueless.

EDIT: And I forgot the most obvious link that I actually had read in the past, Stanford's page on conciousness talks about theories: https://plato.stanford.edu/entries/consciousness/#SpeTheCon

cmehdy··on Facebook/Meta asks: “Wouldn't it be nice to die?”
What's the point of being a life-sized plush in that context? Why is it that you're both a human giving concerts and a toy to indicate directions to people passing by? Why include a scene about getting yourself trash-compacted in a state of anhedonia?

I'm completely likely to be more cynical than your average person out there since due to personal mental health issues, however none of the questions I just asked seem to have any connection at all with the blindly optimistic take you seem to be having.

Not to mention that Facebook already exists for the purpose you indicated and is even owned by the same people. Presumably Mr Dog Plushie could have had the chance to reconnect with old friends already there, yet instead he was about to literally trash himself and die. How is that not alarming as hell?

cmehdy··on Facebook/Meta asks: “Wouldn't it be nice to die?”
What is the ad supposed to mean??

What I gathered is "trade your lower half for a second chance at living your life, since the current one is a total failure, you worthless suicidal puppet".

Not entirely sure how the flowchart takes me from this to an Oculus purchase though.

cmehdy··on “The Wall” Housing Structure In Fermont, Quebec
FWIW your French is impeccable, and indeed there's no shortage of culture shock between France and Quebec for this sort of stuff.

source: French from FR living in QC :)

cmehdy··on Introduction to the A* Algorithm (2014)
This reminds me of what the Death Stranding team presented at GDC regarding the pathfinding. They had LOTS of new issues for a game due to the unique nature of Death Stranding (obstacles, tripping, balancing) and they do an excellent job at outlining their approach.

Video (51 mins): https://www.youtube.com/watch?v=yqZE5O8VPAU

cmehdy··on Foobar2000
Same thing with a move to Mac over a decade ago. I still feel icky that most of the stuff I've listened to this past decade is archived on such a closed platform, and once in a while it itches enough that I use a downloader of sorts to try and at least archive them somewhere. But the curated library of tags, endless dynamic playlist generation, and aimless wandering through torrents and articles are all but gone. And along with it a certain aspect of the love for music.
cmehdy··on Neural Noise Shows the Uncertainty of Our Memories
> Yet if computing probabilities is such an integral part of how we perceive and think about the world, why have humans gained a reputation for being bad at probability?

Maybe we are able to grasp probabilities at the most fundamental parts of our physiology, but layers and layers of cognition on top of it add estimators with noise (all our guesses around the world and ourselves) which pretty much hide entirely the probabilistic foundation (perhaps due to limits in cognition & memory degradation). Guessing that something is "a red car turning left" is a hell of a lot more complicated than guessing whether a singular line is at a 45-degree angle. For the latter maybe we can tap into neuronal activity almost 1-to-1, for the former you have to add estimators around red, car, turning, left, and language assumptions.

← PreviousPage 5 of 17Next →