skysight-inc/HackerNews huggingface dataset:
I’m not sure if it’s worse. There’s been a documentation gap as long as I’ve been thinking and working on this (1995+).

I don’t think it’s complete but I think I see more documentation and diagrams so it out automatically from projects than the stuff that was consciously written by librarians or tech writers (or created as a result of following a CASE tool or Rational’s UML stuff).

I have seen far fewer garbage diagrams that confused. If I had to choose between a pretty diagram and a hacked up json file that describes relationships, I’d take the semistructured data any day. I can always write a graph viz on top of the data that is always in sync, but it’s really expensive to try to spit out data from a graphic.
I wonder, why Apple has nothing like Samsung DEX. But also I wonder why Samsung and Google don't push this feature not more. I almost bought one of the last Windows phone, the HP Z3, because it could be use as base for a small notebook (they had just a "dumb" notebook for it, just the screen and a keyboard, all the processing was over air or cable from the phone). Even the new Linux phone (Librem 5) comes with a feature to connect the phone to a monitor and keyboard etc.
Apple has never showed any of this concepts even a tiny bit.
> Bertrand Russell was a wonderful man, but I still smile when I think of the Principia and the essay he wrote nine years after Godel blew it up

I purposefully put them both up there! Russell was wrong (and, on a personal level, his atheistic slant profoundly annoys me), but he had a coherent and laudable plan -- he was the logical positivists' spearhead. Godel, of course, blew that whole plan up, but it was a plan nonetheless.

> If the GP thinks Wittgenstein is a vandal I wonder what he makes of Derrida and the other French lunatics;

In line with the analytic tradition, I wasn't much exposed to the "French lunatics" (thankfully). Nietzsche was bad enough†.

† I actually quite like some of Nietzsche, but the prose is atrocious.
Unlimitedjs: Minimal JavaScript UI framework with functional reactive programing
Yeah I stopped reading after this:

> At its core, bitcoin is just an extension of the old PGP, or Pretty Good Privacy encryption protocol.
Also, on my iPhone I can never open articles on AMP in the "Reader view", destroying my accessibility needs. The articles that were completely readable in the original form become 100% unreadable as soon as they are AMP. It can still be verified on the publisher’s site that there it works, but how long will that remain?

Long ago, it was seen that Microsoft had the policy "our OS isn't finished if the competior's program is still functioning." Google's “OS” is effectively all the web resources they control and then they "accidentally" miss to support Apple's browsers. Especially when they manage to bring all the news content producers to use their “technology.”

AMP is evil. Behind seemingly “technical” solution is a huge additional monopolisation of the web by Google. Purely seen on that level it should be illegal. It’s in the interest of the society to allow the competition and disable the strengthening of the monopolies.
"My mother donated once to some Democratic volunteer who came to her door"

I don't get why this is normalised. If fraudsters aren't doing this I'd be amazed. How hard is it to mock up an ID badge, get a clip board and start taking 'donations'.
Fake news poses a threat to human health
How was "Merge" proposed in the early 1990s? Hierarchical structures and compositional semantics predate that by decades.

If the proposition was Merge as a "universal" operation, then I'd say there is no evidence that our brains implement such an operation, and that it has a very shallow stack, which is domain dependent. That makes such an operation a meaningless abstraction, not suitable for explaining anything about human behavior whatsoever.
>JPA Criteria

Feature parity aside, I also found this to perhaps be the most verbose API for query building I've ever used.
What are you complaining about exactly? That a standard was authored by someone who works on a browser? Would you prefer if standards were worked on by people with no browser development experience?

Here's the draft of the accessibility API [1]. The two editors are from Mozilla. Does this mean that the process of defining this API, gathering feedback, iterating and publishing it "means next to nothing" because folks from other organisations didn't chip in?

[1] - https://wicg.github.io/historical-a11yapi/taxonomy.html
> But, no one part of code can document the whole _system_ to which it belongs, nor can e.g. Git commit logs (which I also highly value). For that, I absolutely need diagrams and technical writing.

Yes, that's exactly why I use the maps analogy when describing the C4 model. If you were teleported into a random part of the country where you live, you'd find it very time consuming to figure out where you are, and where you want to go. The maps on your smart phone allow you to zoom-out and get some context.

It's the same with code. If you join a team with a million lines of code, simply exploring the code to figure out what's going on is an incredibly time consuming exercise. The diagrams and technical writing provide some zoomed-out context, so you can better explore the codebase.

The trick, of course, is to not document everything. Travel guidebooks don't explain everything about the place you're visiting, only the highlights. Software documentation should do the same.
Is this a factor of decreased costs in prototyping? So specialized tools become cheaper to test? And cheaper to manufacture in small batches?

I can’t wait to see this featured in Expendables 4.
In general for one table an index helps, but we have almost no queries on a single table. The Query Profiler is telling what part of the query takes the most (CPU, disk reads) and that is the starting point. Tuning a single query can take hours, depending how slow it is and how often it will run.

There is some information on Internet on query optimizations, look it up. There are also server side optimizations, specific to the RDBMS you use and the flexibility it has.
You need 500 karma, last I checked.
What about when you hire professionals? $200/sq ft?
Do you mean the mainstream press or something like this ? The fading out of single thread performance has been the major topic in computer architecture for a very long time.
This is a great article, I've really enjoyed reading it! I want to react to a few of the points made in the post, and point out some potential techniques for solving them!

Most ORMs are heavily inspired by object-oriented programming which fosters the object-relational impedance mismatch. In addition to logic for storing and retrieving data, models often also implement business logic (ActiveRecord is a good example here). This makes for bloated and complex objects that are difficult to work with in the application. A solution can be to lower the level of abstraction and use a more lightweight query builder (like knex.js for Node.js). These kind of tools give you more control in constructing your queries as well as the ability to optimize them.

These tools still require you to understand quite a bit of SQL though and the productivity leap compared to writing manual SQL isn't as high. I believe that query builders are the best compromise we have today for accessing a database from an application.

Regarding the dual schema dangers that are mentioned by the author, I strongly believe that these can be alleviated using code generation tooling that helps to keep your database in sync with your application models (approaches like SQLBoiler in Go where application code is generated based on the database schema are an example here).
I’d honestly have to go count to be sure, but I would guess I own between 15 and 20 ARs in various configurations.

> But no one buys three toasters or lawnmowers for different uses.

I don’t think that’s true at all, at least not for me.

A few years ago I took at interest in fountain pens. I have over 200 of them, and regularly rotate between a couple of dozen of my favorites.

Last year ukuleles piqued my interest. I have seven of them on the walls of my office.
Looks like it's just using Duff's device like you would use to implement a coroutine.
(the famous) Dan Farmer was alerting about problems with IPMI / BMC around the same time

http://www.fish2.com/ipmi/
I would pick one RDBMS and try to dissect it, there is a lot to chose from nowadays, you can check out db-engines to get a general sense of what's out there:

https://db-engines.com/en/ranking

From what I have seen most enterprises today will be using Oracle or Microsoft, however PostgreSQL seems to have gained popularity with the web developer and small business crowd (as well as with the HN community). I have been an Oracle database developer since 2015 and would definitely recommend going that route if it interests you, at the very least it might be a good starting point because of the fantastic documentation, here's a great guide I recommend to get you started with all the basic concepts:

https://docs.oracle.com/en/database/oracle/oracle-database/1...
This I agree with, other than prescribing n levels - many projects don't need more than 1, most only need 3 (conceptual, logical, physical).

Note that people in the protection (life insurance) industry will see no ambiguity in this diagram. Note also that this diagram is contained in a Vision/Scope document that provides disambiguation (each box is described), responsibilities (and all stakeholders) defined, and all abstractions. Haven't anonymized that document so it's not online. Obviously no one on the team works alone, so it's made clear to all.

Largely based on the Microsoft Solutions Framework from many years ago because it's still the best tool in this space. And by god after 20 years as an architect and before that 14 as a developer I've seen my share.

I respect the effort brought to bear here, but there are existing solutions and frameworks out there, from the terrible (6 Sigma or EDS' BCL Framework) to the excellent (MSF 3, parts of the UML).
Fully agree! Some mapping code is _required_ in your application, otherwise it wouldn't be able to talk to your database at all.

However, I've never understood why people write this mapping code manually. I believe in code generation tooling as a potential solution for this (where types and maybe a full data access API is auto-generated based on the database schema).
What one should mention is that his version of coroutines is also stateless. That's why you need either stackful coroutines written in assembly or support in the language/compiler or operating system. Special case versions where you can avoid backing up the stack frame exist in other projects too, like in asio: https://github.com/chriskohlhoff/asio/blob/master/asio/inclu...

But in my opinion I would not use them for generic use cases and rather wait for the official support in C++20.

Of course I'm aware that I'm talking about C++ here and the situation for C might be slightly different.
knex.js is another example of such a query builder library in the Node.js ecosystem
it's also the whole idea of attack models: you don't wait for evidence to construct an attack model
From 2007 to 2017, I read zero books. Before that, I only read self help books. I didn't find any use for fiction or novels for that matter. Self help books were actionable to me.

But then I stopped. The most I did during that decade was read Wikipedia entries or cliff notes. But one day I stumbled upon the alchemist. The book came to me at a moment I truly needed it, and it offered me some answers. Little after I read another fiction, Life of Pi. These are simple books with profound messages that can easily lure you back into reading. I ended reading more than 20 books that year.

Today, I can't imagine myself not reading. Books are where smart people take their time to clearly and precisely formulate their ideas. And the great advantage is that when you forget what's in a book, you can read it again.
As I wrote, the class was

Philosophy of Science

The course prof suggested that a math prof teach the class.

That was ALL right there in my original post.

Again, once again, over again, yet again, one more time, just for you, as in my post and as here, the class was

Philosophy of Science

Understand now????

So, a local community college may be able to give you a remedial course in reading comprehension.

I'm sorry you are having so much trouble with simple reading.

Your response, ignoring

Philosophy of Science

is "laughable". You have insulted me and humiliated yourself.

I was torqued. I had big justification in being torqued: I was trying, trying to learn math, physics, and in general science. So, hearing about the course in

Philosophy of Science

I took a chance, signed up, spent the time and the MONEY, tried, and the result was that a math prof's view was "f'get about Wittgenstein" and a physics prof said to philosophize after a Ph.D. So, the course and Wittgenstein ripped me off, wasted my time and money. I was ripped off, had good justification to be torqued, and was.

Again, here I'm reporting what two of my profs said.
The weird thing to me is that heartbleed depended on a feature in TLS that required the server to receive a request from the client specifying a size.

Is there any other similar TLS feature?

Even if this is not the only one, wouldn't you audit the shit out of that?
> And there's likely countless wonderful experiences you have had / could have right in your home city.

Nothing of this sort. Most of the US shuts down at 2AM, people don't walk the streets in most cities which makes bumping into people impossible, and so on. The life and the environment is totally different here.

(I say this as someone who drove through all states West of Iowa, with the exception of North Dakota, lived in NYC, TX, CA each for years, and moved to the US from another country).

Most importantly, interacting with people from another country in their environment gives you a unique perspective both on their culture and your own. It's not about "having and experience", it's that your understanding of the world around you changes substantially.

>doesn't do anything to help people learn anything substantial

You learn how another country works. You learn what a day in life of another person is like in that country. It's the countless little things that are different that you see. It's the everyday lives that shape everyday thinking, and that's what matters the most.

In short, you learn to be in a different way, by observing people who are in a different way.

Textbooks simply won't answer the question "What is it like to be a Parisian, in 2019?".

I mean, you are making a very strong statement, with not much to back it up with. I provided a single counter-example, but I really don't know where to even start.

The logic of your argument applies verbatim to pretty much anything: "There's no point in venturing outdoors. If you really want to learn about nature, hit the library. You're just enjoying yourselves out there."

Well, no. Maybe that's what you do, but perhaps you aren't getting as much out of it.

I'll also make a strong statement: you have no idea what another country is like until you travel there. You won't have a single shared experience that will make it possible for you to relate to someone living there. Until you go there, all your knowledge is just an abstraction that you built up in your head.

To make an analogy again: you can read up on Beethoven all your life, but from hearing his music once you learn more than from reading about it.
I used to read a lot, until I entered middle school. You see, in middle school, we had to read 4 books a year from a whitelist and write a report about them and such.

This meant I no longer felt motivated to read a book not on that list; after all, if I read a book from that list instead, I'd be killing two birds with one stone. Reading a book not on the list just seemed like a waste of time. Of course, I decided which books to read by randomly stumbling upon them, not by picking them from some list, so I was rarely motivated to read books that were on the list either. Not to mention that reading was now homework, where I'd need to think about how to write the report and which excerpts to use at all times.

The result was that I just stopped reading for the most part. It sucked all the fun out of it.
Most are exceptionally bad at being programming environments, though.
Again, once again, over again, yet again, one more time, as I wrote:

"I have zip, zilch, and zero first hand knowledge of Wittgenstein, but I will report on what two of my college profs said"

Maybe a local community college will be able to help you with reading comprehension, too.
This is exactly, what came to my mind after adoring the beautiful first and following pictures. The whole setup looks very adorable, with the plants inside the bedroom area and i guess it could be very plesant to stay there for holiday.

But i guess the winters will be horribly cold without anything that could be called decent insulation.
And the whole weight of the roof (and maybe snow) is on that little wooden fence. And its better not going to get windy, because as as you can see in https://i.imgur.com/i3o9MBj.mp4 the bars are mostly just hooked into the top of the fence. As someone who learned basic structural engineering, this is giving me shivers. The roof can hold itself pretty nicely like an archway,... but if you get lots and lots of wind from the side, my guts say that it might evolve into a big problem.
You mean like when FBI got warrants to exploit Tor users?
As GP, mentioned, you put the correct shebang. I write stuff in Python and make them as pipe-capable as possible. You don't have to bend hell and flip it upside down to write scripts.
No, but this looks way too unprofitable (you can't really sell a yurt, so it's much like flushing money down that composting toilet) and very little fun. At least to me.
If my Infrastructure code includes only chef recipes and chef objects, will this yank lead to breaking changes(even though we don't use chef sugar)
> This is almost certainly the wrong metaphor, since there aren't really any instances of animals that are always awake, which seems like an obvious competitive advantage.

Except that there are. For example dolphins and other sea based mammals who cannot breath underwater. They do so via sleeping half their brain then flipping over and sleeping the other half. This prevents them from drowning.

Going back to the computer analogy, I always thought it sleep more like a disk defrag rather than GC pause. However as other commenters have pointed out, the brain is so different to any computer we've built that any comparison to a computer methodology would quickly fall apart under even the slightest bit of scrutiny.
> Well, the difference is that in a data oriented language, you do not need to map Objects to relations. You can get the data back in the relational format and use it as is in your app.

You can do that in an OO language, too; relations (whether constant or variable, and whether there data is held locally by the program or remotely, as in an RDBMS) are perfectly valid objects.
I really like your point about type-safety! I think one major issue with the current ORMs in the Node.js/TypeScript ecosystem (Sequelize, TypeORM, ...) is that they're not fully type-safe. As you mention, TypeORM is definitely a step into the right direction here, but the way how it leverages the TypeScript type system isn't where it could be. I work at Prisma where we're building [Photon.js][1], an auto-generated database client with a fully type-safe data access API.

[1][https://github.com/prisma/photonjs]
Same for me. Kindle makes it easy to read during travels.
You don't validate incoming request types / values?
Ultimately people will vote with their wallet if they truly want this or not and no matter how long I look at this, I don’t see it being the future we are heading.
I actually disagree with the idea that incomprehensible philosophy comes from philosophers so smart that their readership can't understand them. Smarter philosophers could say things that would permit more people to gain greater understanding, wouldn't you say? Assuming of course that philosophers are trying to say things that support understanding.

Further,I think philosophical quality ultimately has to do with its ability to produce positive outcomes. Plato is not definitive -- but reflecting on Plato is deeply enriching. Incomprehensible and miserable philosophy is just that and only that.
In the 40s-60s, one could get a kit home and build it yourself. They were of decent enough quality where existing structures in the Bay Area are selling for over $1m.

Contractors are supposedly licensed and bonded. They may employ others. There are some very good ones - they are all booked out years in advance. The shady/shitty/marginal ones are easier to find.
I'm also awed by this!

> Just worried about forcing colleagues having to learn SQL instead of using a fancy wrapper.

My current team is pretty junior, and I don't see any problem with this. Simple SQL queries are really easy to learn, and complex queries are harder to understand with ORMs than in raw SQL.

Moreover, knowing SQL is a useful, marketable skill that will stay relevant for many years to come. If there's some resistance, I can easily convince the team that going this route will benefit them personally.

Back to the README, there are two questions I'd like to see addressed:

1. Whether `Selectable[]` can be used to query for a subset of fields and how.

2. In the `to_jsonb(authors)` example, what would you get back in the `author` field if there were multiple authors with the same `author.id` value? An array of `author.Selectable` objects? This part is awesome but brittle, isn't it?

I would love to see this move forward! I will definitely play with it and consider it for my next project.
NPM’s CEO Bryan Bogensberger Has Resigned
Substantial Rise in Catalytic Converter Thefts
Yea those were the days. This time the technology is different. iOS 13 really does support using multiple cameras, including recording of videos.

And, I am just a solo developer working on the apps I like to use.
Insurance, security deposit dispute, last minute cancellation or date change by either host or guest

Many things could leave one party or the other on the short end of not having an agreement but sure if everything goes great then it’s easy without a contract or lease
Ping Identity Raising $185M via IPO
The spiders...
If you have numbers in a text column you can simply cast it to a numeric type.
I've been contacted by a few people on HN. One lives in the same city and we're good friends now. There's a few wbo become mentors, discuss business ideas, etc.

Sure, there's the risk of getting spammed and signed up for right-wing midget porn but the benefits outweigh the potential damage.
But you'll stop growing yellow ones so now when a yellow comes to your job interview you may turn that flower down purely based on race which is wrong. It's illegal to discriminate purely on someones race. If I would have otherwise hired you but I 'need' more red flowers then that's bad.
With rhodium at £4000/oz and lax enforcement of the Air Weapons Licensing Act 2015, this was the inevitable result.
Using theit browser, you are already trusting them. If they wanted to spy on you in Safari, they would regardless of content blocking.
I hope they have serious money in nuclear, because nuclear is the straightest path away from carbon-heavy energy. It works well, and it works for a very long time (like 50-60 years or more - we will have fusion by the time those power plants are decommissioned). And now we can build power plants which physically can't blow up because they are unpressurized (sodium coolant) and there's no water in the system to produce hydrogen.
If you want to see them in a film then the Bond film The World Is Not Enough is for you.