News for hackers. Stuff that matters.

samsaga2

Nice idea, horrible interface
Visual Studio C++ programmer here. My Visual Studio crashes depends a lot on the last update. Some updates work correctly, another ones have a lot of crashes. Now I have like three or four crashes per day with the last one (no problem with the previous one).
Re:50 Algorithms Every Programmer Should Know (Second Edition) on Wednesday January 03, 2024 @03:52AM (#38852039)
It jumps from basic graph algorithms to unsupervised machine learning. It's a "let's put shit that sells" book.
I don't see those cheap prices advertised everywhere. I see very high discounts in which the final price ends up being the same price as on Aliexpress.
My upvote for rustdesk. It's a great replacement for AnyDesk.
Re:Netflix Loses 1M Users in Spain over Password Policing on Wednesday April 26, 2023 @04:54AM (#35711054)
You have to tell to Netflix what Wi-Fi network are you using (your usual Wi-Fi is assigned by default). If your device doesn't connect to that Wi-Fi network at least once in a month, your device is blocked. You can still share accounts using a personal VPN network.
Re:Demographics of Hacker News on Friday April 14, 2023 @07:18AM (#35568153)
It would be nice to divide the total users by the country population to see the hacker news impact per country.
Re:Ask HN: Why is Oracle still the best database? on Friday March 31, 2023 @03:35AM (#35383877)
Related: https://news.ycombinator.com/item?id=18442941

Fixing Oracle bugs, it's like a knightmare.

Re:Ask HN: Games suggestion for a 3 to 6yo child on Tuesday March 21, 2023 @05:26AM (#35244101)
Fornite for a 6yo kid?

Also, my advice is to try to avoid Roblox. They are incredibly aggressive in asking for money (Robux).

The model is simpler, but the render is substantially more complex. You need an high poly model, extract their normal map, convert it to a simpler one and then render the simpler model with a texture and the precalculated normal map through a vertex/fragment shader.
Microsoft killed Visual Basic on purpose. They wanted to force everyone to move to c# because they were afraid of Java and wanted to compete against their market.
I crashed the school server several times with a bomb fork long before I even knew they already existed. It was a very simple script.

I stopped doing it because every time the server crashed through no fault of my own, everyone turned to look at me.

If the languages are similar:

  1. Tokenize
  2. Build AST tree
  3. Emit target code from the AST tree
If they are very different:

  1. Tokenize
  2. Build AST tree
  3. Create a simple intermediate language from the AST tree
  4. Emit target code from the intermediate language
It is the same as building a whole compiler, but without the optimization/register allocator passes.
Smooth animations and performance. Draw a big image with Win32 BitBlt it's painful slow, for example. Imagine that you are zooming an image in Photoshop and it is laggy, the user experience would be horrible. Also, the lag is an important issue in the user interface, even something so small like 100ms would be bad.
Re:Use GNU Emacs on Friday March 03, 2023 @04:41AM (#35007601)
I work with Windows version of Emacs and works pretty well (c++ with lsp-mode). I'm using Emacs Doom with antivirus disabled. The Linux version is faster than the Windows one, but it's very usable. The main problem is git, it's slow as fuck on Windows. An operation that in Linux takes less than a second on Windows takes a couple of seconds. Magit is slow on the Windows version, it makes a lot of different commands in background.
I always listened that unordered_map is more cache friendlier than map. My intuition tells me unordered_map is better to iterate, and map is better to random access.
Re:Make JDK source code UTF-8 on Wednesday March 01, 2023 @02:00AM (#34979533)
Our software is utf8 and we have problems open files with accents characters. We have to convert the path strings before open a file.
Re:Regular Visual Studio versus ClangCL on Tuesday February 28, 2023 @03:23AM (#34966968)
Calculate the build time of the same source code on Windows and Mac or Linux and take your own conclusions. The game industry is attached to Windows, not because it's better for programming. It's because of the drivers and the available tools.
Re:Regular Visual Studio versus ClangCL on Tuesday February 28, 2023 @12:55AM (#34966140)
Resume, avoid Windows to compile anything.
My problem with WSL is the performance. A real Linux is a lot faster, even a Linux in VirtualBox works a lot better. Maybe only happens to me.
Re:Ask HN: What is your favorite Tech Podcasts these days? on Friday January 20, 2023 @05:48AM (#34451277)
I like a lot https://signalsandthreads.com/.

Also, Lex Fridman https://www.youtube.com/c/lexfridman when he interviews people like John Carmack.

Re:Slow File Transfer on Windows on Thursday January 19, 2023 @02:53AM (#34437794)
Windows has the robocopy command. It is something like rsync, and it's faster than a normal copy. You have to enable multithreading with the /MT:n parameter.
Re:Ask HN: How to get better at spoken English? on Wednesday January 18, 2023 @08:30AM (#34426381)
There is some app/web to speak with strangers to learn English? No general chat web, a specific one oriented to learn the language.
Re:Ask HN: Why don’t web browsers answer cookie questions? on Wednesday January 18, 2023 @05:33AM (#34425241)
I don't know why they're still tracking us. I never ever has consciously clicked in an ads banner. All my ads clicks have been my mistake.

They never get it right with the products they offer me. If I buy a car, why are they still offering me more cars? It's clear that I will not buy any more. There is no way they can track that I have already bought a car.

Every time I try to see a YouTube video and I have to wait because of the ads, I got angry. The product I'm seeing on the screen is associated with my anger and makes me hate that product even more.

There is a whole industry around tracking users that, I think, simply does not work as they sell, and it will never do.

Re:Microservices Are a Big Ball of Mud on Wednesday January 11, 2023 @08:33AM (#34338197)
Scalability and stability. You need to process more requests? Launch more virtual machines, easy. Your microservice is a shit and it crashes every second? Don't care, it will be relaunched automatically.
Re:MSVC: The Devourer of Const on Wednesday January 04, 2023 @06:40AM (#34244441)
Shitty computer plus SDD almost full. I have tried cmake target_precompile_headers, but it doesn't seem to work correctly with some third vendor libraries we are using (precisely the largest ones).

Older »