Better HN
topnewbestaskshowjobs
Log inSign up

mayhew

157 karma · joined May 7, 2013 (13y ago) · 59 submissions

Submissions

comment 9y ago · link · parent

You can do this in Firefox by going to Preferences > Search > Set "w" as the keyword for Wikipedia

comment 9y ago · link · parent

I downloaded Firefox from mozilla.org and configured a ~/.local/share/applications/firefox.desktop file so that it appears in the GNOME Shell menu. It auto-updates and works great.

comment 9y ago · link · parent

I've been running Stretch for 6 months and can't remember a single crash or issue. Amazingly stable release, kudos and thanks to everyone involved.

comment 9y ago · link · parent

Great to see custom derive landing in stable. Big thanks to Mozilla and everyone else working on improving Rust!

comment 10y ago · link · parent

I love everything about this project. I know a lot of developers that have been using i3 for years, and because of this project when it's time for them to upgrade to Wayland, they won't have to alter their workflow.

#sway on freenode has an active community and the lead developer (SirCmpwn) is very responsive. It's a very healthy project.

The next step is getting rid of Xwayland entirely, which for most of the community means Wayland-native browsers and terminal emulators. Hopefully Chrome and Firefox complete their Wayland port sometime soon.

comment 10y ago · link · parent

> this is still better than "no SSL whatsoever"

This breaks the expectation that if a website is using HTTPS the connection is encrypted from source to destination. I'm not sure it's better as it's effectively giving the user a false sense of security.

comment 10y ago · link · parent

Agreed, Rust's way of error handling with Result and try! (or ?) is far superior.

comment 10y ago · link · parent

The Bold Roboto [1] just looks awful on my machine. Arial [2] looked much better, and if they want to use the system font, Ubuntu [3] also looks much better.

[1] http://i.imgur.com/zfThWXP.png

[2] http://i.imgur.com/qngKbGq.png

[3] http://i.imgur.com/77vDhCd.png

comment 10y ago · link · parent

At least C++ has a stack to re-invent. With C you're missing Vector and Map before you even start.

comment 10y ago · link · parent

Yeah, it's hard for Python to compete with languages like Go and Erlang that multiplex IO in the runtime.

comment 10y ago · link · parent

I'm pretty sure both Node and Tornado have the same mental model of async. Both have callbacks and both have async/await functionality that makes it look more like blocking code.

The main benefit of Node as I see it is that the entire Node community uses the same IO Loop whereas Python's community is fragmented between normal sync code and multiple different IO Loops (asyncio will probably help with this).

comment 10y ago · link · parent

If you're interested in KDE on Fedora 23, I haven't tried it but I've seen this [1] which may persuade you to find another distro for KDE.

[1] https://lists.fedoraproject.org/pipermail/kde/2015-October/0...

comment 10y ago · link · parent

You can paste the XML on the Debian Fonts wiki page to get nicer (IMO) looking fonts.

https://wiki.debian.org/Fonts#Subpixel-hinting_and_Font-smoo...

Paste it into ~/.config/fontconfig/fonts.conf

comment 10y ago · link · parent

nosurf [1] is a pretty popular CSRF protection package for Go. You need to realize that Go's built in "web framework" is extremely minimal unlike Django. It's more comparable to something like Flask, which also doesn't have CSRF protection built-in.

[1] https://github.com/justinas/nosurf

comment 10y ago · link · parent

Those stats are very unreliable. Most Linux web browsers (including Chrome) do not send the specific distro they're being used on. Ubuntu patches Firefox to include Ubuntu in its User-Agent, but most other major distros do not.

comment 10y ago · link · parent

> Mint is famous for it's volume icon that includes album art for what's playing, various other info, and controls to let you pause/skip tracks.

GNOME and Unity also have that, probably KDE too.

comment 10y ago · link · parent

Installing Ubuntu GNOME and then installing Cinnamon would give you a nearly identical setup. Cinnamon is basically just a replacement for GNOME Shell. You could also install Nemo if you prefer that file manager.

comment 10y ago · link · parent

> Go is not general purpose

Can you explain?

comment 10y ago · link · parent

I don't use GitLab but after browsing the source code on their official site[1] I couldn't help but notice how slow it is.

[1] https://gitlab.com/gitlab-org/gitlab-ce/tree/master

comment 10y ago · link · parent

Go is such a simple language that I believe any decent developer could be productive with it within a week. I'm not sure the hiring argument is all that great.

comment 10y ago · link · parent

Assuming this [1] is the main source repository for webapp2, it hasn't had any serious development since early 2012 and there's probably no reason to use it.

[1] https://code.google.com/archive/p/webapp-improved/source/def...

comment 10y ago · link · parent

You could always just use Werkzeug directly if you're just building an API.

comment 10y ago · link · parent

Ubuntu releases come every 6 months with a LTS every 2 years.

The non-LTS releases are of pretty questionable quality and are only supported for 9 months, which makes them pretty awful for server use.

Debian releases and Ubuntu LTS releases are about equal. New releases come every ~2 years and with Debian's new LTS policy, both are supported for 5 years in total. So you could say for server usage they have similar release cycles.

comment 10y ago · link · parent

This is one of the first things I install on any new Linux system. Amazing tool.
12