HNHacker News
TopNewBestAskShowJobs

typedef_struct

72 karma · joined October 22, 2014

https://umfer.us
submissionscomments
typedef_struct··on Show HN: Automatic deduction of FlashAttention kernel from ~25 lines of SQL
SQL is the most perfect language
typedef_struct··on "I'm on a war footing": Terry Tao and the crisis in math
TLDR: "I didn't understand this proof and there is no one to explain it to me"
typedef_struct··on Alan Kay on "Should web browsers have stuck to being document viewers?"
In 1997, the Justice Department decided that Operating Systems and Web Browsers must remain separate. Since then, the Web Browser has been becoming an Operating System.
typedef_struct··on US repeals EPA endangerment finding for greenhouse gases
You mean CO2 is not the same as CFCs?
typedef_struct··on $20K Bounty Offered for Optimizing Rust Code in Rav1d AV1 Decoder
Confirms Rust is about where I thought it was. In a strange niche where you don’t need 100% the performance of C, but the 90% you get from a managed language isn’t enough. And you can’t run on the GPU.
typedef_struct··on The FTC puts off enforcing its 'click-to-cancel' rule
How about 'click-to-bill'. If I don't touch your service you can't charge me.
typedef_struct··on Plain Vanilla Web
Some good patterns here. An Event with a callback (what you're calling [context protocol](https://github.com/webcomponents-cg/community-protocols/blob...)) I think will prove useful.

My main gripe with web components is that while they expose the first half of the tree traversal (from the outside in, via connectedCallback), they don't provide access to the second half, after child elements have been created. (akin to Initialize and Load events from ye olde .NET)

typedef_struct··on Why can't HTML alone do includes?
You could start with something like this:

    customElements.define('html-import', class extends HTMLElement {
        connectedCallback() {
            const href = this.getAttribute('href')
            const fetch = new XMLHttpRequest()
            fetch.responseType = 'document'
            fetch.addEventListener('readystatechange', (function onfetch(e) {
                if (fetch.readyState !== XMLHttpRequest.DONE) return
                const document = fetch.response.querySelector('body') ?? fetch.response
                this.replaceWith(document)
            }).bind(this))
            fetch.open('GET', href)
            fetch.send()
        }
    })
typedef_struct··on Amazon Rules Out Displaying Tariff Impact After White House Attack
Amazon does not have this information, nor would a competitive seller wish to provider it. Who my suppliers are and what they charge? So what, Amazon can better decide whether to enter my market?
typedef_struct··on Direct Sockets API in Chrome 131
This looks to use Web Sockets, not WebRTC, right? I don't see any RTCPeerConnection, and the peerServer variable is unused.

I ask because I've spent multiple days trying to get a viable non-local WebRTC connection going with no luck.

view-source:https://thelongestyard.link/q3a-demo/?server=Seveja

typedef_struct··on TSMC execs allegedly dismissed OpenAI CEO Sam Altman as 'podcasting bro'
My test is to take a sized chunk of memory containing a TrueType/OpenType font and output a map of glyphs to curves. Bot is nowhere close.
typedef_struct··on Pipe Syntax in SQL
You can tell the authors realized this was a bad idea when they had to add the 'OVER' keyword, which isn't documented and hardly mentioned in the paper.
typedef_struct··on Author-paid publication fees corrupt science and should be abandoned
Oh science. Peer review, the ultimate "LGTM", stands in for replication.
typedef_struct··on Photino: A lighter Electron
You can't build a "for-real native desktop app" without building half of a browser anyway. Can't use a font without FreeType or HarfBuzz, can't use a secure socket without OpenSSL. Can't afford to redraw the entire screen each frame, so you need a DOM of some kind to cache rendered boxes. The OS doesn't do anything it didn't do 20 years ago. Stack's a mess rn. imo
typedef_struct··on Intel stock dropping toward 50 year low amid restructuring news
So glad we poured 8.5 billion into this sinking ship. Thanks Joe. https://www.whitehouse.gov/briefing-room/statements-releases...
typedef_struct··on Myths about platform engineering: what it is and what it isn't
I read this and learned nothing.

If your idea is to 'save' developers from becoming experts in devops best practices, I think you're going the wrong way.

typedef_struct··on New Joint Bicameral Staff Report Reveals Big Oil's Campaign of Climate Denial
link to original source [pdf]: https://insideclimatenews.org/wp-content/uploads/2015/09/198...
typedef_struct··on Google Cuts Jobs in Engineering and Other Divisions
I usually think actors, writers, athletes, doctors, lawyers.
typedef_struct··on PostgREST: Providing HTML Content Using Htmx
For comparison, MSSQL has been able to provide query results in XML for quite some time. I've found it useful in a couple of situations. See https://learn.microsoft.com/en-us/sql/relational-databases/x...
typedef_struct··on I think C++ is still a desirable coding platform compared to Rust
If openssl and skia would switch [to cmake], we'd be on our way.
typedef_struct··on Private equity is devouring the U.S. economy
Working as intended
typedef_struct··on The mortgage market is so bad lenders want ex-employees to give back bonuses
What is a mortgage banker? Is it a program?
typedef_struct··on Ask HN: What's the market value of FDIC insurance?
"The Federal government will not allow depositors at too-big-to-fail banks such as Bank of America, Citigroup, and JPMorgan to lose money."

Alternatively, the Federal government provides a free-of-charge insurance product to banks who then drop ship it to me for profit.

typedef_struct··on How to Sell a War to the American People [video]
War's easy to sell here. Say "these are the bad guys" and we'll say "oh thank God, I was starting to worry it was us."
typedef_struct··on How many people have ever lived on Earth?
Most of them
typedef_struct··on A header-only C implementation of C++ <algorithm>
You're hired
typedef_struct··on DARPA’s silent MHD magnetic drives for replacing naval propellers
"Captain, they've escaped." "How?" "Drove into freshwater"
typedef_struct··on Using ultrasound attack to disarm a smart-home system
Phreaking is back?
typedef_struct··on Musk, experts urge pause on training AI systems more powerful than GPT-4
Yes yes. Let us catch up please.
typedef_struct··on Apple watches keep making unnecessary 911 calls
I own an iPhone 14 and I'm vaguely worried it'll satcall an ambulance and bill me a few thousand if I drop it wrong.
Page 1 of 3Next →