skysight-inc/HackerNews huggingface dataset:
A comment from a beginner python user -- but I need to rant ...

I've been doing a bit of python the last few weeks for some image processing/computer vision tasks (using opencv and numpy).

I have to say, all together it's a pretty miserable developer experience.

Python is incredibly slow - forcing pretty much all computation no matter how trivial into contortions via numpy incantations so that the inner loops can run in native extensions -- these Incantations have a lot of implicit not well documented magic. Miss some details in the behavior of the magic and suddenly you have a major 10x slowdown -- but good luck finding where. I would kill for an easy to use tool like xcodes Time Profiler ...

API usage errors (even those where invariants are checked at runtime) are ridiculously under informative -- opencv for example does quite a bit of runtime sanity checking on the shape and type of arguments to its methods -- but somehow even simple details as to which parameter is the cause of the error don't get reported in the stack trace severely increasing the cognitive load required to identify the mismatch -- not fun when multiple arguments to an API are the result of a chain of numpy magic data munging. This may be an opencv complaint more than python (aside: opencv is pretty terrible.)

I'm not sure what I'm doing wrong with python but I find the majority of my code to be sort of menial data munging -- and I haven't figured out good patterns to organize this munging in any sensical way --with a static language d.r.y patterns to centralize such plumbing operations have the awesome effect of moving invariants into reasonable places -- in python without any ability to organjze guarantees, as the code base evolves I find myself needing to repeatedly check data shapes/types -- there doesn't seem to be an obviously useful way to organize verification of data types as the necessary invariants become apparent. These issues are compounded by the fact that refactoring is an enormous pain in the ass!

I feel like all my python code is throwaway code. Maybe that's what I'm missing -- I need to just accept that all the python numeric code I write is pure one-off junk, embrace copy paste and never try to reuse any of it ...

Sorry for the rant! I remember loving dynamic languages when I first discovered them - but right now, I really miss c++ (or even better swift).

I can't imagine the number of hours wasted because of these overly dynamic tools -- and there is simply no decreasing that lost time in the future -- as these languages grow if the house of cards ecosystems they sit atop grow and motivates more use then ever more developer hours will be lost to avoidable triviality ...
Why would you lead with a legitimate question and then finish with an outright insult?
Damn...... so ive been vulnerable up until v58 released a few days ago? WTF?
I'm noticing you are applying this motte-and-bailey tactic, first claiming "it is all about politics" (bailey), but when people confront you, you retreat to "it is all about sociology" (motte) that is a lot easier to defend than the previous claim.
From the wikipedia article:

> A tintinnabulum often took the form of a bronze phallic figure or fascinum, a magico-religious phallus thought to ward off the evil eye and bring good fortune and prosperity.

So those images are showing tintinnabulums as well.
I can set up a basic Tomcat instance, ready for a deployment, in a couple minutes. Weblogic or JBoss is more pain but you don't necessarily need that.
For what purpose? My favourite language is haskell, but it may or may not be suited to your goals. It sure as hell won't get you a job easy.
this meta-trolling comment made me giggle hard
Ive seen a lot of C-level people like that. Not all. But lots. How many, idk. Sometimes it feels like 50% of the C-level, sometimes it feels like 10%.

Basically I wouldn't ignore it.
"rite of passage"

right of passage is probably more like the right of way :)
I currently use Go, but recently have found C# to be very nice to work with.
Top VPN Services for Private Use
No, because adoption of IPv6 is limited by other factors (budget, laziness, bugs, etc.) than IPv4 scarcity.
They allegedly made the browser fast when they split the Mozilla suite into Firefox and Thunderbird. I am using both of them as my main browser, mail client and web dev platform, they both work fine although a bit sluggish. Opera feels a lot faster for instance and the debugger is pretty clean and usable, in fact is the cleanest of the whole bunch with Chrome dev tools being the most clutteted.
MasterCard Introduces New Payment Card with Built-In Fingerprint Scanner
If you live in a "flat" country like The Netherlands, sure.

Biking in a hilly place like San Francisco however, there is no escape from being sweaty.
Charles Simonyi to rejoin Microsoft
Judging by the Wikipedia page (but note I really have no idea/experience with this subject in general), it seems to related to phallic figures, so it's no shock that you get a picture with that.

https://en.wikipedia.org/wiki/Tintinnabulum_(Ancient_Rome)
Then there is the USA, where the capital hardly breaks the ranks of the top 5 most exciting destinations.

Disclaimer... DC is my hometown so I am blase about all the museum and monuments.
So, marketing move?
If Google starts believing their goal is to keep people on their site, they'll have a nasty surprise when people don't want to live it by clicking on ads.
>Thinkpads

>the enterprise support is still relatively solid

That's not the experience I've had with my own company's support requests with Lenovo, and the lousy support relative to Dell is a prime reason why most clients I work with are dropping Lenovo for Dell.
I think the reason QtQuick hasn't taken over this space, is that you still need to deal with C++ and cross-compiling. If QT had an option that made it clear you could develop and distribute in JavaScript only, that would be a hit.
Isn't a trackpad essentially a touch screen? Non-Apple phones to that just fine. There's the tactile feedback, but even the old-style physically-moving trackpad would be better than what vendors have today.
A lot of devs seem completely fine with being pushovers and yes-men to the MBAs.
Namecheap Saved My Ass
Google does not need kubernetes to be successful or make any money to survive.

Docker, on the other hand........
Is there a way to configure it so it makes zero requests to your servers?

If not (yet), would it at least be technically feasible, and would supporting this be an option for you?
> transistor

(Whoops, but my point still stands just as much.)

> Mathematical facts are a very human invention, just like the transistor. I picked calculus precisely because intuition based on physical observation gives the wrong answer nine times out of ten.

I think I didn't convey my point very well: humans and their intuitions have no influence over the value of the mathematical series 1 + 1/4 + 1/9 + ... nor do we have any influence over the behaviour and interactions of certain doped (etc.) silicon. Both of these just are, outside the influence of humans.

Certainly, for the former, we have control over the syntax we use ("the packaging")/how we write it down, but, say, changing what "1" means changes the series to a different object. In any case, control over the syntax is exactly like a programming language, and indeed, mathematical notation is very similar and it's great when people have sympathy for the reader's intuition (and their own) when designing new instances. (The ⌈x⌉ notation for the ceiling of x is a nice example of this working well.)

Similarly for a transistor, humans can decide how we put the bits of silicon together, and what wires we connect up, but we absolutely cannot decide the fundamental principles that make them work. This means, if we want a certain behaviour, we're limited by what physics can do.

> But this is not a corner case! I'm not talking about an obscure quirk (God knows how many C has!), this is literally syntax, the first thing you learn about a language!

Yes, you're right `sizeof(foo)` is syntax... that looks a lot like `function(foo)` but behaves differently with respect to any side-effects in foo. As I said above, I do actually think this was a reasonable choice on C's part, but it seems silly to, seemingly, dismiss any possibility that it could be confusing & that maybe future languages/language designers should avoid doing this (or at least explicitly think about the choice they're making) and instead just repeat RTFM over and over.
oh it doesn't, but in this particular case, Republic was contracted by United and they are bankrupt.

I was implying that if you see tickets and they're subcontracted to another airline, look up that airline and don't book if they're bankrupt.
You may need to expand your comfort zone with regard to mild hyperbole.
Well, it doesn't change the fact that they're still taxes. Just because the guy who robs you offers you 10% of what he robbed from you doens't mean he's a source of income or good in any manner.
C# is a much better language and has better stewardship but Java has extremely broad usage.

Plus, speaking from personal experience, learning Java first and then learning C# is probably going to be a positive experience, whereas doing it the other way around feels like going back ten years in time.
I suspect that as more and more workplaces move to open-layout plans and have an increasingly mobile workforce, max unplugged work time is becoming more and more valuable as a feature.
Even just outdoors in the sun: reduced moisture and UV will kill a huge portion of the population. Freezer kills because it's dehydrating, but for wool it'll also kill moth eggs.
Heh. In the UK people are mostly complaining about chavs receiving welfare even though these are essentially the same ethnic group and in some cases just the poor branch of the family.
I don't really understand why people would think Trump would be supportive of any kind of intoxicant. His older brother was an alcoholic and died before their dad (which depending on the source you're reading, had a big impact on him).
Careful. Even in the most "business friendly" parts of the US, workers still have some federal-level protection for organized action, meaning there are things workers can do which the business cannot just decree to be off-limits and force them out.
This is a good idea.I don't have to start over for my next time shopping. Thanks for the feedback. I will try to add this feature when time permits.
I would raise a humble Kotlin instead of Java for backend and Android work. It is quite simpler than Java and allows a little bit of functional coding, while also being fully interoperable with it.
Thjis is just what Vim and emacs die-hards won't recognize. This is the value of an IDE. The driving force behind these editors' popularity is bad developers.
America Is Regressing into a Developing Nation for Most People
Does it have a non-hacky way of handling record types yet?
The only part that made me comment was the rules definitions. I will gladly write key/value type config in JSON or YAML or whatever. But, writing the rules logic in it would be a big pain, because it is not easy to see what deeply nested and and or statements mean.

JSON is definitely nice for the time vs. effort balance; you've effectively got the users writing AST directly. And, building tooling to make it easier to write and manage is good.

I've had a couple of projects recently where I was writing a parser. And, there is a lot of tooling to make it easier: lex/flex, yacc/bison, PEG-style tools like Python's Parsimonious [0]. (I'm sure there are similar libraries in JavaScript) Defining the grammar is a bit arcane, but the only other thing you write is the interpreter, which you already have a version of (just with a different AST format).

In any case, the project/service is really cool!

[0] https://github.com/erikrose/parsimonious
Using K8s Scripts to Automate Your Deployment Workflow
Why business schools rather than institutes as a whole, bureaucratic structure, beliefs of particular powerful people on campus, etc.? I'm not sure what this comparison has to do with Sloan and GSB.
People may view them as such. Trump fans seem to think of him as a anti establishment figure.
This doesn't justify Google scraping their database.
The way brains store weights, propagate updates, propagate inputs etc. is facilitated by their form and the materials they use and properties they take on. Computers like AlphaGo are essentially doing a very expensive hardware emulation of a completely different computing system.

Probably some day "true" native neural network consumer hardware will exist, and I would expect it to be much more efficient. It would be a complete paradigm change from what we have now though, so it's probably going to be awhile.
The thing is ARM chips are cheaper than Intel chips.

You got the Raspberry PI Zero series that only costs $5, a system with an ARM CPU on one card. What could Intel chip do that and still cost $5?

The more cores added to an Intel chip, the more electricity it uses and the higher price it becomes.

Sure it would be complex, the Commodore Amiga was complex but people figured out how to program the co-processors, etc.

Right now for Bitcoin mining, they use GPUs or ASIC chips to solve SHA hashes.
Way more mature for linux, with all Microsoft efforts, C# still has a long way to catch up on that platform. Also, your Java skills will be transferable to Android.
A New ‘Cure’ for China’s Millions of Web Addicts: Hack Their Computer
This is probably the most effective advertising to update to the newest Chrome release that I've ever seen.
Unfortunately not an option on this route. By the time I got around the highway areas I'm practically at the office. I already exercise (well, currently recovering from a couple injuries so not this much) about 8-10 hours a week so this isn't that critical for me. I could bring the bike to the office and cycle around the area (it's actually much better for that than where I live, but nearby housing is prohibitively expensive or crime-ridden neighborhoods), but that's just shifting the sort of exercising I'm doing.
Python is a great language, but the numpy library is abominable.

With that in mind, you can try to program your numerics code hiding as much as possible the fact that you use numpy. I have found that this is the only barely bearable way to do numerics/image processing in python.
See https://en.wikipedia.org/wiki/Phased_array.

Visible light is radio, just with different wavelength, so the principle is the same. The much, much smaller wavelength (centimeters vs sub-micrometer) makes it harder to build a device, though.
I was talking with a friend about this recently. I am not old enough to remember the days when Microsoft totally dominated and Bill Gates was literally Darth Vader, so in my eyes Facebook's position seems uniquely powerful and unstoppable. I'm not sure whether it's really so, or whether I'm just falling victim to a present-day bias.
No matter how much you tweak it, you will never even start to scratch an experience like Visual Studio. Vim is a fundamentally weaker platform.
i get the sense that google wants the featured snippets feature but are not devoting enough resources to it. the following featured snippet has been appearing for over 8 months, and i have sent feedback multiple times:

https://www.google.com/search?q=apartments+for+rent+minneapo...

the featured snippet is completely incomprehensible (and embarrassing)... they just don't seem to care enough.
> I've read elsewhere on the Internet that Dune the novel actually is an inspiration for the Star Wars universe, even if the Star Wars cinematography predates and must influence (even if through intentional avoidance of such appearance) Lynch's treatment of Dune...

Probably more of a common influence on both by the Lensman series, I'd guess.

https://en.wikipedia.org/wiki/Lensman_series

[EDIT] I'd add that a bigger cinematic influence on Lynch's dune was probably Lawrence of Arabia, which is fitting since if you've read Seven Pillars of Wisdom it's hard to believe it wasn't sitting at the top of a pile of books on Herbert's desk while he was writing Dune.
"It's really just a rebrand and a skin and a new backend they're trying to rapidly improve." Didn't they do the same thing with Skype?
Sure, it's the road network that really makes wheels work. But we built that instead of machines with legs.
White House sidewalk to be closed to public permanently
It's hard to build a customer base when Facebook can just come in, copy you, and corner 95% of the market on the day they release.

This is the exact same advantage that Microsoft had in the enterprise market. Sure, competitors could release enterprise products and have some success, but if Microsoft decided to copy you, they had an army of enterprise sales agreements already in place and would eat 50% of the available market in the first year. The network effects of their enterprise sales channel -- which existed at nearly every company in the world thanks to the ubiquity of Office documents -- made it very, very difficult to compete with them for a long time.

Network effects are much stronger in the consumer space (mostly because the consumers are poorly educated about their choices, and often have little incentive to become informed). Which is why we're seeing Facebook eat the world when it comes to consumer communication platforms.
They appear to be using an unfamiliar definition of the term "now", where it seems to mean "in the future". The site says "this summer".
I'll agree the the Arch installer could be better, but its not difficult, especially having done it a few times. The install starts pretty barebones and then you add on what you need - annoying if you want a 1-click to fully setup GNOME (or whatever) desktop, but perfect for people like me. You also get the benefit of learning how all the parts of a working Linux desktop come together.

Personally I find all-in-one installers annoying. I find I have to spend a ton of time removing crap I don't want and replacing it with what I do want. It would take me probably as much time or more to install and configure Ubuntu as Arch would.

You might want to check out Fedora too -- I hear the latest release is pretty great. Arch based distributions like Antergos or Manjaro might be good to check out if your only hangup with Arch is the arcane installer.
Clickable: https://www.youtube.com/watch?v=K6x44v8prFA
That's a context-dependent question. If you want to do systems-level stuff that's safe, concurrent, and fast, then learn Rust! I'm having lots of fun with Rust. :-)

If you don't want some of those attributes, then Rust probably isn't the best answer for you.
> I've read elsewhere on the Internet that Dune the novel actually is an inspiration for the Star Wars universe

A greater inspiration is the comic series Valerian and Laureline [1]. Lucas pumped not just the characters and spaceships (yes, the Millenium Falcon comes from there) but also the atmosphere of Far West casual fun adventure and creativity bordering on the fantasy.

I look forward to reading articles about how Valerian copied Star Wars when the movie comes out [2].

Note the years the series was written and do not read the last few if you are not used to the way authors of that era dared to wrap up their stories.

[1] https://en.wikipedia.org/wiki/Val%C3%A9rian_and_Laureline

[2] https://en.wikipedia.org/wiki/Valerian_and_the_City_of_a_Tho...
>But terrible? Wisecracking CGI Superheroes Episode Number Actually I've Lost Count Now is a terrible film.

That's a really low bar. A better comparison would be the three-part Dune miniseries that came out in 2000, one in which Lynch's version doesn't fare very well.
Intel XPoint memory replaces complex memory hierarchies
I lost count after 40 steps...explain the "quickly develop" part again?
I’m not sure that being a “better programmer” is important in web development. And I don’t mean that term in the broad sense—obviously, we should write good code—but in the sense that understanding two programming languages makes a significant difference. I think in web development it doesn’t.

Web development is about many things. HTML, CSS, performance, accessibility, security, networking, supporting different browsers, polyfills and workarounds, keeping up with new features, UX and usability. Then there are frameworks and build tools, which are all of course JavaScript-based.

Only a small part of web development is actual programming, and the fact that frameworks most of the time lay out the patterns for you, makes the “programmming” aspect even less significant in the overall picture.

So no, I don’t think that learning another programming language is a good way to spend your time if you’re a web developer.
Huh? Ok, I'll edit my first use of "politics" then.
Honestly I think it makes sense as well but the way it was announced it was so incredibly confusing that I find myself agreeing with some of the negative and positive comments here depending on what my state of understanding was at the time.
Close one eye. You can still estimate depth, can't you?
Puma golf pants are in the $50-60 range and look a lot like casual slacks; but they are made of wicking fabric and cut so you can crouch/run/stretch easily. I wear them to bike and roller blade and other workouts.
I use Emacs for C++ and I've tried a wide variety of auto complete packages, never really getting them to work properly. And the result is that Ive learned that I can be just as productive without auto complete as I was with it. In fact, I might even be more insightful into what I'm working on, because instead of relying on a pop-up menu for an API, I actually have to look at API documentation and properly learn it that way , which usually gives me much more knowledge about what I'm trying to do
While I understand the power of anecdotes, and I'm sure you could continue to push our availability heuristic into overdrive, the fact is that air travel in the US is incredibly safe, even with current practices related to pilot pay and treatment.
You don't actually salt the ice cream. You put salt on ice surrounding the unfrozen cream. Salty ice cream (with the amount of salt necessary to freeze it) would be gross.

Available soluble salt ions lower the melting point of the water to the point where the water-ice would very much prefer to be salt-water at the same temperature. But a phase change requires energy, too. The energy required to melt the ice and dissolve the salt is taken first from cooling of the sugar-water in the cream, then from phase-changing it to solid crystals, then from cooling the solid-phase materials. If the setup has a paddle, that is mainly to transport heat from the center of the cream vessel to the conductive walls, and thereby regulate the size of the crystals.

Cooling beer cans in liquid water by adding salt does not rely on freezing point depression, but the heat of solution for NaCl in H2O, which also contributes slightly to the ice cream system above. You want cold beer fast? Use potassium nitrate (KNO3, saltpeter), as it has nine times the enthalpy of solution as NaCl.
"'Things' necessary for economic growth are infinitely more efficient when directed by the market". This. I think you just touched the essentiel cultural difference.

IMHO the market is a good tool but it is very far from perfect. Its main weakness is the strength it gives to the signal price. The market is a global race to the lowest price and highest ROI. "Things" like infrastructure, health, environnement are expensive with a low (short/mid term) ROI. The market will never favor them.
You make a completely valid point, but I can't help but find it very ironic that that socialization of medicine is used as justification for maintaining government overreach in the war on drugs.

Along the same lines, if someone weighs 500 pounds and yet eats 6000 calories day, it's the same issue. How much should society intervene on people who are absurdly self-destructive. How much freedom should people have to damage themselves so much that society has to pay to rescue them from themselves. There are lots of places you could draw that line.