HNHacker News
TopNewBestAskShowJobs

samsaga2

366 karma · joined April 8, 2013

submissionscomments
samsaga2··on Nothing to watch – Experimental gallery visualizing 50k film posters
Nice idea, horrible interface
samsaga2··on ZX Spectrum graphics magic
https://web.archive.org/web/20250616030749/https://zxonline....
samsaga2··on Visual Studio 2022 – 17.10 Preview 1: Productivity, Debugging, Diagnostics
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).
samsaga2··on 50 Algorithms Every Programmer Should Know (Second Edition)
It jumps from basic graph algorithms to unsupervised machine learning. It's a "let's put shit that sells" book.
samsaga2··on Addictive cheap and controversial: the rise of China’s Temu app
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.
samsaga2··on Ask HN: Are there any good open source screen sharing tools with remote control?
My upvote for rustdesk. It's a great replacement for AnyDesk.
samsaga2··on Netflix loses 1M users in Spain over password policing
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.
samsaga2··on Demographics of Hacker News by country
It would be nice to divide the total users by the country population to see the hacker news impact per country.
samsaga2··on Ask HN: Why is Oracle still the best database?
Related: https://news.ycombinator.com/item?id=18442941

Fixing Oracle bugs, it's like a knightmare.

samsaga2··on Ask HN: Games suggestion for a 3 to 6yo child
Fornite for a 6yo kid?

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

samsaga2··on The model for coins in Super Mario Odyssey is simpler than in Super Mario Galaxy
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.
samsaga2··on Something Pretty Right: The History and Legacy of Visual Basic
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.
samsaga2··on Ask HN: Small scripts, hacks and automations you're proud of?
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.

samsaga2··on Ask HN: Guidance on writing a source to source compiler (transpiler)
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.
samsaga2··on Leveraging Rust and the GPU to render user interfaces at 120 FPS
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.
samsaga2··on Use GNU Emacs
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.
samsaga2··on Effortless Performance Improvements in C++: std:unordered_map
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.
samsaga2··on Make JDK source code UTF-8
Our software is utf8 and we have problems open files with accents characters. We have to convert the path strings before open a file.
samsaga2··on Regular Visual Studio versus ClangCL
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.
samsaga2··on Regular Visual Studio versus ClangCL
Resume, avoid Windows to compile anything.
samsaga2··on GPU Video acceleration in the Windows Subsystem for Linux now available
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.
samsaga2··on Ask HN: What is your favorite Tech Podcasts these days?
I like a lot https://signalsandthreads.com/.

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

samsaga2··on Slow File Transfer on Windows
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.
samsaga2··on Ask HN: How to get better at spoken English?
I respond to myself. https://disboard.org/es/servers/tag/english-learning?sort=-m...
samsaga2··on Ask HN: How to get better at spoken English?
There is some app/web to speak with strangers to learn English? No general chat web, a specific one oriented to learn the language.
samsaga2··on Ask HN: Why don’t web browsers answer cookie questions?
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.

samsaga2··on Microservices are hard
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.
samsaga2··on MSVC: The Devourer of Const
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).
samsaga2··on MSVC: The Devourer of Const
I don't care very much about the MSVC bugs. The problem is that compiler is very slow. Our 800 c++ files project takes 25 minutes to compile with MSVC, and 15 minutes with clang (Windows 10 with antivirus disabled and using cmake+ninja).
samsaga2··on Ask HN: Is structural editing considered mandatory for Lisp?
I don't know what editor you are using, but I think you really need a parenthesis plugin. Something like paredit for emacs. A single parenthesis in a line is a waste of space and makes the code harder to read. Once you know how to move it cross lisp, the parenthesis is a blessing. You can remove or move whole blocks of code in a fraction of a second.
Page 1 of 4Next →