Hacker Newsnew | past | comments | ask | show | jobs | submit | nox100's commentslogin

I'm surprised pjmip is missing the point here. Or maybe I am

> Instead of sending streams of bytes to render text, it sends streams of encoded X Windows commands to draw the UI.

(Simplified) VSCode is sending no bytes to a server when you're editing a file. The entire file exists on the client, you can edit all you want and everything stays on the client. Only when you pick "save" is a data sent to the server.

My understanding with X Windows is as you mentioned above, you press a key, that key it sent app on another machine, that other machine sends back rendering commands. Correct? Vs VSCode, you press a key, nothing is sent remotely

Note: There's more to VSCode, while it doesn't have to send keystrokes and it is effectively editing the file locally (so fast). It does send changes asynchronously to the remote machine to run things like the Language Server Protocol stuff and asychronously sending the results back. But, you don't have to wait for that info to continue to edit.


No, you are correct. On any sort of low bandwidth or high latency connection, your remote X experience will be terrible.


It's not hard to believe that we could make self replicating drones in the next 100 years that go from system to system, make a few more, and continue. We've already sent drones out of our solar system. They don't have to go fast. They'd still visit every system in the known universe in a "relatively" small amount of time. (relative to the age of the known universe).


I'm curious. My previous soft was from Ikea. Of course Ikea makes cheap disposable furniture but this sofa, IMO, was not one of those. It was made of real wood, not particle board. It was super well designed. It assembled into 4 parts using slots and a few very large steal bolts and was also easy to disassemble for moving. It's entire cover was easy to remove so you could clean stains or easily replace it. Same for the cushions. And it was comfortable. It was under $1000 (note: I know Ikea redesigns things so the same soft today might not be as good as that same model from 2016)

Moving overseas I had to buy a new sofa in 2021. Middle of COVID, Ikea didn't have any I couldn't wait. The sofa I ended up with is the cheapest shit sofa I've ever owned. The materials are clearly inferior. No part of it is cleanable. The cushions are one sided so can not flip them in 4 directions, they only fit one way. I got tired of looking and settled on these though, expecting to replace them.

Anyway, my point was (a) I understand your POV but also (b) there are possibly some good under $1000 sofas. I've had similar luck with a few Ikea dining room tables that were solid wood, not particle board.


Ikea has some good stuff and some cheap stuff. Their thing is that even their cheap stuff _looks_ good and fits with the look of more expensive ones.

Our current dining room table is from Ikea. 100% birch. It'll outlast us all, it cost about 30% of a similar boutique one. The chairs are plastic/wood composite from Ikea, cheap AF but still fit perfectly with the table.


Let me also add, in many other categories, I've rarely found a correlation between price, brand, and quality.

Worst luggage I ever owned was Rimowa. It was the most expensive I've bought and broke several times. They'd fix it, but who wants to spend their vacation taking their luggage to the repair shop (and lugging it full from the airport to the hotel while it's broke)

Worst and most expensive jacket I ever bought, Paul Smith, got a hole in the main pocket within 30 days and the hanging hook in the collar broke in 2 weeks.

Worst jeans I ever bought, Diesel. Ripped in 1 month.


>Worst jeans I ever bought, Diesel. Ripped in 1 month.

Isn't that supposed to be a feature on that brand?


Both those brands are exactly that - brands - where a lot of the cost of the product is recycled right back into advertising to convince you that the brands are actually worth the prices they charge.

When buying clothing, it's worthwhile to spend a little bit of time learning what makes quality clothing and what doesn't. That's very helpful in avoiding over-branded garbage being sold for far more than it cost to make in a sweatshop.


Weird, Rimowa is one of the best suitcases I've ever owned. I've never had any other suitcase roll so smoothly. The exterior shell has some marks and whatnot (mostly due to careless handling), but the overall product is excellent...


the smart way to do it is to name an exit like Exit B5 or A12. The signs in the station, and Google Maps, will generally tell how to get to a specific exit. Or probably better would be a famous landmarks tho there aren't many to pick from in Shinjuku. A common one used to be "in front of the Alta building on the east exit" another still is "in front of the police station just outside the east exit


Don't know which ones did. TRS-80, C-64, VIC-20, Atari 800, Apple II, did NOT


Don't know about other TRS-80 models but the Color Computer did have a RENUM command. It worked well as long as all of your GOTO and GOSUB statements jumped to existing line numbers. I learned quickly to at least stub out a REM line if I was going to add a jump to a sub-routine/code block that I hadn't written yet.


I grew up typing programs from softdisk magazine, Compute! etc... into TRS-80, Apple II, Atari 800, and C-64. I still think JavaScript in a browser is better.

JavaScript is way more powerful than Basic on any of those 4 platforms. The canvas 2D API is way more capable and easy than what came with those systems. Even getting something like

    <input type="text">
Was 50-150 lines of code in BASIC, by which I mean a text input line with a cursor and editing and not just BASIC's "INPUT" command which provided nearly zero editing support.

Libraries like pixi.js or three.js or p5.js etc make it trivial to get fancy graphics on the screen. Making something you can share it with your friends or the entire world with a link, even if they don't own the same type of machine running the same OS. Host them on codepen, jsfiddle, github pages, all free.

I loved my experience with Basic and those old machines but I wouldn't force my kids to learn that way.


It's hard to compare these, it's like comparing a shovel to an excavator.

If a browser had to be implemented in 16 KB of binary, and use at most 48kB of RAM when running, many of the APIs you enjoy having would not be there. And it's not even about features of the language itself.

There was a time when you could have both - the language and the functionalities of a browser - IE supported VBScript in script tags:

    <SCRIPT LANGUAGE="VBScript">
    <!--
    Sub Button1_OnClick
       MsgBox "Hello world"
    End Sub
    -->
    </SCRIPT>


Except it's way less discoverable. The BASIC prompt was all you got on some 8 bits computers, so it made playing with it almost mandatory. Also everything was way simpler (less abstractions layers, no network) to grok for a young kid.


And all of your BASIC was in the manual, taught to you as soon as you bought the computer.


I picked BASIC in 3rd grade reading a "stolen" math book. I saw a bunch of 10 line examples in its pages and remembered that weird pc jr. cartridge that said basic. The cartridge seemed useless until that day....


my experience was I would not have learned anything without a manual and examples. There was no autocomplete so there was no discoverabliy and there was no internet so unless you bought a book or happened to have access to a library that had modern basic books you were out of luck.

VS Today wheer there are 1000s of websites that will teach you JavaScript and 1000s of free video classes and hundreds of thousands of free examples. JavaScript is several orders of magnitude more discovable than basic ever was


I haven't a clue how they compare but a Studio Mac with an M2 Ultra can get 192GB of unified ram for $5700 (PS: not a mac fan, a curious)


tagging doesn't work period because people will tag things to try to get their product in front of your eyes and add any tag they think is popular entirely unrelated to their "product".


So why not punish them and have bots regularly scan/assess tags for relevance.


They're not affordable for FANG employees. According to levels.fyi an L5 at Google makes $349,163, of that they'll keep 60% after taxes so 209k. It sounds like a lot (and it is in comparison to people making less) but a 1bd apartment costs > $1 million almost anywhere near one of those jobs. You need to pay rent until you've saved $200k-$400k which will take 5-6yrs and then you buy a 1bed apartment and pay $7000-$9000 a month (apartment + hoa) (seen HOAs as much as $3k a month!).

AFAICT the only way they can do it is as a couple or down payments from family.

If you wonder why traffic is so bad, it's because the only places affordable are 90 minute commute


A FAANG engineer with a take home pay of $200k/yr should be able to save, let's say, $50k/yr. that still leaves $150k/yr, or $12,500/month to spend on housing, doordash, groceries, entertainment, and other savings. Which should be plenty, but maybe I'm not spending enough on Doordash. After 4 years, they'll have $200k saved up.

Here's a million dollar, 1 bed condo, and its HOA is $600/month. I don't doubt that there are HOA's charging $3,000/mo, but that's not remotely normal. If you put $200k down, that's 20%, so you have a mortgage of $800k. At today's interest rates of 6.358% on a 30-fixed, that's $6,062+$600 HOA/month. Which is a lot higher than a couple years ago, but that's a whole other thing.

Since they're no longer saving, their take home of $209k - $6700*12, leaves them $128k/yr, or $10,700/month to pay for food and entertainment and savings. Again, maybe I'm not spending enough on entertainment, but $10k month seems a lot to me, enough to survive on, at least.

https://www.zillow.com/homedetails/400-Avila-St-APT-102-San-...

Of course this is San Francisco, and housing goes for over-list-price, so here's an $800k condo.

https://www.zillow.com/homedetails/417-Carl-St-San-Francisco...

Both of these are in reasonable neighborhoods, though everyone's got an opinion about which neighborhood is the best.


You realize you're talking about a 1bedroom apartment, not a single family home. It shouldn't require an L5 job at FAANG to just barely be able to afford 1bedroom apartment.


L5 at google here, your numbers are a bit off. I’m in Seattle, so you can still get a one bedroom condo for $600k or so. HOA will top out at $1k, for a new place, it’s often much lower for those $600k places, like $300/month. I saved for my down payment while working for Microsoft in Beijing: rent is pretty cheap, even if a 1 bedroom apartment sells for $1m, you can rent it for less than a thousand a month. I did make less in China than what a level 64 would make in the states, but my expenses were pretty low.

I bought 3.5 years ago, today it would be much harder, I would have sell some stock to put more in a down payment to make my mortgage payment more reasonable. It also helps that my SO works as a designer for another FAANG.


> today it would be much harder,

> It also helps that my SO works as a designer for another FAANG.

Thanks for confirming my point :)


If you've got a 10M+ LOC project and you're not doing some kind of distributed build you're throwing money and time away.


The main time killer in day-to-day work on such big projects is usually the linker step, which is terribly slow with the MSVC linker and doesn't benefit from incremental or distributed compilation (not sure though how much the MSVC linker has improved in the last 5 years or so).


Is it necessary to build and link windows games with msvc? Pretend I know nothing about the subject.

Large code bases built and linked with open source toolchains have solved this with, for example, thinlto. And by "large" I mean orders of magnitude larger than the mentioned game.


Not necessary, but definitely the path of least resistance for developing Windows games, and AFAIK MSVC is required for developing Xbox games. Commercial closed source middleware is sometimes distributed as compiled C++ static link libraries plus headers without being able to recompile yourself.


Genuine question, what code base is 100 million lines of code (I think that is the meaning an order of magnitude bigger that 11 million LOC). I can not comprehend how that much code is anything but dead weight saddled on ‘generations’ of a business’s employees.


If it helps, even by 10 million LOC (assumedly most of which isn't unused legacy cruft) you're starting to dig deeply into templates and codegen instead of actual manual coding. I'm sure with all this AI stuff that will only get larger and larger.

But yeah, outside of some of the largest of FAANG software, there aren't a lot of codebases that can truly justify 100m lines of code. I'm sure GTA VI is over 100m lines but can be cut down to 10m if that was a priority (it never is)


You can use clang for windows builds. It’s what I use for my games. However, I assume that most popular engines might not compile on clang+windows for random reasons.


It's a lot more common than you'd think. I'm not in gamedev but similarly weird (multiple supported userspaces and OS's for embedded an device line) our "full build" is probably approaching 50M+ lines and only quite recently do people do incrementals from a build server snapshots. No bazel or distributed ccache or anything.


It can be pretty difficult.

Especially for games or OS development, you might have shifting toolchains and SDks. Different teams may move out of sync because different teams want different things at a given time.


obviously many teams do (i've seen incredibuild used pretty often.) that's not a cureall, though.


I just cleaned out my build folders and did a full build. 40M+ lines, 3 mins and 35 seconds. If you're not getting similar speed then maybe you should look into adding more machines. Last time I was on game dev the best you could do was share other programmers machines via incredibuild. No thought about adding more machines just for building or using cloud infra


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

Search: