skysight-inc/HackerNews huggingface dataset:
I suspect this is in competition to the currently-being-released Micro Bit, the BBC's similar tiny computer (The microbit isn't aimed at the same market, as it has buttons and LEDs built onto it, and no HDMI. But it is threatening to push the Raspberry Pi out of UK schools).
For anyone else wondering about their node.js code: node-uuid uses nodes crypto.randomBytes:
https://github.com/broofa/node-uuid/blob/master/uuid.js#L59
ProgeCAD 2016 Professional Serial Number Crack Full Free
Interactive CLI menu for PHP
ProductHunt Collection of Best BlackFriday Deals for Startups
The problem highlighted here is not so much UUIDs, but instead the use of poor PRNGs (i.e. things other than /dev/urandom or getrandom(2) on Linux). All of the issues with the example libraries are around of the use of PRNGs from math libs, not crypto libs.

A "secure token generation" library might have the same flaws (and many do!).

A correctly generated v4 UUID (S4.4 of the RFC) should be acceptable for use as a secure token, given it has 122 random bits.

The trouble with UUIDs, if any, is that only v4 UUIDs are really suitable for use as secure tokens, with v1 through v3 being entirely unsuitable.

Personally, outside of DB PKs in Postgres (or similar), I prefer to base64 encode 256-bits from /dev/urandom for tokens, as they're a little shorter (and Go makes it easy enough to do that).
Airbus removable cabin module
The examples are clearly achieving the goal of "concise". I would counter with a different style though, because I try to imagine how the code would change over time and how it would fare when given constraints on memory and runtime.

Compare:

for (int x : numbers) {
if (1 == (x % 2)) {
odds.push_back(x);
}
}

auto odds = KeepIf(IsOdd, numbers);

To me, the first case is preferable. The 2nd case uses custom functions that may not be familiar to the maintainer, and semantics are clearly hidden (e.g. does KeepIf() modify the list, return a copy, or return some kind of intelligent generator object that still depends on the lifetime of "numbers"?).

Suppose I discover that my application starts crashing with the odd number 15 and I have to work around that case very quickly. The loop version above is trivial to modify, whereas I have no idea how the 2nd version would be modified to filter out one value! And if I want to do several things with the numbers while they're being found (e.g. print them out), the loop is easy to change but the 2nd version basically has to be replaced entirely (and replacing even a concise expression is risky due to the issues above, e.g. unclear semantics).

Now compare approaches for another case:

if (FindWord("I", team)) ...

if (Contains("I", SplitWords(team))) ...

This shows a general problem with a "functional style" at times: it's placing constraints on the implementation that don't need to be there.

To me, the first style is preferable because FindWord() could easily walk a raw string and stop as soon as it finds the target word, with a chance for better-than-N average complexity. The second case would mandate: copying strings, visiting all characters in the string every time, and revisiting at least some of the characters in the form of words.

Finally, I think that the C++ standard algorithms, lambdas, and compact-"for" do allow a lot of these tricks to be avoided. Consider algorithms like std::all_of() for instance, which can be combined with lambdas to produce the same results as examples like "AllBy(And(..." but without the downsides I mention at the beginning of my comment.
Copenhagen I think would meet the criteria of your last sentence: over the past 20 years, car infrastructure has remained somewhere between constant and modestly improved (depending on where you are), while public transit and bicycle infrastructure have both improved significantly. The new metro system (completed 2007) is an especially big improvement: it runs 24/7, is driverless, and the wait between trains is only 3-6 minutes during most times. Another nice addition is the completion/expansion of the "A-bus" network of high-frequency (~6-9 minute headway), 24/7 buses, which fill in gaps between the rail service. And a lot of new bicycle infrastructure has been created, too.

In the core urban area (central Copenhagen, Frederiksberg, parts of Amager, etc.), driving is now probably most often either 2nd or 3rd place in latency. Usually either biking or public transit will be 1st, depending on where precisely you're going from and to.
Reportedly draws ~80 mA idle and ~160 mA [1] (I assume with
no peripherals whatsoever). So a 1.2Ah battery should last between ~7-14 hours.

[1]: https://www.youtube.com/watch?v=NFFQmdUc5Vg
I wasn't discussing readability, but rather performance. The two are not mutually exclusive. Nor was I picking on the "last few percent" of performance--the shortcoming in speed of the "I in team" example is likely an order of magnitude or more. And it isn't fixable without modifying the API.
Is it not powerful enough to do this in software through the GPIO pins?
> 'm not sure how you handled the experience or what the general case is but I remember for me, for a while I was genuinely sorry for hurting them every time and then it eventually switched over to me just wanting to say whatever it took to stop the episode. It's actually a fair bit more complicated than that but basically the point of the apology wasn't really about remorse or making amends; for the other person it was about control and for me it was just a survival technique.

For me the relationship ended basically the day after I refused to apologize again, because at this point the pattern went to ridiculous extreme; apologizing then would require me to explicitly lie to myself about what I believe is true, and I do value truth very much.

> If you truly feel bad about somebody being offended, does whether or not you think they're "right" to be so really affect whether you feel bad about being a partial cause for that state? Or is it more that whether or not you deem them "right" really affects whether you feel bad about them being offended in the first place?

I say (or do) something. The other party gets offended. I will feel bad regardless of who is "right". The situation sucks, yes, but I care about feelings and internal emotional state of others much more. Can't help it, empathy turns itself on automatically. I feel compelled to resolve the issue as soon as possible not just because there's someone angry in front of me, but because I genuinely feel bad about causing them to feel bad. That's my weak spot that was used to take advantage of me once.

I worked hard for that experience to not destroy my empathy. Instead, I settled on following defense mechanism: if I start to feel that someone is playing me this way on purpose, I pause the situation and calmly but explicitly note that I feel I'm being emotionally manipulated and do not wish for it to continue. So far it only happened once, and the person involved backed down immediately, and the problem did not occur again with them.

Public apology situations are usually different than private ones, but the manipulative element can be still present. Looking at Twitter outrages in particular, it's more often present than not - probably due to the fact that the most outraged people are the ones who have absolutely nothing to do with the issue. Here, outrage is far too often used as a tool to control the words and actions of the accused party.
>How many potentially brilliant female computer scientists are we missing out on as a society because our media and culture barrages them with images of male programmers?

Something very wrong with this. Why do those potentially brilliant computer scientist have to be female? Why can't they be male? Are you saying that males are not as brilliant as females? In fact, why does the gender of those potentially brilliant scientists even matter? As long as those scientists are brilliant, why does their gender matter?
> Chrome is the mobile browser that is built for web
> applications and sadly Firefox Mobile is not. And
> actually this has always been a difference in
> philosophy. It's why Chrome started with the one
> process per tab and with strong sandboxing on the
> desktop as well, Chrome being built for applications.

Looking forward, Mozilla is adopting this philosophy in Servo by targeting mobile first and foremost, as well as taking sandboxing seriously from the get-go: https://twitter.com/pcwalton/status/667494515582758913
Have you really never seen Jurassic Park?
How to Build and Market a SaaS Business
Interesting quote, but I'll save people the effort - it was Tige Savage from LivingSocial.

> http://www.nytimes.com/2015/11/22/technology/livingsocial-on...
PiHut has the board for £4, with various add-on packages (cables, sd-card) up to £18 (all cables + 16 Gb SD).

S+H is £2.50
Duane's story is crazy. Great tips though.
I'd be pretty surprised if you could make that sell. At least a pen can theoretically be an expensive construction that you're proud to own. A pencil is inherently disposable; they are destroyed as you use them. A pen just needs to be refilled.
You probably won't see this response, but in case you do:

I see what you're saying, and I'm not going to criticize decisions people made more than a decade ago, but we've outgrown the robustness principle.

You should not be tolerant of accepting bad input to coddle your users. You should write simpler languages (so the effort they must put in is reasonable) and better development tools (so they understand their mistakes). Even if you decided to let HTML be "robust" since it comes from humans, why would you let an HTTP client or server emit broken headers?

The real problem with the robustness principles is that it has short-term benefits and extreme long-term costs. Today it means that you can open up netcat and talk to Apache without using CRLF linebreaks (as per the spec). But next year, and the year after that, and the year after that, you'll have to support increasingly noncompliant legacy implementations.

We write specifications to make things concrete. The robustness principle, over time, creates a "shadow standard" one must abide by, putting bad code into your project to support the bad code everyone else has been writing because we _let them do it_. Maybe it makes Firefox better able to process its inputs but it makes the web as a whole fragile. It does not make broken data any less broken, it simply silences errors.

In short, it is neither robust nor principled.

Security is about tradeoffs, but after so much time building broken systems, it's time to realize that this tradeoff is not reasonable.
I don't see this as designed to be a general purpose computer, but as an alternative to Arduino and other microcontrollers in the hobbyist/maker space.
Fortunately Python is safe in this case. https://hg.python.org/cpython/file/2.7/Lib/uuid.py#l582 - urandom is the source for the UUID4. (same for 3.5: https://hg.python.org/cpython/file/3.5/Lib/uuid.py#l600)
I immediately ordered one. It does not have a camera port though, I hoped there were ways to operate the camera through the GPIO but could not find anything.
It's £4 in the Pi Hut (disabling the extras): http://thepihut.com/products/raspberry-pi-zero
JSMESS Achieves a Hero’s Death
Congestion, among its other faults, leaves cars idling on the roads wasting gas. It also harms some of the more common mass transit systems. For example, nobody is going to see a bus as the faster option when they're both traveling the same congested streets as the cars do.

That said, it does work sometimes. For example, if you're going to a baseball game, it's better to use the light rail than to go anywhere near the downtown traffic in Phoenix.
At this price point, for many projects it doesn't matter; you can now use Raspberry Pi as a throwaway SOC for powering little stuff. I wouldn't, for example, put an $35 RPi 2 in charge of a bunch of sensors over my doors, but with $5 RPi it is an option.

EDIT:

And given the power, you can start offloading computation on what would otherwise be "dumb" control/data acquisition units. Hell, with that much compute you can start running serious DSP on it, which opens some additional use cases.
Cyber Defenses Failing? It's Time to Move to Deception Technology
Point of fact: the RSA department of education removed Java as the language being taught, and replaced it with Delphi, despite objections (from some like myself). Here's an article: http://mybroadband.co.za/news/columns/89295-is-delphi-better...
Since VMware is a member of the Linux Foundation, this makes some sort of weird sense. I wonder why they didn't just terminate VMware's membership though.
>If I build a ladder for short people, am I insulting tall people? Am I ignoring them? Am I reducing them to a number?

The problem is that, you're not just building a ladder. You're purposely not hiring the tall peoples. Instead, you purposely hire the short people, because you perceived the short people to have a disadvantage in height. Then after you hired them, you build each and everyone of them a ladder, to make them as tall the the tall people in the first place, who, you could have hired in the first place, and wouldn't have needed the ladder in the first place if you hired the tall peoples in the first place. And not only that, the short people understands that this job require reaching high places, so most of them have already decided to go for another job, a job that they love that doesn't required them to reach high places with their hands. And then you're wondering, why don't short people comes for hire? I must enforce quote and force all jobs that require tall peoples to hire short peoples, instead of just letting things fall where they fall, naturally.
Same in Lithuania.

Everyone who intends to do a degree in computer science is taught Pascal, olympiads are in Pascal/C++.

Whether it's a good language to teach highschoolers (students in general, not preparing for olympiads) or not, I am not so sure. On one hand, yeah, it's pretty simple.

On other hand, I'd lean towards Python simply because it's more widespread in industry, as a result you have tons of well documented libraries for pretty much everything a highschooler will care about. Therefore, making it much easier to develop something useful, which results in higher motivation. And REPL, ipython notebooks are really neat for learning.

But that's the theory. In real life, you have loads of teachers who know only the very basics of Pascal and teaching them a new language might be... challenging (I've witnessed enough teachers struggling with basics of Pascal).

So all in all, it seems like Pascal is a reasonable option.
Did you ever consider hiring a proofreader? e.g.
"A couple of decades later, in 1995, there was another a man but also a woman, and their names were Doug Zell and Emily Mange, and they decided that they would buy coffee directly from coffee farmers and not blend it with coffee from other farmers and that also they wouldn’t roast it all that dark, so you could taste the flavors of the actual farm where this “single-origin” coffee came from, sort of like wine, which costs a lot of money, and maybe coffee could cost that much too, and they called their coffee Intelligentsia. "

That sentence should be euthanized.
That's not my experience. I don't yank my power cable and after replacing 2 of them I now wrap up the cable leaving a 4 inch loop of cable coming out of the adapter. So there's no 90 degree twist where the wire comes out of the adapter.

Unfortunately there's still often a 90 degree turn where it connects to my MBP. I've found no reliable way to prevent that.
Without VAT, it's about $5 [0]

[0] https://www.google.co.uk/search?q=%28100%2F%28100%2B20%29+*+...
> Let’s just hope the fine folks at the Kiev metro, with their underwear logo design, weren’t going for meaningful symbolism.

They actually were going for meaningful symbolism, just not about underwear :) Green diamonds at the bottom are simplified chestnut tree leaves. Chestnut is a symbol of Kyiv.
Then they need to have a word with someone:

http://imgur.com/K8WmSqz
Aha, the solutions. Now I have a Christmas quiz for a bunch of graphic design students. Excellent.

Liverpool: many of us still call it Merseyrail despite the attempts at rebranding.

Birmingham-Wolverhampton has a Metro as well which I could not see in a quick scan. Officially called Midland Metro

http://nxbus.co.uk/the-metro/

The new extension into the centre of Birmingham will be quite cosmopolitan when it actually gets finished.
Yeah, powering stuff sucks. With ESP8266 you've pretty much eliminated the need for a data line for home automation, but you still need a power line.

My current solution (to be deployed in a week or two, after I get home): $2 Chinese fast charger with 4 USB ports (2x 2A, 2x 1A). I had a chance to test them personally before buying; they're decent enough for the task and cheap enough to buy a bunch. You can then use either an Arduino ($2-3 with USB cable) and ESP8266, or NodeMCU + $3 USB cable.
Last I checked (which was years ago, mind), Mozilla's search partnership with Google was bringing in $4 billion in annual revenue for Google, with $300 million of that being kicked back to Mozilla. Google wasn't sponsoring Firefox for kicks, there was a definite financial incentive.
Fair enough. I guess I was thinking more along the lines of words rather than names. "Detroit Metro Airport" is a use of metro in relation to mass transit, too, but I suspect not what whoopdedo was talking about.
If people in general are not careful enough with the product, it sounds to me as the product is not built well enough for regular use.
Checkout Farnell, they offer next day delivery to most of EU countries.

(Just ordered three of them)
You know how to pangu 9.1 jailbreak iOS 9.1 keep informed
Do you have a source for this? According to opensecrets.org, they're in the top 2 for tech companies (their major rival is Comcast), but they spend much less than Blue Cross/Blue Shield or the National Association of Realtors. This has been true since at least 2010 (as far back as I checked).

They do sometimes spend more than Boeing, which I wouldn't have guessed.
It's worth it for ublock origin. Ads are doubly annoying on a small screen.
When I was building machines and asked about the OEM licence, this hardware hash is related to the motherboard. MS consider a new motherboard a new PC, everything else you should get away with changing.
quoting your own link:

...
However, Max von Laue quickly rebutted those claims by saying that the inertia of electromagnetic energy was long known before Hasenöhrl, especially by the works of Henri Poincaré (1900) and Max Abraham (1902), while Hasenöhrl only used their results for his calculation on cavity radiation. Laue continued by saying that credit for establishing the inertia of all forms of energy (the real mass-energy equivalence) goes to Einstein, who was also the first to understand the deep implications of that equivalence in relation to relativity.
My point is that since it was finally added to the most "mainstreamy" non-functional language there is there's some mainstream acceptance. It's not my POV but an interesting data point.
I'm thinking of picking up a new language in my spare time and Rust is the main candidate I'm considering.
> Evidently that's how people work these days. I don't get it either.

Installing and switching your workflow to using a new app, OS, browser etc. takes effort. If the effort required is too high compared to the benefit gained, most people aren't going to do it (I imagine hackernews readers have a much higher tolerance for this!).

That's why monopolies in technology are so dangerous in my opinion as when you can force a "good enough" product on customers competitors aren't going to get any traction unless their product is significantly better. This means companies don't try to compete so the customer misses out on the incremental improvements from sustained competition.
The missing piece to this puzzle is being able to buy these connected to high speed Internet. Maybe Raspberry Pi build build a data center filled with these things.
Why the example in README uses sudo by default? It seems more suitable to install APIs into local user directory by default and don't force the users to run your command as root.
FYI Guava gives you those constructors, the map is:

ImmutableMap.of(Key, Value, Key, Value...);

For ones with more than 4 values you will need:

ImmutableMap<String, Integer> WORD_TO_INT =
new ImmutableMap.Builder<String, Integer>()
.put("one", 1)
.put("two", 2)
.put("three", 3)
.build();
just out of interest where do you live?
> ... this sort of work is what Mozilla should concentrate on, rather than an ...

One does not exclude the other. https://en.wikipedia.org/wiki/False_dilemma

> .. an irrelevant "me too" mobile os

[citation needed]
I lived in Portland, and even though the public transit there is supposed to be good, it was basically unusable. As a European I try to take public transit whenever I can, but in this case it took me 20 minutes to work by car and 75 minutes by train. The reason was not missing train lines or anything, it's just that the train is super slow. The top speed is low, it accelerates slowly, it opens the doors for what seems like 5 minutes at every station.

By comparison, where I live now public transit is as fast or faster than driving, unless you're going somewhere not covered by the subway or trains. It's fast paced, because a majority of people actually depend on it to get anywhere. If I have to wait more than 3 minutes for the train, I'm annoyed. I'm not saying this would work in most American cities, because they're built for cars and you can't just undo that, but in European cities, yes, public transit is often better than driving. In Portland, the trains feel like they were built for old and poor people who cannot drive, and have all the time in the world to get wherever they're going.
Got a link to the fast charger?
C's rand() is typically poor as well. Thought it was par for the course for builtin rng to be somewhat shitty, but maybe other languages stack up better?
You can even flash Espurino (JavaScript runtime) on ESP8266/NodeMCU boards. It's a crazy world!
Some of those missing features are being worked on for Java 10 and can be tested already from the early prototype that is available.

JVMLS 2015:

https://www.youtube.com/playlist?list=PLX8CzqL3ArzUo2dtMurvp...

Technical Keynote at JavaOne 2015

https://www.oracle.com/javaone/on-demand/index.html

Of course, first we still need to get Java 9.

And then when Java 10 with value types, reiffed generics, new FFI API, long Arrays is available, one can write blog posts about being forced to use Java 7 with these missing features on Android.
Not unlike P and NP
Can Blockchain Solve the Music Industries Big Problems? – Blockchain News
what is the problem with Add to Homescreen. Firefox Mobile does have it .
that multiple return values got me interested. I can see this exploding complexity/unreadability of the code at first glance.

honest question - what would be real added value compared to dedicated wrapper type holding all you need for return?
That is pretty great, i do which that it had wifi built in.
As generally you need an Internet connection, and the usb port for a keyboard.

Plugging in a USB hub fixes the issue, but then it would be smarter to just buy a normal PI.
How big is that a risk, though? Serious question - because I'm really considering using Chinese USB power supply units as power sources for my home automation project. I've been using one of those units for the last 5 days with no visible problems - no overheating, no noise, etc.