Better HN
topnewbestaskshowjobs
Log inSign up

debugnik

2,570 karma · joined May 8, 2019 (7y ago) · 1,261 submissions

Submissions

comment 4y ago · link · parent

I can barely wrap my head around the idea of living in UTC when I remember that, my friends and I already feel like the sun sets too soon these days. We're just so used to 9:30pm sunsets during summer!

comment 4y ago · link · parent

The same way you add a full year without knowing if a country will change timezones or vote to drop daylight savings: you distinguish between timestamps and calendar dates, and keep updated your timezone/leap second database.

comment 4y ago · link · parent

Nah, they both send WM_CLOSE to the window. The actual problem is that Discord uses its own non-native window frame and reimplements the X button differently than they handle the actual close event.

comment 4y ago · link · parent

None of those are supposed to stay on the background (specially not browsers, which are sandboxes for untrusted apps nowadays).

But if I click X on my email client, it keeps receiving email; if I click X on my torrent app or JDownloader, they keep downloading; if I click X on Steam, it keeps updating my games; and if I click X on a chat application, it keeps receiving messages and, yes, usually keeps voice chat open.

And BTW, browser tabs sadly do stay open in a twisted way: notifications, often malicious for the kind of users that accept the prompts without reading.

comment 4y ago · link · parent

> Simply imagine that the user thought that, by clicking the "X" button, he closed the app

Do most users think that, though? I remember chat apps minimising to the tray bar since MSN Messenger and Skype, possibly earlier, and it's a common feature in most current ones, as well as in other applications.

Now, it's true that some other chat apps display a floating panel to remind you that you're still in voice chat, but Discord's target audience is videogame players that don't want their media covered by such panel anyway, and most other chat apps let you close or disable such panel as well. Game consoles don't do so either.

I agree with the other points in the case, but this UX design being a GDPR issue makes it clear these people are out of touch with the market.

comment 4y ago · link · parent

> Does Discord even have a corporate presence in the EU?

They keep bothering me to pay for Nitro and just pushed a notification that they've added new payment options for my country, so they're clearly targeting the EU market.

comment 4y ago · link · parent

> does Alt-F4 not do the right thing on Windows

It usually closes the active window, but Discord does close the entire application for some reason.

comment 4y ago · link · parent

Discord does close the entire application on Alt-F4 instead of just the window, it's quite weird.

comment 4y ago · link · parent

Except for Discord, which actually closes the entire application on Alt-F4 instead of just the window.

comment 4y ago · link · parent

Well, it's hard to take seriously an appeal to authority about themselves if we're also supposed to take their word for their credentials.

comment 4y ago · link · parent

Yeah, C doesn't require null pointers to be represented as 0, even if its constant is written 0, nor does it require floats/doubles to be represented as per IEEE-754. Or at least it didn't use to.

comment 4y ago · link · parent

> The "solution" is to move instances (which is very well facilitated by the platform, including data portability).

Can you move to an instance blocked by your current one, though?

comment 4y ago · link · parent

Around ten years ago. It was bad.

comment 4y ago · link · parent

> If we normalize projects baiting developers with an open source license to gain traction […], then the logical next step for investors will be skipping that [bait] step entirely.

But where would traction come from, then? Switching to a proprietary license works well because they're baiting devs, if investors skip that step there's not as much to monopolise. Or am I misreading that paragraph?

comment 4y ago · link · parent

They're making a POW (prisoner of war) joke about the topic, I think.

comment 4y ago · link · parent

I think they mixed "for the rich … for the masses" and "for the poor … for corporations" while writing. But it's clear they meant contrasting terms.

comment 4y ago · link · parent

> "Reddiquette" which is by the community and completely informal.

It used to be official, although still informal. It was eventually relegated to an obscure page in their help desk, though.

comment 4y ago · link · parent

Only because Lightspeed Studios ported them to their parent company's hardware (Nvidia Shield) and the Switch happens to use almost the same SoC. Valve's relationship with Nintendo here has been incidental.

comment 4y ago · link · parent

I know some of you are tired of SQLite/Fossil topics, but I found it interesting how the creators of SQLite themselves chose to use it as a blob store and then crosslink the blob contents to an actual relational schema.

We often discuss using SQLite as a file format and Fossil is often mentioned here as benefiting from a relational store, but I wonder if anyone here has actually used this architecture instead of making their actual SQLite schema the source of truth.

1220.

Fossil Is Not Relational(fossil-scm.org ↗)

1 points · by debugnik · 4y ago · 1 comment

comment 4y ago · link · parent

Not a FB story, but I once had an innocuous profile image on a Google side-account get flagged and automatically restricted from public view. I requested human review and it was manually approved. The next week it got flagged again; same process, reapproved. This kept happening every week until 5 times total; I kept going just to see how long would it take them to stop, as I didn't really care about the image or even the account.

Long time after I'd last used that account, I logged-in again and, you guessed it, the image was flagged. Requested yet another review, approved. Was it really that hard for them to trigger human reviews before restricting content that had already been reviewed?

comment 4y ago · link · parent

> And if you're a console player you also get to pay monthly for the privilege of playing online. I miss when game companies didn't host their own games

Just to be clear, you aren't paying for game server hosting, only for the console's lobby/matchmaking services. The game servers are still paid out of pocket by the devs.

This is why many games try to get away with player-hosted servers (which gamers misname P2P), where a player is assigned a host role by the matchmaking service and the rest connect to it for the duration of the match. Which means one other player can see your IP and if the server disconnects the match is interrupted.

comment 4y ago · link · parent

> Pretty good, https://ionide.io

It pains me to admit it because I really like F# but, with due respect to the developers, Ionide and its related projects are the most unstable toolchain I've ever used.

Spend half a day reloading the editor because the extension keeps hanging on non-trivial MSBuild only to discover that the formatter has truncated in half one of the files you worked on due to a soundness bug. (OCaml's editor support, in contrast, is quite stable.)

Rider is the best editing experience I've had with F#, by far.

comment 4y ago · link · parent

Other way around, they use that value because that's the most precision you get with IEEE-754 64-bit floating-point numbers, which is the representation also used by JS for floating-point.

comment 4y ago · link · parent

I guess by totally you mean the strongest case of a particular kind of colour-blindness, not achromatopsia. Fair enough, I could have said similar. I just wanted to clarify which image is the one they should compare against.

However, if colour-blindness is not so strong for most people, then these articles should depict a lesser form of colour-blindness as well, to more accurately convey the experience. I don't think I've ever seen a post on colour-blindness that did.

comment 4y ago · link · parent

If you were colour-blind, the full-colour image (top left) would look nearly identical to one of the other three.

comment 4y ago · link · parent

That's not (just) the hug of death, it's been loading this badly for years, at least to me. I think this change simply hasn't improved it that much.

comment 4y ago · link · parent

The fact that they chose to recreate Qinni's artstyle, who passed away just a couple of years ago and had a notable online following that still remembers her, makes me slightly uncomfortable; feels too soon for me, I guess.

Also, if models start to accept prompts like "in the style of Qinni", surely we're back to the copyright debate. They get away because everyone's art is mixed into a single model, but once distilling someone's artstyle is a feature…

comment 4y ago · link · parent

Glad to see progress on this, because I really liked Nim when I learnt it and this is my only blocker to consider it for a few personal projects.

I understand the necessity to detect known malware, but AVs are definitely terrible if they're unable to fingerprint the actual malicious code rather than the general traits of the toolchain used.

Also, signed binaries have proven close to useless since newly released binaries/installers raise a warning on Windows until several people run them anyway.

1
3940414243