HNHacker News
TopNewBestAskShowJobs

bicolao

257 karma · joined December 25, 2012

submissionscomments
bicolao··on The Problem with C (2020)
> one does not simply make pointer arithmetic by accident

I'm not sure about that. This has bitten me a few times (in more complicated form)

    "hello " + 12
bicolao··on Tinyssh
You don't even need scp if you go for minimalism. ssh and cat work fine (add tar on top for multiple file transfer).
bicolao··on Ext4 almost got a snapshoting feature
[2011] should be added. I thought this was new.
bicolao··on Epic launches anti-cheat support for Linux, Mac, and Steam Deck
Least expected indeed. To me those two only come together if opposites attract. Although a queen marrying an (originally) dark eye? Definitely counted as an upside in Jasnah's eyes.

If they do marry I hope Brandon makes a sequel like Mistborn 2 and we'll see what a descendant of Jasnah/Kaladin could do.

bicolao··on Epic launches anti-cheat support for Linux, Mac, and Steam Deck
Branding is important and an ordinary person (I think) will hear more about Steam Deck than Linux. And it makes sense that it's in its own category (or rather, game console category) because it's made for that purpose. The fact that you can do whatever you want with the HW is just a bonus.

PS. Nice user name. But why pair those two? :D

bicolao··on GitHub Copilot is ‘unacceptable and unjust,’ says Free Software Foundation
Is that true with functional languages? I can see a class of buggy code that can be very hard to write. But maybe I'm not seeing the whole picture.
bicolao··on New in Git: switch and restore
The two are added with some extra protections. Something that cannot be done with git-checkout without breaking scripts.

I believe git-checkout could silently overwrite data in one case (can't remembe the details). And git-swith will stop you from moving the branch when you're in a middle of a rebase or other multi-command operations. It also tries to avoid entering detached HEAD mode by default.

It's definitely geared towards newcomers. But even I'm glad it catches me from doing stupid things from time to time.

bicolao··on New in Git: switch and restore
Well, I'm him :) I actually left Git. And it looks like nobody has picked it up since. So it's going to be forever "experimental" [1] until either someone starts doing something, or deletes the whole thing

[1] The experimental status is not because it's unstable but rather to allow us (or now, them) to change the UI design based on feedback if we got it wrong (again!).

bicolao··on New in Git: switch and restore
-- in git is usually used to mark the end of options. After --. --foo means an argument --foo, not the option --foo.

Git checkout and a few other commands also use it to separate branch and the rest of paths, because you could specify like this

    git checkout branch path1 path2
    git checkout path1 path2
    git checkout branch # what if there's a file named "branch"?
-- help disambiguates that by being between the branch and the paths, so

    git checkout branch -- # always checkout a branch
    git checkout -- path1 path2 # always checkout paths
    git checkout branch -- path1 path2 # same, but disable disambiguation logic
bicolao··on New in Git: switch and restore
You don't need -- as much in the "git restore" example. With git checkout it may be necessary to separate the branch and the paths with "--" but since "git restore" does not take a branch (except with -s), doing this is totally fine

    git restore test.txt
bicolao··on Squashfs turning 20, Squashfs tools 4.5 released
And this one in particular says decreases boot time by ~40%

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...

bicolao··on Vboxsf fixes for 5.14-1
I'm trying to find it without success, does udf support journaling (or some form of recovery after an unclean reboot)?
bicolao··on Why do we use R rather than Excel?
> 5. Scroll to the last file, and Shift+Click it.

With thousands of files, this won't be particularly fast or easy.

bicolao··on Linux Rust Support
Please show us how. I don't think these can be achieved within current C semantics.
bicolao··on The Birth and Death of JavaScript (2014) [video]
It's still a lot harder (abstraction layers add complexity) to get close to metal as opposed to say, DOS.
bicolao··on Instant replay: Debugging C and C++ programs with rr
Wow, I was so confused because I thought you gave sed a path, but you gave it a command

    w<path>
TIL.
bicolao··on Fed up with the Mac, I spent six months with a Linux laptop
From the man page

> Thus enabling TearFree requires more memory and is slower (reduced throughput) and introduces a small amount of output latency, but it should not impact input latency

bicolao··on 50 Years of Pascal
My first too. The first time I looked at a C example it was soo cryptic! I wonder if we could compare the first time impression of C and Pascal though.
bicolao··on Intel outsources Core i3 to TSMC's 5nm process
Do these guys also need to invest a lot on research for new node processes, or is that just on fabs like TSMC, Intel...?
bicolao··on Intel outsources Core i3 to TSMC's 5nm process
It's confusing though because it's to be followed up with mid to high range CPUs as well. So this is a quite long interim period. If they just need a bit more time, outsourcing high end CPUs makes more sense.
bicolao··on Intel outsources Core i3 to TSMC's 5nm process
At this point, what stops TSMC from jacking up the price on future contracts? Can Samsung do it?
bicolao··on Rust is now overall faster than C in benchmarks
Not really answering your questions, but regarding monomorphization, you can see a comparison of code size and compilation speed between printf, std::format and C++ iostream. The last one is monomophization, I believe.

https://github.com/fmtlib/fmt#compile-time-and-code-bloat

bicolao··on Ask HN: Will Apple M1 mean better support for Raspberry Pi?
How is Rockchip RK3399 SOC compared to x86 CPUs? I found some link, but even with this comparison to entry-level boards, it doesn't look good.

https://www.cnx-software.com/2018/11/25/benchmark-x86-boards...

bicolao··on Ask HN: Will Apple M1 mean better support for Raspberry Pi?
I doubt that. CPU design and manufacture is a huge investment. I don't think laptop/destop manufacturers are going to put their money in it. And without a performant ARM CPU supply (Apply doesn't show any sign of releasing M1 for general use), there's just no ARM-based offers.
bicolao··on Valve Is Working on Another Extension to Help in Direct3D-over-Vulkan
Both Collabora and CodeWeavers collaborate with Valve (and with funding from Valve?) on the gaming front though so it's not wrong to attribute that to Valve (yes CodeWeavers also improves Wine independently, but that's more than just games).
bicolao··on Valve Is Working on Another Extension to Help in Direct3D-over-Vulkan
"Some time ago" was eight years ago (/r/linux_gaming reminded me of this). Amazing they kept going through all this time and do not seem to slow down.
bicolao··on AMD Zen 3 Ryzen Deep Dive Review
> mainly because it has a proper floppy drive on it

What are you using it for? Floppy disks were already very dead by 2008, let alone 2020.

bicolao··on What's in a Linux Executable?
It was a whole new world to create a .com file with just debug.com and some assembly (most of the work is already in interrupt 21h). Good times.

I looked at DOS .exe (NE? or was that the format for Win 3.1...) format too. Still relatively simple. Then came the PE which was super complicated.

bicolao··on The X.Org Server Is Abandonware?
Some IRC discussion from airlied

https://lobste.rs/s/vqv6nu/it_s_time_admit_it_x_org_server_i...

bicolao··on Black Hole Visualization in Unreal Engine
Kurzgesagt channel gives two choices beyond event horizon. Speculation of course. https://youtu.be/e-P5IFTqB98?t=150
← PreviousPage 2 of 4Next →