skysight-inc/HackerNews huggingface dataset:
Best Smoothies for Lose Weight Quickly and Safely
Unless we are talking like circa 1999 I don't think I have heard a complaint yet that Python is slow. I'm curious who or where the author heard that from (not specifically the people themselves but the domain they are in).

What I have heard complaints about Python are (and I don't agree with all these points):

* Its not statically typed

* The python 2/3 compatibility

* It has some design flaws: GIL, variable assigning, mutable variables, lambdas, indentation (I don't agree with all these but this is complaints I have heard).

* The plethora of packaging (ie its not unified)

I guess one could argue its slow because it can't do concurrency well but that really isn't raw speed.

Then the author started comparing string processing of programmer time from a study which... doesn't help the authors point at all.

* Python has and will always be fast at string processing and most people know this

* The people that complain about python speed are almost certainly not doing string processing

* I have serious questions about the study in general (many languages have changed quite a bit since then)
You're right - Ive invested in the idea. In any case it will be the right choice for my proof of concept, focusing on SW for CAN/OBD communication.
reply
Somewhat OT but does anyone have experience hacking OBD-II? There are plenty of scanners that let you effectively read all the metrics, but actually issuing commands to get the ECU to do something isn't very documented. The protocol(s) itself seem fairly simple, it's about knowing the correct hex codes for your specific vehicle.
Do you think that in future wireless/Bluetooth earbuds will never improve? That what we have is going to be the best we're ever going to get?

My Bluetooth Sony MDX-1000X headphones are amazing, the best headphones I've ever owned. If they're the future of wireless audio, then bring it on.
The two main reasons I use and love multiple cursors aren't mentioned here:

1. I find it's easier to figure out what I want. If I use a command that doesn't generalize, I see it immediately. When I use vim macros I find I either have to redo my macro multiple times if I screw up, or spend a bunch of time thinking about how to correctly generalize my commands while writing the macro.

2. There are less concepts to learn and think about applying. You can replace multiple cursors with a combination of macros, rectangular selection and find/replace. But, I find all that functionality easier to think about and apply when it's all unified into one simple system.
The speakers would have to be able to emit ultrasonic waves. I'm pretty sure that you need special hardware for this. (because the researchers themselves used a special ultrasonic emitter, not the speaker of the phone they used).
Mypy / the PyCharm typechecker have come a long way. It's not the same, of course, but you can get a good bit of mileage out of the new gradual typing system these days.
This is a very long article about something that has been known for a very long time: middle class existential angst.
+1 for Antwort
Google has tens of billions a year in revenue from Android. Only in comparison to Apple revenue or Google's advertising business can that be called a pittance. :)
Yeah types are a feature, not a bug
But how will the store acquire all my personal information that way?
Reminds me of John Doerr's advice on how to be successful: "Be ruthlessly intellectually honest about the biggest threat to your business and marshall all available resources to solve that." Rinse and repeat. The key is not just to do just one thing. You need focus and vision, then you'll get to your most successful as soon as possible.
Effective Time Management
> Or that parents could use a Uni subscription card that allows for purchases from the campus grocery store and the bookshop to be capped at a reasonable rate

A bunch of unis already have this model and their own card for it, and even extend purchases to local businesses

e.g. http://bluebucks.umich.edu/p/home.html
I recently used both Angular 2 and React (the latter more recent) in some small projects. While I enjoyed working with React, I think Angular is more suited for me, a one-man startup.

A lot of decisions are already made and I just follow them. In React, every time I need something not built-in (which is very often), I have to do some research, and even after deciding one, I have this "what if I'm wrong" guilt at the back of my head. Of course I can "be wrong" too by choosing Angular, but at least I'm wrong for the whole stack :D
Uber Faces FBI Probe Over Program Targeting Rival Lyft
I know, right? This time it is different. These old dinosaurs don't get the new paradigm? I can just copy and paste from 1998-1999, 2006-2007.
It may be fairly easy to learn, but mentally evaluating context during usage will be the friction much akin to HAML.
Macros live in a different (albeit adjacent) space to multiple cursors.

When you record a macro, you need to be careful to encode commands that will work well wherever you apply it. That means skipping forward by a word rather than a fixed number of characters, sometimes doing fiddly operations around word and whitespace boundaries to make sure the cursor is in the expected position for the next step. When multiple cursors are used to emulate macros, you get a wysiwyg experience, rather than "programming" the cursor and finding out later during playback that it did the wrong thing.

Multiple cursors are also used as a replacement for text search and replace; sometimes the operation could be performed using a symbolic rename, sometimes it could be done by search and replace with live preview, but not when you want to skip some instances.

Probably 95% of my personal use of multiple cursors is for local refactoring, e.g. switching out a hash for an object or vice versa, where I want to change 'foo.bar' to 'foo[:bar]', but sometimes (electively) 'foo.fetch(:bar)'. Multiple cursors let me do both the selection and the editing in a wysiwyg fashion, where neither macros (typically with a 'find next' operation recorded last) nor a complex search and replace with capture group and interactive replacement are nearly as pleasant.

FWIW, for many years I used Borland IDEs and almost the only tool available for complex manipulation was keyboard macro record and playback (I spent probably 15 years only using keyboard macros). These days, though, the combination of synchronous editing (iedit mode in emacs) and multiple cursors have almost completely replaced my macro usage with much more usability due to the live feedback.
Beats. The only use they have are as a fashion accessory you hang around your neck. You don't play audio through them, not if you value your ears and your music.
Data Visualization for Social Science
Motu Patlu Presents Hot Wheels Battle Force 5 -Better Off Red – S2 E49.P2
I came here to make the same point about statically typed languages. My previous job mostly involved writing web servers/services in Python. A lot of the existing unit tests in our codebase were solely there to check for type safety (one of the developers that had been there for most of the lifetime of the codebase over engineered a bit with OOP in Python). Now at my current job, we use Scala. I still prefer Python for scripting, but it is very nice to be able to write code and have the compiler do most of the work when it comes to making sure everything fits nicely together.
Thanks for sharing, this is really cool. Can you please share with us what did you have to learn in order to get into Fintech? If you were to assemble a short bullet point list of essential topics to study for the job, how would such list look like?
> Shoutout to @gio (and MIchael Lopp2!)who posted a link in the PUB that included most of these resources! Thanks!

That's like copying 80% of a textbook and leaving a single reference to it in yours. It seems like they're taking credit for assembling the corpus of the material.
But see we started off with taxes bad because coercion and coercion is bad but now we're at property is okay because property is property. My position is irrelevant because what I'm really interested in is the foundation of yours. I don't see it. I don't see where property gains some magical virtue that taxes don't which exempts it from being bad despite requiring coercion.
Yes, about 114 sources on Wikipedia.

"As of 1999, about 500 species, ranging from primates to gut worms, have been documented engaging in same-sex behaviors.[3][page needed][4] According to the organizers of the 2006 Against Nature? exhibit, it has been observed in 1,500 species.[5]"

So if not DNA, then what else?

https://en.wikipedia.org/wiki/Homosexual_behavior_in_animals
Have you checked out MyPy and the optional type hinting? I've been going that route in my python recently and been liking the both/and of having an optional type checker.
But with a statically typed language, you don't need to go through that code -> launch -> test cycle as often because everything is type-safe.
Multiple cursors don't require me to switch my brain to an entirely different domain to figure out what to do. It feels like my fingers can happily handle multiple cursor edits - leaving my brain to continue focusing on whatever it was I was actually doing.
Oh, I've heard "Python is slow" from Node folks, Java folks, Scala folks (in terms of productivity) and of course, die hard C++ fans. I'm a fan of Python but i also like languages with a stronger FP bent (and statically typed.)
You could hope to resell the service for more than you initially paid for it in the ICO.
I really enjoyed Rao's writing on the Gervais Principal, but I've never read anything else by him that really clicked with me. This piece in particular is winding, meandering, and nonsensical.
You only pay the the price while debugging. In your static language you pay the price continually. You are wasting orders of magnitude more time fighting your language's type system every day, you have to read reams of boilerplate code that are unrelated to the problem at hand, each extra line increases the attack surface and complexity of your code.
Thanks! Yes, the guidelines specifically ask to use the original title.
Reading the "why you don't need more than one cursor" article reminds me a lot of people who say things like "why would you need anonymous functions in a language? If you're making a function, then define it, and call it." Where the author says:

> The ultimate feature that comes with vim is, that you can edit and save these macros for your next vim session and even add a key mapping.

They almost entirely miss the point of the feature. 99% of the time when you're editing with multiple cursors, you're doing a unique thing which would be meaningless outside the context of where you're doing it. The ability to save the macro misinterprets the flexibility to do exactly what is needed at the moment.
'Dolphin' attacks fool Amazon, Google voice assistants
Fixing big business, governments is Silicon Valley's next big thing
True, the defaults are pretty lame, but my point is if you don't free, and you start using data you intended to free, that's a memory bug valgrind won't be able to help you with unless you free your memory.

FWIW, this is in my bashrc along with a myriad of other programs that have lame defaults:
alias valgrind='valgrind --leak-check=full --show-reachable=yes --track-origins=yes --track-fds=yes --error-limit=no'
I think angular just makes more sense in larger projects. Imo, It has quite a lot of overheard that only pays off when working in larger teams.
Yeah, that's a good resource. I also recommend https://stackoverflow.com/questions/605845/do-i-cast-the-res....
Some thoughts in response to comments:

1. The bank should capture the ID you used the first time you entered and do comparisons. They should also capture your ID when you come in again. This will raise the difficulty of impersonating you and the risk the criminal takes.

2. One thing I didn't think to say, because my bank only exists in North Carolina: geography should matter. If you live in a particular city, opening an account from another state should be seen as suspicious, and merit greater checks. This is the kind of thing some people should be able to relax, but it's probably a good default for most of us.

3. Should I have to go to my bank for PayPal, Venmo, Betterment, eTrade, etc? Those cases don't all sound the same to me. But here's what I'd consider: how often is a person going to need to do this, and does the activity involve requesting credit? We've currently optimized almost exclusively for convenience at the expense of security. I'm proposing that we shift that balance a bit.
Also I think both Odeon and Cineworld charge more if you want to include Central London cinemas.

But definitely still a good deal even if you only go twice a month.
An ICO is one thing and one thing only: a scam.
"It used to be the case that programs took a really long time to run. CPU’s were expensive, memory was expensive. Running time of a program used to be an important metric."

As hardware gets faster we give it new tasks that could not be achieved before. Like rendering high resolution stereoscopic images using physically based shading at 90 FPS on relatively cheap consumer hadware (VR). There are still quite a lot of code that we call 'performance critical'. Most of that code is written in C/C++ (and CUDA and glsl, and hlsl, etc...) today.
MLMs like Avon and LuLaRoe send people into debt and crisis
Why You Should Have a CAA DNS Record for Your HTTPS Website
I see this stated as if its a universal fact, but it really true that static types reduce over-all bug density?

I myself have found this to not be true, and I have found the same in reading / talking to others. However, if you have found a resource that has data on the contrary, I would find it very interesting to read.

https://medium.com/javascript-scene/the-shocking-secret-abou...
The pixelation is a result of viewing it a distance closer than the distance at which the image was designed to be viewed. At a microscopic level, a fine art photograph will show grain, an inkjet print will show ink dots, and a computer monitor will appear as individual pixels.

The video is shot in close and tangentially in order to show how it works.
To clarify, after YEARS in crypto, I have never seen a widely announced ICO really do anything revolutionary or wind up sticking around beyond the initial pump / dump and market manipulation period.
Most comparisons of popular web development languages will show a table where every other language out performs Python (except maybe Ruby) [1]. In reality, like the author pointed out, the benchmarks don't really matter when you consider network calls.

[1] https://www.techempower.com/benchmarks/
As far as I've understood, if you're an American with a credit card.
> Oh, I've heard "Python is slow" from Node folks, Java folks, Scala folks (in terms of productivity)

I have hard time believing Java folks made an argument on productivity unless you meant for that parenthetical statement to be only applied to Scala. Regardless productivity is a far more complicated than raw speed (particularly if you get into maintenance as some languages are easy to pump out code but harder to maintain... oh perl.. the pain...).

And yeah I have seen the C++ folks complain about Python but this in my experience has been video game programming which is clearly not the domain the author is in or talking about (I think given the microservice discussions). Hence why I would like to know more about these folks complaining.
YouGov must be bored after the elections. There's no way 10% of people have devoted time to thinking through such a plan. They've just responded in the affirmative for lols when asked a ridiculous question.. I sure would.
It's funny how you see these articles about fancy text editor buffer representation (gap buffer, ropes) but meanwhile, the editor with the best feature/performance ratio (including multiple cursors) I've found[1] "simply" represents a buffer as a vector of strings.

[1]: https://github.com/mawww/kakoune
Volvo acquires car valet startup Luxe to boost its digital services business
Ludo, Carrom, Chess, Snake and Ladder Board Game Development
AIX is something you are forced to use, not something you opt-in for

That's a great way to look at it. More precisely, AIX is mainframe Unix. It's "now you've graduated, you have to wear a coat and tie, fill out timesheets, do what the boss tells you" Unix. There's little joy in AIX, it's a cold, industrial place where your soul goes to be crushed. In return, it's a workhorse like no other.
Did they have Material Non-Public Information (MNPI) when they traded? If so, yes. If not, no.
Damn...so that's why they banned slavery.
"Decent mass transit" huh...
I have, and I do like that Python is heading in this direction. But this feature does still feel half-baked to me, the error messages are often confusing and I do recall running into a few bugs along the way. I'm also not certain that the type hinting will ever be 100%, the dynamic nature of Python seems to prevent that. This could end up giving some people a false sense of correctness.
As far as i understand, Polymer (and Web Components, in general) permits to define custom HTML elements.

What kind of custom elements are in the (insanely unreadable) Youtube main page?
Sounds like what a friend of mine likes to call "the pain of easy living".
But if mics can pick it up, human ears will also be able to hear it.
SXML has been around a while, and makes working with HTML in most Lisps a breeze. See this for example [0].

'((html (head (title "My Title"))
(body (@ (bgcolor "white"))
(h1 "My Heading")
(p "This is a paragraph.")
(p "This is another paragraph."))))

[0] http://www.neilvandyke.org/racket/html-writing/
So Filecoin is intended to create a marketplace for the world's unused storage capacity. Is there a corresponding coin for the world's unused computation capacity? If there isn't, should someone create one? Probably using "deep learning" and "big data" as buzzwords, and somehow tie in with adtech / analytics / surveillance. I wouldn't buy it, but it seems like the kind of idea that investors would throw billions at!
Created a throw away for this.
My brother had a run in with police (he is mentally ill) and they tasered him repeatedly. He was in excellent physical (former marine) condition and about 37 years old.

When they delivered him to the hospital he was in severe shock and no effort was made by the nursing staff or officers to warm him. He was handcuffed to a sheets bare
hospital cot. After begging with officers and nursing staff to provide blankets and water for about 15 minutes I finally appealed to the right cop (former marine) who got him blankets and water.

The jail staff showed up closely after this and they were going to cart him off to jail without any further ado...however a physician needed to sign off. I could see he was in extreme physical distress as a result of his experience and the tasering.

Thankfully the ER physician was competent and unbiased by police reported events and saw that my brother had the symptoms of cardiac related distress and related abnormalities and insisted that he be kept on site for monitoring and treatment. If it wasn't for a good cop and a diligent physician my brother would be dead now: I have no doubt of this.
Maybe the mods will change the link; counting outbound clicks seems valueable though.
Probably that and a reference to https://www.amazon.ca/Michael-Abrashs-Graphics-Programming-B...
Lisp comes with a built-in templating system: quasiquote. Systems such as SXML (an s-expression representation of XML documents) build on top of that. This takes care of multiple problems with JSX: 1) writing HTML/XML is annoying (remembering to put the close tag in the right place, etc.) 2) JSX is a DSL, not an embedded DSL, so you need new compiler infrastructure to work with it.

Here is a snippet of real code that produces an SXML tree. It generates atom feeds for websites that use a static generator I wrote:

`(feed (@ (xmlns "http://www.w3.org/2005/Atom"))
(title ,(site-title site))
(subtitle ,subtitle)
(updated ,(date->string* (current-date)))
(link (@ (href ,(string-append (site-domain site)
"/" file-name))
(rel "self")))
(link (@ (href ,(site-domain site))))
,@(map (cut post->atom-entry site <>
#:blog-prefix blog-prefix)
(take-up-to max-entries (filter posts))))

By far the best templating system I've ever used.
I've already gotten a computer in my car, so this is my next step. And yeah, the biggest challenge from my understanding is that there's some reporting standards required by law, and then once you have those, it's every man for himself on the rest of it. :P

George Hotz is specifically trying to solve this by crowdsourcing data from everyone's cars with his Panda project.
You could have static duck typing, so declarations wouldn't be an issue. Though, for the most part I like Python just the way it is. I actually hate when a library tries to check types, instead of just using whichever object I passed it.
Anything with "Exclusive" in the name also qualifies; your stock is "as much as people will buy * fudge factor." Are you sure you don't mean "Inclusive"? And suits. Any suit. Yes, even the $1000 one. It's wrapping paper for your personality.
MyPy provides some useful type-checking for python. I have not had a chance to use it in production code because we are still stuck on python 2 due to Google AppEngine standard not supporting python 3.
How to Climb the Startup Career Ladder Like a Boss?
I took 'force people' out of the title since that's bound to provoke the boring sort of title-protest. But I'm not sure what a better title for this piece would be.

On HN a good title is accurate, neutral, and uses representative language from the article. If anyone can suggest one, we can change it again.
Scientists make methanol from methane the usage of oxygen in 'great'breakthrough
What’s the user doing
> It’s more important to get stuff done than to make it go fast.

This is not a real absolute. It is only valid when what you have to run will not benefit a lot from performance or suffer a lot from lack of it.

The real guidance you can have in these matters is: how many times is my code going to run per second?

Some programs are written to be run once a day, others 10000000 times in a second. The first ones should be written in the language you're most productive in, the second ones in the fastest possible language.
That's missing the point. The question was whether there's any evidence that homosexuality (in humans) is the result of a particular genetic specification. We don't know whether or not that's the case for the worms. All we know is that some worms exhibit homosexual behavior.