News for hackers. Stuff that matters.

bitt

I have a friend who I consider to be tech savvy and very smart. He couldn't get "coding". Dropped the class and switched major (I know this is anecdotal). It's not for everyone [0]. I agree that it has gotten simpler, but it depends on what you're doing. Some developers "glue together a bunch of Free Open Source offerings" and some need to do a lot more than that.

[0]https://blog.codinghorror.com/so-you-dont-want-to-be-a-progr...

Re:Bleve: Full-text search and indexing for Go on Monday April 08, 2019 @11:52AM (#19606317)
Looks very interesting. How does it compare against sonic https://github.com/valeriansaliou/sonic
There are certainly a few legitimate use cases. There should be an enable desktop notifications button or something similar in those cases.
Websites should not ask users for permission notifications. It only annoys the people using it. It is a bad idea!

If users are interested enough in your content, they will find a way to opt-in for notifications like email; an opt-in for notifications button or even RSS. Why would website owners assume that users want to get notifications only after 5 seconds of visiting a random site?

Re:PHP 8 to Add a JIT on Sunday March 31, 2019 @01:56PM (#19537043)
PHP is doing great! I like the direction it is going in. PHP 7.4 also introduced nice features to improve static typing. The FFI is pretty cool too. You also get free performance improvements while remaining mostly backward compatible. It is trying very hard to stay relevant and I believe it is succeeding.
Re:V Playground on Friday March 29, 2019 @11:13PM (#19527443)
This is interesting! I am looking forward to the open source release. Some of the projects built with V also appear to be quite nice. The author has put a lot of effort into this it seems.
Re:V Playground on Friday March 29, 2019 @10:57PM (#19527370)
> the language itself is essentially a transpilation (a direct rule based conversion without an AST) to x86 so no other platforms can be supported.

Hmmm I'm not sure if this is true but he says that "V can compile to (human readable) C, so you get the great platform support and optimization of gcc and Clang."[0]

[0] https://github.com/vlang-io/V#run-everywhere

Re:Why We Love QUIC and HTTP/3 on Sunday March 24, 2019 @03:25PM (#19478234)
Blocking IP addresses can be very problematic though.

If I understand it correctly, I think that countries might start to block ESNI altogether. If it is not widely implemented, websites/apps using it will standout which sadly could limit its adoption. For instance, if Signal decided to use ESNI, it will probably get blocked in those countries, but this can change if big companies wanted to use it. However, I still don't know how it will work exactly.

Re:Facebook Loses Top Executives, Including Chris Cox on Thursday March 14, 2019 @08:45PM (#19395398)
Duckduckgo seem to have a good way to make money without compromising privacy [0].

I'm certainly not an expert on this subject but monetizing based on relevant content is reasonable. You can still make money without gathering a tremendous amount of user data.

[0]https://duck.co/help/company/advertising-and-affiliates

Re:Redesigning GitHub Repository Page on Thursday February 28, 2019 @08:19PM (#19277156)
> it’s time to fresh it up a little? Get rid of gradients, dirty washed-out colors, unnecessary separators, add a little more air. Something like this:

I'm not sure I agree with this. Gradients are not bad because not everything has to have a flat UI. Also, separators can be very effective if used correctly. IMO, I think a huge part of Github's success is it's user experience compared to Google code, Codeplex and others that did not continue.

Re:Show HN: Expensive Chat – Pay one cent per letter on Thursday February 28, 2019 @08:51AM (#19271273)
This sounds really fun! It is one of those ideas that when you first hear it doesn't make a lot of sense. I'm not sure how it will handle transaction costs though. It might be better to allow a minimum of $1 to be added in credits and use that to charge for letters.
Re:C Macro Magic on Thursday February 28, 2019 @08:43AM (#19271242)
I'm not sure of all the valid use cases for macros, but I think they are useful when you need to do something simple. For example, a debug flag to run some code like verbose logging but you don't want to include that in the release binary. C# has preprocessor directives but I wish that java had something similar. I guess this is different than complex micros though.