Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
_rend
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
_rend
4mo ago
To expand a bit, too, on how these definitions make side effects easier to represent in Haskell: One way to represent side effects in a purely functional language is to model them as if they aren't side effects, by representing them
2.
▲
by
_rend
4mo ago
Sure! "Box" here is used to just abstractly describe a value that contains other values. Let's take a list as an example: [1, 2, 3] :: [Int] Here, the "box" is a list, and inside of it are the values 1, 2, an
3.
▲
by
_rend
4mo ago
My personal alternative take to the usual monad tutorial — greatly simplified: "Functor", "Applicative", and "Monad" are all just generalizations of the concept of `map` and `flatMap`. 1. Something is a &qu
4.
▲
by
_rend
4mo ago
"Go ahead"?
5.
▲
by
_rend
7mo ago
This is awesome! Love to see something new in this space, especially so heavily inspired by QuickSilver. The UI is slick and fast, and the fuzzy matching (and the match UI itself) is excellent. If you're taking feedback, I've been
6.
▲
by
_rend
7mo ago
This is awesome! The design is slick, and it really does feel right at home on a portable device. Appreciate the work that went into this. Even more so, huge kudos for the performance tuning! The app launches instantly , so much so that I
7.
▲
Trump says he'll raise tariffs to 15 percent after Supreme Court ruling
(apnews.com)
17 points
by
_rend
7mo ago
|
9 comments
8.
▲
by
_rend
9mo ago
This is Swift, where Type? is syntax sugar for Optional<Type>. Swift's Optional is a standard sum type, with a lot of syntax sugar and compiler niceties to make common cases easier and nicer to work with.
9.
▲
by
_rend
1y ago
I personally much prefer screen width / 1.618, but to each their own
10.
▲
by
_rend
1y ago
For completeness, this description of alignment is misleading: > Well, dear reader, this padding is added because the CPU needs memory to be aligned in sets of 4 bytes because it’s optimized in that fashion. > ... > Remember: since
11.
▲
by
_rend
2y ago
> Which means if you actually edited those files, you might fill up your HD much more quickly than you expected. I'm not sure if this is what you intended, but just to be sure: writing changes to a cloned file doesn't immediate
12.
▲
by
_rend
2y ago
> Award-winning photo editing, graphic design and page layout software for Mac, Windows & iPad. They've supported Windows and iPad for years, too.
13.
▲
by
_rend
2y ago
Not at all: unless a license is provided, the code is fully protected under copyright and you have _no_ rights to copy it or use it in _any_ way you want (unless falling under "fair use" clauses for the jurisdiction you're in
14.
▲
Supreme Court rules ex-presidents have immunity for official acts
(apnews.com)
877 points
by
_rend
2y ago
|
1889 comments
15.
▲
by
_rend
2y ago
You're right, good question. At least partially, habit and muscle memory. I'm used to the keybindings, and the behavior for navigating tabs/splits/panes (across macOS, Windows, and Linux). But also, native splits/pa
16.
▲
by
_rend
2y ago
Zellij is pretty great, and I recommend others check it out. The UI is extremely slick, and getting a comfortable setup is nicer (to me) than tmux or screen. Unfortunately, it's missing one key feature that keeps me from using it as a
17.
▲
by
_rend
2y ago
I think it'd be curious to see the code, some example strings, and whether or not you compiled with optimizations enabled — if you're willing to share. There's no reason for this to have been the case.
18.
▲
by
_rend
2y ago
> Financially, a doctor won't notice it. Not all doctors make enough money to not notice it, especially ones earlier in their career. Regardless, assuming you have two working adults each paying the $15 toll once a day, conservative
19.
▲
by
_rend
2y ago
As a former NYC resident, and as someone whose family still lives and works in the city, I'm curious to see how this'll distribute traffic patterns throughout Manhattan. If you live in the outer boroughs like my family does, getti
20.
▲
by
_rend
3y ago
> A series of function calls that each do something and each returns a value. This is not what functional programming is. Functional programming is a completely different paradigm for writing code, and it _is_ declarative by definition.
21.
▲
by
_rend
3y ago
This wasn't obvious to me from the appearance of the page (I guess my screen is large enough that I didn't see the arrows in the bottom-right corner), but this site is actually a presentation. So, a heads-up in case anyone else ha
22.
▲
by
_rend
3y ago
You can even simplify this further by feeding `pbcopy` the key directly using file redirection instead of a pipe: `pbcopy < ~/.ssh/mykey.pub` (I use this all the time myself!)
23.
▲
by
_rend
3y ago
Not quite true, though while I was there, many fellow employees misunderstood the rules to mean that you couldn't use GPL software on your machine. At least as of a few years ago, the official ruling was that any open-source software _
24.
▲
by
_rend
3y ago
Only a few weeks, so the experience is still pretty fresh. :) I do like it, though: dead-simple once the setup was in place, and zero ongoing maintenance so far. My plan is to keep it entirely organic — so far have I've only really sen
25.
▲
by
_rend
3y ago
I recently found myself in exactly the same position for exactly the same reason, so happy to share my experience. :) I decided a priori to stick with email, both because I can't imagine email going away anytime soon, and also because
26.
▲
by
_rend
4y ago
If you don't want to download a separate app just for OTP codes, many password managers (like 1Password, which I use) can also store and sync OTP URLs/seeds, and can fill in auth codes like this along with your password. Highly co
27.
▲
by
_rend
4y ago
From the Download page[1]: > Copilot is implemented as a Embedded Domain Specific Language in Haskell. Currently Copilot 3.1 requires a version of the Glasgow Haskell Compiler (GHC) of at least 8.0 to be installed. So yeah, looks like Ha
28.
▲
by
_rend
4y ago
Only intentionally, via setup from a hosting app. If an app uses a WKWebView to display web content, it can use WKUserContentController[1] to inject scripts and additional content into the page dynamically, and can inject functions into JS[
29.
▲
by
_rend
4y ago
What sorts of improvements are you looking to make? What sorts of troubles are you having? Logic? Coherence? Sentence structure? Spelling/grammar? Finding your own style/voice, cadence, inspiration, etc.? Are you talking about lit
30.
▲
by
_rend
4y ago
I'm not sure if this is exactly what you're asking about, but submitting an app to the App Store currently performs pretty stringent checks on things the app does — including automated scanning for usage of private system APIs and
More ›