Better HN
topnewbestaskshowjobs
Log inSign up

anowlcalledjosh

135 karma · joined Nov 22, 2015 (11y ago) · 77 submissions

hn: 2698bbd9183da3339d5c1ffb354ae02ce571fcd697defa593ad8e5c08a1eefe1
Submissions

comment 7y ago · link · parent

This looks incredibly cool; I'm wowed by the fact that the model has learnt to negate words in if-else statements, though I struggle to think of a case where that particular completion would have been useful.

At the same time, I'm less excited about the fact that the model is cloud-only, both for security/privacy reasons and because I spend a not-insignificant amount of my time on limited-bandwidth/high-latency internet connections.

I'm also curious as to why the survey didn't ask about GPU specifications; most of the time I use my laptop to code whilst plugged in, and I'd happily use only LSP completions when on battery, so power consumption wouldn't be an issue (though fan noise might), and allegedly my GPU (a GTX 1050) can pull off almost 2 TFLOPs, which is well over the "10 billion floating point operations" mentioned in the post.

2.

New Chrome Protections from Deception(security.googleblog.com ↗)

2 points · by anowlcalledjosh · 7y ago · discuss

comment 7y ago · link · parent

Presumably it's no more confusing than, say, a shebang is for Windows users.

comment 7y ago · link · parent

Sorry, totally missed that. Looks like some other people have had similar issues with upgrading to previous versions: https://github.com/Microsoft/WSL/issues/3489 (though the issue is for (I think) 16.04->18.04, someone mentions that it also affects 18.04->18.10)

it's strange that that's all the output you get, though. Apparently it puts logs in /var/log/dist-upgrade/, is there more there?

comment 7y ago · link · parent

Sorry, brain fart – you have to upgrade between non-LTS releases sequentially, as far as I know there's no supported way to upgrade to 19.04 from anything but 18.10. (in general, to get to release n, you must either be on release n-1, or n must be an LTS and you must be on the previous LTS.)

comment 7y ago · link · parent

IIRC, do-release-upgrade won't upgrade between LTS releases until the .2 release.

comment 7y ago · link · parent

Not exactly the same, but: https://whydoesaptnotusehttps.com/

tldr: if you verify the download against a trusted PGP key, it doesn't matter where the download actually came from.

comment 7y ago · link · parent

One difference between ctrl-tab and alt-~ (or alt-`, depending on your keyboard layout) is that tabs within a window are very close to each other, and obviously distinct from windows in their own right, whereas it's frequently not immediately obvious whether two windows belong to the same application.

comment 7y ago · link · parent

> Installing F-Droid is easy

but nevertheless harder than installing Netflix

> installing and managing apps through it is also easy

but updates are not automatic (unless you root)

I don't dispute that F-Droid is not terribly difficult to use, but the original statement that "It's easier to use than the Play Store" is obviously false as soon as you take into account the mechanics of getting it installed.

comment 7y ago · link · parent

It also doesn't come preinstalled on any devices I'm aware of, which adds a significant amount of friction.

Even once you've installed it, it can't auto-update apps.

comment 7y ago · link · parent

Non-mobile link: https://en.wikipedia.org/wiki/Poisson_clumping

comment 7y ago · link · parent

Likewise, I'm not sure I'd think anything was strange if I came across https://stackroboflow.com/#!/question/12110.

comment 7y ago · link · parent

That's from the "tabs" permission; I'm not sure why the extension requests it, as it doesn't appear that it's required by the code (the chrome.tabs API does not require it, you only need the permission if you're reading the URL/title/favicon of existing tabs AFAIK).

comment 7y ago · link · parent

Because it's not true! Threads in Python can muck around with the state of any other thread, at any time – it would be a language change to assume otherwise.

comment 7y ago · link · parent

Probably not, see https://github.com/tmux/tmux/issues/44 (tldr: maintainer says no).

There's a fork that purports to add support, but it's not been updated for a while: https://github.com/yatli/tmux-sixel

comment 8y ago · link · parent

See also: https://news.ycombinator.com/item?id=18340693

comment 8y ago · link · parent

Is this speculation, or sourced? The article seems to contradict you:

> Google said it would sell a license for a package including its Google Play app store, Gmail, YouTube and Maps. Another license will be available for companies that want to pre-install Google Search and the Chrome browser, allowing handset makers to team up with rival services. The company did not say how much it would charge for the licenses.

comment 8y ago · link · parent

Although you can change your nick, you can't have a per-server profile picture, which may or may not be a problem for business use.

comment 8y ago · link · parent

If you have a firmware 5 kindle (Touch, Paperwhite, Voyage, Oasis), see the screensavers hack thread on Mobileread:

> Dou you prefer to just show the last thing that was on screen, with an overlay indicating when the device's alseep? Just drop a blank file named last in the linkss folder. Restart your Kindle ([HOME] -> [MENU] > Settings -> [MENU] > Restart; or simply use the Screen Savers > Restart framework now button in KUAL), and you're done

from https://www.mobileread.com/forums/showthread.php?t=195474

Obviously make sure you read everything (really, everything, including all the tiny text, even if it doesn't seem relevant) before you start.

comment 8y ago · link · parent

> What if animations started at a slightly slower speed, and gradually increased in speed the more you used them?

Ubuntu's Unity does this; it keeps track of the number of times you've minimised a window, and as you minimise windows more, it progressively speeds up the animation (maxing out after 100 times).

Source: https://ubuntuforums.org/showthread.php?t=2204321&p=12923084...

comment 8y ago · link · parent

There are a couple of comments on the linked thread suggesting that someone may be using it (scam emails containing people's old reddit passwords).

comment 8y ago · link · parent

Quick reminder: JWZ despises HN, so you'll need to copy-paste that link in order to remove the referrer header.

comment 8y ago · link · parent

Sadly no detail on how to find the keys, which is the hard bit.

Vulnerabilities in the protocol make it relatively trivial to discover the keys if you have the correct hardware (e.g. a Proxmark3), but as far as I know nobody has done this with a phone – all these writeups conveniently only clone tags with keys in the list of common keys distributed with MifareClassicTool.

comment 8y ago · link · parent

I figured it out after a few minutes poking around.

You'll need some way to set "secure" settings – if you're not rooted, the easiest way is via a Tasker plugin called AutoTools. Once you've set that up, create a task with an action of "AutoTools Secure Settings", then configure it as follows (under "Custom Setting" in the AutoTools menu):

    - setting type: secure
    - name: accessibility_display_daltonizer_enabled
    - input type: toggle
    - value: 3
That task then toggles greyscale mode, so you can hook it up to an application context or whatever. (Switch the value to 1 if you want a task that always enables greyscale, or 2 to always disable.)

If it doesn't work, diff the output of `adb shell settings list secure` from a PC with greyscale mode enabled and disabled, and use whatever name you get there.

comment 8y ago · link · parent

Would it be ridiculous to suggest that this is no different to requiring all usernames to be composed of CJK characters? That would be inconvenient and exclusive, no?

(also, a nitpick: "just ascii" is still the wrong approach, since you probably don't want people putting BEL or NUL in their usernames)

comment 8y ago · link · parent

There's also:

- cloud storage

- shared document editing

- translate

- instant messaging

- calendar

- maps

Not that any of those have no non-Google alternative, but they're all things that Google offers.

comment 8y ago · link · parent

Personally, I'd much rather run my old Windows games directly from Linux than spin up a whole Windows VM – it's much more convenient.

comment 8y ago · link · parent

On 8.1, it's in Network & Internet/Data usage/Network restrictions. It does seem odd that they put it in the data section, not the wifi section.

comment 8y ago · link · parent

The issue is that the current OOM killer doesn't support this usage at all.

To extend the analogy: what do you do if grandma comes and fills your house with stuff? You need space to work, so you go and drop it off at the self storage place, but what if she just keeps filling your house up?

The OOM killer will do absolutely nothing until both your house and the whole self storage place are totally full. By that point, you've spent a huge amount of time just driving to and from self storage, so you haven't had time to do any actual work; it would probably have been better to tell grandma that you don't want any more stuff once she filled up your house for the first time.

comment 8y ago · link · parent

Yes, I noticed that too. I wonder when the charts got removed.
123