Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sleavey
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
151.
▲
by
sleavey
6y ago
> analog circuits Can you expand on how analog electronics benefits in particular from a formal EE education? I build analog circuits (amplifiers, filters, power supplies mostly) very frequently in my job as a physicist. We have to care
152.
▲
by
sleavey
6y ago
I'm interested in how you found the transition from physics to EE. Did you target any particular "entry" jobs in the industry that were more genial towards physicists for instance? I'm a physicist with some electronics e
153.
▲
by
sleavey
6y ago
It's fitting that this post is written on a blog running the very old (original?) default theme from WordPress 1.0.
154.
▲
by
sleavey
6y ago
Ah, now I realise why there's no explicit redo command in Emacs. I thought it was just Stallman and friends being weird.
155.
▲
by
sleavey
6y ago
How is an app able to lock out the whole phone?
156.
▲
by
sleavey
6y ago
Pasting seems to almost work too; it deletes the character after the `-` instead...
157.
▲
by
sleavey
6y ago
If supplements are basically required, then perhaps when vegan diets are "marketed" on blogs, TV shows and whatnot they should show a bottle of pills alongside the fresh fruit and veg! That part seems to often get hidden away, and
158.
▲
by
sleavey
6y ago
Wow, interesting! That reminds me of something I vaguely remember reading, that cows get some essential nutrients from accidentally eating insects and soil on grass. Yet another important aspect insects play in ecosystems.
159.
▲
by
sleavey
6y ago
I hadn't heard that before so I looked on Wikipedia [1] where it states the B12 in nutritional yeast is actually added by the manufacturer. [1] https://en.wikipedia.org/wiki/Nutritional_yeast
160.
▲
by
sleavey
6y ago
Ctrl+F "B12". Here's a quoted reference from the article: > [V]egans exhibited a higher estimated prevalence of inadequacies for some nutrients, in particular vitamin B12 (69.9% in men and 83.4% in women <55 years of ag
161.
▲
by
sleavey
6y ago
What does this mean? Did the founders decide Roy's work was worthy of the coin donation?
162.
▲
by
sleavey
6y ago
That's up to you - my point was that you can choose whatever you like for the name you want to be greeted informally with.
163.
▲
by
sleavey
6y ago
Most programs ask for first and last names because they need to know both (a) the subject's full, hopefully unique* name and (b) the first name for informal greetings (the "Howdy, Bob!" when you log in, or "Dear Bob"
164.
▲
by
sleavey
6y ago
Further down the page: > Backup dumps of wikis which no longer exist [...] This includes, in particular, the Sept. 11 wiki. There was a Sept. 11 wiki hosted by Wikimedia?
165.
▲
by
sleavey
6y ago
> which aligns better with ecology than Fairphone does (so far) What do you mean by that?
166.
▲
by
sleavey
6y ago
I've used this, and it works nicely: https://github.com/numericalalgorithmsgroup/pybobyqa . I'd be happy if it were added to your project, then I could just use yours and have access to a bunch of alternatives
167.
▲
by
sleavey
6y ago
A general term for this is a "copyright trap" [1]. Map makers for example often add small, fake features to be able to tell if another map was copied from theirs. [1] https://en.wikipedia.org/wiki/Fictitious_e
168.
▲
by
sleavey
6y ago
I remember that too; it was great. That feature disappeared at some point though - it's not in Lineage OS these days as far as I've found. I recall it made some apps crash, but only as far as I could tell those that weren't r
169.
▲
by
sleavey
6y ago
I wonder if private members' bills are subject to the same consent. As far as I'm aware, the first time the chamber hears of these bills is when they are submitted by the member, and presumably by that stage it's public and c
170.
▲
by
sleavey
6y ago
Interesting to compare this to modern UK demand curves: https://assets.publishing.service.gov.uk/government/uploads/... . There seem to be dips in the middle of the day in the 1954 data (lunch breaks), and pronounc
171.
▲
by
sleavey
6y ago
Catch-all is nice but I came from the self-hosting world where I could also customise the from address when I reply to a catch-all email. Protonmail only lets you reply from a non-catch-all address, so you end up leaking your "private&
172.
▲
by
sleavey
6y ago
Are you using libraries that use `np.bool`? These could trigger warnings to stderr that you would see.
173.
▲
by
sleavey
6y ago
Fascinating read - thanks for providing so much background information on the production! And to add to the others, you should really blog about all this, or write a book.
174.
▲
by
sleavey
6y ago
As far as I know there aren't any real hooks available for running code on plugin install, only activation. But I think OP is referring to core WordPress code and not plugins.
175.
▲
by
sleavey
6y ago
> In Germany, the situation changed a few years ago, every household has to pay now, even if they don't own a television or radio. This was literally the first piece of mail I got when I moved to Germany: a letter demanding I pay fo
176.
▲
by
sleavey
6y ago
Lesson for myself: check my working. The test I actually used the XOR in, that I was referring to, uses the first example you wrote - I agree, this is much better. However, I also like your second example, which is arguably clearer. Thanks!
177.
▲
by
sleavey
6y ago
Hah, I wrote that code on the fly and didn't check the aforementioned test implementation, where I had `(a is None) ^ (b is None)` like the other commenter suggested.
178.
▲
by
sleavey
6y ago
I sometimes use your "bug" on purpose in tests, when checking that two values are either both defined or both undefined, but not one defined and one undefined: $ python >>> a, b = 1, 2 >>> bool(a) ^ bool(b) False
179.
▲
by
sleavey
6y ago
What's to stop a website gradually querying different API data on each page load to build up a profile with the same amount of information as before? Will browsers only allow the first N API accesses forever more? Oh, interesting... lo
180.
▲
by
sleavey
6y ago
I've wondered this for years. It was the first thing I expected ad networks would start doing once third party cookies were getting blocked widely.
More ›