skysight-inc/HackerNews huggingface dataset:
Of course, if you're a journalist or news reporter, then you're a bit screwed here. The stuff you need to write about is what's being posted on social media, especially when you're working for an entertainment focused media outlet. Someone working for a gaming, TV, film or music focused site or writing for a gossip mag isn't going to be able to quit Twitter/Facebook/Reddit/YouTube any time soon.

Then again, maybe that's also kind of why everything's become so polarised and clickbaity in the media world now. Because the people writing for it are incapable of writing anything deeper than a 140 character soundbite.
Just FYI `https://pydoc.io/` doesn't load but www.pydoc.io does (at least for me).
Any readability problem in vector-map! there is an issue with some given Scheme and the available primitives that it has out of the box for writing it.

TXR Lisp:

(defun inplace-vec-map (f v)
(each ((i (range (length v))))
(set [v i] [f [v i]])))

I should provide mappers that iterate over the places in a sequence.

;; Fantasy:
(each-place ((elem seq)) ;; seq is vector, string or list or whatever
(set elem [f elem])) ;; elem is mutable place alias

Good idea. Like non-const iterators in C++ or whatever.

If `[v i]` is repeated a lot in the body of the each, we can currently approximate this now with placelet, an invention of mine:

(each ((i (range (length v))))
(placelet ((elem [v i])) ;; once-only evaluation of [v i]!
(set elem [f elem]))) ;; elem can be used many times

That translation for the each-place fanatasy construct would work, but would be inefficient for lists; it has to use some type-specific iterator object under the hood to designate the place with constant-time access.

Lisp is forever malleable and can overcome any ergonomic problem that anyone wants; you just have to articulate the requirements clearly: "I don't like writing X; why can't it be expressed as Y".
https://lobste.rs/
The author mentions:

"There are many issues with social media, from its corrosion of civic life to its cultural shallowness,..."

Can anyone elaborate on how it "corrodes" civic life? I am guessing this mean "civic" in the sense of civility not civic as in civic duty? Is this referring to the mean spiritedness of many people's online personas?
This weight is mostly explained by the dependencies. Oh, hi Mark! relies notably on elasticlunr as a search engine and unfluff to scrape saved pages.
There is definitely space for optimization here, but I chose to rather focus on features until now.
It has certainly given me a long and gainful career that I otherwise wouldn't have had if I had become a teacher or Accountant like I had planned.

My work ethic was mostly shaped by high school athletics, but perhaps codified (pun intended) by programming.
>But that’s not the “Pro Market"

Every time I come into a thread about the new MacBook Pro, I'm always being told that I'm apparently not a professional. And it kinda hurts a little bit.

Maybe it doesn't meet your particular needs, but insulting everyone who doesn't use 32GB+ of RAM on a day to day basis isn't very nice. Yes, saying "you're not a professional" is an insult to people who are very much professionals.

If you guys want a machine with multiple processors and 128GB of RAM and 5TB disk storage with terribly battery life, you should pressure Apple for a new desktop. The MacBook Pro is not and never has been a mobile workstation. It's a notebook first and foremost.
I did a quick "visualization" hack a while ago http://nbviewer.jupyter.org/urls/gist.githubusercontent.com/...
Also, if you're young, low income, no kids and have no assets declaring bankruptcy (in the event of a high cost health event) seems like a better scenario than being out $150/month for insurance (and still paying for other healthcare costs out of pocket).
> many smaller operators wind up after extraction, and leave their tailings for the EPA to deal with, and reincorporate and move on to the next parcel. Again, not just fracking - applies to a lot of stuff where waste is produced.

There is an easy way to protect from after-effects: the government must mandate that a specific percentage of revenue be set aside in a trust or other impartial entity (government itself doesn't count, because government funds are always open to be tapped for other purposes). This money is at the end either used by the government to fund restoration if the operator goes belly-up, or refunded to the operator.
Coinbase will fight vigorously -- for marketing purposes. Ultimately they will lose and be forced to cough up data about their customers.

This is not because of bitcoin. That's just a distraction. This is about tax evasion, which is an existential threat to a government. Without revenue, a government dies. With visible disregard for laws, a government dies.

Coinbase must, therefore, submit. The Federal government has no alternative. If the current laws are inadequate to the task (hint: the current laws are quite adequate, thank you very much), additional laws will be enacted to accomplish this.

If the Department of Justice can bend the biggest banks in the world to its will, why should we expect Coinbase to be able to stand unbowed?

We need only look at recent history to predict Coinbase's future. Look at enforcement actions against Swiss banks, and the massive fines imposed by the U.S. This has acted as an efficient "pour encourager les actress" strategy.

Related: see the U.S. government's crusade against online gambling, or the way the eBay tax data hole was plugged so that sales are now reported on Form 1099.

Prediction: Coinbase will provide data to the government.

Recommendation: if you use Bitcoin, report your income (oblig disclaimer). And do business with companies that have zero contact with the U.S. -- no offices, no assets, no owners, no employees.

(Disclosure. I am a tax lawyer. I have defended many, many innocent :-) Swiss bank accounts against Federal tax evasion claims. I have dealt with tax problems involving BTC as well. It's easy to predict the future.)
The ballot is secret so you cannot pay people to vote a certain way. It has nothing to do with judging people for their vote.
Isn't reading academic books and articles very different from average nonfiction books though?

In any case, I'm doing a book a week project myself and don't find it that challenging or time consuming.
>It's like asking people who don't have a car to pay for car insurance

Because this is a bit bait-y, I think a better analogy would be to say: "it's like forcing safe drivers to also have insurance".
> Your religion or political opinions should not matter at work.

This is true only if your company has a deliberate no religion or politics position, and can operate like such.

There are three things you hire people for:

- Doing something specific

- Working more general things out

- Choosing what the first two do

The first is completely apolitical, the second is partly apolitical, the third is completely political. Suggesting that a company is not, in some manner, a political machine is a useful way of shifting the blame for the things it does to the regulatory system and making employees do things they don't agree with.
> "The best way to move ACA in a progressive direction would be to have a large public player in both insurance and as a provider."

One of the main reasons ACA is more expensive than it should be is because health insurance companies are jacking up the price. The insurance companies are surplus to requirements, once the US gets rid of them (and cuts down on price gouging by the pharmaceutical industry) the overall healthcare costs should drop dramatically.
Preferred foliation is the term. Ctrl-F it here:

https://en.wikipedia.org/wiki/De_Broglie%E2%80%93Bohm_theory
I couldn't care less. My employer can do whatever he wants with the mad people like I named, but if he does anything other than firing them, I go, don't even think a second.
“A reader lives a thousand lives before he dies. The man who never reads lives only one.”

- George R.R. Martin quotes
I'm a bit confused about that part too. I first thought loops are just repeated collisions, but "Loops represent all the intermediate collisions that could take place between the initial and final states" seems to describe something slightly different.
Later edit:
this https://en.wikipedia.org/wiki/One-loop_Feynman_diagram ?
Age restrictions on marriage have little to do with childbearing, as they are almost invariably set many years after the point where a woman can bear children, and depart from the (awful) historical norm of women being married off as children --- and as property --- as soon as they reach that age.

If you were casting about for further evidence for your argument that marriage is more about the sanctity of procreation rather than about property rights, I think you've hit on something here that harms that argument.
Congratulations on building something and putting it out in the world for feedback. That reflects effort and a willingness to take risk.

Getting community engagement is going to be harder. Consider my user experience. I'm on my laptop, but I figured I'd look in the play store and see what it is. But because it's in testing, I have to log in with my Google account. So between catching my attention and getting me involved, I would have to switch devices, login from Android, navigate to Play, install the app, use it, and only then if I cared enough about the app to provide feedback I might be bothered to provide it.

If there is a 50% chance that a person will do each of these things then 1:32 will convert. I doubt it is anywhere near that high. Making things easier for people to see your idea will make building a community easier (but not easy).

Good luck.
I think the story of not having enough young people to pay for older people is missing a bit of evidence. Especially since if labor were scarce we would be seeing increases in wages, inflation and a tight labor market. Instead we have the exact opposite. Really the economy's limiting reactant for the past few years has been demand not labor especially considering that a 2x improvement on productivity is not that big if we consider that worker productivity has been increasing much faster than that over the same period of time. How governments fund their programs is an issue but relative scarcity of labor (or resources) in the economy isn't one of them. This is especially true in europe where lack of inflation has been a real issue for so long.
Interesting you compare those two groups where, in the 21st century, an anti-vaxxer is more likely to be responsible for causing a death.
There are no viable alternatives to oil apart from coal and nuclear, sorry

Not until we have an order-of-magnitude breakthrough in battery tech or some new form of storage

Germany raised it's electricity price almost 3 times since it started it's riddiculous renewable energy bs and they still are only ~25% renewables (And they offshored their heavy, energy intensive industry that just packed up and moved to China, to happily pollute even more than before)
Hacker News isn't social networking. Look, you have no friend list. No private message box. No feeds are pouring into your account. If you post something inane, you're punished by anonymous strangers.
I imagine there is some software where you can block the entire domain but whitelist certain subreddits - I do not think the hosts file affords that level of granularity however.
switzerland is by far the most expensive health care system in the EU. Crucially it doesn't outperform by very much either.
> Other manufacturers don't make computers as good. If they did, you'd have bought one of theirs by now instead of complaining about Apple's offerings.

That would be a reasonable conclusion if I could run macOS on these computers. If I could develop iOS apps on a Razer Blade without running a fragile Hackintosh setup, I would have ordered one already. (Plus a sticker to cover up the gross green logo.)
Breakthrough Initiative: Boldest Effort to Answer Our Oldest Question [video]
Rendering Strange Attractors
You're equating money with freedom where the question is philosophical: can you be 'free' in any meaningful way if your life is burdened by a lack of education, the financial ruin of having been seriously ill, or the handicap of having been poorly treated for a disease?

So yes, that's precisely the trade-off. We accept to lose a little bit of money in exchange for the ability to flourish.
Do whatever you want, but that does not make you a "good guy", just a vindictive weasel.
Because income tax isn't the whole story. The French also pay social charges: ~8% on salary (and, unlike income tax, no relief on the first €9.700); ~15% on capital income (e.g. a house sale, investments etc.). Employer's also have to contribute to employee's social security (~13%). So, total tax revenue is closer to ~45% of gross salary (excluding TVA tax levied on purchases made with your net income). See: http://www.cleiss.fr/docs/regimes/regime_france/an_a2.html

Long story short: the level of care is fantastic but it costs the country a fortune and there's huge waste within the system (seen it first hand). Note too: most French also pay for private health insurance to augment the default level of state care (for things like dentistry work, optician etc.).

So it ain't cheap but if I had a serious condition there's no place in Europe I'd rather be to have it treated.
I absolutely love this book. It's very accessible, though perhaps not for younger kids.

[But How Do It Know?]
(https://www.amazon.com/dp/B00F25LEVC/ref=dp-kindle-redirect?...)
Ask HN: Who is using Docker/rkt containers in production?
The press is mixed on Docker (and to a lesser extent rkt), especially for use in production environments. Is anyone finding success with Docker or rkt as part of their production deployment?
I'm going to be visiting SF/SV for 10 days in a few weeks' time and I'm an avid woodworker. Got any tips where to visit? Any stores where I could pick up some vintage tools or nice materials (like Japanese Shoji paper or Old Brown Glue)? Any museum or historic site with something curious for a woodworker?

I doubt I'll have enough time to actually work on a project but who knows. Perhaps there's an opportunity to cut a few dovetails and have a chat and a drink :)
After reading Nate Silvers book about predictions where he delved into different fields I believe this is pretty much correct if it had said the most complex predictive science. The other one that might be harder is earthquakes since we haven't even gotten close to guessing when those are coming.

In terms of raw computing power I don't think there's any industry that utilizes as much super computing time as weather prediction. So there's also that.
What does "political action or political activity" mean here? Everything you say or do is political to some degree, but it would hardly make sense to tolerate everything someone says or does.
Show HN: WishList Web App for iOS App Store
When I switched from a Thinkpad W530 to my 2015 13" rMBP, I was able to fit my laptop in my backpack along with three changes of clothes. With one purchase, I was able to leave my suitcase at home and bring just one carry-on bag with me on business trips.

It was a game changer. I can get through airports quicker, I can pop my computer in and out of my bag anywhere I want. I can keep it on all day a client sites without having to plug it in. I only need to carry one bag with me when I travel Monday-Thursday. Prior to the MacBook, I was carrying a backpack with my laptop and a suitcase with my clothes, because they wouldn't fit together into a carry-on-sized bag. Now it's just one backpack.

I can't stress enough how much of an improvement that has had on my life. I wouldn't want to sacrifice anything: not a minute of battery life, not a centimeter of thickness, not a gram of weight. Every measurement matters when you're traveling.
> Nationalism and expressing love or pride in one's country (patriotism) are two different things

I would agree that they are distinct, but very much related.

> Nationalism focusses more on cultural background, language, and heritage, which "I ︎<3 America" doesn't necessarily convey.

Ok, then, how about this t-shirt of Mickey/Heart/Flag: https://www.pinterest.com/pin/155866837074483117/
This only works if I am logged in though. Thanks for pointing it out though as I completely forgot about it.
Chad and Brad are in a pretty shitty position right now as far as these things go. They have product owners breathing down their neck and are increasingly signed in as the pair chad+brad@company.com in their open-office chain gang, unable to take even a moment's solitary contemplation about what they're working on.

They were not hired to do anything other than check off stories on a task board, their “velocity” tracked by the system described in Piketty's “Capital in the Twenty-First Century”.

If one of them were to get too invested in the ideas described here, he'd be chastized by the other, or by a manager, or the rest of his team collectively, and potentially replaced.

This is at least part of what people mean when they lament that software engineering isn't treated as a profession in the manner of doctors or lawyers. Many of us may be very smart and able to weigh issues like these, but these things are not encouraged or rewarded or respected by most of the employers.
> without having some editor assist you doing the counting for you

The problem with your statement is in just this point: everybody does have an editor that does this for you ;-) Unless you write code with ed, or Windows Notepad, I don't know of a single editor out there that doesn't do this.
clickbait / ad
I understand the procrastination argument but if it is not some (social) website it is something else. People who tend to procrastinate will do it anyway.

At least this is my personal experience.
Yes, Wales has been underfunding the NHS.

Infact most of the NHS is being deliberately underfunded. Its partly what the junior doctor strikes about.
Grandes écoles are not just engineering, administration and economics schools.
I think you broke him, Maciej.
Are you implying that our actions make no difference? There are vital differences between +2°C and a +8°C global warming.
Using Geometry in UI Design
Some also people made a career and a lot of money out of saying obnoxious things on social media.

I think it works both way. It can be detrimental to people who think what they say online is "private" (Justine Sacco), but plenty of attention seekers double down and take advantage of the viral effect of Twitter or Facebook to "promote their brand", whatever that means, or to make up controversy. But for these people it is also a double edged sword as the consequences of saying something on social media cannot really be controlled. But for most of us it is only a source of problems and unnecessary controversy, it is especially true on Twitter.
How does free speech act as natural selection if there's no penalty for 'bad' speech?
The rejoicing one tends to hear around this place is from the apocalypse mongers, gleefully trading stories about how global warming will kill us all in exactly the same tones as fundamentalist Christians in the 1980s spinning lurid tales about the sinners being tortured in Hell. Seriously, the parallels are uncanny.
Show HN: A command line interface to UVA online judge (competitive programming)
I would start with vectors and physics.

Note that there is some basic calculus involved in both of those.

The Wikipedia is a bit dense, but if you take the time to follow links to concepts that you aren't familiar with you should be good.

https://en.wikipedia.org/wiki/Vector_calculus

You might have done a little bit of calculus with High School trig without knowing it. Sometimes Trig is mixed in with Analysis for some nuanced reasons.

I would check out the Khan academy post for a basic grounding in calculus.

https://www.khanacademy.org/math/calculus-home/limits-and-co...
Easily clean up a team's remote Git branches
Companies use projections for how well the line up will perform when they refresh it. They might be optimizing for different factors so the underlying logic is not always obvious but you can get a fair idea about where they are coming from if you visit a big box retailer during a weekend and just watch the sales interactions that are taking place. The 'average' consumer's needs are vastly different from the HN crowd, and even among such 'average' consumers preferences can vary widely by geography (primarily because of the difference in income) - something that companies other than Apple try to cover with product lines.
Just wanted to say I really liked the little cartoons. Do you do them all yourself?
Same here. HN is addictive, but also insanely useful in some cases which makes it hard to leave like any other mentioned site there.

I literally owe many of my succesful professional decisions to researches that initally started here. I find some interesting article, read the comments first, then the article, then the comments again. In the middle of this flow, I decide whether it is worthy to save to my Pocket account. Those things in my Pocket quite often become kickstarters for things that I eventually adopt using or learning. I see no way of giving up such opportunity. Why would anyone do that? (That is a serious question that I really wish there exists a convincing answer)
As soon as you "shout" something in public, it's not personal anymore. It's true online like in real life. The problem is now you have an audience of potentially millions of people online, which makes things even worse.
It will matter once Apple decides to drop support for the current iMac. (Who knows, maybe the ARM switch will eventually happen? The G5 iMacs became obsolete over night when the Intel switch happened.)

As it stands, you can neither recycle it as an external display nor can you run Linux on it at full resolution.

Not really a "pro" complaint - just something to keep in mind if you plan to hand it on.
I spoke in generalities. You are absolutely correct. I have no claim to being an expert or even a layman. What I do know is that once a description of any thing exceeds a certain threshold, there are bound to be redundancies. Think of it in terms of codebases for large softwares. The Linux kernel is approaching 20 MLoCs. I'd wager heavily on there being a different architecture delivering the same functionality with less code to describe it. Proving it would be a tremendously hard task, far outweighing any gain from such a bet.
You're right, I was misinformed. Acidizing is what dissolves rock.
Hi all,

Original poster here...

This is my first time building a web app from scratch (and my first time posting to HN), so I thought I'd share it with you all.

This app was built only using HTML, CSS (with Bootstrap), and JavaScript (with jQuery).

As a side note, I made this app so that I could easily keep track of the prices of my favorite apps on the iOS App Store.

I hope you all enjoy using the app and I'd appreciate any feedback.
> Scheme isn't functional.

"Scheme is a functional programming language ..."

-- https://en.wikipedia.org/wiki/Scheme_(programming_language)
Quit hacker news, your career may depend on it
I'm Larry McVoy, email is my initials at my last name.com. Send me an email and I'll start thinking about where to send you.

Cheers,

--lm
Yep, this happened to me last year as well.

- Severe diarrhea accompanied with excruciating abdominal cramps (hot knife w/ twisting, etc)

- Call ambulance. Taken to Saint-Anne within 15 minutes.

- Given IV fluids, pain-killers and anti-spasmatics

- Released one hour later; was able to walk home (I live near Denfert-Rochereau)

- Total time in care: 2 hours. Total bill: 0 (after reimbursements).

Say what you will about France, but they care for their own.
Congratulations, you've just discovered the truth behind the entire women in tech moral panic.
> I wonder if other languages have such an array of words for a toilet, and how much confusion they cause for foreigners.

Let me try in Spanish: servicio, baño, excusado, w.c, mingitorio, tigre (this is slang)