HNHacker News
TopNewBestAskShowJobs

cwisecarver

503 karma · joined March 24, 2008

[ my public key: https://keybase.io/cwisecarver; my proof: https://keybase.io/cwisecarver/sigs/dPhjaLFKbjowhxEk5RfJElVyxhXDgU8CO0FNhk6S9aQ ]
submissionscomments
cwisecarver··on US closely monitoring case of lab worker who possibly died of plague in Siberia
I took the time to share it because I like the show and they often report on subjects that cause them to be demonetized or hidden by the algorithm.
cwisecarver··on US closely monitoring case of lab worker who possibly died of plague in Siberia
She was interviewed on Breaking Points today https://www.youtube.com/watch?v=NvVRnh3JVGQ&list=PLdOud06Yw7...
cwisecarver··on Matt Mullenweg tells Automattic staff in Slack he's back in control after ouster
Relevant: Kumail Nanjiani learns about Automattic https://www.youtube.com/watch?v=BHcrispG_rc
cwisecarver··on Neki – Sharded Postgres
He's actually quite nice over zoom so he just comes off as funny on twitter once you've met him.
cwisecarver··on Apple Leasing Program
They’re only doing this so people can afford Mac Studio/Pro with tons of RAM.
cwisecarver··on Use singular nouns for database table names
An old boss of mine used to say "Consistent is better than better" and it's always stuck with me.
cwisecarver··on The FBI's lab leak investigation
Pretty sure the article is from vanity fair
cwisecarver··on What's special about Erlang and Elixir?
The community around Elixir and Erlang is also one of its best features. Everyone I've interacted with, like Jose, is kind and helpful.
cwisecarver··on Ask HN: What happened to server-side rendering?
I don't know of any off the top of my head or a quick google search. I do know, from the latest ElixirTalk podcast, that it's very careful about what it sends over the wire, only the parts that have changed. If you're interacting with an API to get the same information for a SPA you're probably going to have similar latencies.
cwisecarver··on Ask HN: What happened to server-side rendering?
Obligatory plug for Phoenix LiveView: https://github.com/phoenixframework/phoenix_live_view

edit: This actually has examples https://dockyard.com/blog/2018/12/12/phoenix-liveview-intera...

cwisecarver··on [dead]
Buying research data from a third-party academic and using it for campaign purposes is not the same thing as a campaign creating an app and then using the available data.
cwisecarver··on Google Shopping now returns no results for searches containing “gun”
Hooray! Now just search for firearms and get the same results.
cwisecarver··on My next laptop isn't gonna be a Mac
Headline: refers to a laptop

Article: several hundred words about an architecture that is not currently available in a laptop form factor and probably never will be.

cwisecarver··on Microsoft Announces Windows 10 Pro for Workstations
Macs don't reboot without you taking an action if you have automatic update installation disabled. You have to click a button to apply the updates after which it will reboot. But it tells you this in the dialog where you agree to apply the updates. Windows just applies them and reboots when you're not actively using the machine.
cwisecarver··on OpenBSD on the Huawei MateBook X
Is anyone else concerned about buying a laptop from a Chinese manufacturer?

I own a number of MacBooks and while they were all assembled in China I don't have any concerns about the firmware. As more of these make it to US markets I'm sure if there is something it will come out but I'm currently taking a wait and see approach.

cwisecarver··on #c0ffee is the color
Mine is #BADA55; which is very nearby.
cwisecarver··on Apple Gives the MacBook and MacBook Pros a Kaby Lake Refresh
Store just updated. Still on 16GB of RAM.
cwisecarver··on NAD+ could regulate aging, may explain rejuvenation
It does boost production of NDA+ though, right?
cwisecarver··on NAD+ could regulate aging, may explain rejuvenation
Related: https://www.elysiumhealth.com

I've been taking this for about 6 months. Haven't noticed much other than better sleep, easier to wake upon time feeling refreshed.

cwisecarver··on Workspaces for Mac 1.0
You might want to try tmuxinator (https://github.com/tmuxinator/tmuxinator).
cwisecarver··on Kim Dotcom claims insider Seth Rich was involved in the DNC leak
Normally when immunity is exchanged there is a proffer so that the attorneys know what they're getting in exchange. They'd pull it if it was b.s.
cwisecarver··on Tips for Building High-Quality Django Apps at Scale
I replied to someone else who asked. https://news.ycombinator.com/item?id=14361539
cwisecarver··on Tips for Building High-Quality Django Apps at Scale
- FK/M2M across reusable, packaged apps is only bad if you don't match the interfaces correctly. See: almost every third-party Django app that is built to integrate with another application's models.

- Sometimes you want the app concept just for organization. There's nothing bad about that and it makes sharing things inside of a project easier.

- Explicitly naming your database tables doesn't make any sense. You're using an ORM. Accept it or don't use it.

- Explicitly declaring through on a m2m field if you're not adding metadata to the relationship is pointless, but, if you're not using the table naming from Django I could see why they'd be invisible because there's no pattern to follow.

- GenericForeignKeys are dangerous but not for any of the reasons listed. It's because they implicitly force a two way join which seems magic until it becomes debilitatingly slow.

- The entire section on migrations leads me to believe that the first time the migrations are being run is on a production deploy. If you don't know SQL and you don't test your migrations prior to deployment, yes, it will be fairly difficult to determine what kind of performance/locking they're going to have.

- No to Fat Models? This breaks down to "The framework we chose to use suggests a pattern, we also chose not to follow that pattern." That's fine if you want to do that but I wouldn't suggest it to others.

- It's not hard to get signals to not fire in certain circumstances, you put the conditional in the signal callback like almost every other event-driven pattern. Also, bulk updating models doesn't fire signals in Django because save isn't called. Read the documentation.

- Avoid using the ORM? Why choose a framework as complete as Django where 80% of the features are built around or on top of the ORM and then don't use it?

- Caching complex objects makes cache invalidation hard. Well, yes, yes it does.

cwisecarver··on Tips for Building High-Quality Django Apps at Scale
I've got more than 5 years of experience with Django on a number of teams and at a couple of companies and in my experience almost everything in this article is completely incorrect.

The only things I would agree with is the point about project layout and avoiding django's squashmigrations for the truncate the migrations table, delete the migrations, and create a new initial migration.

Practically everything else in this article is wrong, in my opinion.

cwisecarver··on CockroachDB 1.0
Sorry dang. I know your job is hard enough.
cwisecarver··on A Lap Around Python in Visual Studio 2017
What ever happened to IronPython running on the CLR?
cwisecarver··on CockroachDB 1.0
Cue the comments stating that no one will use this because the name is bad.
cwisecarver··on The FCC plan to undo its net neutrality rules
I live in a rural area in the mid-atlantic US. My choices for internet are 10mbit DSL from CenturyLink or LTE (with bandwidth caps). I've only lived here for a year but my previous two homes have had at least two options for 100mbit+ internet, FiOS and Comcast, and LTE.

Comcast serves across the street from my house and told me it would be $76k out of my pocket to get service here. For < 1mi run of fiber.

I'm 100% in favor of making ISPs common carriers and making it unlawful for them to track their customers' habits. I've worked for two ISPs in my career. They should be happy with the business of providing internet to customers and compete on delivering better, faster, and more reliable service not on selling their customers' information or eyeballs to the highest bidder.

cwisecarver··on Ask HN: Best budget Linux laptop for a developer?
I bought an x230 from Lenovo's outlet about 2 years ago. i5 with 4gb of ram and a 500 gb sata drive. I threw in an m2 SSD and 16gb of ram and it's great. I'll eventually replace the 500 gb sata drive with an SSD but for now it's fine and the total cost was probably $600. Has to be close to half of that now.
cwisecarver··on Apple Store MacBook “We've got something special in store”
Except it's not going to be back for almost two hours...
Page 1 of 6Next →