241 karma · joined Jul 31, 2011 (15y ago) · 78 submissions
comment 5y ago · link · parent
comment 5y ago · link · parent
That being said, not a fan of a monthly subscription for a native desktop application.
comment 7y ago · link · parent
They do state that it is not an open source license in the article:
> Although we’ve come to refer to the BSL as eventually open-source since it converts to an OSI-approved license at the conversion date, due to the grant restriction, it is formally not an open-source license.
comment 8y ago · link · parent
6.
Bootstrapping: 10 Tips(harfangapps.com ↗)
3 points · by PuerkitoBio · 9y ago · discuss
comment 9y ago · link · parent
I recently started meditating for 20-30 minutes at a time, once or twice a day, and the eerie calmness that settles in when I'm done (for the "good" sessions) is a great feeling. I can only imagine what 10 and 60 days can do.
comment 9y ago · link · parent
That doesn't make any sense? You said:
> If a girl feels harassed - then that's it. Guilty.
Yet you go on and acknowledge that it may be hard to get their harasser convicted. In all those 3 cases I mentioned (including Ghomeshi), there were many victims that felt harassed. Yet no one in any of those cases was convicted. How does that make your statement true?
comment 9y ago · link · parent
Nonsense, it's still an uphill battle for victims to get their harasser convicted in Canada. See Jian Ghomeshi, Marcel Aubut and the First Nations women v. the police in Val d'Or for recent examples.
11.
The Crack Programming Language(crack-lang.org ↗)
2 points · by PuerkitoBio · 10y ago · discuss
comment 10y ago · link · parent
comment 10y ago · link · parent
> When you omit quotes the string ends at the newline.
> Preceding and trailing whitespace is ignored as are escapes.
>
> A value that is a number, true, false or null in JSON is
> parsed as a value. E.g. 3 is a valid number while 3 times is
> a string.
(edit: formatting)16.
Release, we have(elastic.co ↗)
1 points · by PuerkitoBio · 11y ago · discuss
comment 11y ago · link · parent
All lines are not created equal.
if err != nil {
return err
}
Those 3 lines have very, very little maintenance cost.The obvious must also be mentioned: less lines of code usually mean building on abstractions - the lines of code are in there, somewhere, but not in your code. Better hope that abstraction is well-tested. Of course it's all a matter of balance, but I disagree with "more lines of code is inherently a bad thing", which stated another way, would mean "cram as much information as possible in a single line of code".
In the end, lines of code are a bad metric of software.
comment 12y ago · link · parent
25.
Police need warrant for Canadians’ Internet data, high court rules(thechronicleherald.ca ↗)
1 points · by PuerkitoBio · 12y ago · discuss
comment 12y ago · link · parent
Yes you can still use them wrong, and you're not much more advanced. But the original comment seemed to suggest it was about implementing the low-level algorithms.
comment 12y ago · link · parent
- Fetchbot: https://github.com/PuerkitoBio/fetchbot
Flexible, similar API to net/http (uses a Handler interface with a simple mux provided, supports middleware, etc.)
- gocrawl: https://github.com/PuerkitoBio/gocrawl
Higher-level, more framework than library.
Coupled with goquery (https://github.com/PuerkitoBio/goquery ) to scrape the dom (well, the net/html nodes), this makes custom scrapers trivial to write.
(sorry for the self-promoting comment, but this is quite on topic)
edit: polite crawlers, not scrapers.
comment 12y ago · link · parent
Sweden aims to drastically reduce its dependency to oil by 2020 [1], replacing it with renewable energies. Of course the "how" part of the phase-out will vary depending on the region of the world. But this is doable, not science fiction.
I guess my point is that positions like "face it, we need oil so let's build more pipelines" are the ones that are holding us back from a better world.
[0]: http://en.wikipedia.org/wiki/List_of_countries_by_oil_consum... [1]: http://en.wikipedia.org/wiki/Making_Sweden_an_Oil-Free_Socie...
comment 12y ago · link · parent
"The IEA (International Energy Agency) found the risk of a rail spill is six times as high as the risk of a pipeline spill, but pipelines simply spill more when they rupture."
http://www.huffingtonpost.ca/2013/05/14/pipeline-oil-spills-...