skysight-inc/HackerNews huggingface dataset:
When I use "you" in a sentence, people compare who they are to the "you" I've described, by trying to find differences.

When I use "I" in a sentence, people compare who they are to me, by trying to find similarities.

That's why the former is more persuasive.
Is there a place I can look up the L-score for an arbitrary winter in an arbitrary city?
Instructions for how to register to vote-by-mail:

https://www.reddit.com/r/housingforsf/comments/22xoht/help_h...

It's easy and takes five minutes! Give it a shot and post a reply below either confirming or denying that it's really as fast as I claim.
That's right, the PHP community _votes_ on language features.
I'm comfortable pointing out misleading comparisons in any statement, whether I agree with the underlying argument or not. When you feel like you are in the minority, it is especially important to choose your comparisons and arguments carefully so that people don't dismiss you before understanding you. When discussing with detail oriented people, it's important to get the details right.
McDonald’s Teams with General Assembly for Employee Training Pilot
fails PEP.

just kidding (it does though), it is cool and interesting.
I wonder if any of these will have been already resolved in LibreSSL through their codebase cleanup.
There are a few villages in the Swiss alps with no cars or very limited use of cars. In one I visited, a hotel owner picked up guests and their luggage from the gondola using something like a golf cart. It worked well - low speed, smaller, less dangerous, quieter, etc.
I assumed that the "large-palette GIF" would have animation. Otherwise, why are you bothering with tricky GIFs at all, why not just use a PNG (or JPEG, depending on the image type)?
All markup languages converge toward Turing completeness, just like all programming languages converge toward Lisp. Just use a homoiconic language--a language where code is data and data is code--and you won't have these kinds of problems.
Ah, but that's just the point. Emacs doesn't do many things badly, it does many things better than the alternatives :)

E.g. take one case, recurring appointments. You can do the usual (monthly, weekly, etc.) or embed a snippet of Lisp code in your org-mode file; if it evaluates true when your agenda is being generated, then the item is deemed to be repeating that day.

So, let's say you want your calendar to contain an event if the weather is forecast to be over 40 degrees C on that particular day[1]. Easy if you're using org-mode, but basically impossible with every other system I've seen.

The point behind using a programmable editor is that their programmability allows you to extend them in ways that their original creators never intended. Whereas, say, a conventional email client is designed to be used in just the way its creators intended, and never extended.

I gave a presentation on this topic (the power of programmable UIs) a while back:

https://github.com/duncan-bayne/presentations/blob/master/pr...

Edited to add: in fact, lack of programmability is basically what's broken about modern computing environments. People are so used to software being non-programmable that they don't know what they're missing. It's no accident that even rudimentary programmable environments like Excel are so popular.

[1] ... which is a reasonable requirement for me; the work done by the systems I help to build is highly dependant upon weather.
Of course. But I thought ITT we were being silly ;)
To elaborate with an example: when you pick a programming language or framework you presumably have other options which you don't take for whatever reason. The reasons for picking something over others don't need to be strong: its what I use at work, its what a friend uses are probably a lot more common than 'this programming paradigm is better'.

When someone else comes along and says you made the wrong choice, or even if they stop at just championing their own, different choice and therefore 'implying' you are wrong, its easy for individuals who might not have their self-awareness guards up to respond as if they were being personally attacked. Even if your original choice isn't something you, all being equal, don't really care that much about.
Economic judgement should not be confused with morality.

I suspect many here agree that Pinterest doesn't contribute greatly to the betterment of humanity. That does not mean it isn't economically valuable.

I actually think there's an argument that trying to quantify moral value in economic terms in itself morally questionable. There's room for other measurement systems outside monetary value.
Thank you. The contributors who don't understand that obviously rent control reduces supply by the number of rent controlled units but that it also vastly increases stability for longer-term occupants are dominating this discussion. So again, thank you.
Making Tea with JavaScript: OOP with the Prototype Chain
Maybe I'm myopic, or maybe everyone else is.

The state of the world seems to show that the vast majority of people, even the smart ones, don't really get it yet. But they will, sooner or later the elephant in the room will be impossible to ignore. Let's hope it won't be too late then.

The issue is this: the world doesn't need more 'innovation' - we've already innovated enough to the point of being on the verge, all in the name of 'products' and profit.

If articles like 'California has 1 year left of water' doesn't sound alarm bells then take a look around - these kind of news are all over the world.

Our only hope out of this is to apply what we already know and 'un-inovate' ourselves so that our children can have a chance of survival.

Not for the sake of profit, but for the sake of future generations.

And no, the governments, politicians and the like won't do it, they can't, they don't create the world - we do, the creators, the innovators.

It is our responsibility to switch focus and really look at how we can apply our knowledge to the real world 'problems'.

Pinterest's long term value (50+ years) is zero in my opinion, even though it might create a nice bubble in the short term.
Will you feel the same when when say, GitHub buys ReadMe and Oracle buys GitHub?
A small car-less resort town that makes its money in no small part by providing tourists with a pleasant experience isn't really a model for cities. (And it's a pretty mobbed place at the popular times of year.) If you just want to move someplace quiet with Internet access there are lots of options.
> Sarcasm

They obviously got the intent, and disagreed.

> Walkie-talkie

Limited range, especially through buildings.

Edit: Even more so than I thought, apparently walkie talkies promising tens of miles of range can fail in a couple blocks among houses and trees.
Maybe not. But my wish is for a unified transit system and a coordinated and progressive (for progress) housing policies. Allow density in the cores and peripheries of cities. We're not a pastoral society anymore --not with the population growth we're experiencing.
May have turned down 100s of millions from Google in 2012.
http://techcrunch.com/2012/01/19/ginterest/
Re command line vs scripts, I am not convinced that the mental overhead of knowing two names for each flag and flipping back and forth when you context switch between the command line and a shell script really makes that much sense. Certainly common flags should be short and less common flags need not be, but personally I'd rather have one way to spell each. Certainly having just one name per flag is more in keeping with Go trying to keep things simple.

My officemate is a long-time Git user but was surprised the other day to see me type "git pull -r". He didn't know that -r was short for --rebase, and in fact I didn't know that --rebase was long for -r. This kind of mutual incomprehensibility is a tiny variant of the observation that every C++ programmer uses only a small subset of C++, but the problem is that each programmer chooses a different subset. Not having two names for a flag can be a feature.

Re typing, I am also not convinced that the overhead of rm -r -f vs rm -rf is really that high. Of course, rm is a bad example: if you are implementing rm, you MUST use the Unix conventions and accept -rf. But for new commands not burned into decades-old muscle memory, it's not clear that it's needed.

I think there are multiple valid design decisions that could be made here, and we've tried to tilt the balance toward simplicity, but of course other balances could be struck, and maybe in other contexts it might make sense to strike a different one.

I tried to make sure it was possible that someone could write a package (say, flg) with the following API (and nothing else):

// Package flg implements a getopt-compatible command line flag parser.
package flg

// Parse parses the command-line flags defined in package flag.
// In contrast to flag.Parse, Parse imposes getopt semantics:
//	- single letter flag names must be specified with a single dash: -x
//	- longer names must be specified with a double dash: --long
//	- the argument to a single-letter flag can follow it immediately:
//	-xfoo means -x foo when -x takes an argument.
//	- multiple short flags can be combined: -xyz means -x -y -z,
//	when neither -x nor -y takes an argument.
//	- name aliases can be introduced by calling Alias before Parse
func Parse()

// Alias records new as an alias for the flag named old.
// Typically old is a long name and new is a single-letter name or vice versa.
// For example, Alias("r", "recursive").
func Alias(new, old string)

I believe it is, although I haven't seen one. That would let programs still use package flag as the data definition, so that they can reuse any other "plug ins" for the package (like custom flag.Values) but still provide a getopt-style parser if desired.
Though there is a lot of controversy about who is allowed to vote. Currently it's anyone with a php.net account, which is:

* People who have commit access to git/svn

* Documentation contributors

* Documentation translators

* PEAR package maintainers

* PECL package maintainers

* Very few "community representatives"
The website has PHP and curl examples.
If my wife could one-click shop on Pinterest? Oh boy...
‘AntiDetect’ Helps Thieves Hide Digital Fingerprints
Re: Hetzner - they do offer some cheap "desktop" grade servers but they also offer lots of real servers: https://www.hetzner.de/ot/hosting/produktmatrix/rootserver-p... (e.g. 120GB RAM, Xeon chips, SAS drives, hardware raid etc.)

I've been running three 32GB servers (each with 3TB storage) with them for 2+ years now and the only outage I've experienced is the switch (5 port GBit) dying once. Hetzner tech replaced it in under an hour.

These three servers cost me €263/month (that's total, not each). Included in that monthly price is an additional IPv4 for each server, a private 5port Gbit switch, remote console access and 300GB of DC backup space.

There are probably better deals available now (i.e. more RAM at the same price) than the one I'm on since it's old and not offered on their site any more (/makes note to self to call Hetzner sales)
I agree with that. We live in a marketing bubble and the power of advertising will decrease a lot in the next years as new generations will just get more and more immune to it. Which is actually a good thing.
Also reminds me of Pollen, for the inestimable Racket environment, which was created by M. Butterick to typeset "Practical Typography".

http://pollenpub.com/
When I read that title, all I could think of was the apocryphal "Can I use HTML with variables to make a hockey MMO" thread from GameDev.net.
Thank you. I think you're correct. It's not about making our jobs easier - it's about making a better product.
No! Stop! What are you doing? We're already battered enough as it is; we can't afford yet another breach of the vi/Emacs cease-fire.
Oof, no. It's fairly the opposite: A high-quality espresso machine is a fiddly little beast. You have to backflush it daily; you have to cafiza it weekly; and it's going to lose a temperature or pressure regulator every few years. An aeropress is trivially cleanable, and mine's been functional for years now with no problems. After about five years, the plastic might start getting a little crack-y and the rubber plunger bit gets loose, and then you spend another $30 and you're good to go.

A good espresso machine makes substantially better coffee, though, assuming you like espresso.

(I have an aeropress + very nice grinder for home, and an assortment of espresso machines at work. I prefer the espresso machines, but I don't want to deal with the hassles and expense of one at home. The grinder, on the other hand, lasts almost forever and saves a ton of pain.)
Lunch and Learns vs. Workshops
I believe that having workshops where participants spend some time actually getting their hands dirty in some code is more valuable than a developer speaking about what they learned or why they think something is important.

People tend to forget about the lunch and learn if there is no hands-on component.

In stead of my developers doing a lot of lunch and learns, I would like them to be able to work together to develop small apps based upon some new technology or idea that they have learned.

Has anyone set something like this up at their workplace? I'm looking for feedback on the idea and/or better ways to manage these types of workshops.
Worked on this guy didnt it?
There weren't many powerful automobile companies in 1891.

https://books.google.com/books?id=Noo4AQAAMAAJ&q=%22jaywalki...
Firstly we’ve looked at all of these options and as developers got pretty excited by their potential. The problem was that we found them to all be lacking in some degree, Snipcart is only for the most basic ecommerce, Ecwid is focused more on widgets, and Foxycart requires you to use their hosted checkout.

Secondly every member of our team has been in a position at some point in their working lives where we’ve had to build applications that support all manor of strange legacy requests. We completely understand.

Yes, if you use our javascript SDK with the API, you would require javascript for it to work. That said, you could take the backend approach and then there would be no issues with supporting older clients or applications as it would all be handled by the servers.

We have been thinking about adding a hosted checkout page for exactly the reason you describe. it would probably be an option so that you can either use a hosted checkout page quickly, or if you want more control you can use one of our SDKs and build your own checkout.

Thanks for wishing us luck!
Landlords charge what the market will bear - giving renters more money for rent is simply a round-about way to give landlords more money.
My neighborhood has possibly one of the more generous plantable right-of-ways in the city; the sum of plantable ROW is wider than the paved surface. But most places it seems to be 4-6 feet plantable, and denser areas completely paved.
But a flawed spec is management's problem, and it is management's job to make a call on whether you ship despite any known flaws. A competent (in the professional sense) programmer will follow management's lead even if they personally don't like the decision or aren't happy with the results.

Being passionate about your work does not give you the right to be in charge, in programming or any other field. Yes, good programmers want to make a good product, but as the saying goes, sometimes the best is the enemy of the good. Shipping a product with fewer bugs six months after the money to pay for it runs out... usually doesn't happen, because the money ran out.
was that a drawing of the presenter? or just following the statistical prevalence of male programmers? was his male-ness really the focus of the picture, or was the artist just using the proper pronouns for the character? was his masculinity being presented as the cause for his behavior?

It does suck that a man is the default for this, but IMO it's a projection of toxic masculinity (i.e. Patriarchy).
That's absolutely correct, thank you for the correction :)

It's still LIMITED on 5.1, however it's possible to control ISO, white balance, shutter speed, set a custom color space conversion matrix which allows a lot of cool things for a font camera.
Nobody is doing so except for the people who state "things are better now" based on their own set of metrics.
"It's long since time we developers in all specialties tried to turn the corner on this issue."

But that's part of the fun :(
Are you arguing that if supply increases in a real market the prices won't go down?
So you're telling me that in one weekend with one truck, you packed everything for a family, moved it, unpacked it, and had total expenses of a few hundred bucks? Congrats on being a minimalist. When I see most people do it, though, they take a couple of months of spare time to prep and months more to get everything situated and recover.

Yes, sure, if the rent is doubled, one should probably move despite the hassle. But the point is that landlords can take advantage of the asymmetry in cost/difficulty of changing places to hike rents. Nobody would move because the landlord was charging them $1/yr above what they could pay elsewhere. Most would move if it were double. The landlord's advantage is somewhere in between.
Earth has exceeded four of the nine limits for hospitable life, scientist claims
This Erlang web framework already has something like this:

https://github.com/5HT/n2o

Excerpt:

body() ->
{ok,Pid} = wf:comet(fun() -> chat_loop() end),
[ #panel{id=history}, #textbox{id=message},
#button{id=send,body="Chat",postback=chat,Pid},source=[message]} ].

Also comes with bidirectional Websocket connection support.

It is based on a similar project called Nitrogen.
LoFi Connects Things to the Internet for Less Than a Cup of Coffee
The only 100% relevant statistic that gives us comparative meanness would be ... some sort of measure of meanness itself!

Since we don't have that, numbers like reported violence can serve as indirect estimators.

If spanking were reported, then it could certainly be used as an estimator of meanness. Spanking is aggression, but less violent than giving someone a black eye, obviously. Depends on the spanking too. Back of the hand versus palm? Head versus buttock? ...
Naviata may be best understood as a Google for college search that's customized to a user's individual needs and wants. The result: A college application list that's tailor made for a particular applicant.
Hacker news is famously home to the middlebrow dismissal (explained nicely by patio11 here: https://news.ycombinator.com/item?id=5072224). Trying to show off nerd machismo by crapping on everything.
Also there's price inelasticity. If you reduce the supply availability by 5%, you don't just get a 5% price increase. For something like housing, gasoline, or illegal drugs (typical inelastic goods) prices could double. That's why San Francisco is so expensive: not desirability, but regulatory corruption pushing down supply of an extremely inelastic product.

I don't know if San Francisco has this problem, but New York has a lot of upper-middle-class, well-connected people who bought their way into rent control by paying "key money" and being named as family by a deceased beneficiary (who need not be related to them). They're now in an arrangement that is actually superior to ownership (because they don't pay property taxes). It's pretty disgusting. People actually used to follow obituaries as a way of finding available RC apartments.
If you're going to be the kind of person who reads technical papers, you should also be the kind of person who knows the Greek alphabet, it's only got 24 letters and not all of them are generally used.
the demonstrated decreasing marriage rate does not support the premise that divorce rates are increasing.

is your response relevant in some other way?
He's alluding to the old 77% canard which has already been debunked. There's no pay gap between genders, the pay gap is between women who never married and women who have married at some point regardless of present status.

Something else he gets wrong is this "under representation in high paying jobs" canard. That's bad approximation again. The under-representation is in thing-oriented jobs versus relationship-oriented jobs. In Sweden, in all their equality, we still see mostly male engineers and mostly female nurses. It just happens that thing-oriented jobs pay more.
BBC gives single board computer to every single 12-year-old in the UK
Ask HN: What do cats love to play with?
Potential ml, iot, cv, ir experiment ~ better than acid cat!

Is it because they see things that humans do not?

Playing with an object controlled by humans helps them feel "grounded" as cats; does the same hold true for machines?
Lessons and data for writing an email newsletter people actually read
Ah, I see... so actually this is a big distinguishing factor that separates this from the other services I mentioned! Looking forward to playing around with this.
This is like 50 lines of code, wondering how much they charged for it ?
Check out DynECT from http://www.dyn.com

Twitter, Mozilla and lots of other big names use them. I remember watching a webcast where Mozilla said they used Dyn's anycast failover service, with TTLs on their domains set to 5 seconds.

I've been using their DynECT entry level package ($30/month) for a couple of years and it's great.

Edit: you might also find this comment from an old thread interesting/useful: https://news.ycombinator.com/item?id=7813589 (go up two levels to phil21's first comment - HN isn't giving me a direct link sadly)
I'm not wealthy, I have to work, but I'm far more affluent than anybody in my family has been. I've given this some thought and here's my belief:

You grow up and for whatever reason, your ambition is to accumulate wealth. You make sacrifices. You invest yourself. You trade years; your 20s, your 30s. You make a fortune.

Your bank account is full, but to your surprise you're still hungry. The money you've been chasing your whole life, it turns out, does not have magical powers to make you happy. The thing that was supposed to offer you fulfillment and peace didn't work. And that sucks. You deny it, for years probably, or forever. And you get angry about it. Lashing out. High taxes and entitlements are the problem, or pan handlers, welfare and obamacare, all the people with their hands in your pocket. And it all just pisses you off.

None of this is fact, of course, just my belief. I'm trying to learn from these lessons as best as I can. So far I give myself a C+ at best.
How to Scroll
The Memory Palace is so good. I wish Nate DiMeo had more time to produce it. I love how Roman Mars from 99% Invisible ripped off Nate's intro.
Indeed. Catch-up rates could also be a function of how far out-of-whack the current property tax bill is.

This could even be part of a hybrid approach where owners have some protection against rapid changes, but bills slowly catch-up to their neighbors… restoring equal protection under the law regardless of date-of-purchase.

For example, the increase-cap could be "the larger of 1% [like Prop 13] or a rate that, compounded 20 years, would reach parity with peer properties". As long as your bill is only ~22% less than comparable properties, you're still on the Prop 13 1% plan. But when things really get out of whack, your rates go up slightly more... and you have very strong visibility into the next two decades' of rises, if you assume property values hold. (If you're paying half your comparable-property new neighbors, your bill would go up around 3.5%/year.)

No surprises, small annual changes, but (over time) far less of a giant tax-handout to the already-property-rich.
First Photo From Space (2006)