skysight-inc/HackerNews huggingface dataset:
> If you have a small edge in information, you can make millions.

This is one of the misnomer. Economics has enough random stuff and complexity that small edge doesn’t make huge difference. For example, you can get satellite photos of 100 sample Walmart stores and observe it’s parking lot to conclude that perhaps their quarter would end in negative side. But you might not be aware that the slack is being picked up more than enough by their online operations or that they have new deals for partnerships or some law about to be passed that taxes competition more.
If you count the weight of the servers required to service all the funds at the institutions his money resides at, and the percentage of his funds compared to the overall amount at that institution, it still might be tons.
An analysis of Wesley Crusher's first game of poker
Killer features of Monzo for me:

* all works in an app

* totally free

* no fee when using the card abroad, exchange rate is the bank rate

* notification of the purchase right away

* it tells you where each purchases were made, on a map

* it rounds up every purchase to save them in a saving account

* you can create as many saving accounts as you want, in one click

* every purchase is automatically categorized between bills, eating out, entertainment, etc.

* you can see how much you spent in a month, and in what

* you can send money to people near by, or by using nicknames

* searching your transactions is super easy

* you can freeze/unfreeze your card in one click

* easy transfer of money

I think overall, the app has so many features and it's pretty slick.
Not sure about the OP, but for many Go is the only compiled language they ever used, so they get to attribute features to Go that aren't that unique of it.
Are you personal friends with them? I mean, how would you know?
> So, do I understand you correctly that someone who uses their electric oven (so, ~ 3 kW) once a day for half an hour but uses no other electricity should pay the same total as someone who runs some 3 kW machine 24/7,

Yes, exactly. Because they both want to come home and use 3 kW for a half an hour at the same time, so the grid needs 6 kW of capacity just then. But if it has 6 kW just then with a source that generates 24/7 the same amount at no marginal cost, the person who is also using that amount the whole day isn't costing the power company anything more. The capacity was needed for that half hour regardless of what you do the rest of the day, so why should what you do for the rest of the day change what you pay?

> unless the grid is overloaded, in which case the latter pays less?

No, you get compensated for not using what you paid for, not for not using what you normally use. If they're both not using then they both get paid. Obviously this gives the power company a good incentive not to have an overloaded grid.

Now in practice what's going to happen is that the person who uses 3 kW for a half hour a day isn't going to buy 30 amp service for that, they're going to get 10 amp service and a 5 kWh battery that can run their oven or clothes drier from time to time and then slowly charge back up over 24 hours.

The analogy for broadband is you pay for 50Mbps service but it will burst up to 500Mbps for a few seconds at a time, so the person who doesn't use 24/7 has de facto 500Mbps instantaneous service for the price of 50Mbps.

And there are some complexities in power generation that don't apply to broadband, e.g. grid-scale batteries and the fact that solar doesn't actually generate 24/7. But even that doesn't really change that much, especially if you tie the service level to time of day, e.g. you can order 10 amp from 4PM to 10PM and 100 amp from 10PM to 4PM and that costs a lot less than 100 amp 24/7, but it means you're not allowed to use more than 10 amps during peak hours.

And it would make sense to sell broadband that way as well, with Mbps rather than amperes. Why can't I get 10Mbps during peak hours and gigabit the rest of the time? And then someone who needs 20Mbps during peak hours can get that and pay twice as much as me, even if I'm using a thousand times more data than them during off peak times.

> Except that's not what is happening here?

It's not administratively what's happening with power generation, but it's de facto what's happening, and so there isn't a lot of cause to change it just because we're doing something sensible and calling it something else.

By contrast, there is no comparable negative externality caused by sending data.

> Except that that's a minor part of the marginal cost of moving a packet?

That's the entire marginal cost of moving a packet. The infrastructure cost is a fixed cost. You don't get it back if you don't send the packet and the network goes underutilized.
Netflix Brings Smart Downloads to iOS App: New Feature
This is the most salacious and wild hacker news I’ve ever read.
Not sure I’d trust this list. All my email addresses submitted to Adobe and previously Macromedia have come back with scammy spam of epic proportions compared to any other company I’ve submitted emails to. This list has them at 5 stars. Could be they sold or they got hacked, and maybe it no longer happens, but even new emails as of 2 years ago suffered the same fate over time.
I started at $30k in 2004 and by 2017 I made $200k. It is about 18% on average. The biggest jumps in a single year was 2009 going from $55k to $80k in a 3 month period, 2011 going from $80k to $110k, and 2013 going from $117k to $140k by using a counteroffer.
In the long run, without any wage theft, you should expect any increase in tips lead to a reduction in base pay since employees only really care about their total comp, not whether it comes from tips of salary.

So while this practice is scummy, it's basically just speeding up what would happen normally.
Perhaps because they don't want to incur technical debt to a language/runtime that could change at the whim of one company that probably doesn't have other companies' best interests in mind?

The speed advantage of HHVM has also been largely erased. Some high-profile PHP sites migrated to HHVM before and up to ~2015, but I haven't heard of a single site doing that since PHP 7.0 came out.
There are a few ways to it:

1. You need to be in Google's News Publisher Center
2. You need to be regularly posting news on your website
3. You need to have your website AMP (this is must now)
4. Your website's SEO should be powerful
5. There should be more and more people reading and spreading your news online
I wonder how Thiel will react if it turned out Trump directed national spy agencies to attempt to blackmail a rival oligarch to force him to provide favorable political coverage to their ruling coalition. Being the committed anti-tabloid blackmailer he is.
> How well does it do in production though and what happens when multiple algos execute the same trades?

Price inflation.

> Does it cause the rest of the algos to adapt and change results?

Trading index ETFs? IDK

> It makes sense to back-test together and work on it, but if it's proven to work, someone will create something to monitor volume on those trades and work against it.

Why does it need to do lots of trades? Is it possible for anyone other than e.g. SEC to review trades by buyer or seller?

> I'd be curious to see the same algo do 300% in production, and if so, then my bias would be uncalled for.

pyfolio does tear sheets with Zipline algos: pyfolio/examples/zipline_algo_example.ipynb
https://nbviewer.jupyter.org/github/quantopian/pyfolio/blob/...

alphalens does performance analysis of predictive factors:
alphalens/examples/pyfolio_integration.ipynb
https://nbviewer.jupyter.org/github/quantopian/alphalens/blo...

awesome-quant lists a bunch of other tools for algos and superalgos:
https://github.com/wilsonfreitas/awesome-quant

What's a good platform for paper trading (with e.g. zipline or moonshot algorithms)?
BC – Mobile App Company Giving Away Up to 100,000 Stock Options to Community
I was also going to point out that there's no definition of an end result of "it works" other than, as you quoted, "graduating". But my post was already too long and ranty - but this one isn't... yet.

To be able to define one parenting method or another as 'successful' or to say that 'it works' is as subjective, and therefore meaningless, as saying 'I know the meaning of life'.

A college-dropout stoner packing shelves at a supermarket could be considered successfully parented if they're a nice person and have chosen that particular lifestyle because they believe that to participate in the corporate rat race is to advocate for it, and that's a bridge too far; as opposed to having that lifestyle thrust upon them because that's their highest level of incompetence*

*Just an example, not a personal anecdote
Golang is not a silver bullet. No programming language is.
One would wonder if what happened to the WaPo journalist was Saudia Arabia providing indirect payback for Trump. At the very least, that may have been part of the logic. "Oh, it's fine, Trump hates the Washington Post as well"
> The last 20 years of attacks that have been re-discovering Bleichenbacher's seminal work in 1998 clearly show that it is close to impossible to correclty implement the RSA PKCS#1 v1.5 encryption scheme. While our paper recommends a series of mitigations, it is time for RSA PKCS#1 v1.5 to be deprecated and replaced by more modern schemes like OAEP and ECEIS for asymmetric encryption or Elliptic Curve Diffie-Hellman for key exchanges.

RSA PKCS#1 v1.5: https://tools.ietf.org/html/rfc2313

Title: PKCS #1: RSA Encryption version 1.5

tl;dr: deprecate RSA encryption as a whole?! Did I read this right?
Your new valuable key points imply much a person like me and extremely more to my office workers. With thanks; from every one of us.
https://www.gangboard.com/app-programming-scripting-training...
http://www.traininginannanagar.in/python-training-in-chennai...
AOLServer and our own Tcl based application server also used this idea.

Configuration files for each component were a DSL made of Tcl functions. Each module just sourced the respective file on load.
It's not 8.5% from 0%. Its 8.5% from 16%.
What's funny is that when a credit card company mails you your new card, they tend to send it in the most boring nondescript envelopes ever.
Is LibreSSL affected?
Bad situation for DJing where USB DACs are common.
Simply use function as a catastrophe detector and create a generic quarantine and run plan?
You'll make a lot more as a DevOps engineer than it costs to become one
Don't underestimate how desperate people in power will get when they feel threatened.
> A blaring television commercial may make us turn down the volume of our sets, but its sonic peaks are no higher than the regular programming preceding it.

I've heard that before. The VU meters on my stereo say otherwise.
Go has has a native nacl implementation jfyi.
>Why are some op-ed blogs allowed in, and not others?

Its simple. They have more money than you.
Sure! I'll just ramble a bit about HFTs.

I'd say starting a "pure" HFT firm is incredibly hard nowadays. There's a big upfront investment and huge operating costs, and there's a lot of consolidation happening in the industry.

In general, most hardware and software is tailored to high-throughput, and a huge part of the effort of HFT is fighting all that to prioritize latency. If you want to compete with the very best firms, that means renting rackspace in a colocation with the exchanges, overclocked CPUs, expensive network cards, FPGAs, paying out the nose for the most accurate market-data feeds, and many order-entry connections. Then you have to tweak the BIOS, kernel settings, isolate your processes on cores, write your own userspace networking stack etc. etc. etc. On top of that if you want to trade between different colocations, you might need a network of microwave towers because fiber is too slow (light travels about 2/3 slower in fiber because it effectively "bounces" along the fiber). At the end of the day though, if your algorithm or strategy doesn't work, you won't make any money - speed is only a part of it. At the previous firm, we had a market making desk that was very profitable, but was quite "slow" by HFT standards (triple digit microseconds vs sub-microsecond response times). You still need to be smart about it.

Having said all that, I think HFT gets a bad rap, about being a waste of resources/talent, and somehow "stealing" from the common man. The truth is, they are only "stealing" from each other - they compete to remove the tiniest inefficiencies in pricing. They ensure the cost of trading is actually as low as it can possibly be. By themselves they don't have enough capital to move the market in any meaningful way. In fact, most flash crashes occur when HFT firms step out of the way! They move out of the way of huge market movements because they can't cushion the blow without taking an unnecessary risk as a business. It's like asking your plumber to fix your sink while your house is on fire. Market orders, stop orders and panic are most of the problem when it comes to flash crashes. PSA: Please use limit orders :)

I might ruffle some feathers with the comments, but I think overall HFTs aren't the bogeyman most people think them to be. Sure there are some bad apples, but that's true of any industry, and it comes down to the people - not the system itself.
I and my friends were going through the nice, helpful tips from the blog then the sudden came up with an awful suspicion I never expressed respect to the website owner for those secrets.
https://www.besanttechnologies.com/training-courses/python-t...
https://www.besanttechnologies.com/training-courses/cloud-co...
From my understanding, Apple are happy for you to do it as long as it's explicitly opt-in (not just hidden in your terms of use) and there's an indication whenever the screen is being recorded.
Apache MultiViews makes pretty URLs easy.

www.example.com/widgets.php

can be reached at:

www.example.com/widgets

But here's the kicker:

www.examples.com/widgets/123

will also route to widgets.php, with "/123" in the $_SERVER['PATH_INFO']. No mod_rewrite needed.

www.example.com/widgets/you/can/have/multi-segment/paths

goes to widgets.php too, with its PATH_INFO set to "/you/can/have/multi-segment/paths", but I don't usually go that far. Usually the script name roughly corresponds to the name of a table (or database view), and the PATH_INFO corresponds to the primary key.
For me lack of validation and comments are many steps down, not up.
Earth may no longer be 'Pale Blue Dot' in 80 years
PHP 7 has type hints and a strict mode. Probably as close as you're going to get. It prevents execution from the interpreter.
This made me just realize that MBS might fund Enquirer's legal fights with Bezos which may reduce the possibility of Enquirer's extinction (as everyone is hypothesizing).
Not loving this in the recording studio situation either.
Does it? If you declare strict, use strict comparison operators and typehint your arguments and returns, what more care do you need? These are not particularly onerous, the strict declaration is trivially templateable in any editor as it's the first line, you'd write types in any language and getting used to only use === !== and forget == and != is ... easy?
Any idea why PHP has such a bad reputation compared to other interpreted and dynamically-typed languages such as Python?
They raising voice now to cover the obvious question underneath, how did such app bypass their precious review and approval system?
Ronan Farrow tweeted that he and anther journalist were similarly threatened by AMI:

https://twitter.com/RonanFarrow/status/1093690150448758784
Way overkill
My last job used https://github.com/opserver/Opserver which had a pagerduty tab. Nice being able to see who was the on call and have instructions for when/how to page out.

It also has a "take on call for the next hour" button, which (for logged in users that matched a pagerduty user) would create an override for the next hour. Really handy when you are starting a change window and don't want to risk waking up the on call.
If its possible would love to learn from it. Any chance of taking a look at it ?
BitTorrent Launches CoinPayment as Support for Its BTT Tokens
It's roughly as useful as saying "well, a microwave that beeps three times technically isn't actually louder than the fire alarm going off in the other room".
Moralization is not random, the action is usually any behavior to protect your offspring at all cost in all scenarios. Millions of parents vote for anti drug and war on drug policies, to increase the chances of theire kids having grandkids. And it's a understandable goal, e even though it's heresy for a libertarian.
Projects like https://roots.io bring modern PHP practices to WordPress development.
We're in the age of the wordless logo
Earth Had Its 4th Warmest Year on Record in 2018, Say NOAA and Nasa
I flew on an Air France A380 from CDG to SFO a few months ago seated in premium economy. It was an outstanding flight, comfortable and pleasant. I would choose to fly on an A380 over most of the other long distance aircraft, given the choice.
Answered here https://news.ycombinator.com/item?id=19109008 by VygmraMGVl

In lining the answer.

> Protothreads is a library implementation of this trick. In fact, the protothreads creator even references the linked site in their explanation of protothreads (very last paragraph)
So I’m banned? For what? How is anything I’ve said trollish? This is a joke right? Which part is trolling? AI is a threat to jobs? People respond to AI “alarmists” with character attacks and sarcasm? I genuinely do not get it.

If banning me is such a horrible burden for you, you are free to email me so that we can discuss a solution.
Not that I can vouch for the list, but it's not if Adobe got hacked, they are well known for being victims of some very large hack(s?).[1]

Other than that, I hope you're not using cracked versions of any Adobe software or commercial filters, or key generators for either on systems that have any personal information...

1: https://www.theverge.com/2013/11/7/5078560/over-150-million-...
The consensus among cryptographers for quite a while now has been that RSA should be avoided. Implementation vulnerabilities in RSA aren't surprising, and it's a poor choice of algorithm for modern cryptosystems.

However, note that much of the problem with implementing RSA correctly is the padding. The specific recommendation here is to only use RSA OAEP, and preferably to abandon RSA altogether for more modern (elliptic curve) constructions.

So no, they're not saying to deprecate RSA in its entirety (though I have high confidence all of the authors would strongly suggest that to anyone who asked). Rather, they're saying you should only use RSA with one very specific form of padding, if you absolutely insist on using RSA in 2019 (and you shouldn't unless you know you have to).
Make sure to double check any CAD models you pull off sites like this.

I learned a very lengthy and expensive lesson trusting something as simple as a 3 pin SOT23 transistor.
The New York Times is a mouth piece of orchestrated propaganda, and the prevailing wind they’re trying to sell people on is:

Most people are really quite stupid, knowing this, we have to intuit that a large number of stupid people are hearing a message that “helcopter parenting” is frowned on, and this might serve as a cue to tragically stupid parents to cut back on general guidance, possibly to the point of neglect.

Given that our audience is comprised of many stupid people, we need to send a clear signal to circumvent the optics of overparenting. The only message stupid people will understand is a diametrically opposed message. To whit: there is no such thing as overparenting, more is better. Smothering your children is okay.

If anything, a propaganda voice like this might serve as a clarion call to shelter children to the point that they grow up stunted, naive and a little immature or socially inept, but honestly it will lead to fewer criminals and lower prison populations, thus the generalized bulletin may be conscionably delivered to the lowest common denominator, however wrong it might prove, upon deep examination.
For my Chrome extension Checkbot (https://www.checkbot.io/), I got the idea when I was working as a freelance web developer on several websites at a time. I was doing a lot of manual checks for SEO, speed and security best practices, and wanted something to automate the process for me. I wanted a tool that could check many pages at the same time, check for many best practices, check localhost sites, check unlimited sites and let you recheck whenever you made a change. I couldn't find one at the time so I made my own.

I showed Checkbot in its early stages to several people I knew and after I had the feeling enough other people would find it useful I spent time packaging it into something I could try to sell. This included polishing the UX, creating a website and writing a web best practices guide which was a lot of work. I launched a free beta on reddit and Product Hunt which I got a lot of feedback from. After refining the product some more, I launched payment plans and now I'm slowly growing a paid customer base.
What Is Progressive Web Apps and How Does It Work?
Bunch of bad behaviour in clamshell mode, what does and does not wake up the OS to a (re)login auth on the screen.

Indirectly attached network devices in docks? Not so good. Direct attach dongles? very very temperamental, depends what the dongle is.

Feels like something went wrong in adding TB, USB-C and open/closed lid state handling. I believe the inbuilt KB and Pad are USB devices, so it cannot be the chip level. It feels like something about how the sleep-mode OS is told to be more aroused, and what it then does finding ALL things on the TB/USB-C bus, to wake them into life.

Clamshell mode is now a second class citizen in development and maintenance?
Show HN: Excuse me, would you let my neural network drive?
Yes. the [more] button could be at the top too, but then you wouldn't have walked past the chip and chocolate aisles finding the Milk.

I think you have it. But, is this not possibly a mild-grey dark design pattern?
It might seem wasted, but the reality is that a “standard” footprint does not really make sense. Soldering and assembly is not a perfect craft and it requires hundreds of considerations to methods used, environment of use, desired reliability etc. for example look up the footprint differences for wave soldering compared to hand soldering. For aerospace use reliability is king, for mobile devices space is a premium.

Furthermore, there aren’t really any standards for packages and hence it is difficult to trust foorprints. A TSOP package from one manufacturer manufacturer is not necessarily the same as a TSOP package from another. This is not a hypothetical — I’ve been bitten by this.

There are tools to assist in and automate a lot of this, but since most of the time is spend on other parts of a product it simply isn’t very critical.
I know its unfashionable but I liked what Sholokhov wrote. It was very influential on me as a younger man. And, if you read around he did some stuff which had high risks for an accolyte of Stalin: he did actually stand up for others at some potential risk. So, literary theft happens everywhere, in oppressive and non-oppressive societies.

But.. I get why people are "down" on Sholokhov. But I do like the books. And quiet flows the don/The Don Flows home to the sea in translation, are very thoughtful books. I don't think he entirely stole all of these words.
Ocean Sweep: Match 3 Games
Or even better, a High-Yield Savings Account:

https://www.nerdwallet.com/blog/banking/best-high-yield-onli...
That's just Google's philosophy of UI design, especially of Search. Tiny frontend (i.e. little controls), gigantic backend (that guesses what you haven't or even couldn't select). Works for >95% of population, probably >99%.
It was fight or flight and Bezos chose to fight.
Huddle House reveals malware intrusion in its POS systems
I also like it, for a couple of years my web site was XML + XSLT.