HNHacker News
TopNewBestAskShowJobs

jcarrano

924 karma · joined December 13, 2022

submissionscomments
jcarrano··on Some Programming Language Ideas
On a second thought, this may be more in the direction of linear types.
jcarrano··on Some Programming Language Ideas
I was trying something in the line of refinement types in C++ to solve the sequential method (anti)pattern, without success. For example, one would have

ConfiguredThing Thing::configure(....) &&;

Where ConfiguredThing and Thing have the exact same members, so doing

auto y = std::move(x).configure(...);

would not copy any data around. It seemed to work with optimizations on, but then there are no guarantees that it will always be the case.

Ideally one would want RAII, but that is not always possible, in particular when wrapping C libraries that may have their own logic. Also, the object could be in different states, with different methods available in each state, and then it would be possible to prevent errors at compile time.

jcarrano··on Cloudflare takes legal action over LaLiga's "disproportionate blocking efforts"
LaLiga went directly to the courts, according to Cloudflare.
jcarrano··on Cloudflare takes legal action over LaLiga's "disproportionate blocking efforts"
Apparently not. From Cloudflare's declarations, it seems they did not even notify them:

> "LaLiga secured this blocking order without notifying cloud providers"

jcarrano··on Cloudflare takes legal action over LaLiga's "disproportionate blocking efforts"
This is banana country-tier stuff.
jcarrano··on Ask HN: What are you working on? (February 2025)
Trying to develop an app to test FFGL video plugins. I already gave up on GStreamer and now I'm battling libavcodec/FFmpeg. Once I gain enough experience, the next step will be a more complex video processing system.

I'm also developing an online store for media files. At this point it would have been cheaper to pay for a ready-to-use service, but I felt like refreshing my knowledge of web development. I'm still unsure if going with react-router was the right choice.

jcarrano··on Ask HN: Is anyone still using Dreamweaver?
Last time I checked (10 years ago), Microsoft Share Point was still producing a nightmare of nested tables.
jcarrano··on 1561 Celestial Phenomenon over Nuremberg
Maybe it was a glitch in space-time and they were witnessing scenes from WW3.
jcarrano··on Apple pulls data protection tool after UK government security row
My point is that if someone wants e2e encrypted backup, it is not difficult to set up on a PC even for non power-users.
jcarrano··on Apple pulls data protection tool after UK government security row
I'm on arch. Still, while I agree that Windows is becoming more closed, you are still free to create and distribute Windows app without asking anyone for permissions.
jcarrano··on Apple pulls data protection tool after UK government security row
The smartphone is a terrible platform. Something like this could never happen on the PC, where you can install any encryption and backup software that you want.

While Apple did the right thing by refusing to give the UK government a backdoor, they are responsible for getting users in this situation in the first place.

I'm not familiar with the iPhone and maybe there is already an alternative to iCloud ADP, although that would make this whole situation completely nonsensical.

jcarrano··on Show HN: Immersive Gaussian Splat experience of Sutro Tower, San Francisco
Not only does it look amazing, it renders super fast even on an iGPU. Feels like magic. A couple of questions: Why do objects flicker when moving the camera? And why do surfaces get translucent when close up?
jcarrano··on Show HN: Immersive Gaussian Splat experience of Sutro Tower, San Francisco
Runs perfect on my iGPU, no idea how many FPS but surely enough.
jcarrano··on What should I expect from moving tech jobs from USA to Europe?
From my experience in Germany exclusively (after being half a year in the US). I can't speak for other countries, which may have friendlier visas for contractors working for foreign companies (like Portugal).

- The salary issue you are already aware. - Germany is pretty straightforward for visas/permits, meaning the requirements are clear and if you fill them, you are in, no arbitrariness. - Companies don't need to do anything related to the visa (though many don't know that). You apply yourself once you have a contract and is pretty easy. There's also a work search visa for people with your experience level. - Last time I had to deal with the immigration office they were taking so long I had to pay a lawyer to expedite the process. - The Germans have a much more relaxed attitude to work. The stats I read said 30 avg sick days per year, which wouldn't surprise me. At my last job there was always someone either sick or on holidays. On the other hand I had a supervisor who every Friday after noon would go grab a beer and bring me another one. - Here was the first time in my life that I had time for real side-projects. - I have 10yoe and had been out of a job for the last year. Friends in other industries also had difficulties. IDK whether it is because of my specific skills or the not-so-good economic situation. - German culture is quite credentialist. This is in contrast to US culture (I guess anglo-saxon in general?) which I feel is a more pragmatic "show me what you can do". - Contractor work is not straightforward. You have to have your main clients in Germany to apply for a freelance visa. Once you are a permanent resident it is easier, but there are laws related to disguised employment contracts. In general everything related to laws and taxes is more convoluted.

My main concern would be the medium and long term outlook, mainly economic but social too. As someone else mentioned, the economy has been stagnant for years, not really growing since 2008. One has to wonder why, given the good infrastructure, huge integrated market, qualified workforce, and lower salaries and cost of living, which would be a competitive advantage, you see the US decidedly in the lead in the tech industry. This is not so much of an issue if you're not here for the long run, though.

jcarrano··on Javier Milei backtracks on $4.4B memecoin after 'insiders' pocket $87M
Older people have their USDs in hard cash and will wait hours at the bank each month to withdraw their pension in cash (i.e. not even use the ATM).
jcarrano··on Javier Milei backtracks on $4.4B memecoin after 'insiders' pocket $87M
No, it's not OK, but I also don't think a president has any responsibility towards gamblers in the US or China. Also, "I invested because the president of a random country told me so" is a pretty bad excuse for losing money.
jcarrano··on Javier Milei backtracks on $4.4B memecoin after 'insiders' pocket $87M
Let's see it another way: there's absolutely no way that in the 2-3 hours the post was up a person not familiar with the gamblecoin ecosystem could purchase $LIBRA, let alone pour thousands of dollars in. The people who lost money are all professional memecoin gamblers, and the ones who pocketed in are obviously connected to the project leaders. Cyptobros want to have unlimited freedom to trade whatever they want without regulation, which is fine for me, but then they shouldn't whine when/if they are rug-pulled.

For all the outrage, I yet have to see a single person in Argentina produce a TXHASH that proves they put money on the project. This is not something you can just log in on Binance and buy with cash in a single click. Meanwhile, states operate their own lotteries and casinos (e.g. "Lotería de la Provincia") where the poor and hopeful go to pay a tax on their ignorance.

Of course, the president and his advisors are responsible for not investigating enough and blindly trusting these so-called "businessmen". We'll see what the Law has to say about that, but I remind you that Argentina is a place where a vice-president tried to steal a company (look up Ciccone Calcográfica).

Last, the 4.4B number looks huge, but that is just "market cap", i.e. valuation extrapolated to the total supply of tokens, and not the actual amount of money that went into the coin.

jcarrano··on NASA has a list of 10 rules for software development
GCC, at least, allows you to get stack usage (after compilation), and caller-callee relationships (-fstack-usage, -fcallgraph-info, etc). From this one can infer maximum stack size. It will not work with recursion or function pointers, unless one manually incorporated additional data.

setjmp() and longjmp(), are a poor way of handling exceptions, as any cleanup code won't be executed. Of course, following the spirit of these rules, one would not have resources that need cleaning up but still.

The main issue, that is never mentioned, because it will be different in each application, is what to do when something goes wrong. Say an iteration limit is exceeded, or the fixed resources allocated at startup are not enough.

jcarrano··on Show HN: OpenSCAD configurable calendar 3D model
I only used it once for modeling some procedural decorations in the shape of flowers. I did it on a long train ride and managed to both learn the language and do the models, so there's something to be said about the simplicity. If I had to do anything more complex or less artistic I would use other tools. Something python-based would be ideal.
jcarrano··on Sky skimmers: The race to fly satellites at the lowest orbits yet
I understood that they want to used scoop up air to use as propellant. Only a fraction of the air it encounters will be able to be sucked in by the rocket.
jcarrano··on Fewer students are enrolling in doctoral degrees
In my rather limited experience, private research was way more productive and enjoyable and I was able to do it and get things working without a PhD. In fact, during my short stay a iRobot I was quite surprised to find that none of the PhD's there could help me with what I was doing or provide guidance.

Later I worked with PhDs and PhD candidates in a university setting. What shocked me the most was the narrowness of their knowledge and their lack of consideration for practical matters.

I'd rather let the market judge my work than an academic committee.

jcarrano··on US and UK refuse to sign AI safety declaration at summit
I was referring to the 1958 moratorium I'd be surprised if they could simulate weapons with the computers of the time. Here [1] is the clip from Teller's interview.

In another clips he says that he believes it was inevitable that the Soviets would come up with an H-bomb on their own.

[1] https://www.youtube.com/watch?v=zx1JTLrhbnI&list=PLVV0r6CmEs...

jcarrano··on US and UK refuse to sign AI safety declaration at summit
When you are the dominant world power, you just don't let others determine your strategy, as simple as that.

Attempts at curbing AI will come from those who are losing the race. There's this interview where Edward Teller recalls how the USSR used a moratorium in nuclear testing to catch up with the US on the hydrogen bomb, and how he was the one telling the idealist scientists that that was going to happen.

jcarrano··on US and UK refuse to sign AI safety declaration at summit
What if we face the scenario of a Dr. Manhattan type AGI, that's just fed up with people's problems and decides to leave us for the stars?
jcarrano··on Sky skimmers: The race to fly satellites at the lowest orbits yet
The mass of propellant being expelled is many times higher than the mass of air colliding with the rocket.
jcarrano··on Rust kernel policy
Exactly. The recent DRM issue was about who's time would be wasted. Rust is either happening, and they are wasting time by not having proper bindings, or it is not, and all the drivers written were a waste of time. In either case, the discussions around it are already a waste of time.
jcarrano··on Rust kernel policy
Either he failed at communicating, or he does not care. Reading the recent thread/flamewar on R4L and DRM I wonder if he was somewhat pressured to accept Rust but does not actually care. If you were the leader of a project and explicitly authorized a sub-project, would you tolerate a maintainer undermining it?
jcarrano··on Intel's Battlemage Architecture
Last year I was doing a livestream for a band. The NVidia encoder on my friend's computer (running Windows) just wouldn't work. We tried in vain to install drivers and random stuff from Nvidia. I pulled out my own machine with Linux and Intel iGPU and not only did it worked flawlessly, but did so on battery and with charge to spare.

On the other hand, I have to keep the driver for the secondary GPU (also intel) blacklisted because last time I tried to use it it was constantly drawing power.

jcarrano··on Cities can cost effectively start their own utilities
If PG&E could be undercut by 25%, then why are there no private companies doing it? Either it is not as profitable as the author claims, or PG&E's monopoly is due to state regulations (I don't know enough about the specifics) and it would be quite contradictory to demand the state solve the problems it created.

Overall it reads like any other socialist argument for nationalizing (in this case "municipalizing") companies, which does not work both on theoretical grounds and based on historical experience. The claim "Walnut Creek could borrow from its utility in recessions, and loan money during booms" is laughable. We know how that ends: the city would finance its deficits with utility money until the company is bankrupt.

jcarrano··on Autonomous AI Agents Should Not Be Developed
I feel that these kinds of statements are more effective at promoting AI than limiting it. It reinforces the assumption that such powerful AI is behind the corner. It hypes up AI and the result is likely more money and resources being put into it.

Imagine if the A-bomb was being openly developed. What title would have contributed more to funding and research, "The A-bomb (is terribly powerful and) should not be developed" or "The A-bomb will never work"? Except the A-bomb did work and in a surprisingly short time, while autonomous AGI is still a conjecture.

← PreviousPage 4 of 11Next →