HNHacker News
TopNewBestAskShowJobs

6a74

588 karma · joined April 29, 2020

submissionscomments
6a74··on Integers in C quiz
Neat quiz. Reminds me that the absolute value of INT_MIN in C (and many other languages) is undefined, but will generally still return a negative value. This is a "gotcha" that a lot of people are unaware of.

> abs(-2147483648) = -2147483648

6a74··on DuckDuckGo's daily search queries surpassed 100M, a 47% increase
We have them in Texas too. I’ve seen several in Austin and even one in Brownsville, a smaller city close to the Mexico border.
6a74··on Kinesis Advantage 360
Yes, but with a few small hiccups [1][2]. I was lucky enough to order one, two minutes before it was supposed to drop.

[1] https://twitter.com/kinesisergo/status/1472969186561249281?s...

[2] https://www.reddit.com/r/kinesisadvantage/comments/rkoywv/ho...

6a74··on Apple’s privacy changes hurt Snap and Facebook but benefited Google
As if you don't do it yourself. Just a few of your recent comments:

> I just bought a 1600 sq ft home and it's honestly too small cause... [0]

> I got expelled from high school because of this program. I'm a millionaire now though so shrug. [1]

> I recently switched from rolling my own table to SQS. [2]

> I love how this article blatantly lies in the title when... [3]

> I used to do dishes, drive thru, kitchen, and floors at a Chic-Fil-A [4]

> I noticed after having both for years that FiOS doesn't care at all... [5]

[0] https://news.ycombinator.com/item?id=28939110

[1] https://news.ycombinator.com/item?id=28901775

[2] https://news.ycombinator.com/item?id=27482459

[3] https://news.ycombinator.com/item?id=27475020

[4] https://news.ycombinator.com/item?id=27418894

[5] https://news.ycombinator.com/item?id=27408216

6a74··on Apple’s new M1 Pro and M1 Max processors
While not that big of difference, the 14" is a little cheaper:

* The 14" MBP with M1 Max 10-core CPU, 24-core GPU, 32gb memory is $2,900

* The 14" MBP with M1 Max 10-core CPU, 32-core GPU, 32gb memory is $3,100.

The Mac mini with the Max variant chip will certainly be more than $1,000. But I expect it will be more reasonable than the MBPs, maybe $2,100 for the 32-core GPU version with 32gb of memory. That's how much the currently available Intel 6-core i7 Mac mini with 32gb of memory and 1TB of storage costs.

6a74··on Rivian R1T: First Drive in the Electric Pickup
Sorry. Yoke.
6a74··on Rivian R1T: First Drive in the Electric Pickup
Well you obviously don’t own a new Tesla Model S. The yolk steering wheel has capacitive buttons for signals and the horn [0].

[0] https://thegreencarguy.com/wp-content/uploads/2021/01/GCG_Te...

6a74··on The journey to controlling external monitors on M1 Macs
That $99 price is for the Sketch program. The creator (Alin) just wanted a subscription model similar to it. The pro version of Lunar is $23 for a year of updates and support.
6a74··on The journey to controlling external monitors on M1 Macs
alin23 is the creator of Lunar and the author of this blog post. I'm just a fan of the program.
6a74··on SafeDollar ‘stablecoin’ drops to $0 following DeFi exploit on Polygon
So what type of exploit is this? Is this a problem with smart contracts? Could this be a problem for other cryptocurrencies with smart contracts, like Ethereum?
6a74··on Global electric vehicles sales grew 41% in 2020
I’m in the same boat. I’ve been wanting a new (electric) car for a while but it’s so hard to pull the trigger when my old Toyota gets me from point A to B. Recently, I’ve been thinking all of the new safety features might be worth getting a new car before my current one is finished.
6a74··on Personal Finance for Engineers
Stumbled upon this course a while back. I think some of the folks here could find the slides useful. While intended for engineers, I think it could be useful for other professions as well.
6a74··on Show HN: Vmctl/Vmcli – Easily Run Linux VMs on M1 Macs
Wow. This is fantastic. I had no idea Virtualization.framework was a thing. I've installed and tested vmctl/vmcli out on my M1 MacBook Air. Your instructions worked like a charm.

Edit: I don't see the option to list running VMs though. I was hoping to check that powering off the VM worked. The inability to ping the VM tells me it is off, but if I didn't have the IP, I don't know how I would check this.

6a74··on Hyundai buys Boston Dynamics for nearly $1B
Makes sense. South Korea, where Hyundai is based, has by far the most robots per manufacturing employee [1]. They will make good use of the technology.

[1] https://specials-images.forbesimg.com/imageserve/5f719cf9f44...

6a74··on Permanent suspension of @realDonaldTrump
Finally!
6a74··on U.S. Capitol Locked Down Amid Escalating Protests
What do these protestors hope to accomplish?
6a74··on John Jones's Dollar
> Transcriber's Note: This etext was produced from Amazing Stories April 1956 and was first published in Amazing Stories April 1927. Extensive research did not uncover any evidence that the U.S. copyright on this publication was renewed. Minor spelling and typographical errors have been corrected without note.
6a74··on The Ultimate MacBook+PC Monitor Showdown
In macOS there are side effects of scaling though, notably "blurry pixels," "shimmering," and increased GPU usage.
6a74··on The Ultimate MacBook+PC Monitor Showdown
It does not [1].

[1] https://apple.stackexchange.com/a/406865

6a74··on The Ultimate MacBook+PC Monitor Showdown
Here's [1] an article on why 1440p at 27" might be better.

[1] https://bjango.com/articles/macexternaldisplays/

6a74··on The Ultimate MacBook+PC Monitor Showdown
IMO, the best MacBook monitor is the LG 38WN95CW ultrawide monitor [1].

Pros:

* Larger 38" screen

* 90w charging

* Thunderbolt 3 (like USB-C but better)

* 144hz refresh rate

* 1ms response rate

And current generation MacBooks only support one external monitor, so two 27" 1440p monitors should not be recommended. And there are methods to having more monitors, but they require additional hardware and do not always work well.

Cons:

* Hard to acquire (out-of-stock everywhere)

* Very expensive ($1,500+)

* Cannot natively control brightness & sound via keyboard like other LG monitors, but software [2] can add this feature. Though, this is currently broken for all M1 Macs.

* Does not support True Tone

Read a review [3] for more information.

[1] https://www.lg.com/us/monitors/lg-38wn95c-w-ultrawide-monito...

[2] https://github.com/MonitorControl/MonitorControl/issues/323

[3] https://www.rtings.com/monitor/reviews/lg/38wn95c-w

6a74··on Exactly-Once Initialization in Asynchronous Python
Neat. I was going to ask for a source saying that `dict.setdefault` is atomic, but I found it myself:

Ticket: https://bugs.python.org/issue13521

Patch: https://hg.python.org/cpython/rev/90572ccda12c

6a74··on The growing short case on Facebook and Google
I agree that Twitter is the wrong medium for essays. Not that it's a great fix, but Twitter threads can be consolidated with Thread reader, which makes them much easier to read. For example, this article:

https://threadreaderapp.com/thread/1281630456807452677.html

6a74··on Ubuntu 20.04 LTS’ snap obsession has snapped me off of it
There was a thread on HN about disabling Snaps last week. I found the process pretty straight-forward.

https://news.ycombinator.com/item?id=22972661