Viewing profile — throwaway858
throwaway858
HN member- Joined
- Mon, Jun 21, 2021, 2:02 AM UTC
- HN karma
- 308
- Public activity
- 48 items
- HN profile
- View on Hacker News ↗
About throwaway858
No profile information was provided.
Recent public activity
-
comment
Comment #38693129
The current implementation is not memory safe. Go uses 128 bit structs for interfaces and slices and assumes that they are updated atomically (when they are not). It's possible to …
-
comment
Comment #38187889
Haskell has equivalents to all of those libraries, and much more. And they are probably easier to use and more powerful.
-
comment
Comment #38167009
The technique for "Make a textarea auto-expand" is obsoleted by a new CSS property("form-sizing"): https://chriscoyier.net/2023/09/29/css-solves-auto-expanding... Even without usin…
-
comment
Comment #37784527
IHP is a batteries-included web framework similar to "ruby on rails" for Haskell, with strong static typing. The website has lots of information and videos and beginner tutorials. …
-
comment
Comment #37463255
Thanks for this link. It seems to confirm things: "aren’t Conduits and Transducers then equivalent (isomorphic)? I am pretty sure they are." I view this as a good sign. When two in…
-
comment
Comment #37459157
I'm not sure why the parent was downvoted, this sounds exactly like the Haskell conduit library (or indeed plain laziness if you don't need IO).
-
comment
Comment #37458332
The shake build system (a general-purpose build system similar-to/better-than make) has a "prune" feature for exactly this purpose: http://neilmitchell.blogspot.com/2015/04/cleanin…
-
comment
Comment #36035088
This reminds me of how book stores "return" unsold books to the publisher: Shipping boxes of heavy books costs a lot of money, and the publisher doesn't actually need the books bac…
-
comment
Comment #35992380
There is this for Haskell, which automatically converts all shell commands (like "ls") to regular Haskell functions: https://chrisdone.com/posts/shell-conduit/ It uses a Haskell st…
-
comment
Comment #35992206
If you ever need to use GNU make (still a popular tool) then you will be glad that you kept a policy of avoiding spaces in file names. There are places in Makefiles where no amount…
-
comment
Comment #35172453
There is no reason to believe that the AI will have self-preservation or self-replication as its goal. One hypothetical example: it decides to "help" us and prevent any more human …
-
comment
Comment #34266384
A common case is when you need to add logging to a function. There are 2 ways: 1. You cheat and use unsafePerformIO. This is discouraged and I won't go into the details. 2. You con…
-
comment
Comment #34228564
> A "function" is a "function" if it always returns the same result for the same arguments, right? Yes. This matches the definition of a mathematical function that I gave above. > …
-
comment
Comment #34217242
That is not the definition of FP. There is no definition of what FP is that is agreed upon by everyone, but the key is the word "functional" in FP. This comes from a mathematical f…
-
comment
Comment #33945205
It could be done if the thief, after having been found guilty, is then forced to pay a fine equal to the cost of the investigation and court costs. Yes, this could end up being a f…
-
comment
Comment #33471659
This isn't how it works. If a website is hosting content that infringes on some NDA, then you are supposed to sue the website (and not the person who posted it to the website -- wh…
-
comment
Comment #33385678
For every React there are 1000 other open source projects run entirely by volunteers. I am curious if there is actual data on the number of man-hours that are spent on open source …
-
comment
Comment #33385643
Lots of open source projects have a foundation that manages the money. The foundation decides how to allocate the funds based on what they think will provide most value to the comm…
-
comment
Comment #33309889
The Go runtime (and GHC runtime) use epoll from multiple threads and don't use SO_REUSEPORT and are highly efficient. I do believe that they use one epoll per thread.
-
comment
Comment #33012318
The consumer did not actually agree to the terms of: "I, the consumer, will pay you $XX to download the film to my device, but you can delete it from my device at any time in the f…
-
comment
Comment #33009659
The one big thing missing from dedicated hosts is an S3 equivalent. Sure, you can get a huge hard drive for cheap but this will not have the durability requirements for storing you…
-
comment
Comment #32973785
> we've been re-inventing the same concepts in computing since the 1960s. I think a lot of the re-invention is really being driven by hardware capabilities, languages and fashion. …
-
comment
Comment #32033555
I think the Haskell bindings for wxWidgets is pretty good https://hackage.haskell.org/package/wx
-
comment
Comment #31980960
> 4% of the world population, and most of this site's users, live in the USA Does HN publish this statistic? My guess is that >50% of users/traffic to this site is outside of the U…
-
comment
Comment #31970108
This can result in a broken master if there were new commits added to master since the pull request was submitted (but before it is merged). The solution is to require that all PR …