skysight-inc/HackerNews huggingface dataset:
Ask HN: Compendium of business activity
Curious if anyone knows of resources that in great detail discuss a broad spectrum of "business activity". Essentially, a 'How Its Made' but for businesses. Unordinary hacky/quick buck business activity is especially welcome and interesting, in addition to traditional small and big business experiences. The goal would be that, by reading these, you would get an interesting, broad perspective on how individuals and businesses get products out, make money, or just get things done.

Examples:

- An individual's experience with dropshipping, from first finding out about the concept, to raising money, to the calls and negotiations they had to make to put it all together, to how they're faring now and thoughts they had on the process

- An individual's experience starting a grocery store, covering how they put together the funds, decided where to open the store, supply their shelves, hire their workers, keep track of how well they're doing

- An individual's experience building a network and name in the sneakerhead world. How they talk shop with buyers and sellers, how they manage their inventory, how they keep up to date on things

- An individual's experience quickly piggybacking off of recent trends for a quick buck, like making a flappy bird clone, pokemon go map, deepstyle image maker, or particular meme maker

- An individual's experience investing their savings. How they learned about investing, information about it, the many choices and trade-offs one can make, including specific things like why they choose e-trade vs fidelity.

- An individual's experience living cheaply by passively referring lots of people to on-demand delivery startups

- A startup's experience self-funding themselves by selling cereal boxes with presidential candidates' faces on the box.

- A farmer's story of how they maintain their farm, the daily, weekly, and seasonal considerations of their job, who they answer to

(more examples in comment)
More examples:

- An individual's experience becoming internet famous and trying to monetize it and what eventually worked

- An individual's experience going from 'this would be cool if it existed' to getting an engineer to design it, a factory to produce it, and finally marketing and selling it

- Someone's experience turning an Etsy or Ebay shop to a multi-person operation with a decent revenue stream

- Ways lobbyists have affected policy in Washington to provide value for their companies

- How someone went from finding out there was oil in their backyard to getting a rig installed and working, how hard it was to get the rig installed including talking to oil companies and dealing with local, state and federal laws, how long it took before they made a net profit.

- An individual's experience starting a now-successful non-profit, including how they got donations, got the word out, distribute funds, how well it's fared since passing hands and how that was done

- The process a record company has to go through to get an album out, from signing artists, to recording, to marketing, to making and distributing CDs, to sharing the audio file to apple music, spotify, etc

- A publishing company's experience reviewing books, editing them, publicizing them, and finally distributing them.

- The way a company like Sears uses data from memberships, past sales data, locations, etc. to inform their stock, marketing, etc.

- How a company like Lockheed-Martin secures contracts and fulfills them

- An analysis of the ways luxury brands grew to their current status, who their customers are, how their customers found out about them, and how their clothing is produced
Maybe you could replace a sexist old man with a man who isn't sexist?

This is not testable. Move what you can measure.
The NYT content falls well within "free speech" and any attempt to constrain it would backfire horribly regardless of what the laws or regulations say.

Smallet outlets would be a better target, but still likely to backfire.
Tidy evaluation
To the best of my knowledge, it was animated in Maya and rendered with Pixar's Renderman. When I was in that group, we used IDL to do any elaborate calculations needed, and then imported the data into Maya/Renderman. This is exactly what Hollywood does when they have to render a scene that requires a lot of simulation. I can ask Ernie if he used anything special for this production.
Ok, so how do you test that a female hire isn't racist?
That's what free users get. They better upgrade to developer plans and unlock all IEs and all platforms.
It was a verbal version of these cheeky bathroom doors:

http://imgur.com/jkkkFVF

Not so cheeky coming from this person at that time and place, though.
I think all mathematicians, given enough time, will eventually say countable to mean infinite.
All the large brokerages are probably members of the stock exchanges. E.g., the NYSE says:

"NYSE Equities Membership provides broker-dealers the high-tech solutions needed to make rapid, automated, and anonymous executions. Industry-leading member services experts discover and improve prices, dampen volatility, and add liquidity. Membership brings access to opening and closing auctions for primaries, brand visibility and direct connectivity."

https://www.nyse.com/markets/nyse/membership
A man's perspective on these issues is always going to be an academic rather than experiential one. It's like a business school professor versus a startup founder, or a professor of military history versus a veteran. The former have a lot of important things to say and are worth listening to. But if you are, for example, trying to address the issues veterans have reintegrating into civil society, you probably want some people who have really fought in war to help drive your effort.
Car analogies (and generalizations in general) are not so useful.

I've seen many cases (and been frustrated) working in a corporation where high levels of caution end up creating much more total work to make changes incremental. And when you do finish, the code is often not is nice as if it had been all done at once (at which point it probably gets left as is as more important things than refactoring, in the eye of business people, come along).
In my experience, women generally do talk more. Is that an offensive statement, or is it the context of David Bonderman making that statement at an Uber staff meeting?
Robinhood: Robbing from the poor, Giving to the rich?
There are few technical details available publicly yet. I've been looking for more reliable sources.

Here's the World Food Programme referencing the system with no technical details:
https://www.wfp.org/news/news-release/wfp-introduces-innovat...

Here's a Coindesk article (who are obviously very pro-crypto, but more pro-Bitcoin and less pro-Ethereum) from today on some vague details:
http://www.coindesk.com/united-nations-sends-aid-to-10000-sy...

I'm still trying to find out how this all worked. There have been articles saying this was their plan in various sources for over a month, though. I'd like to know as well. It's at least clear there was a program involving digital vouchers.

Found one --- here's Wired Germany outlining that it was in fact Ethereum the UN/WFP used with IrisScan to provide a benefit payment method for refugees. They are still scant on specific technical details, but if you are really starved, then it sounds like you should contact Parity.

https://www.wired.de/collection/tech/blockchain-fluechtlinge...
“Serious security”--before you can claim that, you need to get yourself an SSL cert, esp. since you're sending passwords over plaintext. Also, where's the documentation for the API? Might be a good idea to put that out in the open so users know what they're signing up for. (And please disable the scroll-jacking.)
> The actor model is all about mutable state

One of the more popular actor model languages (Erlang) also generally avoids mutable state (it's available in the form of the process dictionary, but recognized best practice is to avoid using it.)
http://www.netmba.com/mgmt/ob/motivation/mcgregor/
I'm more of a PC guy, but I have to admit, I really liked it. Good screen, great keyboard and touchpad. Good battery life once I swapping in a new pack.

(Significant minus for those stupid non-standard screws, though.)

I could easily see using one as my daily use machine if I was in a more mac-centric environment without feeling like I was missing anything at all.
But in Uber's particular case, the company has a serious problem with women in particular. There haven't been accusations of problems with gay men, or immigrants, or black people. There have been multiple accusations of Uber taking a flippant or dismissive approach to sexual harrassment of women.

Imagine Uber had persistent database consistency problems, and a nontechnical member of the board laughed them off, and had to resign as a result. Shouldn't they be replaced with someone with direct experience in database consistency?
New Hampshire Exempts Bitcoin and Other Virtual Currency Businesses
If you can't listen to anything without being offended, maybe your thin skinned and need to toughen up a bit.
What's an anagram for Banach Tarski?

Banach Tarski Banach Tarski.

Seriously though, you can do math without invoking the axiom of choice. The formulation of probability doesn't strictly depend on it.
Cobol programmers in the year 9999 are going to be raking in the cash.
Those things sound equivalent, but I don't want to be the one to try to prove it.
Farm Animals Family Survival
Great comment! I just have one clarification-

> to my knowledge, no other philosophical writers in his place and time have been preserved, so we have no idea what his literary context was like

We do have surviving works from Aristotle, who studied directly under Plato. He too published some of his writings as dialogues, although he also wrote treatises.
Resigning as a board member is not quite the same as resigning as staff or executive.
You may be a perfect fit for the new board opening at Uber
Is there a way to search for only 57+ addons? I took a quick gander and didn't see anything.
Agreed. No car was involved, I hit another cyclist.

I've added one data point to the discussion, that's about it.

But mandating helmets aside, I'd highly recommend wearing one.
It seems like teachable moments have become fireable offenses. I understand the seriousness of the issue and context, but is this really worth the level of outrage it has received?

Edit: Curious at the downvotes for an honest attempt at a reasonable discussion on the issue. Such are the times.
Semi-sorta. It did involve flooding huge amounts of Quebec, so there are consequences and greenhouse gas emissions due to rotting trees, but it's a different sort of equation.
And interrupts Arianna Huffington to do so, too.
Boost mobile content deliv performance with device detection
According to a member of the dev team:
'We are aiming for sometime in the second half of the year. There's still a few details to work out beyond just feature parity with 15. '

https://www.reddit.com/r/reactjs/comments/6g3e98/react_fiber...
I was hoping they'd use something like DJB's netstrings.[1] That would seem to be a much simpler solution.

[1] - https://en.wikipedia.org/wiki/Netstrings
Massage, watching star trek next generation, walking
If I asserted: "It's faster to put 10,000 rows of csv data in single file instead of 10,000 individual files" even the most junior programmer would likely say "Well, duh, it's 1 file instead of 10,000".

Yet this benchmark is at the top of HN for some reason.
The lexer for bash is inside that file, parse.y -- see yylex(), which calls read_token(). It doesn't use lex; it's written by hand.

I'm not sure what you mean that shells don't do string manipulation. Almost ALL they do is string manipulation.

That's true for the shell interpreter, which has to make sense of the input program, and for user programs, which are processing argv strings like file system paths, and stdin.

There are actually a handful of different parsers inside bash, which I mention here: http://www.oilshell.org/blog/2016/10/26.html

Brace substitution is another little parser as well. And globbing, and regex, both of which need their own parsers. (bash has its own glob parser, but some shells use libc's glob implementation). bash is really at 4-7 sublanguages in one.

The annoying thing about shell is that it makes it impossible NOT to do string manipulation in your program, because there is all this implicit stuff like word splitting.
3 must-haves for mobile optimization – content delivery
They require garbage collection.
After five months of examining the company's culture,
Uber's new human resources officer, Liane Hornsey
concluded that the firm's treatment of women was no
worse than what occurs at other companies.

Uber's biggest employee problems are pay and pride, not
sexism, says HR boss “Wherever I have worked, I have
seen things that are not great for women,” Hornsey said
in a USA TODAY interview. “I don’t think it’s about tech,
or this city or this company. I think it’s about the
world of work, and I think that it’s something that we
have to take really super seriously.”

source: https://www.usatoday.com/story/money/2017/06/11/reports-uber....

Liane Hornsey was formerly the VP of People Operations at Google for like 5 years I think. I'm far more inclined to believe her account of what things are like than any journalist lazily trolling for any disgruntled former employee to recount a story that will generate ad impressions.

Does Uber have a problem with women in particular because there is something special about Uber or does it have "a problem with women in particular" because it's a tech company and the media established a narrative with momentum that it is somehow worse than other companies in this respect. If Facebook or Github had been founded in 2009, they'd be the scapegoat for what is an industry-wide problem.

Thinking this is specific to Uber and that Uber is somehow worse, just leaves all other companies with an unexamined culture. Worse yet, it leads other companies to think "Our culture is fine because at least we're not Uber" when they probably have all the same problems.
This change has caused so much pain in our internal network too. Not because of intercepting proxies, but because of a ton of certs signed by an I terns CA.

I really wonder what kind of issue triggered them changing this and whether it was Wort the trouble. Stuff like this is why I can understand companies still being reluctant to allow browsers other than IE
So in order to give me free trades, robinhood gets $0.0017 per share... so my order for 5 shares netted them less than 1cent.

Seriously, this is why they are evil?

At least tell me this affects the price I pay...
Sorry for such a juvenile question (I've only worked on small projects by myself before, but I'll be at my first internship with a large company ay the end of this month), but when should I even write unit tests? And should I write them for every function? Even the trivial ones? What defines trivial? Also, how about functions that write to a database? Should I refactor the code to separate the db writes and the computation, or just wipe the db after each test? I feel like unit tests could be a big help for my code, but how should I approach them? I just can't seem to justify the time it takes to come up with cases for everything.
Really ? You think holding on to a massive amount of shares in a growing organisation is a difficult thing to do ?

And in comparison to actually growing a company that is worth a similar amount its childs play,
Why Growing Past 20 Employees is so Damn Hard (and what you can do about it)
Tracing IDispatch::Invoke calls in COM applications
On what planet would any company publicly release a document that creates a slam dunk civil case against them, unless required to do so by law? The goal was for Uber to get the value insight of outside counsel, not for all of us to do so.

Susan Fowler can file a civil case and get a copy of the full report to read to a jury, but Uber's lawyers and outside counsel would have to be incompetent to let them release the full report publicly.
FloydHub (YC W17, Heroku for Deep Learning) Is Hiring First Front End Engineer
We're looking for a Senior Frontend engineer to join our core founding team. Looking for a React expert with an eye for design.

Our goal is to enable everyone to build amazing AI applications. AI and Deep Learning are revolutionizing technology. But actually getting them to work is incredibly difficult. We are working hard to change that!

We're small, agile and well funded by top VCs and angels.

Apply online at https://angel.co/floydhub/jobs/245194-senior-frontend-engine... (please add a note) or shoot us an email: careers@floydhub.com
How does this reality, this idea that companies are dysfunctional if gender and race are uniform, fit the data of the previous few thousand years of human progress?

Has the world changed? Can groups of uniform gender-race people no longer act cordially to people who aren't same gender-race?
For web map tiles (millions of tiny PNGs), everyone who's anyone stores their tiles in sqlite rather than on disk: https://www.mapbox.com/help/an-open-platform/#mbtiles
This is a utilitarian-ish argument. I would consider the following questions:

- Who owns your organs before death?

- Who owns your organs after death?

- I assume you are opting-out from a government mechanism for organ donation. What is the origin of the government's power to claim your dead organs unless you opt-out?
First time I heard about NumFocus. Under their umbrella also sit iPython, Jupyter Notebook, Julia, Matplotlib, and a dozen more projects.
Totality lasts ~2 minutes
Your intuition far surpasses mine.

I for one am interested in the result and the reason.
I really don't follow the rampant hate for the idea and technology of crypto on HN.

Sure it's diluted and abused (eg: Dogecoin, Pepecash), but so is the grand United States of America (where the majority of trolls seem to fester). Like any money, the worship of it breeds all kinds of terrible, but it can support good works as well.

If it's a technology with promise, as it appears to be, why reject it?

To go a little further, you seem to have the whole idea framed incorrectly. There are base techs, and tokens exists on the networks of those base techs. If a base tech is a currency, then tokens are shares in a business that operates on the respective networks. Through the crypto "realm" these are tradable with the currency of principalities and nations via exchanges. There isn't such a great separation in operation or ideology from what most people consider "real" economics.

The remaining problems seem to me to be limited to the technical, and there has rarely been a situation where people cannot overcome the technical.

Tell the UN, and the thousands of Syrian refugees being fed because of Ethereum that the technology is a ponzi scheme and ultimately worthless: https://www.wired.de/collection/tech/blockchain-fluechtlinge...

edit (another link): https://www.wfp.org/news/news-release/wfp-introduces-innovat...
If by closures you mean "anonymous functions that capture the state of in-scope values," then c++11 shows that a gc is not a requirement.
If he were an engineer, you'd be right. But for a board seat, being a woman is exactly the sort of qualification that is needed at Uber right now.
Hold the front page, groups of uniform gender-race people have acted cordially to people who aren't the same gender race for thousands of years? Citation needed.
Solar Power for your Ham Station – for when the grid goes down
Are they going to make Numpy work on GPU? There is a library called Cupy (from Chainer) that does that but not quite well enough. In fact on my attempt to swap Numpy with Cupy, my program ran slower.

https://github.com/cupy/cupy
Having to be coddled and protected when already having the best compensated and cushiest job on the market. The local tech scene is definitely its own little parallel universe, I'll give you that.
A core value is "Persistent Confrontation"? Insane.
Years in the Making: Our Sprint Plan Agenda
Transition from Soviet-Communist Media Theory
Why is that important? Especially considering Tails has worked fine using systemd in their previous version based on Jessie. Additionally, Tails has used systemd's service namespacing functionality as part of a defense-in-depth strategy. Switching to Devuan makes little to no sense based on this track record.
Had a similar idea once upon a time to auto narrate any article using text-to-speech. Got about as far as you did it sounds like. Having human narration seems so plausible if you approached gig style. Between-work actors could read for you instead of driving for Lyft.
>If public opinion continues to move in that direction then sure, regulation will get stricter. That's the way it should be.

To many of us, that's akin to suggesting that freedom of speech should be curtailed if public sentiment is against it.

We really do see arms as a basic human right, right up there with speech and religion and assembly.
From the sample code provided I was assuming the value would not update on every request (since, if you were changing the expiration timestamp on every request you'd have a bit more work to do than you've shown here -- and either way the sample you've provided isn't a great way to generate the token).
Right. The first thing he says is "we are definitely causing drastic changes in the environment, just not a mass extinction". Then there's the quote about buying a case of scotch if we are in a mass extinction.
Yes, this great article is all about how the maintainer of Bash regrets that it uses a parser generator (yacc):

http://www.aosabook.org/en/bash.html

I've mentioned this here before, but I was able to parse bash almost entirely up front, without interleaving parsing and execution. The first half of my blog [1] is about this.

To make a long story short, I use four interleaved parsers, and they ask the lexer to change state at the appropriate points. It's three separate recursive descent parsers, and then a Pratt parser for C-style arithmetic expressions.

It works very nicely, and surprisingly the algorithm is efficient, requiring only two tokens of lookahead: http://www.oilshell.org/blog/2016/11/17.html

Aside from lookahead, the lexer reads the text exactly once, not 2, 3, or 4 times.

There are two things you can't parse up front that I know of:

- Associative array syntax, but this is bash 4.0-specific: http://www.oilshell.org/blog/2016/10/20.html

- A crazy instance of runtime parsing of arithmetic expressions inside strings, AFTER variable substitution: https://github.com/oilshell/oil/issues/3 (all shells I tested implement this, not just bash)

Also there is one issue that would require arbitrary lookahead:

- Bash does arbitrary lookahead to distinguish $((1+2)) and $((echo hi)), the former being arithmetic, and the latter being a subshell inside a command sub, but it's not required by POSIX: http://www.oilshell.org/blog/2016/11/18.html

In bash, Brace substitution is really metaprogramming which can be done at parse time. You can manipulate program fragments, e.g. a{b,$((i++)),c,d}e, and it doesn't rely on any program input.

In ksh, brace substitution is done AFTER variable substitution, so it's another level of runtime parsing.

Globbing is done AFTER variable substitution in all shells.

But yes, lex and yacc are totally unsuitable for parsing shell. It's unbelievably awkward to express, and results in more code, because the parser has to be used for interactive input (the $PS2 problem), and it also should be used for command completion, e.g completing something like 'echo $(ls /b<TAB>...' .

It also forces you into parsing at runtime, as far as I can tell. The yylex() interface involves a lot of globals and the generated parsers probably don't compose as I would like.

[1] http://www.oilshell.org/blog/
Preprint Deja Vu: a brief overview of arXiv history