Hacker Newsnew | past | comments | ask | show | jobs | submit | more rlkf's commentslogin

I use git-format-patch to create a list of diffs for the individual commits before the branch gets squashed, and tuck them away in a private directory. Several times have I gone back to peek at those lists to understand my own thoughts later.


    (x === 1) && console.log("it's 1")
Note that you've saved exactly no keystrokes, although this is composable into expressions (if you are using some Javascript-derivative; in ML it would typically already be using the if-form).


((x == 1)) && printf 'it'"'"'s 1\n' although I'm not sure how useful this actually is, but it is a nice-to-know


or

x === 1 && console.log("it's 1");


"English (Ireland)" seems to be the closest thing to a sane locale out of the box (could have wished for ISO-8601 dates, but I guess you can't have everything).


I found this dimension of the analysis:

> People prefer native apps to web apps

> Java has “UI curse”: Looked bad

to be at odds with this aspect of the design:

> No goal to look native

> Leverage Skia


"People prefer native apps to web apps" is talking about literally using an app on your desktop, in the dock, with keyboard shortcuts, rather than having a website in your browser. This is sort of shown by the amount of Electron apps people use — you could use slack, spotify, or vscode in the browser, but most people prefer to use the app.

"Java has UI curse" is referring to how when Java tries to imitate native UI (note the difference to "native app", which is in contrast to a web app), it fails and hits the uncanny valley. No-one likes it.

Given that, it's not a contradiction to have a native app, that does not try to use the native GUI toolkit of the host platform, using Skia directly to draw UI elements.


I used a few electron apps in a browser because the Linux experience wasn't working well for me, and it was a dramatically better experience.


I suppose it’s just to clarify that those choices are deliberate, with the trade-offs in mind.

The README also suggests that the reason why people prefer native apps isn’t just the UI’s aesthetics, but:

> Normal shortcuts, icon, its own window, file system access, notifications, OS integrations


SCCS was available from 1977.



Within 2 years, 90% of organizations will suffer a shortage in supply of people willing to to be micro-managed for the price they are willing to pay, in the open office locations they are willing to put forward.


I took a note from the French keyboard layout and placed all the common programming symbols on the numbers row, and the numbers themselves on shift, since the amount of symbols usually dwarfs the amount of hard-coded number in source code. (If I enter numbers in a spreadsheet, I use the keypad on the right side). Combining this with a regular Dvorak layout for the letters, I get a Programmer Dvorak layout that lets me touch-type code as easily as regular text! (And yes, I can also use Neovim with Dvorak)


This is a very good initiative! There is also https://divestos.org/pages/devices?golden=true


There is also https://www.sustaphones.com, which presents the supported devices in a more graphical format, and allows filtering based on headphone jacks, battery repairability, etc.


I think this book may be recommended reading: https://amazon.com/dp/1565893182


In Norway, the trend is that shops that have a mix of both, now remove more and more of the cashiers and increase the number of self-checkouts. This wouldn't happen if the shops lost money and the customers hated it, so it's strange that this is the opposite of the U.K. Population more tuned to automation, perhaps?


As a UK resident, I honestly find the article a bit incredulous. The article doesn't justify its claim of it being a "spectacular" failure and all the examples are from the US. In the UK, despite their problems, increasingly more self-checkout systems are being installed, even in shops that previously avoided them like Lidl and Aldi. There is one high-profile case of them being removed in a minor chain (Booths), but aside from that, most shops are continuing to install them.

You do get people complaining about them on Twitter/Facebook/Nextdoor - mostly old people - but in reality, I find people usually prefer to use the self-checkout. Even if they can be a pain sometimes.


Norway has much less crime!


And why is that?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: