Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chris12321
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
chris12321
1y ago
A majority of people in North West England has Irish ancestry. Are those people not British?
2.
▲
by
chris12321
1y ago
After German reunification the states of East Germany and West Germany ceased to be. Was that two genocides?
3.
▲
by
chris12321
1y ago
No state has the right to exist, that thought terminating cliche makes no sense legally or philosophically. States are recognised by other states, with no legal rights involved. Also claiming that a call for the end of a state is a call for
4.
▲
by
chris12321
1y ago
> It's almost like if bureaucrats who are writing regulations are experienced in writing regulations in such a way they can't be circumvented. Americans often seem to have the view that lawmakers are bumbling buffoons who just
5.
▲
by
chris12321
1y ago
You can also set up DNS records pointing to your home server's VPN IP, which, with Tailscale, I've found to be pretty static and then a reverse proxy on your home server. So I have my home network apps running on app1.my-domiain.c
6.
▲
by
chris12321
1y ago
That's certainly not a criticism that could be levelled at Giantbomb, considering it was started when its founder, Jeff Gerstman, was fired from his job at GameSpot for giving a game a low review score while the developer of the game w
7.
▲
by
chris12321
1y ago
Thanks, I'll let my team know. Sorry I meant to say "I've been thinking about building a Once style project" I've just got a couple of not very well fleshed out ideas at the moment. In terms of licencing it's i
8.
▲
by
chris12321
1y ago
It's simply not true that "regular AR calls are painfully slow." In the context of a web request, the time spent instantiating Active Record objects is negligible. For example, on my laptop: Customer.limit(1000).to_a complete
9.
▲
by
chris12321
1y ago
It's been widely understood in the Ruby community for some time now that metaprogramming—like in the example above—should generally be limited to framework or library code, and avoided in regular application code. Dynamically generated
10.
▲
by
chris12321
1y ago
This is an interesting project! I'm going to recommend it to my team at work, since we've been moving to try to self-host more of our services. I've been about building a Once-style project myself, how do you deal with tracki
11.
▲
by
chris12321
1y ago
I recently read The Ministry for the Future by Kim Stanley Robinson, and one of the ideas in it that I thought was very good was replacing our cargo ships with wind-powered ships, basically giant sailing ships. In the book, they were incred
12.
▲
by
chris12321
2y ago
As a long time Ruby developer the only thing about Ruby that I wish would die is people declaring 'Is Ruby dead?/Ruby is dead/Ruby isn't dead'!
13.
▲
by
chris12321
2y ago
Ruby will probably never again be the most popular language in the world, and it doesn't need to be for the people who enjoy it to be excited about the recent improvements in performance, documentation, tooling, ecosystem, and communit
14.
▲
by
chris12321
2y ago
Between Rails At Scale and byroot's blogs, it's currently a fantastic time to be interested in in-depth discussions around Ruby internals and performance! And with all the recent improvements in Ruby and Rails, it's a great t
15.
▲
by
chris12321
2y ago
ChatGPT won't tell you how to do anything illegal, for example, it won't tell you how to make drugs.
16.
▲
by
chris12321
2y ago
I know of a bunch of apps that deploy to multiple servers behind a load balancer using Kamal. Here's an article explaining the process https://guillaumebriday.fr/how-to-deploy-and-scale-your-rail...
17.
▲
by
chris12321
2y ago
How does a modern goto differ from a traditional goto?
18.
▲
Gem Shop: A Vulnerable Rails 8 App for Security Education
(paraxial.io)
1 points
by
chris12321
2y ago
|
0 comments
19.
▲
by
chris12321
2y ago
This was written by the recently deceased Noah Gibbs. The site is now under the control of his widow. It's a great course and I'd encourage people to check it out.
20.
▲
by
chris12321
2y ago
I think it's a combination of a lot of things over the last 2ish years: 1. Ruby 3.0 and YJIT have provided huge performance gains for the language with further improvements still left to be implemented. 2. Ruby releases new versions ev
21.
▲
by
chris12321
2y ago
I didn't mean to imply you didn't know that stuff, I just tend to write comments from the basics for anyone unfamiliar who may be reading. Yup I would expect it to have an (extremely small) boot time impact. Though I don't th
22.
▲
by
chris12321
2y ago
The gem isn't freezing instances of the objects, but rather the classes themselves. In Ruby (nearly) everything is an object, so for example Array is an object of type Class. Classes are also open by defualt, allowing them to be altere
23.
▲
by
chris12321
2y ago
The new getting started guide is great. Chris Oliver is a great teacher. Afterwards, if you want a 102-style tutorial, I'm a big fan of https://www.hotrails.dev/ . It goes step by step and explains how Hotwire works and
24.
▲
by
chris12321
2y ago
This rapid feedback seems like it will be especially useful when iterating on CSS designs
25.
▲
by
chris12321
2y ago
Since Rails 7.1 we've had https://www.rubydoc.info/github/rails/rails/ActiveRecord%2FR... which actaully does run queries in parallel. There's also Rails' russian doll caching, which can actaul
26.
▲
by
chris12321
2y ago
I find that a 6-month-old JS project will often not even boot since its exhaustive dependency list will be out of date and now mutually incompatible. You have to feed a JS project with updates every couple of hours, or it will die like a Ta
27.
▲
by
chris12321
2y ago
In languages I'm most familiar with, you can't access variables defined outside of the function within the function unless the variable is a class or global variable. So for example in Python you can do: >>> x = "
28.
▲
by
chris12321
2y ago
This made me think of this recent tweet from Nate Berkopec, a developer well-known in the Rails community as a specialist in performance and scaling. https://x.com/nateberkopec/status/1846429195670552635 If
29.
▲
by
chris12321
2y ago
Manim is incredibly cool, but my biggest takeaway from the video is how insane it is that Python apparently lets you reference a variable in a function that was defined outside the scope of the function.
30.
▲
Eileen Uchitelle – The Myth of the Modular Monolith – Rails World 2024 [video]
(youtube.com)
1 points
by
chris12321
2y ago
|
0 comments
More ›