skysight-inc/HackerNews huggingface dataset:
This application has been really huge for my productivity.

I have literally rebinded every single key on my mac with it. It is very powerful especially when you combine it with the multitude of Alfred workflows and different scripts that you can run.

I open Alfred with just single press of right command, I switch between all my apps through hotkeys, my caps lock is a hyper key, my right shift is delete. Can't give more praise to this tool really.

Here is how I use it and what my config file for it looks like for all interested :

https://github.com/nikitavoloboev/dotfiles/tree/master/karab...

More importantly, it allows to keep myself sane with the enormous amounts of apps and tools I run on my system (https://github.com/nikitavoloboev/my-mac-os) and interchange with them seamlessly.
Some advantages:

- I can use the same tools to administer both host and guests (systemctl and journalctl).

- cgroups and namespaces are managed the same way on both host and guests.

- I can integrate containers (via .nspawn and .service units) with my host init/supervision daemon, like any other systemd service, without translating from one configuration format to another.

- Because of the above, resource/quota constraints for a single container or groups of containers can be described via a common configuration.
You have options "Don't apply mappings to internal laptop keyboard" and "Don't apply mappings to Apple keyboards". Will that do?
Let's not get too nostalgic. The operative words there are "English man":

https://en.m.wikipedia.org/wiki/Immigration_Restriction_Act_...

Or at least someone with a good enough accent to pass for one.
It implies that TS doesn't fully understand JS.
How do keep the ES index consistent with MongoDB?
Okay, I don't get it. They took an already NSFW image and ran it through deep dream with layers from the Yahoo NSFW model and made actually less NSFW images?
Socialism, in the sense that is completely salvagable amid Chinese capitalism, is the situation of everyone having to talk like a politician.
The Sweet Emotional Life of Bees
It's not that simple.

If you're using a secondary data store like Elasticsearch presumably you're combining it with a traditional relational database like Postgres or MySQL. And in most use cases, you're going to require additional constraints on top of full text, like restricting to a specific customer or topic, etc. This means data duplication. Any experienced developer should be breaking out in hives at this point because this means (1) keeping two data stores in sync; (2) adding another service to the deployment process; (3) adding another service to development environments; (4) adding another service to debug when problems crop up; (5) large scale schema changes and migrations are complicated because of two data stores; (6) operational overhead from maintaining Elasticsearch like separate backup scripts and deployment scripts and sharding config (across production, qa, and dev); (7) queries are potentially complicated because you may have to aggregate information from two data stores (pagination and delayed updates makes this even more hellish); (8) if your company is anal about devs accessing production data then ES just introduces another layer of requesting permissions and every time the schema changes you have to ask again.

And maybe the advantages of Elasticsearch far outweigh these negatives, but this is a conversation you're going to have with your devs because the cost of using ES is not zero. There are tradeoffs, and maybe just using Postgres full text search is adequate for your use case given sufficient additional constraints.
Great to hear, after watching the video (I recommend 2x speed) it feels like he very much earned it, but starting this business with a loan, wow..
I can't find any documentation on it - does anyone know how auto-updates are handled? Do you just release a new version and hope for the best or is there some sort of mechanism to force people to update?
>> or Xbox emulation, which is nonexistant

Wouldn't one be easy to write being that the Xbox was based on a PC? Or at least a WINE-like layer instead of a true emulator?
Not true - you have Tab, --help and man pages.
Ick, fileshares. Autocorrect.
What worked for me was stopping eating anything starting from about 7 p.m. In the beginning I would wake up before 6 a.m. feeling hungry.

Than in a few weeks that hunger feeling disappeared, but I still could wake up earlier with no problems.
Does it beat the Emacs debugging experience? We've got some pretty sweet debugging integration.
Actually installer compiled using Visual Studio 2015 on Windows 10 platform. Nothing specifically edited to the way of SHA1 but we fix it on next release.

>> It is a very poor introduction to the application on the majority platform.

Yes you are right it can be better and will be.
Would go crazy without this. My work Mac has fn as the far left key, now I have it mapped to Ctrl for most combinations but it is clever enough to know that fn + down is pgdown.
اسرار شگفت انگیز قدرت ذهن ناخودآگاه – موفقیت
I believe not.
Description of the Albatross Programming Language
Ask HN: Try my first Android game and give me feedback
Hi all,

Please try my first Android game, a very simple casual game with an even simpler graphic (I am not really good at it!):

https://play.google.com/store/apps/details?id=com.foogacy.chainy.free

I am looking for some comments and feedbacks!

Thanks!
I just stage parts of my changed code before commit. So things I work on are un-staged mkst of the time. Which eliminates the problem, I guess.
No. The Russians are pretty clearly backing the Assads.
Ok, thanks for the feedback. Can I ask, what's the mobile phone screen size? in pixels? What mobile phone? (Android/iPhone/...)
Yes, definitely you are right.

And at the same time using various other methods "depending on the master key" makes it impossible for an accurate time and process estimation for brute-force attacks.
Number 6 is dead on the top left tube in the observation rack.
:-) And you use PostgreSQL built-in FTS for that? If yes, do you order by ts_rank or ts_rank_cs? If yes, are the response times ok?
On the contrary - I recommend watching it at 1x for the pleasure of discovery. What's with the rush?
We are working on Enterprise version of it which will be having this option.
It's meant to listen locally all the time. If Google/Amazon wanted to be evil and snoop on us it would take exactly the same amount of effort.

Besides, many phones listen all the time too.

The only real difference is that the Echo has better microphones than your phone and is powered on all the time so you don't have to worry about battery life. On the other hand you probably say more sensitive things to your phone.
The point I made in the post is that while VS might be better with C#, Emacs works well with everything, works Good Enough with most languages, and pretty good for C#. In fact, looking over the feature list for Emacs C# editing (https://www.emacswiki.org/emacs/CSharpMode), I can't find anything obviously missing from VS.

In any case, I don't want to learn a new environment every time I change languages.
I doubt it, Digium is scared of patents but the SFLC seriously considered going to court to get the known patent declarations declared invalid. If someone had gone after Digium, I'm sure the SFLC would love to hear about it.
Part of the problem is almost any popular Xbox game can be found on PC or Playstation 2. GameCube has a TON of exclusive games, there's no Zelda or Mario Kart available on the other consoles for example.
> I would like my team to be prevented from ever creating untested commits

Frankly, this demonstrates that you have exactly zero understanding of how git works. If I were the sort to force my team to do something, I would force them to never test uncommitted code. Committed /= pushed. A commit means you can keep working on the code while the tests run, and you won't forget what you actually tested. Then, when the tests come back clean, you won't accidentally push some additional, untested change along with the tested changes.
From the little I remember about the original Xbox I thought it was a Celeron CPU with Nvidia GPU running a Win2K-based cut down kernel? I would have thought that would be very easy to emulate??
There are a bunch of pitfalls.

For one, listen/notify in Postgres wakes up all listeners on each notify. You will want a single stream of indexing updates, yet you will also want it to be fault-tolerant; if one indexer isn't running, another must take over its work.

Listen/notify also doesn't work well if you want to distinguish between batch updates (large imports, for example) and realtime ones.

Thirdly, if you miss out on events, you will want the syncing to catch up from where it was last.

The better design is to maintain state about indexing. If each table has a sequential ID and an "updated_at" column, you can exploit those to build deltas. Another option is to maintain a "changes" table that simply tracks the ID of each modified row, with a sequence number per change. This can be super useful for other purposes (auditing, debugging, support), and makes it easy to index from an earlier point in time.

Such a system will also let you more easily recover from hard failures in ES where entire shards (and their replicas) are lost (I have had it happen with 1.x, should be much less rare in 2.x).

Keeping one data store (ES) in sync with another (Postgres, or anything else) is an interesting problem in general.
Unleash the Pain new cover
Support for Sierra: https://github.com/tekezo/Karabiner-Elements
Saints vs Chargers live stream free
https://www.squadup.com/events/free-saints-vs-chargers-live-...
I think anti-glare is helpful. For a while I had a pair of glasses with and a pair without and I definitely preferred anti-glare on work days.

It is something that is added when they make the lenses.
Same argument why Opera chose to base their browser on Blink. PDFium is 100% dependent on Google. I do not think it's a clever move to go down into this dependency.

Sure web > pdf > flash in terms of mozilla's focus, but I fear pdf will be part of the web for a long time to come.
I have no idea. Probably, nobody could be arsed to put in the work on it.
I wasn't trying to equate murder with drug use.

The parent question asked for a counter example of where the law makes no difference in the offence.

The parent question appeared to me to be making that statement irrespective of what the law was. So I just picked the most extreme form of law I could think of.
Never accept a counter-offer
It's incredible to see all the different sorts of craftsmanship needed to make tubes. It would be fascinating to turn this video into a longer exploration of the evolution of each of the techniques used.
I've been using karabiner and seil for a long time. Both are great.
I was lucky enough to a postdoc pull me aside and say, "look you need to not be that guy" and pointed to another postdoc that was... embarassing. Scared the shit out of me. Up till that point in my life all of my social engagements had been handed to me on a platter (high school, and esp. college), and although I'm a social person, it was very good rude awakening to tell me that I had to work for what I wanted in life.
Updates are submitted to the Windows Store, just as you would with any other Store app. After approval, they can be configured to trickle out and/or force install (when available). More information can be found at https://msdn.microsoft.com/windows/uwp/publish/upload-app-pa...

You can also create a "flight group" consisting of your test team and only push out more broadly when your internal QA passes. Check out https://msdn.microsoft.com/en-us/windows/uwp/publish/package... for details.
git wasn't designed to be used by humans. I can't find the quote, but Torvalds said at one point that intention of Git was to provide a content-addressable graph that more human-friendly tools could build upon for different use cases.

Those 10 commands are the beginning of the iceberg when you actually start using git with teams. Where are `rebase`, `merge`, `branch`, etc? These are all commands I use daily, they are complicated, and it's trivial to shoot yourself in the foot.

The problem is that you can learn those 10 commands and things will work, until they don't, and you as a beginner are now spending hours trawling StackOverflow to figure out how to, say, pull a commit from one branch to another (you might not know that such a process is called "cherry-picking").

It's telling that Torvalds said this more recently about git:

> The first Git For Dummies and Git Visual Quickstart books are going to be out in a couple of months, and that is the beginning of the end as far as I’m concerned. Those books mean the end of git expertise and github reputation as reliable indicators of geek status. Once a technology is adopted by the masses the extreme geeks find something more esoteric. Look at what happened to Ruby on Rails. The people stumbling their way through Rails to-do list tutorials have never even heard of DHH.
> I haven't seen a practical example of a use case that's improved by having separate add and commit.

Well, I frequently see random things to fix while I'm working on a problem.

When I 'm ready to commit, I run `git status` and notice there's a file that's been modified that's unrelated to what I'm trying to commit.

A quick `git diff` later and I see what I did: fixed an unrelated issues. So I add that one file to the index, commit it with a relevant commit message, and then proceed to do a second commit—the one I had expected to do—also with a relevant commit message.

I do this 3-5 times a day, at least.
For those thinking that using Elasticsearch is "trivial", please read the parent comment. And read it again. This is pure wisdom.
Actually, the CPU's a 733MHz PIII according to Wikipedia, which is even easier to emulate. The problem is the OS, which isn't win2k at all, AFAIK, although we don't really know, and the fact the nobody could be bothered to actually cut the code.
Pongo support!!
Show HN: Redux/Flux-inspired predictable state container for Go
https://www.squadup.com/events/hq-cowboys-vs-49ers-live-stre...
> What's next? Maybe Amazon will remove Chromebooks?

And as a result, Google will refuse to list amazon in search, their DNS servers won’t resolve it, and Chrome will refuse to open it, and their malware filters will mark it as fraudulent page.
This reminds me of I, Pencil [1], the story of how a pencil is made. There should be an I, Ethically Sourced Pencil follow up.

1. http://www.econlib.org/library/Essays/rdPncl1.html
Karabiner is quite cool but there were a few gotchas that were non intuitive for me. I wrote a getting started guide[0] a few months ago that starts right from the beginning.

[0] https://medium.com/@.sasha/hacking-apple-s-consumerist-cultu...
I have also similar issues with VS2015.

It's painfully slow without any extensions installed, even with a relatively small 200 kloc C++ project.

Just switching between source code tabs takes about 2 seconds.
Depending on your problem domain, you either do periodic dumps of your data into ElasticSearch (oftentimes done nightly, when server load is low), or you do a dual-write layer in your application.

Search is one area where user expectations around freshness are somewhat relaxed. If your search results don't include up-to-the-minute results, in most domains users will forgive you. It's better than having poor relevance.

If up-to-the-minute results are critical, then update your DB abstraction layer to write into ElasticSearch as well as PostGres. It's a pain, but manageable. Consistency, again, is not as critical for search as for a source-of-truth store, because a missing or stale record is the same as a poor ranking algorithm that didn't retrieve it in the first place. And if your application detects a bad search result, they can always go back to the source-of-truth and re-index it.
I don't know. It's quite odd.
Some reasons I don't like git, straight off the top of my head.

* Some commands require remote branch, others require remote/branch. I can never remember which.

* git lets you create branches with names like 'remote/branch', at which point it starts going crazy because when I then write remote/branch, it doesn't know if I mean branch on remote, or the local branch remote/branch.

* When merging / rebasing goes wrong, it can be hard (or impossible) to recover back to the state I started from.
Ask HN: Which blog aggregators do you use?
Four months ago I started a personal blog after returning from PyCon full of energy to write.

While I was there, one speaker gave me a tip to help distribute posts by joining a blog aggregator. That one in particular was Planet Python (http://planetpython.org), a "feed of feeds" for hundreds of Python blogs. This is working well, and I haven't been able to find anything else quite like it for other domains.

[Before I started I thought no one would read, but I've been lucky to have over 4k total unique visitors in less than six months with most traffic coming from Hacker News, Reddit, and Twitter.]

I'm wondering two things:

1. As an author, are there other blog aggregators out there to submit to for startups, entrepreneurs, software engineers, etc?

2. As a reader, do you subscribe to anything like an aggregated feed? If not, how do you follow the startups and people you care about?
If you want to ban me for insulting racists than by all means, go ahead. FWIW I didn't make any generalizations about the community, I simply said immigration threads bring out the best in it!

Really love that "making a generalization about the community" is against the rules but feel free to make generalizations about immigrants, the poor, or any other class of people that might not actually be a large portion of this community.

Remember kids, if you thinly veil your racism in economic terms, nobody's going to hold you responsible for it. Lee Atwater would be proud.
The Finest Computer Audio Known to Mankind: Motherboard with Vacuum Tube Audio
The Inevitability of Physical Laws: Why the Higgs Has to Exist (2012) [video]
16 hours is shorter than the past. I mean your exploitation rhetoric is very facile. For what it's worth, I think there are more postdocs exploiting the system than get exploited by the system. My personal feeling is that the median postdoc is worth negative science.
No you should probably accept that racism is part of the human condition and acting like it doesn't exist is about as intellectually riveting as the latest Micheal Bay film.
>Consideration of these aspects may help you better convey your technical points.

And yet despite him blatantly confronting me in an aggressive personal manner, you've ignored his original post and decided to focus on my post, all in spite of my attempts to keep the conversation on topic. Most likely because you agree with him. It really removes any credence from his post and other posts echoing him about my original post being "prickly" when you're a complete dick to someone directly. Talk about arrogance.

I can't call a technical concept brain damaged, but aggressively labeling people in a confrontational manner is a-okay. Got it.

>and yet I frequently am baffled by the commands required to get from where I am to where I want to be.

Have an example? Most of the examples I've seen come from a fundamental misunderstanding about what git is doing. Git is rarely in the wrong.

There's a lot of internal plumbing commands that are completely backwards (or just have not been updated to align with the rest of the toolset) but an extremely small majority of people will ever even know about them, let alone have to use them. Especially if you're just starting out with git.

>think attempts to better align git's command line interface with the underlying operations are commendable

Except as presented in the examples I've given, it's doing the exact opposite of this. It's going against the very basic foundation of git. Git is an acyclic graph with each node representing a change delta from its "parent." The very fact that branches suddenly keep track of which specific changesets (tracked or not!) belong to them is completely counter to how the very core of git works.

That's non-sense.
> The average N. Korean is very much cut off from the rest of the world.

We aren't talking about the average N. Korean. Their best and brightest are sent offshore to study in STEM fields (with their family held hostage against their eventual return of course).
"I have seen researches showing that more than 90% of the employees who accepted a counter-offer are leaving the company after an average of 15 months."

Can you add a link to those studies?
They just made an application to extract an audio track from video file. There is no copyright infringement here.

It is DMCA that makes almost any operation with copyrighted content illegal.
React for Beginners: creating isomorphic React+Redux App the easy way
Thousands of Alaska Seabirds Call Saint Lazaria Island Home
> If each table has a sequential ID and an "updated_at" column, you can exploit those to build deltas.

It's hard because concurrent transactions can commit sequential IDs or timestamps out of order. There can be a lag between the moment when the sequential ID or the timestamp was generated, and the moment when it was committed.

> Another option is to maintain a "changes" table that simply tracks the ID of each modified row, with a sequence number per change.

Yes.
I definitely don't see that one: imgur says "Page not found".
> If all you have is a single commit with no parent, you cannot rebase it.

Well, of course what you want to do here depends. You can squash onto it, edit it, or reorder it. You're commonly going to have conflicts if your first commit created a file and the rest edit it. If you reorder you can't edit a file that doesn't exist yet.

Here are a couple of videos to illustrate:

https://gfycat.com/GrizzledPartialAntelopegroundsquirrel

https://streamable.com/1chg

This wasn't always possible through the UI but it's possible now. If this doesn't do the trick, would you mind sharing what your use case is?
See http://www.neogaf.com/forum/showpost.php?p=48088464&postcoun... for the classic write-up.
> Well, then, if you don't have macros, then you don't have procedural macros, which was my point.

Trivially.

Anyway, I don't consider them to be Lisp dialects anyway. They are new languages, Scheme dialects, scripting languages with parentheses, whatever. The name 'new'LISP says it already.

> I said it technically had better performance.

You thought it had, without actually knowing it.

CL-USER 36 > (let* ((bar '(1 2 3))
(baz `(foo ,@bar)))
(eq bar (rest baz)))
T

So it's not copied and no traverse is needed.

What actually is traversing the code is your IR-macro mechanism. Twice. -> ir-macro-transformer. Which makes it slower both in the interpreter and the compiler.

https://github.com/bnoordhuis/chicken-core/blob/master/expan...

Traverses the code, then calls the handler, traverses it again...

Btw., the code won't win any beauty contests.
Docker pitfalls
You misunderstand.

The source website jumped around a lot, had a terrible full-page advert, and then for some reason completely blanked the page.
I think you're missing the deep cynicism there. I don't think the stress or long hours can be done away with, but there are ways that the reward can be made worth it. I don't think that the monetary situation can be changed by fiat. The problem there is that there is an oversupply of labor, and trying to wave a magic wand to fix (monetary) compensation without recognizing the supply/demand curve is going to cause problems: Namely, that the demand for scientists will go down, and the promotion of scientists will become increasingly arbitrary. Instead of getting better scientists, we'll be paying a smaller number of bad scientists more money.
I wonder if someone will publish a FoxPro app.
> within a short window (a few seconds),

Why is that necessary? One of the things which makes maintaining a search index easier is that typically your search datastore has much weaker consistency and durability requirements than your primary one.