HNHacker News
TopNewBestAskShowJobs

lbruder

216 karma · joined August 10, 2013

(define (partial-apply proc . cargs) (lambda args (apply proc (append cargs args))))
submissionscomments
lbruder··on Cross-Platform GUI Toolkit Trainwreck (2016)
Delphi was, and Lazarus is, amazingly well designed. Lazarus comes pretty close to a Swiss army GUI tool, and once you get to know it a little better, Object Pascal is actually a very nice language that rivals C++ (!) in power. It's still my secret weapon at work. If only the docs were better. Still keeping around a VM with Delphi 7 from 1999 just because documentation was sooo good then.
lbruder··on GNU Nano 4.0
mcedit, the editor of mc, is a nice DOS-like editor, complete with blue background and pulldown menus. The mc suite contains a simple but powerful hex editor, too.
lbruder··on What makes BeOS and Haiku unique
I still fire up my trusty old Win2k VM from time to time. Fast, stable, simple, intuitive. Along with Delphi 7 it's incredible how productive we used to be some 15 years ago. Documentation was sooo good back then.
lbruder··on GoAWK: an AWK interpreter written in Go
Holy shit yes please. And grap.
lbruder··on What Did Ada Lovelace’s Program Actually Do?
That would emit a beep from the speaker, right? So long ago...
lbruder··on Urine, Not Chlorine, Causes Red Eyes in Pools (2015)
Working for a water treatment company here. We have created a mathematical model for public pools that includes a projected number of visitors per weekday, the weather forecast, school holidays, and based on that, a daily influx of urine, feces, pus and so on. We use this model to create adaptive controllers that minimize the amount of chemicals used to keep the water safe while actually keeping it safe (work in progress).

Working for this company taught me stuff I really didn't want to know about...

lbruder··on Show HN: Six Degrees of Wikipedia
Especially SQLite is often overlooked. A marvelous library that should be part of every personal toolkit.
lbruder··on It’s About Time for Time Series Databases
Don't mind at all. ATM we're using a simple VMWare server backing up the virtual HDD every night, with a dirty hack thrown in (no full backups on weekends as that's when the bigger jobs run, so I dump the current day to a CSV on a smaller virtual HDD that's still saved daily). We're running on our own systems as our customers are pretty paranoid about where their data is sent.

The history of this system is pretty organic, lots of experimentation. Started with Postgres, but that was too slow if a select statement returns tens of thousands of rows. MariaDB was way faster but became erratic once we passed about 2 billions of records. Now with SQLite we are at about 180 GB, about three years of data so far, so not really "big data" territory yet.

Constantly looking for better alternatives. InfluxDB looks promising, but maybe we'll switch to a "hot/cold" approach instead, keeping whole "cold" days as JSON objects in JSONB fields in Postgres again while storing "hot" data in SQLite. We'll see...

So far the system has been rock solid. In the last few weeks we went live for real, now storing about 2k records a second. Not a problem so far.

lbruder··on It’s About Time for Time Series Databases
We use a combination of SQLite and a sharding frontend service. One SQLite database file per device, one table per sensor, table contents are timestamp and measured value. As simple as it gets, easy to scale, and damn fast.

But try telling people you're using SQLite to store critical data...

lbruder··on French institute suspects nuclear accident in Russia or Kazakhstan in September
Taking iodine would be useless after two weeks. On the contrary, that would make future problems with your thyroid more probable, so don't do that. Iodine shouldn't be taken at all if you're more than ~45 years old (as a remedy for radiation problems) as the side effects would be statistically worse than a slowly developing cancer.
lbruder··on Learning Go by porting a medium-sized web back end from Python
YMMV, but my experiences with SBCL were way better than with Go. Using Hunchentoot and the other Quicklisp libraries made developing fun again. With Go I had to constantly worry about errors, repeat the same code snippets over and over again, had to comment out "unused" variables just to try something... not fun. That said, let's see how Lisp works out once I cross the 10'000 LOC barrier. But by then it won't be a microservice anymore, anyway...
lbruder··on Ask HN: What is the best Linux distro for a development laptop?
I'd go for Mint. The only system that never disappointed me and always just worked. Second place would go to Debian "stable", old (== problems with Wifi) but rock solid.
lbruder··on Real Programmers Don't Use PASCAL (1982)
Try to get your hands on an old copy of Delphi 1 or 2. Thousands of pages of documentation in PDF format. Docs used to be so much better back then, it's sad. I still have a copy of Delphi 7 lying around just because the help system was/is so good.
lbruder··on Real Programmers Don't Use PASCAL (1982)
The one thing Delphi really did wrong was to make GUI programming too easy. It was just too simple, too tempting, to just put all your code into your MainForm.pas, making it grow to over 10'000 LOC. If (and only if) the programmers took care to avoid code duplication and cared about writing good, solid code, Delphi rocked. Just like Lazarus (http://www.lazarus-ide.org/) does today. One of my weapons of choice nowadays when it comes to GUI development.
lbruder··on Windows 10 Review
For a nice Delphi alternative, try Lazarus (http://www.lazarus-ide.org/). Like Delphi 7, but with more features. Documentation could be better though.
lbruder··on The Bright Students Left Behind
It's the curse of the gifted: http://www.vanadac.com/~dajhorn/novelties/ESR%20-%20Curse%20...
lbruder··on Intel open sourced Stephen Hawking’s speech system
Have a look at lazarus (http://www.lazarus-ide.org/). It uses a different language (FreePascal instead of C#), but for me it's much more productive, and the programs written run without any framework and feel much snappier.
lbruder··on Using Windows 10? Microsoft is watching
Maybe Windows 10 is the best thing that ever happened to Linux...
lbruder··on Tcl Static Prime: experimental compiler for Tcl that produces C or Java code
Interesting article about the "Tcl experience" here: http://yosefk.com/blog/i-cant-believe-im-praising-tcl.html

I love how simple the language is. Quick and easy to learn, small footprint, embeddable. For quite a while I used to prototype simple web services in Tcl, then convert to C for speed. The Tcl versions were so much easier to write, adapt, and debug, and had more features, because in C at some point I thought, meh, don't really need this...

lbruder··on Ask HN: Language compiled to Excel spreadsheets?
Sounds like a mixture of the sc file format and BASIC:

    let A0 = 123 
    let A1 = 234 
    let A2 = 345 
    rightstring B3 = "asd"
    leftstring B5 = "foo"
    label B11 = "bar"
    goto B11 A0
Just a textual description of what your spreadsheet should look like. Gosling had it right back in the 80s ;)
lbruder··on SSD Prices in a Free Fall
Did they fail as in "some/all data lost", or did they switch to RO and you could at least get your data off them? Thinking of replacing my current home server HDs with SSD but worried about robustness...
lbruder··on Greece’s Proposals to End the Crisis
There are always three sides in every argument: The ones arguing, and the truth.
lbruder··on Why did Borland fail?
Still using D7 nearly everyday, alongside XE7 at work. The impressive, yet sad, thing is 2002's Delphi 7 still runs circles around XE7. Fast, robust, sound documentation. Even Visual Studio and IntelliJ feel weird compared to the simplicity of that old IDE. Sure, lots of parts are missing, no refactoring, no reformatting, whatever. For me it's more fun to use D7 than anything else at the moment.

Bad sign.

lbruder··on Ask HN: Which book are you reading these days?
Orwell feared that what we hate will ruin us. Huxley feared that what we love will ruin us: http://www.nedhardy.com/wp-content/uploads/images/2011/may/h...
lbruder··on Why I am called "the Father of Visual Basic" (1996)
Interesting bit aside: The current Delphi versions are becoming better again, to the point of actually being usable. Now it's just that its reputation was ruined when Borland decided to f*ck it up. I'm using it at work to build an Android app, and despite the slow buggy IDE, I'm more productive with it than with IntelliJ (for Android dev) or Visual Studio (for Windows apps)...
lbruder··on Decentralize All the Things
We used to run a decentralized server on our office PCs to aid in protein folding. The program would lie in the background and monitor CPU usage, then spring into action once the CPU was idle for some time, and utilize all but one CPU core to process one of the work packages available on a central server. To fold proteins, you'd just add your request to the queue, and some time later, you'd get the results, calculated on various PCs from customer support to the labs. Good times.
lbruder··on RTX2010 – Radiation-hardened stack machine microprocessor
Well, it was the original name Forth was going to have. Just that the OS it was built on allowed only five character file names...
lbruder··on The future of C# and Visual Basic [video]
What, exactly, is a mess? The language itself, or the project you inherited?
lbruder··on Designing a 68K Single Board Computer
That's why I loved the CBM64 floppy drive. The 1541 didn't have a light barrier to find its base position, so the stepper motor had to move against a physical barrier long enough to ensure it was at a known position. Brrrrrrrrttttt...pkTTTTTTTTRRRRRRRRRRRRRRRRmkkkkkKKKKKKKKKKrtttttt... Loading... Ready. God I miss that sound.
lbruder··on Nexus 6
The main difference is graphics vs text. While bitmaps won't profit from a better resolution, text will. Sharper letters, no more blurring around the edges. It's a big difference in readability.
← PreviousPage 2 of 3Next →