skysight-inc/HackerNews huggingface dataset:
Oh, finally the TDD fad is dying. Never got into it and always thought it is a complete waste of time.

I advocate to write tests only for critical algorithmic calculations and nothing else.

Integration tests matter 100x more (at least in webdev).
That is not true at all. There is still a lot of animosity between the two factions, even if some intermarriage has occurred (and is irrelevant given that they are genetically identical anyways, as native doesn't refer to the real Polynesian natives). Mainland-native identity politics is very real.
Running really fast tests (podcast)
Future of Bitcoin conference livestream
The same is btw. true for SATA, SCSI, SAS: the "DMA modes" (UDMA etc.) mean that the host controller is doing DMA transfers, while SATA drives cannot initiate nor control DMA transfers.
These things are useless anyway :P
I'd be concerned about power usage and thermal dissipation, apart from that the Ryzen & co procs look awesome.
It depends on the device. I used to use the Microsoft Band 2, and it seemed pretty good to me - at least it helped to validate what I believed to be my sleep patterns. In contrast, I now use a Garmin Fenix 3, and it's completely and utterly worthless for sleep tracking - it routinely decides I'm sleeping when I'm in bed even if I'm on my phone or change the display on the watch, and it rarely picks up the times I wake up during the night. --It's too bad, because for activity tracking throughout the day it's actually really good.

But doctors don't seem to trust the consumer devices (probably with good reason). When I had an actigraphy, they used a special device made by Phillips, and used the results to verify that the sleep study results weren't a one-off night.
Delivery Hero’s valuation surpasses $5B following successful IPO
On the other hand the main reason we have UPnP at all is to deal with the need to work around NAT - maybe these vulnerable devices simply wouldn't be running a UPnP stack at all under IPv6.
Presumably there are some economies of scale, startup costs, and minimum volume to make all this work. But, yeah, with some clever PR and promotion you'd think you could get a business of this type to the point where it's a fairly attractive niche business. With less pressure to max out revenue per customer now it could even be a more attractive product that could more easily survive alongside grocery delivery.

But, as you say, there's all this growth pressure to win the land grab and dominate the category which puts customer acquisition costs through the roof.

[Added: Having said that, I think churn is always going to be a problem with a business like this once the novelty wears off.]
Common Lisp is not in any way a minimalist language. Most implementations are compilers, not interpreters.
hasn't twitter struggled to attain profitability for years?
Serverless chatbot lessons learned
Soepele spieren en gewrichten zonder pijn
hypothesis:

- listens on multicast/1900;

- response over unicast, thus ephemeral sport.

so we use DPI to drop SSDP DDoS-es.
There's a flipside to this though - this is how you get shit and useless products. What you (or Taleb) are describing here is a money-making specialist. A person who can play the market and management game well. That's almost entirely orthogonal to creating the best product, or doing something valuable for society.

The argument I'm trying to make here is very similar to the one about MBAs ruining companies. You get people who can play the market game so well their incentives get completely misaligned with what the rest of the company would like (and what the customers would like).

And in general - as a society we like free markets and competitions because they're supposed to give us a spectrum of products, from cheap but good enough to expensive and high quality, in an efficient way. But people who are too good at optimizing for the way markets work can make money without giving us the result we expect, thus ruining the very reason we want capitalist economy.
“Michael Reich, a UC Berkeley economics professor who was lead author on the Berkeley report, said he found the UW team’s report not credible for a number of reasons.”

http://www.seattletimes.com/business/uw-study-finds-seattles...

The UW report is the one that this paywalled article refers to.
I didn't have any significant MATLAB background when I started using matplotlib and I found it a joy to use.

I think "organic" part of the API is very well integrated and completely optional in most places. For instance, you can use the matlabish shortcut "subplot(111)" or you can spell out the parameters in a pythonic way as "subplot(nrows=1, ncols=1, plot_number=1)".
I'll repost a comment I posted on this topic a few days ago. (In this discussion: https://news.ycombinator.com/item?id=14656168)

If you'd like some real criticism of the UW study, the author of the Berkeley one has published a letter which goes over a lot of the methodological problems.

http://irle.berkeley.edu/files/2017/Reich-letter-to-Robert-F...

Here's the best points, I'd say the UW study is quite problematic.

The UW report excludes multi-site businesses from its dataset, which removes 48 percent of Seattle’s low-paid workforce out of their study.3 This major exclusion raises a big red caution flag about the representativeness of their sample and therefore about the interpretation of their findings. Yet the UW report provides essentially no evidence that their sample is representative of all jobs in Seattle and Washington.

In the UW data set, workers who leave a single-site business for a multi-site business to benefit from the higher wage mandate or because they received a better offer are not counted in the wage gains, but are counted in jobs lost. Seattle's policy essentially sets a higher minimum wage for all multi-site businesses, counting them as large employers.4 The exclusion of multi-site businesses, which is not standard in studies that use these data, may therefore create major biases in their results. Of course, some employees may move from multi-site businesses to single site businesses, but this mobility direction is likely to be smaller. It is not possible to estimate the size of this bias without access to the underlying data.

The UW report focuses only on jobs that had paid less than $19, which surprisingly is much too low. Table 3 of the UW report indicates that the number of jobs paying under $19 in all single-site businesses fell by about 6000 between 2014 and 2016. Yet the number of single-site jobs at all pay levels in Seattle increased by about 44,000 in the same period. This pattern of average higher pay and more employment appears also in food services: a decline of about 150 jobs paying under $19 from 20014 to 2016 and a simultaneous increase of about 4,500 jobs in all pay levels at single-site food service establishments. These numbers represents very good news: Seattle’s pay levels and job numbers both went up, at least among single-site businesses. We want to know, though, how much of this upgrading in overall pay and employment at all pay levels can be attributed just to the minimum wage policy.

The UW report nonetheless finds an unprecedented impact of wage increases on jobs, ten times higher than the average in 942 published minimum wage and non-minimum wage estimates, and triple that of minimum wage critic David Neumark
I have one up on Github. But as I am a Python beginner, I am not sure if this is sophisticated :)

Basically, currently I am just accessing the HN API to plot the score graphs for one or multiple story items.
https://github.com/martinweigert/hacker_news_analysis

So this doesn't really generate any valuable insights. But I'd be happy for suggestions about what type of data/visualization would be valuable. Good to have a challenge to tackle :)
NGO are trying to cut cost down. They tray to focus to their mission as efficient that they can. Doctor without Border is faster in some case than public emergency service.

The difference is that what is seen as cost, private company often see the product they deliver as a cost.
The problem is that what we understand as theoretical democracy and what is generally practically applied on the ground are two philosophically different things. An anti-thesis of democracy itself.

Prof Lawrence Lessig of Harvard nails it when he calls this type of corruption of democracy as Tweedism.

Here's a quick summary of his thesis (2015):
https://www.youtube.com/watch?v=PJy8vTu66tE

Here's a longer, more academic, version (2014):
https://www.youtube.com/watch?v=pFZEV7TeZBg

Both talks begin with the Hong Kong student protests of 2014.
Ask HN: Who is using css grid in production?
I was passionate for the first 11 years. The last 2 I did it for the money.

After solving so many difficult problems in my life, I feel that the only difficult problem left for me to solve is making lots of money.
> How come we're not innovating more on the structure of those companies?

We are, but probably not in the way you'd like.

It all boils down to the fact that the strongest influence on a company comes from the market. So whatever innovation happens, it's shaped by the market forces. As it is, it turns out the market will allow almost any shit to fly within the company, as long as the sales & marketing team is doing their job. Hence crappy products can get made and workers can be unhappy, while the company can still succeed.
Taxi Booking App Script – Uber Clone at Logicspice
Leeds hack 'weaponising' Ubuntu for NHS Windows take out
I actually knew about them but never about Nokia.
Depends on the amount of editing required.

It can something as simple as changing several bytes using a hex/bin editor or something more involved like disassembling the binary, patching the assembly and then assembling it back.
you're not supposed to marry two kids.
Disabling "quick view" also saves a chunk of battery life. Which is always helpful.
> One makes a guess that as digital delivery becomes a bigger part of the pie for them, the cost of managing physical inventory becomes more burdensome to them

But they also are ditching selling ebooks
The elements that are must for travel apps
Travel apps must be designed with specific concepts that could help the users get the most out of these applications. The ones that are the most functional are generally loved and liked by the users the most.
Photobucket limits displaying of images on external sites to $40/month plan
The image-diff library the article uses[0] depends on ImageMagick. If you want a library that does it entirely in JS there is js-imagediff[1] which is used by the excellent CSSCritic[1] to do visual regression testing entirely in the browser.

[0] https://github.com/uber-archive/image-diff
[1] https://github.com/HumbleSoftware/js-imagediff
[2] https://github.com/cburgmer/csscritic
Fresh JavaScript articles time
Is this all with the same company?
That's a great exhibit you can be a total douche company fucking over everyone, and as long as you don't hit a socially superhot topic (e.g. sexual harassment), it won't affect you negatively in any way.
I wonder if this will have an effect on how kids get into programming. Back when I was a kid we had MS-DOS, my primary motivation was to install and play games, but there was this easy built-in pathway of: Hey, you can do a lot more with this machine if you want, including making your own games.

Nowadays consuming and developing are so disconnected, it seems almost impossible for the younger generations to just stumble upon it like many people did back then.
"Reality is that which doesn't go away when you stop believing in it"

I gave very specific examples. When I open the trunk of my car, are there now two cars, one with the trunk not opened, and one with the trunk opened?

Now there may be two universes (many worlds interpretation), but so far there is no evidence that this interpretation has validity, and we have no way of accessing these two universes. As such, it is not a very useful description of the way the world works, as it doesn't actually visibly work that way, and very specifically visibly works differently.

> Time, after all, is (we believe) simply another dimension of spacetime

And objects move through space-time, thus changing (mutating) in their attributes. Objects aren't immutable in space-time and have to be destroyed/recreated continuously.
Yep, I hide the toolbar all the time. But OS X has a habit of bringing it back randomly, often when you open a folder you've not visited before, or when you insert a removable volume. I wish there were a defaults switch I could use to kill it forever.
The FIT file format is available online (might have to sign up to the ANT Consortium or something, I forget.)

But...it was designed and implemented by embedded engineers who looked at TIFF and thought it wasn't batshit enough.

http://garmin.kiesewetter.nl/ is useful for converting them to CSV and extracting the data that way.
Yes and no, I guess. Yes: iPhone/iPad showed what to do properly with a touch screen on a phone or some other portable device. No: if they wouldn't have done it, I am fairly - if not 100% - sure somebody else would have done it. I had an industrial touch screen PC more than 10 years before iPhone existed. Even then, using it with a non-touch aware OS, I reckoned there was future in it: that thing, but smaller and flatter and faster and fitting into your pocket wasn't too hard to imagine. I'm by far not the most creative and definitely not alone on the planet so if even I could imagine something like my TI calculator but with a touch screen and a mail reader and my GameBoy games, others could as well, and better. So that's what happened, and Apple was basically first. And immediately spot on.
Yeah agree, but pretty much anything can be "simplified", short of being fired.

The "company got acquired, added 'no swear' policies & removed perks' so I said fuck that and left", can be simplified to something vague like "the company got acquired and changed direction (you don't even need to mention culture, but you can), I'm looking for something more like what you're doing here at 'New Company' ... ".
I'm just not a native speaker of English. I'm pretty sure you'd be surprised by how many regulars that frequent NH aren't... your notion of majority and minority is dependent upon the social milieu you move in, and yours and mine are clearly dissimilar. And that's fine and well, provided the occasional olive branch is mutually proffered to ensure everybody is reading from the same page.
I have started intuiting it like this. I want you to imagine the concept of a "producer of values", which is a fairly broad notion. This can be

1. a list, which produces its elements one at a time;

2. a computation that might fail to produce a value, which either produces one value or none at all;

3. an I/O computation, which may ask the user for a value to produce),

4. a stateful computation, which produces a value that may depend on some hidden state;

5. a parser, which produces a value that may depend on the source data being parsed;

6. a source of pseudorandomness, which produces a that is unpredictable;

or any other of a nearly infinite set of things. For such a producer of values, we can imagine that

A) The Functor instance says, "Hey, give me a function and I'll create a new producer that produces the values you get if you apply that function to the values I produce."

-- Example: If the producer is the infinite stream [1..] and the function is (^2), the Functor instance lets us create a new producer that produces the infinite stream of positive perfect squares.

B) The Applicative instance says, "Okay, that's cool, but you know what I can do beyond that? Give me two different producers of values, and I promise you I'll create a producer that combines values from both of the two producers you gave me. So in a sense, I am a combiner of producers."

-- Example: If the first producer is a database of previous actions the player of a game has taken, and the second producer is a source of randomness, the Applicative instance lets us create a new producer that produces an AI decision based on player action history but with some randomness thrown in to look more human.

C) The Monad instance says, "Pah, and you thought that was neat? Look what I can do! If you give me a producer and several different possible producers, I can create a new producer that chooses which of the different possible producers to run next based on the values produced by the first producer. So in a sense, I am the opposite of Applicative: I am a splitter of producers."

-- Example: if the first producer is a stateful computation that extracts the player health from the state in a game, we may have two different producers lined up to follow: one produces a commiserative message mentioning their score, and the other produces a message telling them round number n is starting. The Monad instance lets us create a new producer that delegates to either of the two depending on whether the player is dead (health <= 0) or alive (health > 0).

... I should really get around to writing this blog post ... I feel like I have rewritten it a thousand times in various comments at various points...
Camus has been a guiding light for me through my youth and I still draw from him today.

The human absurdity is very real in the modern condition. The challenges we face are so much more profound these days.

With Nuclear armament, AI and climate change, We are literally dealing with topics that frame the end of humanity, but we can't face it.

In the rebel, Camus teaches us that rebellion is probably a futile task.

Governments won't save us, so why riot?

Acceptance of absurdity gives us true freedom to create. Acceptance of systems stifles our ability to solve problems. Technology as a movement is heartening, as long as we continue to break it, reinvent it, hack it - in order to rescue ourselves.

Thanks for sharing this, made my day.
No sophisticated society should subsidise operations that pay people insufficient to live on.

The greatest gift to firms required to pay a $15 per hour wage are customers earning $15 per hour.

If you want productivity to drive forward the standard of living you need to eliminate the parasite businesses.
We haven't done software right in Europe. Really, we only have SAP and computer games companies as massive software companies. We have been terrible at software. It's very worrying for the remaining industries that software will soon eat: automobiles and trucks. We're way behind there. Deja vu all over again, maybe?
Link is 404, include the period '.' when copy-pasting.
I want to understand what's being posted, but I am being asked to pay for that, so in leui of having the ability to comment relevantly, I have to ask a serious off-topic question: why is it acceptable that we aggregate paywalled material here?
Yes I don't think connected devices are always the best, but the person I was replying to was doing the classic informercial black-and-white video impression of someone pretending something is more difficult than it actually is.
I've found the app cleaner, but more difficult to use. I have several complaints about this new app:

- Heart rate used to show on a chart that would show normal range and your history. Now it's a single number. I have to swipe to see my history.

- I can no longer swipe pinch to customize the date range.

- They removed one of my features, a running average of my weight over time. If you zoom out to three-month view, you can still see an average. However, I liked seeing it always.

I think they could have updated the fonts and made the background colors shades of white and gray. This would have made it felt clean without removing a ton of functionality. Perhaps mocking up a redesign will be a weekend project for me.
> In Transparent mode I would assume any DMA attacks which work today would continue to function

That makes sense, DMA must be possible in transparent mode or otherwise nothing would work. Which also means there must be physical possibility for PCI devices to use the encryption engine.

However, I suspect that the only key ever available to PCI devices is the key of the host OS (if transparent mode is enabled) and encrypted guests can't use DMA to passed-through devices at all. Otherwise, the host could try to program a passed-through device while the guest isn't executing at the moment and mess with the guest's memory using DMA. If that's true, a simple solution to hide from DMA attacks is running inside an encrypted VM, assuming that they really got the design and implementation of this feature right.
Installing the Top 3 Europe supercomputer
Awesome list of Style Guide related articles and resources
Why must they be communicated? Surely it is the rest of civilization that decides which ideas it is ready for, and which it isn't. Go ahead and write a song like "Imagine", or give a speech like "I Have a Dream", and you'll see how well the rest of civilization responds. Civilization isn't pretty; communicating ideas the people aren't ready for gets you killed.
I don't think any Fitbit has that functionality yet. SleepCycle for iOS has "snore detection" if you use the microphone mode (I suspect other apps have similar options by now.)
I haven't figured out the actual arrangement behind HDM Global, but can't helping thinking this is just some temporary arrangement and Nokia will acquire it if the phones turn out to be a success. I would say they are definitely planning a real comeback to consumer market.
Other users have made similar points that McMansion Hell was somehow advertising for Zillow by using their pictures, but why would you want to sponsor a blog whose express purpose is to make fun of or criticize listing on your site?
They level out to some extent, but they also enable far larger spikes to form when external events cause normally relatively "random" things to synchronise into narrower intervals across a large number of households.

E.g. the UK has what is called "TV pickup": Shortly after East Enders ends (daily evening TV soap opera), you'll get the sudden surge of 1.5m+ electric kettles turned on at once.

We see that type of situation where "random" events coalesce into very narrow time bands in all kinds of areas. I'd imagine we'll see this type of thing also happen for automated processes. E.g. air-con units ramping up based on thermostats in very lose proximity in the same areas etc.

I feel this is one of the areas where we need a smarter grid and smart home tech and home based batteries to work in conjunction to time-shift load and smooth out the demand more.

E.g. a hot water storage system can afford to turn off for 5 minutes (or whatever) and let the water cool slightly to take advantage of a discount 5 minutes down the line, or an air con unit can reduce speed for the same reason. Or a deep freezer that takes advantage of whatever the safe variation in freezer temperature would be.

Or, hey, I'd like a button on my washing machine and dishwashers that say "I want it to be done by time X. Find the lowest guaranteed rate (e.g. nightly rates) that will let you complete by X. If between now and then you get an offer for a lower rate, start then instead". Most of the time we just set "random" time delays to run them during the night, but most of the time I don't care if it actually runs then as long as it's done by the morning or by the time I'm done working etc.

You already have that happening to an extent at industrial scale. E.g. with industrial processes that require lots of energy that can be slowed or sped up according to prices, but there's a lot of discretionary demand in home as well that could be leveraged to smooth out the demand curve a lot more, and with a battery tied in it could smooth it even more.
Thanks! That's actually data I collected myself.

This animation is part of a blog post I just published [1]. I also have a notebook on github with an example (data & code - [2])

[1] - https://medium.com/football-crunching/the-zone-where-it-happ...

[2] - https://github.com/rjtavares/football-crunching/blob/master/...