HNHacker News
TopNewBestAskShowJobs

cjhveal

631 karma · joined February 13, 2012

codyveal.com
submissionscomments
cjhveal··on Vim Fugitive in Action (2021)
Personally, I just break out to the CLI for the vast majority of use cases. Things like viewing logs or making commits or staging hunks with `git add --patch`. I'd suggest looking at only replacing the parts of your workflow that are painful and keep what works. For example, I've heard many folks say that fugitive's `:Git blame` support is the killer feature for them.

To that end, I'd probably pick up a good Terminal User Interface like `lazygit` before spending much time investing into fully driving git through vim. Grains of salt suggested, but if you're interested in exploring other git TUI options, I've also heard good things about `gitui`[0].

[0]: https://github.com/gitui-org/gitui

cjhveal··on Terpstra Keyboard
To add yet another example for those looking to try out microtonal music, Sevish's track Gleam[1] is upbeat/poppy and surprisingly palatable. It explores the crunchy textures of microtonal while resolving to familiar pop cadences and helped bridge the gap for me to start enjoying the spectrum of microtonal harmony.

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

cjhveal··on Show HN: I made a website to search for half loaves of bread
Was curious about the etymology so looked it up. Seems like half-loaf referred to the fact that it weighed 2 pounds, half the standard "quartern" 4lb round loaf which was typically sold in quarters.

https://www.dsl.ac.uk/entry/snd/half

cjhveal··on The Uselessness of Phenylephrine
Authored by O. Hai, and I. B. Hakkenshit
cjhveal··on Ivermectin shows clinical benefits in mild to moderate COVID19: RCT double-blind
Please only take this medication by prescription from a medical doctor. Even if these results are replicated, there is a huge difference between 12mg/day IV for 5 days under medical supervision and consuming a tube of apple flavored paste containing 6 grams of ivermectin. Ivermectin is neurotoxic at high doses and can absolutely kill you.
cjhveal··on The historical accuracy of medieval city-builder video games
The tax stuff in EU4 is the exact kind of modifier-based abstraction of extraction that the article is saying is all-too-common of simulation/strategy games set in this period. EU4 is one of the most "board-gamey" Paradox games with probably the most abstraction of the individuals you're supposedly ruling over. The tax system is truly one of the most bland parts of the whole game. Saying this as someone with many hundreds of hours in EU4, it's a game I used to really enjoy.
cjhveal··on Algorithmic Botany
I have to second this recommendation and add my favorite video[0] of his, "Kick Me In The Asteraceae, with Helianthus annuus," about sunflowers. It's truly an informative and down to earth take on what can be a very stuffy and jargon-dense subject.

[0]: https://www.youtube.com/watch?v=D44YgtQraXY

cjhveal··on Algorithmic Botany
L-systems are a lot of fun. When messing around with pen plotters a few years ago with a friend, we implemented an L-system driven plotter and one of the more interesting programs we found to run on it was an aperiodic Penrose tiling. We ended up throwing a party with the plotter going and art supplies so folks could grab a copy and color them in. Some videos below of the plotter in action.

https://www.instagram.com/p/Bfp0hATFzfm/?taken-by=dannysaza

https://www.instagram.com/p/BgS4MkeDEt0/?taken-by=dannysaza

cjhveal··on Interactive IPA Chart
Very interesting. After asking I wondered if there could have been some kind of velar connection but L-vocalization makes sense. Appreciate the in depth explanation with lots of examples from your idiolect.
cjhveal··on Interactive IPA Chart
Really, with a [u] at the end? That's really interesting, do you mind me asking what dialect you speak?
cjhveal··on Interactive IPA Chart
These sounds are really close together to begin with, but in English, we don't actually use either of those sounds in word-initial position like the example recording, and so unless you speak a language that distinguishes these sounds in this context, they are going to be difficult to differentiate. Our word-initial voiceless stops (p, t, k) are actually aspirated stops, that is they are produced with a strong puff of air, while our word-initial voiced stops (b, d, g) are partially unvoiced and are actually somewhere between the t and d recordings.

Hold your hand in front of your mouth and feel the difference in pressure when you pronounce the first sound of the word "tune" versus the word "dune". This will let you feel that puff of "aspiration." Next, try putting your fingers over the front of your throat, (on your layrnx or where the Adam's apple is on men), and pronounce the sounds slowly. You may be able to feel the difference when your vocal cords start to vibrate as you say the "d" sound. In native English speakers this happens shortly after the pressure is released from your tongue, while in the English "t" sound, the vibration doesn't start until the vowel does. The "d" sound in the example from the chart has the vocal cord vibrations start immediately as the pressure is being released.

cjhveal··on Court: ‘ghost gun’ plans can be posted online without State Department approval
You're correct on the facts here as they relate to federal law-- I was reacting to the post's previous mention that firearm manufacture for personal use was 100% unregulated by any existing law. You've since edited it to be much more accurate and my comment isn't necessary.
cjhveal··on Court: ‘ghost gun’ plans can be posted online without State Department approval
You're right, I was hyperbolizing somewhat, and I honestly hadn't looked into either of those designs closely before. The Liberator12K looks like it uses a steel barrel, which makes sense. I'm surprised the PM522 works as well as it does but I guess if any fully plastic design is going to work halfway decently, it would be a .22 Revolver.
cjhveal··on Court: ‘ghost gun’ plans can be posted online without State Department approval
You're 100% correct-- I believe it's more legally dangerous to those purchasing it than physically dangerous. It just lowers the barrier of entry and creates a frictionless path where someone buys a bunch of products, combines them in the way they were intended and they commit a felony and get a reliable firearm. When combined with the rhetoric that doing so is patriotic or in support of your rights it becomes worrying.
cjhveal··on Court: ‘ghost gun’ plans can be posted online without State Department approval
It's definitely not 100% unregulated to produce your own firearm in the United States. It can be very very illegal to do so and it's a really dangerous piece of advice to be giving a bunch of hackers. You must obey state and municipal laws regarding your eligibility to own a firearm at all. The firearm itself must be legal according to your state law. In the entire country, you must apply to the DOJ for a serial number before completion of the firearm and you must have it permanently engraved or imprinted upon the receiver or a piece of embedded steel.
cjhveal··on Court: ‘ghost gun’ plans can be posted online without State Department approval
I really don't see 3D-printed firearms as a threat. It requires expensive, specialized equipment and days of patience to produce a product that is almost universally inferior to a length of pipe, a block of wood, and a nail. Everything one needs to create an improvised firearm is available cheaper and with less scrutiny at the hardware store.

Despite all the fight over distributing models for this junk, Defense Distributed also currently sells a genuinely dangerous CNC product[0] that is designed to automatically mill out so-called 80% receivers.

If you're not familiar with U.S. firearm law, the part of a gun that's legally considered a "firearm" is the frame or "receiver" that houses the other components. If you sell or produce one of these frames, you are selling or producing a firearm, whether it's made of plastic or metal. Companies get around this by selling incomplete receivers that still require machining, and Defense Distributed sells everything you need to finish the receiver and commit the felony yourself.

I don't actually know if there's actually any evidence of crimes (beyond production) committed with completed receivers but what I do know is that it has much more potential to create an actually reliable and dangerous firearm than 3D printing.

[0]: https://ghostgunner.net/

cjhveal··on AI Dungeon will block certain words, review content flagged as inappropriate
Reminds me of the 2005 conversational simulation game, Facade[0], in which any mention of the word "melon" would be met with being immediately kicked out of your host's dinner party.

[0]: https://www.playablstudios.com/facade

cjhveal··on My Love Affair with Dozens (1972) [pdf]
One of my favorite language Youtubers, jan Misali, has an interesting video on Dozenal and "Seximal" (base 6) number systems.

https://www.youtube.com/watch?v=qID2B4MK7Y0

cjhveal··on Morrowind rebooted the original Xbox
You're honestly not doing anything wrong. Morrowind is a really unsatisfying game for a lot of reasons. The RNG based combat mechanics feel off in a game that lets you aim your strikes. The quests are difficult to follow, offering vague and often incorrect directions for long cross-country treks where you're constantly attacked by annoying flying creatures. Getting the most out of character advancement encourages you to play in a restrictive way.

Morrowind really shines when you're able to work past all that immerse yourself in the world anyway. Without spoiling too much, you're released from prison without much skill or equipment into a fractured society, full of political and racial tension. It's up to you to explore and navigate your way through things and the world is rich enough to (usually) support your investigation. The story leans into typical tropes about the "chosen one" and power creep in a way that makes it compatible with using a little meta-gaming knowledge and min-maxing while roleplaying. After a little artifact hunting and enchanting you're soon able to breathe underwater, levitate at will, instantly kill everything in a 50 foot radius, or jump vast distances across the continent and land gracefully. All of which would feel pretty cheesy if it weren't set on an island ruled by three individuals who have amassed enough arcane power to be called gods.

Speaking for myself personally, Morrowind is one of those games played as much in the theater of one's mind as it is on the computer screen. As others mentioned, mods help a lot to make the game more visually immersive and iron out some of its rough edges. But ultimately what appealed to me about Morrowind is weaving my own story into the setting, climbing that power curve from nearly powerless to god-like.

cjhveal··on Buildings made with fungi could live, grow, and then biodegrade
Cement production accounts for ~7-8% of all global CO2 emissions. Wikipedia cites sources which claim ~900kg of CO2 is produced for every ton of cement. It's possible that frequent rebuilding could be more emission-efficient.
cjhveal··on Tech elites leaving San Francisco threaten Silicon Valley's supremacy
I don't think that's the case. I've anecdotally heard that Stanford does take some (possibly small) amount of equity. From the first paragraph of Stanford's patent policy[0]:

> All potentially patentable inventions conceived or first reduced to practice in whole or in part by members of the faculty or staff (including student employees) of the University in the course of their University responsibilities or with more than incidental use of University resources, shall be disclosed on a timely basis to the University. Title to such inventions shall be assigned to the University, regardless of the source of funding, if any.

For an example of an institution with the kind of IP policy you're describing, the University of Waterloo in Canada has a policy[1] that by default assigns IP to creators rather than the institution:

> Except as stipulated below, it is University policy that ownership of rights in IP created in the course of teaching and research activities belong to the creator(s).

[0]: https://doresearch.stanford.edu/policies/research-policy-han... [1]: https://uwaterloo.ca/secretariat/policies-procedures-guideli...

cjhveal··on Learn difficult concepts with the ADEPT method (2014)
This is actually really good advice. I've tended to try a formal description of something first, in case the other party knows the jargon, but it's been surprising to me how quickly you can shut someone down by throwing words at them they don't understand.
cjhveal··on So you've made a mistake and it's public
As (yet another) Canadian, I've used the same phonological distinction in my close relationships with Americans to great success. It's been surprising to me how much tension is eased by disambiguating the two senses!
cjhveal··on “Cold Tube” cooling system uses half the energy of an air conditioner
Also not sure how effective this system really is, but it helped me to imagine my walls reflecting visible light as if I were in a room of mirrors and thinking about how many higher order reflections of myself would be able to reach just my pupil, multiplied by the surface area of my body.
cjhveal··on Scale-Free Vertical Tracking Microscopy, a.k.a. Gravity Machine
I'm probably just misunderstanding the physics involved, but wouldn't moving the container only impart movement on the fluid inside in proportion to the viscosity of the liquid? And once the fluid is moving wouldn't stopping it require movement in the opposite direction or waiting for friction to reduce the inertia of the fluid?

I'm thinking of the behavior of the semicircular canals of the ear, and how the inertia of the endolymph can cause dizziness after spinning for a while.

Maybe the critical part I'm missing is that the organism is actually sinking in the fluid around it and the effect of fluid current if present is minimal compared to the effect of gravity.

As an aside, the homepage for this project is quite nicely illustrated.

cjhveal··on Old salt mine is the first emission-free compressed air energy facility (2019)
Thank you for this context. I vaguely knew of the term's connection with the names of utilities, but this is some fascinating Canadian history.
cjhveal··on Practical Data Ethics
I found this video, (linked as required reading for lesson 2), really interesting:

> 21 fairness definitions and their politics

https://www.youtube.com/watch?v=jIXIuYdnyyk

It feels accessible to people with stats 101 under their belt, and pays a lot of attention to the human factors involved in these problems.

cjhveal··on Old salt mine is the first emission-free compressed air energy facility (2019)
In case anyone is curious, hydro is the general term for electrical power from a utility, at least in the part of Canada where I grew up.
cjhveal··on Cardboard theft
Probably to satisfy legal duties. Someone, landlord or municipality, has a legal obligation to ensure that waste is dealt with regularly and appropriately. If they contract with a third party, they have fulfilled that legal obligation, and even if the trash piles up, the question becomes why did the third party not fulfill the contract. If the responsible party leaves it to scavengers, they are assuming liability should the trash pile up. Ultimately, this legal service is why the "legitimate" business isn't providing the exact same service as scavengers, though I agree with you it is less efficient at waste removal.
cjhveal··on Interviewing Chandrayaan 1’s Mission Director on India’s role in the Moon race
Probably "to come upon by searching or effort" instead of "to discover by study or experiment".
Page 1 of 5Next →