skysight-inc/HackerNews huggingface dataset:
I'm irritated about the initial example, which targets "Ubuntu 12.04". Why this 5 year old version? Is it fixed already in newer ones? Because it will never be fixed for 12.04 and people are still using it?
It's interesting that while we all accept it's ok for businesses, corporates and others to form groups to protect their interests any attempts by individuals to group together is instantly labeled as 'un-american' and socialism.

It's odd anytime individuals try to organize hysterical scares about communism are raised in the media and by businesses and it's dismissed as 'anti-american' socialism with ultra aggressive reactions even in places like HN.

Individuals are effectively disempowered in society, without groups there is no way to articulate or protect your interests especially when others are organizing and lobbying aggresively to protect their interests.
> 2. The vast majority of calories come from carbohydrates.

Yes. Sugar is the enemy. It's ironic that so many substances are regulated or flat-out prohibited and not sugar or sodas. HFCS should be outlawed, and sodas regulated like alcohol (no sales to minors, bulk sales limited, etc.)

Also, the obsession with fats and the whole industry of low-fat food needs to be dealt with, as, obviously, when the proportion of fat decreases, the proportions of the other components rise.
Isn't Jeff Bezos involved in a spat with trump already, over the Washington Post reporting?
Yeah, screw that guy for offering free quality content in video form, AND the nicely written text piece you just asked for.
A Rival’s Shadow Looms Over Snapchat IPO
While I disagree with the parent's general point, not being forced to help others, is not the same as causing harm.
> implying the pill for women doesn't have equally bad side-effects.

- I actually wasn't talking about the women's pill at all - you can tell this by reading the post you're replying to.

- But yes, inability to have sex is not a common side effect of the female pill. Which I suspect you also already know.

Have you considered reading the HN guidelines?
Trolling?
This comment (and its immediate child) really should be at the top. Simple. Elegant. No need to install Yet Another Dumb App.
I used to be part of a team writing a large C++ application with lua bindings. We had two lua environments, and you can specify the exact libraries available to lua, so we'd start up a lua environment without a filesystem or network once we were set up.

Just thought it was an interesting approach I'd share.
11 most popular alternatives to WordPress
This was in London which is a diverse city.

https://en.wikipedia.org/wiki/Ethnic_groups_in_London
To everyone saying "calories in vs calories out" is not the golden rule: it simply is. Your body obeys the laws of physics. If you consume less energy than you use then your body will be forced to use up its stored energy.
Those were just the more colorful examples because they were all from a single unknown university in Siberia, a rather sparsely populated region. These examples are very common, just not as concentrated in one company like Tata or Infosys. Just around the LA Eastern European and Caltech community, there are tens of thousands of immigrants who came here on H1Bs from the top of their classes and found high paying, extremely specialized jobs usually getting green cards and citizenship. If you expand the network to the LA metropolitan area including all the universities and aerospace companies, you're talking hundreds of thousand. Hundreds of thousands more in the New York metropolitan area.

Tens of thousands of H1Bs go to universities and smaller companies every year and many of those go on to get permanent residency so over decades, the numbers really add up. That doesn't mean that there isn't a lot of abuse, but you have to be extra careful not to throw the baby out with the bathwater.
This is the sort of thing mysociety.org does pretty well in the uk
Security without a threat assessment is not very meaningful. If we are comparing a default linux desktop installation and a default windows installation, what would the test setup look like?

Let say we had two such machines and gave them each a reachable ip address and let the first test just be them running unattended until unwanted software got in.

In the second experiment we had the same machines go to random websites (top 1k), clicking randomly, using the default web browser.

In the third, we let them click and run attachment from email spam.

In the fourth and final experiment, we hire pen testers to target the machines explicitly.

With the same conviction that xpaulbettsx wrote, I have no doubt that the first 3 tests would show Windows 10 going down first. The amount of threats that targets window user is just order of magnitude more than those targeting linux users. The fourth test might give different results, but users who want to defend against targeted attack are generally advised to use extra security tools to defend themselves.
If you like the business of running software companies, these are probably my two favorite business-oriented talks ever:

Long Slow SaaS Ramp of Death (Gail Goodman): http://businessofsoftware.org/2013/02/gail-goodman-constant-...

Wide-ranging; covers why SaaS companies are brutally difficult to build and how ConstantContact very gradually achieved escape velocity while on the titular long slow SaaS ramp of death and eventually got to the fabled hockeystick growth land.

Designing the Ideal Bootstrapped [Software] Business (Jason Cohen): https://vimeo.com/74338272 Jason presents a framework for how to find a product which will get you to $10k in monthly recurring revenue.

(If you liked these two talks and just want More Like That Please go to the Microconf video page and queue up every talk by Rob Walling, preferably in order.)

And, on an entirely different subject, Developers, Entrepreneurs, and Depression (Greg Baugues): http://businessofsoftware.org/2013/11/developers-entrepreneu...
Bombardier, Embraer, and Airbus must be salivating
Brainfuck is Turing complete too, but it's not Tetris complete. Turing completeness is a statement about computing functions on the natural numbers. It's not terribly useful when applied to real programming languages.
Lucid dreaming is not part of normal sleep cycle. It reduces deep sleep time and most people report that after long time with lucid dreams they feel exhausted and they feel like they haven't slept at all. So, in the longterm it is harmful.
What about his statements on the crowd sizes? He also said Mexico was going to pay for the wall and that doesn't look like it will happen at all.
Nevertheless, the architecture is flawed. And not all Linux users know how to do that!
15 Most Popular Marketing Automation Software in 2017
Aaand... 2 hours gone watching all Ken Robinson's talks. Brilliant stuff!
You're right, unless you're at an extreme (zero automated testing, zero bugs found in the wild) it's much more nuanced as to what the balance is (or should be), but there is a balance.
J.B. Rainsberger — Integrated Tests Are a Scam: https://vimeo.com/80533536
To answer the second question, no. A fresh install of Windows connected to the Internet will not be infected automatically (of course, assuming no new 0-day)
I bought a cheap-ish "Papilio Pro" FPGA board one day and wanted to do see if I could get it to output VGA directly (I did that with Atmel MCUs before for fun). So I installed Xilinx WebPack ISE and looked at various docs online. Other people's code (for example Mike Field's) was extremely helpful, too. I still feel I'd like to read a good book on Verilog design to close the gaps, if anyone is a pro I'm happy about recommendations.
As an additional data point, I moderate a forum that's coincidentally mostly male (a function of the industry it serves), and they too are (at least on the forum in question) pleasant, friendly and supportive, with only a very few exceptions.
You're not wrong. I think the reality is that the design patterns for using Rust are still emerging from our shared experience; trying to write that sort of book would be putting the cart before the horse.
Unfortunately the energy density of batteries is really bad (in the bigger picture) and, besides, we're supposed to be using weight for cargo. Tankers also burn very nasty fuels that can't be used for anything else - so in practice they're very efficient.

There have been cracks at putting "sails" of one form or another on ships but they've always been heavy, relatively ineffective and basically just not worth the hassle.

The speed of a ship is actually quite easy to work out. You find the time/value curve for the cargo and the cost/time for the ship and see where they cross - essentially. The long and short of it is that the lighter and more valuable your cargo is, the faster the ship goes. This is why container ships are much faster than oil tankers.
Presumably the commenter is physically out of reach of the Russian and Chinese governments, and being the victim of regime change in the US is more likely than being invaded by the other two.
It is impossible to set up a peer-to-peer connection between two devices on symmetric NAT, often used by mobile carriers (or at least it was last time I looked into doing so a few years ago). A STUN server can be used to initiate between other forms of NAT, and TURN can act as a passive full-time intermediary, but there's no way to avoid some sort of central server in many cases.
Welcome to India.
Bitlocker supports pre-boot auth even without TPM (but then you are exposed to the evil-maid attack).
Totally disagree with that being the golden rule, firstly not all calories are the same. Plus calories from protein, carbs and fat are all treated differently by your body and that is further affected by your activity levels and stress.
To call Rust's approach "manual memory management", for me at least, feels just wrong. That phrase evokes the idea of C and C++, where you carefully have to do a lot of work and keep close track of your memory management strategy to make sure you don't make any mistakes.

In Rust, on the other hand, once you gain some experience at least, you don't think about memory management that much, until the compiler tells you how your strategy is wrong, and then you adapt your strategy to cope with it. This is very different from C/C++, where typically your program just crash at random when you get it wrong, and then you have to figure out where or how it's wrong.

And yes, mature and well-established are nice features. On the other hand, I can tell you that modern tooling like cargo, even if not quite as mature and well-established, can also bring large productivity benefits with it. Dependency tracking and build systems are largely a solved problem in Rust.
> "No more file access, no more network connections".

You could potentially use setrlimit on RLIMIT_NOFILE to limit your number of open files.

Although... you probably still want to display something to the terminal which means you still want stdout and stderr, so an attacker could just close stdout and stderr before doing whatever they wanted with their 2 remaining fds.
Bill Watterson on Failure and Finding Meaning
There is no unequivocally answer in the domain of security, secure refers to a threat model.

When your threat model includes Microsoft or US surveillance then no Microsoft OS can provide you the security you're aiming for.

Then again Desktop Linux is no OpenBSD or GRsecurity[1], A hardened linux experience usually doesn't come out of the box with Desktop Linux, but still there are options to explore[2] if you're so inclined.

[1]: https://grsecurity.net/
[2]: https://wiki.archlinux.org/index.php/Security
the "calories in, calories out" thing is not wrong at all. not "believing" in it is just like disregarding global warming or evolution.

of course it's not a simple addition. age, genetics and a lot of other factors come in.

what is dangerously wrong is thinking that changing your calorie intake is easy. it may be very difficult to gain or lose weight depending on which side you are, because changing the way you eat durably is freaking difficult.
How would it be used from user code ?
I went from 245lbs to 185lbs by eating 1500 a day every day for 5 months, that was over a year ago and I still weigh 185lbs, all I did was when I hit my target weight was make sure that over a week my diet averages out to 2500 a day, some days I go over by a few hundred, the next day I just under eat by a few hundred so that it balances out.
Really neat!
Can anyone explain the reason why C or C++ compilers can't do this? Obviously the language specs allow you to do the unsafe thing, but suppose we add some "-Wreference-lifetime" flag to gcc that warns if it can't statically verify that a reference or pointer doesn't outlive the referenced object, and then compile everything with "-Wreference-lifetime -Werror" from now on.

What aspect of the language in particular makes that impossible? Or is it?
TV's that work. I have the most god awful rats nest of cables in the corner of my living room - someone needs to make the iMac of TV's.
>Capitalism, alone, requires all participants to be omnscient in regards to present and future circumstances to be correct.

This is incorrect; even basic economic theories of risk/investment account for uncertainty.

A key concept in economics is that people are economically rewarded for investing the value they've created (as opposed to consuming it all), as compensation for taking on the risk involved in investment. Or to put it another way: part of the returns people get from investing is economic compensation for the risk involved in investing (as opposed to spending the money immediately, which entails no risk of losing that money).
Yeah I use it now, I just wish it was updated one more time to add some OS-level polish to it (like getting taskbar integration on Windows 7 an above without a plugin).

The actual look of the application doesn't bother me, since usually I'll be working on something else that needs the screen space.
Reddit doesn't really work like a traditional forum. In a traditional forum everybody has the same visibility, in reddit it's very easy to create like-minded communities because anything controversial gets out of view very fast.
Yes indeed. And high salaries don't make up for everything. And these days companies like Google, Facebook, Amazon,... are increasing their engineering headcount in Europe (they must realize how cheap European engineers are with the strong USD :)

Sadly in my case I was applying for jobs at companies that are relatively big but concentrate their developers in the silicon valley.
US neighbours' network Nextdoor buys UK's Streetlife
7* countries
That doesn't always work. If you expect demand for lumber will go down in a few years, as far as you can tell forever, it's better for you to take out your trees as fast as possible.

I think that's part of what's happening with oil, where renewable sources are going to replace them as a bulk good. If you have lots of it like Saudi Arabia, your capitalism-optimal strategy may be to pump up oil now, even if it significantly drives down prices.

It also may be rational to destructively mine lumber if that's the only way you can produce it competitively. Your competition might own woods closer to rivers, for example, making it cheaper for them to transport their wood to the customer.
> The huge advantage that Rust has over languages like JavaScript is that if it compiles, it's almost guaranteed to run (unless you have logic errors somewhere). I think that fact is greatly under-appreciated.

This. In my company, our Rust apps have a very small amount of tests, mostly integration tests written with Python. You need to test certain business logic, but mostly if it compiles, deploy all the things :)
If I could sell a Mercedes at $20k, that would only be profitable if I could pay <$20k for the car.

Mercedes and the economy are missing out because of the commerce not being transacted right?

The idea that work that's profitable at $100k and not at $120k -- that means that the work isn't profitable if the market cost is $120.

Everything is profitable if the cost of inputs is less than the sales price. It's an absurd argument.

Essentially, your statement singlehandedly destroys minimum wage arguments. "If I could pay less, then I could be profitable, otherwise I am not profitable and thus won't hire anyone."

But you are also admitting that the purpose of H1 isn't to fill shortages -- it's to fill shortages of people willing to work at a rate below what the market dictates. It's like the illegal immigrant advocates that claim that Americans don't want to pick fruit -- at $5 per hour, probably not. But at $15 per hour, suddenly there isn't a shortage.

Except in rare cases, H1s are not used to fill actual shortages but to lower costs. A junior level Tata engineer isn't filling a shortage of skills, they're filling a shortage of engineers willing to work for $50k per year.
Some notable American tech companies that didn't sign:

- Tesla
- SpaceX
- Amazon
- HP
- IBM
- Dell
- Oracle
- VMware
- Palantir
- Priceline
- Expedia
- Yahoo
- Groupon
- TripAdvisor
- Symantec
- Fiserv
- Intuit

There could be many reasons. Maybe they weren't invited to participate, maybe they choose to stay out of a political discussion, maybe they thought it could hurt their business interests, and maybe they didn't fully or partially agree with the amicus brief.
Or form a cartel where the prices and features from each member is decided as a group.

That said, i don't think even Marx considered central planning as more than a transitional stopgap.

Thing is that he expected socialism to rise from industrialized nations like England or Germany, not near-agrarian Russia.

Also, his primary motivation was for workers to have more say in the factories they worked in.

But then few people even know volume one, where as in volume two and three he rails against the rentier capitalists. And lament how in the long run it would be better for industrial capitalist to side with the workers against the rentiers, but that they rarely do so until it is effectively too late.
openbsd's pledge seems like an easy-to-use API.

on linux the low-level building blocks that can achieve similar are seccomp and namespaces, but the only abstractions that I am aware of involve separate launcher processes like runc[0] or firejail[1].

A library providing similar functionality to pledge that could be added during application startup or when doing fork+exec would be great.

[0] https://github.com/opencontainers/runtime-spec/blob/master/c...
[1] https://firejail.wordpress.com/features-3/
The stock market (ready for disruption).

There is a new generation of investors who are not interested in the 'old stock market' but who are instead looking for equity investment that can offer the efficiency, integrity and anonymity that cryptocurrency provides.
KDE has this thing built-in, I think it's called kdirstat and you can get to it by clicking on directory size (bottom right corner) in Dolphin.
Ubuntu 12.04 is supported until April 2017, so yes, it's still an "active" version, and security issues should be fixed.
> you would count on them to fix it immediately, push out the automatic update and go on with your life.

Not only do you get security updates for your distro with the vast majority of Linux distros, but you also get it for all your 3rd party software, using the same system mechanism.

They may not push the updates automatically, (you can of course set it that way), but some of us still want to be in control of what gets installed on our machines

That's not to say it can't be improved, but the situation isn't quite as bad as you are painting it, ie there are mainstream distros that come hardened by default and security patches are regularly backported.

I'd argue that macOS is also technologically less secure than modern Windows, yet its users are in no more danger than Windows users are, (despite its theoretically security), because security depends on a lot of factors including the user culture, market share etc. i.e. Linux doesn't have a culture of downloading executables from random websites for one.

I'd guess most distributions feel like they're providing an adequate level of protection for their users as of now, without introducing too much friction. Once that is no longer the case, it's easy to turn on a few more knobs, the software is already there.
I'm not sure this is what the authors had in mind, but you can imagine a post-encryption future (quantum computing or whatever lies beyond)
Ask HN: What percentage of your company are H1B workers?
I'm seeing a lot of tech companies protest against the Trump ban on immigration, as well as proposed changes to the H1B visa program[1].

Political opinions aside, how large of an impact will this actually have on tech companies? And is this impact limited to just tech companies?

[1] http://money.cnn.com/2017/01/06/technology/h1b-reform-bill/
Ask HN: It's better to have social media account for every product you have?
As a company, if you have more than one product is it better to have let's say a twitter account for each of them or keep just one social media account for everything?

Thanks!
minor edit: 96 companies. Turn Inc is listed twice
A fast, compact, JSON-equivalent binary data format
Where is it? The PDF has some slides, not actual text, and the LWN article is also just a summary.
How to write better blog posts
Container Technology Can Help Scale Ecommerce Businesses
He said he will impose a tax on Mexican imports and use the proceeds to pay for the wall - That sounds on track.
Immigration? What about those with valid visas? It was a travel ban also. It was a very simple order to don't let anyone in from those countries, wasn't it?
1. Website url: http://c2x.eastros.com/

2. What the project or startup is about (one line): Contacts backup and restore service

3. Monthly active users: Will have to check, a while back were getting one backup request every 2 minutes.

4. Source of revenue streams: In app purchase

5. Monthly income (if any ): ~ $700/month in profits

6. Adsense enabled?: No
Well, yes I should have been more clear. My main contention was that those who aren't American shouldn't necessarily be allowed to participate in the US real estate market under the same terms as Americans are allowed to.

I'm not nearly knowledgable enough on the topic to know what the overall effect on the RE market would be if such a foreign tax was instituted, but assuming it was found to be favorable, I wouldn't consider such a tax to be some great injustice.
> and the first couple of introductory chapters should use only unsafe code (I'm only half joking on both points)

It's really at least half-true. As far as I understand the libraries of Rust itself can't have everything written in "safe" code.

The hard part is to win the potential programmers to use the safe code as much as they can but to understand where the limits are.

And that is the hardest thing to do as a lot of people prefer simplifications the kind of "everything must be done the X way" etc. I call that a "religious programming" approach and the programming world has it in immense amounts.
Now imagine what a Linux distribution could achieve with the same budget...
Sure, but if you want to get correct software you have to learn about the language you're using. The borrow checker and quirks are just concrete manifestations of that fact.
BTW toolchain to build drivers https://github.com/cahirwpz/amigaos-cross-toolchain
Didn't Trump actually lose the popular vote? The USA isn't a democracy, it's a republic.
Once again: Mac OS in pre-X days had even smaller market share, but many many more viruses in the wild. It's not all about the market share.