skysight-inc/HackerNews huggingface dataset:
Compiling with -Os brings it down to 800 KB.

% gcc -c sqlite3.c
% ls -l sqlite3.o
-rw-r--r-- 1 dalke admin 1270372 Feb 6 04:11 sqlite3.o
% gcc -c sqlite3.c -Os
% ls -l sqlite3.o
-rw-r--r-- 1 dalke admin 805044 Feb 6 04:12 sqlite3.o

% clang -c sqlite3.c
% ls -l sqlite3.o
-rw-r--r-- 1 dalke admin 1248704 Feb 6 04:15 sqlite3.o
% clang -c -Os sqlite3.c
% ls -l sqlite3.o
-rw-r--r-- 1 dalke admin 796888 Feb 6 04:16 sqlite3.o

778 KiB is still some 50% larger than 500.
Ask HN: Why are tech stocks down?
A part from the obvious cases where companies missed earnings expectations, why are all (?) tech stocks down? Google did great one day, the next the guy heading search announced he's leaving and now it's still going down.
There was a short lived start of a shift to NT in the 90s before Linux became established/respected enough to squash that idea.

Even SGI itself tried not to get left behind:
https://en.wikipedia.org/wiki/SGI_Visual_Workstation
For the record, Periscope has an incredibly poor UX. It suggests "run selected query" when you highlight a single column name... As if that's valid sql.
Image footprint has nothing to do with the packages installed in that image.

This is complete hogwash from a security point of view.

Yes "smaller" could = "more secure", but, yeah, no.
This might have to do with 64 bit platforms. I would test this on a 32 bit binary.
Windows Hello uses an IR emitter and camera to get a 3D map to verify in addition to the ordinary webcam, and I've confirmed that mine doesn't fall prey to the most obvious of exploits.

Of course, it makes the assumption that "<user>'s face in front of the computer means <user> wants to log in", which may not always be the case.

That being said, I'm eagerly looking forward to reading about its pitfalls once people crack it.
Fear Mongering Ad Campaign Aimed to Prevent Patent Reform
Actually, it is foreign investment: http://news.nationalpost.com/news/canada/in-a-six-month-peri...

"In a recent six-month period about 70 per cent of all
detached homes sold on Vancouver’s west side were
purchased by Mainland China buyers..."

Even if those numbers are off, it's a huge influence on the market.
Right. I guess it depends on what your other expenses you have. For example, $2k out of that extra $3.5k would got to student loans for me. So spending $3.5k on rent just doesn't work. If you don't have student loans or any major debts sucking up your income then I envy you.
Fair enough, but the device in question would have to be made in serious quantity to feel the difference (though that is a rational use-case).

Per digikey, the cheapest 8-bit PIC is 0.35 USD in MOQ of 3K. When 15 cents matters to your BOM cost, you know you are making a lot of things :)
Possibly. But it could be the QA team is great but the pushback from management is to let buggy releases occur. It happens, especially when it affects the bottom line.
I was one of the first people to start using Tableau, I even bought a license for my own use so I can learn (Yep sick of the 14 day trial), but these days Excel / Power BI does most the work, Salesforce with Wave is competing with them plus so many open source software.
When I first entered the workforce I started off doing embedded Linux programming. Device drivers, kernel hacks, small systems with limited resources, FPGAs, etc... This was difficult, and posed lots of challenges.

I ended up jumping all the way to the other end of the "stack" -- web front-ends. Webdev has been a side-hobby of a sort for quite a while, and I pretty much expected it to be a lot simpler than the low level systems programming that I've been doing.

I've been doing web client and server programming for some time now, and I can without a doubt claim that it poses its own set of challenges that compare and oftentimes exceed in complexity to those encountered in the "lower level" programming fields.

I think the entire notion that one type of programming is more "real" than others comes from lack of perspective. Once you dive deep into more than one development layer, use case, architecture, language, or community, you realize that the challenges each one faces are as varied, unique, and interesting as the rest of them.
Forgive me, I didn't intend to be so argumentative. I genuinely want to understand. I'm trying to figure out if there are whole categories of use cases that I just don't have any exposure to.

As a side note: I keep trying Rust over and over again, and just can't get in to it. I think my brain just doesn't work that way. For my hobby project that needs super low level perf, I've moved a codebase from C, to Rust, and now to http://terralang.org/ and I'm finally quite satisfied with how the project is going.
You mean, like the video that purports to be a "Demo", but is actually just John McAfee waving his dick around and pretending to be an actor? That video?
Not a book, and I wish it wasn't so expensive, but this is excellent:
http://www.thegreatcourses.com/courses/games-people-play-gam...
TechCrunch reports on us. It is journalism for the spectators. The twitter cluster of people sharing TC links is TC's audience, not participants in TC's subject matter.

Why in blue hell would anyone on HN be sharing TC links? Intuitively it seems more likely that people who share HN links are discussing these matters directly.
My wife has a Surface Pro 3, and slams it from standing on it's leg down on the keyboard cover. I wince every time she does this, because I expect the glass to shatter. But she never has issues with it sleeping.

It's like the technological version of "Go the fuck to sleep" I suppose.
Your WSJ cookies don't reflect enough prior access or were cleared.
I am reading into your comment but I am thinking you are considering that the transient and seemingly non-stable nature of a lot of human and animal activity implies that Gaia cannot be an Earth-level macroscopic scale organism comparable to the human body. I think that if you consider the replaceable and transient nature of the molecules and cells in traditional organisms, you will see more correspondences between the two. Also imagine how at the microscopic level (even macroscopic level), humans and animals change quite a bit day-to-day..even moment to moment. So the busyness and seemingly "unstatic" nature of Earth-at-large is no reason to think of it too much differently than a traditional organism.

And considering two further things makes for even more interesting conversation: 1) there's no super-clear distinction between life and death..there's a massive difference in function and activity along the development and decay cycles that are possible for animals. 2) Animals without limbs or with added tools(extensions of our limbs) are quite workable.

This is only meant to add to your conversation; I'm not really detracting because I agree it's not in the same sense but rather a different class of a being.

Oh, and one more thing: Animals' collections of physical cells are also home to a large number of cells from a WIDE VARIETY of different "species" of bacteria and viruses..so many of which can basically take a person either up or down in health by a large factor. So this is analogous to the Earth which is home to a great diversity of humans, animals, plants, and so on. Beautiful really. Except for that which isn't.
I never invested in direct stocks until 2008. Markets were going up just before the crash and a investing friend suggested why not buy stocks. But my demat account got delayed and when i received it markets were going down hard. I ended up investing very small amount. But i got nearly 4 times the return(I did wait few years)
It seems like Lenny[1] is as good as, if not more effective than most of these chat bots.

[1] https://www.youtube.com/playlist?list=PLduL71_GKzHHk4hLga0nO...
Businesses which operate mostly or exclusively in cash are pretty much guaranteed regular IRS audits, which they'll need damn good records to survive.

Doing a significant volume of cash transactions with any financial institution also causes it to send a Suspicious Activity Report [0] to the federal government, which greatly increases your chance of being selected for an audit.

It's true that you don't need records to explain your personal spending, but you will need to produce records justifying any deductions/benefits claimed, and if your lifestyle appears to be large for your reported taxable income, you'll need to account for that too. Recently the IRS has started using public social media posts indicating lavish spending against people who are only paying taxes on meagre incomes.

Laundromats are actually classic tax fraud vehicles. There was an article on HN recently about how the government will pull their water/electric bills to see if the volume of business they claim their doing is in line with their actual resource usage.

https://en.wikipedia.org/wiki/Suspicious_activity_report
Page took too long to load
Teach your grandparents how to use their iPhone, without ever getting involved
Your Custom Domain Silvrback Blog with CloudFront CDN
I guess people generally call 'real programming' something that isn't connecting up CRUD forms/pages. And although I would not call it 'real programming' as a term, I do not see that kind of thing as a challenge or interesting at all. I have made / helped make 1000s of sites over the years (in many different technologies and CMS's) and most of them are just incredibly boring and require no kind of programming skills really. So in that sense they are not 'real programming'. If you can install WP, Google CSS changes for the theme you buy or get from the designer and then Google the plugins + few lines of code changes to make it work then that is not 'real programming' in a sense. But it does pay the bills and it pays them well.

I am not sure about other countries, but in NL and DE, for big companies, I see the complex & inflexible (Java) Enterprise CMS software being replaced by WP. Often not openly and company wide, but departmentally for sure. We get asked to consume the content in the 'big corporate' CMS via a webservice or even scraping and when that's done and the WP site runs and can be used to run that part of the site, they ask corporate hosting to do some proxy passing and rewriting. To illustrate (I cannot name names ...), let's say you have an international online retailer and the ECMS contains a different site per country like:

https://retailer.com/nl/...
https://retailer.com/de/...
etc for all countries they are in.

Then the NL dep asks us to recreate their /nl/ site in WP with the content from the ECMS and then they proxypass/rewrite /nl/ to the new server which contains the WP installation.

Why? Because WP allows, for 'low cost' and 'no real programming' to add all the features they want and to allow workflow-free fast updates when they have a special or deals or contest or whatever specific to that country. Not to mention people understand how to use it right away; no courses needed. With the ECMS that all runs via the head office and that workflow is too hard to change so this is much cheaper/easier. Sometimes they don't even really notify the head office but just do it on their own servers. This same thing happens in many companies / institutions that have many 'sub-sites' managed by different regions/countries/verticals.

It works, it makes clients happy and the fact I don't like WP (at all) and the fact I find this kind of thing rather boring not to create code (like you would in Django or Ruby) is not really interesting; the average 'corporate' WP site we deliver has 1 custom WP file with functions the guys who set everything up and integrate the design reuse and (rarely) append.

I would say that if I was to name something real or not real programming, this would be it. And yet it makes a lot of money and, more importantly, it makes clients happy & productive without extremely long processes of implementation.

Edit: Other than that I agree with the article; it is a matter of taste though. Like said I would not call these things 'real or non-real (fake)' programming but I do choose to not do most of this work myself as I like embedded and native mobile work better. That keeps clients happy too anyway.
Good point re: general purpose cores in devices whose primary purpose is other things. I've been spoiled by the ability to choose parts that don't go quite so retro for the CPU in my own designs.

Regarding power, is the difference all that great? some googling shows that there are cortex M3 devices that use 0.3 uA in standby. Do the PICs have some features that make standby mode more useful, or do they have significantly lower power draw in sleep mode?

I've never had to deal with low power draw in standby/sleep mode outside of FPGA-based designs, so I'm curious to know whats out there.
The relationship valuation/income is vastly off with twitter, and I’m not sure how long the investors are going to wait.
Our office (ADSK) in San Francisco filled in all the open space with vacant desks, removing every possibility to decompress away from your desk.
It's a bit late here, but feel free to DM me in our Gitter room and I can give you a full explanation tomorrow.
Yeah

! https://www.linkedin.com/
www.linkedin.com###ozfeed

does it for me (click the name at the top in uBlock Origin to open the dashboard, stick that line in 'My Filters')
Naw, it was my response that was more so than I wanted it to be. No worries. :)

Rust focuses on "zero-cost abstractions", that is, if you had to implement a feature yourself, you couldn't do it any better.

So this library, while more complex than a straightforward binding, has more features that are useful, like increased safety, while also being faster. A win-win. And very much in line with Rust's overall philosophy.
I'm still amazed that csv is still so poorly implemented in excel. Especially since its such an easy fix to honor byte order marks and default delimiters. I have to assume "sorta works" is the strategy. We all know how well that worked out for internet explorer.
I think at this point we're more likely to see NIRP than QE.
From the Alpine linux site: "Alpine Linux was designed with security in mind. The kernel is patched with grsecurity/PaX out of the box, and all userland binaries are compiled as Position Independent Executables (PIE) with stack smashing protection. These proactive security features prevent exploitation of entire classes of zero-day and other vulnerabilities."

I got excited, but then remembered - grsec will not affect containers. Neither will PaX unfortunately. PIE + stack smashing protection is already available in most serious distros. From the basic info I can find, I don't see a huge difference.

For comparison Ubuntu provides its list here: https://wiki.ubuntu.com/Security/Features It's similar to Fedora: https://fedoraproject.org/wiki/Security_Features_Matrix And to Arch (no nice table though) https://wiki.archlinux.org/index.php/DeveloperWiki:Security - Alpine doesn't seem to provide similar summary.

[edit: sorry, I stealth-edited the realisation]
I would say that this is more important than postmortems. This is new science that's being published. It's overturning knowledge assumed to be true.
The Google doc is an interesting idea.

I think the stuff I line most on HN doesn't always correlate with what has the most upvotes, so I don't think I'd be happy with a best-of-HN summary either.

Are there any email newsletters you already subscribe to and would recommend?
RHEL is an enterprise OS. It is designed to handle various drivers (video, network, storage). It has monitoring, auditing, reporting stuff. Some of those dependencies are bringing others (say the monitor needs a mail client to sent messages, ok, install the mail client, oh looks like that brings in perl, etc). Then there might be multiple version of said monitoring. And think they just never really try to make it small. That is just what their customers pay for.

If Alpine did what RHEL does out of the box it would be hundreds of MBs as well.
The country where people are dying for a sugary drink
Triplebyte (YC W15) Is Hiring a Head of Operations and Support
Triplebyte (http://triplebyte.com) is building a resume blind process for evaluating engineers and intelligently matching them with the best companies to work at.

http://techcrunch.com/2015/05/07/triplebyte/

We're hiring a smart, generalist to join our team and lead operations and support. Mostly you'll be working directly with engineers who pass the Triplebyte screening process and are looking for great companies to join. Ideally you'll have a technical background and understand the basics of programming, even if you're not an engineer.

We have an experienced team of founders. Harj Taggar was the first non-founding partner at Y Combinator, and previously started Auctomatic (YC Winter 07 class, acquired by Live Current Media). Ammon and Guillaume co-founded Socialcam (YC Winter 2012, acquired by Autodesk for $60 million).

The bulk of your time will be spent helping route our engineers to the best companies. You'll get help from the software we've built, which analyses technical strengths and uses it to make personalized company recommendations. You'll be helping them get ready for interviews, and staying in touch with them throughout the process.

That said, we're too early to have true specialists on the team. We'll expect you to contribute product ideas and be a general problem solver. We especially want people who can suggest ideas for improving our process and optimizing it using software (we build all our own custom software).

If you're interested, please email us at careers@triplebyte.com with a few sentences about yourself.
When I'm engaged in rapid prototyping or testing an idea, I almost exclusively rely on the stack I'm familiar with that fits the problem domain. But I don't consider that "real code" given the very nature of what I'm doing and the understanding that once the problem has a solution, that solution can be applied to whatever stack BEST fits the situation.

The author seems to engage in the same behavior, but conflates the "get things done fast" with the production solution.

If you're a good programmer and your preferred tool is PHP, then you're engaged in "real programming." If you insist on using PHP as a deployment solution because it's what you're familiar with rather than because it is an appropriate/optimal solution to the problem then you're engaged in laziness.

A good programmer can adapt their mental models and adopt the tools necessary for the problem domain. A bad one always has an excuse for why their comfort justifies tool choice.
Containerization uses the host's kernel, so it doesn't matter what the kernel is in the image.

Edit: I see your edit. Yep.
<A rebate received by a buyer from the party to whom the buyer directly or indirectly paid the purchase price for an item is an adjustment in purchase price, not an accession to wealth, and is not includible in the buyer’s gross income.>

Exactly. The author misread "the party to whom the buyer directly or indirectly paid the purchase price for an item". That's for when you receive a rebate from the merchant or manufacturer, not a card issuer. For example, if you buy a major appliance and put it on your card and that maker sends you a $100 rebate (in whatever form), that is not a taxable event.
Windows 10 Console Host Enhancements
Seems the idea is similar to the old "Storylane"...
About 5 minutes of searching shows me that Tableau has had a massive growth of revenue, but a slightly more massive growth in sales/administrative expenses. What that tells me is this: The market loves Tableau, and keeps buying more of it. But the company has serious cost control problems in its sales and marketing departments, and has expanded there far too fast.

Anybody comparing typical open source or low cost BI solutions favorably to Tableau hasn't used it, or doesn't value their own time. Tableau is easy and deep.

Tableau's board needs to attack their out-of-control cost of sales (the pay-me-everything egos), and hopefully ignore the internet idiot mob effect on their stock price.

I don't own Tableau stock. I just like the product.
You had me interested until you said systemd.
But that's his point: Facebook's emails are not wasting anybody's entire life. The 135 number is an aggregate.
A Moroccan city is being powered at night by solar energy, thanks to salt
If web developers think they have it bad for being razzed about not being real programmers, they should talk to SDET folks.
Or a season format where only the highest scoring players make it to the championship, so there's more incentive to cooperate early.
"And that is why The Lord of the Rings can never be filmed!"

Stumped ya Frinky. It didn't have to go down like this.
And rusqlite (or libsqlite-3) doesn't have those issues?

I don't think you're ragging on rust-postgress, although I'd probably attempt to change rust-postgres first :P
> it replaces digital signatures with zero knowledge proofs

digital signatures are somehow non-interactive zero knowledge proofs. So what's the novelty here?
Compressing the payload was pretty common.
It's economically impossible to create a sustainably decentralized currency. Ultimately it will come to be controlled by whoever is most connected within the network.

Here's hoping we see much better means of facilitating polycentric currency systems that render individual currencies no more than "dumb pipes" for anyone who wants to use more than one.
I'd like to use a broad definition of "appropriate/optimal". I could imagine PHP being optimal only because you already have PHP talent in house.
I know it's only a metaphor, but I've driven a picture hanger into the wall with vise grips before. An actual hammer just makes the job easier; it isn't the only way to drive a nail.
> And rusqlite (or libsqlite-3) doesn't have those issues?

rusqlite has the same issues. libsqlite doesn't since it's just C bindings. Same as pq_sys. Ironically, rusqlite makes the same design choices as rust-postgres, but it's actually wrapping a heap allocated object anyway, so it gains nothing by doing so...

> I'd probably attempt to change rust-postgres first

I did, too. It turned out to be a pretty major rewrite.
It's not just the tech stocks that went down today. The S&P 500 index went down 1.85% and the Dow went down 1.29%. The tech stocks got hit a little harder on average, with the NASDAQ index going down 3.25%.

The fact that there were dramatic declines in a few tech stocks makes traders worry that there may be similar earnings surprises in other tech stocks, so they dump tech stocks. If they see in a couple of weeks that these worries were unfounded, they might buy these stocks back again and the prices could go up.

According to the financial press, the stock market seems to be responding to global economic issues: the Chinese economy, weak oil prices, etc. Some fear a global economic slowdown. Since Google makes most of its money from advertising, its stock price would respond to concerns about the level of global economic activity. If people are buying less, businesses are selling less and advertising expenditures go down. (Same for Facebook Twitter, etc.)

If you believe that tech stocks are unfairly undervalued at this point, you might want to buy while the prices are low. But there are no guarantees that they won't go down even lower.
Tell that to Linus.)
Travelling Bhutan Is Like an Addiction: What I Found
First off, Martin Luthor King didn't kill himself, so you can't really say that the FBI compelled him to do so.

Secondly, you're using the actions taken by a domestic law enforcement agency more than half a century ago as evidence that a foreign intelligence agency is going to blackmail Americans, neglecting the difference in missions between the two agencies, the changes in legal authorities since the 60s, the fact that multiple generations of Americans with differing cultural values have come into and left government service, etc.

Thirdly, calling someone ignorant is an insult. I'd suggest consulting the forum guidelines linked at the bottom of the page.