skysight-inc/HackerNews huggingface dataset:
Here's a nice writeup on Stratechery advocating reasonably for #2 and #3 in the context of Facebook. I thought it was a good read:

https://stratechery.com/2017/manifestos-and-monopolies/

> Secondly, all social networks should be required to enable social graph portability — the ability to export your lists of friends from one network to another. Again Instagram is the perfect example: the one-time photo-filtering app launched its network off the back of Twitter by enabling the wholesale import of your Twitter social graph. And, after it was acquired by Facebook, Instagram has only accelerated its growth by continually importing your Facebook network. Today all social networks have long since made this impossible, making it that much more difficult for competitors to arise.
Could you go more into what you're doing?
I missed Step 3!
On the other hand, C's treatment of arrays in general (not just strings) has unfortunate implications both for optimization and for future extensions. The prevalence of pointers in C programs, whether those declared explicitly or arising from arrays, means that optimizers must be cautious, and must use careful dataflow techniques to achieve good results. Sophisticated compilers can understand what most pointers can possibly change, but some important usages remain difficult to analyze. For example, functions with pointer arguments derived from arrays are hard to compile into efficient code on vector machines, because it is seldom possible to determine that one argument pointer does not overlap data also referred to by another argument, or accessible externally. More fundamentally, the definition of C so specifically describes the semantics of arrays that changes or extensions treating arrays as more primitive objects, and permitting operations on them as wholes, become hard to fit into the existing language.

Ritchie notes the difficulty with optimization and aliasing and as far as I know the only portable C89/99 convention for this is using the appropriate function if what you want to do is memcpy() or memmove().

I love C and programming is mostly a hobby for me. But my language experience does not really extend beyond C and C++, other than reading about D, Lisp, Rust, etc. I also think the STL is the beautiful thing C++ gave us, and having it as a library is better than building these structures into the language. The STL relies heavily on iterators of course.

My question to HN is: do any languages that really emphasize pointers and iterators over arrays and indices have a non-cumbersome way of telling the compiler when no aliasing is expected? As a hobbyist, I am more interested in something like slices from D or parameter type restrictions than trivially obvious global guarantees like ``if you mutably borrow it then there is no aliasing''. Do D programmers find the slices helpful and easy? Is the syntax and/or semantics such that the programmer can provide the compiler with aliasing info? Are there a small number of type concepts for this or does it explode with the number of different data structures.

I know there is the restrict keyword, but I have always been too lazy to use it in C and even in C++ it seems (quadratically?) unlikely you would be energetic enough to properly declare which pairs of entities could not alias.
I'm curious as to why you consider brilliant, production ready code.

I also read through the original codebase and I came to a different conclusion. To me it looks like something that was hacked at for a year or so, and was all just glued together. It looked like the first iteration of a codebase, the thing that you usually don't release, but then re-work so it is presentable to the outside world and then release.

To me that says a couple of things. One is that Satoshi is one, normal, human. Another is that he is very human. For example, a lot of the OP codes have had to be disabled because they were totally insecure. In early versions of bitcoin there were bugs that allowed anyone to spend anyone's bitcoins, and so forth.

Not that I mean to attack Satoshi, he was a good coder who started what could become a revolution. But he was a human like the rest of us, and it shows.

What is it about his code that makes you consider it brilliant and production ready?
Semi-related, I recently got into type design as a hobby.

I've primarily been using an app called Glyphs https://glyphsapp.com/ as well as FontLab VI https://www.fontlab.com/font-editor/fontlab-vi/

Both are excellent. FontForge is pretty good but I found it slightly overwhelming. I found it's great if you need to fix parts of existing fonts though.

There are some excellent guides out there on how to use FontForge. I really liked this guide about adjusting for optical illusions: http://designwithfontforge.com/en-US/Trusting_Your_Eyes.html .. I found it kind of mind blowing.

For those interested, I'm currently working on a 19th century French Didot style font, here's my progress: http://dn.ht/didhot/test.html .. feedback welcome. :)
Parallelism means using multiple hardware resources on some task. Concurrency means multiple tasks may make progress in the same time period - perhaps via interleaving.

What I'm saying is that JS is terrible at allowing multiple tasks to make progress when one of those tasks is computation. Try taking some numerical algorithm and allowing interleaving user events with it - it's super nasty.

I hope I'm wrong because I've struggled with this. How would you perform a JS computation concurrently with handling user events?
Summary:
Python and R are more common in wealthy countries, likely because academic and data science work are much more common.

Android and PHP are more common in less wealthy countries, likely from outsourcing firms and much lower iOS usage.
Why does farmland get a preferential tax rate in the first place?
Nowhere in that article does it state how they’ll just get checks. Maybe I’m not understanding tax credits because that article says the same thing, they will get up to 200 million a year in tax credits. If you have no tax, you get no credit. Better than a deduction, but not writing a check. Anything past that is all “some estimates” which really are just people making things up.

Also, people commute, you can’t stop them all. That’s the nature for all business and it’s part of the game you play with these deals.
thanks, glad you liked it.. I have a love-hate with these kinds of projects
It could also devastate small companies at an early stage which need to dedicate resources to get into compliance rather than building their product.

It might hurt the bad players but it really depends on how readable the text will be to the average user. If it's going to be a checkbox it will likely not do much.
'theoretically?' It's happening, albeit without a corporation behind it.

They have a weekly youtube vodcast, if you're curious, and a Patreon page with a couple of hundred subscribers.
It is ok not to like Hobby Lobby or their owners, but explain how you think that is relevant to "corporations pushing an agenda."
Remember the nuns getting into a nuclear weapons facility? Probably not very.
Yeah the specifics I can hand wave about but would like more nice details. You get a "native" window surface from Mesa from DRM (the GBM API is one choice here I believe). You pass these returns to EGL for your display, native window, and surface. You then bind the OGLES2 API and you're of to the races.
If it's not RPN, you can count me out. After switching in college, I'll never go back. RPN is just too much better for one-off calculations (and anything super-complex goes on my computer anyway).

EDIT: to be clear, by one-off I meant throw-away calculations of whatever you have something that needs solving, but you won't be solving that particular problem enough to warrant a full-blown program. I didn't mean super-simple a + b type calculations.
What is this: "I'd stay working because I actually enjoy what I do and I'm way to young to retire."?

It's not proper english and it's one of the first things shown on your profile. Find a way to remove this.
Same star?

https://www.theatlantic.com/science/archive/2017/08/a-cosmic...
>Nobody uses Redis like a database and expects persistence of data.

You'd be surprised. I know of at least one (extremely) large company that does / has done this.
Since it was ten days after 9/11, there are a lot of terrorist theory for that explosion.

Some even said that they saw a missile fired from a tower nearby.
> Maybe type system help is for people who don’t practice enough.

That's like advocating that tests are for people who "can't" write bug free code. Is this the attitude of all JSC developers toward engineering abstractions? I would expect designing a system that JITs third-party code from adversarial parties would lead you to be more cautious about code quality, not less.
I don't see anything. Screen shot?
Maybe there are other duties to other groups that are more important than your investors. I can't believe I even have to say that out loud. I can extend your fiduciary duty to uber easily insofar as them doing malicious things so long as the payoff was better than the legal costs. Hell I can extend this to certain evil pharmaceutical entities with little more additional effort.

Your logic is either naive or you don't care about your fellow man. If it is the latter, I wish you your just deserts
Anti-trust laws are about leveraging your monopoly in one area of the economy in order to gain an advantage in another.

There is nothing wrong with having a monopoly per se as long as it was gained and maintained fairly.
What am I supposed to be looking at? https://i.imgur.com/nUA6aqx.png
http://i.imgur.com/pudwFWT.png

I'm guessing some people are getting a cached version.
I'm aware of the philosophies behind the creation of the Internet. I'm just telling you the system you're describing is mutually exclusive with one in which domains are owned by people who register them.
Not disagreeing with him as I have no knowledge of the court system but driving around Houston the number of gun stores is insane.
For those who aren't seeing the hack, this is what it looks like for me: https://kek.gg/i/3FSNmg.png
> you pass these returns to EGL for your display, native window, and surface.

EGL if you use OpenGL, and WSI if Vulkan, if I understand correctly.
Too bad they can't keep the headphone jack on the Plus models. They have much more real estate on the Plus models
It appears to be few bytes. And probably not information.

Still, I think being confident about what a civilization capable of sending an intergalactic signal is doing is a bit much. Maybe some kid was bored (and was throwing neutron stars into a black hole).
Article posits more immigrant workers and increasingly difficult interviews means immigrant workers are smarter, pushing out dumb Americans. This ignores the Flynn effect, and that immigrant workers work for lower pay.

The two things may be happening at the same time, but that doesn't prove they're related. Correlation != causation.
Presumably this year, if they paid each person as outlined above because they'd be getting income tax back from the individuals.

They could even pay those people $30,000 a year for ten years to work on civic projects and achieve even more 'profit' or return on investment.
Simple solution: codesign the “official” builds. Have a “test mode” LED on the device, and have the firmware refuse to turn the light on when running an unsigned build. Bonus points if you allow dual booting into the standard build for testing.
Here you go

https://web.archive.org/web/20170831035852/https://wikileaks...

http://i.imgur.com/KyaorAz.png
I'm intrigued! If you don't mind my asking, how did you get into that line of work and how long have you been doing it?
I upvoted. :-)

https://en.wikipedia.org/wiki/United_States_Declaration_of_I...
Can you elaborate on this? What kinds of one-off calculations is RPN better for and why?
>Nuclear bombs don't have a monopoly on large explosions

I get what you mean in relation to the Hiroshima bomb, but they do have a monopoly at some value of "large". All of the bombs exploded in WWII added up to about a 3 megaton TNT equivalent. There have been single thermonuclear weapons with roughly 10x that amount or more.
For things like these you can just read the first sentence of each paragraph.
The article states:

"... because Wisconsin already waives almost all taxes on manufacturing profits in the state, these incentives represent not a lost opportunity at collecting revenue but an obligation to pay cash to Foxconn out of the state treasury for up to 15 years."

Put another way:

http://fortune.com/2017/07/31/foxconn-wisconsin-plant-tax-br...

"Although the state measures to attract Foxconn are labeled tax incentives, they largely would be paid in cash since the effective Wisconsin state tax rate is 0.4% on manufacturers."

Of course people commute (and they should)! However, for a state negotiating an incentive package they should have been aware of this basic fact, especially given the extremely close proximity to another state that (amazingly) isn't contributing to the incentive package.
http://i.imgur.com/8dgfA4s.png
its not plural, its possessive so apostrophe needed.
But is the frequency of the signals prime numbers?
And excessive competition creates stagnation at local maxima. If you're engaged in a price war you have no profits to invest in R&D.

One of the things that works really well for this is to split monolithic national regulatory codes into less complicated region-specific ones.

California needs earthquake rules, Florida needs hurricane rules, Colorado needs altitude rules, etc. If you have one national code containing all the rules, you give the advantage to huge conglomerates that can navigate them all at the same time. A small company in Colorado has to comply with all the irrelevant rules covering earthquakes and hurricanes, which puts them out of business.

But if they each have only their own regulations, smaller companies can survive the ones in their home state -- and have more power there to address them if they're oppressive. So you get a different company in each region instead of one big national one. They put competitive pressure on each other because any who charged too much would make it worth it for one of the others to pay the regulatory cost of expanding into that region, but not so much pressure that everyone is locked in a price war and no one has any surplus to invest in the future.
It is the MR3020. The marketing image has the mode switch photoshopped out in an obvious way. The videos actually show the switch in place.
I noticed that you don't have to wave it few times before the image appears. That's really cool, but also must be hard to implement. How did you do that, sort of built-in dryer?
Looks lie a physicist's version of G. H. Hardy's "A Mathematician's Apology".
You might like [0]. It's a lecture he gave about his nonfiction book Last Chance to See.

[0] https://m.youtube.com/watch?v=_ZG8HBuDjgc
Interesting code. Some first impressions.
1. This gigantic file can be split into multiple smaller files. It takes even a while for my browser to render the whole source file.
2. There is inline assembly in the code. Is this for performance or some other purposes?
Andy Rubin apologizes for Essential’s “humiliating” customer data leak
They are. https://www.nytimes.com/2017/04/18/magazine/when-rising-seas...
Terry Pratchett was one of my most favourite authors, it's rare to see someone keep building up a universe that both my elderly teachers and me as a student could appreciate during high school. Moreover, I wish there were more movie adaptations than what they have now.

Also seems so long ago, I used to play Discworld MUD and relive the stories on there as well. And now Terry has passed away (RIP, hope you're having fun with Death) and Discworld is off on its own, floating on a turtle somewhere. I have to be honest, I would read some Discworld fan fiction just to see those familiar characters again.
It's a combination of cash payments and tax exemptions.

http://www.jsonline.com/story/news/politics/2017/08/16/how-w...
It may have been accelerated by the fear of global multinationals besting American firms. NTT, Deutsche Bank, Siemens, RDShell, etc. American firms were being challenged by bigger international firms --and WTO/NAFTA encouraged firms to get bigger and compete overseas rather than just protect the home country from foreign competition as it had been up to that point.
> I really don't understand the point of Reddit's mobile site.

So they can show more ads.
KENYAN CHILDREN FACE SEVERE MALNUTRITION
Cool project! The part that I was fascinated by was not the electronics but the physical design and manufacture. It is very impressive! Would love it if you go into details .. what 3D printer, post-processing, software tools used, etc.
HEB is awesome though. And so is Bucy's. Thanks in advance.
Hackers use Instagram bug to get celebrity phone numbers and email addresses
It's a good thing we made an example out of those nuns. Wouldn't want people to get ideas.
Impact of breast milk on IQ, brain size and white matter development (2010)
So you prefer the state of affairs with a language with arguably less safety than C _and_ many more amateurish implementation errors?

I wish Etherium had chosen Javascript. It'd have started from a better place.
Genius Russian Programmers – Myth or Reality? [video from HNKansai Meetup]
The code is in smaller files but that link was for demonstration purposes I guess.

Here is the most updated bitcoin repo: https://github.com/bitcoin/bitcoin
Iowa is a very short sighted state.

On one hand they're trying to be this tech savvy state by bringing in Apple and Google data centers, on the other hand getting decent broad band is terrible in all the rural parts of the state.

So they did what any conservative state would do and relied upon the free market to get them high speed bandwidth. And that's not been real successful. So they had to subsidize it.

From this article in 2015 [1]:

"Four communications providers have received more than $53 million in federal funds to expand high-speed Internet service to nearly 90,000 rural Iowa homes and businesses."

That's roughly 3% of the population.

Okay, so one might say that's just the cost of doing business. The thing is that Iowa already has a $200 million dollar fiber optic network that connects all 99 counties with over 8000 miles of fiber called the Iowa Communications Network. So why don't they use that to extend broad band to rural areas?

From the Iowa Communications Network home page [2]:

"The ICN provides high-speed flexible broadband Internet, data, video conferencing, and voice (phone) services to authorized users, under Code of Iowa, which includes: K-12 schools, higher education, hospitals and clinics, state and federal government, National Guard armories, and libraries"

That's awesome if you're an authorized user. But the sad part is there is more than just those users that could use broadband, and it seems like Iowa decided to leave them out in the cold.

[1] http://www.thegazette.com/subject/news/business/rural-iowa-g...

[2] http://icn.iowa.gov
Level Money Is Closing Down
My impression being in the bitcoin community and talking to some core dev is the opposite. The code was rushed and rather amateurish that there were bugs professional developers should not make.
Early-day Snapchat stored a lot of personal data (geolocation, application activity, personal info, and photos) before they made any money.
New Fathers Are Older Than Ever
This project fits the generation of non-tech adults pretty good. My grandma for example still asks me to clear her sms inbox because phone op spams it with ads and she hardly can do it herself.

Few decades later this will fall off from reality, of course (if we'll still retain the strict sense of reality then at all).

Upd: supporting your point, I suggest all people here evaluate buying this thing vs. buying a tablet with only two functions: view gallery and view image (and seamlessly download these from fixed photostream that you can post to as a remote contributor).
Both of which have been around for more than 30 years. I agree that both were significantly greater inventions, but I wouldn't put Bitcoin far behind them.
We have found PhantomJS to be very buggy and hard to debug. We generate millions of PDFs a month. Whenever we upgrade PhantomJS, something breaks with no way to debug easily. We end up reverting to the older version. After trying 3 times, we gave up and had settled for the older version.
"These people" cannot comprehend what 3 feet of rain does to a city, because nothing like this has happened in recent history.
Your load is too heavy: Zork deep reading
Is this a joke on the namedtuple trick or is there actually such a module in the standard library?
It's becoming more and more popular not to use a browser for unit tests.

You do "pure" unit tests, which test most of the logic, computations and intention in nodejs, then rely on (usually just a few) E2E tests in selenium or whatever to make sure stuff actually work in the browser.

For example, in a standard React/Redux app with low amounts of legacy code, you can test almost all of the app's constructs in node and be very confident that everything works.

There's still a few places where Karma + Browser shine. Namely when something requires a unit test-style environment but is integration heavy. Think libraries abstracting browser details such as a rich text editor or a library like jQuery.
I'm not a JS expert, but I do a lot of work with heavy numerical computing that occasionally has to run inside a responsive UI without threading (it's no fun). The solution is "simple", if annoying:

1) you find a small-enough granule of work inside each compute kernel so that one iteration/update/whatever of it is under the target frame duration (for these kinds of UIs 30 FPS is plenty and 15 FPS is tolerable, we're talking business visualization apps and so on)

2) you organize your computation as a resume/yield loop [0]; you run a few iterations of a function like "percent_finished = make_progress(state_of_computation)" then schedule yourself to do another round of progress on the next frame, and return/yield so that the event loop / UI can flush any pending I/O events

Needless to say, this gives up a lot of compute efficiency in return for making it relatively easy to maintain responsiveness. And it doesn't work on problems where you can't find good "yield" points in the computation. But a lot of numerical computing problems have natural/reasonable yield points, e.g. after each data point is processed, or after every 100 elements of a large vector are processed.

[0] A great example of this in a widely used library is the streaming compression interface in zlib, which lets you compress or decompress a nearly-arbitrarily-small granule on each invocation.
Google doesn't participate in the search engine market. Got it. Makes perfect sense.
We Might Finally Have a Glimpse of $4.5B Startup Magic Leap’s Hardware
Disappointed to be pushed down on this. I realize the self-promotion aspect but I have done some very good, fairly priced professional work for interested parties found through HN. I also give back in non-commercial ways in a 20:1 or better ratio.
Yes, and TATP is a high explosive. MEKP is almost as powerful (5200m/s detonation velocity vs 5300m/s for TATP) but much more useful commercially. It's a precursor for all sorts of plastics.
and that actually works. Using headless chrome with the direct API is so much more reliable than the selenium API.
Great idea!

I would like to see what happens to their dyke system when 3 trillion gallons of water pours in. Don't think it would end well.
Learn Python for Data Science and Machine Learning with Jose Portilla
Mike's bitterness is point on. Source: I dealt with the same shit as Mike.

BTW Hey Mike miss you!
hell yeah, it's a pretty kickass MUD.
If you're looking for a free alternative, Genius has a web annotator service [0], available either through their site or self-hosted. Registration is required to make annotations, though.

[0]: https://genius.com/web-annotator
They will probably lose a billion customers?