skysight-inc/HackerNews huggingface dataset:
I said it was overkill because I thought I had a simple analytical solution as follows. Note: I don't know anything about segmented regression, this is just your standard CS dynamic programming to calculate splits

DP[i][j] = min over k of (DP[i][k] + (cost of splitting at k) + (linear regression error of points from kth to jth))

This should run in O(n^3) which will be fine for the author's requirement of ~100 points. But this isn't a complete solution since it's not obvious how to choose the cost of splitting (which is needed otherwise it will just split everything into 1 or 2 point segments).

I think thinking about this more and explicitly trying to design this cost function is still better than labeling a bunch of data until the machine learning algorithm can reverse engineer the cost function from your head. Then you can be confident of what your code is doing and why and know that it won't randomly output potato.
It is not supported. You can only define each type once.
Because in the acronym AI only one letter is true - Artificial, and Intelligence is just buzzword. They just can't do proper tailoring of news feed to you, so as long as ADs are prioritized and the feed is not entirely atrocious they just don't care.
Leave JS off, you won't need it for this page.
It's not "Engineer thinks PM is a bozo", it's a post explaining a very concrete, objectively negative behaviour from the PM team. I've worked at companies where that sort of behaviour was rampant, I've worked at places where it wasn't, and the difference in the end product is palpable.

Second, even if it's just anecdotal, I have personally been experiencing issues with my tMBP at work that I haven't had with any previous laptops going back to a G4 iBook. Stuff like random crashes, parts of the screen failing to render properly, etc. IT says that they're experiencing more of that sort of complaint with the current gen than they have with others in the past. The "sensationalist anecdote-driven news cycle" is blowing things out of proportion, to be sure, but there does seem to be some measurable degradation in their Apple's standards as of lately.
> I decide what runs

Exactly. No-one is forcing you. You are confusing this with sites starting the miner without consent.
Apparently a lot of the cost and delay was making sure that the regulatory requirements for bank transfers were met. These are handled by APCA (Australian Payments Clearing Association), which is now Australian Payments Network Limited (AusPayNet)[0]. These transfers have traditionally been done over the Bulk Electronic Clearing System (BECS). BECS is a dinosaur and I have a feeling that once you achieved agreement between the members of AusPayNet (about 120 members), met all regulations, tested the new system for reliability, performance and conformance, tested the new system for interoperability with BECS, made sure it didn't have any gaping holes that allowed fraud to take place and, finally, paid some serious money to all of the consultants and 3rd parties involved in the rollout, you'd easily approach the billion dollar mark.

This project has been underway for about 6 years now. Think of it as ~$166MM per year for the rollout. I agree that it would be nice if the Australian financial sector were lean and optimized in the future, but I don't hold out that much hope to be honest, despite other countries managing to achieve this.

[0]: https://en.wikipedia.org/wiki/Australian_Payments_Network
Setting up accounts for the first time is a pain here, but most natives do that when they're a child. Once you already have one account, setting up subsequent accounts with other banks is much easier. Personally it has never been a problem, but I know several non-natives who had extreme difficulty.

My understanding is this is largely due to very tight regulations that have been placed on the banks to verify identity and stop money laundering. They also now rely on the banks to collect taxes and close accounts of illegal immigrants.

Lots of places ask for signatures, but I've never had anyone actually check my signature. Which is good, because like you, my signature is completely inconsistent.

Pending transactions I've never had an issue with - they usually appear on my phone within a few seconds of me tapping my card. And my banks automatically issued me contactless cards without me having to specify - but they did have an opt-out.

Android Pay was late, but is now accepted virtually everywhere across the country.

Banking apps are terrible. No argument there. Hopefully the new open digital banking legislation will fix that.

For sending money I've still always just used plain old FPS (instant) bank transfers or PayPal. PayM hasn't really been pushed enough yet...
There are a few additional photos in this article:
https://www.theguardian.com/artanddesign/gallery/2018/feb/13...
National Institute of Health calls for decriminalization drugs in Finland
Welcome to the new normal.
Welcome to the internet in 2018. That's pretty much the standard boilerplate these days.
And the Soviets in '83 - who were terrified that the US and its allies were going to attack so they considered a first strike even though they knew this would be disastrous.
I don't understand completely. They want to put some device to harvest the wind caused by the trains? Is the sheet parallel or perpendicular to the surface?

IIUC this will decrease the speed of the wind around the train, and it will probably increase the drag on the trains. Fluid dynamics is too complex and sometimes you get unexpected results. Have they run a simulation? Is the money get from the electricity harvested by the device greater than the cost of the additional draft?

Anyway, at least here in Argentina the walls of the subways tunnels are not super smooth, so perhaps something attached to the wall would not change the current situation.
> Why would Calvin Klein place their beautiful ad with Kate Moss next to photos of your right-wing friend's AK-47 collection and videos of his deer field dressing skills?

Because they want to reinforce the notion that wearing Calvin Klein will make you strong and manly and help you attract beautiful women? I'm sure your general point makes sense but I'm really not seeing your example.
From the Coinhive website:

> Monero is different. To mine Monero, you have to calculate hashes with an algorithm called Cryptonight. This algorithm is very compute heavy and – while overall pretty slow – was designed to run well on consumer CPUs.

> There are solutions to run the Cryptonight algorithm on a GPU instead, but the benefit is about 2x, not 10000x like for other algorithms used by Bitcoin or Ethereum. This makes Cryptonight a nice target for JavaScript and the Browser.
What has definitely changed is the pace with which people are expected to upgrade. When OS X Snow Leopard came out, you had to visit a store to buy the DVD. Nobody would look down on you for running a "legacy OS" if you only upgraded when .3 was out.

The ways in which this has changed affect both tech-savvy and casual users:

1. Older versions of iOS (which didn't exist back then) don't receive security fixes, so the only way to stay safe is to upgrade within days of the initial release (ideally before Apple publishes its security KB article).

2. Older versions of macOS often lag behind when it comes to security fixes. There is no clear policy on whether it is safe to stay on release n-1. Apple needs to be nudged to even document macOS security issues[1]. If you are moderately paranoid about security, you have to install all updates on day one (as on iOS).

3. iOS and macOS automatically download OS upgrades and nag you to install them.

4. There is a narrative on community sites that Apple's products are only good because Apple relentlessly kills legacy code and features (I don't even agree with the latter part). Dropping support for anything older than a year is considered a badge of honor because it means there will be "progress". The more paying customers you inconvenience, the edgier you are.

5. Apple feeds into this "old software is bad" meme by publicly LOLing at Android's adoption curve every year.

6. Emoji. I wish I was kidding, but only seeing squares when other people go out of their way to express their emotions is actually annoying.

7. If you are already on an OS that is buggy, you are more likely take the plunge and update to a brand-new OS in the hope that this time, things will be better.

[1] https://twitter.com/patrickwardle/status/953416156802703360
> On my team, if you're only working the asks handed down from above and not proactively taking initiative to make things better, you're barely pulling your weight.

The problem with a lot of engineers is that "make things better" often doesn't translate into "keeps customers happy and money coming in".

I could work on making our internal software "better" for the next two years but it wouldn't bring in enough money from customers to justify paying me to do it. And I'm smart enough to know that I have zero idea about what will make things "better" for the actual customers.
My web dev company now has a few small clients on h2o for the same reasons. It gives us a chance to try h2o out without any downfall. Still very early but loving it.
This! I've done more than one code challenge in my time that was secretly testing for how far you get on a task that is underbudgeted on time. Your best applicants are going to spend too much of their own (unpaid) time finishing it and be annoyed at you before you tell them how clever you are for testing their ability to prioritize...or they're just going to not bother.
It seems to read the log entries from systemd’s journal, which is more efficient.
The book the 48 laws of power is about manipulation which I don't like. I consider Carnegie's book, The 7 habits of highly effective people excellent books to learn how to help other people through win-win situations.
Netflix is improving in some locales, but remains a shitshow elsewhere (experimentally: countries with under 40M population). E.g. there are German and Polish subtitles for everything; there are almost none for Czech. They do things like providing them for only season 1, but not the rest, or don’t bother even with their own high-profile shows. Slovak viewers can choose between Slovak, Polish and Ukrainian subs, but not Czech - even though the entire country fluently understands Czech, an extremely closely related language. Netflix doesn’t care. Or have even nominally-useful support.

If the Netflix app allowed side loading my own subtitles, it’d be fine. But of course it doesn’t and won’t.

So guess what I do when I finish Narcos season 1 and discover lack of subtitles in season 2. Or when a show available on Netflix doesn’t have any (and I want to watch it with my spouse who can’t read English subs quickly enough).
Rather than having an expire date, with a creation time you can e.g. delete everything older than 1 day, or what ever. I.e. you don't hard code the expire time in the data itself. If you want to change the timeout to 2 days it's a change in your delete logic, not your data.
We've had a few rows around what counts as "abuse" and "citizen journalism" in Scotland, including but not limited to:

http://www.pressgazette.co.uk/scottish-news-websites-twitter...
Even more relevant IMHO is this: Why Google Stores Billions of Lines of Code in a Single Repository

https://cacm.acm.org/magazines/2016/7/204032-why-google-stor...
If you have a lot of data, keeping backups for too long can be costly. But a lot of datasets are small (e.g. few GB) which makes keeping backups for really long time cheap enough.

If you're datastore is small (e.g. SQL table), but supersensitive (E.g. financial data), you may want to keep backups for really long and on medium that doesn't allow easy modifications (e.g. tapes or AWS Glacier).

I know some government (e.g. Poland social security) keep several backups in many locations for many years just as a redundancy.
Continuous Discovery
I think this looks really cool. I like the ability to send multiple challenges to a candidate. I also like that as a side effect, it tests a candidates proficiency with Git.

I would choose a large time window- 4-8 hours or so. That way it ensures there is plenty of time to complete the challenge but also that it gets done in one day, like a normal workday.
Farm Management system – remote access to equipment
I don't understand the comments in this thread. You explicitly have to allow Salon to use your CPU so how is NoCoin, NoScript and other blockers relevant here at all?

The only real argument against this is the environmental one, and it's a big one.
17 MB for 5900 words. And you are getting downvoted for pointing out the obvious.
Government: "You know that data you were required to delete when $(USER) requested to be forgotten? We require you to provide it in connection with our ongoing investigation of $(USER)."
Around here (Central Europe), it’s ALWAYS the case. Steam has Europe-wide pricing, local stores’ normal prices are often 40% lower on launch day.
> how can we prevent people to abuse OSM by making false edits intentionally.

I wish they had a method of automatically identifying relevant signs from images with GPS data. Sooner or later, cars and AR-enabled apps will be able to produce these as by-products of normal use.
I have not read the article yet but it looks like advertisers are starting to do what online "news" sources used to do back when news was trustworthy. Vetting of content by educated, professional editors.

When I worked in radio and TV, years ago, small stations that couldn't afford a news department would just rip news copy off the teletype machine from UPI and AP and read that. Thus the term "rip and readers" as a derogatory term for a bad news man or department. Something you see on virtually every TV station now except with video.
> Good people already know that daycare is bad

Good lord, are you wrong. Just no. Good people investigate daycares and send their kids to a good one, rather than spreading harmful lies on the internet.

A bad daycare is bad, a good daycare is good. Do your homework as a parent. It's possible you live in an area where there are no good daycares, but you need to understand that your situation is not universal. But instead of just badmouthing people who are making responsible choices for their children, you could also help create a market for better daycares, you could join the parent committee for the daycare to help improve it, or petition the government to better regulate or fund daycares.
Um, yes. Never doubt the memory of kids when it comes to food.
Salon needs to fix their malvertising redirect problem, seems more rampant there than anywhere else.
EURUSD: Bullish, Extends Recovery Higher
The “Stories” format is coming to Google search next
I doubt the site is maintained by Gates personally. There's a company sitting behind it doing PR work for his foundation I'd assume.
Another comment prompted me to look at the source.

There's a bunch of inline javascript with commented out code there, console logs, etc. for the sharing plugin.

Great little comment of:

message: '', //not sure what this does

It doesn't seem to be a plugin as I've been searching for snippets of the code and I can't find it online anywhere. Wonder who wrote it, it's functional but pretty sloppy, e.g.:

FB.ui(
{
method: 'share',
name: 'Name',
href: 'https://www.gatesnotes.com' + document.location.pathname.toLowerCase(),
caption: 'www.gatesnotes.com',//line 3 // auto adds meta name="author" tag prop to end
description: '' + htmlEncode(FBDesc),//line 2
link: 'https://www.gatesnotes.com' + document.location.pathname.toLowerCase(),
message: '', //not sure what this does
picture: FBPic,
title: '' + htmlEncode(FBTitle),//line 1
},
function (response) {
if (response && response.post_id) {
//alert('Post was published.');
}
else {
//alert('Post was not published.');
}
SharingItemInProgress = 0;
})

SharingItemInProgress is an undeclared global variable, no error handling apart from commented out logs, etc.

Also, just found this just before a closing form tag:

<!-- is there a reason this is here? Yes this needs to be here for IE9 for some strange reason-->

There are even some commented out p tags like <!-- <p>PHOTO: Bill and Melinda talking with women during their trip to Atlanta in October 2017</p> -->.

Just found an empty $(document).ready( too.

Bill Gates has a site that looks like it's been put together by the eponymous 14-year old nephew.
Once he knows what browser version you're using, he's going to steal your wife. Till death to us part, until she realizes you haven't upgraded to Microsoft Edge, the superior browsing experience, yet.
I guess it depends on the volume. Pretty much any speaker should be able to get a flat frequency response with appropriate filtering at low volumes.

Edit: The reddit review did check at multiple volumes, including 100%. Impressive if true.
Effects of battery manufacturing on greenhouse gas emissions [pdf]
I guess they are not as well funded as cloudflare and therefore couldn't take the risk of loosing in court.
Alternatively, it is a mess to track connected changes through the history of many repos. In this case, I'd think default tooling is actually better to solve the problem that the mono-repo scenario has.
It's sad that this gets downvoted, because it's the only realistic approach in such a situation (which is also sad).
If the patent got invalidated now, wouldn't they be able to get their "fees" back?
Italian cryptocurrency exchange gets hacked for $170M in Nano
Bad code may be to blame for $500M of cryptocurrency losses in seven months
S3/glacier are not filesystems, they are object storage interfaces with labels...
Thats not quite correct; it replaces swooping movement with fades. However the same design problems I mentioned persist.
> if your baby isn't sleeping then you're obviously still doing it wrong, you're a bad parent, it's all your fault.

I would strongly hope that parents would draw the conclusion that the book is wrong. With so many contradictory books, some are bound to be wrong, so if a book doesn't work, it must be one of the wrong ones. Try another one to see if it works, or maybe try your own ideas and see if those work.

Parenting is mostly experimentation.
> Through my most recent ~3-4 contracts I've come to confidently realize something I'd always suspected: companies that are in a market where advertising and marketing are just expected when comparing what competitors do is the majority of reason why so many dollars are budgeted in that direction. I don't complain to anybody who has a say in my workload or paycheck, of course, but I often find myself conversing with peers about how ridiculous it all seems and feels. That conversation rarely changes, either.

Well, if marketing in a given field is genuinely a waste of money then eventually a competitor should be able to enter the field and beat the incumbents by spending less on marketing. There are some fields where the cheap generics win out, but there are others where they don't.
For those unfamiliar, Salon.com is a new media company that publishes articles on current events from a left-leaning perspective - for example, "Bitcoin could cost us our clean-energy future" [1]

[1] https://www.salon.com/2017/12/06/bitcoin-could-cost-us-our-c...
> it helps for documentation purpose should the dispute arise over some issue in future.

If you are required to hold on to the data for legal purposes such as dispute settlement, there is no issue. The customer can request you delete such data but you have no obligation to do so. Issues arise when holding on to the data is no longer "necessary". At that point soft deletion is not enough and you must be able to remove personal data regarding that customer from your systems. Source: IP lawyer I talked with last week on this.

From what I can tell, one good way of going about this in case you really do not want to throw away data – such as when you're doing event journaling – would be to have all personal data encrypted. When the data reaches its expiration point or is requested for deletion, throw away the decryption key and all you're left with is is the metadata which you are allowed to hold on to for purposes of running your business.

EDIT: This concept is called 'cryptographic deletion'. Here's one whitepaper on the subject. http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.397....
I don't know why this comment is in gray. I have been repeatedly pressured to "make it run on GPUs" and needed to spin some fiction to buy time.

In the end, if your superior tries to micromanage but doesn't understand the details, then a lie woven from bits of truth, if it helps achieve a goal, is morally indistinguishable from the whole raw truth.
Pictures of both the podcast and iBooks apps in iOS 5.

https://gigaom-com.cdn.ampproject.org/ii/w680/s/gigaom.com/w...

How would they look if you squished it for 25%, 50% or 75% split screen view on the iPad? How would it look on the iPad Pros? In landscape? In portrait?
Catch child predators and terrorism seems like a probable rationalisation.
Interesting. That's definitely not true for my DKB and Sparkasse accounts in Germany.
Well, if a candidate whipped out code from their work project then I would not hire, as it demonstrates a severe lack of respect of their employer's intellectual property.

Of course, unless it was already on Github, etc.

[while I'm in the "there's no secrets in software" camp, there are still policies and laws to follow]
It's true that it's a waste and a shame that it's the new normal today. But the person is not being downvoted for pointing out something obvious, the person is being downvoted for not adding to the conversation that is relevant, the actual content of the letter.

But by all means, create a new post or link a blogpost in a new submission on how terrible this world we live in with 2MB of JS for just a bit of text. I would agree with that sentiment.

But when the topic is optimism, foundation spending, education and other topics, the size of the embedded JS is simply not interesting.
Needs a [pdf] flag
Lucky Guy Finds 300 BITCOINS IN HIS OLD COMPUTER
Of-course! That's the case with most celebs. Maintaining a blog/site cannot be Gate's personal priority anymore.
Recently I was buying some gym clothes and wanted to buy Nike. I stopped to think about why, and traced it back to the early 2000s when I got into golfing, and Tiger Woods was a big influence for me. At that time I bought all Nike clothing.

After realizing that I just need some tops and shorts to sweat in at home, I ended up buying the store brand label, saving myself ~80% in costs.

It's funny how the mind works.
yes! that's along the lines I was thinking. On the surface its such a simple idea, but it doesn't seem to be widespread. I also like that it takes into account time spent on the site, but not as the sole metric.

In my view, this will be part of the future of a somewhat ad-free internet.
The cynic in me thinks this is already known and is in use by a "strategic partner" as a vector. The next version will only make it harder to find and exploit.
backups and archive are a different matter. Archives are meant to not be altered; ever (WORM disks[0]). Backups are made to be rewritten, ~~lost~~, or used for restoration.

[0] https://en.wikipedia.org/wiki/Write_once_read_many
Can't you drive east for a couple of hours and get lots of sun? This was my understanding of Washington.
I don't think there's anything wrong witha build step as long as a) it's simple and b) there are distinct advantages.

Most of the js ecosystem fails miserably at a). And for b) the advantages of es6 and / or jsx aren't universally appreciated.

A good example of a build that IMO delivers both a) and b) is Elm. The build is simple (like compiling anything, but you can get all webpack complicated if you really want) and the syntax, static typing, and compile time errors add enormous value.
Airbus A321LR Long-Range Jet Completes Maiden Flight