HNHacker News
TopNewBestAskShowJobs

ryl00

283 karma · joined March 25, 2017

submissionscomments
ryl00··on Tesla’s Touchscreen UI: A Case Study of Car-Dashboard User Interface
Probably better to just completely disable most functionality when the car is in motion; that's what my non-touchscreen UI does in my car.
ryl00··on “Python's batteries are leaking”
> When Python's standard library was first being written, there were no easy package managers for any language

Wasn't perl's CPAN developed around that time period (mid '90s) ?

ryl00··on Things to use in Python 3
Is that really PHP's, though? It's been in shell scripts and perl for quite a while...
ryl00··on Python overtakes JavaScript as most questioned language on StackOverflow
For perl, a lot of my searches end up at perlmonks. A lot of great answers for more arcane :) perl.
ryl00··on Crystal 0.28.0 Released
> Python mostly scratches that itch for me, but even there it has multiple methods to do the same stuff within the standard library, like list.sort() and sorted(list)

There's also the list vs tuple thing. I can understand it from an efficiency point of view, but it isn't as consistent as just having one such data structure (e.g., a perl array)

ryl00··on I got tired of PHP and Perl, so I tried bash
Learning perl first stunted my bash knowledge; I'm very, very quick to bail into perl at the first sign of difficulty. :)
ryl00··on Ask HN: Which great products didn't succeed?
Flat/Metro UI, live tiles, jump lists, dark mode. (I'm still using mine as a daily driver)
ryl00··on What causes Ruby memory bloat?
Some of us still are. And not just because of memory. :)
ryl00··on Ask HN: What made you change your mind about a programming language/paradigm?
But doesn't the whitespace issue gimp Python's lambda syntax? AFAIK you're limited to one expression or function call, to get around the fact that you can't just inline a completely new function (with its associated control flow structure).

And what about one-liners, a la Perl? Stack Overflow answers seem to imply either embedding newlines in your string, or using semi-colons (as a Python newbie... you can use semi-colons?!)

ryl00··on What you need may be “pipeline +Unix commands” only
This is exactly where perl (namely, perl -ne) is so very, very useful.
ryl00··on GNU Octave 5.1.0
"Not uncommon" is an understatement. In some workplaces, Simulink is as pervasive and core to engineering as Excel is to the business world in general.
ryl00··on I Ditched My Phone and Unbroke My Brain
Are you me? :)

With my Windows Phone I am immune from websites continually trying to push me to use their app ( take that, reddit! ;) ).

And it makes a great smartphone for my son... just enough capability to stay connected, but a lot of distractions are just not possible to indulge in...

ryl00··on C++20 Design Is Complete: Modules, Coroutines in C++20
An IT department that controls compiler upgrades, in my case :/. We're still stuck on not-quite-C++11 because we're still stuck on g++-4.3
ryl00··on Why Julia
Ada?
ryl00··on Practical Go: Real-world advice for writing maintainable Go programs
Driving across the Pacific anytime soon? :)
ryl00··on Google+ for consumers will shut down on April 2nd
reddit?
ryl00··on For First Time in More Than 20 Years, Copyrighted Works Will Enter Public Domain
> This stuff is almost 100 years old. It was written for a society very different from our own.

Different, yet still the same in many important ways. If this means great things like Harold Lloyd's seminal comedy Safety Last! will now be freely available, we've all won something...

ryl00··on Google isn’t the company that we should have handed the Web over to
> Today, Chrome isn't the best and doesn't come bundled with devices,

I think you're forgetting the largest smartphone OS on the planet there. :)

ryl00··on Scripting API now in public beta
Roblox seems to have a pretty good Lua mod ecosystem.
ryl00··on The C++ Build Process Explained
> I want it all, I want to have my cake and eat it too.

Conceptually this should be possible with some preprocessor/header tinkering; something like:

private.h:

  struct Bar {
    double x;
    double y;
  };
  #define BAR_DEFINED
public.h:

  #ifndef BAR_DEFINED
  struct Bar {
    char opaque[16];
  };
  #endif

  struct Foo {
    Bar bar;
  };
consumer.cpp:

  #include "public.h"
private_implementation.cpp:

  #include "private.h"
  #include "public.h"
ryl00··on Why I'm Ditching Android
I ditched Android 2+ years ago for... Windows Mobile. :)

While I did so for purely financial reasons (Microsoft was in the process of bailing out, so was putting their stock on fire sale and I couldn't resist, ecosystem disadvantages notwithstanding), I've come to appreciate the design and will be sad once I have to leave (I'm still using a Windows 10 Mobile Alcatel IDOL 4s as my daily driver).

To me, Windows Mobile had some of the best parts of Android (hardware variety) and Apple (regular OS/security updates for all).

ryl00··on The Missing Computer Skills of High School Students
I'm not surprised, given the power of the CLI and the composibility of tools like grep, awk, sed, find, etc. IDEs are great, but sometimes what you need to do just isn't already defined in a GUI checkbox or menu item...
ryl00··on What are some Unix design decisions that proved to be wrong or short sighted?
I'd imagine having to maintain last-access time on files can be constraining for filesystem performance.
ryl00··on Proposal: Go 2 transition
Reports of perl's death are greatly exaggerated.
ryl00··on Perl 11
> Mentally switching into "perl" mode to work on these projects requires tons more effort then switching between our other Bash/PHP/Puppet/Python

That's surprising to me. Bash, PHP and perl seem to be closer to each other than any of them are to python. For example, the use of sigils ($var) for variable names in Bash/PHP/perl.

ryl00··on Perl 11
I blame my rudimentary knowledge of sh on perl... As soon as the going gets tough when I'm writing sh, I immediately bail into perl. :)
ryl00··on Repair is as important as innovation
I think it depends. We recently had an issue with our fifteen-year-old Kenmore dryer not heating anymore. A little scouting around showed new dryers around the $500 mark, so I decided to do a little more research into diagnosing what might be going on, before just buying a replacement.

Fortunately the online Sears parts outlet has a great DIY video section that helped me use my very rudimentary multimeter skills to pinpoint the issue to a bad heating element. $50 later and we have a working dryer again (and I'm not so mystified by my dryer anymore :) )!

ryl00··on Responder: A familiar HTTP Service Framework
> Sort of what people used to use Perl for.

Used to? People still do this (I should know; I'm one of them).

ryl00··on Larry Wall's Very Own Home Page
Perl is still my goto language for scripts. It all depends on what you're used to.
ryl00··on What are some things that only someone who has been programming 20 years knows?
I work with a lot of numerical code. Fortran's not going away any time soon.
← PreviousPage 3 of 4Next →