skysight-inc/HackerNews huggingface dataset:
Not take this as a post against Rust, I like the language and what is trying to be achieved.

Just listing some of the issues, from my point of view, Rust currently faces.

It is not there if one is looking for uses cases where GC performance doesn't matter e.g. Haskell, OCaml, .NET, JVM. All existing alternatives enjoy more mature libraries, editors, supported OSes and so on.

It is not there if the goal is to replace C++ on the mobile platforms, as it introduces hurdles and increases the development time versus using the vendor tooling.

Specially in the iOS and Windows Phone, where C++ is a first class language. A kind of Objective-Rust, Rust/CX are needed there, even if rustc is able to cross compile.

On Mac OS X it is not there in regards to Swift tooling and available libraries, additionally for many developers ARC and GDC might just be good enough, even if Swift is less safe than Rust.
Samsung does lots of Rust via Samsung OSG, but they're a secretive enough company that it's tough to get them to reveal what they're up to on the inside.
Think Global, Act Local: 6 Ideas for Localized Banner Campaigns
Even if that's true (and I share the sibling's skepticism), vendor A's incompetence and poor product quality is not meaningfully described as "lock-in" to vendor B - especially so when there's a readily available vendor C (Firefox) that doesn't share these ills.
Do you have a source for that?

First, I'm talking about actual weight loss, not fat loss. They are two different goals.

Weightlifting causes muscle damage that needs repairing. This requires energy.

Intermittent fasting will cause longer repair times and if done incorrectly will cause muscle loss. (muscle bulk I assume is your end goal, as opposed to a specific need for a sport)

However the common way to gain muscles is to take protein powder laced with hormones, natural or otherwise. As a strategy for weight loss it is useless unless you exercise enough to burn off the extra calories consumed. This requires time and effort, both of which are difficult.

Loosing fat is not in its self weight loss.
Why?

They run around and move dustbins.
I've been a coder for 27 years. My experience was that it was always far more effective to apply for jobs with dead-tree cover letters, resumes and envelopes, all on matching stationery.

I prefer a formal yet understated look, either pale blue or pale grey watermarked cotton bond.

A while back I looked for matching paper and envelopes at office depot. I quite sadly found a few scattered boxes of paper and envelopes, but none that matched each other.

I have two partially empty boxes of paper but no envelopes. I know I can order them online but I far prefer to support brick-and-mortar stores.

I went shopping for what I thought was a desk lamp but it turned out I wanted a "task lamp". I found just the right lamp at Sears.com so I dropped by a Sears store in Portland.

"No, we don't carry lamps but you can find them all on our website," said the cheery young salesgirl.

"Yes I know, I found just the lamp I want at Sears.com," I solemnly replied.

"But the reason I am here today is so you will have a job."

Her face fell; that had simply not occurred to her.
Simple Tips to Make Your Wedding Unique
It's definitely more then a few seconds (systemd boots fast), but more importantly reasoning about unit files is a lot easier then reasoning about the init-script ordering.

With a unit file I can just declare the conditions under which it should run or stop. If the system doesn't achieve those conditions, then I can solve that problem - rather then having my unit run before the system is ready to do so.

You're not really reasoning about your system because you can say "this runs after this" if you don't also express all the dependencies and failure conditions.
Solving the Traveling Tesla Salesman Problem with Python and Concorde
Ah, Branson vs Musk.

This is one of the things where investing in a fast moving technology reminds me of deflationary economy - we are putting a lot of satellites up there and spending billions doing it when tech is accelerating at such a fast rate that in 10 years the electronics will be quite dated, so it might be worth a wait. There is no easy way to update electronics on these once they're up.

Suppose billionaires wants to have a legacy in space before their time on earth is done!

Personally can't wait until this is cheap enough for normal individuals/startups. Low orbit nanosats can be done for $20k-ish already - www.economist.com/news/technology-quarterly/21603240-small-satellites-taking-advantage-smartphones-and-other-consumer-technologies

Going to get crowded up there!
Also works in coding: `Spike` and `Redo`
Just eat less. It is just that simple.

<SHAMELESS SELF PROMOTION>

My Weight Loss Story 40kg in 40 Weeks Without Exercise where I went from 120kg to 80kg (79.6kg) / 265lb to 175lb.

http://40in40book.com/

This book was born out of the constant positive feedback and requests I received that my story needed to be shared with a wider audience.

</SHAMELESS SELF PROMOTION>

EDIT 1:
I wanted to do this as a Show HN when I published, but I've been a longtime lurker without commenting and without an account with my real name.

EDIT 2:
I've read the article and the points raised are the same as what I noted when I lost my weight.
Exercise can help, but you can lose the weight with diet alone.
Sure, I agree with you that in many cases Rust would be inappropriate and that Rust needs to work on its C++ interop story. I just don't like it when people make sweeping claims like "Rust isn't there yet" without justification.
Disclosure / for dang: I edited the title per my interpretation of the guidelines. In context it's not misleading, but on HN I figured "The Traveling Tesla Salesman" in isolation would cause many mistaken clicks and could be taken to be linkbait.

Dan, please edit back (and bury this comment) if I overstepped :)
This is actually fairly close to the Eurotunnel between England and France. There are windows in the trains but they are very small and entirely useless for the 30 minutes whilst you're inside the tunnel. In the Eurotunnel you have to remain in your car - i.e. no standing.
"Lack of a successor".

This is a very common problem these days; during the winter I bought a sweater at a Portland outdoor gear shop after searching all over creation for real wool clothing as it was a bitterly cold winter.

The owner told me that he could not find someone to buy his store as everyone shops online these days. When he retires he's just going to shut it down.
And their system still does this for everything they distribute. This is no different really to, for example, pythons PIP. At least, as far as policy around signing of all Debian archive content.

Granted.. This is a binary blob downloaded without consent which is an issue, its just not an issue with the Debian archive distributing unvetted code.
Python's Web Framework Benchmarks
Node.js Foundation Announces New Members
At some level you have to talk to the OS to do IO and allocate memory. ATS needs escape hatches for these just as Rust does. And in languages that don't give you escape hatches, they just drop down to C to implement their garbage collector.
NaCl isn't simply a plugin architecture. It is effectively the entire Chrome sandbox and large parts of Chrome architecture made available to binary plugins.

You aren't pulling it into your project without also pulling in half of Chrome.
"Go seems to be for the Python, Ruby and Java developers and will be used for enterprise applications, mobile apps and application servers."

Out of interest, what would I gain by learning GO?
I already know Python pretty well. I have done Java in the past and don't see any problem jumping back into it. Both languages have tons of libraries and tooling available. Are mature, and I can't see much reason to opt for a new language.
StrongLoop is excited to be part of today's launch of the Node.js Foundation! Here's the backstory on how the foundation came to be: https://strongloop.com/strongblog/announcing-the-node-js-fou....
Hacking FB
Cryptocurrency Development (Bytecoin Team)
I guess the supply/demand thing is going to differ between cities and places in the world.

Where I live (Australia), plumbers and electricians often have a higher rate than quite senior developers ($200 call out rate with minimum hour charge and then $200 or so each hour on top etc), yet companies look aghast when you ask a similar rate, despite it being quite an intensive game to wrap your head around.

Then they hire someone that thinks node.js is a sensible idea, and end up paying double to have things fixed up when that ends in disaster, so perhaps it works itself out in the end.
Scala support for Lambda:

https://news.ycombinator.com/item?id=9724933

https://aws.amazon.com/blogs/compute/writing-aws-lambda-func...
It's only one data point, but my latest gig was found through that thread.
> Don't you have that backwards? The question bloom filter solves is, "Does my database possibly have a value for this key?"

No, since the cache is there to avoid having to query the database. Querying the database happens on a cache miss, and if there is no data there, then that's the answer.

It seems that we are talking about different applications.
This is pretty interesting, although I don't know if it's... necessary.

What do you think are some of the pros/cons between Go and JavaScript? When would you prefer to use JavaScript instead of Go, or vice versa?

I think Go can be more performant than Node.js, but I remember seeing some conflicting benchmarks where V8 can actually manage more RPS.

The other thing that comes to mind is how React Native uses JavaScript to manipulate UI Components on iOS. If Google ever supports Go on Android, then this kind of thing could be pretty interesting.
It'd be pretty neat if Lamba just let you run a Docker container.
Sorry, should have mentioned a bit about that. The Password Safe format is public, open, and available here [1]. There's also plenty of code/libraries you can use to write your own clients, e.g. Javascript [2], Java [3], Python [4]. For what it's worth the core data encryption is done using the Twofish cipher. Hope that helps.

[1]: http://sourceforge.net/p/passwordsafe/git-code/ci/master/tre...

[2]: https://github.com/scintill/pwsafejs

[3]: http://sourceforge.net/projects/jpwsafe/

[4]: https://github.com/ronys/pypwsafe
Strange, Samsung 840/850 evo/pro are considered [1][2] among the best consumer SSDs. The issues article mentions do not exist on Windows, the SSDs are very reliable there. I suspect it's not only Samsung fault. Are we sure Linux handling of TRIM operations is absolutely correct?

[1] http://techreport.com/review/27062/the-ssd-endurance-experim...

[2] http://www.anandtech.com/show/8216/samsung-ssd-850-pro-128gb...
The new Cockroachdb implementing in GOlang https://github.com/cockroachdb/cockroach
> I didn't say "you can make any data structure you want without unsafe blocks or garbage collection."

I didn't say you said that, I gave an example of a useful thing you can't do in Rust. It is very meaningful to say that Rust isn't practically memory safe if you have to resort to unsafe code a lot of the time, or pay performance costs. I'm not talking about data structures like vectors, by the way. And it's not just data structures themselves, it's what you can do with them on the outside.

Obviously you can make pretty much whatever abstractions you want in Rust if you use some GC'd heap or allocate stuff in vectors and use indices instead of pointers. But if you're doing that, you're probably going to not be doing it for long, there's a reason you aren't using Java.
Subsidies and regulation doesn't work.

If you subside families, the subsidies will simply go into rents and then those who don't get subsidies still have to pay that same rate. Basically, the lowest rent turns into exactly the same level where you're entitled for full subsidies. In effect, you'll just give tax payer's money to landlords.

If you regulate rents (or subsidize apartments), the apartments aren't taken cared of. The landlord is squeezed between the regulated rent and rising costs, and this doesn't lend to a very good and successful renting business.

If the city builds public housing (council housing) and rents directly to poorer families, you'll get two things. First, a lot of poor people get flocked into the same building or neighbourhood, including problematic people (most poor people aren't problematic but most problematic people are poor), and this lowers the reputation of the area. Second, those who were poor but are now in the middle class still want to hold on to their cheap apartment because they would face a direct hit in their standard of living if they moved out to an apartment rented at market price. This is a huge disincentive to move because of a better job or to move because more (or less) space is needed.

So far I've only seen one scheme that does work: public housing, initially at at-cost prices (no profit for the city) but with rents discounted based on the tenant's annual income. The subsidy isn't money that could go to anyone else but the tenant as the city "pays" for the subsidy by simply getting less money from that tenant. If the tenant begins to earn more money, the rent will go up in proportion to the extra income so that there's no big jump or disincentive to not get a better job. The rent always goes up less than the income, so that it's always worth taking a better job, until at some point the rent will equal market prices. This allows people to stay (if they like the place) or move away (because they already pay the market rent). The city could also sell individual apartments to long-term tenants if they wish to buy: this is to gradually balance the demography of the area and keep the houses from being populated by poor people forever.
Although you are of course correct, I would caution against a complete dismissal of micro benchmarks.

Firstly because they are a sort of marketing: I've perused the shootout before and noticed an implementation get a higher score than I was expecting. This has sparked an interest in digging deeper into that implementation/language.

Secondly because of the "can't even" problem i.e. why should I invest time investigating a new language if it can't even do simple benchmarks well? I appreciate that this isn't a particularly analytical view but I expect that it's not uncommon.
Daniel is a smart guy, but this particular post doesn't really come off as being super coherent... I don't know if it's because of how far IPv6 has come and things are competly different now, making his concerns solved problems, or if he just didn't really grasp everything about IPv6 then (the examples of IPv6 addresses look nothing like actual addresses, and he seems to not have heard of dual stack...). I'd guess it's a bit of both.
An offline alternative with tons of features (still mostly in development but available for purchase and support): https://www.password-injector.com/
And Python uses to implement its basic data structures, so does that mean Python isn't memory safe? What languages are memory safe, by your definition?
Oh, my bad! I didn't know I needed to talk to the OS to make a linked list.
Definitely interested in Ergodox, those things are sweet. If only it were wireless :/
Just use Bash's builtin things:

for n in {0001..0010}; do echo ${n}; done
At first I thought the same as you, but then I realised that he's not talking about your average editor, but about which editor to use if you SSH into a random web server etc. The thing you use in a foreign environment. That's what "random Linux editing" probably means.
In my experience, electronics is usually much simpler than software, because every component only talks to a few other components, you can put probes into it pretty easily, the "data" you are working with is incredibly simple (you only have voltages, currents and power). Sure, it gets more complicated with things like processor design where you have pipelines that can be flushed, and branch prediction and that kind of stuff. But that is more software than hardware anyway.
I don't disagree with you. I think Rust has a long way to go before it can practically match well-optimized C in many cases without unreasonable amounts of unsafe code (obviously, this is subjective). But it at least offers the possibility of doing so, which is much more than I can say for essentially any other language. And even in performance-critical, optimized-assembly-output code in Rust, a lot of it is safe already.
It's a mistake to consider the benchmarks game a "can't even" problem, the level of effort given to each language's implementations is all over the map.

This also isn't an utter dismissal of the concept of microbenchmarks, it's an utter dismissal of the concept of microbenchmarks as used to compare language implementations. Something like the TechEmpower web framework benchmarks is at least marginally better because the tasks permit a wider variation of implementations and at least pretend to do some kind of useful tasks, instead of pretending to be an arbiter of implementation quality (which, as much as the benchmarks game disclaims it, is still what people take it as).
Firefox doesn't support NacCl, Mozilla has show no intention of integrating it and they even criticized the technology.
No Matter What Reddit Does, It's Going to Alienate People
That article has too many flaws to go into, but the whole idea of all investments growing the economy are just false. Most of the investment dollars go to areas with little to no benefit. The (secondary) stock market, derivatives, commodity speculation, forex, etc. These produce almost no jobs, produce no goods/services, and do very little (aside from marginal liquidity) for the economy. An economy build on financial magic and imaginary money isn't sound.
I'm not sure that Rust particularly cares about attracting Fortran programmers. Fortran is a highly specialized language whose most powerful asset is its enormous body of working code. That's not a market that needs another competitor.
Yeah I saw that - although that's the older, now discontinued series that has a different controller and doesn't show the same consistent performance as the newer M600 drives.
What exactly should we do with this information? It's clear there's a cyber war heating up. Between Stuxnet, the US gov's OPM getting hacked, kaspersky getting attacked, it's become pretty obvious. And since there's seemingly no need to declare such a war before doing it, it'll only get hotter.

So what do we do? Is it time to just start running open-bsd? Should I just assume my systems won't be a casualty because it won't get that hot? Air gap the important part?
What makes you suspect that Swift is less safe than Rust?
Since it doesn't use the normal ways to download extension, I would assume it does not use TLS connection. Secret downloads has the problem to display certification errors and similar things to the users, so they would likely have to reimplemented quite a few code paths to make that work properly. https and tls is also not mentioned in either bug threads, which is a worrying sign.

If it uses TLS, then the bug is less exploitable but does still violate security policy of the vetting process, signed code and license classification (closed-source blob). At minimum, it leaves anyone vulnerable to arbitrary code injection from Google.
I remember them sending me an (unwanted) email because I had contributed to an unrelated Scala project on Github by reporting a bug.
> Like pretty much anything from freedesktop.org, the documentation is a joke.

man polkit

Looks pretty good to me. It even includes an ascii-art architectural diagram! Here's the webified version: http://www.freedesktop.org/software/polkit/docs/master/polki...

> polkit doesn't have a textual interface, it only works through D-Bus. This makes it useless for scripting.

polkit(8) and pkcheck(1) describe how to use the pkcheck program. It returns 0 on success (access granted).

> I can't do things like "ok, tell me who can mount filesystems"...

I think that's the nature of the problem domain. polkit seems to be for enforcing arbitrary rules, when the built-in rules of something like sudo can't cope. Therefore: arbitrary code snippets as rules, therefore, no introspection.

However...

> ...or "give me a list of all things that users in the wheel group are allowed to do".

pkaction | grep mount
org.freedesktop.udisks2.filesystem-mount
org.freedesktop.udisks2.filesystem-mount-other-seat
org.freedesktop.udisks2.filesystem-mount-system
org.freedesktop.udisks2.filesystem-unmount-others

Gives a list of actions. Use pkcheck to probe for access.
Sure, not exactly hard to find though...

- http://www.theregister.co.uk/2014/12/31/want_to_have_your_se...

- "Over 78% of PHP installs are insecure" - http://blog.ircmaxell.com/2014/12/php-install-statistics.htm...

- http://stackoverflow.com/a/1567392
The point is though that you have shifted your daily equilibrium, and it takes zero thought to maintain that. Choosing to eat 60 calories less a day is a choice, which takes mental effort. In contrast, once you have that 10 pounds of muscle, it is burning away regardless. 60 calories * 365 days = 21900 calories a year. Fat has 9 calories per gram, so if you maintain your eating at the same level, that's ~2.4 kilograms (~5 pounds) a year you are losing without even trying. Obviously in reality, your appetite goes up as well, but the point is that once you are muscular enough you have to actively try to eat more just to maintain your weight.
$27.5m fixed bid for a 24 month contract. That's extremely good work if you can get it.
https://www.bountysource.com/ is an interesting option.
Out of curiosity, what are you using to keep those links handy ?
Yeah, you do: https://github.com/python/cpython/blob/master/Objects/listob...

You don't need unsafe code to make any data structure in Rust. Cycles can be made just fine using std::rc::Rc. The fact that it uses `unsafe` blocks under the hood doesn't mean it's not memory-safe. You seem to be vastly misinformed about what memory safety means.
Shameless self-promotion for big data in Rust:

https://github.com/frankmcsherry/timely-dataflow

https://github.com/frankmcsherry/differential-dataflow

Nothing much useful to contribute, except that they mostly work, are largely unsafe-free (unsafe in some sorting, and a Drain replacement), and build on 1.0 stable.
This is evil strong-arm practise. Apple is obviously counting on the odds of publishers not being able to sue them over this patent abuse. All you could achieve is probably some form of cease & desist, but no damage payments (IANAL).

Is Apple losing it? I can't imagine them performing a stupid fuck-up like this five years ago. This botch job just makes them look like evil bullies to everyone involved.
Poland has the world’s best programmers – and here’s proof
Windows doesn't do queued TRIM (yet).
The difference appears to be that the sudoers file supports the finite set of access checks the authors of sudo anticipated. If you need something more elaborate than that, write arbitrary javascript to the polkit api.
Rc is garbage collection, so it doesn't qualify for "any data structures you want without unsafe blocks or garbage collection (or no deallocation)."

You can make cycles without Rc, of course.
The number of unsafe lines doesn't even matter, because the person you're responding to fails to understand that code can be memory-safe while containing code in `unsafe` blocks.
Can you post some video or something? The screenshot doesn't give too much.
RC without cycle collection isn't garbage collection by any definition that I'm aware of. :)
3 free Twitter apps you should definitely use