News for hackers. Stuff that matters.

978e4721a

Re:Java is better than C++ for high speed trading systems on Thursday November 26, 2020 @03:46AM (#25218137)
Well, now there's Rust. So Java isn't best technical (performance, safety, correctness) choice for most applications.
Re:Write Code Like You Write a Recipe on Wednesday November 18, 2020 @06:22AM (#25135547)
I completely agree. One thing I would add that you shouldn't anticipate abstractions, but find them through business domain analysis. Exactly like OP missed that there's ingredients, recipe and equipment.
Re:macOS unable to open any non-Apple application on Saturday November 14, 2020 @03:24AM (#25091013)
Hibernation. External monitor support is buggy. Pulseaudio is buggy with external microphone. IR camera face login isn't supported. Fingerprint scanner isn't working properly at login after sleep. Sound from internal audio is much worse than was on Windows. No app I know of can reliably share screen on Wayland.
Re:macOS unable to open any non-Apple application on Saturday November 14, 2020 @03:01AM (#25090929)
Good battery life? You must be joking? Less then 4 hours of light usage on x1 carbon gen 8. No hibernation.
Re:Assorted Thoughts on Zig and Rust on Tuesday October 20, 2020 @03:21PM (#24841338)
Rust restricts compile time code to what t can prove.

Exactly! That's a feature. Rust is a step forward to a future where code is based on sound theory (type Theory) not on some ad-hoc "seems to be working" basis.

Re:The Era of Visual Studio Code on Wednesday September 23, 2020 @01:59AM (#24563472)
Don't forget it cam sync your configuration or let you sync it yourself as a file.
Re:The Era of Visual Studio Code on Wednesday September 23, 2020 @01:56AM (#24563448)
Intellij is always too buggy and slow for me. Things it helps you with - it's a language verbosity problem. Ideally you should just use better language.

And they also stopped bringing any more advanced features, like refactoring from null to Optional for example, or reversing template method.

If we're talking about java specifically vscode and vim would just use eclipse language server which can do most of the things intellij can like refactorings and snippets. And for other languages like python ms language server is even better than pycharm for example.

Re:What killed Haskell, could kill Rust, too on Saturday September 12, 2020 @04:09AM (#24450800)
IMHO

The only problem with Haskell is that it's on a journey to dependent types and they haven't released new standard yet.

It's future will depend on how good that future standard will be.

Rust is becoming more popular than Haskell because It's in a different niche (no gc). Not because it's more productive to write Rust code.

Haskell is still much easier and faster to write than any other production language.

Try to compare merge function for merge sort in Haskell and in other languages.

Re:Bringing the print statement back on Wednesday July 15, 2020 @05:38AM (#23843019)
Just add partial application and haskell lambda syntax.

Many think think that python already lost almost everything that it was loved for initially. So why not change it more drastically

Yeah, bad tools shouldn't justify bad decisions. Build better tools god damn it.
Jesus, what a bullshit. It's not about screen size, it's about reading experience. If you think that longer lines making something easier to read - try to read non-trivial book with 100 characters width.
Re:Oracle vs. PostgreSQL – A Comment on Saturday May 30, 2020 @11:37AM (#23361862)
Is vacuumin postgres still basically means that you need downtime?
Re:GitHub Codescanning on Thursday May 07, 2020 @03:02AM (#23100467)
Another electron app, nothing to look at here.
Hands up if you use cli and format SQL with python-sql-format/README.md at master · longgb246/python-sql-format https://github.com/longgb246/python-sql-format/blob/master/R...
Where's Linux version? Does editor has vi bindings? People should stop building database IDE without vi bindings.
Re:Ask HN: Programs that saved you 100 hours? on Monday April 13, 2020 @03:11AM (#22853772)
Multicurors aren't replacement for macros in the same sense as loops aren't replacement for recursion.
Re:I can't keep up with idiomatic Rust on Thursday April 09, 2020 @03:24AM (#22820508)
I recently had a thought, that language team should provide automated migration tools for such things. It woukd made python 2 to python 3 switch much easier and faster, that applies to rust even more.
For God sake generics is just a function over types. Use () like Haskell do.
Wouldn't bother me. Privacy should be reserved to your home.
Re:Type inference has usability problems on Friday June 28, 2019 @02:16AM (#20301913)
Somehow lack of types in source code isn't making programming in python harder for most people. And if you need to know the type of something your IDE should help with that. And yes, you should use IDE/language server in our age, because it makes you more productive.
Re:Ask HN: Who wants to be hired? (June 2019) on Monday June 03, 2019 @03:49PM (#20087662)
Location: Moscow/Russia.

Remote: Preferable.

Willing to relocate: Can consider relocation, but prefer remote.

Résumé/CV: https://send.firefox.com/download/185201b100c0e837/#XsOFGge1...

Email: [email protected]