Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rojoca
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
rojoca
4y ago
I would second this. A team sport is also a good option. There are always clubs/teams that take beginners.
2.
▲
by
rojoca
4y ago
You can enjoy all kinds of disgusting and / or ridiculous things when you have some adjacent emotional connection. It’s one of the best things about life, keeping in mind it can work the opposite way too.
3.
▲
by
rojoca
5y ago
Haven't used django for a year or 2 but used to use django-rest-framework's negotiation to get both json and html responses (was using inertiajs not htmx) and it worked pretty well. You can use decorators on the api methods to set
4.
▲
by
rojoca
5y ago
Ira Glass has a practical take on the idea of exposing good taste (e.g. trying to paint like Bellini): https://youtu.be/X2wLP0izeJE where he talks about how your good taste informs you that the work you are doing doesn’t ye
5.
▲
by
rojoca
5y ago
In the unity announcement they go over some of the tools weta have created: https://blog.unity.com/news/welcome-weta-digital
6.
▲
by
rojoca
5y ago
Clojure has the as-> threading macro (probably borrowed from another lisp) where you can specify the placeholder: (as-> [:foo :bar] v (map name v) (first v) (.substring v 1))
7.
▲
by
rojoca
5y ago
Great, now the timeline is going to be full of "just tweeted X to my super follows, super follow me here: ...". Sounds like more ads. I guess in fairness you probably don't want to follow people who tweet like this but these
8.
▲
by
rojoca
5y ago
This is what state machines/charts are for. They prevent you from entering invalid states, and take responsibility for all changes in state.
9.
▲
by
rojoca
6y ago
You can’t do sm:hover:top-[-113px] in a style attribute
10.
▲
by
rojoca
6y ago
In NZ we have 2 levels, wholesale and retail providers. By law you cannot be both. The price paid by retail providers to wholesale providers is currently set by the commerce commission because the infrastructure being built and managed by t
11.
▲
by
rojoca
6y ago
I recently looked around to see if this was possible in gmail and found the following: https://github.com/garyholeman/CreateGmailFilters It has some limitations but mostly it was useful to learn that google app scripts
12.
▲
by
rojoca
6y ago
> Not censoring an idea and arguing that an idea should not be implemented are not equivalent. I'm not sure this is correct, but I'm willing to be convinced if you can expand a little more. I guess I see it as censoring the act
13.
▲
by
rojoca
6y ago
The following may seem frivolous and/or uncharitable but I think you would find them hard to disagree with: - booting people off platforms is a "bad idea" which you wish to "suppress". - booting people off platforms
14.
▲
by
rojoca
6y ago
A web service can provide a schema similar to a header file to define its API but there is no "standard" format for this schema, nor is there a standard location to look for such a thing. You can of course provide your own schema.
15.
▲
by
rojoca
6y ago
I created my own adapter for rest framework specifically. Currently trying to extract it from my project into its own library. Will publish to pypi when it’s ready. Repo[1] if you want to see the approach. Also, there is a fork of inertia-d
16.
▲
by
rojoca
6y ago
Since inertia runs in the same session context as your django app you can use django sessions as you would in a standard django app - in fact this is the goal of inertia. This even works with a django rest framework API
17.
▲
by
rojoca
6y ago
I totally understand people's preference to use Django templates wherever possible, and only sprinkle in more frontend focused stuff when needed, but personally, I would rather just write the whole frontend in React or Vue. This is pro
18.
▲
by
rojoca
7y ago
No, you just create a new card component and adjust the tailwind classes on it. Or, if it is a minor change, then conditionally include / exclude a small subset of tailwind classes. The point is to not write your own CSS, you only use
19.
▲
by
rojoca
7y ago
For js there are various implementations including this one: https://xstate.js.org/docs/ Here is an article by the author of this library with some justification for the appropriateness of statecharts in UI constructio
20.
▲
by
rojoca
7y ago
This arguably also punishes their competitors.
21.
▲
by
rojoca
9y ago
Also the source(?) of this change from instagram: https://engineering.instagram.com/copy-on-write-friendly-pyt...
22.
▲
The Humanity Star
(thehumanitystar.com)
5 points
by
rojoca
9y ago
|
1 comments
23.
▲
by
rojoca
9y ago
What about mentally ill people? People on medication that make them groggy? People who are drunk in their own home? People who are exhausted from a huge week at work? Children? Elderly? People cannot reasonably be expected to “stay calm” at
24.
▲
by
rojoca
9y ago
The other solution is to have mixed representation where a portion of the seats represent districts and the rest are allocated to match the proportions voted for by the state. In this case each voter gets 2 votes: 1 for their district and 1
25.
▲
by
rojoca
9y ago
Proportional voting is the only way to eliminate gerrymandering. Approval voting is great but single winner elections are always going to have gerrymandering issues.
26.
▲
by
rojoca
9y ago
Have to say they are very comfortable. The quality has improved a lot since the Kickstarter version. Not in SV; just a fan of the founder’s former football team.
27.
▲
by
rojoca
9y ago
One (unsuccessful) party in the recent NZ election proposed a tax on productive assets, including land and housing but excluding financial assets which would already be taxed. It would only be levied if those assets did not produce some min
28.
▲
by
rojoca
9y ago
> I'm not well-informed enough to say much, but imagine you have a local link in a small rural town that only support some absolute number of packets or whatever: if you have one big consumer that is eating the major part of that ev
29.
▲
by
rojoca
9y ago
https://github.com/Originate/git-town/blob/master/documentat... I think it would be good if the docs had the git commands that are run for a git-town command.
30.
▲
by
rojoca
10y ago
Honestly, so what? Something got built that wasn't the x-millionth rails app/clone and it made it into production. That's a good thing. Your comment seems to advocate never try anything new.
More ›