Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jeremyevans
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
1.
▲
by
jeremyevans
2mo ago
I've done the same for about 5 years (switched from SendGrid to smtp2go last year). I blogged about it when I first set it up: https://code.jeremyevans.net/2021-07-29-running-my-own-email...
2.
▲
by
jeremyevans
4mo ago
Actually, I think most had the code in track 2. Track 1 was an audio track warning you that the disc is only designed to a play on the system. More details at https://retrocomputing.stackexchange.com/questions/27518
3.
▲
by
jeremyevans
2y ago
"freezer" was my originally desired name for this gem, but it was already taken.
4.
▲
by
jeremyevans
2y ago
It's cool to see this posted here. Refrigerator has been around for a number of years, but it doesn't get much press. It was originally developed as part of my work getting production Ruby web applications to run in chroot envir
5.
▲
by
jeremyevans
4y ago
There is a Ruby form library named Forme that works this way for Roda and Sequel ( https://forme.jeremyevans.net/files/README_rdoc.html#label-R... ). As you expect, this makes handling normal HTML form submissions much
6.
▲
Forcing Sequential Scans on PostgreSQL Using Large Integers
(code.jeremyevans.net)
3 points
by
jeremyevans
4y ago
|
0 comments
7.
▲
by
jeremyevans
5y ago
That I cannot answer (not sure where that link comes from, maybe nonameiguess can tell you). Looks like suppliers.fiscal.ca.gov is a externet location for vendors that do business the state, not a public website.
8.
▲
by
jeremyevans
5y ago
That's the most recent audited report. Auditing the state's entire financial report takes a long time. The report for year ended June 2020 should be published later this month (scheduled for December 22), according to the Califo
9.
▲
by
jeremyevans
5y ago
If you're using X, the fluxbox window manager supports tabbed windows: http://fluxbox.org/
10.
▲
by
jeremyevans
8y ago
> I'd just like to point out that a lot of RDBMSs support storing date and time alongside timezone information directly without using two separate fields. SQL Server has datetimeoffset, PostgreSQL has timestamp with time zone, and O
11.
▲
by
jeremyevans
9y ago
That could be the case, but if you are going to open source the application, what would be the point of trying to hide it? Considering that password hashes are stored in the users table, it seems unlikely. While you can use PostgreSQL to i
12.
▲
by
jeremyevans
9y ago
Restricting access to the password hashes using database security so that a vulnerability in the web application cannot expose password hashes unless a separate vulnerability in the database was also exploited. In PostgreSQL (and other SQL
13.
▲
by
jeremyevans
9y ago
In case you are wondering how it handles password encryption and storage, it appears to use a custom password hash based on SHA256 and scrypt: https://github.com/18F/identity-idp/blob/980c2aa26397f530673... P
14.
▲
Sequel 5.0.0 Released
(groups.google.com)
4 points
by
jeremyevans
9y ago
|
0 comments
15.
▲
by
jeremyevans
10y ago
That isn't a problem in Sequel, as you can pass a complex expression to #or, in which case it works as you would expect it to: Post.where(id: 1).or(Sequel.&({:id=>2}, {:name=>'Foo'})) # SELECT * FROM posts
16.
▲
by
jeremyevans
10y ago
That doesn't appear to work: Post.where(id: 1).or Post.joins(:author).where(author: { name: 'John' }) ArgumentError: Relation passed to #or must be structurally compatible. Incompatible values: [:joins, :references]
17.
▲
Rodauth: Authentication and Account Management Framework for Rack Applications
(rodauth.jeremyevans.net)
2 points
by
jeremyevans
10y ago
|
0 comments
18.
▲
The Life and Death of Steel City RubyConf
(thedailywtf.com)
1 points
by
jeremyevans
11y ago
|
0 comments
19.
▲
by
jeremyevans
11y ago
"s-q-l". It is ambiguous if pronounced "sequel". :)
20.
▲
by
jeremyevans
12y ago
Not sure about ActiveRecord, but Sequel has supported using recursive common table expressions for loading all descendants in a given branch (or branches) of a tree for over 4 years using the rcte_tree plugin: http://sequel.jerem
21.
▲
by
jeremyevans
12y ago
I looked into this and it is really easy to use, so I updated the website to use it. Thanks for the suggestion!
22.
▲
by
jeremyevans
12y ago
Thanks! I'll look into this as well.
23.
▲
by
jeremyevans
12y ago
I don't work on truly huge sites, my largest is only about 10kloc. But it scales very well for the all of the sites I've tried, and I think based on the architecture it would scale to much larger sites. Your workflow with Rack-&g
24.
▲
by
jeremyevans
12y ago
The name Roda comes from the Ys video game series, in which the Roda trees play a small role. I'm a huge Ys fan.
25.
▲
by
jeremyevans
12y ago
You can do r.on('artist', :id) instead of r.on('artist/:id') if that is your style preference, both work in Roda.
26.
▲
by
jeremyevans
12y ago
Roda supports stacking apps via r.run to dispatch to any other rack app. You can also use the multi-route plugin, which allows you to split up the routing into subtrees, but keeps the current state.
27.
▲
by
jeremyevans
12y ago
The basic design for Roda was taken from Cuba (it's a fork of Cuba), and I think if you read the Roda source, you wouldn't find it difficult to understand. There are certainly parts of Sequel that are overly clever, I won't a
28.
▲
by
jeremyevans
12y ago
I'm glad Roda is finally getting some publicity. I submitted it here when it was released. I've converted about 15 apps from Sinatra to Roda, and a couple of Rails apps to Roda (working on converting my final Rails app). Persona
29.
▲
Roda – The Routing Tree Web Framework
(roda.jeremyevans.net)
3 points
by
jeremyevans
12y ago
|
0 comments
30.
▲
by
jeremyevans
12y ago
Correct, it's not impossible, there was a proof of concept mongo driver: https://github.com/jeremyevans/sequel-mongo . I doubt it still works with current Sequel, though, as I only coded it for a lightning talk in
More ›