skysight-inc/HackerNews huggingface dataset:
Don't forget per-unit savings at scale. That's the main reason 8-16 bitters (a) still exist at all and (b) sell for over a billion dollars a year. The 32-bit RISC chips on modern nodes are starting to eat into them. Yet, there will always be companies willing to use a tinier, weaker, or just weirder device to increase per-unit profits.

Heck, there's even still a market for 4-bit chips used by the likes of Gillette:

http://www.embeddedinsights.com/channels/2010/12/10/consider...
A (Re)Introduction to React
People Whose Lives Changed Because of Financial Windfalls
Nail Your Presentation Timing
That's another reason I like (good) static types, it's a bunch of compiler-included documentation and testing that I don't need to write!
This seems obviously useful to me; I'm confused by your confusion. City planners want to know how people move around cities, it's fundamental to their efforts, it's primary source data. It's the same as a code profiler to programmers: "Oh, is THAT why it's slow?"
Ok... except that I have a remote operated device on BLE right now. I’ll let the people in my group know it’s impossible though.
I really want to agree, but there are some situations where it does need to be that one doctor. The below anecdote notwithstanding, I do agree that any patient who demands your personal number is the last patient you should be giving it to.

My aunt had a condition that causes fluid build up in her brain. She has a slightly unusual shunt arrangement, and over Christmas (we now know) it got blocked up. She started developing neurological symptoms, and the only person who knew enough about her treatment to be able to sort it out was her doctor.

The actually had his home landline number, but he was away, and it was only due to luck of a call coinciding with the neighbour feeding the cat that they were able to get the number of where he was for Christmas. By that point, my aunt with unconscious in hospital, and might well have died if treatment had been delayed any more.
I just want a reader that can turn my e books into audio books for when I'm driving.
Why Legendary Economists Liked Universal Basic Income
Very exciting project! Love the idea, and can't wait to see some proof of concepts eventually. It obviously has the potential to be revolutionary in the aerospace industry, though time will tell if it's as effective as claimed of course.

They compare the TURN concept to satellites in the beginning, mentioning only positives by comparison - of which there are indeed many (cheaper, better comms). One thing I didn't see mentioned was the failure mode between the two. A satellite that ceases to function will stay in orbit, until this orbit decays enough for it to burns in the upper atmosphere. If one of the rotors on this device fails, it will just come crashing down to earth.

And also, in typical neo-luddite fashion, I'm fearful for the surveillance applications of this device. Even if staying airborne isn't eventually completely free (eternal flight) with this system, the ability to stay up for 9 hours at a time on a few Li-Ion cells opens up a world of possibilities, not all of which are great. If NOAA can afford to put a number of these out in the Atlantic to get better atmospheric readings, surely cities, states, city-states, and others can afford to put a number of these above their populace.

However, progress is inevitable, and the technology can't always be blamed for it's potentially negative applications. I think this is an amazing project - but it will require some self-control to not let this push us further into a surveillance state.
Same thing happened to me on MBP 2018 while watching some youtube video...
wild strawberries are really really small (pea sized) and they can be found in southern europe (italy, croatia, I know for sure).

They are incredibly tasty but I've never seen them in a shop, you just pick them on your own.

Intensive agriculture is definitely used for strawberries in europe too, and it constitutes the vast majority of the market.

They can generally (when in season, and fresh) be as tasty as what my father grew.
https://logicmag.io/06-money-machines/

How algo trading works. It's a really well-rounded analysis into a usually jargon-filled, marketing-heavy, and difficult to understand world.
Remme – Blockchain-Based Protocol for Public Keys Management
It's easy to make those claims when you live on websites like HN.

> Their iPhones have reached a peak, where it appears people are no longer willing to pay so much for them. They are too damn expensive, with nothing to justify their costs.

I went into the apple store the other day with my wife to finally get her off of Android and onto an iPhone XS. We planned to pay cash and walk out with it, doing activation and migration ourselves. I had to get put onto a special iPhone waiting list until a specialist was ready to sell me the phone. I was surprised. There is a decline in the buzz around the phone but the demand is certainly still there.

> To put it bluntly, Apple is extremely, extremely arrogant..

Hmm. That's quite an attack.
Not sure I understand the images. The cables seem to be connected to the end of the wing units. A wing can't normally generate force longitudinally. So how is the wing generating cable tension?

Added: OK, it is all generated by the centripetal force caused by the mass of the wing units. So fast spinning and lots of cable/parasitic drag to get the wings reasonably level. Seems like a lot of wing area for a small payload. How is this better than just a wing large enough to support the payload with cables to distribute the load across the wing length?

Added2: This scheme still has the problem that the downwash from each wing will affect the other wings, just like in the helicopter case.
Uh, how does _that_ work?
> A lot of what makes real (UL/ETL listed) chargers expensive is making sure that line voltage stays adequately separated from the low voltage side.

Even a very cheap and simplified design can do that. I wouldn't say "a lot" at all, maybe a few percent of the cost at most. It's a corner that could possibly be cut, but it's not one of the bigger corners.
The risk of a false positive is nonzero, but how does it balance against the value of a true-negative? Given that alternatives the police have include "picking up anyone who just looks like they might be a perpetrator" (which all too often translates to racist policing), is there value to communities (especially communities with past racial policing concerns) of tools that tell the cops it's probably not any of the people the system doesn't identify (or identifies as affirmatively not in the area of interest)?
I have experienced the same pain as the author many times, and, though I mostly work with Java by day these days, when possible I would much more happily reach for Python when I'm needing to hack on a REST API.

But I don't think this particular issue has much, if anything, to do with dynamic vs. static typing. It's mostly about how clean and elegant Python's way of handling JSON is compared to the black hole of viral enterprise-y overdesign that is Jackson, Java's de facto standard library for dealing with JSON.

With Python, JSON is deserialized to, in essence, a dictionary that maps keys to values, where the values are either strings, arrays of values, or dictionaries.

With Jackson, it's exactly as awful as TFA describes.

But I can easily imagine a Java library where JSON deserializes to some "JSONEntity" type that can act as either a string, a list of entities, or a string->entity map. And then I could interact with that in the same loose, don't-force-me-to-worry-about-details-I-don't-currently-care-about way that I do in Python. Perhaps one even already exists. It doesn't seem a far-fetched dream - I've used similar libraries for other static languages.

TBH, I haven't looked, because, even if I found one, I'd still be compelled to use Jackson, anyway. Because Jackson has been around forever, and Jackson is now so deeply entrenched that nobody working in the Javaverse can even fathom life without it. Suggesting such a thing would be heretical.
It's like the middle ages all over again. Citizens are a resource of the land and have no say in things except in the most extreme cases. The people in charge only care about the masses insofar as it relates to GDP growth (or whatever their metric of the day is) and is perfectly happy to subjugate them for that goal. God forbid we endure some economic instability while we deal with social issues. /s

I'm exaggerating but that sort of paternalistic authoritarianism seems to be more and more common among the politicians who's job it is to do things such as check the power of law enforcement.
I have to ask, why does HN seem to have a high number of these weird conspiracy-esque ramblings.

It almost seems as if they are generated by a neural net, and not a person.
It's my responsibility to inform you that you're being unhelpful.

That makes it your responsibility to change your behaviour.

If you ask someone to stop hitting you over the back of the head every time they walk passed you, it is reasonable to experience irritation if they don't change that behaviour, regardless of intent.
Ground Up’s Campus Partners – Spring 2019 – Ground Up Ventures – Medium
How Do You Get Anti-Vaxxers to Vaccinate Their Kids? Talk to Them – For Hours
Just threw this together for my webcomic: http://madeofmistake.com
I love both for different reasons and pick my flavor according to the size and complexity of the project.

Seems fair enough?
If real world API is as chaotic as he mentioned, how can he even know the data is trustable?

From his Java's example, I can't see how he can fix with dynamic language. He still needs to validate the API response and throw exception even he uses dynamic language. Unless he uses something like functional "Maybe", so he can safely process the response.
Oh, pity, I thought that was about hardware. (I keep buying up the good old Amazon Kindle 5 (with the hardware keys) on ebay and other sites - I lose it all the time, and don't want this annoying expensive newfangled stuff with touch screen that frequently switches to some random page).
There's already Nim (https://nim-lang.org/), which is Python like syntax and statically typed, with easy parallelisations etc already. What's lacking is the adoption as it wasn't hyped up. There's rarely a need to create yet another language and wait till it becomes mature and fixed all the issues with the eco system etc. If at all what's required is a way of translating all the Python libs to Nim or some similar effort.
Elixir's pattern matching seems to handle this case quite well, despite having dynamic typing. This approach feels like the best of both worlds to me.
Why are you embarrassed by this? Your code changes should be sufficient.
The way this works is, when you say “please turn this JSON string into a data structure”, it’s a fallible operation. So, if that JSON string does not have what you expect, the serialization operation will fail. You can “check at compile time” by the system ensuring that you handle the success and failure cases. Additionally, it means that if you have an instance of that data structure, it is always valid; it is checked (at runtime) upon creation.

Does that make sense? I can show you some code if you’d like.
You literally give unasked advice in your other thread.

I'm not sure we can run open discussion boards with the principle that you can't insult anyone for any reason even unintentionally.
> Yes. However, one thing you fail to see is that it directly compiles to function calls.

I understand how JSX works, stop patronizing me. The only thing I fail at is seeing how any of your examples are complicated or have magic so deep that you need to continue to burn Vue at the stake for. In fact, I find your Vue template examples completely intuitive and easy understand with minimal time invested in learning how Vue templates work. It's my preference to spend a little bit of effort up front learning how Vue templates work in order to have clearer separation between business logic and templates.
Huh, that's kind of a cool concept. Now I'm wondering if we're ever going to have regular visits with "Cyber" doctors that survey your online "condition" and make recommendations for "healthier online living".
Any ideology will cease to conform to the demands of reality at some point. The failing point of ideologies such as socialism is that, instead of adherents learning from this, they double down and get more violent in an attempt to conform reality to their ideology. The resulting death toll speaks for itself.
"Motivated reasoning" is the product of confirmation bias. That's where the distinction ends.
How do you use this as a screener? I can't filter on things like EBIT/TEV or FCF?
If your train of logic basically reaches the conclusion "police cannot legally investigate crimes," I'm afraid I have some bad news about the facts underpinning your train of logic, because society will not conclude crimes can no longer be investigated.
Not sure where I read, maybe Nonviolent Communication or somewhere else, paraphrased - "Being right feels the same as being wrong". Think about hundreds of years ago where people debate about whether the earth is flat, either side truly believed they were right, even though one clearly wasn't
Laurens Announces Zidane Interested in Making Big Chelsea Move
But isn’t this case an example of Amazon physically printing and delivering a book? They aren’t just moving bits: they actually printed the book.
I agree about long-form articles, but this isn’t an article, it’s a personal essay.
Hmmm, I feel like I've been waiting for a compiler to get clever enough to auto-vectorize my code since MMX was new. It never seems to happen. I guess I need that style guide.

For example, here's a hello-world type SIMD problem: auto-vectorize a simple alpha blending pixel painting routine.

struct Pixel { unsigned char r, g, b, a; };

// Draw a horizontal row of alpha blended pixels into a scan line.
// Assume clipping is already done.
void hline(Pixel *scanline, int startIdx, int len, Pixel c) {
len &= 0xfff0; // Let the compiler assume that the length is always a multiple of 4.
int invAlpha = 255 - c.a;
for (int i = 0; i < len; i+=4) {
Pixel &dest = scanline[startIdx + i];
dest.r = (dest.r * invAlpha + c.r * c.a) >> 8;
dest.g = (dest.g * invAlpha + c.g * c.a) >> 8;
dest.b = (dest.b * invAlpha + c.b * c.a) >> 8;
}
}

And here is GCC 8 _not_ auto-vectorizing it: https://godbolt.org/z/zPZL-J

Is this the kind of thing you think should be auto-vectorizable by the compiler? If so, any idea how to persuade the compiler to do it?
I Deleted All of My Social Media and 60,000 Followers
>To reiterate, for me it seems that itunes and ebook reader generation of devices and applications don't seem to value custom directory organization.

Do you primarily or only use one computer or one os?

I'm on 3 different OSes regularly, over 5 different computers counting ones at work. For me, the effort to setup custom directory organization is a complete waste of time unless structure and tags can easily travel between computers, filesystems, and OSes.

Letting the app (Calibre for books, Mendeley Desktop for pdf's) organize however it wants lets me just clone the directory and preserve tags, which is actually what is important to me (or in the case of Mendeley, log in and sync documents/tags). I'm not a music listener at work or I'd just let an app organize that too if it syncs my tags.
You're generalizing based on your own behavior, but not everybody behaves that way.

I'm exactly opposite, and had no problem taking PTO when I worked at a company with an unlimited plan. Now that I have limited PTO again I hoard it and take less time off.

I don't feel inconvenienced when others take PTO, and I don't expect my taking PTO to inconvenience them.
In my opinion, I'd rather see F# or Julia succeed.
I also feel like a lot of people that believe in crackpot theories are contrarians. It feels good to them to go against the status quo. A subset of these people are trolls, but not all of them.

I've noticed that these people seem to feel an exhilaration at their discoveries, like it makes them special.
Honestly, youre better off going to Dribbble or Behance for inspiration. With all due respect to the HN community, the majority of personal websites shown here are very engineer-y, meaning there's a lot of talk about what static site generator they used, and how the HTML was a tight 2kb.

Click the link and you're shown something that would look outdated in 2006. Unless you find a blog relevant to your area, you'll abandon that site fast. Medium.com is getting pretty bad, but even their typography makes me at least stick around to scan the first couple of paras.
An AI-Driven NLP Engine Built for Patent and Scientific Literature
> Police search areas around crimes

That is true, but these areas usually do not involve the private homes of people.
Police can ask to look around, but if the owner of the home declines, then police have to come back with a search warrant and afaik that warrant needs to be specific to that property.

This is the digital equivalent of that but applied on a whole geographical area, basically a "digital bulk search warrant".

Because I doubt these warrants will surface to the judge how many people will be affected, in a very invasive way.

When you factor in much of our modern lives are saved on servers of Google or Apple, then this is actually a much worse invasion of privacy than just having a couple of unis take a quick look through your home physically.

This is the equivalent of them sitting down in front of your phone/computer and being able to spend hours upon hours on browsing through your private data.
All of your data structures have types, whether you declare them or not. Your code expects things to be a certain way, and if it's not, things break. Static typing just means that you annotate you code with your expectations so you can get some automated error and consistency checking.

Automation is good, right?

With dynamic typing, you need to manually write more unit tests to get the same level of confidence. That's just not worth it for anything important.
It took a thousand years for Franco-British relations to settle to peaceful tolerance, then the Entente Cordiale. I can't, for example, imagine calls for a China-US union like Franco-British Union was seriously suggested twice in the 20th century.

The second time might have been interesting for world history, as the French PM proposed it before France decided to join the Treaty of Rome nations to bootstrap the EU.
Agree - except for things that are <~$20 and don’t have a super high confidence of being in stock (random calculator battery or special kitchen utensil etc)
Yes. My father-in-law's staff relay a high proportion of calls to him. The staff triage the requests, answer questions when they can, and forward questions they can't. The staff know how to use the doctors' time wisely. They ask the right questions, provide updates, no chit chat. It has to be that way.

There are a few special patients he'll give his cell number to. Pregnant moms especially I think. He's a country doc and the only good baby doctor within a hundred miles, so if there's an OB patient who he thinks is higher risk, and who he knows won't abuse his cell number, he'll give it to them no problem.
The wing generates lift, the engines on the edge of the wing generate thrust. That thrust is at a tangent to the circle the wings travel. Essentially the wings are pushed forward but cabled at the side.
Someone call up every real-world library and let them know their catalogs are worthless, they should just be sorting their books onto shelves and letting patrons search them by hand.
> if you're saying possibly-missing fields inevitably propagate throughout the types in your codebase, it sounds like you're saying malformed input propagates arbitrarily deeply into your core logic. Wouldn't you rather catch that at the boundary?

Possibly. If it's a key part of the application, like Credit Card processing or auth - absolutely. If it's simply auxiliary or supplemental information - probably not. The thing for me is the type system shouldn't decide whether or not a certain piece of information is critical to the system. That typically falls to deeper logic in the system. If the type system isn't deciding, then it's pretty much meaningless (as everything would be optional).

For example, I'm using a Stripe JS integration to allow customers to manage credit cards in app. Stripe messes up or changes something without me paying attention. Instead of returning a complete object, Stripe starts returning only the credit card ID.

This isn't a big deal if we simply need to know that a record exists. We can still tell the user has a card and we have an ID to attempt a transaction against server side. We might not be able to display details about the card, but users could still submit a transaction (likely against their last used card).

However, it is a big deal in a credit card management interface. Without supplementary data, all of the cards would look exactly the same and the UI might break if expected fields aren't present.

----

I don't want my type system deciding what the use case is or how important one case is compared to the other. The actual implementation needs to decide if it has the information it needs to do its job.
The problem is, if it's not codified in law, there is no consistency. One person's gloriously well managed Unlimited PTO policy (congrats!) is another person's peer pressured non-usage.

"Unlimited PTO" is a marketing farce, no more, no less. If you want people to take 25 days a year off, give them 25 days of PTO and be on the hook for the liability if they leave. If you want to give them more time than that through an approval process, offer it! But don't say it's unlimited, because it isn't. And if you don't want one of your business perks to be pointed out as fraudulent, don't advertise it as such.
I think the crux of the issue is that the way formats like JSON and XML are typically handled in Java forces you to validate more than you need to, earlier than you need to.

It makes it very difficult to comply with Postel's Law.
The best I can make of these discussions is that there is no oneand true answer. Some people prefer dynamic typing and some prefer static typing. I myself prefer static especially while I am developing something new because I feel I can be more aggressive in making changes because the compiler tells me immediately what broke. But other smart people feel the other way.

So I guess both sides are right but it’s good to think about what suits you best and then embrace that.
Or, in many cases, people have done the mental calculus between free, powerful, entertaining services and their privacy rights and have chosen the former.
JavaScript is mostly forced via Web "standards" and probably would fade into oblivion if not for browser ties. Thus, I wouldn't include it in such a list. (Not an argument for or against either typing party.)
Ironic choice of examples, because lacking these tools, you've just identified the tool the police tend to fall back on.

We can build algorithms to avoid racial bias, with awareness and effort. How confident are you we can train cops to do the same?
There are different kinds of APIs. You seem to be talking about inherently dynamic ones, such as your JSON blob example. Of course you cannot statically guarantee their contents, which is why statically typed JSON layers provide ways of asserting a schema. Using such schema checkers is best practice even in dynamically typed languages.

Either way, you need to handle such failures, both in statically and in dynamically type-checked languages. The only difference is whether the handling happens explicitly throughout your code or automagically by an API that gives you back a well-behaved object. And both of these ways are possible in both static and dynamic languages (but static languages tend to go for the latter, whereas dynamic languages tend to make you do the former).