Better HN
topnewbestaskshowjobs
Log inSign up

lbruder

216 karma · joined Aug 10, 2013 (13y ago) · 71 submissions

(define (partial-apply proc . cargs) (lambda args (apply proc (append cargs args))))
Submissions

comment 1y ago · link · parent

CTRL+F protactinium

Once again, nothing.

comment 1y ago · link · parent

Well, the server was up, it was just returning HTTP 503...

comment 1y ago · link · parent

have you tried mcedit? It's the editor mc (Midnight Commander, a Norton Commander clone) brings along, looks and feels like the old DOS editor, but has more features

comment 1y ago · link · parent

Hi fellow yelling old man,

would it be OK for me to steal your analogy? It's great!

In the team I'm currently leading, we have made the same observation, with stuff getting more complicated without anything substantial to show for it. In a way we're having a harder time getting out features than twenty years ago, but somehow that's "progress".

As an experiment, I had one of my juniors rewrite a (admittedly small) frontend with Go templates and HTMX, and not only did they have a blast doing it, they were surprised at how simple everything suddenly was. Give that one a try, it's worth it!

That said, there are frontends with requirements that actually do need all that framework crap. Once you want 3D stuff that a user can move around with the mouse, you pretty much have no other choice. While those special cases are rare, people prefer to learn one framework and use it for every nail they see lying around instead of looking at all the other tools in their shed...

comment 2y ago · link · parent

What Andy giveth, Bill taketh away.

comment 2y ago · link · parent

the idea sounds great, but there would have to be something in place to prevent it from degrading into a Wikipedia-style turf war, with people trying to protect "their" code against changes...

comment 3y ago · link · parent

we're storing 120M records a day in influx 1.8, offloading cold data to S3, all on a single m5.xlarge instance that runs other backend services on the side. Less than 400 bucks per month overall aws cost, with lots of other VMs in there. We could use RDS too, but why change it to something more expensive if it already works...

comment 4y ago · link · parent

If this is "just" sending keystrokes to notepad.exe, as in "ctrl-a, del, lots of keystrokes until one frame is done", then I'm actually more impressed by the speed keystrokes and redrawing are handled in the good ol' Win32 EDIT field.

comment 4y ago · link · parent

Worse is better. C and Unix were faster to implement new stuff as they were only 'good enough'. Lisp machines wanted to do everything 'right', right from the start, and were slower to implement new features. Unix was already winning by then...

https://en.wikipedia.org/wiki/Worse_is_better

comment 4y ago · link · parent

Seconding "Starting Forth" and "Thinking Forth".

After that, Jonesforth (https://rwmj.wordpress.com/2010/08/07/jonesforth-git-reposit...) is an excellent example of Literal Programming that starts with an Assembly listing and bootstraps into a complete usable Forth system. No better way to learn Forth than to actually implement one...

comment 4y ago · link · parent

Another big open source DB I'd like to hear about more often is Firebird (https://firebirdsql.org/) which was forked from the Interbase code released by Borland (don't remember how they were called at the time). Four choices of connection model (process-by-connection, thread-by-connection, some weird mix, and in-process), full ANSI SQL, runs on all major platforms, and uses single file databases. Seems to be the best of SQLite (inmem, single file), MySQL (lots of connections fast) and Postgres (standard, robust) to me, in a single package. But for whatever reason it seems to be completely off the radar on HN...

comment 5y ago · link · parent

Looks like they misconfigured a web interface that they can't reach anymore now that they're off the net.

"anyone have a Cisco console cable lying around?"

comment 5y ago · link · parent

Simple dynos can be replicated with Dokku and Ledokku as a GUI. Just get an Ubuntu VM on Digitalocean, Vultr or whatever, install and configure UFW, fail2ban and automatic security updates, install dokku and you're set.

For managed databases with replication however, Dokku still leaves much to be desired...

comment 5y ago · link · parent

That's basically how C# came into being in the first place. Microsoft "bought" Anders Hejlsberg of Borland Delphi fame, and had him create a "better Java". And IMHO Visual J++ was a much superior Java, with a visual designer that was much more advanced than anything else available back then. The problem? It was very much Windows Only (tm) if you wanted to use the advanced features. Sun was not happy about this. And the end result of the legal struggle was that Microsoft used Visual J++ as a base for C# and scrapped Java compatibility.

comment 5y ago · link · parent

It is. Software doesn't rust. My old copy of Office 2000 still works perfectly fine -- with Wine. Windows 2000 and Office 2000 were the last versions I bought. When M$ switched to activation-based "copy protection", I moved on to Linux and never looked back.

But the thing is: You pay for something, and it works. Then, just 11 years after the sale, the product suddenly stops working, just because someone said so, even though it's still in perfect condition. That's a nope from me. Imagine you buy new shoes, and after a while you suddenly can't put them on anymore. Or an oven doesn't work anymore after just 11 years. With M$ stuff it seems to have become a new "normal"...

comment 5y ago · link · parent

As a concrete example, German programmer here. 16% of my income go to taxes, another 12% go to mandatory insurances (excluding healthcare), and about 6% go to health insurance. So about a third of my income goes to mandatory stuff and taxes, but when my son broke his arm in the schoolyard, the treatment was completely free for us. Not sure how those numbers transfer to the US, though.

comment 5y ago · link · parent

that's one of the reasons I love Fossil so much. Way better backend than Git.

comment 5y ago · link · parent

I've made the switch back to Redmine for my personal projects. By now it has full Markdown support for issues and wiki. Faster than Jira, and easier to use.

comment 6y ago · link · parent

It's the PHP of business software. Powers half the market, but boy do mistakes cost you.

comment 6y ago · link · parent

Not sure about other countries, but in Germany at least an AVAS (acoustic vehicle alerting system) must be installed in new electric cars and hybrids. My Zoe sounds like a spaceship while under 30 kph, the sound becoming quieter the faster you go, as from about 20 kph the sound of the tires would be louder than an engine anyway. Could be used for mopeds too.

comment 6y ago · link · parent

Have you tried soft line wrapping in GNU nano (M-S)? As long as you're running nano in an 80 column wide window, that should work fine.

comment 6y ago · link · parent

Try Manjaro. It's based on Arch, but with a little more stable software, think Debian Testing instead of Sid. Simpler to install and works like a charm.

comment 6y ago · link · parent

It just works, until PUSHing the member back fails. At least use RPOPLPUSH and a separate worker queue to make sure you don't accidentally drop packets.

Don't get me wrong, I'm using Redis queues myself and trying to get rid of the last remnants of RabbitMQ in our code, but there are use cases where RabbitMQ means less thinking about stuff, because it just works(tm)...

comment 6y ago · link · parent

Go to /etc/apt/apt.conf.d/ and have a look at 50unattended-upgrades and 10periodic. My 10periodic looks like this:

    APT::Periodic::Update-Package-Lists "1";
    APT::Periodic::Download-Upgradeable-Packages "1";
    APT::Periodic::AutocleanInterval "7";
    APT::Periodic::Unattended-Upgrade "1";
And 50unattended-upgrades:

    Unattended-Upgrade::DevRelease "false";
    Unattended-Upgrade::Remove-Unused-Kernel-Packages "true";
    Unattended-Upgrade::Remove-Unused-Dependencies "false";
    Unattended-Upgrade::Automatic-Reboot "true";
    Unattended-Upgrade::Automatic-Reboot-Time "02:00";

No more worrying about updates :)

comment 6y ago · link · parent

Infrastructure architect: Five 20 minute "standups" per day, plus a seven hour meeting once a month. Add about 20 hour-long ad hoc meetings a month. Just let me do actual work dammit.

comment 6y ago · link · parent

There's an Emacs macro for that.

comment 6y ago · link · parent

Die meisten Online-Shops bieten Black-Friday-Rabatte an. Diejenigen, die das nicht tun, sind unter Zugzwang, sich ihnen anzuschließen.

comment 7y ago · link · parent

I think I still have an old copy of Office 95 at home. Gotta try that with Win10 just for shits and giggles...

comment 7y ago · link · parent

Where Tk beats everything else. "pack" and "grid" are still way ahead of the established layout stuff. And Tcl is the perfect language for Tk. Sadly people are put off by its seemingly strange syntax and semantics...
123