Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pjungwir
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
361.
▲
by
pjungwir
10y ago
In my case it is: the store gives you a secret code, and you enter it on your phone to earn discounts and raffle entries. We would like to prevent people taking the code home and sharing it with all their friends. So it's not about tra
362.
▲
by
pjungwir
10y ago
A problem I've mused on for a few years is related to this: when a phone submits a lonlat to an API server, how can you make the server more confident it can trust the location? I mean with curl I could POST any lonlat I want---I don&#
363.
▲
by
pjungwir
10y ago
It works great for me. :-) Search could be smarter (and faster). Also I remember I had to do something tricky to make search default to "date" sorting instead of "relevance", and that should really just be in the prefere
364.
▲
by
pjungwir
10y ago
EDIT: jfoutz gives a much more realistic example: maybe California doesn't give up on DST altogether, but just moves the start date. Note this is not really about DST at all, but DST stories probably make the best examples. Another exa
365.
▲
by
pjungwir
10y ago
Sure! It is a rare problem, but I seem to recall a similar thing (at Facebook?) actually making the news not that long ago. Here are the steps: 1. The user in California saves a meeting at 7am for June 1, 2017. (Today is April 17.) 2. You c
366.
▲
by
pjungwir
10y ago
I gave a talk last year about a timezone strategy for Rails apps (or any app really). Sadly it wasn't recorded, so I'm hoping I can give it again somewhere, but here are the slides and source: https://github.com/pj
367.
▲
by
pjungwir
10y ago
Just yesterday I was looking for a way to present all the messages in a given Slack channel as an RSS feed, and I was surprised to come up empty. (I found lots of ways to go the other way though, from RSS into Slack.) The best I found was t
368.
▲
Postgres Permissions
(illuminatedcomputing.com)
1 points
by
pjungwir
10y ago
|
0 comments
369.
▲
by
pjungwir
10y ago
Obviously this article has sales motives, but I have a project where I'm considering using ActionCable to return search results in batches, where currently I am just using jQuery to pull each batch with a new Ajax call. I was hoping to
370.
▲
Rails ActionCable – The good and bad parts
(blog.ably.io)
2 points
by
pjungwir
10y ago
|
1 comments
371.
▲
by
pjungwir
10y ago
Weird to see this downvoted. When it came out, the Wordpress admin was beautiful and smooth---and everything else was ugly and clunky. It was like the iPhone vs feature phones. The handful of built-in themes looked great too. Whatever you
372.
▲
by
pjungwir
10y ago
I'd be happy to help with this. I've done many responsive/progressive web apps, including some "mobile first" ones. I've posted elsewhere in this topic, but you can find me here: http://illuminatedco
373.
▲
by
pjungwir
10y ago
SEEKING WORK - Portland, OR or Remote I'm a polyglot, full-stack developer with 17 years experience. My specialties are Rails, Postgres, Chef, and Angular/Ember, although I'm comfortable on a variety of platforms. I am reliab
374.
▲
by
pjungwir
10y ago
I have wondered this too. Oracle sells their database, but they also sell ERP/CRM/other TLA applications built on top of it. Amazon could do the same thing. And I think every batch of new AWS announcements they creep a little furt
375.
▲
by
pjungwir
10y ago
> 76% of HPEs are not primarily motivated by money. "Primarily" is a pretty slippery word here. So they are motivated by money, but motivated more by mastery? In that case, how much more? Is it close? Also, money has diminish
376.
▲
by
pjungwir
10y ago
Underpromotion is real thing and has its (very rare) uses. Even underpromoting to a bishop can turn a draw into a win: https://en.wikipedia.org/wiki/Promotion_(chess)#Bishop_under...
377.
▲
by
pjungwir
10y ago
I saw the section on EBS, but it didn't offer much advice. Getting good performance on networked storage is the biggest challenge to me. The last time I asked about that here [1], I got this answer: nasalgoat 161 days ago [-]
378.
▲
by
pjungwir
10y ago
So I passed out a lot of upvotes, but I thought I would add a thank you to you and others trying to help me. :-) I will try your suggestion re the log. The database example is trickier I think since the prepared statements have references t
379.
▲
by
pjungwir
10y ago
I will certainly take you up on your offer!: https://github.com/pjungwir/rust-initialization-functions
380.
▲
by
pjungwir
10y ago
A challenge I've had with Rust lately is factoring initialization code into separate functions. Because of stack-based allocation it has to stay in the main function. For example: pub fn do_many(iter: &mut Iterator<Item=St
381.
▲
by
pjungwir
10y ago
SEEKING WORK - Portland, OR or Remote I'm a polyglot, full-stack developer with 17 years experience. My specialties are Rails, Postgres, Chef, and Angular/Ember, although I'm comfortable on a variety of platforms. I am reliab
382.
▲
by
pjungwir
10y ago
I wonder what it costs to get these images, and if you could get them more cheaply by flying drones? I guess that would require a presence in a lot of places though. . . . Still, maybe you could focus on just a few cities, and get pictures
383.
▲
by
pjungwir
10y ago
When I think of things like mass surveillance, proliferation of felonies, over-charging & plea bargaining, civil asset forfeiture, and police militarization, the book I really think of is not 1984 , but Hannah Arendt's Totalitari
384.
▲
by
pjungwir
10y ago
Thank you for the warning! I can see how that could happen with chrt. I can't work out how it could happen with just taskset. Are you saying to be careful when combining them? That would make sense to me. Also I can't figure out w
385.
▲
by
pjungwir
10y ago
Wow this list is tremendous! It's fun to still discover new commands after all these years. I actually used `taskset -c` just recently, when I was running lots of sidekiq processes and wanted to make sure they all used different cores.
386.
▲
by
pjungwir
10y ago
Code by Charles Petzold takes this approach to explaining how a computer works. By the end he has a working system with CPU, RAM, inputs, and outputs.
387.
▲
by
pjungwir
10y ago
Good catch. Thanks!
388.
▲
by
pjungwir
10y ago
Linode is my top choice for hosting, but lately I've been tinkering on a project that needs a lot of disk, and it's hard to find good options there. On AWS every dimension scales independently, but with Linode I can't buy dis
389.
▲
by
pjungwir
10y ago
My favorite Smullyan book is out of print: Forever Undecided: A Puzzle Guide to Gödel . Gödel's paradoxical theory hooked me in college, and after twenty years I still can't help but feel that it has a message for us---not in the
390.
▲
by
pjungwir
10y ago
Sort of a content-free article, but the headline is an interesting bold claim that conjures a lot of thoughts: - I know enough machine learning to be dangerous, but I'm hardly ever asked to use it. I designed a Bayesian classifier for
More ›