skysight-inc/HackerNews huggingface dataset:
The name calling and threats actually just makes you look bad.

If someone says they're scared to vaccinate their kid, only respect and listening can possibly help you achieve your goal.

I actually think vaccines are a good thing but get down voted for even saying we should respect anti-vaxxers as people.

As I get older I've realized that resistance is usually valid even if I don't agree with it. People rarely make decisions against their own interest. The trick is to align their interests with yours and calling them names will just drive then farther from you.

It seems like many people here just want to spout anger at anti-vaxxers rather than make any progress as a community.
From the article: "about 48% of the points chosen are discarded".
For one thing JIRA tends to lock the UI while it's processing some of the requests.
Because it costs money and doesn't solve a problem in a functional production line.
The Case for Marketing
> If it's an illness (BPD), suggesting there's enjoyment indicates belief that the intent of the sufferer is malicious. I don't believe this is the case. A disorder comes from negative experiences.

Well, we are also hardwired to like chocolate, but if we eat too much of it, then it becomes a disorder.

I was imprecise about the word "enjoyment". What I meant was simply attainment of reward signals. But reward signals do not necessarily imply happiness. At minimum they shape what feels like the right thing to do. At maximum they cause euphoria. E.g. a person with obsessive-compulsive disorder will repeat the same sequence of actions, say, 100 times a day, and each time it will feel like the right thing to do, but such a person will not find much enjoyment.

I suspect that in neurotypical people, the processing of social information (dominance relations, social status, norms, nurture, grooming, communication, gossiping etc.), always feels like the right thing to do, from birth onward, so their neuronal circuits are finely attuned to computations in that domain.

In the absence of such reward signals, the circuits are not trained for such things, and what remains is epistemic circuitry: Building models of the world by approximating/predicting how it works based on accumulated information.

(All of this ignores, of course, the entire neuroscience literature on this topic, which identified e.g. differences in synaptic density in people with ASD; though perhaps the increased value of non-social things comes from more circuits doing epistemic computation, but I'm just shooting in the dark really…)
Personally I have been typing all git commands manually into the terminal and never felt a need for GUIs or tools such as this.

There are a number of git shortcuts defined in my zsh aliases [0]. It goes like:

# Git aliases
alias g='git'
alias ga='git add'
alias ghb='git browse' # hub
alias ghpr='git pull-request' # hub
alias gp='git push'
alias gpoh='git push origin HEAD'
...

Using these aliases, we rarely have to type more than 3-4 characters for a git command. Savings and efficiency not only add up over years of using git, but also accelerate as you become more proficient in using your own aliases that fit your special needs.

[0] - https://github.com/sungwoncho/dotfiles/blob/master/zsh/alias...
I don't think it's any specific event. Many of us are forced to use Jira for everything at work and it has grown from a simple bug tracker to a confusing one-place-for-everything mess.
SourceTree's interactive rebase feature is amazing at the first one. You can also just change a dropdown to "Amend" and start changing your most recent commit.

TortoiseHg's search bar was amazing at deciding whether you were searching for commit message, author, or what. You'd just type "bugfix pickme" and you'd get back only the commits you needed. Check out master, right-click the batch, graft. I have five different ways to search my Git repo and all of them combined aren't as good as TortoiseHg's search bar with revsets.
From personal experience, which I know is not a great indicator, but if it holds true then it would be the society I want to live in (which biases me to the idea).

I like to build, a lot. I'm obsessive about it. I would like to build something useful, have it picked up freely, then move on to the next thing that I think would make a difference. I think a lot of innovators are like this. People like money, of course, but I think the builders would still build with no competitive protections.
> Judging by the fact that most maths degrees are listed as science degrees

How colleges categorize their departments has an element of politics to it, so I wouldn't pay much attention to that. I've got both a math and science degree, and none of my professors or peers would consider math to be part of science -- even considering our math department was listed under our science department. I think OP is correct that this topic is not controversial at all, at least among the people who actually do math and do science. There's no question that math and science are completely separate things.
> the "one company" media in the US has lost authoritativity and credibility with anyone who thinks

I think quite a bit, and I greatly value many publications. The NYT in particular is an independent company, and so is not part of any 'one company' news media. That said, I do wish there was more diversity in ownership; in particular, I wish there were serious publications that served an audience besides the intellectual middle-upper class.
You can think of it as the equivalent of an ISBN, but for journal articles instead of books.
TortoiseGit has a GUI? StackOverflow convinced my coworkers that it was just a Windows Explorer extension for people who were used to SVN.
Also simple but very handy:

[alias]
amend = commit --amend --no-edit
ls = ls-tree --name-only --full-name HEAD
tree = log --graph --decorate --oneline --all
commit-date = "!gitcommitdate() { (export GIT_COMMITTER_DATE=\"$1\" && git commit --date=\"‎${GIT_COMMITTER_DATE}\" \"${@:2}\"); } && gitcommitdate"

There's also a whole boatload of commands in git-extras for those interested: https://github.com/tj/git-extras/blob/master/Commands.md
Reads a lot like an ad. So far nothing beats my experience with i3wm on Arch Linux. I can hardly imagine going for any other system setup after trying this combination out. Well, maybe another even better window manager, but definitely not any non-wm UI, which will only be clumsy and horribly get into my way.
Jira has some asinine design issues, e.g. the only way you can link a git commit to a ticket is by putting the ticket ID into the commit message, generally has confusing choices for UI, code blocks {code}are annoying to add{code} and don't follow any existing conventions, integration with Confluence sucks, basic functionality is locked away in paid extensions, the list goes on
What kinds kind of general niches do you target,if I may ask? Fitness, health,fintech?
Property is theft.

Property rights are predicated on exclusion. This is especially true of intellectual property.

Todays patent wars (yes, I'm aware the present article addresses copyright) feel new, but in fact are merely echoes of earlier abuses -- Watt's stem engine patents and extension (1770s), Westinghous, Edison and lightbulbs, or Norbert Wiener's lifelong excoriation of AT&T, refeereenced in this brief video clip:

https://youtube.com/watch?v=ys4XEtVcTFI

Copyright carries absolutely massive deadweight losses.
Where did you get that I want to only see innovation from rich people? I explain in the next sentence the type of people who I do not want in positions of power, those who take anti-competitive steps. I do not think that is at all synonymous with people who have no resources. You put those people in power and they fuck their workers.

Anyway, even with temporary monopolies, the legal system is stacked in the favor of those with money, so I don't really see how that helps people with no resources.
Writing a JSON to Bootstrap grid parser
Well, Calc tells me that 0.998^500 is 0.3675 :)

It's a familiar concept from organic chemistry.

Edit: If yield per step averages 99.8%, and there are 500 steps, overall yield is 36.8%.
TortoiseGit is a GUI for Git that integrates with Explorer. You could indeed say it's geared toward people familiar with TortoiseSVN, though I'm not sure that paints an accurate picture of it. Unlike with SVN, I would argue you really do need to know Git on the command-line before you use TortoiseGit, but once you do, it makes life a hell of a lot easier than using Git on the command-line.
The graphics are nice, but this article really could have used some complexity analysis and some probability theory.

The author neither discusses the asymptomatic complexity of the algorithms, nor the run-time of his implementation (which is more pertinent here), nor gives any proofs of why some of the algorithms sample uniformly from the unit ball and why some of them don't.

Also, it would have been really nice to generalize this problem to n dimensions. I assume that there is some small value of n where naive rejection sampling is worse in practice than one of the more sophisticated methods.
Json2bootgrid – Convert json to awesome bootstrap grid ️
In addition to what others have said, this is also one part of a larger mystery. The stones that make up Stonehenge also came from Wales, and people have been trying to work out for a long time how on earth people transported rocks that size.
Personally I prefer to alias git to g, then setup my aliases in gitconfig.

https://github.com/GitAlias/gitalias

g f && g rom

git fetch && git rebase origin/master

You could go nuts and make it even shorter with https://github.com/thoughtbot/gitsh

gitsh
> f & rom
Did you switch hardware too, or end up running ubuntu on a macbook pro?
That great quality of life comes largely from a monoculture focused on group harmony and letting those who don't jive with the culture falling through the cracks. Maybe a bit controversial, but I don't think mass importing foreigners who won't mix with the culture will be good for the country in the long term.

The U.K and Germany are full of internal strife entirely through their unchecked mass importation of foreigners and refugees. It needs to be done in a controlled manner allowing the foreigners to integrate with the culture, bringing amount small changes over time rather than drastic cultural changes quickly.

The foreigners and tourists are always the most obnoxious and least friendly people I interact with while in Japan.
Different mental contexts, I think. I do the same thing.
I have a guest wifi network that is isolated from the wifi network that I commonly use... it's probably a bit safer this way.
Great Pyramid of Giza may be able to focus electromagnetic energy
I think the section "Using normally distributed random numbers" deserves an additional explanation. The code may look simple, but like most of the other methods mentioned on the page, generating normally (Gaussian) distributed random numbers still requires the use of rejection sampling and sine/cosine functions. See https://en.wikipedia.org/wiki/Box%E2%80%93Muller_transform
He's written about index funds and voting before:

https://www.bloomberg.com/view/articles/2018-01-30/iss-tells...

https://www.bloomberg.com/view/articles/2015-07-22/index-fun...
I'll agree about the non-intuitiveness.

I like git, I love the idea behind it, I appreciate the benefits it provides me, and I want to get better at it and I strive to adopt all the commonly-endorsed best practices.

However, with all the slightly different means to ultimately the same ends – merges, rebases, patches, fast-forwards, squashes, fixups, messages, descriptions, notes – it makes me wonder if git is not a Frankenstein's monster by now with too much bolted on to it, that needs to revised from the bottom up and consolidated into a more streamlined interface.

It's kinda telling when all the GUI tools for git do each task slightly differently, and none of the GUIs (that I've tried so far) let you do everything from one app, so I prefer to keep a couple different ones open at all times: https://i.imgur.com/itWE4Gs.png
> I work in the press

Thanks for sharing your expertise. I'm sure others value it as well.

> I argue we should reconsider accepting half-truths in exchange for protections of an elite press. We desperately need a press devoted to working people ...

While I agree with the second phrase (and in fact you can find another comment where I already said it), I don't understand what you mean by the first and I'm very interested in your professional perspective: More protections for professional journalism? Government funding? Ending free speech for non-journalists? It's a bit ambiguous.

> I desire to take more risk in the name of competent work, but as long as I must compete with those comforted by the standard operating procedures, I am afraid I cannot.

Can you spell out what those standard procedures are and why they stop you? Again, very interested, and I'm sure others would be too.

Based on my limited knowledge, the primary issue is that the publication must work for customers who can pay enough to support them, which are the middle/upper-class.
Does he need to? All algorithms given except the first appear to be O(N), and their performance is going to depend almost entirely on how fast the local implementations of trig operations involved are.
Grail trials were the Church's security questions. They should have used 2FA. :)
"I realize that it costs money to publish journals and papers"

This is news to me. The last article I published was automatically typeset using LaTeX, following a template provided by the publisher that has not really changed in years. Hardly anyone, universities included, actually request or require printed copies; those who prefer paper copies typically print a PDF of the article they want using a generic office printer. Articles are selected for publication by volunteer reviewers, and in many cases the editors are also volunteers.

At this point there is no actual need for publishing companies, which is why the system seems like it is broken.
Dealing with email addresses. Consider this case:

You get two signups on a website. One is for me@example.com and the other is for Me@example.com. Is this one person or two separate people? And how do you store them in a database?

Some email systems will treat me and Me as two separate users, so if you change the case there is a chance the wrong person will get the email. So, the advice is that you should never change the case. But if you don't change the case should you treat them as separate users?
I wish they would accept monero.
https://getmonero.org/
> These events have been shown to be very rare, and the costs would greatly outweigh the benefits (for the time being).

Yes. And I was responding to georgeburdell's comment about long-term losses from this virus infection. In that maybe some crude hack could ameliorate them.

> For those of you thinking that TSMC only gets set back by the time it took to recover the equipment from the virus (1-2 days), realize that there are some critical steps in the manufacturing process that require completion within X time or the wafer is trash. Also realize that wafers take several weeks of fab processing, and this may be a substantial hit to their output for a while.
I am lucky enough to live not too far from Stonehenge. The most surprising thing is how unremarkable the surrounding area is - geography-wise. It must have meant something to those people. It's pretty flat but that's not remarkable for Wiltshire.

There are so many 5,000 year old ancient sites in this part of the Britain. Make sure you also visit Avebury if you are ever in the area - it's just as old as Stonehenge but you can still walk among the stones and touch them.
> I want to edit the commit message of a commit that is 5 commits in the past, that I have not pushed yet. What is the command to do it?

> Okay so it turns out I made a minor typo in that commit and I want to change it without adding any more commits. What is the command to do it?

It seems pretty easy to do an interactive rebase for both these.

> Okay so now I want to take all commits that have "bugfix pickme" in the subject and cherry-pick them to master. What is the command to do it?

This would be pretty simple if you know the hashs of the commits you want to bring over, but more troublesome if you don't. But I can't think of a good interface that makes this trivial without having a specific command for just this action. If this is a common action you do it would be pretty simple make a script which would make that specific command.

Additionally, an interactive rebase can hammer this screw too. With an editor that can delete lines that don't match a regex you can simply rebase your bugfix branch on top of master and get rid of all commits that aren't bugfixes.

I would say that git's existing interface solves this as well as you could expect a GUI or CLI frontend like the post to do.
got add -p is pretty nice too

then got commit -v to verify the hunks
Thanks for making this, it looks great! I'll be giving it a shot tomorrow.

I've been moving more and more to terminal for all of my development. My dev. stack is now: vim; tmux; lynx; ddgr; zsh; and docker. It is game changing for distraction-free programming, consistency between languages, and the ability to use the exact same setup everywhere -- even on remote machines.
My favourite part of interning at Google was learning that tickets for Sev0 globe-spanning outages and "the bathroom tiles are too shiny and let you see into other stalls" lived in the same issue tracker. When all you have is a hammer…
> I want to edit the commit message of a commit that is 5 commits in the past, that I have not pushed yet. What is the command to do it?

Probably something like:

git --rebase -i --force HEAD~6

...followed by setting the commit in question to "edit"; then once the rebase pauses on that commit, using `commit --amend` to edit the message; and finally `rebase --continue`.

> Okay so it turns out I made a minor typo in that commit and I want to change it without adding any more commits. What is the command to do it?

Same as above, except you'd make the necessary change before `commit --amend`.

> Okay so now I want to take all commits that have "bugfix pickme" in the subject and cherry-pick them to master. What is the command to do it?
With a decent interface, these actions are basically trivial.

You might be able to do this with one of the filter commands, but I haven't used them enough to know. I'd probably just write a shell one-liner for this instead.

> I've been using git for several years and I have to think way too hard to figure out what to type just to get what I want to happen. All too frequently I just say 'screw it' and make a sad commit because my job is writing software, not wrestling with git commands.

Yeah, it's totally understandable. Between myself and the other dev on my team, I am the de facto git fixer. My coworker occasionally digs himself into a hole and becomes frustrated. Then the next day I do that with CSS, and he has to bail me out. I guess the point is most people have things they are motivated to specialize in.
I think the reality is that the software is not bad. But it is very often customized to fit ridiculous management desire and it then become difficult to use. And it's always simpler to blame the tool than your boss.
> There is just no ambiguity here. The rules mention multiple times that there are to be no secret signals or information sharing.

But the way you’ve just explained it is ambiguous.

Do the rules prohibit intentional information sharing or just information sharing?

If the former, then (unintentional) information sharing is allowed and if the latter, then the game should be played using computer terminals to prevent physical and verbal tells.
Yes it does, because they pay the bills.

Also, all of the sites I build have RSS built into them automatically because of the framework running them.

It's just that no one cares. RSS has never been requested by an end client (owner of the site) in any site I have built in almost 20 years.

But, when the social media and marketing people get involved, they used RSS as a way to share content with other 3rd party services.

RSS reader in Firefox as an extension is a perfect solution.
> I realize that the cheetah doesn’t feel this of course, but for a human!

Maybe not as intensely as a human, because that speed is normal to them, but they probably feel the same basic sensation. Most cats like sprinting around for fun occasionally.

I imagine it's a similar feeling for humans when you first ride a big-bore motorbike. The feeling is far less like driving a car and more, in a way, like running very fast.
Stonehenge really affected me. It’s essentially a circle of big rocks in the middle of nowhere, but what it says about humanity is fascinating. I highly recommend seeing it if you have any interest in human history.
If you install bash-completion or use git-aliases [1], you can also get tab completion working for those aliased commands like so [2]. Lets you save some typing even when you need to pass a rarely used (or difficult to remember) flag.

[1]: https://git-scm.com/book/en/v2/Git-Basics-Git-Aliases
[2]: https://github.com/nickbarnwell/dotfiles/blob/master/home/.e...
Sorry I missed this, though this would probably make for an interesting Ask HN question by itself in terms of what the current best practices are. But for shear simplicity I'd probably start by looking at 1st party solutions: Apple's Configurator 2 and Google's Android Device Manager. macOS was also updated to support mobileconfig files a while back, so you can make profiles to deploy there too. That is probably about as minimal as it gets: simple applications that generate a file which can be distributed over USB or via messages or email and such to set up a range of functions. Setting up a server and command line generation of your own files and such (some tools like the Algo VPN maker will make deployable profiles themselves for ease of use) can be fun, but for a handful of your own private devices with relatively static settings it can be overkill too. A profile may be plenty good enough, and can also just plain save a bit of time by making it easier to load up a bunch of email accounts for example. Also, for the Apple case specifically, they perhaps unsurprisingly expose a lot less functionality in the native mass market user aimed UI then their devices actually support. iOS devices have native support for S/MIME certs for example, but you need to a profile to add them.

Anyway I'd suggest trying those first before digging into server setups or cloud offerings or the like.
Dang. So git add -p basically just skips straight to the patch portion and then -v adds a diff to the bottom of the commit message file so you can review it. Nice!
For people who like the simplicity of the rejection algorithm, it might be worth checking out Ziggurat sampling which is based on a similar idea, but shapes the sampling region to reduce rejections: https://en.m.wikipedia.org/wiki/Ziggurat_algorithm
A more realistic route to autonomous driving
Holding a black mirror up to artificial intelligence
I think anyone would agree that Markdown the sna bit too simplistic, and while Markdeep looks cool, it seems like it ends up at the opposite extreme with too much complexity.
No, but I bet someone could create a Creo View converter if they have access to PTC partner downloads. Specifically, the Creo View Files Tools that includes command-line tools to convert Creo View files to their ASCII representations.

Writing an importer for those ASCII files is easy, and when you have the binary and ASCII versions of the same files side-by-side, working out the binary file format is made much easier.

I haven't even begun work on a 3ds Max importer.