Hacker News new | past | comments | ask | show | jobs | submit | itry's comments login

All I see is a page with a login form.


    It will definitely change the way we code
Only on a low level, right? I have not been thinking about ram and disk in ages. I calculate with variables, I store stuff in a DB or in a file, I access the net via http. Nothing would change if ram increases I think.


Well, if you have plentiful persistent RAM an application could easily "suspend" itself (on shutdown for example), and then resume running at a later point in time. The code would not have to think about this, since the entire state is just snapshotted. It's basically what machines do now when they "hibernate", except more effecient and could even happen if the power got cut.

Additionally I suppose your variables could also be persistent automatically. Though the biggest change I see is that software would never really need to completely close anymore when RAM == Disk. For RAM usage it wouldn't really matter if they were running or not, unless they delete data upon shutdown. To save CPU or other IO usage the application could simply be suspended.


Can't wait for the persistent memory leaks!


Or losing data on crash because load/save cycle is untested.


"you’ll need to download the RemoteApp client"

Microsoft still stuck in the 90s.


curious what would be a 2010s solution, I believe these apps run as if they are on local machine.


> it is very unlikely that "we" could turn into an "I".

We share more and more every day. And the ones who participate in the sharing benefit. I remember when some people said "i will never own a mobile phone. i don't want to be reachable all the time.". They all have smartphones now. Todays kids not only have mobile phones, they have internet connected phones with cameras. And share their experiences online. Tomorrows kids will have google glass or an antenna implemented in their head. Realtime streaming their experiences into the heads of others.

What will stop this process in your opinion?


Humans just can't get along. There are wars and conflicts all the time. Racial hatred, sexism, homophobia, transphobia, wars, misandry, misogyny, economic inequality, religious fundamentalism, ideological fundamentalism, nationalism, political fanaticism, etc... (Writing this list makes me very depressed.) All of those can be explained by the selfish gene theory. Hate and greed are in our DNA. People do share everything, but there are crackers who disclose private information, people who disseminate revenge porn, fat-shamers, "slut"-shamers, online bullies, critics and cynics. That is the world we have today.

Sure, we have recently developed ways to transfer thoughts brain-to-brain, but the issues that may arise in the short term if we were to link separate consciences directly are more likely to be classified under the "disorder" category than under the "superpower" category. What if you woke up and had thoughts that weren't yours but from the other person you linked to. Imagine having memories of their past trauma, their first kiss, memories from the pain from the people they lost, memories from the abuses they suffered, the names they were called, the shame they felt. Will you be mentally strong enough to be able to compartmentalize those foreign memories as actually being not part of your lifetime?

Try this: try to remember the last time you checked out a place on Google street view. Have you ever tried clicking along a road so that you could get to see what was in the surrounding area?

Now as you are remembering this, do you remember only the scenery or can you also remember actually looking at a monitor and using your pointing device and keyboard? I'm willing to bet that you only remember the scenery and that those memories you have of those street views could be very similar to memories of places you actually visited, minus the sounds and smells, but you do have to make a conscious effort to differentiate between virtual memories of a scenery and memories of the places that you last visited.

Just visit a few foreign cities (Taipei, Seoul, Akihabara, Lima in Peru ) on Google Street view to try it out and think about what I wrote in a few days, you'll see what I mean.


> Imagine having memories of their past trauma, their first kiss, memories from the pain.

By that logic you would have predicted that the internet will not happen because "who wants to read all that shit".


No. I read lots of stuff all the time. But would you really like to carry the memories of someone whose limbs were blasted off by an IED, or someone who was a subject of waterboarding in Guantanamo? How about living the experiences of one of Ariel Castro's victims? Or feeling the thoughts of a lonely woman trapped in a bus late at night with eight men in India? How would you emerge from feeling every bit of pain, humiliation and despair that they went through? Count me out.


>How would you emerge from feeling every bit of pain, humiliation and despair that they went through?

You'll probably avoid letting it happen again. You'll remember it before raping, maiming, or torturing someone. You'll remember it before letting someone else get away with it. You'll probably treat the victims a little better as well.


I say: go for it.

Dive into it fulltime. Do not take outside money.

From my experience, risk takers have the better life. On average. That doesn't mean you could not end up fucked. But that's the whole point of risk taking.

And for outside money - I have been screwed so often and so hard by business partners. Maybe it's just a personal thing. But if I had to give my young self an advice from the future, it would be: Don't entangle with others.

Oh, and I think you completely overdramatize this. Don't pretend you are preparing a flight to the moon. Just make a real minimal viable product in a month or two. And see if people use it. I have seen people with dedication going from not being able to program to having a working thing generating money in less then 2 months. Its all about going into it with 100% full force. If you tinker with a project on the side, my bet is that it will fail.


Finally we can have PhoneGap apps running in the browser!


Been coding PHP for 14 years. Running several servers with PHP applications. Serving hundreds of thousands of users a month.

None of the issues he wants to get "solved" have ever been an issue to me.

Taking away _GET, _POST and _SERVER would introduce issues.


The only item on his list I absolutely agree with is "Unicode everywhere". I don't understand why you'd want to filter the _GET/etc supervars on input, it's on output you need to filter them, depending on where they're going.

The direction I want to see PHP going in is continued improvements in consistency. Stuff like turning all those fatal errors into runtime exceptions. And yes, making all string functions Unicode.


> why you'd want to filter the _GET/etc supervars on input

I get that the solution he proposed is different, and also reasonably sane, but isn't this basically what magic quotes did? Now that that nightmare is finally over, I'm not too keen on reliving it again.


You really don't want string functions to be unicode. Strings in php are actually byte arrays. If you take that away, you will break far more than you fix. You are basically killing the baby, so substr() works a tiny bit better.

I don't want to have to flag every string as unicode. It is pointless as they already are all unicode, and it is not that bad to know the very small number times where php's binary functions don't work (e.g. substr, regex in certain cases).


> Strings in php are actually byte arrays. If you take that away, you will break far more than you fix. You are basically killing the baby, so substr() works a tiny bit better

That's a good point I hadn't thought about - processing binary files. I guess what I really want is a "texual string" class that you can trust. The problem right now are the inconsistent "mb_" functions that you sometimes have to use, don't always exist, and aren't always 1:1 mappings.


"Unicode everywhere" is something I hear often, but don't really agree with, unless you mean "Unicode by default and preferred and easy".

The real world still has and probably always will have a lot of text in other encodings - Latin-1, Shift-JIS, heck even things like GSM03.38.

I like how Ruby handles it - every string has an encoding attached, and manipulations with non-compatible encodings will complain.


THIS. Stop trying to fix what's not (completely) broken.


Plus, that wrapper already exists with Symfony components.


In the "getting started", you should put the .js and .css files somewhere so the examples work. I copypasted all your codelines just to be dissappointed that it doesnt not work. I understand you probably don't want to be a cdn. But for testing purposes, I cannot be assed to copy stuff over to my server. I prefixed them with https://golden-layout.com/assets/ and it nicely worked. Nice. Bookmarked.


Good idea. Noted.


Can I use this client-side? From what I read on the page this seems to be only geared towards a certain server-side-setup with node.js, brewer and stuff.


Yes you can. If you check out http://brick.mozilla.io/v2.0/docs/getting-started - Node and bower are used in order to install the library locally. You can also download the project from Github (https://github.com/mozbrick/brick) and just copy-paste the needed files in your project. You can search for them in the 'dist' sub-directory.


Thanks. That might work. But it feels a bit unaccessible. Looking through the code also gives me a strange feeling. Too many dependencies. They should just give you a .js that enables certain functionality and thats it. Like "include brick-flipbox.js and you have flipbox functionality".

Plus most of the demos do not wort (tried in chromium).

I don't believe in this thing.


Sure, these are custom elements, which are just HTML/JS/CSS files. What's more, they are interchangeable with other ones found at http://customelements.io/


How does the healthcare system work in the USA? You have to pay hospital out of your pocket? Somebody who has not enough funds will not be treated?


It's complicated, and it's been abundantly discussed on the internet, if you'd care to use a service like Google to research it. Let's keep this thread about helping this one guy, rather than debating the merits of various health care systems.


Is there a real debate? Literally every other highly-developed nation in the world does not have this problem.

A significant portion of HN are US-based software engineers or related. That probably means significant amounts of disposable income and some possibility of changing this.

We should help this guy, but we should also be donating to political candidates not afraid to tackle this problem.

We should be as loud as possible about how as a country, we have failed to create an environment where people can exert their right to a modicum of healthcare access without first having to lose everything they own (through bankruptcy or otherwise). Look at these cases straight-on and acknowledge that this is an absolute disgrace.


Please, please, please don't look on healthcare just from money perspective (i.e. affordability). Look on it from life saving efficiency too. Actually foremost.

Renial Cancer I was suspected of having had chances of recovery in Germany of 60%. In the US over 90%. Yes, in Germany it is funded by taxpayer. Yes in the US I would be bankrupt. But I think it is obvious which system is much better in that particular case. I think that all of us would rather be bankrupt than dead. And this is big issue that just isn't discussed in the politics and media.


I'll take your numbers at face value...

That's great that Germany gave you a free 60% chance of recovery!

If you couldn't afford the 90% chance in the US, your chance of recovery was probably 0%.

So, presenting it as 60% or 90% is a false comparison.

Nothing prevents you from spending more on your recovery, if you have the money. What you fail to understand is that many people in the United States would like the same 60% chance funded by the taxpayer that you enjoy in Germany.

To quote some other numbers at you, Infant Mortality rate (deaths per 1,000 live births) by the CIA 2013 estimate in the United States is 5.2, in Germany it's 3.48.

http://en.wikipedia.org/wiki/List_of_countries_by_infant_mor...

So, it's not like healthcare is uniformly better in the United States than other countries, and it absolutely is inaccessible to many of our citizens. Not something I'm proud of.


> That's great that Germany gave you a free 60% chance of recovery!

sales tax of 19%, gas taxed at 100%, state taking away well over 50% (some countries in EU closer to 70%) of your salary, etc. - this is not free. It is paid by taxpayers, exactly as I said. Yes that's really great that for all these money I had 40% chances of dying vs 10% in the US for the cost of 300usd a month.

> If you couldn't afford the 90% chance in the US, your chance of recovery was probably 0%.

That's something I honestly don't know. If you are homeless - they won't treat you? Are you sure? How do you know?

> So, presenting it as 60% or 90% is a false comparison.

It is very true when you are diagnosed with stage 2 renal cancer. Let's not generalize. The cancers and many other diseases have the best chances to be treated in the US.

> What you fail to understand is that many people in the United States would like the same 60% chance funded by the taxpayer that you enjoy in Germany.

At the cost of others - like me - who are just middle class (~100k/year) having now 60% chances instead of 90%. Typical in socialism: let's make it worse for everyone and call equality. Because now chances off everyone are just 60%. How is that better?

>To quote some other numbers at you, Infant Mortality rate (deaths per 1,000 live births) by the CIA 2013 estimate in the United States is 5.2, in Germany it's 3.48.

I can see that. You see that's my point. EU is great at being mediocre. USA has the lowest valleys and the highest peaks. It has the worst and the best. So then it comes down to "taste" really. Not that using "taste" in morality is fine, but it's about the world view really. Do you think that you should work hard, save, invest, have good education, pay for great health coverage? Or do you think that everybody should have the same chances no matter what they do in their lives? I don't think that EU model is that great after living here for a while. It's like living in a golden cage. You are slave of the state that decides for you and robs you from most of your money. In my personal view selling my freedom for safety isn't a solution. Some people like that and don't care. What I don't understand is why these people don't immigrate to Canada or Western Europe as many Europeans who believe in freedom do choose to live in the US. Put your foot where your mouth is!

> So, it's not like healthcare is uniformly better in the United States than other countries, and it absolutely is inaccessible to many of our citizens. Not something I'm proud of.

Is it? I mean that's something I truly don't know. A homeless person gets cancer. He/She goes to the hospital. They deny them entry? How does it look like "technically" ? I truly curious.

Was at the ER once for aniphalictic reaction. I remember labels next to beds informing that you don't need to reveal information about your healthcare insurance. Also labels stating that is you feel you are treated worse because of your healthcare insurance status then there is a free phone number to a government agency. It looked to me, like they would have to treat someone whether they have money or not. Am I missing something here?


> If you are homeless - they won't treat you?

If you do not have insurance, do not have means of payment, yes they will not provide treatment. You cannot be denied in an emergency room, but you're not looking to get emergency room cancer treatment.

> The cancers and many other diseases have the best chances to be treated in the US.

If you can pay for treatment. That's why it's a false comparison.

> How is that better?

Do you want capitalism? Then the cost is that you have to pay to get the 90% chance. I'm highlighting, this is what you said you wanted, and you have it available to you.

I'd ALSO like to have 60% chance to people who can't pay the outrageous fees involved.

> EU is great at being mediocre.

No. Absolutely incorrect. EU is great at being mediocre, if you as an individual can't afford more.

You absolutely have the opportunity to achieve the highest peaks of the United States. You can BUY that 90%, if you can afford it.

So, EU has a mediocre low (taxpayer provided), and the highest peaks (if you can afford it.)

The US has the lowest valleys, and the highest peaks (if you can afford it.)

> Or do you think that everybody should have the same chances no matter what they do in their lives?

You're presenting the false alternative. If you can afford better treatment, you can buy better treatment.

> Put your foot where your mouth is!

I vote.

> They deny them entry? How does it look like "technically" ?

Roughly like what it looks like when you order a Big Mac at a McDonalds and can't pay.

> Was at the ER once

The ER is different, they can't deny you treatment.


100k a year is absolutely not middle class. Median household income is around $52k. You are upper class by any metric.


At the same time, maybe it's situations like this that influence peoples' opinion on the matter.


Then let it speak for itself (I think it does). Politics are a poisonous topic for sites like this and are off-topic according to the guidelines.

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


> Politics [...] are off-topic according to the guidelines

Most submissions about politics are off-topic according to the guidelines. Nothing in the guidelines says that comments about politics are off-topic.


Long term, you can have one of these things:

* A high quality site, with interesting, possibly spirited, but civil discussions about various topics.

* Politics.

Your call.


We've all three been here long enough to know what the guidelines are trying to say. It drives me nuts that they won't update them. In the meantime: we're all on the same page on this, so this is probably a fake discussion.


This isn't raising money for just direct medical expenses; if you work as a contractor, consultant, speaker, etc., and for some reason can't work for a few months, it doesn't really matter if all your medical expenses are paid 100% -- you have no income, and for a lot of people, that means paying regular bills becomes difficult. It's not like your rent expenses at home go away just because you're staying in a hospital instead.


Here you just have insurance for this. You get 80% of your salary while you can't work.


Getting disability insurance is strongly encouraged for contractors and others in the US (we have both short term and long term).

There are actually federal (and some state) programs to pay disability if a worker is disabled, but enrollment takes some time, and generally the support is at poverty level, not based on salary.

A serious complication for people who freelance, contract, etc. is that aside from Social Security Disability (SSI, generally for long-term disability), the programs are related to unemployment insurance, which is related to wage income. If you, for instance, are bootstrapping a company from savings and not paying yourself a salary, then get in an accident, even if your medical insurance covers 100% of medical costs, you're probably screwed on everything else.


For things like this, yes. If you land in the emergency room with an acute emergency (heart attack, stroke, car accident, etc.), anyone will be stabilized regardless of ability to pay, but that doesn't apply to things that aren't stabilization of an acute emergency, like rehabilitation or chemotherapy. The case here is in the 2nd category.


If you have insurance, your insurance needs to cover the treatment recommended by your doctor. In many cases it will be covered without and issue, but some treatments will not be covered in favor of other (usually less expensive) services. Having insurance is usually the only feasible way to get preventative care.

Even with insurance you are often still responsible for a portion of your care, at least until a certain amount. This obligation to pay renews every year in most cases, so even if you reach the limit of your obligation this year, next year you will have to reach it again.

If you are not insured, you will have to pay out of pocket. Hospitals cannot deny you care if you are in an emergency condition, but they are only required to get you to a stable condition. I believe you are still required to pay, but they aren't allowed to deny you care if you can't.


> You have to pay hospital out of your pocket?

Surgery for cardiac arrest is far more expensive than $5000. The cost of such a surgery (without insurance) is easily over $100K and if you said "it was $1M" people would be like "that's a little high" rather than "impossible!"

This must be for incidental costs incurred or for recovery not covered by insurance. (Like: Some insurances might only cover physical therapy twice a week. They probably cite some study saying that is sufficient for recovery. But other people might argue more frequent sessions are better, so this money could cover the more frequent sessions.)


He has medicare advantage plus according to his comments on his personal site -- so his care + rehab was covered. He talks a lot about billable work though, I have a feeling this is more for personal expenses and making it so he doesn't feel like he always needs to work and he can work until its not enjoyable and then relax and recoup.


>Somebody who has not enough funds will not be treated?

They'll be treated, they'll just have to file for bankruptcy.


Number one cause of bankrupty in USA, land of the free fans!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: