skysight-inc/HackerNews huggingface dataset:
The failure in humans of stuff that worked in mice is actually the biggest driver of the cost of drug development

According to a widely cited paper on the cost of drug development [0], phase 2 has the lowest probability of succes of any stage in the funnel at 30-40%. Phase 2 is generally the first time a drugs effectiveness is studied in humans. It can cost $50-100M+ to get a drug through a phase 2 study

One of the major advances in drug development in the last few years is to reduce the "translational risk", i.e. The risk that animal models and other disease models are not predictive of human outcomes. A recent study suggests that we have actually started to make some improvements in this area which is a huge step in lowering drug costs and getting more new medicines

[0] https://www.nature.com/articles/nrd3078
fixed it. Thank you again, that somehow slipped by me ...
It should be trivial to make the password write-only to the wifi electronics. For an attacker to get the wifi password, you'd have to remove the controller, and the controller could even be designed to mitigate against that attack too.
I wasn't arguing that was the case but felt like the parent's logic would extend to that conclusion.

I have three young children and I have observed the same as you with your niece. However a lot of it is that as children learn cause and effect they are better able to optimize for their desired outcomes.

"smarter" is probably a poor choice of words. "more capable" at certain tasks then definitely. The sibling comment to this talks about identifying Legos. My four-year-old can do that because they now know Plato's form of the Lego because they observed me saying the word Lego while holding them to understand what that is. With enough observations I would think that a general purpose AI could identify the forms and then launch more specific AIs for the tasks.
I am native French, I need concentration to understand the intent on any xyz to French Google translations.
A good proof is to translate back and forth a text.
I often use German to English or Japanese to English (amazon), I can guess the overall meaning but 60% is my own interpretation.
Hyperscan is also used for scanning repos at Github: https://github.blog/2018-10-17-behind-the-scenes-of-github-t.... I have a similar project for scanning repos, https://github.com/zricethezav/gitleaks and plan on adding hyperscan functionality in a future release. Really speeds up scans when trying to match many regexes.
Twitter has long had a symbiotic relationship with Medium as the place where long-form stuff is promoted, and things too long for Twitter go on Medium. Not sure why it's the default blog platform for this and not Wordpress.

I'm also not sure who's paying who for this. Do the writers get paid for Medium? How? Is Twitter paying for this or does it come out of Medium's promotion budget?
"Blazingly" is the "literally" of software project speak. It means nothing.
The Seedy World of Plant Poaching
Don't use smart bulbs. Bulbs burn out. Use smart sockets and "dumb" bulbs. Don't put disposable things on your network.
It's slightly more efficient to squeeze non-alphabetic characters first and then convert to lowercase, rather than vice versa, because in the former case most of the non-alphabetic characters only get processed once, compared to twice in the latter case.
When I said “almost as big as the phone” I didn’t mean square inches. I meant volume. Look at those things. That’s not an unused accessory like a port or jack. Its making your phone half again as big. It’s a third of your phone doing nothing.

We just went through this battle. Thin phones won. Danger is out. So is Nokia. It’s possible this is a fashion statement and those can and change, but whoever tests that theory had better be prepared to fail. And if it *is down to fashion? Expect to lose your keyboard again in another ten years.
CVPR 2019 Accepts Record 1300 Papers
That's because most of them are modifiers "wo"-men, "fe"-male, etc. Which really is pretty demeaning if you think about it.

Over the years, there have been efforts in feminist and academic circles to introduce alternate spellings that are not derived this way. [0]

0: https://en.wikipedia.org/wiki/Womyn
The world moved from CLIs to GUIs. Guis have not only persisted, they've improved. If someone insists on using a CLI and nothing else, after all these years of the world having moved to GUIs, I wonder what prejudice is behind it.

How, reasonably, can all these tools beat a thing like Visual Studio? Must limit job opportinities too...?
Hardware fails over time and gets increasingly less reliable and harder to source. These types of upgrades are mostly about maintaining existing functionality on modern hardware.
They could use a secure enclave. But just as suggested here, it would only add a marginal amount of security and at a non-zero added cost.

I'd rather just delete the password. Or better yet, skip the wifi bulb and use something like Z-Wave or Zigbee.
See? That line of reasoning is exactly what I mean when I say we're moving the goalposts on what it means to be intelligent.

Ultimately our brains also fuzzy statistics and arithmetic on the signals going to our brains, but we create intelligent results from that. Is it suddenly not intelligent anymore once you know how the sausage is made?
If anyone told you you can't navigate IDEs with a keyboard, they lied.
How about using RADIUS auth with unique credentials for each device? You still have to revoke old credentials, but this is much more reasonable than rotating the shared key on every device every time you throw away a bulb.
This aint a big issue. You dont have full disk encryption on a lightbulb so of course the wifi password is going to be recoverable. I often find it funny when asking for the wifi password in some places in asia when staff insist on entering it themselves so you dont tell freeloaders or chinese, the network manager prompt confuses them briefly but they continue, but then I turn around and say ah so coffee2019 was that difficult to communicate - shock. Even on windows it's a mere powershell command away
Yeah, this is true
They could if they understood their users. A lot of UX design you see today is designed for new users, as apposed to say expert users like assessors that use the same software all day, everyday. Those are different UX goals. A good UX designer understands the user first.
The list is missing Clean Code, Clean Architecture, The Clean Coder, and Domain Driven Design. Also, while the books on the list look great a bunch of them are for very specific topics that don't have much to do with the majority of programming.
I have an intuition that any line editor would find its limits quite fast for most existing code. (After having used ed a bit on regular files I came across, it's often both surprisingly useful and surprisingly obtuse compared with Vim.) Now, maybe a semantic structured language would find an amazing CLI editor. I'm vaguely thinking something like a lisp, or something with tagged structures. I guess the goal would be repurposing Vim's text objects to generic programming structures. That's as much as I can muster right now!
Thanks, that was exactly the answer I was looking for but couldn't quite figure out how to formulate the question so that Google would provide a useful answer!
You're referring to GDP increase. I already addressed this. The rest of us aren't seeing the benefits as we should. It's short-sighted.
Deepr, an Alternative to GraphQL
Solve for Happy – Mo Gawdat Chief Business Officer at [X] – RSA Events
I think emacs tramp solves this by letting you use a local emacs instance with your configuration to edit remote files
What about ncurses?
That seems like a very reductionist way to look at it.

There is absolutely no guarantee that consciousness and general intelligence is an emergent property of any sufficiently capable information processing system. It feels intuitive that it would be, but so far we only have biological examples and no artificial ones.

Even the most sophisticated artificial neural networks we can build today are nothing more than curve fitting with lots of parameters. Perhaps that's all it takes, and with enough parameters, curve fitting can give rise to general AI, but I'm seeing very bold predictions on HN every time this comes up and none of them are actually backed by anything tangible.
I suppose that you are being downvoted because, though your arguments are correct, this thread is not about "how to avoid NPEs in Java" and is therefore OT.

That said, "write good tests" is impossible. You can write as many tests as you want, you can make sure those loops loop or don't, and those ifs if or don't, but you cannot write "good" tests. Tests will always miss some corner case, some input, some unexpected locale variable.
I understand that no matter what there are going to be some squatters out there hoping for a chance to strike gold with a unique domain name, or maybe they are just collectors for some weird reason.

But, please don't make the problem worse by hoarding/snapping dropped domain names automatically.
I mean, derr.

Come on. Buy a wifi switch/socket, not a wifi light bulb.
Yes and no : I have been using kotlin for a while for Android.
Currently our codebase is 75% kotlin.

Issues arose at the interface between java and kotlin. Unless there are @Nullable @NonNull annotations (and they need to be truthful), the kotlin compiler cannot know the nullability of something coming from a java method.

It can be pretty pernicious : if you use some java written libraries like Moshi (json parsing), it can also lead to crashes : IIRC if you declare a moshi generated property to be non null but it is absent from the json, it will generate an object with null, creating a crash.

Still, null is now an anecdotal issue in Kotlin. The Android framework team is working on annotating all their APIs with the corresponding nullability annotations and more and more JVM libs are also working on handling it gracefully.

It was never a huge issue to begin with even in java, just pretty cumbersome to have to add annotations everywhere and have to add some policies like 'no null collections, only empty' in a codebase to have sane handling.
That's what makes it hard to discuss politics on the Internet. Not saying that in-person conversations can't be difficult too, but in person people start off with a level of basic human respect that can move a conversation along.

Plus there isn't the possbility of cutting your conversation short so you can correct all the other people who commented in a similarly wrong manner.
A full circle puts us back where we started?
They would not; there are only etymological reasons.
If learning all that stuff is too hard for you, follow this advice from Dilbert: https://dilbert.com/strip/2010-05-16

:-)
A lot of developers using [insert this week's hot framework] think that the people who wrote software 30 days ago were just plain stupid and all wrote crappy code because they were using [insert the hot framework of four weeks back].
Not exactly "disabled safety check": `unwrap()` is an assertion check (that may sometimes be optimized away by the compiler). You're still checking safety, but you're doing it in a much more terminal manner.
Anecdotal:

Not GP. I don't remember where I read it about wild animals, but my dog would have the occasional "low energy, don't want to play" day, followed by a couple of days of not eating, and then being super-energetic when he went back to eating.

On one of these occasions, I took him to the vet, who said he had a fever, likely of viral cause, and that him losing appetite was perfectly natural and likely helping him heal.

When I'm sick I lose my appetite (and don't eat, sometimes for a few days).

Don't you lose your appetite when you are sick?
maybe it only costs a cent if the receiver does not accept it
At this point, your best option is to try to license or sell your tech to a Strava competitor. Fitbit, Garmin, UnderArmour (MapMy*), Asics (Runkeeper) come to mind.

They have the resources to overwhelm your work within the year. Hopefully your lawyer has already put you on this path.

Edit: If there are any Fitbit folks in here, I would kill for this feature. Doubly so if my watch's GPS route corrected itself if it matched the predefined route.
Sentiment Analysis with Amazon Comprehend
One option is to use per-device WiFi credentials (i.e. RADIUS auth). You still need to invalidate the credentials when you throw away a bulb, but there are advantages:

1. Unlike "wipe the bulb before discarding", you don't have to trust the bulb manufacturer to actually wipe.

2. You can invalidate credentials even after discarding a bulb.
My first reaction was to wonder why `tr` was required at all - neither conversion struck me as necessary. These days both `sort` and `uniq` can do case-insensitivity:

sort -f | uniq -ic

So I just allow the shell to do word splitting:

for x in `cat foo.txt` ; do echo $x ; done | sort -f | uniq -ic | sort -rn | head -<num>
This isn't Starcraft, very few developers are limited by their APM throughput through the UI.
I would encourage thinking about this through the lens of survivor bias. If said pieces of software were so bad, they would have been replaced. So, the business utility delivered by these pieces of software surely exceed the cost of maintenance and upkeep.
Some tasks are better suited to the command line. Others are better in the terminal.

Package installation lies right in the middle for me. If I know exactly what I want sudo apt-get install is the quickest and easiest. If I am not sure exactly what I want its easier to browse around using synaptic.

I can do more complex greps on the command line than most GUI tools will allow me to use.
You might be surprised at the demand for at least some older techs. The demand just won’t be from the “cool” SV companies.
I think this is just considered poor/inconsistent feedback:

https://www.nngroup.com/articles/top-10-application-design-m...
> what's the alternative to storing the wifi password?

Don't store the wifi at all. It's a light bulb. It burns out.

Store the wifi password in the socket/switch. That is the solution.
I've always assumed that the reason for the low rate of success at that stage was just a result of things that work on rats not working on humans. Your post is suggesting that there is some evidence available before testing on people that would help increase this rate but gets ignored. I haven't seen anyone express this view before and would like to learn more about it. Would you please elaborate on what kind of information isn't being used for decision making but should be?
Everything I Know Wiki
See this thread from a few days ago:
https://news.ycombinator.com/item?id=19225964

I think it's the same article, just under a different url.
While many EU countries duo have blasphemy laws, they're almost never enforced. They're laws that the majority of people find ridiculous and would be quickly removed if anyone started to actually enforce them. If Liberapay did block someone for blasphemy without being legally compelled, they'd likely face a huge backlash themselves. If they were legally compelled the law would soon be changed.
Can also use checkerframework to statically analyze your code for NPEs. It effectively augments the type system to require you to handle nulls where appropriate. It doesn't recognize I/O boundaries for you, you have to make sure those are annotated properly, but after that with sensible defaults, you can be more confident of the NPE-free-ness of your code.
If you're interested, it's also possible to run the actual original Lisp 1.5 on emulated hardware via SIMH.

See this page: http://web.sonoma.edu/users/l/luvisi/

I got it running on my Mac a few months ago. SIMH is on Homebrew.
The one time I took psilocybin, my buddy and I sub-acutely plastered ourselves in apple sauce and paper towels so we’d look like mummies, then we watched ninja turtles for about four hours.

Two thumbs up, would use again.
That would make sense. It's a pretty common practice for acquisitions to start out with a business partnership to see how well the two companies work together. This could simply be Twitter and Medium testing the waters.
You know, renting out by the hour the right for services to give you free stuff and vie for your attention span might actually work.

E-gads we live in a weird world
Forgive me but the page says "WebAssembly or "wasm" is a new portable, size- and load-time-efficient format suitable for compilation to the web." It is the "new" part that makes me shy.
This is a good illustration of how differently a UI can be designed for different groups of users, who have different needs.

Your old train ticket machines were apparently great for locals who were familiar with them, and had memorized information like the zone code, but they were surely horrible for anyone else. By contrast, on my last trip to Germany, the Deutsche Bahn ticket machines weren't the fastest things in the world to use, but for tourists from other countries, they worked pretty well, since they had dozens of different languages you could choose to use the machine in, and had the ability to look up destinations, which is surely a lot easier than trying to figure out some arcade zone code.

In short, an interface that's highly efficient for an extremely experienced user probably isn't going to work well for someone who's never used the system before, and vice-versa. For a train ticket machine, it seems to me you want something that's easy for newcomers; you can't assume everyone is a regular user of the system. However, a lot of these comments are talking about things like warehouse inventory systems; these are things that only a relatively small number of employees will be using, and they're going to be experts or working towards that, and efficiency is the goal, not newbie-friendliness.
Sure, but if you're a professional developer, the cost of buying extra RAM to compensate for that is recaptured within hours or days.

There is some deeper, irrational motivation in people who make this argument.
Yeah I keep hearing / reading about rust, even seen some demos but the demos all end with "oh no I'm not using this for anything". Still cool but ... want to see someone doing something in production / get their thoughts on that.

Edit: To be clear I'm not saying anyone isn't using it, this is just more of a comment about the impression I can get when I hear about X tech is so cool, but that's most of what I hear and at some point I want to see those same articles about real world use / experiences. I'm aware Mozilla and others are using it.
> The world moved from CLIs to GUIs. Guis have not only persisted, they've improved. If someone insists on using a CLI and nothing else, after all these years of the world having moved to GUIs, I wonder what prejudice is behind it.

The world is a big place and there are a variety of programs being written in a number of languages. Not all of them need a GUI. Oh and they don't have to beat Visual Studio. They just need to be the right tool for the job.
That's an odd definition. So a democracy with no corruption, no power imbalances and a perfectly informed populace that never makes a wrong decision (which is of course unrealistic) is by definition not a democracy?
Heat pump water heaters have efficiency of 3x+ vs .9 or so for gas or electric resistance. If you have have an electric resistance water heater get a heat pump model. It costs more upfront but will pay for itself in not too many years, especially considering many places have incentives. In the US natural gas is so cheap the economics are not nearly as good, it takes a long time to pay back the difference but does eventually. With even a modest carbon price obviously this would be different.

If you are going to replace your furnace or AC get a quote for replacing with a heat pump instead, either central or multiple mini-split heads. Heat pumps have gotten a lot better in recent years, particularly being able to work in cold weather down to 0F or below, expanding northward the places they are practical.
In the railroad world, 10 years ago is lately.

Different industries run on different timescales, you know...
Writers with no established base of readers or method of distribution.
You seem to be under the impression that Java code bases are inherently "horrifically gargantuan and abstract". I would just like to say that is not the case - they are often like that, but they do not have to be. In my time, I have worked on many Java code bases that are small and simple, and not abstracted-to-hell.
5G will change your business faster than you think
I wonder if commitstrip will become the 'there's an XKCD for that'
Golang gRPC Starter Kit
Spectre: Smart Long Exposures
One of the most interesting ways to handle regex and general parsing IMO is by using derivitives. I'm not sure if this uses any of the ideas from that area, but with derivitive based regex parsing instead of constructing some specific program to parse some language, you parse by instead transforming the original language to be the language of the union of the old language as well as the character just seen.

In addition to being incredibly simple to implement compared to traditional regex and parser generators, I think it is also interesting in that while it is really simple and looks like you are interpreting a language, it is actually powerful enough to parse arbitrary CFGs in O(n^3) with some help from memoization and fixpoints. See http://matt.might.net/articles/parsing-with-derivatives/ for more details.

I think the interesting aspect in terms of performance with something like this is that the derivitive based parsing system is explicitly streaming since it only stores the remaining input string and a regex string. Also, I think you can get around some of the performance issues with constructing these strings by replacing certain parts of the regex with more traditional NFAs/DFAs. In particular, I think this method provides an easy way to use simple equality matching for constant strings, DFAs for Kleene star, NFAs for the rest of the typical NFA features like the or operator and negation, then finally using the derivitive for very complicated features like capturing groups and backreferences.
Frankly, I didn't know it had one either. I took a guess at currency conversion being one calculation where the results would need to be looked up daily, googled and found the above article.
I tried this feature on Strava and it is not usable. You just get one swipe to create the route. No zooming or panning during route creation.

There's a simple resolution here: Strava should switch to a more usable interface design. What works better is allowing someone to create a series of dots which they can drag around to adjust, while allowing zooming and panning during route creation.

Strava needs to start over on this feature anyway.
A tyranny of the majority is still better than a tyranny of the minority. At least more people get to be tyrants.
Sure, there are definitely some folks who are excellent in those languages with Vim. But when you think about the amount of time that's required to make Vim comply, the amount of mental state that's required to manage the things that could have been taken care of by an IDE, I can't help but challenge the idea that there's nothing possibly better than tools.

By analogy, I don't believe that a chainsaw is either a bad tool or that it's impossible to make good art with a chainsaw, but I do believe most marble sculptures would be better suited to a chisel.
On-Call Nightmares Podcast Episode 13 – Damian Schenkelman – Auth0
Framework (60 questions) to ask your clients before you accept a job
Eurostar trains include both TGV and Siemens Velaro rolling stock.