skysight-inc/HackerNews huggingface dataset:
Why solve a "problem" that no actual user of the software has? It's not an iphone, it isn't meant for use by the general public.

Use nano if that's what you want. There's no reason to fuck up vim for people who actually use it to help the people who don't.
Bitcoin Price Hits $2,087, Trading in Japan, South Korea for $2,350
hey Linus, undo last 1 git command (as though it had never been entered):

git undo 1

thanks.
Szyszko is not that kind of hunter. His most famous hunt was when 500 pheasants were released from cages right in front of hunters with rifles. This is even against Polish law: the birds never lived free, never had opportunity to learn flying. Hunting laws apply to animals living freely, and according to lawyers that "hunt" was an illegal slaughter in all but name. Animals slaughtered in Poland are required to be knocked unconscious.
Hmm. We included those issues, because we see a lot of programmers get stuck on exactly those two bugs! (In all sorts of languages, not just Python). I guess maybe that's the definition of a gotcha -- a thing that a lot of programmers get stuck on? In any case, I don't think it's an arcane gotcha! Being clear about references and shallow / deep copies is important.
Note, I did not say "commit to Production". Just set up the feature branch and tear it apart. Most code out there has 0 comments and uses conventions from when it was written (god help you if it's a legacy product)
One could easily relate this to burkaman's comment in this thread on the most viewed question (how to undo a git commit).

You could say "I'm somewhat amazed but mostly amused that the Git developers care so little about user experience that they continue to ignore that people have trouble with the fact that git command line arguments are an incomprehensible morass of inconsistencies un-righted by overly verbose walls of documentation."

What the two have in common, of course, is that despite being exceptionally beginner-hostile, the tools are massively popular for other reasons. Namely, they are powerful, relatively fast, and they also strongly benefit from cult of personality and network effects.
The general point is that being able to control the parent domain doesn't necessarily mean you control all possible subdomains as well. You need to prove ownership, not just control. Here's the relevant bit from the SO answer:

> If I have ownership of the parent domain example.com then I can freely create and control anything as a subdomain, at any level I choose. Note that here "ownership" is distinct from "control", which is what is validated by the ACME protocol.
When you say "be productive," whose judgement will be making that assessment?

I ask because if you were hired to come in and right the ship, writing tests might not be perceived by your manager as the right thing to do. If you need to impress the other developers, that might or might not be the right choice.

If you are trying to communicate progress upward, then I would make an honest assessment of the challenges and write down a plan for your manager.

If you are trying to impress downward, then that's probably a cultural challenge and you can figure out what to do from the comments here.

It really depends who cares about your progress.
The reasons that people might prefer universal basic income over receiving a food pack are the same reasons that people tend to prefer a paycheck from their employer in lieu of employer provided food and shelter. My mentor, the late David Crane FAIA, described it as "poor people wanting the same things I do." Employer provided food and shelter in lieu of cash wages would also be cheaper.
Baidu is good if you like having Beijing filter your results. I just did a baidu search for "tiananmen square" and the top answers all said "Tiananmen massacre a myth".
I saw the bumper sticker ":w saves" and thought, to myself I wonder how many people "get" that.

I suggested a long time ago that vi/vim bind ^C to exit. It currently is equivalent to 'esc' (it puts you into command mode if you aren't there and types the message "type :quit<Enter> to exit Vim". I'd much rather it popped up 'exit vim? y/n?' and the next key would determine if you exited or not.
Sometimes you'll need to update it for example.
>they ended up in vim by accident.

Sounds like a distro problem.
Hah. Back in the old days, when I didn't have a second computer to look up help online, I just powered my Linux PC off if I accidentally got trapped in vim. Later on, I'd just close my PuTTy session.

Then I finally took a little bit of time to learn vim.
My thoughts exactly. Issues with rain/snow are a common concern, but I had never heard of the "dark car problem" :

Current lidar systems can’t see a black tire, or a person like me wearing black—Velodyne’s [Puck] wouldn’t see a 5- to 10-percent reflective object [30 meters away]. It’s the dark car problem—no one else talks about it!”
Ken does some pretty cool teardowns. However, you can, assuming you know where to look. If you're buying gas station knockoffs, of course they're a fire hazard.

The problem is counterfeits are all labeled as one homogeneous group, when they most definitely are not. Some are very, very good, some are not.
How does society treat people as whole? can you explain what advantage do non-white-males have over everyone else?

> Citing individual examples doesn't discount macro trends

Sorry mate, if you look at statistics, Asians earn more in America than 'whites', so I guess we should start calling Asians privileged then, right?
Control X-C
<ctrl>-c is not a vim command. It's a universal terminal command.

<ctrl>-c is how you kill the foreground process in bash, zsh, sh, windows command line, etc...

If you don't know about <ctrl>-c you shouldn't be attempting to use a terminal based editor to begin with. Vim can't be blamed for people not knowing how to use a terminal.
(Un)colored: Next generation desktop rich content editor
It's a laptop* 90%+ of the time. It's a tablet when:

- Reading, watching, or gaming, particularly if I'm walking around frequently

- Taking notes (principle reason I got the Surface was my attachment to handwritten notes)

*I often use the Surface with the keyboard attached, but in positions that no ordinary laptop could support. Laying on the couch with the hinge hooked between my knees and the keyboard on my thighs, or with the hinge hooked over the steering wheel and the keyboard more or less dangling (not while driving, of course).

Even though it's a small amount of my usage, having that capability available to me means I can avoid carrying other things.
I'm in the same boat. I have an iPad 2 and it's starting to feel a bit sluggish (and only 16GB). When I look for something that fills the same need that the iPad does (casual browsing and entertainment), the only thing I keep finding that seems right is the new non-Pro iPad. I haven't been able to convince myself to make the transition to an Android tablet, because those seem to come and go so quickly and the iPad just feels nicer for casual use.

Everytime I pick up a Surface, I think to myself - this is too much for just casual use. Maybe if I wanted all that computing power and options in that form factor, but that's a different use case.
Your comment spurred me to search for information about near-infrared vision systems in animals. NIR vision appears to be entirely absent from vertebrates. (I am not claiming that it is present in invertebrates, only that I found stronger claims about absence from vertebrates.)

See "The Verriest Lecture 2009: Recent progress in understanding mammalian color vision"

https://pdfs.semanticscholar.org/c9df/0b61e4a45e10577c001513...

Particularly Figure 1. Vertebrate photopigment sensitivity drops off rapidly toward the near IR (~700 nm).

I found this fascinating related (but not peer reviewed) document on arXiv, "Did Evolution get it right? An evaluation of near-infrared imaging in semantic scene segmentation"

https://arxiv.org/pdf/1611.08815.pdf

The author performs semantic segmentation with convnets using conventional visual-spectrum images and compares performance with images spectrally extended into the near-infrared. He finds that adding the additional NIR band did not improve task performance -- hence that evolution "got it right" by not expanding vision into a wavelength region that fails to improve semantic segmentation. I'm not sure how good this work is from a professional biologist's perspective, but I found it damn interesting.

EDIT: note that this laser operating at 1550 nm is far from the long wave IR (~8000 nm and up) that various animals sense to detect prey body heat.
These days I prefer trusting my senses and actual experience to taking random authorities perspectives for granted. I wasn't always like this, once upon a time I believed anything that came from so called "respected members" of this society; but over time I got burned so many times that I just can't be bothered any more. Tell me about personal experience, something you reflected on yourself; and I'll listen.
Rights can be violated, of course, but the key is that there has to be some potential punishment for doing so. If you're in Saudi Arabia and they decide to execute atheists, and they do so with the full approval of the state, then those people did not have the freedom to practice religion as they saw fit.

On the other hand, if you steal from someone and they arrest you, then that person had the right to be free from your theft of their property.

You can assert whatever rights you want, but they aren't rights until other people agree that you have them and collectively decide that no attempt at punishment will follow you exercising them.
Having everything out of date.

Servers, computers, software, (people), everything. Many exploits have been published on exploit-db.com targeting software that has already been patched. My fortune top-100 company is the type of company that will decide to update to Windows 10 when Windows 15 comes out.
For gvim, the X works as expected but what would be a more expected convention from exiting a cl text editor be? Most long running cli tools people are used to are read only and have just a few keys for different views and they tend to use 'q' or 'Esc', any single key isn't an option for a text editor. If they're in normal mode, Ctrl-c does give the message "Type :quit<Enter> to exit Vim" but I'm guessing most people don't notice it or think the ':' isn't part of the what they have to type because they don't now commands start with it, I would change it to "Type ':q<Enter>' to exit Vim". But people tend to accidentally leave normal mode by trying to type other things, so the Ctrl-C message isn't always helpful.
Absolutely. Same thing with Brexit and numerous other phenomena. Nationalists hate supranational and globalist institutions because globalism is totalizing, ie it offers a complete worldview. Nationalism is implicitly predicated on the idea that there's enough for everyone else, this bit is ours, and that what we do here doesn't affect anyone else. Ultimatey, it's an anti-scientific philosophy.
IQ is a relatively stable attribute after adolescence. it begins declining around 60. http://www.oecd-ilibrary.org/education/ageing-and-skills_5k9...

IQ is meant to measure g, or 'general intelligence'. it's roughly the ability to solve complex tasks, and tends to span across domains (ie, if you are above average in one area of problem-solving, you are likely to be above average in others): https://en.wikipedia.org/wiki/G_factor_(psychometrics)

>While at it, show me an IQ test that was compiled using my first language since you are dismissing facts I put on the table.

just for instance: https://en.wikipedia.org/wiki/Raven%27s_Progressive_Matrices
Because it is the standard command to kill (i.e. send SIGINT) running programs in a terminal? E.g. ping, top, etc. all quit using Ctrl-C.
Cute, but no. When you enter insert mode, the "welcome screen" disappears. So if you can see the instruction telling you to type ':quit', then typing :quit will work.
Some experts believe those bans are an over reaction.

The Wikipedia article on the topic is pretty US-centric, but I get the impression allergy rates are lower in other parts of the world.

Peanuts are cheap and nutritious. I'm sure that's why they are used.
There are bots. Look around
That's well and all for vim but I've been trapped in ed for almost two decades!
Many of us get dropped into vim by accident.
Try actually following those instructions. They don't work. There is a step missing, and you may get warnings even if you know to hit escape first.
what is the correct answer? I think it's self-evident that Facebook has become a kind of mass propaganda tool the likes of which the world has never seen before. Do you think a constitutional republic can survive as a republic if we allow the owners of a media platform that powerful to enter politics?
Yeah except that character encoding question assumes I know how Python handles bytearrays. That trick answer of "it will break" threw me for a loop because I needed language-specific knowledge about the types that Python could handle for that input.

And then with timing attacks - I mean SQL Injection is a fair web security question to ask someone, but the timing is like, very fringe knowledge. Most devs let their framework handle all of those kinds of things. Not sure why I would need to know this unless I was specifically in the sec world.

The last 3 questions were actually general CS because they went through search trees and shortest paths algos, which are language-agnostic.
"I've been using Vim for about 2 years now, mostly because I can't figure out how to exit it."

[1] https://twitter.com/iamdevloper/status/435555976687923200?la...
vim myfile.txt opens myfile.txt, and literally does not show the splash screen.
Race far away vehicles over the internet. Taking remote control one step farther
Twisted textile cords may contain clues to Inca messages
That's partially true, but 'this isn't so important, let's talk about my favorite issue instead' is counter-productive to discussion, not to mention being rude. Plasticization of the oceans is a serious problem and I'd be happy to discuss...if you post a worthwhile article about it as its own topic, instead of trying hijack this one.
Similar story. It became clear over the course of a (contracting) interview that the cloth-eared PM who according to LinkedIn had just completed some big data course was using every imaginable buzzword he could fit on the whiteboard, and seemed less than impressed at my modelling attempts interfering with his drawing the most ridiculous architectural diagram to power.. an executive management dashboard.

I just flat out told him I didn't want anything to do with that kind of project and asked to be shown the exit.
ZZ also works as save and quit.
I can still remember sitting at a VT-220 in the college computer lab with my first Unix account (on a MIPS DECstation of all things), running emacs[1], getting stuck, and then sheepishly having to yank the power on the terminal to fix things.

[1] Would have been emacs 18.something at the time. Not sure if that predates the built-in tutorial or if I just missed it. I remember running the tutorial not long thereafter on a proper workstation where I felt comfortable I could close the window.
Would one of the people who've read this kindly share a summary?
Adding a radioactive check-source, like a thorium welding rod, may produce some interesting results. ;)
I got the same one wrong, for the same reason. I picked the first one that worked instead of looking at all and picking the best one.
YAC Antivirus 2017 Crack with License Key and Activation Code [Latest]
It's great for drawing/doodling/note-taking and reading books and comics in tablet mode.
Ask HN: What are you reading?
C-M-guru-meditate

https://en.wikipedia.org/wiki/Joyboard
As always, it depends on the context.

Do you know why you were hired? You mentioned "10 devs, QA, BA" .. maybe a good chance to talk to everyone and write down and later agree on a roles & responsibilities matrix.
Same goes with process. Talk to everyone and find out what they actually do, write it down and then have an objective discussion if all this is still the best way of doing things / working together.

As for the coding side of things: using cloc [1] and cpd [2] proved to be super helpful every single time for me.
When talking to current devs you are likely to get a glimpse if what they worked on recently or will work on in the next few weeks. Cloc gives you the whole story from the beginning. Maybe it's a new stack -- but how come there are 1000s of lines of perl code in the repo? Always a joy to dig deeper and learn about the history.
Cpd is a great helper to gauge what your devs actually do vs. what the say. In the heat of deadlines it is often the case that stuff just gets copy and pasted rather than refactored -- which will turn into a nightmare sooner or later. Bonus points for lots of copy/pasting in your test suites and automating cloc & cpd runs ..

Also, if everyone is busy adding code/features, be the one who removes stuff that isn't needed anymore.

On the learning side: you said you are not familiar with the stack. Are you sure your team is? This is a great opportunity to start a learning/ book reading activity for your team.

Last but not least, always assume best intentions. A lot of things probably do not make sense anymore but they did in the past -- find out about the history and you'll earn the trust required to make an impact in the future.

[1] http://cloc.sourceforge.net and https://github.com/AlDanial/cloc
[2] http://pmd.sourceforge.net/pmd-4.3.0/cpd.html
It doesn't help that the instructions within Vim to quit are clearly just wrong if following them to the letter doesn't actually work :P
30 Rock did it first

http://i.onionstatic.com/avclub/5224/22/16x9/1200.jpg
Every other unix program is not an interactive editor, they don't care if stdout is a teleprinter, a physical terminal or a terminal emulator.
You make it seem like a Zuckerberg presidency will be anything different from a token Democrat/Republican/Celebrity candidate. They all follow the same rules of increasing military spending and increasing the gap between rich and poor. Zuck will campaign on xyz, and < 100 days later, maintain the status quo.
I think it's very reasonable to care. Motivations matter because they are more predictive of future behavior than just about anything else we might learn about a person.
Obviously it'll become more expensive until we no longer need the resource, find an alternative, or recycle. Next.
Couldn't do it personally (I doubt I could be productive for that long in a row), but presumably it works for someone. The research on work hours I've seen is mostly about week-work length, but I imagine there's some research on workday-length as well.
(Attribution is questionable, but as a geezer I feel the need to make sure the younger generations at least are familiar with this:)

ed is the standard text editor

Let's look at a typical novice's session with the mighty ed:

golem> ed

?
help
?
?
?
quit
?
exit
?
bye
?
hello?
?
eat flaming death
?
^C
?
^C
?
^D
?

---
Note the consistent user interface and error reportage. Ed is
generous enough to flag errors, yet prudent enough not to overwhelm
the novice with verbosity.

(As a geezer, I also have to say I really am impressed with ed in some ways, and you should never be afraid to try it when you have a specific and known edit you want to do.)
There is a common convention, though, which is: don't use modal interfaces, modal interfaces are bad.

The problem vim has is that its UI is entirely organized around modes, which makes the "people are terrible at using modal interfaces" problem a hard one for it to cope with.
Public Facing Blockchain Application to Pilot at Ngee Ann Polytechnic, Singapore
Another thing I've seen is the person reads the text as:

"Type: quit<enter> to exit Vim"

Since the colon is used a separator such as I used it above.

Then they type "quit" and enter, which actually put them in insert mode recording "@u", with a 't' sitting in the text area.
Most people will have replaced their new Surface Pro long before they actually need a USB Type-C port. Apple chooses to act against it's own customers' interests by rushing to new ports and requiring they buy all new hardware. This will be the third generation of Surface Pro that does not require any new accessories.

If I end up buying the new one (which I might for the built-in LTE), I won't have to buy a new type cover, pen, dock, or spare chargers. Everything is compatible. In my car I keep a Mini-DP video adapter, a portable DVD-RW drive, and an Ethernet adapter, all are USB Type-A, and all would still work with the new Surface Pro.

Consider how much loathing I hear from Mac fans about Apple taking away MagSafe. Why would Microsoft do that to their Surface customers? This is Microsoft making a pro-consumer decision.
i think you need to update the description for this or leave a comment explaining where to find your bloom filter library (i'm curious!)
> Racism and systemic oppression didn't get solved just because you can cherrypick examples well.

And then you just cherry picked an example:

> ...and when he was reelected president, the Free Expression tunnel at NC State was spray painted with the confederate battle flag background, his "Hope" pose portrait, and in huge bold black letters the word "NIGGER".

Good job for being consistent!

> I don't see non-white people oppressing white people because Trump is in power, calling them/him a "cracker" or other slurs, on the same continuous intensity

Trump is being called names all the time, they even call Trump voters deplorable.

> Racism and systemic oppression

If this so called systematic oppression would exists, than how did Obama get elected? It seems to me that even if there is systemic racism, it's ineffective.
My own personal top hit is:

https://stackoverflow.com/questions/2003505/how-do-i-delete-...

Pretty sure I've got the command down by now, but it's embarassing how many times I forgot the exact syntax. It was especially bad before the "--delete" syntax was introduced.
Yes and I agree, but it would be easier to get people behind something like Universal Basic Nutrition. I mean who doesn't want to keep kids healthy and well fed? and if it only costs few cents per kid?

But use this program to get some data point on how universal program like that would work, what problems would we need to solve, and what's the ROI.
Why doesn't it just quit? That's as stupid as Python's

>>> quit
Use quit() or Ctrl-D (i.e. EOF) to exit

The software knows perfectly well what I'm trying to do FFS.
Yes, choice is very limited.

Yet ... still when I need to find a pair of trousers, it can take me half a day of shopping.

Online shopping is no good either, because I can't just write "low waist boot cut jeans, size 32/34" in any search engine. Even Amazon can't grok it.

Seriously, somebody should fill that market gap.
user: that just typed ^Zkill -9 %1 into the text area :(

(vim captures ^Z in input mode)
kill -9 is your friend!
This is interesting. I hope they are developing a standardized format (XML?) in which all local courts could publish their records. Rolling out such a system would be difficult.
The primary use-case I'd imagine using with the Surface during the time I'm using it as a tablet is via the web browser. So as long as it has the web browsing UX down in tablet mode then I'd be perfectly happy with a product that switches between tablet vs laptop/desktop mode.
And worse vim is often the default EDITOR or software's fallback in case no EDITOR is set, so you get dropped into a vim edition buffer seemingly randomly.
No, it doesn't. There's a huge mess associated with Article 5, but not defending Lativa is not the same thing as unwilling to defend Germany, or France, or the UK, etc....
Somewhat similar, Sony's project T http://www.futurelab.sony.net/T/ has a popup demo at 717 Market street during business hours. Anyone off the street can drop by. They have several other demos installed.