skysight-inc/HackerNews huggingface dataset:
Ask HN: How to get started creating AR apps?
Hey everyone,

I am a total beginner regarding AR and I would like to make AR stuff. Does anybody have any idea how to get started?

Thanks a lot!
Build a loop into the workflow for "You're insufficiently anonymous, resubmit", with a special way to enter "significant award/position/membership with deanonymizing title, X level of prestige/selectivity/membership"? Might be valuable anyway so you don't accidentally get peoples' personal biases into play - different people will weight "NAACP award" very differently.
Downvoters - WTF? Memory fragmentation is the problem for long standing processes with frequent allocations/deallocations of various sizes.

http://stackoverflow.com/questions/3770457/what-is-memory-fr...
> I’m not even going to consider a system valid without managing IO in some way. So yes, all flavors of Lisp are off the table as well.

We're talking functional in the context of JavaScript, I think ClojureScript deserves more of an explanation on why it doesn't even qualify. That is, if you're trying to hold to the "neutral as possible" thing in the beginning.
I have no idea why your being junked. You said nothing but the truth. +1
It's soo pretty.
I think your brain is optimized around preventing yourself from losing things (such as money, items, relationships, etc.). For example, if the hot water is left on in your house, most adults would rush over and shut it off.
> I want to like Rust. I'm just finding it hard to get to know Rust.

-- every single developer
He actually addressed precisely this issue on his personal blog: http://esr.ibiblio.org/?p=7303
The real solution to the problem is everyone needs to share their income level with their co-workers as well as their performance reports. And don't be afraid to leave!
First, let's accept the conceit (for now) that nation-states have both the desire and the capability to do this.

In that context, it's very easy to imagine ways to frame the death such that it would prevent him from seeming a martyr. Died in a car accident, strangled during auto-erotic asphyxiation, shot in a drug deal gone bad, depression-related suicide, etc. The right context could be used to discredit him further, in addition to silencing any potential impact by giving speeches or serving as a public figure for a privacy-focused organization in the future (for example).

Of course, you could then respond that it would still spawn conspiracy theories, but the doubt planted would certainly blunt the kind of wide-spread movement (or public outrage) that might otherwise sprout from a bald-faced assassination. Realistically, conspiracy theories will pop up in any situation in which Snowden doesn't die of old age at 95, so this isn't much of a dissuading factor for our hypothetical villains.

We know that state-sponsored assassination is possible, based on the basically-obvious case of Litvinenko. Crucially, we can also never know of any attempt which was successfully reframed, which makes it impossible to determine whether or not these "accidents" exist; there are many, many deaths which have been nominated as candidates, but no conclusive evidence of those that I'm aware of.

So, rather than "would the people in power allow it", I think the following 3 questions are more pertinent:

1 - Are nation-states competent enough to plausibly disguise the attempt?

2 - Which nation-states conduct this kind of behavior?

3 - Who in the intersection of Q1 and Q2 cares enough about Snowden to do it?
I thought that's something that churches try to monopolize.
Exactly, mostly. I think Europe should have efficient and effective measures to ensure it's safety also when they don't align.
I keep going back to the Simple Made Easy talk by Rich Hickey, creator of Clojure.

Easy vs Hard as in:
- Easy to learn
- Familiar looking
- I know most of it already
vs
- Hard to learn
- Nothing works as I'm used too
- It's all new to me

Simple vs Complex:
- Its parts are self-contained
- The parts don't depend on each other
- Quick to get something done once you understand it
vs
- Can't separate the parts from the whole
- Each part depends on other parts
- Slow to get something done even if you understand it

Most programmers and businesses value Easy vs Hard, because they think about themselves, not delivery of great quality software. If you focused on delivery of great quality software, you'd conclude hopefully that easy vs hard doesn't matter as much as simple vs complex.

Having said that, I think Go is easy, and for the most part, it is also pretty simple. While Rust I'd say is hard, but also very simple. Its simple in Rust to make correct software, but not easy. C is easy, but complex. C++ is kinda hard, and also complex.

So both Go and Rust are great improvements. Go chose to still be easy, at the detriment of how far it could innovate, but it still innovates. This approach is pretty smart, because what will happen probably is that a lot of people will move to Go, as it is not a very hard change from what they know, and then they will move to Go + 1, and then Go + 2, and then Go + 2, and eventually they'll end up at Rust, or something similar. Doing it that way is easier.
You keep records that show the acceptance rate, you keep records of interviews, etc. You are not hiring at the same level where statistical anomalies such as what Oracle was caught in will show up, so unless you do something egregiously stupid like tell a candidate that you are passing on them because you don't hire people who are <some protected class> then you will be fine.

"The game" is not your insignificant little company, it is the general labor market.
That was my first thought too...
Exactly.

I start with text files and for most purposes I do not bother with anything else.

Next is a key/value store. Simple.

Relational databases carry large overhead in translating data (as above) and also in design and maintenance of the structure and getting data into and out of them. I spent many years with them, like them a lot, but they are too much complication for most purposes.

Even with relational data RDBMS are only good if you are not certain of how you will be accessing the data. In most cases you are sure.

I am constantly stunned how people reach straight for MySQL or Postgres when flat text files with grep would work just as well and be much quicker to implement
Don't forget to mention the religious diversity, where only 71% of the population belongs to the official Luthern Church of Iceland, while the heathens of the Free Luthern church in Reykjavík and Hafnarfjörður only comprise 5% of the population.

http://px.hagstofa.is/pxen/pxweb/en/Samfelag/Samfelag__menni...
Last year they announced this was coming and I've been looking forward to it.
I originally liked the implementation in flow dock.
Maybe they'll put this out there for experiment and refine it to something that works.
And maybe they should make it a feature that can be enabled or disabled as a team
To extend support to IE9+, you can use a double box-shadow, one going left and one going right, to imperfectly simulate the effect.

A noteworthy instance of this trick in the real world is Bloomberg[0], for their article headers.

They achieve the effect like so:

.lede-text-only__highlight {
background-color: #FFF;
box-shadow: 7px 0 0 #FFF, -7px 0 0 #FFF;
box-decoration-break: clone;
}

Intriguingly they don't bother to use the -webkit- vendor prefixed property, despite box-decoration-break not having unprefixed support in Blink[1] yet. Perhaps their intention is to avoid delivering more bytes of CSS than necessary, based on user-agent sniffing.

[0] https://www.bloomberg.com/ (pick an article).

[1] As of build 537.36 (at least on my machine).
"Can you elaborate more on your last question? Not sure what you mean by editor API."

Instead of just simple notes, could you use the API to build an outliner? cf Dave Winers fargo ~ http://fargo.io

"That implementation is just one implementation that specifically uses Passenger and Nginx."

Great to hear this.
Opposite of which?
The main blocker on stable was a feature called "custom derive" or "macros 1.1" which will be stabilized in the 1.15 release in February. At this point any library tied to a specific nightly is using some extremely cutting edge features.
The other sites make tons of money.

Dunno about reddit. Do they even have a revenue model except some ads that 60% of their user block?
The more I use swift, the more I've grown to appreciate the concept of Optionals and how the compiler enforces it's usage. I have found that my swift code is more robust and explicit than my ObjC or Android java code is, as well as the team members around me.
That's exactly what it means. Systematic and systemic aren't synonyms.
> a simplicity that led to writing working code on the first run

...whereas Rust optimizes for the property "Once it compiles, it's probably going to work flawlessly on the first try."

You do spend a lot of time having a conversation with the compiler first. But I like that mode of working; even in Ruby, I have a long "conversation" with my unit tests before I ever run anything.
You would think, from your comment, that this case involved immigration and/or the H1-B Visa system. But it doesn't. Immigration isn't mentioned whatsoever in the document.

> Can the DOL back up this claim with salary data to see if Oracle is abusing the H1-B visa system by purposefully keeping wages low?

Readers should note that this is purely your own conjecture. The H1-B visa system is not relevant to this story.
Every single day? May be you should come out and meet more people, just saying. Again, you might come across certain incidents where this might be true and there are cases, where they are more educated than an average American and get paid more. But to generalize very broadly is something won't help people properly understand the issue.
Please edit for typos and grammar fixes. Don't change the content.
Say, that's an interesting new wheel you're inventing there! ;-)

https://www.jwz.org/doc/threading.html

(And I doubt jwz was the first smart guy to devote time to that particular problem too...)
This has caused me some level of sadness in the past. I worked for a startup (started 6mo after founding with only 20 people and stayed for 8 years to 200+ people and 50million in revenue). During a number of phases, I worked for months at a time giving up weekends, late nights, holidays and even vacation time to get product out the door and beat the competition. I racked up 50k options, mostly all for less than a dollar a share strike price. What was painful to me, was that when I left after 8 years (I grew weary of it all, especially management) I had 90 days to pay $34k to get my options or lose them. That was painful cause I didn't have the extra $34k I could just throw away (had no idea when they'd sell), but hated the fact that none of the thousands of extra hours I worked (I kept track) counted for anything. One could argue I was paid a decent salary. Only on paper though, since my effective hourly rate was 3/4 what I'd have made at a non-startup working a regular 40-50 hour work week (i.e., I had to work more hours to make the same pay I could have gotten for fewer hours at a non-startup).

After I left, 18 months later, the company sold and my options would have earned 10x the $34k of the strike price. I.e., I would have made $300k if I could see the future. I just find it painful that at that moment, all your time is effectively worthless, and only the $34k would have counted for anything, even though I gave far more than that in extra hours.

Needless to say, I am somewhat hesitant to put in too many extra hours anymore and almost never work weekends or holidays.
Very basic comparison. Doesn't go into the quality of the generated code, compiler speed or efficiency, etc.
Tabasco.

Mojo Picon from Canary Island is also great. Not quite hot, but Papas arrugas con mojo picón is a gratis dish.
There are a couple of fairly popular libraries that were nicer to use on nightly Rust (serde and diesel), but could otherwise work on Rust stable. The "nicer to use on nightly" is going away with the next stable release of Rust. Other than that, the vast majority of the ecosystem is on Rust stable.
I think that focusing on how long it takes to be productive is a mistake, within reason at least. How well does it hold up once I'm knowledgeable with the language matters a lot more. If it takes me 4 days or 3 weeks to be productive, ok, that's fine, but it needs to be a good solution once I'm there, because I'll spend years using it potentially.
His redirect is hilarious.
Changing jobs always carries risk - the new company might not be a good fit, and you may not last there very long perhaps for reasons beyond your control. Likewise, there are many jobs - e.g. early startups - where the risk of the company itself going under may be significant.

People in the country on an H1B lose their lawful status immediately after their employment ends, which means being unemployed for any period of time carries risk of deportation. Most people don't want a change in their work situation to translate into being forced to leave their country of residence.

Between these two points, I'd expect people here on an H1B to have a narrower field of jobs that seem attractive - high-risk startups aren't going to be appealing to most, and to generally be less mobile than those who don't fear deportation if a new position doesn't work out. Because of this decreased mobility, employers can get away with paying less.
Oh man. And then they drink 'till comma whenever they get out of the country, because alcohol it's so expensive in Iceland.

How do I know? Married to an Icelandic woman, have seen my fair share of drunk Icelandic people when they come to Portugal on vacation, and do they get wasted...
design happened
Hey

Good point! You actually own all your own content on Instagram and so can sell it as you wish.

When you sign up to Instagram, you grant them a broad set of rights - specifically a non-exclusive, royalty-free, transferable,worldwide license to use any images you post, but ownership remains with you.

Hope that clears it up :)
> turn your life in a constant stream of low-level tinkering

It appears to me this is the fate of anyone that has to make garbage collection scale. [1] I guess it's all worth it; build fast, win big and then struggle with the GC as an exercise in technical debt once you can afford enough staff to focus on the problem. Dreary.

The insight that due to reference counting GC turns reads into writes is interesting; I think I've encountered that before but can't remember where. As the gap between CPU throughput and RAM latency grows this becomes an ever greater point of pain.

> aka migration to a more performant language

That happens occasionally with small systems, and it usually works. But big operations with complex code bases don't do that very often. Facebook has re-implemented PHP at least twice now to improve run time performance without changing their language. Just one anecdote in a long list of heroic anecdotes about those who will do any number of backflips and somersaults to avoid replacing their chosen language.

[1] https://news.ycombinator.com/item?id=12043271
Very interesting! I've been using Elixir on a smaller project and have been quite impressed. It just feels friendly and palatable, while also being quite powerful for highly concurrent workloads.

Agreed on the typing, however.
I liked this identity quite a bit: http://home.mcom.com/MCOM/products_docs/index.html
Download DJ Camzo Vudu mix 6 2016.wma
Incidentally, the first search result for "moz://a" from every search provider I tried was https://moz.com/, with https://www.mozilla.org nowhere in sight.

Yeah...not sure this is a great idea.
> Incorrect based on what standard?

Based on the part names the person wants to refer to. If you place an order and get exactly what you asked for but not what you want or need, you're wrong.

> What standard for language correctness exists besides consensus?

How many of us need to agree your name is Susan before you'll agree and get your ID corrected?

> Neither is wrong. Terms mean the same thing all the time and context disambiguates perfectly fine.

Well, not perfectly fine but we live with it. Why go out of your way to justify and propagate these errors?

> Not a good analogy for several reasons: (1) both of those are from the same field so context can't disambiguate,

Sure it can. You want your data so I know which piece you must mean.

> (2) there's no widespread consensus that "hard drive" means "computer". In practice most people would misunderstand.

There seems to be here. Maybe your area is more technically sophisticated or maybe they just make other mistakes.

> I'm not fighting for my right to be wrong, because I'm not wrong.

You can call "not right" whatever you wish. I'm not talking about taking back your culture's words or anything; I'm talking about technical cases where there's a clear right answer, and a vast assortment of answers that will not accomplish what you wish or will do it sub-optimally.

> I don't mean to be rude but this sounds extremely smug to me.

Is it also smug to be sure that 2+2 is 4?

I'm not saying you need to attack people for being wrong, I'm just asking why you feel the need to join them as opposed to finding an actually correct thing and saying that. For people who don't know the names of fallacies, "begs the question" holds no special meaning and could be replaced by a multitude of phrases that would communicate clearly to experts and lay-people.

When I do small consulting gigs I always try to be liberal in what I accept - I'll back up your data off of whatever you call it. But I always try to use correct terminology myself and I correct clients with "That's an X, if you ask for a Y you'll end up getting this other thing that's not quite what you want." (But I wait for the verification part of the meeting and I don't make a big deal of it.)
I remember interviewing at one of the biggest Unicorns and a recruiter told me "we pay lower salaries, but we make up for that with generous stock options" to me it sounded as, "we don't want to pay you much, so here is some over bloated Monopoly money to keep your dumb ass happy"
2007 sounds about right to me, too. The last great feature I recall was "podcasts", which wikipedia says was 2005. By 2010 they were adding crap like "Ping".
...they're just unwilling to actually do anything about it. Allow immigration? Make it possible for women to have careers after childbirth? Stop funding increasingly ridiculous infrastructure boondoggles and give tax cuts to consumers instead of zaibatsu? Hire and promote based on talent, not seniority and what school you graduated from? Nope nope, it's all too muzukashii.

I've been visiting Japan regularly for 20 years now. To a first approximation, nothing about the fundamentals above has changed.
In my earlier career I would have loved to earn London salaries and live in Paris. Paris is - well Paris. An amazing place to live.
London is grim and grey with eternal darkness in winter (if you are working). Paris is 200 miles/350km South and with much better access to the rest of Europe, mountains, beaches and so on. So if I was at HSBC I would jump at the chance.
Meanwhile HSBC are probably aware that they can pay people less in France than they need to in London - for the reasons above.
no, the web app / desktop app UI is terrible. The android and iOS apps are pretty usable.
Impeding the flow of traffic is dangerous regardless of the presence of speeders, it is also against the rules. If you aren't following the "stay right" rule then you are as wrong as a speeder. You can't pick and choose what rules you want to obey.

> At the least, I think it implies that laws are divided into (at least) two classes, laws that individuals must allow others to break, and those that they are allowed (or encouraged) to attempt enforcement.

Maybe I misunderstand what you mean but I'm not aware of any situation where private citizens are encouraged to enforce the law. That's a recipe for disaster and is where road rage is born. Should I drive around and tailgate everyone in the left lane to teach them to drive on the right? What's the difference?

e: The "drive right" rule is not about allowing speeders, it is about not impeding the flow of traffic. It's similar to "yield to the right", the rules of the road are designed to allow all of us to use a shared resource efficiently.
All of that is learned after clicking through to the article - I'm talking about how it is presented on HN only.
This is a chat application, the primary transport is WebSockets, not HTTP.
Funniest part of all this? This twitter account devoted entirely to the question of threads on Slack and the shout-out to them by Slack's twitter account today:

https://twitter.com/slackthreadsyet
FWIW, I've been programming in both Rust and Go for years and I can't really perceive a productivity difference between them.

I think it's uncontroversial to say that Rust has a tougher learning curve. But once you're past that, I think the jury is still out.
So lets say a developer gets to solve a small problem like ranking feed in their social platform. I would love to get feedback from developers here how would they approach solving it?
There are no competing state militaries, whilst Russia is involved it's military isn't there in any major capacity.

As far as the fighting goes the Ukraine is negligible considering all the armed conflicts around the world.
Well, I own about 600 domain names. I'm trying to get into domaining because it can give you a lot of leverage for a future startup. Most of them are single-word domain names in Spanish.

About my best domain... It's a close call between strawball.com, ip.do or leslor.com.
To be relevant, economists need to take politics into account
It never stops the world for full heap collection, but there is a synchronization point where all threads have to check in. This is the only thing required, so you have GC pauses, just really, really small ones. That's why I said, that practically, GC pauses are no longer relevant.
A lunch high in carbs puts me directly to sleep.
That's basically an artifact of the combination of Rust's immaturity and its conservative stability policy - once a language feature or API is supported by a stable compiler, it needs to keep working more or less forever. So a bunch of features still require nightly, so some projects target nightly, and the big ones may pin to specific nightlies. But the amount of breakage is vastly lower than it used to be (especially pre-1.0), and even in the year-and-a-half since 1.0 a lot of different bits have been stabilized, so that sticking to stable Rust no longer feels like being handcuffed. The biggest unstable feature left is compiler plugins, which should get a rudimentary version stabilized Real Soon Now. With that and maybe specialization in place, there should be little reason for projects to stick to nightly.
That is incorrect.

https://en.wikipedia.org/wiki/Democratic_National_Committee
The exact solution may not work, but the overall approach to finding a solution very well could.

I also somewhat disagree with the notion that systems working in smaller countries cannot work in larger or more diverse countries (esp. regarding free education the US). It may be really, really damn hard, but such is the price of advancement of society.
Did you consider using something like ESO Fund to finance the exercise of your options? If so, why did you decide not to use them?

Assuming they're willing to do the deal, if your alternative is letting the options expire worthless, it seems like a no-brainer to take a loan with no recourse unless there's a liquidity event. You wouldn't have made the full $300k, but at least a solid portion of it.
content-adressed networking, I assume by contrast.
Irrespective of one's opinion.

The part relating to H1B visas is likely to be targeted under the new administration. The part about the white males, not as likely.
Yes, but keep in mind that the "data driven" part is just a tool.

You could have the Joker from the Batman series doing data-driven evil stuff.