skysight-inc/HackerNews huggingface dataset:
A lot of testing :)

You can attach Firefox, IE, Safari etc as a preview client to do cross-browser testing as you develop, but I've kept the IDE targetting Chrome for now so I can focus on adding features (still a lot more to do).
I finally signed up to crypto-gram, as not only do I appreciate the work, but I would like to add to the surveillance requirements of spy agencies.

The best practice may indeed be to Encrypt it all...
German names are hard enough for monolingual English speakers.
I use `!:p` to the same effect. Which has the benefit that you can insert a history number between the bang! and the colon: ( set PS1 to include the command number if you do this a lot ).
I'm going to go out on a limb here and say that the reservation thing, while being a bit sketchy in that the guy uses a fake name, doesn't seem as abhorrent as people seem to be making it out to be. If the guy was printing money hand over fist like an evil villain that'd be one thing, but it sounds like a weekend hack. An experiment. You know, the type of thing we encourage here so as to learn something. He cancels the reservation if nobody buys it. He's focusing on restaurants where demand outstrips supply (by definition.) My guess is the net effect of this experiment is probably increased revenue for the restaurants involved. It would be interesting if he presented numbers.

It's an interesting experiment. Should it be literally turned into a business, as-is? No, because it requires a) lying on the phone and b) leaves the possibility open that restaurants are going to leave money on the table, so beyond being unethical you probably don't want to make enemies of the people who are providing the service your customers are paying for. It's not viable, and it's both dumb and unethical to form a serious venture around as-is. But let's admit it, he's found something interesting that perhaps with some tweaks could be turned into something disruptive. In the startups I've worked stuff we ran small stuff like this all the time: things that we'd never try to scale since we were breaking the rules a bit, but we were trying to learn something and knew the way we were executing on it "in the small" did not cause any real harm.

But if we are going to just hang people out to dry immediately for releasing small experiments to test gaps in the market or test boundaries, then we've lost what it means to be a hacker. I don't like the idea that my entire reputation can be ruined if I launch a weekend hack that ends up on valleywag and starts a hate train fueled by wider hatred around the tech industry. Part of the reason startups work is because you can bend the rules a bit while you are small and under the radar while you look around at the edges for the opportunity for a real business you can stand behind. But with Twitter and the tech press even single individuals no longer seem to be able to stay off the radar if their experiment will drive clicks from angry readers and re-enforce their stereotypes about the tech scene.
> If the foundational layout language for the web requires more than basic effort to create a responsive design, something with it is fundamentally rotten to the core.

CSS is a language. Like Haskell, C++, or Ruby, if you only put "basic effort" into learning it when you try to write some it will be absolute shit.
1. Flexbox, through the align-items property.

2. Flexbox, setting flex: 1; to the boxes. Can be done vertically or horizontally.

3. Flexbox, setting flex: 1; to boxes. Setting a min-width to a flex-item takes precedence so it will be honored.

4. You got me. I remember hearing talk about an aspect-ratio property. I'm not sure if the object-fit/object-position properties get the job done. The hacks will have to continue for now.

5. left: -50%; and margin-left: 25%; will work. See: http://codepen.io/bennettfeely/pen/LktDi

6. width: content-width;? I don't know how the browser support is there, however. It may be possible.

7. Same width as what element? The parent? Set position: relative; to the parent and top: 0; right: 0; to the child.

8. That seems like a real edge case and maybe a bug. I'm not sure.

I hope that I got at least a few of those right but CSS and browsers are consistently getting faster and more powerful and the answer to tricky layouts is increasingly not "just use JS". Flexbox is now supported by all the browsers and solves a whole lot of layout problems that designers/developers have wrestled with.
The fraction of terrorists in "all people that use the internet" is approximately equal to the fraction of terrorists in "privacy seekers" -- both are roughly zero.

The NSA only was given such pervasive power to catch terrorists. The fact that privacy seekers are more likely to be "bad actors" is moot unless that means terrorists because regular "bad actors" are supposed to be innocent until guilty, handled by police/fbi, etc. NSA only is allowed to work essentially with no due process because it's for cathing "terrorists". Interestingly, now that terrorists know about the NSA, they no doubt will simply not use the internet (or phones) at all, thus making it so the NSA can't catch a terrorist by any of its methods.

I definitely expect all terrorists are extremely careful about internet activity now that they know the NSA is so invasive, thus making the NSA's actions even less defensible (not that I thought they ever were).
The numbers did seem a little low to me in consumption (and certainly their bar graphs are way out), and I took it as granted that they weren't including power up or down times - you're certainly very right in saying that there isn't enough detail given for consumption.

I'll take it on the chin, but just say that in my experience in my previous job, I firmware-tested and provisioned 3G modems for low-power usage in remote telemetry units. Not an EE myself, I worked closely with them, and when they were looking for replacement modems from various vendors to replace an end-of-life model, the primary (relevant) stat listed and discussed was mA rather than joules - it seemed normal to me that mA was acceptable to mention for the task.

Sorry for the delayed comment - HN speed-post limitation.
Show HN: Railyo - job board for Rails freelancers
His twitter background is grumpy cat.
> German public broadcaster Das Erste revealed yesterday the existence of a previously undisclosed NSA program called XKeyscore...

I'm not entirely sure what they mean, but we've known about it from Snowden leaks, too:

https://en.wikipedia.org/wiki/XKeyscore
Very clever. However I still think that any scheme that requires people to pay in advance is going to struggle. You're always going to be facing the "simulation heuristic".
I don't enjoy getting into arguments about claims in a blog which does not cite appropriate scientific journals/papers to back up their argument.

At least the bodybuilding camp (extremely high consumers of protein) cites such papers, and you only need to go to reddit/r/fitness, or 4chan/fit, or even bodybuilding.com.

Edit: reworded.
Honestly, I don't think there is any street parking price that would scare them away, especially since the only limitation is the space constraint and not the contents of car driver wallets. There will always be someone that's willing to pay for a slightly better spot, and even if SF sets meters to $15-20/hr some areas are still going to stay congested. All I can really hope is that the program can expand and adjust prices so it's just a little bit less congested while not being outrageously priced, so people are a little bit less tempted to break the law. [1]

The gross thing about some of these startups was that they were looking for people to hire to squat on parking spaces. Not just the one-off space, but literally, your job was squatting until someone paid for the space. It's unbelievable. I hate parking here but not enough to screw around with other people looking for a parking space or to pay for a service like that. I would not shed a single tear if cops started using the apps in question to write the people selling spaces $300 tickets for breaking local laws.

Really not sure why all these "disruptors" can't just channel their energy into improving public transit and working on better (but slower and still imperfect) approaches to the parking problem just like sfpark. "Let's find you an available space and let's make it frictionless for you to pay for parking" if not just "let's fix the problems you have with taking Muni" is better in the long term than "let's create an app to auction off _public_ parking spaces".

I'm not even going to approach reservationhop because I also own a restaurant. I could write a wall of text about that....

edited in: [1] So I addressed this in other comments, but the sfpark program also involved installing per-spot sensors in over 8k meters in the city (along with credit card-supporting meters and remote pay). There was an official app (and third party dev access!) that showed you which _exact spaces_ were available near you. Imagine the ability to just discover that there's a space open 2 blocks away at half the price of the area you were searching in. Now that's the kind of technology I could get behind that would have a chance of destroying Monkey Parking and the likes on its own. I'm hoping SFMTA brings that back soon.
Show HN: GemBundle - Discover new Ruby Gems
I'd love one to kick the tires for awhile.
Said no one ever.

This is just plain wrong to force someone with your new hype and vague idea of how a web application should be developed using only your new hipster framework of choice and nothing else.

There are tons of way you can write a web application, that's why open source is cool, chose the one that pleases you and have fun with it, but stop trying to prevent others using anything else but what you judge to be the best.
>Correct, some of my best results were from just talking to people about finding a place, knocking on doors, etc.

That's the benefit of doing the hostel thing and talking with people that have been where you're going. Some will say what's in your LP and some might have other suggestions. The staff as well -- they might have friends in another city or tell you where they stay, bc it's cheaper for them, and maybe hook you up.

There's also the AirBnB w/o paying: couchsurfing.org - which has been around a while.

personlurking mentioned Portugal - it's been a while but when I was in the Algarve during a summer trip there tended to be some little old ladies always letting their places out. They looked quite nice and, if you were staying a week or more, were reasonably priced. Even better if you find some companions.
No, but HN has often gone through such topic storms. It will settle down.

If you'd like more reassurance you could try these other editions of the above comment:

https://news.ycombinator.com/item?id=7987523

https://news.ycombinator.com/item?id=7987449
How are you getting the device emulator to have a phone border in Chrome?
I think you summed it up quite well. I want to keep Entomic as close to the code as I can. Devs already know HTML and CSS, so there's no point learning a WYSIWYG editor where you can't transfer your knowledge. Also when you put an interface between code and the developer, he/she will eventually end up fighting the interface to do something they could do easily with just code.

Where I see Entomic is to make the process of coding faster, to minimize writing bugs, and to get instant feedback on your site as you make it so you can catch any issues before they get too entangled with the project.

That's the plan anyway :)
Sure thing, where can I send you an email?
Not seen famo.us before... Pretty much none of the demos work properly on my phone with the stock Android browser and 4.3.. And the amount of flickering in the browser even on my laptop was annoying. Looks to me like they have a long way to go.
Hoe beter slapen zonder slaapmiddelen? | Leef Nu Gezonder
I think the point re rich-vs-poor is that efficient pricing should be decoupled from wealth redistribution initiatives. An inefficient allocation of resources only has the side-effect of kind-of sort-of assisting the poor. The real solution is to efficiently allocate resources, and then separately take action to correct economic injustice.
I'm just thankful we broke up before procreating and she didn't pass the dreadful condition on to our children.

(sarcasm, responding to the tone of the article ...wait, do I _really need to explain that?)
SF had a pilot program to (among other things) install per-spot sensors in around 8k metered spaces in congested areas. There was a companion iOS/Android app that could direct you to the nearest sensor-enabled available street parking spot. I used it a couple times, it was great.

Sadly it doesn't work right now because the program ended, but while it existed, realtime data was even accessible to third party developers. The potential was huge.

http://sfpark.org/how-it-works/the-sensors/

If someone wants to disrupt something, it should be by helping the SFMTA to bring sensors back along with upgrading the rest of the city's meters to the smart, credit card accepting, remote pay enabled, pricing-based-on-demand system that only some of the meters use.
Love the idea. Looks great.
As a dissenting voice I never found A&A to be half as good as they presented themselves to be. I was a customer for just over two years.

I had poor, lossy line performance for most of my time with that ISP, with no resolution to any of the support tickets I opened. No interest from any of their staff in investigating. Eventually I had to contact BT Openreach on my own initiative, not an easy process for a retail customer, and arrange engineer visits to correct.

Yet the MD boasted on his blog of how he bullied BT into fixing his parents' broadband over Christmas one year. Nice if you're in the family.

When I migrated to another ISP ( using the correct migration process ), A&A put a broadband cessation order on my line and killed Internet access a week later.

My current ISP doesn't require 'shibboleth' code-words. They listen to the enquiry and respond appropriately.
Controversial Viral Music Video
I am in the tropics on the equator and the concept of 4 seasons is meaningless here.

At least when I was in New Zealand I could just inverse the seasons to see what USA based companies and people were talking about when they referenced their seasons. Now I have to do a mental calculation (which is hard to remember, as as I said, you don't get seasons here at all) to work out time frames when people are talking about stuff like this.

A decent chunk of the population of the planet (most of it, I think?) lives around the equator
Why is advertising "fundamentally manipulative and dishonest?" People aren't stupid. Give them more credit. Truly effective advertising gives more credit to its viewers than you seem to. Have you ever run an advertising campaign? Do you know anything about marketing a product? Cynically manipulating people may help you in the short run, but good sales and marketing is about informing people of value you can provide in a way that respects their time and intelligence.
> Are you kidding? Of course it's useful to the customer!

It is not clear to me that the benefit gained by the reservationhop user out weighs the negative externality[1] paid by the rest of the restaurant goers.

[1] http://en.wikipedia.org/wiki/Externality#Negative
Yikes. Gives me a whole new appreciation for our current stack.
Thanks. The vote total on my original comment has swung up and down so many times that I know it's getting lots of downvotes. The same goes for many of my previous comments in this vein. As to vdaniuk's claims of an anti-advertising meme on HN, I say: "show me". I've seen little.
I seem to be having less trouble with bouts of unproductiveness ever since I started sleeping 9 hours (at least) almost every night. This practice was discussed just the other day here on HN [0]. I've been doing it for a year or so.

I'm not saying that my periods of reduced productivity are completely gone, but they seem to be shorter and less severe.

[0] https://news.ycombinator.com/item?id=7965065
Stalker Photographer Does First Interview
If I was in Canada then I would go to Vision Media's office just to meet or rather verify the assertion. It would be a win win in either case.
Show HN: WebGL Duck Hunt remake
▶ KHAZARIA - YouTube
You are missing the amount of zeros before the comma (or decimal point).
This is really good. (y)
The CHERI capability model: Revisiting RISC in an age of risk
Show HN: Is trending
With the number of Show HN posts on the front page, it is clear that the Show HN page is trending on HN now :) Good work team
Bullshit. Many, many startups have a chicken and egg problem like this and artificially create demand or supply through 'questionable' tactics in order to prove the business model simultaneously to themselves and to their potential customers. This guy can now go into restaurants and tell them how much people are willing to pay for their reservations. Nobody else can do that, and that just might make the difference to getting those restaurants on board with his product. Once the engine is humming then of course not only will it be unnecessary to keep doing what he's doing but it won't scale anyway.

There's often no other option and the ends in fact do justify the means if the net result is a more efficient market for both parties once it has been bootstrapped up "in the small." Of course, this requires you to not be an evil scumbag and be honest with yourself, but I see no reason to assume a path of execution is inherently evil, the intent and overall strategy greatly matters.
Hopefully this video will kind of get at what all the other folks here are trying to point out regarding mAh or Ah being an utterly useless "power consumption" unit without explicitly defining the voltage.

I too agree that 0.026mA is completely meaningless to me.

https://www.youtube.com/watch?v=P6qarkvwENM
It's certainly one of the best reasons to pick a language. Popular = Ecosystem .
agreed. I've been coding for 20+ years now (shit I feel old), 15 or so years of them with HTML and friends and I still throw my hands up in the air every so often when trying to deal with something as simple as getting stuff to show in the right place on a web page. CSS really is hard to master.

Part of that could just be me. I don't really care how it works, I just figure out the smallest amount possible to get what I'm doing to work and leave it at that. Maybe it's the fact that there are many ways to do very similar things, e.g. I can access an element by id or class or another attribute and so I just really need to find one that works and move on to other more "important" parts of the app.
Server side dev folks have always enjoyed choice of language/system when it comes to building. You can simply choose the thing that works best for you, that you're more comfortable with, is most performant for your app, etc. On the client side, we have ... javascript. While JS is pretty fast these days everywhere and we can cross compile with emscripten and all, I'm almost tempted to say that the true web standard for programmability on both client-side and server side ought to be some kind of a byte-code .. a concept the Java guys had right way back.

If you consider that we have PNaCl compiling llvm-bitcode to native within the browser, Emscripten cross compiling llvm-bitcode to asm.js (which Firefox's engine converts to native), Safari's engine compiling js itself to llvm-bitcode, I'm thinking why not make llvm-bitcode an open web standard? That way, any language that compiles to llvm-bitcode would be equally usable on the server side and on the client side.

The biggest potential downside to that would probably be educational. I learn a lot by looking at source code and the web was always open in that way, though with minified JS these days that's not so possible any more. However, it might make it easier to distribute source code in any language, since a module can then compile and run such code right in the browser.

edit: These thoughts came up when I was thinking about how TJ won't be able to take his work with him as he moves to Go. Well, I suppose he wants to do new kind of work for which Go is better suited, but is then all of the prior work just a brief view along the journey?
> it doesn't create significant value for end users with advertising

It doesn't? Google ads fund YouTube, Gmail, Docs, Chrome, Android, and lots of other hit Google services that are Google produced products/content, not a middle-man service between content producer and advertiser.
Economic theory. A rich person earns more money per hour than a poor person (by definition). Money is a representation of value (by definition). In Economics, value earned is at least proportional (if not equal) to value created. So a rich person creates more value in the same amount of time than a poor person. Their time is literally more valuable.

The assumption of a rich person being rich because of the value created may sound plausible, but is empirically falsified for at least the USA and Germany. Statistically, a rich person is rich because she inherited.
Unfortunately bitcoin's potential for micropayments isn't so great at the moment, when the transaction fee is 5-10c.
The Real Meaning of the Fire Phone
Completely agree. Hats off to the city as SFPark is absolutely brilliant.

Are people actually using these "jerkTech" services though? If you've got the SFPark app, why would you bother with Monkey Parking? I get the feeling that they're all enjoying the free hype/hate which is being doled out right now as it's probably steering more users their way.

Ultimately though there is no way any of these services will be viable. If you face a $300 fine for renting out your parking space (as is the case in SF) and Monkey Parking makes it easy for law enforcement to track you down with their app, not a lot of people are going to want to bother.

It's a similar thing for making restaurant reservations. If restaurants start getting hit with a ton of no shows to the point where they're losing money, it doesn't take long to figure out that it's listed and file a cease-and-desist order.
Show HN: A new spin on merit based hiring
reservation bailing, like scalping can be solved through new business models: for reservation fraud, start by taking a creditcard and charge a 5$ reservation fee that is deducted from your bill. For scalping, there are a lot of various approaches that work.
Another I left <dynamic language> for <strong typed language> when faced with performance/large codebase/tooling issues post.

Additionally we are now past Rails wave, Node.js wave and into Go wave.
Reminds me of Zed Shaw leaving Ruby... Honestly, Node.js has done a lot, but, come on, it's still JavaScript in the core. The selling point that you can run the same code both on the client and on the server doesn't really hold up to the reality check. I'm not so excited about Go, I honestly find Rust better. Dart also seems promising - especially having dart2js and Google backing it, too, but it doesn't seem to be picking hype as fast as Ruby and then Node.js did. To me, having a powerful package manager seems to be the common theme and they key to success. I still can't believe with all the ego, Python is still relying on a joke like pip. Although I agree it would be challenging, I think the world will be a better place if there's a cross-language package manager, with language-specific plugins. At the end of the day, maybe 75% of the logic is shared and is around downloading things, installing symlinks, checking dependencies, and so on. Package that with a cross-language pyenv/rbenv/nodeenv, etc., and you would have a killer.
I only watched the presentation video and I'm being nitpicky but by convention git commit messages should be present tense.