skysight-inc/HackerNews huggingface dataset:
Tk is 25-year-old tech, not 10. ;-) It has also maintained backwards compatibility since 1997 or so, which is a nice feature to have in many cases but comes at a price. For example, you have to know to use a "ttk::button", not a plain "button", to get the native (Windows, macOS) or a least the somewhat better-looking (*nix) widget. The result is that old Tk software still runs unchanged instead of forcing its maintainers to upgrade, but it looks bad and outdated, contributing negatively to Tk's general image.

The poor look on Linux is definitely a big downside. You can ameliorate it somewhat with a custom theme [1] but your GUI will still look out of place in any major desktop environment. TileGTK and TileQt [2] aren't maintained.

I haven't used it myself, but Tk has at least some CJK support [3]. One thing to keep in mind from the start, though, is that Tcl/Tk suffers from a UTF-16 code unit limitation similar to Java's; it only handles the Basic Multilingual Plane [4] natively.

As for antialiasing, what do you mean when you say it is disabled by default? Is that in a particular Linux distribution? A recent Tk release (post-Tcl 8.5) should render antialiased text unless you compile it with "--disable-xft" or your font is raster.

[1] E.g., http://chiselapp.com/user/skoro/repository/tclapps/artifact/....

[2] http://www.tclcommunityassociation.org/wub/proceedings/Proce...

[3] Per https://tcl.wiki/CJK.

[4] https://en.wikipedia.org/wiki/Basic_Multilingual_Plane
In this context, when you look at the code you are trying to learn how to use an unfamiliar API. So you can't verify that the code is using the API correctly or in the most efficient, organized, and secure manner, because you don't yet know everything the API offers.

For example, maybe the code sample has a section that formats and saves the result to a file using the standard library. From looking at that section, you have no way of knowing that the library offers a .saveToFile method that would have been better to use instead. Or if you search for "mysql" examples in PHP, you may find example usage of the hard-to-secure, deprecated mysql_real_escape_string function instead of the PDO library that is supposed to replace it.
Pythran: a Python to C++ compiler with a focus on scientific computing
The Karmic Kyoto electric bike that targets women
If you saved email draft into Outlook - it is a database.

If your computer is hacked, then attacker would be able to extract information from that Outlook database.
OP wasn't talking about access, but about the effort needed to set up ("get to") a production environment. Of course Kubernetes/Docker gives you full access to your production environment.
Incidentally, the value that grew, and that you would have extracted in dividends, is not reflected in the share price. Also, the DJIA is weighted by the share price rather than the market capitalization of each component. (Really, it is that absurd as an index!)

Anyway I agree with your point that while the economy has surged over the past 116 years, gold has been tradeable for an ever-decreasing share of economic output or share of the available real assets, and has been far outpaced by how a conservative portfolio of equities would have performed over the same period.
> there is starting to be funding for software maintenance

Any reference concerning this point? I am interested!
I think that in spite of Facebook and other 'walled gardens' or 'silos,' the web is more open now than it's ever been, even if it's tempting to argue otherwise. Everything you need to build a web application like Facebook is free to try and use, up to a certain amount of traffic at least. AWS, Heroku, and other platforms make it possible to develop and host a complete web application for free and to make it publicly available on the Internet for anyone to use for free. Most of the technologies that underlie Facebook are freely available as open source. There are billions of freely available tutorials and communities built around programmers helping each other for free (some of whom, I'm sure, work for Facebook). So I don't buy the notion that FB has 'pulled up the ladder behind them' so to speak, as the article insists it has. Nor do I believe that it has the power right now to do so. The only thing Facebook has done that the author seems to object to is to be extraordinarily, unprecedentedly successful. There are a lot of things I find toxic about Facebook, but I don't begrudge it its success.
Consciousness exists. Science either can explain it, or it cannot.
Not everyone can afford to vertically scale. Those 24 servers of StackExchange together cost more than the average 100 machine 'small' cluster. At Digital Ocean the performance sweetspot probably lies at the $20/mo machine, so that's 2000$/mo for a 100 machine cluster. You think StackExchange pays less than that for their hardware?

Also, some sites are simply larger than StackExchange, and you never heard of them. There's a huge spectrum between StackExchange and Google.
In my experience, in quite big projects, people had a tendency to mutate objects in the wrong place and in the wrong reasons.
A field encapsulated in a getter without setter certainly helps.
meeeeh, come on. You can't say the sloppy code can be trusted because the clean math it is based on is verified. The sloppiness of the code prevents validation that it properly implements that precious math of yours.

The problem is that you want to treat the code as not your "real" job. Your real job is getting correct answers into published papers, and providing a proof of that correctness. If your code, on which your results rely, is too sloppy for anyone else to understand (and note that "anyone else" can include "you, in 6 months"), then you've not proven correctness at all.
tutorials

http://thiagomarzagao.com/2013/11/17/webscraping-with-seleni...

videoblog

https://github.com/kjam/python-web-scraping-tutorial/blob/ma...

The first link is a straight following link, and the second one is a 30mimn video that goes through all available Python crawlers.

My recommendation: follow the first one if you are sure to use selenium or watch the second link to check all possibilities.
+1 vote for the Hario hand grinder. I've tried some others that were a pain to use and made it difficult to get a good grind size. The Hario is a huge improvement over what I was using. Very convenient too.
"gcc -S sqlite3.c" will give you an assembly language database engine. :-)

OK, maybe you meant "hand-written" assembly language. But on the other hand, SQLite claims to be written in C, yet a fair amount of that C code is automatically generated using other scripts and programs. Does that mean SQLite is not really written in C?

FWIW, we actually use assembly language sqlite3.s file (as generated above) during testing. We have scripts that go through and punch out individual opcodes, then assemble the result and verify that the test suite detects the error. This is a test of the SQLite test suite more than a test of SQLite, but a strong test suite makes for a strong product, so it still helps.
>in principle, be simulated on a computer to arbitrary precision.

However, for any finite precision, the simulation is valid for only a finite time -- and the precision required to guarantee a certain accuracy for a given time increases exponentially:

http://en.wikipedia.org/wiki/Lyapunov_time

That means that finite-memory simulations are limited even in principle (even for a computer whose memory is as large as the Universe, there is a rather short limit on prediction!)
It appears the pip install is out of date and this issue has been fixed in the github repo.
The reality was complicated. There was much conflict as many in the armed forces felt they should remain politically neutral. This idea is not uncommon today.

Most armies today are not involved in genocide so the parallel is not a very good one. The reality was complicated but the Wehrmacht was very much an essential and willing instrument of Nazism.

A precedent in Nazi horse-detection - in the mid 80s, it was reported that former UN Secretary General and then- Austrian presidential candidate Kurt Waldheim had been a member of an SA mounted unit. In response to Waldheim's denials, Chancellor Fred Sinowatz quipped that Waldheim 'hadn't been in the SA, only his horse had'.
>I curse the lack of attention to performance in modern software development every time the Twitter app takes multiple seconds to load on my 2 GHz smartphone.

I strongly agree with the sentiment, but also it should be noted that the load time of applications is related more to the storage speed, which is often abysmally bad in phones.
If there are inexperienced programmers working on it, as in my preamble, then almost surely it is in whatever language that doesn't prohibit to mutate objects indiscriminately.
In F#, Haskell and other languages that enforce immutability obviously it isn't a problem, in Python most surely it is.
Dude, you literally had the founder of Docker asking you where the opinion came from that devs don't care about users. He or she just pointed out that often times non-employees talk on github issues and just remember Docker can only be responsible for employees conduct, not that of others. You've read into this that

1) you have been called a mouth breathing moron

2) it is confirmed that docker is run by assholes

3) the founder does not care about users (by asking for examples of poor conduct by Docker employees)

4) docker is run by a lousy leader who cannot demonstrate care, again by asking where people get a sense of docker not caring.

Internet comments lack a lot of tone so its easy to misread, but when there's this kind of fanatic backlash when there's a direct connection to the founder of a pretty big service, the luster of any of these sites dims considerably. You have given nothing actionable to the person who could have done something positive for docker, and just made it that more difficult for the organization to take legitimate criticisms at face value.
Mine, for some reason, does not. I drink a fair amount, like two or more mugs a day, but on off-days, nothing happens.
Anyone who's studied beginning grad level physics should know that. I don't get why it's trending on HN
I went cold turkey on a holiday; the switch of context was enough to distract me from the annoying couple of withdrawal days. When I got back I had no problem avoiding it.

I have since repeated this context-switching pattern to kick off other habits/changes like eating less meat.
Show HN: Cloud text analysis API with simple REST interface
A link to the Nazis? They were a key player in IG Farben, the people who bought Haber's delightful patent for... Zyclon B. Nazis wouldn't have spread beyond Germany frankly, if not for IG Farben turning conquered areas to mass industrial production.
> kubernetes have a reputation of being hard to set up

Yeah, but there's no shortage of things wrapping Kuber (e.g. OpenShift).
But neo-nazis like Andriy Parubiy did play a significant role.

The guy founded Social-National Party of Ukraine together with Oleh Tyahnybok. There's nothing "nazi" about them, they are nazi and they're not trying to hide it at all. Look at the logo of the party they founded, look at the Azov Battalion insignia.

Parubiy first became the head of Ukraine’s National Security and Defense Council mostly managing paramilitary units and now he is the chairman of the Ukrainian parliament. Tyahnybok made it to the top list of antisemites, published by the Simon Wiesenthal Center.

Journalist in Kiev are being killed on a regular basis. Alexander Shchetinin was found shot dead in his apartment today. A month ago car bomb killed Pavel Sheremet.

Russian trolls are the least of your problems.
Perhaps for those few of us who are a bit rusty on beginning grad level physics.
How hard can it be to build a toolkit that supports a textbox on Mac OS X, Windows, and Linux? For a moment I thought you proposed a solution a thread up:

> have it translate into the correct API calls on each platform under the hood.

What if instead of writing controls for applications, the applications had low level access to create controls on their own?
This is a challenging debate. What does it mean to be open vs. closed. And what would a service like Facebook look like if it was "open"?

> the Facebook founder has no intention of allowing anyone to build anything on his platform that does not have his express approval.

I assume this is based on the fact that you can not directly use facebooks APIs, and can not utilize Facebook itself. Facebook does allow for people to link out to other sites content, so in that way there is no barrier to seeing external sources in Facebook. An external site can't extend the experience of Facebook though, but I don't know of any successful web business that does allow this.

I'm curious of examples that actually meet the definition of open which he's using. Almost all sites require a form of login, many news sites are putting up paywalls, and there have always been private services requiring login to get at secure data.

So, the openness that I think people want, is access to the Facebook user base, but I would argue that everyone already has that, in is the rest of the web. The difference is Facebook is not going to give that to any other companies, because that user base is their revenue stream.

To me this isn't a problem until people are incapable of accessing anything other than Facebook. This would be like the AOL of 1992, before most AOL users realized there was more to the Internet than what AOL gave them. I don't think people will want to go back to that. But competition will constintently pull on this. Email is not dead, Messenger is not the only messenging platform. Btw, I find myself barely ever using Facebook these days.

And a question, what sites operate in the way this article wants? There were no examples. Reddit?
china gdp per capita even as it becomes the worlds larget economy this year is only $6,807.

Their growth rate is not going to slow or deviate significantly in our lifetimes.

Yes, I've seen the arguments to the contrary. But they are all based on wholly flawed assumptions.

the op is "Why China won’t own next-generation manufacturing".

Well. the worlds fastest super computers are what deliver next-generation manufacturing.

As for massively behind the us in nuclear capability.

Not for long. They already poached the US's best talent.
https://www.technologyreview.com/s/542526/china-details-next...
> Simple-minded, care-free near-incompetence can be
> better than industrial-strength good intentions
> paving a superhighway to hell.

Love this line.

I think the thing about bad scientific code that makes it good is that you can often get really good walls around what goes in and what comes out. To the point that you can then mitigate the danger of bad code to just that component.

Software architects, on the other hand, often try to pull everything in to the single "program" so that, in the end, you sum all of the weak parts. All too often, I have seen workflows where people used to postprocess output data get pulled into doing it in the same run as the generation of the data.
If it were bigger, weren't it clear its own neighborhood? Is there an example of a sufficiently large body that doesn't?

(I'm by no means an expert, that's why I'm asking.)
Check out kube-aws, a tool from CoreOS that will get you a proper CloudFormation/VPC set up in just a few minutes: https://coreos.com/kubernetes/docs/latest/kubernetes-on-aws....

If you're interested to see more about what it does behind the scenes, it is very similar to the full manual guide for setting up Kubernetes: https://coreos.com/kubernetes/docs/latest/getting-started.ht...
Sorry, what is the GoF book?
A GitHub user got WoSign to give them a certificate valid for GitHub.com
CF is a complete PaaS, isn't it? So it's not directly comparable to Docker nor Kubernetes.

From my perspective, CF seems far too large, monolithic (as in all-or-nothing) and opinionated, and honestly a bit heavy-handed and antiquated (the last two partly due to BOSH).

What's attractive about K8s in particular is the elegant, layered, modular, unopinionated design. K8s itself isn't simple, but it's quite small and lightweight, and its core principles are easy to understand; more importantly, it offers primitives without imposing a particular framework on anything (for example, it doesn't care about how the underlying host is configured or provisioned), which makes it a superb foundation for a higher-level PaaS, once someone designs that (maybe Deis).
Thank you. This is very practical. Will test it out.
as water waves are 'epiphenomena'/emergent from the underlying form, are the 'waves' that are used to describe light also epiphenomena (i.e. emergent) or are light waves the EM field exactly ? If the latter, I don't see how to interpret the photoelectric effect.
Literally all of Silicon Valley and most of the computing research of the 20th century was built on funds the US government plowed into industry, in the hopes of developing tech that would help us nuke the Russkies while preventing them from doing the same to us.
I think it's something that free markets can handle pretty well on their own.

Countries that expropriate property will see less investment in the future, that's a pretty strong incentive. Also, in e.g. a US-Europe trade deal there is very little real need for ISDS.

Both countries have court systems dating several hundred years back.

Another market solution is insurance, where a company can simply insure against expropriation or similar.
"Most of the changes centre on W10's new web browser (Edge) which is not really a good browser anyway - unless you live in the US. We already disable Microsoft Edge and set Internet Explorer as the default browser which is by far the best option in Australia."

Might someone explain this to me? I didn't really try Edge but I think it in almost everything better than IE11. Except of course you have to use some weird ActiveX plugin. In that case, I'm really sorry for you.
I love this show. I think they've really captured the excitement of being part of something new.
I watched again an explanation of what docker really is, it just seems to be this awesome thing that solve the very hard problem of inter-compatiblity between systems. I always tend to question how and why a developer had to use docker instead of making choice that would avoid it.

It's not surprising docker can't always work, but it's nice to see that programmers are winning. I guess future OS designers and developers will try to encourage for more inter compatibility if possible. That's really a big nerve.
Supply of Equipment for Police Education in Bosnia and Herzegovina
yeah the article is a bit fluffy. And I probably didn't answer your specific question very well (ie given that you can find the same themes elsewhere, why read Le Guin)

I just think Le Guin works are still worth reading in themselves without having to justify why they are better/more novel/more correct etc than any other particular work.
Ah - fair play.

nice.
Design Patterns: Elements of Reusable Object-Oriented Software, whose four authors are sometimes called the Gang of Four (GoF). It established a vocabulary of common patterns.

https://en.wikipedia.org/wiki/Design_Patterns
Probably because you didn't read the OP's explanation of minimum standards that included.

> - I won't use the web. No HTML, no CSS, no Javascript. Sorry.

If you're using HTML, you're already limited in known ways. Conflaguration of logic with presentation and callback hells and limitations of CSS extensions by platform. Then the there's the need to split HTML views due to technical limitations and practicality of maintenance adding a whole new layer of complexity in view and view fragment management!
Sounds like their "Anti-DDOS protection" is bullshit for their VPS plans then, unlike the marketing statements all over the OVH website saying otherwise. :(
Yes. Unfortunately, as with driving, the vast majority of us think we're better than we are. It's good to have confidence, but near impossible to know when we're over estimating our own capabilities ... until it's too late.

In this case it's also more difficult because one doesn't always see the end results of their output, which may also be years down the road (no pun intended).
Suggestion: when we submit articles, can we submit the non-mobile versions? If you're on mobile, I'd assume that the browser would request the mobile version anyway if you attempt to load the full version.
That would be a final field. But generally I agree with you and its by far the pattern I use most.
Is it open-source?

What I want is closer to writing my own Xojo.
https://news.ycombinator.com/item?id=12373517
RE:DOM – Tiny DOM library
So far wxWidgets is the only library that anybody has mentioned that actually can be counted on to make somewhat accessible UIs. To see it dismissed because it's a little crufty for the developer to work with makes me incredibly sad, as it's just part of the slow decline that leaves me as a blind person with less and less accessible stuff to use.
One day I'll be stuck on an old emulated version of Windows running only apps which I have created for myself. What a bleak, shitty future.
Sounds even more lame when you frame it like that. Are you supporting my point of view?
I really dislike this argument. When I go to a polling booth, I don't get a list of issues where I could check my position on each one. What I get is one vote to select a person or party which across all issues I care about comes closest to a position I can (or have to) live with.

I've yet to be in situation where I would be in agreement on every important issue with choices on offer. There are always multiple issues on which I have to compromise which doesn't mean they are not important. Individually they may be even at the top of my list, but can cumulatively still lose to others.
>you want to treat code as not your "real" job

I'm not treating anything, it's because coding isn't my job. The job of a scientist is to do research, and coding is nothing more than a tool towards that goal.

>your code, on which your results rely, is too sloppy for anyone else to understand...then you've not proven correctness at all

No, my results rely on my experimental methods, my mathematical models, and my code. Correctness can be proven in spite of sloppy code. Would you dispute a claim on the basis that calculations done on a calculator can't be seen by others?

Furthermore, the burden of proof after peer review in academia is on the person disproving in it. If my code is wrong at a basic level, what good does it do for anyone? If someone is to disprove my paper, they should reimplement the code in order to account for errors.

Does this excuse spaghetti level code that often accompanies papers? Of course not. Scientists have a lot to learn from software engineering about proper programming skills, but programming is simply another tool in the repertoire, not something that should be put on a pedestal.
If they didn't have so much code (and data) to load in the first place, a lot of it probably unnecessary, applications would certainly load much faster.
It's an audience engagement tactic.
Oh, of course. Our datacenters often go offline (both planned and unplanned), and we are always ready to handle that. We are pretty much constantly re-provisioning servers... with so many physical machines, hard drive and other hardware failures are a daily occurrence.
> If hypothetically we cleared up the objects and dumped them in Earths orbit, Pluto would suddenly become a planet and Earth would lose its classification.

You seem to believe that if we cleared up those objects and dumped them into Earth's orbit, they would stay there.
I saw this previously posted on HN, and when there was news about the earthquake in Italy, my first (somewhat callous) thought was "What about David?" since I'd just read the article recently.