skysight-inc/HackerNews huggingface dataset:
How does this package layout interface with code signing and bundle IDs?

My main project uses a custom-setup ".app" bundle on Mac OS X (combining both a pure Python front-end and C++ bindings) and I've found that it does require a bit of care to see correct behavior.

For instance I found that El Capitán seems to really hate symbolic links now and will consider a code-sign tainted if there is an outside symbolic link (at least, for certain link destinations?).

And I found, at least on older Mac versions, that system calls would sometimes think my application was Python and assume the Python bundle ID instead of my own, if I simply ran Python itself. Whereas, after I included a built binary directly in the MacOS folder that essentially says "int main(int argc, char* argv[]) { return Py_Main(argc, argv); }", it was fine.

I wanted to run the system Python by reference and not bloat my executable; the call-Py_Main() approach worked well for that, too.
There are NP problems in network routing and analysis, but implying that shortest path is NP would be an oversimplification.
Android change status bar color by converting existing color's HSB
Sure, the square brackets in posix regex (used by grep) are for character ranges. You can wrap any single character in the brackets and it works the same.

So foob[a]r matches the literal string foobar. If you grepped foob[ab]r it would match both literal strings foobar and foobbr. However, it doesn't match the literal string foob[a]r because [] is a character range. To match that, you'd need to escape it something like foob\[a\]r, which would not match the literal string foobar. This is why you don't need grep -v grep

Understanding how and why this works will dramatically help you slice and dice text strings in a shell, so it makes a great SysAdmin interview question.
I have recently purchased a copy of Bernard Knox's Essays Ancient and Modern. In the introductory essay, he speaks of shelter in a house during a battle in northern Italy and making his own random probe into a Virgil, finding not a prophecy of the future, but a curiously apropos description of the state of the world, at the end of the first Georgic, which the Perseus project gives as

Here where the wrong is right, the right is wrong,/
Where wars abound so many, and myriad-faced/
Is crime; where no meet honour hath the plough;
The fields, their husbandmen led far away,/
Rot in neglect, and curved pruning-hooks/
Into the sword's stiff blade are fused and forged./
Euphrates here, here Germany new strife/
Is stirring; neighbouring cities are in arms,/
The laws that bound them snapped; and godless war/
Rages through all the universe;...

http://www.perseus.tufts.edu/hopper/text?doc=Perseus%3Atext%...
The point is that access to good decision making requires having access to food, warm shelter, community, and all of those to be in steady supply.

Without those a person in a meritocracy where the poor "deserve" to be without ... that person will spend money on things that make them think they are living better not regarding what make sense to someone comfortable.

But I guess maybe you have never been homeless. Or without food or a place to shit.
I think you're missing the main point of the article, it's that poverty leads to bad decisions. And that locks you into a equilibrium position that is difficult to break out of.
I think having to use/install something is precisely the pain people are talking about.
Meanwhile, the number of refugees and asylum seekers is all time high - 60 mln.

Why kill people when you can just uproot them?
Probably a bit OT, but I just built my first new gaming PC since high school (late 90's), and I bought a highly rated fan; this one: http://www.newegg.com/Product/Product.aspx?Item=N82E16835608... . Now, if you read that description, the outer fan is 120mm and the inner one is 140mm, but that really doesn't hit home until you open the box, and the thing is the size of your head. PC heatsink/fans have really come a long way over the past decade or so. I laughed when I saw my fan, too.
I've tried a lot of different development boards, and my experience has been that the OS, drivers, and available software resources make more of a difference for the kind of projects most people use these for. RPi and their community did a great job of making it straightforward to setup and connect things, even when some extra hardware was necessary. I had the opposite experience with multiple versions of the Beagle board, where there were numerous software driver issues and endless half baked guides on using the hardware. I hope that the CHIP boards follow their example, otherwise I'd be very wary of touted benefits like pre-soldered headers and a newer ARM chip instead of "our mission requires it to be easy to use".
Apparently white men from four different nationalities, at that.
Sure but that isn't often nearly as useful as something like:

ps -efH | grep foob[a]r

Where you can see the arguments and whatnot. Both are good to know.

You can use awk's ability to do posix regex and emulate pgrep with:

ps -efH | awk '/foob[a]r/{print $1}'
The samples provided by Facebook (for Flux) have a great example structure to them: https://github.com/facebook/flux/tree/master/examples/flux-t...

In my experience, this structure scales very well, especially if you take the advice in the 'thinking in react' tutorial (http://facebook.github.io/react/docs/thinking-in-react.html ) and create a mockup that clearly indicates what part of the UI will be handled with what component.
Tail Blazer (the file tail utility) has just got better
Perhaps he was laughing about the fact that the fan has a name like a rapper from 1985.
I'm afraid the world is falling apart. Global inequality and poverty are growing. Wealth is increasingly concentrated in the top 1%. Areas of the United States are even resembling the 3rd world now. The Middle East situation is a quagmire from which is hard to see a way out of and getting worse. A superpower confrontation seems possible either with Russia or China. Arms trade is really massive and the threat of nuclear extinction still hangs over us. Lastly we're destroying hope for decent survival with global warming.
OK, thanks for feedback and apologies for specific references, here goes with the definitions...

Sharpies: 2mm thick permanent marker pens in bright colours

Muji: Japanese stationery shop with a good stock of fine nib gel and ink pens

Mihali Csikszentmihalyi is a philosopher who has articulated the concept of flow-state. The relevant Wikipedia page is a good basic guide [1]

[1] https://en.wikipedia.org/wiki/Flow_%28psychology%29
Binary updates are available for the stable release of OpenBSD from M:Tier

Those updates are only useful to OpenBSD users who trust third-party binary blobs. I'm not sure that's a very large set...
Pig Latin: A Not-So-Foreign Language for Data Processing
And you are falling prey to the Nirvana fallacy [1].

Yes, we will never be able to prove that a program is 100% correct but that doesn't mean we shouldn't prefer solutions that bring that number up (statically typed languages) over solutions that don't (dynamically typed languages).

Just because you can't do something perfectly doesn't mean you shouldn't try to do it as best you can.

[1] https://en.wikipedia.org/wiki/Nirvana_fallacy
Dave is a very prolific and important contributor, but he is not on the Go team.
The Closure Compiler supports compiling ES6 code already, and can also do transpilation down to ES3/ES5. [1][2]

Google also has the Traceur Compiler which does transpilation of new JS features (ES6, ES7 proposals, and a couple of features that aren't in either) into older versions. [3]

[1]: https://github.com/google/closure-compiler/wiki/Releases#oct...

[2]: https://github.com/google/closure-compiler/wiki/ECMAScript6#... (might be a bit out of date, since there have been releases since that document was last edited)

[3]: https://github.com/google/traceur-compiler
Valid point, perhaps I'm too trusting as a Desktop sort of person.
Can you give an example of an IDE feature in eg Java that isn't incorporated for a language like say PHP?
Who Writes Wikipedia? (2006)
It's a decent introduction to P vs. NP but gets a few things wrong: factoring is technically an NP problem, but it's not (known to be) NP-complete, and packet routing is a pathfinding problem rather than a TSP, which is distinctly in P.

Also it should probably address the silly arguments that pop up that there's no bounds on the exponent for the runtime of an algorithm (O(n^100) is still in P), but this doesn't and hasn't happened in practice. And the implications for security would be huge because we would have to redefine what we mean by provable security, and then have to make some other arbitrary distinction. Is n^100 secure, but n^99 not? How does parallelization affect runtime? Things become a lot messier. So for now P vs NP is an extremely useful distinction and I have yet to see a convincing argument that it's not.
Don’t Compare Blue Origin’s Success to SpaceX’s Failures
I had this same experience a few years ago, though more out of necessity (my very old hardware at the time was no longer being supported.) pkgng was brand new and immature and it was an opportunity to do some fun things like create my own pkg building infrastructure/server and an HFS+ FUSE driver that I still mean to share. But once the struggle to have a functioning system was through and the novelty wore off I went back pretty quickly. At that time BSD was caught in the middle of major open source projects breaking compatibility for systemd, GNOME was several years behind, and the realities of running software on what was treated as a perpetually second or third-class platform made it difficult to avoid unseen bugs or outright breakage.

Things have probably settled down a bit since then and I like the FreeBSD project in sort of an idealized form very much and wouldn't discourage its use (especially if staying within the mainline packages), but it is quite a lot of work, and when it came to choosing a secondary * nix to boot the next time I saved myself some trouble (believe it or not) and installed Arch. It's difficult enough to get something resembling the UX I'm used to without having to do it with a quirky shadow version of the software ecosystem. None of this is the fault of the project per se,* unfortunately it's just a natural consequence of usage share in an ecosystem already mainly comprised of volunteers.

I wonder if the author will feel the same after a bit of settling in.

*some of the pkgng bugs were but I would expect those not to be relevant anymore
are limited to "a few million pacific islanders"

Well I did say..."pacific islanders, current subsistence farmers and other groups on the boundaries", but for brevity left all that out of the last part. Of course in current discourse, you have to lay everything out each time to excruciating detail otherwise people nitpick.

the reality is likely to be much worse.

My previous post was not intended to be exhaustive, but if you read the IPCC information [1] the bulk of the conclusions are that marginalized and poor regions are the ones who have the impact - and largely as a compounding factor for political, societal, governmental problems, not the only factor.

So if we bring 200M people out of poverty in China and closer to health and democracy, I think that is worth drought and famine for 10M people.

[1]http://www.ipcc.ch/pdf/assessment-report/ar5/wg2/ar5_wgII_sp...
How is a "component" different from a "view"?
Maybe he should use Go instead of PHP.
Read the actual study [1]. It does not merely examine a correlation between decision making and poverty. It specifically tests the hypothesis that poverty has an adverse impact on decision making.

[1] http://www.sciencemag.org/content/341/6149/976.abstract
People with weak character, poor morals and low IQ will probably be in poverty. I can't tell if the study takes this into consideration.
Those are too different statements. As in the first is "all poor make bad decisions all the time", while the second "some poor have made bad decisions sometime in the past".
I believe WCA officially uses StackMats for the timing. Timer starts when you lift your hands from the touch pads and stops when you return them to the pads.

This isn't perfect either but it doesn't rely on someone else's reaction time.
I've switched from ace-jump to avy with De Bruijn hints; it shows all the hints at once rather than in sequence, even if the hints overlap with one another.

The downside is that, sometimes, the hints are longer, but I've found it faster to know right away to type "wxyz" than to receive "w", "x", then "y" one at a time.

https://github.com/abo-abo/avy
A view is made up of many components.
I use "Window Tidy"; it's about half the price of Divvy and at least as far as I can tell it's just as easy to customize.
The author doesn't seem to understand very well a lot of the problems he's describing.
I've been running FreeBSD with i3 on a x230 (i7, 16GB, Samsung 850 SSD) for about a year.

jim@x230:~ % sysctl hw.physmem hw.model kern.version
hw.physmem: 16826937344
hw.model: Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz
kern.version: FreeBSD 11.0-CURRENT #16 r290668: Tue Nov 10 23:32:07 CST 2015
root@x230:/usr/obj/usr/src/sys/GENERIC-NODEBUG

gigabit Intel (em) Ethernet and a DELL U2713HM over DP when I'm at the desk.

WiFi works when I'm not.

Save/Resume works. Every time.

pkg(ng) rocks. The next version of pfSense uses it extensively.
One common interpretation:

Components are "dumb", and just consume props.
Views are top level Components, usually rendered by the router, that tie into your fluxy goodness.
> If P equals NP, then you could solve anything as easily as you could verify it.

This is the core oversimplification of the article—if P=NP there's no guarantee that the solution is as easy as the verification. O(n^3) is still more expensive than O(n^2), even though both are in P.
If you meet a professional athlete you'll understand firsthand what drawbacks there are to spending your first 2 decades super specialising.
You would probably be horrified to find out that doctors diagnose most common illnesses by looking symptoms up in their med school textbooks. The more tech-savvy doctors now use WebMD.

Or by how most family lawyers do 90% of their work by entering names, etc. into a Word template that was written years ago. Getting my will written was an eye-opening experience: I told my lawyer who I wanted my property going to, who I want it going to if my first choice predeceased me, and who I didn't want my property going to, and he just typed a bunch of names into his template, hit "print", and called a couple of witnesses and a notary into the room so we could all sign it. My living will was even simpler: I told him I wanted one, so he just typed my name into his template and had it printed and signed just like my regular will.

From the customer's perspective, what matters is that their problem gets solved, not how it gets solved.
The Redux Devtools project has an example folder with already structured examples [1]. Cool thing is that it comes with all the webpack hot-reloading already setup, and with the ability to do undo/redo changes thanks to the devtools capability. In essence, it's the only project I found that comes with the ability to code your entire app without ever having to reload your browser, and/or having to reproduce the actions manually. When you find a bug, you go and fix it, and magically everything goes back to the same state you were into without you having to click through the various buttons/panels/whatever that brought you there.

1. https://github.com/gaearon/redux-devtools/tree/master/exampl...
ARMH is only now back to their 2000 internet bubble highs.
Emacs out of the box works.

Unfortunately there is a misconception that you need a 10kloc init.el to be productive. Worse still are the opinionated configurations targeted at newbs.
In this kind of posts, I never see real reasons behind the switch.

There are window managers for MacOSX too. OSX could be customized to be minimal enough, etc. I am sure that you could do the same thing with Windows. Also note that minimalism != productivity.
The title in the article changed after submission.

https://github.com/uniphil/uniphil.github.io/commit/230de9cf...
Most of your components should be made up of smaller components. I'm not sure why this distinction is useful?
Shameless comment: i'm in that video: https://youtu.be/jvJjFYHGTnU?t=34m29s

The Amiga was a good product, the engineering team was solid: the love for the product did not translate into success.
Xinu is used for code in Douglas Comer's book on TCP/IP, early editions.
It always finds it for me, but surely mostly because my project is structured in an appropriate way
I definitely agree with the tendency of late to have to "shut up" OS X. They need to fire the person at Apple who thinks it's OK to abuse notifications for things like "Try out the new Safari!". And the choices are "Try" or "Later"!?!? It's definitely feeling more spammy. And the only real option for something like that is to shut off all of the application's notifications (and part of me is pretty sure they'll re-enable the crap on the next "10.x.1" update anyway so I grow tired of disabling it). "Growl" by contrast had very flexible preferences, allowing application notifications to be disabled per-notification-type if necessary.
Per my understanding, a component is meant to be a re-usable unit which can be included in one or more views. A View can be thought as a single 'page' of the application, (eg: Login, Home, etc) which may be composed of several components.
I've had almost the exact same experience. I am a prior OpenBSD desktop user, I thinking started around 2.6 or 2.8. I went to OSX 10.2 on iBook and have used it faithfully for years. I have the same feelings about the OSX feature bloat post 10.6. It's doing too many things I don't want and restricting my ability to change things I don't like. I've honestly felt they are trying to make OSX into iOS for a while.

I've been mulling the switch for a while now myself. I've contemplated Ubuntu but have sone reservations there. This post was great, anyone have insight on migrating iTunes or iPhoto to something that works on BSD or Linux? Or any insight on syncing iPhone to BSD or Linux?
This is inspiring.
There is nothing like i3 on osx as far as I know. Im pretty sure you also can't customize it at all to the degree you can customize Linux and *bsd.
"Mexican wave"?
Mastering does not mean on elite level.

You can master something without taking it into extremes. It's more going through the ups and downs of learning and experiencing progress and lack thereof.
I've never done it this way, I keep calling my container components, components. In my projects I do not make a distinction and call them views. I was just stating the author's point.
> Instead, why not have the browser run a very simple instruction set (even without garbage collector) to which many scripting languages could compile. Because of its simplicity, security would be very simple to enforce. Imagine the proliferation of programming tools that would naturally occur.

This exists, and you can contribute toward making it happen: https://github.com/WebAssembly/design

You can even encourage sites to use Web Assembly and assorted Web APIs in lieu of HTML and CSS if you want.

Now if you want to go further and deprecate and remove HTML and CSS, that won't happen. Even if we were to see a market shift toward "canvas + WebAssembly", leaving HTML and CSS unused (which I think is very unlikely), there's too much content out there that uses HTML and CSS that you will still want to browse.
Yeah same here. It might be better to design your business assuming you won't keep an individual more than a couple of years.
Kids don't live in a vacum.

I have never told my son he should learn skateboarding, be a scientist or play music.

I didn't come out of a musical family and ended up playing music professionally for a couple of years.

No one is talk about giving them freedom to do what they want.
Software isn't just eating the world, it's eating our lives. I think that this is going to become much worse the more intrusive the "IOT" becomes. Being able to manage our attention will become as significant as managing our health.
So, right now you've paid $180 for two $9 computers.

Assuming they do actually fulfill their rewards, you will wind up with 6 or 7 $9 computers (unclear if the second alpha was just an extra, or if that counts towards one of your 5), plus a $40 screen/keyboard/battery (based on the Kickstarter pricing of the C.H.I.P. plus PocketC.H.I.P.).

So, using a $9 price for C.H.I.P. and $40 for PocketC.H.I.P., that should cost $103. You spent $150 on it plus the shipping. Now, sure, that gets you pre-release models and "earliest shipments of release models", but it's not a very good demonstration that they can actually sell these for $9 at scale.

I dunno. They seem to have every intention of selling these for $9 at scale, but unless their BOM has changed substantially in the production version, it doesn't seem like that would be possible. Since the production version is not actually available yet, and no specs have been posted, it remains to be seen how closely it resembles the alpha version. So, that's why I say it's vaporware. Yes, the alpha models have shipped, but if those aren't the same as the production models, then the production models still are vaporware. It seems that at scale, they're either going to have to increase the price, ship something with a different BOM, Allwinner is going to have to drop their component costs substantially, or for some reason Allwinner is quoting substantially different prices to Olimex as they are to the C.H.I.P. guys.

But anyhow, the proof of the pudding is in the eating. They say they will launch their $8 sale tomorrow, and if they do that and actually ship more than a few at that price without exorbitant shipping, then we can say that it's not vaporware. But until those actually ship (and remember, tomorrow's sale is still a pre-order, and are supposed to ship after all of the Kickstarter rewards ship), the $5 RPi actually exists today, while the only people who have a C.H.I.P. today spent a lot more than $9 on it.
will disproportionately impact the societies least prepared to cope with it.

This is the point. Those societies least prepared, have traditionally been impacted by these events disproportionate to all others see: Katrina, Galveston, Luzon, Florida etc.... They won't become prepared without additional energy expenditure significantly beyond what they have now. They have to determine what that costs and "clean" energy production is significantly more expensive than "dirty" production currently. Or, they could decide not to build on the beach or in a flood plain.

If we can get to more clean fuels or nuclear that is cheap and plentiful, then great! It doesn't seem to be happening though and until it does, the only way to move communities up the quality of life scale is dirty.

That doesn't me we should give up or not try to build better sources of energy or more efficient distribution methods (so we don't lose 60% of production), on the contrary, we should. Lets be real though when trying to balance global mobility.

And by the way, saying that climate change is going to turn the earth into Mars is as hyperbolic and fantasy as saying that Climate Change is not happening and a conspiracy.
First you have to define "meaningful change." There are people on the right in the US who would define it as an invasion of the country. I suspect you are not one of those people.
I missed the "part" word, sorry for that.

> To claim that my addiction to procrastination isn't really an addiction because I recognize it and doesn't feel so powerless than I would want to kill myself is absurd.

> I didn't claim that, and to think I did form what I wrote is absurd.

I wasn't referring to what you wrote, I was referring to what the poster I originally replied to (which I assumed you agreed with because you replied to my questioning of his statement with "Because ...") claimed. Sorry for the the assumption.