skysight-inc/HackerNews huggingface dataset:
> LISP doesn't really have syntax - you write parse trees directly.

Lisp has plenty of syntax, it's just extensible and largely defined in
operators. Commonly used macros like DEFUN, WITH-OPEN-FILE, and LOOP all add
their own syntax to the language; that's what macros are for. When you put
them together, typical Lisp code ends up looking like

(defun count-words (filespec)
(with-open-file (f filespec)
(loop with counts = (make-hash-table :test 'equal)
for line = (read-line f nil)
while line do
(loop for word in (cl-ppcre:split "\\s+" line) do
(incf (gethash word counts 0)))
finally (return counts))))

Which I don't think is that alien. It translates pretty cleanly into Python:

def count_words(filespec):
with open(filespec) as f:
counts = collections.defaultdict(int)
for line in f:
for word in line.split():
counts[word] += 1
return counts

Do you find the former significantly harder to understand? I don't see how
it's any more like "writing a parse tree directly."

> Why should I write (+ p 2) when most people think (p+2)? This difference
gets worse with more complex expressions.

As mentioned in other comments, there are infix packages available for when
you're writing math-heavy code (or if you just need infix operators), but I
also think that a lot of people don't write very much code with complicated
inline arithmetic in it, and overstate how much the awkward math syntax would
affect them (there are of course plenty of projects that are math-heavy and
where it does make a large difference). When you're defining
variables/functions/classes/etc or calling functions or looping or
whatever, there's not much difference between Lisp and most other languages
aside from whether the bracket is { or ( and which side of the keyword it goes
on; in my experience, that sort of code tends to make up the large bulk of
most codebases in most languages.

edit: Another place where Lisp's default syntax is significantly different from a lot of languages is
something like object.f(x).g(y).h(z), which in Lisp looks like (h (g (f object
x) y) z). This can be remedied with common macros like -> that let you write
(-> object (f x) (g y) (h z)).
Musk seems to be on the verge of collapse.

The Model 3 seems like a great car, if they could actually produce them at scale. As it is, it seems there's too much variance in pieces because the manufacturing process is flawed.

It's sort of like Tucker v2.0.
You could say the same thing about any form of privacy.
This is already on the FP
I was surprised the choice was not Xiaomi, the experience would be vastly different for slightly more money

if writer would not set Pierce limit it Redmi note 4 should be best selling phoned in India
Unfortunately it appears that the linked project is not free software :(
A Data Science Version Control System
I agree. Fundamentally, what we have here is the potential for an alternative model. It remains to be seen whether this model can evolve to be better - I absolutely agree that it is not better right now. I think that it has the potential to be though.
Twelve Russian intelligence agents have been indicted for DNC hack
The chief complaint seems to be the lack of internal storage, but the phone has an SD slot that supports cards up to 32GB while his shiny iPhone 8 has exactly 0 GB expandable storage.
Facebook has a movie piracy problem, but it can’t(or won’t) do anything about it
That's making a copy, not really relevant to viewing, so I'm not really sure why you're quoting it.

If it was relevant to viewing then it would imply that two people watching a rental aren't covered...
> Like how in many places you are not allowed to have a brown lawn, or one with taller weeds instead of grass.

Living in a place where there is no control, I'd say the US is right on this. If these laws are not enforced, the place will look like a 3rd world dump in a few years.
Excellent points. I utilize checkpoints and minimum waiting periods to good effect. Often together. I'll tell myself that if I am still interested in buying X after I finish Y then I will do it.
I hear that, but there’s something instructive here as well for members of the HN community who write software.

Namely, it’s that sometimes performance and optimization matter. Given the size of the Indian / developing world market, I wonder if there’s an opportunity to provide a good experience (apps or OS) on more meager hardware.

I certainly don’t remember the first gen iPhone being painful or slow. Why can’t we make an experience today that runs on low end, but still vastly more powerful hardware than the original iPhone?
You mean a social network, an image sharing and a messaging app are all the same so couldn't be owned by the same company?

Anti-trust law doesn't prevent any form of consolidation. As a general guideline, the DOJ is only opposed to going from 3 to 2 competing offerings to customers.

Given the existence of countless other social networks, photo sharing websites and messaging apps, it would be hard to justify blocking any of these deals, especially in the case of Instagram which was still a very young and nimble company at the time of the acquisition.
You can say: they continue to grow at a ridiculous pace, meaning that more people are using it than leaving it, and it's being used more.
I'm quite tired of everyone wanting to build "large scale systems" and play at being Netflix. The truth of the matter is the vast vast majority of people will never need to do this with their project and instead will just end up making an expensive to maintain mess with way too many moving parts.

At least as important as designing something that can scale up is designing something that can scale down. You don't know when the organization's going to need to deprioritize this project and be able to keep it running without burning a couple of million in resources every year.

See: microservices. (as in, for the problem, not the solution)
Sorry, I only drink Dasani
and you are free to buy your own health insurance!
I do it. I work remote, live outside the county in a rural state.

It's not for everybody, especially if you're a workplace social butterfly.

But if that aspect doesn't bother you, there is a lot of upside (especially financial). It works well for me.
“Amusing Ourselves to Death” is a book I read this year, which is a good, prophetic read on media consumption. And it was written long before the internet became mainstream - mostly focused on the effects of television. It also lead me to Marshall McLuhan - even more of a prophet of media.
Yunno by Zugo
At my current workplace I can only work from home once per week. I would vastly prefer working from home than the uncomfortable chair and noisy working environment of the office, but I have to make do.

Options available to me are changing jobs, asking for a policy shift because of medical issues, etc.

If you have to eat a more ethically sourced and less savory meal because of work I don't see that to be a large issue.
When I was a child and living my parents we had two properties: One small apartment in the city, and a big house with a sizable garden (like 50-60 trees) far in the suburb. We live 5 day of the week in the apartment and spend the weekend on the suburb.

I think it was the best setup. You get both of best world. During the week you are close to work, school, services and need absolutely no transportation. In the weekend you can barbecue.

Americans can have that luxury. I guess they just need to work harder to be able to afford two properties?
VSpatial, big screen, and any of the compatible vr hardware.
Thank you!

The question was simply what steps should one take (in tech) to become valuable enough to earn a highly-substantial premium in earnings -- to cross the next threshold so to speak -- using approx $250K as a benchmark.

Responses about changing lifestyle, location, or ponderings on the meaning of wealth in our modern age are simply not responses to the question posed.
My thought is that if you like to see them inline/unified, then you could head directly to amazon-marketplace.com where they are all commingled like they currently are.
If this is what a founder of WeWork is focusing on, I can't wait til they IPO so I can short it. I doubt this company survives the next recession.

As for livestock vs vegetation being better or worse for the environment, it isn't a contest. Farming is many times worse for the environment than raising animals. Has any of these useless journalists, CEOs and crazy vegans ever stepped on a farm? Do they understand what is involved in farming? To farm, you do your darnedest to pretty much wiped out all animals from insects to rabbits to coyotes to large herd animals to protect your farm. And if the world were to go vegan, we'd have to cut down every rich forest ( amazon to the jungles of southeast asia and africa ) to provide farmland for vegetables. Whereas wheat, soy and corn that we feed livestock can grow in harsher temperatures, most vegetables we eat cannot. Also goats, pigs, etc can forage on weed and other "pest" vegetation in harsh climates.

Also, farming kills 1000 times more animal than raising livestock. These vegans are so insane that they think vegetables fall from the heavens like manna. Nope. An incredible amount of insects and small rodents/mammals are killed prior to planting and during harvest. That's right, every salad, every fruit and every meal that you eat contains some animal.

https://blogs.scientificamerican.com/but-not-simpler/i-hate-...

I am so sick of the vegan nonsense. It's not based on fact, reality or common sense. It's just agenda pushing virtue signaling where people pretend to be morally superior for nothing.

More animal lives perished for a vegans salad than a carnivore's steak. And a vegan eating a salad is actually eating more animals than a carnivore eating a steak.

So morally speaking, a meat eater has the upper hand if you think all animal lives matter.

But maybe we should listen to a dumb city dwelling vegan who has never set foot on a farm. Lets wipe out forests and cultivate the land for farming. We'll wipe tens of trillions of animals in the process. And that's before dousing the farmland and vegetation with pesticides, petrochemicals, etc. But vegan feels over reality right according to the lazy journalist and the agenda pushing CEOs and corporations.

Or do cow, pig, chicken lives matter more than insect and small mammals?

Are the thousands of lives lost for a single salad meal worth a single cow's life that could produce a thousand meals?

Edit: Downvoted? I guess vegans don't like science. Maybe you are more of a huffpost crowd.

https://www.huffingtonpost.ca/2012/05/02/bugs-in-food_n_1467...

https://www.telegraph.co.uk/foodanddrink/11581770/Hair-aphid...

Downvote all you want. Vegans eat more animals than a carnivore. In case you were wondering, insects are animals.
Or in my fave language:

my @primes = (1..∞).grep: *.is-prime;
my @twin_primes = map { ($_, $_+2) }, @primes.grep: (*+2).is-prime;
> If you want to rely on SQL to do all the locking for you this usually doesn't scale.

I suspect you have a mis-adjusted notion of "usually". "Usually", as in, for the majority of systems designed and in-use in the world, a well tuned, reliable RDBMS will be able to do this absolutely fine. The scale of systems that the world needs vs the quantity of them is an extremely long tailed curve.
I guess there are many variants of kale chips, but never tried one that tasted particularly "lemony". They are indeed a bit bitter, but the ones I buy are mostly a fried something with lots of salt (yeah, like pretty much all chips). I do like its texture and more earthy/complex flavor, which I generally find more interesting than potato or tortilla chips alone.
The Tale of a Bug in Arc: Synchronization and Data Races
I'm personally doing something similar in a C++ project that I'm working on. I designate comments with a //. When I load the JSON file, I go line by line removing comments as I find them. Once the file is parsed you can feed it into any regular JSON parser (personally I'm a fan of https://github.com/nlohmann/json).

Using JSMin would have been a much better idea. At this point though the only downside is that I haven't yet done this for saving JSON. It's a harder problem but I don't see why it wouldn't also be doable.

edit: Apparently this library allows you to have comments, and will even preserve them when saving the JSON file.

https://github.com/open-source-parsers/jsoncpp
> It's very hard to believe it is not possible to publish medical data in an anonymized fashion that does not infringe privacy rights

Then you're one of today's lucky 10,000: "Robust De-anonymization of Large Sparse Datasets" http://www.cs.utexas.edu/~shmat/shmat_oak08netflix.pdf

A lot of environmental medical research results in dense and small data instead of sparse and large data, which obviously means it's even easier to de-anonymize.

And the really important take away from the above paper is that you need to know about all the other public data in the universe in order to really ensure anonymity. Even when anonymity seems like it's "obviously" not going to be a problem.

You never know what dataset will be leaked/published tomorrow correlating columns D-F in the spreadsheet you gave EPA to someone's first and last name. So privacy is like computer security: you can never be totally sure. So when the stakes are high you should be extra cautious. And the stakes when sharing medical research are very often high.

> If that's true, how people validate any medical research at all?.. I have very hard time believing that's the only way to do modern medical research known to our civilization.

This isn't exactly a new problem, so scientists have had a little while to figure out how to make peer review work.

You share the data. You share with trusted, relevant third parties who promise to preserve the anonymity of study participants. Just becuase you do not publish possibly de-anonymizable and definitely sensitive medical information on a public website does not mean you don't share the data with interested and relevant third parties.

> But you seem to have arrived to pre-determined conclusion already, and there in fact can be no middle ground that would be acceptable to you, as it seems.

On the contrary, I do literally exactly that in my very first post in this thread: There are some common-sense workarounds. For example, requiring an EPA or third-party audit of the original dataset and analysis. Or simply carving out exceptions for research whenever it can be demonstrated that an IRB (and therefore federal law) would not have allowed the research without restricting public access to data/analysis.

The situation where IRB says "no" to public disclosure should explicitly trigger exemption, with the duty falling back to the agency to prove the IRB was wrong in the first place. The fact that this exemption is not automatic is what makes this a catch-22 that pins researchers in-between their IRB and the EPA administrator in charge of evaluating their exception.
Except that's not how it works in the Android world. You have internal storage that needs to be freed up to hold apps. When that memory runs out, that's it. The SD card isn't for holding apps.

We used to root Android for this reason. We needed to free up silly apps no one uses and we had to have the ability to aggressively clear out the system.
Sounds like an excelent front end, for best performance. For the back end stability is paramount, that's why I would always recommend to pair this with a shell script server: https://github.com/avleen/bashttpd

Bash is undeniably the language with the highest possible stability, you can literally feel the stability and security when a file is served and the hard drives go crazy.
The problem I have with using anki for 2+ years is I get too lazy to make cards. It feels like tedious data entry work, I'm wandering if I'm the only one that feels this way? I have to run anki, open the add item panel, figure out how to format the card / phrase the question, pick a deck, pick a card type, move the mouse over click tag, enter tag, write it down, press enter, minimize the application. I would to do this several times throughout the day since I learn things inconsistently. My productivity tanks when I use anki. Because I also have many other tools for jotting notes, emails, slack, blog, etc. I already tried practically all the anki plugins out there too

This is mostly for computer science / programming. If I used anki for learning a language, I would just mass create all my cards at one time or use a curated deck.
I bought some great pima percale sheets on Amazon. They’re actually the best sheets I’ve ever owned. I was not expecting to find quality sheets there either. They’re actually available for California Kong’s too: Peru Pima - 415 Thread Count - 100% Peruvian Pima Cotton - Percale - Bed Sheet Set (California King, White) https://www.amazon.com/dp/B01BSWKHE2/ref=cm_sw_r_cp_api_uHts...

The thread count looks low, but it’s percale so it’s actually a better woven fabric overall (from what I’ve read).
Wow! why is everyone down voting this guys comment? He never said this previous discussion was about the contents of his stomach he just said here is a thread about the same ancient dead guy. I for one am glad he posted it so I could learn more about the same topic. I find it disgusting that one guy lays out an unjustified criticism and you all jump on the band wagon and downvote him to oblivion. Rpvnwnki6 thanks for linking to the old thread about otzi I appreciated reading the related thread.
In this case exacerbated by the fact that said lifestyle or ideological change involves one of the bare necessities (since all of the "equivalent" examples I've seen do not).
Obligatory: "this is why Trump won."
Some people can't handle alcohol. Others can usually handle alcohol, but it really only takes one time to be an issue. Get large enough, and serving alcohol at company events guarantees at least one, sometimes more, HR headaches, statistically speaking.

I'm not a huge fan of a company changing its behavior because it wants to avoid risks that are just inherent in dealing with people (the logical conclusion is to pretty much treat all your employees like children to avoid anyone causing trouble) but I can at least respect it if they're up front about their motivations.
> On what moral grounds does Socialism justify confiscating property and sacrificing lives? We can certainly disagree about what is or is not Capitalism but this is what Socialism does and you know it.

With regard to “confiscating property”, I disagree that socialism does this simply because it had a different model of what are property rights than capitalism, anymore than capitalism does simply because it fails to recognize as property rights some things that were considered property rights under feudalism.

As for “killing people”, while I see how that's true of, say, Leninism, I don't see how it's true of any of the socialist models that build on rather than bypass capitalist development (abandoning that was where Leninism diverged from Marxism.)
If its anything I expect their will be fights and complains. Hell yeah inam clicking those l. For now my mind looks for

1. Uber screwed up in a new way.

2. How interview process sucks.

3. Why this X language / framework sucks or we are leaving this.
By my maths that was $840 minimum, versus $900 iphone. As is often the case, it seems that things cost a little often, or a lot but less often.
I guess you are set on assuming who is asking the question. Cost isn't a concern in my decision, I can pay for it out of pocket and I'm not seeking prestige. Thanks for your time.
Great article I'm glad to see at least one tech giant is (attempting) to cater towards low-end smart phones:

https://techcrunch.com/2018/06/27/instagram-lite/
Another site http://jarrettwalker.com/ and https://twitter.com/humantransit

I'm not sure they've done any work in the SF bay area, but nearby I recently ran across a background analysis they did for Sacramento which I found really interesting http://www.sacrtforward.com/wp-content/uploads/2018/04/SacRT...
> Why should I write (+ p 2) when most people think (p+2)?

just an observation. most people don’t think this naturally. most people learned (p+2). maybe there’s an argument for whatever is more natural, but the point is that people forget that what they view as natural was once unnatural and had to be learned.

as a small anecdote, i did a calculator competition in high school. we used those hp rpn calculators. it was unnatural at first but then i flew once i gained the skill in using rpn.
I think it's best when what you do is at the intersection of what you can do, what you should do, and what you want to do.

Unfortunately, those three things don't always align in reality.
Very difficult to measure IMO - a causality analysis requires more control over the variables. It's too easy to make measurement errors in social psychology studies.

Who would be willing to eat fast-food and put themselves on a bad diet to test if their ability to resist authority deteriorates? The sampling bias alone would be too big and skews the whole result.

And people learn: Maybe their behavior in authority tests changed not because of their diet but because they get confronted with those tests more often. We can't be sure that they slept enough or that the food is responsible for their change in behavior.

Designing such a study and pulling it off without making major mistakes is harder than writing completely bug-free code for a big software project.
I made another comment, but these are some of the best sheets I’ve ever had: Peru Pima - 415 Thread Count - 100% Peruvian Pima Cotton - Percale - Bed Sheet Set (California King, White) https://www.amazon.com/dp/B01BSWKHE2/ref=cm_sw_r_cp_api_uHts...

Thread count isn’t everything. These use a percale weave so the individual threads are larger so it feels much higher quality. I highly recommend them. Especially at the price.
Java? Shouldn't that just be JAR + JVM?
Did anything get better after acquisition by Yahoo pre-Oath? I'm actually fine with trying different things and failing, but my spotty memory is Yahoo batted 0.000, Flickr surviving Yahoo by being acquired by smugmug seems like a moral victory more than anything as a fan of Flickr.
Thanks for insight, I tend to agree that industry experience is more valuable then going to a top 10 law school. Especially after working at a big 4 and seeing lots of people from top tier CS programs provide subpar engineering solutions.
Well, I thought about saying that with Haskell, it was semantics at least as much as syntax. By that, I meant what you meant, but I also meant more: I wonder if functional programming itself is a poor match to the way that most programmers think, and not just because they are untrained on FP.

But I didn't say that, because I thought it was a bit of a digression to my point, which was already a digression on phkahler's point, and the digressing has to end somewhere...
Something i've had success with is finding the appropriate subreddit for that product category - they'll often have a "simple questions / what should i buy " sticky thread or the sidebar will link to some infographics about the established best buys at various pricepoints.
I was at the Talisker distillery a couple of months ago. Like you said, the Talisker 10 year is a very approachable medium smoke whiskey. I enjoy the laphraig and lagavulin. I brought home a nice assortment of ladaigs I picked up in Tobermory. The 18 year oloroso finish was quite nice.
What was interesting to me when I read through the indictment was how cryptocurrencies allowed the investigators to connect so many activities. Imagine them trying to figure things out if it had all been paid by cash.
Android has supported apps on SD cards for ages. First with Apps2SD then since 6.0 Adoptable Storage which just treats internal+SD as one big storage pool. A lot of higher end phones have disabled the UI for Adoptable Storage due to performance concerns though it is still possible to set up with ADB commands. This type of phone however is the exact sort of thing it's meant for.