skysight-inc/HackerNews huggingface dataset:
When you do need an integer counter, the best way to have it is to create a new collection consisting of (index, element) pairs. Swift (and many other languages) make this easy:

for (index, element) in collection.enumerated()

There are some cases where the C style for loop is the most natural way to express something. For example, looping over NULL-terminated array of pointers is nicely expressed with one (Swift 2-ish pseudocode):

for var cursor = ptr; cursor.pointee != nil; cursor += 1

But these situations are really rare, and when you do encounter them, it's not a big deal to transform them into a while loop:

var cursor = ptr
while cursor.pointee != nil {
defer { cursor += 1 }
...do stuff...
}
If you're right-handed.
Out of curiosity, why did you start using the Brave browser?
Japan has a somewhat analogous Kanji kentei that is highly competitive.

https://en.wikipedia.org/wiki/Kanji_kentei
I think even if Etherium/Crypto Tokens or likewise are the best idea since the typewriter, humans have a staggering way of choosing the worst solutions to problems.

I have a bet on for £1000 with a futurist friend that he say with 10 years half of humanity will have made a transaction on a blockchain and I say not.

My only regret at this stage is that I didn't make the bet in Bitcoin...
Chemical 'dance' of cobalt catalysis could pave way to solar fuels
How much do you make that you can't afford pizza? Lol maybe it's time to start looking for a new job.
Can you give a couple specific examples?
At the high-end of the market, lots of people do, in fact, buy cars expecting them to appreciate in value.

Manufacturers are increasingly offering limited edition cars to cater to this kind of investment.
As for the Powerpoint, here are some great templates https://www.templatemonster.com/powerpoint-templates.php , may be will be useful for someone. I use these products at office, very good quality.
Great primer on ICOs - thanks for enlightening me :)
Since most any language can be lowered to Scheme, Guile is not married to any particular syntax:

https://www.gnu.org/software/guile/manual/html_node/Other-La...

If someone wants to write a python frontend maybe that would make _wmd happy. (It's hard to tell.)
> The point is far more likely to be lost if I simply straight-up tell

The prerequisite for the point being lost or you jumping straight to the point is you having a point in the first place and that doesn't seem to be the case from the comments you have posted so far.
While there may be some countries that disallow private healthcare entirely, the international situation is far more nuanced than your comment implies. For example, I lived in Spain, where most people use the highly functional public health system but there is a parallel private healthcare industry that is also very effective (and still reasonably priced, compared to private healthcare in the US).
US Pension Tracker
Right, but those animals aren't as naturally helpless as a domesticated cow.
Keep in mind that for historical reasons related to the way analog TVs used to work, black in video is almost never "#000". We call that setup, or superblack. In the analog days NTSC black was 7.5 IRE, not 0, which is why you could always tell when a television was turned on even with nothing on the screen. More than one digital standard kept this custom, setting black at (roughly, in your terms) "#111". So if you're seeing encoding artifacts or grayness on black video, that's more a legacy of video itself and not the encoding work done by whoever made the media.

Say I sit down at a switcher and push the Black button. You'd think nothing would come out, right? Not quite: that switcher will almost always emit broadcast black, not "null," whether it's analog or digital. Sure, you can probably get Photoshop to spit out 0% then encode in some codec that lets you keep 0% and successfully display it on a modern digital television, but the more equipment and encodes you add to a video production the more likely the signal will be pulled up to broadcast black, so it's better to just think of that as black.

There's a similar exercise with white on the upper end. Remember when analog TVs would buzz when you wired up your computer and put RGB white on the screen? That's superwhite.
I think it was just a joke to rile up the vegans.
I could imagine machine printing of dust jackets lead to the opposite convention. If you are printing a dust jacket, the back of the book is on the left, the front is on the right, and the title is in the middle. Despite reading order being from left to right, people tend to both proof and layout the most 'important' information first. This would be the title page.

Once you've laid of the title, the next thing you are going to move to is the spine. A title printed on a book spine from top-to-bottom would be completely upside down from the perspective of the front cover, whereas a title printed from bottom to top would only be 90 degrees off from the front cover. Thus the layout and proofing of the spine would be more "natural".

I wonder if there was some sort of technology invented between the widespread adoption of the printing press in Europe, and the adoption of the printing press in the colonies that made the bottom to top layout less obvious. Maybe the colonists were too uncultured to use dust jackets.

Edit: I just checked, and I was surprised to learn that every single tilted title goes the same way on my books. I have a lot of old books that I bought at used bookstores just because they looked interesting. Regardless of the binding, age, or field the book was published in, if the title is tilted it goes from top-to-bottom. Fascinating.

I did discover some of my books were upside down though.
The problem isn't so much that a junior had access to the production Db. The problem is that the junior's dev setup had access to the production Db and could nuke the whole thing with a few misplaced keystrokes. I'm working on a product currently where I am the only dev. I have a pretty large production Db. I also have a smaller clone of that same Db on my local machine for development purposes. I can only access the production Db by directly shelling into the machine it's running on or performing management commands on one of the production worker machines(which I also need to shell into). This was not very difficult to set up and ensures that my development environment cannot in any way affect the production environment.

Also, why even distribute the production credentials at all? Only the most senior DBAs or devs should have access to production credentials.
Cows don't really exist in the wild. I guess we could have some in zoos but we mostly keep animals around that have a purpose for us.

One could make the argument that evolutionarily speaking, being domesticated (usually then eaten) by humans is the most reliable survival strategy for any species.
Stench gas
Many countries have parallel private medical care. The egregious thing is that the US doesn't even have an affordable public option for the rest of the population.
To referee a Lions game, you need something extra
You're right; I misspoke. Making the AI indifferent to its own survival is indeed another way of improving safety.

That's still very difficult, though. Have you read the Basic AI Drives paper?
Aren't cgroups a Linux thing? Don't know if Hurd has them.
Why I’m no longer talking to white people about race
yep absolutely. But it's way below 100k.
Yeah, nobody is financing Porsche 918s.
Company with $50B market cap is searching for a new CEO. There are two candidates. A is asking $50 million per year, B is asking $50K per year. How much more should A increase ROI% compared to B to justify his/her higher paycheck?
I liked the term "junk finance". There's a subset of financial products that are essentially the equivalent of going to McDonalds every day, and ordering a Big Mac to go.
Apkfile – Android app analysis and feature extraction library
Coincidentally I just went to a nice exhibit in Edinburgh co-authored by Henry Segerman: http://www.maths.ed.ac.uk/~aar/brilliantgeometry/ — the last day is tomorrow for Edinburghers.

He has a book with supporting material here: http://www.3dprintmath.com/
> which on the server goes beyond just providing async await, as lattner said they were aiming at something closer to the actor model

I'd be interested in further information about this, if you can share some link here.
Some countries with public health care disallows private medicine practice. Where I live health care is neither the worst nor the best in the world. If you're dying then you'll be taken cared of with low out of pocket expenses (mostly drugs). On the other hand if what you have isn't life-or-death, it can take months or years before it'll be taken of.

More recently, they started allowing private practice but there are rules for how much time a doctor can work vs in the public system. Tbh I'm not sure I how stand on it, it's a complex problem with many variables. The only thing I'm sure of is your wealth shouldn't affect your chance of living or dying, and for that we're better off with a public system. Should a private system also exist in parallel? Time will tell I guess.
As far as I know, most of Europe has effective public healthcare. And those same doctors have a parallel private practice which gives you the same treatment but faster. For a pittance.

For example. To see a dentist in Slovenia there is a 6 month waiting list. But if you pay 20eur, you go to their private practice and see them in 2 weeks.

Optometrists are a several month as well. But you can go private, see them in 1 week, and they waive the fee if you buy glasses from them.

Bigger procedures get a little more expensive and there are things that don't exist in private (surgery can never be private because the country only has N surgery rooms and they are booked up with public stuff), but in general it's the same doctors and the same service in private and public health care. Private lessens your waiting times and the doctor is a bit nicer to you.

Now that I'm in the US I'm essentially terrified of needing a doctor even with insurance because of the crazy copay and deductible and in-network out-network system. Been here 3 years, never needed a doctor thank god.
My concern is that this sort of approach to medicine is going to result is the "top specialist" tier of doctors spending more time treating complaints that don't really require their particular level of expertise. You probably don't need to see the world's best cardiologist if you just have high blood pressure, but if you are paying 40k a year for a concierge medical service they might feel that the need to get you in front of him or her in order to justify their fee. Otherwise what are you paying for? Consequently this amazing heart doctor spends an hour telling you to eat better and exercise rather than evaluating someone's complicated and life threatening condition.
I wasnt serious about "firing" -- but was just maintaining the spirit of what happened to the OP on reddit...

but yeah - I agree with you...
I like how the article says Private Medical "does not advertise", then immediately follows that with some glossy, staged press shots. They don't advertise, except for the advertisement they just ran in the New York Times.
I can keep an eye on what's going on in my spare room. Can't keep an eye on the rented car as easily
> It would be nice to be able to define a prior that puts very low to no probability on actions that are not physically possible. This would constrain the search space considerably. But it's not really clear how to do this with neural nets.

I dunno, I can think of several ways off the top of my head: 1. put large negative rewards on impossible actions; 2. only compute Q-values for feasible actions (just because DQN computes Q-values for a hardcoded set of actions doesn't mean you have to); 3. use Achiam's "Constrained Policy Optimization" https://arxiv.org/abs/1705.10528 ; 4. reparameterize the output to make illegal actions unrepresentable (domain-specific); 5. add illegal or not as an additional data input (ie in addition to the usual image or robot state, for the _n_ possible actions, include a _n_-long bitvector of possible/impossible), or include that as a regression target to make it predict whether each action is possible.
DX12 Multi engine capabilties of recent AMD and Nvidia hardware
While I appreciate your concern and caution, I feel like the medical community has worked the public into a bit of hysteria over peanut allergies.

So few people die from peanut allergies each year it's hard to actually get good numbers on the phenomenon. And yet I have several friends who report having someone deathly allergic to peanuts in their family. It seems incongruent.
I don't think we're arguing about the same thing. I never said (and neither did the article) that we shouldn't use systems like these. What I am criticising is the Indian govt. selling off the data and not taking privacy into account.

BTW, this is not just an idealistic point we're arguing for. This is long-term pragmatism. Majority of the people will always go for short-term gains, this is well known.
The United States of Venture Capital: The Most Active VC in Each State
Sounds reasonable. Obvious limitation is that it is applicable only right after extraction and with healthy bone at the site.
Well, probably not this level of pampering, but clearly money always helps, and that is allowed pretty much everywhere. And, I'm willing to bet, in those places where it's not allowed it's done off the record anyway.

My own data point: back when I had a job that provided private insurance in Spain, making an appointment for my daughter with a specialist required waiting for weeks. The shortcut? A paid, private appointment, outside this private insurance. The specialist saw her in a matter of days.
> Some countries with public health care disallows private medicine practice

These countries help underwrite the thriving medical tourism markets in places like Thailand and India.
Yeah this infra/config management sounds like land-mine / time bomb incompetence territory. You just were the unlucky one to trigger it. Luckily this gives you an opportunity to work elsewhere and hopefully be in a better place to learn some good practices - which is really what you're after as a junior dev anyway.
zxcvbn actually correctly identifies that password as being the result of the user hitting multiple adjacent keys on a standard QWERTY keyboard. Still passes the strength check though because it doesn't identify the more complex pattern of moving top to bottom, then left to right across the keyboard, alternating shift with every column.
While car contracts can be unnecessarily confusing they are not the only opportunity for reform. Service contracts need simplification as well, whether your agreement for internet or cell service, to merely using one of the online streaming services. There is a lot of boiler plate in there that could be minimized with some good changes to the law.

This story is UK based, is there no Truth In Lending type act to help simplify these contracts into terms people can readily understand? A recent car purchase I made in Georgia (US) was very easy to understand, all the numbers on one sheet.
Shall, thanks
If you need Kinetic typography video check out this article
It's fine if you don't mind using rudimentary, buggy tools, and converting your whole code base to the latest language changes every 6 months, and you don't mind bloating your app with a mandatory 8Mb runtime. Great for small projects, people coding for fun, learners, and early adopters/neophiles who enjoy keeping up with all the changes. But substantial projects need solid, stable tools. Swift will get there very soon, I'm sure.

Admittedly I'm basing my opinion on Swift as it was about 12 months ago so hopefully someone can tell me how wrong I am and that the frequent IDE crashes and compiler bugs are fixed, refactoring is now available, autocomplete works really well, compile times have improved, and the language has no more breaking changes, etc.

It's just that I have work to do and Objective C is still solid and dependable. Playing with Swift was fun but I kept running into too many yak-shaving diversions to get even basic things done.

So is it time for me to switch?
Well, "we" did. It just took longer than most people thought. Segwit was put in last year, it just hasn't activated yet.

Why did it take so long to develop? I think it's a combination. Many people wanted to get it right, a bad solution could be worse than no solution. There was also concern about miners blocking it, as many had been very skeptical about lowered fees.

Why does it take so long to active? Yeah, this is the tough one. It was deployed the same way as other soft forks. But this turned out to be quite contentious as it played right into an ongoing governance conflict. Worst case, the current deployment has to time out later this year and then it can be safely re-done.
Show HN: Pydantic – Data validation using Python 3.6 type hinting
The difference between Guix and GuixSD isn't about alternative names for the same thing (like whether e.g. Ubuntu is "Linux" or "GNU/Linux"). Instead these names describe two distinct, but related, software projects.

Guix is a collection of programs for building, installing and distributing software (or other digital artefacts). It is specifically designed to work alongside alternatives, like apt, yum, etc. on many operating systems.

GuixSD is a particular OS distro, which uses Guix for all of its packaging, etc. If you use GuixSD, you're going all-in on Guix for everything.

The distinction between these projects is important, since Guix might be a good engineering choice for some project (say, a Web site backend, requiring particular versions of Apache, Python, various modules, etc.), whilst it may be a bad idea to switch the whole underlying OS to GuixSD.

As a concrete example, I've not used Guix or GuixSD myself, but exactly the same distinction exists between Nix and NixOS. I personally use NixOS, and I include Nix configurations in my own projects, so others can use Nix to install them with all of the right dependencies, etc. They don't need to switch distro to NixOS though; Nix will work on whatever system they already use (e.g. Ubuntu, OSX, etc. Though not yet Windows).
I think a fair question is whether all that additional expense results in better outcomes. I certainly understand the experience is better for patients, and there is little or no wait time, but is there evidence that health outcomes are actually better?

I wonder if it's like the difference between taking coach vs. a private jet. The private jet is more convenient and comfortable, but safety ratings are considerably better on major airlines.
I'm not making a judgement one way or the other in this case, but 'cruelty in creation' is something that may need to be considered more in the coming years.

Pugs are my favorite example-- always in respiratory distress, abnormally short life spans, and unable to normally reproduce.

It isn't some kindness that we create pugs the way we do-- just a gap in traditional morals.

We may confront this more should we find we've created an intelligence with the capacity for emotions.
It's unclear what the point of this article is supposed to be other than to stoke outrage at the 1% who get premium treatment while the rest of us proles suffer 'normal' healthcare. It's almost as if all of a sudden having money buys you nicer things, as it always has for all of history, including in the healthcare systems of every other nation.

In developing countries like China, Russia, India, Saudi Arabia, there are entire parallel healthcare systems for the wealthy and connected to get high quality care and when such care isn't available, they travel to richer countries or hospitals that cater to foreigners in Bangkok, Seoul, Cleveland, Medellin, and any number of medical tourism destinations that have popped up. I've been to several of these hospitals and they are nice. In Seoul, at the Samsung Medical Center, hospital rooms for foreigners have one bed each, as opposed to four beds each for Korean nationals. Why? Koreans are paying less via subsidies and rich foreigners with weaker currencies are paying full fare.

In universal healthcare countries with market economies like the UK and Canada, private clinics are the only way patients with money who want to avoid the limitations imposed by rationed care can get access. In Canada, instead of waiting an average 9.5 months(!) to replace a painful knee, you can go to Duval Orthopedic Clinic in Montreal to get a knee replacement for under $14,000 USD (compared to $49,000 in the US). In Hungary--this is a fun one--you can go to a terrible state doctor for free or pony up $50 US for a private doctor. Most Hungarians who can afford it pay the cash, because they know they will get the quality for it. Even in the so-called universal medical system of Cuba, the political elite and their relatives have their own private hospital, whereas the rest of the population suffer substandard equipment, years-long wait lists, lack of medication and outdated facilities, and worst of all, doctors who spend half their time working side jobs as taxi drivers to pay the bills.

The point is, markets will always step in to fill needs that aren't being met by state-run care--it's as predictable as the sun coming up. Often, the gap between rich and poor is worse in systems that try to do the most to eliminate it--Cuba being a prime example.

What I found most interesting about this article--most likely unintentionally-was the hypocrisy of the Bay Area, the liberal mecca of the country, that would vote for universal healthcare in a landslide, also being the main drivers of demand in premium private service, widening the gap between the rich and the poor such a healthcare policy is bound to exasperate.
And you can trivially package the process into an iterator anyway if it's a case you encounter often.
I would like to see _four_ simultaneous 3d projections of the 4d space, each ignoring (or flattening) one of the 3 dimensions.
I notice your site says you have developers from Google, but Google claims to own all IP developed by their employees in their free time. There's an exemption process but it can take a while to get approval. Do you have any ideas or guidelines on how to navigate that?
The LOC CIP program, which gives publishers cataloging information in advance of publication, began in 1971. Before then, I don't think it was usual for publishers to have more than a catalog card number.

The CIP program mainly exists to make it easier for libraries to acquire and catalog books. LOC still requires that the data be printed in the book, even though most libraries now not surprisingly get the information online, either directly from LOC or from a service like OCLC.
Family guy peter becomes uber driver
The length seems pretty typical to me. Most of the text actually goes to explaining pictures.
the $40k mentioned does not cover hospital stay.

From the article:
"The annual fee covers the cost of visits, all tests and procedures in the office, house calls and just about anything else other than hospitalization"
How come there hasn't been a serious hack or heist involving criminals with IMSI catchers?