Hacker Newsnew | past | comments | ask | show | jobs | submit | more throwawaywindev's commentslogin

After 15 years I realized that all the code I’ve ever written is nothing fancier than a clumsily wired breadboard. I’m transitioning to engineering management as I get way more out of coaching, planning, and product management, and it’s a lot more challenging and rewarding.

I can still scratch the coding itch by writing scripts or utilities or visualizations. Writing something for just me or five people is just as satisfying as writing something for a billion people.


“ Second, running in a browser makes the top of your user acquisition funnel wider, because all it costs to try your platform is a click.”

While often cited, I don’t think that’s as much of an advantage anymore in the age of app stores, Steam, game streaming, and downloadable games on consoles, where all it costs is a tap or two.


Sure, when your target audience knows how to install Steam it's not, but when you're Roblox, your target audience is about 10 years old


How do you get yourself in front of a 10 year old? Both my kids played way more Steam games when they were 10 than they did rando web games.


You make your 10 year old's friends make your 10 year old feel bad / FOMO that they are not playing your game, until they beg their parents to help them install it on their device, or they just do it themselves if they have access.


Those look like phishing for answers to account security questions.


Probably could have made most of the event handlers separate methods rather than lambdas. That would have made the UI structure easier to read. I don’t know Swift or SwiftUI though.


Yeah you would never want to write Swift code professionally like this (at least where I work we don’t). I believe the developer of this said this was intentional (each file encapsulates an entire “app”).

A lot of this would be broken out into it’s own file (e.g. extensions on basic types like Arrays would go in Array+Extensions.swift). Each view would go in its own file. You would break out code into separate functions instead of inlining it inside closures in the view body.

SwiftUI (though not usually Swift in general) does have a problem with over-indentation IMO. You barely have to go more than 3 levels deep in the view hierarchy you are producing before your code feels like more white space than code.


Efficiency is not always a good thing. We’re not machines and we shouldn’t aspire to some Wall-E existence where we do nothing but consume without any inconvenience.


You know what’s even better UX? Light switches. The Hue dimmer switches are great.

The most value I get out of them being “smart” is that I can program a double tap of the “off” button to turn off all lights in the house, or multiple taps of the “on” button to cycle between scenes.


Yeah, exactly. I have lots of "smart" stuff in my house, and it's almost totally controlled either with light switches or automatically. Controlling from a phone is possible, but rarely used because it's not convenient compared to pressing a button on the wall or literally doing nothing.

In my case, most of my house is Insteon switches and keypads, though most I've added in the last couple years is LED/RGB stuff (with tasmota).

There's a keypad in the kitchen, with buttons "bright", "dim" and "off" that do expected things. It takes a second to press as you walk by, and visitors figure it out in 5 seconds.

There's some automations hidden though: at night, the lights automatically turn off. If nothing is on at dusk, some automatically turn on, the exact config depending on if the home is "occupied" or not (based on motion and control presses). There's some RGB lights on top of the cabinets that pick a random color when you press the buttons. "Off" actually leaves those on (dim) before midnight, though you can double-press for actual off.

All this stuff is largely hidden, but you notice if it's missing (eg: we never come home to a dark house). To me is the point of "home automation" or "smart home" (whatever we're calling it this decade), that all the phone-based and control-from-internet stuff totally misses.

My office is one exception right now. Since the pandemic I changed the lighting to all RGBW bulbs and strips, and have a circadian program running (changes color temp and brightness slowly over the day) which is awesome. I currently control it with either the home assistant app or voice; it's ok but noticeably inconvenient compared to a switch (I just haven't got around to fixing that yet).

I definitely would not remove physical controls from the wall in each room, and if you have that, I'm not really sure what you need a floorplan view for. It looks neat, don't get me wrong, but I just don't see the practical need.


Only because housing cost usually isn’t included in the definition of inflation for some crazy reason. Housing costs are out of control.


Housing costs is included, I'm not sure where you got the impression it wasn't. And considering you thought its exclusion was "crazy," why didn't hearing that fact prompt you to investigate?

https://www.bls.gov/cpi/questions-and-answers.htm#Question_1...

https://www.bls.gov/opub/hom/cpi/calculation.htm#estimation-...


It’s not really about trust for me, it’s an employer requirement to have Bitlocker turned on.


It looks like Microsoft released an update on September 24, 2019 that defaults new drives to use software encryption instead (I'm guessing it uses AES-NI under the hood if available):

> Changes the default setting for BitLocker when encrypting a self-encrypting hard drive. Now, the default is to use software encryption for newly encrypted drives. For existing drives, the type of encryption will not change.

Source: https://support.microsoft.com/en-us/topic/september-24-2019-...


And last I looked into this, nvme doesn’t support edrive encryption. And it doesn’t really matter very much any more with all of the encryption accelerators in modern cpus. Someone please correct me on either account if I’m wrong!


Damn, wish I knew this before I returned the WD for a Samsung 980 Pro. I just checked and hardware encryption isn’t even turned on and I would have to wipe to enable it :(


You can make breakpoints that just print stuff (at least in Visual Studio)


I went from an X to a 12 Pro and love it for the camera upgrade. I’m trying to force myself to take more video/live photos than stills, and the 12 Pro’s HDR video is a major improvement so far.

I’m considering getting rid of my Nikon Z6 since I rarely actually use it due to the size and weight. Its still image quality is still noticeably better than the phone, especially with my Nikon f1.8 50 mm lens, but the iPhone wins for video and Live Photo’s.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: