skysight-inc/HackerNews huggingface dataset:
The ethical and moral implications are enormous. But machine learning and AI are not going away.

We must make our best effort to understand how this works, not bury our head in the sand as hostile actors use this for ill.
The kicker is, an external observer (ie your boss or hr) has no way to judge who the "good people" are. Are you the one fixing the bugs that stumped the team for weeks, or are you the one poorly implementing features that then require rework later on (and all that entails; prioritization, scheduling, talking, tracking)? What we do is totally opaque to everyone, but us.

So yes, I agree, there is a shortage of developers of all kinds. And nowadays, every company out there has some legacy system or another they need maintained or enhanced. Thus we're paid a lot. Some positions are very demanding, some aren't. A position that's demanding to one developer may not be to another (depending on experience etc).

At the end of the day, the big corporations are sitting on hoards of cash. The way a lot of companies are choosing to spend it are via "capex" captial expenditures on software projects. For these they need developers.

I've addressed this for myself by hopping jobs 3 times in 2 years, now my salary is 10% above the local market rate. I am intentionally extracting the most wealth from this situation that I can (within the bounds I have set for myself ie w2 fulltime, contracting I could be making quite a lot more).
OT question for native English speakers:

>In the complaint filed in Portland, Ore., federal court, users alleged Equifax was negligent in failing to protect consumer data, choosing to save money instead of spending on technical safeguards that could have stopped the attack.

Wouldn't that be "was negligent in protecting"?
"There's are still some big gains python could make, if python implementations were better."

At this point, I would find it far easier to believe that you are underestimating the difficulty involved in what it takes to speed up Python than that there are enormous gains yet to be had in speeding up Python. I suspect JS has had more optimization effort expended overall, but Python has still had a ton of work by lots of smart people, and generally got an earlier head start on optimization. (They didn't start trying to make JS "fast" right away; they spent rather a lot of time getting JS's hookup to the DOM in the face of things like .innerHTML working first, before anyone even cared to do what we today do routinely without thought in plain ol' Javascript, let alone with our glorious frameworks.)

There are enormous gains to be had in speeding up "a language that is like Python except certain things are banned", but people have already done that analysis too and discovered that broadly speaking, if you do that, too much existing Python breaks. If you want to see something like that, check out the RPython aspect of the PyPy project, which successfully implements a fast subset of Python. But it is a noticeably restricted subset of Python; AIUI it's not even close to something you can just drop in to your code and get faster speeds.

One of the things that I've learned from Python and the other attempts to speed up the scripting languages is that despite the mantra, yes, there is in practice such a thing as an intrinsically slow language. (The theoretical existence of a Python interpreter that can run all existing Python code at C speeds doesn't do us much good if we have no idea after decades of very smart people banging on the problem how to manifest it. Personally I'd suspect that while such a beast theoretically exists it has an exponential complexity startup cost or, if you prefer, exponential compilation costs. And probably a pretty decent code and/or RAM bloat cost, too.) And Python is one of them. Some of the reasons why it is so much fun to use are part of that intrinsic slowness. Some of them really aren't.

I personally think there's a lot of up-and-coming languages that are exploring the space of how to get those nicer programming abstractions and programmer-convenient code without paying anywhere near the runtime cost that the dynamic scripting languages of today do; it's one of the more exciting developments I see coming up. People complain a lot about code bloat and poor performance of our code since right now we have to choose between "fairly inconvenient but fast" and "convenient but slow and bloated". Patience! Better choices are developing, but they're still young.
Site is unavailable? I see “Registration has been disabled”.

Edit: It is working now.
>On the other hand, the idea that dynamic languages are more productive than static languages are laughable. Statically type languages prevent a lot of bugs and allow for a lot of automated provably correct refactorings that simple cannot be done with a statically typed languages. You can't even reliably do a "find usages" of classes using a dynamically typed languag

Exactly, I get quick and precise code completion, I catch plenty of errors beforehand etc. I'd say I'm about 10x as productive in C# as in Python, with similar amount of experience. Python only shines when there is a library that does something really well that you need. For me any productivity advantage in Python is from lots and lots of libraries.

Also in terms of maintainability, I find my C# code easy to read and modify a year later when I've forgotten completely about it. In Python I need to rescan all of the types into my head until I can understand what the program does.

I mean with var and dynamic, C# offers everything you need for duck typing efficiency, while preserving the very important statically typed interfaces.
I often think there should be a superhero archangel comic character that is a ruthless defender of justice. I don't understand the mentality of prosecutors, nor the judges, public defenders and others who are also complacent in an evil system.

I have had three encounters with law enforcement, the first ended in similar fashion to this story. I was charged with a crime I didn't commit which happened to occur on video.

After 18-months, and threats of serious felony charges, I refused to accept a plea. I asked my lawyer if it was illegal to plead guilty to a crime I didn't commit and he said it was.

The prosecutor then says, "the state moves to drop the case citing lack of evidence". Again, the crime (theft) was recorded on videotape and two other guys I didn't know clearly stole the items involved. I won but the court wouldn't actually let me win.

Another time I was caught in an unfortunate incident where a security guard pushed me into a street. I was tackled, tasered, later choked, threatened to be killed and then powerslammed head first on concrete by Detective of the Year, Glenn A. Ritchie, of the Broward County Sheriff's Office.

Ritchie charged me with non-violent misdemeanors and then a day later, alleged felonies in a contradictory and clearly false 2nd police report. I spent 34-days in jail until the charges were non-filed but not until the felony was refiled as a misdemeanor, sent to the wrong address, resulting in a still standing capias warrant for my arrest.

The system is flawed. People who work in the courts, especially in major cities, are not to be celebreated but derided. It's an insane system of high bails, boilerplate plea deals and cold indifference.
Can't it be fixed by a simple low-pass filter?
"Buy all the coins I own so I can make more money when I sell in November"
Title is misleading. It isn't 3D, it's all mechanical
"migrate your package/program/module painlessly to C"

Do you or anyone on your python using team can use C professionally for things you'll use in production?

I work with python everyday on a team that uses python everyday, and I worked professionally in C++ for a >2 years time, and I still wouldn't trust myself to write a reliable/safe C backend to something.

And using C++ behind python with something like pybind11 is anything but painless on the other end; it requires careful consideration.

Python is "good enough" in nearly all cases, but there are some instances where you sort of hate yourself for using it for the prototype since you're forced to effectively rewrite afterwards.
Well my work laptop is Windows 7 up to date, with VS 2015 Update 3.

So it got installed there somehow.
I used to frequent a second run theater as a kid that was $3. Iirc correctly, the first run was like $5.50.

When I worked at a big mall cineplex in the late 90s, I'm pretty sure it was $7.50. They had a weekday combo where two tickets and a small soda/popcorn was $20.

I don't have access to theater demographics, but anecdotally, the makeup of a Friday night crowd seems to skew older and have fewer groups of kids. That might be more about malls dying than movies though.
losing time doing something better.
time is the most valuable ressource. so yeah it's detrimental
Agree, this is marketing material for bean counters.
I've never understood the instagram / facebook game that people seem to dedicate inordinate amounts of effort to... I mean, I guess it's just your typical one-upsmanship in a social network... but still. People try so hard to make it look like their lives are better than everyone else's... I don't understand. :(
I'm assuming you're referring to browser fingerprinting.

If you want to know how unique you are you can check EFF's Panopticlick https://panopticlick.eff.org/

Next question: How does anyone guard against this? My canvas fingerprint is 12 bits of identifying info even though I have what I would consider to be a fairly common MacBook Pro. Between this and my WebGL fingerprint (11 bits) I'm most likely uniquely identifiable.
By using the same credit card for each purchase.
You sound like someone who hasn't used dynamic languages in anger, or you'd mention some of the things that dynamic languages do well that statically typed languages aren't so great at, to prevent your argument sounding like a straw man.

For example: dropping into a debugger (binding.pry / pry_remote in Ruby) to write code interactively in the context of the application, transferring that code to the source, and continuing on with my next fragment of functionality with a refresh of the web page, no recompiles or restarts required. You can do this with some difficulty and certain caveats in a statically compiled language, but only if things have been set up in just the right way, with automatic dependency recompilation and reloading, hot code replacement, etc. And even then, there are limitations on the kind of code you can write in the editor, depending on the underlying technology. Typically you can't create whole new classes, or introduce new fields etc.

Or consider levering up your language. Dynamic languages often give you the ability to create "new" syntax via expressive literals. This opens up more avenues for declarative programming; construct a data structure that models your problem more directly, and then write code that interprets the data structure. You want extremely lightweight literals for this, readable with minimal ceremony, including lambdas for when you need an escape hatch, a little pocket of custom code embedded in the bigger data structure. Statically typed languages have little context to infer types for such lambdas, unless they can generalize from the operators applied, but then you have a generic function, not a piece of data. So you end up infecting your DSL with type annotations and cruft, and before you know it the whole thing is hiding the forest behind the trees.

Thing is, if you aren't used to using these tools, you might not even know they exist, and you may be missing out on productivity you didn't know you could have.
Cloud has great support (just check any HN discussion around GCP's offering and their customer support). Adwords can also have some really good support depending on your spend (even low-level spend has decent support).

The case you are mentioning seems to be AdSense? While you are showing ads from AdWords, it is a bit of a different product and has its own support (email-only it seems).
True. XML => Json.
Someone bought 2500 put options. Each option gives the owner the ability to sell 100 shares at the strike price of the option.

If whoever owns those options exercises them today (And covers their short position at a price of $125) they will make ~$2.5m on a ~$200k bet.
"the idea that dynamic languages are more productive than static languages are laughable." -- being statically typed or dynamically typed comes with its own set of tradeoffs and what a person is more productive in is a highly subjective matter. Lispers are more productive in Lisp than Haskell and vice versa.

"Statically type languages prevent a lot of bugs and allow for a lot of automated provably correct refactorings that simple cannot be done with a statically typed languages." -- not true, Clojure is trying to do that with Clojure.spec and specifications being checked at runtime can get you closer to things you could have automatically proved correct only with languages with dependent types, nothing against statically typed languages but I feel that your sweeping generalizations hurt the point you are trying to make.
Korg is nowadays a top iOS music app producer, with hits like Gadget, iMS-20, iElectribe, etc. They also have Gadget running on the Mac and it costs more than Logic.
Show HN: Trade your abandoned side projects on Borderline.biz
Many OSes unlike UNIX, including Windows, traditionally don't have a system C library, rather multiple compiler vendors each with its own C library.

Which is one reason, when you look at Windows 3.x code, it was common to call Win16 APIs directly instead of ANSI C ones.

For example, ZeroMemory() instead of memset().
Of course that depends how much more you have to write in one language compared to another. Say you're 10x more productive but have to write 5x code, that sort of cuts down the advantage somewhat.
> without getting stuck in the weeds of the small things such as whether you should use a vector or an array

Yes, instead get into the weeds of tuple vs list

Not included in the graph of time-to-solve-problem static languages: statically typed languages with type inference
Burger King had a TV ad[1] that triggered Google Assistant and Google Home ("OK Google, what is the whopper?")

1. https://www.theverge.com/2017/4/12/15277278/google-home-burg...
I have a few legal questions (IANAL)

First of all, is CoinList a registered broker-dealer with the SEC?

The SAFT can take advantage of the 506(c) rule which the JOBS act introduced, allowing you to raise unlimited amounts from accredited investors, and do general solicitation. But I believe it requires the securities to be issued through a registered broker-dealer.

This guy seems to believe that the token issuance itself is not covered by 506(c) if the token is a security. Where does his reasoning come from?

https://prestonbyrne.com/2017/08/04/thoughts-on-the-saft/

But even when the next security is issued to these investors, will they be able to trade them? The Exchange Act regulates the sale and interstate (electronic certainly would be) exchange of securities.

If the tokens are later considered securities, then they may not be tradeable. However, I doubt that, in practice the SEC will go after anyone in particular on the exchanges, since there will be tons of participants by that time, and especially since the project has taken the most amount of effort to comply with the regulations, and many others didn't. All it might do is halt the trading, and confiscate the tokens of whoever is trading at that time. And the exchanges have already been trading all sorts of tokens, so they are more likely to take this one.
I am surprised at this:

> Somewhere around 99% of my multiple cursors usage was adding a common prefix to a contiguous [series] of lines.

I would say that it's somewhere around 25% of my usage.

More common -- probably 50% or more -- is finding all occurrences of a string scattered throughout a file and making edits to that string that are more sophisticated than a simple find-replace can handle (e.g. edits that involve back-references). In many cases, I could probably write a regex, but using multiple cursors is so much easier.
A warning letter from the FDA is quite serious. The executives would ignore it at their peril.

https://www.fda.gov/NewsEvents/Newsroom/PressAnnouncements/u...
"OK Google" on my Pixel is keyed to my voice and can be used to unlock the phone (though I turned that feature off), but I'm not sure if it validates my voice when the phone is already unlocked, or if other google devices like the Home allow this.
Peer to peer bike sharing. Is this business lucrative?
I went by yesterday to check it out, it really is totally eerie. Two things that really struck me: The fluidity in real life is a lot more water-like than the videos make it seem, it doesn't really look like it's popping shelfs out. It's also quiet, I kept listening to see if I could hear it moving (granted it's pretty loud in times square) but nothing.
Finding Our Place Within the System
"Banks have daily lag (pending transactions). They also stop business in the evening and resume in the morning to process all these items. That isn't feasible in a lot of scenarios."

I live in the US, and if I got to the ATM and get cash on my account, I can go to my iPhone app and see the transaction and the balance updated.

Yes, there is a nightly process, but not everything is a nightly process.

"Rarely do you have an up to the microsecond view of the markets (unless you are located appropriately and pay significant amounts of money). There is always a delay in the information's accuracy and relevancy."

Do you know what a hedge fund is?
The Internet of Materials (IoM) Master Plan, Part I
Laws are all made up dude, they aren't real, man.
I've always used the term "black book" when referring to a "compendium of nasty details", though this use might not be en vogue anymore (in English, in German it still is).

In this case, I think the title is well-chosen.
Show HN: Bulker Email – like Facebook Login, but for email capture
This is pedantic sniping. The poster's point stands, despite your objection to the flat-earth claim.
It's not missing it. We are in no way different than other mammals in this question. Even the ratios match we observe in nature, so it's very likely that it's a natural process. It can be as deep as epigenetic effect, but I don't see how it's not coded into your system.
If you are willing to gamble real money on that assertion, its there for the taking.
How so? He's pointing out that this article is a dupe.
My biggest problem with Angular2 is how restrictive an obtuse the framework can be at times. I've ranted about it in other comments so I'll save space and just say that Angular makes easy things hard and difficult things nearly impossible once you step off the dotted line.

Also the lack of a really solid UI library has caused many headaches. Material isn't very configurable, PrimeNg is okay but somewhat buggy and poorly documented.
Could you elaborate on what are the complaints you've heard about "variable assigning, mutable variables, lambdas"? Just curious.
Always Verify Examples When Comparing DB Products (PostgreSQL and MySQL)
Yes it is. For the client, multiplexing multiple requests across a single connection and only needing to negotiate TLS once can have huge benefits, depending on the page/site. You are after all building your app/site for your end users, right?
He was the lead engineer of the analog synthesizers department; I doubt he would have had much say in this even if he was there.
dynamic f = x => x * 2;

Duck typing doesn't seem to be offering everything.
This was the reaction I got from most non techies. Makes my heart sad.
The range limitation seems possible to overcome too.

There are directional megaphones that can send sound for hundreds of meters. Directional megaphones send a beam of ultrasound that is focused on the surface where the sound is to be generated, so an attacker may be able to use a directional megaphone to beam the voice commands to the target's vicinity.

Suddenly all kinds of movie plot tricks could be used in heist movies now! Perp uses an air vortex cannon to press a door bell button from a distance and a directional megaphone to talk to in the buzzer and then ... well, easy to get carried away :)
I can easily imagine this being used by an anti-gay government to target gays.
Doesn't matter to them if it is not 100% accurate.
Hi, I am just starting this new business and would love some feedback from HN.

It is aimed at business that capture emails at their website. We create you a Facebook App and give you its sign-up link. You add it to your website as an alternative for visitors to share their email with you with only two clicks (one at the link, a second one at the Facebook's authorization page). That's why I call it "Facebook Login for email capture".

A bonus is that we can also send Facebook notifications to these registered users, with a catch: Facebook only sends these notifications to users accessing Facebook from the web (users on native mobile FB app won't receive these notifications).

So the value proposition is to help you capture more emails to your newsletter and increase the reach of your newsletter through a new channel.

I would love feedback on the value of the business and also the pricing.

And I am also inviting some people if you want to try it for free for a couple of months. I only tested the tech locally and I am now starting a trial with a friend who has an e-commerce. It would be great to have a few use cases to measure and validate the value of it in the real world.
If you are interested, just submit the form on the website and message here (email on profile) so I know you are invited from HN.

thanks!
We come from a billion+ years of organisms that have had to strive and fight for everything. Not necessarily all the time; there are brief times when resources are free and easy for some species (like, "a disease kills of 95% of your species and you're the only thing around that eats grass" or something; for the survivors it's suddenly a cornucopia), but they don't last this long, nor are they ever this easy. It's not hard to see why our genes haven't really prepared us for this wealth.
Very cool. I saw that you handle Lufthansa as well, now.

Tiny nitpick:

In my understanding, ETA denotes a point in time, e.g. 22:50h, that is the estimated time at which you arrive. (Absolute)

If you want to specify a duration in this context, i.e. how much longer until arrival, e.g. 0:53h for another 53 minutes until arrival, you'd speak of the ETE (estimated time enroute). (Relative)

See (in German) e.g. https://de.wikipedia.org/wiki/Estimated_time_of_arrival

tl;dr: use "ete" instead of "eta"
Prototyping tool for web and mobile app
Slow doesn't matter when you scale horizontally.
Well, I wonder where all the PHP programmers went...
that threw me for a bit of a loop as well. This means that responsibility for doing ACL whitelisting at the edge is now moved from the actual edge, to the security groups on the actual servers responding to request, right?

That's do-able and all, but I kind of didn't hate the old paradigm of having an extra layer there.
>You are wasting orders of magnitude more time fighting your language's type system every day

I program C# a lot, I never fight the type system. It helps me. It tells me while coding that something is wrong. In Python I'll catch this as well...eventually, when I run the code. A type error in C# would be a runtime error in Python. That's very inconvenient.

The static types are also documentation showing intent. It's hard to read old dynamically typed code bases, because I have to do the type processing in my head to understand what is what. Much simpler if I have nicely defined interfaces.
Are You Involved with Business, or Fully Committed?