Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sasmithjr
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
sasmithjr
4mo ago
> Once they no longer write about it, what then? The AI will no longer be able to reproduce new a11y conventions/guidelines, but if no one is writing about it, do any new a11y conventions/guidelines even exist at that point?
2.
▲
by
sasmithjr
4mo ago
I love Costco, but I get it. My wife and I always joke about how we can't leave without spending at least $100, and how that's only like 7 items sometimes.
3.
▲
by
sasmithjr
10mo ago
> .NET is certainly better than Python, but I'm not very happy with the type system and the code organization versus my Rust projects. Have you given F# a whirl?
4.
▲
by
sasmithjr
10mo ago
> So there must be some other reason you didn't get revenue? Right. I think my biggest takeaway from this article is that another engineer discovered that sales and marketing are important and difficult jobs.
5.
▲
by
sasmithjr
11mo ago
You can write a helper method (or use FsToolkit.ErrorHandling[0]) to simplify the F# example to: let Foo () = getData() |> Task.map _.value And it'll be easier to work with the .NET ecosystem if you use the task computation
6.
▲
by
sasmithjr
1y ago
For me, AI code generation for F# has been pretty good! There's one annoying thing Opus/Sonnet do (honestly don't remember what other models do): use old syntax for array indexing. values.[index] // Old way of i
7.
▲
by
sasmithjr
1y ago
I didn't look at the URL at first and was surprised when this turned in to an ad. Oh well! > Stop selling "unlimited", when you mean "until we change our minds" The limits don't go in to affect until August
8.
▲
by
sasmithjr
1y ago
> sasmithjr was apparently trying to defend babysitting A.I. by making an analogy with mentoring juniors I regret adding that last bit to my comment because my main point (which I clearly messed up emphasizing and communicating) is that
9.
▲
by
sasmithjr
1y ago
I don't think it's an exclusive choice between the two, though. I think senior engineers will end up doing both. Looking at GitHub Copilot's agent, it can work asynchronously from the user, so a senior engineer can send it of
10.
▲
by
sasmithjr
1y ago
> [Dugan allegedly] escorted the them through a private back door to avoid arrest. According to the complaint [0] on page 11, Flores-Ruiz still ended up in a public hallway and was observed by one of the agents. They just didn't cat
11.
▲
by
sasmithjr
2y ago
The only thing that might be tricky about FizzBuzz is if the person doesn't know about the modulo operator. I can't remember the last time I used it in production code; I use it far more thinking about FizzBuzz than I do anywhere
12.
▲
by
sasmithjr
2y ago
I agree people should be able to design things property, but I'm not sure this ramp is actually a good example. It might be! But no one is talking about an obvious issue for any ramp that would exist in that photo: it is merging bikes
13.
▲
by
sasmithjr
3y ago
For another perspective, if you put 22.5lbs on each side of the bar, you wouldn't call that a "1 plate" lift even though both sides add up to 45 lbs. There are no plates involved in the lift, thus it's not a "1 plat
14.
▲
by
sasmithjr
3y ago
> But nothing is stopping you from running Postgres in a Docker container, and wrap it in a unit test with the technology of your choice I agree. I'm in .NET land, I use EFCore as my ORM, and I use EFCore's migration features.
15.
▲
by
sasmithjr
3y ago
> Heating up water quickly is almost never a use case. It'd be helpful for my household for hot water for coffee and tea, and it'd also help us for heating up some extra water for grits or risotto when they need more. Also, isn
16.
▲
by
sasmithjr
3y ago
I cannot stress enough that I think your second bullet is missing the point by a country mile. The Substack post is specifically talking about Nazi viewpoints, not "bad" viewpoints for some shifting definition of bad. And because
17.
▲
by
sasmithjr
3y ago
> No builders there wanted this except one I guess (llya). Ilya signed the letter, too, and has posted an apology[0]. [0] - https://nitter.net/ilyasut/status/1726590052392956028?s=20
18.
▲
by
sasmithjr
3y ago
> Especially with risk of myocardiitis predominant in young males? Isn't the risk of myocarditis worse from COVID than the vaccines? From [1], "In this systematic review and meta-analysis, we found that the risk of myocarditis
19.
▲
by
sasmithjr
3y ago
In my mind, the difference between errors-as-values and exceptions is most useful when describing domain-specific errors and other issues that you have to handle in support of the domain/problem space. To me, domain errors make sense a
20.
▲
by
sasmithjr
3y ago
It's possible that you could end up with your example as given, but I think you could organize it differently so that it has your handling while also maintaining the same basic top-level pipeline. Given what you've specified, I mi
21.
▲
by
sasmithjr
3y ago
a <- 4 // Assignment, valid This is a compiler error because you haven't made your variable mutable. Also, I actually like that initial assignment and equality testing both use =. I think of `let a = 1` to be les
22.
▲
by
sasmithjr
3y ago
The article quotes that tweet in the third paragraph. It doesn't link to the tweet, but the contents of the tweet are included word-for-word. And then in the next paragraph the article notes the view and retweet counts that the tweet r
23.
▲
by
sasmithjr
3y ago
> because the CoC allows this. Project owners could do this before the CoC was created, and even if the CoC explicitly disallowed it, the project owners could do it anyway. The existence of the CoC changes absolutely nothing about what t
24.
▲
by
sasmithjr
4y ago
What was the content of the "handled" tweets, though? I think that matters a lot. For example, the RealJamesWood tweet (from [0]) seems to be a leaked nude of Hunter; it was most likely (safe to say) posted non-consensually, and I
25.
▲
by
sasmithjr
4y ago
I love using Unquote[0] in F# for similar reasons; it uses F#'s code quotations. Assuming the variables have been defined with the values you state, the assertion is written as: test <@ width > 0 && x + width < scr
26.
▲
by
sasmithjr
4y ago
Have you read Section 230? If so, which section/paragraph of it do you believe supports your understanding of it?
27.
▲
by
sasmithjr
6y ago
You can use F# in WebAssembly, too, via Bolero[0]. [0] https://fsbolero.io/
28.
▲
by
sasmithjr
7y ago
Look at the decimal type; it's less performant, but you'll avoid floating point issues. https://docs.microsoft.com/en-us/dotnet/api/system.decimal?v...
29.
▲
by
sasmithjr
7y ago
EEE is when a proprietary addition is made that affects interop with other conformant implementations of an open standard. This privacy feature does not alter how Chrome, FF, or Safari will render HTML or run Javascript, so it is not EEE. T
30.
▲
by
sasmithjr
7y ago
The email service I use has a library that allows me to set the Host as a constructor parameter, so I have an EmailHost environment configuration value that I change. It's localhost for dev/testing and set to the correct host for
More ›