skysight-inc/HackerNews huggingface dataset:
I remember seeing the PCI userspace option in the Linux kernel menuconfig and wondered why anyone would do that, and then a few years ago at Kiwicon I saw my first use case. A presenter was trying to hack a Cisco router.

Older Cisco routers ran IOS directly on proprietary hardware. At some point, Cisco decided to switch to Intel hardware but didn't port their kernel. They use a Linux kernel and ran IOS as a huge 50MB+ binary. The guy doing the talk got shell access and only found one ethernet device when running ifconfig. The actual switching hardware was being handled in userspace by the large binary.

I'm guessing they probably just wrote some shim layers to connect their PCI drivers up to the userspace PCI Linux API.
I can vouch for this too, but the down side for me is that because I've done this for so long, it's nearly impossible for me to fall asleep quickly if the room is remotely warm already...
Some people use "devops" as a derogatory term for developers copy-pasting stuff to the terminal.

Certain in-terms tend to acquire ironical undertones quite quickly, such as "agile" now meaning certified scrum masters(tm) doing half hour standups.
I love Void, but I personally find that Arch is much better supported overall in terms of packages and the AUR. I haven't tried Void recently though so maybe I should give it another go and help contribute.
Probably not, but the method of "fetch" should be possible - either it lists resources, grabs variables, grabs whole images etc.
I use KDE because the window manager is easily configurable to do what I want (even if it is weird).

When I moved from running CTWM to a real desktop environment in ~2001, I submitted patches to both KDE and Gnome to add support for my oddball WM config (basically mapping move/resize/iconify to alt+mouse button press). KDE merged my patch. Gnome closed my bug request, saying that what I wanted to do were against the their design guidelines. So I've been using KDE for most of 2 decades..
This is gov / quasi-gov agency, yes? Do they also oversea what the gov and other quasi-gov agencies collect? Or is their protection limited to what happens in the private sector?
Don’t know why my post got flagged, I provided several valuable resources, going to post it again, exactly as written.

—————

Yes, sound money is on par with both of those. Fiat money has indirectly killed more people than the lack of antibiotics ever did. Fiat is what gives corrupt governments like the USSR and China under Mao (and their modern, less corrupt equivalents) the ability to control an entire economy to the detriment of billions of people.
Once control over money is finally wrestled from the hands of the elite the world will see a boom in prosperity that hasn’t been seen since the industrial revolution.
Read some books, educate yourself on how important this topic is rather than posting a snarky reply.
Here’s a good place to start:
The Mystery of Banking by Rothbard
The Creature from Jekyll Island by Edward Griffin
Theory of Money and Credit by Mises
All are available for free online by searching for the PDF version.
The oasis
I’ve been using Gnome Shell for the last several years, but recently got annoyed enough to switch to KDE/Plasma for a while.

Gnome Shell is okay if you buy into the exact configuration/vision it presents. If you want anything slightly different, the extension system is a clusterfuck, as an end user. Extensions crash, don’t work with updated versions of Gnome Shell, etc. And several simple functional needs such as hide window title bars (to save screen space) were a pain to get working correctly.
Get married.

It sounds like you have had at least a decade of dating. What are you waiting for?
I work about 30/70 on Mac and Windows. I have the caps lock key mapped to ctrl on Windows and cmd on Mac since they’re roughly equivalent. Makes switching my muscle memory when I switch my OS far less necessary. No more hitting ctrl-c to copy on Mac and instead sending a SIGKILL to the terminal!
Any steady stream of thoughts can stop me from falling asleep, even for hours. I have noticed that long hours of programming or programming late in the day causes this state of constant hard thinking that keeps me awake. It can be really exhausting and even end in nightmares.

I think that the article is right that you need to stop this cycle before falling asleep. Meditation practice helps to stop your thought cycle by focusing on your breath. As soon as your focus shifts away to any new thought, and you recognize it at some point, then you try to refocus again on your breath.

However, meditation is done while being fully awake. You want to feel the mind stopping, being fully present in the moment.

I found a trick, that helped me to find sleep, even when having the hardest thought cycles. Lying on the back in the bed, I try to focus on my breath just like being in meditation. After a while I slow down my breath as much as I can. It does not take long and I'm fully asleep.

I use this trick everytime I have a hard time finding sleep. And it always worked for me. Its one of the most valuable tricks in the toolbox of my life.
Did you get paid directly by medium? I know they hired people for things like The Nib. I feel like they hired some people to get initial content, but then expected other people to contribute for free.

It feels like Huffington Post all over again, except more accessible I guess.
Huh? The stuff I'm talking about might as well as have been a verbatim quote from the article itself.

>Through the Civilization lens, raw economic strength is success. Population is power.

What's the difference between that and my statement, "Economic strength and accumulation of resources and sheer population do have a lot to do with who dominates." ?
The hidden studio making £50k watches
The Mastodon website works great without JS, unlike Twitter. Nice!
Not really. This is where Linux kicks Windows butt. Every software install is packaged into a nice consistent archive format that installs and maintains updates for all the software on your system.

BTW Chocolatey and PowerShell are much slower in comparison.
Sex, Zen, and Poetry. The Life of Ikkyu Sojun
> My grandparent's aren't going to host and configure their own blog.

My grandparents didn't set up their own Facebook account either. We (mainly my mom, I think) did it for them. You could help your grandparents set up a blog, then show them how to post to it (think something like WordPress or Ghost, not a static site using Markdown and Git). After all, they had to learn the Facebook interface too.
Do you think moderators of content could be employed to help catalogue and remove illegal content? It seems to work well on the websites that take the effort seriously.

This might provide employment for the many people, often referenced by users on this site, who may be losing work in the near future due to technology's advances.

The moderators would be like quasi-lawyers: able to interpret content and assess the legality in a tentative way... to be further decided through some other formal review process. Of course, anyone could submit content for review, as well.

I could imagine whole industries being built around this task, especially if it's so important to everyone. Just because it's a lot of work, doesn't mean it's the right thing to do.
Not to detract from this project, buy this is a good opportunity to mention Apps Script.

You can do all sorts of interesting things between a form, spreadsheet, and other services including your own. Nobody seems to use it, but internally we do all sorts of gloriously hacky workflows with it.

You can easily script forms/sheets/calendar/Gmail together to create pretty much anything you need.

I use it to send daily email reports of data fed into a spreadsheet.
Yacy?
Always publish on your own platform then syndicate it across all the relevant social media providers to get exposure.

It's a huge pain, especially now that most platforms are closed and don't provide automation (APIs, RSS), but it's really the most flexible solution.

It also makes syndicating to new providers a lot less painful since you'll have some standard raw form (e.g. Markdown) which you can create a manual or automated pipeline for.

Considering Liberapay is using Mastodon, I expected them to already know what they're getting themselves into. Especially with Medium's thickening walls.
https://www.nytimes.com/2013/06/23/magazine/the-obama-campai...
Why do you even need a CDN? GitHub will host static sites for free and updating is a git push. S3 will as well for pennies a month unless your site is huge.
I never understood why people who can use self-hosted wordpress and domain names would decide to give up control and put content on Medium. The stories featured on the front page seem a bit of an ideological bubble (I doubt any conservative bloggers would get any traction there.)

And the whole "log in to your email to log on" is IMO horrible design. I put Gmail in a separate browser to mitigate cookie tracking, having to log on to email then copy the login link to my main browser is much more annoying than using a password manager like every other site.
For people who want simple, out of the box stuff (not necessarily in Python) for just getting phonemes I can also recommend [0]. Not amazing recognition quality, but dead simple setup, and it is possible to integrate a language model as well (I never needed one for my task). The author showed it as well in [1], but kind of skimmed right by - but to me if you want to know speech recognition in detail, pocketsphinx-python is one of the best ways. Customizing the language model is a huge boost in domain specific recognition.

Large company APIs will usually be better at generic speaker, generic language recognition - but if you can do speaker adaptation and customize the language model, there are some insane gains possible since you prune out a lot of uncertainty and complexity.

If you are more interested in recognition and alignment to a script, "gentle" is great [2][3]. The guts also have raw Kaldi recognition, which is pretty good for a generic speech recognizer but you would need to do some coding to pull out that part on its own.

For a decent performing deep model, check into Mozilla's version of Baidu's DeepSpeech [4].

If doing full-on development, my colleague has been using a bridge between PyTorch (for training) and Kaldi (to use their decoders) to good success [5].

[0] how I use pocketsphinx to get phonemes, https://github.com/kastnerkyle/ez-phones

[1] https://github.com/cmusphinx/pocketsphinx-python

[2] https://github.com/lowerquality/gentle

[3] how I use gentle for foreced alignment, https://github.com/kastnerkyle/raw_voice_cleanup/tree/master...

[4] https://github.com/mozilla/DeepSpeech

[5] https://github.com/mravanelli/pytorch-kaldi
I think Civ 1 has climate change/desertification as well. it has been a while since I have played it however.
Right, forgot about Unity, that makes sense :)
Please post about your experience on hn once you have it implemented. It will be valuable to the community and generate discussion for other options.
How exactly does that happen btw? What are all the discovery mechanisms? Once the network is saturated like the Web, what does it do to allow new blogs to be discovered, besides just a "new on X topic" section and stuff people can do anyway to share urls?
Medium even has options to import copies of posts from your main site and an API for it, which they haven't gotten rid of yet.
I expected the other side of this link to be a thinkpiece that maybe having one company host and track all of our blog reading activity isn't smart in a post-Cambridge Analytica world (or even a post-Snowden world, but whatever).

It’s actually saying that maybe giving a company control over your own blog isn’t always so smart. True.

For these reasons it seems dumb to me that Mastodon itself (not the author of this post on mastodon) blogs on Medium. Like a global warming activist jetting around a lot, it just shows one not putting their money where their mouth is.
> Of all tyrannies, a tyranny sincerely exercised for the good of its victims may be the most oppressive. It would be better to live under robber barons than under omnipotent moral busybodies

Check out the HN thread where self-purported google employees are proclaiming google exists to improve society.

https://news.ycombinator.com/item?id=16668375

In the past, it was the church and the priests who decided what was good for us. Going forward, it will be google and their employees apparently.
Medium is a magazine with unpaid writers.
Sounds like a point-to-point directional wifi radio. They're far from a hack and have been used to great success upwards of 2miles away from each other with 1Gbps throughput, even for small ISPs.
So if I understand correctly, the semi was tall enough that it would interrupt the signal between the two dishes on the roof?
Unfortunately its the law of the land there, so yes -- it is enough to comply. There's an argument of not participating to make a statement like Google tried, but in the end China is more than happy to replace any western company with a home-grown alternative (which is going to have far deeper roots to the Chinese government). So long as Apple is not beholden to those laws elsewhere, I think it's probably a net good that they are present in that country than not.

Second, much of Apple's strength comes from its supply and manufacturing advantage which -- depends on China not just as a customer marketplace but that it's the only place with the skills to turn on a dime and produce the products at scale.

Third, look at VTI - Vanguard Total Stock market index. Apple is 2.83% of the entire damn thing. Microsoft next at 2.5% followed by Google, Amazon, and FB. Probably a big deal, particularly for Apple given they're the one actually building physical objects in China, to suddenly be the political football between two nations. It's probably hard enough, and maybe at some point better automation will bring manufacturing back to the US but it's also very likely China will be better in that regard for some time.

Things are more complicated than "just don't cooperate", as much as I philosophically would cheer on such behavior I don't think in the net it would end up good.

Additionally, even for Chinese consumers iPhones are likely the most secure by a lot (though intercepted cloud services are a big unknown now) -- so I'd rather they have access to the devices.

Maybe some of them pay attention to where Apple stands on things, and over the long run Chinese citizens might push local laws in a more liberal direction (though not an easy thing to do, obviously) but it's not going to happen if western companies don't participate at all.

Or, consider users all over the world. How good is it for everyone's privacy if iPhones now start at $1500 because they can't be built in China anymore. Probably would mean a lot less people on secure iPhones vs. less supported/out of date Android phones.
As a consultant I got a job from a major public company to fix a new touchscreen based in-car dashboard they had built. It was a web app running on a cheap android tablet full screen. The thing worked well, they said, except that it would get stuck in demo mode, and you couldn’t switch out of it. They’d paid an overseas contractor a significant sum to build this and eventually fired them when they got stuck at this point.

Upon opening the code I discovered the entire program was a carefully constructed slide show with hundreds of jpgs in a jQuery carousel and some magic click areas coded in to jump the user between slides. Other than this code to jump to specific slides, there was no code at all. Even the text on screen was in the images.

I should note that their git repo consisted of about a hundred folders whose names were dates, and one folder named “current.” That was actually my first warning of just what I was getting in to.
Ask HN: How to deal with the new territorial tax system
I'm an American citizen living abroad. I own a local company that I fully control and the new tax reform really is going to put me out of business.
After the transition into territorial taxation, US persons will be taxed on their share of the post-1986 accumulated earnings and profits of these corporations as of the end of 2017 or November 2, 2017, whichever is highest
I already talked to a CPA, and there is no way around it. I'll be personally taxed based on the profit the company made! It is enough money to make me consider shutting down the company.
Anyone else in the same situation?
> You are trading freedom for convenience and access to an audience.

While this is certainly true, the understanding of platforms like Medium had been that they will not censor people for ideological reasons, or will do so only if the content is clearly illegal or disturbing. If they will freely censor people, there's not much point of their existence.
Chargebee Raises $18M from Insight to Manage Subscriptions
Standard reminder that Markdown, while pleasant to author in, is perhaps one of the least standard formats ever (every implementation does things their own way; see Babelmark 2) and not a great archive format, largely as a result. (Markdown files don’t have version or flavor information embedded)

I hear org-mode is a good alternative. In the mean time, consider storing a permanent .html version upon publication of markdown
Sadly, results #1 and #2 link to a page where the phrase "keyword search engine" isn't even present. So much for exact keyword matches.
Heidegger and Faulkner Against Modern Technology
But keywords with ranges would be useful in many cases.

keyword1 w5 keyword2 [...]

[find pages where keyword1 is within 5 words' distance of keyword2]
Towards a world without Facebook
A personal story:

I went a few years without Google Analytics, and I was proud of the fact that my weblog had no tracking software. I kept thinking I would write a script to track the audience myself. But I was busy and never got around to it. So in the autumn I decided, okay, I'll use Google Analytics for a few months, till I can write my own code.

I'd written my own system for tracking my weblog, back in the era of 2005-2009, before I used WordPress (back when I only used my own code for websites).

Looking at the Google Analytics results nowadays is heartbreaking for someone like me, who remembers the independent blogosphere of 12 years ago. Because it is gone. Utterly gone.

Back then my traffic tended to come from dozens of independent bloggers who noticed when I occasionally said something smart. The blogosphere was a world of individual voices. There were big group blogs, such as Crooked Timber, but even those consisted of individuals and it was easy to figure out who had admired something I wrote. It was a world where you had some sense of who was reading you, and what they thought about you, and they could see when you read them in return.

That world died in the era 2006-2010 as Twitter and Facebook gained influence.

Nowadays, Google Analytics shows I get traffic from sites that aggregate audiences. Overwhelmingly, that's Facebook and Twitter. The traffic is very sporadic, full of big spikes of anonymous readers. A few times a year I'll write something that gets on the front page of Hacker News, and then I'll get from Hacker News anywhere from 4,000 to 40,000 visits over two or three days. Which is great, but also sporadic.

What I miss is the ability to follow those who are reading me, and more so, their awareness, in response, that I am reading them in return. The dynamic of "You read me so I read you and you see that I read you" is alive and well on specific sites, such as Twitter, but I miss it being part of the general Internet experience. I do realize I can use something like https://github.com/RSS-Bridge/rss-bridge to treat social media as a series of RSS feeds, and I am planning on doing that, but that still misses the element of them seeing that I am reading them.

I've been thinking about some way to try to balance people's preference for walled-gardens with this kind of open back and forth conversation. I might work on this more seriously later in the year.

If anyone is interested in a bit of history, way back in 2006 I wrote what was widely considered the most definitive summary of the fighting that had taken place among those interested in developing RSS. All of this was made irrelevant by the rise of Twitter, but in 2006, this still seemed like a very important topic for the Web industry:

"RSS has been damaged by in-fighting among those who advocate for it"

http://www.smashcompany.com/technology/rss-has-been-damaged-...
Could a Robot be Conscious?
There is some bandwidth limit, though, and with CDN your site could also get better response times, since they will serve content from a server with better proximity to visitors.
And that's why I am getting downvoted for pointing out the obvious. Classic HN.
While I appreciate his principles, it seems downright stupid to me to turn down, say, an offer of $15 million dollars for the domain. He seems so concerned about his business but with $15 million in 1999 dollars he could have retired quite comfortably.
I was wishing for old-school keyword search just this morning! Nice synchronicity.

I must completely disagree with the other posters claiming that keyword searches are not useful. For niche research, they are extremely helpful or even necessary. Google and Bing have reached the point where it is impossible to do real, niche academic research on them. For instance, I had a very specific thing I was trying to look up involving medicine, religion, and Marco Polo.

Try searching for "marco polo doctors" on Google and witness it giving very counterintuitive, one-sided results that may align with the current zeitgeist of interest from people searching Google, but diverge completely with the aim of literal, precise keyword search needed by academics. I did work to improve or hone the search down, looking up Kublai Khan, doctors, atheism brings up blogspam articles on doctors and atheism, but scant results on the 13th century Mongol emperor's religious medical interest. Trying to narrow the search further by including variations on Cambulac, Cambaliech, trying to find any info beyond surface-level on John of Montecorvino and his retinue... all is impossible with search engines in 2018.
Just realised that they are major investor in Indian cab hailing service Ola too - https://www.thenewsminute.com/article/softbank-now-major-inv...
I could hear the Looney Tunes factory music in my head just reading this.
Meet the man living with Alzheimer’s who climbs the same mountain every day
Rather, never store any potentially problematic content in a storage service with a legal entity behind it.

Store encrypted chunks strewn across multiple nodes, so that each node can reliably deny knowledge, or even possession of a full copy, of the content. So they can't be sued.

This, of course, prevents making this content from being accessible to public.
Existential Risk Prevention as Global Priority – Nick Bostrom (2012)
This has changed recently, full seq2seq is now matching hybrid models [0].

[0] https://arxiv.org/abs/1712.01769
Large Countable Ordinals
Aren't all of these a way too complex? All I want of a "social network" is to create a page to express my personality efficiently (by presenting whoever interested some pictures, music and quotes I like, publishing some thoughts of mine perhaps) and let them leave me a message (not to talk, just to leave a message, I will contact them by the contacts they may provide (e.g. WhatsApp/Telegram/email) if and when I want). Nothing else. The page is to be easy to find for everybody and free for me to have (requiring no maintenance nor a hosting subscription). What options match this the best?

There are Reddit and HN for crowd discussions, there are WhatsApp and Telegram to chat with friends, there is Twitter (with relaxed message length limit, finally!) to post your updates if you want and to contact people publicly. All we actually need "a facebook" for is to present ourselves.