Better HN
topnewbestaskshowjobs
Log inSign up

aliveupstairs

196 karma · joined Aug 12, 2019 (7y ago) · 34 submissions

Submissions

comment 6y ago · link · parent

If you are using absolute paths, I found this easier to get used to:

    hash -d b=/home/me/bin
Then you call foo as:

    ~b/foo
I have an array of these defined to my most used directories.

comment 6y ago · link · parent

if you open iOS settings, you'll see them all over the place. They are not a usability disaster and any shortcoming in articulating intent should be attributed to the designer themselves. Switches can also be used when the binary state is not on/off and you don't want to imply a default state necessarily such as dark/light theme switches.

comment 6y ago · link · parent

I believe the templating is what's declarative, here. For instance, in Vue you can insert logic such as for loops, conditionals, event listeners, two-way data binding and so on right in the template with directives (HTML attributes).

    <Todo v-for="(todo, index) in Todos" :key="index"/>
Instead of an imperative JavaScript for loop.

comment 6y ago · link · parent

Needless to say that this is subjective, but I think Single Page Applications and components-based UI in webdev is fairly modern as opposed to imperative, jQuery-esque Front-end development.

5.

RFC: Adopt a modern JavaScript framework for use with MediaWiki(phabricator.wikimedia.org ↗)

309 points · by aliveupstairs · 6y ago · 277 comments

6.

Jaro: An insanely customizable xdg-open alternative(github.com ↗)

4 points · by aliveupstairs · 6y ago · discuss

comment 6y ago · link · parent

What lots of assumptions? that's a single inevitability that a self-driving car manufacturer, Tesla or otherwise, will go out of business, rendering the car offline only (the point made in the article) or worse, like the case with Android phones, you'll have plenty of vulnerable cars on the street and some community updates (like the work of LineageOS for instance).

It's the same point made in this computerphile video[1].

[1]: https://www.youtube.com/watch?v=PLiE0Nr8VOE

comment 6y ago · link · parent

Not only should it be offline-first, but it also should have fallbacks options like self-hosting.

comment 6y ago · link · parent

It is not a lie. The idea is that Tesla would go out of business and a vulnerability in the car would be found and exploited to kill you in the absence of security updates. Similar to how the article says:

> We're guessing a Charter alarm would still be able to make loud noises when someone breaks into a house, but that doesn't mean it'll work with an alarm-monitoring service.

comment 6y ago · link · parent

> Number of studies.

Source your claims (at least one.)

I very much doubt this because only recently has it been possible for parents of the same sex to adopt, let alone evaluate their performance as parents and generalise it. I would very much love to be proven wrong, however.

That being said, the issue here is not the gender of the parent, but rather single parenthood. A working single parent interacts very much little with their kid(s) in comparison with an atomic family.

comment 6y ago · link · parent

I oftentimes don't know if asking for screenshots is appropriate as I have no idea what's the software is about; so, whenever there are screenshots, I get a sense of relief.

comment 6y ago · link · parent

https://www.fast.ai/

https://fast.ai is unsafe.

comment 6y ago · link · parent

You can do this with browser search engines, but as a DuckDuckGo user, I can !bang search_term (`!gh`, `!github` to search in github.) Now, I think DuckDuckGo is very lacking in terms of Zero-click searching, but if I know where to get information I can !bang to it (e.g., `!hn what`) or if you're feeling luck `\hn what` will open the first search result. Much better than spending an afternoon setting up search engines.

comment 6y ago · link · parent

Id' say use real screenshots on your home page.

comment 6y ago · link · parent

What's that have to do with anything (it being top front page)? are there guidelines for naming posts so that the language a software is written in is preferably in the title?

comment 6y ago · link · parent

This effectively made github my second search engine. We should have an AskHN on how to find software in general.

comment 6y ago · link · parent

post the `https://` part too. I don't have https everywhere everywhere.

comment 6y ago · link · parent

I think you can do that with Pocketcast (free on android, paid on the web) and set a unique time for each podcast.

comment 7y ago · link · parent

8* year. https://en.wikipedia.org/wiki/Sandy_Bridge

comment 7y ago · link · parent

the docs:

https://vuejs.org/v2/guide/class-and-style.html#Binding-HTML...

https://vuejs.org/v2/guide/class-and-style.html#Array-Syntax

In your template:

a) <div :class={active: isActive} />

b) <div :class="{isActive? 'active' : 'inactive' }"/>

comment 7y ago · link · parent

> (That's why every CSS question on Stack Overflow has an answer that says "use this HTML: ... and this CSS: ...". It's rarely possible to use some random HTML and style it in an arbitrary way.)

I think that's a different issue that has to do with the web not having proper layout tools. Where in order to position a group of elements, you had to div them. Nowadays, we have `align-self` and `display: contents`.

comment 7y ago · link · parent

From anecdote as someone who was brought up in a very religious household and went to an Islamic school for boys over the summer for multiple years, I can't disagree enough. Young religious people tend to be cynical about everything from morality and values to will and work ethics. If you have a son on which you impose a religious lifestyle, you have a good chance that they put an act in front of you.

I eventually became a moral nihilist in theory, but someone that recognizes the importance of values in practice. (like a classical liberal against gambling.) And to tell you the truth, I don't know the proper, working way to instill values and work ethics (especially the latter) in people or kids. I, for once, suspect that I came to appreciate a respectful manner through seeing others shoot themselves in the foot by maintaining a rebellious attitude and feeling disgusted with poor manners at times.

Right-wing Millenials who aspire to be good parents often came to appreciate family values/religious values through the same way I did. by rejecting "degeneracy".

Note: I am not saying that right-wingers are morally superior.

comment 7y ago · link · parent

maybe your testing on your dev environment, because I just scored a solid 98 using nuxt.

comment 7y ago · link · parent

because these are the things everyone comes in contact with and uses. there are indeed new features (in Vue 2 even) that have to do with dynamic Vue directives in the template and other three or fours features that unless you are writing an insanely reusable component or a Vue plugin, you would settle for a more orthodox and long way of doing things approach.

comment 7y ago · link · parent

you can do exactly that, they just wanted to showcase the methods option. often you would switch true to false doing:

`@click="isSomething = !isSomething"`

comment 7y ago · link · parent

throw an error saying "incremt is referenced during render..."

I personally think this is a non-argument to begin with, but the new API coupled with the fact that Vue supports the render function and JSX would give you what you want.

27.

Ask HN: What's Next for TUIs?

1 points · by aliveupstairs · 7y ago · discuss

comment 7y ago · link · parent

>The optimistic belief that economic growth and market integration would liberalize authoritarian or totalitarian countries should by now be wholly debunked.

Yes, but the belief that the market/capitalism can enforce a set of values, good and bad, lives on.

comment 7y ago · link · parent

The internet is not the same as a food place. People expect and have gotten used to services for free. If you put a price tag on a software library, you obviously discriminate against students and poor people.

comment 7y ago · link · parent

If you are the author, increase your line height, I have to track the its start to read the next.
12