HNHacker News
TopNewBestAskShowJobs

SCLeo

652 karma · joined December 4, 2018

submissionscomments
SCLeo··on Corrupt Signal DB issue crashing App and losing data
To be honest, for 99.9% of my use cases, I value the ability to easily log in to different devices with automatically synchronized one-to-one/group chat log more than true E2E encryption, granted that Telegram has promised to not analyze the data, and I decided to trust Durov. The other 0.1% is when I need to send credit card numbers, which I can also do within Telegram, using secret chat, which does have E2E encryption.
SCLeo··on Standard Notes is a safe place for your notes, thoughts, and life's work
Just making sure, Standard Notes is text only (i.e. No support for hand-draw lines), right?

If that is correct, I assume then it will be very difficult for people like me whose note taking habits heavily revolves around drawing diagrams/annotating pictures to use.

Nothing wrong with Standard Notes. I am just trying to confirm it is indeed not the tool for me.

SCLeo··on Commits are snapshots not diffs (2020)
I can't agree with you more. git commands are definitely not designed for the current main stream usage (i.e. with services like GitHub/GitLab). Simple things like forking a repo from another user and edit locally requires >10 non-straight forward steps is far from ideal.
SCLeo··on Show HN: Skruv – No-dependency, no-build, small JavaScript framework
I have tried writing websites with rust instead of JavaScript. Unfortunately, the tooling is just not there. More specifically, I am talking about wasm-bindgen, which provides two-way bindings. The problem with it is that since all the declarations are generated with build.rs, there is no autocompletion. Since I am spoiled by modern tooling, no autocompletion to me means not feasible pass demo stage. (https://github.com/rust-lang/rls/issues/1489)

Aside from the lack of autocompletion, passing rust closures to js land (DOM) is extremely janky as well. However, that might be caused by my lack of experience with rust.

(If you are curious, this is what I made: https://github.com/SCLeoX/non-grid-path-finder)

SCLeo··on Show HN: Skruv – No-dependency, no-build, small JavaScript framework
I have not used Skruv, but from my experience with vanilla js (document.createElement('div')), hyperscript (h('div')), and jsx (<div/>), jsx is hoesntly much easier to write and to read.
SCLeo··on RegEx Crossword
It took me 1 hour 30 minutes. Have to say, this is so well designed. Love it.
SCLeo··on Nuclear technology’s role in the world’s energy supply is shrinking
If we scale up nuclear by 10 times, so that all power generation is handled by nuclear power plants, and we are extremely unlucky that we have 10 Fukushimas every year, and even if you count all the 1700 (non-radiation-related) death/Fukushima, we are still at 17,000 death/year, which is significantly lower than the number of death caused by fossil fuel power generation. (A quick Google search yielded 8.7 million/year).

Hell, even if you count all the people that have to evacuate for each Fukushima, we are still only at 4 million people moved/year vs. 8.7 million people death/year with fossil fuel power generation.

There are three more things to keep in mind:

1. I don't think we will have anywhere near 10 Fukushimas every year.

2. A lot of those stressed related death and evacuations are due to overly precautionary measures.

3. Death is much worse than having to relocate.

Yes, nuclear power generation does kill. However, the point is, it is significantly safer than fossil fuel.

SCLeo··on Build Your Machine Today
Pardon my ignorance but is this overpriced, or does a (seemingly simple) machine that moves cardboard boxes around really cost $50,000?
SCLeo··on WebAssembly
Fromy past experience working woth wasm-bindgen, it seems that you cannot get auto-completion for web APIs due to the fact that they are generated dynamically. Is this issue resolved now? What IDE/editor do you use to enable that?
SCLeo··on Intercal, YAML, and Other Horrible Programming Languages
I think the point of the this article is exactly what you said: YAML, when used as a programming language, is horrible.
SCLeo··on Bitcoin's fundamental value is negative given its environmental impact
But those new uses (presumably improvements to quality of lives) are now gone because the electricity is used in mining bitcoins.
SCLeo··on Bitcoin's fundamental value is negative given its environmental impact
Other cryptocurrencies? Maybe, I am not an expert on them. But definitely not bitcoin. Its transaction speed is simply way too slow. And it is not even close.
SCLeo··on Groundhog: Addressing the Threat That R Poses to Reproducible Research
So, what is your better alternative then? I honestly believe using version available at that date is better than using the latest version.
SCLeo··on Groundhog: Addressing the Threat That R Poses to Reproducible Research
If I am understanding this correctly, the problem is that the paper authors do not provide a specific version or a package.json equivalent. In that case, using dates seem to be the only choice.
SCLeo··on UX Issues with Notion
OP does not want to disallow their colleagues from a editing a page altogether. They want to prevent accidental edits.
SCLeo··on Nuclear weapons agency breached amid massive cyber onslaught
"There we go again"

*opens AES 256 decryption toolkit

SCLeo··on Firefox 84.0
So, does that mean things like WebCrypto (which requires https to be available) will work in development environment now? Or did they already work out of box? I never tried because I assumed they won't work.
SCLeo··on Dead millionaire convinced dozens of women to have as many babies as possible (2015)
I agree, hurting someone in a funny way does not make the whole thing less cruel.
SCLeo··on Preact: Fast 3kb React Alternative with the Same API, Components and Virtual DOM
May I ask what is the problem with parcel? I can't remember I have ever run into problems with parcel. Maybe it's because, unlike when using webpack, I never try to perform "dark arts" when using parcel.
SCLeo··on YouTube to remove content that alleges widespread election fraud
This is slippery slope fallacy. I don't think YouTube removing genuially harmful and false content is really comparable to CCP's suppression of opposing views.
SCLeo··on Why a land-value tax is inevitable
I am probably missing something, but why can't they buy the land and charge you $1,000,000,000,000,000 an hour for the use, so you have to leave the house?
SCLeo··on Show HN: Make slides with text, markdown, YAML, JSON or JavaScript, your call
For example, if you are teaching grammar. You want to highlight all verbs in red, all nouns in blue, and all adjectives in green. You cannot do this unless you resort to CSS. But in my opinion, the ability to highlight words and set font color with couple clicks is much more simpler.
SCLeo··on CAPTCHAs don’t prove you’re human – they prove you’re American (2017)
Then why are they framed as realistic questions? Sure, the most secure way of handling them might be what you suggested, but that is not how they designed to be answered. Security questions are created to verify your identity when password does not work (e.g. when they are forgotten). Answering them in unrelated ways just create another password that will also fail under the circumstances that security questions are needed.
SCLeo··on TypeScript 4.1
I would argue TypeScript is much more expressive than C++. Also, most of this complexity is used in type definitions of complex libraries that was designed without typing in mind. Now, normal programmers can enjoy the help from IDE of those libraries, without having to write many complex type definitions themselves.
SCLeo··on Vdx – An intuitive CLI for processing video, powered by FFmpeg
Slightly off topic, but are there easy-to-use GUI wrappers for FFmpeg you would recommend? I find myself using FFmpeg about five times a year, and each time I had to google what I wanted to do. I feel a good GUI application will be extremely helpful.
SCLeo··on Show HN: A SQL database implemented purely in TypeScript type annotations
Since you already know TypeScript, I think it is important to note that this project uses a new TypeScript 4.1 feature called Template Literal Types to do pattern matching in order to parse the SQL string.

https://devblogs.microsoft.com/typescript/announcing-typescr...

SCLeo··on Google stifles YouTube competitor LBRY, banning it for pedantic reasons
Pardon my ignorance but I really don't know why kids should not be allowed to watch porn. I tried to look it up, but all results I looked at either claim it is ok for children to watch porn or just jump to teach you how to prevent your children from watching porn while assuming you already know why porn is harmful. Honestly, I doubt that there will be significant damage, especially if the people watching are already 16 or 17 years old.

However, that is not my expertise, so I can't say for sure that it is completely ok for teenager to watch porn.

Nevertheless, for the sake of this conversation, let's say, it is indeed really harmful for underage people to watch porn. Then, why don't Google or Apple just make a toggle? Or, since you already need an account to use Google Play or iOS App Store, just filter out all the porn apps when the users are deemed to be too young to properly enjoy porn. The fact that it is dangerous for a 6-year-old to drive a car does not mean cars should be banned for the entire humanity.

On the other hand, if watching porn for young people is indeed that harmful (enough for justifying banning them altogether on the largest 2 mobile app distribution platform), the future of humanity is already doomed, because they can already open up Google and search "porn" and start watching them.

SCLeo··on Google stifles YouTube competitor LBRY, banning it for pedantic reasons
I am aware that in this case, it is just Google wrongly classify something that does not have explicit nudity as porn.

However, my question is, why are all major platforms banning pornographic content (video, novel, illustrations, etc.)? Or, why do we even sometimes view them as degenerating? Isn't the fact that PornHub is so successful a proof that we, as humans, do enjoy porn?

Also, this might not be true since I didn't do a research, but I really felt that almost everyone reading this comment have at least enjoyed some form of porn in their lives. If they are so prevalent, why are we banning them?

Edit: Although I do believe YouTube should allow porn and GitHub should allow open source erotic games, but I am mainly talking about Apple App Store or Google Play Store not allowing sexually explicit apps.

SCLeo··on Trump’s WeChat curbs halted by judge on free speech concerns
The fact that China is doing it does not mean it is the right thing to do.
SCLeo··on Nova by Panic
I feel a lot of software is like this before all the SaaS crap.
← PreviousPage 6 of 7Next →