News for hackers. Stuff that matters.

atrust

Re: on Saturday March 16, 2024 @08:40PM (#39730795)
Re:Things Unix can do atomically (2010) on Monday May 30, 2016 @07:34PM (#11803800)
Got it. Now it makes more sense to me. Now I know people tend to talk about atomicity when it comes to low-level-ish things. But say I create some sort of a web service with a bunch of business logic. Does it worth to follow this principle in that case? For instance, client sends an API request (let's say "Add user to friends"), is it even possible to apply atomicity for these type of things?

Edit: Thanks everyone for taking time to explain it to me.

Re:Things Unix can do atomically (2010) on Monday May 30, 2016 @06:56PM (#11803680)
In a few simple words, can someone explain what does "atomically" mean? I personally used this term when talking about some Redis operations, but never knew the real gist of the word and concepts behind it. I have a very brief understanding of the term and if I'd have to explain it to a person, I'd say it's "the operation that does not have any side effects when performing its unit of work". Is my understanding even close to what atomic operation really is?
Re:An Old Idea, Revived: Starve Cancer to Death on Sunday May 15, 2016 @02:54PM (#11702193)
It's obvious that the author doesn't know all the details and you keep asking all of these questions over and over again, making yourself look like a troll.

I have a feeling that the _magical_ Peruvian cure is based on eating blister beetles, which is a popular treatment in Chinese medicine. Apparently, chemicals these bugs make could be beneficial in treating certain kinds of cancer. There are a few researches going on on that front.

http://www.ncbi.nlm.nih.gov/pubmed/24733674

http://www.academia.edu/1279793/Antitumor_Activity_of_Mylabr...

Re:Email copy from great companies on Monday April 11, 2016 @05:20PM (#11475201)
I'd love to see an option to see the original design of all the mails.

Ask HN: How do I (software engineer) work with the designer?

Hello HN. I'm building a fairly large application as a side project and going to hire a designer. This is my first experience in doing so and I'd like to get some advice here, if possible. We work in the same company as of today. He proposed a $50/h rate and is going to charge me for all the 1-on-1 meetings we'll be having together throughout the whole project. 1-on-1 meetings are required to...

( Read More... | 4 comments | 2 points | on HN )
Re:Perl 6 is fun on Monday November 30, 2015 @06:06PM (#10652543)
Re:Perl 6 is fun on Monday November 30, 2015 @01:58PM (#10651015)
Of course one can have any extension. Not that it's a bad thing to use .p6. I was just trying to make it clear for myself to understand how beneficial the new extension is. Part of that lies in "marketing" the language. Old school engineers may still want to use .pl, whereas newbies will follow the documentation and have their files prefixed with .p6. My worry is that such behavior may lead to a confusion in Open Source world and push away newcomers from using the language.

I've been following the journey for, more or less, the past 10 years. I hope that whoever spent those 15 years on developing Perl 6, will reap the rewards.

Re:Perl 6 is fun on Monday November 30, 2015 @01:12PM (#10650764)
Understood. Thanks! I might have confused .p6 with .pl6. Thanks for the clarification on that.
Re:Perl 6 is fun on Monday November 30, 2015 @12:54PM (#10650686)
I loved Perl 5. Now when Perl 6 is out, I'm a bit confused about versioning. As far as I understand, perl 6 files are of .pl6 extension. Why would that be different from regular .pl, giving that it's just a new version of a language? I mean, I have never seen things like .js5, .php6, etc. Next, is `use v6;` mandatory? Quite confusing. Am I allowed to do `use v2;`?
Re:Study: Staying off Facebook can make you happier on Thursday November 12, 2015 @11:02PM (#10557942)
I wonder, how many people shared it on Facebook?
Re:How I ended up with so much Hacker News karma (2012) on Thursday November 12, 2015 @11:58AM (#10554342)
what is your most upvoted comment?
Re:Ask HN: Where can I find high quality writing services? on Thursday October 29, 2015 @11:23AM (#10471738)
Well. I'm not kidding at all. I read a bunch of reviews as for the Elance/Odesk/Upwork/Etc. Most of what I heard is "stay away from them if you are looking for something really good". I also found a couple companies that do (as per reviews) a relatively good job. But the prices are crazy ($300-500 per article). Some other companies say "30$ for 1000 words article". So I was a bit confused about all of these costs.
Re:BMW i8 in WebGL on Wednesday October 21, 2015 @11:40AM (#10426177)
Well done. This one reminds me http://helloracer.com/webgl/.
I'm not considering myself an expert, but the front page doesn't look interesting to me. Maybe in your case it would make more sense to learn from front pages, similar to Expedia/Kayak. At the very least, A/B test it.
Re:What If You Used iOS 9's Low Power Mode All the Time? on Thursday October 01, 2015 @09:59PM (#10316170)
I use Low Power Mode all the time since the iOS 9 update. It does work well.
I did it the other way around. I started to work as a freelancer for quite a large company. After a while, they offered me a full-time job under the J-1 visa. During the J-1, they applied for an H1-B for me. My H1-B application failed in the first year, so they had to extend J-1 (6 months is the maximum allowed extension). They applied for another H1-B and I finally got it. My J-1 expiration time was somewhere in August, so I had to go back to my home country. I had one month and half to get an H1-B stamping and during this period I worked remotely. I got back to US in the early of October, but now with an H1-B stamping.

P.S. The reason they made me a J-1 visa initially is because it was the fastest way to get me to US.

Re:A Mail from Paymentwall CEO to Employees on Friday September 04, 2015 @03:06PM (#10172253)
This is exactly where the HN submission links to.
Re:A Mail from Paymentwall CEO to Employees on Friday September 04, 2015 @02:06PM (#10171967)
A few quotes by Honor Gunday (according to comments from ain.ua):

"I like to fire people, to break them. Then when they are broken its much easier to brainwash them into corporate culture."

"It's very bad when people leave the company by their decision because it's uncontrolled process. It's much better to fire them in advance even if they work hard. This way you take control."

"Ukrainians are lazy and narrow minded", "Indians are liars", "Vietnamese are dog eaters", "Philippinos are passive and not pushy"

"Duty trip is a priviledge even if you go to a distant country for a long period, live in the local office, work 24/7 and are not paid per diems"

"We are not paying high salaries because we provide extra stuff: food, office dog, etc"

"You should not have a personal life separate from your work life. Your work is your life."

"We should fire the cat because it is not entertaining employess, not performing well enough - she is sleeping all day".

"I am cooler than my friends because I am richer than all of them".

"We don't need a QA/tester - do you need a mommy to clean up your code?"

"All those who left the company - regardless by their decision or we fired them - are fcking losers."

"All those Ukrainian companies, except for Paymentwall, are crappy companies."

"This dog is smarter than you."

"I don't want to hire experienced people, because they ask a higher salary. Let's go to that student career fair."

"We need to find ways how to smuggle that office furniture into the country in order not to pay custom taxes."

Searching for BB-8 on Apple's website results to an XML Akamai Player beacon config.
Here is the English version of Copiale cipher in PDF:

http://stp.lingfil.uu.se/~bea/copiale/copiale-translation.pd...

Re:I just lost my fifth job in six years on Friday August 28, 2015 @10:12PM (#10138755)
Sex is a great "cure". Do you have a girlfriend? If you don't, then try to find one. Sex with different partners could even work better, but not everyone finds it appealing to them. Forget about work, forget about programming, forget about business. Go enjoy great sex.

Older »