Better HN
topnewbestaskshowjobs
Log inSign up

giaour

3,849 karma · joined Sep 12, 2013 (13y ago) · 1,555 submissions

Submissions

comment 2y ago · link · parent

Highlights so far this year are:

- Some Desperate Glory by Emily Tesch -- really phenomenal pacing and psychological terror in a sci-fi action novel.

- The Golem of Brooklyn by Adam Mansbach -- good portrait of different strains of American Judaism in a book structured around a quest

- Detransition, Baby by Torrey Peters -- great characters and structured revelation. This was sitting unread on my shelf for years because I thought it would be preachy, but it wasn't.

- The Bright Sword by Lev Grossman -- tales from Camelot in the aftermath of Arthur's defeat at Camlann. Excellent mixing of round table legends from different points in history.

comment 2y ago · link · parent

> no `let`. only `var`. compiler can optimize further.

This is not an "additional feature" so much as removing a feature. One reason a programmer might declare something to be a constant is to prevent the symbol from being rebound. You're right that one consequence of using `let` instead of `var` is that the compiler can more aggressively optimize constants, but the primary consequence is to capture and enforce the programmer's intent that the binding be immutable.

comment 2y ago · link · parent

As career paths, mathematics, philosophy, and law have pretty high barriers to entry. Positions within the former two tend to require a PhD in the discipline, and lucrative careers in law require a JD or LLB plus admission to the bar.

comment 2y ago · link · parent

MS runs a grant program that awards $10K each month to one open source program. There's a vote each month to decide which project will get it, and you are only eligible to vote if you contributed to a OSS project not affiliated with Microsoft or were a maintainer for an outside OSS project that received contributions from some threshold number of devs within the last 30 days.

Very much a token reward, but I was surprised to learn when I first got notified about having a vote that: A) Microsoft actively tracks my outside activity on GitHub[1], and B) that they encourage it.

[1]: This would have been creepy if I hadn't agreed to it by linking my GitHub account to my corporate identity. I make a lot of contributions to official MS open source projects and didn't want to make a separate work account.

comment 2y ago · link · parent

There's even a company wide incentive program for running or contributing to outside open source projects. (Source: I work for Microsoft, maintain a couple small projects, have contributed to outside projects, and have gotten token but official rewards for doing so.)

comment 2y ago · link · parent

Did you read the article? The sentence OP objects to is the lead-in to a conductor on a trip telling him about how rail passengers were encouraged to help reduce the native population. It's a bit of context for an anecdote, in an article that is entirely compared of lightly contextualized anecdotes.

comment 2y ago · link · parent

I see, good to know you weren't looking to make the political point you expressed above but merely wanted to be technically correct.

comment 2y ago · link · parent

> "the subjugation of indigenous people" in the American west began long before the transcontinental railroad

So did "empire building" and "westward expansion," but those assertions don't seem to have bothered you despite suffering from the same deficiency in the same sentence.

comment 2y ago · link · parent

Would a cryptid currency be something like a NessieCoin or Bigfooteum?

comment 2y ago · link · parent

I have a really hard time waking up, and the two things that have worked best for me are:

1. A Phillips wake-up light/sunrise alarm, and 2. A vibrating alarm on my watch.

The wake-up light worked really well but wasn't a great solution for me since I share a bed with someone on a different sleep schedule.

comment 2y ago · link · parent

> Python-esque experience if you make many one-off programs as you can simply write Main as python script

For simple scripts, you don't even need to bother with a `Main` method anymore; you can just write statements outside of any structure like in PHP or JS: https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals...

comment 2y ago · link · parent

What you're describing is a political calculation that I doubt Irish courts have the discretion to make. The law was in place, and Twitter chose to either knowingly break it or act without assessing the legality of their actions.

Inconsistent application of corporate/employment law is a strong disincentive to business participation because it makes the law feel capricious (and because there are plenty of disputes between businesses where there's no obvious way for political actors to put their thumbs on the scale in a "pro-business" way).

comment 2y ago · link · parent

That's an incredible leap.

The commission is pushing US companies to avoid breaking employment law in Ireland. Companies that believe the law is unfairly attacked against them or who were planning on ignoring the law might be deterred from opening up shop in Ireland, but how many companies does that describe?

comment 2y ago · link · parent

I think this approach works for the newer and more expensive models but not for the SE (which is what I had). The SE's battery is only rated to last 18 hours and does not offer fast charging, so taking it off and sticking it on the charger when you go to bed made sense; otherwise, you need to charge it at alternating times of day or leave it off for 6 hours in the middle of the day.

comment 2y ago · link · parent

I made the switch a few years ago, but I recall the Apple watch taking much longer than 30 mins to charge. The current iteration of the Apple Watch SE (which is what I had) claims that the battery lasts 18 hours and can charge from 0-80% in 90 minutes: https://www.apple.com/apple-watch-se/specs/

I'm much happier with a watch that does fewer things but does them well. Only having to charge it for ~30 minutes once every few weeks means that I can just leave it on all the time like the non-smart watches I used to wear.

comment 2y ago · link · parent

Do you actually use the mic and speaker on your watch like Maxwell Smart, or do you need to also carry a bluetooth headset or pair of AirPods to take calls from your watch?

comment 2y ago · link · parent

100%! I switched from an Apple Watch to a WiThings ScanWatch for the battery life. Sleep tracking and vibrating alarms are kinda useless if you are expected to charge the watch every night.

comment 2y ago · link · parent

> Except for the very hottest of summer days, I see a lot of pedestrians in downtown Austin.

I don't know if this is true of Austin, but trying to convince people to get off the street in the afternoon can be part of the city's heat management plan in some parts of Texas.

comment 2y ago · link · parent

It seems like we're both trying to make a distinction that the other person thinks is unimportant. But if the crucial marker for you is whether anti-malware protection is built into the OS, then I've got great news for you: Windows has built-in AV, too, and it's more than enough for most users.

The distinction I was trying to make is that the anti-malware strategy used by servers (restrict what the user can do, use formal change control processes, monitor performance trends and compare resource utilization against a baseline and expectations inferred from incoming work metrics) is different from the anti malware strategy used by "endpoints" (scanning binaries and running processes for suspicious patterns).

comment 2y ago · link · parent

> The claim I’m objecting to is that everybody should be running (available) antivirus software on their phone.

You're objecting to the (much more specific) claim that everybody should be running 3P antivirus software on their phone. Nobody made this claim. You are already running AV software on your phone, and whatever is built into the platform is more than sufficient for most users.

comment 2y ago · link · parent

If you'll scroll up to the comment you originally replied to, you'll see that I said Android and iOS have AV capabilities built into the OS and app delivery ecosystem. That's more than enough for most users: mobile OSes have something much closer to a capability-based security paradigm than desktop OSes, and both Apple and Google are pretty quick to nerf app behavior that subverts user expectations via system updates (unless it was done by the platform to support ad sales).

Your mobile device is a Turing machine, and as such it is vulnerable to malware. However, the built-in protections are probably sufficient unless you have a specific reason to believe they are not.

The only AV software for mobile devices that I have seen used is bundled with corporate "endpoint management" features like a VPN, patch and policy management, and remote wipe support. It's for enterprise customers that provision phones for their employees.

comment 2y ago · link · parent

No, ClamAV doesn't have an iOS version. There are plenty of iOS-specific AV programs available if you need one, though.

comment 2y ago · link · parent

Neither Linux nor OSX are immune to viruses, though malware is more commonly written to target Windows given its position in the market. Both iOS and Android are frequent malware targets despite neither being related to Windows, and consequently, both have antivirus capabilities integrated deeply into both the OS and the app delivery ecosystem.

Any OS deployed on a user device needs some form of malware protection unless the device is blocked from doing anything interesting. You can generally forgo anti-malware on servers that are doing one thing that requires a smaller set of permissions (e.g., serving a website), but that's not because of the OS they are running.

comment 2y ago · link · parent

Maybe they meant that the office is open on Saturdays in case anyone wants to take a weekday off instead?

If not, the company might be courting a discrimination lawsuit (IANAL). Requiring work on Saturdays as a condition of employment would effectively exclude Orthodox Jews and observant Muslims from working there. Cf Groff v Dejoy

comment 2y ago · link · parent

It's not published weekly, but I listen to most episodes of Security, Cryptography, Whatever as soon as they come out.

https://securitycryptographywhatever.com/

comment 2y ago · link · parent

Not a lawyer, but "subverting DRM" (even if it's trivial or really stupidly designed) can be a crime in and of itself in the US under the DMCA. There are a bunch of exceptions to this, so I have no idea if OP's work is actually illegal.

comment 2y ago · link · parent

https://unix.stackexchange.com/a/293308

comment 2y ago · link · parent

> That is obviously a very hard problem with only imperfect solutions.

One of those imperfect solutions is training users to always check the URL bar. PWAs let the attacker inject a fake URL bar AND hide the real URL bar.

comment 2y ago · link · parent

You don't have to jump directly into full-time teaching. I work with plenty of folks who volunteer for TEALS year after year (helping high school teachers skill up in CS to teach AP CS), as well as some who teach a single class a semester as an adjunct while keeping their full time job.

comment 2y ago · link · parent

I think this was just poor wording in the article. My local power company (Dominion Energy VA) recently started a huge iron-air battery project because the technology supports 100 hours of active discharge [0]. I'm sure there's some background discharge, but it takes a lot longer than 100 hours for iron to naturally rust through.

[0]: https://www.pbs.org/wgbh/nova/article/iron-air-battery-renew...

12345
52