Readit News logoReadit News
rlkf commented on OS/2 Warp, PowerPC Edition (2011)   os2museum.com/wp/os2-hist... · Posted by u/TMWNN
gradstudent · 2 months ago
To the nostalgics among us: what made OS/2 special? 32bit support?

I recall trying OS/2 2.0 or 2.1 back in the day, coming from a DOS/Win3.11 setup. It seemed to have the same basic features as DOS/Windows but wasn't properly compatible with my existing software. Admittedly, this was before I knew anything about programming. I discovered Linux not much later. It wasn't compatible with anything either, but seemed like a totally different and much more compelling proposition.

rlkf · 2 months ago
> To the nostalgics among us: what made OS/2 special?

I started out with OS/2 v1.1. It had threads, DLLs, multi-tasking, much larger memory space, and from v1.2 a somewhat decent filesystem. Coming from DOS 3.2/Win 2.0 this was an incredible leap, in particular the SDK was amazing compared to the ragtag assembly of info I was used to. The _delta_ between two systems haven't been this large ever since, and I think that is what contributes to the "magic" feeling.

rlkf commented on Ask HN: How does one build large front end apps without a framework like React?    · Posted by u/thepianodan
BrouteMinou · 2 months ago
> source code is not open

What about this: https://github.com/jgraph/drawio

rlkf · 2 months ago
> What about this: https://github.com/jgraph/drawio

That repository only contains the minified code, not the original source.

rlkf commented on Ask HN: How does one build large front end apps without a framework like React?    · Posted by u/thepianodan
rlkf · 2 months ago
Draw.io is quite good, and it is made without using any frameworks. Alas, the source code is not open to learn from.

<https://www.quora.com/What-is-the-tools-and-languages-used-i...>

rlkf commented on Untangling the myths and mysteries of Dvorak and QWERTY (2023)   aresluna.org/the-primitiv... · Posted by u/kens
teo_zero · 4 months ago
For a keyboard that aims to the title of "Scientific", isn't it weird to offer the "zero" key after the "9" instead of its natural (mathematically speaking) position before the "1"?
rlkf · 4 months ago
The original Dvorak layout had 0 positioned on the right index finger (where 7 is on Qwerty keyboards). The layout of the numeric keys on what passes as a "Dvorak" layout today was apparently determined by the ANSI committee for... reasons.
rlkf commented on Power Failure: The downfall of General Electric   gwintrob.com/power-failur... · Posted by u/gwintrob
roenxi · 7 months ago
The "5. The Human Wreckage" section is probably the most interesting - on paper, everyone came out much worse (losers identified are workers, pension holders, shareholders, investors and executives which seems superficially comprehensive).

However it is important to recall that the people who actually made all the money extracting the wealth got out years before, retiring and/or selling stock. They're bystanders now and probably happy to run the whole operation again.

Although as an aside who these people are who think corporate pensions are a good idea is beyond me. People really should be in charge of their own savings in preference to their employer, expecting some random corporation to cover the cost was always a bit crazy even when it seemed sort-of possible that the system was stable. It is easy to have some sympathy but, as a practical matter, it was never going to work and it isn't a surprise that it didn't.

rlkf · 7 months ago
In Norway, the companies are required by law to pay the pensions into a special type of investment account where withdrawal are not allowed until you are retired, but you can choose your own investment profile: A mandatory 401k.

The arrangement where the _company_ controls the account seems to me to be more of a allowed delay in salary payout, to the benefit of the company, than a retirement account for the employee.

rlkf commented on I built a native Windows Todo app in pure C (278 KB, no frameworks)   github.com/Efeckc17/simpl... · Posted by u/toxi360
masternight · 8 months ago
There is something I like about win32 gui programming. It's a little idiosyncratic, but if you read Raymond Chen's blog you'll see why.

The win32 API has its origins on the 8088 processor and doing things a certain way results in saving 40 bytes of code or uses one less register or something.

I wrote a lot of toy gui apps using mingw and Petzold's book back in the day. Writing custom controls, drawing graphics and text, handling scrolling, hit testing etc was all a lot of fun.

I see in your app you're using strcpy, sprintf. Any kind of serious programming you should be using the length-checked variants. I'm surprised the compiler didn't spew.

You'll also find that the Win32 API has a lot of replacements for what's in the C standard library. If you really want to try and get the executable size down, see if you can write your app using only <Windows.h> and no cstdlib. Instead of memset() you've got ZeroMemory(), instead of memcpy() you've got CopyMemory().

At some point writing raw C code becomes painful. Still, I think doing your first few attempts in raw C is the best way to learn. Managing all the minutiae gives you a great sense of what's going on while you're learning.

If you want to play more with win32 gui programming, I'd have a look at the WTL (Windows Template Library). It's a C++ wrapper around the win32 API and makes it much easier to reason about what's going on.

rlkf · 8 months ago
I second this, and just want to add that strsafe.h contains replacements for the runtime string routines.
rlkf commented on Modern LaTeX   github.com/mrkline/modern... · Posted by u/signa11
tcfhgj · 8 months ago
I don't feel like the template itself is the issue. In typst it's quite easy to recreate the templates without being years into typst (according to my experience).

The real problem is acceptance of non-word/latex papers

rlkf · 8 months ago
> The real problem is acceptance of non-word/latex papers

Some scientific journals, which only provides a Word template, require you to print to PDF to submit, then ships this PDF to India, where a team recreates the look of the submission in LaTeX, which is then used to compose the actual journal. I wish this was hyperbole. For these journals, you can safely create a LaTeX-template looking _almost_ the same, and get away with it.

rlkf commented on Why do people keep buying printers they hate?   ft.com/content/b48b0ca3-4... · Posted by u/austinallegro
Arnt · 9 months ago
What delights you?

Get a B&W Brother laser (or LED, nowadays), it'll be good, last long and… I expect it won't delight you because you want to print in colour, or if you don't want that, people will send you things that you need to print and they presume colour.

I replaced my B&W Brother with a colour LED a few years ago, because some documents really need colour. Sigh. MFC-L3770. The colours aren't good but the printer does what I want and without any hassle.

rlkf · 9 months ago
I have a Brother DCP-9020CDW which I've owned for over a decade and which still keeps humming. A bit expensive with four toners and a drum, but that's color laser for you. I'm very happy with it, and I guess I'd be equally happy with any Brother MFC-LxxxxCDW that's one market now.

If one wants an inkjet, I'd go for an Epson EcoTank.

rlkf commented on Asteroid fragments upend theory of how life on Earth bloomed   nature.com/articles/d4158... · Posted by u/mmooss
rlkf · a year ago
This makes the Fermi paradox even weirder: If there is a bunch of these asteroids floating around in space, ready to seed life on numerous Earth-like planets, there should be an even bigger chance of seeing someone else, than if life have to originate on the planets themselves.
rlkf commented on Webtop – Alpine,Ubuntu,Fedora,and Arch containers containing full desktop envs   docs.linuxserver.io/image... · Posted by u/weitzj
baq · a year ago
the fact that we have to keep reinventing kerberos all the time because it doesn't speak http is starting to legitimately annoy me.
rlkf · a year ago
Firefox can be configured to use Kerberos for authentication (search for "Configuring Firefox to use Kerberos for SSO"); on Windows, Chrome is supposed to do so too by adding the domain as an intranet zone.

u/rlkf

KarmaCake day410February 13, 2015View Original