skysight-inc/HackerNews huggingface dataset:
Me too.

I once helped organize talks at my school, and helped with bringing Richard Stallman to give a talk one time. I was a vim user, but I did a little bit of prep and refreshed my emacs memory etc. So we're setting up the room for the talk, and we're talking a bit, and some people start to arrive. He asks one if they've ever used emacs, she says no, so I said, "we should start an emacs tutorial here, we can teach everyone about things like C-x C-c, and stuff". I just blurted out the only thing I had remembered recently. He turned a cold shoulder to me, I suppose thinking that I had insulted him directly. I ran out to Google what I had said, and then felt terrible about it, but it was too late. That's my remembering how to quit emacs story.
Re: User account breach
We should. You can give someone credit for "pr_philanthropy" without giving them credit for "philanthropy". They still did a thing, and as people, they're allowed to do a thing for multiple reasons.

(Each of us are vast, and contain multitudes. We do not need to be self-consistent.)
I don't know too much about Blockchains, but wouldn't Ethereum be a better choice for something like this?
They also seem to imply that you can't pay employees and be a 'true non-profit', which is just silly. Many non-profits have very well compensated employees. Non-profit just means that no one is making money off of capital investment with the company (which, as pointed out, is not true of Vanguard, either, but it has nothing to do with employee salary)
Having a couple of idling VMs is hardly a workstation level load and 16 GB is just barely sometimes enough.
Ha yup - 6.6 lbs vs the 2 lbs the Surface Pro weighs. This is for at home/on the couch, where the weight doesn't bother me. I don't take it places often.
I know about this project in my neighborhood:
https://oaklandnorth.net/2013/11/27/mesh-network-offers-pote...
Ask HN: Outsourcing Scala Work – Anywhere in Vietnam?
Just curious if anyone can recommend a Scala shop overseas for a ~1 year project.
C-M-footpedal1-q
I've settled on black jeans and black tennis shoes for my usual outfit. Makes wearing bright shirts easy, maintenance is trivial, still looks nice enough to wear on stage if I'm giving a presentation at a conference.
The point of UBI is that it's cash. The providing agency doesn't get to prescribe that it goes to food, clothing, medicine, hobbies, etc. Also everyone gets the same amount so "not every kid needs it" doesn't matter.

What you're describing is some other form of welfare, and I'm not really against the idea, but it's not UBI.
Do you actually use it in tablet mode? I always wonder how many surface pro buyers actually use it as anything but a laptop.
That is useful context. Thanks!
It's interesting that he uses InGaAs, that's a relatively expensive material and closes off the possibility of silicon photonics.
Just saying, your list of options there is pretty limited. You could also do something like these duck cotton jeans: https://www.ironheart.co.uk/bottoms/ih-666d.html
Watch NASA’s Emergency Spacewalk to Repair the International Space Station
“Yahoobleed” flaw leaked private e-mail attachments and credentials
This is still one of the most fascinating writeups of Japanese business culture I have read, from fellow HNer patio11:

http://www.kalzumeus.com/2014/11/07/doing-business-in-japan/
I literally just built one of these with my son on Saturday and I'm almost certain we used this exact article as a guide (along with a video we found on youtube).

(As an aside, "Quantum Physics for Dummies" is surprisingly readable and concise)

TIPS: If your fishtank lid is especially cheap, the dry ice may crack it. Also, make sure you place the tank in a room that you can make completely dark - trying to move the thing to a darker room destroys the trails :)
No, but banning him isn't the correct answer, either.
Cute quiz. Question 9 is incorrect, however – or at least poorly worded. It asks about regex matches and only considers the last one to match, while the second one also matches, albeit incompletely. The last regex is the only one that matches the entire input string, but that's not usually how regexes work – e.g. in Perl or Ruby. This verbiage seems to be specific to Python, which uses `re.match(str)` to mean "match the entire string" as compared to `re.search(str)` which means "search for any matching substring". Arguably a decent distinction, but very Python-specific.

[Update: this is now fixed in the quiz.]
That would also make this question specific to python, which wasn't at all what I was thinking about. It's a question about regular expressions, it should be as agnostic as possible to implementation.
I like that as a rule of thumb; I think the following tend to bucket storage and processing solutions well enough to be a starting point

Small data: fits in memory
Medium data: fits on disk
Big data: fits on multiple disks

I've yet to come up with a rule of thumb for throughput though, and this can never replace the expertise of an experienced, domain knowledgeable engineering team. As always, there are lots of things to balance, including cost, time to implement and the now Vs the near future. Rules of thumb over simplify, but also give you a way to discuss different solutions without coming over as one size fits all.
Google Aubrie Herbalot How small is the internet really?
It feels like a lot of this quiz is just trying to "catch me out" on subtle behaviours of Python I didn't know or might have forgot about. I guess this is fine if you're making a little trivia toy to distribute to Python developers on the internet, but I don't really think it achieves much as a hiring tool. Getting questions on this test wrong would probably demoralise a lot of great candidates.
One of the handful of tools I installed from Ninite must have turned it off then. After a quick look, I'm guessing it was Classic Start Menu.
None, and that's the problem.
lol, the same mistake can be made in a lot more languages~
I only did the first 3 , but both 2 and 3 focus on python-specific names (extend(), queue) and pass-by(reference/value).
Which is $6100 on CDW.

https://www.cdw.com/shop/products/Cisco-Spark-Board-55-video...
15" is usually easier to find deals on. And to get the SSD included. I am spending $100 to get an M.2 Samsung 850 EVO 250GB. I'm willing to do refurbished and previous generation CPU/GPU, which gets me most of the performance for less money. If I was more into gaming, I think the newer Geforce would've mattered more to me.

Lenovo Clearance does have a Y700 (17.3" 1080p) with GTX 960, Core i7 quad, 256GB SSD, but only 8GB RAM. Brand new for $799.
http://www3.lenovo.com/us/en/laptops/ideapad/ideapad-y700-se...
It was for a video game developer position. I specifically asked the HR point of contact if I will be asked to do a whiteboard coding question and it was emphatically denied. (there was an email query of interest from the HR rep and I sent back a response saying if there's a whiteboard coding question I decline to not waste any of our time.) I've had to do whiteboarding coding questions for video game positions in the 90's.
Hmm. Just checked again. Two of the expressions match neither word, one matches both, and one matches only one.

EDIT: I see. The confusion is over partial match vs whole match. I thought whole matches were standard when talking about regular expression in the abstract, but looks like I was wrong. Just changed the problem to include the anchors. Thanks for pointing this out.
Ask HN: Must-listen podcast episodes for software engineers?
What are the most fascinating, engaging podcast episodes you've ever listened to that related to software development or a topic that's not directly related to development, but still interesting to software developers? One of my favorites is still Jeff Atwood's interview on the Changelog several years ago when he dissected his company's (discourse) decision process for choosing the language of their product (between C#, PHP, Python, Ruby, Node)
Isn't that exclusively used by middle aged computer scientists?
> It would be better for the employer if the employee paid for the oil checks on the trucks, or worked for the minimum wage.

Yeah, I mean, I'm sure if they could make that happen, they would!
I think that was just using a pre-trained model, i.e. the training didn't happen on the device but offline.
There's a video here: https://www.youtube.com/watch?v=AasQG3fR8Mo
So you're in the camp of "It's not racism or bigotry, as long as it's against whites?"
I don't know, the alternatives are getting better. Maybe not consumer grade, but usable, especially for a developer. For the past few years I've made a reasonable effort to use ethical software as long as it doesn't make my job too hard, and here are the results:

- Ubuntu is my daily driver OS, with Windows getting booted once in a blue moon to play some games

- Firefox for 80% of my browsing (the other 20% is Chromium on a Chromebook, which seems to run faster than FF even in an Ubuntu chroot with crouton)

- Thunderbird and a plain ol' IMAP mail server for email

- Maybe half of my messaging has moved to Signal

- Searx.me for web searches, sure I'm using the Google results more often than not, but at least my queries are anonymized, and switching to other providers is easy

I started a business on a very boring, conventional tech stack that gets a lot of hate on HN--PHP and WordPress--but it's a free and ethical stack, and I sleep better at night because of that. I gave our latest hire most of the same desktop software I use, and so far no major problems.

I'll grant you that the UI of some of this software is a little creaky, but I get by, and overall I'd say most of the nasty bugs we have to deal with in our toolkit are in closed source SaaS stuff.

Some notable unethical holdouts include occasional Skype/Hangouts calls, Slack, Google Docs, and Dropbox. Also a bunch of small-time SaaS products. But give me time.
high career growth, good work culture, new problems to solve
Just to be fair, i think the comments in the source code has explained it well
The most viewed question is even more relatable: https://stackoverflow.com/questions/927358/how-to-undo-last-...

You can get the top viewed questions here: http://data.stackexchange.com/stackoverflow/query/53109/ques...
The given regular expression does not match `blabber`, it matches `blabbe` (minus the `r`).

I got that one wrong as well. The question should have been "which regular expression FULLY MATCHES X and not Y"
>Until the Arabs came up with the concept of zero, no human had any idea about zero, nor did mathematicians use the zero.

In principle all these three statements are completely wrong (https://en.wikipedia.org/wiki/0#History).
I'm somewhat amazed but mostly amused that the Vim developers care so little about user experience that they continue to ignore that people have trouble with exiting their tool and refuse to adapt to a more expected convention for exiting it.
In short, pretty bizarre financial engineering going on with Chinese industrial companies buying western gaming start-ups for enormous sums in order to buttress their (chinese) own bottom line and keep the shares going up on the Chinese stock market. This is a type of pyramid scheme that is bound to come crashing down at some point, and bankrupt every single one of these companies.
Why was the 10-month-old suffering from severe acute malnutrition if he was getting breastmilk and buffalo milk?
Some Polish politicians and publicists believe this is actually what the ruling Law&Justice party is trying aiming for! If Poland is kicked out of EU, they will spin that as "EU is bad, EU is harassing us for no reason". Law&Justice faces a lot of opposition from pro-EU citizens of Poland. If they manage to vilify EU and create turmoil, they can remain in power by blaming everything on external enemies.

Law&Justice is using divide&conquer strategy, except they divide their own country and fuel internal conflicts.
Very interesting insights, thanks.
It also has the slight issue that the ambient temperature is around 140F.
Why would you ever exit vim?
Once again, a manifesto on the landing page that explains nothing about what is actually being proposed.

Please link to summaries of what has been done, why, and where it's going.

(On the face of it, a "blockchain" seems like a god-awful fundament for a distributed net, compared to e.g. IPFS.)
But it could be a great way to experiment with UBI. Give everyone access to this basic food pack and see what happens. It will be cheaper to do than UBI, less controversial and really help a lot of people.
I barely use any Vim, but I'm more confused about there being some hidden complexity in exiting Vim that I'm not aware of.

Isn't it just...

[Esc] :wq

...or...

[Esc] :q!

...depending if you want to save the current document or not?
The command is: M-x kill-emacs (or to save buffers before the exit: M-x save-buffers-kill-emacs).

Perhaps, exit-emacs or quit-emacs aliases could be defined.
I recently purchased a new laptop, after looking through a bunch of options -- Dell, HP, Lenovo, Microsoft, etc. Ultimately, I settled on one from Xiaomi. For $720, I get an i5-6200U, 8gb of DDR4 RAM, 256gb SSD, 1gb dedicated graphics card, a 13.3" panel, aluminum body, backlit keyboard, USB C + HMDI + 2 USB 3.0 ports etc.

Build quality is similar to Surfacebook, but I would have to spend another ~600 to match the stats. Is the whole touchscreen tablet combo worth that premium?
Radix Allocation JavaScript Array Compression to Strings :)
Krypto
It literally everytime you boot the first screen tells you how to quit and get help. So..read the screen that comes up Everytime? If you try Ctrl c it tells you it's :q.
Rust and CSV parsing
I don't have a super strict standard, but there are a couple of conventions I follow.

ISO date format - 2017-05-23. Yyyymmdd is the only numerically sortable date format, whatever dividers you use

I use spaces, not underscores

I keep everything lowercase

I split projects by folders, and have a number of sub folders inside with various standards names - docs, resources, src, art, and usually a root level file called wot.txt which explains what the project is. Sort of like a github readme.md file.

I break my own rules all the time though. And my rules are more habit than anything. Following someone else's exact folder structure is more likely to cause you grief than help you be organised. Everyone is different
To essentially repeat the question: what happens if the employee cannot resolve a problem that affects a class of employees using this internal mailing list? Is the employee's account of such an abuse of power considered "confidential" according to the terms of their contract?

I'd really like to hear an answer from a current or former Google employee, and preferably a yes/no answer.
Nope:

In [3]: re.search("b[l].*e", "blabber")

Out[3]: <_sre.SRE_Match at 0x7f2db79ed030>

"Matches" means "matches". If they wanted "fully matches", they should have specified "^$". That's why anchors exist.
I don't understand your interpretation. The company knows that there are cheaper ways to accomplish the task, but they don't care. They've made the knowing acknowledgement to spend on a solution that costs more on the belief that they are extracting some value from the additional cost.

The key is that that value is not strictly technical. You can present a technical solution that is cheaper, but doesn't offer the non-technical value they derive from being a player on the "Big Data" scene. They can say "Yeah, we use our main guy's Perl script" or they can say "Yeah, we use Hadoop".

Is the value in that worth $99k per month? That's a subjective judgment for each company to make based on their specific circumstances.
True. Learning the framework and its idiomatic style is very important.
Yes, it is an inalienable fundamental right. Your argument is that if it's possible to violate a right, then it doesn't exist, but that's nonsense. People violate others' rights all the time. The concept of a right is not a thing that is self-actuating, but that you can feel morally free to retaliate if your rights are violated.

Rights are what you assert for yourself. You can, of course, assert that you have dominion over others, but you'll have to persuade those others to agree with your if you hope to exercise that, which is unlikely but not impossible - churches are full of people who want to be relieved of the burden of freedom qua moral decision-making, and are thus fertile recruiting grounds.

Of course you may also assert rights but find them denied by law for one reason or another. In which case you can choose to give up your rights or fight for them at risk to your person. Laws are merely the product of political process, which may or may not be corrupt. If you feel a law is unjust, you're off to a good start because ultimately law is merely the servant of justice, and if you wish to rebel against an unjust law or practice you'll often find many supporters.

Rights have a significant moral dimension as well as a legal one, so just because someone denies the existence of your rights doesn't mean you have to obey them. You can defy or subvert their authority, and if your intentions are pure then you should. By pure I mean not being a hypocrite; the broadening of your individual rights is not predicated on the shrinkage of someone else's.
Nice! Thanks for posting this — I've been looking for something like Arq for Linux, and this seems to be it.
Someone else pointed this out to me as well, to clarify it may have been because this position was within their video game development studios/game engine/backend, not a general SDE position. The list of topics they gave me was a general CS background so nothing unusual there.
The wording on question 9 (the regex one) is a little unclear: both b[l].e and ([^b]b[^b]*){3} will match blabber but not babel. Presumably the intended meaning is that the entire string must be matched, but the question does not make this explicit.
I used many programming languages - C, C++, Java, Ruby, Elixir, C#, Swift, Objective-C & Javascript.

I've never used Python.
Don't use Hadoop even if your data is big. Spark replaced it.
The GUI version can be exited from in the same way as any other GUI application. If run from the command line, there is no standard way to exit (nano? emacs? joe?)
There has been a resurgence of use since the popularity of Spacemacs, and I know several of my peers around my age (20) who use Emacs, including myself.
Mining and counter-mining in the siege of Dura-Europos (256 AD)
We Launched a Website for the Vatican Challenge in 1 Week. Here’s How We Did It
Imagine you don't know that. Now try to exit vim.
Indeed. I listened to a clip of him in the 1980's and I nearly could not believe it was the same person today!
If it's simply aging that accounts for this then he is not aging well. My dad 76, who doesn't have a college degree sounds nothing like Trump does.
It definitely would because not honoring Article 5 means that the US loses its relevance in its entirety in the region leaving Europe for Russia if nothing else then purely in the geopolitical landscape for the taking.
You got it wrong! It's more like:

C-M-handstand-q-footpedal
The phonautograph was a perfectly viable 'product', as a tool for investigating the physical properties of sound.
How We Used a Week of Spikes to Map Out a Feature
Mildly annoyed at myself for getting question 8 wrong: the true answer was what I thought that code would be doing, but the bytes didn't look like valid UTF-8. I had a brainfart and thought that continuation characters were always valid ASCII, so a string containing only characters >= 0x80 wouldn't be valid.

The (much saner) reality is that continuation characters are never valid ASCII.

10 I admit I got through elimination: three answers were obviously wrong, one could have gone either way.
If you have 20TB of data on a single machine, you're better off with just Postgres 90% of the time. If you predict you're going have more data to fit on a single machine by the end of the year, then it makes sense to invest in distributed systems.
but this wouldn't prove anything about UBI, as a previous person commented this isn' cash therefore isn't an income. I support the idea don't get me wrong. but basic income it is not (unless there is some sort of secondary liquidity market and that seems to be counter productive to your first point).
You can also <Esc>-ZZ to save the file and exit. Very convenient to remember if you use Vim a lot.
> The CCC always does interesting stuff like this, a couple of years they reproduced a politicians fingerprint just using photos of her hands.

That was actually the same guy.
Great list! Thanks a bunch.
If you don't mind giving the antagonist more views, he posted the video here: https://www.youtube.com/watch?v=OROlF8zB9z0&t=50s

For "some reason" the sound is cut out afterward...

> “Did you get that on camera?” This line of dialogue, spoken so clearly and happily, subsequently helps to acquit Buzz Aldrin, seventy-two years old at the time of the incident, of assault charges.
Hipmunk's Hotel Data Pipeline
No, it really is that easy.

If you try to <ctrl>-c, the program even tells you to use :q

It's just become a meme at this point.
Bitaccess pushes Bitcoins forward, first with BTMs and now with Smart Contracts
Your view is quite different from the others​. But very insightful.
or :q
or ZZ
or qa(!)
or wqa(!)

I love vim and I've used all of those at some point.
I'd never pretend there's no learning curve, just that the learning curve is worth it.
Facebook responded to the leak of its moderator rules: 'We get things wrong'
I think this makes sense, and is likely largely true, in terms of how companies budget for laptops.
What to Do When Your Company Stops Growing?
Never forget ZZ. Or, my preferred method, suspend the process for later use.
Google App Engine Just Discontinued the Free Tier
> To that point as well, the internet already "works how real life works."

Power corrupts, and absolute power corrupts absolutely? Or did you mean, you can fool some of the people all of the time, and all of the people some of the time, but you can't fool all of the people all of the time ...
Correct. But as the article mentions, it might be confusing for developers who predominantly use IDEs and text editors that are not modal in nature.
Vim has a steep learning curve and making that one thing easier isn't going to make that curve any easier to climb. Powerful tools require documentation and looking up how to quit is the first task of many to use any of vim's power.

Not everything has to be easy to use, some things benefit from not being obvious.
I'd love to see an implementation that uses "parasitic storage". There seem to be enough free places to post content now that it would be workable, especially if you thought broader than just things like Google drive. Throw in free blogging platforms, pastebins, free email + attachments, etc, and a bit of PKI (obfuscate) + redundant copies.

That would allow for real world use without having to rely on things like "pinning".
The issue is, specs often don't tell the whole story. Look at phones for example. The Pixel is still according to a lot of reviewers the best every day phone. You can find other phones with similar specs for half the price, but the hardware/software integration is what really makes a big difference.

I'm not saying the extra 600$ is worth it in this case, we'll have to wait for reviews to know that, but generally you're paying for better build quality, integration, support and form factor.
I think mostly it's people not being familiar with escape key. If you think about it, pretty rare you use Escape in anything other than a game..
I got them all right, and I agree that there were many gotchas. For example, the ones about the matrix, the array modification, etc. The only thing worse would have been something like:

https://www.pastery.net/mbeghh/

(it'll print 3)
Wikipedia can pursue NSA surveillance lawsuit
It's quite hard to get emacs to open for you when you don't want it. Harder still to get it without a GUI.

Overall, both are about as hard to deal with. Vim has a better help message, but it's still difficult to find.