skysight-inc/HackerNews huggingface dataset:
"3. Hierarchy and discovery: in Windows or OS X, the preference system has the concept of user, system and domain config so you can set sane defaults at the domain level but a user can still override one of them just for their account. (There's another interesting tangent here where it's useful to have config supplied with a package which can be selectively overridden by a sysadmin without forking the entire file)"

On *nix, system-wide config files are usually under /etc, and they can be often be overridden by dotfiles in a user's home directory.

One example of a way a user can override global/system configs without forking the entire file is using ~/.Xdefaults.

I hear you about there being no common standard, however. It would be nice if there was one good config file format to rule them all, that could please everyone.

But, since you can't please everyone, it's better to have choice than to have someone's (Microsoft's/Apple's/Ubuntu's) idea of "good" forced down everyone's throat.
Why engage is a good question :-) I had the misfortune to see a link on Twitter and discover people were wrong on the Internet.

I do think there's useful stuff to learn and discuss here about software development and dbus itself if people dig in and understand it. Perhaps some bystanders will learn something.

I welcome improving and even disrupting and replacing dbus but I don't think the kind of criticism found in this article will lead to that.
Exactly - anyone who has taken a basic negotiation class or read a book on the topic would know that this isn't controversial at all. It only sounds like that because the authors of these articles know that the vast majority of people have no idea how negotiation works, so they can just report what happened out of context and stoke outrage in their readers (thereby driving even more clicks/pageviews).
In the same way that when you are robbed at gunpoint on the street you are free to choose handing over your wallet or being killed.
Yeah, having gone through latest version of Effective C++, updated for C++14 I have not really sure if I want to step away from JVM/.NET worlds back into C++ that I left in 2005.

Working alone in C++ is one thing, but having to read other people's code seems to turn into a mess if you have a mix of C++98, C++11 and C++14 code bases.
If you're curious why it works that way, you should read "The Development of the C Language" by Dennis Ritchie: http://cm.bell-labs.com/who/dmr/chist.html

The short version is that in the early days, pointers where declared like "char p[]" and for arrays declared like "char buf[10]" a pointer was created, like this (in modern C):

char buf_storage[10]; /* this is not actually visible to the programmer */
char *buf = &buf_storage[0];

So pointers and arrays really were the same thing. Of course, this didn't fly anymore when structs were introduced (or when embedding arrays in structs was allowed, at least) so that's when arrays were introduced as a first-class type, with weird semantics so that existing code that used array variables as if they were pointer variables wouldn't break.
Xeon Phi is the successor of Larrabee, a GPU project that failed because it couldn't reach the power/performance to compete with GPUs of the time (only 4 years ago)
"Some people say this has already happened."
Interesting perspective. I thought I read somewhere that ZeroMQ was championing becoming apart of the Kernel. I work in the embedded space and not knowing much about DBUS other than it's some fancy IPC and ZeroMQ, we went with ZeroMQ just because we saw a clear path for what we needed get done. Granted all our IPC communication was between our own apps. but after reading your post I keep wondering what REAL problems does DBUS solve besides having a standard messaging format? Could someone explain why a simple messaging format couldn't be deployed on top of something like ZeroMQ?
This. If you've never been on the Oasis of the Seas (or her sister ship, the Allure) it's worth checking out. Not nearly as dystopian as the article imagines.
Android notifications on windows
My list of app picks is on APPEW.CO. What's yours?
When I was in the Himalayas earlier this year, between poor WiFi and sketchy 3G, it was the only practical way to watch at all. Having the file offline was an added bonus that meant others could benefit too, so big thanks to rg3 & current devs on behalf of a lot of folk who've never been near HN themselves.
The first quote talks about the auth protocol, while the second talks about the DBus protocol proper.
If you want to go deep enough for the system scale to be reasonable, you have to get a big drilling rig. You'll hit rock within a couple hundred feet or perhaps a thousand, but I'm not sure of anywhere in the world with 5,000-10,000 feet of dirt.

The problem with going shallower is that the system capacity is directly proportional to depth and weight. Too shallow and you have to have huge weight and that means a large diameter hole and really big cables and such.

But going deeper requires drilling through rock, and aquifers which are located within the rock. That means big regulatory hurdles because nobody wants to poison the aquifer on accident. Plus the large costs of drilling through rock.

I really like the idea from a theoretical standpoint. It's very elegant. But it doesn't seem practical from an economic or regulatory standpoint. If there are places where you can get the diameter and depth for free, it's clearly genius. But I don't think purpose-drilled holes for this will become a thing -- at least barring some kind of immense breakthrough that I can't even imagine.
What other language would you use for an open-source project, if you wanted C-level performance and the maximum number of contributors? I think choosing D or Rust (or Go, but with it we'd already be a bit further from C-lever performance already) would seriously reduce the number of potential contributors.

It's not a rhetoric question, I'd really want an answer as I'm contemplating the choice of language for and open-source project. And C++ is out because everybody has their own way of writing code in it and it's just too much work to police people into following a strong-handed style guide...

...so what would be left for an open source projects that has the goal of being able to squeeze the maximum performance without having to drop into a lower level language for the most performance sensitive parts?
Umm, no - the two investment banks in question weren't being robbed at gunpoint, they were suffering from their own failures to manage risk, and various other management failures entirely of their own doing.
The article is about them becoming bank holding companies which preceded any talk of TARP. They became bank holding companies so they could get access to the discount window and get different accounting treatments.
You know. I was working on a project last day and a horrible bug happened where the timing system broke and spammed my console and corrupted my database.

You know what instigated it? A precedence error.
That is a semicolon, and it shouldn't be necessary (at least not in bash/zsh).
So, fanterm[1] for the web.

[1]: http://www.stearns.org/fanout/README.html
It's possible to be both a textbook tactic and a dick move at the same time, you know.
they go on these rants because the documentation is so dam poor. The OP lists blatant contradictions. Your response further up would be quite helpful in the code and/or in the documentation. I work in the embedded space and often read data sheets with similar contradictions or errors. It's almost like the documentation has to be as good as the code and idea. What good is the best mouse trap if no one knows how to use it. Poor documentation is a pet peeve of mine too and it's the poorly documented DBUS stuff is why I never bothered to even try to learn more about it.
Nope not in the financial industry. Consult in tech, Marketing Engineer of sorts. Have applied to YC before.

In 2008 however I was very much involved in the financial markets, as an independent options and quant trader(avoiding calling myself a day trader, but that would be accurate too).

Never worked for GS or any of its real competitors. Have worked on a proprietary trading floor(wouldn't call GS a competitor still unless making a pun on how insignificant we were compared to GS) and have worked in retail finance in the past.

Made some decent returns on put options positions on GS between August and November 2008. Hence intimately familiar with the stuff happening around them in that period.

I'm deeply interested in financial services, tech and law. and I will chime in time to time, mostly when there is some misinformation or blatant disregard for the regulatory infrastructure flying around.

Not giving any more information as of now, not because I cannot, not because I am famous (I'm not), not because I have any conflict (I have none), I generally like talking under a small guise of anonymity that HN affords, I'd like to keep that for now.

edit: removed unnecessary information not required in a disclosure.
I just wake up early and do what I can before work, then catch up a bit during lunch. After work is family time. It helps being on PST, most of the good stuff tends to follow East Coast business hours so it's not impossible to catch up on 16 hours in the morning.
It seems like this functionality should be part of YouTube itself, at least as an option settable by the uploader.
Would rather have aging cured. Would make sense to manage things long-term for everyone.
Electronic Gadgets at Cheap Prices
Although in theory I'm a huge support of greater local governance, things like these are why I'm a bit skeptical in practice.

When companies can force states to bid in exchange for jobs, or to lower labour regulation/environmental restrictions, etc, it's a very dangerous slippery road.
government selling your stuff even if you signed paper saying that you agree to it

every agreement you signed with government should be implicitly treated as coerced
Did they get labor law concessions? I didn't see that bit in the article. If you're referring to the direct-sales law I'm not sure that counts.
Yes giflossy does a very good job at compressing GIFs. Giflossy compression wlil be implemented in gifsicle in the end.
Question 7: how to minimize it's usage or at least avoid writing it directly?

TypeScript, AtScript, Dart - now every serious web app builder provides at least one.
It's a hard trap to avoid. I suffer from the same and I notice many other people that are still active and getting older have this too. (For instance, Richard Dawkins).

I attribute this to a very simple thing: We had these youthful dreams and we realize that we are probably not going to be around to see them realized.
That's just negotiation—read Bargaining for Advantage (or Getting to Yes) if this is even remotely surprising to you.
I'm evaluating some different solutions to this problem and would love to hear from anyone who has experience with both this and HTTPretty.
Have you ever noticed that those who have a natural capacity for calculation and arithmetic are, generally speaking,quick in all kinds of study.And those dull minds when trained and exercised in it,if they getting nothing else,at least become sharper than they were before.

Republic of Plato
Fair question. :-)

I mentioned those users as one group that was impacted, not as the be-all-end-all target audience. If you re-read the relevant section you'll see I spend more words worrying about Mailvelope and Google E2E users. They face the same issues.
What this^ is:
A flash widget with a VNC view into a Windows computer running Chrome with the Google Analytics page of anonysurfer.com open
Lossy compression might be just fine for source code, as long as the lossy part is still functionally equivalent.

Think 1000.0 vs 1E3, printf("foo") vs puts("foo"), etc.
Good lord, what a mess. How did it get this complicated?
Yes, large financials do tend to run Spring. I'm not sure what that has to do with the safety of the framework. Banks do not as a rule have safer code than other kinds of enterprises.
CloudFarm's Seedsheet – The Future of Fresh
"Subsurface, a program for divers, was another high-profile switch"

I can't see how subsurface, which is an extremely niche application, can be considered as high-profile. And I am a scuba diver myself, so I have a bias going opposite what my opinion here is.

" If he and a bunch ... can't figure out GTK, that says something"

All it says is that they like Qt better. Linus told at a Debian meeting that he does not use Ubuntu or Debian because he tried once to install it and it did not work for his hardware, while some other distro worked right away. He never tried it again since. Does it mean that Debian is crap because if even Linus cannot figure it out "it says something"? No, of course not.
For lossless compression, start out by reading up on run length encoding, which is about as simple as it gets. Then there's DEFLATE, which is what's behind gzip. You'll also want to read up on Huffman coding and arithmetic coding. One of the newer ideas in lossless compression is "context mixing", which is definitely worth reading up on. The Burrows–Wheeler transform is pretty fascinating, albeit slow, so you might want to read about that as well.

Lossy compression (which RegPack is actually an example of), typically involves lossless compression plus a preprocessing step to discard information so that the lossless compressor can do a better job.

The techniques for discarding information vary based on application. For images and audio, the most successful techniques tend to involve working in frequency space, so you'll want to read up on the FFT and related transforms.

For code compression, you have different constraints when discarding information because you have to produce a program with identical output to the original. Simple techniques involve removing comments and renaming variables to have shorter names. More advanced techniques involve more complex transformations of the AST, including language-specific tricks like wrapping javascript in a "with(Math){}" block.

Hope some of that helps.
Elm – functional reactive language for interactive applications
The ins and outs of setf
Learning about bitwise operators (and everything they entail - so binary in general, endianness, etc) was without a doubt the most beneficial thing I've ever done for my programming abilities.

It was a complete eye opener to how computers work on a far more fundamental level than any other aspect of programming had previously revealed to me.

For anyone without a traditional CS educational background, if you don't know much about bitwise operations or binary, I highly recommend sitting down and spending a few hours exploring them - it will make you think about certain aspects of programming in a very different manner, which - at least for me - resulted in writing much better code.

Aside: While the double tilde is handy, I use the single tilde operator far more often in javascript. If you precede an indexOf statement with a tilde, it essentially turns `indexOf` into `contains`.

if(~someStringOrArray.indexOf(searchTerm))

It works because indexOf returns the index the term is found at, or -1 if it isn't found. This means 0 is actually a successful result, but Boolean(0) = false. But bitwise NOT will clear all of that up:

~(-1) = 0 (evaluates as false)
~(0) = -1 (evaluates as true)

Edit: I'm not suggesting everyone go off and use ~indexOf all the time - I was simply sharing a related javascript bitwise "trick".
This comment too, is negative and a bit of a drag. It's a very hard trap to avoid. Try harder! (cue meta meta comment...). I have to really force myself to see the positive side of how all this technology that we have is being used. The tools we have built to exchange information are being used to track us both by industry and governments, the software development environments are getting more and more complex and frankly ridiculous (compatibility testing for well over 25 browsers in order to make sure your documents can be read by others in the way you intended?), coffeemakers and printers with DRM and so on.

But then I remind myself to look at:

- wikipedia

- the Khan Academy (though they've started spamming!)

- Google search (you can keep the rest)

- Open Access journals

- Linux

And a whole raft of good stuff and I feel better again.
Thanks. I just tried it but unfortunately it's not any better than the others - even over LAN at 1280x720 with "optimize for speed" enabled, it's still not anywhere near usable. (I also verified, with a packet capture, that communication was on my LAN and not proxied through a TeamViewer intermediary server.)
And in fact, RegPack is lossy compression (as are all minifiers). The transformation is totally irreversible.
I seem to recall a case where someone used a GPU to handle index lookups or some other part of query processing for a database, on a GPU. I wonder if this could be used for that purpose.
Would you lend your voice to the deserving for free and to startups for a fee?
You're somewhat correct.

They became a bank holding company on Sep 21st, 2008. It was a Sunday; CEOs of all financial companies worth noting were being held in Paulson's office to accept the conditions of TARP.

The TARP funds followed over a month later circa Oct 28th, 2008.

Can't speak for MS, but GS was not going bankrupt, they were the only one's who were making money (a substantial amount) and had already secured funding to buy up distressed assets.
> I think we've finally run out of reply depth (and you've run out of excuses)

This is just rude as have been other posts. I haven't made any excuses, just arguments, which you have generally failed to engage and just thrown in more and more complexity into the mix.

> but the answer is: whatever the market decides. I've decided I want to sell my share. I now have to find someone willing to buy it. The spread alone guarantees I'm not going to get $1 for it.

Congratulations, you've found a way to extract free money from the market:

Cenario A: The transaction happens and the price is now above 1$. Great, there is now at least one person out there willing to buy a share for more than 1$. The initial shareholders should be ecstatic, just taking 90$ in exchange for 90 shares has allowed them to sell at least one share for more than 1$, whereas yesterday they could only get 1$ for them. Free money!

Cenario B: The transaction happens and the price is now below 1$. Great, there is now at least one of the shareholders (new or old) that is willing to sell one or more shares for less than 1$. Take 1$ from the 90$ you just raised and buy back the share. The remaining shareholders get to keep the change. Free money!

This doesn't mean that movements in price can't accompany capital raises. But what causes that movement isn't the transaction itself it's what it means. If a bank suddenly announces it has raised capital to cover larger than expected loan defaults the share price will decrease, because of the defaults not the capital raising transaction. If a manufacturing company announces it has raised capital to increase it's capacity in a booming market, the price may very well rise, not because of the capital raise, but because the expectation is that the company will be more profitable in the future.

The point, and this is my final comment, is that raising capital doesn't by itself change the share price of the company, but what the transaction implies may very well do. In the bank case the revelation of past problems lowers the price, in the manufacturing example the expectation of future profits does. Never the transaction itself which is the same in both cases.

> For anyone who's followed this long, read "Security Analysis" by Benjamin Graham for real insights instead of this incomplete thought experiment gone awry.

The book recommendation sounds great to me. I'd add the recommendation for a good finance textbook as it may help find some of those mispriced opportunities that Graham talks about. If you suddenly find a company that has just raised money being valued at less that previous_value+raised_money it may pay to look into if there's an opportunity or if there's a reason the price is lower (the expectation that the company will blow through the money without generating enough profit).
We handle this problem by creating the page as a news stream, based on each individual news event. We don't have UK riots yet, but here's an equivalent. http://newslines.org/michael-brown/ Unlike Wikipedia's static page-based format, because each news item is discrete, readers can sort the line from oldest news to first, or vice versa. We also use video and other embedded media to tell the story of events, unlike Wikipedia's textbook-like pages.
You haven't presented even the tiniest reason to move. Why are you even considering it?

You like your city, job, AND company. Yes, your company might change in a few years, but you'll still have options then. You'll be able to freelance at the very least. A bird in the hand is worth two in the bush.

You've said that your combined income would likely decrease if you left. That's a big deal, especially considering cost-of-living in NYC or SF is likely double what you pay now.

The startup world isn't a good fit for someone who needs to be as risk-averse as you, especially in SF. You need to have a plan for retirement and your children's colleges. You can't go bankrupt. In SF or NYC, you'd either have to rent (and burn a bunch of money) or buy a place that would also add a huge mortgage on top of your other expenses.

There are many small-to-medium software companies in other, cheaper cities. If you really want to jump ship, check out Houston, Nashville, Atlanta, Pittsburgh, and Charlotte. There are probably more that I'm missing. Obviously you need to filter for the kind of lifestyle/culture that you want.

Get your resume in the hands of some recruiters and see what turns up.
That is actually really scary.

I tried reading about DBUS a couple of times before, but gave up before getting more than a high level overview.
If you have a clear plan to productise the professional services and not provide them using people on your payroll, and make this transparent to investors, it is in no way lying. In fact, I'd call it a smart way to kickstart a two-sided marketplace.
It's not our call. We run a specialty aggregating search engine for a certain class of professionals, and the sites we pull data from were mostly developed when Clinton was president, as far as I can tell. We had a set of probably ten or fifteen sites that just wouldn't work right until we added "like Gecko" to the UA. Like I said, it would have been funny if we hadn't been tearing our hair out trying to figure out why the postback call wasn't firing.
Handy cheatsheet I found. credit: adam-p
C has many upsides. Unfortunately, the pointer declaration syntax, and the declaration syntax in general, is not one of them.

Go, being very C-like in many syntactic aspects, reworks this, and does so for a reason.
I know that :) RWD is not done yet
Apartment buildings have a pretty bad failure mode when someone leaves the gas stove lit and they go for a holiday or if there is a leak and bad ventilation.

All it takes is for the gas to be temporarily shut down or for the owners to be gone long enough not to notice before a sizable amount of gas has pooled and a few days later boom.

In Romania they make this extra easy by exporting the interface to shut down the gas to just outside of the apartment door. (This is not the fire-crew shut-off valve, simply one that the gas company can seal off if you don't pay your bills without opening the door to your apartment.)

Fortunately most gas gear has a shut-off for that scenario but stoves do not and a couple of explosions per year due to gas leaks and left open gas taps result.

https://www.google.com/search?q=gas+explosion+apartment