hacker news with inline top comments    .. more ..    14 Nov 2016 News
home   ask   best   3 years ago   
Visual Studio for Mac microsoft.com
362 points by runesoerensen  3 hours ago   184 comments top 36
SiVal 3 hours ago 8 replies      
So Microsoft is treating the Mac more seriously as a professional platform while Apple is treating it less seriously? I'm not saying this in a snarky way; I mean it literally as a change of corporate strategies in both companies. Microsoft seems to be saying, If you are a pro mainly using the Mac for professional work, we want to do a better job of empowering you, and Apple seems to be saying, If you are a pro mainly using the Mac for professional work, you need to get used to the idea that we are deemphasizing your market--no hard feelings.
delegate 4 minutes ago 1 reply      
This is nice of course, but without C++ support it has very little appeal to me.

I don't want to learn C# to write iOS apps. I might learn it just for fun, but I will continue writing the iOS apps with Swift/Objective-C and C++.

C++ support is the weak spot of Xcode and so far I haven't found a suitable IDE for C++, except maybe Qt Creator and several IntelliJ-based IDEs, which are ok but not on par with Visual Studio on Windows.

I keep a windows machine around mainly for writing C++ code (and games!).

maykr 3 hours ago 2 replies      
So as for now it is the rebranded and polished Xamarin Studio - hopefully, they have improved it's usability as in the past it was pretty lacking compared to VS 2013/2015
BoysenberryPi 3 hours ago 4 replies      
I'm glad to see more Microsoft dev tools on other platforms but don't lose sight of why this is happening. Microsoft is shifting their business to the cloud. They make their money off Azure and other services. In other words, they are making their money mainly off of developers now and its in their best interest to get on the good side of devs which is why they suddenly have a vested interest in open sourcing tools and helping Mac/Linux. Given the love and lavish praise I see heaped on Microsoft in every thread they do something it's clearly working. I'm not saying don't praise them when they do something good but don't be deceived into thinking they are doing it out of good faith.
kriro 2 hours ago 2 replies      
Most interesting part for me:

"""For the functional programmers among you, it includes excellent F# support, powered by the same F# compiler used in Visual Studio."""

I've heard that F# is great from multiple people I trust a lot (and a quick cross check showed it does indeed look very cool) so I might give it a try once this is released.

I do some C# development (Unity Engine stuff) on my Powerbook so this is also good news (MonoDevelop is fine but I'll obviously test VS for Mac)

jsingleton 9 minutes ago 0 replies      
Good news and great timing!

I had a four part blog post series on Xamarin.Forms and .NET on a Mac planned for this week. Starting with this introductory post today: https://unop.uk/cross-platform-native-mobile-app-development...

piyush_soni 5 minutes ago 0 replies      
Now only if they release a Linux version! All the existing IDEs and Editors are not even close to Visual Studio there IMO.
jpalomaki 3 hours ago 3 replies      
Interesting, but I can also see some risks with their approach. Now they have three different Visual Studios with completely different technology stacks.

1) Visual Studio for Windows (C++, I assume?)

2) Visual Studio Code (Javascript, Atom)

3) Visual Studio for Mac (C#)

wkoszek 3 hours ago 2 replies      
I can't recognise this new Microsoft. It's basically as if this was a new company wrt. Open Source and competing.
relics443 3 hours ago 0 replies      
Microsoft just continues to amaze. Never thought I'd see this...
chenster 3 hours ago 1 reply      
Where's the download for Preview? It's not in https://www.visualstudio.com/downloads/
alex4Zero 3 hours ago 1 reply      
It is based on Xamarin Studio. I work with XS on OSX last 3 years. Unfortunatelly, Xamarin Studio has a lot of issues with performance, refactoring, it crashes from time to time.

I think it will be better to wait for release of Project Rider. At least EAP is already available

drej 1 hour ago 0 replies      
The big question is - can I use it with Intel Fortran? (I am, sadly, 100% serious.)
tonyedgecombe 3 hours ago 3 replies      
For a moment I got all excited and thought they had ported WPF to OS/X.
m4tthumphrey 58 minutes ago 0 replies      
What is happening? Seriously. Microsoft releasing software to aid Mac users and Apple releasing hardware to hinder Mac users.
toothbrush 47 minutes ago 0 replies      
Wow, i would've loved to see the look on people's faces if in, say, 2002, they could've glimpsed this headline from the future. Nobody would've believed it. How things change!
ldev 50 minutes ago 0 replies      
Did the hell just froze over? That is one thing I never expected.

.NET open source and officialy supported on *nix, some version of SQL Server on Linux, cross platform Visual Studio Code editor, now Visual Studio for macOS...

tangue 2 hours ago 1 reply      
Visual Studio for python is really great. Any hints the Python tools will be ported/compatible with the Mac version ?
rl3 2 hours ago 1 reply      
>At its heart, Visual Studio for Mac is a macOS counterpart of the Windows version of Visual Studio.

Does it have a monolithic install and update process that's essentially a slow, bloated black box? That's my main turn-off with Visual Studio on Windows, and even more so with Windows itself.

As soon as Microsoft figures out efficient installation and updates via CLI without the need to reboot, they'll dominate the developer space (and perhaps server market, where reboots are even more problematic).

tscs37 3 hours ago 1 reply      
Great News. The only thing missing is Linux support, then I'm sold on VS (again).
flomo 3 hours ago 1 reply      
Anyone else reminded of Visual C++ for Macintosh circa early 1990s?
SakiWatanabe 3 hours ago 1 reply      
So will it be possible to develop cross platform GUI App using visual studio / ms native frameworks?
pjmlp 2 hours ago 0 replies      
This feels like traveling back in time.

I might have still some magazine lost somewhere about Visual Studion and MFC for Mac OS.

chenster 3 hours ago 0 replies      
I will definitely consider it as long as it's not vendor locked.
netheril96 3 hours ago 1 reply      
No C++ support, I suppose.
0x0 3 hours ago 1 reply      
Can this cross-compile (and perhaps remote debug) win32 and wpf applications, for example targeting a windows VM? That would be pretty awesome!
cocoadev2000 3 hours ago 0 replies      
Its a shame the UI is not Cocoa but GTK. =(
megablast 1 hour ago 0 replies      
They already have Xamarin Studio.
Hydraulix989 2 hours ago 1 reply      
This is absolutely amazing. C# has always been a great language, except the .NET ecosystem (sans Mono) has always revolved around Windows only.

Next up, when is VS for Linux?

partycoder 2 hours ago 0 replies      
It's a rebranded Xamarin Studio (MonoDevelop).

I wonder if it will continue to support Android, or if there will be a Linux release.

cm2187 3 hours ago 3 replies      
No word on VB.net. I presume MS is trying to quietly phase it out.
erikbye 2 hours ago 0 replies      
... and hell froze
shadowmint 1 hour ago 0 replies      
Interesting move.

I wonder how this will affect Rider (the new jetbrains C# IDE based on intellij, currently in EAP) and if they will continue to invest in Resharper for multiple platforms, or focus effort on bringing the resharper functionality into Rider.

...I also can't help but think this sort of indicates that the C# tooling in visual studio code is being reconsidered; which seems reasonable, I was always disappointed by it.

boraturan 2 hours ago 0 replies      
Sooner than expected
jbverschoor 1 hour ago 0 replies      
oh wow.
jmsmistral 3 hours ago 0 replies      
Great... Microsoft pushing their bloated sack of crap outside the confines of their abomination of an OS
One year later eev.ee
138 points by exolymph  6 hours ago   20 comments top 7
arkadiyt 5 hours ago 1 reply      
Fun read - after finishing that I went back and read the post from a year ago ("I quit the tech industry") that the author is now providing an update on. In it they wrote the following:

"I spent much of April and May increasingly grumpy and withdrawn and on edge. Weekends and evenings have become even less useful, instead being clogged by a sense of paralyzing dread that Im wasting fleeting time if Im not doing ten amazing things at once. Ive foregone trivial maintenance like cleaning junk off my desk because I dont feel like I have 20 minutes to spare. I stay up hours later than I mean to, not even doing anything, just trying to put off sleeping because the next thing I experience will be waking up and going back to work.

(I hate dread. What a completely useless emotion. Lets just stop doing anything, and feel bad about something that hasnt happened yet, and also feel bad about not doing anything because were too busy feeling bad. This will definitely improve anything in any way.)"

I suppose I always knew in the abstract that others felt this way, but reading it from someone else like this was comforting.

porker 12 minutes ago 0 replies      
I feel the way she does. My highlight from this post:

"At worst, no one ever uses it, and I have nothing to show for the time. Even at best, well lets just say the way programmers react to technical work is very different from the way everyone else reacts to creative work."

NegatioN 5 hours ago 0 replies      
Really enjoyed the article. It touches on some key points for me, like not having enough time (oh what a special snowflake I am).

I enjoy life the most when I am not beholden to anyone else's schedule, and can take the time to notice the small good/bad things happening to me every day without getting stressed (this is after all what fills most of my life, and forcibly suppressing it, saying only productive time counts, adds a lot of tension) . I feel like this is very taxing and difficult to do after a long day at the office, but I know my quality of life would greatly increase if I could either see life in this way, or have more time available to fall into this rhythm.

repomies691 3 hours ago 1 reply      
Not really "quitting tech" as in working on some different industry, but more like story about how the guy stopped working as an employee/in a traditional job. He cashed his stock options from Yelp and lives on that, but still is working on many projects that I would call tech (games etc).
brian-armstrong 1 hour ago 0 replies      
This was a really cool read. I had seen some eev.ee tweets before but I didn't know that they had a year away from a desk job.

I did something similar. I left my job last year and built https://github.com/quiet which was an incredibly fun project (end plug). I can empathize with eev.ee's fear of building something nobody uses :)

I'd love to see more stories about people quitting and doing something somewhat unconventional.

andrewchambers 2 hours ago 1 reply      
It might seem highly critical, but the things he worked on seemed rather dull to me. I suppose if i did the same what i would choose to do may be dull to others too.
crayon765 5 hours ago 3 replies      
What is this blog about exactly? I don't wanna read his whole life's story. I do like the name of the website though.
Show HN: interactive deep convnet visualization for Keras and Tensorflow jakebian.github.io
64 points by dbranes  5 hours ago   2 comments top
visarga 3 hours ago 1 reply      
That looks useful for getting insights into what is happening in a NN.

What is it visualizing in a convolutional layer, does it average all the channels, or select just one?

A man who created a tiny country he can no longer enter bbc.com
102 points by ghosh  6 hours ago   47 comments top 12
walrus01 3 hours ago 2 replies      
For a recent (within the last 100 years) example of Terra Nullius, look at Svalbard and the Svalbard treaty. Any citizen of a signatory to the treaty is entitled to live there. In practice it's kind of hard to do, since there's not much economic activity up there and logistics/transport costs and energy costs makes everything very expensive. But theoretically an Afghan citizen could move to Svalbard freely.


also, no, it does not have any armored polar bears.

shp0ngle 2 hours ago 1 reply      
From what I know about this guy's project, he is more concerned about PR, going around taking money and talking at circlefriendly libertarian conferences than actually doing anything meaningful.

Last I heard him talk at one conference, he was talking about making a Liberland app, that's Uber, AirBnB and ebay in one app, using smart contracts on blockchain. And it somehow connects to Liberland.

So yep, I don't see this as a serious attempt.

Edit: here is the app, I have no idea what is it actually doing.


thomasfoster96 3 hours ago 1 reply      
The bigger story here seems to be that Croatia is treating the territory of Liberland as its own. I wonder what that means for Balkan relations? Has Croatia now accepted the revised borders?

Edit: Actually Wikipedia says that Croatia's position is that the land belongs to either Serbia or themselves, to the exclusion of any third party. Link: https://en.m.wikipedia.org/wiki/Croatia%E2%80%93Serbia_borde...

samdung 5 hours ago 1 reply      
Came across Liberland about a year ago and filled a citizenship form on their site (https://liberland.org/) out of curiosity. I occasionally get their newsletter. Altogether i find this a an occasional and nice distraction from my work. Maybe this is how all countries came into existence.
scirocco 2 hours ago 0 replies      
Makes me think about Ladonia in southern Sweden. Painter built a tower by using wood lying around on the beach, and proclaimed the 1 km2 area the name of Ladonia. Local authorities see it as a crime due to the area being a nature reserve and had plans of taking it down, but at the same time they can't say no to the increasing amount of tourists.


drej 1 hour ago 0 replies      
I've been following this for a while now - I actually met this guy in a pub a few years ago, a friendly chap. While I don't subscribe to his ideology, I do wish him luck. As long as they are not harming anyone, I encourage people to push the limits of all sorts of established ideas, including big things like starting a country.

I'm still not sure - and nobody is I guess - if it's sincere, a PR stunt, or a scam, I guess it will take a while longer for us to find out. In the meantime, let's hope it's resolved in a friendly and peaceful manner and all the best to his new family (both literally and figuratively).

maybeiambatman 6 hours ago 2 replies      
This is so crazy. Just out of curiosity, is there a list of places around the world which are claim-able yet still unclaimed?
xiphias 2 hours ago 2 replies      
They forgot the most important part, without which a country can't be created: the army that protects the borders
dandare 2 hours ago 0 replies      
I for one don't see a point in these micro countries - they are philosophically inconsistent, nothing more than a make believe game for adults. What if I came to said Liberland and claimed one of the corners of the island for myself?
max_ 1 hour ago 0 replies      
Just applied for the citizen application form :)


vacri 4 hours ago 1 reply      
> But in the mind of Vit Jedlicka, its first president, it's the fulfilment of the libertarian dream - a land with no compulsory taxes, no gun control, with Bitcoins as currency.

Too true: A country that sounds great on paper, but is really an infrastructure-free swamp that no-one actually wants to live in. It is indeed libertarianism at its finest!

frozenport 5 hours ago 1 reply      
Obviously its not a real state because it doesn't have a `Monopoly on violence`.
Trigger Happy: An opensource clone of IFTTT trigger-happy.eu
267 points by vmorgulis  15 hours ago   58 comments top 15
kmf 10 hours ago 11 replies      
Is there anyone relying on IFTTT (or Huginn, or this) for non-trivial things?

There was never any vital day-to-day things I could build with IFTTT: I could email myself the daily forecast or things like that, but it was never a killer app for me. Most of the popular recipes[1] I see on IFTTT seem like fun little annoyances that would ultimately get distracting.

If it's really crucial to how you work day-to-day, what are you doing with it?

[1]: https://ifttt.com/discover

danso 14 hours ago 3 replies      
There's also the hugely popular Huginn, if you're on a Ruby stack (Trigger Happy seems to run on Django) https://github.com/cantino/huginn
simplify 14 hours ago 1 reply      
Seems like the perfect kind of app to build on sandstorm.io, since it's something you'd probably want to own on your own servers.
AstroJetson 14 hours ago 0 replies      
for HN, that's not your best page to start with. I'd go with this one https://blog.trigger-happy.eu/pages/informations.html
chrisper 14 hours ago 2 replies      
Why did IFTTT become so bad with the recent changes? Why did they have to "improve"?

The updated app is horrible to use compared to the old one.

sofaofthedamned 14 hours ago 3 replies      
Why the heck haven't Google bought this, or at least made their own clone? It's a superb service.
gegtik 8 hours ago 1 reply      
i saw ifttt advertising an overhaul lately only to find you STILL can't join two conditions (eg. if I leave work AND its past 5pm, send a text)
vxNsr 9 hours ago 0 replies      
One of the great things about IFTTT is the number of services that are plugged into it. (They number in the hundreds) this has about 10 which is nice but nearly enough. Also the ones that make it a killer app for me are the gApps integration which this lacks entirely.
pryelluw 14 hours ago 0 replies      
Oh and its made with django. Nice. Going to give this a test drive.
andrewchambers 9 hours ago 0 replies      
The front page does a terrible job of explaining exactly what this product does.
k2xl 7 hours ago 0 replies      
I love IFTTT, but one of the biggest missing features is the ability to do If This ... OR this ... Then That... And That And That.

Unfortunately, all of the recipes are one dimensional - so you can't build recipes like "When my nest thermostats senses someone is nearby AND it is 8AM-10AM in morning and it is December or January then turn on the heat on.

If IFTTT implemented this feature there would be a TON of killer recipes out there.

There's a company out there called Yonami (www.yonami.com) that has an app for mobile that sort of does this - but unfortunately it is a bit buggy and doesn't integrate with as many apps.

asow92 12 hours ago 1 reply      
I can't take this website seriously. But the project seems interesting.
xparadigm 14 hours ago 0 replies      
Loved the description of Trello. Kanban application. :)
aceperry 14 hours ago 0 replies      
That's a name that I like.
arcyus 7 hours ago 2 replies      
A little nitpick, the slider is hugely unnecessary.
Pascal GPUs on All Fronts Push Nvidia to New Highs nextplatform.com
73 points by jonbaer  9 hours ago   29 comments top 7
dharma1 29 minutes ago 0 replies      
Training - I have a feeling it's going to be NVidia for a while. AMD just doesn't show interest in joining the party, and NVidia has been optimising CuDNN for a while now, it will take a bit of time to play catch up. I really don't understand what AMD have been doing the past 2 years here.

Inference - NVidia will have a much harder time enforcing a monopoly here, because they are not, and cannot be the dominant player on all the hardware where neural networks will run after training. ARM, Qualcomm and others in mobile space will be pushing it hard, as will vendors running neural nets on FPGA/ASIC designs that are now emerging.

Will be interesting to see what effect architectures using low precision or binary weights (for both training and inference) will have too on the hardware landscape.

SPIR-V - AFAIK Codeplay (https://www.codeplay.com) are working on SPIR-V support for tensorflow, that should in theory help to use TF on various hardware that supports Vulkan/SPIR-V. But I guess each vendor will still need to tune things like convolution kernels for their specific hardware to squeeze the best perf out

nl 8 hours ago 4 replies      

And AMD just doesn't care - literally:

"For the most part, becausein the case of Nvidiathey don't appear to care that much about VR. And in the case of the dollars spent on R&D, they seem to be very happy doing stuff in the car industry, and long may that continuegood luck to them. We're spending our dollars in the areas we're focused on."[1]

Everytime someone complains about how little OpenCL is used, I just think of that quote. I'm happy to use products from a company that cares about what I do.

(And yes, good OpenCL implementations would be great too. But the world won't wait for AMD on this).

[1] http://arstechnica.co.uk/gadgets/2016/04/amd-focusing-on-vr-...

arcanus 7 hours ago 1 reply      
I like nextplatform and nvidia did just have a great quarter. Tensorflow runs best when accelerated by nvidia GPUs.

However, the article vastly oversells nvidia in the HPC space. Intel's MIC platform is targeted at competing with GPUs, and cuda is a closed standard. Nvidia is by no means dominant in HPC, and has parts in only two machines in the top-10, and none that I'm aware of under contruction.

Finaly, Exascale architecture is likely to be radically different than present tech. It could absolutely shake up the environment significantly.

tener 3 hours ago 1 reply      
Their graphs are showing a large growth in 2017 which are pure predictions. To makes matters worse they are not marked as such which is misleading.
mp3geek 3 hours ago 1 reply      
Does this show PC Gaming is booming as a result?
tambourine_man 5 hours ago 1 reply      
I thought we'd be able to write code in Pascal for the new Nvidia GPUs.

I have found memories of the language.

7TJx4UN4ro25 8 hours ago 0 replies      
Note that the first graph is misleading - it does not provide the context the release of their previous architecture.
Diamonds Suck (2006) diamondssuck.com
1047 points by Tomte  17 hours ago   448 comments top 75
joshkaufman 16 hours ago 20 replies      
I'm the OP - surprised to see this at the top of HN today, but happy to post a quick update:

My wife and I have been happily married for ten years now. She loves her ring, and it has held up extremely well. (She just had the band resized, absolutely no issues with the stones.)

No one has ever thought it was anything other than a diamond ring, which includes several years of daily scrutiny from crazy New York City brides in her role as a bridal gown sales manager in a high-end atelier in Midtown Manhattan. Those who know about the stones think they're beautiful and love that there's a good alternative to diamond.

I stand by everything I said in this essay, and would 100% recommend moissanite to anyone who is (or will soon be) in the jewelry market.

sametmax 16 hours ago 6 replies      
Seems like an american things really. In France, nobody would expect anyone to buy a certain kind of ring. As long as it's pretty, you can go for anything. Or no engagement ring. Some friends of mine don't even get wedding rings. And I just met a not married couple wearing rings just because they liked it.

Our wedding ceremonies are also usually way cheaper and less show off that the ones your pop culture is selling to you, so I hope you are not actually doing it IRL cause that seems a terrible way to start a long term relationship, money wise.

But I guess we don't have such a marriage culture here anymore. People do marry, but we also now have something called the PACS, which is a very simple legal union with no bells and whistles that is pretty popular. And of course plenty of people living for ever without a label on their relationship.

Moshe_Silnorin 16 hours ago 6 replies      
So people do this to signal (both to their spouse and their friends) they are both financially capable and care enough about their spouse to burn a large amount of money on a pyre. It's also a very useful signal that you are serious about the commitment and unlikely to back off of the marriage. I would prefer to replace it with a certificate that proves you have spent X thousand dollars on said certificate from Moche Silnorin Inc. A less personally-beneficial alternative would be some sort of modern dowery, the recipient of which is Moche Silnorin Inc, who holds on to the money until the culmination of the marriage, after which the dowery is given to the wife and so reunited with its giver once they share finances. If the engagement gets broken off, Moche Silnorin Inc keeps the money. However, this raises the possibility of bondsmen. Which isn't a possibility with diamonds, with their awful resale value. So perhaps just a non-refundable expense in exchange for proof you've given X thousand dollars to Moche Silnorin Inc would be ideal.
ftrflyr 16 hours ago 11 replies      
I told my girlfriend (5 years) how I feel about diamonds and that I reject the very notion of buying a diamond engagement / wedding ring early on in our relationship.

Several months ago, we landed on the marriage conversation, again. I reiterated that I am against diamond engagement bands. She then said: "What about a wedding ring then?" I told her it applies to wedding rings as well. We got into a heated argument and she eventually said: "Let's just not talk about it anymore." What? Let's not talk about marriage anymore because I am against diamond engagement wedding rings and wedding bands?


TL;DR GF said she doesn't want to get married unless I show her how much I love her by getting a diamond wedding ring or engagement ring.

arieskg 10 hours ago 2 replies      
I never knew moissanite existed, thank you for the unknown.

I am skeptical of the postthe argument is diamond sucks, but after reading the post, it appears to be diamond sucks, buy moisanite instead. 1). Why is there only one alternative? 2). Why does it matter that people will assume the ring is diamond? 3). Lets assume all diamonds are subsidizing African warlords. How would I know if my hard-earned money isnt subsidizing some Chinese manufacturers known to exploit human labor?

I would be getting more bling for my buck if it was the same commodity. You mentioned that others wouldnt be able to tell the difference between moisanite and diamond, but if moisanite is better than diamond, then others should be able to recognize moisanite and perhaps comment the refraction index for this ring appears to be higher than diamond, it must be a moisanite. Its beautiful!

Wedding is a tradition, but its not required for marriage likewise diamond is the symbolic instrument for proposals, but the ring does not have to be diamond.

I appreciate your post for the detail comparison breakdown between diamond and moisanite, but I am skeptical of the intent. Research the luxury handbag industry and youll find the same patterns, and what alternatives are there, typically, for cheaper Chanel handbags?

trprog 9 hours ago 0 replies      
>If I can prevent a single reader from needlessly dropping $6,000-10,000+ on a diamond engagement ring, this site will be a success. Financial worries are the #1 cause of stress in a married relationship - there is absolutely NO excuse to start your married life by taking on that level of debt.

This is probably very naive of me but it honestly never occurred to me that anyone would actually go into debt for a ring. I naively assumed everyone did it the old fashioned way. Save up and don't pop the question until you either have bought the ring or at least have the cash on hand to go get one together.

Personally if I was being proposed to and discovered that my partner had gone into debt to get a ring I would seriously question the wisdom of picking them as a life partner.

Animats 14 hours ago 2 replies      
Since 2006, the synthetic diamond gem industry has made considerable progress, and is now banging out real diamonds at a good clip. Gemesis was the first to mass-market synthetic diamond gemstones. (DeBeers tried intimidating the CEO, a retired U.S. Army general. Intimidation didn't work.) Now other companies are doing it.

Silicon carbide gemstones are available in bulk on Alibaba.[1] So are diamonds.The page for Changsa Chenguang Machinery and Electric Company makes it clear how far down diamonds have come.[2] They have a list of diamond products - diamond plate for cutting tools and wear parts, monocrystalline diamond for wire drawing dies, diamond inserts for well drilling cutters, and diamonds for gemstones. The gems are a sideline from the cutting tool business. Minimum gem order 10 grams, capacity six metric tons of diamonds a year. That's just one small manufacturer.

[1] https://www.alibaba.com/trade/search?IndexArea=product_en&Ca...[2] https://china-chenguang.en.alibaba.com/

kenny_r 17 hours ago 2 replies      
According to Wikipedia[0], the patents for the creation of Moissanite expired in 2015 in the US and in 2016 for the most of the rest of the world.

[0]: https://en.wikipedia.org/wiki/Moissanite#Applications

sundarurfriend 13 hours ago 0 replies      
There was an AMA on reddit [1] that addressed the status of DeBeers price control, the idea that synthetic diamonds are 'flawless', etc. Lots of other cool info too, related to the diamond and gem industry.

[1] "IamA programmer who writes code for calculating diamond prices. AMA about De Beers, the diamond industry, synthetic diamonds, engagement rings, etc." https://www.reddit.com/r/IAmA/comments/2aijjh/iama_programme...

FullMtlAlcoholc 16 hours ago 5 replies      
Another alternative is synthetic, lab grown diamonds. They are superior to naturally occuring diamonds, cheaper, aren't tainted by human misery and suffering like conflic/blood diamondst, and arent extracted from ecologically damaging mining techniques like open pit mining.
brandur 16 hours ago 2 replies      
I like to believe that there's a lot of savvy and affluent couples out there who are buying either moissanites instead of diamonds and choosing not to tell their friends or family about it to avoid the social stigma. They then take the $5k to $20k they just saved (what's the rule of thumb, one month's gross salary?) and put it towards bootstrapping their new life.

You can even post close-up pictures of the stone on Facebook and not a single person you know will ever be able to tell because, as noted by the article, the difference is indistinguishable to the human eye.

As long as both members of the couple find this acceptable, it would be silly not to at this point.

strictfp 17 hours ago 6 replies      
Similar arguments can be made about almost any fashion item. People don't buy fashion due to it's great quality, and most of the time not even due to good design, but mostly just to show off.
ClayFerguson 11 hours ago 2 replies      
People buy diamonds for a lot of the same 'irrational' reasons they believe in religion. Brainwashing. Girls have it pounded into their head over and over all their lives that this diamond is a MUST so they never think with their own brains about it. 99% of people would never spend $10K on a single piece of jewlery, if it was logic and reason, as opposed to pure brainwashing, that was governing their decisions. So actually it's a very sad aspect that I hate about humanity. Susceptibility to being brainwashed and the need to fit in, and the fear of not fitting in. All the above are mental disorders. And by the way just because "everyone is doing it" doesn't mean it's not a mental disorder. It is.
matt_morgan 13 hours ago 0 replies      
My wife has a diamond engagement ring and wedding band. Since then I've bought her several cubic zirconias. I can tell the difference (I'm a geologist by training) because the CZ's have too much fire, but I'm not sure I would ever see the difference if I didn't know in advance. And moissanites are much closer even than CZ in diamond-like properties. CZ, however, is way cheaper. Like $10 for a 1-carat stone.

Could be that moissanite is just expensive enough to qualify as an engagement stone (where CS is way too cheap).

mk3 1 hour ago 0 replies      
I have only one problem with this article crawling so high... As it seems an ad for one retailer of Moisanite Charles & Colvard. Also this article was submitted twice to hackernews before, once by the same person before.
thebiglebrewski 16 hours ago 17 replies      
Can anyone give me advice on how to convince my girlfriend of this though without her thinking I love her any less :)?
ryanmarsh 16 hours ago 0 replies      
That's nice. Androids are fine phones too for a fraction of the cost. The problem is my wife likes diamonds and iPhones and I doubt either has much to do with the specs.
thesmok 2 hours ago 0 replies      
Just two weeks ago I was ordering a ring from a jeweler and I wanted a moissanite. It seems to be impossible to find this gem in Ukraine. My jeweler wasn't able to order it anywhere. I'm visiting Germany soon, so I went to Charles&Colvard website to see if they have a reseller in Germany no they don't. The closest reseller is in UK. And I can't just order it from US because every delivery service specifically doesn't deliver precious stones and metals to Ukraine. So no moissanite for me.
sherman-human 3 hours ago 0 replies      
I commissioned a bespoke moissanite ring for my wife. One of her family members seemed gobsmacked by the shiny thing. A couple months later this person was wearing a new ring with a larger stone. If you are concerned about conflict diamonds, there are some weird edge cases you need to consider.
oakwhiz 3 hours ago 0 replies      
I purchased a neodymium-doped yttrium aluminum garnet from a surplus auction that included electro-optical equipment (big lasers and such.) The garnet is a nice pink color with a high refractive index. It's slightly bigger than 1 cubic centimeter and being lab grown it has zero defects other than the neodymium atoms which turn it pink.

I plan on having it cut and set into a ring. However one obstacle is that yttrium is considered toxic to humans as a dust. Proper safety, ventilation and cleanup must be observed which makes it difficult to find jewellers that are willing to accommodate this.

Odenwaelder 14 hours ago 1 reply      
I can't get over the fact that americans apparently pay $5k-10k for an engagement ring. As if this decides the success of the marriage.
beaner 16 hours ago 7 replies      
A diamond purchase is a type of proof-of-burn. It's a way to display how much you value the person by being willing to sacrifice a large part of your savings for them. It's not really about the stone itself, it's about the cost.
vpayette 16 hours ago 4 replies      
We were engaged in 2006 and I forwarded that article to my soon to be wife. Her answer was: I don't think this is funny. I ended up buying a 10k diamond ring. We're still happily married with 1 beautiful 8 y.o. daughter. Ask any married guy and they'll all say the same: pick your battles!
codingdave 12 hours ago 0 replies      
I go out to collect gemstones as a hobby on the weekends. And it only took a half day class to learn how to shape them for jewelry. So while some people still like diamonds, I prefer to give hand-collected and crafted stones. They might not be worth as much, but I made them myself and can guarantee nobody was harmed or screwed over in the process.
diamond1 16 hours ago 3 replies      
"The big difference between moissanite and diamond is that moissanite can be manufactured reliably and efficiently in a laboratory."

Thats not true, diamonds can be manufactured reliably and efficiently in a laboratory as well. And its nearly impossible to tell the difference between natural and artificial ones. Only a very complicated lab test with a machine can tell the difference.

sotojuan 17 hours ago 1 reply      
The worst part of the diamond industry is how much space is wasted here in New York for diamond stores. Around Midtown there are whole blocks of sketchy diamond stores. No way all are profitable.
syedkarim 14 hours ago 0 replies      
My wife wanted a diamond ring, but one that included stones that have been in her family for a 6 generations. We designed the ring together (with the help of Rhino3D and a local gem shop in Chicago). We melted down the old platinum ring and used the money for a new setting. It's the only ring she has; no separate engagement and wedding rings.

My opinion is that people who insist on the two-months' salary-marketing ploy are chumps and I don't respect that lack of real thought for such a major decision. I told her afterwards that if she would have insisted on a new diamond ring, we wouldn't have gotten married. Currently at seven years and two kids.

legohead 16 hours ago 0 replies      
I got my wife a moissanite ring, and it indeed sparkles amazingly...but so do cubic zirconiums
maaaats 16 hours ago 4 replies      
> Isn't it amazing (and scary) how brainwashed people are about the "value" of diamonds, even though they're not actually worth that much?

I've never understood this argument. Aren't they worth what people are willing to pay?

jjeaff 10 hours ago 0 replies      
We went with a synthetic crystal/man made diamond that is simply beautiful and was cheaper than a moissanite yet is quite a bit closer to the fire and refraction index.

The key is to spend the money on the band. The quickest trick that jewelers use to spot a fake is a cheap band. No one puts an expensive diamond in a cheap plated band. We had a custom platinum and 14k yellow gold band with pave diamonds and it is stunning. My wife gets compliments literally daily. I am quite confident that even a professional jeweler or gemologist would not be able to tell with the naked eye that this is not a real diamond.

Add to that, the majority of the cost for the band was the raw materials which we paid spot price for. You could literally melt it down and get most of the value out of it. Additionally the companies that sell the higher end synthetics offer lifetime warranties and in our case, even a replacement for a lost stone with a deductible.

coleifer 2 hours ago 0 replies      
The fact of the matter is, you're still talking about buying a rock. Once you have accepted the absurdity of that, it seems like bikeshedding to argue that diamonds are better or worse than anything else (or any less absurd).

Despite this, I spent an outrageous sum on the diamond engagement ring I bought my wife (as well as the wedding band). Because anything other than diamonds wouldn't have been diamonds!

salmonet 14 hours ago 0 replies      
I don't remember the source, but apparently there is an inverse correlation between expense of wedding ring and a couple's likelihood of stay together
nurettin 10 hours ago 0 replies      
I bought my wife no engagement rings and she is happy just to keep the money. Society just needs to get saner so you won't need any of these coveted stones. So instead of looking for alternative stones to carry on the madness, just date utilitarian women.
tdkl 11 hours ago 1 reply      
Here's a nice show "Adam ruins everything" where the host explains why weddings (and the ring "tradition") is just about marketing started in 20th century:


bitmapbrother 13 hours ago 0 replies      
If you're conflicted about spending thousands of dollars for a diamond ring just give your fiance the money it would cost you to buy a diamond ring and tell her it's her decision. Most girls would think twice about spending thousands of dollars on a rock and instead spend some of it while keeping the rest for other future expenditures.
davidhariri 12 hours ago 0 replies      
Anybody else have a SO who doesn't care about any of this? We talked about rings for 10 minutes before she and I got married. We wear white gold bands. No one has ever asked us about our rings. I'm feeling like I'm missing something here. Do rings appreciate in value?
suhith 16 hours ago 0 replies      

This article is a pretty interesting one on the topic!

nhumrich 11 hours ago 0 replies      
I love this article, but why not discuss other options as well. You show CZ in your table, but don't discuss how its a perfect stone with no discolorization, and significantly cheaper than even moissanite. Its perfection means it will never pass as a diamond to a jeweller, but it looks amazing to everyone else. I bought my wife a huge CZ ring and she loves it and the cheap price tag. She lost it once and I just bought another just like it.
rb2k_ 11 hours ago 0 replies      
I recently spent a little bit of time looking into this and one thing that was interesting is how much the look of a stone is also relying on the quality of the cut.

You can get diamonds/moissonites/cz in the same cut, but they will look like night and day, depending on how well it seems to be done. Some lab created stones / replicants look indistinguishable from a diamond whereas others look very much like they're made from glass

gravypod 15 hours ago 1 reply      
So this is Silicon Carbide? I'd love to see someone grow one of these crystals. The raw materials and the processes needed are, from what people have told me, simple but no one has ever gone past "don't worry about it".
Isamu 15 hours ago 0 replies      
We went with a sapphire, in an antique setting with some small inexpensive diamonds on either side. Better in every way than a big diamond, much cheaper, easier to get a far prettier custom result.

And I have to say prong settings are ungainly and not durable.

gina650 14 hours ago 1 reply      
Re:Alternatives - was just talking about this with Billionaire founder of MoonExpress which just the first private company to receive FAA clearance to harvest some the moon (Moon Express). Sounds like he plans on bringing some back for rings and making it a thing to not just have a honeymoon but to give your honey the moon.


wkoszek 3 hours ago 0 replies      
I will send this to my other half... Maybe she will understand...
kpwagner 11 hours ago 0 replies      
Sol: No, it's a moissanite.Bad Boy Lincoln: A what-in-ite?Sol: A moissanite is an artificial diamond, Lincoln. It's Mickey Mouse, mate. Spurious. Not genuine. And it's worth... fuck-all.

This quote has stuck with me, though it sounds like Snatch (Guy Ritchie) got the "artificial" part wrong based on the site.

emodendroket 16 hours ago 1 reply      
I think rubies are much more appealing.
sebbySebbyBinx 3 hours ago 0 replies      
Diamonds do suck, which is why I made the Bitcoin alternative to diamond engagement rings, the BTC Ring.


Even with moissanite, the ring still has inherent value, thus subjecting the wearer to risk of loss or theft. By using a pointer to value (e.g. a Bitcoin address), one can still show off but not worry about storm drains or muggings.

datguacdoh 11 hours ago 0 replies      
Went with a lab grown diamond from Brilliant Earth and my (now) wife was ecstatic that she didn't have to feel any gilt over the stone or feeling pressure from friends trying to explain why she went with an alternative. We were both extremely happy with the ring.
intrasight 14 hours ago 1 reply      
Diamonds really aren't that attractive IMNO. Other gemstones I like better include sapphire, ruby, opal, emerald. My wife's engagement ring has a blue sapphire with opals on each side. We created each other's wedding band and cast them with gold recycled from old family jewelry. Be creative - these artifacts will have great sentimental value as your marriage ages.
rch 16 hours ago 0 replies      
Let's extend this sentiment to all gemstones. Reality show enthusiasts have started ripping up high peaks in Colorado for worthless shiny stones like aquamarine.
wodenokoto 11 hours ago 0 replies      
Back in the days, Slashdot had a discussion on alternative materials for wedding rings.

I cannot for the life of me remember suggestions, but the community came up with quite a few creative and meaningful materials that could make beautiful rings.

Insanity 14 hours ago 0 replies      
Just got married yesterday and went for the traditional thing. I am happy to read there is an alternative for diamond though, and if we have a gem put it, as is tradition for the birth of a child (for some), I will surely suggest this to my wife.
austinhuminski 7 hours ago 0 replies      
Damn, this was brought to my attention about 2 days and $6,361 too early.
HiroP55 15 hours ago 1 reply      
Estate jewellery is a good option too. Estate jewellery is often cheaper and of very good quality. Why buy something new when something 60 or 50 yrs old looks the same or better?
hodder 9 hours ago 1 reply      
Doesn't anyone have recommendations best places to get a moissanite ring?
Spooky23 14 hours ago 0 replies      
My wife loves sapphire, so we went that route back in 2003. The money saved went towards an IMO awesome setting that will be an heirloom.
Joyfield 12 hours ago 0 replies      
My and then current GF had our engagement rings in titanium. We never got married though.
nommm-nommm 14 hours ago 0 replies      
Ehhhh I'd take it one step future and say "engagement rings suck."
naftulikay 15 hours ago 0 replies      
Droppin' those truth bombs. Adam Ruins Everything had a good episode covering this: https://www.youtube.com/watch?v=N5kWu1ifBGU
err4nt 16 hours ago 1 reply      
After reading about Moissanite I went out and got a nice custom diamond ring. I've seen it in person and sometimes you CAN tell, because of the 'fire' its way more rainbowy than diamond, diamonds are 'whiter' looking.

I'm not even opposed to CZ if it looks pretty, but I wanted to give her a diamond and gold, and anything else would have felt like a substitution.

usulzer0 14 hours ago 0 replies      
My wife is sporting an aquamarine and people will actually stop her to admire her ring. There are a lot of good alternatives to the over priced/unethical diamond.
_audakel 12 hours ago 0 replies      
Both DeBeers recommend links are getting 404.
partycoder 13 hours ago 0 replies      
Koi carps are a fish with a lot of variance in their cost. Koi carps can cost from $25 to over $50000, depending on their size and color. What do you need a larger koi carp for? Well, I personally do not know why someone might be so appreciative of larger fish, go ask that person.

Price is about perceived value and perception can be manipulated in many, many ways.

And you can pretty much start talking about mostly anything. Wristwatches, cars, etc... and how some features are super important where in real life they probably aren't.

Just like a larger koi carp, lower 0 to 60 mph so you can get to that red traffic light faster, a shiny gold watch that will give you the exact same time, wine that tastes 90% the same as a wine with 10% of the cost, and we can go on and on...

Truth is that some of those things make people happy, and that's pretty much all the reason behind it. Just go for the ring that will give you the "yes".

balls187 16 hours ago 0 replies      
> I recently got engaged, and found myself in the market for a suitable engagement ring.

Got engaged prior to purchasing the engagement ring?

gragas 13 hours ago 0 replies      
I hope the author doesn't get suicided by De Beers. Good luck, my friend!
truth_sentinell 13 hours ago 0 replies      
IMHO a fiancee that demands a diamond is not a spouse worth keeping.
graycat 14 hours ago 0 replies      
So, what's an 0.47 caret, round, brilliant cut, very white, flawless to 10X diamond worth?
dimino 13 hours ago 0 replies      
Do a lot of these problems go away if you can afford to pay in cash for a diamond and it doesn't inhibit future purchasing decisions?
graycat 14 hours ago 0 replies      
Silicon carbide? Hmm, if not too concerned about looks, then can get it at most hardware stores on various sanding papers and disks, right? But, sure, much the same for industrial diamonds, e.g., for knife sharpeners, maybe some high end grinding wheels?
graycat 13 hours ago 1 reply      
Gee, ever since she was three years old and playing with Disney dolls, e.g., Cinderella, she was dreaming of HER dream man, on a white horse, in shining armor, picking her up and carrying her off to their love nest castle on the top of the mountain.

Alas, with current economic conditions -- those suits of shining armor and white horses can really set a guy back -- she gets a guy, he did just take a shower, in blue denim on a mule?

Ah, for sure the good, old days of romance are gone with the wind forever?

But, now, with Silicon Valley and everyone making at least $10,000 a week, what's the big deal of a $10,000 diamond?

Or, suppose in 10 years she discovers it's not a diamond? And in the meanwhile the startup went public, and he got $600 million. Now that she's had her romantic heart crushed by the fake diamond, her mom, who never thought he was good enough for her to begin with, reminds her of the beautiful California community property law, and suddenly he has to pay both his lawyer's fees and hers, loses the house, the kids, the new, high end Mercedes SUV, the boat, the boat house, the kids, the three dogs, and half of what is left of the $600 million and has to pay child support for kids he can't see and alimony forever. All because he was cheap and bought a fake?

Just kidding, guys!!!! :-)!!

dom0 16 hours ago 1 reply      
Fun fact: Moissanite is nothing else than silicon carbide, which is also used for high-temperature power electronics. So, why don't give her/him a MOSFET ring? ;)

This may be a great / bad idea depending on his/her preferences.

coin 13 hours ago 1 reply      
> superior to diamonds in every essential way: cut, color, clarity, durability, fire, brilliance

Yet the author still uses the "desirable" properties taught by the diamond industry

jonloldrup 13 hours ago 1 reply      
This turns out to be based on a conspiracy theory:

"Current public perception of diamonds is the direct result of a masterfully executed marketing campaign by De Beers that began in 1938, not inherent scarcity or value. If you've read the article by Edward Epstein (you really should), you know all of the gory details. Isn't it amazing (and scary) how brainwashed people are about the "value" of diamonds, even though they're not actually worth that much?"

Thus, without further investigation, we can conclude that the writer is a croony crackpot (I don't know if thats a thing, but, anyhow)


mk89 17 hours ago 6 replies      
Great advice. Possibly coming from someone who doesn't have a girlfriend. :) try to give such a stone to a girl and see how amused she is gonna be. You are just gonna sound "cheap". Diamonds are a status, not a beautiful stone.

edit: I see many downvotes. Guys, seriously, was it for me, I would buy nothing. It's just how this world works. You can express your anger by downvoting me, I'll be fine, but please don't fall into this belief that diamonds are just a stone. They are unfortunately just a status, like brands...

Learn to Code by Building Projects enlight.ml
138 points by siimplytech  14 hours ago   17 comments top 6
brian-armstrong 11 hours ago 3 replies      
This is a neat idea, but I'd recommend starting on an altnerative. Pick an open source project and modify its behavior. It will serve as a code style corpus to guide the process, and it's already a polished product, so you don't have to get into the nitty gritty of the last 20%.

For a more concrete example, I learned php by creating a phpbb instance for my friends and then making addons/changing how it worked. The ratio of work done to results accomplished was high.

It's also very valuable to learn how codebases might be laid out and how to just find the parts you want.

eatonphil 9 hours ago 1 reply      
To the author: great work. This is impressive -- for a high school student [0], no less -- and useful. I'm always trying to think of good projects to recommend people learning to program or trying to supplement schoolwork. There are a number of lists (of lists?) on Reddit (like [1]), but they aren't as well thought out as your three right now. I hope posting this here helps with the incentive to keep this up.

[0] https://blog.shamdasani.org/no-i-do-not-know-that-language/

[1] https://www.reddit.com/r/learnprogramming/comments/2a9ygh/10...

duscheln 1 hour ago 0 replies      
There is also a site that reminds me of your approach with similar projects.https://www.freecodecamp.com/
szines 7 hours ago 0 replies      
Totally agree and it is the best approach. Here in Wellington, New Zealand, we have a free workshop for everybody who would like to learn JavaScript, and we build a project together. The transcript is available online and totally free for everybody worldwide here: http://yoember.com
bikitan 9 hours ago 1 reply      
Perhaps I'm being pedantic, but is a clock app that requires app.js not really 'pure CSS'?
Hasz 8 hours ago 1 reply      
How is sight like enlight.ml made?

How is it hosted, how do the pages come together, etc.

That would make a great tutorial, even if it's at a high level.

If Prisoners Ran Prisons themarshallproject.org
231 points by iamjeff  14 hours ago   160 comments top 17
nknwn 13 hours ago 11 replies      
In having served almost 10 years in prison for drugs. I can say that medium and maximum security prisons are often a breeding ground for killers, and dangerous people.

Young kids who have done something incredibly stupid usually end up in these places. They are then immediately put in a situation to fuck or fight. This behavior will often escalate to extreme violence or to be broken psychologically, then owned by other inmates, bought and sold like property. Can that kind of behavior be unlearned? I doubt it... I would argue that at best, people can only learn to do something better, but always lurking in the background.

This is only one of many of the bizarre insanities of prison life. I personally don't disagree with the idea of punishment or prison. I would however say that prisons are extremely dysfunctional.

CalChris 10 hours ago 1 reply      
Cost of prison per prisoner per year:



Average in the US:



This isn't about justice. It's about prison guard jobs. It's about welfare.

chappi42 14 hours ago 2 replies      
Well, nothing to do with hackers, but if this

> Immediately they are yelled at by officers to strip naked, get nuts to butts, and after being searched they are kept naked for several minutes until they are issued some boxers...

is true. Boah, how can everybody yell at the 'bad behaviour' of Trump and Clinton and look away here?

jpatokal 40 minutes ago 1 reply      
What I find amazing here is the pathetic modesty of all the requests. It's all about selling onion powder in the commissary or granting model prisoners the right to wear non-white shirts, not (say) the abuse of plea bargaining or the ludicrous length of mandatory sentences.
Barraketh 10 hours ago 2 replies      
I wonder why there are no private non-profit prisons.

There are many states that allow private prisons. There have been multiple articles about how awful these prisons are. Why not try to open a non-profit prison where gov't funds are supplemented with donations and focusing on rehabilitation and humane living conditions. Then we both improve the lives of some inmates, and can more effectively compare outcomes.

Taek 9 hours ago 2 replies      
There seems to be a pretty decisive anti-prison circle jerk in this thread. It's a trend that is very common among progressives, common enough that I think we could do something about it.

Does anyone want to say things in support of prison? If we revamp the prison system, what things should we keep? What do prisons do right?

And, what are the next steps for a community willing to invest in changes to our criminal management? How do we make a difference?

joshfraser 7 hours ago 0 replies      
I spent my afternoon hanging out with an ex-con and entrepreneur I met through Defy Ventures. They're a great organization that are giving second chances to the incarcerated. If you're looking for a practical way to make a difference, check out https://defyventures.org and sign up as a mentor. If you live in the bay area, they have a day trip to Avenal State Prison coming up next month and are looking for volunteers to help as business coaches.

Today I asked this entrepreneur for his perspective on what needs to change in our judicial system. Not surprisingly, he gave me a long list of things that are broken, including the corrupting influence of money which incentivizes tough laws and full prisons. And the money which allows people with money to walk away with a slap on the wrist for committing the exact same crime that put him away for years.

When he was released, he was scared to leave prison. He shared how the free world is terrifying to those who've been incarcerated for years. He'd been locked up in high school and never had a chance to get a proper education. He couldn't find anyone to hire him. He couldn't find anyone who'd even rent him an apartment with a felony on his record. The only people who reached out to him were his old gang members. Imagine spending the majority of your life behind bars and then being thrown into a world with smart phones and the internet -- neither of which existed when you were locked up.

Many of us in this community agree on how unfair the judicial system is in America. Many of us believe in the concept of second chances and redemption. And many of us (myself included) could do a better job at demonstrating that belief with our actions.

danieltillett 8 hours ago 1 reply      
There should be two types of prisons; one for people that will be released one day and one for people that will never be released. The never-to-be-released ones can be the nastist hellholes (if the aim is punishment), but the to-be-released ones need to concentrate on making sure that the prisioners are less likely to offend again once released.

I have often thought the solution to the reoffending problem is to fill the prisioners day with heaps of novel activities so that each day is spent learning new things (doesn't really matter what as long as it is not criminal). The aim would be that by the time the prisioner has finished their sentence their old life and self will be forgotten. The human brain only has so much capacity and if you fill it with enough novelty you will overwrite all the old bad information and behaviours.

VR has the ability to make this cheap and effective.

jstoiko 3 hours ago 0 replies      
One thing that kills me about prisons is that they achieve exactly the opposite of what they are supposed to be achieving. They add more psychological trauma, they create more anger and they force people to focus on what they've done in the past instead of what they could be doing different in the future.

The problem is that there are always more important things to worry about in our society than reforming prisons. Not much has changed since prisons have been invented, really. Recidivism is unacceptably high. The solution is not more discipline. It's more respect, more compassion, more dignity, more learning, and more showing that life doing other things is as rewarding if not more than doing the things that lead to prison.

mmagin 13 hours ago 0 replies      
One of the few charities (that I'm aware of) in this area: http://justdetention.org/
perfmode 11 hours ago 0 replies      
If you find this topic interesting, I would recommend that you check out the documentary "13th" on Netflix:


jlebrech 1 hour ago 0 replies      
let the prisoners run the entire prison but have the guards monitor them at all times.

like this https://en.wikipedia.org/wiki/Panopticon

joggery 7 hours ago 0 replies      
Prisons are dysfunctional and cost too much. Why isn't GPS-tagging, curfew and public record sufficient to protect society?

Reform could only be somewhere where >90% people are non-criminal e.g. army, monastery


_audakel 12 hours ago 0 replies      
so sad. im glad that in the age of the internet stories like this can come out and reach many people. I just hope that the next generation of leaders who grew up on the internet exposed to many differing ideas will have the courage/determination to find real solustions fix problems like this.
DominikR 7 hours ago 0 replies      
The notion that there should be no prisons at all is nuts in my view, there must be a way for people to protect themselves from others who repeatedly act violently.

But the fact that prisoners frequently have to face rape is sick and shows how dysfunctional the current system is. I even read some time ago an article that stated that the US is the only country in the world where more men than women are raped. (due to the fact that so many men are raped in prison)

What I personally believe would be a good way to treat this issue is to have prisoners work in the private sector while their payment will largely be used to pay for prison and to repay their victims for the damage they have caused them. The prisoner is set free once he has paid for all damages. (or as much as is reasonably possible)

Prisons will have an incentive to make sure that their prisoners earn as much as possible (trainings and education), victims will receive payments for damages and the prisoners themselves will have an incentive to get out of prison as soon as possible. Of course this can't be done with every type of felony and there's the question if damages are always accurate.

Also with this approach some types of felonies cannot be punished. One example would be drug abuse. You are only harming yourself and since no third party can claim damages it also would not be punished. (this alone would hugely reduce prison population)

You could even make the case that selling drugs would be legalised since there's clearly a buyer willing to buy and consume it who's not hurting any third parties directly by his choice.

I believe it is more reasonable to have prison sentences reflect the damage caused instead of ideology and prison life be more about making it up to the victims (as far as it is possible) instead of creating the most nasty, brutal place imaginable and having people suffer there.

It's probably also a better lesson for an offender to have to repay someone for destroying his car than subjecting him to repeated rapes which will likely break him psychologically.

transfire 7 hours ago 1 reply      
In 100 years or so people will look back at our prisons like we now look back on the Bastille.
wccrawford 13 hours ago 4 replies      
I'm all for prison reform, but other than the bits where officers do demeaning things to the prisoners, this really just becomes a list of things that prisoners feel would make their lives more comfortable.

Well yeah, no shit. Of course they want it better in there. If they got all this, they'd eventually be complaining that they should have computers and playstations.

Prison isn't supposed to be torture (physically or mentally) but it's also not supposed to be better than poor people have it. If poor people can't be taken care of to the point they have these things (and I think they should!) then I don't think starting with the prisons is the right way to go.

Building Win16 GUI Applications in C (2014) transmissionzero.co.uk
96 points by networked  11 hours ago   30 comments top 10
userbinator 10 hours ago 1 reply      
Some more interesting articles on the MakeProcInstance mechanism:



...and if you think the 16-bit segmented architecture is annoying, you probably haven't worked with a bank-switched 8-bit system. ;-)

tjalfi 8 hours ago 0 replies      
Charles Petzold wrote a new 16 bit app for Windows 1.0 to celebrate the 20th anniversary of Windows. The source is at http://www.charlespetzold.com/etc/Windows1/
_RPM 9 hours ago 3 replies      
That's pretty cool that the executable will run on Windows 10 today. I have respect for Windows, but that is really impressive.
lnternet 8 hours ago 1 reply      
Heh, I always thought of Win16 as the Windows 3.x API. It never occurred to me that the "same" API was used for Windows 2.x and even 1.x. Makes sense though...

Really cool to see that Windows 1.0 application run on Windows 10!

currysausage 2 hours ago 2 replies      
Slightly off-topic: if I want to learn developing Win32 applications, what is be the best place to start and where do I find comprehensive reference material? I find the simplicity and responsiveness of Notepad2 and similar applications very impressive.

Should I get Visual Studio 6.0 or is a MinGW workflow [1] the way to go? Is MSDN still usable as a Win32 reference or is there some old go-to Win32 bible that I should look for?

[1] http://www.transmissionzero.co.uk/computing/win32-apps-with-...

keithnz 10 hours ago 4 replies      
been there, done that, never going back! :)

it was fun at the time, though information was limited and precious, you ended up being very dependent on books and magazines to find out about how to get things done.

coolgoose 5 hours ago 0 replies      
I'm a bit fascinated by the possibilities exposed in the simple demo.

Having right click system menu options that you could extend in what for me is a simple syntax is awesome :-)

est 7 hours ago 0 replies      
Does this mean we can write a single binary with GUI which is valid in ELF/COM/Mach-O ?
pistle 9 hours ago 1 reply      
Ahhh... the days... I remember fumbling through something very similar to this and the time I spent in MainWndProc once the application became significantly complex could be awfully frightening for a noob like me.
raverbashing 7 hours ago 0 replies      
It feels like cutting a tree with a kitchen knife. Too complex to use directly
Iocage A FreeBSD jail manager readthedocs.io
77 points by HugoDaniel  11 hours ago   21 comments top 7
jzelinskie 7 hours ago 1 reply      
I'm deeply involved in the Linux container ecosystem (docker, rkt) and I'd like to understand the difference in workflow between that and this. Is anyone familiar enough to speak to both?
_paulc 2 hours ago 0 replies      
There are lots of jail wrappers but in most cases it is just as easily to just take the time to understand how jail.conf works and use this (see FreeBSD jails the hard way [1]). It's fairly easy to just use zfs clones to create jails and customise the exec.prestart/exec.start functions to do automatic provisioning and configuration (eg. I store the port forwards in a variable for each jail and process this and automatically setup pf rules when the jail starts).

[1] https://clinta.github.io/freebsd-jails-the-hard-way/

cyphar 6 hours ago 1 reply      
Is there anyone from the FreeBSD community interested in standardising FreeBSD containers inside the OCI specification? Currently only Linux, Solaris and Windows have been included in the standard -- which is a bit disappointing (I've always been fond of FreeBSD).

If anyone is interested, please contribute to the Open Container Initiative. https://github.com/opencontainers

smkelly 9 hours ago 4 replies      
iocage is great, but according to the README in GitHub it is not being developed anymore. The author is working on a rewrite in Go. The rewrite isn't done yet last I checked.
baobrien 10 hours ago 2 replies      
I'd love to see a combined FreeBSD jail and bhyve manager. Can libvirt do that?
t_tsonev 4 hours ago 1 reply      
Works well for me. The only thing I dislike is the GUIDs for the containers that can't be changed to something shorter.

At the time I had to decide ezjail didn't work with FreeBSD 10, not sure if it has been updated.

voltagex_ 7 hours ago 1 reply      
iocage is easier to use than ezjail or warden, but I still managed to end up with a broken system where the system thought it was FreeBSD 11 but still expected to use packages from FreeBSD 10 (I get an ABI error when doing pkg upgrade).

The distinction between jails and basejails is tricky to follow.

I don't know where the rewrite went.

Dissolve My Nobel Prize Fast (A True Story) npr.org
3 points by ghosh  1 hour ago   1 comment top
boatymcdickwad 51 minutes ago 0 replies      
this article is 5 years old! hackernews is for news, it is not a library.
You may pay for the cost of parking even if you never drive a car washingtonpost.com
168 points by gwintrob  9 hours ago   214 comments top 27
JDDunn9 6 hours ago 3 replies      
This topic is discussed at length in the book, "Green Metropolis". It's part of a bigger issue of always putting cars first. You can't build a large building without first doing a traffic study. If you bring too much traffic, you can't build it. Never mind that traffic is about the only cost in America that you can increase to make public transportation more appealing.

Generally U.S. building codes include a maximum building height, and require minimum parking spaces. Many European cities have maximum parking spaces, and minimum building height. The latter produces higher population densities which make public transportation possible.

We need to push back against suburban sprawl and the car-first design. No required parking, no free curbside parking, and a carbon tax on gasoline. Once cities get a population density >7 people per acre, public transportation becomes viable. Population density follows a logarithmic curve with miles traveled per person, so you get as much of a reduction from moving from 2 to 20 people per square acre, as from 20 to 200.

jedberg 7 hours ago 9 replies      
There was a study a while back that showed that the USA has eight times as many parking spaces as it has cars.

At first that seems crazy, but it makes sense if you think about the fact that all the places you go in a day need to have enough parking to meet their peak demand all year, so places like malls have huge empty lots most of the year until Christmas rolls around. And then there is the spot your car is in at work that's empty at night and the spot you park in at home that's empty during the day.

Another nice benefit of self driving cars that are shared is the major reduction in the need to all this excess parking.

sfifs 5 hours ago 3 replies      
Most of the commenters on this thread don't appear to have lived in a country with the opposite problem. Consider what happens when development and car ownership expands in a country without adequate government parking mandates.

You routinely find at least two road lanes blocked by parked traffic because buildings don't have adequate parking. This leads to very slow bumper to bumper traffic (try Bangalore, Mumbai, Cairo, Manila), higher air pollution leading to a public health crisis, waste of time, higher green house emissions etc. When calculating "rental increases", articles like these conveniently forget externalities that would result from jot providing for parking.

dsfyu404ed 8 hours ago 3 replies      
I don't disagree with the numbers but you could make this same argument for literally any feature of a business that has the affect of making that business more attractive to customers with Y quality (where Y is not something all customers have).

Let's imagine that the parking lots of Walmart, $localSupermarketChain and other stores is cut to 1/4 it's present size. What happens then? I suspect the inability to draw wealthier customers from further away (because "why shop somewhere you can't find parking") would cause a price increase.

skrap 7 hours ago 1 reply      
My city just passed a bond measure which includes $36MM for a 300 space parking garage for the high school and city hall, literally meters from where a new light rail stop will be built. 25% of the city's families don't own a car. I have trouble not seeing this as a forced, direct subsidy for the lifestyle of the employees of the city. And this is supposedly one of the most transit-friendly cities around (in the US). But this is an enormous cost, for the benefit of so few... plus it will add 600 trips per day to some of our busiest local roads.

Free parking has all sorts of problems, and when government gets in on the game it only raises more questions, in my mind.

[edited to clarify that the city in question is in the USA]

drcode 7 hours ago 6 replies      
1. Stores that offer free parking have more customers

2. Stores that have more customers can offer better prices to all their customers (including poor people) due to greater sales volumes

refurb 8 hours ago 5 replies      
I don't disagree with the analysis on how free parking makes things more expensive, but if you carry that argument forward, it gets kind silly.

Credit cards make everything more expensive when the poor often can't use them due to bad credit.

Putting grocery stores in really upscale areas makes the groceries cost more (across all stores), even though the poor don't shop at the fancy stores.

I'm sure what this article is arguing for.

badsock 7 hours ago 1 reply      
The trucks that deliver the goods that poor people buy (and carry away the waste) are hard as hell on roads - you could say that the car drivers are subsidizing (through gasoline taxes) the massive infrastructure costs of maintaining a road network. I don't know how the numbers would balance out, but I'd bet that the benefits of that subsidy are greater than the costs incurred from free parking.
samtoday 8 hours ago 0 replies      
There is a more in depth interview about this subject in podcast form, if that's what you prefer: http://www.maximumfun.org/adam-ruins-everything/episode-10-p...
pcr0 7 hours ago 3 replies      
Parking shouldn't be free. If it's to entice customers at a store/shopping mall, they can be provided an hour of parking for every x dollars spent.

Under-utilised parking spots should be leased or sold. (They sell for 80-300k where I live)

readme 6 hours ago 1 reply      
Implicitly, the author assumes that a car would be the last thing this hypothetical poor person would purchase.

There are in fact, many impoverished homeless people who live in cars. In this case, they might find themselves parking in one of those abundant spaces.

I wonder when the last time she walked by a walmart was.

chunsj 8 hours ago 0 replies      
Yes, it can embed the cost. However the problem solving approach should be social one; more tax from who can afford, which means in this case, the car owners. Without social, community based approach, the solution surely become less protective and more discrimitive to poor people.
spectrum1234 6 hours ago 0 replies      
This is pretty obvious right?

A few years ago in the US there was talk about requiring the 1st checked airline bag to be free. This is the same thing. The bill was put forward by a respected politician.

These are the types of issues that make me think educating the public on this stuff is incredibly important.

vondur 6 hours ago 0 replies      
Here in my part of the greater Los Angeles area, in the poorer areas, you will see most houses with more than a few cars in each house. In my area we have some people who have more than five cars/household for houses that are probably no larger than 1500 sq. ft.
zensavona 7 hours ago 1 reply      
And you know what? In countries with free healthcare the healthy pay for the care of the sick, even when they are healthy. Doesn't make it a bad system.
cobbzilla 3 hours ago 0 replies      
I'm wondering what are the myriad other ways that low-income folks are silently taxed?

higher interest rates, housing codes, regulatory compliance (leading to higher prices), and possibly even the minimum wage come to mind (I'm sure there's much more), thus always keeping "the basics" expensive enough to be out of reach.

employee8000 7 hours ago 3 replies      
I'm getting really sick of these media companies pushing their anti-rich agenda. Blaming rich people for parking that causes costs to rise for poor people is just insulting.

I didn't believe in much liberal bias in the media until this election. This is simply another extent of it, it's really eye opening.

briandear 1 hour ago 0 replies      
So we could argue that drivers are subsidizing the cost of mostly unused handicapped parking spaces as well. I'll see a parking lot with dozens of these spaces almost chronically unused, but since the ADA requires a certain (arbitrary) number of handicapped spots, businesses are forced to build an excess capacity of these spots despite many of them sitting unused, except occasionally by the Jaguar owner who is friends with a doctor.

A strange thing is that you have handicapped parking requirements yet the NYC subway is still not even close to being Accessible for those in wheelchairs. A suburban Target is required to have something like 90 handicapped spaces (obviously I'm exaggerating,) but the NYC subway still has huge swatches of stations that are accessible only by stairs. How NYC gets away with this is beyond me -- they can force businesses to bend over backwards to accommodate the disabled, but they themselves don't do much of anything to improve the public transportation situation for the disabled. (or even moms with strollers and kids.)

If anyone wants to know why public transportation isn't a bigger thing for families -- it's because going to a grocery store with a kid(s) in a stroller via the subway is a nightmare. -- not even talking about carrying your purchases home. Buying a weeks worth of groceries and then carrying all that home on a crowded bus or train with a kid in tow? No thanks.

OJFord 7 hours ago 0 replies      
I haven't read the actual study, but I don't really buy this on the basis of the article alone.

Allocated parking that you're not using? Let it out.

Abundant parking at supermarkets? Pfft - only in locations with an abundance of space anyway. At least in the UK, I'd argue that supermarkets with plenty of parking have lower prices than those without - since they're not in city centres.

_Codemonkeyism 4 hours ago 0 replies      
Everything there is to know

"The High Cost of Free Parking" by Donald Shoup

andrewfromx 8 hours ago 0 replies      
i can't wait for http://www.seasteading.org to take off and live where there are no cars. Or maybe http://freedomship.com is what I need as long as it has free wifi.
h4nkoslo 7 hours ago 0 replies      
Minimum parking requirements are also a mechanism to prevent businesses from declining to build parking and free-riding on their neighbors.

They also effectively ensure maximum density, which in some areas is an explicit government policy objective.

tn13 6 hours ago 1 reply      
So in principle WaPo or anyone else willing except that it is immoral to create regulations about X where people who do not benefit from X end up paying for it ?

Will WaPo argue the case to abolish things like college education subsidies where people who never even go to college end up subsidizing those who do ?

While WaPo is absolutely right in stating the facts it may or may not be bad for the poor people. I live in Sunnyvale and prefer to work around Sunnyvale precisely because of the ample parking spaces everywhere. If the regulations don't exist for those spaces I might consider moving to some other place where they have more parking space.

Poor people benefit by having well off people living around them for many number of reasons.

pmiller2 6 hours ago 1 reply      
Come on, now, why was the title changed? The originally submitted title, "Poor people pay for parking even when they cant afford a car," is the title of the article, and it's true, not click bait at all.
Thane 7 hours ago 0 replies      
If you can't see this article by the Bezos-owned Washington Post as a propaganda piece to push aside obstacles he faces in his redevelopment of Seattle, then you need to brush up on your critical thinking skills. Bezos gives fuck-all about the poor unless they're buying his products.
ww520 7 hours ago 0 replies      
Fire code make everything more expensive. Why have them?
kazinator 7 hours ago 0 replies      
> pay more for their groceries to ensure that richer people can park free when they drive to the store.

That seems to assume that the richer people just park there "for free" and then don't buy anything.

How much volume would that store move without those customers, and what would that do to the prices? Hard to say. On the one hand, there would be lower demand. On the other, worse economy of scale.

Heaven fucking forbid that the poor pay even a tiny share for for something that doesn't directly benefit them.

Paying for this and that which doesn't benefit oneself: isn't that squarely the job of the working class? Don't foist that onto the poor, or the rich.

You Dont Need a Master Plan, You Just Need to Start medium.com
84 points by silvaben  5 hours ago   9 comments top 5
lordnacho 28 minutes ago 1 reply      
Maybe worth explicitly mentioning that the very fact that you have a trillion dollar plan could be negative to your chances of achieving even 1K/month.

The pie in the sky is tasty, and everyone wants to sink their teeth in it. Moon shots will naturally attract a certain type of individual, and the incentives will favour big gambles. Think of it as an internal land grab or gold rush.

I was in a place where we got the gold fever. People were getting insanely unrealistic ideas about the value of the idea. We applied to YC with it, and people questioned whether we were giving away too much (one them said "who are they" which is both funny and not funny at once). This is at the stage where we had 1 competent programmer, zero customers (but lots of connections), and a barely working prototype with fantasies that people wanted added. Funnily enough, nothing came of it, except my old colleagues still think I was trying to defraud them.

Slow and steady is less glamourous. I'm not surprised the anecdote is about a small family humbly trying to put something together. And you don't get fantasists thinking they need a piece of this trillion dollars.

mehrdada 4 hours ago 0 replies      
> Startups are overdosing on ambition these days

> Not every billion dollar business starts with a billion dollar idea. Not everything unfundable by VCs is unworthy of doing.

It's interesting the author is being a VC is understandably blinded by the bubble that never reports on such businesses. The vast majority of businesses created in the world, i.e. almost all small businesses, are exactly that. It's been done before and it's being done now, in large quantities. It's just so common that people don't feel writing medium posts about it and you don't tend to call them startups per se without the VC-funding and fast growth factor[1]. If you restrict the definition of a startup to this, then almost by definition you need such ambitious visions.

[1]: http://www.paulgraham.com/growth.html

I remember Joel Spolsky talked at Startup School a few years back on this subject and he was spot on[2].

[2]: https://www.youtube.com/watch?v=pPJf8KrvJXU

dsacco 4 hours ago 1 reply      
I left this blog post deeply curious about that family's business. I'd like to know how they set out to earn an extra few thousand each month and accidentally stepped into an "empire" that will gross $100M in the span of a few years, without venture capital.
sduff 4 hours ago 0 replies      
Starting something in the hopes of making an extra $1,000 a month is every bit as worthy as trying to colonize Mars. Start small and give your ambitions room to grow.

I suppose smaller targets are just as applicable.

silvaben 4 hours ago 0 replies      
> Starting something in the hopes of making an extra $1,000 a month is every bit as worthy as trying to colonize Mars. Start small and give your ambitions room to grow.

This was my favorite takeaway from this blog post. Rob Walling presents a similar idea in his book "Start Small, Stay Small.

A list of modern C++ features github.com
79 points by deepakkarki  6 hours ago   16 comments top 7
sprash 6 minutes ago 1 reply      
Yeah more features is exactly what C++ needed...

Am I the only one who uses C++ as C with classes? Sometimes I use vectors or strings and I like default values in functions and other minor improvements to C. I don't want to reimplement the n'th version of string concatenation when I can just use the "+" operator, sure... and there starts the rabbit hole. Before you know it you have a "protected abstract virtual base pure virtual private destructor" and have to explain the new hired mathematician who only has experience in R what the fuck you are doing.

codebeaker 3 hours ago 3 replies      
I really wish there would be a linter (I realise it's probably a nearly impossible task) which would complain when you use legacy, unsafe language features.

As someone who doesn't work in C++ or have the benefit of 10 years experience to see the flaws, trying to write modern, safe C++ is essentially impossible. I spent a solid week trying to write something safe and only use C++14/17 features when they were available, and encountered a mountain of outdated- and mis-information about what one can and can't do, what is and isn't considered safe and why one certain feature is better than another.

It's nobody's fault that this happens, but with C++14 apparently fast becoming a language that is addressing it's #1 pitfall (safety) in an apparently very adequate way, it's frustrating that there's no "safe code" linter to stop rookies stepping on landmines.

Thanks for the list, it's a solid start, and the sibling comment about C++ Core Guidelines is another solid resource.

augustk 2 hours ago 1 reply      
This made me think of the passage below from Edsger Dijkstra's ACM Turing Lecture from 1972. Back then there was no C++.

"I remember from a symposium on higher level programming language a lecture given in defense of PL/1 by a man who described himself as one of its devoted users. But within a one-hour lecture in praise of PL/1. he managed to ask for the addition of about fifty new features, little supposing that the main source of his problems could very well be that it contained already far too many features. The speaker displayed all the depressing symptoms of addiction, reduced as he was to the state of mental stagnation in which he could only ask for more, more, more..."


slacka 4 hours ago 0 replies      
Good supplementary material to the C++ Core Guidelines.[1] If you haven't checked it out yet, both VS 2015 and clang offer checkers[2]

[1] https://github.com/isocpp/CppCoreGuidelines

[2] https://reviews.llvm.org/diffusion/L/browse/clang-tools-extr...

wmu 1 hour ago 0 replies      
It is worth to note that template-related features make compilation time significantly longer. It might seem no-problem unless you face it in a bigger team, then these extra seconds (or minutes) are multiplied.
mschuetz 1 hour ago 0 replies      
C++11 and C++14 made me start to like C++. The build workflow is still horrible and cumbersome but at least the language itself has become nice to use.
mockery 4 hours ago 1 reply      
Nice summary! As someone who writes multi-platform C++, it would would be even greater (but a lot more work) if each feature listed which version of each major compiler introduced support. (ie. Can I use this feature if my codebase is currently compiling under given versions of Clang, GCC, VS.)
What I learned leading Ops at GitHub, Heroku, DigitalOcean, and more. slideshare.net
35 points by kiyanwang  3 hours ago   5 comments top 3
iamleppert 49 minutes ago 0 replies      
All I saw there were a bunch of cliches. Maybe the actual talk was more insightful?
jsegura 1 hour ago 0 replies      
Is there any recording on this? Could you share the link?
alphadevx 2 hours ago 1 reply      
Great deck, some really nice advice in there for technical leaders.
Show HN: Secrets 2 Simple, secure password manager for Mac and iOS outercorner.com
39 points by pfandrade  1 hour ago   41 comments top 10
kameit00 23 minutes ago 3 replies      
The information, that it's free for only 10 items is quite hidden. For me, that is not so confidence-inspiring.

1.) Because the first thing I thought was 'what's their business model?'.

2.) Because why not calling it an unlimited Trial with 10 items, to make it clear it's not free.

Don't get me wrong - I like to pay for software, because I want to honour the work of others.

nixgeek 56 minutes ago 2 replies      
Looks neat. What's the elevator pitch on why to use this, over and above existing solutions like 1Password or LastPass?
Antwan 8 minutes ago 1 reply      
Where is that stored ? What's behind ? How could you pretend to be liable if there are no basic explanations.

Just use pass instead and control the things on your own.See https://passwordstore.org

Angostura 5 minutes ago 0 replies      
Err, how is this better than the built-in and free Keychain and iCloud Keychain built into OS X and iOS?
cstuder 39 minutes ago 2 replies      
Is it still two-factor-authentication if you're keeping your passwords and your one-time-password-generator in the same application?
xrisk 4 minutes ago 0 replies      
Sync to iCloud doesn't seem to be working.
pfandrade 50 minutes ago 1 reply      
Secrets 2 is out and it's going Freemium!

For the past 6 months since our initial release, we've been squashing bugs, implementing features that didnt make our MVP and applying polish throughout. At the same time, weve been studying various options to provide a trial for users wanting to test Secrets before buying.

To address this need and to show users new to password managers just how easy and efficient using one can be, we're making Secrets and all its features free to use with up to 10 items. Unlocking unlimited items is done via an In-App purchase.

With Secrets we put security first. Secrets stores your data using the OpenPGP standard, a battle proven standard that has already seen a few revisions. This also allows users to easily self verify how their data is stored using third party tools.

We also strived to make it extremely simple to work with, not just from an UX perspective but also from a security perspective. Only the main app will ever handle your passphrase and encryption/decryption. Helper apps, browser extensions, etc must go trough it to get to your data (and require user confirmation).

So if you haven't tried Secrets yet now is the time! Download Secrets for Mac and iOS today.

joeblau 25 minutes ago 1 reply      
I love all of these products, (this, Dashlane, etc...) but the switching costs are too high for me right now. Unless there is something that is extremely compelling, I can't justify transferring 400+ passwords just for a few features.
mosselman 51 minutes ago 1 reply      
With regards to the security: Why is this free?
mathgeek 39 minutes ago 2 replies      
> Better than copying & pasting. Use the Secrets to automatically fill in login information in Safari and Chrome.

Missing a word here?

Ask HN: Is Xamarin worth learning?
9 points by ceeK  1 hour ago   4 comments top 3
zihotki 15 minutes ago 0 replies      
MS stack developerI think yes, MS invests a lot into the Xamarin platform, so I expect it to become more stable and more developer friendly than it was before. I have a plenty of experience doing cross platform mobile development and I tried several other alternatives, Xamarin was actually the best - easy to start, easy to implement stuff, fast enough on mobiles, has a lot of components, etc.

Also I would like to recommend to focus more on Xamarin.Forms, it's using more modern approach. XAML (it's a xml-derived language) is actually quite good for writing UI part. Add there some MVVM framework and you'd love it.

Edit: fixed spelling

martinpinto 6 minutes ago 0 replies      
Ionic 2 is a very promising hybrid approach. It's still in beta but should be out of it soon (better wait until it's released). The current beta version is quite fast. It has lots of components which are beautiful and has great support for ios, android and windows phone. It's JS (angular2) and html based.
grabcocque 12 minutes ago 1 reply      
If you want to develop cross platform mobile apps your only other option seems to be React Native. I'd like to see a good rundown of the pros and cons of each approach.
Overlay.NET: An easy-to-use overlay library written in C# github.com
84 points by douche  15 hours ago   17 comments top 7
Someone 14 hours ago 0 replies      
I hoped to see a magnificent hack implementing https://en.wikipedia.org/wiki/Overlay_(programming) (beter description at http://www.i-programmer.info/babbages-bag/205-virtual-memory...) for no reason other than because we can, but alas.
bicubic 9 hours ago 0 replies      
In windows 8/10 can you still use the 'glass' blur in overlays? I wrote a similar thing on top of XNA a few years ago and remember there existing a flags/clear color combination which made the background of the frameless window look like the blurry aero glass.

The start menu in W10 has that effect, so there must be still a way to do it?

polskibus 3 hours ago 1 reply      
It doesn't seem to support old school WinForms applications, or does it?
WhitneyLand 13 hours ago 3 replies      
What would you use it for?
euroclydon 14 hours ago 1 reply      
Luuseens1 14 hours ago 1 reply      
Can I use this to overlay everything on the screen? Similar to what Humanized Enso does: http://zapp3.staticworld.net/downloads/graphics/screenshots/...
Meph504 13 hours ago 0 replies      
This is great, thanks!
The Supermanagerial Reich lareviewofbooks.org
54 points by techer  13 hours ago   12 comments top 6
yolesaber 5 hours ago 2 replies      
Very powerful quote:

>Many in the United States fear a Trump election because there might be an explosion of state repression against the vulnerable, particularly against specific racial and ethnic minorities. And yet, the neoliberal state has already created a penal system to rival the worlds most authoritarian dictatorships. The United States imprisons more citizens (total and per capita) than any other country on Earth, and African Americans and Latinos at a vastly over-represented rate. Many fear Trump would bring massive deportations of undocumented immigrants. And yet, the neoliberal state already engages in mass deportations, at the level of millions during the current administration, with countless more waiting in dire conditions in the worlds largest network of immigrant detention camps. Many fear a Trump election would bring mass persecution, surveillance, and restrictions for American Muslims. And yet, the neoliberal state already spies on Muslims, administers religious tests at borders, and polices Muslims for nothing more than their religious practices. Many fear a Trump election might bring economic ruin, and yet, for most Americans, wealth is vanishing, wages stagnant, real unemployment steady.

lispm 18 minutes ago 0 replies      
There are so many things these articles overlook.

Germany was coming out of the WW1 as a loser. The war in Europe was nothing like you've ever seen in America. Germany was paying reparations for many years. Germany lost two million soldiers (out of ten million world wide). This created poorness among the families of soldiers. Many were wounded. Several hundred thousand Germans died due to lack of food.

The crisis of Germany in the 20s and 30s was also nothing, literally nothing, you have ever seen in the USA.

In 1923 one Dollar was 4.21 Billionen Reichsmark.

No kidding. 4.21 Billionen Reichsmark.

1929 was another economic crisis which reached into the 30s. Mass unemployment, families looking for food, resignation, ongoing reparations, social security not developed, politicians failing, feeling of a total catastrophe - but this was based real problems. Not in 'the strongest nation with the largest military.'

The problems of the US today are tiny in comparison. There are poor people in the US. But it is nothing compared to the Weimarer Republik and their weak democracy.

If you think the times of the Weimarer Republik are similar to the US today, its policy or its economic situation - this is total BS.

ciconia 3 hours ago 3 replies      
What's most striking, of course, is how the Clintons, Obamas, Merkels and Hollandes of the world have wholeheartedly embraced this "supermanagerial" economic and political order, while paying lip-service to socialistic ideology.

The meteoric rise of the alt-right is only matched by the abject failure of the left.

rangersanger 4 hours ago 0 replies      
Indeed, several very powerful quotes. This one was a bit of a gut punch. "Votes exchanged for services rendered" is, retrospectively, exactly how I (and everyone I know) has engaged with our American democracy.

>non-participation can (and is) often argued to be perfectly rational in a kind of homo-economicus argument pushed ad infinitum. Reducing democracy to its most transactional structure votes exchanged for services rendered, the formal motions of a liberal republican state for at least a plurality of citizens neoliberalism achieves a feat that the great revolutionary and reactionary movements of the 19th and 20th century never achieved: unique among critiques of parliamentarianism, neoliberalism discourages participation without undermining legitimacy.

Animats 3 hours ago 1 reply      
This seems to be a personal opinion article. Much has been written about the Nazi rise to power. The first four years of Hitler's rule, starting in 1933, were good for Germany. He got Germany out of the postwar depression. If he'd left office after four years, he'd be remembered as the Savior of Germany. After four years, things started to go bad; two more years and WWII was under way.

The Nazi party was closely allied with big companies. That was by design, and there was no secret about it. That's what "national socialism" was all about - industry and government working together. It worked more like crony capitalism in practice, and less well over time.

One of the big problems in a dictatorship is how the second tier of control works. The leader can't decide everything. There has to be delegation. But how? Regional delegation results in regional leaders powerful enough to challenge the national leader. Delegation by subject area (ministries) sometimes works, but the military and security apparatus usually becomes the center of power. Delegating power to businesses is a bit safer, especially if you don't let them become monopolies in their sector. The Nazi Party used all three forms of delegation, which the author describes as a mess. It's not an unreasonable way to run things, though.

doctorpangloss 3 hours ago 0 replies      
The Nazis certainly didn't do anything for the Jewish supermanagers, besides robbing and killing them, and then unsustainably mass-murdering or enslaving their countrymen.

The electoral college discourages participation. People in California, Illinois and New York aren't saying they don't vote "because neoliberalism."

Equating the murder of Jews in Nazi Germany to Black and Hispanic mass incarceration offends the victims of both injustices. The article's equivocating tone about this equating is offensive too. It's like they know they're saying something incredibly flimsy just to push the drama.

Altify Uses Microsoft Computer Vision APIs to caption images in an HTML file github.com
55 points by parhamp  8 hours ago   13 comments top 9
userbinator 6 hours ago 1 reply      
I am curious --- and somewhat hesistant --- to see what it does with more... NSFW material.
haddr 6 hours ago 0 replies      
I've recently noticed that Facebook is already doing that, check it out.
partiallypro 5 hours ago 0 replies      
This would be a great thing to turn into a plugin for a CMSs like Wordpress, Umbraco, Drupal, etc. Not sure how you could do that with Python though. Maybe even using something like Azure's scm.
jackweirdy 6 hours ago 1 reply      
Some students built a similar project as a chrome extension using the Clarifai API


jaunkst 6 hours ago 0 replies      
Why wouldn't google use this as an advantage as an example. Making bad SEO an advantage. Other search engines would have to have a competing strategy to give better results for their consumers.
tixzdk 7 hours ago 1 reply      
"A woman wearing a red hat" from the samples cracked me up
beagle3 3 hours ago 0 replies      
The title is wrong. It should be "Altify - uses Microsoft's computer vision API to caption images in an HTML file" -- although it is already wrong in the original website.

computer vision APIs, whether Google, Microsoft or ClarifAi are not a public utility yet, and by using them you give said entities (and any government entity they work with) a copy of your data. You might not care, but some people do.

parhamp 6 hours ago 0 replies      
It recognizes Donald Trump's Face lol Checkout the samples :D
dragon47 6 hours ago 0 replies      
Lol Donald Trump in suit and tie :D
Some Chimps Are Putting Grass in Their Ears (2014) smithsonianmag.com
31 points by suprgeek  11 hours ago   15 comments top 5
jschwartzi 3 hours ago 1 reply      
When I was at university, I was told a story that some of the chimps that were kept in the primate house at the school started popping the collars on their shirts after they saw humans doing the same thing.

And yes, the chimps had clothes, and toys.

wiredfool 1 hour ago 0 replies      
The Orcas in Puget sound do something similar with kelp, draped across their dorsal fin. Helpfully enough, it's called 'kelping'. There doesn't seem to be a point, other than style.
nevster 5 hours ago 0 replies      
I immediately thought they may be copying humans who seem to all have these white things trailing from their ears...
yousry 4 hours ago 0 replies      
Did a doctor check the ears. Perhaps it is a contagious ear infection and the straw is a primitive replacement for a surgical drain to remove the pus.
geooooooooobox 6 hours ago 2 replies      
well not surprising, I mean try explaining to any organisms studying humans as to why we(humans) take so many selfies....for no particular reason....
New Zealand earthquake: Tsunami follows powerful tremor bbc.co.uk
272 points by lifeisstillgood  21 hours ago   136 comments top 29
toomanybeersies 19 hours ago 6 replies      
Currently in Wellington. Was fucking shaky, seriously thought the building was about to collapse. This was ~500 km from the epicenter.

We were evacuated and let back in. All the planning in the world doesn't prepare you for the real thing, the first thing you're meant to do is keep calm, and I sure as hell didn't. I sprinted right the fuck out of my apartment building, I have 4 levels above me, hiding under a table wasn't going to do shit to save me.

The building has some cracks in the plaster and food has fallen off all the shelves, but nothing serious. The water seems to be running a bit brown though, so maybe some damage to the water pipes.

Props to the crew at Bizdojo (http://www.bizdojo.com/) for opening an invitation for us to come and chill there if we couldn't get back into our homes. Doing the right thing there!

idlewords 19 hours ago 2 replies      
Description on Twitter: "The shaking went on for ages, longest quake I've felt. It was like waiting for a Verge article to finish loading."


antome 20 hours ago 3 replies      
Magnitude 7.5 earthquake. For reference, I felt this in Hamilton, a bit under 1,000 KM away. First earthquake I have ever felt. Hamilton never, ever gets earthquakes.

Nevertheless, NZ infrastructure is built to withstand this sort of stuff. Only $100m-1b economic damage is expected, no casualties expected.

zoltrain 19 hours ago 2 replies      
I'm from Christchurch, contacted family there. There's been mass evacuations from the coastline. Tsunami's have started but they can last for hours. Kaikoura has already had a a surge measured 2.5m, if this is the case the waves will get worse before they get better. But NZ is pretty prepared for these things, so hopefully everyone scampers to the safe distance from the coastline. I worry about the Chatham Islands, they're directly east of the epicentre, and Tsunami's travel very fast. I hope they've all gotten to high ground.
xupybd 15 hours ago 3 replies      
Anyone know what the lights were about? http://www.newshub.co.nz/nznews/strange-lights-during-earthq... or is it a hoax.

I'm in Palmerston North a long way away, but that was the biggest quake I've felt.

boznz 10 hours ago 0 replies      
Had to laugh, consoled my daughter on the phone from here in the South Island last night and said "See, trumps been in 3 days now and the world hasnt ended yet" and at midnight it sure felt like it had!
warpech 15 hours ago 0 replies      
I was just reading this today on Wikipedia: "No evidence has been found of any correlation between supermoons with major earthquakes."
danielmaxwell 7 hours ago 0 replies      
Can I just say stoked to see all the kiwis on HN!
mingabunga 18 hours ago 0 replies      
I'm from Christchurch which is about 100km away. Felt like a long rocking boat ride. Luckily it wasn't violent, unlike our 6.3 quake in 2011 which accelerated the city vertical by a foot, dumped it down and smashed everything.
snapit 4 hours ago 0 replies      
I am in Hanmer Spring on holiday with the kids. Was 15km from the Epicenter when it hit. Big shake for a long time. One of the kids didn't wake up... worst thing that happened in our house was the shampoo falling into the bath, so pretty blessed there. All roads closed so guess we have an extended holiday. Lots of very big after shocks.
g4k 20 hours ago 1 reply      
Here a link to the list of recent earthquakes: http://www.geonet.org.nz/quakes/felt/severe
nom 20 hours ago 1 reply      
Can someone please edit the title?

And wow, this looks heavy. I hope everyone is well.

M_Grey 20 hours ago 0 replies      
"Tremor"? I mean, IMO anything 7+ is more than a tremor.
s0ulphire 6 hours ago 0 replies      
Good on this guy for getting the warning out early, 7.2 or greater and potential for a tidal wave, spot on old chap! https://www.youtube.com/watch?v=isl1Gtg74e4
sethammons 8 hours ago 0 replies      
When I was a kid, the 1992 Big Bear Landers earthquake hit in Southern California. That was a 7.6 if I recall. So I can relate to what those in NZ are feeling. Our rock chimney collapsed and fell off the house, nearly crushing my mom who was outside at the time.
rav 20 hours ago 5 replies      
Unfortunately the "Latest Felt Quakes Map" at http://www.weatherwatch.co.nz/geonet doesn't work because the website has exceeded 25,000 map loads in a day.
czep 12 hours ago 3 replies      
Could there be any connection to the moon's current proximity to Earth? Does anyone know to what extent the moon's gravity can influence earthquakes? Tides are one thing, but it seems plausible that the moon being closer to earth than it has been in 68 years could be moving the plates a bit more than usual.
adrianratnapala 20 hours ago 1 reply      
Do we expect to see this wave on the other side of the Tasman? And if so, will it be big?
doldge 19 hours ago 2 replies      
Cross-posting from my FB feed:

Here's some of the interesting stuff I've found on the internet about today's earthquake (that they're now calling a 7.8):

1) real-time Buoy data, for helping to determine the likelihood of a Tsunami: http://www.ndbc.noaa.gov/Interestingly, the quake only caused a tiny change in the sea level (in the region of 5 cm's) but the expected swells on land are in the region of 3-5 meters. I believe this is because as the wave gets closer to land, it get's funneled into a smaller area, meaning the 5cm change in sea level gets amplified. Which is why it's hard for the civil service to accurately predict whether a tsunami is likely when these events occur (That, and the nearest working buoy is in Tonga), which would by why they almost always say yes, and then retract the warning later.

2) the USGS science-y explanation for what actually happened. The take-away seems to be that this may have increased the stress on the primary fault in NZ. Interestingly, their's a a suggestion that the rupture was across the hope fault, rather than along it, which helps to explain why the after shocks have been so varied (by location): http://earthquake.usgs.gov/earthquakes/eventpage/us1000778i#...

3) also from USGS, a map indicating affected regions, with town populations, and the likely economic impact of the quake: http://earthquake.usgs.gov/earthquakes/eventpage/us1000778i#...

4) The Canterbury Police shared a link earlier that indicated 3-5 meter swells is around the maximum we should expect from a locally generated earthquake (due to the nature of fault lines in NZ), that's not to say we can't experience a larger tsunami, but that said tsunami would have to be generated externally (like say, south america), which should in theory give us more time to prepare. But like all things, this isn't a hard and fast rule.

5) there's a pretty cool video of what purports to be lights in the sky over wellington during the earthquake (probably has something to do with magnetic interference from the energy released by the quake): https://www.facebook.com/plugins/video.php?href=https%3A%2F%...

6) stuff have had pretty good live coverage here: http://www.stuff.co.nz/national/86416304/live-north-canterbu...

7) The USGS website indicated that the quake lasted around 2 minutes, with the highest intensity coming around 50 seconds into the quake.

santaclaus 14 hours ago 1 reply      
Damn that is really scary. I used to work in Miramar (Wellington suburbs), which is built on reclaimed sea, if I recall, and everyone was freaked out that a major earthquake would liquify the entire area.
JumpCrisscross 18 hours ago 1 reply      
Does anybody know the status of RocketLab's facilities [1]?

[1] https://rocketlabusa.com/rocket-lab-launch-complex-1-ready-f...

anondon 20 hours ago 5 replies      
Does anyone know if there is any special effort to construct buildings that can withstand reasonable earthquakes in New Zealand?

Christchurch seems particularly prone to quakes in New Zealand. I hope the people of New Zealand are safe.

LyalinDotCom 20 hours ago 0 replies      
Really wish the best to all the people impacted here, stay safe!
upen 20 hours ago 0 replies      
Hoping all are safe and stay safe in New Zealand!
blueprint 18 hours ago 3 replies      
Anyone know of a group or website which is tracking the incidence and intensity of earthquakes over time?
rodgerd 11 hours ago 0 replies      
Parts of the South Island have moved 2 metres closer to the north. That's a big shunt.
imaginenore 20 hours ago 2 replies      
Videos of the earthquake:



News say it's 7.4 - 7.8 magnitude.

reddytowns 20 hours ago 4 replies      
So the tsunami was 1 foot Hawaian style. Doesn't seem too big...
Team wants to sell lab grown meat in five years (2015) bbc.com
122 points by truth_sentinell  12 hours ago   87 comments top 9
VelNZ 11 hours ago 3 replies      
I am really really excited about lab grown meat making it into the mass market and ultimately becoming cheaper than traditional meat. The environmental benefits will be insane; how much of the earth is currently devoted to either raising animals or growing feed to feed animals? If we can centralise the production of meat, suddenly we have huge swathes of land that, perhaps naively, I hope can be reforested.
throwaway98237 10 hours ago 2 replies      
As a vegan, I feel the day fast approaching when I must choose whether I'll eat this "vegan" meat or not. Either way I'm rooting for them on behalf of the environment and all the animals caught up in our current industrial food system.
xbmcuser 11 hours ago 3 replies      
Ethical considerations won't take this far. Need it to become cheaper than real meat the day that happens it will take off on its own. Meat or cattle raising plays a big role in the worlds methane production decreasing that would be huge achievement as with more people getting out of poverty every year meat production and consumption is increasing.
entee 11 hours ago 1 reply      
It's unclear what methods they're using to make these burgers, but often you need many animal-derived products to culture cells. Fetal bovine serum, growth media, all of these have animal products in them. If they make an ethical argument, then they'll have to solve that too. They might have, but it's not clear in the article.
woofyman 9 hours ago 1 reply      
Reminds me of Frederik Pohls "The Space Merchants" published 1952 where he describes a huge mass of cultured chicken breast cells fed with algae


qyv 11 hours ago 4 replies      
The ethical argument for the adoption of artificial beef is always brought out during these stories. But they forget to mention that the lab grown meat only contains lean meat cells and in order to make it taste good they need to add animal fat. As in, fat from farmed and slaughtered animals.
CyberDildonics 10 hours ago 0 replies      
That's pretty good, but even if you buy now it will just be obsolete in a week.
jholman 10 hours ago 2 replies      
This is year-old blogspam. bigthink.com spins every article out into nine self-linked articles, and also leaves out all the interesting details. Also they don't source the $11.36 figure, and all the other sources I've read give prices to about 1 significant figure, not to four, so I suspect that's made up.

If you're interested in this subject, read this WP piece from 18 months ago, or this BBC piece that was the actual source for TFA from 13 months ago, both of which contain more up-to-date facts than TFA.



Or, for more background, here's the 3-year-old piece from Time that raised a lot of discussion, and which gives the context for the price drop.


Or you could read this, from 6 months ago. Note that it looks like a bit of a biased piece to me, but it appears to be directly sourced, rather than just regurgitated. It also is specific about Mosa's price targets, saying that they think that $29.50/lb will be their launch price, and they speculate that $3.60/lb seems like an achievable goal for later (currency not specified, though probably they mean USD, but note that the company is not American).


untilHellbanned 11 hours ago 0 replies      
Reverse sticker shock as clickbait, there's a new one.
How can I avoid my MacBook Pro giving me minor shocks? stackexchange.com
143 points by luu  10 hours ago   108 comments top 29
jordwest 9 hours ago 8 replies      
What's fascinating to me about this phenomenon is that you can actually feel the 60Hz AC by running your hand across the lid.

It feels as if the surface is slightly bumpy, but the width of the bumps changes as you adjust the speed your finger moves.

Unplug from mains, and the surface becomes smooth.

As the answer notes, this only happens when using the two-prong adapter without earthing. It also seems to be more noticeable when connected to older buildings.

algesten 9 hours ago 4 replies      
I have this problem in India. I suspected the mains was dodgy, because during the many power outages i never got the shocks when on UPS.

I got a multimeter and measured. The neutral was 70V and the phase 300ish. So the difference was roughly 230V but a switched power adapter would make this hover around 70 too (I believe an old coil based would probably been fine).

The Indian electrician didn't understand my problem because his only tool was a regular bulb with two exposed wires that he jammed into the socket.

"Look sir, light, power working"


kosma 9 hours ago 1 reply      
My understanding is that it's caused by Y capacitors in the power supply's EMI filter leaking minimal amounts of current onto the case. As others have mentioned, proper grounding usually fixes the issue - although in one case I had to rewire an entire apartment because someone had a very lopsided idea what the PE wire is for. It was for a friend with a metal Macbook Pro, an exceptionally sensitive skin, and way too much time & money on their hands. :D

The usual word of caution: I'm trained in electrical installations. A layperson - even one skilled with a multimeter and a soldering iron - should never attempt to modify ground connections or power distribution. There are dozens of potential (and very deadly) failure modes that require proper training to recognize and prevent.

bitL 19 minutes ago 0 replies      
I still remember some Dell Precision workstation having a "magic touchpad" as it reacted even when your fingers were an inch away - must have been a pretty powerful electromagnetic field! And the case was always giving shocks at random times.
josefdlange 9 hours ago 4 replies      
Ungrounded adapter + bad mains power = zap!

Ungrounded adapter + clean mains power = probably no zap

Grounded adapter + bad mains power = probably no zap

Grounded adapter + clean mains power = no zap

It's not just the adapter and it's not just the mains power; it's when both come together. Electricity follows pretty simple rules when it comes down to it.

Always always always ground your A/C connections. Why wouldn't you?

Also, never use one of these unless you've attached the little wire/alligator terminal to a ground somewhere:


Animats 1 hour ago 1 reply      
Doesn't anybody have a DVM around? If you can feel a stray voltage, measure it, and find the source.

As someone else pointed out, get an outlet tester.[1] They're about $7. You may have an open ground, or reversed hot/neutral. Once you've eliminated that, suspect the power supply.

Make sure you have a UL-listed power supply. If you're getting stray AC voltage on the output side of a UL-listed supply, report it to UL. Here's the form.[2] There's no excuse for that.

[1] https://www.amazon.com/Amprobe-ST-101B-Socket-Tester/dp/B008...[2] http://www.ul.com/customer-resources/market-surveillance-dep...

hatsunearu 7 hours ago 0 replies      
Due to EMI reasons, for switching converters, the hot and neutral terminals of mains input is generally capacitively connected to the Earth prong via high frequency capacitors. That means if the earth prong isn't properly connected to actual earth, the earth prong now has your mains voltage divided by two on it. If the earth connection happens to be connected to the chassis, there's your shock.

It probably won't kill you unless you have a weak heart or if you're really unlucky because the EMI suppression caps are small enough to not supply lethal current, but can be really annoying.

phee 1 hour ago 1 reply      
The point is, how did Apple manage to get away with it for all these years? why weren't they enforced to ship only the properly grounded adapter?
lifepillar 3 hours ago 0 replies      
Some time ago, Apple launched a recall program for defective power adapters:


I had the problem mentioned in the subject. Replacing the plug adapter has fixed it.

chiph 9 hours ago 0 replies      
Test the outlet for proper wiring. If you're in the US, buy one of these: (there are similar models for use in other countries)


If this says good (two amber lights) and you're still getting shocked, follow up with a voltmeter and/or qualified electrician.

ti32x 2 hours ago 0 replies      
Also worth noting: some of the cheap knockoff magsafe adaptors available on ebay have an earthing "pin" inside the adaptor (the mushroom thing) which is actually just coated in a metallic coloured covering/paint.

This doesn't actually provide contact to the existing ground pin, so you have this issue.

Arathorn 9 hours ago 0 replies      
I've had this on every metal-chassis Mac I've ever owned. The chassis typically floats around 50V AC at 50Hz (in the UK, at least) - making it noticeably vibrate and tingle when you touch it, especially with the palm of your hands when typing. It also seems to make RSI worse.

The solution, as everyone's pointed out, is to ensure you are correctly grounded.

sfifs 9 hours ago 3 replies      
Don't use Macs but I'm surprised Apple apparently didn't give an earthed power adapter by default on a metal skin product. This seems like negligence.

Now that I think about it, my iPad's the same when charging.

arikrak 9 hours ago 4 replies      
I never had that issue in the US (even when using a two-holed outlet), but I had that problem when I was visiting Israel. So it seems to only be an issue when using 220 volts and not a proper ground connection.
londons_explore 2 hours ago 2 replies      
This problem is common.

You can solve it by opening up the power supply and ripping out the bright blue Y capacitor inside. It looks like a slim M&M with 2 legs. Both apple official and 3rd party power supplies will have one.

Do not damage the capacitor without removing it - that could lead to an electric shock. You can remove it by cutting it off with pliers or wire cutters.

The power supply will work fine afterwards, but might emit a bit of radio interference, although generally not too much.

azsrz 2 hours ago 0 replies      
I had the same problem with the small plug. Using the extension cord with the ground solved it.
cs2818 8 hours ago 1 reply      
I sometimes run into an interesting variation of this kind of problem. I often work with a Microsoft Surface tablet laying in front of my MacBook Pro, with my arms stretched over the tablet to type at times.

If the Surface is plugged in (no ground pin) and the MacBook Pro is also plugged in (ground pin), and my arms touch both at the same time, I can feel a tingling that quickly becomes unpleasant. Unplugging one or the other seems to be a work around.

Osmium 9 hours ago 2 replies      
FYI, I can't remember which way round it is, but only some of the UK 3-pronged adapters are actually earthed (as I discovered after having this problem myself).

I think it's the extension cord that is properly earthed, whereas just the plug attachment that goes directly into the power brick is not. You can tell by looking up into the adapter (the part that plugs into the power brick) and seeing if it's metal or plastic...

taneq 9 hours ago 1 reply      
I've run across this before - once I measured the shell of my MBP at 90 volts DC.

If you don't have access to a 3-pin charger, you could always use a separate earthing setup, such as an antistatic mat: https://en.wikipedia.org/wiki/Antistatic_device#Antistatic_m...

ah- 9 hours ago 0 replies      
I had the same happen to me while using a cheap ebay charger. Never happened with a genuine one.

There's an interesting post about the internals: http://www.righto.com/2015/11/macbook-charger-teardown-surpr...

taitems 5 hours ago 0 replies      
I've had this on two MacBook Pros here in Australia. On the first one I took it in to a Genius Bar appointment and, while they acknowledged it happens to a "rare number of people", they basically said tough luck and to use the earthed power cable which is about 1.5m longer. By the second time I just accepted it as part of owning a MBP.

As an aside, I should buy a lottery ticket given the number of rare issues that happen to my Apple products.

scw 8 hours ago 0 replies      
My first summer job was doing IT for a small outfit, who worked out of an old house converted into an office. They had eight machines, all connected to a LaserJet printer via a parallel port switch. The parallel cables ran down into a crawlspace under the house, and it wasn't uncommon for one of the cables to work its way loose. No problem, tighten the parallel port connection at both ends, and you're back in business. But, being an old house, many outlets were missing ground pins. I must of electrocuted myself twenty times that summer.
kosma 9 hours ago 1 reply      
For those of you who don't have access to proper grounding (because, for example, the wiring lacks PE or it's faulty): a plain separation transformer (1:1) between mains and your laptop might be able do the trick. Unfortunately if you have a larger setup (speakers, monitor, etc.) you have to connect everything to the separation transformer, otherwise you'll create leakage a path to mains some other way (say, through the audio jack).

Caveat emptor: If you decide to go that route, make sure you can return the transformer if it doesn't to the job.

anonu 8 hours ago 0 replies      
This happens to me regularly when I go back home (to a foreign country not the US). All the sockets have ground but the ground doesn't actually go anywhere... So you still get shocked. My solution was a bit lazier: plugin my MBP only when I'm not using it...
Gracana 9 hours ago 0 replies      
My toughbook does this as well. One of the replies there says thinkpads have the same problem, and I have an IBM power adapter, so that could be the culprit. IIRC it's high frequency, so probably created by the supply itself rather than a floating neutral in the building wiring.
cyberferret 8 hours ago 0 replies      
Well, that explains it. Just last week my son was complaining that he was getting tiny shocks from the chassis of his Macbook. I thought he was just making excuses to not do his homework and told him to stop imagining it.

Time to buy a 3 pin adapter!

voltagex_ 7 hours ago 0 replies      
I'm assuming this is the same phenomenon with a metal-body camera I have - even though it was only charging off 5VDC at ~1A.
edpichler 9 hours ago 0 replies      
I thought I was the only person to get shocks of my Macbook Pro, and that it had some problem. All because of the lack of a third pin.
ksec 7 hours ago 0 replies      
So i am guessing the UK plug wont have this problem?
Win3mu Windows 3 Emulator win3mu.com
109 points by unsignedqword  16 hours ago   57 comments top 12
mmastrac 15 hours ago 1 reply      
This is an awesome project. I highly recommend reading through his series on Medium (eg https://medium.com/@CantabileApp/implementing-window-messagi...)

That being said, I think he is overestimating the market that would pay for this. This seems like it could attract at least a small community as an open source project, however. Unfortunately effort in development is not always rewarded with monetary gain.

Perhaps he should license it as GPL3 and offer commercial licenses? He may find some customers in software houses that are still selling Win16 software.

SmellyGeekBoy 1 hour ago 0 replies      
I've been following the blog posts with great interest but I don't understand the move to turn it into a commercial project. I just don't think there's enough demand, especially for games (how many Win31-specific games were there?)

Where this would be incredibly useful would be for a lot of industrial automation, POS and other commercial software still stuck on Win31. Seems like it would make more sense to release an open source version and then add stuff like raw serial/parallel support as commercial add-ons to cover these cases.

Still, I don't blame Brad for wanting to get some return on his investment, he has put in a huge amount of work and it looks like a very well thought out and executed project.

qwertyuiop924 14 hours ago 2 replies      
So, it's a closed source implementation of an API for an old OS/Windowing system atop DOS. Despite the fact that both DOSBox and Wine will run them fine.

And it's aimed at gaming, but most games quit windows and just ran on straight dos, so DOSBox is a better option anyways, especially considering that you're expecting me to pay for this, even though you've already said the compatability isn't great, and Wine and DOSBox are free and both have excellent compatability.

Sorry, not interested.

Keyframe 12 hours ago 1 reply      
Are there still apps for Windows 3 people would use on modern OS'? I'm under the impression you would run a VM if you really must, until/if when you make a transition.
mrpippy 15 hours ago 1 reply      
I was a Mac user and didn't play PC games until the Win32 era, but were there very many games for Win16?I thought that targeting DOS was still common well into the Win95 years.
networked 14 hours ago 1 reply      
If you have connections in Embarcadero/Idera Software, now is the time to convince them to release Delphi 1 as freeware.
kyberias 15 hours ago 1 reply      
This is awesome. What does the conversion process do to the executables? Is that part necessary?
skissane 13 hours ago 0 replies      
I use Windows 3.1 a lot, mostly to play Solitaire. (Yeah, I could play a newer Solitaire implementation, but I like the nostalgia.) Also, my 3 year old son uses it for Paintbrush and Write - again, I get some nostalgia watching him using Windows 3.1 (although I myself didn't start using Windows until I was 9 or 10).

This is a cool idea, but running the real thing under VirtualBox appeals to me more. (Although it is slightly screwy - full-screen mode DOS boxes corrupt the display - due to using svgaptch to patch svga256.drv to support higher resolutions and colour.)

lifeisstillgood 13 hours ago 0 replies      
This seems ... insane. Good insane, learn-me-a-lot in-the-weeds insane but insane nonetheless

In the "why?" Section he mentions how a lot of programs don't run due to the quirks of the Windows API, and he is twiddling things to fix them.

Raymond Chen in "the old new thing" (#) documents his job at Microsoft which was to basically ensure windows handled crappy API calls that third party secs would make and any upgrades or alterations would break. They explicitly added code to windows like "if running adobe XXX then make our API call YYY perform differently and not return a Null"

This was a huge Microsoft department working over many years.

You flat out cannot emulate the Windows API. You just can't.

And all to run games that people today will find amusing for less time than it takes a Venti latte to get cold.

I wish him luck and happiness :-)

(#) http://www.joelonsoftware.com/articles/APIWar.html

frik 15 hours ago 1 reply      
Will it use Wine (or Wine code)?
vortico 12 hours ago 4 replies      
What is with that horrible music in his promo video?
jjawssd 15 hours ago 2 replies      
Seems like a whole lot of hassle for little gain. A lightweight virtual machine should play those games perfectly, no? This guy is porting a huge amount of ancient APIs and their bugs too! Insane.
A guide to using the Facebook Pixel github.com
140 points by zappo2938  16 hours ago   37 comments top 9
warpech 15 hours ago 1 reply      
This is what sometimes is called a "third party cookie"
kripy 14 hours ago 0 replies      
Nice write up! As what you have is a catalogue of sorts you should have a look into Dynamic Product ads: https://www.facebook.com/business/a/online-sales/dynamic-pro.... This is Facebook's programmatic play which does all the segmentation work in the background.
palmdeezy 16 hours ago 1 reply      
This is a great overview. I find it interesting that there is still significant friction with setting up arguably one of FB's most useful ad tools....I also find it interesting that tracking pixels pretty much haven't changed since the late 90s.
throwaway98237 15 hours ago 0 replies      
As a consumer I can totally read that and understand what I've given up. Totally.
soared 14 hours ago 1 reply      
This is unnecessarily complicated. You can create a custom audience with url definitions and don't need custom events for that. Unless you are using a single page site there's no need to over complicate this with more JavaScript.
kuschku 15 hours ago 6 replies      
This, btw, is where the EU cookie law applies, and what it was intended to prevent.

You can not embed that tracking pixel without first having approval from the user.

(This third party cookies for tracking is the entire reason the damn law was written in the first place, and yet we still havent gotten rid of them).

shostack 12 hours ago 2 replies      
I have found the FB pixel to be both awesome and not fully baked in terms of reporting.

The general concept of allowing custom events is awesome. It means it plays really nicely with situations that don't fit nicely into their standard events. By the same token, custom events feel like second class citizens in FB ad reporting.

Here is a scenario and I'd love any suggestions if people have them because there is no documentation on this and FB has basically done away with access to a live person for ads (while interestingly enough Google now goes out of its way to connect you with a live person, even if only via chat).

I work on a product with a free trial with subscriptions of multiple plan levels and terms. I can track a custom event on subscription and pass plan and term params along with the revenue data, but there is no easy way to drill into those dimensions keyed off of custom params with their reporting. The only manual hack I've found is to create an aggregate custom event for all subscriptions for top level reporting, and then individual custom events for each plan/term permutation (plan1/annual, plan1/monthly, plan2/annual, plan2/monthly, etc.).

This is manageable for now as there are only 8 events plus the aggregate one, but I then have to add each of those as custom columns to reports which gets super messy.

The not fully baked part is that as an advertiser, my ideal reporting dashboard in FB would let me drill in at multiple levels and segment reporting by these custom dimensions just by using a single custom event's params. So I'd have a report segment option for plan and term that then broke those out in the table and then the chart (and their charting capabilities are also sorely lacking right now for serious advertisers).

Instead, I need to dump this to a spreadsheet and pivot it if I want to do any serious analysis.

Has the author or anyone else solved for this differently outside of using a PMD with better reporting? We'll end up switching to one soon enough, but I feel like FB has really failed to go the final steps with this. Adding custom parameters but then not allowing advertisers to report and segment by them is a huge opportunity for them. And they clearly have the data parsed already because offer it in the custom conversion and audience builder tools.

Also, and this applies to most ad platforms...I wish there were better support for recurring up and LTV tracking and reporting. Helping me easily report on the full deferred value the ads are driving makes it easier for me to build the case for more spend. I can do that in other analytics tools, but I feel like this is data FB would want to have in a structured format. Maybe that's just me though.

yeldarb 15 hours ago 1 reply      
I'm interested in how this works with your business model.

Do you charge job posters extra to get wider distribution (or more budget) on the ad you are running for them?

Or is this more of a growth hack to simulate having more organic traffic flow on your site?

martin_a 15 hours ago 0 replies      
I appreciate your post. Good insight on the "how to" and it surely got me motivated to have a look into this.
AdultFriendFinder was hacked leakedsource.com
262 points by xurukefi  20 hours ago   214 comments top 23
Animats 15 hours ago 3 replies      
Friendfinder and their brands are run by Andrew Conru. They're quite successful; they own Penthouse. At one point he tried to buy Playboy, but Hefner wouldn't sell. They don't really have 300,000,000 accounts; there's been litigation over their fake accounts. It's probably going to turn out to be like Ashley Madison, where over 95% of the female accounts were fake.

They had a breach last year, but it wasn't as big.[1]

[1] http://www.ibtimes.com/adult-friend-finder-dating-site-known...

coldcode 19 hours ago 12 replies      
"the hashed passwords seem to have been changed to all lowercase before storage". I have no words to describe how idiotic this is. How do people come up with this and still get paid?
catoc 20 hours ago 7 replies      
How does this work?- The site lists 3.87 million Dutch speaking accounts. - Dutch is almost exclusively spoken in the Netherlands.- The total adult population (15-55) is 4.45 million (http://www.indexmundi.com/netherlands/demographics_profile.h...)

This would mean that 80% of the Dutch adult population has an Adult Friend Feinnder account!? (Of course people may have multiple accounts, but still, 80% is when taking into account the full (men+women) population.)

aikah 19 hours ago 5 replies      
> How did it happen? They were hacked via a Local File Inclusion exploit and you can read more about the situation when it was initially reported from this link.

> LFI vulnerabilities allow an attacker to include files located elsewhere on the server into the output of a given application.

How did they do that ? append /../../../etc to an url that is supposed to serve a file and hope the server doesn't check for directory traversal ?

peter303 20 hours ago 4 replies      
EVERYTHING done online could be public someday. Act like it.
perlgeek 20 hours ago 3 replies      
> Friend Finder Network Inc is a company that operates a wide range of 18+ services and was hacked in October of 2016 for over 400 million accounts representing 20 years of customer data which makes it by far the largest breach we have ever seen

They didn't see the Yahoo break with 500m accounts?

Also, why is "pakistan" such a popular password? Deployed soldiers?

asafira 17 hours ago 2 replies      
So I have always wondered this, but what is the most common way to realize that your data was hacked? Is it from very careful monitoring of connection logs? Do hackers typically leave notes and/or obvious traces? Do you start to notice your stored information online (possibly for sale) in sketchy places? Do specifically your customers start getting spam?
supersan 20 hours ago 3 replies      
I often store my password using PHP's password_hash('password', PASSWORD_DEFAULT) function. This function has been baked into the language since version 5.0 I think. I'm sure most other languages must have a similar function too, yet so many sites save the password in plain text. Doesn't make any sense.
have_faith 19 hours ago 1 reply      
I would be interested to see if it is possible to work out what percentage of the profiles are fake/bots from the data leaked. Is that possible or would they simply blend in too easily?
Buge 11 hours ago 1 reply      
They say the hashes were peppered. What does that mean? If it's similar to a unique salt per user, I find it hard to believe they could crack that many very strong looking passwords.
encoderer 18 hours ago 1 reply      
If they don't want it to be mineable, why not a search feature that emails results to the email in question?
anc84 20 hours ago 0 replies      
tl;dr: Last months AdultFriendFinder.com, Cams.com, Penthouse.com, Stripshow.com, iCams.com databases in a "statistics" advertisement for leakedsource.com's services.
inostia 14 hours ago 1 reply      
17fuckyou34,498. What a strange password choice.

The interesting thing to me is that password choices clearly reflect the demographic of the users.

lemming 14 hours ago 1 reply      
I'm amused to see "ifyourreadingthisitstoolate" among the long passwords. Quite!
codedokode 11 hours ago 0 replies      
If we could use a different identifier (like email address) for every website such hack would not be a problem. Or if we used a hardware key without email address.
WhitneyLand 13 hours ago 0 replies      
Why are they not making the data searchable?

I don't see how that helps anyone when a technical person can trivially setup a search, and a non-tech person could pay someone a small sum to do the same.

Kenji 20 hours ago 2 replies      

103,070,536 passwords already plainly visible

232,137,460 passwords hashed with SHA1

99.3% of all passwords from this website are now plaintext (cracked).

As someone who cares about security, this is very, very painful to read. But it also makes me curious about that password data set. It might be used for security research, like estimating the entropy of passwords more accurately.

chomp 17 hours ago 0 replies      
Is there a torrent or something of the database that is not hidden behind a paywall?
dredmorbius 18 hours ago 0 replies      
My first thought was "again"? This just happened.

Yes. Again:

This event also marks the second time Friend Finder has been breached in two years, the first being around May of 2015.

Data are liability.

SorryImAnon 16 hours ago 0 replies      
> If Twitter decides to ban them [their new @BigSecurityNews account] as well, we are going to start giving exclusive content to the terrorist group ISIS so they too get banned from Twitter because it seems like that's what it'll take to get Twitter to take action against accounts of those who enjoy cutting the heads off their enemies.

Savage. It's interesting why twitter seems to be blind against obvious terrorists accounts.

wepple 19 hours ago 3 replies      
can we please not refer to a kid who exploits a 10-year-old known vulnerability as a "researcher".
blah39832908 19 hours ago 1 reply      
Is it possible for such a leak on Google searches? I.e. massive leak of accounts to search data, or 3rd party leaks?
teppopo 19 hours ago 3 replies      
How they crack the hashed passwords?
       cached 14 November 2016 11:02:02 GMT