Live data from Hacker News

Hyper 1.0.0

github.com

121–130 of 214 posts

Re: Hyper 1.0.0

#121

And I was hoping that was referring to this hyper: http://hyper.rs/

I also came here hands shaking thinking "YES YES FINALLY". Was a slight disappointment. Well, take your time to get it stable. :)

Re: Hyper 1.0.0

#122

Earlier quoted context omitted.

It makes sense because JavaScript has, through several bizarre turns of events, become the language du jour , which means all sort of clueless people are falling over themselves to abuse it in increasingly convoluted ways, so that the clueless people in corporate HR who've been told "We need someone who is a JavaScript rockstar!" can be wowed by the description of some nightmarish contraption that "really takes insan…

JavaScript has become the PHP of ten years ago. Runs everywhere (client and server), is the language picked up by beginners, and is abused to fit every square peg into a round hole.

Can't wait for the general sentiment to turn to match. Whereas PHP has been sneered at by non-PHP devs since time immemorial, JavaScript is seeing widespread uptake by supposedly "senior" people across the spectrum.

I've asked several of these people to explain the attraction (one of whom had a fascination with the even-worse CoffeeScript) and thus far I have not really come across a satisfactory explanation. To me, JavaScript is still the language you only use when you have to because it's the only runtime the browser vendors will embed.

Re: Hyper 1.0.0

#123
This is really cool and it's clear that a lot of work went into it. I've used it a bit and it's generally solid.

I've been looking for improved terminal clients for years. To that end, I have a simple benchmark that I run:

    find / 

Then repeat the same within a tmux session. In both cases I check to see if I can interrupt the output with Ctrl+C.

Hyper on linux under X actually stops rendering the output very quickly, but all subsequent input is ignored. The tmux case was the same. In addition, CPU usage spiked to 2 procs each @ 100%. Interrupting the shell was not possible with Ctrl+C or other means, though I was able to `SIGKILL` it.

This particular test is my personal benchmark of whether I can use a terminal - because nothing is more frustrating than having to kill an entire session because of a typo or bad command that generates a lot of output. Too, clients that struggle with this also have a tendency to slowly render changing curses layouts on large terminals - such as when resizing tmux panes, or rendering large amounts of scrolling content in a sub-region of the terminal.

This is a simple case, and many native clients struggle with it as well. So far, although it's not my most-favorite to use, `konsole` is the only one that handles this well.

Re: Hyper 1.0.0

#124

I'm skeptical of the value of electron-ified applications when fully native alternatives suffice. However, ignoring that, there are a few (pretty severe) problems with this release: * The .deb package seems to install everything in /opt. This seems to be pretty common practice for electron apps and isn't a huge deal, except for the fact that a wrapper executable/link isn't installed anywhere else on the system. As a…

> The .deb package seems to install everything in /opt Hm, just like another commonly installed package... $ ls /opt/google/ chrome chrome-beta chrome-unstable Though it installs executables $ ls -l /usr/bin/google-* /usr/bin/google-chrome -> /etc/alternatives/google-chrome /usr/bin/google-chrome-beta -> /opt/google/chrome-beta/google-chrome-beta /usr/bin/google-chrome-stable -> /opt/google/chrome/google-chrome /usr/…

Which is exactly what GP mentioned. Although using `/opt` to begin with is an anti-pattern in all cases including Chrome.

Re: Hyper 1.0.0

#125

I tried hyper a week or two ago. It's fun and nice... zippy enough in everyday use and fairly pretty. But I had problems pasting commands into it, and it seems incapable of remembering multi-window layouts between sessions. But, everybody has their own list of must-haves and deal-breakers. I'm sure hyper 1.0.0 does enough for a significant number of people out there. Congrats to the team.

I've been using it since I saw this post. Impressions so far: 1. It's actually not that zippy. Do a "find /" and watch it lock up. 2. Rendering is very glitchy. Resizing the window seems to cause all hell to break loose for me and I have to restart to get things working again. 3. There are hot key problems. Sometimes hot keys (i.e. COMMAND-1 open tab 1, COMMAND-2 open tab 2) don't work, sometimes they do. Clicking in…

Yeah, it's pretty sluggish rendering my fullscreen tmux session with three panes and six vim splits.

It also doesn't seem to recognize my alt+h (j/k/l) shortcuts to switch tmux panes, just prints odd characters in the terminal.

Re: Hyper 1.0.0

#126
post #21

Earlier quoted context omitted.

> But I've given up at aiming at perfectionism in programming. Optional typing is the sweet spot.

I agree, the next missing bit is runtime structural typing (not optional of course) that allows constructs like: ``` const whatIsFoo = match (foo) { case : nil : "nothing, really" case : string : "it's a string" case : number | boolean : "it's bool or number" case [ head, ...tail ] : string[] : `it's array of strings with head ${head} and tail ${tail.join(', ')}` case { value } : { type: 'NodeFoo' } : `it's Node Foo…

If only there were a decades-old system that allowed that[1]

1: https://en.wikipedia.org/wiki/Common_Lisp_Object_System

Re: Hyper 1.0.0

#127
post #124

Earlier quoted context omitted.

> The .deb package seems to install everything in /opt Hm, just like another commonly installed package... $ ls /opt/google/ chrome chrome-beta chrome-unstable Though it installs executables $ ls -l /usr/bin/google-* /usr/bin/google-chrome -> /etc/alternatives/google-chrome /usr/bin/google-chrome-beta -> /opt/google/chrome-beta/google-chrome-beta /usr/bin/google-chrome-stable -> /opt/google/chrome/google-chrome /usr/…

Which is exactly what GP mentioned. Although using `/opt` to begin with is an anti-pattern in all cases including Chrome.

Which is exactly what I mentioned. Are we looking for a disagreement?

Re: Hyper 1.0.0

#128

Earlier quoted context omitted.

JavaScript has become the PHP of ten years ago. Runs everywhere (client and server), is the language picked up by beginners, and is abused to fit every square peg into a round hole.

Can't wait for the general sentiment to turn to match. Whereas PHP has been sneered at by non-PHP devs since time immemorial, JavaScript is seeing widespread uptake by supposedly "senior" people across the spectrum. I've asked several of these people to explain the attraction (one of whom had a fascination with the even-worse CoffeeScript) and thus far I have not really come across a satisfactory explanation. To me,…

I've asked several of these people to explain the attraction

http://quoteinvestigator.com/2013/02/10/where-money-is/

Javascript is a "workable" or "decent" language, and it happens to run where the users are. This is also a large part of why C++ was a success and C before it.

Re: Hyper 1.0.0

#129
post #99
post #19

Earlier quoted context omitted.

Also try `yes` in Hyper, see what happens.

Note, don't actually try this as it will lock up Hyper and you'll have to force quit it.

The benefits of your terminal emulator allocating a new DOM element in a web browser for every line of output. You can also watch Hyper's memory use climb up at a constant rate

Re: Hyper 1.0.0

#130

OK, I just installed it on Windows. Right out of the box, it does not recognize ctrl+c. What am I supposed to think about the quality of this? (I literally have not tried a single other thing. I made a typo on the very first command I wanted to try. I tried ctrl+c to start over, and it did not recognize it.) EDIT I gave it another chance. If I start a bash shell, it recognizes ctrl+c, but it does not recognize the up…

it's probably related to your 2 edits solely about being downvoted
Post reply on HN