HNHacker News
TopNewBestAskShowJobs

7786655

202 karma · joined August 19, 2019

submissionscomments
7786655··on Show HN: Japanese Language Learning Forum
Maybe something here can do what you want? https://itazuraneko.neocities.org/learn/guide.html#_Mobile%2...
7786655··on Do NLP Beyond English
You've got this backwards: English is the Universal International Language because the US has enormous economic and political power (and before that, the British Empire).
7786655··on Tampa teen accused of being ‘mastermind’ behind Twitter hack
If you were responsible for securing my stuff, and you put a cheap lock on your door protecting my stuff, and someone breaks in and steals all my stuff, then yes, you should be held liable for your poor security practices.
7786655··on Google removes all Danish music from YouTube
It's inconvenient because no one has needed to make it convenient. Why would you, when YouTube is doing it for free?

If all music were wiped off of YouTube, you can bet it would become convenient. I believe there's already an app somewhere that lets you stream music using BitTorrent, throw in some onion networking for privacy, a better means of content discovery, and get more people uploading music, and you'll be off to the races.

7786655··on You don’t need SMS-2FA
After multiple experiences where I couldn't log into an account due to not having a phone signal, I refuse to use SMS-2FA on any service. Given that I already use strong passwords, the marginal security advantages are far outweighed by the potential lack of availability.
7786655··on Stop ‘Using’ “Useless” ‘“‘Quotes’”’
Unquoted attributes are valid HTML.
7786655··on Minecraft@Home
The start screen is just an image with some distortion.
7786655··on NewPipe – ad-free, open-source Android YouTube client
What's wrong with enabling third party sources? Apps like this are exactly why that option exists.
7786655··on NewPipe – ad-free, open-source Android YouTube client
Not necessarily. It's possible to splice together compressed video streams without reencoding them. See https://trac.ffmpeg.org/wiki/Concatenate
7786655··on Why is the Fessenheim 2 nuclear power plant closing in France?
Why should we worry about the tiny possibility that a few people in the future will die in the unlikely event that society regresses so much that we forget how to build a Geiger counter when air pollution caused by burning coal is killing tens of millions of people a year right now?
7786655··on You Don't Need a VPN
I'm going to say the quiet part loud: The main use cases for a VPN are BitTorrent and changing regions on streaming sites. For which they provide a necessary and valuable service. But since they can't say "Download any movie only $4/mo" in their ads, we get "military-grade encryption" instead.
7786655··on KeePassXC 2.6.0 Released
In addition to what other people have said, some sites force you to use 2FA or endlessly bug you to enable it.
7786655··on Help Message for Shell Scripts
Pretty sure this won't work if the script is called via $PATH
7786655··on Greatest Java apps
Minecraft isn't source available, it's just that people in the community have put a ton of effort into decompiling and deobfuscating it. Granted, this probably wouldn't have been possible if it were written in C++.

(At least, this was how it was pre-Microsoft. I haven't followed it since then.)

7786655··on Onivim 2: Lightweight, Modal Code Editor
I haven't used VSCode enough to consider myself knowledgeable about it's syntax highlighting or auto-indentation, so caveat emptor.

I use CoC.nvim using the coc-tsserver plugin to get Typescript completion/jump to definition etc, ALE to get ESLint warnings, HerringtonDarkholme/yats.vim (A Typescript syntax, Neovim comes bundled with this, but the bundled version might be out of date), and maxmellon/vim-jsx-pretty for JSX syntax highlighting and indentation (vim-jsx-pretty's auto indentation is not 100%, but it works well enough).

My colorscheme is tomasiser/vim-code-dark, in case that matters. Example screenshot: https://i.imgur.com/6UzKtU2.png

7786655··on Air conditioning's original purpose was to enable factory processes
He switched from burning oil to burning natural gas. According to the table, gas is way cheaper.
7786655··on iOS14 reveals that TikTok may snoop clipboard contents every few keystrokes
Let the user replace the manufacturer's keys with their own?
7786655··on Onivim 2: Lightweight, Modal Code Editor
I've had a different experience. Neovim + coc-tsserver and a syntax highlighting plugin works really well, and VSCode + Vim extension is unbelievably slow on my machine.
7786655··on Accurate N64 emulation gets resolution upscaling powered by Vulkan (RetroArch)
Yes, they have. You see this on a lot of Super Mario 64 videos.

I personally think it looks awful.

7786655··on C implementation of Tic-Tac-Toe in a single call to printf
wcwidth()
7786655··on The Rise and Fall of Commercial Smalltalk
It looks to me like only Scratch 1.4 is written in Squeak. Scratch 2 is written in ActionScript, and Scratch 3 in JavaScript.
7786655··on A Visual Guide to React Mental Models: UseState, UseEffect and Lifecycles
In Javascript, closures both have identity and are mutable, which is a huge pain when using React.
7786655··on Docker Expands Relationship with Microsoft
Could any Atom users explain what it is that made you choose Atom over another text editor?
7786655··on Ask HN: What could an alternative to the C standard library look like?
I would not add common data structures or an interface for reference counting. C has no generics so there is no good way to implement these. You could use macros, but that would be abominable. You could use void* , but that leaves a lot of performance on the table (see: qsort, bsearch).

What I would do is purge null-terminated strings from the standard library and use exclusively pointer-and-length strings. (const char * str, size_t str_len). That would be a massive improvement, especially to the IO library, which currently has to support both null-terminated strings and pointer-length strings (since only the latter allows binary IO).

The C locale library is really awful. printf() needs to have a way to choose between locale-dependent and locale-independent formats, and the latter should be the default.

strcmp(), strcpy(), and strcat() would all be gone because without null-terminated strings these can be replaced by memcmp() and memcpy().

It would also be nice if the IO library allowed creating memory-backed files, since this is a very common extension and would make FILE * more useful for defining APIs that take or output to streams.

Would add a standard interface for getting a directory listing.

Make char unsigned by default. (Currently it's implementation dependent, and usually signed, which is almost always incorrect).

And I would get rid of isupper() and other functions that can't handle multibyte characters.

7786655··on Can 1/3 and 1/3 = 2/6? It seemed so
It makes perfect sense, everyone knows:

0^0 = 0

1^0 = 1

0^1 = 1

1^1 = 0

7786655··on Students are failing AP tests because the College Board can’t handle HEIC images
I did some more research and it looks like I got the one for JPEG wrong, so maybe you have a point.
7786655··on Students are failing AP tests because the College Board can’t handle HEIC images
On the other hand, I think there's an argument to be made software should ignore file extensions whenever possible. Is really that hard for the backend to check if the file starts with "\xFF\xD8\xFF\xE0\0\x10JFIF\0\1" or "\x89PNG\r\n\x1A\n"? That would have caught this problem.
7786655··on Google deletes “communist bandits” from comments on Youtube
How would that solve the problem at hand (Google having a near-monopoly on search and video)?
7786655··on Zoom fatigue is real
Youtube does some loudness normalization, but it only changes the volume for the entire video, not for specific sections. It also only makes videos quieter, it will never make them louder. You can see this in the "Volume / Normalized" item of the "Stats for nerds" menu.
7786655··on Windows 10 Bleeds Users While Ubuntu Linux Enjoys an Astonishing Increase
These statistics are collected from web browsing activity. I doubt many people are browsing the web from WSL.
← PreviousPage 3 of 4Next →