HNHacker News
TopNewBestAskShowJobs

sharikone

185 karma · joined April 21, 2021

submissionscomments
sharikone··on Benefits of Not Using an IDE
I always take this kind of opinions with a grain of salt but I also don't like bloated IDEs, like the author.

But it's a general and trivial comparison. Like using MS word vs markdown, or Ubuntu vs Arch or Alpine.

It all comes down to your use case and it's not black and white. My Swiss knife is VS Code, arguably an IDE-minus, or an editor-plus. And given that I work all day on software it happens that I occasionally go down (vim) or up (XCode, Visual Studio, Android Studio) and I have no problem with that.

sharikone··on How two bored 1970s housewives helped create the PC industry (2015)
You claim correlation but that's not causation.

My guess is that more educated women are less willing to be stay at home moms and that correlates with your demographics. When you have a degree and dreams of a career, giving up on them is harder.

Also, the stigma against stay at home moms is nothing, nothing, compared to stay at home dads.

sharikone··on Kids Can’t Use Computers
Some things are still accessible. For example you can really own a Raspberry PI or an Arduino (modulo some firmware).

But there has been a social change. I bet youngsters that do this kind of thing these days have mentors/patents who went out of their way to provide them with "ownable" platforms. The intersection of children who get that and have the curiosity to explore is a meager percentage of the population.

sharikone··on Speeding up atan2f
I think that you will find that for subnormal numbers any math library will use the identity function for sin(x) and 1 for cos(x)
sharikone··on Ask HN: What are software bugs called in other languages?
In Hebrew it's mostly bug (באג).

However there is an official translation "teqel" (תקל). It is a derivative of a root that means "to stumble". It suggests a resolvable setback more than an "error".

sharikone··on Unfuck: A utility for deobfuscating Python 2.7 bytecode
Rizin is basically the name of a fork of Radare2 disassembler after the community had particularly nasty "value" disagreements.
sharikone··on Apple's child protection features spark concern within its own ranks: sources
True. You can have an authoritarian regime with little technology.

But what people are afraid of is how little it takes when the technology is there. And how Western governments seem to morph towards that. And how some bastions of freedom are falling

sharikone··on Physicists Detect Strongest Evidence Matter Generated by Collisions of Light
Interesting, maybe a physicist could clear up for me if they broke the so-called Schwinger limit (so they had an electrical field so big EM started behaving nonlinearly).

I am still confused about what this limit means. Do you need a big enough intensity to get nonlinearity (as the wiki for Scheinger limit seems to indicate)? Or sufficient frequency/energy (as the paper seems to indicate)? And isn't the EM field already nonlinear since we see such things as spontaneous emission and, in general, interaction with all charged particles?

Sorry for throwing my questions at you

sharikone··on Plants, heavy metals, and the lingering scars of World War I
Here in Israel the Golan Heights are just filled with Syrian land mines from 50 years ago or more (Israeli mines too, but at least the army has the maps for them).

Sometimes a cow blows up or worse. The sad thing is that they get more, not less, dangerous over time. The reason is that they drift inside the terrain over the decades and they can get even in areas that were thought to be clear.

In fact putting a landmine is my pet example for something that is easy to do and terribly difficult to undo.

sharikone··on Apple’s Mistake
I think HN readership is so used to live in the digital world that many forgot we can live without internet as humans.

ANY connected digital media can become a 1984-style spying device if you don't have full access to it or even if you have that but you are not an experienced electrical engineer.

The only defensible platforms are nondigital media and airgapped computing. I, for one, wouldn't shoot a nude with any digital device nowadays. Only exception would be a camera that gets connected only to airgapped computers.

But we are losing that too. In a short time we won't even be able to pay for that Polaroid or to buy a Librephone without being traced in some digital form.

We are losing all the battles but we need at least to prioritize. The cloud is lost, connected devices are lost. We need at least to keep cash payments, and to pressure the government to break up digital monopolies.

I don't want to sound like desperate luddite but I really think that warrants requirements are unenforceable in the digital world and we really really need to keep important parts of our lives in the analog one.

sharikone··on Apple's New CSAM Protections May Make iCloud Photos Bruteforceable
Did you ever experience that you turned some setting off but it was "accidentally" turned on again after some update/reboot?
sharikone··on Looking into Zig
You could argue the opposite and say that because it is incremental and easy to mix with C, it will be more easily used.

When I program on my own I often write an idea in C and then convert it to C++ when complexity rises, precisely because C++, in terms of syntax, is an incremental update to C. Using say Rust would entail a more serious rewrite.

Unfortunately Zig and Rust are quite different in syntax. I would love to change my workflow from C->C++ to Zig->Rust but the transition is not as nice.

sharikone··on Mathematician Finds Easier Way to Solve Quadratic Equations (2020)
I hope this article is a joke. I bet 70 % of high school students have been taught this method.
sharikone··on How to write slow Rust code
Conclusion is sound. Java/Rust/C/C++... are all fast enough that the bottleneck does not reside with the choice of the language.

I wonder about how Common Lisp can be this fast however. I would like comparisons with languages like Python, JS and Lua.

sharikone··on To become a good C programmer (2011)
Yes but if you do much low level it is annoying to use a language that constant treats you at best as a dark magic wizard, at worst as a dangerous risk seeker.

All my point was that Rust is not a substitute for C, too heavy and complex and not enough liberating for low level "assembly-wrapping" stuff.

sharikone··on To become a good C programmer (2011)
They basically answered you. Rust is very complex and big.

A C compiler is relatively easy to implement and it's easy to follow its output if you care about the assembly. For tasks like that, where you want just a lightweight structured programming language on top of assembly, C is very good in principle.

I just want to leave out idiosyncrasies like its automatic type conversions, Rust is way way overkill (and difficult to implement).

Rust is meant to be a replacement for C++, and even then, even if we acknowledge its many merits and C++'s horrible disadvantages, it will always have the handicap of being "different". You can organically grow your abstractions by moving from Assembly, to C, to C++, all in small steps. Writing something in Rust requires somewhat a bigger, discontinuous, step. Not their fault, but that's the state of the ecosystem.

sharikone··on To become a good C programmer (2011)
As much as C is fantastic to work with, as the general idea of a low/high level language whose compilers are easy to implement, its pain points are annoying.

Integer conversions, literals, unhygienic macros, inconsistent library, overflows, zero-ended strings are all very very fastidious to work with.

I really hope that Zig will grow up because it seems the best promising alternative to C right now. In 20 years or so it might even get a significant market share... Then it will be the turn of POSIX and by 2100 low level system programming will be fixed

sharikone··on Year of the Linux Desktop Is Bullshit (2020)
I am not qualified enough to answer for NT and BSD (I only can note they appear very stable nowadays).

But XNU is not much better than Linux. It has a schizophrenic soul with its BSD and Mach duality for everything. It is bogged down by Apple's never-ending "security" lock down efforts. It has no equivalent of "jails/containers". And, again, it is practically unusable for anything that is not created by Apple and is not extendable now that they are phasing out kexts.

I think a very interesting recent effort in kernel architecture innovation is Fuchsia.

sharikone··on Fire use: The first signal of widespread cultural diffusion in human evolution
> People say our collective myths about dragons--flying fire breathing serpents--come from some ancient amalgamation of innate fear of large birds (which would have been predators to small mammals from which we evolved) combined with fear of snakes and other reptiles (same), and all with a healthy dash of the danger and power of fire.

Or just dinosaur skeletons laying around and boys trying to impress

sharikone··on Show HN: Notes.cx – A simple, anonymous online notepad \w Markdown support
Not to pressure but having open/save buttons (implementable either as upload/download Javascript shims) would be interesting. They can also be quine-like (I.e. you save the HTML and Javascript of the editor itself together with the content). I did once that for Suneditor but did not publish it, alas.
sharikone··on Text2Code: Converts English queries into Python code
Exactly. I hate those things so much. In some cruel perversion of benevolence to give you a "friendlier" interface they build something you have to no idea how to tail for your own needs.

Reminds me of Google search (remember when you could write logic queries?) and chatbots

sharikone··on What's bad about Julia?
I think this is what parent is referring to. A short guide from a power user on coping with those flaws would be invaluable for occasional users.
sharikone··on What's bad about Julia?
In my opinion the most important positive thing Julia has is the Compsci community it attracted.

There has never been so much enthusiasm in oftware for doing physical simulations and correct and stable arithmetics. It made a sizeable dent in the Fortran/C++/Python/Matlab environment physicists were in.

That said even after 10 years Julia has still so many rough edges that I wouldn't employ it for anything outside the aforementioned use case.

Just getting it to Plot something in a headless environment was a pain. Essential utilities like debuggers (!) are external dependencies. Matrix/Vector/Array confusion permeates the air. Ditto for a syntax annoyingly in the middle between Matlab, Python and Fortran.

Given it is already not that young I predict it will never really attract the masses beyond its niche, but it can still kill the remaining Fortran codebases.

sharikone··on Framework Laptop gets 10/10, fully replaceable
It's a rather common pattern in politics, that the people who you need in order to rise are not the same who you need in order to stay.

But yours is just a negative attitude. Framework could or could not betray its base, they could or could not fail and they could or could not be followed by other manufacturers.

In the meantime enjoy, if you want a fully serviceable laptop you have at least one option

sharikone··on Floating Point Expression Inspector
A welcome endeavor. Too many programmers are used to treat floats as cursed entities.

More awareness is needed. If implementation details such as rounding mode, CPU features, etc.. are pinned down there is little reason not to write tests that are meant to be accurate to the last bit. Instead of the awkward "near enough" approach.

sharikone··on Choose whether Search can show you personal results based on your Google Account
It can be also for people who plan on occasionally sharing their PC. It could be a bit embarrassing to let your friend/family member fo a search and get tailored results
sharikone··on Modern C++ for C Programmers (2018)
I guess so. Some newer libraries, especially if they target "modern backend" stuff like webassembly, websockets, ... are written in Rust. When safety is a concern it could be really preferable.

But, say, if you don't have a good support for your platform Rust is not useful. Ditto for most existing codebases. And in any case I don't see why your primary concern should be being modern vs getting things to work well

sharikone··on YouTube says it pulled Bolsonaro videos for Covid-19 misinformation
The problem is of course solvable when you realize Youtube is not synonymous with "video on the internet", there are other hosters too.

Of course I am not blind. Big tech companies have just too much power. I hope governments will split them up without being authoritarian but I am afraid this is asking too much.

sharikone··on Support for team members who are mistreated in their country
Iran? Last I checked they were trying to destabilize Syria, Afghanistan, Lebanon, Iraq, Yemen.

Syria? Lebanon comes to mind again

Russia, Armenia, Azerbaijan? All of them are involved in "foreign soil" in some way

Egypt and Turkey vis-a-vis Libya (and Cyprus)?

Serbia/Albania vis-a-vis Kosovo

Morocco (Mali, Western Sahara)?

All of them are better than the US?

Not to mention that the behavior of a country "on foreign soil" is often very different than its behavior with its own citizens. That's why this division of good/evil countries often does not make sense.

sharikone··on Hungarian journalists and critics of Orbán were targeted with Pegasus
It has actually elicited a response. Through many mechanisms now big countries in Europe have gained much more power than before, when the model was very egalitarian.

And you can look at it in a very different light if you see it as Hungary becoming a small vassal state of Germany (an autocracy helps it to stay that way, and German manufacturers want the situation to remain like this) rather than a "rogue fascist" state. Just follow the money.

If you look at things this way you expect to see a war of sphere of influence of big countries in the near future. I think the Balkans will be the next soft battlefield between German and Italian influence.

← PreviousPage 2 of 4Next →