HNHacker News
TopNewBestAskShowJobs

dvhh

492 karma · joined March 27, 2012

submissionscomments
dvhh··on JIT-optimized Ruby can outperform a C extension
Well it gives you the belief that you are in control, because undefined behavior are implementation dependent, and that "modern processor" not only predict, but also can decide of the execution order of your nice code.

That said, save for the Basic language, C is probably the lowest common denominator for system programming and for all the programming languages to interface with each other (with relative efficiency).

dvhh··on Ask HN: ARM Laptop Suggestions?
What about the ThinkPad X13s ?

I think most of the drivers have been implemented but could not talk of personal experience (have the yoga c630 and drivers requires firmware files that need to be extracted from windows, my current experince is useable but subpar )

dvhh··on Fifth Circuit: Law enforcement doesn’t need warrants to search phones at border
Unfortunately people would never read in the news that a potential or active terrorist courier was deterred from transferring sensitive information to local cell by this policy.

Joke aside, efficiency of this policy would be very hard to prove, that would be akin to attempting to prove efficiency of a fire department, or teaching curriculum.

Also don't get me wrong, I would really hate to be at the receiving end of this policy that has "abuse of power" written all over it. And like to know where would the search impede onto the privacy to the individual, and protect our dignity as human.

dvhh··on Web scraping for me, but not for thee
If SDGs learned us anything is that companies are responsible for to scrutinize the company they are investing in.

Of course this is not on the level of child labor, nor environmental pollution.

dvhh··on Web scraping for me, but not for thee
There are some factors that might lead to this lone of though.

- it seem a lot of web developer / product manager either do not know or do not care about robots.txt

- some web application are so badly optimized, that some of them are not able to handle more than 1 hit per second at a sustained rate, which admittedly have worked fine so far. But crawlers are persistent, causing the normal crawling activity to cause denial of service for normal users.

dvhh··on Nginx Development Guide
Really depends on your preferred programing language I guess. And the kind of feature you would like to implement.
dvhh··on Software engineers hate code
Because a greenfield project would require to do something that software engineer abhors more than writing code: giving time estimates in an "agile" environment.
dvhh··on Spying on a smartphone remotely by the authorities: feasibility and operation
Considering most mobile phone operator would require you to install additional software to be able to use their network and that they would most likely cooperate with the authority if asked by the justice department.
dvhh··on The ARM powered ThinkPad x13s, as a developer
I think some of the aarch64 laptop have landed in the Linux kernel source tree.

I am currently using a C630 laptop wich could be considered a predecessor to the discussed model ( with an anemic 4GB of RAM), and following up some botched Windows update (Windows recovery put the system in a worst place). I decided to take the plunge and install Linux.

Hardware support is rough, and depends a lot on firmware file you would need to salvage from the windows partition.

So far without these files, among the most necessary stuff I would like to have.

- Wifi, I a coping with a wifi dongle, wich mean I am out of one of the 2 usb-c ports

- Sound ( usual linux problem, worked around the issue, with another dongle, or Bluetooth audio)

- External display support (worked on windows)

Otherwise, linux experience is leagues ahead of Windows, in terms of boot time and responsiveness. Battery life is great for my use ( mainly write python and C code ). And far as battery life improvement, your mileage can vary, I haven't timed mine yet but can try and will report in a week about it (maybe you ca give me aome pointer to simulate the usual load your would put it through).

- podman work great

- sublime text run as smooth as it is on x86-64

- bios is an UEFI and I dont think it required a signed bootloader, although updating the setting to boot grub was not as straightforward.

- I am mainly using Wayland, with most of the caveats associated to it (Firefox does flicker a lot, so I am mainly using chromium)

On the most annoying side, I don't know if there is a way to configure the lid action, as it put the laptop on standby.

I would recommend, if only for the gain in thinness and if you are traveling a lot with your laptop.

dvhh··on Fake reviews are illegal and subject to big fines under new FTC rules
this is an interesting point, I was more thinking along the line of digital goods like:

- mobile phone applications: storefront (app store, google play) review are well known to be manipulated, and whatever is done to control the issue is clearly loosing. - video games: Steam is also well known to be a battleground for so-called review bombing and counter review bombing. Although Steam is very good at providing data to understand the context of the review, it clearly caters to a specific audience.

Glassdoor is more egregious because of the anonymity it tries to provide for the reviewers and how authenticity and veracity o statement would be very difficult to assess.

dvhh··on Fake reviews are illegal and subject to big fines under new FTC rules
More like hitting the wallet than criminalization
dvhh··on Fake reviews are illegal and subject to big fines under new FTC rules
I think the quote should be attributed to Moses
dvhh··on Asus Zenfone 10
Probably has something to do with the bezel size
dvhh··on Apple Vision Pro – Why It May Be Lousy for Watching Movies on a Plane
But in class, wearing those there would be (afaik), no clear indicator of you paying attention to the teaching, that would be more akin to wearing airpod max to the class.
dvhh··on Apple Vision Pro – Why It May Be Lousy for Watching Movies on a Plane
This would look even less conspicuous than the Google glasses. And unless there is a clear recording indicator (which admitedly sound easier to implement) would bear the same stigma.
dvhh··on Xerox scanners randomly alter numbers in scanned documents (2013)
that joke might be too meta
dvhh··on JunoDB: PayPal’s Key-Value Store Goes Open-Source
This looks very interesting, and is yet another demonstration of how amazing os rocksdb
dvhh··on Intel One Mono Typeface
Still prefer consolas for some reason
dvhh··on The Windows 11 Trash Party
While piling on windows 11, I love (sarcastically) that you cannot give feedback about windows 11 without the feedback hub, even if your installation of windows 11 is completely trashed by a botched recovery.
dvhh··on Twenty-five years of curl
Well at least there would be a rust version coming very soon now.
dvhh··on JPEG-XL vs. AVIF and Others: 27 Images Compared
Sound more like a chicken and egg issue, look like "big tech" are mostly using the format for archival purpose.

As Mozilla put it, adopting a new format increase the attack surface ( that is already quite large ) of a browser, they can not simply take the reference decoder and integrate it into their codebase, they also have to use resources toward maintaining it. Firefox currently integrate jxl support behind an experimental flag, but that could mean the feature is in testing and could be deprecated in order to better allocate their resources.

dvhh··on I use C when I believe in memory safety
I have yet to touch Rust, as I am currently busy with other things and my work is in other computer language. And mostly glueing modules together.

But yes, I am one of those weirdos that use C for their personal projects, and yes I find it "fun" to fire the debugger to look for my own mistake, see my code run magnitude slower through Valgrind to find my memory errors, and yes I know that my code will be riddled with UB and other kind of "fun" error, but again that is expected because (well) it is C. And I do it on my commute while ssh-ing with my phone.

And while I am very impressed by the progress of Rust over the years. There are two aspects that kind of put me off.

The community does come as very preachy and the language sound very close to the Ada language ( as in "not fun to work with"). And so far those two haven't been disproven.

So maybe the day that I would have to write life critical software as a hobby I would consider writing in it in Rust. Or maybe in order for Rust to succeed it would have to make the other languages far less fun.

dvhh··on I use C when I believe in memory safety
That sound like a challenge
dvhh··on I use C when I believe in memory safety
Tell that to my imaginary wife
dvhh··on Japan skiers’ smartphones making unnecessary emergency calls
What if you're driving off the road ?
dvhh··on Blizzard manager departs in protest of employee ranking system
I am guessing that when company reach a certain size, bean counter need to take over to manage the business
dvhh··on For your next side project, make a browser extension
From a personal experience, some of the extensions I built were for enhancing productivity for internal tool (with a good amount of userscripts and userstyle ) to reduce the amount of paper cuts in my use case and shared with multiple team with positive feedback before escalating to management so I could get in touch with the team in charge of the tool and suggest the enhancements.
dvhh··on Implementing ‘strlen’ using SVE
Isn't that the goal of higher level language to start with ?
dvhh··on R/ElonJetTracker
I think that's the defense used by most "doxxing" website.
dvhh··on R/ElonJetTracker
True, but depending on how "we" consider the target, it can be judged as the most despicable thing.
← PreviousPage 3 of 14Next →