5,534 karma · joined Feb 17, 2010 (16y ago) · 1,183 submissions
3620458
comment 8y ago · link · parent
>To make these memory leaks manageable, GitLab comes with the unicorn-worker-killer gem. This gem monkey-patches the Unicorn workers to do a memory self-check after every 16 requests. If the memory of the Unicorn worker exceeds a pre-set limit then the worker process exits. *
I know this is a Rails issue, but I cannot believe this is still a problem. I remember when the RoR folks blamed the Rails memory leaks on Zed, and Mongrel, more than a decade ago. They were obviously incorrect. Did the community simply give up on fixing the problem?
* https://docs.gitlab.com/ee/administration/operations/unicorn...
comment 9y ago · link · parent
Thanks for highlighting this. For me, OpenBSD releases needed so few fixes that keeping the system up to date wrapped around, and become more of a hassle to deal with! I'd get an email and have to manually rebuild something. Watching yet another flood of compiler output started feeling like a huge waste of time, despite only happening once every month or two.
For personal use, on debian I set a cron job and forget it. This utility hits the sweet spot to get me running OpenBSD again.
comment 9y ago · link · parent
http://orgmode.org/worg/org-tutorials/orgtutorial_dto.html
There are some mobile apps but I've never used them.
comment 9y ago · link · parent
>You need to be able to recall the passphrase that was used to encrypt the file.
Why bother writing security guidelines which are impossible for a human to follow?
edit: Try recalling any passphrases generated by the command below, and that's before the random sprinkling of punctuation.
grep -E "^[a-z]{5,10}$" /usr/share/dict/words | shuf -n5 | tr '\n' ' 'comment 9y ago · link · parent
Python 3 fixed it, along with some other less drastic changes. Despite a gradual and ever ongoing migration to python 3 by every major library (http://py3readiness.org/ https://python3wos.appspot.com/), a lot of HN posters love to talk about how they'll never use python 3.
The secret is: no one cares. People still use java 1.4.2 and that hasn't impeded Java.
Python 3 was a large and backwards capability breaking change that required people to learn some minor new behaviors when writing code, but it has been and will continue to be the future.
comment 10y ago · link · parent
They're dressed up versions of "correlation != causation". Low thought comments appealing to people with not-even stats 101 knowledge.
There is no such thing as a perfect study, and a generic version of the OPs comment could be copy and pasted on any study ever. Unless you study the entire population of the planet, you're going to miss subgroups. Unless you study the entire population of the planet, you're going to need some sort of selection criteria. Unless you have infinite funding and time, you're going to need to make trade offs and sacrifices in your experiment design.
A study will disclose these shortcomings for readers to balance the significance of results against.
Take this complaint from OP:
>* The sample size was tiny. (20 students)
What sample size would satisfy him? Why is 20 too small? 40? 80? 1037? Is he basing his opinion of a proper sample size on his gut? 20 just doesn't feel right?
comment 10y ago · link · parent
Where did you get that impression?
https://github.com/libressl-portable/openbsd/commits/master shows an actively developed project
comment 10y ago · link · parent
Volvo can just license the Dominoes app and have the same technology backbone Uber has, plus cheesy bread.
Sidenote: I thought of another market segment to compete in: AirBNB! Except instead of daily rentals it'll be half-hourly rentals. Brilliant!
Ignore those pesky anti-prostitution laws. They're outdated regulations that just stifle the market. Plenty of guys named John that just need a bed for 30 minutes or less.
comment 10y ago · link · parent
comment 10y ago · link · parent
Let's pretend you're a high schooler volunteering at a charity.
"Donors who attended our last five fundraisers?"
"Email list for our whale donors from this fiscal year?" (>100, 1000, 100000+ whatever)
"Who are our best fundraisers?"
"Was the dinner last week a success?"
What are the odds the student who can answer these questions is helped by a teacher who ticks off any of the five principals in the submission? Logo? People aren't drawing basic geometric shapes. "Cognitive load" referencing types? I'm not even sure how to address this. Any beginner expects 1/2 to display 0.5. That entire paragraph is nonsense. Be honest Ok, learn how to excel in your field with programming/excel/sql/etc as tools to succeed at your job. "Computer Science" isn't programming and it isn't a job. Never confuse any of those. #5 is just generic filler for being a not-bad teacher.
comment 10y ago · link · parent
>To be clear I believe Jake has hurt people (which he has admitted himself) and didn't respect people's boundaries. I do not believe he is a rapist or a harasser and I am wondering what the people who started this campaign are trying to achieve.
Admitting he's abusive and ignores boundaries while at the same time saying that behavior isn't harassing or rape is some Grade A dissonance. There wasn't some conspiracy. This woman even admits the guy hurts people and disrespects boundaries. The fact she doesn't have specific details about a rape or other harassment is irrelevant.
She knows the guy has hurt others, and then thinks there is a campaign allied against him?
I'd want any person like she describes removed from any communities I belong to, and not surprised the Tor Project decided the same.
comment 10y ago · link · parent
mbsync needs (setq mu4e-change-filenames-when-moving t) so it can properly handle file moves.
Haven't used it against gmail, but because microsoft wants you using outlook only, imap is a bit buggy so you need to set PipelineDepth 1 in your .mbsyncrc IMAPAccount block because it seems that the microsoft imap server has account global variables so multiple threads/connections will step on each other.
And perversely, (setq mu4e-view-prefer-html t) has to be set because many rich html composing clients will send a text version that's completely blank, leaving you staring at a blank body if the client defaulted to text only.
You'll have to find a html rendering command that works for you. Something like (setq mu4e-html2text-command "html2text -utf8 -nobs -width 72")
Or google around for custom commands other people have published.
comment 10y ago · link · parent
>When the interviewer interjected that the murder may have been a robbery, Assange pushed back.
>"No," he said. "There’s no finding. So… I’m suggesting that our sources take risks."
>When pressed as to whether Rich was, in fact, the leaker, Assange stated that the organization does not reveal its sources.
http://www.foxnews.com/politics/2016/08/10/assange-implies-m...
Assange's transparent conflation of the murder of Seth Rich with "our sources" is obvious. He won't outright lie and claim Rich as a source, but he's nakedly prodding you to form your own conspiracy theory.