skysight-inc/HackerNews huggingface dataset:
Have you actually studied the JSONB capabilities of PostgreSQL and related features such as partial indexes? These things can be used at scale and there is at least one company that has millions of partial indexes in production.

And you might want to look at how SalesForce has implemented a highly scalable architecture on top of Oracle RDBMS servers. That includes a document store as well as a dynamic denormalized schema layer that works real well for reporting.

Heck, I've implemented a persistent memcache server on top of SQLITE and it scaled pretty well because modern servers and network infrastructure just happen to do most of the work needed.

It is not easy to learn PostgreSQL well enough to evaluate it, but more and more people are doing so and finding that it is the ideal open source persistence solution for the vast majority of business uses.
What Do You Do with Your Old Phone?
> Medically speaking, physical illness is different from mental illness. One is diagnosed from objective scientific tests (pathology) while the other is not.

Not all “physical” (the term is not really the correct distinction, since all illness, including mental illness, is physical) illness is diagnosed directly in that manner (not all physical illness can be, because not all is understood well enough to have definitive tests, and it's not always clinical practice to do so even when it is possible in principle.) And, on the other side, some psychiatric conditions have lab tests of the same sort available.
I think your article is good, I just think the UNIX philosophy is a bit oversold. The Git CLI certainly leaves something to be desired!
Coding in a VR game-ified environment for work in 3, 2, 1...
I think this is more specific than that. Specifically, I think the idea is if you are using a remote debugger and stepping through lines of your program.

I'm torn. Supposedly this is the magic of the old lisp machines. At the same time, since moving to microservice land, I have found I have not used a stepping debugger in a long time.
SpaceX is hiring experienced developers and testers that can code - both C++ and web tech stacks, linux heavy. Shoot me a mail at ellis@spacex.com.
What is the security model here? I see the word "secure", but no discussion of threat models or what this security provides.

If there's a key that can create users and arbitrary records, and the key is stored in plaintext in your browser code, what's to keep an enterprising user from using your FaunaDB instance as their own data store if they copy-paste the key into their own scripts?

Does FaunaDB protect against a resource usage attack where the client key is used to (maliciously) create millions or billions of new users, costing $$$$?
I'm a musician who's planning on releasing an album through bandcamp, and I've been a fan of soundcloud since I discovered it.

bandcamp has a very different business model from soundcloud. it's set up to cater to artists selling music, and they take a cut of any music sold through bandcamp. This is a valuable service and they charge a straightforward fee for providing it. the downside of this model is that it assumes people will buy music. Which, to be clear, they very much do today. Streaming is popular but there are still tons of people actually buying music.

soundcloud's early business model was for artists to pay for more storage, or something, and in recent years, I'm honestly not sure what their business model is.

So, not surprising that bandcamp is profitable and doing well and has apparently not raised tons of money yet gotten to profitability, and also not surprising that soundcloud, which has taken a lot of VC capital, is not going to be betting on a business model that seems to be going away (but in the meantime is presumably quite profitable).
>Contrast the US, where cars can and do legally cross an active pedestrian walkway

And they get angry when the pedestrian takes the right of way. Cars will consistently enter traffic and try to encourage me to get out of their way, i.e. they've begun their left turn and will continue to move at 5mph through the intersection which has worrying oncoming traffic, while I'm crossing the street at a crosswalk.
Great Article! the stack is changing...
A better alternative to xargs is `find <stuff> -exec rm {} +` (though of course -delete is simpler).
The mystery behind Greece's temples
A software / marketing engineer?
"It's like Unix!" people say. "rm doesn't warn you, either!"

Reminds me of one of my common complaints about that response. The difference is that 'rm' doesn't do anything but remove stuff---it removing things isn't surprising. If a command has multiple potential effect types, and only some of them are destructive, then good UI would offer a warning.
Ironically I find wrappers more complex because I constantly worry if they did everything correctly. That, and for every X people who understand raw "git" commands, X/2000 understand wrappers out of the box.
to quit Vim
In the end it doesn't really matter. I feel the article is an educational one, but as it's the chance for us to take our sides of the fence in praising and criticising, we'll still do it anyway.

I wouldn't be surprised if half of the commenters haven't used Mongo, or stopped in the 2.0-2.2 days.

A lot of software fails, companies close, while some succeed. Some software that has been hyped up ended up not succeeding, but it doesn't matter. One learns from others' mistakes and keeps growing.
Speed Up Your Rails Test Suite by 6% in 1 Line
Unix has produced a bunch of composable tools that have stood the test of time - find, grep, sort, uniq, wc, sed, awk etc. - decades of reusability and composability, things I reuse and compose to this day. I can't honestly say that about any other computing tool I use.
The Unix philosophy references some concrete properties of software (many processes performing small tasks, communicating with text streams), but these are neither desirable (serialize/copy/deserialize is wasteful and kills locality; process boundaries preclude inlining and other optimizations) nor really core to compositionality. The compositionality of processes and pipes is arguably the best thing about Unix, but doesn't even work terribly well: piping n different inputs into the same command requires hacky workarounds, and you end up writing ad-hoc parsers/text-manglers constantly.

One way to cast the ideological stance of the Unix philosophy is "simplicity of implementation at all costs"; the costs include memory unsafety, poor performance (of pipelines and shell scripts), code duplication, race conditions (look at the filesystem, a vast blob of global mutable state!). It's time we start fixing these problems and abandon the mistakes of Unix. Yes, composition is important, but you don't have to sacrifice so terribly much to get it.
Digital Travel Summit: Ryanair and others reveal key to digital transformation
For me the UX issue was that I came from "svn" and "svn checkout" is a VERY different command. Obviously this is not git's fault. I suspect git is much easier to learn for those untainted by svn.

As for "git checkout branch" and "git checkout -- branch" doing very different things, I find the "--" works well to bump my mental model into the right state, and so in practice I'm never confused about the distinction.

It also helps (a lot!) that "git status" teaches us about these modes for "git checkout --" and "git reset HEAD":

On branch master
Your branch is up-to-date with 'origin/master'.
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)

modified: pom.xml

Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes)

modified: src/main/java/com/bitbooster/FoxtrotHook.java
I'd listen to that :D
LitHub is a very popular destination.

http://lithub.com
The a16z podcast is available via the iTunes podcasts feed:
https://itunes.apple.com/us/podcast/a16z/id842818711?mt=2

Which means you can also add it in Overcast, or the Pocket Casts player and play it via the web:

https://play.pocketcasts.com/web/podcasts/index#/podcasts/sh...

https://overcast.fm/itunes842818711/a16z
Machines don't (on the whole) have wallets. So even for one dollar the effect is that now auto-renewal isn't possible, a human must intervene to pay. Donations, however, are appreciated.
How much of a jerk someone is (due to sexual harassment or other reasons) is like Big O notation. Sure, they’re not like that ALL the time, but do you want to be around someone with a jerk limit of O(n^n) ?
I'm trying to follow your logic here and am failing. I automatically read it the way I'm sure it was intended, and there is no alternative meaning to "return" (not-hyphenated) that would cause ambiguity. Are you a native English speaker?
Facebook does not "normal" PHP that much, they use host of languages, including Hack, erlang and lots of Python.
Maybe I'm too old now... but SQL is relational algebra translated into some sort of code/language. I did a lot of SQL & relational algebra for my undergrad databases class [which was about 20 years ago now]. Has SQL/DBs been phased out of CS education? Just genuinely curious...
The original authors of the Unix tools agreed back at least as far as 1983 that the traditional suite was growing new features inconsistent with the Unix Philosophy. Rob Pike's "cat -v Considered Harmful" presentation and associated paper are classics:

http://harmful.cat-v.org/cat-v/
Did either of you read the section at the end entitled "You or I might have done the same thing"..?
We're hiring at S23NYC, Nike's Digital Innovation Lab in NYC. We're very close to the SoundCloud NYC office -- we can see your Wifi!

Feel free to spread this to anyone in engineering in the NYC office (or anyone willing to relocate to NYC). Hit me up directly: jon.apostoles(at)nike.com

Mainly looking for native iOS and Android engineers, and backend engineers.

Thanks, and good luck!
Are people with brain implants afraid to go through automatic doors?

EDIT: Hi downvoters! Is it common knowledge that they are afraid of automatic doors? This is the first I’ve heard of such fears. I know maybe two people with brain implants and they’ve never mentioned it. The article claims this is true, but it claims a lot of things without a lot of data.
Living in Berlin, doing freelance. Just giving my advice here.

Now is a good opportunity for you guys to go that road. It's never been easier to find projects and there are lots of companies that can benefit the experience you got and offer short-term contractor work.

If someone needs help to get started in Berlin ( taxes, advice, etc. ) feel free to contact me.

Wish you good luck!
>> Today, $SHELL has a reputation for being a tool that erases your working tree without warning if you use the wrong command

What a vacuous statement. If you use something incorrectly, it works incorrectly.
I guess there is a fine line between collective bargaining and holding a company hostage.

Remember when the cast of Friends all negotiated for $1M/episode, and they pitched it as "you pay us all, or you don't have a product"? I don't recall any public outcry that they were holding NBC hostage.

As we move toward a completely digital society, it only makes sense that the digital gatekeepers will have more leverage. Employers hate that.
YouTube has considerable revenue, but as far as I can tell they're still unprofitable.
We know lots about these things - as the article explains. A lab I'm roughly associated with models them, here's an example: https://www.youtube.com/watch?v=UR5NoaqpCok

The physics (IIRC) are very similar to snow avalanches. I saw a talk once that presented evidence of one in the Indian Ocean flowed half way to the Antarctic (order 1000s of km). They have been observed to scour the canyons (such as Monterey Canyon) and are hypothesized to be set up similarly to avalanches, where the sediment depositions become unstable and slide.

A final bit of trivia: the photo of the mooring base shows a common oceanographic mooring construction material - used railroad car wheels. Big, super heavy and relatively cheap. I've never heard of them being recovered. Usually the important parts are detached and the wheels are left behind.
Not understanding satire is a sign of autism.
As a counterpoint, there are no objective scientific tests for, say, back pain or neck pain or nausea or menstrual cramps.
That sounds like a really great realization to have had!

For the record, what your old manager was doing (directly asking you about your mental health status in a quasi-interview setting) was probably illegal, at least in the US (IANAL). There are pretty strict rules around the kinds of things that employers are allowed to ask prospective employees about, and health (mental or otherwise) is very much on the "not allowed" list.

Employees have a legal right to protection from discrimination along those lines, and companies (no matter how small) most definitely do _not_ have the right to discriminate in that way.
That's my guess. This is a neat story but it's not realistic for someone to replicate without a very strong existing network, IMO.
Similar questions can be asked

> Why do so many developers use map/reduce instead of the database for select, pluck, math?

> Why do so many developers use length instead of counting sql?

The learning curve was easy, it was very compatible with javascript, it was very easy to install, it had similar features to sql lite.
Because MongoDB stores documents in JSON form. It's the easiest data structure, easiest to transform in whatever language you're using, it's fast, and its scalable.
Clojure was my FP Koolaid, but Erlang (which I learned before Elixir) really blew my mind with it's pattern matching heavy syntax. I'm happy Elixir kept it as part it's core design patterns. So agreed it's a great abstraction that every modern language should be using.

That plus extensive use of list comprehensions when working with arrays.
Doesn't really matter if it has or not given how many developers don't have a formal technical education.
I discovered the story originally while absentmindedly Googling about Earhart a few months ago (when I can't sleep I read about curious historical mysteries; Black Dahlia, DB Cooper, etc. Then I have a harder time sleeping!).

It could be hogwash, all built around rumors:

https://pacificwrecks.com/aircraft/electra/earhart/

http://www.ameliaearhartmovie.com/briefcasefoundinsaipan.htm...
I'm not sure there's much upside in using -delete, -exec etc. from find since they're redundant and can be replaced by composition; half the time, I want to stick a grep -v in there between the found paths and the execution, so xargs is usually handier than not. (I have a tool called print0 which converts line terminators to nulls, so I can use xargs -0 along with grep etc. without needing to use -print0.)
I used to wonder (basically my physics class where they took an entire class about dimensions and verification based on that. Now I know better.)
Self-driving cars won't need the glare, because they will be programmed to respect right of way, including but not limited to pedestrian right of way, or the manufacturers will be crushed by recall/repair/replacements costs and defective product liability lawsuits.

Individual drivers are a bigger enforcement problem.
Well, if (big IF ?!) Tony Seba is right, it'll all be over by 2030 anyway for traditional ICE cars (private ownership of ICE cars to be replaced by fleets of autonomic electrically powered taxis): https://www.youtube.com/watch?v=2b3ttqYDwF0
Another way of thinking about this, rather than "mental vs physical" or "healthy vs sick" is "how much discretion does your employer give you to balance work with your own well-being".

There are plenty employers who are willing to accommodate you if you have an actual DSM-diagnosed mental disorder but are skeptical of a "sanity day".

Likewise, there are plenty of employers who will let you take time off if you're actually chucking mucus across the room. But what if I just suspect my immune system is a bit weak from the long hours I've been pulling, and that going into work today is likely to trigger a cold? Or what if, in order to keep up with work, I've been drinking 8 cups of coffee a day and eating nothing but microwave meals because I don't have time to figure out healthier options? Technically, nothing prevents me from performing my job. It doesn't require a doctor's appointment, nor is there some illness that's easily verifiable. I'm not broken yet. I just have a hunch I'm breaking down.

And then there are a whole host of issues that might not qualify as "health issues" but are things I need time to deal with if you want me to function at my best later: childcare, DMV appointments, legal issues, car repair, etc.
That's perfectly acceptable if you ask me. I have a cranky manual transmission, I don't want to put myself in a dangerous situation just because I have to accelerate at max speed and possibly stall the engine.

At least, as far as I know there are no mandatory right turn on red laws in effect in the US
{secret:"fnACW7G2d0ACAeiItklGS3QR-FW3sjHK3zwP1kus"}

What is the point in having database access with secrets available to the end-user and how is that secure?
Even 20 years ago the database class was optional for us. I didn't take it because networking was more interesting.
Are they preparing to sell the company? There was rumors that they wanted to sell to Deezer recently.
I'll take "less mature" over "data loss" every day and twice on Sunday.

Whatever else you might say about Postgres, that community cares about the integrity of its users data, over pretty much every other consideration. I don't think the same can be said of Mongo, or any other "NoSQL" anything.
Also something to keep in mind : so far noone has found a way to properly typed in a strong static formally proving way the erlang and elixir paradigm. Over other things, the self() construct that return the own pid of a process is so far impossible to type well.
Dunno. They have a white paper, but it's not available unless you provide an email.
My anecdata indicates the opposite, as far as quality of recommendations is concerned. Curious how matters of taste might mean that you can't accurately make sweeping generalizations like this.
It's interesting to blame Amazon here, someone has to intentionally change the defaults to make the data public.
As a cost cutting strategy, offices in San Francisco and London are plausible candidates. Particularly for a company based in the EU those cities are likely to hinder flexibility regarding colocating teams and staff due to increasing regulatory hurdles regarding work visas.
I said "needs accessibility", not "needs large font". Accessibility means that if someone needs to set the font to size 100, they can and the system won't break because of it (e.g. text won't be cut off with no way to see what was lost). It doesn't mean that the default choice is some kind of lowest common denominator that is weird for everybody.

The only exception where defaults must be pessimistic are the settings menus themselves. For instance, a button that increases font size must be large enough for anyone to see; a button that changes language cannot be only labelled with the text of a foreign language.
let me clarify:

shipping along with your language, some kind of API that is standardized so that editors can easily add high quality IDE level features to support new languages is a great idea

that this is currently being done via a server + json over pipes or whatever is a suboptimal way to do it, I agree.
It's not really too late for git, if there is sufficient energy around rolling back the change. The relatively standard process for API changes of (1) adding a new command that does the same thing for a major version, (2) adding a deprecation warning and description of the new way to do it (say 'Please use checkout-tree instead') for another major version or two before (3) it stops working in major version 3. That allows people to get used to a syntax change without breaking scripts for a while. The git project has already used that process for other API changes. In fact, it's pretty common practice to do that sort of thing when a given CLI option starts getting too baroque and complex.
OSMLR traffic segments for the entire planet
>(If you can't tell, I think the biochemical causes of depression are a bit overemphasized in today's society.)

this is actually "necessary" in the sense that it prevents discussion of other equally substantive depression-causing things such as a precarious lifestyle contingent upon retaining paid employment.

put differently: depression is multifactorial, but the medical consensus is that it's connected to anxiety. and anxiety, while also biochemical and genetic, is in large part caused by external factors.

but if we admit that external factors cause anxiety and thereby depression, we admit that the very jobs we're afraid to take time off from to tend to our depression are in fact causing us to be depressed in the first place. and for the american culture, this reality cannot be voiced-- it's antithetical to capitalism as we practice it.

finally: talking about mental illness at work is a surefire way to find yourself unemployed or longlisted for a promotion. this adds an additional level of furtiveness to those who are already mentally ill, which makes their issues worse.

whether or not someone has a genetic predisposition to mental illness or not-- and many likely do-- a good work culture can make things either a bit easier, or much harder.
Yet they still don't even scratch what last.fm used to be when it came to recommendation.
We are hiring a Senior Backend Engineer for our Platform team at Demandbase (demandbase.com) at our SF office.

Apply here:
https://boards.greenhouse.io/demandbase/jobs/732055#.WV6CrhM...
Asking for game(r)s to be taken seriously is specifically asking the elitists to legitimize the medium. Non-elitist critics might take games seriously but they don't count because culturally they aren't the gatekeepers to legitimacy.

I think the Kinkade point wasn't about mechanical mass production but mass appeal. Critics might not like the work but he sold zillions of prints. There's clearly a disconnect between what people think is good and what gets praised as good.
I dunno, I think it's fine -- the article never attacks Hamano or calls him a bad person. Criticizing a person's decisions on technical grounds isn't an ad hominem argument, whether you mention them by name or not.
Apologies, apologies, apologies
If you pick a problem that you have faced or are facing, it will be easy to solve and relate to.

Problems are everywhere but jus finding problem is not enough. You need to be able to relate. I am not saying you can't pick a problem that you never seen first hand but that just adds up learning curve and eats away your time to jus learn basics of the domain.

So better focus on what you have seen or are seeing.
This is a very presumptive attitude to take which is not going to convince people on the fence on this topic who don't already agree with you.

I suggest that if you want to change minds and improve the status quo, you should engage these people who you find tiresome anyway. Not to persuade them, but the third-parties who will read the discussion and could be persuaded. Or, if that's too much work, simply don't engage, if only so you don't sabotage someone else's effort to persuade.
Looking at the dialyzer docs and how you truncated my full question, I'm still not sure if Elixir has static analysis that is aware of those guards or not.
Your loss is limited to $9 in the first case, but you can lose $10 in the second case. If you think this is not more risky, fine.