HNHacker News
TopNewBestAskShowJobs

citrusx

125 karma · joined June 26, 2015

submissionscomments
citrusx··on Spike mutation pipeline reveals a more transmissible form of SARS-CoV-2: study
https://gizmodo.com/what-to-know-about-that-new-paper-claimi...
citrusx··on Google Wave’s failure is a lesson for modern real-time collaboration tools
I think it was pretty clear that Wave wasn't going to take off as a replacement for email (or, much else) once the fifth or sixth person asked how you could "make a wave send you a note in gmail when it updated".
citrusx··on Universal health care: will people finally get it?
What I've ultimately discovered is that the only time people enter "Can we afford it?" into the discussion, it's because they're looking for an excuse for it not to happen.

Try taking a close look at how the US budget actually breaks down. It's quite a task since it's an enormous budget. But, if you boil it down to a pie chart, you'll find that we spend an absurd amount on "defense", most of which is wasted. You'll also find that Congress will routinely spend enormous sums of money - in the trillions - on things that aren't health care (e.g. wars & combat, economic bailouts, etc.), without ever asking how it can be afforded, and it doesn't cause the whole system to come crashing down.

It's about priorities, and finding legislators to elect who share the correct ones. I believe that we'll get there, slowly, one funeral at a time.

citrusx··on How I survived being a $220k/year intern
The key ingredient, which you certainly had and the author didn't, was buy-in from an authoritative level of management. Yes, put in the work and it's possible... as long as the VP doesn't shut it down.
citrusx··on NFL Has a GitHub Page
Seconded! react-helmet is some terrific work.
citrusx··on Mozilla Intends to Deprecate OpenSearch
I wonder if it's possible to write one extension using WebExtensions, which does a better job supporting OpenSearch? I know that WebExtensions is limited, but all one would need to do is read the OpenSearch data, store it somewhere for later recall, and open up some path in the ui to search on a site that we stored the info for. And, of course, launch a tab with the results in it.

Sounds like a nice little side project.

citrusx··on How to Lose a Third of a Million Dollars Without Trying
tl;dr: An author (and, not an especially good one) is willfully irresponsible in spending her large publishing advance, and blames absolutely everyone except herself.
citrusx··on XLOOKUP for Excel
So, is this on the roadmap for LibreOffice yet?
citrusx··on Some items from my “reliability list”
In my opinion, a rejection is an expected outcome, and therefore should have a response code of 200. You're not asking, "Does this card exist?", and sending a 404 if you have no record. You're asking a remote system to do a job for you, and if that job completes successfully, it's a "Success" in the HTTP world.

At that point, you rely on the body content to tell you what the service correctly determined for you. A result that the user doesn't like is way different than a result that comes about because something was done wrong at the client side (4xx) or a failure on the server side (5xx).

citrusx··on Ask HN: What do you do on an Android phone that cannot be done on an iPhone?
I like to customize my phone to be exactly what I need from it.

Things I do that are only possible in Android: 1) I script some behaviors using Tasker. One example is that I have a script that takes it out of vibrate mode and turns on the ringer if I'm home (GPS), the phone is plugged in, and it's between the hours of 9am and midnight. 2) This requires root, so it might not be worth the trouble for you, and it's not available on every phone. But, I've managed to make my default home screen completely blank. My primary "launcher" is an app called "Pie Control", which doesn't appear unless you touch an area of the screen, which you can set. I can also swipe up to get a screen with all of my apps - The default behavior of Nova Launcher.

It's not just customization. Really, the sky is the limit when it comes to what you want the phone to do. With an iphone, the limit is the constraints of Apple's design.

citrusx··on Ask HN: Do you use automated tools to create APIs, or do you code them manually?
I prefer to write them by hand. Most APIs, to start, don't have a lot to them. They tend to grow in scope over time. So, it's pretty easy to just throw together your initial idea, and incrementally grow it from there.

I might think differently if confronted with a huge API surface area to build off the bat, but I haven't run into that yet.

citrusx··on Atom 1.36
I think you'll find that it's easier to do in Atom. However - Atom's API is also probably easier to shoot yourself in the foot with.

Maybe try getting started on both, and see which one is easier or more comfortable?

citrusx··on Atom 1.36
Two things about VSC, in comparison to Atom, that are Done Wrong: 1) Extensibility. There's like a dozen times more friction involved in creating a plugin for VSC than for Atom. Atom was built to be as easy to change as a web app. They also created apm, which is sort of a clone of npm, for installing plugins. 2) Configurability. I can set personal keyboard shortcuts very easily, and in a way that's easily transportable between installations. I can create a new theme in minutes. Also, the way it handles the config for individual packages is well thought out. Plus, I can tarball my packages directory, extract it to a new machine, and it's basically ready to go with everything.

It's very possible for VSC to improve in these areas. In fact, I'd love to see an "Atom mode" that changes the UI/UX to more closely resemble Atom (and, somewhat by extension, Sublime). You laugh, but there's a reason that every editor takes a swing at a "vim mode". People get comfortable with the aesthetics of their tools.

citrusx··on Ask HN: Is all programming constantly changing or just front-end JavaScript?
You know, if you look at the current timeline, you'll see that much of the "JS churn" has basically stopped. I mean, yeah - people are trying new things, and products are being maintained. But, the landscape today is really very similar to what it was a year ago.

Yeah, there was a sort of "golden age" of innovation where we went from jQuery -> Angular 1 -> React, with Elm, Ember, and Angular 2+ as sidecars. And, the common libraries and tools have also slowed down in the same way.

We've finally solved a lot of the big problems, I think. Advancement will never end, but I think we'll be able to keep up with it from here on out.

citrusx··on Ask HN: Is jQuery on its way out?
There will always be a use for jQuery. Just not every use. If you're looking to make simple, imperative changes to the DOM in a web page, and not worry about what browser it's happening on, it's still the go-to choice.

Yes, you can use the native API for some of what jQuery does. but, don't let anyone here fool you - the full API of jQuery has not been completely replaced by the "vanilla" API. And, jQuery's API is still much better designed.

Now, if you're building something Very Large, you don't want to lean on jQuery alone. If you're using a framework whose footprint includes what jQuery does (anything with a virtual DOM and automatic updates, for example), then there's no point in also using jQuery.

There's room for all of the tools. Use the right one for the right job. Do enough front end development, and you'll know which one to pull out when you need it.

citrusx··on Ask HN: Can you actually get a dev job without doing a stupid quiz?
I'm going to second that. I don't ever consider CTH, and there's a pretty strong body of programmers who feel the same way. There's too much risk in it.
citrusx··on Sundar Pichai Should Resign as Google’s C.E.O
So, only about 7800 people is all?
citrusx··on Ask HN: What business can I create around avid readers and book lovers?
I hate to say this, but the startup graveyard has a really huge section filled with every company who has tried to do this kind of thing. you feel like there should be a way to improve on something that people are already passionate about, and that would naturally lead to high adoption. But, a lot of great attempts have just never gotten peoples' attention.

What's more, all the things that obviously would make money are probably already saturated by something that Amazon does.

It's a real shame.

citrusx··on Show HN: Decaffeinate converts CoffeeScript projects to modern JS
They're going to have to support it in perpetuity, most likely. There are too many packages written in CS, which are relied on, and which are not really maintained so much.
citrusx··on Ask HN: How many are 30+ years and still active programmers?
45, and still going.

I'd ask an opposite sort of question: How many 30yo+ senior developers does your company employ? If none, then why not?

Wisdom is in ever shorter supply in technology. Frankly, having people with deep experience on hand is a source of competitive advantage.

citrusx··on Ask HN: Is there a sane alternative to Angular and React?
So, one might ask, "Why do we have these frameworks, anyway?" Well, they're attempts to introduce sanity to the discordant relationship between HTML/CSS as a "Read a remotely stored document" system, and the desire to make the web browser into a fat client for every type of network-distributed application. Ever since "Web 2.0" was a thing, we've been trying to fit this round peg of delivering complex apps into the square hole of the web browser. Sometimes, we do a decent job. But, as we try to handle more total stuff, all of the moving parts overwhelm us.

With all that in mind, I think that we shouldn't blame "insanity" on the very tools that have been employed to control insanity. If anything, such a viewpoint tells us that maybe the attempts of today aren't the full answer, so there will be more tries tomorrow.

I'll leave you with these things: 1) If the only thing you're doing is creating a web page that serves as a thin visual layer over REST- or CRUD-based services, consider going back two generations to Backbone. Seriously. It does a few simple things for you, and lets you handle the rest in any way that you see fit. Those simple things may be the only thing that your app does. I suspect that this would be true for half of Silicon Valley. But, it goes against the constant pursuit of the new and shiny.

2) If your browser does more than just send a few CRUD commands from the user to a server, then maybe it's time to look into what's good about these frameworks, instead of just considering them "insane". Everyone has their own good parts and pain points to be addressed, and all these tools were built with the best of intentions, to solve specific classes of tough problems, which may happen to be yours. Look at the success and failure stories, and see who's happy with their decisions about their tools, and which problems were solved with what framework.

3) For those people telling you "just use vanilla JS", I'll leave you this: Any sufficiently complicated vanilla JS program contains an ad-hoc, informally-specified, bug-ridden, slow implementation of half of Angular or React.

citrusx··on Ask HN: Is there a sane alternative to Angular and React?
Obligatory counterpoint: http://reasonablypolymorphic.com/blog/elm-is-wrong
citrusx··on Ask HN: Should I apply for jobs that I don't fit 100%
Absolutely. I can tell you from experience, on both sides of this fence, that hiring managers ask for the moon, and rarely get everything. But, that's not the point. A manager wants staff that can do the job as necessary, and you can prove that you're able to during interviews - even if you only match a few of the "bullet points" in the hire req.
citrusx··on Ask HN: Which Berkeley Courses Should I Archive?
I really hate to say this, but I think that the "darkening of the net" is the intent. There are far too many people there who subscribe to the "Deaf Persons as a separate race" idea, and look at sticking a thumb in the eye of the non-deaf to be a Good Thing.

I really hope I'm wrong.

citrusx··on Ask HN: What is the worst software that you have to use?
For anyone ready to hate on JIRA, spend some time using VersionOne instead. It'll take a week for you to want to run back to JIRA, screaming.
citrusx··on Ask HN: What is the worst software that you have to use?
You know, I spent a lot of profitable years building apps on top of Notes/Domino during the height of its existence. And, I have to say - for all its flaws, quirks, and limitations, there was no faster way (except perhaps Delphi?) to get small, simple, and highly business-specific internal apps done in a large organization. The reason was that it was totally batteries-included. You had authentication, authorization, a decent NoSQL database (it was the inspiration for CouchDB, if you weren't aware), two (eventually three, when Java was added) languages for writing apps (one of which was kind-of functional), local and server-based event buses, full-text search, integrated email... The list keeps going.

So, yeah. People hated using it for email. More than once, I built a better email client for it, and people were suddenly a lot happier with it. There wasn't as much that I could do for the calendar app, which had serious core deficiencies.

To be honest, I never understood all the hate, though. Don't get me wrong - no one knew where it was lacking better than I. And, it's been a "dead" product for many years; it would be silly to ever recommend it now. But, executives who never had to even touch the thing would enter a company, and declare that, "We MUST move from this to Microsoft products!" And, the alternatives would always be far worse. (Think Sharepoint, for example.) I'm not even sure that google's productivity products are that big of a step better.

Notes solved a lot of hard problems for large organizations, all at once. It wasn't pretty, not was it ever really that fast. But, it enabled business - particularly non-tech business - the ability to automate things in the blink of an eye, for instant improvement.

I think that we could all learn a thing or two from looking at why it was so popular in its day, and maybe keep just the good parts in what we do.

citrusx··on Ask HN: Should I learn Bootstrap 3 or 4 at this moment?
Another vote for "Consider alternatives".

I happen to like Semantic UI a lot, but you can also consider something smaller and less proscriptive than Bootstrap, like Skeleton or UIkit.

citrusx··on Ask HN: Should I invest time on mastering the command line or the Jetbrains IDE?
If those are my choices, then I vote for command-line, hands down. I've been doing this stuff for 20+ years, and if there's anything I've seen in this business that has remained constant, it's unix-ish shells and the presence and usefulness of vi.
citrusx··on Ask HN: Is jQuery still a thing?
Here's what I tell my devs:

Yes, "you might not need jQuery". But, the first time you have to log real hours fixing a cross-browser bug that the jQuery team already took care of, I'm fucking firing you. Choose wisely.

citrusx··on Tabs or spaces – Parsing a 1B files among 14 programming languages
`git diff -w`
← PreviousPage 2 of 3Next →