Better HN
topnewbestaskshowjobs
Log inSign up

Slackwise

1,050 karma · joined Jul 18, 2010 (16y ago) · 308 submissions

[ my public key: https://keybase.io/slackwise; my proof: https://keybase.io/slackwise/sigs/3k-jplnwfNlBvyK12ne8DIqZ5OPt9KSd6AP515PY9SM ]
Submissions

comment 6y ago · link · parent

Actually, I read a rumor somewhere that was planned for Windows 10 as part of UWP, which already supports JS apps.

They've already gone fairly far in integrating PWAs with the new Edgeium, so we'll see where this goes. (Your installed PWAs appear in the control panel for uninstallation, for example, which even Chrome doesn't do yet.)

comment 7y ago · link · parent

Markdown is plain text.

The output of Markdown processing is not.

Markdown is intended to be readable without processing as its syntax is mostly based on plain text email conventions. You should consider the ability to process Markdown to another output format to be an almost incidental benefit to using Markdown, rather than its primary function; meaning, Markdown syntax conveys semantics even without processing.

Its line behavior is based on plain text email client conventions, and plain text editor behavior, which many do not by default perform line wrapping, nor necessarily should, depending on user preference. Meaning, a Markdown file should be readable with line wrapping turned off, hence why it consumes line breaks, unless you use two spaces at the end of a line to override this behavior. (Think of the two spaces as an invisible rendering hint to Markdown processors.)

Email line length specifications: https://tools.ietf.org/html/rfc2822#section-2.1.1

comment 7y ago · link · parent

Skype for Business is obsolete, though:

https://www.theverge.com/2017/9/25/16360072/microsoft-teams-...

comment 7y ago · link · parent

Haven't used Xfce in a few years... is there finally a native Dock/SuperBar or a proper plugin that isn't some hack that nests alternative docks inside a panel?

comment 7y ago · link · parent

I actually like the domes as they are. What I want is, somehow, to increase the spring tension after the dome collapses, so that I don't slam into the baseplate.

comment 7y ago · link · parent

Actually, increasing resistance has reduced my strain from typing. After a few minutes of typing, I start to bottom out less and less, and instead I feel like I have little shock absorbers under each key, reducing the impact of every press.

As for the community, most seem to dislike high resistance switches, which is why my preference for MX Clears leaves me with few brands to purchase from, and my dream ideal of a higher resistance Topre will probably never happen.

comment 7y ago · link · parent

https://www.infoq.com/presentations/Value-Values/

https://www.infoq.com/presentations/Simple-Made-Easy/

https://www.infoq.com/presentations/Are-We-There-Yet-Rich-Hi...

If you're going to watch any of these, at least watch "The Value of Values".

comment 7y ago · link · parent

So if I understand correctly, it's an anti-anti-adblocker...?

comment 7y ago · link · parent

    (def fizzbuzz-nums (range 1 101))

    (defn fizz? [n] (zero? (% n)))

    (defn buzz? [n] (zero? (% n 5)))

    (defn fizzbuzz? [n] (and (fizz? n) (buzz? n)))

    (defn fizzbuzz [n]
      (cond (fizzbuzz? n) "FizzBuzz"
            (fizz?     n) "Fizz"
            (buzz?     n) "Buzz"
            :else         n)))

    (def fizzbuzz-list (map fizzbuzz fizzbuzz-nums))

    (apply println fizzbuzz-list)

comment 7y ago · link · parent

I'm a lefty and while I avoid writing, a fountain pen with fast drying ink and a BOLD tip is very lefty usable.

The trick to lefty pens is to get BOLD tips!

When you have a thin needle-like tip, as you know, you end up stabbing or scratching the paper. But if the tip is either a big round rolling ball or nib, then it glides across the paper on its roundy edge.

I can definitely recommend the Lamy Safari with a 1.0 bold tip, or any Pilot ballpoint pen with a 1.0 bold tip. (I carry a Pilot Precision 1.0 Bold ballpoint pen with me at all times.)

comment 8y ago · link · parent

> So I get the impression GnuPG is considered obsolete by the security community.

This is news to me, but I'm not in "the Security Community". I can't find anything that corroborates this. Why do you say that?

comment 8y ago · link · parent

>> Where possible avoid simply using "id" as the primary identifier for the table.

> I wonder what is the reasoning behind this? To escape the ambiguity during joins?

Most justifications center around the "USING" clause which can only be used on matching column names:

    select user_id,
           username,
           comment

    from   users
           inner join
           comments     using (user_id);

Versus `on user.id = comments.user_id`.

The argument against this is that the USING clause really mucks up the result set columns by unifying those that match the USING clause.

comment 8y ago · link · parent

If I'm going to "upgrade" from JavaScript, why would I specifically choose TypeScript?

Yes, it gives some compile-time-only type safety in certain places, but it doesn't provide state safety like ClojureScript. I'm more worried about state/reference-based bugs creeping into my code versus type related issues, which I'll be checking via unit tests anyway. On top of that, it doesn't protect you from the usual JavaScript pitfalls since it's backwards compatible, including the bad parts.

Or am I missing something here? Is it popular because it lets you directly upgrade existing JavaScript files? I can see that being a big draw. Small and gradual improvement, yeah?

comment 8y ago · link · parent

Not the parent commenter, but...

- Add a time to reminders, as they're currently only due date reminders. (Nearly useless, really, other than appearing on your calendar.)

- Merge Tasks remidners with the Google Assistant reminders, and the Google Keep reminders. Three different places to have Googley reminders, all separate.

- Re-arranging the task lists. (You can only re-arrange tasks on a list, but not the lists themselves. This is a basic feature that is surprisingly missing.)

- Add a widget for the Android home screen so you can keep a specific list in full view all the time. (This is kinda' a personal wishlist item.)

- Add Google Assistant voice command support to create tasks, review tasks, etc. (Super useful while driving and remembering something.)

- Add tagging to list items, and a search function so you can have "meta-lists" like "All Items Due Today" without having to maintain items across lists. (This would allow you implement the GTD methodology.)

- Add minimal per-list collaboration of some sort, similar to Keep. (I guess it's already available for Keep, so maybe not super relevant.)

comment 8y ago · link · parent

I don't see any actual¹ JavaScript on the page, so how would this have been accomplished? Some fancy but broken scrolling manipulation CSS...?

1: The only JS on the page is an IE conditional comment adding an HTML5 shim script, and the Disqus comment embedding script. Then there's the Google analytics that gets pulled in from font references and I guess Facebook JS via the Disqus embed.

comment 8y ago · link · parent

Or for those who come from Unixland and see way too much typing, PowerShell has aliases that make this much shorter:

    cd HKCU:
    ls -r -i *HeidiSQL*
Or if you really want to use the match operator, regex, or other expression, you can still pipe it through the Where-Object alias:

    ls -r | ? {$_.Name -match "HeidiSQL"}

comment 8y ago · link · parent

This is also a comically bad time to release yet another social network, as you've pointed out with the current atmosphere surrounding Facebook.

comment 8y ago · link · parent

Really? Because I'm required to use an Oracle IDE that only does MDI, and it's a pain to use across multiple monitors.

comment 8y ago · link · parent

Just heard of "The Great Vowel Shift" on the "Lexicon Valley"[1] linguistics podcast, which covered the idiosyncrasies of English spelling, and how the vowel shift was a large factor in how pronunciations diverged from their spellings.

[1]: http://www.slate.com/articles/podcasts/lexicon_valley/2018/0...

comment 8y ago · link · parent

> unlike Intellij, which sells its IDE

The fancy version costs money, yes, but the community edition is free and Apache licensed. Here's the source code: https://github.com/JetBrains/intellij-community

> is there another major cause for most of the world drifting to the inferior choice?

I've used both Eclipse and IntelliJ, as well as JetBrain's "ReSharper" tool in Visual Studio, and while the UI is obviously different, and in some ways better, some ways worse than Eclipse, the actual functionality and feature set of IntelliJ is clearly superior to Eclipse, especially all the refactoring and code smell tools.

The feature list is just incredible and constantly increasing: https://www.jetbrains.com/idea/whatsnew/

Also, IdeaVim is way superior to Eclim, if you care about Vim keybindings and modal editing.

comment 8y ago · link · parent

> Why does Google always think they know what is best for me?

This is the entire ethos of the "AI Revolution" in tech. The algorithm "knows what is best for you". This will only get worse with more "AI" being applied to more tech.

comment 8y ago · link · parent

> When did smartphones start regressing?

When they got rid of keyboards.

Then your other mentioned features, the SD cards and batteries left quickly after, but the keyboard was the first to go. Now I struggle with typing in frustration, whereas I used to be able to type full paragraphs without even looking at the phone, including backspaces, on my old WinMo, BlackBerry, and early Android phones.

comment 8y ago · link · parent

Oh yeah, we need a purely unfiltered web to prevent echo chambers forming! Let's see what that turns out like—oh that's right, 4chan. (Do we really need more 4chans?)

It looks like even with an unfiltered world, echo chambers still evolve. It's the nature of communities.

comment 8y ago · link · parent

Oh, also, Russ Olsen does a wonderful talk about the moon landing and the engineering involved:

https://youtu.be/4Sso4HtvJsw

comment 8y ago · link · parent

The customer isn't always right, but, the customer also didn't ask for glued-in smartphone batteries, removing the MicroSD slot, or removing the headphone jack.

comment 8y ago · link · parent

Whenever I want someone to understand Lisp being a homoiconic metaprogramming language, I link them this:

http://www.defmacro.org/ramblings/lisp.html

comment 8y ago · link · parent

Adoption. Users want convenience. They want to click a thing and go, not install a desktop app, configure it, learn about the networking model, etc.

Then when we've all sunk into all these convenient cloud services and "easy to use" disposable devices, we'll have lost all of our privacy and power. The corporations will get regulated, and then the government will have access and control of the systems.

And yet we'll have people argue that these open source and federated/distributed systems are "too confusing" and "not practical" and that we shouldn't even try to avoid this future.

comment 9y ago · link · parent

Very frequently, my train is up to 4 minutes early, and the doors open on the other side of the track, opposite the parking lot, so sometimes I'm totally on time, walking towards it after parking, but it's swooshing in, and I get to stand there, watch as others board...

So yeah, not cool.

comment 9y ago · link · parent

It's supposed to make you understand the language, how it works, and why it works the way it does, not how to write it professionally. It exposes you to patterns you'll run into.
12345
11