News for hackers. Stuff that matters.

mayhew

Re:How Firefox Got Fast Again on Monday November 13, 2017 @04:45PM (#15690555)
You can do this in Firefox by going to Preferences > Search > Set "w" as the keyword for Wikipedia
Re:Linux sandboxing improvements in Firefox 57 on Sunday November 12, 2017 @10:14AM (#15681113)
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.
Re:Debian 9 Stretch released on Sunday June 18, 2017 @07:18AM (#14580159)
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.
Re:Announcing Rust 1.15 on Thursday February 02, 2017 @05:46PM (#13555681)
Great to see custom derive landing in stable. Big thanks to Mozilla and everyone else working on improving Rust!
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.

Re:CloudFlare, We Have a Problem on Saturday July 16, 2016 @11:25AM (#12106643)
> 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.

Re:Asciinema 1.3 Switches from Go Back to Python on Wednesday July 13, 2016 @09:11PM (#12091044)
Agreed, Rust's way of error handling with Result and try! (or ?) is far superior.
Re:GitHub.com font changed on Tuesday July 12, 2016 @06:35AM (#12077975)
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

Re:My Most Important C++ Aha Moments (2006) on Sunday June 26, 2016 @07:21AM (#11980325)
At least C++ has a stack to re-invent. With C you're missing Vector and Map before you even start.
Re:Uvloop: Fast Python networking on Wednesday May 04, 2016 @12:36PM (#11629538)
Yeah, it's hard for Python to compete with languages like Go and Erlang that multiplex IO in the runtime.
Re:Uvloop: Fast Python networking on Wednesday May 04, 2016 @12:27PM (#11629469)
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).

Re:Ubuntu 16.04 (Xenial Xerus) on Thursday April 21, 2016 @09:21AM (#11541869)
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...

Re:MATE Desktop Environment on Friday April 15, 2016 @09:27PM (#11508823)
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

Re:Why Go solves so many problems for web developers on Thursday February 25, 2016 @09:42AM (#11174678)
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

Re:Linux Mint downloads (briefly) compromised on Monday February 22, 2016 @10:09AM (#11151254)
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.
Re:Linux Mint downloads (briefly) compromised on Monday February 22, 2016 @09:59AM (#11151164)
> 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.

Re:Linux Mint downloads (briefly) compromised on Monday February 22, 2016 @09:40AM (#11151028)
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.
Re:Vapor: a type-safe web framework for Swift on Sunday February 21, 2016 @10:24AM (#11144833)
> Go is not general purpose

Can you explain?

Re:GitHub lock-in? on Saturday February 20, 2016 @10:03AM (#11140285)
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

Re:Go 1.6 is Released on Wednesday February 17, 2016 @08:58PM (#11123129)
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.
Re:Building Large Flask Apps in the Real World on Wednesday February 17, 2016 @08:54PM (#11123118)
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...

Re:Building Large Flask Apps in the Real World on Wednesday February 17, 2016 @08:28PM (#11123006)
You could always just use Werkzeug directly if you're just building an API.
Re:Renaming Iceweasel to Firefox on Wednesday February 17, 2016 @12:50PM (#11119680)
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.

Re:Show HN: Htop 2.0 released, now cross-platform on Wednesday February 10, 2016 @11:35PM (#11078265)
This is one of the first things I install on any new Linux system. Amazing tool.
Re:Choosing a Web Framework: Django, Flask, or Pyramid on Tuesday October 07, 2014 @03:51PM (#8423578)
Yeah, I think the sweet spot is using SQLAlchemy's ORM for simple queries and dropping down to core for more advanced usage. Best of both worlds.
Re:Choosing a Web Framework: Django, Flask, or Pyramid on Tuesday October 07, 2014 @02:02PM (#8422808)
What do you use to query a relational database, if not an ORM? Do you build your SQL with string concatenation? In my experience that gets messy very quickly for complicated queries, so you end up needing some sort of SQL builder abstraction.
Re:IE11 for Windows 7 Globally Available on Thursday November 07, 2013 @04:33PM (#6692555)
If there's one thing I was really impressed with when trying out Windows 8 and whatever version of IE it came with, it's the hardware acceleration when scrolling. I've never seen such smooth scrolling before, ever.
Re:Django 1.6 released on Wednesday November 06, 2013 @02:52PM (#6685017)
Circus is Python 3 compatible if people are looking for an alternative to supervisor.

There's always the option of just using Upstart or systemd as well.

Re:Mozilla Circus 0.10 released on Tuesday November 05, 2013 @11:26AM (#6675930)
What are the benefits of using something like this if your OS comes with a modern init like systemd?
Re:Moving from Ubuntu to Debian on Sunday November 03, 2013 @04:41PM (#6665222)
Pretty sure the Microsoft subpixel rendering patents are only applicable in the United States.

Older ยป