skysight-inc/HackerNews huggingface dataset:
On the subject of drilling math, I would like to hear if any of you other readers have had experience with Kumon. I've been taking my kid to it, but I'm getting increasing resistance from his side, while also not seeing quite why I'm doing it.

Kumon is basically a daily set of very similar questions (1+3=, 2+3=, 8+3=) with a weekly workshop where you do the same. The goal is to have all the arithmetic drilled into memory, so the workbooks are very repetitive.

On paper it sounds great to be drilling math questions, and I used to do it myself. But his Kumon stuff is very slow at changing, and my son is complaining that he already knows the stuff and is doing more interesting things in school. School happens to be doing Singapore Maths, which is yet another philosophy of math teaching.

The problem is the kid is understanding what I understand, which is that endless drilling isn't math. I'm a bit more ambivalent having done a load of math beyond his level, and knowing that it's useful to memorize a few things. But I can't but feel he's right and even I am bored doing the workbooks over his shoulder.

There must be some alternative way I can regularly show him interesting stuff in math.
That's... not trivial.
I have found the best course is to treat the interview as a situation where a colleague has come to me with a problem that we are hashing out together. I feel a lot less pressure with that mindset, though I do get thrown off by interviewers who take an adversarial approach. But I find this an acceptable loss.
Same here with Fish
Really cool idea, and would completely simplify our internal tools building process, but opening our firewall to allow access to the small scale internal DBs that we would work with is a total no go.

Not to mention that even trying to create a demo for internal teams that would build tools using this with our data would mean miles of red tape that makes it a heavy sunk cost before we even get to the starting line.

If this had some form of containerized app (like Influx Chronograf as an example), then I could create demos that would likely lead to license purchases. But without that, we'll just keep building internal tools with internal frameworks.

Great idea, heavily limited by not having something I can deploy internally without an enterprise license.
Everyone seems to also forget the then recent success of the Korean war. At risk of confusing what was known then and what is known now, well, look at NK vs SK today. Vietnam under socialist control turned out to be not anywhere as extreme but it would have been hard to guess that right during China's "great leap forward". Of course, things didn't turn out as well for neighboring Cambodia.
> But in the aftermath of WWII, I think it's not surprising that this wasn't understood.

Then what's our excuse this time?
You probably shouldn't trust any information thrown at you without critical thinking (including the first three articles that came across my Google search).
Samsung Note 9 Has a 'Water Carbon' Cooling System
Yet for every story akin to this there is one of someone who's unable to get desired help, despite years of trying. Of mental health services that are unavailable or under-funded, or go through shit for most of their life. All the while living in countries that don't have euthanasia available, even for terminal cases.

We are already "begging" people not to go - that leads to the efforts to turn it into a huge guilt trip as often practised by church dignitaries when discussing euthanasia - both in the specific or abstract. Also, as described in the article, they have to validate their state of mind with others first.

Neither should we be shoving them through it.

Can't we just accept that sometimes someone has actually had enough and let them make their own minds up? Their life might actually be shit, and it is they that have to live it.

The fact that it rare enough to be headline worthy, yet the thousands of cases who go through a temporary acute crisis and hang or shoot themselves aren't speaks volumes don't you think?
That this has to be in the kernel is a failure of the Linux architecture. This is middleware.
> UNIX was based on the idea of "everything's a file".

Namely it was. From 1970 to 1983 when sockets came. Are network interfaces files? Routing tables? I have not counted, but there should be numerous system calls do not take a single file descriptor parameter. And even those who take one, the object behind the file descriptor is often not discoverable in the filesystem.

> No sysadmin/devops type is going to do that; it's not sustainable.

sysadmins need to accept that 1970 Unix skills are useful, but no longer sufficient. When you look at your system, always run "lsns" first.

(That said I recently had the feeling that "lsns" did not show all namespaces. Did not hunt it down though, because it wasn't really urgent/important at that moment.)

Edit: to be clear it should be "sudo lsns" otherwise it will not be system view.
PageUp silence shows why Australian data breach law is useless
>>At least Python's backers had the guts to release a breaking version 3,

If you have to absolutely must break backwards compatibility. Break it once, and never again, in a way you fix your language permanently. Like Perl 6.

Python broke backwards compatibility for a print statement.
Latin phrases are in common English usage as is this one. Their use is nothing to do with elite education. It doesn't take long to become familiar with some of the most frequently met ones. I might add that a number of European languages use them extensively.
> Pay only for the database resources you consume, on a per-second basis.

> You pay a flat rate per second of ACU usage, with a minimum of 5 minutes of usage each time the database is activated.

Cool idea, but an IO operation once every 5 minutes is considered (billing-wise) a full time service.

This could unlock a lot of cool potential if it had finer granularity. I can think of some IoT applications that have have infrequent operations which would be cost effective with less minimum time.
I would challenge you to eat state prison supplied food for two weeks then tell me how unfair it is for someone outside sending in either your own or someone elses money to buy things in the commissary.
Outsource Inventory Management Services and Its Advantages
Inventory management has a crucial part to play in keeping the stocks ready as per the future demand in the market. Outsource Inventory Management Services. For more info - https://www.sastabpo.com/outsource-to-india/outsource-inventory-management-services-and-its-advantages/
With all sincerity it is based on logic and reason enlightened by faith. http://www.usccb.org/issues-and-action/human-life-and-dignit...
Sorry for being so confusing

"Even more because your example was pure."

No it wasn't which is the whole point.

y = x + 1

means

y = x.map(_ + 1)

by default with async effects.

"same syntax"

Which is also the point, that there is syntax for the effects. When everything is async, there should be no special syntax as you have that syntax all over your code and it's redundant.
How would they have disabled the alarm without breaking into the car?
Yes I think it's funny. Sometimes you'll see a new product on the shelf and then six months or a year later they'll've changed the packaging since the first one didn't work well enough. I guess those must be well funded products owned by big food companies.

And advertising that merely told you they have a product rather than showing unlikely circumstances - or at least had to depict the likely uses of the product. Car ads that sit in traffic rather than zooming through the city. Coke drinkers that struggle to stay awake in the office rather than take a ride in Santa's sleigh in a winter wonderland.

Fake news move over. You've already been outdone.
> CSS Grid Layout is currently supported by very few browsers and this page may not display as intended for you.

As of right now, CSS grids is supported by 83%-86% of browsers.

Source: https://caniuse.com/#feat=css-grid
Nice work. Although it seems everytime I need to use bash (actually quite regulary ) I forgot everything about it and need to look up all the basics again. Maybe I don't try hard enough, or maybe its inventor had a totally different logic then I do.
"CSS Grid Layout is currently supported by very few browsers and this page may not display as intended for you."

According to caniuse, CSS Grid is supported by all browsers except IE and Opera Mini.
Extra hot clip miscellany №42 – Channel FunnYCubemix (2018)
> imagine a CPU where 6 and 8 core variants are the same but the 6 core is locked in bios and you can unlock it with some tuning software, its like that.

But isn't this already the case (except locking might be in CPU firmware)? AFAIR this is the case with GPUs.
Introduction to OCaml
Playing by the Rule (2010)
I think I understand what you're saying, but if it was so vile and so toxic, why would people keep returning to it and stay so involved? Whether you happen to like it or not, these are communities just as much as any other. I think it would be better for the human condition if, instead of dismissing them as "vile toxicity", we looked at what they're saying and what's caused them to feel a need to say it.

Then again, that takes more than five minutes.
Develop Chrome Extension in 2018
For europeans:
http://archive.is/TN3Uz
This is a godsend. Thank you. Without this, I’d nearly given up on python already, but, wow, thank you.
That’s cool, I wasn’t aware. I think that’s most useful when working with external libs.
You could still draw a link: high prescription rates of opioid pain killers normalises the use of them and as such someone is more likely to be offered them by family and friends for something minor.

Also, is “throughly” debunked really the case? That makes it sound like there can be no link at all, but higher levels of these in society legally could lead to an increase in abuse. On complex topics like this it is rarely possible to talk in absolutes.
It's not really something that comes from knowing Latin per se, (see what I did there) but just the sort of Latin phrases that were typically used in English writing of the 20th century.

Due to the explosion of the Internet, I think there are a lot more people who speak and write fluent English without much experience reading books in English. It used to be that the average reader of the NY Times did read books, I would think, but maybe not so much any more.
And if its a lot of extra pain?
You were reading the bottle wrong. Those pills were either 5mg or 10mg of hydrocodone with 325mg of acetaminophen. 36 of those, while a lot, is really not more than 4-5 days worth. They only last 4-6 hours each. 325mg hydrocodone would have killed you several times over unless you’re, like, a late stage cancer patient or a severe heroin addict.
I taught my daughter, when she was 4, to multiply m*n by drawing m parallel lines intersecting n parallel lines, then counting the intersections as the result. Etc., as I am a nerd, we discussed fun problems from time to time. Seven years later she won a trophy at the national level.
The military certainly recruits using lofty external motivations like "defending the nation" and "making the world a better place". Apparently it's not viewed as a problem, that all such high-minded bullshit is forgotten soon enough in war zones. There must be some mid-level officers who realize that this is the reason why they never win any of the wars they fight. Their men, as you say, have no other reasons to fight. In contrast, their opponents are fighting for their families, communities, and religion in addition to their comrades in arms.
As to Afghanistan? I don't know. It made sense to go in to fetch Bin Laden, but not to do any nation-building.
Chrome Extension Boilerplate with ReactJS and Vanilla JS
For all those worried about whether Julia's indexing is good enough, let's broaden the conversation a bit. How good is your favorite language at, say, iterating along dimension m of an n-dimensional array, where m and n are not known by the programmer, and where you can't count on the array being strided? Trivial and extremely efficient in Julia: https://julialang.org/blog/2016/02/iteration.
I’m just guessing, but community and social support networks are vital for survival and to retain access to potential mates. You don’t deliberately distance yourself from that without a really good reason. Also the nice you have built experience with the terrain, shelter, food, water and material resources of a region why give all that up? Even nomadic cultures have a range and set of routes and locations they know and visit.

Suddenly changing climactic zone is also probably difficult as the different climate, flora and fauna might require very different sets of skills.
Ifttt to fan page should work
All that tells is that there is a layer a indirection. The friends, family, and dealers to some degree get pills from people that got them from doctors. Some may come from overseas, theft, etc., but if 25% are hooked directly from having been prescribed them, I would guess a big portion of the 75% is people within a few hops away.

Often what happens is that the 25% that got hooked from being prescribed start buying additional pills. Eventually they can't afford that and they switch to cheaper heroin, often funded by selling their prescription pills.
Opiods have been around forever; pardon my ignorance, but what is different now that makes so many more people get hooked on them?

Presumably people felt the same levels of pain in the past as they do now, given the same maladies. Is the situation:

A) More surgeries with extremely painful and long recovery periods are happening, where these meds are truly necessary

B) Doctors are prescribing opiods more freely for lower levels of pain than in the past

C) People are faking pain more often

D) People who really do need pain meds are staying on them longer than they should

B) seems to be the accusation that I usually see, but have doctors really gotten worse and less careful over time? To an extent that explains the whole crisis?

My guess is that D) is the real cause, for may different reasons.
"Please respond to the strongest plausible interpretation of what someone says, not a weaker one that's easier to criticize."

https://news.ycombinator.com/newsguidelines.html

Also, the comment takes a significant step further into political flamewar. Can you please not do that on HN?
I don’t think that comes into play here. Objective-C is C, and although you could JIT any language, C isn’t made for it, both philosophically (one of its main claims to fame is ‘close to the metal’) and technically (a source file cold be compiled multiple times with different macro definitions or with a different set of #included files)
I wonder why in Australia, where cigarettes cost the most, the 'taxes as a share of price' is also not the highest on the map.

The tobacco companies just charging more and blaming the tax... Turkey, France, Chile, Finland have tax contribution of over 80% !!
In theory there should be no difference between theory and practice, but in practice there is.
Ask HN: How to publish your side project on Twitter if you have no followers?
朱一龙
sanndsafnahajhfak
And yet the CDC notes that your likelihood of developing opioid use disorder rises precipitously after as little as five days on prescription opioids. https://www.cdc.gov/mmwr/volumes/66/wr/mm6610a1.htm

Regardless of whether or not this accounts for the majority of addictions, it is sufficient to say that opioids are far more dangerous for patients than many doctors believe. Addressing prescribing habits is a necessary part of a multi-pronged solution to opioid addiction.
Soldiers don't make policy.
Just speculating here, but I‘d say since eyes have evolved to also look at the sky, I’d say no. Shining a laser on cells is different from sunlight in various ways. First, laser light waves are coherent (perfectly overlapping), so their effect might amplify A LOT. The dosage (J/cm) used by the researchers also might be 100x as high as the sun‘s, for all we know. Then, there’s the thing that sunlight is a mixture of a very broad range of frequencies, from far infrared (and below, microwaves etc) up to ultraviolet (and beyond, eg X-rays, which luckily don’t arrive at the earth surface in huge doses). Again, just speculating, but near infrared has been found to have a beneficial effect on retinal diseases, so maybe it compensates for the problems blue light creates.
That's what erlang does too. "let it crash".
> They have to be high enough to change the decision though.

This is why I've stopped listening to people attempting to make externality-based policy arguments. If you believe that a carbon tax needs to be high enough to change companies' decisions, you're not actually making an externality argument. You've already decided that the world should change, and how it should change, and you're just trying to find some magic words that you think will get other people to agree with you.

A real externality argument would try to determine the value of the externality, and set the tax to equal that value. It's not relevant at all whether that changes anyone's decision -- if there's no change, and you see just as much pollution as before, that's fine, because the cost of that pollution is now being accounted for correctly, and it's been decided that the pollution was better than the alternative.
Email Productivity and Achieving Inbox Zero
Why would you publish it on twitter? There are better places such as reddit, indiehackers, product hunt and hackernews. Depending on what your side project does, there are even more outlets to generate imoressions and getting feedback
While there's no harm in having a second guide, I just want to make sure folks do know this is in the official documentation: https://docs.python.org/3/reference/datamodel.html

(The article will perhaps be a better guide to those newer; the data model page is … pretty dense.)

Also, I find is exceptionally handy to have a Chrome "search engine" for the Python docs while I work. That is, on chrome://settings/searchEngines I have added a custom search engine with this setup:

Search Engine: Python Docs
Keyword: py
URL: https://google.com/search?q=site:https://docs.python.org/3+%s&btnI

(The URL is an "I'm feeling lucky" search on Google, limited to the Python 3 docs. Note that it is set to search Python 3.)

This allows me to type, e.g.,

py data model

in the URL and get the above page. Want the asyncio module docs?

py asyncio

(I similarly have "mdn" for the developer.mozilla.org docs, which are also excellent.)
I know exactly how you feel, I get that argument. I choose to disagree on moral grounds. I know it is so easy to disregard my position. But here is just one thing to consider.

It is far cheaper to provide assisted suicide than to provide social support, medical support and guidance. When we have all these baby boomers headed for infirmity and assisted living lacking the funds to pay for it, make no mistake. You will see suicide made out to be heroic, it will be lifted up. Death with dignity will be promoted with unassailable stories. But you will never hear of the lives, of those silenced ultimately because of an economic reality. We should choose to lift up life even when it hurts to affirm the great dignity of each person. Because an emotional story can become the authorization in a bureaucratic system to wipe people away to save money.

http://www.usccb.org/issues-and-action/human-life-and-dignit...
>The domino thing wasn't that crazy.

I wonder if that implies that the world should've gone full communist. That the attempts to stop that was just delaying the inevitable, even though the delay seems very successful right now.

I wonder if socialism would've ended up as authoritarian as it did if it hadn't been fought like it was.
OK, so yes, if you steal Alice's credentials AND have control over the co-ordinating server you can trick Alice and Bob into continuing to communicate with you in the middle, and so long as you keep this up it's relatively undetectable.

I think I can see how to repair this (Alice doesn't know Bob's private key, but she does know a long term public key for him, as a result she could periodically and automatically re-verify that she's still talking to Bob and not just someone who has her short term keys and is actively conducting a MITM) but Signal doesn't attempt such a repair and maybe I'm wrong.
It competes with unions as the class of people who organize together.
What's debunked is the very common narrative in this thread that poor Uncle Billy went to the doctor with a bad back and came back a rabid addict. Non addicts becoming addicts from regular prescriptions is very rare according to all studies.

There is definitely a big complex drug ecosystem otherwise, though.
Have you considered the availability of cheap opioids such as black tar heroin from Mexico? Or fentanyl shipped from China?
Interesting: #kartoffelmos posted here that 83%-86% of the browsers support this while #irrational posted that it is supported by all browsers except IE en Opera Mini.

I never saw this but you can switch between "Current aligned", "Usage relative" and "Date relative" @ caniuse.com

The default is "Current aligned" but it might not be the best default because it doesn't show what you will target.
This is a really odd idea. I get that individually, in a given moment that might be why, but there has to be a reason. The military doesn't just stochastically find itself in other countries shooting people and getting shot at.
J Alvarez and El Micha – Tú Quieres
This is a very old un-updated project and probably a repost
Same here with zsh. I switched my laptop shell to bash since working all the time in the interpreter at the shell prompt makes me better able to write bash scripts. I don't particular want to deal with the minor syntactic differences of zsh, or the totally different fish, seeing as I have to know bash well.
1. All other major tech and non-tech companies comply with Chinese regulations, to access their market. Why's Google's attempt any different?

2. If not Google, another American company, like Microsoft, will gladly fill Google's void in China by cooperating with Beijing. This is Google's loss with no impact to China, and gain for Google's competitors, who don't give a crap about being evil

3. While criticisms levied against China are fair and valid, America has an equally hostile tech policy - it routinely restricts tech exports to countries it sanctions, leveraging it's tech leadership position. For certain markets, alternatives don't exist, like in desktop PC processors where AMD and Intel are the only practical options, both of which are American. No wonder China arm twisted Intel into licensing x86 to Chinese manufacturers

While IP theft is unacceptable, China's stance of restricting American tech penetration de-risks itself from sanctions. Not to mention all the NSA backdoors in American tech that make it untrustworthy to adopt without audit.
And yet I find the answer to "Why did you sign up?" to be "To defend the guy next to me!" an odd statement.

Should no one be a soldier in peacetime? Because logically, if the hypothetical guy next to you isn't getting hypothetically shot at...
The sample images shown only feature white women. Is that a limitation of the dataset?
Nitpick: languages don’t do inline caching, implementations do.

Also, Objective-C being “C with a little bit of dynamism where you need it” doesn’t need it as much as languages where every call is, principally, a dynamic one.

Having said that, the current implementation does some caching, but inside objc_msgSend, not inline with the call (https://www.mikeash.com/pyblog/friday-qa-2012-11-16-lets-bui...)