skysight-inc/HackerNews huggingface dataset:
"Text" only makes a good lowest common denominator on UNIX because the designers of UNIX decided that ASCII would be the lowest common denominator of the system. The designers of modern Windows decided that MSIL objects would be their lowest common denominator.

If the UNIX designers had chosen some other lowest common denominator, all of these diverse utilities would be communicating over that protocol instead of ASCII. The choice to use "text" came first and the ecosystem came afterward.
It took 5 tries hitting the reply button, accidently giving you a down vote in the process...

The text having a fix width is a pain. On my screen and with my eyes, I have to zoom in and scroll each line back and forth. Makes it annoying to read.
Relevant: http://pastebin.com/BjD84BQ3

Also, I'll link my critique of amazon's work environment/culture here: https://www.reddit.com/r/Seattle/comments/3hc9gs/jeff_bezos_...

Amazon isn't the worst place to work, certainly, and some parts of it are alright, but it has some enormous, deep seated institutional problems with the way it treats its workers (blue collar and white collar). Fundamentally the problem is that Amazon treats workers like machinery, and even when they aren't being "overworked" in a nominal sense of hours per week they are still often being overburdened in terms of stress and workload. I've had many friends and friendly-acquaintances who have worked for amazon in one capacity or another and nearly universally (with one exception) the story is that it's a decidedly sub-par experience, and many of them leave of their own volition after only 1 or 2 years. For myself I left a significant amount of bonuses and stock grants, let alone salary, on the table to only work 1 year there. There are some things amazon does well, even exceptionally well, but maintaining a healthy work environment is not one of them.
There's a few mobile-friendly versions of Hacker News, using the API. I prefer http://hn.premii.com
Have a look at this too - http://hn.premii.com/
Hacker News(YC) is a fully featured free app for iOS. It allows for commenting, upvoting and submitting news. Not sure about Android though.
Not sure what %age of junta use the web version on mobile?
I don't think it is fundamentally different. When I think of a shell I think of pipes and interactivity. What you pass between through the pipe is secondary. The fundamental nature of the shell is those two things and everything else is just sugar on top. PowerShell has that and more so I'd say it is not fundamentally different and in fact it is objectively better.
It's bad and you should feel bad
Is this provably safe? I feel like there's been a lot of discussion in the Rust community RE safeness, and my impression from the sidelines is that it's non-trivial.
Why not use shared_ptr in this case? Why enforce single ownership?
Get+Your+FREE+Steam+Wallet+Codes+Here
Gotos in spitbol can be conditional or unconditional.
The site would be dramatically more mobile friendly with the addition of 2 css rules:
textarea {
width: 100%;
}
table {
width: 100%;
}

So it doesn't seem like the problem is completely insoluble.
man locale(1)

Non-ASCII has been supported for a long time.
There are two columns: one for the text and one for the vote buttons. Does that affect your version?

(What are those few lines of CSS btw?)
Which browser are you using? On Android, both Firefox and Chrome have the option to increase the font size, allowing you to read comments without zooming in.

The lack of text reflow when zooming in is really annoying though.
I have to say, I accomplished all this with a simple bash script in about 60 minutes or less. Using a sledgehammer like Rethink for something that can be easily handled with a text file and logrotate is just...overkill. I understand that it's a rethink blog, but I completely finished the project in less time that it took him to compile the database.
Without nukes the cold war would have probably been significantly warmer
Which neighborhood do you live in? Why did you choose it?
I agree with you. To be honest, it took me a few tries to understand how move semantics really works (the unfortunate naming of std::move really didn't help). I'm still not sure my understanding is 100% correct according to the standard, but at least my mental model makes sense to me and seems to agree with the behavior displayed by the compiler.
Air Quality Is Worse in Portland, OR Than in Beijing
Yes, it will happen. Yes, we're working on it. The reasons it's taking so long are: (1) the change required is not tiny; and (2) everyone working on it has many other things to do, most of which are more pressing.

That doesn't make it a low priority (it's a high priority), but it means we have to do it as a background process.
Millions of doomsday preppers may disagree.
One change that could be made is to wrap very long unbroken lines.

Visiting /comments when someone has left a post with a very long unbroken line will break the site.

Browsers are oddly broken for mobile. Here's what text entry looks like on Chrome for iOS - http://imgur.com/gjLdS6A
Cat purr generator
Also sizes: fonts, controls. I don't understand how people can call "mobile-friendly" site with extra small font and horizontal scroll - maybe they hate own eyes or it's hidden form of masochism?
>> Disclosure: Jeff Bezos is an investor in Business Insider through his personal investment company Bezos Expeditions.

Meh.
There's every chance I have a better personal cultural fit with the Swedes, but that's very much a personal thing. In my experience English is more widely spoken in Sweden than in Spain, which also makes it easier for me. I think the economy in Sweden is stronger.
Responsive design to adjust column width might be useful.
Let me add to that:

https://en.wikipedia.org/wiki/Covert_United_States_foreign_r...

https://en.wikipedia.org/wiki/Timeline_of_United_States_mili...

https://en.wikipedia.org/wiki/Overseas_interventions_of_the_...

If you look at history, China looks way more pacifist than the US. In fact, one has to wonder why the US govt. and media keep spreading fear about China... Perhaps the US govt./media are scared of some country doing to them the exact same things they do and have done to other countries.
http://www.bgiworldwide.com/domestic-shipping/rail says "Typical transit time for coast-to-coast delivery is 7 to 10 days."

Figuring 44 hours to drive across the country (NYC to SF), and a maximum of 11 hours long-haul driving per day, gives 4 days. That's for a single driver; a team with a sleeper can go further. Call it 2x faster with a truck.

Amazon has fulfillment locations all around the US, so even with ground-only shipping they don't need two full days on average to deliver. (Map at http://www.amazonfulfillmentcareers.com/amazon-fulfillment/l... )
There is also an Android app by this premii person, and it re-directs all links through its own domain. Very annoying and actually borderline malicious.
I believe that the traffic patterns (up/down request amount and timing) will still look sufficiently different from a 'normal' https connection to be detected and cut off within an hour.
If you're on iOS and want an app I would suggest Akepa. Amazing app.
A collection of debugging stories
You also need week_ptr, that holds a pointer for a week... just kidding...

But often you need weak_ptr, for caches - where shared_ptr won't free it, and unique_ptr won't allow it to be shared.
No thanks, I'll rather use something that works on more than Nvidia. Better or not, that's too proprietary for me.
Previously: https://news.ycombinator.com/item?id=10078923
> Theremin
> Tim Blake
> Hawkwind
> Live Seventy Nine

Thank you for enriching my life.
Some people might ask why I chose to make the parameter of BlackBox::store an rvalue reference rather than an lvalue reference and force the client code to use std::move. While it is true that an lvalue reference would also have worked, if I did that, it would be impossible to write code like crate.store(std::make_unique<Gadget>(beeper, flasher));. I also happen to think that forcing the client to use std::move at the call sites is good rather than bad, because it communicates the intended effect to the reader.

Passing unique_ptr by value is the correct option here, it will accept temporaries just fine.

And in my opionion, if you want safety quarantees like that, use Rust. I was a fan of the new C++ standards a while ago, but after having used them for some time, I found C is a lot nicer language. There's just way too much mental overhead when trying to write "idiomatic C++" and the compiler errors you sometimes get are just a waste of developer time.
One has to wonder how the US became what it is... I mean, for example, how do US people get cheap oil? By having their own government invade countries, right?
Because the example is about an idiomatic way of enforcing exclusive pointer ownership. Maybe it wasn't a very good example though. A better example might be this: in the Builder design pattern, an object is built from various "parts" by the client. It's obvious that the object should have an exclusive ownership of all of its parts. However, at the time of creation, each part belongs to whoever created it, so the ownership needs to be transferred.
"Yarn for Hacker News" can both comment and post from Android devices. And using the browser share bottun, you can post stories to HN. Also can open comment links from other apps. It's very useful, but only hope it would be able to change font size. https://play.google.com/store/apps/details?id=au.com.timmutt...
Driver Detective Crack Registration Key Full Free Download
If you visit the Netherlands you may be interested in stopping at FEBO, which is a hybrid automat/fast food chain.

https://en.wikipedia.org/wiki/FEBO
The trouble with the theremin is that you have to be really good before it sounds even halfway decent, simply because staying on key is so hard. Even if you're good, you can't do much with it.

But maybe if it had something like Auto-Tune, so it had a bias for being on key...
Terminal is all I need:)
I miss easy navigation features of a desktop browser when opening HN website in mobile browsers.

My flow is - I go through the submissions in a page, and when I like one, most of the time I open the story and its comments page both - in separate tabs. I read the story first and the switch to the next tab to read the comments. When I have completed all the tabs, I go to the next HN page. In mobile it's pretty cumbersome to navigate among tabs.

I seldom use the mobile site, I find the HN reader app by premii[1] the best suited for me.

[1] https://play.google.com/store/apps/details?id=com.premii.hn
And the same goes for Hoffman. He's partly responsible for LinkedIn, which is in my opinion one of the most disgusting (in terms of their data collection, creepy analysis, and overall recruiter-heavy membership) companies that has ever been created, I don't understand why anyone (apart from the type of people who join get-rich-quick pyramid schemes in Las Vegas conference rooms) would want his advice.
SQLite4: The Design of SQLite4
We detached this subthread from https://news.ycombinator.com/item?id=10101653 and marked it off-topic, since it was a generic tangent that led, as so often happens, to a flamewar.

It happened elsewhere in this thread as well: https://news.ycombinator.com/item?id=10103364. The end state of that one was Hitler, the end state of this one was jingoism. There aren't many end states.

This subthread turned so pathetic that I wonder if we should create overflow pages for these. The bottom of a regular thread seems too good for them.
Js-code-structure:  Analyse the structure of your js project
I thought this left/right brain stuff was considered pseudoscience at best. Granted, there is more to this article, but I find it somewhat hard to take seriously.
Someone brought up this point during another discussion and initially I agreed with them. However, someone else suggested that if the function has more parameters, an exception might happen when passing the arguments for the other parameters, so the transfer of ownership won't happen, but the caller will have already lost the ownership. Passing by rvalue reference means the caller retains ownership until the very last possible moment.
Ask HN: Anyone in Berlin and free today to code a new iOS app with me?
Probably not the right use for HN but I want to get an iOS app out the door today but can't alone, so was hoping to get hyper productive with someone with free time and iOS skills in Berlin. Just a test to see if HN can be used in this way.
PayPal's API style guide
Looks pretty nice, nice and simple. I didn't sign up because I am not managing people's vacations, but I definitely would if I were that person where I work. Value proposition is immediately obvious. Great name too

If you're serious about making money off of this, though, I'd highly recommend some form of per-seat pricing.

Per-seat pricing aligns the usefulness of the app with how much people are paying. Would you really want (for example) a 100 person team to be only giving you 15 pounds a month for what is probably _days_ of saved administrative time per year? Off the top of my head $15/user/year seems like a good price to deal with vacationing. Though ideally that number is MAX_NUMBER_YOU_CAN_CONVINCE_PEOPLE_TO_CHARGE/user/year
Seems that there are only massive benefits to use a blocker. And a good chunk of the most valuable audience will be gone in a matter of a few weeks... Whatever hurts the advertising industry increases the pressure to find real business models. This is a win-win for everyone.

And whoever cries that is site/app doesn't make enough cash any longer, didn't have something valuable at the first place. No one will bat an eye.
Why choose Better Homes?
This is obviously not what I was talking about. I was talking about data representations heterogenous to the idea of "text".

I used "ASCII" instead of "text" to stress that "text" is just a protocol like anything else. The UNIX I'm running is set to use UTF8.
Academic Writing with a Coach
For fast failover, you'd generally use BFD (bi-directional forwarding detection) in conjunction with a standard routing protocol like BGP, OSPF, or IS-IS. It's sufficiently complex to do on a proper networking platform, and even more difficult to do in a general purpose operating system. You can also just use aggressive timeout values with your routing protocol, but failover won't be quite as graceful.
This looks interesting, sadly I'm getting an internal server error from the demo.
Yup, linkedin from the perspective of a software developer is a pretty horrendous product both in terms of usability (dark UI patterns) and recruiter spam. I'm sure there is some value in having an account but I was not able to find any value.

I think most recruiters rightfully assume that if you have an account then you secretly want to be contacted and I'm sure most programmers feel like rockstars for being wanted so badly and being spammed with "opportunities". I closed my account a while ago for philosophical and practical reasons. I have yet to find a good professional network for programmers but given the state of the programmer job market I'm not feeling left out for not having a linkedin account.
Cozy, a personal cloud you can host, customize and fully control
Edit: This is probably too negative of a comment. It's just years of frustration with MS coming out, that's all.

I've not got much inside knowledge. I was an MVP 2003-2005 on C# then CLR and Security. I wasn't very knowledgeable back then, but I don't recall any push for FP style, at all. I think the fact that C# originally didn't have lambdas, then added them with an 8-character keyword says enough.

Implementing better generics later? I doubt it. There's been no CLR changes since v2, as far as the type system or IL goes. So that's 10 years, no additions, just added tweaks here and there. Hell, even now, .NET Native relies on source-level transformations, instead of being implemented at the IL-level.

They've been hyping Rosyln. Great. One famous problem with C#'s compiler is that its design made it very hard to add type inference consistently to the language[1]. They rewrote the compiler, did they fix that? Nope. Even worse: My watch says it's 2015, but VS/C# still doesn't ship a REPL. Come on. (Yeah maybe "C# Interactive" will show up some day now that 2015 has RTM'd. But not today.)

The core of my complaint is that they have a mindset of implementing things as hard-coded scenarios, versus general purpose features. Async. Dynamic. Duck typing. Operators. Even the lambda syntax being ambiguous between expressions and code. Why? Cause they choose an end-user scenario, e.g. LINQ, then implemented just what they need to get that scenario done. That lacks elegance. It adds conceptual overhead.

Java has more popularity because MS decided to shun non-Windows. Essentially no one prefers Java-the-language over C#, but Windows-only is a nonstarter in many cases. My IE comment is saying that, like IE, MS has removed resources and the drive to seriously improve its language tech, as there are no real competitors in their space, language-wise.

1: http://blogs.msdn.com/b/ericlippert/archive/2009/01/26/why-n...

P.S. I still think C# is a good language in relative terms and they have brilliant people doing great work on it. And the polish of the tooling - wow, yeah it's amazing. I'm just disappointed that MS doesn't seem to be interested in really upping-the-ante and being a leader here. F# is basically a "best-of-breed" language that'd put them solidly ahead, yet they neglect it.
How to Bypass SMS Verification of Any Website/Service
Midsomer murders
It is now easy to edit the genomes of plants, animals and humans
Looks interesting. It won't be hard to do UX better than the competition (like https://www.myhrtoolkit.com). Getting people to migrate from their current system will be difficult though.

You might want to update that iPad screenshot. Use the new look iOS.
[Slightly OT] Crashes my firefox everytime (FF 40 on OSX).
If I read link this correctly, the "is" here is more like "is currently" and not "is over the long term"; there's a large fire in the Columbia Gorge, with winds blowing the smoke to Portand.

I grew up in Miami. Every once in a while there would be a news blurb about how it was warmer in Anchorage than Miami. "Miami is colder than Anchorage" is both true and false, "depend[ing] on what the meaning of the word 'is' is."
Theres no reason they have to be physical signs, just link it to the speed limit database companies like TomTom seem to have for their GPS units and use that. There's always the problem of keeping that up to date, but its no harder than the problems that would have to be solved for physical signs.
Is the use of fret marks (the player has a piece of cardboard with lines for certain notes) a common thing among Theremin players or is it generally not done for some reason?
(Intuitively it makes sense, yet it's the first time I have noticed them)
I added the GPLv3 licence [1]: I didn't think it'd get this much attention to be honest and therefore the licensing didn't cross my mind.

[1] https://github.com/Gladdy/EasyOpenCL/commit/da59775e94b580d4...
On such a simple site it's enough to set max-width on the whole body and maybe adjust a few elements such as the comment input box.

These max-widths etc. can be different based on available screen width: https://css-tricks.com/css-media-queries/

The meta tag can be used to set viewport width to device screen width. Without it, the mobile browser doesn't know what minimum screen width the webpage requires, so it assumes 800px (or 1024px), because rendering a random website with viewport width of 240px is not a good idea even in 2015.

My point is, browsers should be doing what the website code tells them to do. Websites that display nicely on desktop computers usually display fairly nicely on mobile as well. But HN shows 20-30 words per line on desktop, which is... suboptimal for readability, so it's only expected that mobile browsers produce similar results.
Seems like a false dichotomy, you could also just have zero almonds and grow something else.
Pretty interesting, although reimplementing every single standard text editor behavior can be difficult.

Missing standard text editor behavior that I know of:

- right-clicking on selected text

- dragging-and-dropping selected text

- triple-click to select paragraph

- OS X emacs keybindings: ctrl+n/p/f/b as arrow keys, ctrl+a/e to go to beginning/end of line, ctrl+k/y to cut/paste, etc
Or never gotten off the ground in the first place...
Cheap thermal imagers can steal user PINs
It has aliases for 90% of those commands, though.
The big difference is that in Rust, if you make an borrow error and try to use something you moved away, it's caught at compile time. In C++11, you dereference zero and crash, because the reference moved from was zeroed out.
Tip: insert manual newlines into verbatim/code blocks to make them more readable:

Some people might ask why I chose to make
the parameter of BlackBox::store an rvalue
reference rather than an lvalue reference
and force the client code to use std::move.
While it is true that an lvalue reference
would also have worked, if I did that, it
would be impossible to write code like
crate.store(std::make_unique<Gadget>(beeper, flasher));.
I also happen to think that forcing the client to use
std::move at the call sites is good rather than bad,
because it communicates the intended effect to the reader.
Do you mean something like this? http://ideone.com/8tPPHy
Ashley Madison faces $578M Canadian class-action lawsuit
Bootstrap Animated Checkboxes
Le Tote (YC S13) Is Hiring a Lead Ruby Developer
Hacking the Iridium network could be very easy
Tame is forming up pretty nicely.

The logic here is that most of the time files of certain type are usually in logical locations, whereas with SELinux the logic is that types are intrinsic properties of objects, and saved as metadata their metadata. The difference is that with the latter moving the object does not change the properties (the context comes along), while the first one might lose the properties in case something made moving outside the intended envelope possible.

The approach taken by Tame is technically easier to implement without shooting yourself in the foot, and featured also in Grsecurity fame's RBAC implementation. Jolly good.

The thing just is, the approach taken by SELinux with the external security daemon can and has been extended beyond files. Tracking the information by its properties when it moves from files to database, web servers, etc, is a powerful (but extremely hard for implementors) feature. Also, administratively the security classifications of documents are properties of documents, not the storage containers they are found from.
PowerShell is not case sensitive.
For an example of what you can do with this tiny TCL lib take a look at: https://github.com/dimkr/packlim
Yes. It seems to work, but it might be a coincidence. The order of argument evaluation is undefined. It might be that the exception gets thrown before the ownership is transferred, but it's just luck. I have modified your example a bit, to better trace what's happening: http://ideone.com/tgh0xe
Unfortunately this advice fails for forward references, which is one of the most common reasons for using a pointer (e.g. the pimpl idiom). An example:

#include <memory>
struct Gadget;
struct BlackBox {
std::unique_ptr<Gadget> contents;
~BlackBox();
};

void func() {
BlackBox b;
}

This will fail to compile (for reasons I don't understand - can anyone explain?) But replace the unique_ptr with a raw pointer and it will be fine.
It seems to work well in Scotland, but then there aren't exactly the same drought problems.

https://en.wikipedia.org/wiki/Cruachan_Power_Station