skysight-inc/HackerNews huggingface dataset:
Is there a good reason to do `argc--` and then `<=` in the if statement versus just using `<`?

I know those guys were pretty smart, so I'm legitimately curious.
That's the right way, but internet on landing was super convenient. I bought proper SIMs for the places I stayed longer than a few days, but did it outside the airport (cheaper and no lines) once I was settled in.
Also practice/practise - a doctor's practice / practise the piano.

I don't think it's a waste of time, but language is fluid. Sometimes it changes very rapidly and sometimes slowly, but it's never static. Since the US uses a single spelling for both (and most of the world defaults to using US English) my guess is that the distinction will vanish eventually.

I'm slowly learning not to care about these distinctions when it comes to English, as long as the meaning is clear. The closer you look, the fuzzier language becomes - even in the UK or US alone, there are vast differences in the way it's used.
my god what series is this. its hilarious!

this video is accurate except im talking to customers.
That could be done by charging a standard fee for the operator's time spent searching.
This is what used to be called "concierge service". You can still get it with, for example, high-end American Express cards, or from firms which specialize in providing it.

Judging by the examples on your site, you've succeeded in bringing concierge service to (sorry) the masses, by pricing it much lower than competing offerings.

Congratulations! You have a highly viable MVP. Good luck scaling it out!
Except that text history is usually saved on the phone. If someone has access to sending texts, they will have access to that as well. It is probably better to go with phone locking, instead.

That said, I like the passcode idea. I know that caller ID is easily spoofed, and so I would imagine that the source ID for text messages can be spoofed as well. Requiring the passcode would prevent this sort of attack.
http://www.ncbi.nlm.nih.gov/pubmed/8157392
Huh. It turns out you're completely correct.

Turns out I was able to highlight and right click because I was selecting the <pre> embedded text in the comments of hacker news, rather than viewing source on the waterstones link.

I'm dismayed to report that the view source window doesn't give you this open. Even worse, if you right click on something that's highlighted as being a URL you can't even open it in a new window/tab. Colour me disappointed.
ye, that seems reasonable... it kinda complicates the process though
> I always wondered why they hung onto cartridges for as long as they did.

Well, they tried to start getting CD tech in the mid 1980s but fucked up badly.

Sony and Nintendo were going to produce an add-on for the SNES so it could load data from CDs. The licensing agreement would not have worked out well for Nintendo. That led to drama at the 1991 Consumer Electronics Show when Sony announced the product one day, and Nintendo announced that they were partnering with Philips instead the next day...[0]

After more false starts and some lawsuits, Sony basically then went on to produce the PlayStation without Nintendo. [1]

As for Nintendo's partnership with Philips -- that didn't work out either, though I don't know the details. I do know that Philips developed a system called the CD-i (which flopped), and got the rights to use some of Nintendo's characters. Philips later contracted other companies to produce games for the CD-i, which is why Link: The Faces of Evil, Zelda: The Wand of Gamelon, and Zelda's Adventure exist.[2]

[0] http://www.nytimes.com/1991/06/03/business/nintendo-philips-...

[1] https://en.wikipedia.org/wiki/PlayStation_%28console%29#Deve...

[2] https://en.wikipedia.org/wiki/CD-i_games_from_The_Legend_of_...
You do need to give them your credit card details though, which is like signing up.
Unless I'm being thick, I think the point of this parable is to question the developer, not the interviewer.

Despite using a bunch of fancy new language feature, name-dropping Knuth, and describing the solution for an hour, the result is code with no additional benefit and significantly worse maintainability.

Sometimes being smart doesn't have to look so smart.
Why are you posting here? Send them a text and ask.
On the app permission page:
"Mejorando.la will receive the following info: your public profile, friend list and email address."

I thought the new api always had friend's list as a an option.
And I'm unimpressed by the technology but dig the music! It takes all kinds.

I like dubstep when people put some thought into it and aren't just lazily fiddling with an LFO, but to be fair, getting into breakcore as a teenager might have permanently ruined my taste.
Am I supposed to tip the delivery guy?

Normally I tip for pizza delivery, Instacart, etc. Do you make sure that's included for me?
But how can you disrupt without parallax?

... And thanks. I thought I was the only one who thought the video fad was dumb. Now it's just a toll booth for getting a product presented, and I never watch them. How about others? Do you find videos actually useful or are they just glitz?
Don't waste your time on this website. It's a lazy-loader and never loads. There is no content.
The source of text messages is indeed easily spoofed. Most paid services enabling you to send SMS over the web allow you to set arbitrary sender IDs, so the cost of entry for spoofing is about $5.

It's not hard to imagine this leading to trouble as soon as you get into the crosshairs of some internet troll who managed to get your mobile number.
Another one that I didnt included that I've actually written about is selling a business on your product or service before building anything. http://ryansrich.com/blog/step-one-acquire-customer.html
The article quotes her as her suggesting she could be murdered, with 2000 bystanders looking on. That's considerably a bigger claim being made than assault in a hotel room or corner.

(OTOH, I'm fairly well convinced these threads are gonna go nowhere and reveal nothing interesting.)
pm me, i can tell u how Indians play the gay. You can play the same game these offshoring companies play to get a contract gig right away.
It seems to me that their target market is people who read the quote and go "I don't care enough about this to look elsewhere" - i.e. people who care if they're acquiring sufficient value for money+time spent, rather than people who care that they're acquiring the most efficient use of their money.
I agree, I love FM and will always think good FM or "real chiptunes" are more impressive than good sample-based synthesis, because you can't just lean on your sample library. There are a few Genesis trackers out there, including Deflemask[1], vgmmaker (which sadly, the author took down because he got tired of dealing with unappreciative jerks, so you'll have to Google a bit to find a copy), and YMDj [2] (a "native tracker" that runs on the Genesis itself)

[1] http://www.delek.com.ar/deflemask

[2] https://www.youtube.com/watch?v=nTDiPqkoFnc

A little over a year ago, Titan released a demo for the Genesis called Overdrive, and, well, it's fucking amazing, go watch it: https://www.youtube.com/watch?v=iQqJm14sHRY
Just symlink it as 'ls' and put it in your path :-)
Such work has begun: http://www.flatiron.com
The trade show being covered is an international trade show, not just a European trade show. Exhibitors from all over the world exhibit there, for buyers from all over the world. It happened to be in Europe when the reporter visited. The 2015 instance will be in Russia.

The particular exhibitor (NatureSeal) that told the reporter their product was a processing aid is a US company, so it seems a reasonably safe bet that then they describe their product as a "processing aid" they are using a definition similar to the meaning of the term in the US.

The UK definition is indeed similar to the US definition: "any substance not consumed as a food by itself, intentionally used in the processing of raw materials, foods or their ingredients, to fulfil a certain technological purpose during treatment or processing, and which may result in the unintentional but technically unavoidable presence of residues of the substance or its derivatives in the final product, provided that these residues do not present any health risk and do not have any technological effect on the finished product" [1].

[1] http://www.sustainweb.org/realbread/processing_aids/
PCI compliance for a start up is a solved problem.

They don't handle credit cards at all --- Stripe does. They just get a token.
Tom is the bomb
You don't text your CC data, they text you an HTTPS link and its Stripe that keeps your info.

This bit of the FAQ accounted for ~20% of all characters on the page.
Go is fundamentally flawed as a systems language and should never have been used as one.

In Go, the GC is opaque and non-optional. In rust it's the opposite. Go fails at one of the fundamental requirements of a systems language.

I have not heard many people claim that it really is one.
uhm they are not. The text is just a link to a site that uses stripe to collect your CC data.
Bitjet: Binary visualization using IPython widgets
You're not texting credit card data; in fact, they're not handling it at all. From the FAQ:

Q: How do you guarantee that my credit card number is safe and secure?

We will send you a 128-bit encrypted HTTPS link via SMS that you can click to enter your credit card number. We do not store your credit card number. All payment processing is handled by Stripe.
If `e` isn't already used by another command or function in your environment, you could do something like this in .bashrc, .zshrc, or wherever you put your aliases:

alias e='exa -1'
alias ea='exa -a1'
alias ee='exa -hla'

Note, that's a number "1" in the first two, and -h here includes the headers, which is different from ls -h, which exa appears to do by default. Other than the one entry per line printing, it's similar to the ubuntu default aliases for ls.
I don't see any mention of time constraints, except for "to save time, we have written some boilerplate for you". I wish my prospective employer clearly communicated key constraints like this.

If I were the candidate, though, I'd first explain the idea of the solution (takes half a minute), then discussed ways to implement it (a minute or two), then went with a particular solution (counter, bitmap, two chasing indices, etc). I'd keep feedback from interviewers constantly flowing.
From the FAQ:

> Q: How do you guarantee that my credit card number is safe and secure?

> We will send you a 128-bit encrypted HTTPS link via SMS that you can click to enter your credit card number. We do not store your credit card number. All payment processing is handled by Stripe.

EDIT: I guess this seems redundant now, others have posted the same thing in the time it took me to respond, hah.
Although after thinking about it I disagree with your post, I had the same initial impression.

I think it is because the wording of the texts make it seem like they are quoting the price of the service you are requesting, but the quote actually includes their fee. There's nothing wrong with that, but for some reason I didn't realize it on first read -- maybe a small wording change can make this more clear.
Without user namespaces (CLONE_NEWUSER), which Docker currently doesn't use, uid 0 inside a container is the same thing as uid 0 outside it. If you let Docker run apps as root, which seems to be not uncommon, then it is, in a strong sense, the same as the root user outside the container. That's why Jessie's gparted process can partition her disk: as long as it can get at the device node, it has full permissions on it.

Apart from things that you've explicitly given it access to (like device nodes), the risk of zero-days is higher because these sorts of things aren't quite zero-days: it's not fundamentally a violation of the kernel's security model for uid 0 to be able to do root-y things. You might want it to be unable to, and you might mostly succeed by not exposing certain device nodes, using a process namespace (CLONE_NEWPID) so it can't attach itself as a debugger to other things on the system, etc. etc. But there's no intent in the kernel to make this safe. It's mostly an emergent feature of other things, and emergent features make bad security features.

What you can do is run as not root, which still makes you the same as some other UID on the system, but guarantees that you're not risking increasing privileges. User namespaces give you a few additional features here: first, even the process of entering a chroot / container doesn't require root or a setuid binary, which is neat. Second, even if you're root inside the container, you're not root on the host system in the same sense, and it's just kernel code that's checking for uid == 0 (which should almost all be gone, since they changed the uid_t type in userns-enabled kernels) that thinks you're root.

SELinux might be able to help you here, and I'm not really familiar with what the standard recommendations for SELinux and Docker are. I'd basically consider applying it as if the container didn't exist: if you're comfortable with something running as root with SELinux confinement, then it's definitely fine to run as root inside Docker with SELinux confinement. If not, I wouldn't risk it.

For server containment, you should take a look at https://sandstorm.io/ , which uses user namespaces and runs apps as uid 1000 inside the namespace. This means that it's running with no more privilege than the host user in the worst case.
The landing page mentions that they ask the credit card details the first time you request a service.
This is exactly what Siri should be.

Apple has 800m credit cards on file (1)

In one fell swoop Apple could own the local delivery market, shocking how perfect of a concept / execution this is.

(1) http://www.businessinsider.com/credit-cards-on-file-apple-vs...
Excellent link; thank you.

It references _The Unix Programming Environment_, Kernighan & Pike (1984), pp. 77-79, "A digression on echo" which I found in PDF and is an immensely enjoyable and enlightening read :)

[1] http://books.cat-v.org/computer-science/unix-programming-env...
The customer knows if it arrived - do they need to notify you when it does? Or do all the services notify you? Otherwise, I don't see how you can tell if it's late and likely got misordered, and you need to contact the pizza place again.
Any sane bank would be running them a fat line of credit right now.
I love the idea. I currently pay minimum wage to a student friend of mine when they have time, but when they're busy paying the equivalent to a service would suit me fine.

I have no idea how viable this is, but if you could find an effective way to extend this to "we will deal with your suppliers who only work by phone, and charge you for the privilege of not having to make the stupid call yourself" I would be very interested ... but probably useless as a customer, since I'm in the UK. It's just I already pay for fulfillment work and wish I could easily pay for utility company wrangling, and if somebody can validate the model hopefully somebody will do it over here eventually :)
I take "hidden fees" to mean asterisks. That is, offering something for $10 and adding 7% for tax, a $1 service charge, 10¢ convenience fee, 5¢ concierge vetting fee... you get the picture.
Ask HN: Coming to the USA for a study exchange, where are the tech hubs?
As the title hints at, I am studying software engineering at UNSW in Sydney. In the 1st semester of 2016 (my final semester) I want to go on exchange to the USA, and use that opportunity to have a fantastic college experience and to meet potential future employers.

What would you call the tech hubs of the USA? Silicon Valley is obvious, Seattle also comes to mind, and I have heard that Austin and New York (although is that just due to the size of the city, not density of tech companies) also are 'tech hubs'. Are there any other areas that I should consider that have a lot of larger companies that would be willing to sponsor the visa for a software engineering grad?

So apart from asking where should I go, the other question is 'what are the grad recruitment patterns in the American tech industry?' Are companies willing to help bring international graduates to them? Am I limited to large companies, or are smaller organisations also in a position to hire overseas applicants? Are there fixed intakes once a year for new grads (common in Australia) or is the door open year round? Thanks, just trying to weigh up my options here
More broadly, the point is creating safe space for learning and development. It's harder to develop new ways of being in an environment that reinforces the old ones.
Just want to point out that such a service wouldn't work in India. The Reserve Bank of India has stipulated that all "card-not-present" transactions (such as online purchases) require a secondary authentication (Verified by VISA password or a grid printed on the back of card). This improves the security but also pushes the liability to the consumer, given that he is not supposed to share this secondary password with anyone else.
Postal Service's next-gen van carries a $6B prize
Example screenshots show iMessage, but the number provided supports SMS-text only.
Hey, just here to recommend that you use or otherwise build a CRM interface around the SMS conversations. This will allow you to scale the number of messages without being overwhelmed by operator costs.
Music Therapy Research May Offer Alzheimer's Prevention
Those women who are capable of STEM degrees, don't wanna work in the field of software and IT. They have moved to law, consulting, leadership programs, etc.

I see two kinds of people in the field of software and IT.

1. In many parts of the world, esp India, getting a job in software and IT is a way to make a living; otherwise, these guys would up unemployed or end up doing odd jobs. In other words, Software and IT is the only place to get out of the rut. Many of these guys end up moving to USA on H1B.

Just because someone choose some field to make a living, it does not mean that that someone is imcompetent. On the contrary, if you apply the same rule to those who go to HYP, then HYS law or HSW MBA are there to just make MORE money. Most of the latter set of guys are no different from a typical average Indian in India tries to get a software/IT job.

2. The career in software/IT in the states suck. That's the same in other tech fields like pharmaceutical, etc. There are NO defined pension plans. And these jobs are not stable like the middle class jobs of 1970's. So, many STEM students and students that are smart enough to study STEM, but don't want to, are not entering STEM at all.

STEM is good if you don't wanna work in the service sector (McJobs). But the capable folks don't wanna stay in the STEM. They would rather go for more lucrative ways of making money, as defined pension plans don't exist. And the stock options in the valley don't help the average engineer.

3. The real problem for USA lies elsewhere: lack of decent jobs. Instead of fixing the lack of jobs, politicians and policy makers want to drum up for more education, more degrees, etc.
1. Maybe it's just quoted at a ridiculous price

2. They may just be able to say it's not available and still maintain a positive experience for 99.9% of customers.

3. It doesn't seem like they're charging such a large fee that I expect them to do something crazy for me... I expect value in some proportion to my payment. Amex concierge might get the cheesesteak for a customer who spends 6-figures with them but not 4-figures, for example.
My First LLVM Compiler
It is better than 36
Uber-ize it.
Perfect. Now please come to Canada.
Public service: can we please do something about this?
This is entirely off-topic for HN, and yet I believe this is important. Normally one does not try to send a video viral for negative reasons, but this is absolutely ridiculous. Please dislike this video and report it for being abusive. Youtube is prioritizing this video in its primary advertising spot due to its popularity. Utterly disgusting behaviour.

I take this sort of thing to heart, as I - and I suspect other like-minded individuals who hang out here - find targeting people for being different to be above-and-beyond abhorrent. These people have physically assaulted strangers for the purpose of entertainment and views on youtube. This video is either a social experiment designed to enrage the public and cause controversy (ie: the "victims" are willing participants), or these are real people people assaulted in public for their choice of hairstyle. Either way, this is unacceptable and it is not ok for youtube to be providing this kind of socially unacceptable junk prime advertising space. Please make your voice be heard.
Thanks for the tip. I'll fix that tomorrow.
So POSIX allows no options to the command, but if the first operand is "-n" then the result is undefined. that compromise between the BSD and SysV behavior just have taken some time to work out.
Looking at the previous posts by this author it looks as though he's got a very specific interest in playing with JavaScript language features.

So I'm guessing this wasn't ever a real situation, just a fantasy story about how he'd love for an interview to play out.
Why do the fees vary? Why couldn't you have flat min fee + % of total cost? Am I missing something? I feel like pricing transparency is key to scaling quickly here.
Woman Sings to Raise Funds for Down Syndrome Research
Let theories be a set of theorems.

Let a theorem be a set of proofs that predict and detect oppression.

Let intersectionality imply inversions (!) to be:

- The intersections (∩) of the complement (c) of a theory with its overlapping theories and non-overlapping theories.

- The absolute complement of an theory and all non-overlapping theories.

Let intersectionality deny complements of a theory as a complete theory.

Let intersectionality treat all intersecting theories as new theories.

Let A, C, D be overlapping theories, thus:

Let D = B ∩ C

Let E = C ∩ A

Let F = A ∩ B

Thus, inversions can be defined as:

!A = (A ∩ B)c ∩ C

!B = (B ∩ C)c ∩ A

!C = (C ∩ A)c ∩ B

Thus:

!A = D
!B = E

!C = F

But:

(A ∩ B)c ∩ C = B ∩ C

(B ∩ C)c ∩ A = C ∩ A

(C ∩ A)c ∩ B = A ∩ B

This is logically false since B ∩ C contains not just (A ∩ B)c ∩ C, but also A ∩ B ∩ C.

Intersectionality's implications of inversion, then, is false.

To further demonstrate the point, let X be a different theory of oppression that has no intersecting theorems. Thus:

Ø = X ∩ A

Ø = X ∩ B

Ø = X ∩ C

Ø = X ∩ D

Ø = X ∩ E

Ø = X ∩ F

Thus:

X ∉ B ∩ C

X ∉ C ∩ A

X ∉ A ∩ B

However, due to the second rule of inversion, X is part of all inversions. Thus:

!A = D

Ø = X ∩ D

Ø = X ∩ (B ∩ C)

But:

!A = (A ∩ B)c ∩ C

Ø = X ∩ !A

Ø = X ∩ (A ∩ B)c ∩ C

Is a false statement.
It's pretty cool that cTrix has captured and uploaded these demos for the world to see. Here's his channel where some other elix demos can be seen. "Smash It" is pretty sweet! https://www.youtube.com/channel/UCgG3Nvp86j1WaHaLwjoVJZg
So you're saying that your coworker needs a real estate agent.

Is there a reason, besides money, that he isn't using one? I say "besides money", because you said you would pay "a lot of money" for it, so you can clearly afford an agent.
Incorrect.

You can, although I haven't seen systems that do this, enqueue objects to be deallocated then have either the main thread every once in a while or a background thread periodically pop objects off of the queue and do the normal reference counting dance.
Natural used to be something but then the industry coopted that so now it means nothing. Just because some people still want actual natural food doesn't mean that they're wrong just because it's now a meaningless term in the food industry.

It's getting to the point where language is breaking down because as soon as a customer knows how to ask for what they want, the industry wants to change the definition of that word to mean high profit margin.