skysight-inc/HackerNews huggingface dataset:
Having worked in both dynamic and statically typed systems, I don't think this is true. A good statically typed language doesn't get in your way very often, and it doesn't produce any more boilerplate than doc comments do in dynamic languages. You do write doc comments, right?

In fact, I'd say that most of the time, a good statically typed language does the opposite of get in your way. It helps you w/ refactoring tools, better intellisense and editor help, self-documentation, etc. The older a codebase gets, the more helpful a static type system is.

That said, there are statically typed languages which produce a ton of boilerplate (Java used to, at least), and there are those that don't (F# comes to mind).

The only dynamically typed language I've used where I didn't regularly miss static typing is Clojure. (Elixir may fit the bill, but the jury's still out on that.)
Right, and they put out a generation of near-stock Android phones with the Moto E/G/X line that did a great job putting Android in as many hands as possible and setting the standard for low and mid range phones.

As they were doing that I remember thinking "these phones don't make much sense for Motorola in terms of generating a profit, but they make perfect sense for Google in terms of blanketing the world with Android phones."

I'd say Google was quite happy with what they were able to do while they had Motorola.
Google is actually using Angular extensively on their in-house tools.
Yes, there is Golem https://golem.network/
Haven't yet, but my starting point would be comma.ai's (and preceding projects) open source code. Pretty sure they interface with OBD
If you haven't already tried, I recommend to port [1] a Python program to OCaml, F# or Haskell.

There are so many tests you can throw away, so many corner cases you don't need to test anymore. (I'm talking about tests that you can't even write down without getting a compiler error.) Not to mention the assertions within your functions that aren't needed anymore.

And those little type annotations are so much simpler and easier to write down than corresponding tests.

If you really head for 100% testing, not just code coverage, but also all corner cases, you will love the modern static type systems. (However, you should really use an ML type system, because doing the same with Java or C++ is cumbersome and not much fun.)

[1] I did so for my mathematics diploma thesis, starting implementing my formalism in Python, having lots of trouble when refactoring, then moving all code to OCaml and then being able to refactor the code alongside the developing formalism in the thesis.
I know it's not trendy, but I would argue PHP is as productive for developers as Python and has a MUCH faster runtime, particularly after 7.
I actually downloaded this once out of curiosity but couldn't figure out how to use it. By that I mean it was neither intuitive, nor fun.

From my experience the big benefit of doing dance classes is that the instructor can physically move with you in the right way and grab your arms or body and hold them into position if needed.

The second best way of learning is from a video which includes a lot of explanations. Almost all videos explain the moves, but it's very important to know how to tense your body where to put your weight, how to shift your weight, etc.
e.g: if you're dancing with a partner and you're not keeping your arms rigid then you can't lead properly, because she won't be able to figure out what you want to do. This is almost completely invisible when looking at dancers, so it needs to be explained.
Visualized History of the Triple Play in Baseball
I thought that's pretty much standard procedure for low level drug offenses: "please guilty and get only a few years or go to trial and risk 30 years". The rational decision is most likely to go for a few years and not risk the 30. In my view plea bargains should be abolished and everyone should go to trial.
That's how raising VC money works too. You get a lead investor to do their diligence and set the terms. Other investors come in and go "So&So is leading this round, I trust they did their due diligence so I'll invest too"
Public defenders are most definitely not free (in the US anyway), you just don't have to pay up front and are guaranteed to you even if it's obvious you have no ability to repay.
Lyrebird: Create your own digital voice using AI
No. It absolutely is not. There is no way (currently) to train Siri to just your voice.
They recently put a giant fulfillment center in Chattanooga- which really would make Atlanta an even better choice for HQ2
Ask HN: How to find a good team to work with?
I have been working with web development for 4 years, and my best experiences were working remotely, along with small teams (2-3 people).

I've joined a few good teams, and worked with many good people. Some are really helpful, self-taught, and make good decisions on how to solve problems.

Communication is the key here. And commitment to achieve the goal, is what leads a team to success, imo. The goal must be shared, and there must be a reward for everyone who's working hard.

On the other side, I've worked with really bad teams. Chaotic management, slow communication, incomplete solutions. Things turn to become a heavy burnout.

I actually gained a lot of maturity from this, and I feel more picky on my choices.

Yet I keep striving to find good people I can trust, and be productive with. I know they're out around there (stares at you heheh).

So, what about you? Do you work with a remarkable team? Have any stories to tell?

If you were leading a startup, how would you select your new teammates?
For those of you who like me are never quite happy with your emacs configuration or your bash prompt, I can heartily recommend stow. I used to manage my dot files with symlinks by hand; stow makes it much easier to keep all my systems configured and it's one of those admirable simple programs that does one thing well.
The list is simple and clean.
* "beautifully crafted" was mostly of a funny reference to the Apple keynotes haha.
Loyalty cards.
Not on my phone, my whole family can trigger it.
By "pixelated appearence" I mean the blockiness caused by seeing the black sides of each block when its a different height. The display is a bit like a minecraft map with the colouring only on one face of each cube.
People who want to get in early and grab as much share of blockchain crypto-assets that have Ponzi-like scheme built into them early on - the global, decentralized Ponzi-like schemes. They understand that the wealth will be unreasonably (insanely) re-distributed to early adopters if these take off and if society is tricked and manipulated into adopting it. And as I feel I always need to include - I'm not putting down the value of blockchain as a utility.
there are too many digressions and obscure inside-references in this essay, but this cuts to the heart of the matter:

"[Premium mediocre] is an economic and cultural rearguard action by young people launched into life from the old middle class, but not quite equipped to stay there, and trying to engineer a face-saving soft landing…somewhere."

i'm 24 and while i can see the humor and hyperbole in this article, its also a pretty astute description of the disenchantment many of my bicoastal "elite" friends from middle/upper-middle class families feel.

timely too. one of my friends texted me this morning: "[my large corporate employer] laid off 90% of its sales force yesterday...survived another day in corporate America"

the worst side effect for me is feeling like i am stupid and naive for trying to do things the "right" way - the meritocratic, socially conscious, altruistic way - when it seems like these are values that do not achieve the right outcomes anymore. should just shut up and get mine.

overall i feel my generation, or at least my social strata, will mature to be colder, harder and more distant than our predecessors. all it will take to cement this transformation is another recession
Another example:

http://idcard.psu.edu

All the local book stores to campus take it, grocery stores, and I believe even Target and some bars and restaurants now.
This.

Let me add a radical point: static typing is often thrown out anyway, when you encode your data as strings, serialize/marshal it, create polymorphic lists and hierarchical data structures, etc etc

Meanwhile, disciplined use of python is perfectly easy to get right:
- use pylint
- be ruthlessly consistent in naming classes, methods and variables (which pylint helps btw,)
- for large projects, consider mypy etc
Show HN: Vimer: A wrapper script to open files in an existing instance of GVim
In today's world, consuming interesting content on the Internet without ads or fancy UI's, just plain text... it's like taking a steam locomotive every day to go to work. Enjoy it before they take it away from us!
In my mind, this would mostly be to have OAuth2 on your own server, allowing self-managed combined with external authentication sources like github.
Artificial intelligence business tools you can use today (2/3 – continued)
Is it just me or is the title a completely ridiculous question?

This is already how poor people live. This is already how young people live - with roommates. There's absolutely nothing new here.

To solve the housing crisis we need better transit and more housing to increase supply and/or development of new areas that people actually want to live and work to decrease demand.
Come on now. The advantage of multiple cursors is instant feedback by cycling through the cursors and observing all the changes in real-time and by being able to undo changes and interactively adapt to the observed problems, without having to redefine the entire sequence of actions. Macros can achieve the same, but in many cases it just takes much more time.
I wouldn't worry about it, as long as the code is general enough. E.g if it is obvious that the code is about scraping a specific site's stock tickers and that it disregards the site policy and robots.txt, I would think twice about publishing it. Otherwise not. Note that some European countries have much more strict laws wrt scraping than the US has.
Yeah. I feel like he spends a lot of time trying to say it's not about the bourgeoisie when it pretty clearly is. People have been writing about this phenomenon and this particular way of looking at social status from the mid 19th century to today. It's the same with "late-stage capitalism". People have been saying capitalism has entered a particularly "ignorant" stage for decades. Just because API's are now involved (I guess?) doesn't mean it's a revolutionary insight.
"We validated DolphinAttack on major speech recognition systems, including Siri, Google Now, Samsung S Voice, Huawei HiVoice, Cortana, and Alexa."

I take that as, Siri is probably not trained to only the wake-up phrase, and as such, seems to be _not_ trained to the voice at all since this attack worked.

That, or poorly trained. Don't know, can't verify.
Reverse Chargeback is the best thing to fix these kinds of situations. Chargebacks are bad for companies, outside just the fees and lost revenue that happens with them. Card networks have limits on how many chargebacks a company can have before there starts being issues for them. Reverse-chargeback takes that mark off of them, so it makes the company happy.
>I'm enjoying TDD a lot

Meh, test are great in so far as they can help you not break things if you upgrade the framework, or langauge in the future. But other than that I have to agree with Kent Beck's sentiment of "I get paid for code that works, not for tests".

https://istacee.wordpress.com/2013/09/18/kent-beck-i-get-pai...

If I had started out trying to learn Django using TDD as in this tutorial:

http://chimera.labs.oreilly.com/books/1234000000754/index.ht...

I never would have learned Django. I would have given up with the ridiculous slow progress of results and functionality.
SEEKING WORK, Brighton UK, remote, julian[at]reactrocket[dot]com

I build interfaces for startups with react and react native and web based editors with draft js.

I work on a fixed price basis only - You'll know what you get at what price.

My availability for October/November is filling up quickly, get in touch soon so we can kickstart your project.
Can't Alexa, et al simply look for a certain volume and duration in the audible range, which sounds like speech, in order to activate?
I wonder if this has any implications for recording?

If someone is listening to a live musical instrument that is producing both audible sound and ultrasonic sound [1], is what the person perceives affected by intermodulation in the ear?

If the performance is also recorded using a technology that for all practical purposes reproduces perfectly everything in the audible range, then I can see a couple possible cases.

1. The microphone is designed to filter out ultrasonics or is sufficient linear to not have intermodulation.

In this case, the recording is what would be heard with no intermodulation. When played back, all the listener gets is the audible portion of the original sound, without any ultrasonics. Thus there is nothing to produce intermodulation in the listner's ear, and so the listener might perceive the recording as having a different timbre than the live instrument.

2. The microphone does not filter ultrasonics and is non-linear enough to have intermodulation. The audible intermodulation products will then be included in the recording.

When played back the listener will hear intermodulation products, but they will be the ones from the microphone's non-linearity, not the ear's non-linearity.

The question then is how close are microphone non-linearities to ear non-linearities. If they are similar, then the timbre of the recording should match live. If they are sufficiently different, the timbre could sound off.

It should be possible to design a system that records only audible frequencies and plays back only audible frequencies and sounds identical to live, but it may require specifically taking into account ultrasonics instead of just cutting them out like I think we currently do.

[1] A trumpet with a Harmon mute playing a quiet note has about 2% of its energy above 20 KHz. Playing a loud note drops that to about 0.5%. A cymbal crash is about 40% above 20 KHz. (Keys jangling are almost 70% above 20 KHz, which probably has something to do with why back in the early days of TV remote controls when they were ultrasonic instead of IR or RF people would report that if someone's keys jangled the channel would sometimes change). See: https://www.cco.caltech.edu/~boyk/spectra/spectra.htm
> I think angular just makes more sense in larger projects.

I remember people saying exactly that with Extjs back in the days, with no proof whatsoever. Can you explain how angular makes more sense in larger projects?

> that only pays off when working in larger teams.

what makes it better for "large teams" ?
How digitization can help refugees
http://mypy.readthedocs.io/en/latest/python2.html

You can use comment annotations to typecheck with mypy in py2
Sure, but there is a big difference between “its much more expensive for me to go to movies now”, and “it is generally much more expensive to go to movies now”.
I can't imagine the motives anyone would want to try and volunteer information about vulnerabilities to the UK gov. Maybe I'm naive, but there's so much hostility towards whitehat researchers that I'd assume Zemnmez is now on some "list" and being monitored/watched/flagged.

What's the reward/risk?
What does "and then nothing" mean?

Not every investment will succeed which is the point of risky startup investment. And USV has an incredible amount of success (Twitter, Kickstarter, Cloudflare etc)
100% coverage is meaningless with respect to correctness and the ability to prove facts about your code. 100% coverage only means that you've been able to exercise all relevant lines of code at least once, not that you've tested all possible execution paths through the code.

The idea that you could somehow replace the utility of static type checking with a suite of human written tests is laughable. Static typing systems allow you to prove facts about your code which make reasoning about correctness much easier than with dynamic type systems which practically disallow this (unless gradual typing is allowed in your language).
And how often you do confit changes?
What the? I think Korg needs to get Tatsuya [1] back on board...

[1] http://www.synthtopia.com/content/2017/02/16/synth-guru-tats...
> But trespassing on someone's property after receiving a request from them to leave is a crime.

I am not a lawyer, but I don't think it is that simple. 25 CFR 11.411 - Criminal trespass requires the person comitting the offense to "know that he or she is not licensed or privileged to" enter or remain [1].

What if you believe that you are "licensed or privileged" to do remain where you are, because you are in posession of a valid ticket and the demand that you to give up your seat is not consistent with the terms attached to the ticket? It seems that if you believe that you have a license to remain then you are not commiting a crime, even if you are actually mistaken in this belief.

Illinois state law also has a "Criminal trespass to vehicles" offense, but it applies only to entering, not remaining [2].

[1]: https://www.law.cornell.edu/cfr/text/25/11.411

[2]: http://www.ilga.gov/legislation/ilcs/documents/072000050K21-...
The ICO craze seems like perfect material for the TV show Silicon Valley, especially after FileCoin has become a real thing.
On Google's New "Backup and Sync", and G-Drive: Reviews
I think we are all on the list. Visiting Linux forums got some of us on the list. I can't imagine that visiting HN wouldn't.

I just assume they are monitoring everything I do online anyway.
If one dimension is limited compared to others, it makes sense to call it psudeo 3d, because all planes are not fully realized. But it is still clearly invoking a 3rd dimension, maybe a 4th if you consider movement in time.

I still call it just shy of '3D'.
Here's the direct link to the report: https://medium.com/@Zemnmez/how-to-hack-the-uk-tax-system-i-...

It's a neat write-up - the security folks at Twitch do some great work and this is no exception.

Seems like HMRC really need to work on a responsible disclosure system of some sort, I'm surprised that there are no security@ emails.

I'm also left wondering if Content-Security-Policy could have helped with that XSS.
It seems to me that software producers often advertise to managers rather than programmers, and that's why this style caught on.
The thing is, this is creating harmonic vibrations in the membrane at human speech frequencies. I really don't think you need to go with ML. It seems to me that if you remove the LPF, let the ADC access all the frequencies, then (either in the ADC or in software) detect the harmonics and ignore those with an ultrasound source.

Edit: suggest LPF removal.
For some data processing tasks Python can be brutally slow, especially text processing. NumPy is only fast because it's written in C and offloads hard numerical calculations to BLAS.
> I'm curious who or where the author heard that from (not specifically the people themselves but the domain they are in).

In the telecom domain, I've dealt with data big enough that Python wasn't really feasible. Think 100 of millions of records in CSV format that need to be parsed and processed. Doing that in Python is going to be painful.
Point 1 is most important. There is no guarantee for success. You may be doing everything "right" but if you are not at the right place at the right time meeting the right people you can still fail. A lot of life is luck and life is not fair.

Point 5 is also important. By definition we are all average. And things where you are maybe 0.1% may not be things that you have passion for.
I know of traditional media ad-tech that uses ultrasound markers embedded in ads to track/verify if the ads were really broadcast as promised (number of times & in the correct time slots.

So the steps are:

1. Inject ultrasound markers into ad during post-production.

2. Have a server with multiple tuner cards to monitor multiple stations, grab the audio.

3. Filter audio on specific ultrasound frequencies, search for the pre-injected patterns.

4. Generate reports.

5. Get paid.
Never tried vue ? I dislike angular hyper engineered DOM-OOP hybrid. Vue also fit the human-sized framework in a way.
I wish I could remember details, but a cofounder or single digit employee of a acquisition Equifax made, elected to forgo their earn out, because they were opposed to working in any capacity for Equifax. I think that they were somehow bullied into revealing their reasoning, to escape penalties in contract (which in any event were unlawful in the UK, I heard this from a employment attorney friend who has super reported cases, ie those which established new law). They were immediately snapped up by a startup in VA. Equifax managed to suppress their credit file completely. Preventing them from even renting a apartment for at least a year, and I believe it was a year before they had been even recognised by a US reporting agency and could open and operate a checking account. This was picked up by The Register, which still was then still Mike Magee's baby, so honourable 1., 2.. I can't find a link from my phone, but even if you never believe me the actual events happened, I bet you had a thought that you would not be surprised if it happened more often.

1.(added to qualify that adjective "honourable" which I apply to individuals not companies, and individuals who risk sacrifice without burdening others. My career is in advertising and I am truly impressed when publishers are able to maintain standards that are able to raise their costs of sales. (a large publisher may not lose a account, but the sale often consumes expensive energy, even only to explain why policies exist. I work far from such high sensitivity issues, as does the company I started around the time of this recollection.)

2. last I spoke to Mike, he was telling me how he simply was never issued his shares in "ElReg" and he was long enough into The Inquirer to think that Limitations applied. But Limitations 80 runs from the time of discovery of tort, not the event of tort. Before the chance arose to catch up, and establish facts, Mike had passed away. RIP a great man and two great journalistic servants to the IT community. I did not establish the facts that were alleged, therefore my statement is hearsay, but protected by the statutory defence of genuine belief, and I had always faith in my source.

Edit: italics removed from footnote, earn out replaced phypo earnings, and great man replaced good man. Mike was exceptional and altruistic to a fault.
Tell that to developers who develop with the default config and then expect that to work in "Production".
U.S. Diplomats Suffer Hearing Loss After Serving in Cuba
But very few go to trial because the courts cannot afford to try that many cases. So, like most social issues, where does the money come from?

Edit: I want to be clear. I agree with your point, but observing the obvious roadblock to implementation.
> Scheme does not have that for instance, SFRI-10 reader macros need to be wrapped in `#,()`, you can't just dump JSX or XML in Scheme source and expect it to work.

That's not 100% true.

See SRFI-105 which gives you infix expressions without needing to wrap them, and mixing and matching is supported the moment you dive into reader macros.

#!curly-infix
(+ 2 {a + b + c})

You do need to enable the reader modification, either in your own read (useful if you want safe eval, and parsing in limited environments), in which case you'd just provide an argument to read, or if you want it globally it'll probably just look like:

#!jsx
DOM.render(
<h1>Hello world</h1>,
document.getElementById((string-append "hel" "lo"))
)

Writing the reader would be considerable work, but hardly impossible for Scheme to play nicely.