skysight-inc/HackerNews huggingface dataset:
Lots of insight on the value wars on satellite imaging in this post from Valery Komissarov, a "space" VC:

https://medium.com/@V.K.Komissarov/moment-of-truth-for-new-s...

Actually, the whole blog is worth bookmarking if you're into this field.
In C++ it's quite easy to get burned by keeping a reference to something where the owner went out of scope eg.

class Foo {
int bar;
int& getBar() { return bar; }
}

if you take ref of bar and Foo goes out of scope well fuck. It gets even worse, eg. :

vector<int> foo;
int& bar = foo[i];
foo.push_back(1)

that last line can cause foo to reallocate the buffer and bar is then invalid, meanwhile that code will compile without warnings (well I'm guessing it will I haven't done C++ in a year :) )
I'd be curious what is the source of the claim that "most cities have a class of elderly landowners..."

I suspect these are cities which employ controls to cap the taxes on the property owned by elderly people.

If the city employs an age-blind property tax, then elderly people on fixed incomes get taxed out of their residences, which is an equally problematic phenomenon.
Others might not know you're getting 300k man
And in both cases, Chrome OS and Android, the fact that Linux is running underneath has zero value for the Web and Java developers targeting the respective OS.

Google can replace it by something else and they won't notice.

This is just a Pyrrhic victory, but geeks haven't yet realized it seems.
I'd hope someone with that much experience would be able to grok at least some of it? I guess it isn't explained that well though.

As I understand it, if you have a structure that has a pointer to something (like a User struct pointing to an array of permissions or some such), and the memory pointed to will be freed when the structure is freed.

There is a case where code can keep a reference to this pointer around longer than the user struct it belongs to, so when code tries to use it it references an invalid pointer. This is bad. Rust takes care of this in some clever ways, so you cant have a pointer/reference that outlives it's parent.
> I don't think legally a company can fire you

In places which have "at will employment" regulations, they can. From https://en.wikipedia.org/wiki/At-will_employment:

At-will employment is a term used in U.S. labor law for contractual relationships
in which an employee can be dismissed by an employer for any reason (that is,
without having to establish "just cause" for termination), and without warning.
Google can replace it by something else, Chrome won't complain.
Funny, so did I. Extremely talented team, and hands-down some of the nicest people I've ever worked with. From what I've heard of Planet, it seems like a solid cultural fit - excited to see what comes next.
> What Rust Can Do That Other Languages Can't

But other languages are Turing-complete too...
I can attest to this experience on Centurylink gigabit trying to stream Comcast's Xfinity Go, or streaming Netflix while on Comcast before they made the backroom peering deal. In the evenings, they would either run at the lowest quality, or buffer very often while running in potato vision.
> I don't think legally a company can fire you just because you are looking for a job, that too without giving a notice

I wish - not where I work (California).

There are protections by law [1], but none that protects an H1B employee from being fired for trying to quit.

[1] - https://en.wikipedia.org/wiki/At-will_employment#Statutory_e...
To be clear: it's not just hard, it is explicitly wrong.

A more correct measure is a much simpler one: the aggregate product of all these companies over the GDP. Note that this aggregate product is of course a component of the GDP, so you can express this neatly as a percentage. I see only one major accounting complication in constructing this metric, and that's the inclusion/exclusion of foreign products and subsidiaries. (See e.g. offshore revenues that are not repatriated, and therefore not part of the domestic product calculations -- I think?)
What I Learned About Business from a $10 Box of Lego
Speaker here.

As the slides may not tell the whole story (there should be a video soon), I covered this mostly also for LWN recently:

https://lwn.net/Articles/708196/
Nobody cares when it is 6ms instead of 3ms for partial updates. What is really important is how fast you can create and remove huge amount of nodes (switching pages in SPA, etc), because it is already takes a huge amount of time, and Binding.scala just adds a huge overhead to this cases.
Could you elaborate a bit on this. Looking at the site, I'm not sure how this is different from a traditional Consulting firm.
The computer revolution hasn't happened yet by Alan Kay https://youtu.be/oKg1hTOQXoY
You've hit the nail on the head.

The trick is to discover and curate small city life so that one can live in a small city without feeling like one went back in time. Then you get to have your cake and eat it too.
No large company is particularly keen to vocally oppose an administration, especially not one led by a person so demonstrably thin-skinned and vindictive as Trump. The complicated 'ultra long game' theory is just an attempt to think away the awful moral choice Musk has made - to collaborate with and enable an administration that deliberately stokes xenophobic and religious fears for political gain, at the cost of real and immediate harm to innocent people. It's just bad and not any kind of game at all.
It doesn't. If you maintain a fully rounded meal while also scaling calories in/out it holds.

I can straight up eat sugar only too for a month and have the same weight loss results, also diabetes.
I don't have any stats to back this up, but could it be that immigrants are more law abiding because they have to pass the long and difficult process that verifies them? If the system were to change in such a way that more people can immigrate to the US it seems very likely that a lot of the people who would not be granted citizenship would be the type of people who Americans would not want.

If we look at France or Sweden, two countries who excepted a lot of migrants, we can see that the results are not so good. Sweden is now ranked as the country with the most reported rapes [1] and France has areas where the police are afraid to enter [2] .

Think about immigrations like drugs (medical ones). There are many drugs that can save many peoples lives but are not able to pass the FDA for whatever reason (eg. lack of money). While it is sad that people will die because of that, if most drugs were allowed to be marketed by doctors, many more people could die. Similarly with immigration, currently a lot of people who have the potential of adding a lot of value to America are not allowed in. However, if most people were allowed in, it could cause a lot more damage to America.

[1] https://www.gatestoneinstitute.org/pics/large/932.jpg
[2] https://en.wikipedia.org/wiki/No-go_area#France
5 simple tips to improve your slides
Facebook is terrifying. Bit of a leading statement...
You've missed a critical point in the article: the structure does not have a pointer to something it has a member inline within its stack representation.

Any garbage collector could (with some overhead) prevent invalid memory access when we're talking about an object with a pointer to another object. Rust is able to validate the correctness of pointers to offsets within the stack representation of an object.

(Rust also validates the correctness of references to heap allocated objects as well, of course!)
The Cory Doctorow weekly podcast reading can be legally downloaded here: http://boingboing.net/2008/01/13/podcast-of-bruce-ste.html
> To become a legal immigrant in America takes a lot of effort.

I wish someone would explain this to Donald Trump. He is currently lying his head off about immigrants "pouring in" as though Homeland Security didn't even exist. Just visiting the USA is a huge pain for many people.

I've been hassled entering the USA on a 5-year visitor's visa (in fact, on 25 years of 5-year visitor's visas) with hotels booked, return tickets booked, and a well-paying job, house, wife and pension in my country of origin.

Many people have been handcuffed imprisoned and deported for entering on the wrong visa, including one woman who had an American husband, an American-born child, and several years of living as a permanent resident in the USA.

http://www.theguardian.com/world/2004/jun/05/usa.weekend7
Watch "Food Inc" where this has been discussed in detail. http://dailyburn.com/life/health/diet-truth-calories-countin...
To add on to this, my understanding is that technically "calories in, calories out" is correct in the sense that weight gain/loss depends on the net caloric intake for your body. But your base metabolic rate, and as a result your daily energy expenditure, is affected by many different things, including the composition of the calories and the timing of the consumption. Insulin plays a major role in weight gain/loss, and simple carbohydrates have a tendency to spike it.
The point I was making is that non-mainstream films released a long time ago still have active quality ongoing discussion on IMDB.

I didn't invest a lot time choosing an example film. You're not happy with my choice in Stalker, then replace it with whatever you like that happens to have good discussion on the boards. Perhaps "Celine and Julie go Boating (1974)" would qualify as obscure...

Is anything considered obscure anymore? Before the internet if you wanted to watch Salo (Pasolini), you'd be out of luck unless some film festival was showing it. Now you can just grab the torrent and head to IMDB to join the discussion.
I'm sure you understand that not all language features fall under Turing-completeness.
Gyroscope is doing stuff to combat this! Give it a look https://gyrosco.pe
One thing I can tell you:

ePub is one of the best formats for blind people, they can read all contents of most books very easily. You can (like HTML) basically just dump out plain text by ignoring all the tags.

PDFs are the worst format that is commonly available, it isn't much better than a jpg of text. There are many programs that try to convert PDFs back into plain text, they all get confused by sufficiently complex PDFs. When you look inside a PDF, it is formatted as "put characters ABC at page location X,Y", you then have to try to extract the text from that by manually tracing the flow / columns / etc.
> Just like stealing, hurting people is not part of capitalism.

I am not interested in how/why you rationalize it or the morale judgements you make on it.

You cannot simultaneously claim no harm and feel the need to rationalize the harm caused. The fact you did attempt to do so means you acknowledge the harm caused and consider it acceptable.

Calling me ignorant for pointing out the ugly reality you so verbosely attempt to distance yourself from is quite amusing.

You harm a plant when you eat it to gain the calories to live. The act of eating an apple does not directly cause the harm but the process by which it arrives at your table does. Pretending such use of force and harm is not inherent to human life is extremely dangerous as it is the product of doublethink.
I use this ... http://xdiskusage.sourceforge.net/
Wouldn't reading a book about React before they started working with it be preferrable?

That's something I've seen getting much worse over the past decade with the proliferation of frameworks. What you call "getting up to speed" is tempting to call "playing with". People work with tools that they have no knowledge of. Learning on the job is good, but I think one should have at least an idea of how the tools are supposed to be used and how they are implemented before doing anything else than throwaways.

I don't know how to fix it really, it more of a cultural thing than a technical. Knowledge must somehow be cool and respected again. Or maybe I'm just getting old and this is really a faster way of building things. I just can't think of any other area where professionals jump to the next tool without even learning the one they use.
> given the rate at which people typically move, it's normally a wash

Right, the trick is to not move, but buy and hold.
I avoid iTunes as much as I can on my mac as well, it's horrible. In terms of performance I think the App Store they ship is even worse, it's a travesty of an application and I couldn't understand how Apple would ship something so unpolished and... non-native feeling. I might be wrong but it feels like it's web wrapped in a native shell and it's performing horribly compared to Electron apps.

EDIT: To be fair most of the slowness could be perhaps be attributed to slow network requests as well.
Cory Doctorow Reading Bruce Sterling's “The Hacker Crackdown” (2008)
I'm not the person you're asking but I hold similar views. An alternative argument could be that should your particular zone have a reversal of fortune - war or climate change, say - It would be good to have the ability to move freely to somewhere with better prospects. The world isn't static.
Spacesniffer is fantastic, the custom filter language it's got is quite powerful and super fast once it scanned the target.

Start it scanning then minimize it if you're not watching, rendering the screen slows the scan down. Just let it pain when finished.
True, but China has equivalents of all of them ... if you read Chinese.
Yes, but Rust might still be able to do what other languages can't. For example, to express a given program using at most N input symbols.
I think parent comment replied when the title on HN matched the article title (which called it "Bluetooth snitch API")
But that argument won't fly well: "Bunch of rich guys want to go against the will of the people"
> dump/spread/compress boat loads of sand

Could it be mechanically-stabilised earth [1]? That stuff underlies much of America's interstate system. It's resilient when done right.

[1] https://en.m.wikipedia.org/wiki/Mechanically_stabilized_eart...
Clean string switching with constexpr c++
I have a Tesla, and driving on concrete freeways is so loud it's like I wasted my money on this quiet car.
D is working on it, if I understand DIP1000 [0] correctly. The example would look like:

struct X {
Y y;
scope ref Y getY() { return y; }
}

[0] https://github.com/dlang/DIPs/blob/master/DIPs/DIP1000.md
What's incorrect about my statements? I'm not an account so I could be wrong. From what I understand the standard deduction is unqualified for all tax filers and affects personal income returns.

If a business owns a giant rental complex who will claim the personal deduction? Isn't the interest on the loan just an ordinary part of the business expense?
If they don't manage to reneg their deals with the big three, bankruptcy is certainly foreseeable. 70% percent royalties not including tax and overheads on a subscription model leaves no room for a profitable model. It's a shame because it really is the best service out there in my opinion.
I read the infoGAN paper yesterday. It blew my mind. https://arxiv.org/pdf/1606.03657v1.pdf. This is a way to do disentangled feature representation learning without supervision.
This looks like an app for the quantified self crowd. It seems to just collect all the various body-tracking devices normal people don't use into one dashboard. How's it going to help with the obesity epidemic?
> say "No more file access, no more network connections".

Looks like you're advocating OpenBSD's pledge(2). http://man.openbsd.org/OpenBSD-current/man2/pledge.2
> Point is, it doesn't let me choose. It arbitrarily selects one version of an album which is not necessarily the one I want.

True.

> I can't hear the difference.

That's ok. However a lossless version allows you to switch formats in the future, create lossless and lossy copies. Building a library with lossy audio is a choice you might regret at some point.
> thin asphalt doesn't last long

Do you have a source for a "thicker layer" of asphalt lasting 10 to 15 times longer than "thin asphalt"? What is the cost difference?
There is a big overlap in prover theory. HOL Light comes from Intelite John Harrison.

I don't know much about CPUs, but I suspect that one of the core problems of software verification, the absence of a useful specification, isn't much of an issue with hardware.
The philosopher Alasdair MacIntyre writes about why the future is inherently unpredictable in his book After Virtue. It's in the context of social sciences but it applies just as well here. There's a decent summary here[0]

[0]: http://www.thenewatlantis.com/doclib/20120203_aftervirtuecha...

> MacIntyre argues that "there are four sources of systematic unpredictability in human affairs" which preclude social science from being like natural science (93). The first is radical conceptual innovation, which can be explained in retrospect, but inherently can only be predicted when the innovation has already occurred. MacIntyre notes that this also means that the future of scientific innovation cannot be predicted, invoking the Church-Turing thesis as further proof. The second source is the fact that "the unpredictability of certain of his own future actions by each agent individually" implies the unpredictability of that agent by any other agent, and hence an aggregate unpredictability to the social world (95). The third source "arises from the game-theoretic character of social life" (97). Social life in fact embodies multiple games, players, and transactions and thus cannot be studied as a single instance, reducing the predictive power of game theory. The fourth source is "pure contingency", the way in which "trivial contingencies can powerfully influence the outcome of great events", such as the length of Cleopatra's nose, or Napoleon's cold at Waterloo (99-0).
Ask HN: Are majority of Facebook Ads visitors fake?
I want to ask people with facebook ads experience, is it fake 90% of the time. How has been your experience with FB ads, did it result into sales?
> Most other languages simply prevent you from giving away an interior reference, or require y to refer to a distinct heap object from the X.

Go lets you return an interior reference. But Go uses a garbage collector instead of lifetime checks at compile time (which is an advantage or a drawback, depending on your requirements).
It starts with the issue that most people don't especially like to use computers and will avoid them if they can.
It's a shame many people would make their opinions about Bluetooth API on such poor journalism as The Register offers. Zero credibility!
Slightly off topic but wasn't the original purpose of the interstate system to be able to move war materiel around the country by land efficiently?
Why I Dislike Synthetic Tests
Energy in, energy out sounds pretty basic to me. I would be interested to know where you think your energy intake comes from, unless it is from food?

Or is it just the caloric measurement you think is irrelevant for human energy intake? While obviously imperfect, I'm skeptical it could be an order of magnitude off for example.
Can't say I'm an expert, but I don't think hobbies or other such activities can replace eating too much and/or shitty food. I mean, the typical stereotypes show the opposite: playing console with friends, going out to the movies or to a party, even programming (solitary or "hackathons"), often involve the consumption of loads of sugary soda and other crap. BBQs and similar social meals are often the same.

Hobbies involving exercise may be an exception, but when you're already overweight, these often aren't so much "hobbies" as ordeals, and unlikely to function as any kind of reward.

As someone in the market, it'd help quite a bit if there were healthier and tasty alternatives. Unfortunately, the current offers seem to be expensive and hard to get (if you have to order a whole box over the 'net, forget it).
For more details, check out this talk by Mansinghka, one of the main contributors of bayesDB: https://www.youtube.com/watch?v=-8QMqSWU76Q.
I think ring-style charts are kind of hard to read if you want to compare things, but DD solves this quite nicely with the sizes on the side. All in all I recommend this app highly.
On Windows, TreeSize from http://www.jam-software.de is one of the few utilities I'm happy to pay for. Blazingly fast and I found its visualizations more intuitive than the others.
That is one thing I've looked at, and it looks great.

Hopefully someone (and it won't be me :) ) will write a library which looks like pledge but wraps all the various things in different OSses (I hear words like seccomp on linux)
> You can't really make anything of the top spikes and there is a lot of blank space that is wasted. I prefer tree maps as they make more efficient use of the available screen space.

After having tried both treemaps (windirstats, grand perspective, …) and sunbursts (daisy disk), I've got to say I much prefer the latter. It's not quite as space-efficient but it is much clearer and cleaner, and easier to drill down into.

Now while a flamegraph is equivalent to a sunburst in linear rather than circular shape, I don't think it's as good: the "outer rings" of the sunburst graph means more surface area for the same amount of data, which makes it much easier to evaluate the leaves's relative weight within their rings.
That's the point, isn't it? If the roundness of the meal matters, it's not just calories in/out.
Such an epic lecture this!
I recommend to look at Cedric Fournet's group [1]. They have (or are close to having) a performant networking stack that's fully verified, e.g. [2].

[1] http://research.microsoft.com/en-us/um/people/fournet

[2] K. Bhargavan et al, Implementing TLS with Verified Cryptographic Security. http://research.microsoft.com/en-us/um/people/fournet/papers...
Isn't that basically what Product Hunt does? I notice when I look for an app that I need, I now search Product Hunt first before checking the App Store.
I think it's really obvious that you can eat even 5000 calories a day, and under certain circumstances, not gain weight.

However, if you eat 1000 calories or less, it's impossible not to lose weight. Unless you know someone who can synthesize energy to live and move out of thin air......
> I don't agree with Trump on a lot of things but I can respect someone who does what he says he'll do.

Adolf Hitler was also keeping his promise of eliminating the Jewish "problem" or the lack of the living space for the Germans. Does this increase your respect to him?

Of course this is overblown, and Trump is not Hitler. But we should learn our lessons rather than repeat the errors of the past.
Me and a friend of mine built something similar (think Upwork + StackOverflow) as a side project a while back - https://www.ladr.io/

Unfortunately we couldn't put in as much time back then. But I am thinking of picking up the project again. Any feedback would be appreciated.
> I can respect someone who does what he says he'll do

The point of a leader is to do what's right, not what's popular. Short-circuiting our republic into a direct democracy defeats its purpose.
Are product numbers (domestic or multimarket) accessible somewhere to construct this? (Would revenue numbers suffice or is there more that should be factored in?)

Or is there an accepted measure of national economy that might play a sensible denominator for the sum I put together?

As I said, I don't know enough about economics to pretend to be making a reasonable comparison, I just went for the numbers I could find on a whim at 2am :-)

Thanks for actually knowing things
here's a simple (very bad) example of distributed routing.

Addresses are simply bitstrings of some length.

If my address is a=a1a2...an, I need to store the first segment of the shortest path to each r_1=a'1a2...an, r_2=a1a'2...an all the way up to r_n=a1a2...a'2, where a'k != ak (i.e. all the addresses with a hamming distance of exactly 1 from me). I then simply route a message with an address b=b1b2...bn to r_i where i is the first non-zero bit of a xor b.