Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jayshua
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
jayshua
1y ago
I think it's important to note a couple of things about this. First, Casey offers refunds on the handmade website for anyone who purchased the pre-order. Second, the pre-orders were primarily purchased by people who wanted to get the i
2.
▲
by
jayshua
2y ago
Could you expand a bit on 'immediate mode design purity'? I've done immediate mode stuff from scratch and my experience had been "just write whatever code you need to get it to work," there hasn't really been a
3.
▲
by
jayshua
2y ago
This is not actually that difficult if you just want the basics. I have a project that implements just the x11 key & mouse events, and the shared memory extension in 400 lines of Rust. Was worth it for me since it eliminated dependency
4.
▲
by
jayshua
2y ago
Let's say I'm sorting some information about an event occuring in Florida, USA next year. It will be on July 4th at 3:00pm. I store this as an ISO string: "2025-07-04T03:00:00Z-5". Florida (and the USA as a whole) have b
5.
▲
by
jayshua
2y ago
Gilead claims that is false and that they spent 1.1 billion on developing Truvada. https://www.gilead.com/news-and-press/company-statements/gil...
6.
▲
by
jayshua
3y ago
Not sure if it could be extended here, but I've seen a lock free hash map that supported lock free reallocation by allocating new space and moving each entry one by one, either when the entry is accessed or in a separate thread concurr
7.
▲
by
jayshua
3y ago
I read this as mut1 and mut2 both being downgraded to shared references because they aren't used to mutate anymore. I'd imagine that's not what's actually happening though?
8.
▲
by
jayshua
3y ago
> anyone know of an IDE/tool that can spell check UI strings without tripping up on variable names Sublime Text works pretty well for me. I think you need to turn on spell check in the settings (off by default?) Then you can choose
9.
▲
by
jayshua
3y ago
What does a broken repo look like? What does broken mean here?
10.
▲
by
jayshua
3y ago
I use a similar technique for typing all the symbols. If I press f I get f, r gives me r, but if I press f and r at the same time with my left index finger positioned between the two keys I get $. w and s are {, e and d are }. All the other
11.
▲
by
jayshua
3y ago
Custom input map with extensive radial menus and layers.
12.
▲
by
jayshua
3y ago
Is this just an issue with the way the editor is presenting the LSP feedback to you?
13.
▲
by
jayshua
3y ago
I use an android (and iOS I think) app called Xodo. The "reader mode" re-flows the PDF into a screen-width single column like an e-book. The latest update really buried the option in the menus, but it's there somewhere and wo
14.
▲
by
jayshua
3y ago
Most teachers I know vastly prefer to grade on paper rather than digitally. Easier to just circle sections and write comments with a pen than deal with the review features in a document editor. I suppose they could print them out themselves
15.
▲
by
jayshua
3y ago
Usually it's done so that the teacher can tell how long the paper is without counting words. Times New Roman at x pt with 1 inch margins fits a well known average number of words per page. The assignment will usually be "write x n
16.
▲
by
jayshua
3y ago
I'm in the process of rearranging my keyboard due to occasional mild pain. Mind if I ask what layout you ended up with for the other keys? Any experience with the more esoteric arrangements like triggering modifiers when holding down t
17.
▲
Show HN: A daemon for writing Telegram bots in shell CGI style
(github.com)
2 points
by
jayshua
3y ago
|
0 comments
18.
▲
by
jayshua
4y ago
Yes, that's basically the rational that Jose Valim (or was it someone else?) gives when asked. I still document almost every defp function in exactly the same way I document regular public functions though. (Why is it here, how should
19.
▲
by
jayshua
4y ago
Idk, I think I still want them to be private. One example from just a few days ago was an ecto schema module that had a number of changesets. admin_changeset, director_changeset, manager_changeset, normal_changeset. Each one only differed f
20.
▲
by
jayshua
4y ago
I can still document them with regular comments, just not with @doc documentation "comments" because the compiler gives a warning that @doc can't be used on private functions. It just bothers me a bit that the stuff I'm
21.
▲
by
jayshua
4y ago
My only complaint is that I can't document defp functions. Yeah, they're not part of the public API. But in my non-library application the next developer coming along might need some info, and it would be nice to have it work the
22.
▲
A Brief History of Random Numbers
(sr.ht)
97 points
by
jayshua
4y ago
|
53 comments
23.
▲
by
jayshua
4y ago
My experience has been due to the type system, I agree. (Also the compiler enforced semver.) I've never had the opportunity to use type script, so maybe it does offer similar benefits to Elm in that area. That's extent my personal
24.
▲
by
jayshua
4y ago
I maintain a 50,000 line elm app. It's not the most used app in the world - has between 50-100 users. But it has had a sum total of 2 bugs since launch - both logic bugs in some complex financial projections. Contrast with an elixir ap
25.
▲
by
jayshua
4y ago
Outer Wilds (not to be confused with Outer Worlds) is the best game I've ever played. An extremely engaging discovery driven story game that's so well executed it puts most AAA titles to shame. It's one of those amazing exper
26.
▲
by
jayshua
4y ago
I had the same pain until I started using Firefox containers. Now I can persist cookies for just YouTube without keeping them for any other sites or making the Google cookies available to Google when I'm browsing other sites using the
27.
▲
by
jayshua
4y ago
The latest version of Sublime Text works kind of like that. It know the tokens that most commonly appear together in the folders you currently have open in the sidebar and prioritizes the suggestions popup based on that. Seems to work prett
28.
▲
Ask HN: How much do you pay for co-location in your local data center?
2 points
by
jayshua
4y ago
|
1 comments
29.
▲
by
jayshua
5y ago
I wonder if having only an IPv6 address would provide enough obscurity to be reasonably secure in this case? Or maybe those allocations are still to publicly guessable?
30.
▲
by
jayshua
5y ago
The type system can force you to handle both cases - the data being in the expected & typed form, and the data not being in the expected form. You would have a function like this: parseJsonString : String -> Result Error Person Where
More ›