skysight-inc/HackerNews huggingface dataset:
Dynamic language proponents make the case about programmer productivity being better with dynamic languages. That may be the case but I have found that integrating systems where one system is coded in a dynamically typed language and others are written in statically typed languages is a nightmare.
Looks very nice.

I'm unable to set the number of shares when adding to the portfolio (it always shows 0).
On a serious note, the arguments made in the opening paragraph seem like pretty broad reaches on why corporate america does or doesn't use static typing. I'm pretty sure regulatory has nothing to do with it. I work in an environment of high compliance, though we use a lot of Java, we also use Python, Ruby, .NET, NodeJS, etc...
Browsing physical books is a lot more fun, too. Just looking at a shelf and picking something up and flipping through it. That's an experience you could never get on Amazon. Both in the sense of interacting with objects and also the discomfort of knowing that whatever the browse/search interface, the items you see are the results of "optimization".
Canada (well, Ontario Provincial Police at least) is similar. My brother had a 4 year degree in Criminology and Kinesiology, 7 years+ as a Canadian Armed Forces reservist (including running courses at the Royal Military College of Canada in Kingston) and he didn't get through at least his first application.

It definitely varies.
Sounds awful. Do people use that?
We Created the Most Clapped Story on Medium Ever
> I can operate my Nikons blind folded and single handed.

What's the issue, then? The Nikon shooting interface obviously works well for you, and I think that is far more important and used than changing daylight savings settings.

> Time how long it takes you to find and change the Exif copywrite on your photos, daylight saving, or how to save JPGs in one card and RAWs in another. It’s a nightmare.

I don't know enough about Nikon or Sony, but I use Canon and I know where all those settings are. Even if you want to search the web to find where they are, I don't think it is a big deal: most of those settings you listed I change once or twice a year.

In any case, I think it is better than the settings app on my iPhone, where the General sub-menu contains everything from controlling Background App Refresh (Why not in individual app sub-menus?) to enabling iTunes Wi-Fi Sync (there is an iTunes and App Store sub-menu too).
I'm completely out of the loop. Why?
Carrying a phone can make you a suspect.
Not carrying a phone can make you a suspect.

Conclusion: You are a suspect.

I can't stand our culture's constant fear of people.
they have an intervalometer. Its embedded in the over $100 dollar remote they sell. I've borrowed and used one, its terrible, though it does work. [1]

They do have wifi on some models, but the ap and linking isn't trivial. I haven't bought a camera in years, but they were also selling GPS ad ons where everyone else was integrating it into their cameras.

I have a 5DmkII and the quiet mode and image quality are quite astounding when shooting indoors. (I'm a community orchestra's photographer)

[1]"https://www.google.com/search?client=safari&rls=en&q=Canon+T...
The Easiest Way to Learn a New Language
> Even Mexico has more freedoms

Citation needed.
Microservices Conference 2019
We submitted a bug report to Medium last week, but they haven't gotten back to us yet. In the meantime, we've redacted the steps to reproduce the bug.
You would hope, but I bet it rarely happens. I've only been in a courtroom once and hope to never have to deal with that again. Its a real let down seeing how decisions are made so quickly.
The whole idea is not sending hker to hell of communists. The struggle of hongkonger for basic human rights are getting worse and worse. Not sure why you get this idea.
Next Crude Oil Sprint
> They could conceivably shrink these rules to a smaller scale, to create similar hotspots in nanoparticles, for example. Scientists use heated nanoparticles to make very precise sensors or to facilitate chemical reactions, says Bianucci.

This might have applications for really bad-ass cancer treatments. Build nano-particles that have this strange property, that will be consumed by cancer cells but not by healthy cells (note: this is the hard part). Then explode the cancer cells via microwaves!

I'm certain there are an incredible number of flaws in this plan.
Instead of clicking back I just started scanning the start of each paragraph until I found the one that would have been the intro in a news-style article and then I realized that the author had helpfully provided a demarcation using asterisks.

That being said after explaining that he was groomed early for academia but then fired, he sort of wanders off again before really explaining how/why and that was where I gave up.
Faster per strawberry or faster per day? If per day, a robot can move slower and run 24/7. I could see advantages to this for pest control for some types of produce as well, as some pests are nocturnal.

This may be a little taboo to speak of, but I should add that the field workers in my neck of the woods were paid by volume and discouraged from using the portable restrooms. The people running the strawberry fields saved money by not having the septic truck come out as often, too. I am not sure how common this is.
I'd paraphrase as "for the case of consuming an external API, using generic maps and arrays is more useful than strictly 'decoding' the data to a type earlier than necessary".
That kindof makes sense.

It seems a bit flame-y to see this as "dynamic typing is better than static typing", though. -- It's more of a suggestion that a technique like "cast to a type" where you don't need all the info in the type risks breaking when it doesn't need to. It's better to make fewer assumptions when relying on things you don't control.

If the external API changes, code breaks whether you were "dynamic" or "static". "Just change the code" is as applicable to code in either case.

That said, it's kinda weird that an API can be both unreliable enough as to not conform to a schema, but still reliable enough to trust the data you want to get out of it.
> whereas a statically typed API statically checks and guarantees the contract

I didn't work much with static typed languages lately, so I'm really puzzled by your comment. If I expect an int in the age field of a JSON response and the server suddenly sends me a string, maybe with value "NaN", how do you check for that at compile time? I expect the program to either crash or manage the error at run time (try/catch, die-and-restart a-la-Erlang, etc)

Maybe JSON doesn't count as "statically typed API", but how many of them do common Internet services expose to the public? And how to we make sure that the server or any in between proxy doesn't misbehave and violates the contract?
Good test coverage and test-first philosophy can make this problem go away, but it always requires that you didn’t make an error in your tests. I always found this argument bizarre: I write tons of tests but I know that I’m fallible, and writing such tests is time-consuming. Why not let a static type checker do the work for me, with less chance of error?
It's also discontinued and very difficult to buy new.
The logical hole is not obvious. If it were obvious, we would all notice it, and the fact that the author didn't notice it suggests it's not obvious.
3 months ago I started waking up at the same time every day, and immediately having a breakfast with good amount of healthy fat. It’s been a game changer for my consistency. Some days are more productive than others, but in general I hardly ever have the useless days I used to have where i couldn’t seem to get anything done.
I initially had a hard time waking up on time, but I got the philips Hue smart bulbs and the sunrise routine on them has really helped me wake up. It’s much more pleasant than an alarm.
> It's a theoretical polarizing issue like Python's use of whitespace, but in practice it's not an issue.

I think that it really depends on the use case, if you're using only Julia it won't be an issue, if you use Lua as an extension languages of C++ and you have to work on both side at the same time like I had to do..
Well, let's just say that I wasn't exactly having nice thoughts towards Lua creators ..
Trammell Hudson in 2009 reverse engineered the firmware of the Canon EOS 5D Mark II because he was frustrated with some of the limitations in the camera's firmware when making short films. That little hack turned into Magic Lantern. On his website [1] you'll find a screenshot [2] of his first success: adding three extra vanity letters to the firmware version number.
He states: "Re-writing strings is a good easy technique for figuring out if you have 'won' and your code is running on the system."

[1] https://trmm.net/Taking_things_apart#Extending
[2] https://www.flickr.com/photos/osr/16412008471/lightbox/
> we already know that the NSA runs full-take collection against people who make certain searches relating to Tails Linux

Wow, is this actually true? For how long do they continue to collect everything you do? Do you have a source?

So all this time people have been saying "lol I'm probably on a list now", they were actually right?!
I don’t think you actually read what I wrote, because you’re more or less just repeating my point while telling me to “get off my high horse.” I’d suggest responding to what people actually said, especially if you’re going to be rude to make your “point.”

For your reference:

From the picture with the estimated doses you’d get, were not talking about anything visitors should be concerned about... In the absence of the contents being inhaled or eaten though, this isn’t a health risk. Stupid though... really stupid.
https://luizfzs.github.io/
Just a GH page I created to write about solutions to CTFs. Haven't been updated for a few months now.
>Considering this is a city with ubiquitous CCTV, smart phones are just another data source.

London is quickly becoming one of the most dystopian cities in the world. I recently read a story [0] how London police are now face-scanning pedestrians and you are not allowed to cover up you face. If you protest this scanning, you're issued a £90 fine. You're basically treated like cattle.

[0] https://www.independent.co.uk/news/uk/crime/facial-recogniti...
> I have dealt with terrible APIs that were outside of my control. When I worked at Timeout.com, we had to pull in data from Ticketmaster and also Booking.com. These APIs were inconsistent, and they would change over time. They also left out fields, so all fields had to be treated as an optional, which it made it difficult to enforce a meaningful contract.

Wait what? Why would you ever work directly with the data that you grab in some foreign API?
You map the data that you actually need into some datastructure of your own making, that you have control over, and that hardly ever changes - unless you want it to. So when the API changes (or even worse, you have to exchange it for whatever reason - it's foreign after all and not under your control), all you have to do is change the mapping process, and voilà, you're back in your own safely typed world.
I saw a talk by an npm developer who dismissed type checking as "just another kind of unit test" for your code (and advocated instead dynamic typing and manual unit tests). It bothered me enough to think about what was wrong with what he said long after the talk. I realized the difference is type checking takes the place of infinite numbers of unit tests: unit tests only assert an "exists"; type checking proves "forall".

The linked article, however, is a whole other level of incorrect thinking and drivel.
That did not went well in the mid-90's if it weren't for the inverse acquision of NeXT.
A Tenth of Books Stocked at Cardiff Central Library Have Never Been Borrowed
Interesting, I had an idea there were studies from WWII aircraft plants or the like, but have never tried to look them up.

The optimum must depend strongly on what work you are doing, how expensive tired mistakes are to fix, how much downtime there is waiting for someone else, etc.
There's a joke about not checking his types in here somewhere.
I have three personal reasons to prefer static compiled over dynamic interpreted

1. Refactoring. In, say, c++, you change a signature, or a member name, and your IDE provides you with a neat, comprehensive list of errors to fix, if you're even performing the change manually. Contrast that with python, for instance, and I have to rely on what appear to be heuristics if I use an IDE to propagate a change, or otherwise repeatedly hit run to change everything that I've broken, and pray I didn't miss any code paths that'll bite me later. Maybe I'm just not writing pythonic code, but I find it rather difficult to maintain large codebases in python for this reason.

2. Focus. I realized that having a constant stream from a trusted linter makes it really easy to stay on task. I can throw out a bunch of scaffolding and then fill in the blanks based on the constant stream of errors, pre compilation. Sure, in pycharm I can run code analysis to get a list of probable errors, but given the nature of dynamic languages, there'll be plenty that's missed and plenty that isn't necessarily right, and not having a project wide linter in real time isn't the same.

3. Understanding APIs and library internals. There is a TON of use information that comes for free with explicit static typing, especially for scientific/numerical code. In python I frequently find myself having to look up simple function use because arguments, names, and returns can be ambiguous. In a typed language, I know exactly what goes in, what goes out, and how to structure my data appropriately. The difference in coding speed is huge, and I don't have to run the code nearly as often to make sure I'm doing things right.

Why anyone would choose python for large projects eludes me!
She probably does know about cognitive bias, but you can't seriously be suggesting that her bio establishes that with certainty. People who write and set up organizations are a very mixed bunch. Galef is not exactly a high-powered scientist or philosopher.

"Motivated reasoning" has it's own Wikipedia page: it's fine to talk about it as something distinct from cognitive bias. https://en.wikipedia.org/wiki/Motivated_reasoning
> I still have 8GB or RAM and still have a 128GB SDD

Well that could have been 32GB and 2TB in the 2018 if you wanted?
Thanks, this was my point.

I'm skeptical that this study is any better than whatever studies may have got us here in the first place. 4 day work weeks seem as arbitrary as as what we have now. If happiness and well-being is productive, then a 3 day work week might even be better. Some might be more productive by never working at all.

> One of the extremely few studies that was decent was of productivity on building sites which found that total (not average) productivity increased up until 60 hour weeks.

Taylorism?
This is actually pretty key - we're all familiar with the debate. It's like walking into a church and saying god doesn't exist. Or if you prefer, walking into an athiest's home and saying he does. ;)

Besides, this thread still has only 65 comments and it will likely have thousands before the day is out:

https://news.ycombinator.com/item?id=19190349
> The widespread use of PHP, Ruby, Python and Javascript suggest that dynamic typing is useful. [...] If static typing lead to greater programmer productivity (via a reduction in bugs) then corporate America would only use statically-typed languages. But it doesn’t.

Yes, that is why Java and C++ are such tiny unknown little used languages
The Uninhabitable Earth: A Story of the Future by David Wallace-Wells
First .dev Domains Go Live
Manjaro ARM Review: Easy Arch for ARM Devices
Incandescent bulbs are vacuumed inside (that's why they make a popping sound when they shatter), so it was probably the plasma melting the glass.
> Where there is no ill intent, insults should not be taken.

I don't know if this is true even in the general case. It is entirely possible to insult someone with no ill intent, such as "you speak well for a black" or "you're funny for a female" or "you're alright for a homosexual".

I don't believe "have you tried keto?" to a chronically ill person requires different cognitive faculties here.

Note: I am also an objective third party. I don't have a chonic illness and have no dog in this fight. It seems to me that a chronically ill person is saying "while your intentions may be good, they are deceasing my quality of life", and I'm choosing to believe them.
> As an objective third party, I think your chronic disease, your vast research of it all, and your corresponding frustration has warped your ability to have conversations with people who are less knowledgeable than you are.

No, this is a common frustration of the entire community. People feel powerless, so they try and help, but you aren't helping. You either cause irritation because it's then ten thousandth time I've heard that advice, or frustration because you are showing a deep lack of understanding.

> When my users are trying to tell me what is causing a bug and they're drastically wrong, I don't feel insulted that they think I don't know my own system. I just smile and have a nice conversation with them. There is no point in picking fights, and the person trying to help is not the one picking the fight.

No. Don't. The relationships are not the same. An illness that affects every part of your life is deeply personal, and you are faced every day with stigma because of it. You're not suggesting useless information, because of the culture and proxy you have to it, you're suggesting the affected person hasn't tried hard enough.

> But I believe you're taking it too negatively too personally when there's no need to do so. I imagine that isn't too great for personal happiness either.

Getting told that I need to listen politely when someone is suggesting an idea of how to fix my genetics is personal. You don't tell someone that they shouldn't be using a wheelchair, or should be using a different one, unless you have a direct and professional connection with their health.

> Where there is no ill intent, insults should not be taken.

Insult was not immediately taken. They were repeatedly informed that this avenue of conversation is insulting. They responded by telling me I'm wrong. As have you, now.

You can't imagine my life with chronic disease? Fine. I'm happy to guide you in interacting with someone with it.

Step one, is not assume you know better. Your suggestions are unwelcome, because they carry stigma. They remind me of all the people I have faced who have told me that my disease is either not real, or able to be overcome by one simple trick.

I'm not angry at you - but I have to say, you have been very... Unhelpful.

More unhappiness comes from misguided altruism, than quiet acceptance.
I think everyone should avoid interacting with doctors unless it's absolutely necessary (in the US). They have to diagnose hundreds or thousands of patients, and it's unreasonable to expect them to care or deliberate about your specific needs. They are running or working under a business, and are incentivized to minimize patient time and maximize billing. Even a phone call to their office can be converted into an insurance claims if you're asking them to correct a mistake, which I found out when I looked at my health insurance online. This also means that you should always be skeptical if doctor recommends a certain procedure, especially if he's involved. You have to assume he's acting in his or his employer's best interest under our current model of health care.
PHP, Python, and Perl are commonly used. It does take more discipline to avoid the downsides of dynamic. Static languages better protect you from Monday morning fopas, but one can develop faster and farther in dynamic when firing on all cylinders.
Yes they are. Got 100 billion dollars reserve to get. As regards water hker paid more than Israel getting theirs. Abd most foods try to get non-chinese if they can.
LOL, were you saying the same thing about Goldman when the Abacus story came out?

Ugly news reports about what senior partners at a highly selective professional services company did != meaningful career repercussions for its alumni, most of whom were there as junior grinders rather than decision makers.

I'm not a McK alum but would definitely still recommend a talented young person with a job offer there to take it.
Remote Learning When It Is Remote
I think you may have just moved the argument goalposts :)

But, yeah, the question of which population the SV workforce "should" be measured against is hopelessly confused.

The local population is in large part imported by SV, so that definition feels circular. US CS graduates? To some extent SV recruits from the whole planet, so world wide CS graduates?

I could go on. One thing is clear: There is a ton of possible definitions to choose from to cherry pick support for any point you may want to make.

To me, the important measure is if a competent person can get a good job and career in the industry. I'm not sure how to measure that, but I'm convinced we to better than most!
Yahoo?

I get that it wasn't run well but that doesn't really mean the folks working there aren't good at what they do / didn't do interesting things.
Superoptimization is slow, and it's generally considered feasible only for shortish bits of code. A block of about 30 instructions takes around 10 minutes to superoptimize even on state-of-the-art stochastic superoptimizers.

You also need correct semantics for instructions. Go read the PCMPISTRI instruction and try to write out the SMT formulas for it so you can prove equivalence. Floating point is in an even worse state, since most interesting floating point transformations are only legal if you're willing to slacken requirements for bit-equivalence.

Superoptimization is not mature enough to become part of the regular compiler flow. What is happening is you're seeing people couple superoptimizers to find missing optimizations in the compiler--John Regehr is basically doing this for LLVM's InstCombine pass with Souper.
Sad date of hk.
"Why I - How people from Newcastle greet each other, written phonetically."
It’s also not that impossible to imagine both being peer stakeholders in a renewed liberal trade order, ala US + EU.
>I've seen integers sent as strings and others as integers in the same JSON.

You still need to know what they are in each case, regardless of dynamic vs static typing (it's a matter of whether the language has weak vs strong typing or overly accommodating coercion).

If you get an integer value as string for example, Python won't let you add it to another integer you got as integer. So you'll need to know what they are to treat them accordingly in your processing even in a dynamic language.

In such case, you can also read them as a variant type on a static language, that's eg. one of the 7 allowed types in JSON (you don't know whether a JSON primitive might be int or string, but you know it wont be suddenly a Date type or a Foobar instance).
I certainly understand
According to the SpaceX flight software team neither Falcon or Dragon run VxWorks, they run a custom Linux (see [0]).

[0] https://space.stackexchange.com/questions/9243/what-computer...
These aren't counterfeit books. They're unlicensed books. You're getting exactly what you order.
Or that their price is negotiable. If you are an early stage startup or a nonprofit, maybe they'll offer reduced pricing. That's been the case for me since I always ask if they have nonprofit pricing.

I would rather talk to someone about that over email than be forced to pay the sticker price with no wiggle room.

I've worked in enterprise sales before. Fixed price tiers are dumb when customers have different customizability needs, so margins on each contract can vary quite a bit.