Readit News logoReadit News
nox100 commented on IDEs we had 30 years ago   blogsystem5.substack.com/... · Posted by u/titaniumtown
pjmlp · 2 years ago
No, the whole UI runs on the client machine, which in X Windows nomenclature is the server.

The client application (on X Windows nomenclature), runs on the remote server and is headless.

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

Everything else regarding compilers, subprocesses and what have you keeps running on the server, regardless how the connection is made.

Think big X Windows terminals or green/ambar phosphor terminals accessing the single UNIX server, used by the complete university department.

nox100 · 2 years ago
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.

nox100 commented on Particle Life   github.com/hunar4321/part... · Posted by u/hyperific
geraldwhen · 2 years ago
There is no evidence that space travel is practical or sustainable. The only viable spaceship known to man is Earth, and we don’t steer it.

Maybe there are lots of earth-like planets with intelligent beings, but travel is impossible and communication is useless given the time delay.

nox100 · 2 years ago
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).
nox100 commented on Generation Junk   walterkirn.substack.com/p... · Posted by u/blueridge
nox100 · 2 years ago
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.

nox100 · 2 years ago
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.

nox100 commented on Generation Junk   walterkirn.substack.com/p... · Posted by u/blueridge
im_down_w_otp · 2 years ago
I’ve had to buy a lot of furniture and other things for my new house this year, and one of the things that really sticks out to me is that practically every category of product seems to be split into a bimodal distribution: cheap crap & luxury boutique.

There are practically no entries occupying the middle of the market that are on the basic end regarding features & frills but also high-quality.

It’s incredibly annoying. I can either get an absolute trash sofa for less than $1,000 or I can get a high-end, high-quality one for $5000+. Now there are definitely sofas that occupy the price range between those, but they’re almost all just wildly overpriced garbage that’s no better than the sub-$1000 junk. The same goes for dining tables, cabinetry, window treatments, cooking appliances, etc. I end up just scouring for “vintage” stuff that’s in decent shape whenever possible. It’s like I have this whole other full-time job trying to find quality used goods because the only things I can just get new immediately are garbage.

nox100 · 2 years ago
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.

nox100 commented on BASIC was not just a programming language   gcher.com/posts/2023-12-2... · Posted by u/guillaumec
bestouff · 2 years ago
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.
nox100 · 2 years ago
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

nox100 commented on 3D Map of Shinjuku Station in Three.js   satoshi7190.github.io/Shi... · Posted by u/brw
jareklupinski · 2 years ago
early 2010's, i land for the first time in Japan, with vague instructions to meet my AirBnB host "by the entrance to Shinjuku Station"

story ended happily after finding a hotspot and sending an email, but this visualization makes that instruction seem even more hilarious in hindsight

a pin pointing out a location using this map would be a perfect waypoint!

nox100 · 2 years ago
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
nox100 commented on Learn Modern C++   learnmoderncpp.com/... · Posted by u/nalgeon
leopoldj · 2 years ago
The use of ``this Self&& self`` in the ``at()`` method can appear to be an overkill. But this approach actually covers many scenarios and make the code much smaller. For details, you can read:

https://devblogs.microsoft.com/cppblog/cpp23-deducing-this/

nox100 · 2 years ago
I think you missed the point. The point isn't that these features don't have a purpose. The point is rather, at every line of code you have many choices that you arguably shouldn't need. Should I use a raw pointer or a unique_ptr or a smart_ptr. Do I need to call make_shared here or can I do something else? Should I call std::move here or not? Should pass by value or pointer or const pointer, or reference or const reference? And on and on, every line is a foot gun.

I get why it's that way, backward compatibility. The problem is, the original way, the path of least resistance, is now effectively deprecated, but it's the official syntax.

    char* s = malloc(size);
is considered bad code. I get why. But, in a "good language" the default would do the right thing and I'd only escape into bad code by extra work so that all the easiest code to write did the right thing by default.

C++ is trying to fix all that old bad code by coding standards and linters but I don't want to have to type a bunch of boilerplate I need to memorize to do the right thing. I want the right thing to be the most obvious, no brain cells required path.

nox100 commented on BASIC was not just a programming language   gcher.com/posts/2023-12-2... · Posted by u/guillaumec
tromp · 2 years ago
> If you ran out of numbers, the renum command would recompute all the line numbers for you.

This is the first time I heard of such a BASIC command, even though I grew up learning to program on a Sinclair ZX Spectrum.

Which of the home computers of the time had this command? Would it renumber in multiples of 10?

nox100 · 2 years ago
Don't know which ones did. TRS-80, C-64, VIC-20, Atari 800, Apple II, did NOT
nox100 commented on BASIC was not just a programming language   gcher.com/posts/2023-12-2... · Posted by u/guillaumec
zubairq · 2 years ago
I agree that dropping into the basic interpreter was amazing on the old 8 bit computers. Things have really changed recently with the popularity of Retro computing as I wrote about the exact same thing around 10-15 years ago (I can't find the post unfortunately) and I was downvoted a lot as almost all the commenters seemed to think that accessing DevTools in Google Chrome and entering Javascript commands was that same thing as the interactive Basic mode of a Commodore 64 in my case. Oh, how times have changed for the better now :)
nox100 · 2 years ago
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.

nox100 commented on Show HN: I made a GPU VRAM calculator for transformer-based models   vram.asmirnov.xyz/... · Posted by u/furiousteabag
samspenc · 2 years ago
Consumer grade GPUs like NVidia's 3090 and 4090 max out at 24 GB VRAM, and those cost $1000-2000 each. You can get higher VRAM but need enterprise GPUs which are in the five figures, easily starting at $30K a pop.

Per this calculator, for training, only gpt2-large and gpt2-medium would work with those two top-of-the-line GPUs.

For inference it's certainly a bit better, only the Llama-2-70b-hf and Llama-2-13b-hf don't fit in that much VRAM, all the other models do.

nox100 · 2 years ago
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)

u/nox100

KarmaCake day164December 4, 2023View Original