skysight-inc/HackerNews huggingface dataset:
A "patch" in Google/Facebook/Twitter is the same as a commit.
It has a (mostly) descriptive commit message, references to bug tickets and might contain links to documentation, screenshots and mocks.

You basically work on a "patch" (changelist), get feedback from others and send it out to review at the end.
Before you can submit (commit) it, you'll have to sync to "head" (to have the latest changes) and run all tests.
^ most of this happens automatically, and as most changelists ("patches") are small, this happens very fast and async in the background.
I think it's incredibly naive to believe that the main problem of cryptocurrency today is the lack of privacy. The ease of which you can launder crypto is the main obstacle against it's widespread integration into the financial system. Sure, a Bitcoin transaction might leak an address, an amount or an IP. So what? Coupling Tor with a trusted coin tumbler, any serious criminal can hide his tracks, so if cryptocurrency is to become just as good as "money in the bank", then he is home free. Grin proposes to optimize that further and provide similar levels of anonymity to average users who don't really ask for it - talk about missing the point.

The wholly grail of cryptocurrency today is not optimizing anonymity but gaining legitimacy and working as a payment system parallel to national currencies while complying with the complex regulations around KYC and criminal and terrorist financing. These are vigorously enforced in any first world nation, for sound, historic reasons.

The wholly grail is to opt out of government surveillance while maintaining social responsibility and capacity to root out bad actors. This will probably require a mixed, technological, institutional and regulatory response if it is ever to be realized.

Abstracting the real world away and hiding in your little cryptographic fantasy governed only by math and not people will leave you with speculative playmoney in the best case and a dangerous can of worms in the worst.
Git: Counting Objects (2015)
It'd be cool if this could integrate with e.g. Pixabay/Unsplash to allow users to easily mock up pages using stock imagery.
Most people with substance abuse problems “grow out of it” with no outside help at all.

https://www.google.com/amp/s/www.psychologytoday.com/us/arti...

Just from personal experience partying with lots of drugs and drinking in the rave scene when I was in my 20s and djing and promoting, the vast vast majority of people just got tired of it one day and quit — or it interferes with their jobs or their families and they did the right thing and stopped eventually.

12 steps’s entire thing about how once you’re an addict you’re going to be one for the rest of your life is just wrong.
I consider myself pretty normal(although I do lift weights), and I have meat protein with every meal. Protein Per Dollar, you can get chicken breast at 50g/$, making it very affordable.

That is the 'obsession' being discussed.

If you have lived in Europe, you know how absurd this sounds.
Sure, so here is a challenge for you.

Original file:

a = 1

Contributor X:

a = 5

Contributor Y:

a = 0

Both contributors created a pull request and submitted it. In the description they both state that the new value should be the one they put it. How would you resolve this issue in a timely fashion making sure you do not take down a service accidentally and do not slow down development too much. I intentionally gave you a very simple example but if you want we can go into rolling out new features, fixing security bugs and a lot more where such issues arise. And, no git will never be able to solve these issues.

I don't think that HN going nuts (except few zealots) and these problems come from the nature of software development in general. We have seen how Google solves these (monorepo, custom CI/CD, etc. etc.) and there are other companies solving it different ways (maybe have a branching model, using Github). People are just putting out here they experience and based on that and they level of understanding the perceived solutions.
1. Encourage more women into coding, helped by HTML/CSS bootcamps and the like

2. Claim that the new prevalence of women in front-end coding is sexist

3. ??

4. Profit!
> people who are good at writing convincing design docs. Often these people write sub-optimal code and the designs only look good on paper.

In my experience, the ones who write good design docs are the ones who write good code.

Design doc writing is not simply overhead and marketing - it is concisely describing what and how you want to do something, and inviting feedback and other ideas.

The exercise of writing a good design doc brings you through the process, thinking of every non-trivial aspect.

It also typically only takes a day or two (or maybe a week for something more complicated) - far less time than the corresponding code takes. And if a colleague points out something that could be done better, you won't have wasted weeks or months writing the wrong code - only hours writing the wrong design. Much less costly to fix, and much easier to move on from, emotionally.
Yes, they still do depending on how you redirect (i.e. unsanitized: location.href = url).

A nice benefit of using a framework like angular, Vue, react, etc, is that they prevent attacks like this unless you explicitly disable those features.
Post an average day of eating, someone(or I) will calculate your protein/day.
These mappings is exactly what I'm talking about. I advised the OMG on one of the mappings in the ODM and I don't think they understood what they were mapping. To model OWL with UML gives you very little. To then map Topic Maps into the same level as OWL is ... just misguided.

Semantics means something very different to the OMG from what it does to the RDF/OWL community. That's the root of the problem. To the RDF/OWL folks it means "mathematically based logical inference of new statements", whereas to the OMG it seems to mean "human-readable text".

Yes, you can map a property graph into RDF, but to make it work well you usually have to add a lot of information that's not in the original data.

Thanks, I know how RDF and SPARQL work.
To add: the change might play a role jn smaller emissions from normal agriculture.
How many Floridians would hear about wild animals with horrible deadly diseases and think "I need to start breeding these in my basement"?
Can you offer an insight as to why? Of all of the project / language tools / package managers I use NPM seems to offer me the least amount problems. Easy to install, fast and 99% of the time 'just works'.

I actually use Node for writing tools way more than other options because of how drama-free NPM is.
Yes, I absolutely agree with that.

Graphic designers tend to be pretty well respected, even though they are also very underrepresented and needed in the FOSS community. People that mainly work with HTML and CSS are less valued because they're seen as mere "transcribers" of the design made elsewhere, or at least that's my perception.
Ecu Remapping Near Me
Top HN without comments? Such articles with accusations are targeted at easy to convince people. For instance, see
"The main parliamentary groups including the ruling centre-right and centre-left parties, as well as The Greens, left-wing Die Linke and FDP. Only AfD appears to have escaped"

"Ohh, then it is obviously AfD supporters (Russia!), how smart I am"

Btw, I have no clue what is AfD (some right-wing party?).
>HTML/CSS were engineered to be device-independent and to separate styling from the underlying semantics, from day one.

These were business trends, not mechanical limitations.

>Properly understood, "responsive design" is a triviality; all good design is responsive design.

I have no idea what you mean by this. Responsive design means for a page to respond to different viewport constraints by re-arranging elements and making rules for different breakpoints that you choose to support. None of that is trivial unless this is another "it's not a hard CS problem so it's trivial" argument.
>The median income is only ~20000 USD a year, less than half of the economic product per capita.

This[0] publication puts median household income at $108k SGD or 79.5k USD (and that would actually be higher if adjusted for PPP). The median household income for the US is 59k USD.

[0] https://www.singstat.gov.sg/-/media/files/publications/house...
10s of thousands of dollars per year difference in bonus, stock refresh, forget about salary. From personal experience having been at both meets and exceeds as a senior engineer.
It really doesn't help with that unless you use a completely different protocol and assume trusted setup. At which point, just use zcash, it will have smaller and faster to verify transactions. Trust me, I've been working with RSA accumulators for privacy in Bitcoin since 2011.
> Most game dev studios are Small or Mediums sized companies, and don't really have the time to waste in Committee meatings..

Irrelevant. What counts is where the C++ game devs are, and it's in the big companies.
And participating in the design of a language is not a waste of time...
Dell Latitude 7400 2-in-1 Packs 24-hour Battery and Proximity Sensing
This sounds like an argument for smaller nations?
Right. It's better to say that kubernetes was designed by people who were heavily influenced by borg.
The history of the web is circular. The history of Google is that they replaced a walled garden (Yahoo was a glorified yellow pages type catalogue for webpages) with search that worked for the whole web. Yahoo is no more. Their catalogue got replaced by a search box.

Steam is kind of a nice walled garden. The problem is that it's not the only one and that there is loads of stuff outside their walls. There's the Apple store, the Google store, the Amazon store. And that's just mobile.

A few things these stores have in common:
- pay to play: they all heavily promote games that pay to be promoted. This favors games with big budgets and is a monetization problem for smaller players; like indie games.
- censorship and conflicts of interest between application/game developers are a problem regularly result in applications being blocked/removed for all sorts of reasons that boil down to arbitrary restrictions imposed by the store owner.
- extortion rates on monetization, in app purchases, subscriptions, etc. make being there costly.
- search is a problem. Even Google's search in the appstore is comparatively shit. I regularly resort to using their web search to find apps I know definitely exist in their app store. Apples store is a maze of misdirection. Their search is shit.
- Getting into the store requires a non trivial amount of work and in some cases entrance fees.

PWAs fix the distribution problem and remove app stores as a necessity for that. Google, Duck Duck go, already take care of the discovery problem better than most app stores and in any case people discover things via social media, friend referrals, etc. Being featured in the top 20 of the IOS app store is not a feasible thing for most developers. Also, browsers already keep us safe so we don't need to rely on app store screening any more.

So, time to tear down those walls once more.

The history of walled gardens is that eventually somebody climbs over the wall and figures out there is a world beyond. Biblical stuff even, if you are into that ;-).
Meanwhile I eat pure vegetarian (almost vegan) diet that’s low in protein (comparatively), am always sated, have a lot of energy, am strong and slim and rarely sleepy during the day.

So one piece of anecdata seems to refute your piece of anecdata. Not to mention I’m willing to bet I’m far less likely to get cancer and kidney problems than you (assuming everything else equal)
Or, perhaps, this is part of the same string of efforts supported by countries like Russia to discredit traditional political forces in Europe and the US in order to seed internal conflict that only benefits actors who do not benefit from strong liberal democracies.
live what you preach. if you have nothing to hide, politicians?
Reassuring I suppose to see the Grauniad sticking to its current narrative: poor people good, women good, feelings good; rationality bad, Westerners bad, masculinity bad, self-improvement bad, meat bad, science bad, progress bad. Apart from that I hope anyone here would agree the article seems long on assertion and short on references. The one thing I would agree with is that diet should be considered holistically, but then many that are consuming protein supplements also put great effort into their diet i.e. the fitness obsessed. It is possible to have a balanced diet and still bang down a protein shake after a workout..

I eat one or two protein bars a day. Whilst they aren't cheap, they stop me snacking on chocolate/biscuits (fruit just doesn't do it for me) and contain only a couple of grams of sugar per bar, with the remainder being polyols, which give me the sweet hit I crave without mountains of horrible destructive sugar. Am I really expected to replace that with a bowl of kidney beans? Yum.
Fantasy Console Wars
No idea who did it, or why, but merkel is sure the only motive could be decreasing faith in an already maligned government. Sure. I do, however, wonder if the omission of far right figures is in an attempt at a false flag. It seems odd all these 'leaks' of mostly public info are all on the left, yet with nothing damning being released. Maybe merkel wants those internet spying laws too.
It is interesting to note that YouTube now inserts an interstitial “you are leaving YouTube” screen on its open redirect spot.

That Reddit shows the domain name next to the link (HN also) is, I think, the key here—it casually set expectations. Most link situations won’t be like that, and so I’m broadly with tptacek, that it’s not actually so useful. Plus, businesses commonly use all sorts of different domains, rather than subdomains, and something like yourbank-security.com instead of yourbank.com may not even raise eyebrows—to say nothing of people probably not even twitching at login.yourbank.com.evil.com anyway.
Google’s Project Soli radar is sensitive enough to count paper and Lego bricks
While the hackers are clearly malevolent in their intentions I can't help but think of the one only surefire way to prevent this sort of meddling is radical transparency requirements among political canidates. They will wield immense power so asking them to be openly monitored would be justifiable at levels above even the judicial system so long as it was applied uniformly.

It would indeed be awkward and something politicians everywhere would be reluctant to implement but it would work and respect human rights which is more than can be said about many measures in intelligence.
> Surely a de facto dictatorship like this shouldn’t be so wealthy and successful. Turns out Lee Kuan Yew is that one Dictator in a million who managed to do pretty much everything right.

This made me think of some scripture.

> Nevertheless, if it were possible that ye could always have just men to be your kings it would be well for you to have a king. (Mosiah 23:8)

The preceding verse talks about how everyone should be equal ("one man shall not think himself above another") and the following verse talks about the effects of a bad king ("But remember the ainiquity of king Noah and his priests;")
It should have a multitude of applications where pairing is difficult, but physical presence of the device is necessary.

Some applications from the top of my head.

1. Access to buildings/restricted areas etc. can be made more secure, by using higher data content with animated codes, foregoing the requirement of the device having an internet connection.
2. Transfer data to a large crowd of people, say at a concert, etc.
3. Pairing of devices where one device cannot have bluetooth or other wireless hardware (due to power / security constraints)

Honestly, this is another channel of communication between devices and it's exciting.
Clay Shirky unfortunately has no idea what he's talking about. You can interpret a CSV file as a set of syllogisms, too, if you want. RDF is data, just like CSV, except the shape is different. CSV is good for some things. RDF is good for other things.

RDF is a fantastic way to aggregate data from many different sources, for example. CSV sucks at that.

The problem is that RDF has been marketed so poorly, which has totally confused people like Shirky.
I think it would be better to stream only needed data, using some lazy load mechanism. Still need to figure out what is the best approach
Just do one thing at a time? Today, I am working on X; my commits are for X, and details are in the commit message.
AfD stands for “alternative für Deutschland” and is another right wing party screaming loud. Nobody takes them seriously.
No one talks about the side affects of eating meat. :)
There's no need to get defensive. Merely sharing one's experience need not be an attack on yours. You didn't have to refute his anecdata.
That is judgy as hell, and untrue. Come back with facts or stop pushing your agenda.
Afd was not in parliament in 2017, the purported date of the hack. Could also be a reason.
Fundamentally incompatible with anything resembling AML, no? North Koreans rejoice!
I guess it depends what you define as "not ok". I mean, why is smoking 4-5 times a week not ok? Why is shooting up heroin 4-5 times a week not ok?

In the end, we're simply willfully poisoning ourselves. For some reason we, as a society, have decided that it's OK to poison ourselves with certain substances (caffeine, cigarette smoke) but not others (heroin, methamphetamines). We've made this socially acceptable. So if by "ok" you mean socially acceptable, thensure, it's ok.
Syria would have looked different, that's for sure.
Actually, indexedDB is used to cache/store the whole .pk4, but using small chunks of data (50MB or so). This works well in practice.

The best would be that all browsers support the Chrome Filesystem API, but that's not for now
Ask HN: How is the light handled in the Monument Valley games?
I really like the design of the Monument Valley games [1], and it seems a big part of it has to deal with the way light and shadows are handled in the 3D scenes.

To be more specific:

* the light is really homogeneous (no variations of intensity) anywhere on the scene

* there are no hard shadows, but really soft ones

* the colors are vivid and bright

What are the techniques that allow that kind of lightning?

[1] https://www.google.com/search?q=monument+valley+game&oq=monument+valley+game&tbm=isch
You are partly correct. Every time I sit in my car I check the mirrors by moving my head to the left and to the right. It takes barely a second but it is the only way to assure mirrors are set correctly.

Let me share a story. I am blind to my left eye which means I have to turn my entire head way, way to the left to be able to look into "blind spot". Once I almost crashed the car when looking into "blind spot" when joining into busy highway because the car before me broke hard as some other care before run out of space. Only my wife screamed and I instinctively slammed the brakes and stopped few inches from the car before me.

This was about 10 years ago. I started reading about how to fix this problem and I found the article why and exact procedure.

It took some time to get adjusted. Particularly, driving with no traffic at the beginning meant there was nothing in the side mirrors which was disconcerting. Also, when you back up with your car you have to tilt to be able to see the side of your car. But, remember, you can back up as slowly as you want but when you need to join moving traffic you have to do it at speed.

Nevertheless, I finally feel free in my car. I know exactly what is happening around me just by scanning the mirrors with very little head movement and on the lanes directly to the left and to the right I have no blind spot where a cyclist could fit. There are blind spots on further lanes so if I change lane I still need to make sure there is no car that decided, at the same instant, to also change his lane.

If you sit straight and you see the sides of your car even a tiny bit then your mirrors are way from being well set up. It is not a compromise, you have a huge blind spot unless you have particularly large side mirrors. Thats because your rear view mirror is a cone, and the job of your side mirror is point exactly in the middle between your peripheral vision and the cone shown by rear view mirror. If your side mirror sees the side of your car then over half of your rear view mirror is duplicated with your side mirror. If both side mirrors are set this way then you don't really need the rear view mirror as in both side mirrors you see the road behind your car.
I can definitely confirm this, meat only I can go 23h+ without eating and not be hungry, consuming ~2000kcal at a meal.
I don't think it is laziness. Some developers simply can't ever shake off the need to be the smartest person in the room. They have been told all their lives how smart they are. Now among peers, they're ... well ... average and they haven't been given the tools to understand how to cope with that. Some developers never outgrow that, sadly.
I agree. Likely-unpopular corollary: the same is true of adding threads to JavaScript (server or client).
That's an interesting idea. I watch videos, and I don't mind videos that promote their Patreon page and/or other member exclusive benefits. They are free to make videos how ever they like, but I wonder is promoting member exclusive content actually undermines their success.

For example, in this SciShow video => https://youtu.be/fsS6d4byK4A?t=143

- make free content, get free viewers

- promote Patreon to viewers, get patrons

- promote premium content to free viewers, alienate free viewers

- lose free viewers, shrink pool of potential patrons

I guess some pitches are more invasive than others.
“Many forms of Government have been tried, and will be tried in this world of sin and woe. No one pretends that democracy is perfect or all-wise. Indeed it has been said that democracy is the worst form of Government except for all those other forms that have been tried from time to time…”

— Winston Churchill
Anyone up for a game of chess? https://www.laarc.io/l/chess
NSA's role in major computer science developments [pdf]
Well, feminism is about freeing people from gender based discrimination, so it also includes freeing men from those societal expectations (like being the only ones to be conscripted / go to war).

But at least in the specific issue addressed in my message (someone's opinions and talent being ignored due to their gender) I think it's hard to argue that women have historically gotten the short end of the stick.
Humans are not cats. There is no data supporting any of what you mention in people. Protien is perfectly safe. Are you going to argue we die without carbs next? Got a single citation to your point?
What are the side effects of eating meat?
They also make you more pessimistic. Maybe rightly so.
My SO is a journalist in Germany. She's all over this. Not clear if there are any clear "scandals". Would be fantasticly German if absolutely nothing fishy shows up.
I have a question.

My personal curiosity only. I love magnets and a have a couple of them.

Do you know any cheap or free tools, that work in the browser/osx/linux and can simulate how magnets interact?

How 2 or 3 magnets interact with each other, how magnetic forces interact etc.

It must not be 100% accurate, just ballpark estimation for fun playtime :)
First congrats on finding something that works for you and making it stick!

From that perspective, I can see why you would not like folks that insist on AA being a monopoly, but I'm curious about that position. I've seen a lot of people that hate AA and a lot of people that think it saved their lives, but I've never seen anyone say that AA must be the only way to sobriety. What's the angle?
Tensor considered harmful
However, like carbohydrates, protein does trigger ghrelin response whereas fats do not. At least in my case, a high-protein diet did nothing for my cravings.
This shouldn't have been downvoted.