HN user

mkhalil

1,102 karma

email me: me @ mkhalil dot org.

Posts28
Comments300
View on HN
www.frbservices.org 3y ago

Federal Reserve: New system for instant payments (FedNow) is now live

mkhalil
4pts1
phys.org 3y ago

A quantum radar that outperforms classical radar by 20%

mkhalil
1pts1
www.justice.gov 4y ago

Operation Brace Yourself

mkhalil
1pts0
www.youtube.com 5y ago

The whole working-from-home thing – Apple [YouTube]

mkhalil
1pts0
www.tomdispatch.com 6y ago

The Criminalization of Everyday Life (2013)

mkhalil
2pts0
www.atlasobscura.com 7y ago

The Cucumber Straightener

mkhalil
3pts0
medium.com 7y ago

Gemeni successfully secures insurance for hot wallets

mkhalil
1pts0
moek.keybase.pub 8y ago

Fixing Chrome's Invisable Checkboxes on MacOS X Mojave Beta

mkhalil
1pts0
javlaskitsystem.se 8y ago

The doctor that rocks the mouse

mkhalil
2pts0
arxiv.org 8y ago

Interstellar communication. IX. Message decontamination is impossible

mkhalil
107pts123
slashdot.org 9y ago

“Courage”: Apple releases iPod – “No wireless. Less space than a nomad. Lame.”

mkhalil
1pts0
news.ycombinator.com 9y ago

Ask HN: Simple client websites – What do you use?

mkhalil
20pts32
www.youtube.com 10y ago

Police position bodycam P.O.V to make suspect look like he was resisting

mkhalil
29pts13
www.quora.com 10y ago

How complex are the algorithms used by institutions in their trading software?

mkhalil
2pts0
www.reddit.com 10y ago

Why not hire people who like ES6 Classes?

mkhalil
2pts0
www.aljazeera.com 10y ago

3G internet is finally being allowed in the West Bank. Is it too late?

mkhalil
1pts0
www.politico.com 10y ago

The Myth of the Terrorist Mastermind

mkhalil
3pts0
en.pangu.io 10y ago

iOS 9 has already been Jailbroken

mkhalil
4pts0
www.youtube.com 11y ago

Hackernews website slower for logged in users. [video]

mkhalil
3pts3
news.ycombinator.com 11y ago

Ask HN: How do phones and tablets have such high resolutions for cheap?

mkhalil
1pts1
itunes.apple.com 11y ago

Airmail 2.0

mkhalil
1pts0
www.huffingtonpost.com 11y ago

The President Might Have Just Saved the Internet

mkhalil
3pts0
qz.com 12y ago

So much Arctic ice has melted that we need a new atlas

mkhalil
2pts0
www.youtube.com 12y ago

American held captive in Egyptian prisons leaks video

mkhalil
2pts0
pastebin.com 12y ago

This is how customer service should be

mkhalil
1pts0
www1.bankofamerica.com 12y ago

Bank of America's "Suggestion Box"

mkhalil
1pts0
news.ycombinator.com 13y ago

Ask HN: What do developers do with web mockups?

mkhalil
12pts8
www.newscientist.com 13y ago

Smart ball lets you play video games intuitively

mkhalil
1pts0

Good for you!

Some of us are professionals and like to understand our systems and how they work. I don't write assembly instructions by hand either, nor do I design CPUs much, but I want to - and likely need to - know how they work to make the best judgements.

Resetting Xbox 16 days ago

In this economy, if you're playing catchup to competitors you really can't have growth AND large profit margins. Why is that not obvious?

XBOX brought in 5 billion, and after all development costs, marketing, operating expenses, investment in research, etc., they are STILL left with 200 million dollars.

What's the problem here? Shareholder value? (as in the mythical/speculative value of MSFT, because OF COURSE they don't want/care for part of the profits/dividends)

If the money being invested in research has a good return - i.e. a great product/service is created - then you will grow.

Chopping down the employees here is a horrible move. Besides crashing employee morale into the ground, losing hard-to-replace developers/staff, it also generally gives off shitty vibes to consumers.

People will think why invest more into a failing entity? I can see people worried about the future of their "purchases" (if you can call them that these days).

This announcement so soon after XBOX had to start yelling "we are not shutting down" from the roof tops doesn't look good.

microservices / clusters / zones - really all of these are other "cell-based" architectures as well. there is absolutely no written rule that a microservice was just an API or a singular service, it basically can be a independent instance that is testable/usable/gives value on itself.

that said: still a nice write up, learning about some of the architectural choices that AMEX makes is definitely insightful (and relavent/useful to what i am working on right now as well!)

"while also working out how to make AI generated video that's impossible to detect."

what gives you that impression?

Google is spends millions of dollars researching and implementing SynthID [0]; ensuring all videos generated have a watermark to ensure they can be detected. As well as using SynthID to detect AI-generated videos, which is what I am guessing they are using @ YT to detect and label the AI videos.

I am far from a Google or AI fanboy, closer to an admiring hater, but I just don't see how they are making AI generated video impossible to detect if they are going out of the way to ensure SynthID /AI watermarks are present in any video generated on the platform.

unless you mean impossible to detect by human eyes; but if that's the case, so is everyone else. except everyone else is NOT spending resources on research for watermarking and keep the detection algorithms ahead of the curve.

> * Moving code off of GitHub doesn't change any of this: AI companies are free to download your git repo no matter where it is hosted, just like they can any other content on a publicly accessible website.

C'mon, I'm not even apart of the movement to move away from GitHub, but that's not really a valid argument. Sure, they CAN download the source code, but its not nearly as automatic. They don't get to download it all, en masse, from copying hard drives/databases they already own. They have to go over the internet. They don't get automatic notifications when new code gets pushed. And finally, if one wanted, they can make it harder for bots.

I certainly believe that these companies do get away with a lot more than the average Joe - see: Facebook downloading Anna's Archive, every pirated eBook - but that doesn't mean you have to hand it to them on a silver platter.

Plus, even if your code is private on GitHub, you can guarantee that they can't train there models on it anyway; unlike if you host it yourself, or somewhere else.

Does anyone else find it ironic when closed-source GitHub claims it's some super hero for open source?

Tax Wrapped 2025 3 months ago

yeah, the context is federally here; so from my federal income taxes which are MUCH higher than my state, sales, and property taxes combined

Not to mention, that Opus cost orders of magnitude more money. These are VERY impressive and usage.

FAANGS love to give away money to get people addicted to their platforms, and even they, the richest companies in the world, are throttling or reducing Opus usage for paying members, because even the money we pay them doesn't cover it.

Meanwhile, these are usable on local deployments! (and that's with the limited allowance our AI overlords afford us when it comes to choices for graphics cards too!)

Tax Wrapped 2025 3 months ago

So we spent more on interest for the deficit than we spent on the doubling the combined spending on all of the following:

transportation government operations natural resources community development education & social services agriculture international affairs science & space and energy

...anxiety rises.

I'm sure its happened before, but this is the first time i finally get to see some sort of modern hardware in KiCad.

Pretty cool to see all 6 layers, paste layers, and adhesive layers as well. I've always wondered how the cake was made and if big projects do/could use KiCad. Seems like a lot more work relative to those Single Layer PCBs on YouTube for things like emulators and custom PCBs. Glad I now know for sure, that I can't do this.

That's why it should be rounded for everything. No pennies should probably mean that any final transaction totals are rounded to the nearest nickel. Whether they pay with cash, credit, debit, snap, gift card, etc...

IMO, rounding for cash purchases only sounds worse than keeping the pennies.

1.5 billion used to be an absolute ridiculous number to pay for a company not long ago. AOL? 1990s AOL?

But with 5 trillion dollar companies these days that are "worth" more than the entire GDP of Germany, why not. It's not real. It's just a number on a computer at this point.

Huh? Did you read the link? Did you notice the ONE screenshot clearly shows the app has a material-ui look.

I'm going to say this because I think you might not know this, but also because I think many others might not have thought about this:

Almost always, a programming language is UI agnostic. Swift SDK for Android means: You can now write Android Apps in Swift. This doesn't magically include Apple's components / SwiftUI. When you write code for a platform, specifically an SDK for an OS, all you do is expose that platform to that language.

So, as long the SDK/bindings are there, a new "Window" means whatever a the OS thinks is a Window. A Button is what is defined (or exposed/binded to) as a Button in Android.

Swift was sorta released for Windows: a new Window looks like a generic Win32 Window. The same one you would get if you used C, C++, Rust, etc..

All your examples are GREAT examples to explain how this works: - Flutter has "Cupertino" to allow people to use Flutter to make Apple apps, and not have to learn names/methods/interface of the native Apple UI. - React Native: A LOT of work was put in to make/bind Apple native objects to a React component. And the same for Android.

So again:

The Swift SDK for Android means you can write your Android apps in Swift. The same apps you might of wrote in Java or Kotlin, you can now use Swift. Meaning whatever it looked like in Java/Kotlin (using native api's), it would look like in Swift.

The SwiftUI, Apple's component library written/exposed to Swift, is something completely different.

It *is* confusing but in actuality, it kind of works: It's a Windows Subsystem - as in the Hypervisor/VM platform - to boot a Linux VM. And, more importantly IMO, Linux distro is using this Windows Subsystem for: booting, drivers, and networking (.e.g. the "/sys/wsl" folder, and whether the Window Subsystem will generate fstab, etc..)

The "demo" is kind of bologna.

1) The code that is running is not what's presented; it executes (non-transpiled) vanilla JS.* Why not just show that?

2) Removing the box shadow massively makes the two closer in performance.

3) The page could just be one sentence: "Reflowing the layout of a page is slower than moving a single item." GPU un-related.

---

*Code that actually is running:

```js

        , u = t => {
        h && clearTimeout(h),
        l.forEach( (e, s) => {
            const {top: o, left: n} = m[r[s]];
            t ? (e.style.transform = "translate(0px, 0px)",
            e.style.opacity = "0.7",
            e.offsetHeight,
            e.style.transform = `translate(${n}px, ${o}px)`) : e.style.transform = `translate(${n}px, ${o}px)`,
            e.style.top = "",
            e.style.left = ""
        }
        ),
        t && (h = window.setTimeout( () => {
            l.forEach(e => e.style.opacity = "1")
        }
        , 500))
    }
        , d = t => {
        y && clearTimeout(y),
        l.forEach( (e, s) => {
            const {top: o, left: n} = m[r[s]];
            e.style.top = `${o}px`,
            e.style.left = `${n}px`,
            e.style.transform = "",
            t && (e.style.boxShadow = "0 14px 28px rgba(239,68,68,0.45)") // REMOVING THIS LINE = BIG DIFFERENCE
        }
        ),
        t && (y = window.setTimeout( () => {
            l.forEach(e => {
                e.style.boxShadow = "none"
            }
            )
        }
        , 500))
    }
           
```

Thank you.

Honestly, the "could of" is more of a "sometimes I write how I sound" thing, but anything else, is more of a middle of the night brain mush.

I actually re-wrote that bottom part at least twice because I had a lot to say, but didn't know how to say it concisely. As I was writing it, I kept having less and less confidence that any readers would have prior knowledge about I was writing about (ex: Plex, HDHomeRun, TiVo Edge), so I kept defining or explaining things in parenthesis and re-ordering the sentences; so at one point I just had to say, good enough, click reply

I hate lengthy/wordy comments that coulda' () been just a couple of sentences, but I also love to explain things in a way that a wide range of people can comprehend, so it's a battle at times. (this reply is a good example...reply)

I always felt TiVo really did a great job at identifying how important good UX and UI are for consumer products. Partially, the monopolies/cable companies knew/know they were able to get away with poor UI since consumers didn't really have a choice when it came to cable providers/cable boxes so it wasn't hard to beat them, but TiVo did actually do a good job.

I felt like they had consumer awareness at one point. Maybe if they went with there own premium streaming service, as oppose to only trying ad-based streaming services (like Pluto) OR continuing to try to make money charging people monthly for a subscription to use a device they first have to purchase.**

Instead they kept the old business model and went to more of a business-to-business service oriented offerings. Selling metadata, APIs, TV Guides, Car infotainment, all oddities IMO as most IPTV providers like to use turn key solutions.

I actually use the Tivo Stream 4K as my smart device. Works great, gives me 4K, can download Android TV apps, and is cheap $35.

Not a fan of ad-based TV (which is the Tivo+ thing, like Pluto, etc...), but I use it mostly for YouTube, Plex, etc.

--

*: My Plex server uses my HDHomerun for live tv; TiVo could have been both if it was more open. A TiVo competitor to Plex's Pass + Live TV service could of been there subscription revenue, and a TiVo competitor to HDHomeRun's devices could of replaced their DVR revenue. They could take the Tivo Edge, open it way up (as the HDHomeRun takes cable and give you actual m3u8's; this lets you decide where you view or record TV, and makes the device actually useful for commercial deployments as well (offices, restaurants, dorms, hotels, etc...). Pretty much: add features similar to Plex (i.e. combining my OTA/Cable recordings with my local media) + Plex's Live TV (Tivo already has the richest data and a sleeker guide) and combine the Tivo Edge CableCard and OTA in one device. This would appeal to many users, bring the hardware price down as it's one model, and provide them with both revenue streams like they are used to.

Doing Rails Wrong 10 months ago

> "Complexity is not inherent to web development"

> "Hotwire is sort of vanilla rails and it enables you to create very modern experiences with content live updating through web sockets and it is basically a one liner to setup."

My point was that web development isn't complex, but the core is simple; but modern web development is.

Your "Hotwire is sort of vanilla rails" statement is a perfect example.

What you claim to be simple, is a big list of tooling, web-sockets included, integrated together. The end result is using it might be a "one-liner", but that doesn't mean it's simple. And that's OKAY. Because simplicity should be the standard; and adding things, like sockets for live updates, should be something you explicitly enable (with modern web-apis, its definitely simpler than it used to be, but that doesn't mean its simple)

Doing Rails Wrong 10 months ago

This article has been re-written for over a decade. The so-called "complexity" is just a list of tools that each solve a specific problem.

Tooling isn't the problem: The complexity is inherent to modern web development. You see similar "hidden" complexity in other frameworks like ASP.NET, and GUI desktop frameworks as well.

If you're using Rails as an API backend with React handling the frontend, it's almost a completely different application architecture than a traditional Rails monolith. So the list of tools (Vite, React, Prettier, etc..) is almost for a completely different problem (again, unless you use Rails for FE; if you want to use Rails for Frontend, use Rails for Frontend; not a fan of the mash-up at all.)

The real issue is learning methodology: A lot of developers today start their careers with frameworks (point 4) before learning the fundamentals of the web (points 1-3).

HTML for markup.

CSS for styling.

Learning server-side logic (e.g.: <forms> can POST and can return a completely different page at the same URL) and databases for dynamic content.

Then, JavaScript for interactivity.

Embrace the tools: Each tool on the list (Vite, Tailwind, etc.) exists for a reason, and they're all necessary for a modern web application. Saying there are "too many" is an amateur take on the reality of the ecosystem.

Unpopular opinion: I think it's wild that ANY ORG would pay $200k for a chat app. If I ever ran an org that needed a chat app and the costs came even close to $200k a year, I would rather hire an engineer, contract a designer, and create our own, or more likely, contribute/fork an open source project like Matrix; providing us with the ability to *really* integrate it into our company/tools - as oppose spending it on IRC+ for "good enough" integration. PLUS ... our data stays on under our control.

Neovim Pack 11 months ago

Good catch, you are correct. I initially was going post the actual command for checking out a branch at a time:

git checkout $(git rev-list -1 --before="YYYY-MM-DD" master)

but thought I found a shortcut - which turns out is not really one, and like you said: confusing.

I can't edit my post, but in any case; the point being: it would be nice if import statements are closer to "github.com/google/uuid@YYYY-MM-DD" or in this case you can pass a date to version: "YYYY-MM-DD" and the library would run the uglier nested command above to import the proper version.

Neovim Pack 11 months ago

Every time I see a something with the ability to import code from Git, especially if they allow specifying a branch (this pack even supports commit hashes), I wish they would document (and that more people would know) that they can "checkout" a branch at a specific time; because a lot of branches (vim plugins included) don't even bother with versioning.

ex: you can use this to checkout a repo @ a specific datetime: > git checkout 'master@{2025-05-26 18:30:00}'

just doing my share to help people steer away from another leftPad disaster (or the xz apocalypse that almost was...)

Seems like it was major enough that it was the lone patch[0] in all active Apple OS's:

macOS Ventura 13.7.8 | macOS Sonoma 14.7.8 | macOS Sequoia 15.6.1

iPadOS 17.7.10 | iPadOS 18.6.2 | iOS 18.6.2

Usually, its multiple CVE's in a security update.

Examples:

- https://support.apple.com/en-us/122375 (macOS Ventura 13.7.5)

- https://support.apple.com/en-us/122718 (macOS Ventura 13.7.6)

- https://support.apple.com/en-us/124151 (macOS Ventura 13.7.7)

--------------------------- References/Sources ---------------------------

[0] https://support.apple.com/en-us/124925 -> https://support.apple.com/en-us/124929 | (124925 -> 124929)

https://support.apple.com/en-us/100100

https://nvd.nist.gov/vuln/detail/CVE-2025-43300#vulnConfigur...

I have a lot of longer term notes that are just ideas (a.k.a "genius ideas") but written in "to-do" format. I found using different solutions for different notes is the best IMO.

MS OneNote* for all longer term to-dos, or writings I wish to archive.

Paper or notepad.exe for ephemeral to-dos.

: one large synced notebook with folders, sub-folders, and w/e nested levels it offers, but I use search anyway.* *: this can totally be replicated with documents/files, folders, and a git repo. (and maybe some markdown editor)

Most (all?) open source licenses allow you to sell hosted clusters. They offered a hosted solution well before they changed its license. You can also fork it; but depending on the license, you might need to open-source any fork.

: I don't know of any open source license ones that don't allow someone to sell hosted cluster. Even AGPL, which is copyleft, allows it; so long as the hosted version is either: the same as the open-source version, or it's version is also open-sourced.

Event-sourcing solves this. And with how cheap storage is, it should be more prevalent in the industry. IMO the biggest thing holding it back is that there isn't a framework that's plug-and-play (say like Next.js is to React) that provides people with that ability.

I've been working on one in Typescript (with eventual re-writes in other langs. like Rust and Go), but it's difficult even coming up with conventions.

Did anyone read this article? The headline is misleading.

It clearly states in the first line:

"Google’s contract with Lenovo Group Ltd.’s Motorola blocked the smartphone maker from setting Perplexity AI as the default assistant on its new devices"

They didn't block Perplexity AI from Motorola's devices, the agreement states that they allow them to preload the devices with Perplexity, but the agreement, that both parties signed, does not give Motorola the permission to set it as the default.

"Motorola “can’t get out of their Google obligations and so they are unable to change the default assistant on the device.”

They signed the agreement, and now are going to courts to claim they had no choice.

I understand the premise, that they think they had no choice, but this article is misleading in its headline, and plenty of the comments here clearly show that a lot of "readers" didn't bother to read it.

My journey with NixOS is as follows: 1) great and useful for development work. (I use NixOS inside WSL) 2) but for your general Desktop environment, I'd say it's only great and useful if you find "tooling" fun/as a hobby (i.e. the type of person who keeps their dot-files updated in a git-repo [although, you won't need dot-files anymore :)]

I would say the biggest negative is that it seems the development of it is disjointed, as there are almost too many ways to do the same thing; some things are being deprecated before the documentation even keeps up with development.

--- personal notes: --- Also, some things are finicky and require some understanding to get to work (e.g. getting VSCode (on Windows) working with language analyzers and code sitting inside a WSL NixOS distro)

- I love Flakes but don't really love home-manager; I can understand home-manager being useful if your using Nix and not NixOS. - My NixOS rules pretty simple: 1) A per-project flake.nix + direnv file (or an env playground) 2) Configuring "etc/nixos/configuration.nix" for global tools like "wget, git, etc." (don't get me started with programs.<program_name>.enabled, see above for "too many ways to do the same thing")