skysight-inc/HackerNews huggingface dataset:
Most of us eat lunch together at lunchtime, Monday-Friday. There are people that always eat at the same place, and others that change depending on what's on the menu, so the group of people at the table varies, but only one or two people regularly eat alone.

I'm not sure if you mean this, or if you mean a meal in the evening (or a weekend) every couple of weeks. I've not heard of any companies that regularly do the latter. We do this once a year, with a traditional Christmas meal -- pretty much everyone goes to that. There's also a summer event, about 3/4 of the staff go, mostly bringing their children as it's more likely to be a barbeque or picnic etc.

Sometimes, two or three or four of us go to a bar on Friday together, but it's not a team event. It's always less than half the team. It usually means leaving work 1-1.5 hours early, so my colleagues with children don't get home late.
Also, if you are interested in implementing a simplr webserver by yourself, check aosa book chapter http://aosabook.org/en/500L/a-simple-web-server.html
My first thought was that it can be subpoenaed.

For example: if, unbeknownst to you, two of your friends were involved in some kind of criminal conspiracy and you had spoken/met with both of them near the time it was known that they had met, an enterprising prosecutor could use your record of having met with them to accuse you of having taken part.
>It's like capitalism forgot how capitalism work.

Capitalism is fine, and America (and the entire global population) is wealthier than it ever has been.

>Companies should borrow, invest, earn, pay their workers, and the workers consume. Now companies save, pull profits, cut wages and replace workers by cheaper means of production and the jobless borrow to consume

None of this makes sense in the context of a closed ecosystem. Saving money doesn't remove it from the economy.
I don't think you have to be able to implement one. But you should absolutely know why you would want to use an index and also you should be aware of possible drawbacks.

I have seen quite a few projects where they thought they need more hardware and sharding only because they didn't have even a basic idea of database tuning.
You know what's a (C + Ji)? A complex joke.

You know why complex jokes are not funny? Because the joke part is imaginary.
Can you cash out your Suica to JPY?
This comment breaks the HN guidelines badly to begin with ("incredibly infantile") but this is beyond the pale:

> If my boss is going to be a black woman, she had better publicly condemned theft

No one gets to comment like that here, so we've banned this account. Since we warned you before, it shouldn't come as a surprise.

We detached this subthread from https://news.ycombinator.com/item?id=14492191 and marked it off-topic.
I can't imagine most web developers understand or care about or even need to know the intricacies of how a B-Tree or the various types of inverted indexes - or other indexes - work.

Much more interesting, IMO, and only for the certain type of dev that actually hits the database, is whether they understand that there are different index types, which to use when, and how this know-how translates to them being able to anticipate what the query plan for this or that query will look like based on the available indexes and some pointers on how the data is distributed in disk pages.

If anything you want the candidate that, given a set of assumptions, will tell you "a new index is needed here" or "a new index isn't useful for this query" because reasons and is able to explain why in sensible terms.

If you're trying to test SQL skill level, take a cursory look at the Postgres tag in StackOverflow and scan for performance-related questions. You'll find plenty of concrete "exercise" types of interview questions that, for the most part, will be straightforward for anyone with the relevant know-how to answer.
I think you should re-examine the notion that toxic workplaces in tech (particularly w/r/t sexism) result from forces entirely unrelated to the behavior of "actual" computer nerds.
Nah. I think she was careless on purpose. Imagine if she transferred it using encryption and Russia got ahold of it, and then claimed she gave it to them. I think she wanted people to know so that she could claim that she was doing the right thing.
I've thought about CardDAV of course, but it was too complex for a basic v1 like what I posted today.

I think Monica could be just an open API. The API is definitely something I'll work on in the next weeks, because of its potential.
I'm selling two pizzas for 10,000 test coins.
Sparkfun has not had to compete talent just yet. Wait until the competition for talent in Colorado reaches SV level. Sparkfun will have to stop relying on "I want to work at a cool/fun/relaxed place badly" and start paying market rates for talent.
Take a look at their crazy application process. It's built around how badly labor wants to work there. This strategy doesn't work in SV anymore.. Good candidates want to get paid, not have "fun times" at work. Sparkfun's talent strategy is built on concepts that are well over 15 years old.
> If database is similar to a Book, then think of index as a Table Of Contents which page numbers for specific topics.

FWIW, books frequently also have indexes, which are a better analog to DB indexes than tables of contents are.
Please also allow children/parents to be tied together, and maybe someway to attach people to yourself (like, entering your own s/o)
Integrating Amazon Echo and VMware APIs
I think most programmers probably either need control of the nitty-gritty of the numerical algorithms or would be better-served by a library explicitly modeling their domain (with library authors minding the p's and q's of the numerical algorithm).
How likely is it that an employee like the one you describe could have been selected specifically to burn Intercept? After all TFA is published in the official CIA press organ.

Still, Intercept should try to do better.
Feels somewhat symbolic at this point. The massively corrupt shop decides to fire a bunch of people who max out the acceptable level of corruption.

Even how they hired Holder feels like a PR tactic; a man who was against all the US torture techniques (http://fightthefuture.org/articles/the-rescue-of-eric-holder...) and yet prosecuted no one. He is the image of a career, PR frontman.

I'm still going to take Lyft over Uber in cities that have it, and that's only if I simply can't wait for the bus.
An index is a copy (or copies) of some or all of the searchable data in a table to a data structure that's easy to search (binary tree, etc.). As long as the interviewee knows it's a copy of the data used to speed up searching, I don't see what more you're looking for (if you are looking for more). If you want to get into more detail, you'll be looking at various tree structures and search algorithms on those structures. Unless you're writing a DB, language, or something else low-level, you won't have experience with those and they are largely irrelevant for typical web development.
Yeah, she shouldn't have had a clearance, but if anyone thinks her posts are particularly unusual, they haven't been following politics on Twitter this spring.
In the awk macro of TXR Lisp, I wanted to provide some of the convenience of the "duck typing" in Awk, whereby a string which looks like a number can be used like one. Instead of supporting such a thing directly (which I consider a computer science flunk job in language design) I came up with a field conversion facility that has a succinct syntax: clear and unobtrusive.

http://www.nongnu.org/txr/txr-manpage.html#N-018CCE37

This demonstrates some of it:

1> (awk (t (fconv i) (prinl f)))
1 2 3 4 5
(1 "2" "3" "4" "5")
nil
2> (awk (t (fconv i : r) (prinl f)))
1 2 3 4 5
(1 2.0 3.0 4.0 5.0)
nil
3> (awk (t (fconv : i : r) (prinl f)))
1 2 3 4 5
(1 2 3 4 5.0)
nil
4> (awk (t (fconv i : r : i) (prinl f)))
1 2 3 4 5
(1 2.0 3.0 4.0 5)

There are more conversion specifiers than just r and i. There can be any number in a row before the first colon, in the middle, or after the last colon. Conversions are matched with fields and applied. If a colon occurs, conversions after the colon are repeatedly applied to the remaining fields in cyclic repetition. If two colons occur, conversions after the second colon are applied to the trailing fields. There is intelligent prioritizing when these rules overlap.

There are conversions with a z suffix which treat junk as zero:

8> (awk (t (fconv : iz) (prinl f)))
a b c 1 2 3
(0 0 0 1 2 3)

Without this, you get nil which will blow up if used as a number -- but you can test for it and handle the situation rather than getting a silent zero:

9> (awk (t (fconv : i) (prinl f)))
a b c 1 2 3
(nil nil nil 1 2 3)

Basically the whole "anything can be used as a number, and junk makes zero" nonsense can be avoided with only a small reduction in code golfing. Textual duck typing is a wrongheaded solution for an ergonomic problem, which sacrifices correctness and clarify of data representation for the sake of absolutely minimizing the program character count.
>manage

How do they manage the rides? I thought it was handled by the app?
> As in trying to get the FBI knocking on you door?

Yes, to put it bluntly. Then you can blow the whistle on them because there's no way in hell they could have known were it not for them intercepting the plot. Maybe it won't hold up in court, but it's an interesting idea.
If you look at the nations doing good and the nations doing bad[1], factories, I think, make a difference.

I'd like to know what your definition actually is because there seems to be very little connection. Some examples:

Italy and Japan are first-world nations with lots of factories but middling growth.

Bangladesh is a poor nation with lots of factories but weak prospects.

[Edit -- in my original post I referred to Switzerland because I misremembered the stats. It does have a smaller share of labor force in industry than neighboring Germany or Italy, but Swiss manufacturing is still very significant. Thanks to the posters who corrected my mistake.]
good point :).
as far as i understand it it sorts the data at the disk level like windows defrag and puts the data 1st together and secondly ordered so the indexed data can be quickly and easily found.would this be an acceptable answer?
I ask that about Twitter - these companies always seem to have more than I would expect necessary.
>The leaks contain no "raw" evidence

Something stinks here. Both WaPo and the NSA, who Greenwald has picked fights with, get to smear The Intercept, while we are supposed to bekieve the leaker has extreme incompetence (flagrantly incriminating herself while using a pseudonym), and meanwhile the public still has no evidence of the election tampering.

It's not like the Deep State didn't lie to the country to wage a war in Iraq not long ago.

The public deserves to see proof.
Question: Where does the name come from? Is it another female assistant in the vein of Siri, Alexa, etc.?
Unlike how other instructional materials are adopted by schools, educational software operates in secrecy - it remains essentially a black box to educators, parents, and students. There is no mechanism for independent reviews/audits of content or code, no insight into the instructional approach, checks for factual accuracy, or evaluations of potential bias.

The money quote (for me): “That sounds like a low bar [that their apps did not harm students’ educational results],” Ms. Woolley-Wilson said. “But with the history of education technology, it is not.”
ugh, this new breed of programmers-but-not-computer-scientists make me shudder
I wonder whether NSA uses syntactic watermarking[1], imperceptible changes to word order or sentence form, keyed to the user accessing a document. This, or other techniques of embedding a fingerprint in the text itself, would allow a leaker to be identified from just a transcription of the document.

What is the right amount of fuzzing for a news organization to perform on leaked documents, to protect a source while providing credible evidence to support a claim?

Meral, H. M., Sevinc, E., Ünkar, E., Sankur, B., Özsoy, A. S., & Güngör, T. (2007, February). Syntactic tools for text watermarking. In Electronic Imaging 2007 (pp. 65050X-65050X). International Society for Optics and Photonics.
Ask HN: What software/app does your company(HR) use for performance management?
Looking for engaging and easy to use solution for performance and appraisal management - KRA/KPI/OKRs . Any suggestions?
Aluminum is the third most common element in the Earth's crust, so we've been heavily exposed for our entire 4-plus-billion-year evolution. That's one reason to be suspicious of claims that aluminum is dangerous; we should be pretty well adapted to it by now.

That said, big brains and 100-year lifespans are a pretty new development, so a bad reaction is certainly not impossible. But it's worth taking extra care evaluating the evidence.
Is there a way to mark someone as being related to me (e.g. Significant Other == me)? Also, related, could Significant Others be set as "People" as well?

Thanks for this, I see myself using it quite a lot.
The best introduction to logic and critical thinking I ever experienced was in a high school english class. In particular, understanding the various informal fallacies (hasty generalization, post hoc ergo propter hoc, argumentum ad populum, etc...) was extremely influential in turning me into a young rationalist.
A business needs their S3 component highly available. If they don't have a DR plan in place, and a massive S3 outage (like the one that happened a couple months ago) occurs, they're fucked.
Depending on where you are, it already has been. I recruited a friend recently who worked for Uber two jobs ago, and got objections at multiple levels (pulled them through because I knew they left Uber originally due to ethical objections and could speak to that directly). At this point having it in your job history needs to be addressed in your e-mail/cover letter.
Someone has to write the app and maintain the backend.
I wonder how it would be, had capability-based system architectures taken off and become mainstream. I guess we wouldn't need WebAssembly to run untrusted code safely, because in such a system, all objects – from whole programs to an object as small as the number 4 – would be safe and sealed off from each other on a hardware level.

I'm reading Capability-Based Computer Systems [0] by Henry M. Levy (1984), motivated by wanting to learn about the Burroughs B5000 that Alan Kay has praised multiple times. I've only started to learn about these things and I don't understand the implications, but if I'm reading it correctly, such architectures would obviate the need for web-style safety measures such as process-sandboxing ala Chrome, shader sanitizing ala WebGL, etc, because everything in the system would be safe that way.

[0] https://books.google.de/books/about/Capability_Based_Compute...

More about this: https://en.wikipedia.org/wiki/Capability-based_security and https://en.wikipedia.org/wiki/Capability-based_addressing
...and use a pseudonym?
Yeah, they totally seem legit...

http://i.imgur.com/FlCnduG.png
> although the housing prices skyrocketing is going to affect whether the younger people who are less financially established, will come in the same numbers as before.

But at least you can just go East here. The towns surrounding Boulder--Superior, Louisville, Lafayette, Longmont, etc.--are great places to live, costs are far lower than in Boulder proper, and your commute is still only 15-30 minutes. I live in Lafayette and commute into Boulder; it takes 20 minutes and it's mostly on 2-lane roads going past farmland.

And as an added bonus, when I'm missing a part for one of my electronics projects, I can always stop by SparkFun. :)
Yeah, I understand that's the root of it, but I've never understood how that positive sentiment remains so dominant when you start digging under the hood and realize that you're paying a percentage of your revenue for what amounts to a slick API or integrations. You don't need to be a financial genius to understand how little that adds up. It's always surprised me given the Hacker News crowd tends to like to dig into the details on most things.
>The problem is that there's a culture where sexual harassment isn't taken seriously

Is there? I've seen people claim this but I haven't seen any evidence for it. I know Susan Fowler's account is used frequently as basis for that statement and though I don't doubt her sincerity and truthfulness, you can't just extrapolate her experience to the entire (global) company.
Right of course..."time served" is a very common sentence for misdemeanor offenses where you could not bond out, and I certainly have an good "idea" what it means.

Also, if you are willing to take a ungodly amount of probation, it is quite possible you will get time-served on your felony charges as well.

I am talking about serious felony offenses where people get sent for multi-year prison sentences, and in those cases, time sitting in jail waiting to get to prison is not eligible for prison gain time.
Amazon, Kickstarter, Reddit and Mozilla staging a net neutrality online protest
I like to get to the bottom of things :-) I emailed author David Bayles last July to ask him about the story. He didn't give a lot of details but said it was a university level photography class taught by "a very experienced and sophisticated teacher", and apart from changing the medium to ceramics the story was the literal truth. I asked for more details, but didn't hear back and didn't want to keep bothering him.
A neural approach to relational reasoning
What this gorgeous cloud atlas reveals about the world below
Stanford Libraries Digitizes Original Drafts of Allen Ginsberg’s “Howl”
Do you know the difference between a list and a hash table? Hopefully yes.

When there is no index, the database is stored in a list. You look for something, you have to go through every item.

When there is an index, the databases uses a hash table to reference the locations of items. You look for something, you get the location instantly.

It's really simple.

There are more types of structures: trees, hash tables, bimap, arrays, etc... with different performance characteristics.
Items from a sorted list can be retrieved by a binary search in O(log(n)) time, so a database index is merely a list, sorted by the column being indexed, that points back at the original record for each entry. Simple, right?

So simple, in fact, that if someone tells you they don't know how a DB index works, you could easily walk them through it and, in doing so, get a much better evaluation of how they think than merely how well they can recite a bit of memorized text-book knowledge.

In fact, the only time I ever ask "Can you explain how X works?" type questions in interviews is so that I can specifically exclude asking an interviewee how to walk through the derivation of a concept with which they are already familiar. By that metric, I think your "how a DB index works" question is a great interview question!

Your mistake is stopping when they say "no".
CAN will stay for quite a while, as will LIN. However, higher speed buses (esp. FlexRay and MOST) are very, very slowly being replaced by Automotive Ethernet (which uses a proprietary physical layer, called BroadR-Reach). Where CAN used checksums (additional, application layer checksum in addition to the protocol layer) to prevent tampering (modifying live data), the Ethernet based protocols will use what AUTOSAR calls Secure On-Board communication, which features ECU-to-ECU end to end protection.
Post-Brexit this will be...

Britain “haemorrhaging” jobs
"Happening at a higher level" is a reasonable solution, if it happens consistently, no matter which higher level you're using. If you have 18 different functions to open a file, and 11 of them normalize and 7 don't, then you're screwed before you even get out the door. Programmers simply aren't capable of getting this right in a consistent way if asked to solve the problem application by application.
Not pertaining to OP's article, but when reading fluff pieces about some "next silicon valley", it's always strange seeing them use the opening of a Google or Amazon satellite office as some kind of validation of their claim.

Do they really not understand what the valley is about?
Why Apple is struggling to become an artificial-intelligence powerhouse
in my book that'd be a bad answer. thats just a lot of words for "no I don't know". I'd rather being told "no I don't know, but I'm willing to find out if needed"
> I didn't claim GNU/Linux would save the world, so why are you trotting out that claim as if I did?

Because it is the only OS where Vulkan is actually relevant in practice.

Also Vulkan tools only look good to developers that never used graphical debugging tools outside OpenGL, specially in regarding to shader debugging and frame level information.

> Huh? I literally said "Console devs aren't writing for UWP nor for Direct3D." as the very next sentence. So I'm obviously aware of that, why are you pretending I'm not?

Because you reveal not knowing about DirectX, by mentioning Direct3D, which has died long time ago and then go on to compare UWP and DirectX 12 to XNA.

While what XBox game developers care about is XBox SDK, which already has support for DirectX 12.
In the business world, people typically cite profit/employee or revenue/employee. It's only in SV that people cite valuation/employee..
Your general point is a good one, but the Japanese example is perhaps bad. The definition of recession doesn't work well in a country with a shrinking population. Japan's per capita income is growing, and labour force participation is up.

https://www.vox.com/2015/11/17/9749264/japan-recession-abeno...
The easy way to avoid this would be to hire people still employed by Uber. I'd say most people don't quit their job then start the interviewing process. Usually people quit once they have a new job lined up.
For GnuPG I use this hardware: https://begriffs.com/posts/2017-05-17-linux-workstation-guid...

For U2A two-factor auth I use a little Yubikey that is dedicated just for that and fits comfortably on a keychain. https://www.yubico.com/products/yubikey-hardware/fido-u2f-se...
British manufacturing output has grown significantly over the last 40 years, despite a 60% reduction in manufacturing employment over the same period. We're making more and better stuff with far fewer people.

The union narrative of manufacturing having been "run into the ground" by neglectful governments is clearly bogus, as is the nationalist narrative that manufacturing jobs have been exported abroad. This is about automation and mechanisation.

http://www.thisismoney.co.uk/money/news/article-2803400/UK-m...
Most people don't need anything more complex than this for their firewall needs, so iptables is overkill.

Not only that, but iptables is just terrible to use and it just makes you want to kill yourself.

I've deployed a pretty standard policy now in DO with a couple of clicks, works as expected.

(And before anyone jumps, you should be using a host firewall too; defence in depth)
Hope you don't have any friends or family older than 50! Entering birthdates prior to 01/01/1967 is not allowed.