skysight-inc/HackerNews huggingface dataset:
i feel terrible that i really dont care about cambridge analytica because its nice to have free stuff
YMMV

Shift + R-click

Ctrl + {left/right directional key}

Shift + Delete & Shift + Insert
I can tell you as a long time China watcher this is unprecedented. These guys never air out differences in the press. Quite simply it isn't done.

I thought the Chinese would wait as close as they could to the US 2020 election to cut a deal. Something is going on here that is not obvious.
The stock price is making bold moves already. I'm kinda hoping that they can keep that momentum.
It's probably not what you'd use often/at all but I recently was glad to discover Google's import-mailbox-to-gmail[0] script.

Technically a CLI I suppose, it imports an mbox file into Gmail. I had switched to G Suite and wanted to import some old emails. It took a while but this did the trick!

[0]: https://github.com/google/import-mailbox-to-gmail
The State of JavaScript 2018
Nice question!

Here my personal setting:

- Email : mutt [http://www.mutt.org/]

- Passwords manager : pass [https://www.passwordstore.org/]

- Navigate directories : autojump [https://github.com/wting/autojump]

- Task manager : task [https://taskwarrior.org/]

- Music : cmus [https://cmus.github.io/]

- Text editor : emacs -nw [https://www.gnu.org/software/emacs/]
Ah yes! I knew I had forgotten to install something recently
The parents.
> Any time you call a blocking function that the system provides, it should immediately yield the fiber, which makes it look preemptive.

Makes sense. It let's you avoid the quite verbose and incompatible async/await syntax.

---

> The author was talking about different methods for handling more than one request at a given time, which include forking and threads

I feel like if the author suggests forking, he should also provide a way for reliable robust message passing, like erlang.

---

Thanks for such a detailed explanation. I wish more languages supported Erlang style processes. That are green, preemptively switched and multi-core!

Do you have any experience writing such systems? I was thinking to experiment with the cpython interpreter.
Yes what's with all these travel sites and shady marketing techniques. The worst of the worst is booking.com.

Oh my god, booking a hotel on booking.com gives me anxiety. The constant notifications like "10 people are going to book it", "sorry we sold our last room", "you missed it by 1 min", "last room booked 2 mins ago" feel like they want to just scare you to death with scarcity. Wtf, this site definitely crosses the line between marketing and just plain shady.
Yeah, it looks uncannily similar!
Interesting, Chinese IT companies have long been controlling the media, basically corralling "reporters and self-media operators" into private chat groups administered by their staff, therefore excluding outsiders and naysayers, effectively forestall most negative coverage.

Also they don't have quite as many insider leaks.

Cellphone companies like Huawei and Xiaomi would give these people test units and guidelines about how to write articles. You can hardly see candid reviews, a lot of them just do shit-tier translation of TheVerge and other English sites(not sure authorized or not).
Many Bothans died to bring us this TPS report.
that ought to be intended.

That ought to be "indented".
Also recommended: two-volume set "Musimathics" by Gareth Loy.[1]

The work's topics are, mostly, independent so I find it enjoyable to pick up and read a chapter from time to time. He tries to cover the math of everything musical from scales and composition to synthesis and signal processing to acoustics and physics.

[1] http://musimathics.com
As someone who hasn't invested much time into tmux/screen, what are the benefits of it over just using eg; multiple terminal tabsn or using the terminal's built in split windowing? I'm sure there's probably a benefit but I dunno what it is
Network traffic reports for dealing with Google “unusual traffic” notifications
If people want "batteries included" solutions then nowadays they are better off going with spring or ASP.NET Core.
> But what's the point of showing it?

To reason about reliability and its impact on costs.

> Real systems have 99%+ uptime, or they aren't deployed.

Uptime is not correctness.

> failure rates are astonishingly low [...]
> I don't see you arguing with that, because you can't argue with it. It's the facts!

No, it's your perception.

These are facts:

- https://www.cvedetails.com/

- https://www.debian.org/Bugs/

- https://bugzilla.redhat.com/query.cgi

- https://bugzilla.kernel.org/describecomponents.cgi

- https://bugzilla.gnome.org/query.cgi

- https://bugs.kde.org/describecomponents.cgi

- https://bugzilla.mozilla.org/describecomponents.cgi

- https://bugs.chromium.org/p/chromium/issues/list

do a search in any of these issue tracker and you will be overwhelmed with facts.

Now, I agree that, with huge efforts and costs, over decades many developers and companies managed to go beyond the 99% correctness on some projects.

But with simpler systems and designs, the cost of reaching such level of quality (that most of software do not even aim to reach) would be a tiny fraction.

> Not doing "the right thing" works. Doing "the right thing" generally doesn't

I wonder if you read the article at all.

I proposed a third style: simplex sigillum veri.
Clear showing of the power of the network effect.
I'm just gonna say it - people being swayed by Russian Facebook trolls is just another form of political campaigning. If you can't learn to be objective on the internet about what you read don't you think you would be manipulated through alternative media anyway? Remember, there are no such things as stupid questions - only stupid people.
ocsigen does this for OCaml:

https://ocsigen.org/eliom/1.3.4/manual/html

The syntax is fairly lightweight, just << followed by valid, type checked XHTML ended by >>. There are also antiquotations so you can use it as a templating language.

For those of us generating XML from C I wrote a hairy set of C macros:

https://github.com/libguestfs/libguestfs/blob/master/common/...

so you can write code like this (which is not fully checked at compile time of course):

https://github.com/libguestfs/libguestfs/blob/4aa712d551f9d4...
A bunch of references from Suckless community that you can enjoy:

http://suckless.org/rocks/
Does a GPL-compatible ZFS really detract from their FUD churning Solaris business, though?

Those customers can't redistribute Solaris any more than they can redistribute Linux with a CDDL-licensed ZFS. If they really wanted to switch to Linux they could do so today and be in the exact same legal position license-wise. Not to mention they could switch to FreeBSD and be able to redistribute, but again, I doubt this is something very many Solaris users care about. Perhaps the cost of porting their applications away from Solaris is too high, or their middle managers are Oracle fanboys, whatever the reason is, a GPL-compatible ZFS does not threaten that business model.

I think a more likely reason why they pour money into the Btrfs death march while having a turnkey solution just sitting around in the next office over waiting to be singed off by the legal department as CDDL+GPL or Apache or whatever is that each project is the pet of a different pointy-haired boss and they refuse to cooperate internally.
Ταξίδι με το έτερον ήμισυ Όλα όσα θα πρέπει να γνωρίζετε -
Global ESports Takes Over International Competitive Video Gaming
Co-author of the survey here, thanks for posting! Happy to answer any questions :)

(As long as the question is not something along the lines of "My favorite library Foo.js is doing pretty poorly in your survey, surely there must be an issue with your methodology?")
Translating an article and publishing it is a violation of copyright, so clearly not.
Show HN: Multi-processes twemproxy and supports reload config at runtime
Do agree. I am a:

- philosopher (Bachelor's degree)

- sociologist (Master's degree with thesis on criminology)

- international relations student (another bachelor's dg in 2 years)

- C# Programmer (by a workshop)

- Java Programmer (by profession)

- Python programmer / Data scientist (by self education)

- Data Analyst with SQL(workshop & profession)

and the HR guys around here just think "I am not focused enough" and don't even get into the technical phase of the interview most of the time. Sadly, I think, if I could get into that part I'd ace it. Right now I am super demotivated though.

Maybe this is a regional thing, I can not comment about how my resumé would look to an international company but the question of "what does it mean to be an employable person" is a valid one and sadly can be answered with hyperspecialization and/or knowing the right people working in the company.
Read scripts before running them, so you can't do that in BaSH? I do acknowledge the first point you made about a malicious filename though, there should be a safeguard against that, although in all honesty if someone is planting malicious files in your system that you've got bigger issues.
FAKE NEWS
Of course he is kidding, the whole article is written tongue in cheek... it says the opposite of what it wants to convey.
The clock that cost its inventor millions
I'm really curious if there's a deeper reason for why companies are suddenly thrown under the bus by the mainstream media, or if it's just journalists mimicking each other because they lack imagination. First Elon, now Zuck. Who's next?
Great page. Gee, I wish I'd read that before I read Tristram Shandy. Ravelins, hornwork, glacis etc etc get a lot of mentions from Tristram's fortification-obsessed Uncle Toby. Somehow the joke never gets old, even not knowing what they are.
SEC Creates Problems for Smart Contracts After EtherDelta Hit
That any kids still have the curiosity and intrinsic motivation to thrive in college after 13 years in public school is a miracle.
I have yo agree. The first thing that crossed my mind when I saw the $1.8B figure was "with that kind of cash why doesn't he just launch his own university?". I mean, that astronomical level of cash is more than enough to keep a lot of high-paying jobs for some decades without any revenue at all, not to mention building the infrastructure. I'm sure he would be more than welcomed in any midsized city if he reached out to any local government asking for help building a college campus.
I don't think anyone disputes that they destroy lives; what people wonder is what is the most effective way to prevent them from doing that, and what to do with cases where they are already doing that.

One can seriously question whether "stigma" is that most effective way.
Really. Doesn't seem that inefficient if you look at how aggressive some of the top companies are when it comes to competition. That last part is the key, it's a competition and there are winners and losers.

Winning might be that you have carved out a niche market but that probably means you are a loser in the mass market, this is not inherently a bad thing in my mind.
They say they are not changing the "things to do" pages as they for people close to booking. I actually think they are for people that have already booked - I have a trip to Geneva coming in 1 week, let's plan my days...

Also I feel that in the travel industry people have their favourite website where they ultimately go to purchase and TripAdvisor is just not one of those. Anyone I know of thinks of it as helpful travel advice, not a booking engine. People find hotels on Booking.com, look them up on TripAdvisor, book on Booking.com.
This article misses several points.

When we ask people with a substance misuse disorder who use opioids what they started on we find, very often, that they started on meds prescribed by a doctor. Those meds may not have been prescribed to them - they may have been prescribed to a neighbour or family member - but they were prescribed.

This is why the massive over-prescription of opioids is a problem. It floods American homes with opioids that people keep "just in case" and that are experimented with by family members or handed out to neighbours to help out.

Opioids may be a good choice for some people with long term pain (I personaly don't think they are), but that would be in a carefully controled setting being closely monitored by a doctor. It's definitely not using opioids that your neighbour has given you for your dodgy back.

The article makes an incoherent point about what is classed as a CPD. Benzos are dangerous (especially in combination with other meds or alcohol) but far fewer people are dying from benzos than from opioids.
* Email - neomutt + notmuch.

* Chat - Weechat + WeeSlack (https://github.com/wee-slack/wee-slack)

* Pair Programming - tmate.io + neovim

* Google Play Music - tuijam(https://github.com/cfangmeier/tuijam)

I really like bat (https://github.com/sharkdp/bat) as a cat replacement, and I've been enjoying using entr (http://entrproject.org/) for running tests automatically when code changes.
Ex hedge fund guy here. You can extend this into continuous space and use that to tell you how much leverage you should have, given some Sharpe ratio.

Results may surprise you (it's a lot for even a modest Sharpe). But also most practitioners aren't going to use the full number. If you've overestimated it you are always worse off on the right side of that.
Do you have any resources that go into this? I'm interested in learning more.
Dose YouTube down? I can't connect
What happen?
At XCafe Robots Cook, Serve and Clean
Yes. And even if it was sensible article with a solid purpose (it is not), that does not change the basic reputation of ACSH.
You are correct, but fully transactional semanatics by default would be extremely hard to do on a non gc-ed system language like C++. I could definitely see a language with such a feature though (transactional memory would be a good place to start I guess).
I'm a serious fan of Jack Kerouac and I knew he dabbled at painting having read all the biographies written about him.

Someone, might have been his Mother, was quoted as saying that nothing he ever painted was good enough to hang in her house.

So I'm a bit gobsmacked that he was actually regarded as a good artist. I can only hope that someone organizes a travelling collection of his work because I want to decide for myself.
Definitely! That confused me. At first sight, I was wondering about the origin of the content. It was a bad idea to rip off Twitter's visual identity in my opinion.
I don't think you can quite compare Elon to Zuck. As far as we know, Elon isn't stripping away a captive audience's privacy with reckless abandon.
This Github project "Flask-base" is great to start a flask project : https://github.com/hack4impact/flask-base
Lots of things are included, user management/permissions / redis / SQLAlchemy ...
The company I work for also does delimiter autodetection, quote character inference (from a limited set), and encoding inference (which is mostly limited to utf8 / windows-1252 / iso-8859-15, but it can't reliably differentiate latter two).
Youtube OK from my side
You can wait to fire them until commit time though.

Also abort sequences are a thing so you can kinda-sorta unfire them (talk about compensating sequence!).
Rocket Labs Achieves Orbit
Traditionally, books were sold to the relatively educated relatively literate middle classes.

Kindle opened up an area to the left of the bell curve, pulled in much less educated and much less literate readers, and created a new class of much less educated (etc) writers producing content for them.

These new readers are much less picky about essentials like grammar and continuity. There are also far more of them. Numerically, the literate+educated market is much smaller than the barely-graduated-high-school market.

There's also a big teen lit audience which hasn't learned enough about grammar or fiction to be horrified by writing that looks just plain incompetent to educated etc readers.

Publishing rediscovers these markets every few generations. Previous iterations were pulps, potboilers, and penny dreadfuls.

There's a solid core of wannabe writers of all ages with much lower literacy than average. It's a bizarre thing. Their FB and forum posts have the same mistakes their writing does, and their writing is full of the usual potboiler cliches - murder, torture, sex, violence, maybe some magic, lots of shouting and running around.

Some of them are doing okay commercially, so that's just where are now.
These dark patterns are not just looking for anxiety-induced buying. They also help distract from hidden fees, extra charges from currency conversions, and all around lack of clarity on reservations. However, I do know of people who can traverse the website without a bother of all its issues and get really good deals, so there apparently is value to be found under all the screaming UI.
I tend to use TripAdvisor to explore possible hotels in a location. However, the really annoying modal dialog that pops up to insist that you enter booking dates when looking at hotels on TripAdvisor is starting to make me look elsewhere.

95% of the time I use TripAdvisor I'm not booking anything - I'm just looking.
Don't forget the recent seven additions to meltdown/spectre. It'll be interesting to see if the latest round of hardware protections help there.
Please talk more. I'm very curious about hoe this thing will play out. (and wish that china is weakened)
Oh! It's nice to see the monster group come prowling into my day unexpectedly. I clicked hoping to read something enlightening by a group theorist, but five hours in and no comments yet.

The sporadic simple groups are these things I've heard about but feel mostly like mythical creatures to me. One day I'd love to have a nice, geometric intuition for each, and it seems like this is slowly becoming possible for the monster group!

Anyway, I'd love to hear any stories people have working with the sporadic groups.
What I learned by writing my first NPM (browser) module
I think the Kelly criterion doesn't apply as widely as people think it does. Its derivation is based on on maximising the growth rate of your fortune. But this is equivalent to assuming that money has logarithmic utility for you. If you don't value money in a logarithmic way then you shouldn't use the Kelly criterion.

Personally I feel that my utility function is sublogarithmic. If I'm just spending on myself then beyond a certain point additional money makes me absolutely no happier. Note that the usual justification of progressive taxation also assumes sublogarithmic utility. So based on this we should be more conservative than Kelly.

On the other hand, if I plan to give money to charity then my utility function is almost linear. Big charites can absorb a lot of money without becoming less effective. So in this case you should be maximally aggressive, betting everything at every opportunity.

Sometimes people say that because the Kelly criterion maximises growth rate it will be the best "in the long run" even if your utility function isn't logarithmic. But I've never seen any evidence of this. Does anybody know of a toy model where you can prove the Kelly criterion is optimal even if your utility is linear?
I look up hotels on booking.com and TripAdvisor and then head to the hotel’s own website to make the booking.
> any editor that understands Scala will understand scalatags.Text. Not only do you get syntax highlighting, you also get code completion:

Wow.
As per wiki https://en.wikipedia.org/wiki/American_Council_on_Science_an...
Very true. People who try to reduce music to math rarely succeed.

It looks like it's a simple problem, then you realise there are edge cases, then you realise the edge cases are where all the interesting detail is, then you realise your models are braindead and actually kind of useless, and then maybe you start again with a better model.

Repeat forever.
Facebook uses btrfs extensively [1]. I was tempted to try it out again (burnt my fingers on it a couple of years back) but from the experiences mentioned here it looks like it's not really production-ready yet.

1. https://code.fb.com/open-source/linux/
Safe spaces and snowflakes [audio]
That’s actually mentioned in the text.
The Beginner’s Guide to Sales Prospecting
> Opioids may be a good choice for some people with long term pain (I personaly don't think they are)

What do you suggest be given to people with chronic pain which can't be managed with lower powered pain killers, say people with cancer induced pain?
I thought it was "there are no stupid questions, only stupid answers".

https://en.wikipedia.org/wiki/No_such_thing_as_a_stupid_ques...
> So like, prescribe them the pain medication, then help them deal with the cause of the pain.

A lot of pain, most pain probably, does not have a cause.

It is this type of long term pain that is hardest to treat. We know psychological therapy helps people live their lives with pain (it's used with cancer patients), but patients reject it because "my pain is real, not in my head". We know weight loss and exercise helps some people (especially those with musculo-skeletal problems), but we know how hard weight loss is and a year of weight loss and physical therapy is rejected by some patients (a few say "ignore the fat, treat the illness", and a few can't cope with the idea that treatment is being "paused" for a year).

And it's this group who are being most poorly served by opioid meds: they develop a tolerance for opioids until they're taking very high levels. So now they have an opioid addiction, all the side effects of the meds, and they're still in pain.
Which bit do you think is bold? That Facebook is paying right wing lobbyists to tie criticism of its past behaviour to George Soros or that it "tapped its business relationships, persuading a Jewish civil rights group to cast some criticism of the company as anti-Semitic,"?

Both of these seem like the kind of horrible dick moves that define Facebook as a company.

If they were truely bold they would look for ways to operate without gathering massive amounts of people's personal data or supporting those only interested in fostering chaos in the West.

If Zuckerberg was a truly bold leader he'd be winning hearts and minds by showing up to Parliaments in Canada and the UK when summoned over his company's past misdeeds ...instead of cowering behind generic press releases saying "we didn't do nufin'".
Stunning. I must admit that I am impressed by their candor.
Respectfully dude, it seems you haven't read the comment you replied to. The only criticism of geoff's site you seem to have is the aesthetic similarly to Butterick's, yet nowhere did he criticise Butterick's style, only its implementation.
I guess it depends on the type of person you are and how you learn best. In my case for example, I learn better by coding while following a video than when I have read through a massive blog post (Which involves a lot of copying and pasting). That said, text format is great in book form because you can easily reference a concept without having to scroll through an endless page. The only downside with books is you have to wait longer for the content to be updated. Just my 2 cents.
Ask HN: How to turn my voice into text data with as little friction as possible
I want to make a system to speak to my iPhone, make that audio file into texts, and import that to Evernote or Notes. How can I achieve this with as little friction as possible?
Coding Interview Preparation Bootcamp
Agario Private Server
With this great game you will find the excitement you are looking for at online addresses. The environment you need to live up to the end of excitement, prepared at agario private server. With the mouse you are accelerating your cell and you can eat small cells. You are trying to be successful in the race with X button. You divide your cell with the W key. The W key is used for the mines' domains. You can lose your cell to the rival that you give to your teammates.

http://agar.tv
Your fivethirtyeight article is good. The submitted article is pretty poor.