Hacker News new | past | comments | ask | show | jobs | submit | typedef_struct's comments login

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


Web sockets are only used for WebRTC connection establishment. The code that creates the RTCPeerConnection is part of the Emscripten-generated JavaScript bundle. I'm using a library called HumbleNet to emulate Berkeley sockets over WebRTC.

The code is here: https://github.com/jdarpinian/ioq3 and here: https://github.com/jdarpinian/HumbleNet. For example, here is the file where the RTCPeerConnection is created: https://github.com/jdarpinian/HumbleNet/blob/master/src/humb...

I feel your pain. WebRTC is extremely difficult to use.


Check out Trystero[1], it makes WebRTC super simple to develop with.

[1] https://github.com/dmotz/trystero


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.


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.


ZetaSQL’s docs for the ‘OVER’ keyword you mention: https://github.com/google/zetasql/blob/master/docs/window-fu...

I disagree that the paper not mentioning ‘OVER’ implies that the paper authors secretly think pipe syntax is a bad idea. They probably just wanted to keep the paper concise, or forgot about that one less-used bit of syntax.

Do you think that ‘OVER’ keyword implies something fundamentally wrong about pipe syntax? If so, how?



Oh science. Peer review, the ultimate "LGTM", stands in for replication.


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


No, I'm pretty sure OSes provide text rendering, SSL, and some analog of MVC.


Thankfully, JavaFX does all of that (fonts, SSL, scene graph), but it's an unpopular option.

Yea, it's not native, but its more the native dev experience, and its actually quite portable.


So glad we poured 8.5 billion into this sinking ship. Thanks Joe. https://www.whitehouse.gov/briefing-room/statements-releases...


It’s money well spent. I don’t see anyone crying when China subsidizes industries “well thought out”, when the US does it “throwing money in the fire”, it can’t be both, and it isn’t. Companies can come back when given resources.


What's the alternative, let the Chinese get ahead, them buy chips with backdoors from them? Or maybe let Taiwan do it and then get invaded? It was the right decision.


I would've preferred the gov't handing Intel a check and expecting, in return,

1) ownership stake of Intel, including governance, for xx years

2) stock buyback ban

3) stock dividend ban

4) golden parachute ban

5) far more public disclosures of progress, setbacks, and other problems

If Intel—who's spent BILLIONS on buybacks—can't find enough money from the debt or equity or private markets, then, yes, serious strings should be required.

Currently, CHIPS only receives some profit sharing and that's it.

There were way too many alternative ways to implement this and we're paying the price of picking a "winner" that is massively cocky and arrogant with abysmal results. Major mistake and unlikely to deliver because it got wads of cash with very few serious strings attached.

Just exposed yesterday:

>The company is permanently grounding the Intel Air Shuttle, which flies workers between its major sites in Hillsboro, Silicon Valley and Arizona.

>The company stopped the flights last year then resumed flying in April. The shuttle was especially prized by Oregon employees, who sought to avoid the 30-mile drive across the metro area to Portland International Airport.

>The decision to permanently ground the shuttle, just five months after reinstating it, suggests that Intel executives didn’t recognize the severity of their financial situation until very recently.


That’s well and good for Intel, why would TSMC agree to any of those terms? You’re forgetting that CHIPS wasn’t just hand outs for Intel, but to bring other fabs to the US.


If you pour taxes on it, you should at least get a % of the stock


I definitely agree with this. They could be sold back later to go back into the treasury


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.


I know someone who works sales at a heroku clone who has this same mindset.

“Save devs from devops”



I usually think actors, writers, athletes, doctors, lawyers.


Maybe it's a marketing issues.

Actors and other have "Guilds", lawyers have a "Bar"...

(sure the other two you mentioned have unions but...)


100% Agreed, and if we can combine that with some apprenticeships and minimum quifications for membership, I'm all in.

Just name it like something you'd find from DnD.


Then it's settled, it's gonna be Software Engineering Bestiary.


Except in real medieval Europe, guilds and apprenticeships were not about thieves and wizards, but instead smiths, carpenters and bricklayers.


Well, any sufficiently advanced technology is indistinguishable from magic... and at the time this was as advanced as you get!


At the time, arguably some of the most advanced technology was the Gothic Cathedral. However, it was seen as Divine, not Magical.


What unions do doctors and lawyers belong to? Never hear of unions for these professions in the US.


https://en.wikipedia.org/wiki/American_Bar_Association - For Lawyers. A bit like for Doctors, they get themselves involved in the accreditation process of education facilities and then by extension the State Bar organizations.


AMA is the union for doctors


The AMA is not a collective bargaining association, just a professional organization. When doctors unionize, they become part of other unions: https://www.nytimes.com/2023/10/13/business/economy/doctors-...


And teachers.


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...


PostgreSQL has supported XML [1] for a while too. With that, even SOAP endpoints are possible: https://postgrest.org/en/stable/how-tos/create-soap-endpoint...

[1]: https://www.postgresql.org/docs/current/functions-xml.html


Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: