HNHacker News
TopNewBestAskShowJobs

winestock

1,779 karma · joined February 4, 2011

I am an aspiring mathematician and computer programmer.
submissionscomments
winestock··on Enter a pair of names to see if any intersections in the US match those names
There's an entire subdivision in Sterling Heights with several Tolkienesque road names.

https://www.crossing.us/intersections/lorien/elrond

winestock··on Enter a pair of names to see if any intersections in the US match those names
Ann Arbor, Michigan (the location of the main University of Michigan campus) has a Church Street and a State Street, but they do not intersect.

I read a joke that went: In Ann Arbor, separation of Church and State is about three blocks.

winestock··on Bored of the Rings
While we're on the topic of reinterpreting The Lord of the Rings, someone speculated (based only on the texts of Tolkien, themselves) that Tom Bombadil was a sinister character.

The Terrible Secret of Tom Bombadil

Original Post: http://km-515.livejournal.com/1042.html

Hacker News discussion: https://news.ycombinator.com/item?id=9982237

winestock··on Job applicants over 40 filtered out by employers
You don't get too old to be relevant. You get too old to be cheap.
winestock··on Differences between Tmux vs Screen (2015)
All of this goes to show that the Unix-haters were right.

The Tenex line of operating systems from DEC had built-in session management in the 1970s. Unix still doesn't have it. All non-trivial terminal handling was kept in user-space. Therefore, programs had to make assumptions that are now hard-coded in their very design.

To this day, the Linux and BSD kernels assume that they're talking to a VT100 with a few frills. The commercial Unix kernels were worse; I used a SunOS tutorial in the mid-90s that started me off on ed (yes, the standard editor; the man page even called it that without qualification) because Sun started out with an older version of BSD that assumed teletypes.

This has had consequences. The major reason why microcomputers took off was because an Apple ][ running VisiCalc could do things that a terminal connected to a mini/mainframe computer could not do.

Here we are, living in the future, where wristwatches have true color displays, and household appliances run webservers, but the correct, macho, hipster-approved user interface would be shamed by an Amiga 1000.

/rant

winestock··on The Lisp Curse (2011)
My take is that Clojure's community is distinct from that of other Lisp communities.

Old school Lispers are the Jacobites of the Computer Age. Their warnings were ignored, so their nightmares came true; and the world has changed so much, as a result, that few can even imagine an alternative. They were right about nearly everything, and now they are irrelevant.

So pour out a drink for the king over the water and for Genera. Curse this present dark age of bureaucrats and Posix. And then MOVE ON. The Clojurists are the first sizable community of Lispers that has done that.

winestock··on The Lisp Curse (2011)
Because then I'm reminded of all of the other things that have changed in the past five years. The essay needs a post-mortem, not a disclaimer.

Again, it's one of those things that I'll do in my copious free time.

winestock··on The Lisp Curse (2011)
I am the author of this essay and this is the umpteenth time that it has appeared in Hacker News. If you look it up using the Hacker News search function, it even invites readers to beat the dead horse one more time.

I'm surprised that it still gets so much attention. Every few months, someone volunteers to translate it into another language (see the bottom of the page).

I wrote that essay five years ago. Nowadays, just use Clojure or Racket and ignore what I've written.

And yes, I know, I really need to update the design of the site. I wrote it when I was still a rookie web developer. I'm starting a new job so I'll redesign my site in my copious free time.

winestock··on [dead]
American Airlines raises the wages of its employees to the market rate. As a result, investors pull money out of the entire airline industry in anticipation of rising wages everywhere.

Who says Wall Street can't take the long view?

winestock··on The First-Ever Banner Ad on the Web
I remember feeling scandalized the first time that I saw a banner ad on the web. I also remember the epic flame wars on Usenet (sic transit gloria mundi) when Canter & Siegel made the first commercial spam campaign.

At times, I have wondered how much of the Internet would shut down if ads were forbidden. Sometimes, that thought sobers me. Other times, that thought gladdens me.

winestock··on A Mind Is Born by LFT *256Bytes* (C64)
This is a duplicate. The other discussion links to a detailed walk-through of the code by the author.

https://news.ycombinator.com/item?id=14160975

winestock··on A two-button mechanical keyboard that types ASCII values, one bit at a time
This is such a cool hack. I love it. I want to make one, too. This guy is a true hacker.

Now it's time to nitpick. It doesn't seem that there's any way to generate key-codes.

Entering text is nice, of course, but that's not all that a keyboard does. How about cursor control (arrow keys, PageUp, etc.), function keys, or scroll lock?

One can make control-key combinations, but that limits one to what's available in ASCII. For instance, there's no way to distinguish Ctrl-j from the Return key.

That last point brings up something related. In ASCII, the Control key modifies the bit representation of the key pressed. That's why Emacs in terminal mode can't tell the difference between Ctrl-j, Ctrl-J, and Return. In modern user interfaces, the Control and Alt keys are specialized shift keys that let the OS and applications tell the difference.

Of course, one could do the same workarounds that terminal emulators perform, like using escape sequences and such. Then, while using this device, one would have to know the proper sequences for xterm, or vt420, or, or, or…

Still, nice hack.

EDIT: By the way. Some poor lost soul should be forced to use Emacs with this keyboard. Any suggestions on who should be condemned?

winestock··on Improving startup time in Atom with V8 snapshots
And here's a relevant explanation from drfuchs.

https://news.ycombinator.com/item?id=13076098

I quote it in full, here:

OK, if you promise to stay off my lawn, I'll explain the history behind undump. Back in the 70's, the big CS departments typically had DEC 36-bit mainframes (PDP-10, PDP-20) running the Tops10/Tops20/Tenex/Waits/Sail family of operating systems. These are what Knuth used to do all of TeX, McCarthy LISP, and Stallman and Steele EMACS. Not Unix; and Linus hadn't touched a computer yet.

Executable program files were not much more than memory images; to run a program, the OS pretty much just mapped the executable image into your address space and jumped to the start. But when the program stopped, your entire state was still there, sitting in your address space. If the program had stopped due to a crash of some sort, or if it had been in an infinite loop and you had hit control-C to interrupt it, the program was still sitting there, even though you were staring at the command prompt. And the OS had a basic debugging capability built-in, so you could simply start snooping around at the memory state of the halted program. You could continue a suspended program, or you could even restart it without the OS having to reload it from disk. It was kind of a work-space model.

Translating into Linux-ish, it's as if you always used control-Z instead of control-C, and the exit() system call also behaved like control-Z; and gdb was a builtin function of the shell that you could invoke no matter how your program happened to have been paused, and it worked on the current paused process rather than a core file (which didn't exist).

The OS also had a built-in command to allow you to SAVE the current memory image back into a new executable file. There wasn't much to this command, either, since executables weren't much more than a memory image to begin with. So, the equivalent of dump/undump was really just built into the OS, and wasn't considered any big deal or super-special feature. Of course, all language runtimes knew all about this, so they were always written to understand as a matter of course that they had to be able to deal with it properly. It pretty much came naturally if you were used to that environment, and wasn't a burden.

Thus, when TeX (and I presume the various Lisp and Emacs and etc. that were birthed on these machines) were designed, it was completely expected that they'd work this way. Cycles were expensive, as was IO; so in TeX's case, for example, it took many seconds to read in the basic macro package and standard set of font metric files and to preprocess the hyphenation patterns into their data structure. By doing a SAVE of the resulting preloaded executable once during installation, everyone then saved these many seconds each time they ran TeX. But when TeX was ported over to Unix (and then Linux), it came as a bit of a surprise that the model was different, and that there was no convenient, predefined way to get this functionality, and that the runtimes weren't typically set up to make it easy to do. The undump stuff was created to deal with it, but it was never pretty, since it was bolted on. And many of use from those days wonder why there's still no good solution in the *nix world when there are still plenty of programs that take too damn long to start up.

winestock··on Tech’s Wealthy Enclaves Hurt the Country and Tech Itself
In terms of cash flow, the California tech industry is a means of moving money from venture capitalists to San Francisco landlords.

That's right, for all the talk of disruption, innovation, and progressive thinking, the broad outlines of the economic structure of California IT is something that Hillaire Belloc or G.K. Chesterton would've recognized a hundred years ago.

The posted article and the comments in this thread make allusions to President Trump, so allow me to further scare you with this scenario.

Hillary Clinton won the popular vote by ~2.7 million votes in the previous national election, but she won the state of California by 4 million votes. So the entirety of Clinton's lead came from California. Imagine how the Trump administration must think of "the Left Coast." Do you doubt that men like Bannon, Pence, and Sessions have plans for California? Or are trying to get ideas for plans?

Put yourself in their shoes. "How can we divide and conquer California's most important power centers? Hmmm. The H-1B thing got us some votes. Yeah. What else can we do to set those nerds against each other? Hey, there's the fact that tech workers can barely afford rent even when they earn six figures. Let's see…"

Don't forget. Donald Trump is/was a real estate developer. His grasp of issues such as affordable housing must be non-trivial. It's his bread & butter, after all. He made his pile in New York City real estate; not an easy venue. Think of what he could do to the Bay Area with the talent and knowledge earned from that front (plus the incidental help of a few executive orders).

The housing situation in tech centers must be dealt with. If we nerds don't do it, then President Trump will do it for us.

EDIT: Upon re-reading, I see that my tone may seem a little snarky. I apologize. I've given this problem a little thought and I needed to vent.

winestock··on Show HN: A Vim distribution inspired by Spacemacs
There's another distribution of Vim which also claims to be inspired by Spacemacs and is called SpaceVim (not space-vim as in this case).

Homepage: http://spacevim.org/

Hacker News discussion: https://news.ycombinator.com/item?id=13315845

winestock··on The UBI already exists for the 1%
Two points.

First, income from rent (say, for real estate) isn't divorced from work. The landlord has to make some arrangements for the upkeep of the property. The renter, by virtue of being a renter, can't be responsible for everything. If nothing else, the landlord must make and maintain a business relationship with a property management firm.

Second, critics of universal basic income have not neglected to note the destructive effects of the lack of useful labor among the upper classes. The decadent aristocracy has been a trope in fiction, history, and priestly sermons for ages.

Anti-Enlightenment scholars and traditionalist Catholics have pointed out that the nobles in the Vendee worked the fields much like the peasants. The nobles had more land and better land, but not extravagantly more. The Vendee and Brittany launched the counter-revolt that nearly ended the French Revolution. It was the provinces whose nobility were busy buggering mistresses in Versailles and Paris that fell most easily to the Jacobins.

winestock··on Mainframes as a lifestyle choice
Aside from embedded systems, mainframes are the natural state of computers. That is, over time, computers tend to converge on either embedded controllers for appliances, or big racks in back rooms doing big calculations.

http://www.winestockwebdesign.com/Essays/Eternal_Mainframe.h...

Plug: I wrote the above.

winestock··on Spain Runs Out of Workers with Almost 5M Unemployed
Check out this little gem from the article:

“Education and work exist in two alternative worlds that don’t really connect,” Gomez said. “While in other nations, like the U.S., college education is designed to get you a job, that’s not the case in Spain.”

This may be a case of "the grass is always greener on the other side of the hill."

winestock··on Spain Runs Out of Workers with Almost 5M Unemployed
From the article:

"Pimentel’s client asked him for list of candidates trained in “Agile” project management techniques for helping companies boost their productivity by using more I.T. systems. The client was offering as much as 200,000 euros ($220,000) a year -- almost 10 times the average salary in Spain."

So they're willing to pay ten times the going rate, but they're not willing to take the time to train anyone?

But wait; there's more!

"But such people are thin on the ground in Spain. It takes at least eight months for an experienced software developer to earn an Agile qualification and they also need the ability to deal with senior executives, limiting the pool of people who could potentially fill the roles."

Again, note that they're willing to pay ten times the going rate, so training them for eight months and then paying them the regular wage would pay for itself after a few months on the job; but they still won't train. More importantly, look at the part which I italicized. Dealing with senior executives takes special skill? I am but a lowly suburban nerd, and the ways of my betters intimidate me, so could someone enlighten me as to what that journalist is talking about? I have a sneaking suspicion that Clay Shirky knows.

http://www.shirky.com/weblog/2013/11/healthcare-gov-and-the-...

"Back in the mid-1990s, I did a lot of web work for traditional media. That often meant figuring out what the client was already doing on the web, and how it was going, so I’d find the techies in the company, and ask them what they were doing, and how it was going. Then I’d tell management what I’d learned. This always struck me as a waste of my time and their money; I was like an overpaid bike messenger, moving information from one part of the firm to another. I didn’t understand the job I was doing until one meeting at a magazine company.

"The thing that made this meeting unusual was that one of their programmers had been invited to attend, so management could outline their web strategy to him. After the executives thanked me for explaining what I’d learned from log files given me by their own employees just days before, the programmer leaned forward and said “You know, we have all that information downstairs, but nobody’s ever asked us for it.”

"I remember thinking “Oh, finally!” I figured the executives would be relieved this information was in-house, delighted that their own people were on it, maybe even mad at me for charging an exorbitant markup on local knowledge. Then I saw the look on their faces as they considered the programmer’s offer. The look wasn’t delight, or even relief, but contempt. The situation suddenly came clear: I was getting paid to save management from the distasteful act of listening to their own employees."

EDIT: formatting

winestock··on Xterm(1) now UTF-8 by default on OpenBSD
Three years ago, I wrote a review of three programs that simulate a Compose key on Windows. I included some history behind that key, as well.

https://windows.appstorm.net/roundups/utilities-roundups/add...

winestock··on The Lisp Curse (2011)
When I wrote this essay, Clojure was beginning to show its chops. You're right, the success of Clojure has made Lisp armchair theorizing obsolete. I'm a little tired of the essay, but I keep it up because I still get e-mails praising me for it (cf. the volunteers who made translations linked at the bottom of the page).
winestock··on The Lisp Curse (2011)
For now, yes. My life has taken some unexpected detours, these past few years, so I have to focus on work rather than inspiration.
winestock··on The Lisp Curse (2011)
I'm the author of this essay. This must be at least the third time that it has appeared on Hacker News. I'm starting to get sick of it, myself, but I keep it up because so many people like it (at the bottom of the page, you can see the translations; all done gratis by volunteers).

I wrote it during a period when I was especially fascinated with Lisp and got caught up in the theorizing to which the Lisp community can be prone. Nowadays, I freelance in front-end web development and doing Lisp hacking is something that I put on the back-burner.

winestock··on Software “detects CEO emotions, predicts financial performance”
If this works on CEOs, then it would work on, say, the chairman of the Federal Reserve, or the heads of other central banks. Predictions gleaned from that data should be much more lucrative.

With higher stakes come greater incentives for counter-measures.

winestock··on Tidalscale, a hypervisor that allows a single OS to run across multiple servers
How does this compare to the clustering capabilities of VMS? If I remember correctly, a VMS cluster can make several physical computer behave like one logical computer with multiple CPUs and disk packs.
winestock··on Another Vietnam – Unseen images of the war from the winning side
Here are some reasons why people believe those things.

First off, in the context of the Vietnam War, VC stands for Viet Cong. I think that you mean North Vietnam, instead, because the Viet Cong were spent as a fighting force after the Tet Offensive. Thereafter, the Vietnam War was mostly a fight between regular armies.

In 1969, Richard Nixon began a modest pull-out of US troops from Vietnam.

In 1972, North Vietnam invaded South Vietnam with 150,000 troops. They had support from the Soviet Union in the form of tanks. Lots of tanks. Zhukov would've been proud of that force. South Vietnam defended themselves with help from the United States in the form of air support.

Result: Fewer than 50,000 North Vietnamese soldiers made it back North. American KIA: 650.

Perhaps not coincidentally, peace talks improved for a while before breaking down in mid-December 1972. Nixon then ordered North Vietnamese cities to be bombed for eleven days (the "Christmas Bombings"). Perhaps not coincidentally, peace talks resumed. On January 27, 1973, both sides agreed to a cease fire, America would withdraw all of its forces, all POWs would be released, and South Vietnam would remain independent (of the North). By the end of 1973, all US troops were gone.

Being a bunch of communists, the North Vietnamese lied about their end of the deal. How's that for fair and square? They kept fighting to subjugate South Vietnam with the full support of the Soviet Union. South Vietnam fought on with aid from the United States... until August 1974 (thanks, Congress!).

So, strictly speaking, America didn't lose the Vietnam War in much the same way that tomato is a fruit and not a vegetable. See? History can be complicated.

As for "doom predictions of the time," well, North Vietnam proceeded to aid communists elsewhere in Indo-China, just as the war hawks predicted (cf., Domino Theory: http://thevietnamwar.info/domino-theory/ ) By 1975, Cambodia and Laos had fallen to communist insurgents. In all of these places, they instituted revolutionary socialist reforms to overturn the legacy of foreign colonialist occupiers. These reforms so impressed the locals that more than a million of them took to the high seas in hand-made boats in order to return to those self-same "occupiers."

Here, in America, we have a number of Vietnamese neighborhoods made up of those people and their progeny. The grey hairs among them would take issue with your evaluation of modern Vietnam as "a functioning state."

http://ngothelinh.tripod.com/50_years_communist_crimes.html

winestock··on Pymux: a tmux clone in pure Python
>What ever happened to the Unix principle of doing one thing and doing it well?

Rob Pike has the answer for you. http://interviews.slashdot.org/story/04/10/18/1153211/rob-pi...

A Slashdot user named sczimme asked Pike this question: Given the nature of current operating systems and applications, do you think the idea of "one tool doing one job well" has been abandoned? If so, do you think a return to this model would help bring some innovation back to software development?

Rob Pike's reply was: Those days are dead and gone and the eulogy was delivered by Perl.

winestock··on Teach Yourself Logic 2016: A Study Guide [pdf]
While writing a reply to you, my comment went to five paragraphs before I realized that there was no end in sight. I'll keep it short.

Any "comeback" of Aristotelian logic is slow in coming. What I see happening is that modern logicians take those old criticisms seriously and are addressing them. See quantified modal logic for an example.

winestock··on Teach Yourself Logic 2016: A Study Guide [pdf]
I'm studying logic, myself. I'm about halfway through Sweet Reason, by Henle & Tomoczyko. Anyone who wants to study logic owes it to himself to become familiar with traditional Aristotelian logic as well as modern symbolic logic.

Henry B. Veatch is one author to look up on this (if you can find affordable used copies of his works). The principle textbook for traditional logic that's still in print is Socratic Logic by Peter Kreeft. Be aware that he is sharply critical of symbolic logic. It's good to be aware of the issues involved; in particular, the paradoxes of material implication. When symbolic logic was being developed, many of its supporters looked disparagingly on traditional logic. Few logicians take that view, anymore.

Symbolic logic won the fight, but traditional logic won the argument. By the former, I mean that symbolic logic is taught nearly to the exclusion of traditional logic. By the latter, I mean that the objections made by the old guard are seen by everyone as valid and are being addressed by the new logic. For example, in traditional logic, the conclusion follows with real necessity from the premises as an effect follows from a cause. Modern logic has revived the study of modal logic in order to deal such things as necessity and possibility.

Furthermore, while symbolic logic is superior for mathematical proofs and technical philosophy, traditional syllogistic logic is better suited for everyday life and verbal arguments; it is the Newtonian mechanics of logic.

winestock··on Commander One – Dual Pane File Manager for Mac
The best two-pane file manager on any platform remains Directory Opus.

http://www.gpsoft.com.au/

It got its start on the Amiga and is now Windows-only.

Full disclosure: I wrote a review of it on another site two years ago.

Page 1 of 9Next →