skysight-inc/HackerNews huggingface dataset:
Ah yes - the proverbial "ORMs are bad, just learn SQL" post. This is analogous to saying "don't use frameworks". Sound ridiculous? Yes, yes it is.

The law of leaky abstractions applies to many, many things, ORMs included. I would also argue they apply in different degrees, usually related to the design of the ORM (the post mentions SQLAlchemy vs. Hibernate, for example).

But consider the following:

1) Why do people still use ORMs? Exactly.

2) Question 1 but s/ORM/framework_or_widely-used-library

3) ORMs allow you to develop faster, and deliver value

4) Beginners already have a hard time coding, designing, and understanding what they're doing. ORMs provide a nice abstraction over underlying data stores

5) Although fraught with peril, ORMs provide a common interface that'd give _some_ help if you switch data stores

6) Multi-line SQL statements are a huge pain in some languages
Exception handling.

Speed control, lane keeping and basic rules are fairly simple. But recognizing a red light when the sun is behind it? Or the bulb is burnt out? Or power is down? Or your windshield is cover with water from a deluge of rain fall? And so on for every single condition, corner, intersection, etc.
Clement Benefits of Bitcoin Mobile Wallet Application
Sure you can. SQL is just plain text, so keep all your create table scripts in your repo, along with deploy and rollback scripts that you’d use to extend or migrate your schemas.
http://infogameonline.com/
http://agensakongbandarq.siterubix.com/agen-bandarq-online-i...
https://www.geschool.net/AgenSakongBandarQ/blog/promo-bonus-...

idnsakong
https://seputarinfo.deviantart.com/journal/Agen-BandarQ-Onli...
http://pokersakong99.logdown.com/posts/4443779-agen-bandarq-...
https://www.linkedin.com/pulse/agen-bandarq-online-idnsakong...
https://seputarinfo.tumblr.com/post/168532220769/agen-bandar...
https://seputarinfo.gitbooks.io/agensakongbandarq/content/ag...

terpercaya.html
https://agensakongbandarq.weebly.com/
http://www.fourlook.com/post/agen-bandarq-online-aman-dan-te...
http://acapela.tv/en/my-account/show/infogameonline/
how your dev. can write optimal query with ORM if they are not good in SQL.
I was under the impression that instant pot was not the inventor of the electric slow cooker / rice maker / pressure cooker hybrid, they were just the ones to import the concept from China and market it to North American audiences. Can anyone who lived in China in the late 90s confirm - was the instant pot style of pressure cooker popular back then, or is the instant pot brand truly the original I nventor of the hybrid pressure cooker concept?

Speaking As a (very satisfied) owner of an instant pot, when I first received it I recall noticing it looked very similar to devices I would see for sale at my local east Asian grocery store
You get to look at someone's face from many different angles while it moves around. The "accurate depth camera" model is more accurate than the "it's an optical illusion" model.

Surgery is indeed a way to alter your facial features, but it's more intrusive than most.
> If you're using an RDBMS, bite the bullet and learn SQL.

If this person spent all that time using Hibernate and then SQLAlchemy, and all that time did not know SQL, then their suffering and bad experiences make complete sense. You absolutely need to know SQL if you're going to use an ORM effectively. Good ORMs are there to automate the repetitive tasks of composing largely boilerplate DML statements, facilitating query composition, providing abstraction for database-specific and driver-specific quirks, providing patterns to map object graphs to relational graphs, and marshaling rows between your object model and database rows - that last one is something your application needs to do whether or not you write raw SQL, so you'll end up inventing that part yourself without an ORM (I recommend doing so, on a less critical project, to learn the kinds of issues that present themselves). None of those things should be about "hiding SQL", and you need to learn SQL first before you work with an ORM.
I have what might be the exact opposite story.

20 years ago, in my first graduate job, we were issued pagers. One day my friend lost his - and it was on silent mode. We really didn't want to tell the company that it had disappeared.

Then we remembered that, at a certain time - I recall it being reasonably late at night - the device would emit a single, short, beep. I don't remember why, but even on silent mode, that beep would sound.

At five minutes to the hour - because this thing's clock wasn't synchronised, and we didn't know how accurate it was - we all positioned ourselves around the house. Silent as a mouse we waited, until - yes! - there it is, somewhere upstairs.

Now that we knew that it was actually in the house, it was just a matter of finding the thing. It was in his pants pocket - but they way they were folded in the wardrobe, the pocket wasn't where you'd expect it to be if you did a casual "pat the pockets" to see if it was in there.
Vim upgrade 2017
Because of inter-exchange protocols (FIX / FAST) to share the order book, that isn't happening with bitcoin, hence the spreads (between exchanges) and associated arbitrage opportunity.
Aren't they proposing this would be shown to you for titles you haven't seen, and haven't made an association with yet?

I actually think this algorithmic discussion is really fascinating.
Ask HN: Best Landing page template with code to handle login/registration
Are there any free or paid landing page template that includes backend code to handle registration/login/password etc available ? There are tons of bootstrap front end landing page templates - but I am looking for front end + back end code (preferably python). Any one know of good one's I could pay or reuse ?
AArch64 is actually a completely new and much improved instruction set. More registers, less warts that inhibit out-of-order execution, etc.
The level of public support is not the problem. The NYC MTA and DC Metro get about 40-50% of their funding from the public (taxes and grants). Boston MBTA gets over 60%. Transport for London gets just over 25%. JR East, in Japan, is fully private and not subsidized at all.

One difference you can see with London is that fares can range from a little higher than the NYC MTA to almost double. That combined with operating costs more than 50% higher explain the challenge: https://www.google.com/amp/s/ny.curbed.com/platform/amp/2017....

These same problems would absolutely affect any public internet system you built in a place like NYC or DC. On the one hand, wireline telecom is both highly labor intensive, and a heavily unionized field to begin with. So costs would be high. On the other hand, while everyone uses the internet, few people really use the kind of bandwidth people on HN do. There would be huge pressure to limit capital investment to keep prices low. If we’d built out fiber in DC in 2005 under the municipal, we’d still have 50/50 BPON for $50/month instead of gigabit GPON for $70-80/month. At least fiber cables can’t catch fire.
Elsewhere in the thead I was
moaning about this design, as multiple times it’s been in flat in our neighbours house and I’ve been checking ours.
Can’t they just die quietly? If you aren’t checking them periodically anyway, you don’t know they they work.
Ah. I am bewildered as to why your previous comment makes sense, then.
All the headlines I see in mainstream media talk about Bitcoin being a risk, the likelihood of it bursting at any moment, etc. I can't remember a single mainstream article I would say is mindlessly positive.
There's really only three things people spend cryptocurrencies on.

1. Other cryptocurrencies
2. Fiat currencies & precious metals
3. Contraband
thanks for share with us, <a href="https://www.finansialku.com/198-tempat-wisata-jogja-part-1/"... jogja</a>
It's solved to an extraordinarily high degree. 99.999% or greater. There are fringe cases that pop up from time to time and make headlines; the reason they make headlines, is because trillions of dollars in equities trade hands every year in the US, and such cases are very rare.

It's because there's an established system of trust, liability, responsibility, regulation and oversight in the network, assuming you're using any number of several dozen popular brokers (and that you're a common investor). Microsoft has a vested interest in knowing how many shares it actually has outstanding and who owns them; there's a chain that follows, that includes the CEO, CFO, board, other large powerful investors, regulators, common investors, and so on and so forth.

The scale and solved nature of it is roughly 100x that of Bitcoin in contrast.
It seems you misunderstood the point. So let me re-phrase as per what you said:

> They set the price for you

>> Will coinbase honor the price they set when order is placed ie if it is set $19700 then will it let me buy 0.1 BTC at this price?

In which case, the spread question is only about whether there is a huge spread between the display (average) price and their set price.
The one that bit me with sqlalchemy is joins. You have to structure your sqlalchemy object in a specific way to do joins. Usually I write my sql query then spend half an hour trying to convert it to sqlalchemy.
At only one location with two iPads one would go offline almost every day (but not every day) between 12pm and 1pm, for 10-20 minutes. Never the same time of day, and never the same length of time. It was always the same iPad, the other one on that network stayed online the entire time. [url=https://www.finansialku.com/198-tempat-wisata-jogja-part-1/]... jogja[/url]
Does anyone else think the instant pot puts out weird smelling food sometimes?

Like almost sour
Hybridizer: High-Performance C# on GPUs
Centralization and Open Source
From the article: “Market cap” [...] is a bogus number that’s not actually applicable to anything — it’s not money that was put into the crypto, it’s not a realisable value like a company market cap.

I am not sure what the author means by "realizable". If their intention is to say, "Ok, let's liquidate every single coin for fiat currency... and we expect to have the market-cap equivalent in that currency" Well, whats going to happen is the price is going to collapse. The same thing would happen with the value of any publicly traded company. The market cap of Apple is $900bn - but you can't just tell every shareholder to sell their stock for cash... you would never be able to realize anywhere near that amount.

Article reads a bit weird. Here are my 2 cents - markets are a voting machine. They are also about perception. If people perceive that there is value - then they will vote with their dollars. If people lose faith in the system, the market collapses. This is true in any market dynamic, including the one that fiat currency operates in.
I prefer SQL to ORMs as well for exactly the reason you state. It's more comfortable and it's less of a mystery.

But you don't always get to pick what code you'll be working with and if you are working with others in a web framework pretty good chance you'll be learning an ORM anyway.

Also really long SQL statements are no fun. Like debugging a whole program written in one line. I think sometimes there is a temptation to get excessively clever with SQL.
Every extra abstraction layer comes at the cost of complexity, maintenance, and capability, and therefore inherits the burden of proving its worth. ORMs frequently claim to be less tedious than SQL. Failure to deliver on that promise is a reason to cut them out.
An ORM is not a "query builder"

An ORM turns your result into a collection of objects. THAT is what an ORM is for and about.

The fact that they are built on top of query builders and lighten the load when developing is just a handy side effect.
$5 for all ebooks on Packt
The goal must be to funnel people into YouTube Red and make YouTube more like Hulu and Netflix..
Is It Time to Dump the ‘Lean Startup’ Approach?
This who thread had me feeling twitchy. How did any of these product designs make it to market?
Elix – Full Speed Ahead
I'll provide my two cents, in the case of group activities. It seems awfully convenient to have a single site (e.g., meetup) for, say, if I'm traveling to a new city and looking for something to do.

It'd seem like an unnecessary barrier to entry to have to find the locally hosted instance of every particular problem, every location I go.

Knowing I can use Yelp or Groupon etc to find local restaurants or deals anywhere is actually pretty helpful.

To get to the core of your premise:

> I thought there was no reason that signals needed to go through server farms in California just to organize a local dinner, have a local marketplace, classes, dating, or a host of other things.

You might think there is no reason for this; but users of these services aren't concerned with this problem. If your selling point is "Hey, don't you hate how this one big corporation has a monopoly on <marketplace> <group activities> etc?", you're going to hear crickets. This isn't a customer problem.
Flyway for Java... For stored procedures you use the repeatable syntax that way it checks the checksum of the file and if it doesn't match what is in the migration table it will run it... Easy and always up to date... That's with Java anyway...
Either you don't want to see my point, or you can't see it, because you haven't said anything to address it. If you have an argument, why don't you say it? This juvenile name calling makes me feel sad for you.
Spend some time around it. Anything discretionary is funded below sustainable levels, even if that costs more.

There’s a reason why most government offices are full of 1970s olive tile and orange cubicles.
Except Apple would still exist as one of the world's most profitable company. That's the underlying value.
Sounds like you disabled lazy loading and that forced everything to be loaded at once. That's a user error, not a EF fault.

This is a common theme I've seen with people blaming ORM's for being slow, it's the devs not using them appropriately more than the ORM's themselves. Not to say that they don't have their own issues.
> Everybody focuses on patents and the tech, yet tech matters less and less.

Then why is he talking about what he looks for in Tech Startups? It doesn't seem that he's looking for Tech Startups at all. Plenty of other kinds of startups than tech startups.
Why does bitcoin even need market cap? Since it is a blockchain, you can calculate how much fiat/worth it currently has, by adding up all of the transactions. No?
Exploratory Data Analysis of Customer Orders on Grofers
Isn't the difference that a stock is only traded on a single exchange? If stocks were traded on multiple exchanges, and the value was reported as the average across all of them, then that number would be just as made up.
It's a bit difficult to explain the visualization without pictures, but I'll give it a shot.

The transpose is really about converting the matrix to operate on a different vector space, namely, the dual space. In particular, the dual space of a vector space V is the vector space of "linear functionals", which are linear functions

\phi: V -> R

A linear functional on R^2 looks like a gradient (the "gradient fill" gradient, not a calculus gradient). These gradients are in one-to-one correspondence to vectors in R^2. In particular, given a vector w \in R^2, the direction of the gradient is along the direction of v, and the speed with which the gradient is changing corresponds to the magnitude of w.

The precise mathematical correspondence is that (i) given a vector w \in R^2, the function

f_w(v) = <w, v>

is a linear function (here, <,> is the inner/dot product), and (ii) every linear function has this form. Now, note that f_w is exactly multiplication by the transpose w^T of w! In particular,

f_w(v) = w^T v

More generally, for any linear map A : V -> W, the adjoint A* of A is defined to be the linear map from the dual space of W to the dual space of V that satisfies

<w, A v> = <A* w, v>

The transpose A^T is the adjoint of A when V is a finite-dimensional real vector space:

<A^T w, v> = (A^T w)^T v = w^T A v = <w, A v>

In summary, you can try to visualize A^T as a linear map "acting" on dual vectors. For example, let v \in R^2 and let w be a dual vector (i.e., a gradient), and suppose that A rotates v clockwise by 90 degrees. To preserve the inner product <w, A v>, A^T rotates w counter-clockwise by 90 degrees.
>If you look at the spreads between exchanges — the different prices for one interchangeable bitcoin — you’ll see spreads of hundreds of dollars, and in volatile moments it can be in the thousands.

that's plainly false. i'm not sure what exchange he was checking, but spreads for gdax (the biggest exchange) at the moment is 1 cent. https://i.imgur.com/JCQfmkc.png
Should probably link to the full source of the article:

https://www.nytimes.com/2014/03/11/sports/baseball/yankees-h...
https://bugs.launchpad.net/ubuntu/+source

Ubuntu doesn't print to Brother printers on Tuesdays.
They don’t use click through as their success metric.

It is based on their engagement score for the title. With this change, folks are consuming more content, so I don’t think it is correct saying this will hurt them based on your own negative reaction.
"I come from a country and a back ground where intelligence and the ability to work extremely hard is valued highly, with beauty, money and popularity ranked far, far below."

Wait! Where is this fabled land? I would bow humbly before the philosopher-kings who rule it, grovel at their feet to learn how they so wisely manage mere human weaknesses! Surely there the streets are paved with gold and happiness and good fortune follow all those who fail to foolishly abandon such a blessed land.
Boggles the mind
Top technology trends to watch in 2018
I'm a massive fan of things that improve my quality of living, save me time, and save me money. This little hunk of magic does all three.

I had no patience for my slow cooker, and this lets me experiment with foods I normally would have avoided. Beans? 90 minutes from dry. Real steel cut oats? 20 min. roughly. It has saved countless hours of cooking by letting me make awesome meals for the freezer. Lastly, it has easily paid for itself in the first year of owning it by letting me cook in bulk.

The one thing that throws me is it is hard to experiment with when dialing in a recipe. Between pressure build-up time, and figuring out quantities, etc., it can be challenging to say, toss something in for a few more minutes, because you can't watch the food while it cooks, so you don't really know when it is fully done short of cooking it more, testing it, cooking it more, testing it, etc. And that can take a good 10 minutes per test.

Now I just need to find better recipes.
Have an interest in creating a toy language / compiler. I might learn more about Etherium to write a toy compiler to EVM. Or I might do something compile to 6502 or compile to .NET IL.

Why? Studied Math/CS, got the bug back to do something more algorithmic/logical thinking than the usual work stuff.

I have already written a silly language & intpereter which is a bit lispy and can do basic conditionals. loops and IO.

Would like to find a way to leverage into this. I.e. know enough that I can impress my work, they get me to do stuff like this at work, I get more hours learning this stuff so I get better etc.
This topic has been done to death and the rate at which comments have been made since this was posted tells me that we either haven’t learned much of anything as a collective, or we just like to rehash the same talking points because... we can.

Know how and when to use ORMs. Probably learn SQL first. Don’t believe that any shiny bullet is silver.

Or in short: “No”
[you were not very enthusiastic about conferences with a "No Asshole Rule"]

Not sure where I mentioned that?
One problem with having logic in the DB is that it's much harder to scale if you need 10x more computing power.
This is the complete opposite of Juicero.
>spreads between exchanges
That’s not the same Volvo that the article is about. https://en.m.wikipedia.org/wiki/Volvo_Cars vs. https://en.m.wikipedia.org/wiki/Volvo
Their whole goal is to give you a service that keeps you paying every month and encouraging you to tell your acquaintances that they should sign up too.

So I think your interest and their interests are aligned?
That stuff was all part of the Obama era stimulus bills. Many folks with the ability to lay fiber did so with substantial capitalization from the Feds. Many municipal governments and counties built fiber rings as well.

The result was mostly institutional connectivity. Rural prisons, hospitals, government, factories, and schools got connected. But local franchise agreements make the last mile pretty much impossible.
>" In fact, I find the userbase there in some ways more sane and rational than your typical political online forum"

I'm confused by this statement. /r/conspiracy has been shown to have been heavily used by Russian bots/trolls to spread propaganda and truly fake news.
To me, it hinges on what you mean by "a collection of objects." If it is just a list C-like structs, that's great. If it involves lazy-loaded child collections, inheritance hierarchies, or any kind of behavior at all, that makes me worried.
The first time I've seen an ORM I was fascinated by this seemingly beautiful idea. But I have quickly realized that it's almost useless in real life projects, plain old SQL seems just much much better. Now I don't understand why would anybody use an ORM actually.

Also, basic SQL can be easily taught in as little as 10 minutes (I have been initially taught it at middle school during MS Office Query, Access and VBA class). An image of a programmer that can't use SQL (I don't mean advanced cases which can indeed be a bit tricky but these are far beyond the powers of any ORMs anyway) seems really bizarre to me.
From the article: In normal securities trading, if a share is listed on multiple exchanges, orders will often be applied via smart order routing — so that a given buy or sell order is in the context of all the order books for that stock. This avoids liquidity fragmentation

By definition, if you have multiple exchanges - your liquidity is already fragmented. In the US Equity Market - you're also not obligated to route to dark pools - only exchanges have order protection. And maybe 30%+ of volume trades on the dark pools.

The bitcoin exchanges do publish market data - so its up to arbitrageurs to step in and bring markets in line. We're still in the early stages - and I expect bitcoin futures and wider adoption of new concepts (like continuous swaps) to alleviate some of the price differences.
This idea was explored over a century ago in H. G. Wells' classic "The Time Machine" (https://en.wikipedia.org/wiki/The_Time_Machine), in which over time humanity split into two distinct species by the process you describe.
yes and no, exchanges like Coin Floor let you pick an amount and price, then auto match buy offers with sale offers. so its technically on the exchange and between two parties.
I don't think he means it doesn't matter at all. I think he means that the people who carry out the tech are worth a lot of discrimination. I.e. that the same technology is different based on who's pushing it.
A 52-minute documentary on how entrepreneurs operate in North Korea.
And you thought Silicon Valley was tough!
> This is the same for every stock traded on any stock exchange in the world.

While we do live in an age where stocks seem increasingly untethered from reality, that's still not remotely true.

Stocks are, in theory, based on the value of the company. Which is something you can calculate based on its assets and revenue.

Granted the math doesn't add up for a lot of companies right now, but that's an indication we're in a bubble not an invalidation of the concept of stocks.