skysight-inc/HackerNews huggingface dataset:
Re: property investor effect.

Was thinking about this yesterday and wondering if there was some equivalent of "bitcoin days destroyed" [2] for non-bitcoin title-changes. As in, BDD is a measure of turnover in Bitcoin-land, where the movement of an asset is weighted more highly the longer it was at rest. So with Bitcoin, higher values are good, because they probably mean more hoarded bitcoins are moving.

So the thought was that changes in land title, or long-standing businesses changing owners, or long-standing tenants moving out -- that these sorts of changes might be useful in predicting gentrification.

Obviously, a land-title registry on a blockchain would give this for free, but at least in my city, land titles are very costly to search. But changes in business ownership (small businesses opening and closing at given addresses) might be doable for cheap. Could do a community survey of businesses to find out how long they've been around, then simply track the "permanently_closed" boolean flag for all businesses within the bounding box, to keep track of when things are closing.

Anyhow, still need to do some research to find out whether this would be a useful indicator, but I'm optimistic. Curious about folks' thoughts!

[1]: https://en.wikipedia.org/wiki/Community_land_trust
[2]: https://bitcoin.stackexchange.com/questions/845/what-are-bit...
Apple gets bashed every time they release something, remember everyone making fun of the iPad, or even the iPhone?

> reduced the size of the internal battery by 30%

I'll talk about that. Keep the battery the same damn size and give us more battery life.

> effectively added a second screen

Plenty of people have been talking about the touch bar.

> improved overall performance

If it didn't do that the world would have a new source of non-coal energy, Mac fans screaming at the top of their lungs!

What Apple lacks is the moment is coherency. The iPhone comes with a headset and charging cable that won't work with a Mac. When I plugged my earphones+remote into an iMac and the remote worked, that was magical. This is just silly.

The Mac Pro was resurrected and promptly abandoned. iMacs are MIA. Apple stuff doesn't work with other Apple stuff. More "it just works" please.
I've used DMVPN extensively, but mostly on (Cisco) BFR's.
https://goaccess.io — simply awesome
> C programmers should be able to expect that "optimizations" will not transform program meaning.

That's the official rule, but it's "program meaning as defined by the standard." It's not perfect, but nobody's come up with a better alternative. We get bugs because programmers expect some meaning that's not in the standard. But compilers are written according to the standard, not according to some folklore about what reasonable or experienced programmers expect.

*

Again, the idea isn't that the compiler found a mistake and will do its best to make you regret it. Derefencing a pointer is a clear statement that the programmer believes the pointer isn't NULL. The standard allows the compiler to believe that statement. Partly because the language doesn't define what to do if the statement is false.
Gradually fill the hole with rubber mulch. Better friction than something like gravel, lower risk of the dog "drowning".
Compared with the others it was hard to read on my laptop. I can only imagine how grim it'll be on a phone.
I apologize, "coined the phrase" is indeed incorrect. It was a scientific term before it's mainstream usage. He intentionally initiated the substitution from GW to CC in all dialogues from the White House(the entire GOP?) which ultimately led to the mainstream usage in the public forum. After noting the change in language(and the Dems callng foul) I found his interview and how the public dialogue is orchestrated to be quite interesting. Cannot recommend the Frontline video enough.

I don't disagree, Climate Change seens more appropriate/accurate.
Hospito
I don't know whether Thomas Powers is acquainted with this particular paper, but the paper itself makes it clear that Mr. Powers is well acquainted with many of the documents that form the basis of the paper. Popp's paper and Powers' article are about two different, albeit related, issues: Popp's purpose is to show that the German scientists' grasp of bomb-making has often been exaggerated (though not particularly so by Powers, who has been criticized by Walker for the opposite), while Powers' article considers whether Heisenberg's recently-published letters to his wife shed any more light on his purpose and motives. While knowing what he knew (and thought he knew) of bomb-making helps in analyzing his words and actions, physics alone cannot resolve the matter.
Automating High-Frequency Trading Price Change Forecast Using Machine Learning
Why did you use CBC? It's actually harder than crypto/cipher.AEAD, and what you're doing now seems insecure.
> except for adding just enough JS to do Medium-like lazy image loading to save bandwidth for visitors.

Please, please don't do that: it means that visitors without JavaScript enabled simply cannot view your page.

If a visitor wishes to configure his browser not to download images until he scrolls near them, that's certainly within his power. But if you break your page and only unbreak it for those with JavaScript, then your visitors have no choice.
Based on my (admittedly unusual) workloads, the effective charge time of the 2016 is awful. I already only get 4-5 hours out of a 2014 MBP. I bought a 2016 and only managed 3 1/2 hours. Maybe they've improved that with some software fixes, but it's still a non starter. So I returned it.

I know I'm not a typical user, but I get much better battery life (with lower productivity) out of my windows laptop. Which was not the case when I switched to Macs years back.
I think that "someone is going to notice" is a fair assumption when you look at the rate of log messages on https://blog.cloudflare.com/more-data-more-data/
Show HN: Fast Java Classes for Message Digests (SHA, MD5, BLAKE, etc.)
GP is raising attention to the fact that battery life hasn't decreased, not that people aren't paying attention to the other features. Sure, people talk about the smaller battery, screen, and performance increases. But it's an achievement that these were added without absolutely gutting the MacBooks' battery life.
I know you know the answer to this (i.e. move to another vendor, as you would for any vendor that goes away), so my apologies in advance for not understanding the point you're trying to lead me to.

I guess I don't understand the alternative. Go out of business?
New Memories and Architectures Ahead: PCM/FeRAM/MRAM/ReRAM
> Finally, I use Nginx's dead-simple proxy cache to make most page loads take < 600 ms

600 ms is appalling. Most site should be able to get under 50 ms easy (ignoring internet latency). A blog should be less than 25-30 ms, even if it has to hit the database.
They all send host headers over HTTPS (unless it's http2, because the protocol is different). But the host headers don't get sent until after the encrypted transport is fully setup. And to set up the encrypted transport, the server needs to send a certificate. So the server needs to send the certificate before it sees the host header. That's what SNI helps.
Hey! We've built an API that searches the web for information
5 Must Have Tools to Increase Your Conversion Rate and Boost Sales
It means that empty loops (loops with empty bodies) can be completely removed if the controlling expression has no side effects.

> This is intended to allow compiler transformations such as removal of empty loops even when termination cannot be proven.

It means while(i) {} can be eliminated as if i were 0, because there are no side effects in the loop expression or the loop body, and what would be the point of the loop if it never terminated on a non-constant expression?

As an optimization, the optimizer is allowed to eliminate it as a useless loop with no side effects. If you really want an infinite loop, you can use while (1) {}.

There are cases where automatically generated C code might have empty loops which are useless.

If you really want to go to sleep, use pause() or similar. An infinite loop eats up CPU cycles.
*I was incorrect and noted normal macbooks, not MBP. Normal macbooks are terrible in price to performance, MBP is better, ignoring all the other things about it.
Does this mean that it'll be harder to accidentally end up on Medium? If so, great.
Agreed. Just got mine a couple of days ago, and I'm enjoying it so far.
Looks promising. AI still has time to go before it can automate complex tasks. Also training models requires a lot of data, labelled training data is a huge bottleneck. Are there any other use cases you have planned for AI training data?
The Modern Algorithmic Toolbox: Compressive Sensing [pdf]
Seriously, I'd advise that you implement an HMAC today, and implement GCM tomorrow — using raw CTR mode really is that dangerous. And make sure that you never ever ever reuse IVs, ever.

This sort of thing is incredibly dangerous. Props to you for coming up with a great UX, but crypto is very, very difficult to get right.
That land was stolen from the Arikara/Sahnish by the Sioux using guns and horses acquired from trading with Europeans. The descendants of the Arikara/Sahnish now live on the Fort Berthold Indian Reservation.

The venue to resolve this dispute was in the courts and the timevto do it was Years and decades before there was a project planned for that land. However, if we're really going to go down this absurd path, let's take the entire Standing Rock reservation away from the Sioux and hand it over to the Arikara/Sahnish.
As others have said, referer (sic) spam. Bots often show up in your logs but not Google Analytics if they don't execute JS.
I'm not too sure 1 is a problem in the real world. Most popular outside-of-app-store apps I'm aware of have built in updating mechanisms. Think Sparkle and the like.

If you use iTerm, you know what I'm talking about.
I wonder if the Finland's baby boxes help. They have almost half the infant mortality of the US.
I get a pretty good runtime out of my 12" MB, and, I found that the tools Apple provides to diagnose power usage were pretty god. Every time I see a complaint like this I always wonder what the cause is...
Set a reminder for 1000 years from now, and I will tell you how reliable they really are.
Well yeah. Use it or lose it, as they say. In weightlifting and powerlifting, grip strength is something that some people focus on in their training...can help a lot with deadlifting and such. Things like farmer's walk or just single-handed static barbell holds can help improve grip strength a ton.
4th one down :)
Are you controlling for the screen having a higher maximum brightness?

I thought I was getting much worse battery life on my new MBP compared to my old one, but then I paid attention to screen brightness - when I level match the screens to the same level of brightness, I get the same battery life as my older one.

I'm used to just jamming the screen to 100% brightness, so I've had to get used to keep it around 70% or so.
My particular crime? Heavy VM use with multiple concurrent OSes and server processes.
Its very efficient _at doing NOTHING_. Start using CPU and its 1 hour max.
When I say MacBooks... I mean the MacBook Pros. As in, what this article is talking about. Apple never reduced the size of the MB battery by 30%. Or added a second screen. Or kept performance they same (they improved performance gen-over-gen with the MB). Use your head. Apply some context.
> Sugar was being consumed just a heavily before the war

No. http://wholehealthsource.blogspot.com/2012/02/by-2606-us-die...

It was relatively hard to produce, expensive to import, and the scientists did not yet invent high-fructose corn syrup.
To be honest no, I didn't. But I also don't generally change my screen brightness. So I'm not sure I ever even checked what it was at on the 2016.
> Under what set of logic does being able to de-reference a pointer confer that it's value is not 0 (which is what the test equates to)?

You're conflating null and zero (which C encourages you to do for various terrible reasons). The test does not test that x is not zero; it tests that x is not null (null, like zero, is falsey, but again, null is not to be mistaken for zero), which in C is sometimes represented by the character '0' but which legally can be totally distinct from the bit-pattern zero and which should be thought of as totally distinct. Zero can be a valid address in memory. Null is never a valid address in memory. The integral type with value zero when cast to a pointer is guaranteed to be the null pointer (which may have a different bit pattern than zero!). Casting non-integral types that happen to have the value zero to a pointer is not guaranteed to produce a null pointer. Confused yet?

The compiler isn't. It knows that you're testing that a pointer is not null.

Since x has already been derefrenced, and since derefrencing x has no translatable meaning if x is null, it follows that we can only produce a meaningful translation of this program iff x is not null.

It therefore follows that x must not be null in the test, since x has not changed.
I will attribute this to Intel's advances and focus in low power processors, not much credit goes to Apple in my mind.

The Macbook pro 2014 used Haswell processors which are notably more power hungry on idle than Broadwell and its successor Skylake, as Intel really focused on power draw with Broadwell.
You mean the battery life is less than for the previous generation, or that it takes longer to charge?

While Apple seems to improve idle power efficiency, not much is or can be done about high CPU workloads, but decreasing battery capacity doesn't help at all.

My 2012 MPBr shows ~94Wh capacity from System Report. I know they've changed battery sizes several times since then - down to ~75Wh, then more again.
Not saying you're wrong at all (in fact I agree), but I think that an important thing to remember is that smart people still have limited time like everyone else, hence they will probably be less enthusiastic to fritter it away on "meaningless" social interaction and small-talk when they could be doing something they consider useful, challenging or stimulating.

This tendency IMO tends to make some smart people less adept at social interaction, just because they do less of it. Not all smart people, but definitely some of them. Probably everyone knows an intelligent person who is socially awkward.

So that's another influence. But it's all generalizations.
There have been successful attacks on locked macs via the thunderbolt port.

I'm thinking of one in particular which I can't find at the moment, but I remember seeing a really fantastic video where one guy described in detail how he reverse engineered the mac thunderbolt interface and was able to flash malware bootcode on to it even when locked. Once that malware was installed, it could do pretty much anything, including get encryption keys to your hard drive, intercept all keystrokes, etc.

If anyone has a link to that, please post it here.

Also, there this:

https://news.ycombinator.com/item?id=7123121
Except for generating energy is converting energy from one form to another where creating energy is impossible. (e.g. Law of Conservation of Energy)
Huh. I develop on a beefy server, and give everyone who works with me beefy servers, too.
OpenTable sends cease and desist to Tock
It allows the optimizer to assume away the halting problem; all nontrivial loops are obligated to halt.
The Mathematics of Web Search
The code has now been improved with all the suggestion friendly made by the Hacker news and Rust subreddit communities. Thanks!
That's actual life. I never manage more than five hours while working on my current 2014 MBP 15". The loss of additional time under load on the 2016 was a deal killer for me.
Read the blog post and it does sound more reasonable that they mention planning to talk to existing sites about the change before introducing ads everywhere, which weakens my analogy a bit. Still doesn't assuage my secondary concerns.
That is fixed now, conclusions are still valid :-) Thanks!
>The catch you're pointing out is that on x86 there are technically no 'invalid' addresses

Depending on what you mean precisely by "x86," there is such a thing as an invalid address: the IA32e architecture (or whatever you want to call Intel's flavour of 64-bit "x86") requires that the <n> high bits of an address match, where <n> is machine-dependent.
My impression (recalled over a decade or more) is that the play uses the meeting to launch into an exploration of the moral ambiguity and - yes - uncertainty surrounding Heisenberg's wartime role. The fictional dialog is much longer than the actual meeting apparently was, and it refers to events that were subsequent to that meeting. IIRC, it followed the publication of Thomas Powers' book on the topic but preceded the publication of the Farm Hall transcripts. I thoroughly recommend it.
FWIW, Bill Warner's PhD is in math & physics.
The closest they came to testing that hypothesis was to conduct surveys across residents of various countries, and it turns out the "laziest" countries are not the obesity leaders (although arguably laziness here is self-reported)

http://www.telegraph.co.uk/news/health/news/9405918/British-...

I don't know if anyone has good data on the amount of walking per capita per country. Maybe FitBit would have decent stats, but then their userbase is a bit self-selecting.
I have to say, I have never encountered a program where compiling without optimizations made no difference. If you have seen that, then I would agree that C was a very, very poor choice for that particular domain.
Interesting to see complex pieces of software including features that are primarily used for testing. I guess this is a natural next step after having testing micro-formats[1].

One thing I don't like about GCC's testing framework is the number of files. If you need to test 10 related things (say, diagnostics for a particular language construct), then you will have 10 different test files. I would much prefer for them to be in a single file. This is one of the goals of Testscript[2].

[1] https://blog.nelhage.com/2016/12/how-i-test/

[2] https://build2.org/build2/doc/build2-testscript-manual.xhtml
- access to weapons
- has mental instability issues
- supports use of violence as well as using religion as a justification for violence
Mac laptops these days are built with backlights strong enough to compete with daylight. In typical working conditions, 100% is way overkill.

For max long term comfort, your display should be no brighter than the ambient light levels. Otherwise--if the display is way brighter--your pupils will have to contract when you look at the screen, and dilate when you look away. Your pupils are controlled by muscles and like any muscles, they can get tired.

I have a 2012 MacBook Air and I rarely have the brightness over 50% indoors. And the new MacBook Pros have way brighter screens.

Sitting in my living room right now, my iPhone is at about 15% brightness.
The article defines "usage" as "high load". That could still mean that any fixed workload is handled better on the new MBP than the old version.

I'm pretty sure that the new CPUs are more efficient – in terms of power/workload – than the previous generation.

That would mean the new MBP is <= 25% worse for a given workload. Maybe somebody knows the numbers for the CPUs, but previous generations improved efficiency by 10-30%.
I love the new 2016 MBP, and after using it think most of the purported issues are BS.

That said, there is one very real issue that I haven't seen mentioned anywhere: because of how thin they are, many of the minor issues that could previously be fixed in the Apple Store now require sending it out.

I had an intermittently working key on my keyboard and took it in for something I assumed would take half an hour to fix. They told me they needed to mail it in and it would be 4 - 6 days, probably 4. It's now going on day 13.

Fortunately my last one was old enough that it had zero resale value, but for anyone thinking of upgrading I'd highly recommend keeping a backup.
> A true Malthusian is a dangerous thing, in my opinion, insofar as they fully claim that the only way that we can all be rich is by limiting population.

I'm with Julian Simon (in terms of the desirability of manually controlling the birth rate -- I'm against it). People naturally limit their offspring as they become richer -- and why not?

As machines do more and more work and thus people get richer I assume the birth rate will continue to fall. I do think the birth rate is way too high.
This looks interesting. Have you used it?
I'm often highly mobile with unreliable connectivity (think back country Alaska/Washington/Missouri/etc). Remoting is not a reliable option while traveling. Now when I'm working from home, I have other workstations I can connect to. And if the connectivity on the road is decent, I do have equipment I can connect to.

However I generally find my most productive workflow is all local. Which is why I was doubly disappointed by the lack of upgrades to 7th gen i7 and 32GB of RAM. The battery life loss under load was just the straw that broke the camel's back.
I had the same experience. I bought a 2016 MacBook Pro and with my usual work load of a VM, IDE and browser with 20+ tabs open battery life was worse than my 2011 MBP with its original battery. So I returned it. First apple return in 23 years.
I think a lot of people are talking about the new MBP as if they had one. It's 2017 and a too many power users still base their opinion simply on specs divination -- that is, theoretical musings about this and that component will perform.
Especially with Apple, it should be clear that the whole thing is much more complicated than a 1+1 based on a spec list.
>For example 0 is a valid address in many cases (even in some versions of UNIX).

0 may be a valid address at runtime, but a NULL pointer is always invalid.

On such platforms, the compiler should handle 0 pointer values correctly - and the NULL pointer may not have a 0 value, and must not compare equal to any valid pointer.

But 0 or NULL constant, when converted to a pointer type, MUST result in a NULL pointer value - which may be nonzero. Dereferencing such a pointer is an UB.
Can Pollsters Drive Down Crime?
We (the West) were screwed over by those who brought Arabic numbers into Europe ... They should have reversed their order as they did it ... It makes addition and subtraction easier if you work them right to left as in the original Arabic
Let's not call the touchbar a "second screen". Yes, it is. But it's just that - a touch bar/ status bar.

Most commentary around 5th vs 6th generation is that it's pretty much identical.
Rails backend, react/redux frontend.

I use the `create-react-app` which means no build config at the trade off of some nice-to-haves (CSS modules >_<)
The second factor
Are you using VMWare Fusion by chance? I've noticed lately in my 2 year old MacBook Pro that it just slays the battery when running, even when VMs are idle.
I read this as, will confuse the snot out of hapless newbie programmers trying to learn C via stepping though their code in an IDE. While providing no practical benefit to programmers writing production code.
Have had one since November and this mirrors my experience. YMMV, but I find that the 2016 MBP charges quite a bit faster than the 2015. For me, I prefer the faster charging over the slight increase in overall battery life, with the added bonuses of the '16 using a standard charging cable. Anyone with a newer Android phone (and soon, airport shops and convenience stores nationwide) can hook you up with a spare MBP charger in a pinch. External USB-C batteries are also easily available and add as much portable charging capacity as you want to buy. Anyone serious about needing to travel with their laptop will probably find it easier to keep a '16 MBP charged than before.
Brave New World doesn't seem like a dystopia at all to me. You're always having fun and if you want to intellectualize you can also do that among your peers.