News for hackers. Stuff that matters.

lshevtsov

The "OG" fake SMTP as a service would be Mailtrap [1].

[1] https://mailtrap.io.

Show HN: A rich daily digest feed for Hacker News

https://feeds.leonid.codes/hacker_news.html

I made a feed that contains rich information from every article (title, description, image), and also from the Hacker News discussion.The feed is very convenient for reviewing Hacker News content weekly and picking what to read out of the myriad of articles.The backend is Ruby on AWS Lambda, with the brilliant [metainspector gem](https://github.com/metainspector/metainspector) to extract rich...

( Read More... | no comments | on HN )
Re:Hegel – An advanced static type checker for JavaScript on Thursday October 27, 2022 @09:18AM (#33357037)
It's because it is not proven that element with the index 1 exists. Even TypeScript enforces bounds checking these days.

As for the first one - as i understand, this will spoil the original array, as it is assigned by reference; so by writing the string into `numbersOrStrings`, you also write it into `numbers`, thus violating the type.

Re:Taking Children Seriously on Sunday December 10, 2017 @12:29AM (#15890106)
But why didn’t you give her the ice cream in the first place? Perhaps, because of a rule? Perhaps that rule was not so bad after all?
Re:A Killer Adversary for Quicksort (1999) [pdf] on Friday October 30, 2015 @07:48AM (#10477246)
I made an implementation of this algorithm as a university assignment;

here's a vanilla implementation of Quicksort https://github.com/leonid-shevtsov/uni-programming/blob/mast...

and here's the function to generate data that causes the custom implementation to go O(n^2) https://github.com/leonid-shevtsov/uni-programming/blob/mast...

Re:Anti-Web-Design Manifesto (2013) on Friday August 28, 2015 @02:16PM (#10137033)
This reminded me of Dogma 95, a similar manifesto for film directors. https://en.wikipedia.org/wiki/Dogme_95

It's not practical, but something uniquely valuable can be grown from the constraints.

Re:The Fastest Blog in the World on Monday August 03, 2015 @06:57AM (#9994898)
Or better yet, search right from the location bar of any modern browser, without any intermediary pages.
Re:A new way to lock your computers: just walk away on Tuesday January 20, 2015 @01:57PM (#8918718)
And if you have a MacBook, you can just shut the lid.
Re:Patch to Log SSH Passwords – One Year Results on Thursday November 20, 2014 @07:02AM (#8635314)
Another choice is port 8080.
Re:Announcing mails_viewer - easiest way to test mails in Rails app on Thursday September 20, 2012 @03:14PM (#4550189)
There's also Mailtrap http://mailtrap.io/ that prevents test emails from getting to real addresses, and collects them on a server where they could be viewed by every member of the team.
This. Having a paragraph of explanation text for each line is not a replacement for source code that is readable by itself.

I understand, though, that explaining each and every line of code was done for the sake of learning C.

Re:Tell HN: RAM Requirements are going through the roof on Saturday January 28, 2012 @12:30PM (#3522604)
What are you panicking about? A gig of RAM costs less than a fast food meal nowadays.

EDIT: and the cost of programmer hours required to save a gig of RAM is orders of magnitude more.

Re:Vim ported to iOS on Friday January 20, 2012 @01:19AM (#3488577)
How exactly would going through 2 keyboards to switch modes work in a practical situation?
I'm a remote Ruby developer. Most of our team is on-site.

My main problem is: online communication makes discussion much more complicated than face-to-face, so you don't contribute as much ideas when people brainstorm or otherwise solve creative problems. If you have a lot of ideas, that can be depressing.

I visit the office several times a year, mostly to share thoughts and socialize.