skysight-inc/HackerNews huggingface dataset:
Have you used Qt's layouts? The problem with Android's layout system (if I understand it correctly) is that you specify how things are arranged relative to each other, so you never really know where something is. Added to that you have counter-intuitive behavior from things being calculated at time of addition rather than time of display (can't remember exactly, but I ran into something like that).

Qt is more declarative. I forget the function calls but in pseudocode you can do things like
horizLayout.add(Text("abc").setFixedWith(12));
horizLayout.add(Text("XYZ").setExpand().setAlign(kCentered));
horizLayout.add(Text("").setFixedWidth(12));
and you get something like:
[abc | XYZ | ]
(where [] is the width of the layout, and | separates each element.)
I've found it to be pretty intuitive.
Here is an example: http://elm-lang.org/edit/examples/Reactive/Position.elm

In Elm behaviors and events are the same thing. Usually operations like filter and fold are only on events, and applicative functor and monadic operations are only on behaviors, but in Elm one type support filter and fold and the applicative functor operations, and monadic bind is not supported at all. I don't think that's good design, but it does mean that Elm has the functionality of both events and behaviors.
You can't really compare a platform speciffic "window manager" to a multiplatform 3D/2D rendering api.
Thanks! That's kind of you to offer, will keep that in mind.

Initial users are friends and some nice people from /r/introvert on reddit.

Lonenote was inspired by PostSecret, a project I volunteer for. Lonenote seemed like a good idea at the time but ended up being a bad merging of two products, a niche handwriting app and the alone sharing app I really wanted to build, which is now Solo. I thought the novelty handwriting feature was necessary to bring attention to the alone idea.

Anon was an attempt to follow the early anonymous app wave and a reaction to Whisper, where people share stock images that are disconnected from real life.

Solo is the app I wanted to make even if no one but a few people would use it. I switched to 'Solo' because I wanted the name to express both the positive and negative sides of the alone experience.
Oh come on! How can you say that? Of course there's a cost on multiprocess arquitecture, but it doesn't suck at all! Ok, you shouldn't just spawn new processes whenever you need more tasks running concurrently, but how could a modern OS exist without multiprocessing? What would you have us do, go back to MS-DOS? :-)
Thank you! I hope I'm right in my particular case ;)
What is truly horrible is that I wrote my shell function, named it ave, thought it was a great name and then months later (edit: after I released vex) realized you had written a package named ave. Oh well.. :)

This is also worth checking out if you just want 'workon' type functionality without the fuss.
How to create a proper brief
I didn't know about that site so I went and checked it out.

Holy crap. Most of the listings there are completely hilarious. They expect anyone to work in the bay area for those salaries? (and I'm a different demographic than you -- 20s guy, no mortgage, family w/ no kids.)
Show HN: The easiest way to sell your code
EDWARD SNOWDEN TO SPEAK AT HOPE X
Fully agreed, and the README for vex suggests this if you are worried about overhead from the wrapper especially for non-interactive purposes where you are repeatedly incurring python startup.
Yes, there CAN be a way :) but would you do me a favor and write a spec for how you want that to work and jam that in a github issue? https://github.com/sashahart/vex/issues
Reading xkeyscore rules source
Show HN: BDD Style Given/When/Then testing without the ceremony
Did you seriously think news.ycombinator.com doesnt increase your score and suspectibility of having your computing devices hacked into? And puts you on a very interesting NSA/CIA/Letter-Combo/For-Your-Safety list?

Look at Ukraine. War just pops up. I wonder which list they will go by first.
Ah, discovering it from the directory. I considered this in analogy with the way vagrant works.
I'm not an OS guy, but most aspects of context switching is implemented in software. It seems to me the only places in hardware that could help, would be faster memory access (which is more of a general optimization!) and the TLB. Awkwardly though, x86 doesn't seem to have a TLB insert command, so you just have to miss...?

Oh, and you could shorten the pipeline to make flushes faster and the penalty smaller. But pipeline length has stayed fairly static.
Samsung Bashes iPhone Battery Life, "Don't be a wall hugger".
Browsers use DOM whether you like it or not. The rendering engines are built on eventing model. CSS is what they understand now. We can think of changing that, but given the history of browsers and HTML standard, I am not very optimistic that such changes can be pushed through easily in a reasonable amount of time.
I fully agree with your distinction of selectors, properties and values - not all parts of CSS are bad. When you say "property values should be the results of expressions in a pure functional language" - which I think is a great idea - do you mean to use them to compute layout as well?
Well it was clear that since Java was statically typed, it would be possible to write a faster VM for it eventually. And Sun bought up the startup that was implementing Strongtalk, an actual improvement over the bad performance of Smalltalk consumer hardware.
I do sometimes, more as a matter of muscle memory than volition. I'm going to make a try to use your tool as a replacement for a while and see if I can generate any issues for you :)

However, I still would like to eventually unbreak pydoc for users who might have bad habits like I do.

The issue is that virtualenv itself had an opportunity to fix this (with multiple patches submitted IIRC) and they decided to punt by implementing it as yet another shell function. So for me to unpunt without coupling to the shell, I pretty much have to dump a script into bin/. I guess maybe not that many people use pydoc anyway?
The spice which started a medical revolution, Turmeric
My friend's name is Roy, his chinese boss calls him Loy
The problem is that people are different. Some people will like the diverse community at HN to scrutinise their work to potentially improve it. Otherwise just want positive reinforcement. You can't really put both sides into the same bucket and decide that everyone should sugarcoat all the time.

I love criticising and my projects being criticised as long as there clearly is knowledge or experience behind. What if you see someone making a huge mistake based on your knowledge, should you stay quiet? Making sure that feedback comes across as nice and well-intended can be hard and time consuming for people who speak English as a second or third language.

So maybe there should be a differentiation between "Proudly presenting" and "Looking for honest feedback" somehow?
Absolutely great! Sharing your work with peers and getting inspiration from others' work is hard core of hacker culture, so it's nice to see HN to adjust the focus on that way.

I'm little bit worried that Show HN might turn to Spam HN. I think it should be limited so that one url can be posted only once and there should be some kind of update function. Updates would give the post some fixed amount of weight to rise it so that heavily downvoted ones wouldn't rise to front page anymore.
I guess I was faster picking ave :) but vex is good too.
> But I'm confused about how it handles updates. Do you just rerender the whole thing?

Here is how I use it in such scenarios:

elems = {}

Weya elem: document.body, ->
for k, v of data
elems[k] = @div "#{v}"

#when element k changes
onChange = (k) ->
elems[k].textContent = "#{data[k]}"

If the change is more complex Weya can again be used to render the content of the changed element (not the entire dom).
What performance problem? Android Studio is like, 2 times faster than Eclipse. If you talk about gradle build, yeah it kinda slow, but I'm ok with that.
I suspect that it will drop off in a day or so. I think its just people taking the opportunity to show of their creations while "show HN" has a high profile.

If not I'm sure they will tweak the ranking algorithm to get them to drop off the home page a little more quickly. They would still be on the show page. This is what already happens to some extent will all "self posts" (ask/show/no url).
Awesome, thank you for trying this. Please make a github issue or email me if you have any suggestions informed by the experience :)

edit: That one feature reminded me of Kenneth Reitz's autoenv (https://github.com/kennethreitz/autoenv).

I can't do anything to futz with cd, but it could be possible to reverse that and cd to a project directory when a virtualenv is activated, I am just not sure yet mechanically the right way to choose which one. Worth considering.
Hah, contrary to almost any other post, every comment including the top one is positive! That makes me glad and also it forces me to rephrase my one fear a bit.

I hope this won't give people the impression that "show HN" is now a channel where you should submit anything without hesitation. I like the organic nature of it and I think it's partly because you feel like you are asking people for their attention at the party, so you need to feel justified in doing so. But hopefully that will still be the case.
I think this[0] is what you are looking for

[0] https://en.wikipedia.org/wiki/Health_insurance_cooperative
I did not know about invewrapper, thanks. pew is another decent name.

edit:
after looking at the doc, my impression is that invewrapper seems to follow virtualenvwrapper's design more closely with a large number of subcommands with names similar to virtualenvwrapper's, most of virtualenvwrapper's options and features (except hooks and maybe some of the project stuff). I would describe the options as "comprehensive."
I specifically wanted something with a dramatically simpler interface and feature set.

invewrapper also seems primarily or only intended to run a shell. I get personal use out of running arbitrary commands under vex as if it were sudo or something.

It is an improvement not to modify the current environment and couple tightly to specific shells either way, though.

One thing I do envy is the PowerShell prompt ;)
It really hasn't been lowered. Most users aren't running the latest code, so you would struggle to ever get your transaction into a block that way.
>My wife asking, “Hey, when you have a minute could you do X?”

This line got me thinking it would be cool with an app where you can ask this kind of things, and the message will only be announced when the user is unlikely to be busy. (Triggered by events such as the phone going from stationary to being moved.) Anybody knows if such an app exists?
I'm really curious how you think this will solve anything. Children of wealthy parents don't have to inherit anything to have advantages that most poor children could only dream of. That is, unless you somehow abolish parents using their wealth to give their kids access to better healthcare, higher-quality and healthier foods, better educations, opportunities for travel, exposure to culture, and on and on. And if you say that yes, that is what you mean and all those things are to be taken care of by the state, then you've moved beyond even the socialized policies of the Nordic countries. Not that that's a bad thing, but it would be a little disingenuous to call it capitalism.
I absolutely agree that the main issue is that the system can't be improved by competing concepts.
The development model is really important - what started as a private hack became a designed-by-committee mess, and now is starting to become more sane in the age of HTML5, as new useful technologies and APIs are being added.
The big issue is CSS (and Javascript is only slowly becoming better), which stems from the designed-by-committee (with bad taste) era - if it was designed today with Google etc. at the table, it probably would be a lot better.

People try to work around that by using pre-compilers like LESS and CoffeeScript, but those cannot fix the underlying issues. If people could design their own CSS engines, the development model would allow for rapid iteration and whatever people like the best would see broad adoption.

Reminds me of the BPF packet filter bytecode - limited, but fast and secure.
Great timing for me too! I started reading LPTHW, so I can learn django and take on a site I want. I just hate wordpress with passion. I have a really hard time digging and rearranging someone else's work. I hope that being able to manually piece the code together and write my own where necessary will help me out a great deal. This site looks a lot better, compared to a single book, since it teaches not only small bits, but how to put a whole project together.

As I mentioned, I'm 30 pages into LPTHW, but I think I will be switching immediately to Real Python, since it looks a lot more practical for my needs.

Thanks again to the people who built that site, to the person who submitted it on HN and to all the people who voted on it, so it gets to first page! You all rock!
Nodejs could have workers,it's not really a javascript.Node maintainers just didnt implement that stuff.

I personnally dont like generators for concurrency.It's the wrong solution to the problem.For now I stick with promises,and I hope JS gets async/await keywords quickly.
history -a # append history lines from this session to the history file.

#History file may contain history from other terminals not in this one so:

history -c # clear [in-memory] history list deleting all of the entries.
history -r # read the history file and append the contents to the history list instead.

I've heard that -n can be problematic which is why -c then -r is used.
If you read his article - mainly message passing and consequent context switching.

Most programs with protected memory - thats anything after windows ME in the windows world, incl. win 98, 95 for example (ie not just ms dos) - don't need too much message passing.

Stuff like webservers do (hence the perf advantage of nginx over apache, until they brought mod_event).
Heck even web browsers do quite a bit despite his point - they do what they can to send as few messages as possible to compensate.
Matt Cutts: Gadgets, Google, and SEO
Well, as anyone will tell you who lives in the UK, the NHS isn't perfect, but I personally happen to think that the model we have of a pretty good health care system for everyone and private health care for the tiny minority who want it seems to work fairly well.

Mind you the NHS is socialism... but perhaps telling that the founder of the NHS, Aneurin Bevan, called his book on the subject In Place of Fear - which sums it up really.

http://en.wikipedia.org/wiki/Aneurin_Bevan

NB I find illnesses and injuries in a family stressful enough to deal with as it is - adding bureaucracy and financial stresses would be a nightmare.
Penrose Tiling is Patented. Roger Penrose sued Kleenex for it and won
Have you got this up on GitHub? Sounds like something I'd enjoy contributing to
Glad to hear Matt is finally questioning his priorities and taking corrective action. Better late than never. Work-life-balance means now, in the present moment, not 15 years from now. The younger we are when we realize that, the better. This is what Alan Watts has to say about it: "Music & Life": https://www.youtube.com/watch?v=ERbvKrH-GC4
Downside is, ofc, that compared to just running something inside a virtualenv shell, vpython takes forever (up to 100ms-ish on my machine) to find the virtualenv, and set the correct env variables.

Most of my projects are long running though (webservers, number crunchers, etc), so the extra miliseconds it takes to load is really not that important.
Americans usually can't pronounce my name when they read it, they can't spell my name when they hear it, and they predict the opposite gender. Interestingly, Brits, even though they speak the same language, usually get everything right.
A fully working Tinder bot
An alternate take on this would be for websites/services that have a splash page but no signup form/RSS feed or a non-news/blog site such as a bakery, local restaurant, etc.

From the name/HN prompt, I thought it'd be something that gave you updates as a story was developed. For example, you hear about a criminal being captured, but you don't always hear about the trial/sentencing. A few months later you're asking "What ever happened to that guy who..."
Wow, that title is really meta.
Am I the only one who actually likes CSS?

I tend to find can do pretty much any design that I've been tasked with without using graphics.

For example: http://justinvincent.com/page/2043/anatomy-of-a-native-feeli...

But I will admit it has taken 17 years to get to that place.
Excellent concept... but I could not use it. It says "To view 46 words of content, send exactly 0.00015612 BTC ($0.10) to
12smAWhdY9aMFyEenX6NLVZDend5WJgfVc". I paid with this transaction: https://blockchain.info/tx/047a379b7530f98876818540356b66964... And nothing happened, not even after 2 confirmations.
>Slower for what, exactly? How often do you need to do arithmetic - multiplication, in particular - in a hurry with no aids?

Almost everyday. Besides being a computer programmer, it's obviously used everytime I buy stuff in multiples (and want to know what I'll pay), everytime I build something (and want to know its dimensions), everytime I cook, etc.
I'd love to see face recognition being implemented in this app to ensure that group photos don't appear.
Show HN: GitHub Copy - Google Chrome Extension
Show HN: Snow: the virtual network that makes the real network better
Supreme Court Cellphone Ruling May Tilt NSA Fight
You know, I'm so conflicted about you. On the one hand, I greatly admire much of the open source code you've released, while on the other, it irks me considerably, the way you glorify working at such a despicable imperialist propaganda machine; a veritable house of lies.

A site partly created by Julian Assange with lots more great information: http://www.nytexaminer.com/
I think part of the story was that people wanted to write cross-browser code and that limited your tools to the bits of CSS that IE supported at the time. I doubt any system you could design, even tables, would be considered anything less than broken when a majority of the market was indifferent or actively hostile to it.

Even today I regularly think "I wish I could just use X", then I remember that my current project is targetting IE9+ and that means often I can. It gives me that same warm glow you get when you remove shoes that are too tight or stop banging your head against a brick wall.
What platform? We sell and use Qlikview on Windows which lets our customers run all sorts of revenue/business queries against data (which is populated from .csv into MSSQL and then we have processes which load the data from MSSQL into the .qvw documents so the users can download and use it offline on the train or in meetings with clients etc)
The next phase of smartphones
Surprised you're still commenting...

My husband and I also recently got married (congrats to you and your partner from us!) and we designed our rings from scratch - mine with a diamond alternative stone - as seen here: http://cl.ly/image/3A3R24042w0C. PeterGriffin would probably proceed to tell us that our rings are still just garbage sentimental trinkets distracting us from the "substance" of our relationship despite us "making stories" with them.

Nothing about spending the money to get our rings says that we can't also honor what the rings stand for by doing other things. Doesn't matter what anyone else thinks. That doesn't even come into the equation.

The same could be said about names - you can choose to keep a name due to an attachment while also honoring the origin of the name. This is why I'm just adding more onto my name instead of removing any bit of the name that my parents gave me. (My nickname is longer than my real name, even. My real name is a little too short.)

Ultimately it's a personal decision, and ultimately, like you point out, it's a matter of basic respect to respect someone's choice of name and name pronunciation. Nothing about a choice to be attached to something means that you're stuck "telling stories" and that you're forever doomed to be attracted to the symbol and not the substance.

I am actually quite saddened by the idea of someone living such a life. "Robotic" is kind of an understatement.
Given that you need the paywall, there's no additional friction. By that logic, doing anything is friction, compared to not doing it. Why breathe?
When node first appeared, the thought of server side JS gave me shivers, maybe I should trust my instincts more often.
I'm not sure using a general-purpose language is the way to go, they do that for Mac/iOS development and it's 1000 times worse than CSS. Now, perhaps the FRP nature of Elm would alleviate the pain, I don't really know.
These are all problems that have easy solutions - chuck more CPUs at it.

Back in the ideal world though, I would say the harder problem is still not these, it would be the increased operational complexity. Support and maintenance costs go up.

I think the problems are somewhat over played here too. We've had zero copy network stacks for a while. Stack sizes are not a concern because scheduling becomes a bigger problem faster than using small chunks of memory does as you scale.

Edit: forgot to mention isolcpus or pinning as one method to solve the context switching - of course frequently we can make greater impact by careful consideration of the syscalls we make from our code.
I usually do this just by cd'ing to the project directory, which has the virtualenv inside it and running './venv/bin/python'.

That eliminates the possibility that I'll accidentally run the wrong version of python - e.g. a system python or a python from another environment that didn't properly deactivate.

Most other issues are easy to deal with (e.g. non-existent virtualenv, being in the wrong folder), but the issue of accidentally using the wrong environment is awful because it can manifest itself with subtle bugs or weird exceptions rather than an obvious error.
But what if you are "alone" in a crowd? At a concert, times square, etc. You can be lonely even when surrounded by people, in fact; it is often then that you feel the most alone.
CopyLight: jQuery plugin providing visual reinforcement for content licenses
Show HN: Static Web Apps (for Mobile)
That is kind of confusing isn't it, because there's also a miner fee. Does your algorithm know how to subtract the miner fee to get the unique amount? Also, are your floating point operations (subtract, compare) done correctly?

http://floating-point-gui.de/errors/comparison/
No I'm actually impressed you designed your own rings. In another setting that would certainly be worth a nice conversation over lunch or dinner with you and your husband.

Maybe my reaction is... beyond understanding... (cue in spooky music).

Also don't confuse "robotic" with my lack of focus on stupid things. I laugh, cry, hate and love a lot too. I can't understand why I need to be a stupid son of a bitch getting hung up on how people pronounce my name or getting overly attached to small shiny commercial objects, in order to do those things.

I also don't believe in witches and black magic. Oh, how robotic.