skysight-inc/HackerNews huggingface dataset:
Ask HN: I need help sleeping, any suggestions?
Hi there, Really hoping I can get some good advice or guidance.

I have been an anxiety sufferer for a few years now and things got quite bad last year so I decided to see a councillor and have CBT. This has helped me manage my anxiety on a day to day basis, and the worrying I used to suffer during the day have definitely calmed down. However, for the last 2 months I have been falling apart when I have been trying to go to sleep. I have been very at peace with myself, incredibly happy but then as soon as my head hits the pillow I get incredibly bad physical symptoms - intense chest pains, palpitations and this incredible feeling of adrenaline being pumped around my body - as though I have just been mugged or scared.

I have seen my doctor and physically everything is fine - my bloodwork is in perfect order and I am a non drinker, smoker and not in any way obese.

This is beginning to really effect me - I am getting no sleep and because I am getting no sleep my anxiety during the day is becoming worse and my work is suffering. I am struggling to keep going at the moment as I am just so exhausted. Even if I do get to sleep, I suddenly wake with the symptoms I described above.

As I say, I feel as though I am happy - good job, nice partner, nice home, no real worries to speak of but it is though my body has a phobia of going up to the bedroom to try and get some sleep.

What I desperately need, and what my councillor is not giving me, is ideas on how to:
1. Stop the pains from coming on in the first place (vary bed times, put film on in the background, meditate before bed etc).
2. When the pains do kick in, how to then manage those so they don't take over. At the moment, the first sign of a pain and I panic myself into thinking that I am going to get zero sleep.

If anyone has any advice or tips (no matter how stupid!), or reading that I can do/meditation techniques - anything - then I would be most grateful if you can share these with me. Thanks!
From Inkscape? Little, as SVG is its native format and thus Inkscape's feature set aligns nicely with the capabilities of the format (if used carefully, e.g. using clones instead of copies for identical shapes, etc.). Illustrator, however, will export more or less with a minimum SVG feature set used and for complex drawings that may end up fairly large and fairly inefficient.

Drop shadows and filters in general are a concern. Not so much on desktop browsers nowadays, but in mobile very much.
Increase the price...
It depends on the kind of designer we are talking about, it's not all about graphics design. Web designers (you know, the ones probably targeted by this software) don't need to depend heavily on Adobe applications and can comfortably use Aptana Studio for web design on Linux.

However, I was referring to myself. I was interested but couldn't use it, so I won't recommend it, as simple as that. I think software relies heavily on network effects, and many possible early adopters probably are running Linux too.

In my experience designers tend to be quite conservative in their choice of tools and probably won't ditch Flash just because this application appeared today. Developers are usually much more keen on trying out the latest tool, it's part of the trade.

In my opinion, it's a mistake to imply "Get the hell out of here, you're not the target audience" when you probably depend in these people to recommend the software to your target audience.
This happened with the first friend I ever made taking my CS degree. We were in a lot of classes together and corresponded on a semi-regular basis on Facebook over school breaks and things. I had talked to him a couple months prior to this school year starting, but once I got back and noticed he wasn't in any of the classes we were supposed to have together, a mutual friend of ours informed me that he had committed suicide over the summer. It was so jarring that just a few months had passed and he was gone. I looked back on our Facebook messages. I had no idea he was in any sort of distress. The last thing he had sent me was some funny cat gif and I hadn't responded. I know it's silly but I wish I had replied, thinking that it would have made a difference somehow.
Nothing new here, except for a big ad for cyberaces (dot) org.

The lesson: most kids who crack systems as a self-declared white hat will be punished, some will get lucky with job offers (that they never seem to accept at the end of the day - humm).

Like the elders were advising 10-20 years ago: don't bother with trying to play by the rules. Start your own consulting firm or just keep it to yourself.
I guess... but there has to be something else.
You can plagarize an essay, and finding that is kinda easy because you copy-paste word by word and so, it's obvious. But two programmers can have identical pieces of code without that meaning they copied each other, don't you think?
Carbyne from first principles: Chain of C atoms, a nanorod or a nanorope?
There are (or at least were when I sold insurance) products that costed very little (compared to an actual plan) that provided you with the negotiated price the insurance company would pay if something happens. If you can afford to self-insure, the best bet would be to buy one of these products and store the rest in the bank.

No clue if those things exist anymore with everything going on in the world of health insurance, though.
Daniel Lieberman: 'Dieting is a disaster for everyone'
Not sure where you got that info. Muse generates standards based HTML and CSS, you can take the HTML and CSS files and do what ever you want with them. Note, at that point your editing code, not visually designing. Even if you've published to Business Catalyst, you can just take your file and export to HTML and CSS later on.
Save your screenshots in Dropbox
We have the same version, 23.0.1. Are you using anykind of adblock or similar?
Which you can't have in SVG since the format (IIRC) does not support any hinting. So it's down to luck, and the width of your lines.
Hamad was expelled not for finding the vulnerability, but for running Nessus against the system after he reported the vulnerability, allegedly as a means of checking to see if it had been fixed.

Young Hamad shouldn't have done that, and would be fired from any job in cybersecurity for doing the same thing against a client's network without authorization.
I deleted and recreated my Google account recently. Some deceased friends of mine have "added me". An unsettling feeling.
One of our webdevs complained about some issue that was causing issues with our site in particular (regarding generic id names being blocked) and since then I've had several anecdotal instances where disabling adblock on sites seems to clear up nagging issues.

I should have been more clear. My apologies.
The Heisenberg Guide to Sales
U.S. judge allows lawsuit against Google over email ads
"Imagine coming to work to spend hours googling, wiring together unbelievably shitty, amazingly poor documented frameworks and battling Javscript and CSS."

That's definitely not a software engineer routine. Engineers craft/architect solutions instead of "wiring shit together". Of course, being able to re-use existing stuff is part of the job but if your job is wiring things together, specially if you do not know how those things work, you're not a software engineer.

That said, there are different software engineering gigs with different level of difficulties and solving different kind of problems. I like the advice of specializing, getting into more computer science, but that's still software engineering.

Don't get fooled just because the market is full of shitty web development gigs, that's a small portion of "software engineering".
Well shit, my bad. Anyway, logic goes that if I hadn't seen it then a good portion of HN didn't .. dont hold it against them, my fault.
Doesn't Adblock Plus alter the structure of the page, which can mess up layout?

Also believe it or not I don't want to block all ads, just animated ones. I want a general solution for All People, not just us nerds, and erasing advertising from the web would destroy a lot of businesses.

I want something browser makers can build in and turn on by default, which is what Safari has essentially done now with Mavericks (Flash and Java are blocked by default.. Flash under the rubric of power conservation).
We're talking about robbery rates doubling in two years. As far as crime stats go, that's a huge increase. I wonder what the cause of it is?
How do you feel about having Google as a direct competitor?
Downloading the PDF takes quite a while D: Maybe they're being overloaded a bit? Anyway, here's a mirror of the book's PDF (14MB): http://f.cl.ly/items/1C1J1c3W0V2e1903453r/It%27s%20Behind%20...
So in light of previous comments[1] I've made, I will say that this article is an example of unbias reporting highlighting core issues to try and explain the observations.

This kind of reporting allows one to think & reason about the issues & perhaps consider how to avoid(hopefully fix) the problem - instead of the blatant generalization like this[2][3] that only invoke fear and demoralize all the people in the city. Also, I support the headline change to match the article. The original headline is exactly what I'm talking about, just invoking fear. People who scan headlines will just memorize the headline instead of clicking into the article to understand why & how. We know far more people read headlines than read the whole article. We need more understanding about "why" and "how", not just "what".

1. https://news.ycombinator.com/item?id=6448409

2. http://veryhilarious.com/wp-content/uploads/2012/01/lion-kin...

3. http://www.joerizzo.com/broadcast/2012/images/stealing_oakla...
I'm pretty sure that all of these points still apply if you substitute "computer security" with any other sub-field of computer science.

In particular, internships! I've learned the hard way that these are very important. Don't plan on having summer vacations free to do things, that's a thing of the past.
Def, apple could literally make a few extra hundred million using something like this.
Unless by naming it as such OP is looking for some brand reconditioning :)
I remember mobile phones that had to be kept in the car because the batteries were like dumbbells. we lived with it because it was what we wanted.

There are going to be physical limits to battery technology, to processing power, all of these things. but those limits are not upon us yet and I have a suspicion the true physical limits lie in a place that will make us 20th century simpletons look like slack jawed savages.

I'm betting on science, bitches !
It's very unsettling. I'm still in college but I've had a couple friends who have passed. I just don't have the heart to unfriend their accounts. Once in a while, I'll be browsing Facebook and their account will pop up. Some other friend will comment on their page or something like that, and for a brief instant, you think they're still alive somehow (which makes no sense of course) before you realize it's just someone interacting with their page.
I think there is a joel's on this but 90% of business software that isn't customer facing is boring CRUD bullshit that is shipped when it reaches 'barley works' stage so you can move on to the next project. This sucks. I think the answer is to go work for a company with more interesting problems to solve where software is a core competency rather than just a budget line item.
Ask HN: Which Advertising Networks are you using to monetize your mobile app?
The Atlantic and FastCompany hacked. (by themselves) And you should too.
I've had this happen to in the past. I may be cynical but I think most people just don't care enough about cultivating friendships with you, especially post-college. We just become too preoccupied with our jobs, family, obligations, etc. Even when we do have time to connect, we rather just sit in the couch and watch Breaking Bad instead.. too much effort. So yes, OP's thoughts are nice, but in the end, most of us just fall back to old habits.
It's not showing my data from Antarctica.
I wasn't trying to be offensive... but rather, helpful. I hope I didn't offend you by pointing it out.
And the post-death messages that they like Ikea, or Chipotle, which are spooky, weird and tacky, all at once.
I’ve always assumed that it’s a joke as well, but that doesn’t seem to stop the gullible from believing it.
This is why setting up a deathswitch with a trusted friend to manage your online accounts upon death is critical. Wills are nice and all but I don't trust my close family to be proficient enough to correctly close out my online accounts.
Name is definitely going to be confusing. I completely expected this to be something Intel was doing nodejs related.
11 Ways to be Unremarkabley Average
> I had no idea he was in any sort of distress.

> I know it's silly but I wish I had replied, thinking that it would have made a difference somehow.

In case you're still harboring any sense of guilt over this, please don't. You are not responsible for your friend's death.

This is a common reaction when a friend or acquaintance commits suicide; it's normal, but don't let it get the better of you.
Shameless plug here for Zones: https://github.com/WhisperSystems/Zones

I was robbed in West Oakland over the summer while developing the app. Funny thing, I actually had the app installed on my phone at the time it was stolen and made a bunch of design and feature changes after the fact.
I live at The Grand, which is close to Broadway and Grand. In the last 6 months, I have heard one purse snatched and one assault and carjacking. Both happened in broad daylight, in heavily trafficked areas with people around. I was unable to assist OPD with the former case, but for the latter I ran down to give a statement. OPD never caught them last I heard, the car hasn't been recovered, and an elderly couple was very shaken.

I get the feeling that some elements inside OPD are trying to help the public, while others are cops for the power trip (see the Riders case of the early 2000's). OPD is absolutely stretched thin, but they are that way because Oakland is a big city and the command structure has previously had major run-ins with the DoJ (see Riders again) and therefore is very very careful about putting officers on the street. More so, they keep having issues with the DoJ (See Occupy Oakland, Scott Olsen), going so far as to the DoJ throwing down a threat of having the force taken over and reorganized, what would be a first for any organization in the US. We can't even keep a police chief for more then a few months, or days for that matter. Howard Jordan was around from 2011 until earlier this year. A day or two before another DoJ ruling/meeting, he suddenly retired due to a "medical condition", which he still hasn't disclosed. His replacement, Anthony Toribio, only lasted 2 days. Days. Not months. Days. The current interim chief, Sean Whent is still around, but we will see how much longer. We only have 637 officers as of last check. 637 for a town of 400,000 people.

Oakland has a broken government, including OPD and other services. It caused all of it's own problems, mostly due to OPD. Oakland won't get better until crime gets better or people start caring more about Oakland. I love my city, but I can't do much to help, other than helping the community (see OaklandWiki.org).

Maybe this is rambling, but whatever, it's out there. Oakland needs help, robbery and crime in general isn't going to drop until someone starts to care.

Edited to add more details and color.
We have one other Haskell programmer, who previously worked with some other functional programming languages (mainly some dialect of ML I think) and was working with Erlang in his previous job, and he picked it up quite easily. I think he is unusual though, I found it much more difficult to learn (but extremely rewarding).
Inspiring Sites of the Week No. 9
Tales from the Genome (bio110) from Udacity
This is neat. Would it be possible to add boundary lines? It's difficult to determine where Louisville Kentucky is without them.
SVG solved a problem essentially everyone will have: pixel density.
This reminds me of what I saw a couple weeks ago on Facebook.
I saw a friend's birthday popping up on FB. Then messages to that friend sending wishes of happy birthday and good health, peace, and everything else people wish you on your bday, started popping up on my timeline.
The problem was: she died two months ago. I didn't know exactly how to feel about that...
The funny thing is that this happened in a small town (13k people), where everybody knows each other.

That's when I decided to remove my birth date from FB. That is about the only time most of your "friends" will remember that you (may still) exist.
Its worth noting that every city on the list is a city with very strict gun laws. You won't find the robbery rates high in cities and states which allow citizens to properly defend themselves when confronted by an attacker committing a felony on his or her person.
Looks gorgeous, well designed and well made. The intro video and the marketing look amazing. The capabilities (seeing your stats, sharing to multiple social networks, etc) all look great, leave nothing to be desired. You guys did an amazing job.

The only problem is that I'm not entirely sure what I would need to use this for? The only use-case I could imagine would be posting a nice looking "Happy Anniversary" or something to my girlfriend, but I don't need all of the fancy features for that. Or an account even.
They don't, hinting is also about removing details which you can't do in SVG.

When people provide icons in many physical sizes, the icons generally aren't mere scaling up and down, because even if you can hint so the lines themselves don't blur the details will get so small the whole icon becomes a mess. Apple even has a note on this in their HIG:

> If an icon’s content or shape is overly complex, the details can become confusing and may appear blurry at smaller sizes.

note that this is not about logical size and retina displays, it's about physical size and the viewer's eye's power of resolution.
10 years here, and loving it too!

the best part for me is, the more i learn the better it gets. And the longer i do it, the bigger the variety of solutions and ways to get things done.

Sure, will get stuck on a crappy project from time to time, which could last for 1-12 months, and it may not be a blast, but i know it's temporary, and the more senior i get, the more say i have in making it suck less.

It took me many years to learn this, but you don't always have to do what you're told (if you know you can do it better). If you're being pressed to get something done, you'll be inclined to cut corners and hack it. But in the end you can just do it the right way, and tell your boss afterwards. The trick is to do it in the same time it would take to hack it. If it means working nights and weekends? so be it.. in the end, it's your name and showing such ownership will eventually give you a bigger voice, and people around will know who produces quality stuff. And if you're working for someone that will not be happy about you doing it the right way just because they told you otherwise, you don't want to work for them in the first place.
Understanding Your Traffic Sources, Part 1
Any suggestions on how to actually do this?
I would say the main reason is because there's not a 'Save As SVG' in photoshop. Most non tech people haven't heard of SVG and by the time they have, they already have a process for making images and the switch doesn't have enough apparent value on the surface.
The facts of what you have posted indicate that your intuition is fine. It's your level of trust in those intuitions that's suspect.

If the seed funding offered is what you need and the terms are good enough, then there's no reason to keep shopping. If you don't need it, or the terms are bad, then it's another matter.

Lastly, many people will say "no" without coming out and just saying it. Valuing a long term friendship might be a reason. Letting yourself get strung out won't benefit either of you. Keep moving forward, maybe your friend will be more available later. Timing is part of execution.

Good luck.
Not enough police enforcement. How much does the city pay in pension obligations? That's what's killing a lot of cities.
Except it failed to solve the related problem which everybody already has: eye resolution.
Yeah, Facebook "friendships" are not the same (though it's handy for keeping up to date with people :) ).

I at least have learned to post a "curated" version of my life online (after I was shown it wasn't good to share everything, even though I do tend to be quite open by default), and I assume many do the same, so you're not learning what's really happening with peoples' lives.
Knockout.js: Computed Observables
Those are Facebook likes while the conversation is about ads on websites.

And in the end, he says that interesting content will get you "Likes," where in the current conversation of blocking ads does the visitor contribute after perusing the valuable and interesting content?
Sadly, this is a byproduct of a passivity in relationships that seems to be more pervasive in the Facebook era. You don't need to reach out to your friends anymore, instead, we just consume each other's broadcasts.
I argue that each tick of Moore's clock will open up another order of magnitude sized market for just their proposition.
I quite like that I think I'm gonna steal it. From henceforth the weather will always be gay :D
I just donated $50 - to be honest, most of the stuff in your post is useless minutiae. I don't care how many dollars go to lawyer's fees versus court fees versus blah blah.

What I do care about though - how far in the appeals process will this take the case? Answer: $40,000 is not even 1/10th of what you'd need to make it to the supreme court, paying full freight. So assume there's going to be another fund raiser.

Should we just walk away from an opportunity to expose the demands of the FISA court in broad daylight at the behest of a superior court because they didn't present an itemized budget and an exact timetable dependent on a bunch of external circumstances beyond their control? Uhh, no - drop $5 and move on.
The semantic web in the way that this tool breaks it has been dead since we had table-based layouts and div-hell further buried that notion. However, that doesn't mean that the semantic web is dead. I somewhat agree with Alan Kay when he said the web was built by amateurs [0]. The problem with the original design is that only documents were considered, when there are actually two citizens: documents and the apps used to display those documents for different contexts and usages. The original design only considered documents in one static use case, a desktop browser. There are two levels of semantics: document semantics, which the web got right and that xhtml 2.0 might have made even richer, and app semantics that were completely ignored by the semantic web crowd to the point where the app people hijacked the plans of those pushing semantic documents.

HTML5 Twitter isn't a document. The 1 to 1 correspondence between the window object and the document object is all wrong. There should have been a 1 to 1 or 1 to many relationship between window and documents. When there is a 1 to many relationship the window object reflects only the semantics of apps and within it, there should be many documents, one for each tweet displayed by the HTML5 twitter app.

[0] http://www.drdobbs.com/architecture-and-design/interview-wit...