HNHacker News
TopNewBestAskShowJobs

zshift

126 karma · joined July 26, 2016

[ my public key: https://keybase.io/zshift; my proof: https://keybase.io/zshift/sigs/ELYZxklLs6rc7146zvFj63UmGdyvtsAWGEe6wNrOVaM ]
submissionscomments
zshift··on Apple Silicon Macs can't boot from external drive if internal drive failed
The only issues I’ve run into with older laptops are limited wifi speed/range, the inability to decode HD video streams efficiently, and battery life, which is mostly solved by a new battery, though efficiency isn’t always great with older devices.
zshift··on Atlassian fired me while I was taking care of my wife who is fighting cancer
I don’t understand why the author didn’t take medical leave. That’s exactly what this is for. You get reduced pay while on leave, though you can work with the company to see if they can fulfill a portion of that. My current employer covers 30%, while short-term covers 60%. 90% pay to be able to completely disconnect from work for several months is absolutely worth it.

It does sound like communication with the manager was poor, though. The manager should have been more empathetic to their situation (depends heavily on how comfortable the employee was with giving out this information).

zshift··on Show HN: Heroku Alternative for Python/Django apps
Dark has exactly that, https://www.darklang.com
zshift··on Man can change his pupil size on command
This was the first thing that came to mind. They show the children controlling their pupils. https://youtu.be/YIKm3Pq9U8M
zshift··on Apple proposes adding "model" element to HTML that displays 3D content
There are many developers, especially those just getting into the field, that don’t understand how to work with WebGL. WebGL is a great fallback if you need/want more control, but having basic support for 3D elements is a great idea for someone that just wants to show it off.
zshift··on Silent changes to Western Digital’s budget SSD may lower speeds by up to 50%
Or playing for hundreds of hours per unlock
zshift··on Google have declared Droidscript is malware
> Applications could be exposing intents they assume will be used by trustworthy applications (i.e. apps in the Play Store).

This is a poor assumption to make. Any data coming into your application should be assumed to be malicious. This would be the same as a server just accepting any data made to its API calls without any validation.

zshift··on OctoPrint
OctoPrint only has a single main developer. They also spend a lot of time triaging bugs (https://github.com/OctoPrint/OctoPrint/issues). I'm sure they'd appreciate any help they can get.
zshift··on Biden to sign order to build 'China-free' tech supply chain
It should be clear by now that China is a single-point-of-failure for many industries globally. This is a step in the right direction, and I hope other countries follow suit.
zshift··on Thinking too much can be bad for you (2012)
My modern physics professor did this for all our assignments. He didn’t want to rush students to fill out answers, so he made the questions very hard. We had to really understand the mechanics in order to answer the questions. I retained so much more by learning this way when compared to wrote memorization, and it was fun having discussions with other students to help each other understand the concepts.
zshift··on Pidgin – A Universal Chat Client
I had a real Obi Wan Kenobi moment when I saw this at the top of hackernews.
zshift··on New MacBook Pro models to feature magsafe, no touch bar and more ports: analyst
Wirelessly charging a laptop would waste so much energy. I really hope this isn’t what they’re planning.
zshift··on JWT (JSON Web Token) debugger
I’ve been using this for debugging tokens in my shell. It’s convenient when using curl or httpie to just grab the auth header and pipe it. https://github.com/mike-engel/jwt-cli
zshift··on Woman who designed Florida's Covid-19 dashboard removed from her position
As a Floridian, I feel defeated. Most people here don’t follow politics, nor would they care enough to make a stand and protest or call for action. Even if they had the drive, a large majority of residents don’t have the luxury of taking days off of work to do this, especially in the current events. Unless mainstream media, especially Fox around here, makes a statement about this, it’s unlikely anything will happen as a result of this.
zshift··on Google inserts links to its Duo video chat app when users text about Zoom
I’m still feeling the pain from that. They built the best (for my use case) RSS reader, then completely shut it down. I wish companies would sometimes consider transitioning projects into the public space for the greater good. Look at what Microsoft has done with VSCode and the community editions.
zshift··on Declarative assembly of web applications from pre-defined concepts
> If the thing you’re trying to build doesn’t fit with our framework, you probably have a design flaw!

Yes and no. Whenever we move to a higher level of abstraction, we (almost?) always lose control. Even in C, there are some behaviors that require coding in assembly to squeeze out every last bit of performance, or using `unsafe` in various languages to break out of a managed environment. In both of these cases, they are code smells. Is it possible you have a valid reason for writing assembly by hand? Absolutely. But you better have a good reason for doing so, because it sacrifices readability.

The same applies to these “drag-and-drop” feature builders. The key is adding in hooks to create custom behavior easily. For Deja Vu, this is by creating your own concepts.

I think the biggest issue here is the target audience. We haven’t found a large enough group of people that enjoys working at this level of abstraction to help grow the community. Anecdotally, developers I know tend stick to their level of abstraction. C devs hate JS and vice-versa, arguing over control vs simplicity.

zshift··on Tesla Cybertruck
As a car guy, this is an amazing truck. Dual-motor can easily tow track car and all necessary gear. Built-in compressor means you can use air-tools on the go without a generator. Maybe even fit a quick jack in the trunk or trailer. AND it drives itself to the track. Never need to bring spare batteries for tools. It’s insane that it can do this, and likely win every drag race against street cars. All while blasting the Bladerunner theme on max volume.
zshift··on Copyright Troll May Have Set an Expensive Precedent for Copyright Trolls
This is not the comment page you’re looking for. https://news.ycombinator.com/item?id=21513310
zshift··on SQLite is easy to compile
I ran into this last week with golang. I’m used to building statically-linked executables, and forgot to set `CGO_ENABLED=0` to force this when compiling. I was doing a multi-stage docker build from `golang:1.13` and copying the final executable to `alpine:3.10`, only to see `shell: main: file not found`. `ls` and just about everything else showed it there. It wasn’t until I rabbit holed into dynamically-linked go executables that it started to make any sense at all. A simple message of `main: linked '/lib64/...' not found` would have saved me hours.
zshift··on Ask HN: How do I ask for a raise?
I've been subscribed to this weekly email newsletter for about 2 years now. https://fearlesssalarynegotiation.com/

The tips I learned helped me plan a negotiation strategy during a new job offer. it's not perfect, but it helped remove a lot of doubt from the process.

zshift··on Show HN: Stuff – An Alternative to Facebook Events
It's working now, though the flow is a little weird. I created the account on my desktop, but didn't have my personal email setup there, so I activated on my iPad. That activated my account, but it's missing any relevant info. Eg, instead of "Hi Peter, thanks for activating!" it just says, "Hi , thanks for activating!". I also can't login from my iPad. Tapping on "Log in" does nothing, won't even bring up the side bar. It works if I open an incognito tab, though. For reference, using the latest Chrome app on the iPad.
zshift··on Show HN: Stuff – An Alternative to Facebook Events
I'm unable to create an account. Tried on both Chrome and Firefox. Here's the console error from chrome when I click on "Create Profile"

``` generic.js?id=8ab332005e9019c3db72:1 Uncaught TypeError: Cannot read property 'checked' of null at hn.createUser (generic.js?id=8ab332005e9019c3db72:1) at submit (eval at Ea (generic.js?id=8ab332005e9019c3db72:1), <anonymous>:3:4149) at t (generic.js?id=8ab332005e9019c3db72:1) at HTMLFormElement.Fr.t._withTask.i._withTask (generic.js?id=8ab332005e9019c3db72:1) ```

zshift··on Damn Cool Algorithms: Log structured storage (2009)
Check out the videos and articles by Greg Young on the topic. This one's a good start https://www.youtube.com/watch?v=8JKjvY4etTY