HNHacker News
TopNewBestAskShowJobs

bpyne

1,237 karma · joined November 14, 2008

loves: family enjoyments: software development, drumming, martial arts, cooking
submissionscomments
bpyne··on Americans, it turns out, would rather visit a store than buy food online
I had the same thought about delivery-only stores. Honestly, I'm in support of it. I hate driving. But grocery stores are not up to the task right now with order and delivery systems.
bpyne··on Americans, it turns out, would rather visit a store than buy food online
We had grocery delivery for 5 years pre-pandemic. When the pandemic started we tried to continue grocery delivery. However, we found several key issues.

1. A large number of people decided to move to home delivery. We couldn't get a delivery slot for weeks.

2. I was able to get a delivery once. We had to submit the order the night before. Then I had to wake up early the next morning and continually hit refresh on the delivery scheduling page until a slot opened up, probably due to someone canceling. However, 40% of the items we ordered were no longer available. When we go to the grocery store the items are there. For some reason, they show as out when ordering online.

We gave up 6 weeks ago. People who were willing to put up with scheduling weeks in advance and not receiving important parts of their order are finally giving up.

It's not really a preference. Our grocery stores are not setup to handle the volume. Fortunately, we're moving into farmers' market season so we can avoid larger stores to some degree.

bpyne··on A lot of “idiotic” things have reasonable explanations (2011)
Interesting. I wonder who thought to add this test into the contract. It's a simple but brilliant strategy.
bpyne··on Tech workers consider escaping Silicon Valley’s sky-high rents
I'd love to know their children's ages. My experience is that people with kids under 12 have a very hard time working with the kids around. The kids just need more help. My daughter is 14. She goes into the room we setup for her each day, does her school work, attends Hangouts her teachers setup, and then entertains herself when her school day finishes. At lunch, we're able to eat as a family and go for a walk so working from home with her around is a pleasant experience.

An important factor is that my team works from home regularly so, when offices shut down, we were already setup for 100% remote work. People who haven't had time to really setup may have been overwhelmed for a bit.

bpyne··on Tech workers consider escaping Silicon Valley’s sky-high rents
People with younger kids are probably having a hard time balancing work with kids' needs. My 14yo is absolutely independent with distance learning. In the 6 weeks or so that she started it, she needed help less than 10 times.

You can't imagine the relief from just being able to throw in a load of laundry mid-morning, take the dog for a walk at lunch, and starting a meal immediately after work. Working from home is a major stress reliever for family people. My wife and I are also saving quite a bit from not driving our cars, not going out for coffees or lunches, etc.

When we're not in the middle of a pandemic and kids are at school, camps, etc., working from home is a major boon for family people.

bpyne··on Twitter Will Allow Employees to Work at Home Forever
Our organization has been working remotely for nearly 2 months. Last week I received an organization-wide email that we'll start to transition back to the office in mid-June. Chances are that my team will be one of the last brought back but I still felt sick about it.

My organization operates culturally at the pace of an insurance company. Despite the benefits of a semi-remote organization to my employer and the opportunity this pandemic provided for proof that productivity can remain high when working remotely, it will choose to have people on-site.

Now I'm searching for remote-only work.

[EDIT: Added "sick" in the last sentence of the first paragraph.]

bpyne··on America’s ‘Fried Chicken War’
The best I've eaten was from a stand at a Dominican Republic heritage festival in Providence, RI sometime between 1989-1991. A little, old, Dominican woman cooked the chicken. It was loaded with flavor including some spice.

Recently I picked up friend chicken from a small restaurant in Providence, RI called North. It was their take on chicken karaage. It was crispy but tender and was spiced with something mildly hot. It's my new favorite.

I prefer sticking with the small places. They're not afraid to spice to local tastes rather than spice for the median person in the US.

bpyne··on Ask HN: Do you ever go back and admire a piece of code you wrote?
Yes! Some code reflects what the requirements demand, including error handling, and no more. The design is elegant in that it abstracts properly, is very readable and extensible. Periodically, when I'm feeling down about my abilities, I look over this code and smile.

Often I look at my older code and recognize the stage of development as a coder that I was in. It's usually not cringe-worthy but it makes me pensive about how I would handle it now.

Another joy is when I find out that a module I wrote is being used extensively by other developers. Just recently I found out that a small, single-purpose function I wrote for my specific needs and deployed to our shared library, is fundamental to another team. They asked me about modifying it for requirements they have. The code itself wasn't beautiful but it filled a need and could be understood well-enough to modify by another. It made me happy all day.

And yes, other creative pursuits give me the same joy. Some practice sessions on my drums seem effortless. My ideas seem to flow regardless of the technical difficulty. Likewise, some dinners I make are chef-level tasty and get the desired "yummmm" from my wife and daughter.

Keep a memory of the times when your code makes you smile. Those memories pull you through the down times.

bpyne··on Ask HN: Is your company sticking to on-premise servers? Why?
My employer is a mid-sized university. Cost is the main issue.

Our environment is a mixture of in-house developed apps and COTS. Until recently, our major COTS vendors didn't have cloud solutions. Now they have cloud solutions but they're far too costly for us to afford. So we need to keep them in-house and continue to employ the staff to support it.

Our in-house apps integrate the COTS systems. Our newer apps are mostly in the cloud. But the older ones are in technologies that need to stay where the database server is, which is in our server room for the reason stated in the last paragraph. Rewriting the apps isn't on our radar due to new work coming in.

Historically, outsource vs. in-source seems to ebb and flow. The clear path is usually muddied when new technologies come out to reduce cost on one side or the other.

bpyne··on Why does writing matter in remote work?
Unfortunately, it's not as common to have meeting scribes as it once was. If a project manager exists for the project, then (s)he takes them. Absent a project manager, people take notes individually, which is not ideal.
bpyne··on The 2020 iPhone SE
Thanks for the reply. I tested with my wife's phone. It fit pretty well so I went for the iPhone 11. It came yesterday and I love it, not the least because I can type easier.
bpyne··on Why Segment Went Back to a Monolith
The takeaway is about trade-offs. They made a rational decision to improve fault isolation by dividing the app into smaller building blocks managed separately. After working with it for a while, they realized the higher operational overhead made the architecture a bad choice for them. So they went back to a monolith architecture and tried to do fault isolation within the boundaries of that architecture, which might have made fault isolation not as good as in the micro-services architecture but it was acceptable.

It's incredibly tough to know the full effect of a trade-off on your organization until you start going down that path.

We're early in the process of adopting a micro-service architecture. With only a handful of services so far, I can already see how a team of two is going to spend a lot more time with operational issues and debugging.

bpyne··on The 2020 iPhone SE
Currently I have an iPhone 6. I considered going to an iPhone 11 in the next few months until the iPhone SE was announced.

I like that the SE can fit in my pocket as easily as my current phone. The price is also attractive, although I tend to keep phones until they become too slow and battery life becomes an issue.

However, I'm frustrated constantly by typing on it. Just typing a couple of sentences in a text message can take minutes. (I'm a 60 wpm touch typist on a standard keyboard.) It's become so bad that I'm moving back to a laptop for most communication. My phone is coming close to a read-only device.

Is the 11's size enough help for typing that it's worth the price?

If so, does it fit in your pocket, i.e. how do you keep it on you?

bpyne··on Things I wished more developers knew about databases
I think you're onto something with the observation about what type of developers take to SQL. We have a spectrum in which people think more like how the processor operates to people who think more in classes of problems and their solutions.

We run into problems when someone with a proclivity to one side meets a problem best solved by thinking on the other side of the spectrum. An example is a young dev in my organization who was given requirements for a new app that required a data store. Not being comfortable with SQL or relational databases, he chose a document store. It wasn't a good fit. Very quickly requirements expanded and caused his code to balloon into a mess of nested loops with lots of if-checks. Performance has progressively decayed as well. A simple multi-table join with filtering would have knocked off 2/3 of the code.

bpyne··on Half of American workers would rather work from home forever: poll
You have a higher need for social stimulation than some people.

My productivity has gone up measurably. In normal times, I get plenty of social stimulation outside work so I don't need any from work.

While I think many organizations will retain remote work for some percentage of their workforce when the crisis is over I don't think we're about to have a revolution. The generations in charge came of age with face-to-face being the way people got things done. They aren't going to change.

bpyne··on A crash course in compilers (2018)
Yes, it's possible. You'll reach diminishing returns in the language value much quicker without some background in types and semantics. But that point might come long after you achieved your goal. So, have at it and enjoy exploring.
bpyne··on Cognitive Biases in Software Development
I don't find that to be the case. I'm usually looking for bigger things like: 1. making multiple trips to a relational database when a single statement joining tables can make it one trip; 2. not handling exceptions that can cause data loss or data corruption.

(I'm not trying to be exhaustive. The examples above are common ones I've seen regularly and they make me cringe.)

I don't need to know the variable names used in these cases. The very act of not using a relational database properly or not handling exceptions is easy to spot.

bpyne··on Cognitive Biases in Software Development
So many good lessons for newer developers and good reminders for more experienced ones. It was due to the Bike Shedding Effect that I came to not appreciate code reviews. Every review seemed to break down into discussions of variable and method names. I tried several times to create "off topic" rules like no discussion of variable names, etc. It didn't work...ever.

Now that I've been away from mandated code reviews for quite a while I can understand why reviewers go to the trivial. Firstly, "code reviews" are really "system reviews". It's difficult reviewing a project whose requirements you don't know with a design that came about through iterative design and possibly in a language you don't use.

My current team is small and split into an integration group (mine) of two people and a UX group of two people. My group partner and I look over each other's projects and stay up on the requirements as the project progresses. But it's completely informal. Yet it seems to work better than having a group of 2, 3, X number of randomly chosen developers from my department.

bpyne··on The Joy of Coding: Observable
"I also wonder how software "artists" should be different from other artists. For example, in music, there are great teams of artists, like Lennon/McCartney"

Yes, in music, composers do work together although I wouldn't make a general rule about it. Writers tend to be solitary. They reach out to people when they're researching something for a story. But outlining, thinking through story lines, and the actual typing part are solitary. From interviews with writers, I get the impression that a good editor is indispensable for developing a story though.

Likewise, painters and sculptors in my acquaintance work alone.

bpyne··on Chris Lattner to Lead SiFive Platform Engineering Team
His credentials put him in high demand. Due to this, he has the luxury of changing jobs in order to find his fit. Jumping can dampen the demand at some point, but it hasn't for now.

I wouldn't read anything else into it.

bpyne··on Over a Third of Americans Battle Job Burnout Every Single Week
I feel burnt out regularly. Earlier in my career I loved reading about software development, both research and practice. But my job isn't particularly stressful. At some points, I feel stress at work, often due to a lack of control over the work environment and vision of the leadership. But they don't push me to work a lot of hours. We're encouraged to use our PTO.

I think the issue, in American culture, is bigger than just employers and career choices. My wife and I discuss this subject often. The problem is that we are a two career couple who are raising a child in a culture that hasn't, and may never, adapt to not having one parent at home. Our society isn't setup for it. Vital services, like healthcare or simply furnace maintenance before Winter, require a person home from 9am-5pm. Doing so requires either working remotely or a promise to make up the time when you get back to the office.

I'm not sure what the answer is. Maybe working remotely will help. Maybe we need to postpone careers until kids are raised like my parents' generation did. (My wife is far better suited to a career. I would gladly volunteer to be at home if we didn't need both pays.)

bpyne··on Driverless cars are stuck in a jam
Don't forget registration and inspection every 2 years (could be more or less depending on the place you live).
bpyne··on Driverless cars are stuck in a jam
Do you park for free on the street?

When we visit Brooklyn we usually get free street parking.

bpyne··on Driverless cars are stuck in a jam
I'm not sure he meant "no longer drive" literally or if he meant that the number of drivers has curtailed enough that the problems autonomous vehicles were created to solve are no longer problems.

As you described, clearly there are good cases for driving. Cities are not one of them.

bpyne··on Driverless cars are stuck in a jam
Also depends on the availability of sidewalks. Some suburbs are designed without them.
bpyne··on Driverless cars are stuck in a jam
And why is that?
bpyne··on Driverless cars are stuck in a jam
"Live in the city and want to go hiking 20 miles away?"

Yes, you want to use a car in this case. But, in the life I imagine, I would rent a car. I dislike driving intensely, but I can see use-cases in which cars are necessary. However, Americans have been largely forced into car ownership, despite the expense and hassle of owning one. A reduction in car ownership coupled with more pedestrian-friendly community designs is more my goal than making cars extinct. I would like my household to go from two to one vehicle.

bpyne··on Steve Wozniak: 'I've given up' on Level 5
Having little to no responsibility for long periods of time would result in a driver filling the time with other activities, like phone conversations. A frightening number of cabbies blabber on the phone already. It's doubtful their reaction time to take control would be quick enough.

We should be looking at occupations that require people being alert but not engaged for a glimpse into drivers' behavior.

bpyne··on Why Isn't Functional Programming the Norm? [video]
I think we need to get past the point of believing in some FP revolution in which enlightenment happens and people suddenly switch to Haskell, OCaml, Clojure, etc. FP is happening in a more evolutionary way with newer languages like Kotlin, Scala, F#, etc. taking ideas from Haskell, SML, and Lisp.

I'm not pretending to be the first to state this observation but I feel like it needs reinforcement here.

bpyne··on Why Isn't Functional Programming the Norm? [video]
I had a programming languages survey class in college. The thrust of the course was different languages for different applications. It's not startling that the person, whose comment you quoted, doesn't find the functional paradigm helpful in graphics programming. Functional programming helps with expressiveness and reasoning, i.e. variables don't suddenly change on you when you're not expecting it.

A video game programmer would probably not be helped because a big part of their coding, as I understand it, is wringing out every clock cycle and byte of memory possible. However, the programmer writing the AR/AP system that allows tracking for in-game purchases would find OCaml, for instance, very beneficial.

← PreviousPage 3 of 18Next →