News for hackers. Stuff that matters.

SaladFork

The biggest request I have of JIRA aside from performance is that whatever markdown/markup language you choose, that it be consistent across the entire product.

It is so frustrating to have to remember to use double-curlies for inline code/pre sometimes, and backticks other times. In each case, the other doesn't work. More than once using one has resulted it rendering correctly on the immediate page but not on the next.

This is one I encounter regularly but is far from the only inconsistency in support.

Re:If-then-else had to be invented on Sunday December 13, 2020 @11:26AM (#25407658)
This was presented by the author at !!Con West 2019:

  https://www.youtube.com/watch?v=4A94JsWTXXw
Re:How HN crushed David Walsh's blog on Thursday October 29, 2020 @10:49AM (#24931044)
Especially given the domain is davidwalsh.name, and the article isn't on a subdomain or subdirectory or anything, this is all the more confusing.
Re:Luna – Cloud gaming service on Friday September 25, 2020 @10:27AM (#24590117)
Also going to sound like an ad, but I stream PC VR from a cloud Shadow PC to my Oculus Quest over 5GHz Wi-Fi (effectiveness is really dependent on your proximity to their data centers) but it is really remarkable how effective it is. It is more lag than streaming from a local PC but not to the point where most games are unplayable. I can also play the same games with the same saves from my phone with their app using a Bluetooth-paired gaming controller. Couldn't be happier with their service.
Re:iOS First Impressions (2018) on Tuesday January 28, 2020 @10:07AM (#22170028)
> Interesting comment about the blue iMessage bubbles. I've definitely heard of it, and have seen the memes on the internet, but have never actually met anyone that cared about the _color_.

The color is used as a proxy to discuss the functionality. "Chatting blue" is more about the features that come with it than the actual bubble color, though the latter is easier to mention quickly.

Personally I've been surprised what an impact even just a now-typing indicator has on the conversation and find "green" conversations can feel a lot more disjointed.

I am more bothered about the hiding of the URL to some weird breadcrumb-y structure than the showing (now re-hiding?) of the favicon. Gave DDG a try and don't see myself switching back.
Re:MirageJS: An API mocking library for frontend development on Friday January 24, 2020 @03:18PM (#22142033)
I used Mirage with Ember for many years and it has changed the way I think and approach front-end acceptance testing. I was very excited to see the work to extract the Ember-specific bits from the rest of the library (originally by @cowboyd / Charles Lowell and now from the original author Sam Selikoff himself) and am using it with a React app to great success.
Relevant Chromium bug: https://bugs.chromium.org/p/chromium/issues/detail?id=56845

It works fine when you open the image directly, but it will not apply EXIF corrects for inline images (<img> tag). There are JS libraries that load the image as file data to read the EXIF data and apply the correct rotation, but those fail in some cases (HTTPS trying to load data for an HTTP-linked image, for example).

Re:Issue 914451: Autofill does not respect autocomplete="off" on Tuesday October 15, 2019 @03:15PM (#21262496)
A recent LastPass version does not fail gracefully and a lot of my webapps started getting weird console errors from users with LastPass extensions that were trying to unsuccessfully inject into our forms. :/
Decentraleyes is an extension that replaces CDN references with local copies (Chrome, Brave, Firefox, Opera).
Relevant discussion from yesterday too:

"Consumers Are Becoming Wise to Your Nudge" https://news.ycombinator.com/item?id=20284298

Re:Google Chrome to stop back-button hijacking on Wednesday December 19, 2018 @02:02PM (#18718288)
Not sure if there's a PC/Linux equivalent but Chrome (and other browsers I believe) on Mac also supports two finger swipe on the trackpad to go back/forward which works well in one-hand navigation flow.

(I also use BetterTouchTool to add similarly simple gestures for open-in-tab, close-tab, switch between tabs, and go-to-top/bottom)

Re:UTC Is Enough for Everyone, Right? on Tuesday May 29, 2018 @05:40PM (#17183116)
My favorite date quirk not mentioned in the article or here yet is the month of September 1752. If you're on a *nix/Mac machine, try this command:

  $ cal 9 1752
What you'll see is:

     September 1752
  Su Mo Tu We Th Fr Sa
         1  2 14 15 16
  17 18 19 20 21 22 23
  24 25 26 27 28 29 30
No, there's not a bug in `cal`, this is correct ;)
Re:The art of the error message on Monday January 08, 2018 @03:17PM (#16100022)
One of Nielsen's classic UX heuristics:

> Error messages should be expressed in plain language (no codes), precisely indicate the problem, and constructively suggest a solution.

Re:ASCII and Unicode quotation marks on Wednesday September 13, 2017 @04:15PM (#15242165)
At least on the US keyboard, Mac OS lets you input all three dash types.

Hitting the button to the right of [0] outputs a hyphen ("-"). Holding alt/option when hitting it will output an en dash ("–"), holding both alt/option and shift will output an em dash ("—").

- = -

⌥- = –

⇧⌥- = —

What is it about the theater experience you enjoy? It's not too expensive to set up a theater-like setup at home. A home projector and decent screen are around $1k. I've been watching Game of Thrones (and others) on a 110" screen for a few seasons now and couldn't recommend it more.
The page is using Location.replace[0] to update the URL and replaces the current history entry without affecting back/forward behavior on pretty much any browser.

The one downside is that the URL may no longer point to the comment you were originally linked to.

[0] https://developer.mozilla.org/en-US/docs/Web/API/Location/re...

Re:PaintCode 2 on Wednesday May 07, 2014 @04:05PM (#7712351)
For those looking:

> PaintCode is a vector drawing app that turns your drawings into Objective-C or C# drawing code in real time.