skysight-inc/HackerNews huggingface dataset:
There appears to be a multi-step process to install Kivy on Windows. Isn't the whole point of pip to not have to worry about that?

I was expecting "pip install kivy" > "python helloworld.py" > done

Instead I got "install these things", "if you're using this version install this other thing", "cool now install kivy".

I went ahead and tried to package a Windows app using their recommended method (PyInstaller), and PyInstaller doesn't support current version of Python.

Thought I'd take a look at other offerings, for iOS there's a weird project-mirror XCode generator script. Android isn't any better.

I mean, this is more of a reflection on the disparity across different platforms and packaging tools rather than Kivy itself. There's a reason some large Enterprises won't touch all of these tiny, moving, fragile tech.

In saying all of that, I think Kivy has some very nice points. The examples are straightforward, and to-the-point, covering a lot of use cases. However I think having this as a >1.0 versioned release is kind of crazy. When comparing this to other frameworks, why would you ever choose this? Aside from "I like Python"? Definitely shows a lot of promise, but I think sitting in sub 1 state for a while like Rust until you've got something going for you would help with adoption and on-boarding.

EDIT: Tried to use PyInstaller from source, no luck - SDL required. Found a closed bug report which explains how to fix it - the "optional" library has to be installed for PyInstaller to work. Go figure. https://github.com/kivy/kivy/issues/4482
How Chilean arsenic eaters vindicated a classic work of crime fiction
Show HN: Yellow, a puzzle game for you
Can somebody tell how easy it is to build fully custom GUI components with Kivy(including custom animations)?
I took it for granted that all SYSTEM superpowers can be given to Administrator via Computer Configuration/Windows Settings/Security Settings/Local Policies/User Rights Assignment in gpedit.msc

Do you have examples for what SYSTEM can do, but Administrator cannot?
The Tools I Use to Run My Business
How much of the long serving lines are bit's that no one wants to touch anymore and are constantly worked around? Sometimes those lines will have enough technical debt attached that the business will not even consider updating/extending those parts of an application.
This experimental Python fork depends on IOCP (and other Windowsy things) to achieve better performance: http://pyparallel.org/
You usually still have to mock your data layer.
A little bit OT, but how much does a CTO pull in at that size company?
Reign of the $100 graphing calculator is ending
"When men were men, and wrote their own device drivers..."
— Linus Torvalds
If you're logged in, you can blacklist specific topics on Google's Ad Settings page[0] quite easily (you can also turn off tailored ads completely).

https://www.google.com/settings/ads/
I don't think anyone really is angered by a modular system, its more the needing-to-pay-attention-to-every-little-bit (especially when those bits are mixed up in really poor naming, corporate speak, etc) is the more practical issue
Is this for real? Did I just read an article legitimately calling for the scamming of graphic designers?

Part of me feels that this is a cry for help, as the author has had this happen to them in the past... but I can't help but feel a bit frustrated that they would condone not only swindling people out of payment for work, but swindling people under the guise of "hey, they don't live in my country, so fuck them".

A+ asshole.
Welcome to Silicon Valley.

> It's not like we couldn't power basic electronics (like solar powered calculators) indoor before.

Yes, but could we do it in a disruptive way that changes the way we work and live (and incidentally generates a multi-billion card house) and has it been presented using slightly blurry ("authentic") stock imagery of beautiful people interacting with it in an engaging manner?

That's what I thought.
USB Type-C and power delivery 101 – Ports and connections
Getting started with mini.css grids
New chip fab in San Jose, CA:
http://www.mercurynews.com/2017/05/08/san-jose-gets-new-pote...
So how far we from being able to use this technology on a prototype basis and quickly (and cheaply) print electronics at home or at the office?
There's a functioning service called Chariot in Bay Area (and Austin, for some reason). [1] They seem to have quite a lot of routes, although most of them are just charter routes for the big tech companies.

[1] https://www.chariot.com/
>I am an OK Civ2 player (can expect to win on Deity without cheating unless I get quite unlucky).

I think that makes you much better than an 'ok' player!
Apprantly people misunderstand a unit. Apprantly Kent beck meant unit to mean a single piece of behaviour, not classes or methods.
https://www.thoughtworks.com/insights/blog/mockists-are-dead...
Man, that sounds rough. Puts some other problems into perspective. I feel for you and hope you guys pull through. I say this as someone who has been through worse stuff in my life than most people.
Exactly. There's no doubt that _some_ people (myself included) became much more functional on SSRIs. But we've got the crutches-metaphor and the insulin-metaphor, and we've swung too far to the biochemical side - because it's easier and cheaper.
Erlang:

maps:merge(M1,M2).

Composable & preserving.

Variadic doesn't matter much as can do fold over a sequence of maps:

lists:foldl(fun(E,A) -> maps:merge(E,A) end, #{}, [M1,M2,M3, ...]).
How do you use that snippet?
Amazon tech unit forms downtown San Jose beachhead
There was a submission (https://news.ycombinator.com/item?id=14177074) here recently that linked to the wikepedia article on the curse of knowledge. Could it be that Wald's textbook illustrates that phenomenon?
The block system doesn't give control of the train's speed. They still allow an accident like the one in Philadelphia -- overspeed around a tight curve.

The modern systems generally prevent this. See [1] for an exception -- the engineers forgot to install the limiting markers at the very end of the high speed line, allowing the train to overspeed into the normal speed line.

[1] https://en.wikipedia.org/wiki/Santiago_de_Compostela_derailm...
Waze can now shout directions using your own voice
Smart Mirror (with Optional Alexa)
While 100% code coverage doesn't guarantee 0% bug, it's useful to easily detect new untested code addition and possible bug addition. Another point is that the code looks obviously right by visual inspection, but we want to automate the check. Relaxing the 100% coverage is a lazy slippery slope I don't take with my code.

The danger of 100% percent coverage is that the goal of tests becomes the 100% code coverage and not bug detection anymore.
What is the effect of this poll result?
> Rape victims arn't punished in Saudi Arabia. Theres no crime of being raped.

True, but they did commit adultery when they were raped. Technically, they aren't punished for being raped, but in reality, they are punished for being raped.
CIV before pixel graphics, Empire:
https://en.wikipedia.org/wiki/Classic_Empire

* VMS Empire: http://www.catb.org/esr/vms-empire/ (apt-get install empire, ascii graphics)

* http://www.classicempire.com

* XConq https://sourceware.org/xconq/

* A relatively more modern commercial variant (including mobile) http://killerbeesoftware.com/kbsgames/ednew/
http://killerbeesoftware.com/kbsgames/edme
Oh man. Civ 1 was the first computer game my father purchased for my brother and me in our earliest teens. We got to choose ONE game from a store, based purely on its packaging, and obviously pending approval by our dad.

I vividly remember the magnetism of the pyramids depicted on the game's box - it had to be that one. Little did we know that we accidentally purchased what is probably the best game in computer game history.

Fast forward a year (and many hours of Civ) later in history class, when our teacher asked the class (somewhat rhethorically..) whether anyone had an explanation for why the Roman Empire became as successful as it was.

Before he could give us his explanation, I blurted out that it must have been their invention of the aqueduct, which eventually allowed the roman cities to grow as large as they did (which is, of course, the game mechanic of aqueducts in Civ). Regardless of whether that's true or not, let's just say that this wasn't the type of answer our teacher expected from a 6th grader!

As someone else noted in here, it's Paradox Interactive games that have somewhat ruined all advanced Civs for me (the exception being Civ 1!). If you're a grown up gamer looking for something to recreate that ol' Civ feeling, give Europa Universalis and Crusader Kings a try.
I sometimes feel like I need a PhD to understand Microsoft's overarching .NET philosophy and how it all interoperates. It's strange, because the systems and what they are supposed to be able to do in terms of computing, human computer interfaces, and networking is largely unchanged since decades back. What is going on? Isn't the only major change recently that mobile devices have become more popular targets and web development is more useful due to web browsers being cross-platform renderers?
Hey! Whatever your job is, I like the way you think(tm) and would like to have people like you in the team! If you could use a free pool of computing resources and want to start building something that would actually make the world a better place(not-for-profit, no cheap, outsourced r&d labor === VC* targeted sell-your-soul project) - send me an email!
That can work too, though it's still probably regressive, as some people have more resources to adapt than others.

And if the policy is regressive then you face the danger of it blowing up in your face. For example, see what happened when the rich in America seized most of the benefits of globalisation, now we have Presidents threatening to burn it all down and being popular in doing so. If you actually want carbon reduce toon to be successful you need to factor in the politics, both getting the wealthy and powerful on board and getting the average man in the street to feel that he's not being screwed (which some people will tell him he is, even if he isn't).
Next Gen JS is even easier:

const a = { 1: '1', 2: '2'};
const b = { 1: '1', 2: 'b', c: {3: 'c' } };

const merged = {
...a,
...b,
...b.c,
}
Compared to Civ1/2 it has nicer graphics tilesets. Sometimes I play (I am more into board games like Eclipse en Scythe) and then I use the 2D tileset and a tiny universe for quick play. For other open source civs - but much more retro - you might like VMS Empire, Classic Empire or XConq.
Less is sometimes more.

http://www.catb.org/esr/vms-empire/

http://www.classicempire.com

http://sourceware.org/xconq/README
Yep, my first account was through the Dollarmite program too.

Looks like you're right on fees - I didn't realise. One (NAB subsidiary) doesn't have fees, and for the other two transaction accounts I don't get charged the $4 p/m fee because I have my salary put into the savings account they're linked to.
Perl Case Study: Mobile Platform Build System
How to drive 'high-traffic' database apps over changing database topology
If the Public Draft Specification Ballot fails, the Expert
Group will have 30 days to update the draft in response to
the concerns raised by the EC and to submit a revised version
to the PMO. If a revised draft is not received within 30
days, the original decision by the EC shall stand and the PMO
will declare the JSR closed. If a revision is received, the
PMO shall forward it to the EC and initiate a Public Draft
Specification Reconsideration Ballot.

From: https://jcp.org/en/procedures/jcp2#3.4.5

Be sure to read the comments on the votes though. Most votes offer an opening for reconsideration, since progress was already made since the version that was submitted for the Public Review Ballot.
Get to Know Your Users Through Data Analysis
This looks like the literal definition of heaven.

I envy you for this lifestyle.
You said that?
The tools are good but not magic. It's always possible that they miss something (e.g. when multithreading, the bug might not manifest since the timings are all different when running in valgrind). But this is a red flag:

"Nothing worked. It's leaking but it's not. It's leaking but the debugger says no memory was lost. It's leaking in ways that are dependent on irrelevant changes to the ordering of mundane operations. This can't be happening."

This is a red flag for heap corruption - or multithreading bugs. (Stack corruption is usually a crash and a wrong stack trace). As it's not trivially reproducible, it's probably a multithreading bug. It's also easy to imagine that OP wrote a scripty-input generator in C++ to run through valgrind which gives single threaded inputs. So running under valgrind it won't be detected. So it's never fun to solve and ever since I changed languages, my multithreaded debugging skills have become a bit rusty. Hey-o!

But it would be good if he amended his post to reduce the vitriol aimed at GCC. It's demonstrably false that GCC's default allocator holds a cache. It makes OP look stupid to people in the know; and makes GCC look bad to people not in the know. No one wins.
Here in Vienna/Austria 73% commute to work by public transport, walking and bicycle.
The Current State of OTT Video Content
Remember when the major studios pulled out of their Netflix streaming contracts at the first possible opportunity? After all, they could have just stayed on Netflix, and it might have been this nice monolithic platform which could have worked well for everyone. At that time, their decision seemed not just stupid, but Netflix certainly tried to milk it by portraying the studios as being very evil. A few years down the line, you now have more choice, Netflix has improved without raising prices, and in general online video streaming has become a significant threat to another entrenched beast - cable TV.

People may not diversify their streams of income for a lot of reasons, but if you are a YouTube star, you already have some advantages which are extremely valuable:

1. You have already shown that you can wait for the months/years it takes to get to the point of becoming a star. That is time you could have instead invested (at least a portion of) in other platforms.
2. You are obviously tech savvy - or atleast savvy enough to get someone who is tech savvy to do the work for you
3. You are already in possession of a very valuable commodity - the attention of people who actually like you. Why don't you get people into your email list from your channel? Why don't you give them special incentives to take them out of YouTube (over which you have no control) into your website (where you have so much more control)?

>> Even if you were on both, it would be harder.

Derisking any business is hard. If anything, YouTube stars, who usually do not have additional constraints such as employee payroll, unsold inventory, a board to answer to, stock prices to take care of etc. should be able to add this derisking if they actually want a business.

Otherwise it is just a hobby. Then why complain?
> Apprantly Kent beck meant unit to mean a single piece of behaviour

Which is just as ambiguous. Personally I stick with the single assert principal (which may be more than one literal assert) so that whatever I'm asserting is the behavior that this test is verifying.
I created a game which was a clone of Winterbells. It was when I was learning to code.

This was many years ago, however I recall it being quite easy and enjoyable but very limited.
Venture-backed company filing for bankruptcy to resolve a patent dispute
If running two installers is a pain maybe programming is a wrong area to be interested in.
Smarketing – a new era of sales and marketing
No that's factually wrong. If you read about the case you would know the adultery issue was separate, was consensual and had nothing to do with the rape except for the fact that the judges responded to both separate cases during the same trial.
I understand what .Net standard and .Net core are but I think they need a better strategy for their nomenclature that using .Net in the name of every runtime, platform and set of libraries.
Thanks a lot. Trevor James was fantastic! Do you have more recommendations?
Amazon’s next Echo could feature a 7-inch touchscreen and launch today
Many other countries have debugged the ERTMS system (European Rail Traffic Management System, or ETCS, European Train Control System).

I hope the US doen't get stuck with inventing something itself. It would certainly cost more. 20 or so non-European countries have started to use this system[1], including some very large ones.

[1] http://www.ertms.net/?page_id=55
I started writing backend software for banks, oil and gas distribution and utilities around 20 years ago. I wouldn't be surprised if most of it was still running in some form.
Kenya Dismisses Proposal to Punish Afrikan Governments for Internet Shutdowns
"I just wanted to dance"

What a wonderful man.
I disagree. When you're just starting out all this software you have to install is really discouraging. Plus some people don't own their personal computers and use the computers at school etc so it's much better for them if there was a portable development environment.
That's what I was expecting to see but I couldn't find in your post. Thanks for the clarification. Would be good to see a similar mode in postgres as I know pgsql is close, transpilation makes stored procs cool!
There are books out there. For new language adoption, F# do have new features like Type Providers. However, it's not the best language in X for X in ['data science', 'distributed system'] etc.
what I want is get what I pay for. If the isp say they will sell me 1Gbps I expect to get close to that [98%], any were in the USA.

The FCC should KEEP net neutrality rules use the most restive set of rules [tilde two] on the isp the easiest for the FCC to enforce, to protect the people not isp.

prevent ISPs from discriminating and charging different amounts to access different websites or throttling the volume I get of competitors' websites.

THE FCC should encouraged COOPs to be established for compensation
You are just describing a well-designed media center computer.
Colombo, Sri Lanka: 6m Internet properties now faster for 6m Internet users
How we used #Slack to control the Internet of Things
> AFAIK the picture is only shown if Google is reasonably confident that it is actually you trying to log in.

I didn't know about this feature, but I often saw pictures of people I know when I tried. Apparently, it seems that for example just sharing IP address is sufficient to trigger this reasonable confidence. Not sure what other ways there may be. But indeed, it didn't work for a few random strangers from LKML I just tried.
Save as .reg and run it or use regedt32.exe to go to that registry location and do it manually.
Pure languages like haskell might be the closest thing at the moment.

In haskell you embed domain specific languages when you require side effects:

class MonadState s m where
get :: m s
put :: s -> m ()

This is like an interface specifying the basics of all stateful computations.

You can use different implementations for production and testing without changing any code so mocking is built into everything.
We totally do throw spaghetti at the wall and call the results an "economic system".

Neither "capitalism", "communism" nor "socialism" exist except as ill described definitions and abstractions that are misused and abused by academics, politicians and the general public alike.

The actual systems we have are a patchwork of contradictory laws, policies and actions by a ton of different parties.
And to answer the parents question: there is to my knowledge no wysiwyg editor for kivy.

You can however write the code and directly execute it. There is no compile time to speak of, so it's not that bad.
I was really hoping for F#/.net (core) on Linux to be a thing but at this point I'm so confused about the versioning it makes my head hurt.

At least over in JVM land things are somewhat clearer.
Or as I like to say, "incompetence makes the world go round". Extracting little glimpses of functionality out of a chaotic mess is a challenging, at times satisfying and definitely valuable exercise that keeps many people at work...

Maintenance is not the opposite of innovation, it is the opposite of good design.
The string "haskell" doesn't seem to appear in the text at all. That seems silly and rather patronizing, since it seems to be a book about a language that is heavily based on haskell, with very similar syntax. It bothers me when authors take this sort of "oh you don't need to know about that" approach.
re: comments in vote log. Thanks for pointing that out! Possibly because it is 4:30 am, I didn't realize the text area contained lots of info. Readers: be sure to stretch it out to see everything.
This reminds me of a great quote, attributed to Thomas Eddison:

"Opportunity is missed by most people because it is dressed in overalls and looks like work"

https://www.brainyquote.com/quotes/quotes/t/thomasaed104931....
Hmm. Making your app profitable by running a fleet of buses seems a bit... ambitious.

Background: Everybody in London uses Citymapper and nobody uses Google Maps. It is a great app. London Buses are also very good. As has been pointed out, they have GPS sensors. There is also a sophisticated infrastructure behind them, e.g. a control room that tells drivers to turn around and go back mid-rout if the buses are too unevenly distributed. See e.g. the BBC's Route Masters documentary if you can find it: http://www.bbc.co.uk/programmes/b02znsx2

As has also been pointed out here, London Transport does not make a profit (although their public funding is constantly shrinking). So any new entrant has to be more profitable than them with a much smaller market share. Wonder if that is possible if you only differentiate yourself by technology. We'll see.