HN user

afraca

156 karma
Posts0
Comments53
View on HN
No posts found.

When I learned Haskell in college I was blown away by how laziness enables cool things like dealing with infinite lists or more performance even though the UX is exactly the same. (Apparently with Ruby there is the slight hint of adding the lazy method in between)

Later I found out laziness in the whole system by default leads to some difficult issues, which quite a few people seem to agree with. Simon Peyton Jones (Haskell co-creator) apparently has said "The next Haskell will be strict". (https://news.ycombinator.com/item?id=14011943)

I have about 7 years of professional Laravel experience. I think it's quite slick! There is one aspect I haven't seen mentioned here that frustrates me: the community is quite eager to make new shiny things and forget about existing things. I feel the core framework doesn't get a lot of love anymore, and the same for some other packages. Something like Homestead got introduced as a huge thing, but got relatively quickly replaced with Sail and Valet it kind of seems. (Yes, they have a bit different corners, but I would say it doesn't justify a complete package) For authentication you have multiple packages that were introduced as the holy grail but now sit in an awkward spot with each other, and similar for frontend things packages.

Another small frustration for me is all the huge adjectives being used: - "Laravel Horizon provides a beautiful dashboard ... "

  - "Laravel Jetstream is a beautifully designed application... "

  - "Laravel Octane supercharges your application's performance..."

  - "Laravel Prompts is a PHP package for adding beautiful and user-friendly forms  ... "

  - "Laravel Reverb brings blazing-fast and scalable real-time WebSocket ..."

  - "Laravel Sanctum provides a featherweight authentication system ... "

  - "Laravel Telescope makes a wonderful companion ..."

  - "In other words, Valet is a blazing fast Laravel development environment ..."
I think it would we wise to do a bit of a cleanup and merging of official packages, and to not forget about the core framework. I think Symfony shows you can still do great additions even after many years like Targeted Value Resolvers [0]

You can see all the official packages clicking the "Ecosystem" button in the header of laravel.com

[0] https://symfony.com/blog/new-in-symfony-6-3-targeted-value-r...

I'm wondering: IS there a way to get to that video from the linked tweet without being logged in? I could not figure it out.

Thank you for your service of providing the video.

I find it quite odd and funny that the author specifically mentions Google, and his script has a function `def google_it(query):` but then in the function he uses DuckDuckGo. Is the author ashamed, or does he expect people to not trust DDG?

Wat [video] (2012) 3 years ago

I agree with my sibling comments, but want to add that nowhere does TS imply it has it's own stdlib or anything. If you type map, you know fully it's the JS map that's going to be executed. I don't think TS ever wants or could replace the JS stdlib.

Wat [video] (2012) 3 years ago

Some people might not know this yet, the common idiom is to have the default value be None, and then start your function with checking if it's None and initializing to empty list.

WSL 2 will be available on all SKUs where WSL is currently available, including Windows 10 Home. The newest version of WSL uses Hyper-V architecture to enable its virtualization. This architecture will be available in the 'Virtual Machine Platform' optional component. This optional component will be available on all SKUs.

I don't really grok this, does this mean Hyper-V will be available on Windows 10 Home? That's the only reason I am considering buying a pro license.

Slightly offtopic: Why a git repo for a blog post? I guess there are some pro's: public history, PR's , but a blog has comments directly under the article for example. Forking is not expected. Ah well, extensive information anyway, good work :)

In case you're worried this is outdated, note this is for version 10 of gcc (pdf is a pre-release) as stated on the frontpage of the document. I am curious how they plan to keep this updated, I could not easily find the repository for this.

My initial response to your comment was "but then the page requires JS", which of course is not true, since a simple inline form could POST and then a redirect could get you back.

I'm no webdev, I think JS has been hyped so much around me I forgot plain html can actually do things...

TypeScript 3.6 7 years ago

I applaud Microsoft for popularizing gradual typing , bringing types to the js world is an enormous task, both technical and (js-)societal.

Regarding your syntax criticism: I quite agree. I really really like the path chosen by Haskell. Types are obviously a major part of Haskell, but there you just separate the type signature from the implementation.

  emap :: (DynGraph gr) => (b -> c) -> gr a b -> gr a c
  emap f = gmap (\(p,v,l,s)->(map1 f p,v,l,map1 f s))
    where
      map1 g = map (first g)
(Of course there are other helping things like type synonyms, which TS also supports)
  type UPath   = [UNode]

Bravo to the people that can navigate such a complex (not an insult) architecture and pull useful information from it! I expect it to be quite tricky to get in between the production environment(s) and capture packets or change logging etc.

I did wonder though: the authors seemed a bit unsure about the relation between MaxStartups and resource usage, wouldn't it be wise to just send an email to the openSSH mailing list or something to not be surprised by possible future problems?

Blender 2.80 7 years ago

I enjoy removing technical debt, I can't image the satisfaction one would get from a commit like this:

https://developer.blender.org/rB159806140fd33e6ddab951c0f6f1... Showing 876 changed files with 228 additions and 193,524 deletions.

Another large cleanup was done on the "internal and legacy viewport" (I'm not familiar with the lingo, sorry), also so satisfying:

https://github.com/sobotka/blender/commit/51b796ff1528c52cc8... (only have the git mirror link, sorry) Showing 309 changed files with 1,687 additions and 84,075 deletions.

A prominent project where I have encountered this is GHC, the Haskell compiler. The route there goes: Haskell --> Core --> STG --> C--

(It then goes to one of: - Machine code generation - into C for feeding to gcc - into LLVM's intermediate representation. )