skysight-inc/HackerNews huggingface dataset:
"SQL is a very old language—invented in 1974."

Not a good start. SQL is still in widespread use 43 years later because of how good it is. It's not a legacy weighing us down. Rather it has consistently proven its usefulness over and over again. Some of the constructs can feel awkward to be sure. But part of our impression of awkwardness is really just due to SQL's declarative nature, which makes the structure of queries look a lot different than the procedural languages we spend most of our time in.

But it's not clear to me from this article that LINQ is even anything different that what already exists in most every modern application platform. It provides a cleaner syntax for some subset of common query patterns. Okay. There's a ton of SQL generators out there. Is LINQ doing something _else_ for us? This article doesn't say. I don't know, and I didn't learn that from this article.

If you use C# or VB to write apps against relational databases, then by all means, use this to write your SQL. But don't pretend the SQL isn't there or isn't important. LINQ just places you one more potentially leaky abstraction away from your dataset.
> Uber's is "make transportation as reliable as running
> water", but their goal is for people to give up their own
> cars - which they can use any time, any where, for zero
> marginal cost - to be at the mercy of Uber's service.

I'm not sure what car you're driving, but in my experience there is a significant marginal cost. I no longer own a car, exclusively using public transit + Lyft, because I don't want to deal with maintenance, paying for parking, gas, insurance, etc.
I can't believe you taught yourself quantum mechanics! I thought for sure that was something only a serious physicist could do. Now that gives me hope in my own potential :)
I was young, writing very simple games in Color BASIC on a TRS-80 hooked up to the family TV.

It didn't have a floppy drive, but it did let you save your programs to an audio cassette tape so you could load them up and reuse them later.

This was a highly unreliable way of storing programs, as my sister would often record audio over my programs because she liked watching the needles on the tape recorder move back and forth as she spoke.
Trumpenizer – Make Your Tweets Great Again
> I'm not sure 3D work done while sittings really a particularly niche application

Makes me wonder if programming could benefit from the 3D screen that a VR headset effectively provides. (And I mean this in a completely neutral way: I really wonder, and need to think about it.)
So I assume this means cockroachDB currently (probably) meets its promised consistency levels. How does it compare to the usual default settings of PostgreSQL for example? - I think you get SERIALIZABLE, so the behaviour should be very reasonable.

I understand the txn/s numbers are in a pathological scenario, but will these transactions block the whole db from moving faster or have unrelated transactions still normal throughput?

I'm just glad we get linearizable single keys, I had to switch to HBase because it was the only choice at the time. Cassandra did not even give me read-your-own-writes. HBase also had issues while testing on the same host, delete+write lead to deletes being reordered after the writes because they had the same timestamp.

I'm a bit disappointed from HN in this post, everyone only talks about the name. But 90% probably did not even read the article.
Aaanyway, heres my 2cents: https://cr.yp.to/cdb.html is CDB for me :P - so better choose another acronym!
Monitoring MySQL in production applications
No there's a difference between expressing an opinion and constantly complaining about it. I already read a hundred comment threads and blog posts for and against generics. Do we really need a "still no generics!" comment on every fucking article about Go? It's just noise at this point.

Me pointing out it's a simple language is not a matter of opinion; it's an intentional design decision of Go. Generics will complicate the language more than the Go developers are willing to tolerate.

At the time of writing, there's 110 comments on this post and 50 are replies to prodigal_erik's comment on not having generics. HALF the comments on this whole thread are discussing something that's already been discussed for years with no end in sight.

For the record, I really don't care if we have generics or not. I just want a higher signal-to-noise ratio for topics about Go on Hacker News. This is a low-signal topic. You may as well argue about systemd.
I appreciate the effort, but one of my pet peeves with OO / design pattern examples is when they're completely contrived.

Once you've understood the very basics of OO, I think talking about a door factory or a burger builder tends to obfuscate real-world usage more than it aids comprehension. I have this problem with most science/technology analogies, to be honest.
This may just be because I'm not a database expert, but it seems weird to me that after all these years Microsoft hasn't written a native LINQ driver for SQL Server.
> FWIW, I also think it's fairly easy to look at the actual scale of existing infrastructure and come to the conclusion that the magnitude of the problem isn't something that billions or a trillion dollars will put a real dent in; it looks bigger than that to me just looking at these maps:

Those maps don't include America's water infrastructure, which is in need of a serious overhaul. The American Water Works Association estimates that the cost of restoring underground pipes will total at least $1 trillion over the next 25 years, without including the cost of constructing new infrastructure or repairing treatment plants.
People should know this isn't ready, and they should continue to use the current book. Chapers like this are just notes:

https://rust-lang.github.io/book/ch17-00-oop.html

This doesn't help anybody. Continue to use the rust book at:

https://doc.rust-lang.org/doc/stable/book/
We're not affiliated with the makers of PA, but it's definitely been a huge inspiration for us -- IMO it's largely responsible for modernizing & reviving the 'tycoon genre' in many ways.
> - it's implicit, and you have to inspect the db and the code to understand it.

Or run ToroDB Stampede [1] and look at the generated tables manually or via other tools like Schema Spy [2].

[1] https://www.torodb.com/stampede/

[2] http://schemaspy.sourceforge.net/

(warning: I'm a ToroDB dev)
Which book did you read this one or the stable one:

https://doc.rust-lang.org/doc/stable/book/

They aren't the same.
I started to write a VM in Rust and every weekend, when I managed to get some time for work it would usually no longer work and the reason for it had to be found in some mailing list or commit message.

I had to stop doing that and rewrote it in C.

'Fortunately' we had some other problems as well but Im still hopeful that Rust is the language you want to use for this in the future.
How does this contradict my point?

C is an abstraction over machine language, in the same way; but so is Prolog.
> With go, you are forced to handle it at literally every function call.

Every call that can fail, which isn't quite every function call.
VelocityPainting: patterning 3D prints by modulating the print speed
Interesting though that in War Thunder the reviewer said it didn't give you an overall advantage, and it was probably a detriment. Maybe it's different with Elite dangerous; I guess vertical threats are more likely when climbing against gravity isn't an issue?
But Linq literally generates SQL before sending it to the server:

https://msdn.microsoft.com/en-us/library/system.data.linq.da...

Doesn't that make it an ORM?
What Makes a Static Site Generator?
LINQ is a set of language features and libraries that help enable better ORMs, among other things.

LINQ to SQL and Entity Framework are examples of ORMs that use the LINQ features
You've obviously never lived in a big city.
Astonishing geomagnetic spike hit the ancient kingdom of Judah
Attackers can also shine bright laser pointers at aircrafts. Thankfully we have cops to stop this kind of vandalism effectively.
You're right, I thought that was clear from the "Franco-American" mention but I'll make sure to make it crystal clear.
Most of the points brought up are things that I am particularly watching the "Windows Holographic" efforts for, in the hopes they pull it off as well as they seem to be implying that they can. Microsoft seems to be prioritizing social and locomotion and room-scale issues, both for HoloLens AR and also the opaque MR headsets expected to release soon.

As you point out, it can be tough to clear out entire rooms for room-scale, so recognition of real world obstacles seems paramount to proper enjoyment (regardless of how much you think that is immersion breaking).

Socially sharing the same spaces together with friends/family I think is more important than a lot of people at first realize. It's especially important for business applications and things that aren't games, but even in games, cooperative sharing of spaces may be the defining difference between good games and great games.

Even projects like "Spectator Mode" allowing cameras to share in the spaces seems like important baby steps to breaking VR/AR/MR out of its shell and more to something that enriches the spaces around us rather than locks us in and closes us out.

I for one think that's the direction all of this needs to go in order to be more than just a toy, more than just the flavor of the month ViewMaster for adults with big enough budgets.
After Inspection Window and Door Glass Repairs for Property Owners
Show HN: Applicantio – Job application tracker
Object-oriented programming is a disease, and I can't wait until we're collectively done with it.

All of these abstractions, when rarely they are actually needed to express a program, can be naturally expressed within the type system, in a proper functional language.

The fact that there's this encyclopedia of hundreds of discrete things with arcane toxic names that practitioners are required to individually learn and carry around in their heads, is a crime against our profession.
I enjoy learning for the sake of learning.
I dont watch tv or netflix.
All subjective.
It depends partly on whether you need to process and compute on the users' data. Some companies use client-side encryption to prevent themselves from possessing usable user data in the first place. If you do need to process data server-side, it's tricky to see how you can unlock the data for processing while not exposing it to other uses. There are DRM-like approaches that attempt to use tamper-resistant hardware that is then only allowed to run certain software.

An example of this is the https://en.wikipedia.org/wiki/IBM_4758 which is pretty expensive and inconvenient to use, but can in principle be used in high-assurance applications where you want to say that the data is processed inside the 4758 but only in preapproved ways and can't be directly exported. Presumably there are somewhat cheaper ways to do this nowadays... PrivateCore was working on a way to do something along those lines on commodity hardware, but they got acquired by Facebook.
Yea now that Microsoft is on board with open source, my list of tools have stagnated as well. Visual Studio, C#, Javascript, LESS, Gulp, SQL Server, Git. That's about all I need... No front-end Javascript frameworks, no React, no Angular, no Knockout... just beautiful, clean, vanilla Javascript... and C#.
> It is about what is actually closer to the real thing which in this case is the data.

Why is SQL closer to the data?

> Understanding the database along with its native SQL gets you that.

My whole point is that SQL is not any more "native" than LINQ. The database takes SQL and computes an execution plan in its own internal representation. This can look totally different from the SQL as the other commentator pointed out. SQL does not in any way correspond to the "native" way the data is stored or how query results are computed.

> Doesn't GHC backend compile directly to assembly?

Maybe now but at some point it generated C.
Civil Rights Groups Throw Public Under Bus on Net Neutrality for Telco Donors
"SQL is itself an abstraction over the "language" of query execution plans."

This is completely wrong. SQL is a declarative language, it tells database what to do, not how to do it (aka query plan).
Actually this gave me an interesting thought. The amount of effort required to "share" or "retweet" something is almost zero - it's a click. On the other hand, the effort to summarize something in your own words is more. Not a whole lot more, but enough that many fewer people do it. So I guess the tl;dr here is: maybe the shares that required more effort could be ranked higher.

Maybe a better summary: "retweets are cheap"
This guy! I just feel he urgently needs to get punched in the face. Just a few months ago he stood up and told people fake news wasn't a thing. Just go home Mark. You are out of your depth, as is Facebook and it has gone to your head and the kiss asses around you that you know what you are doing. After building a platform for 13 years that takes advantage of all forms of human weakness to optimize for engagement/celebrity worship/consumerism how the fuck is the same platform going to bring people together.

What bought people together to build things like the internet, linux or wikipedia wasn't a like button and engagement metrics. Facebook is a global social experiment that has failed.
It would be great if there was a resource with real world examples, since I have this exact same problem.
I misspoke in the post. I didn't mean to say that. DB for user accounts and various site data; file storage for PDFs.
Thank you for the tutorial. I've scoured the Internet for lighter introductions to interpreter development, and yours is the only one that's worthwhile. Great job!
Also, a lot of people are having trouble wearing the current generation of headsets for more than an hour or so. Now imagine an 8-hour workday. So in addition to more pixels, the weight and bulkiness also needs to come down. The HoloLens is going in the right direction there, but weight could still be less.
Germany also uses "zu verbrauchen bis" which is a hard expiry date on goods that are perishable and often dangerous when expired. Minced meat, fish or poultry are examples where that is used. Most people don't grok the difference though.
Samsung chief Lee arrested as S.Korean corruption probe deepens
That link is about LINQ to SQL, not LINQ proper

* LINQ is a set of language features and libraries that help enable better ORMs, among other things

* LINQ to SQL and Entity Framework are examples of ORMs that use the LINQ features
Is it possible to make a PDF or an offline version?
Sometimes i like to read these sort of things while i'm on the train etc.

I struggled to get the current rust book working on my ipad on the train without signal.
I agree with you. I haven't found an ORM that doesn't end up making a mess of my data structure eventually. Data is becoming one of the biggest, most important currencies of our times. People wanting to automate what their data looks like baffles me.

Personally I like creating an API of stored procedures. Make users that can _only_ execute those sprocs with zero dynamic SQL in them. Users can only do what you tell them they can do via your sproc API.
Revert back to the old GitHub header
Theranos Has $200M in Cash Left, No Material Revenue
The basic problem with the US rail network is it's optimized for freight, especially outside the Eastern corridor. Who owns and maintains the network is probably less important than where it goes and the fact so many lines are single-track. If we wanted to put in a decent passenger rail network we're almost starting from scratch even using conventional trains.
It's okay, I don't mind being downvoted. Haters hate.
In this device, power is not transmitted via electromagnetic radiation, but via oscillating magnetic fields. It's completely safe for humans and any electronics not connected to an antenna tuned to the resonant frequency.

EDIT: Obvious in retrospect, but alternating current like this is exactly how you make EM/radio waves, so my comment above is misleading.

However, that's the cool part about this research. They are generating quasistatic magnetic fields, and decoupling the magnetic field from the electric field—similar to how near-field charging pads work, but at room scale. So they are producing very little in the way of EM radiation. From the paper:

> For example, radiative transfer methods have tightly coupled electric and magnetic fields that propagate over long distances and are typically used for radio communication. These far-field wireless power techniques have not found wide spread use, since they are limited to delivering only a few milliwatts of power due to health and safety concerns. In contrast, non-radiative transfer systems such as inductive charging cradles and resonant charging pads can safely deliver 10s-100s of watts of power by loosely decoupling the magnetic fields–which are used to transfer power–from the potentially harmful electric fields. However, near-field coupling is a highly localized phenomenon and transfer efficiency drops off rapidly as the source and receiver are separated by more than a coil diameter. Likewise, it is not possible to strongly couple coils of drastically different sizes.

> Drawing upon recent work using far-field standing electromagnetic waves to generate uniform field patterns in a metallic chamber, we introduce quasistatic cavity resonance (QSCR); which can be used to create near-field standing waves that fill the interior of the resonant structure with uniform magnetic fields, allowing for strong coupling to small receivers contained within.
14 out of 20 chapters have at least a draft, so this is still useful, even if it's not complete. I generally tell people to start here and then go read the old book afterwards to get the stuff that's not there yet, if they have the energy.
Because you can then store it encrypted until you're ready to process it.
This was my concern as well. When I saw the "query.Skip(20).Take(10)" syntax, I was wondering if the previous line that built the query variable downloaded all 15 bajillion rows in my Customers table of people whose names started with 'A' so it could get rows 21 through 30.

If it actually only ends up creating some complex sql behind the scenes to get those ten rows, how horribly convoluted did it become and wouldn't it be better to write a straight SQL query to do the same thing, even if it's a little more complicated than the pseudo code? I guess I prefer more control. If my SQL query turns out to be slow, then I can learn from that and fix it. If the generated query from LINQ is slow, I have no recourse over it.
I don't like that this book is posted. Sure, it shows you an actual renderer. But it doesn't show you how to incrementally build said renderer. That is probably what a lot of people are looking for. Peter Shirley has written three short books about raytracing that I would recommend as an alternative.
You're very welcome! It means a lot to me that the book has helped you so much!! <3
> Nobody forces me to modify a running system, though it usually is a huge time saver

I won't dispute this fact, but it's not a principled way to work. The principled thing is to have two separate phases, one for designing abstractions, another for using them. You can't prove anything definitively about things that are eternally open for modification.
C statements map to very specific ASM, you can look at a C statement and be pretty sure what the ASM will end up looking like.

SQL does not map any specific execution plan. The execution plan will be very different depending on external factors such as the contents of the tables and so on. Have you looked at some actual execution plans?

Related rhetorical question for you: What is the difference between a 3rd generation and a 4th generation programming language? (SQL is a 4th GL and C is a 3rd GL)
Birthday sex. Yeah
ReFED: A data-driven approach to reduce food waste at scale
Anyone recommendations for DIY cubical walls?
Having moved to an open office layout, I find myself missing being able to block line of sight while working. I was thinking of trying to rig up some walls with corrugated plastic, but does anyone know of an off-the-shelf solution for individual employees who are sitting at an open table?

(My coworkers are supportive, so I'm not being anti-social; I'm just trying to compensate for the space we have.)
The current rust docs should be able to be installed offline; they used to come by default but now you need to run a rustup command.

Eventually we'll provide a PDF of this, but the HTML should work offline. This edition might need some tweaks first; it's a priority for me though.
TrueNorth hardware, as I illustrated, does not resemble neurobiology at all. There are no brain-like components there, on any level. Moreover, it can run ANN algorithms just as easily as more "neuromorphic" algorithms.

Pointing to how they chose to name it for publication is not exactly a very convincing argument to support your view, is it? :)
Good news! NoStarch will be printing an offline version soon ;)

Since we're concentrating on getting the text ready for print, we haven't been able to get pdf/offline reading working yet. https://github.com/rust-lang/book/issues/218
I'd say when I was first learning about many of the design patterns, this was my biggest hurdle as well. The examples and analogies were unrelated to real-world scenarios and didn't do much to help me understand the concepts.

It wasn't until I came up with my own real-world examples that were specific to my domain and really applied the design patterns in practice that I really started to understand everything. I don't think it's really the real-world example that helped so much as the actual process it took to arrive at an implementation.
They are all abstractions, but not at the same level of abstraction.
If you have text-only status updates, couldn't someone still post the title and the URL?
Does anyone know the roadmap for Go 1.9?
But LINQ is too slow comparing to vanilla SQL.
Everything you have to say on this topic may be perfectly correct. But you have to remember that Musk has a habit of producing major technological advances that the all experts had previously agreed were simply impossible.
> C statements map to very specific ASM, you can look at a C statement and be pretty sure what the ASM will end up looking like.

This is totally not true unless you have optimizations turned off. Have you ever looked at what clang or gcc generates with -O2 or -O3 ?

Anyway, regardless of whether you agree with me on this point, I don't see how it relates to the general point I'm making. This seems like it's just disagreement over the definition of the word "abstraction". It doesn't change (and in fact, actually supports!) my main point, which was that SQL is not properly regarded as "native" to database engines in some special way that can't be true of LINQ or any other language.
If you want a sample file it shouldn't be too hard to get one, but I believe there are various objects that off them - conectome might.
SO LINQ is more terse but there were no performance metrics given. Given the same RDBMS with proper indexes, statistics, etc., all functioning properly which is quicker? I think it'd be murky if LINQ just pulls raw data to the client and then does the transformation there vs. on the server with SQL.