skysight-inc/HackerNews huggingface dataset:
Ask HN: How complicated is Snapchat's AR system?
Hi HN,

Non-technical founder here. I'm curious to get some opinions/information from someone with more experience in AR than I have (which is, likely, a lot of people)

How complicated is Snapchat's filters AR? As far as I can tell, the hard thing might be detecting the face — the puppy face/makeup thing would simply be 3D models that are applied.

And I understand that's a vage question. The context is: I'm thinking whether anything like that is possible around sneakers. Imagine someone points the camera at their feet and they can see a 3D modelled sneaker applied over what they wear. Just like in the Snapchat scenario, I suppose the big deal is recognizing feet/other sneakers.

Is this something a small team of devs might be able to do? Or is it something that requires advanced R&D? I'm also aware the AR kit was released by Apple in 2017, but I don't have any idea what that means

Thank you
It looks like trains could switch to HS2 tracks just south of York - which is about half way between London and Edinburgh:

https://www.bbc.co.uk/news/uk-scotland-scotland-business-474...

What effect a detour via Birmingham on HS2 has on times to/from Scotland is another question!
Not really relevant.

Singapore itself has huge financial disincentives to car ownership to begin with, they actively discourage it with huge fines. That's for gas using cars, and has been the case since decades.

It's also not that they worried that the insignificant market share of Tesla globally would live them without international buyers for their oil (which is a mere 5% of their much diverse economy). Besides, the dispute with Musk was over domestic use.

They are truly against cars, and in favor of buses and subway (which are both excellent in Singapore, which is also quite bike friendly).
Google street shows that they were operating from 2014.
Rust GUI ecosystem overview
Another related issue is races with amputated sprinters when the prosthetics provides an unfair advantage because it's lighter, has better mechanical properties than a biological leg, makes the runner taller (longer strides) and doesn't have lactic acid limits.

This hasn't quite happened yet but it's getting closer in the 400m and I expect long jump will also at some point have disabled athletes perform better than able bodied ones (Disabled long jumpers all jump off their prosthetic leg). The debate about allowing disabled athletes into the "general" events is growing.
there has not been a single time when "watch again" was useful to me, why is that even there?

Sadly, the UI seems designed to force you watch Netflix content, and hide the fact the catalog is small (is it? I can't tell).

It's the number one reason I'm going to drop netflix, when I get too fed up.
Youtube hasn't stated it was state actors, merely that they were suspicious (e.g. uploaded via VPN).. i.e it hasn't pointed a finger of blame.
Bicycling to work everyday is about Climate.

Edit: http://www.globalstewards.org/reduce-carbon-footprint.htm
Construction costs haven’t changed all that much since then. A significant proportion of the costs are in project management and contractual arrangements designed to shift risk away from politicians and managers. If you look at costs in France, we are about 5-10 times more expensive for a route of equivalent complexity. French digger drivers don’t earn 5x less and materials are not 5x cheaper in France, if they were French would be the language of building sites in Britain. So the costs must be coming from somewhere else; land acquisition, risk management and over complicated contracting and project management processes are my bet, based on my experience of working on large construction projects in the UK and Europe.
I'm glad my car has a keyfob that I can easily turn off. Relay attacks don't work then. In fact I'd much rather have a keyfob where I have to push a button to unlock the car; I don't really see how not having to push a button adds all that much convenience.
I was often fighting the worms in autumn to eat quince as a kid, they are more than edible.
Quince preserve is one of my favourites, so good!
> Turning EVs into a rich persons lifestyle is a good way to start a boom down the line.

Yes and the exact same thing happened with Hybrids 10 years ago. Leonardo Di Caprio got one, then a whole bunch of other celebs did, now your Uber driver has one.
I'm in a major city, and the grid isn't very stable, but stable enough for me to get an electric vehicle that I need to charge once a week. Solar panels are easy to get, but the utilities are realizing that nett metering isn't a good deal for them - my otherwise high electricity bill will be zero if I get solar panels, and so they have no incentive to service my house.

That aside, because our cities are so crowded and generally hot already, everyone is very keenly aware of the heat and smoke diesel and petrol vehicles put out - if electric vehicles are affordable and charging infrastructure is in place, there's going to be no problems with adoption. The issue, of course, is that making them affordable and setting up charging infra go against the interests of the oil and gas companies that built India up to where it is so far.

To its credit, though, the government seems keen to get things going, even at the expense of breaking earlier promises to big oil and big auto. Now it's just figuring out the chicken and egg situation of bringing down costs and setting up infra without clear current demand.
> Kubernetes is when your service needs google kind of load which 90% of systems don't.

This is the most frustrating but oft repeated nonsense about k8s.

Kubernetes is an amazingly helpful abstraction for any amount of load on any larger than trivially tiny set of services/storage/etc.

When you, like 90% of systems, don't have Google kind of load, you don't need Google number of nodes.

Machine count corresponds to load; abstraction doesn't.
I’m not American so I may be wrong on this, but my understanding of US law regarding birthright citizenship is that if you’re born in the US, regardless of your parents immigration or citizenship status, you’re considered a citizen. From this it would follow that the US citizen children of undocumented immigrants may well not have documentation of that fact.
The person you're quoting didn't say the theory was correct or even that he believes the theory. His response was only his interpretation of the theory. If you feel the theory is incorrect, then perhaps take it up with Robert Kegan.
Save web pages as self-extracting HTML/ZIP hybrid files
OK but we're getting close to circular logic here. If ICE is not bad because it enforces border laws, why is ICE bad?
I was hoping for monad transformers.
Watch Car Thieves Steal a Tesla Model S in Under 30 Seconds
Queue really, really cheap long range model 3

Let's not exaggerate. We might not be talking Ferrari money, but we're still talking BMW money as opposed to Hyundai money.
The west coast HS2 route threads between Birmingham and the existing West Coast Main Line, with a branch to Birmingham and a branch to join up with the WCML at (IIRC) around Crewe. It's a little less direct than the existing route, but engineered a lot faster.

The other dirty not-quite-secret about HS2 is that it's not mainly about high speed. The WCML is full to bursting in some sections, and putting freight, long distance passenger, and stopping trains on the same tracks reduces capacity further. So it's mostly about building a new line. And once you're doing that, it makes sense to make it high speed and passenger only.
Supercharging Firewall Events for Self-Serve
Inflammation, Not Cholesterol, Is a Cause of Chronic Disease
It's good if you found it working for you. If your team can grok over all of k8s complexity and moving parts, stick with it, use the tools your team is comfortable with. I tried working with docker since 2013 and later with Kubernetes, I still go back to LXD. In my view less systems and moving parts less complexity, maintenance and cognitive load. On top of it I don't have to give up decades of knowledge I learned regarding cluster and distributed computing on bare-metal and VM as I can apply the same to LXD. Obviously I can do that with Kata containers, but they didn't fit with my team either. Also for most of services with users in the range of 160-180 million LXD work fine.
One of the more obscure, yet often employed, "features" is to use something else as a C preprocessor.
>Climate is not the primary concern given the small footprint of Singapore.

I would have thought that given its geographical location, climate would in fact be a primary concern of Singapore. So why is it not? One could hardly accuse Singaporean government of short-sightedness.
LGV Mediterranean has to negotiate the hilly terrain in southern France. Plenty of tunnels and viaducts. €20m/km. Way less than us. The problem is with how we manage construction projects in the UK.
CLI for easily creating reusable react libraries
Working Less: Why You Can Do More Meaningful Work in 4 Hours Than 4 Days
They're not wrong. Buses, trains and cycling don't have the appeal of a sporty private car, but in a dense city they're much much more efficient.
Pagination with Relative Cursors
You are absolutely right and I did not mean to say that the current OpenAI Five today can beat most human teams in a full DotA 2 game. My point is I do not believe the eventual existence of such an AI player would impact the interest in Human to Human competitions, either as players or as spectators, for that game.
Wait, is this a real company? What employment agency (sort of) promotes their service by showing how easy it is to ditch their workers and visualises that by shooting them down?! [1] If it is not a parody, macabre doesn't even capture it.

[1]: https://anti-captcha.com/
So, _they_ are in in fact not the “target” of Musks crusade maybe?

Many other places are in my opinion.

Around where I am people are looking for a silver bullet. They might actuallyneed a car, but they want one that gives them 100% of the trips, not 99.99.
Many are not willing to compromise, even a tiny bit, with the lifestyle. The car must fit in, not the other way around.
Personally I choose to compromise.
> A guy from the Ukraine cannot be a Stanford professor and be close to his parents at the same time.

They can, however, use their experience from Stanford, and try to improve education in Ukraine, be an independent researcher in Ukraine, try to create a "mini-Stanford" around themselves in Ukraine, etc. An uphill battle for sure, but possibly with more immediate impact.
Isn't that the commonly understood strategy of Tesla?

You can't start with the environmental benefits as the main selling point, it has to be a good car. Especially when Tesla started, the base cost of EV tech was extremely high, so the only market-competitive 'good' car you could build on top of it was a luxury car focused on optimising performance, comfort, brand, etc, with a very high price tag.

Obviously as the price of the base tech falls, a mass market car will emerge that's actually good, and sells, bringing the environmental benefits along with it not as a primary thing but a secondary one. That's the way it has to work (fortunately or unfortunately, depending on your perspective). Also seems that's exactly what Tesla is doing, I don't see any evidence to the contrary.
Well I keep failing those "are you a robot" traffic light checks, so maybe I am.
Google PAC donations may be activist employees' next target
Well, true. But the vision! The vision. :)
Delhi metro is fantastic — new, modern, floor-through, nicer than NYC’s/London’s.
I agree that Microsoft's visual design usually leaves a lot to be desired, but I think at one point in the 90s they did succeed for a brief moment – with Windows 95. Compared to its contemporaries like Motif and OS/2 it looks really slick and elegant. (Of course, from the "design is how it works" angle, it's a pretty poor imitation of OS/2's Workplace Shell.)
It's a bit like asking if athletics will survive the cars, because no one can outrun a car. Well, as long as you play chess against other humans AI is irrelevant, isn't it?
More of an acquihire. Even the version they showed in 2007 (two years after the acquisition) bared little resemblance with what it became.
Ever felt like punching the world? Now you can, with this IoT planet puncher
Trigraphs are also necessary on IBM Z if you don't want to (or can't) switch from most standard EBCDIC code pages to the special C code page
Car in Singapore is already more expensive than a house in USA. So numbers are already limited. So emissions produced by them is not as bad as other large cities in Asia.

One more point is that majority of the cars are discarded when they finish 10 years. So newer car with better technology produce lesser emissions.

Singapore government is far sighted that's the reason they focus more on public transportation.
Ah, right, we do too (not very surprisingly). Never really thought about the fact that marmelad jam and marmelad candy aren't really that similar, consistency-wise.
Hybrids made “business sense” from a motor company perspective.
Pushing EV’s when the charging stations are few and far between is bold.

Seems like musk puts vision before business, something that will be no doubt required by us all in the future. IMO.
possibly to do with their deeply socialist ethos
In Singapore :-) you do know what sort of climate they have there.

One of my co-workers went out there (on a full ride expat job) and had to give it up as the climate affected his asthma to much.
Reloadable debit cards nickle and dime you with as many ridiculous fees as possible. A poor tax basically.
Rediscovering rules for ancient board games
A guide to best video ads types and formats
Is there a need for a social media platform where you can be raw and authentic?
www.nowandme.com is one such platform which is safe, real, raw, authentic; allowing people to open up about their insecurities, failures, mental health issues. All this coupled with the option of anonymity, in a moderated fashion.

There are so many struggles and issues that people go through, which they don’t really talk about and they can’t do that on conventional social media, because on social media everybody’s just pretending to be a one-dimensional version of themselves and sometimes not even that.

So this is why we have created Now&Me- the next gen social media platform, a community that just gets it. People like you and me. No therapists, no counsellors, just real talk. These are people who may have had similar experiences, who can reassure you that it’s going to be okay, and if not now then eventually. They might advise you on what you should do to let go of what is bothering you. You can talk about anything under the sun here.

What do you think?
What I don't get is how the two are mutually exclusive. Singapore still has cars, right?
That's a fantastic quote. Don't know how I haven't come across it before. It definitely sums up our profession in a nutshell.
How was this upvoted so often without a single comment?
This was what I took away from the post as well. The realism was refreshing and to me very positive. It shows there actually can be a middle-ground in indie development and not just the two extremes of “Have a viral hit and earn millions!” and “Spend more than your life savings and go broke!”.

All too often I think people are happy to throw their hands in the air and presume that indie success is just ‘impossible’. This article, for me, added some much-needed nuance to the discussion.
This looks suspiciously like a spam campaign to fish for users desperate enough to go anywhere but bitbucket.
My Uber driver has a one not because they want to be Leonardo Di Caprio. I think it's because they want to drive around London without paying the Congestion Charge but with the convenience of fast fill-up times and the range of petrol.
https://www.bbc.com/news/technology-49416617
Oh, apparently we overload the word marmeladi to mean both jam-like preserve and thick gelatinous pieces of candy, depending on context.
Thank you for the kind words.

It will evolve into a reliable tool in a couple weeks and it should eventually work for embedding everything, including things like web fonts and @url()'s within CSS. If anything doesn't work, please open an issue, I have plenty of time to work on it.
Volkswagen not interested in buying Tesla stake
So, how can the same story be submitted twice in a span of a few hours?

https://news.ycombinator.com/item?id=20768531
I think the control of Singapore's cars is a reason why they can make a shift away from petrol/diesel cars, not against it. Electric vehicles primarily move pollution from the daily usage in dense urban areas, to remote production and recycling. For Singapore this is ideal as it means cleaner air. The local environment is very much a concern for Singapore.

The market effect on BMW, Mercedes, etc... is probably not much of a concern on them as most car manufacturers are introducing electric models, with BMW having a major share of the electric car market in some places. Tesla currently has a good market share in the prestige range but that is decreasing.

The oil & gas companies are also getting in on the act, so they're reducing the impact on the introduction of electric cars. The first charging station in Singapore is in Shell petrol station. They might prefer hydrogen fuel cell cars as it maintains the need for their distribution network, but they'll adapt either way.

As to maintenance, Tesla's quality issues mean there's no shortage of work. I used to live near a Tesla workshop and it was always overfull with cars needing expensive repairs.
Maybe it depends on the variety? I’ve eaten a fair amount of quince, always cooked. I don’t think I would enjoy trying to eat the kind that I’ve bought raw, though it wouldn’t be impossible to get down.
Oh yeah, the protests are absolutely nothing to do with increasing authoritarianism and overreach, increasing violations of one country, two systems and decreasing autonomy. Totally. These things are non-issues for Hong Kongers.
Commentary is not needed to be interesting. There may not be much to add.
That colloquium looked nice, I assume no slides are available? Barker is anouncing another seminar on deep learning and semantics, that looks intriguing from the attached public materials. I think that compsci furnishes ideas from formal language parsing that can be toy models of fragments of natural languages, Montague made a case in favour of formalizability. Wadler investigated monadic parsing and this can be an entry point for what is happening in linguistics. I have as reference arXiv:cs/0205026v1

added: on Barker seminar day 4 I see CCG derivations that are a close formalism of pregroup grammars used in the original post, nice to see this concurrently with nnets talk.
Complex quantum teleportation achieved for the first time
The compile time is rather long as well, I'm looking into ways of reducing the amount of dependencies.
> Well it's the official state apparatus with 1.2 billion viewers with 10x the viewership of BBC.

No it's not. Youtube is blocked from the 1.2b viewers.

Also, not everyone in China watch CCTV. Young people don't even watch TV anymore.
The Order of the JSON [Not Paywalled]
Singapore already has an excellent public transport system (such as the electrified subway & light rail), so the "threatening the oil and gas industry" theory doesn't make sense.

Owning a private vehicle is in fact usually a status symbol there. Source https://edition.cnn.com/2017/10/31/asia/singapore-cars/index...
My (admittedly naive) understanding of the ordeal leads me to believe that it is that the 1st would not segfault but the second will since declaring it as a const pointer will create additional memory constraints.

Testing it on my machine with the following code seems to validate this hypothesis.

//file: test.c
#include <stdio.h>
const void * const_pointer = &const_pointer;
void * const const_value = &const_value;

int main()
{
printf("%p\n", const_pointer);
*(int*)const_pointer = 0;
printf("%p\n", const_pointer);

printf("---------------------------\n");

printf("%p\n", const_value);
*(int*)const_value = 0;
printf("%p\n", const_value);
return 0;
}

Result:

$ gcc test.c
test.c:4:30: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
void * const const_value = &const_value;
^

$ ./a.out
0x55b29ebfc010
0x55b200000000
---------------------------
0x55b29ebfbdb8

Command terminated

As to why the first one doesn't also result in a segfault, I don't know.
> I think that's an extremely uncharitable view on containers.

It's an objective one.

> There has been a massive amount of work put into securing containers for a variety of use cases using both layers available and by adding to the kernel.

That doesn't change the fact that security was never the primary goal for containers, so secure containers were and are a bunch of tricks, kludges and prayers being built up in the hope that eventually all the holes in the model will be patched.

The "Making containers safer"[lwn][hn] talk was literally two days ago. Note how it says safer, not safe.

[lwn] https://lwn.net/SubscriberLink/796700/9bc9daa32a8fe499/

[hn] https://news.ycombinator.com/item?id=20764355
zsh works like that too.
nah, they would pass on the cost to the consumer. The consumer would go for the cheaper product which would be the manufacturer that uses plastic. So it would need to be enforced by regulation.
My guess would be because HN likes sourcehut's open source approach (I still read it as 'Sir Hat') since its announcement on here. There are some projects that HN as a community tends to like and upvote just for visibility without feeling the need to comment on it.
As other commenters have mentioned, personal car ownership is very much dis-incentivized in Singapore. It's a city-state so walking, biking, and transit are where it's at.
BitBucket is discontinuing Mercurial, forcing users thereof to jump ship. Sourcehut is just doing a bit of marketing around their continued support for those needing new hosting.
Irish firm's device to detect IBS triggers praised by researchers
> Well, you can't predict what an individual molecule would do, motion wise, but you can statistically predict the behavior of a collection of lots of molecules and find it has certain characteristics, the same holds true for whole populations.

Saying you can predict the behaviour of lots of molecules is only true for very small and simple systems. There's a hard reason why weather predictions become random noise seven days out.

Similarly, society has a lot of feedback loops that cannot be gauged. I can recommend "Private Truth, Public Lies" by Timur Kuran as a good take on the subject.
Now what happens when the business needs to meet someone face to face in say Cambridge, home to a growing number of tech companies? Our current rail network is so London-centric that the fastest way to do that from Crewe is to go all the way south to central London, turn around, and head north again in almost the same direction you came from. One of the big advantages of being based in London is that you can get to nearly any major city in the country quickly and directly by rail, and HS2 just strengthens that advantage.
FCC Retesting iPhone and Galaxy Phones for Radiation Following Investigation