skysight-inc/HackerNews huggingface dataset:
You clearly have not ever worked on repos where nobody ever cleans up after themselves as far as feature branches go. I'm working with repos with remote branches numbering in the hundreds. `git branch -a` is pretty useless at this point unless paired with grep.
From a Python script to a real business
"how" or "what" is a purely describing what is happening.

// Initialization of foo

initFoo();

// Send first Bar Message

SendFirstBarMsg();

Descriptive comments have usually low value because it can be (re)deduced by reading the code. But I rather read a code with too much comments that none.

On the other hand, the "why" is explaining the reasoning why it is done that way. And usually it can have been the result of bug fix, long investigation, or architectural choice so this is precious (and costly) knowledge.

initFoo();

// first Bar Message should be sent after foo init, otherwise it can create a rare race condition when bar message is received before foo is ready.

SendFirstBarMsg();

In the second example, the information about race condition is not immediately available just by reading that part of the code. This is also a (rather light) safeguard that if someone refactor the code at some point, it won't recreate a bug that had already been found.

My example is a bit contrived, but this is the idea, and that is why for me, the "why" is really important, because this is your team knowledge and experience you are distilling inside the code.

Most developers are reluctant to use the first kind of descriptive comments because, at a point, it adds more clutter, this is mostly redundant information. If you have meaningful variables and method names, this kind of comment should be superfluous.

Another rule of thumb is that code is usually written once, and will be read 10, 100 or 1000 times by other people (depending on the context or the longevity of the code base), so in my opinion, code and comments should be optimized for the long term, and for easy comprehension, because this is where most time time will be spent on the code.

To address op point "clean code should have no comment", even if you have the cleanest code base ever, you have not guarantee that down the line the people that are going to maintain it in 5 years, will be as proficient as the original writer. And additionally, these people won't have access to why it was written that way, (maybe after trying something else that did not work) so it is really important to provide them with some clues.
I always have a blocnote next to me which is basically one continuous checklist. New tasks that I think of go to the bottom with an empty checkbox on the left. Whenever I finish something, or a task becomes irrelevant I cross the checkbox. Works well for me.
After the census, it will be 6.732%
It seems intuitive to me that visual centers of the brain don't develop properly in the absence of visual stimulation. Has anybody done fMRIs to compare congenitally blind people with those who became blind later in life? Also it begs the question: which blind person with schizophrenia became blind at the youngest age?
Well, I don't. I rarely use the landline. I'm just saying that you can if you want to.
Maintainer of Red Moon, a screen filter app, here. I've struggled with similar problems as others describe for a long time.

As far as I know, the only truly 100% reliable way to never be killed is to run as an accessibility service. I haven't implemented this in Red Moon but will likely add it as an option. I believe it has a large impact on bettery life.

You can also set alarms using AlarmManager to restart the service if it has been killed, and optionally wake up the device. This is what DNS66 does.
Sorry, but I don't see a lot of real substance here. It seems like "Forcing the religious idea of an universal consciousness again down to our throats".

Are spiders smart? yes. With capital letter. Some at least can be top of the game for a small arthropod. But If spiders think with their webs then we should consider the hair in our arms, our shoes and our googles part or our brain also. As philosopical idea It could have some merit, but it has not any sense in biology when what we call brain is clearly defined and delimited.
Even Tesla's marketing copy describes it that way, so I don't think you are to far off.

>Autopilot enables your car to steer, accelerate and brake automatically within its lane.

>Current Autopilot features require active driver supervision and do not make the vehicle autonomous.
It was consensus between colleagues/friends. And because you still need to trust open source software as well. I certainly don't have the time to review the code, and the "somebody else will do a thorough code review" fallacy should be well known by know. As said, Threema at least had a name attached to it that I somewhat trust.

Telegram for example doesn't exactly tick the "not as questionable" box for me, not least because it isn't entirely open source either, but also because I always find it weird if someone is pouring money into software that is available for free, with no obvious benefit for them in return.
No they get criticism for calling the whole thing "autopilot" and presenting it as if paying attention was optional.
My first article on embedded.com – State machines on Arduino
> I think most of us would be fine with the NSA doing what they do if it was targeted, like the police getting warrants to break privacy only in important cases for public safety.

Except it's not getting a warrant, but simply deciding whether to spend resources. Which is not something that, like a warrant, I would be fine with.

Also there's another difference, technically it'll never really be on a case-by-case basis, because they can store all the encrypted communication (text chats, just store everything, easily). And they can in hindsight decide to decrypt any of that history (depending on ample metadata).

Or maybe they have a tiered system, a first-pass filter that detects a very vague definition of "possibly maybe interesting" (again, metadata) that would never ever pass a warrant request. Then just store everything that passes the filter, forever, and decrypt when needed.
> rotate text 90° in Vim, recalculate a formula in Vim, or insert an image into a document you're editing in it

I'm not sure if I'm missing some features in Vim or you're actually pulling my leg by forcing me to notice that I know more about text than I care to admin :-)

(I'm not OP, BTW, just a random passer-by)
Reminds me of Bart Simpson engaging cruise control assuming its something like an autopilot. Goes good for a little while haha.
Weird second time I've seen this this morning.
https://news.ycombinator.com/item?id=22303956
Schizophrenia is not limited to visual hallucinations though, interesting ;o
It sure does make sense. Thanks for sharing your observations.

If you haven't already, I'd strongly recommend looking up Gabor Maté; he's written several books and has plenty of talks/interviews on YouTube, and at least a couple of threads here on HN I think.

He’s a Canada-based physician who has spent his career researching and writing/speaking about this whole topic.

The world needs to pay a lot more attention to people like him IMO.
https://www.bbc.co.uk/news/10584385
"National census in 2011 could be last of its kind"

https://www.prospectmagazine.co.uk/magazine/thelastcensus "the enduring problems with the 2001 count may mean that after 200 years it could be the last one in its present form. It may have demonstrated that measuring population in our more mobile society is just too difficult."
Looks like this got hugged to death. Archive link: https://web.archive.org/web/20200211231236/http://justine-ha...
I wonder if we get skewed opinions about autopiloted cars because every story about them blows up, while people accidentally killing themselves in cars don’t.
I take it you name Threema just because it's Swiss like the Crypto AG or is there a specific reason to single them out?
I wouldn't bet on it but I also wouldn't call it indefensible. Fully autonomous driving is a very complex problem with a very long tail. Being able to drive semi-reliably on American highways doesn't mean that you're almost done, not even close.

An other handicap for self-driving cars is that the problem is effectively harder at the start when the majority of the traffic will still be operated by human drivers who are a lot harder to predict reliably than an other autonomous vehicles.

Beyond that, I strongly believe that software engineering is still ridiculously immature and unable to deliver safe, reliable solutions without strong hardware failovers. We have countless examples of this. We simply don't have the maturity yet, we're still figuring out what type of screwdrivers we should use and whether a hammer could do the trick.
Uber has no relevance once level 5 exists. Vehicle manufacturers will run the vehicles directly if there is any profit to be made from a taxi service.
I'd rather not be part of an organisation that feels the need to set an example to scare other members from the idea leaving. Yea the UK will suffer but partly because the EU is being vindictive.
I'm not sure what you're talking about. Nobody is blaming anything. Brexit means that the N26's EU banking license will not be recognized in the UK. How is that a failure? It sounds more like they expanded to countries that they didn't really care about and once there are signs that those countries become even less attractive than expected they just stop operating there.
SoundCloud raises $75M from SiriusXM
> This whole self driving, fully autonomous thing has become some sort of strange faux-religion.

Just follow the money. The near future financials of companies like Uber and Lyft (and to a lesses extent Tesla), rely on fully autonomous self driving.
That's just by accident. There's plenty of obtuse git commands , strange command names, non-standardized parameters, etc.
My goals for such meetings are simple.

1) Determine if I am still meeting expectations

2) Figure out what I should be working on. This sounds dumb, but if you work on a varied set of projects/tasks that change all the time like I do, then figuring out priority isn't always obvious. I like to use these sessions to help refocus me to make sure I'm on whatever path my manager feels adds the most value to the business. Because everyone can drift into things over time that are interesting, but not necessarily what is needed by the business.

3) What new stuff can I do? Are there any new projects coming up? Any new skills I should be trying to get or things I should be studying up on?

Essentially, these three things are making sure my career goals are at least somewhat where I want them to be and they are in line with what the company needs/wants from me. Those items are how I get there. It may vary depending on the specific position a person has.
If we had UBI or something equivalent, financial literacy would probably help. But found it the other way around is simply insulting. Most poor people do not have any money to 'manage', they can only try to keep up with all expenses and hope no unexpected expenses happen. If unexpected expenses do happen, there is simply nothing good they can do about it - they must choose where to go into debt, and hope they will happen to find some way to repay that debt from an unexpected windfall.

Sure, there is a minority of cases where people squander a windfall, like in GP's example. It is such a small minority that it's barely worth mentioning.

I'd also note that people who have been toiling away for years on minimum wage may be forgiven and understood if they decide to use a small windfall on buying a small luxury like a pretty dress or trip to Disneyland for their children, instead of investing it in some stock or whatever would be the 'rational' thing to do. Humans beings are not robots, and we need more than food and a roof to live even a half-way acceptable life.
They voted for increased political instability that is unfriendly to foreign business?
>In fact, PV prices have dropped DRAMATICALLY since 2000 (https://www.sciencedirect.com/science/article/abs/pii/S03014.... looks at the different trends 1986-2001 and 2001-2012), as have the prices/performance of the energy storage systems needed to make them practical.

Can't open this, but the abstract also shares this:

"Market-stimulating policies were responsible for a large share of PV's cost decline"

This part is artificial though (subsidies, etc).
The article makes no claim that it is not anachronistic. What it says, rather, is that that is not the point.
> said an estimated £906m would be spent

I wonder how exactly it costs this much? What is the money spent on?

Lets imagine the 'MVP' census. A printed 10 page document (£0.45), mailed to each household (£0.61), in an envelope (£0.02), times 27.6 million houses. Return mailing costs another £0.61+0.02. Scan every sheet. OCR it (free). Hand-enter 1% of responses where OCR errors are excessive. 276,000 documents hand entered at 5 minutes per document, £10/hr. £0.0083/household. Total costs: £47M

Cost of running a few trial runs of one 10,000 house town or city to perfect the process: £100k

Pay for a year 1 statistician to make graphs, one social scientist to design questions, one manager for the team of printing/scanning/hand-entering people, one IT person to keep/archive the data and get it on the web, and a head of department. Also a little office. Total fixed costs £800k.

The whole thing can seemingly be done for 5% of the quoted cost. And that excludes any potential efficiencies gained by having an app to collect responses, or bulk discounts from postage companies. Also, while a redacted version of the full dataset is published, I would expect the government department to also offer commercial statistics services on the non-redacted dataset where such analysis doesn't impact customer privacy. That should earn them tens of millions at least.
i'd avoid these guys. one of the shadiest "startusp" out there. they wasted 3-4 hours of my time and staff time by not screening resumes properly && their interview questions essentially illustrate how terribad their engi team is. even tho i actually passed the first round i barely did and it was like a hilariously difficult task, basically read through a fairly large project (old fork of memcached) and add a new feature-trust me when i say that 99% of people will fail @ this and it doesn't highlight a candidate's abilities if they do. Recruiter has also told me this company is not profitable despite claims of success with various "customers" (which i'll get to later)

their product essentially vaporware tech full of buzzwords with lots of falsifiable claims ("worlds fastest capable cloud database" yeah ok) and nobody that works there actually seems to motivated to work on the product anymore. they've been in business for 5 yrs but call themselves a startup & they only really hire shitty developers who perform well on algorithm related questions, like every other company, yet the problems they work on are extremely complicated--you would still need a PhD to work in this area effectively. finally, their hiring team is literally 4-5 engineers (i counted) who seem to have taken up the entire workload

a lot of the claims they make are completely bullshit, outright deceptive/fraudulent, like for example they try to pump up their product at https://www.memsql.com/customers/. under "customers" they list sony, but it's not actually a client of theirs. if you read closely it says they're basically saying they COULD provide a solution to Sony as a "media solution" but they're not actually a customer of memsql. then why is Sony listed under "customers" at all? this is insanely deceptive. the only clients they have are extremely small companies/startups and this is in line with them not being profitable yet.

tldr; avoid these guys--they're looking for really smart engineers who are typically juniors to work on a product that has very limited success in market and basically will fail in the next 5 years
'Education' is not limited to financial education, surely. Mentorship could be a good starting point for the social support that many poor folks seem to lack, and that might make it hard for them to earn money in the first place. Not sure what's 'insulting' about parent's claims, they seem quite sensible and supportive to me.
The workplaces that develop commercial software for the users that need those boxes, will buy them.
I dunno, I think Gräfenbergs Ring is pretty darn simple:

https://en.wikipedia.org/wiki/Gräfenberg%27s_ring
It's still a pain in the ass to manage wildcard certificates with letsencrypt.

Especially when your DNS registrar does not support DNS changes via API.

And even if the registrar supports it, you have to build and maintain the code that talks to the API. Yuck.

I wonder why they don't allow whover controls the domain name to use the domain/.well-known/acme-challenge to create wildcard certs that are valid for all subdomains of that domain.
Since talking monitor arms and mic stands and narrow fields, how about ‘monoprice’?
The EU has gone out of its way to not be vindictive, even though this would be popular with voters. The only thing they haven't done is completely abandon the self-interest of its members and its principles.
How do other countries do it?

I'm fairly sure we're having one next year over here in Eastern Europe and no way is our government spending that much on a census, we got some jet fighters for about that much...
> A browser extension should be able to change those.

They are not allowed to, thanks security.

> Or an application could hold a list of easy-to-use step-by-step tutorials.

Still too complicated versus installing a native game from an app store, given "from business sense and support".
Who's they? Is it some configuration that I can handle at my end as an administrator? Or is this some possibility that we aren't sure can be actualized?

Also how do I restore that backup to a blank MBP/disk so that I get the same state of affairs as I had on Feb 12th 2018?
£1bn total is about £15/person. Delivery has to be guaranteed because the letters are a legal requirement. If each delivery covers two people, but sending out and returning are both paid for by the government, and if it counts as a 100-250g large letter 2nd class, that’s already £2.52/person without the cost of printing, processing, or storage.
> I'll also want to get a chance to walk through the offices and observe the other engineers working there. If they seem generally unhappy or overly stressed, then I'll turn the offer down.

This is interesting, but how do you do it? I mean, unless you are "lucky" enough to find a moment when everyone people are stressed and reacting badly, how do you evaluate that?

In general, without "interviewing" someone who already works there, how do you think just walking around is enough and how do you evaluate that?
Isn't training against subset of data and then validating against rest a common practice? It wouldn't detect all the mislabeling but should detect some indicating that manual inspection is required, assuming error isn't very systematic.
Since you have both of those apps already, you can trivially combine them.

In the process you'll also get to reuse large parts of both UI code, and almost all of the non-UI code.

And if you've started from scratch, it would be even easier to find ways to reuse more UI code -- e.g. components could come in "auto-dual" versions that adapt.
Publicly admitting that is probably something that they don't want to do.

On the other hand, stopping a census for dumb reasons is one way to do it without publicly admitting they already have the data.
Pure Proof-of-Stake Blockchains
Bjarne Stroustrup's "A Tour of C++" (http://www.stroustrup.com/Tour.html) is close. It's a slim volume that is roughly a survey of the language as if it had begun with C++11.
YouTube is more important than Google search/ The Final Frontier
The historical informations on the non-existence of barter economies was interesting, but then the article went into a nosedive with an anarcho-anticapitalist rant on the evils of money.
Side note: Threema is a Swiss "GmbH" corporation, meaning that all the owners and the number of their shares are public in the Swiss commercial register [0], and those have to be natural persons. So it would be slightly harder to hide ownership. Those people can still be straw men, though.

[0]: https://sz.chregister.ch/cr-portal/auszug/auszug.xhtml?uid=C...
Interesting. Can it also have something to do with an extremely small sample size? These are both rare conditions so intersection might be even rarer.
It makes sense in that, even in the real world, the real humans can be counted on to pay attention and intervene to some extent. That's an important counterpoint to the vivid thought experiment of "how could you possibly expect someone to pay attention after hundreds of hours of flawless machine operation?"

Unless you're talking about getting rid of the steering wheel and deploying the current system as Level 5. In that case, yes, interventions should count against it.
Dependency Inversion in Rust Web Application
If the backup disks is full, I'm not surprised doing a backup takes ages. It's got to go through purging stuff on the fly alongside backing up new stuff and constantly rebuilding indexes, which will grow and trigger even more purging requiring more re-indexing. Horrible. Your backup disk should always have some free working space for it to run efficiently.

Can't you reducing the retention period so you always have some working space free, or just get an appropriately sized backup disk? Time Machine backups should run in just a few minutes automatically every hour on a well configured system.
Chicago's CTA only accepts US cards, even when paying with Apple Pay. My international cards weren't accepted at all, the card reader failing with a generic error message. I didn't expect Apple Pay being declined, though.

On the other hand, both Las Vegas and Portland transit systems readily accepts foreign cards.
A lot of this has been known for 25 years: https://www.spiegel.de/spiegel/print/d-9088423.html
Assuming no Brexit they could have stayed in UK indefinitely because there would be no additional compliance costs.
Is there a reasonably priced VESA-monoitor-arm attachable whiteboard out there? Something like this[1] that's cheaper, or should I just build my own?

[1] https://www.ergotron.com/en-us/products/product-details/98-4...
Hand-held DTMF tone generators, for exactly this purpose, were once fairly widespread. A financial institution once sent one to me for navigating its dial-up automated teller system.
Show HN: A UX principle in every new tab via a Chrome extension
You mean I can put my old, blanked out by sun, notes in the fridge and they will reappear ? If that works you made my day, sir !
sounds like I am at least a 10x programmer
I think I can explain the delay.

I've been comfortable designing with M3/M4 and for most applications M33 is not such a big step as to suddenly drop whatever you are doing and redesign your app around new features.

Even with new products I don't necessarily want to spend time learning new functionality since the cores I already know do everything I need.

Given possibility to learn new M33 functionality for a bunch of time I preferred to learn to make my designs more energy efficient with existing cores, for example.

Only just recently I have decided to start using M33 and mainly for security.

I can imagine most people designing go through similar process. The advantage of M33/M55 is/will be when you actually have a need for the new features and when you design your application around those new features, otherwise the cores provide only incremental improvement.
Problem is, the more intrusive an ad, the more likely it is to get blocked. Google is a pretty big player in the ad industry, and their ads are far from distracting.

"animated SVG blocker" seems like a very easy plugin to develop.
The headlined article states that it was taken from 2 hours to 1 day already.