Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sams99
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
Debugging hidden memory leaks in Ruby
(samsaffron.com)
6 points
by
sams99
7y ago
|
0 comments
32.
▲
by
sams99
7y ago
I did see quite a few that double up, like 2 versions of url and a few others. Just had a quick play ... on arch linux `yay nushell-git` already works!!! One area where I got a bit stuck was around help. `man where` gave me nothing, `help w
33.
▲
Tests that sometimes fail
(samsaffron.com)
217 points
by
sams99
7y ago
|
127 comments
34.
▲
by
sams99
8y ago
There are 2 parts to the cost. 1. is the VM 2. is handling filesystem mounts across operating systems (2) can be debilitating in dev environments on Mac for example where you want to edit files outside the container but have the container h
35.
▲
by
sams99
8y ago
absolutely if you have a filesystem heavy operation and are accessing files inside the container in aufs instead of a local mount, you are going to pay a massive docker tax.
36.
▲
by
sams99
8y ago
A very interesting and important aside is that in Linux you pay almost no tax for using Docker. This is not the case on Windows and MacOS where there is a significant cost. That 8 minute spec run, also takes 8 minutes in docker. https:
37.
▲
by
sams99
8y ago
I completely understand the concern here. If every change required an 8 minute wait it would be real sad for us. We use a tool called `rake autospec` at Discourse which is a smart test runner. I personally like the vim integration we built.
38.
▲
by
sams99
8y ago
Absolutely disabled defender. When I started running the spec suite in WSL, defender went way up (so I gave it a break), pretty sure stuff would have been way worse with defender on. The prevailing recommendation though from the WSL team is
39.
▲
by
sams99
8y ago
Unless you are looking to contribute to a project and kick off a project I would recommend sticking with the bigger players our there like nodebb/vanilla and so on. Getting stuff right is not easy, very few forum software platforms out
40.
▲
by
sams99
8y ago
WSL is not technically a VM... The news is not the it is slower, it is how much slower it is. I found the number surprising given the prevailing wisdom out there was ... sure its slower, about 5-10% slower. The other news is that mac is slo
41.
▲
Why I stuck with Windows for 6 years while developing Discourse
(samsaffron.com)
100 points
by
sams99
8y ago
|
114 comments
42.
▲
by
sams99
8y ago
Tracking the MRI enhancement at: https://bugs.ruby-lang.org/issues/15667
43.
▲
Show HN: Use Discourse to review GitHub commits
(meta.discourse.org)
3 points
by
sams99
8y ago
|
0 comments
44.
▲
by
sams99
8y ago
For us at Discourse we find Mattermost perfectly acceptable as a chat program. 10 second load times and slow/wrong notifications have not been a problem for us at all.
45.
▲
by
sams99
9y ago
really depends on age, my 5/8 year olds love 5 minute dungeon, very simple and quite fun. hanabi is a bit too tricky for them. codenames pictures 2 players is cooperative cause you play against "the computer" and is quite fun
46.
▲
by
sams99
9y ago
Sure I think it makes sense to have this on the forum as well as a shadow post or something, I posted this https://discourse.haproxy.org/t/haproxy-1-8-officially-relea... will see if willy would like to keep this and p
47.
▲
by
sams99
9y ago
sort of, I run a VM on Windows using VMWare workstation, involves binary patching the vmware executable, but hey, cheaper than buying a mac.
48.
▲
by
sams99
9y ago
That is a great call, an atom would struggle big time running plex, I have a Thinkcentre M92p which is tiny and silent, do wish it had a tiny bit more grunt but was pretty good value for $200.
49.
▲
by
sams99
10y ago
I have a skull canyon NUC and love it. I work in a co-working space. At the end of my day I can disconnect it and put it in my locked drawer. It is tiny and super fast. Caveat though for those thinking they can hackintosh this thing, it is
50.
▲
by
sams99
10y ago
"Zen is commercial software sold to people with a normal PC" Note, it looks like only version 6 is out: https://book.mynavi.jp/ec/products/detail/id=62646 It appears that DeepZen would be a new vers
51.
▲
by
sams99
10y ago
I did hand tune stuff https://github.com/discourse/discourse_docker/blob/master/te... RUBY_GC_HEAP_GROWTH_MAX_SLOTS is critical without it you get way too much bloat. The default is very problematic I di
52.
▲
by
sams99
10y ago
At Discourse our biggest constraint we are fighting now is memory, not performance (don't get me wrong, I wish MRI was faster). JRuby is usually more memory hungry than MRI and getting reasonable boot time is not easy on JRuby. Additio
53.
▲
by
sams99
10y ago
I dunno, maybe cause re-writing a 10 year old working app in another platform is not something that is easily achievable or even desirable. http://www.joelonsoftware.com/articles/fog0000000069.html
54.
▲
by
sams99
10y ago
on the FDA side, this is enlightening: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3538397/ "Each drug is estimated to cost $1.2 billion to $1.3 billion in cash outlays per approved biopharmaceutical&qu
55.
▲
by
sams99
10y ago
The flip side of this story is ... How would you feel if someone swiped a copy of your cc, started an apple developer account, did a bunch of review freud and then got you kicked out of the app store. I think there are some serious issues a
56.
▲
by
sams99
10y ago
The absolutely crazy thing is that in this day and age the vast majority of diagnosed paediatric cancers are not sequenced (no germline, tumor or RNA seq) It actually makes me feel quite sick that there is so much information out there that
57.
▲
by
sams99
10y ago
Sure, but what is stopping you from choosing a more efficient architecture for your Rails app? For example, we use pgbouncer transaction pooling, so our connection counts are low. Tons of caching is done in NGINX and first middleware in the
58.
▲
by
sams99
10y ago
jeez where are those numbers coming from :) For Discourse which we host in general we spend HALF the time in database calls and say 20-30% of the time in ActiveRecord bullshit. Lets say we erased all of the app cost using some magic, we wou
59.
▲
by
sams99
10y ago
On the topic of Brotli, don't forget - It is available today on close to 50% or web browsers - Vast majority of CDNs block it today I wrote about it here: https://samsaffron.com/archive/2016/06/15/th
60.
▲
by
sams99
10y ago
Something that is unclear to me here, can I origin pull from anywhere? or is this purely for compute engine now? Regarding free SSL are we talking SNI here or is this free non SNI HTTPS hosting?
More ›