skysight-inc/HackerNews huggingface dataset:
Give me a 'noob' view of answers: Disregard (or even reverse) super-user downvotes on answers, and never delete anything other than spam.

Motivating example: https://stackoverflow.com/questions/5664741/watching-variabl.... My first time trying to develop an android app in Eclipse, I had no idea a GUI-based app like Android could print to console, and assumed console and gui are mutually exclusive. I was trying to debug a large existing codebase in a very rudimentary way. In this question you'll see an answer that didn't really help me at +94 and the answer that did help me at -1.

Five years later, sure, that -1 answer is self evident. But at the time, that was the key to get me started on altering the codebase to my particular ends.

It's like a recommendation algo on Netflix: don't tell me what the most sophisticated film critic thought was the best movie if all I do is watch Pixar films; tell me what the best film was according to other Pixar movie enthusiasts was.
I did a contract in a corporate environment where the SSL interception proxy passed-through any site with an EV certificate.

I first noticed that it wasn't intercepting my connection to my bank, and then after some experimentation, that turned out to be the pattern. Sounds stupid, but there you go, somebody uses EV as a signal for something.
I've been using an AWS EC2 instance to run a trading algorithm I put together in Python for the last year or so. You can see the results at http://kandfx.com which I put together as a handy way to track its progress on the go.

I've been trading with Oanda's API for over a year but originally traded using Metatrader 4 and built the algorithm in the native MQL4 language. That ran for around 2 years and the 3 years prior to that was learning and developing my strategy.

Thanks to Docker containers, Python and Amazon EC2 I can finally say I have got the whole pipeline to a stable state which was probably the biggest hurdle after developing the algorithm in the first place.

As for the strategy I have been very reluctant to share it with anyone because on the surface it is very simple. That being said there are some fundamental reasons as to why I believe its been profitable which has more to do with psychology than anything else but it did take learning a lot just to try and distil the behaviour into something that could make money.

I've had some mild success with Crypto but I wouldn't ever try trading it the way I do Forex. The market behaves very differently and not to mention being in the UK any profits from Forex trading are non-taxable as I use a spread-betting account.

Long story short… yes, I do believe you can make money algorithmic trading. Is it easy? No, far from it especially when it comes to having a fault tolerant system.
> ORM is fantastic (and much more intuitive than SQLAlchemy)

Any articles or blog posts you can recommend to give some examples or comparison?

> entire Django ecosystem of apps that make heavy use of the model layer.

Exactly why I don't want to use the django system. I'm happy with the python ecosystem and have yet to find a django only module where no other alternative exist.

Its not that django is a bad web framework; on the contrary, to be honest. I'm just already invested in other modules that django decided to re-invent/design to fit their needs better.
In my experience, EV certs are not a technical thing but a marketing thing. EV certs show your name in the address bar, so it's certainly more visible. If an EV cert boost sales by 1% and costs 500$ a year, then it will make sense for even the smallest webshop. And as long as this is the case, there will be a market for EV certs.
https://news.ycombinator.com/item?id=16932006

https://news.ycombinator.com/item?id=12701272
I couldn't find any information in the article that it's WBS social housing. It says "located in a newly fashionable district" which doesn't sound like social housing.
Both companies also have military divisions, which makes it a matter of security.
> No such thing as fixed rate: fixed rate just means "variable, but in 3 or 5 year (or whatever) increments".

No, you can get mortgages they are fixed for the life of the loan.

> Fixed rates are not free; you pay extra for the fixing.

You do typically start with a higher rate, but when we shopped for loans last, the variable rate loans all had a floor very near the initial rate and interest rates were at historic lows, so either the momentary extreme lows would last indefinitely or fixed rate would be cheaper over the life of the loan.

Further, if interest rates do drop, you can refinance a fixed rate loan down, minimizing the difference between it and a variable rate, even if the latter doesn't have a floor that prevents meaningful reductions, where variable would be best. OTOH, where fixed would be best (with rising rates), variable leaves you high and dry.
There's a bit of magic in Flask - the global object is an example.
Cool, we lose privacy light because baby gets distracted by it and dad doesn't own tape?!
At an arms length it really seems like there should be some kind of delineations of the questions.

"What document backend to use with Drupal?" is a question whose answers are in constant flux. It is a bad match for and Authoritative Language Compendium. But it's also the kinds of thing people wonder about, it's a relevant tech question, and the dialog around something like that is easily as valuable as the accepted answer since everyone is skinning a different cat.

So instead of "overly broad, no discussion for you" I'd rather see those questions get routed to "conversation-SO" instead of "reference-SO"...
How is the distance getting estimated? Like another comment said, if a good distance estimator is provided this simplifies the task. Is there a baseline that uses distance in its input as well?
"I am content with letting the Linux people do their thing while I do my thing."

The problem is that when it becomes too niche, it will be banned out of course. ("Do you have any idea what people can DO with those things??")

Remember, encryption was a munition and controlled accordingly. The need for secure banking is about the only reason we're allowed that. That, and the efforts of people who demand ownership over their machines (or at least something close to it)
Yeah, but the new products don't have that Apple charm :(
Sygic Places – Worldwide Points of Interest Database for Your Website or App
>different depending on where they are imported and when

Er, no. Their value depends on where in the callstack you read it, not on where/how they're imported. They're like global variables but with thread locality, and with a stack of values.
On the practical front, this approach is tenable when programming for yourself or by yourself. How do you articulate this if you are consulting, your client isn't tuned to this thinking and want you to describe architectures and timelines? A statement like "I'll be working to create some primitives and based on what I see I'll choose to build or modify structures when appropriate." - doesn't fly. Though we might do that at the end of the day, I'm curious to hear here about what HNers think would be some good ways to talk about this process .. or not.
Update: corrected investment income issues
> No one knows anything about a user on Stack Overflow

???? There are names and profile pictures.
You can't use it officially, but if you're sneaky, you can identify potential targets for parallel construction.
aiohttp + pee wee async is the best combination available right now IMO. A fully asyncio app with pleasant non-blocking ORM and migrations.
The interest rate set by the government is not the interest rate on the 2/5/10/30 US government issued bonds.
Static typing is nice.

But no GIL is the most important part. Multithreaded preprocessing data input to the network is almost a must these days, but that is hard to achieve in Python. Multiprocessing or that PyTorch magic alleviates the problem, but they are not as high performant as multithreading.
ageism
Russia and China are both in the small mainline-jet market. Russia with the Sukhoi SuperJet, China with the Comac C919.

China's AICC is also buying the rights to produce An-225s, including the tooling and training, supposedly in order to jump forward a bit more on engine tech (the C919 will use CFM Leap engines built overseas.
I think it's fine that they revoked the cert because Ian's site looked exactly like Stripe. The point he made still stands though: That the EV is pretty much only lipstick.
I think Barcelona sounds worse. You will pay at least that for anywhere reasonably central, and salaries are lower.
I actually quit Prime after moving to San Francisco — it felt hard to justify when grocery stores and other shopping is blocks away. People forget about walking, haha. I just don’t buy enough stuff to warrant the subscription.
Btw Peter Nair's "programming as theory building" is the best description of this approach I know of.
Munich is a rich city and the cost of living is a lot higher there from what I understand. Its like comparing London to almost anywhere else in the UK.
> Any articles or blog posts you can recommend to give some examples or comparison?

Not really sorry, it's all personal experience.

> I'm happy with the python ecosystem and have yet to find a django only module where no other alternative exist.

What about all the cases where you need support from database schemas? For example let's say you want to have access to Stripe subscriptions from Python and cache them to your database, you'll need something like dj-stripe. There's nothing "in Python" other than an API client because the Python stdlib doesn't have a model ORM.
I don't have experience of a type exception hours into run, but for me, deploying code to the test environment is long, so the edit-run cycle is very long. If the compiler can catch the errors locally, then edit-(compile)-run is shortened.
That just puts the crush on the sectors that Offer low wage jobs, increasing their costs and the prices they must charge their customers. The people who do get those jobs earn more, but there will be fewer of them, making the poverty trap even deeper.

I’m beginning to think a low Basic Income might help, maybe as little as a hundred bucks a month. The problem with current BI tests is they are Big Bang experiments - big basic incomes for a tiny number of people. However a relatively low BI combined with moderate minimum wages could effectively act as a subsidy on low paying jobs. It would have to be funded by a tax increase, but a relatively modest one. This should make more low paying jobs viable to offer, make them more economically attractive to workers in terms of total earnings, and make the businesses that employ people on low wages more price competitive, increasing low wage employment. All without the massive distortions to the economy a high BI could cause.

This approach to BI wouldn’t free everybody up to become artists and explorers, but that was always a fantasy anyway. Somebody has to do the productive work somewhere, the trick is to make that work progressively more secure and rewarding.
I think the difference is much smaller than you think. If someone finds male DNA and my uncle has used this service, and a public photo with my eyes and hair clearly visible in the background on his Facebook page, then suddenly it’s almost as if I registered my DNA in a public registry. It’s the metadata problem all over again, it just takes one or two more public data points to deanonymize it entirely.
Parallel STL for Newbies: Reduce and Independent Modifications
Did these people get in legally or illegally? If they played by the rules I can understand them, being annoyed at people that don't.
You read my post backwards. I wasn't complaining about the cost of the private room, I was marveling at how cheap it was!
I was shocked at how flattering ALL of mine were.
> Linux kernel upgrades are free

Windows 10 upgrade was also free for a couple of years.

> has an iron policy on userland regressions

GPU drivers include a lot of code running in the kernel. And Linux doesn’t give a damn about broken device drivers, especially third-party binary drivers, like GPU ones.

> aren't bundled with malware

Windows kernel is not bundled either. And Linux userland sometimes is, e.g. https://news.ycombinator.com/item?id=4558049
Has this been circulating on Twiddit or Retter or someplace? There must be some reason why an older piece was submitted several times today.
A couple where neither member can produce sperm is not at risk of accidental pregnancy.
This is sad. Flask is a very nice microframework that does not have any of these scalability limitations for which your employer asked you to switch to Django.

I have used both Flask and Django for a long time, so I think I could contribute a couple of points in this regard.

- Django with a very good documentation and batteries included helps to build a lot of functionality in less time without having to look anywhere else. In the same time, flask being a microframework, you need to look for the batteries yourself and it takes experience and knowledge to know which components to use and which to avoid.

- None of these two frameworks will magically fix the scaling issues or are free to scaling issues.When you hit issues with scaling, you need to find the bottleneck and fix it. There is no other magic bullet here. I would suggest do not be religious about things and try both of them without any bias in your personal projects and then evaluate. Do not form an opinion without knowing something yourself.
Only did and do floating point for image processing. In fact, looking into my logs, I registered 5 bugs with NVidia in the last 2 years, none with AMD.
They only improve speed from an initial "get it working" point of view. That's part of the reason flask is rarely taken seriously as a production solution. Not having natural separation between views and urls is a real PITA for anyone trying to create a long term solution or larger project. For what it's worth, I also hate the argument that bad design increases Dev speed. That's only true until you need find something later, then you have to hunt around instead of having one place to look, wiping out any initial gains. It's false economy.
It's not side-stepped. It's the best indication of sexual interest you can get, and that's what the dating platform is about, isn't it?
Well flask did evolve of Werkzeug a utility wrapper around wsgi, in response to bottlepy.

I also find a lot of the "magic" is found in flask extensions.
That's the header you get when he himself replies. But his auto-responder has:

I am not on vacation, but I am at the end of a long time delay. I am
located somewhere on Earth, but as far as responding to email is concerned,
I appear to be at the edge of the solar system. [...]
> I don't see myself as a kind person and asking me to spend extra mental energy

If you can't be kind, then the preferred action from you is for you to save your energy for the days when you can be kind. That's better for everyone involved.
That's interesting. When I have had a quick look at Sweden I was surprised how low the software salaries were (though it wasn't an extensive search). I hear that the cost of living is pretty high. The Swedish bosses i worked for thought that Barcelona apartments were cheap. What would you pay in rent for the apartments you are talking about?
You start by assuming they may be a lying scumbag. Hopefully by the time you make an offer, you're reasonably certain they aren't.
How is that ironic...
Ask HN: Is Intel with its C++ or a user violating the GNU license?
Intel C++ for Linux, as far as I understand, uses libstdc++ for which the license https://gcc.gnu.org/onlinedocs/libstdc++/manual/license.html specifically names which "compilation process" is "eligible" for a non-GPL exception to be allowed. My understanding is that Intel's compiler is not eligible (and not GPL). Who is then violating the license, Intel, the user using it, or both? What's your understanding?
The problem with planes is that research costs for a single product are often above $1bn. So you wouldn't create a new product just because you are curious or have a small team of scientists that discovered an opportunity.
Top 8 Ideas to Help You Create an Efficient Referral Program in 2018
> We know because they tell us.

But not marginalized groups also tell them. Now the question is who tells more? I think marginalized, because they read all these blogs and tweets about being opressed, shift their selective focus to minor injustices, and feel empowered to complain. The SJWs are the complainers, they are the warriors, that's why you hear from them more than from anybody else. They have the momentum of complaining, so they are more likely to continue to complain. I'm certain most of them are addicted to complaining and will never stop, no matter what. Also, minorities have higher social status within those ranks, and therefore more likely to be SJW.

So it's not necessarily Stack Overflow's fault at all.
Microsoft Declares an Astounding USD 36.8Bn in Revenue Through Growth in Cloud
My first reaction when reading this of course was: what about resistance? But then I thought: as long as it is standard practise to heavily use antibiotics in meat farming, we shouldn't point at any good usage to save human life. And it indeed seems to be a faszinating and very beneficial usage of antibiotics. Beyond its obvious humanitarian benefit, lowering child mortality seems to be the working method to limit population growth.
It's also kind of just like concept formation and theory building in science.

In algebraically or mathematically oriented communities like much of the Haskell world, you see a similar kind of "bottom-up programming" but with an added focus on compositional structures with laws for reasoning.

When a Haskell module really comes together beautifully, it's because you've managed to extract useful standalone concepts that combine in an algebraic way, with binary operators, associativity, and so on.

Eric Evans in Domain-Driven Design, usually considered a book about object orientation, also comes to a conclusion that if most of a program's logic can be expressed in pure functions and closed operations on value objects, then you can attain a "supple design."

I suppose the Lisp community has concepts like "value abstractions and syntactic abstractions" or something like that, one of them being related to well-suited data types, and the other being related to macros.

Incidentally, I've recently come to realize that Agda, the dependently-typed Haskell-style language, comes very close to being Lisp-like in its support for syntactic abstractions: you can go a long way with just custom mixfix operators (e.g., defining if_then_else_)... and then there's also a sophisticated macro system, using an AST data type and a "typechecker monad."

It's a lot of fun!
Ownership costs are so low because utilisation has been improved greatly over the past decades. Especially short-haul planes are now in the air for 14-16h or more. That over a life-time of two decades or more reduces the per-flight cost to a minimum.
A Mind-Bending Cryptographic Trick Promises to Take Blockchains Mainstream
> we do such a great work maintaining top quality questions

You don't. Straight-up. You may think you do, but SO utterly fails at this.

In almost all cases where i end up on SO in my research the accepted answer is trash, and the one below it is the real one.
The problem is that a non qualified person is interviewing a candidate for Director of Engineering. These questions may be ok for a college hire for an entry level position. And even then it cannot be treated like a simple yes no thing.

The interviewer is also very bad at his job. You can replace him with a simple Google form.
https://www.theatlantic.com/sexes/archive/2013/01/the-many-p...

...is a source I often point to when I'm personally lamenting how weirdly...impersonal dating seems to have become.
Why do "low quality" questions matter? I don't believe "low quality" is really a problem.

Stack Exchange could have dealt with this by developing a mechanism for identifying and promoting general and well-written questions to search engines, and so on.

People sometimes have specific or incompletely formulated questions, and people sometimes enjoy figuring out answers to those questions.

By stamping on these situations, Stack Exchange quickly removed almost all of its potential contributor base.
I agree. And barring some groundbreaking invention that completely alters the hardware landscape, I think the trend will be heterogeneous/domain specific ICs. Which means new software development paradigms as well.
I wonder if, at least in some of these cases, “education” is basically decline in radical Islam, with its rigidly enforced subservience of women to men. Women can’t “decide” to have fewer kids when they don’t decide anything at all.
3 Signals of “Innovation Theatre” to Watch Out For
After ZTE, Huawei being probed by FBI for violating Iran sanctions
A deep learning architecture Generative Adversarial Networks
I'm not sure if most people start learning languages just because they seem "easy" either. There has to be some reason.

And once you do start, something like differences between analytic and synthetic languages probably would be more of a tripping point.
The Engineering Manager – Working with Sales
Although this is just jaw-droppingly embarrassing for Google, it also highlights a wider industry problem.

Only technical staff are qualified to screen technical hires. Personnel Departments should really be the last link in the chain, not the first.
Lisp in Small Pieces of Clojure, part 3
For signal the phone number serves as a convenience to label a public key - the security comes from verifying the key. The design is to not trust the server.

WhatsApp is the same but has things like key-change messages off by default.

I believe telegram doesn't even encrypt by default, and has flawed crypto anyway.

You're right that the whole thing is flawed to some degree unless both parties are clued up.
Yes, but only for banks, Government services and things like that.

I really wouldn't care for a web shop etc.
The idea behind EV's (to tie domain ownership to real-world legal entities) is sound, it's just that the implementation is poor.

If the EV badge identifies a legal entity plus its country of origin, then how is it supposed to be the CA's fault that there's this leaky abstraction of multiple legal entities with the same name in the same country? If we have a good idea and a poor implementation, then the correct response is to fix the implementation, not throw out the whole idea as fundamentally broken.

Unfortunately, there's also not much that the CAs can do to fix this by themselves. If we want to have a digital representation of a legal entity's identity, the best way to do that is to have a first-class digital identity rather than the hack of a system we have today which attempts to create a poorly supported, non-portable identity on the basis of emailed paperwork and phone calls. Such a first class identity - with private keys controlled by the legal entity, entrusted to the entity when it was first created - will allow clients to verify the identity against the source which actually governs it.

I can understand the privacy concerns surrounding the creation of legal digital personal identities - the creation of a definitive population ledger that goes along with it etc. But for companies? That the US doesn't have such a solution for companies in this day and age is just myopic.
How come these card companies can have such huge margins !? It's effectively a 3% tax on everything going directly to a small set of private businesses. The government should issue a government sponsored payment alternative with free transactions, which would also solve the problem with micro-transactions.
Your GDPR Questions Answered
I can’t help thinking we should have headed down this path a long time ago. It’s harder to go backwards.
Is there any way to opt out of this?