skysight-inc/HackerNews huggingface dataset:
Living in a city which has both hi-tech traffic lights (dynamically selected phases), dumb traffic lights (two alternating phases, one for each direction) and low-tech roundabouts (give way on entry), I doubt any of these is a catch-all solution. There are roundabouts which would be better off as traffic lights, uncontrolled intersections where roundabouts would help, and traffic lights which are actively creating problems.

For example, I regularly drive across a four-way roundabout; there are strong, almost continuous traffic streams coming from the north and west entrances, exiting mostly east and north. This means that while traffic from the west still mostly manages to merge, traffic from the south is regularly backed up, as there are only a few "slots" left in the roundabout traffic flow where it could merge. This is a spot that would be better served with traffic lights.

So, I don't think there's one "The Problem" in traffic engineering, generally solvable.
> What Einstein and others contributed towards GR in a decade is now generally taught in one semester of grad school physics.

Where? In my university we touch SR in many classes then we have a separate class dedicated to GR. Also the ability to come up with and idea and to understand the given idea is really not the same. The main difference is intuition.
Do you want to have multiple boards in a laptop? In that case, it would be great to have high-speed interconnect between them, I guess.
So... you will need to buy a power adapter and an Ethernet cable? That will come to, what, another fiver?
I live in inner-city Melbourne, in what, I am under no delusion, is a relatively privileged position even in this city and where people (as people do everywhere) complain about transport. The outer suburbs are dominated by car use.

Myself and my partner currently preference, by free choice (we could easily afford one) not to have a car. We own a carspace in our building in case we ever needed one one, but we rent it out to others. We're dreading the day when we have to waste our money or time buying a car, say if children came along, but we're seriously asking ourselves whether we could maybe go without one even in that case because its unhealthy, an inconvenience and a frustration. We're members of a car share, but honestly...we've used it once so far.

I have 3 tram lines within about 5 minutes walk from me. I don't really look at timetables, I walk to the stops or use the phone tram-tracking and just go.

Why do we preference to not owning a car? Because its a pain in the arse to drive + a time + money + health sink.

But let me just tackle another of your points. Namely: people who live off public transportation live in tiny bubbles.

Guilty. I even jokingly refer to this place as the inner-city bubble, because once you're in you really have no reason to leave. And yes, my neighbourhood is walk friendly for a couple of kilometers in all directions. My bubble is made up of about 5 walkable 'burbs within a few square kilometers of my house, and that's where I spend 90%+ of my time.

But you know what. Previously I've lived in a couple of places, one of which was Sydney. Traffic is awful there. And Canberra, a little country car town if ever there was one.

And what I observed was that car-cultures live in bubbles too. But you know what? Their bubbles are orders of magnitude smaller. Oh sure, they commute and move 30kms to get from one little bubble to park in another little bubble, but their lives become miniscule little bubbles connected by road journeys. Its the IDEA of freedom that most car owners enjoy, but if you tacked on a GPS, I bet you'd find most car owners moving between and handful of miniscule bubbles via a system of road based arteries for 99% of their lives.

Indeed in Sydney, it was pretty much an attitude of "screw it, its such a god damn hassle to get anywhere because of the traffic/roads, i'm going to bunker down in my own little bubble as much as possible".

Now is there variation? Sure, but the idea that public transport is the shit option, or that users on it are living in bubbles compared to the freedom of car owners is demonstrably not universally true.
It's a weird sort of universality that excludes the oldest and biggest mass transit systems, the London Underground and the New York Subway.
Terminus, I've tried out (and still try out) many fonts for programming but I always come back to this classic.
But HOW? All she knows is my first name and suburb, and I have a very common first name.
It depends on how we're defining "horrible". From my perspective, Firefox is the horrible browser on Android. I can't get it to run at a consistent frame rate for the life of me. Even a bare-bones example of an animation loop will wildly fluctuate between ~25FPS to 90FPS, yet the same page in Chrome on Android will peg at 60FPS.
Nobody in London refers to the Underground as the "Metro". It is, of course, The Tube.
No, but nor will they help against Dengue.

Actually, I'm not sure about chikungunya, but Malaria and Dengue is carried by different species of mosquitoes. I think chikungunya is carried by the same species as Dengue, but I'm not sure if that is exclusive to that species.
Ruby is also safe: it uses OpenSSL/urandom for UUID: https://github.com/sj26/ruby-1.9.3-p0/blob/master/lib/secure... https://github.com/sj26/ruby-1.9.3-p0/blob/master/lib/secure...
Mockplus, a Brilliant Prototyping Tool to Visualize Your Ideas
n=10 is a small set. In addition, you don't know if there is a prior bias here. Say most of the 10 grads use syntax colors in their daily work. This is likely to perturb the numbers.

Figure 2 shows the plain samples have much greater variance, but does that translate to significance? Some analysis here would be nice, but with n=10 you don't have enough samples for this to be significant I'd wager.

Also, the test should have thrown in a color scheme which nobody has ever used as a control. I think the choice of color scheme matters a great deal as well.
> The only application where it might be ok is games.

This is silly, there are plenty of ways randomness is used to communicate randomness to the user (think games, song shuffling, visualizations, art, etc. Algorithms using randomness ≠ randomized algorithms.
TLDRLegal – Software Licenses Explained in Plain English
Indeed. Seems we have some stores here that think it's fine to double or triple the price.

I decided to buy one from the UK for $16 dollars including shipping.
I am currently working on a project that I will be using at home between my laptop and (not so powerful) Raspberry PI. I am well versed in C and this project is written in it, with very minimal dependencies (currently talloc, libbsd and makeheaders). I am trying to keep resource usage at a bare minimum on the server side (Raspberry PI) for obvious reasons.

I've never worked with Pascal, and I've been looking for an alternative to C that solves some of the issues I'm having without sacrificing too many of its advantages. Since fpc is available for armv6, I am wondering if someone could give me advice on whether moving this project to Pascal would be beneficial, especially compared to the following points:

- A proper module system, without having to keep .h and .c files in sync when the interfaces aren't stable yet. I am currently using makeheaders to make things less annoying for me.

- Compiler warnings, cppcheck and scan-build offer me great feedback. Emacs integration of these tools is priceless.

- The ability to do things like recv() into the middle of a buffer. That is just too efficient to let go of. I think this is something many people overlook when comparing C to other programming languages, many times you can turn O(2n) into O(n) by taking advantage of this. Not theoretically different, but in practice it can pay off.

- Emacs integration and support. Nice to have would be support for auto-completion, static analysis, etc...

- Documentation. Man 2, 3 and 3p are priceless. Emacs man integration is great.

- Number types that are exactly the same across architectures. eg, I've had issues because off_t was ulong on one machine and ulonglong on the other.

- Memory management, error handling and everything you need to do that has nothing to do with the task at hand. It gets old quickly.

- Optionally high-level, I am comfortable working with pointers and addressing memory directly, but sometimes I look for elegance where I know performance is not going to be affected too much (ie, the trade-off is acceptable). This also means that when I'm working with higher-level constructs, I'd like to have easy access to the inner workings so that I can make such a judgement myself (either through documentation or other means).

- I don't care too much about compilation speed.

- Easy semantics and simplicity of things. I really don't think I can put that into words, it's better understood through experience. But this is one of the biggest reasons I stick with C rather than C++ or Rust.

- The availability of a widely approved guide that doesn't go into the very basics of programming to explain the language (maybe some sort of Pascal for C people kind of thing).

- There are probably a few more points I could talk about but can't think of right now. I could write them down some time later if anyone is interested.

Thank you in advance, I would really appreciate if anybody can help me with these points, I'm looking for new adventures :)
Thanks for concern, appreciated. He has scratching post (well two) and furiously scratching them. But chair is chair, you know, forbidden fruit. Vomit is not that often or shitting, pissing is where I've got problem to solve. I've consult animal behaviorist which is also vet in clinic we're going, and she said that if cat gets neutered after adolescence it might become habit to mark territory either way. Plus he might got into concept that since in shelter everything is "toilet" then why not at my place. Well, we'll see, so far Mattias is winning pissing contest :)
The Erlang movie [video]
Apple buys Star Wars’ facial technology startup
Search does not have to be better it just has to be good and more private. See e.g. duckduckgo
Are you talking about Chrome browser?

If you say synchronized data in Chrome is being sold to 3rd parties by Google, I would really love to see a proof for this claim.
To be fair, most of the benchmarks I've seen from end-users don't have .NET Native outperforming the CLR except in huge number crunching situations[1,2]. As one would imagine in those scenarios using your standard stack of C++ with the GNU GSL[3] (which includes your BLAS, GMP, PDE, and standard lin. alg. stuff) is still pretty much king with MPL (based on MPI) with some (often modest, sometimes incredible OpenCL gains). In numerical methods, Fortran w/ a modern Intel MKL and MPI still reign for SIMD. I guess what I'm saying is, for your day to day Rapid App Dev (which Borland Delphi + the VCL was absolutely king at up until MS put out Lightswitch) you weren't really crunching away. Likewise, especially with modern JIT'ing if you _do_ crunch with a language that hit's the CLR hard, you still get performance similar to .NET Native (contrary to MS claims of "performance similar to C++). I've been a MS advocate for ages and admire what they've been doing since ~2005 at MSR all the way to the production cash cows[MS SQL Standard gives you a ~LOT~ of bang for your buck with SSDT/SSAS/SSRS] (check my 8 year post history - when everyone was rails rails! iOS! MBP!! I was silently C#3'ing along); I say all this as a long preface to pose this question - what exactly did .NET Native bring that presumably made it catch up to TP/Delphi?

[1] http://code4k.blogspot.com/2014/06/micro-benchmarking-net-na...
[2] https://dzone.com/articles/net-native-performance-and
[3] http://www.gnu.org/software/gsl/
Close.. I believe it actually is 'Chinese Export' when you ask but the goal is the same, to imply certification (o;
I'm also in the light background, dark text camp, when it comes to code at least. I think Visual Studio (using the light rather than dark or blue themes) has the colours just about spot-on for me, especially in the 2015 editions where they seem to have softened the palette a bit.

That said, I'm completely the opposite when it comes to the command line. I think colour coding can add a lot (ls for example) but it has to be light-on-dark or not at all. Funny how that works.
Shouldn't this be 'Javascript UUIDs generally do not meet security requirements' ?

As he mentions in his story, the server was actually using Java UUIDs which are cryptographically secure. So 'UUIDs generally do not meet security requirements' is false, as generally here only applies to Javascript. Python, Ruby, Java all have cryptographically safe UUID.
A Walk to Remember: The Trek from Myanmar to Malaysia by Foot
I might be mistaken, but I believe sneak was referring to the general irony of using RSA, whose underlying strength relies on the math problem of large number prime factorization, as a deterrent to keep out calculator enthusiasts, who presumably would find such a problem interesting. (Rather than the suitability of the key length of 512-bit RSA, which as you pointed out, was good enough back then)

However, I guess the same could be said for RSA being used in any product used by technically-oriented folks.
^--- this is the standard solution. Supports regex, can count result no, limit, ignore and it's fast.

Here: http://linux.die.net/man/1/locate
Show HN: Promote your books with Zero Troll review system and reading contests
Best memory card for dslr camera
6 quid is not quite free - but reasonably close.
I think the only sensible conclusion we should draw is to find what works best for you and stick with it. :)
Plus standardisation (linux, usb, arm, etc) which I understand was one thing lacking in the 80s.
The progression of the comments in that thread, in hindsight, is quite amusing. It goes something like this:

0. What is this???

1. Sorry, you're wrong.

2. This is the most amazing thing since sliced bread!
Very cool - nice one Pin Logic team!
What the Chinese think about pinyin is not relevant, nor is Chinese-language orthography. We are clearly communicating in English, and in English the correct orthography for the city in question is "Xi'an". This is important because "Xian" is an entirely unrelated, distinct syllable.
> what is the analogue of syntax highlighting for natural languages

Nouns begin with a capital letter in German, and used to be in Dutch and English until a few hundred years ago. Perhaps it was because nouns are generally spoken with the greatest stress of all words in an English sentence. Perhaps such capitalization is an analogue of programming syntax highlighting.
I am curious too, really refreshing look. I would guess it's hand-drawn with something like Paper, the "smudges" reminds me of that app.

https://www.fiftythree.com/paper
The magazine is £5.99 every issue to buy so yes the included PI is free. Not only are you getting a PI but you're getting a magazine full of advice and tutorials for the computer they've included.
The cost is $4 for a NodeMCU, $2 for the sensors, $1 for a breadboard to stick them on, and $1 for a microUSB cable to power them from. You can power the sensors from the NodeMCU's Vin, since that's the 5V from the USB.

I have done exactly this, it sends values to an MQTT server on my NAS every second or so, which the NAS then adds to Graphite and plots them in Grafana. It also has some logic to act on these values and send commands back, like turning lights on and off, etc.
That's fantastic, thanks :)
It says something that I use the metro in my city (Moscow) everyday and I couldn't pick which one of the logos is supposed to be the logo of Moscow Metro. I was thinking row 3, 4th from the left, but nope.
> public transit at least doubles the travel time required

That might be true in Portland (and, arguably, every American city besides maybe New York), but it's definitely not true everywhere. Go to Hong Kong and you'll see how fast public transportation can be at getting you exactly where you want to be in a fast and convenient way.
Brilliant, I'll have a look through those. Thanks for the link.
A single transistor cost several dollars in 1950. A full-blown 1GHz computer is now the same price (cheaper even, accounting for inflation).

What will $5 buy in 2080? It's going to be a billion times faster than this, but it's hard to imagine the form factor.
Does a Hidden SSID Make You Feel Safe? It Shouldn't. Here's Why
"When to use jquery: always" but not if you're already using Angular or React
Be thankful that Edinburgh's roads weren't "improved" in the 1960s:

http://www.gcat.org.uk/blog/?tag=edinburgh-motorways
The only modern distro it runs is Raspbian. Ubuntu and Kali don't run on it let alone Windows 10 IoT core, same goes for Arch and pretty much everything else.

This is a ARMv6, for which most distros stopped support several years ago if they ever ran on it.
That does get into the worldview problem, yes; I have no interest in sharing a wall, ceiling, or floor, so any transportation option that only works when everyone does so does not appeal at all. That might change if apartments started coming with far more soundproofing than they currently do.

However, I wouldn't say that US major cities have good public transit; rather, they have awful automobile infrastructure such that transit looks good by comparison. And as you said, "the core of" those cities have transit options, but that doesn't mean the whole city does. I've certainly encountered much better public transit when traveling in Europe, though not sufficiently so that I'd be inclined to use it in preference.

In any case, that then leads back to the point that started this discussion: given a set of existing cities that don't have (or want) the kind of layout and design you mentioned, how do you build a transportation infrastructure? Public transit doesn't fit the current layout very well, and you can't redesign those cities from scratch even if people would prefer the new design. Hence, the many different visions of self-driving cars, which adapt more readily to various ways of laying out a city, and which work in urban, suburban, and rural settings.
Perfect, thanks, I'll have a look at the NodeMCU, looks like exactly what I'm after.
Even with the extra congestion, it's a win because the congestion is no longer as stressful as when you have to deal with it as a driver. My commute to the Bay Area is about 2 hours each way. Let's say self-driving cars added 30 minutes due to extra (self driving) cars on the road. I'd be totally fine with that if it meant I wasn't white-knuckling it down I880 myself every day. I could get some work done while my cyber-driver stresses out.
All that terminology at a really low cost, awesome.

I feel like this comment could be turned into a popular blog post.
Pi Zero: A full Raspberry Pi for just £4
The only case where it matters for me is that this runs Linux, which means that I'll have an extra computer to secure against intruders. An Arduino can't do as much damage to the rest of the network if it gets hacked.
You've got a superior train that actually drops you off at work, rather than at a train station where you have to take a shuttle to a bus station, then a bus to a bus stop near work, then walk a few blocks.
Python has it's place. When teaching kids, I guess it comes down to two things - are you targeting the lowest barrier to entry to make something whiz-bang to appeal to the largest common denominator of "I use Facebook so I'd like to make 'computer things'", in which case, alright they can install Tampermonkey and mess with a really inconsistent language like Ecmascript5[1] then spend a lot of time explaining things like the DOM and how to traverse it, then the issue of how to manipulate certain things (what do if getElementByName isn't working because someone decided to not properly tag things?), followed by now we have to teach them CSS so they actually can alter the aesthetics or worse, teach them JS so can actually add functionality (which involves all of the ES5 shims and a huge confusing ecosystem that even people in the industry like us have to spend tons of time working on).

On the other hand Python can be installed with one binary on Macs, Windows, and Linux with 300 packages and an IDE[1] and they'll be able to use it with the Excel spreadsheets down the road which they'll inevitably have to deal with if they're the average white-collar office worker. (See: http://xlwings.org/ and say goodbye to VBA). The large majority of people will actually use Excel on a regular basis and if their job involves reconciling a lot of semi-structured data, as it frequently occurs with my friends in the social sciences or other non-CS fields, they'll largely benefit from Python.

Not only that but after having a core Python knowledge, with the same Anaconda package, you'll be able to make your own QT-native crossplatform full GUI binaries with an 'import PySide' or write your own 'web apps' with equal ease.

If your goal is to maximize the performance of your students in international competitive programming competitions, then you should be teaching them out of Competitive Programming and Steve Skeina's book so they recognize what category the problem falls into (it's usually one of 5 or 6), along with C++ plus the standard C++ libraries that everyone uses that loads in GMP, makes matrix manipulation easy, etc.

If your goal is to cater to the guys to teach fundamentals to those who are going to matriculate into the CS uni path, then both are wrong and you should be teaching out of something like the SICP from the 'top down' and something like ML from the 'bottom up'.

[1] https://www.continuum.io/downloads if you don't like Anaconda, there are a boatload of competitors like https://python-xy.github.io/ that come with Spyder, which I think we both will agree offers a better development experience than Tampermonkey.
A major version bump suggests a compatibility-breaking change, which would surprise me at this stage in the language lifecycle.
Do you have a link? I was just about to get started on a project and getting a $2 Arduino would be great for tinkering
That's a very Windows-centric view of the world. Macs are increasing popular in education and come with Python pre-installed. Linux comes with Python pre-installed. iOS / Android require installing an app to do local programming either way, and I'd argue the Python writing apps are better than their javascript writing apps.

Microsoft should fix the "bug" that its operating system is missing interpreters for Perl, Python, etc... (Oddly enough, this list also includes javascript!)
Two years after buying mine, I put the pi to a good use only last week! Now I am using it as ad-blocker thanks to http://pi-hole.net/, works like a charm.

I ported the web interface for pi-hole to Go single executable (https://github.com/girishso/pi-hole-web)

Now looking for something interesting to do on my second pi!

Edit: Added pi-hole-web link.
You're probably right, but as a personal anecdote, I switched to chrome when it came out because I felt it was a better browser. The lack of clutter and the significantly faster JS engine made it feel far nicer to me than FF. For I.E. and Safari it wasn't even a competition. That was circa 2008.
CUBA Team: Our Impression of JavaOne 2015
Language is a tool for communication. In English "Xian" unambiguously refers to the city in question (e.g. searching for it will take you to the correct page), unless you're saying there's some other "Xian" it would be confused with?

(English orthography has always been ambiguous; accents are conventionally optional in English even when their absence is misleading regarding pronunciation, e.g. "cafe")