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

I wrote a Win32 app 20 year ago, but the limits to how it handles memory made things confusing when you loaded large amounts of data into the GUI.

I would say Java Swing is still the peak of GUI development. Works flawlessly at close to native speeds (GPU acceleration and all) on all platforms including Risc-V that did not exist when it was developed!

The JVM is the emulator!


Also have a HTTP only website.

For me it would need vanilla linux or atleast MacOS.


What is the advantage over just using this:

  var source = new EventSource('pull?name=one');
  source.onmessage = function (event) {
    document.getElementById('events').innerHTML += event.data;
  };
http://talk.rupy.se/event.html

> If you need bi-directional communication, then you should consider using WebSockets instead.

Or you just do a HTTP request?



Everything HTMX does could be "just" done using JS - this is self-evident. The whole point of HTMX is to enable features like this directly in HTML.


If you do that you'll reset browser state with whatever you're replacing. For example things like scroll position, if the user opened an accordion, etc. would all be lost.


I mean you're not wrong: end of the day htmx is just some javascript written on top of standard vanilla javascript apis. It tries to handle things in a more html-centric, attributes-driven manner than script-oriented approaches do, but it's nothing too complicated

check out fixi for our ultra-minimalist take on the idea:

https://github.com/bigskysoftware/fixi

Or, for extreme minimalisim, htmz, which repurposes iframes for a similar idea:

https://leanrada.com/htmz/


Between 50% 3.7V and 80% ~4-4.2V is the best.

Don' let the voltage go to far below 3.7V and don't over charge above ~4-4.2V.


16-bit address would have been good no? C64 > VIC2


From a pedagogical aspect, probably yes. A 16 bit address bus would allow me to make a difference between a word and an address which would improve understanding of a real CPU. On the other hand, allowing the word and the address to be interchangeable makes assembly a bit easier.

But the problem is that I'm using flip flops instead of a block RAM (see RAM.vhd, there's no PROCESS in it). As such I cannot take advantage of the internal FPGA ram. A 16bit address would be impossible to run on low cost FPGAs as it would require more than 500K flip flops.

Finally, 255 bytes (+1 for the input) is good enough for the purpose of understanding and running textbook excersises to it, I think.


The more interesting metric is running HL2 on Pi4, Pi5 and 3588:

Pi4: 20 FPS same when using ffmpeg to stream to twitch. 5W

Pi5: 40 FPS idem as above. 10W

3588: 300+ FPS and rock solid 60 FPS streaming to twitch. 15W

So 5090 is not even interesting for gameplay. More polygons and larger textures do not make games more fun to play.

AAA has peaked and C++ does not even deliver interesting games any more. C#/Java are way better alternatives for modding.


the rockchip hw is really exciting lately, in general. i am using a bunch of them for streaming.


Aren't they GPL violators?


Seems that way, but if you want hardware, you have to buy the hardware that exists.


To write this article without mentioning the 3588, is like writing about Venezuela without mentioning oil.

Pi 5 and N150 are completely meaningless since before they came into existence.

Also the price of 3588 increases by batch so you can still get them at almost launch price (4GB was $70 now $110, next batch probably ~$150 by now if nothing improves)


Could you please provide a link? I don't know what 3588 is. It seems to be, Rockchip RK3588?


The Orange Pi 5 (RK3588 processor) with 4GB RAM is $103 on Amazon.

Don't know if that's what GP is talking about though. Too bad they didn't specify a model.


Yes, you have to google it yourself, there are too many with pros and cons beyond a hn comment.


Google gives me this for 3588 https://www.tractordata.com/farm-tractors/000/3/8/381-intern...

I guess giving up a life of computing and starting a life of vintage tractorring is pretty compelling, but I don't think they're making new batches of 1981 tractors; but who knows what VW is up to these days.

OTOH, DuckDuckGo gave me California tax forms. No thanks!


If you search "pi n150 3588" (without the quotes), Kagi, Google and DuckDuckGo all make it clear that "3588" means "RK3588" or "Rockchip RK3588".

Back in the old days we didn't have all these AI things and personalization to predict our intent, we had to put context in our queries :)


Yes, but they seem to be talking about a specific product?

    "(4GB was $70 now $110, next batch probably ~$150 by now if nothing improves)"
I think it's reasonable to ask, what's $70, now $110 and $150?

If you're quoting specific numbers for a specific product that you're claiming should be in the thread and then you refuse to link it...


rockchip may have lots of raw power but software compatibility vs a N150 is very low


Are rockchip finally providing upstream support?


It's still flakey, but with the open panthor driver things are working well.

It's usable as is.

By the time linux catches up hardware might be very expensive or missing completely.

So my thinking is buy now, use as is, and maybe later we get better software... The point is the 3588 can actually replace my X86 desktop for ALL purposes except Unity/Unreal which I am glad to not run.


What we need is configurable ack packet counts.

Then we can make TCP become UDP.

And then we solved everything.

Both linux and Windows have this config but it's buggy so we're back to TCP and UDP.


I’m curious about this. Can you share more details or some links that discuss what you’re describing?


TcpAckFrequency and net.ipv4.tcp_delack_min but they don't do exactly what we need:

We need to be able to set it to -1 to tell the OS that no acks should be used at all, effectively turning that socket into UDP but with a TCP API!

That way we only have one protocol for ALL internet traffic.

I made a RFC about this a decade ago that was ignored.


My old 6600 from 2016 is still running fine, I replaced the SSD (Intel 400GB to X25-E 64GB that will last 20 years minimum), the RAM (Micron to Samsung from aliexpress before the price hike... got 8 sticks of 16GB for $40 a pop for backup) and even the old trusty monitor (Both Eizo 5:4 matte VA; mercury tube to led, with f.lux/redshift the blue light is ok).

But with a 3050 upgrade from the 1050 and later 1030 (best GPU for eternity if you discount VR) I had in it it's good for another decade. If a game comes out that does not run on it I wont play it... simple as that... 150W is enough. So far only PUBG stutters, what a joke of bloat and poor engineering that game has become...

Win 10 improved NOTHING over 7. Win 11 improves NOTHING over 10.

YMMV but recommendation is still: do not buy new X86 hardware; do not use new OS/languages.

Build something good with what you have right now.

Make it so good it's still in use after 100 years.


> Win 10 improved NOTHING over 7

Windows 7 doesn't have compressed memory (ZRAM). Doesn't support TRIM for NVMe SSDs. Doesn't have WSL. Doesn't have ISO mounting built in. Doesn't have HDR, variable refresh rate, etc...


The better statement is 'Win 10 improved nothing directly user-facing over Win 7'. Sure, there are several technical improvements under the hood, but those are completely detached from what the user actually sees and experiences, and there's no real reason we couldn't have the Windows 10 technical improvements with a Windows 7 UI, other than Microsoft being the abusive parent that it is.


I'd still disagree but UI changes are far more subjective with approval. The start menu in 10 is a lot more customizable vs. Windows 7 which I think is a good thing. Task View (virtual desktops) were added in 10. Task Manager is so much better, that one is probably objective.


> The start menu in 10 is a lot more customizable vs. Windows 7 which I think is a good thing.

I installed Open-Shell day 1 when I got Windows 8, and continued with that on 10, since the new start menu did not convince me, so I can't really vouch for that. I don't see a need in having tiles and such in my start menu.

> Task View (virtual desktops) were added in 10.

Never used it in Windows. On my Mac I use it to put individual apps in full-screen, so they're easy to switch to with 3-finger swipe. Then again, I have three screens, so the demand for more desktop space is close to zero on what would be my Windows machine.

> Task Manager is so much better, that one is probably objective.

Technically a Windows 8 addition, but I'll give you that one. I'll have the old task manager back if I could get the old photo viewer back though. I can manage with the old task manager. I couldn't manager with the Win10 Photo app, and had to install Irfanview to get a usable picture viewer (at least before I went to Linux).


> I don't see a need in having tiles and such in my start menu.

Tiles are gone in Windows 11.

But this is exactly my point. Some people were so happy with how Windows XP worked but things are so much better now. It's repeating again where Windows 7 is the new XP.


Things are better, but it's a case of two steps forward, one step back. We got a new task manager that was actually good, and lost the photo viewer that was good. We got good taskbar search, right in the start menu, and then lost it again. We got DX12, but also got more telemetry than ever. We got an actually decent Windows update (it even grabs drivers for you and is pretty good at getting it right!), and we lose the ability to disable them (without really getting in there). We apparently lost tiles again, even though some people might still want them, and we also lost the ability to left-align our start menu, until the noise got so loud that even Microsoft couldn't ignore it.

Things may be better, but saying that Windows has gotten better, without a comma and a but, or an asterisk, is disingenuous. Much better is a matter of opinion, and one I don't share. Where things have gotten much better is Linux.


Are those really improvements though.

RAM maybe wears quicker if compressed?

NVMe will break long before a good old SATA drive.

WSL... lol

ISO you can do with daemon tools for free...

Displays are good enough at 60Hz 5:4 matte.


WSL is an excellent Micro-Soft technology.


> NVMe will break long before a good old SATA drive.

What gave you that idea?

> RAM maybe wears quicker if compressed?

Is this serious? The rest of your post seems serious, but that's such a silly idea.


This person has said that 1gb/s ethernet is as high as networking will go because of power constraints (yes obviously 2.5gb is common and a 10gb networking card is $25).

They have said that DDR3 RAM causes mouse stuttering and that a 2011 atom is the best CPU that will ever be made. Unfortunately I think they are serious.


> What gave you that idea?

If you run Windows 7 on it then it sure will!


I have fedora xfce running beautifully on a 2011 i5 Mac mini. Replacing the hard disk with modern SSD was all it took to get it running at acceptable speeds where interacting with xfce is roughly instantaneous


> Win 10 improved NOTHING over 7. Win 11 improves NOTHING over 10.

You had me up to this point. The problem is that there are actually quite a few improvements under the hood over those upgrade paths, but they are unfortunately hidden under all of the bullshit. I was an early adopter of Windows 11 specifically because of their efficiency core support over Windows 10 when I upgraded my CPU.


You need to look at the cost of improvements, and they overshadow all progress.

I'm going linux with TWM (desktop with design look from the 70s) on ARM because M$ is clearly not thinking about the long perspective.

We need a stable platform to build quality software.

And that's saying alot seen how linux is deprecating libc after very short time and the legacy joystick API is not being compiled into modern kernels anymore.

Stability is way more important than bells and whistles.


You can use IceWM instead of TWM; it's almost as lightweight and much more stable.

Also, if any, CTWM (with the welcome screen disabled) can be as good as TWM but with better features (sticky menus and the like).


I don't like the look of IceWM but I will check out CTWM!

Edit: TWM is less cluttered and less features is actually more here...


Yep, I like TWM on design too, but both CTWM and IceWM can be equally configured.

On CTWM, you can straightly import the TWM config modulo some slight error on a single line (if any). Once you set profer TTF fonts for it (by default they might look huge on smaller screens), you are done. Set the sticky/persistent menus (on a laptop/netbook it's a godsend) and you are done.

Maybe you would like to disable the startup screen (-W flag for the 'ctwm' binary) or some obvious option in the man page in order to be put at ~/.ctwmrc or ~/.twmrc.

For sticky menues you need to just put

     StayUpMenus
at ~/.ctwmrc

Just copy the content from your former ~/.twmrc file and append that on top.


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

Search: