skysight-inc/HackerNews huggingface dataset:
Callbacks suck, so write service functions for complicated CRUD. Working around ActiveRecord defaults is like the 2nd thing you learn to do at a serious Rails shop. I'm afraid you may not have been working with sophisticated Rails engineers, because we certainly modify defaults in our applications.

Elixir is hot, but it's hard to learn and will always have a barrier to entry that Rails won't. Rails and .NET will live longer than us.
Might be a bit of a different angle to this, but this startup is fighting cancer by using drug-combination therapy approach:
https://www.curematch.com
If only there was a way to know the aspect ratio of an image at the time of website authoring...
What did they want to find out with this study and why did they leave out Europe? Also: Did they consider the possibility that the test was biased since it "was developed by the U.S. Educational Testing Service"? I guess the exams that Chinese students get might be different from this one, while it is probably a familiar structure for US students...
About 3500 bugs were fixed for the Firefox 66 cycle; they aren't all in the release notes though. If you are curious about the full list, you can take a look! The query will take a few moments to run: https://mzl.la/2G1l6Ld
> Our bodies evolved to make us omnivores, I don't see why we should restrain ourselves to such extent.

How is this not just https://en.wikipedia.org/wiki/Naturalistic_fallacy?

> What we need is moderation and sustainable means of production. This is clearly misaligned with our current lifestyles though. [0]

> In a few generations we went from "meat/fish is a once in a week delicacy" to "cheap meat at every single meal" (see the so called "meat lovers" thinking they're entitled to 2 pounds of bacon a day).

This seems to agree with you:

https://www.theguardian.com/environment/2018/oct/10/huge-red...

> Food production already causes great damage to the environment, via greenhouse gases from livestock, deforestation and water shortages from farming, and vast ocean dead zones from agricultural pollution. But without action, its impact will get far worse as the world population rises by 2.3 billion people by 2050 and global income triples, enabling more people to eat meat-rich western diets.

> The researchers found a global shift to a “flexitarian” diet was needed to keep climate change even under 2C, let alone 1.5C. This flexitarian diet means the average world citizen needs to eat 75% less beef, 90% less pork and half the number of eggs, while tripling consumption of beans and pulses and quadrupling nuts and seeds. This would halve emissions from livestock and better management of manure would enable further cuts.
I think it doesn't matter where the media is but rather from what website it is played.
Glossier Tops Billion-Dollar Valuation with Latest Funding
Thunderstorm with eye-popping 720GJ of energy
I've felt this pain too. 2 years ago I bought a Mac mini (2014 model) off eBay for $340 mainly as a build machine for iOS binaries. It was the lowest end model which had a 5400rpm HDD in it and 4GB of RAM.

It took ~3 minutes to get to a usable desktop. Opening XCode took long enough for me to go grab a coffee or scroll through Facebook. It was swapping like crazy. I honestly couldn't believe they were selling this configuration new for $500 in 2018.

I bought some iFixit tools and used their guide to fully disassemble my Mac and slot in a new SSD. Time to usable desktop dropped to like 20 seconds, things were snappier. Doing more than one thing at a time still uses swap but it's much less noticable now.
It's not that I think the Mac's are too expensive, I paid more that $3.5k for my current gen Mac Book Pro laptop. I wish it had a good keyboard and I wish it was as easy to handle as one of my ThinkPads.

My current development machine is a Mac Pro, the little cylinder from 2013, and I had a couple of the aluminum box ones and my first was in a plastic case. I just couldn't see upgrading to a current Mac Pro ($5k to $13k). It's thin and looks cool, but I thought that I would want to use a different (wider) monitor and didn't think the cooling offered by the case was a good idea. Maybe the new Mac Pro that is supposed to be offered later this year will be just right.
Instagram to start testing checkout button with limited partners
Being in an environment or situation where that can be a problem is still not preferred. It may not be an overdose, but the outcome of drug use by their friend doesn’t seem positive.
>Given the typical CS student body, this basically means Indian, Chinese, and Russian students studying at US universities performed better than those studying at Indian, Chinese, and Russian universities

Once you get down to the average university, the number of foreigners in undergrad classes drops dramatically - it's just too expensive for most foreigners to pay out of state tuition unless it is a prestigious university.

In my undergrad, most of my engineering classes had only one or two foreign students.
It's unlikely that making it hard to reach 8chan / 4chan etc. would impact those shootings, no. But it may very well have had impact on the New Zealand shooting. And the Pittsburgh shooting.

In the US, the bar would be pretty high for government action based on this reasoning; a direct link would have to be proven, and either an imminent threat of harm be demonstrated or the media in question be demonstrated to have nothing but illegal activities occuring with it. I don't think 4/8chan raise to this high bar. Other nations? Bar not so high.
Outline link to bypass WSJ paywall: https://outline.com/mVJ4Sm
What Is an Index Trading
I took a look at the sample questions for the test, having never heard of it. It's 66 multiple choice questions, and many of them seem like “gotcha” questions where one of the answers is an off-by-one error or something like that.

And how about this lovely question:

> A personal identification number that opens a certain lock consists of a sequence of 3 DIFFERENT digits from 0 though 9, inclusive. How many possible PINs are there?

Putting aside the value of this question in the first place, the correct answer is 720 but it also includes the answer 1000 in case you didn't notice the emphasis on “different”.

Doesn't seem like a great test to me unless it's about your reading comprehension and ability to decipher code with single-letter variable names.
Both new Mac mini and 27" iMac have upgradeable RAM.
C itself is not the pinnacle of programming languages in my opinion. JavaScript does require a "function" keyword (although it should be shortened to "func" in my opinion.)

It still stands that "}" indicates larger-scale structures than ")" in C-like languages. Lisp has nothing equivalent, and I find a visual way to identify forests versus trees without first reading text is quite helpful. Your eyes may vary; everyone's head works differently.

But as evidence people agree with me, lisp had roughly 60 years to try to catch on as mainstream. It didn't. Nothing had more opportunities. If you don't win any beauty contests after 60 years, it's time to admit you are probably ugly to the average judge.
The World’s Richest Countries Are Full of Anxious, Alienated People
Apple will let you add 256GB of RAM to an iMac Pro for $5,200
Thanks for catching this - the link is in the notes correctly now.
The client can reserve the space with a CSS media query, then. But it should be the client making that rendering decision, not the loaded asset—i.e. if you have an async-loaded iframe, the iframe shouldn't be able to resize itself on load, but rather should be sized correctly when first created (either by JS or CSS) and then the contents of the iframe should accomodate the dimensions they're loaded into. (Which can be assisted by just sending those dimensions as part of the iframe's URL—though this is bad for privacy reasons.)
I’m not sure if this is a deep commentary about how increased Chinese supply corresponds to decreased money for American producers, or if this was the wrong link. Either way, an interesting article to read!
I'm not entirely sure but the mechanic I trust said it was probably a bad master cylinder. That or just needed to change the brake fluid. It was definitely freaky because I like to think I do a decent job of keeping up on maintenance.
The science is solid. We know that red meat, especially processed red meat, definitely causes cancer. The evidence so good that the evidence is now in the same trust-worthy class as the evidence that tells us smoking causes cancer.

But red meat doesn't cause very much cancer. There's a low risk of colorectal cancer, and red meat (even processed red meat) increases that risk by a small amount.

To prevent one case of cancer from red meat a large number of people have to give it up.

I disagree with parent poster. If people can assess risk they'll see a small increase of a low risk, and decide there are other things to worry about. If people can't assess risk (the vast majority of people) they'll decide if they like bacon enough to keep eating it, just as they do with alcohol or anything else.
Show HN: A Web Command Line Interface via NUS Using Web Bluetooth
Free will is a fascinating hypothesis that is only partially explanatory of observed human behavior. ;)

To be less glib: in the US the bar is very high, but we do, in fact, have some things that we've removed from the "free will" discussion. Child pornography is the obvious example.
Soldering in the RAM amounts to apple resorting to extortion. Where else are you gonna get this RAM other than paying the toll troll hundreds of dollars over what it should cost solely because apple greedily removed alternatives.
Seeking precise rules for something is, in spirit, the exact opposite of what a logical fallacy is.
I often wonder about that. We recycle as much as we can, but I would like to know more about which things I put in the recycle bin are easily recycled. I've always assumed that I can feel less guilty about the metal I put in the bin than the plastic. What about cardboard? What about cardboard cartons like milk and juice? What is the best packaging to get meat in?
Apple Rolls Out First Update to iMac Desktop in Almost Two Years
Her son died. And then anti-vaxers attacked her
It's important here to realize that irrespective of your diet-- vegetarian, vegan, omnivore, carnivore and everything in between-- these are just labels and any of these can be bad for your health.

For example, the following highly processed and sugary foods are considered vegan/vegetarian-friendly: French fries from most fast-food chains, Oreo cookies, Fritos corn chips, Lays potato chips, unfrosted Pop-Tarts, Nature Valley Granola Bars, Graham Crackers.

I would not trust an endorsement of a diet from a health organization. Over the past 30-40 years most modern countries have been experiencing a surge in chronic diseases such as cardiovascular disease, type 2 diabetes, high blood pressure and strokes. If you look at the places around the globe where Western diets have been introduced (e.g., Hawaii and Polynesia, Aboriginal tribes of Australia, Inuit in polar regions etc.), you see wrecked health markers for those populations after abandoning their local indiginous diets. Health organizations have done a disservice in the realm of nutrition and health.
> All education in India happens in English

That is incorrect. In urban areas in India, schools teach in English but in rural areas it's in Hindi. In urban areas, only if it's a big city, then peer to peer communication is in English. However, in other cities, the only interaction in English is with a teacher; other times is in the native tongue.

And even if the students in big cities are learning mainly in English, the teachers are usually not native English speakers, which means that the grammer/pronounciation suffers. which is what you see with Indian engineers that have migrated to other countries.

https://www.quora.com/What-language-is-used-in-schools-in-In...
Completely different. James Oroc wrote a book on it, and there are also a bunch of YouTube videos of him talking about the differences between DMT and 5-MeO-DMT.

https://www.amazon.com/Tryptamine-Palace-5-MeO-DMT-Sonoran-D...

https://www.youtube.com/results?search_query=james+oroc
Does anyone know if OP would be able to work around the single-ownership issue using Cell/RefCell?

I still haven't fully grasped how to use those, but they seem like they'd fit there.
Agreed. You can have good trips and bad trips. It is highly dependent on environment and state of mind.

The only guarantee is that your ability to change increases due to increased neuroplasticity. Whether the change is good or bad is ultimately up to you, which is why I think if these drugs were to be legalized that the intake should happen in conjunction with in-person therapy in a controlled environment and not at all something you'd just pickup at a pharmacy and take on your own like anti-depressants are today.
The Mac Pro has not been updated since Dec 2013.
Finally enough ram to run SVG blur filters in Safari!!!
I feel like anyone becoming too successful in this space would find the ol' Eye of Sauron pointed at them pretty quickly..

Whether through technical or legal means, I doubt Apple would sit around and let this openly thrive or grow into a viable option for the average consumer.
Codesandbox 3.0
They have an event soon and seem to be getting other announcements out of the way.
There are 5 Universities in India with ABET certified courses. None rank among the top 30 in the nation.
I thought I read that obesity is growing faster than undernourishment, but I can't find a source on that now.

It looks like the number of obese [1] and undernourished [2] humans are both currently 700-800+ million.

1. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5477817

2. http://www.fao.org/3/I9553EN/i9553en.pdf
Git has a mechanism to declare two commits equal and replace one with the other: man git-replace

This comes at the cost of having intentionally multiple histories and is not well-suited for complicate cases, but for the common case of "we want to stitch this old CVS-history to this commit", it does a good job.

Usability-wise, replace refs are not cloned automatically and some web-based tools lack support for it.
They were useful. Unfortunately enums can't be changed (e.g. add a value) in a transaction without some extra work
I think what he’s trying to say is you can’t overdose in the sense of most other drugs, unless you take a stupendous amount of it (say >50 the regular dose). There is some correlation between dosage and whether the experience will be positive or negative though.

As for your friend, from what I’ve learned on psychedelics, it can give people a “religious experience”, for a lack of a better term. It seems that’s what happened to him. However, how much weight one should give those experiences is debatable. If one is going to believe in those positive experiences, shouldn’t one also believe in the negative ones?
Details on the test:

https://www.ets.org/mft/about/content/computer_science

Journal paper is here:

https://www.pnas.org/content/early/2019/03/12/1814646116
The 386 was also export controlled for a time.
I’m not sure how much value I would ascribe to a certification that is held by DeVry University, but not the computer science departments of Stanford, Yale, or Princeton.

This annoys me to no end, since ABET is used to gate certain federal jobs and the Patent Bar, even in Computer Science.
Better to waste than to waist.

(Yes, take less on your plate, save leftovers for future meals, etc.)
The iMac Pro starts at $4,999 and was (probably) intended to be Apple's only "pro" desktop but the desire for an upgradable system was too much so Apple caved and a new Mac Pro is on the horizon. Apple is going to charge a premium for that upgradability that the iMac Pro doesn't have, I'll bet the base price for the Mac Pro is going to be at least $5,999.
The large number of open issues is a valid complaint although that is more of an indicator of popularity. As for the pace of development I’d challenge you to name another SQL IDE that releases updates twice a month. (Note: The exception was the last release cycle which took 3 weeks rather than 2 but that was for the 6.0 release)
To the parent's point... I'd recommend a hackintosh Intel NUC. I got blisters stuffing RAM SIMMs into daughter cards. I've agonized over IRQ choices for peripherals. I'm so over fiddling with my daily driver. I've got Audrinos and RPi projects for scratching that itch.

Uncertainty over the keyboards is precisely why I postponed replacing my laptop.

I'd probably use my iMac more if I could find a keyboard & trackpad combo in the same form factor as my laptop's. I want the trackpad flush and centered below the keyboard. I've used cardboard wedges to fake the arrangement, but it's not the same. And since Teleport has stopped working, I haven't figured out how to use my laptop's inputs across devices. (First world problems, I know.)
I think generic deployment system can be very difficult to build. For example, there can be problems with library dependence or data format dependence. I think you should select one 'family' of models, for example narrow down to only python scikit-learn models, and try to build a system for them.
I love how every time there is a post about Rails, someone preaches the holy grail of Elixir/Phoenix.

I think you are missing the forest of the trees, regardless of whether or not the success of rails is circumstantial, the fact remains that Rails is in the lead position because you can build a business on top of it.

It is a solid, battle tested, mature framework that one can use and scale it (up to a certain point) and beyond that, it might get harder but scaling is never easy and I am sure you would agree that Phoenix is not a magic bullet when it comes to scaling.

Again,I don't have to recount the number of services built on rails that thousands of people depend on today: Shopify, Github, Gitlab,..

Us engineers think the only thing that matters is your rendering time.. but it's not , the main thing that execs care about is the bottom line and how fast we can push products to production.

All that being said, I agree that Phoenix is great but let's not kid ourselves, we are here to make cash first and foremost.

To any young devs out there, I strongly encourage you to not pick a framework by its hype but evaluate it based on your system needs / maturity.
But having three arms on the surface still makes the detector blind to the third dimension.
Except that

A) freedom of speech is the most essential freedom (hence, "first" amendment), so I'm not broadening the discussion too much, am I? (aka, slippery slope argument is not always a fallacy)

B) I'm glad that you brought up Chicago, since it's run by leftists and anti-gun politicians, just like every other high crime city in the US and Europe; in fact, just like pretty much every high crime dump in the world is run by leftists. It used to be easy enough to dismiss such silly arguments by saying "Chicago and the rest of Illinois has some of the toughest gun laws", but leftists have a fallacious argument for everything. Fortunately, the leftists' favorite argument of "Chicago's gun crime is caused by the 2nd amendment and the ability to bring guns across state line, etc." doesn't last very long when you consider that the states with the most gun freedom in the US have some of the lowest crime rates (Idaho, Vermont, etc.). Or, are you prepared to offer a theory (other than "cultural differences" - last I checked murder is not an acceptable "culture", or is that the next wave of leftism?) about why people in Idaho and Vermont aren't murdering people due to their nearly unrestricted access to guns and legal ability to carry them in public?
Just spitballing: maybe there's a race condition for some kind of resource handle used in those shared content-loader workers, such that the longer a worker's lifetime, the higher the probability of some kind of resource leak or deadlock. More workers = less lifetime per worker = less probability of triggering it.
Discussion is cheap. If it is on topic, saying something stupid quickly and then rolling back the conversation is a far more efficient use of your time.

You do need to pick your audience.

Some people really struggle with this style of conversation. The rapid depreciation/substitution of facts can be a tad tiring.

But for those that can take it, this is essentially the same as writing things down but it's faster and has the added benefit of at least one other person "checking your math" as you go.
Yeah, exactly. I honestly wouldn't care much if they preloaded a bunch of crap so they can get kickbacks (which would probably translate to a slightly lower-priced phone, due to all the competition in the Android phone market), as long as I could just go delete it like any other app.
> I couldn't just reformat the SDD because there was data on it that I didn't have a backup for

Not used time machine or is it not backing up all necessary?
OP mentions that the use of unsafe code means it's single-threaded, so yes it's likely that RefCell could be used instead of unsafe code.
I want single pretty case, not some mess of wires. I want good Nvidia gaming GPU like 2060 for reasonable price, not some overpriced professional underpowered card. I want very fast CPU that will reach boost frequencies and keep operating there with quiet cooler and PSU, not laptop CPU which throttles on any prolonged load. Mac mini is tiny, but I don't need that tiny form-factor, I want huge case.
I think that's what you're looking for:

https://chrome.google.com/webstore/detail/smoothscroll/nbokb...
https://thumbs.gfycat.com/BaggyGaseousAgouti-max-1mb.gif
> it crashes in debug mode, and wraps (two's complement) in release mode.

Well, that's indeed a nice feature in debug mode. Mostly wraparound is undesired and wraparound bugs are pretty common. Shame the performance cost is too much to do same in release.

Whenever wraparound semantics it is actually wanted, one can use an appropriate type.
I recommend:

https://github.com/tallesl/Rich-Hickey-fanclub/blob/master/R...

I find I learn a lot as a developer who doesn't use Clojure
Europe has absolutely no innovation culture and tons of problems retaining founders. Anecdotally, I've found the bar for European engineers in Europe compared to American engineers an order of magnitude lower.
People like you are why so many Americans come out of school with no understanding of debt or compound interest any longer. It's great for the owner class and the bankers, not so great for the "gainful employment" class.
My son has been vegan for his entire life. He’s 4 now and very healthy.

I was vegan for 5 years and about 6 months ago started eating meat and dairy again for reasons unrelated to food. I was raised in a household that ate meat with almost every meal. I have personally experienced pros and cons to both lifestyles, but would argue that in practice, a vegan diet is healthier for most people due to the nature of food options available to them.
The mini + eGPU seems like it would be a candidate then?
With a few billion people in Asia, probably.
Ask HN: Startup Failure Book. Would You Read It? Contribute?
I am in the process of putting together startup failure stories for a potential book. Is this something that would be of interest to you? If you have experienced startup failure would you consider contributing?
I live in a place where people think about things like food security. It's an island, where most people are on the next, larger island, which itself gets supplies from the mainland.

If you have the room, and time, there's a certain comfort in having your own goats from which you can get milk (and cheeeeeeese), and if you're so inclined, meat.

There are strong legal constraints against any form of commercial dairy that aren't integrated into the quota system, with crazy high fines. It's not even a food safety thing (e.g. pasteurization), but it means that quite a few people retain the means of production for at least personal use.