skysight-inc/HackerNews huggingface dataset:
Any discussion on ORMs needs to consider what sort of app and queries you are writing.

ORMs are fantastic for the very common case:

* Fetch 20 rows and display them as a table,

* Fetch 1 row by primary key and display it as a form,

* Write updated fields from the form back into the 1 row in the database.

Anything more complicated, and direct SQL starts being more attractive. But for the common case that ORMs are designed for, they are a major productivity boost.
You might have missed the articles about people getting rich...
It seems the malware was installed on an engineering workstation connected to a SIS (Safety Instrumented System).

https://en.wikipedia.org/wiki/Safety_instrumented_system

The only purpose of a SIS in a CPS (Cyber Physical System) is to take over and bring the plant/processes down safely when things go wrong but before they get out of control.

So it seems it did its job here. The big question is how the malware got onto the engineering workstation to begin with. These are usually very segmented (firewalls, data diodes, etc.)
Travel App Development from Idea to Launch – Everything You Need to Know
> But now you're listing places where public transit actually works and lots of people use it. It fails in SF because it's chicken and egg.

It doesn’t work well in NYC and DC. Here in DC, lines have been shut down for weeks at a time due to deferred maintenance. Several lines are completely unable to keep their scheduled time. The New Carrollton to Foggy Bottom trip is listed on the timetable at 36 minutes. (It used to be 32 minutes.) On a typical day it takes 45-50 minutes. And forget about service upgrades! Due to decades of wasteful spending and deferred maintenance, the most recent schedule change made everyone’s commute worse by decreasing rush hour train frequency. NYC is having similar, though less severe problems. They’re way behind European countries in automation and signaling despite spending substantially more money.

And yes it makes sense to compare to other municipalities. If you were proposing to have the Barcelona government run my internet here in DC, I’d say have at it. But I don’t live in Barcelona. I live in America, where our local governments re uniquely incompetent and wasteful compared to those in other developed nations.

> I half suspect the reason the incumbent ISPs don't like to upgrade is that it makes it harder to price discriminate. You can't charge $1000/month for a symmetric 100Mbps connection while offering gigabit for ~$50/month.

The price discrimination point actually cuts against municipal broadband. When the city runs things, prices become a social justice issue, which forces prices too low. NYC subway fares, for example, are just $2.75 regardless of distance, while the London Tube ranges from $3-6 (the minimum fare was over $5 using exchange rates from a couple of years ago). That’s despite the fact that operating costs for the NYC Subway are 60% higher per mile. If 50 Mbps is seen as “good enough” by voters, there will be a huge incentive to do the minimum required to hit that speed in order to drive down the price. And if you can’t price discriminate, there might not be much room in the price structure to offer higher tiers for more money. (Indeed, people hate tiered pricing for public services. See the recent outrage over congestion pricing of I-66 express lanes in DC.)

I don't know what private ISPs are like outside the D.C. area. I can push 700/700 on my FiOS regardless of time of day (and I suspect my limiting factor is the fact that my only wired machine is an Atom mini-pc with realtek nic). I find it totally not believable that DC/NYC/Phila/Baltimore (to name the last several places I've lived) could give me a similar level of service. I think it'd be more about oversubscribing OLTs until speeds during prime time dropped to just above what's necessary for Netflix. Because that's what all our other public services are like in these cities.
Makes me think of early days of wireless keyboard, where the same model would always broadcast on the same frequency.

Made for some fun times at LAN parties etc.

Even read about a pair of keyboard that managed to reach several kilometers, even though the locations had line of sight blocked by a hillside.
Municipal broadband exists because the lack of competition in the private sector has lead to "lack of innovation" and "special interests". The muni broadband projects fill in these gaps since multi-hundred billion dollar companies can't seem to roll out service at greater than 10MBps. Muni broadband is competition to a monopoly, not a monopoly itself.
> The motor in it was injecting crazy signals somehow.

It was too cheaply made to have an interference suppression capacitor across the supply leads, is how. Bet he got it from Harbor Freight...
Just Google homicides by police in the US [1][2]. The US has a very high percentage of civilians, not all criminals, shot dead by our very own police force compared to all other nations, and not just developed countries.

[1] http://www.dailynews.com/2015/05/04/american-police-kill-civilians-at-a-shocking-rate-compared-to-other-developed-countries/
[2] http://time.com/4404987/police-violence/
Author of any kind is not an abstract "artist" from an ivory tower that receives his work from a muse in a fit of inspiration - it's just an image that helps to sell copies. He's a marketer, too.
He has to sell his image and unique style. When he works, he has to imagine what effect will his work have on the audience - which is exactly a marketer's skill.

Also, these "versions" of product are quite common in different forms of art. Songs have radio versions, album versions, remixes and simply alternate releases. Whole albums have different masters (released for different medium and audience). Movies have director's cuts, movie cuts, TV adaptations (where they sometime get serialized). Books composed from chapters printed periodically in magazines, with author responding to reader's feedback (which was much more common in 19th century, but still).
an ORM does not have to solve every single problem you have, write your raw sql and run it.
A Look at the Internals of 'Tiered JIT Compilation' in .NET Core
A few years ago, I worked on an application which would occasionally run into performance issues. Every time the solution was to rewrite the Entity Framework usage into standard SQL. Sometimes it would generate the strangest but somehow legal queries which would be challenging for SQL Server to optimise.

For my next app, I just started using SQL only and never looked back. Simple queries are easily generated with a nice internal API (SELECT * FROM Table WHERE ID = X, etc).

However, more complex selects are all written using hand-written SQL. New developers sometimes find this a bit strange, especially the younger ones, but nobody can fault the system's speed.
It's almost even more sickening that our "media" and "news" are totally and utterly compromised. The corruption or even impropriety is really the secondary story when the whole structure and process for holding them accountable is corrupt and rotten and just plain blind with incompetence, ineptitude and stifling bias.
5 B2B Marketing Trends to Lookout for in 2018 – CEOWORLD Magazine
Robert Fripp's aphorisms tweetstorm
OpenEMR is Accepting Donations on OpenCollective
"Because science!!!" surely ranks among the least scientifically pleasing modes of argumentation.

Nothing bad can come from a ban on stating "because science!!" as a reason for anything, because the natural substitute —where it exists— is just actual real reasons.
Exactly. If a thing gets reported in the news media, it is generally (by definition) newsworthy and therefore a rare or unusual event. So the news being reported about 'someone reported to the police for letting their children play outside' shows that such events are rare and nothing to be worried about...
http://www.politifact.com/punditfact/statements/2015/apr/28/...
Commissioner Sees No Need for EU to React on Bitcoin
To be able to mine at all (with whatever speed), you need to be able to complete an individual hash operation in less than 10 minutes - before the next Bitcoin block is created elsewhere on the network - because you have to base your calculation on that previous block's hash. If it takes more than a day to compute one hash, it does not work, no matter how many of them you could theoretically do in parallel.
STP Plant Manufacturer – Walkton
Land Registry data reveals London’s secret tunnels
FYI: http://www.politifact.com/punditfact/statements/2015/apr/28/...

Unless you meant something else, just more garbage.
"Let's think things through before we dive into coding."

"'Enterprise' and 'legacy' shouldn't be insults. Those are the systems that actually run our economy."

"Microsoft is more innovative than Apple."
Why shouldn't we concentrate most of our effort on those whos' parents succeeded? If the parents had the right mindset and the right genes to succeed, they would in all likelihood pass those onto their children. This mirrors the natural world to a great degree, and to me would seem to allow for a lot more beneficial outcomes then some arbitrary guideline of fairness.

What is better, to give $100K in wealth to everyone, from idiots to geniuses, or concentrate our efforts on those that have more chance to succeed?
Please refrain from the use of the words ‘submitted’ and ‘several’, as they may indicate providing facts that have later been retracted. Also, ‘times’ has been replaced with side-plus, in accordance with the Improving Education and Freedom in Arimthmetic act of 2018.

Thank you citizen,
- Department of Fraternal Homeland Internet Freedom Security
Yes, IMSL Numerical Libraries have good .NET support.

https://www.roguewave.com/products-services/imsl-numerical-l...
Deliverance from 27,000 Feet
You'd need a new coin. Perhaps some form of proof of work that could only be done by hand
This is just FUD. As others have stated I can cash out any time I want. I have USDT, localbitcoins.com and BTC ATMs at my disposal.
> Nothing bad can come from a ban on stating "because science!!" as a reason for anything, because the natural substitute —where it exists— is just actual real reasons.

Well, according to the article, the actual substitute appears to be "CDC bases its recommendations on science in consideration with community standards and wishes." Which is a bit worrying and may indicate this has little to do with how to best communicate scientific recommendations.
The great emoji debate
Writing Consistent Commit Messages Is Not a Cliché
How many HTML elements can “modern” browsers “handle” at once?
Lived in Taiwan 93-99. Electric rice cookers and steamers were very common in home and restaurant/street stand use, as were bamboo steamers. Never saw a pressure cooker. Dishes like 粥 or 滷味 or meat braises were cooked stove-top in pots, although I think it's possible to do 粥 (congee) in an electric rice cooker, too.
In the late 90's early 00's, we had a pet cockatiel that could perfectly mimic the sound of dial-up modem dialing. He would also do the tunes to TV theme songs and a few regular TV ads.
And doctrine DBAL vs doctrine ORM
Another way to approach this is to compute the LDU decomposition of the rotation matrix. L and U are shears while D is the scaling in the horizontal and vertical directions.
Usually with most modern automated deployments, you keep your build artifacts in a package (zip file, tar, etc.) and run a script to deploy it to your target system.

Rolling back is a simple matter of installing the previous archive. That doesn't just apply to code anymore. You can treat "infrastructure as code" also.

You can do A/B upgrades, rollbacks, etc. There is so much better tooling around regular code than sql/stored procedures. How many times have you seen stored procedures with hundreds of lines, duplicated stored procedures with V1,V2, etc appended to it, commented out logic etc?

I've had to wade through some hairy code to but at least with a code, I can do some automated guaranteed safe refactoring, find dependencies, keep the interfaces backwards compatible, etc.
> And then what do you do if the ORM is generating junk? If the answer is "use a querybuilder/handcrafted SQL for that one", what's the point of the ORM in the first place?

The point may be that 98% of the queries are just fine, and you've saved time vs writing by hand, and it may be easier to read/understand for the next people to have to touch the code.
If there was a way to get a single subscription for access to every article linked from HN (whether it be from NYT, WaPo, WSJ, or whatever) I might pay for that. I don't think most people read a newspaper front to back anymore.
No one is denying skills, just measuring skills on a “how many monkeys” scale.
5 opportunities that the sharing economy presents for hoteliers
I love this thing. I feel like the whole family is eating healthier since we have it. My favorite food is Risotto, which comes out really great. Has anyone a very good resource for some other great recipes?
Don’t neglect your marketing message – 8 lessons learned
How Syria's White Helmets became victims of an online propaganda machine
Israel has never been a signatory to the NPT (unlike North Korea and Iran). As far as I understand they are under no obligations not to develop nuclear weapons technology and they do not have the right to help with civilian nuclear
infrastructure programmes that signatories have.
It's not a given that Apple will continue to generate insane profit. Apple will remain very valuable because it has tangible assets that can be sold (book value). So with a total lack of investor confidence, the price floor of Apple shares should be book value - debts.

Cryptocurrencies aren't backed by tangible assets, so the price floor is 0.
It's definitely canonically named Pile of Poo.

http://unicode.org/cldr/utility/character.jsp?a=1F4A9
The problem with electric motors is back EMF, not so much RF - motors don't spin that fast. (Switch-mode power supplies do switch that fast - into the hundreds of kilohertz - which is why cheaply made and thus poorly suppressed ones do tend to produce radio noise that you can hear, in harmonics at least, in the lower AM band. It'd be rare to find a tool motor that spins much over 30K RPM, and even that's on the high end.) So the noise is too low frequency to qualify as RF, but you're still dumping inductive voltage spikes into the supply, which can destabilize other equipment on the same circuit or one nearby - in this case, while the neighborhood concentrator might not have been (probably wasn't) on the very same circuit as the trimmer, it probably was on the same transformer, or else the circuits ran parallel in a conduit somewhere and the noise was getting capacitively coupled into the concentrator's supply.

This wouldn't be a problem with a battery-powered trimmer because it isn't connected to the aircraft's hotel supply - or if it is, it's through a wall wart, which will contain a transformer and at least some suppression circuitry, which will dissipate any EMF that makes it out of the tool. And in general, the way you suppress this kind of inductive noise is with capacitors and chokes, which any reputable manufacturer of a line-powered motorized tool will include in the design. But there are a lot of disreputable manufacturers out there, too.
Of course you could make such a system in Elixir, and I'd always recommend doing things within the erlang VM (beam) instead of figuring out how to deploy another service (like install sidekiq with all its dependencies).

However, processes in Erlang/Elixir are used ubiquitously. Most of the time, they run forever like some sort of service and are restarted when they crash. Sometimes, you won't care about the result.

That's the reason why features such as tracking success/failure in a persistent data store is not a core feature. You could easily add those features to your processes though, the necessary API is already there.

The alternative is to use message queues that are durable. Only ack the message when you successfully handled it. If your application crashes before the task was completed, the task will be redelivered the next time the application starts.
If I have $50k in USD, how can anything avoid leaving a paper trail when you convert that to something else?
>Object pooling is generally considered to be the worse approach, because it's tricky to know when to put object back in the pool. Realistically this mean ref counting.

It's trivial to know "when to put object back in the pool" when just using it to avoid object creation in specific hot paths...

If one adds "ref counting" then they're re-implementing their own full-ish GC on top of JS...
Barbed Wire Telephone Lines Brought Isolated Homesteaders Together
I'd love to see a document defining this. I could not find such to the date.
I don't really see the problem with that. It is not a requirement for a business to constantly grow or seek the maximum amount of customers. If I make some profit without growing, I'm satisfied, especially if my existing customers are satisfied.

(And there are many ways to control growth beyond just "refusing access")
You’ve probably refactored the ORM Data layer 3 times in that time period as ORM producers have a hard time figuring out the interface which they wish to provide you
Nike sneakers :^)
They also have one of the lowest birth rates in Europe. Although apparently it increased a little recently...
If type safety is so great, why isn’t sql statically type checked
But this goes back to notablility. Wikipedia's policies are to cover content that is notable. It sounds like what you are looking for is discoverability. GitHub already does this. People are making, sharing, and forking "awesome lists". You can make a PR to learnxiny's languages list. Wikia will vendor lock and host your programming language dedicated mediawiki for free. Mediawiki is free and open source software that powers Wikipedia that you can run on almost any cpanel based web host.
How often is the ORM generating junk? To say that the ORM is useless because occasionally it doesn't generate performing code (with EF and Linq more often than not it does generate performant code) could be applied to any high level construct. But I don't see people giving up modern languages to go back to writing everything in Assembly or even C.

Yes I optimize when my automated performance testing/stress testing, tells me I need to and may write handcrafted sql, but I've also handcrafted some classes in C back in the day when my old Windows Mobile app using the C# compact framework wasn't performing.
When you are finding tricks to do manual memory management in a GC language its probably time to use a different language.
This story has been doing the rounds since at least the 1980s. I remember hearing it from a BT engineer who was visiting our school back in the day. No idea if it's true or not, but it had certainly reached UK shores as of ~30 years ago.
> And now here in Lithuania we have plenty of ISP's who offers 100 - 300 mbps fiber connection to almost every home that needs it.

How do these ISP:s access your home? Do all these competing ISP:s have cables running through your lawn? If not; is the government involved? It seems like a success.
I considered a 3840x1440 monitor and instead with with 3 24" 2560x1440 screens:

- Usable pixel count is much higher
- I use 6 windows across 3 screens: left screen for comms and research, center screen for any development and right screen for testing and deployment.

I found this more useful than 1 or 2 27" screens at 2560x1440.
Here, take my money!
Lawyers charge exorbitant amounts for writing contracts. Selling papers is not a new invention.
There aren't any good frameworks for doing so in an embedded space. Traditional linux package managers aren't really great for this (nix is the closest to getting it right, but isn't really ready on embedded yet).

edit- The main objective, of course, being allowing unattended atomic updates with as low a risk of bricking the device as possible. Usually these devices will be updating the whole root filesystem at a time, which is otherwise read-only. Ideally this is also done with as little downtime as possible. There is some work in this space in standardizing a solution, but it isn't really there yet, so it tends to get home-grown for each product.
Clearly those four in five millionaires aren't responsible for much of the total wealth.
Getting a Data Science Team Off the Ground
Elon Musk Calls Transit Expert 'An Idiot' and Says Public Transport 'Sucks'
Algeria donated to Clinton Foundation to get of Terror list
This seems natural to me. Wealth might be either inherited or gathered from people that are not wealthy and that usually requires some excuse (for example giving them temporary access to some limited resource you own like roofs or capital or selling them something you can make cheaply in large quantities at low cost).

It stands to reason that most wealth is inherited as inherited part grows gradually by gathered part (which is limited by human lifespan and pace of development of technology that creates new value).

Some inherited part is list due to gambling (on business mostly) but that just lowers pace of growth.
Biggest non information. The site/ page isnt even finished and has the basic wp statements in it.
Actually my DMS is sometimes Mongo and the Mongo driver does pretty well at translating Linq to Mongo Query using the aggregation framework.

It all depends on the talent of the authors of the drivers.
And yet, people will still invest in it.

The "Useless Ethereum Token" [1] subtitles itself as so:

You're going to give some random person on the internet money, and they're going to take it and go buy stuff with it. Probably electronics, to be honest. Maybe even a big-screen television.

Seriously, don't buy these tokens.

And people still invested more than $40.000 in it [2].

[1] https://uetoken.com/

[2] https://qz.com/1023501/ethereum-ico-people-invested-thousand...
If you condition yourself to more regularly exhibit a certain behavior, how is that different from changing your predisposition towards that behavior? Certainly, new habits can be formed and over time people come to exhibit new behaviors reflexively if they've made a habit out of them. Some habits may be harder to form than others, and one's environment will always have a major impact on which habits they're able to form, but there doesn't appear to be a strict limit on one's ability to alter their own behavior (even if there may be a healthy limit).
The subconscious message of this article is "people that you've heard get rich from Bitcoin can't really become rich so easily, there has to be a catch"
I hate shit like that. I pretty quickly memorise covers and then it's agony to find anything when I have to read every single freakin' title in their super small UI :/ Do. NOT. Do. THAT.
I’m more surprised by the statement that Mac OS is running on 21% of machines, that’s absolutely massive.
Hi, I am too learning Python using the book "Automate the Boring Stuff", aiming to become a self-taught programmer.

If you want to exchange learning material, do some pair programming and discuss programming problems, you can send me a mail at coding[dot]dahu[at]gmail[dot]com.
Here's your link: https://news.ycombinator.com/threads?id=Snargorf

Certainly I made points that are culture war relevant a few times, but I think that account is clearly still within the rules. Certainly no rules were blatantly broken. I am human, but I've always engaged in good faith.

A warning, at least, would've been appropriate. But, it just got flat silent shadowbanned after a decent history of participation. I'd still love to know why.

Side note: "the majority of the audience agrees it's rule-breaking" should not be the standard you apply to determine what's rule-breaking. That's just a recipe for ideological uniformity; an obvious slippery slope into the space being being under the exclusive power of one tribe or another. A healthy discussion space needs moderators who will take unpopular positions and stick to the rules as written, in an even-handed way.