HNHacker News
TopNewBestAskShowJobs

chris37879

414 karma · joined April 11, 2018

submissionscomments
chris37879··on Google: Turn off VoLTE, Wi-Fi calling: severe Exynos modem vulnerabilities
If your goal is to reduce your attack surface, then yes, even a modem without a SIM is too much.

The modem in your phone isn't like a modem from the days of dialup, it's more like a cable modem. More often than not, the modem is its own entire microprocessor, ram, i/o, etc and then communicates with the device's CPU over a mixture of serial, i2c, spi, or other busses. For instance, in my Pinephone, the modem is a Qualcomm MDM9607, which is a single core arm cpu that has 256mb of ram and 256mb of nand on its package, it literally runs its own entire operating system (linux in its case) separate from what the CPU of the phone does.

This CPU can also have its own connection to the battery, which is how, for example, iPhones can remain 'findable' even when the phone's CPU is otherwise powered off and at rest. The modem sips at the little remaining power in the battery to power itself and the GPS chip to report the devices location.

As for 'removing the sim' that doesn't prevent the device from connecting to a network, just authenticating with it, typically. Your sim card is just a standard identifier and a little bit of storage that the modem can read and write to for things like storing contacts and SMS messages. All of which can be done in software as well (known as an eSIM these days).

Edit: Here's a link to the wiki page on the Pinephone's modem, just to give you an idea of what a cell phone's modem can be capable of, and keep in mind, it uses a rather old, outdated, and unpopular modem, other modems may have more features: https://wiki.pine64.org/wiki/PineModems

chris37879··on AMD Grabs over 30% CPU Market Share as Intel Continues to Decline
The Steamdeck's APU (and others using the same tech) are becoming more common, not sure if those count as 'desktop' or 'console' though...
chris37879··on No Start Menu for You
I use Moom, it gives me basically perfect snapping and keyboard controls
chris37879··on Chris Seaton has died
I didn't know of the man, but after a quick google search I know his work. My condolences.
chris37879··on clipboard | sort | clipboard
pbcopy and pbpaste are what turned me on to this use case. pbcopy ~/.ssh/id_rsa.pub is so handy.
chris37879··on The road to Dart 3: A fully sound, null safe language
Yup, Dart itself is an ok language (and has improved dramatically in the time I've used it), but the tooling around Dart and Flutter are what make me stay. It's all fairly standard, but complete, and it basically always just works, and the handful of times it doesn't, it's when I've known I'm doing something odd.

The community has lots of great, well built packages, and the Dart and Flutter teams are also quite responsive to the community, and helpful when an issue does arise. I've spent several threads going back and forth with maintainers trying to figure out a bug, and I'm happy to say that every single time we've found a solution.

chris37879··on Convert SimCity 2000 cities into Minecraft worlds
Or Unity, their flavor of C# discouraged properties for a long time, it does support them now, though.
chris37879··on Convert SimCity 2000 cities into Minecraft worlds
Looks like the GUI uses WinForms, which means you won't be able to build it on linux, I would wager. You may, however, be able to run an already built version of it through Wine.
chris37879··on What’s so great about functional programming anyway?
Exactly this. I realized that a lot of how I use objects fits in nicely with FP patterns, but when I started looking into FP "best practices" the number of times the best practice is "Replicate this exact behavior from a 'more functional' language, even though your language has idioms for that" is astounding. I decided I'll just keep programming without side effects, if that's what FP is.
chris37879··on "I'm getting tired of arguing with kernel maintainers."
People bitch about the Android kernel and its lack of upstreaming because we get stuck with perfectly serviceable devices that are dangerous to use because they don't get updates 3 years after we bought them. Forking a project with your only intent being to get something to market is a bad idea, see the current effort Google is having to put into getting Android back to the mainline kernel, and they're still years away from actually succeeding.
chris37879··on Ask HN: Why isn't Dart more popular?
Except they do. Google Pay / Wallet is built in Flutter, and so was Stadia. It's a bit nonsensical to think that they'd rewrite every existing app they have in Flutter, even if it is their own toolkit. Google doesn't believe Flutter is the be all, end all in app development. But it is certainly the best cross platform app toolkit out there. But guess what, Gmail and their other apps don't use a cross platform framework, so the statements "Swift UI makes it easier to brand your iOS app" and "Flutter is a great cross platform app framework" aren't mutually exclusive, hell Flutter can even use SwiftUI views as part of it's Widget hierarchy via PlatformViews.

This post comes across as yet another person that's never actually investigated a tool casting aspersions on it because of what they hear online.

chris37879··on Ask HN: Why isn't Dart more popular?
If you liked dart back then, you absolutely should check it out again today. It's improved greatly and easily has the best developer experience of any language I've ever used. Not to mention one of the most rapidly improving.

Non-null by default was a massive change for Dart in terms of perf, and modern dart is quite a different (by very pleasant) beast than dart 1.x.

chris37879··on Accelerated forgetting of a trauma event after a single dose of hydrocortisone
Also, "The Body Remembers" volumes 1 and 2.
chris37879··on Cloud desktops aren't as good as you'd think
30 vs 45 fps on my steam deck feels night and day different, it's amazing how much small jumps like that can help.
chris37879··on The Zoom installer let a researcher hack his way to root access on macOS
There is a web api for this:

https://developer.mozilla.org/en-US/docs/Web/API/Screen_Capt...

There is also a proper macOS API for this, which they are skirting using by using this hack.

chris37879··on Xbox Cloud throttles performance if user agent is Linux
I mean, Microsoft should know that the browser's user agent is untrustworthy and should be using feature detection. They did do this on purpose, and it's a bad practice in the web industry.
chris37879··on BootBASIC Interpreter in 512 Bytes
> This also means that if your internal SSD is hosed, so is your Mac. Enjoy!

Yup, cause the flash controller is on the SoC, the actual hard drive is just flash chips.

chris37879··on CVS Will Stop Filling Controlled-Substance Prescriptions for Cerebral and Done
There's gotta be a balance though. This is basically fucking me out of being able to be on my meds, which dramatically improves my quality of life. Finding a new doctor to treat my ADHD is nearly impossible. I've done and continue to do therapy, so I have tools that help, but my medication is my mind. Without it, tools only work for so long, with it it, I rarely even need the tools I've built in therapy.

But because of these 'crackdowns', it's becoming impossible to find any provider that will prescribe them, and nothing else has worked for me. I don't know what to do, because once I can't get my meds anymore, I'll likely fall back into months or years of 'putting off' getting back on them.

chris37879··on Memory Safety for SerenityOS
You took the words out of my mouth. I'm very curious to see where this language goes. It's a big project, but so is an OS, and they're doing just fine there. Even if SerenityOS or Jakt are never a household name, they're remarkably valuable in terms of seeing how people would do this, the things they think of, and how this community interacts and grows their project. SerenityOS is just as valuable socially as it is computationally.
chris37879··on EU law will force Apple to blow open its entire hardware and software stack
Yup, and Apple already showed their hand with that too. The new M1s have a complex, but open, boot process. There's already a tailor made linux distro that can boot on the M1s, so it's not like it's not technically possible to maintain the device's security while allowing it.
chris37879··on Some Millennials and Gen Z don't see the point in saving for the future
Our future is fucked. There isn't a point to it. We don't make enough money to develop meaningful savings, so many people in my generation (Millenials) just don't see the damn point. We won't ever have a house, so where are we supposed to live during retirement? None of the retirement options available to us are designed for people that don't own a home, so fuck it. I'd rather have a decent life now before the planet goes to shit and my country strips my right to marry. The future is later me's problem, and worst case scenario, to quote the eternal George Carlin: "Eh, guess I'll just die."
chris37879··on Everything you ever wanted to know about terminals
I can think of a use case or 2. Thermal printers (for those wanting old timey unix line printing interfaces) or e-ink displays in console mode.
chris37879··on Apple Maps location scan spikes WiFi latency every 60 seconds
For extra fun, if while it's sleeping it's connected to a Display Port or USB-C display, it'll wake it up everytime it wakes the wifi for its 'power naps'. Disabling them in System Prefs doesn't change this.
chris37879··on Microsoft – 'send a check or money order for $5.00'
So many things don't come with them anymore... I actually had to go _buy_ one the other day. It felt wrong.
chris37879··on My Unholy Battle with a Rock64
Checkout Tow-Boot, it's not 100% there yet, but I'm using it to EFI boot nixos on a pinephone, granted it's the Alwinner one, not the rockchip one, but still.
chris37879··on Tailscale Authentication for Nginx
Every time Tailscale drops a new feature, I rejoice for my use of it, and lament my corporate VPN's uselessness...

Good job Tailscale!

chris37879··on Stress hormone reduces altruistic behavior in empathetic people
Which is why the goal isn't to make everyone rich. It's to end poverty. Those aren't the same thing, exactly. Think like, Star Trek. They have ended poverty, but it's not by making everyone wealthy.
chris37879··on Zq: An easier and faster alternative to jq
I need someone to make a `Q` wrapper that amalgamates all of them. And if that's already taken by a common utility, I vote we name it deLancie, instead.
chris37879··on Zq: An easier and faster alternative to jq
This exactly. I think JQ's problem in this regard is further compounded because its query language just doesn't feel like anything else most people have used, I've certainly never come across anything quite like it, anyway.
chris37879··on Infinite Mac
There is! netatalk on linux is the package you need for that, and it's still built in to BSD, I believe. now weather that package still speaks the older versions of the protocol, who can say. Interestingly, a challenge you would have with this because this emulator is web based, your networking options would be fairly limited, even if you could emulate netatalk, the browser's security features would preclude you accessing hosts than the server it's on, it's the same reason Fabrice Bellard didn't add networking to his jslinux project.
← PreviousPage 3 of 7Next →