HNHacker News
TopNewBestAskShowJobs

soul_grafitti

66 karma · joined March 28, 2013

submissionscomments
soul_grafitti··on On navigating a large codebase
The two best bits of advice I got about writing code when I started were: 1) start off by saying what you're doing and 2) the is always an 'Else'. "If you can't say in words what your method/function/class/... is doing you probably won't code it right either." Sure I'll leave if off simple stuff but it's really helps me keep focused. And when the debugger suddenly drops me into the middle of something it's a lot faster to scroll to the top to see what is supposed to be going on.

I also agree that's it's complete macho crap about not needing comments. Hell I come back to something I was working on six months ago and don't remember what I was doing. Far better to have some comments telling me than spend time looking back over more code to figure out what this piece is supposed to be doing.

soul_grafitti··on Super Wood (2018)
Around here (San Francisco) the primary use of this kind of wood is for decks. It stands up very well in the weather and it's lovely. Popular is used a lot here for this process. The color changes to a rich, dark color.

I've been wanting to get some to work with but it's special order. Apparently this process is reasonably available now as one of the mills in Marin produces it. Unfortunately decking, eg. boards 1" think or less, seem to be the only kinds available. At least at the retail level.

soul_grafitti··on CSVs: The Good, the Bad, and the Ugly
You could look at it from the perspective that the only type is text. When you do this the responsibility for managing the data type rests with the parser and not the encoder.
soul_grafitti··on CSVs: The Good, the Bad, and the Ugly
So, if all your friends jump off a cliff are you going to follow them?
soul_grafitti··on Ask HN: As a person, what can I do to improve a city?
There are a lot of good suggestions here. I will add recognizing that living in a city is about sharing.

I have lived in San Francisco for over twelve years and the most important thing I learned or realized is that living in a city is about sharing. I have to share with the other folks here. Walking and driving are two obvious examples. But we also share an aural space. Certainly with my neighbors but more generally too. I share the backyard with my building neighbors. I share the city services. We share the air we breath as you notice instantly walking near someone smoking. Outside of my home there is very little I can do without interaction with others around me. This is true generally but in a densely populated space, like a city, you can't avoid it. It's just the way it is.

The requirement that we share doesn't mean that everyone does so gracefully or respectfully. Myself included. Nonetheless I propose this is a fundamental personal step that contributes to better cities.

soul_grafitti··on Helsinki Relocation Package: City as a Service
Do you live and work in America?
soul_grafitti··on SpaceX begins public beta testing of Starlink constellation at $99 a month
No mention of the upload speed. If it's symmetrical this is not bad. If it's <30 mbps - I guess it's still better than nothing.
soul_grafitti··on D3 6.0
I am a fan of D3 and Mike but I also agree with the point - it's not at all simple to take the examples from Observable and implement them in a non-Observable page.

Or maybe it is simple but it's not intuitive unless you are familiar with Observable. So perhaps the solution is to have a page that describes how to move the examples from Observable to an HTML page? eg. where to put the scripts and where to put the HTML.

soul_grafitti··on The FBI considers FaceApp to be a potential counterintelligence threat [pdf]
No. He is representative of a self-aggrandizing moron.
soul_grafitti··on Nation's only Civil War pensioner collects $73 a month from VA (2017)
I agree. Lots of us have ancestors who were involved with slavery in the US. For me it's at least one great great grand father who held twenty plus enslaved people in South Carolina. His son was drafted into the CSA at 16 in the final months of the war. His son, my grandfather, was a big influence on my life until I was 21. The gggrandfather lost a lot after the war and was bitter and resentful for the rest of his life. His son, born into privilege and wealth, grew up poor, lived an honest, meager life and died a horrible death as the result of a steam boiler explosion. I didn't learn these things from my grandfather. I learned them when I did my own research into these people and uncovered their stories.

I have not lived in the South for fifty years, have no accent, consider myself unbiased by race and extremely progressive politically. Yet, as I found and verified these traces of my personal history, I could feel a certain resonance between them and aspects of myself. Not particularly admirable aspects, but present nonetheless. Like a tendency to resent others who seem to have things given to them when I have always worked. Or a deep anger that (very) occasionally leaps out in disproportionate response to slight things. Like I say, not admirable, but there. I am not suggesting they were 'caused' by ancestral experiences. But I do think they are consistent with them.

And what was I to do with the knowledge my ancestors were slave holders? What happens to a person to make it OK for them to engage in such a hideous thing in the first place? Next was what am I supposed to do? It is extremely uncomfortable to sit with these things. I can not imagine the emotions I would feel sitting with knowledge that my ancestors were enslaved. For myself I decided I could acknowledge the truths my family never talked about. I could look at my own patterns of denial and identify the traces of them wrapped up in racist rhetoric. And when folks are having discussions about slavery being something in the so distant past I can point out that my personal connection to it is not all that distant.

I offer this bit of personal history to support the OP - the civil war was not that long ago. The repercussions and the sentiments of it are still with us and passed on intentionally or not. They are the sort of thing that turns into a background hum against which systematic inequality seems correct and harmonizes with the rhetoric of nationalism and racism.

The original story illustrates that we are still paying, metaphorically and actually, for the civil war.

soul_grafitti··on A Kid Spent 9 Years Building a Detailed Paper Model of a Boeing Jet (2017)
I wonder how he got access to the plans that have this level of detail?
soul_grafitti··on An Eve Online corporation has been hit with a GDPR request from an ex-member
> TheSpiceIsLife > I'm not software expert by any means, but couldn't the deletion script also do a search for quoted text, at least sufficient to comply with the reasonable steps language of the legislation?

Devil meet details

soul_grafitti··on Ten Years' Worth of Learning About Pricing
"Business is about more than extracting the most you can."

Um - no. Certainly not once a company is publicly owned or where the focus of the board of directors shifts from focusing on how to be the best company doing whatever we are doing to maximizing "value" for the shareholders. Once the focus is on the shareholders instead of the core business that core business starts to be talked about as a commodity and its value is its cash flow not how good it is at the business it is in. cf: Virgin America.

Regarding the issues with Wells Fargo it may be some stay "because the competitors are just as bad" but may also simply indicate how entrenched the services Wells provided are to the company. Things like credit card processing, loans (which you can't just switch easily), lockbox services and so on. I know from personal experience there's no problem with the folks having to interact with the bank referring to them in highly negative terms all the while that interaction takes place.

"Unhappy customers is bad for business." Really? That's why Comcast is having such a hard time? Why it's facing so much opposition to the micro monopolies it creates and perpetuates? No one likes Comcast. OK, that's a bit broad. I do not personally know anyone who likes Comcast and I know a lot of folks, including myself personally and professionally, who have been and are customers.

They use the 3 tarrif pricing model BTW: you pay the monthly fee for your basket of services which include some amount of unit transactions and an overage when you bust your limit.

I like a pod cast called "Make me smart". The folks who run it have a question they like to ask at the end of interviews: "What's the one thing you thought you knew and found out you were wrong?" I'm 63 and started my first restaurant when I was 21 and my second when I was 23. I thought if I worked as hard as I could, was fair with the people I dealt with, produced the best product I possibly could while keeping costs in check and charged a fair price everything would be OK. I was wrong. For better or worse I held on to my ideals instead of adapting to the realities of business.

It looks to me like the focus of being in business has shifted from business as a way to be better/bigger/faster at whatever the bussiness does to simply being a means to establish a cash flow and sell to a larger business. I don't know if that's inherently good or bad but it certainly looks and sounds like the new normal.

So, from what I see, business has indeed become about extracting the most you can as fast as you can from as many as you can.

soul_grafitti··on Ask HN: Why isn't there a modern MS Access clone?
4th Dimension (4D): http://www.4d.com

Started as a Mac only RDB in the '80s. Now runs on Mac and Win, as a single user, from a server, or can be compiled as a standalone app. Rich development environment, includes web server, PHP, SQL and a lot more. There is a small but vibrant community of developers but is accessible to anyone with some technical experience.

soul_grafitti··on Automata by Example – build cellular automata just by clicking around
Me too. Interesting how many ways you can get to Sierpinski-ish geometry.
soul_grafitti··on FAA Admits Names and Home Addresses in Drone Registry Will Be Publicly Available
Use Chrome and open link in an Incognito window.
soul_grafitti··on Comcast customer discovers huge mistake in company’s data cap meter
I don't have Comacast so I can't look it up right now but I bet Comcast contracts include a binding arbitration clause that prevents exactly that.
soul_grafitti··on Actual entropy of a passphrase
Hmm - so this was posted about 3 hrs ago by the author of the blog and now the post is unavailable and the blog has no other posts.
soul_grafitti··on How a mathematician constructed a decision tree to solve a medical problem
Pretty cool. I beat it with 'Jane Whitefield' and was only the second person to play 'Jim Chee' (24 questions). I think it's a learning program since it asked me to choose the answer when it lost.
← PreviousPage 2 of 2