skysight-inc/HackerNews huggingface dataset:
And to make it even more clear: the notion that /dev/urandom first does "the right thing" and then (after entropy has been exhausted) falls back on the "worthless thing" (the CSPRNG) is absolutely and categorically wrong.

Both /dev/urandom and /dev/random always do "the worthless thing".

What people consider "the right thing", namely handing out raw collected random bits without any postprocessing, would even be catastrophic.
> When I say DSL I mean external DSL, not a fluent interface.

That's the problem here. 'DSL' is a vague and ambiguous notion. An ad-hoc 'fluent interface' usually isn't considered a DSL.
This is a feature of a lot of open source MQTT brokers (Mosca, Mosquitto). We used Mosquitto for our app (http://www.clementine.io), and added dynamic auth for SUBSCRIBE and PUBLISH.
I love this. I've actually been using https://github.com/AlexLittlejohn/ALTextInputBar, but this is a well written explanation and solution to the problem.
I would be interested, personally and I believe many other developers would also be interested :-)
So you're saying that Linux's /dev/random should go away, /dev/urandom or getrandom is always what you want as long as the system has collected enough entropy (even for key material), and Linux could stop "collecting entropy" once it has enough to seed the CSPRNG?
Hack Your Way to the Presidency (2014)
I've heard a similar idea expressed using more colorful language:

"Often you hear people say they have a 'bucket list'. Well I also have a 'fuck it' list. The older I get, the longer it grows."
From the conclusion:

This work conclusively demonstrates an inverse correlation
between exclamation points density and quality of The Jungle.

And from the introduction:

Rereading The Jungle recently, I again found the second half
almost unbearable, especially the later chapters which devolve
into clumsy, thinly-veiled socialist propaganda.

To "conclusively demonstrate an inverse correlation between exclamation points density and quality", I believe one should find a better measure of quality than the occurence of socialist motifs.
PSI: PageSpeed reporting as part of your build process
There's still a luxury brand that hand-builds cell phones: Vertu, out of England. Though obviously the components are still made by machine (chips, etc).

http://www.vertu.com/us/en/home

https://www.youtube.com/watch?v=HSAC43Ydrf8
"Chinamen" is kind of racist. I, being chinese, am not personally offended, nor do I really care, but "chinaman" is generally considered to not be a nice word.

https://en.wikipedia.org/wiki/Chinaman_(term)

I'm only bringing it up in case you are unaware, cracker.
I'm quite sure very many people do.
I think I already addressed these objections, but let me try to be more specific.

> If I've identified what I believe is the most efficient way of doing good, why introduce middlemen

Because (unless you arrived to your conclusion by asking people globally what they need), you've just become the middleman! Then you are the one deciding what's good for the others, not the recipients.

I think it's very tempting, and that's why people should take extra precautions not to do it.

> Politicians simply think voters would vote them out of office if they increased foreign aid at the expense of making substantial cuts

(Assuming you avoid those $5K in taxes.) This is pretty much an age old question whether it is morally acceptable to steal a loaf of bread to feed a starving person.

What I am saying is that it is morally acceptable, but only as a kludge. What you really should strive for is a society which doesn't face these moral dilemmas. Likewise, I consider charity only a kludge. It can do good, but can be done far better.

> If a person legitimately wanted to become better than they are, how should they go about it if not through generosity of spirit and action?

Assuming "honestly wanted to become better", I think do three things:

1. If you want to be generous, do it through your own work (that you do for living). That means do not cheat your customers, or even maybe decrease your price. And it implies not trying to gain power or cheat other people in order to do good - that's often a delusion.

2. If you think your work doesn't have an impact it should, change your job.

3. Alternatively, to help other people, help them get the more equal political and economic power in having their own say about what their needs are (so they can better share resources). (This also carries a lot of risk and is more helpful than trying to figure out how to cheat on taxes. What I am really saying: Subterfuge is allowed if other people benefit, not you - so it's OK to break the laws and norms regarding point 3, not 1.)

All of them are very hard to do, because it's very hard to be honest with yourself and not to think you can do better if you actually become a middleman. And that's why I don't like charity - it's awfully tricky to get right.
There are all sorts of things that "should" be standard on all computers, but until the average consumer (non-technical, not HN reading) starts saying "I got to get me some ECC memory" it's not going to be something Intel cares about.
How/where do you get more accurate data than MaxMind does? And under what license do you have access to this data, and under what license would you be able to offer it to others? If all the legal stuff looks right, and the data is indeed more accurate, then of course there's going to be interest in it. I think it would take a while for word to spread and links to propagate, but eventually you'd see quite a bit of sustained traffic on that project. IP-to-location data is a very common need.
You have no idea.
This is interesting, but while the article focuses on the issue of attention, it doesn't address the role of abstraction and chunking. There's been a lot of work in psychology that argues that 'expert performance' comes from lower-level concepts and operations getting grouped and automated. Attention remains important, but it is able to operate on larger, more meaningful pieces without getting bogged down in details.
Marriage and polygamy: Three's company, too
Yes, tell me more. I build eDSLs professionally. You can take a look at some of the stuff I'm building: https://github.com/combinatorylogic
I think you have a bug in codepoint_read(). The last argument is a pointer to variable unicode_t named decoded. If the first if statement in that function is true, then the a value is never assigned to that variable, the function returns, and immediately outside the function the value of that variable is read. But that variable was never initialized.

https://bitbucket.org/knight666/utf8rewind/src/c22e458912952...

https://bitbucket.org/knight666/utf8rewind/src/c22e458912952...

https://bitbucket.org/knight666/utf8rewind/src/c22e458912952...

The prior while statement makes sure the second parameter src_size is never 0, but the pointer src might be.

Undefined behavior can be caused by passing a NULL pointer as the first parameter and a non-negative second parameter to utf8toutf16().
Reach API, a Modular API Framework for Node.js
Thanks, glad you find it useful.
Mission Impossible Rocks for Vlog 99
Yes, their clever plot to have Stewart Butterfield masquerade as the CEO of a Silly Valley "unicorn" is proceeding according to plan.
OMG I desperately want a powerful portable PC!!! I'd even buy a big ugly "notebook" without battery. Who needs a battery? There's our phone for the go.

These days I'm playing with the idea of syncing a VM between my notebook and a powerful desktop PC for at desk use. Anyone tried it? Would it work? Virtualbox, maybe Docker?
Using Jinja2 for macros is an interesting idea. You could try cog instead? https://www.python.org/about/success/cog/

Currently I don't do any macros at all, although the temptation is definitely strong. I have some code that could otherwise be more generic than it is.

I guess a quick tip/pattern would be to use structs as data containers, with a cdef class defined as a "shell", to provide access, but not actually hold the data.

Advantages of this over standard cdef class: Data is contiguous in memory; Data can be stack allocated; Data can be stored in C arrays or C++ containers; Data can be created without GIL.

Advantages of this over numpy array: More Pythonic syntax (i.e. data.attr, instead of data[column]; No fussing with memorybuffers, compiler declarations etc; Data can be created without GIL

Disadvantages: More code

(I wrote that cymem blog post -- I'll write up this pattern as a post when I get a chance.)
There are lots of accelerators out in the wild. Some of them are modelled on reality TV with prizes and judges and montization schemes based on something other than billions of dollars in capital appreciation for the portfolio companies.

In such accelerators, there is a lot of emphasis on SEO and pitch decks as the road to value rather than products. Sometimes this correlates with selling SEO expertise and pitch deck coaching as components of an accelerator's revenue stream. Despite these reducing runway. Facebook or pornhub campaigns might demonstrate suitability for that type of program.

On the other hand, press releases are not a viable minimum product for most companies.
7+Things+To+Do+If+Today+Was+Your+Last+Day+|+Claudette+P.+Esterine
Ok, so you can know if a proposition is false, or you can know if it is true, and these two things fundamentally behave differently if the proposition contains the word 'not' in it?
I have long thought that we could do better than maxmind. I have a website with tens of millions of users all over the world that could help you build this database is your want to lead the effort. I imagine showing users what country we think they are in and they correct it if it is wrong.
Download TaiG jailbreak iOS 8.4 for Mac
Would one enjoy the second book without reading the first?
You kids may not be old enough to remember, but back in the day ICs were hand carved by artisans. We'd sit for days with a microscope and a nano blade etching the traces bit by bit into the wafer.
Facebook API issue allows user data harvesting using phone numbers
This is what happens when startup culture turns "growth hacking" into a fetish. (pun intended)
In 2007, he was already known as the best weaver alive, he made $20 per month according to this documentary:

https://www.youtube.com/watch?v=oQZ4DoIdSwA

He does not own a panama hat, he could never afford to keep something he works on for months.

Not making a point or anything, just interesting to see such a big wealth divide between the maker and the buyer.
But that's not actually true. It's a note sequence mash-up machine, not a music theory machine.

That's the point I'm making. You'd get similar-sounding results by taking semi-random snippets of the source data and splicing them together with a tiny bit of glue logic.

The NN is more or less doing that anyway, but by more roundabout means.

It's a long way from there to being able to say that it has a non-trivial model of classical theory.
> such a property would depend upon the set of semantic components having some incredibly strong properties.

Why? You can have as many semantic building blocks as you like. My current tool belt contains, among the others, a generic high performance imperative backend, generic functional backend, generic typing engine (which easily include various Hindley-Milner implementations as well as simple type propagation forms), generic lazy functional, generic Prolog and Datalog - these are the low level semantic building blocks which can be mixed together in any proportion.

On top of them there is a large hierarchy of high level building blocks, which include, for example, generic optimisation components (e.g., IR-agnostic SSA-based optimisations), generic parsing frontends, data representation and transformation languages, and many more.

> But it's entirely unclear to me why semantic models should easily combine without creating unintended behavior.

Why would they? As long as the interop rules are clear, there is no problem in mixing different things together.

> Could you share some concrete examples?

Take a look at my github repo (linked in some other comments, do not want to keep spamming it).
Any useful citations that could be used if one wanted to submit a patch doing exactly that and have it taken seriously? Something that would spell out exactly why it makes sense to rip out the entire runtime entropy estimator mechanism beyond making sure there's enough entropy to begin with?
"Tesla reports its finances in a different way from the Detroit automakers. Using the generally accepted accounting principles, or GAAP, used by GM or Ford, Tesla's operating losses per vehicle have steadily widened to $14,758 from $3,794 in the second quarter of 2014."

So by GAAP they are losing $14.7K/car. If I had money to speculate with I'd be shorting them, except this;

"Musk has steered Tesla out of tight corners before. In September 2012, the company faced a cash crunch, but raised money by selling shares and renegotiating the terms of a federal loan."

Tells me where the next round of "capital" is coming from when they get into trouble. Don't let anyone tell you we live under Capitalism.
Unfortunately, it still has horrendous memory leak issues.
>We read stories in the press all the time about authors and "dissidents" being locked up, censorship of the Internet, etc etc. Are you saying none of that is true?

It is true, though not to the extremes I think you believe. I would guess that you're getting downvoted because you go from that to "Anything that is published in China, by definition is representative of the opinions of the Party." which is just patently not true (there is plenty of criticism of the CCP in both official published mediums - print, media, etc. - and even more so on blogs, weibo, etc.)

Lastly, your statement can also be applied to many western countries...
duplicate of https://news.ycombinator.com/item?id=10028317
For a specialized technical skill, linkedin might be better...at least that's how my friend who's an organic chemist finds consultants during product development...and how professionals tend to market me.

To put it another way, if I'm looking for a consultant who I haven't worked with before, linkedin is eventually where I'll wind up, just based on names that turn up in a google.

Good luck.
Hi there. I work in an environment where I can probably show people your resume and help you get exposure to opportunity. Feel free to contact me at the corporate domain in my profile. Good luck.
given that by random chance the first decoding was 32-bytes, the same size as a bitcoin private key, the actual decoding was a bit of a let down :(
I'm talking about efficiently compiled embedded DSLs built on top of meta-language hosts (with potentially more than one backend).
Correct. If the entropy is say 256 bits, then the attacker has to try 2^256 combinations. It's quite like encryption; you can encrypt a 1 TB file with a 256 bit key. (And indeed some stream ciphers like RC4 are just a PRNG xored with plaintext).
Doing those exercises in Javascript (which I'm very familiar with and has better functions than Python, IMO) really helped me understand compilers, and lisp better. Lisps are awesome, and I've been picking up a lot of Clojure lately. Love it, and never want to go back.
Looking forward to a few years down the road when enough IE versions die to start using WebSockets for this :-)

At that point, this essay reads like EJB vs JS+REST. (at least if you translate the generalities to current common use cases)
I don't know how legit it is, but high end tires often advertise that there is craftsmanship involved in making them.
Or you can use Slack's open sourced version: https://github.com/slackhq/slacktextviewcontroller
https://news.ycombinator.com/item?id=9957083 ?
So it would be a 'simple' table dump ? Updated daily by adding only the changes ?

I would be interested. Although a service like ip-api.com is not expensive ($8 per month or so if commercial use).

The structure of the data seems very simple: ip address range plus a location, I guess. So maybe just dump as a simple csv text file ? Always easy to process.

You have to make sure the legal side is covered: how do you get your changes ?
I literally copy pasted from the other guy and added whitespace.
You Wouldn't Base64 a Password (Cryptography Concepts for Developers)
Does newsbeuter support filters?
One series (that I'll leave unnamed to not spoil anything) suggests that the limiting factor isn't habitable planets, but wars ended up being fought over limited availability of metal in the universe. You can build your own space ships and stations, but eventually the raw materials have to run out no matter what you're making.

There are of course other limits that may or may not be solvable, like most of that metal being stuck in relatively deep gravity wells. But it's still an interesting thought.
Show HN: Tmux plugin manager
Maybe, of course, but we don't know that, that's my point :) There's also a question of costs, and artificial stations could be totally insufficient to sustain a civilization in long run.
Contrarians, Crackpots, and Consensus
For anyone needing a collection of MIDI files to experiment with, here is an excellent dump.

http://www.reddit.com/r/WeAreTheMusicMakers/comments/3ajwe4/...
Also

> Ap­ple is of­ten cred­ited with prov­ing that de­sign ex­cel­lence leads to mar­ket suc­cess. Not re­ally. Ap­ple’s resur­gence is only in­ci­den­tally about de­sign. Mostly, it’s about care­fully se­lect­ing a ter­ri­tory of valu­able cus­tomers—in Ap­ple’s case, sta­tus-con­scious peo­ple with co­pi­ous dis­pos­able in­come—and de­fend­ing that ter­ri­tory tooth and nail. Ap­ple does not sell great de­sign. It sells de­sign that flat­ters its owner.
Or I just didn't know that. Thanks for the info. ;)
You can use Hotspot Shield https://en.wikipedia.org/wiki/Hotspot_Shield

I've generally found it ok. They can serve annoying ads if you use the free service.
Travis Ci Integration – Step by Step Tutorial
> A chapter it seems no one ever reads...

But is this a formal,normative spec or a dissertation ? because that's the main reason why nobody understand what REST is, because there is no paper about REST that is written in a formal way like spec should. If REST had clear and precise rules,then there would be a reference that acts as an authority.
Still got my ORIC-1, and a few Atmos' to boot .. the kids love 'em!
For Americans: sarnie == sandwich
PDF version:

https://github.com/mietek/software-foundations
I agree. It was inevitable as much of IT's hardest problems end up as duopolies or tiny oligopolies.
I'm not sure I want a free alternative. I want an inexpensive option that I'm pretty sure won't get acquired and shutdown, but also has reasonable enough revenue to remain in business, occasionally blessing me with new features.

A free service like locationkit (seen here a few days ago IIRC) looks OK, and I'm reasonably sure it's supported by revenues for other services from the parent company. However, even that feels like it might get shut down if it becomes too big a burden.

Something with a good understandable license that I can pay a reasonable amount ($5-$20/year, for most low-mid volume use cases) would be great, as long as I can really use it for commercial purposes. I had some high hopes for Yahoo services a few years back, but they seemed determined to plague everything with confusing or commercial-hostile licensing.
hi Aaron, I did briefly look at SlackTextViewController. But decided not to use it because the project contains many features that we do not need. Furthermore, it doesn't support usage on iPad.
>Never access anything but HTTPS websites. If it isn't available over HTTPS, don't go there!

I thought it was funny that that comment is on a http:// website.
Tons of devs are interested
I'm not over 60 but I'm too old for Scrum. Can anyone over 30 take that Scrum kindergarten serious?
I generally try to abstain from criticizing articles too much, but this one bothers me a little bit — mainly because it is one among many of the numerous articles and blog posts popping up nowadays that advocate for the same general behavior: "focus on yourself".

I felt uncomfortable after I finished reading this and looked up some of the author's other work. See the reviews of her most recent book here:

http://www.amazon.com/Slow-Love-Pajamas-Found-Happiness-eboo...

In addition to having nominating her own work for national awards, there's an odd discrepancy between the generally positive distribution of ratings and the sheer number of upvotes on the lowest rated reviews as sorted by "Most Helpful".

I feel that articles that encourage people to have higher self-esteem and more self-confidence are, generally speaking, a good thing; however, the problem starts occurring when the focus is entirely on yourself. I feel like this theme of "be good to yourself; you deserve it", "sorry not sorry", and "you don't need anyone else to make you happy" falls only on the ears of those who are already far too absorbed in themselves.

It's peculiar because (at least in my experience), I've found that the people who actually need to read articles like this are those who already give too much of themselves to other people, yet secretly wonder if they are too selfish. Whereas those who are too selfish read these articles and think, "Hey that's me! I need to quit letting other people walk all over me. I need to care about myself more", when in reality they need to move in the other direction and care less about themselves.
https://www.youtube.com/watch?v=B4c78PZRsHs
No need to be sorry and thanks for being polite on the internet :)
On the other hand, the infrastructure in dense areas is probably used to subsidize the more sparsely populated infrastructure.

In some markets, you'd have a new player pop in covering just the city at the actual cost of running the system in a densely populated area.

For cell networks, there's not as much market for a phone that stops working when you go 5 miles west.
Good counter. It's pretty much all ads these days with browsers being a delivery mechanism.
Would LOVE this, possibly in json? Id even consider hosting it for you.
I wonder how hard it is to just use AMQP in these scenarios
If you’re interested in learning Agda, you might want to check out Conor McBride’s courses, given at the University of Cambridge:

“Introduction to dependently typed programming using Agda”, 2011:

http://www.cl.cam.ac.uk/~ok259/agda-course/

Course materials:

https://github.com/mietek/agda-introduction

“Dependently typed metaprogramming (in Agda)”, 2013:

http://www.cl.cam.ac.uk/~ok259/agda-course-13/

Course materials:

https://github.com/pigworker/MetaprogAgda
One of the companies mentioned in your quotes have been bailed out by the government to the tune of 80 billion, but Tesla wasn't it.
We’re still catching up to Perl
Thank you for the intense clarification! The EU certainly is a strange and complicated alliance.
We're using MQTT extensively at Karma [1] as the communication protocol between our LTE devices and our backend services. It has worked really well for us, and we're super happy that we chose for MQTT in favour of our previous HTTP/JSON stack.

We're about to release a very detailed blog post about our MQTT setup on our blog [2], describing why and how we implemented our own MQTT server and how we hooked that up to our Ruby backend services and Redis. The post should be live somewhere this week.

1: https://yourkarma.com
2: https://blog.yourkarma.com/
I actually have done a lot of that with one of the gigantic gaming laptops. an Alienware M18X r2 in my case. I'd love to have gotten ECC ram in it but that's the only real issue I have with it. Weighs about 20ish lbs (9kg for you non-yanks). But I've run database clusters with qemu/libvirt to learn how to set them up, but my main use of that kind of setup has been to test builds of software on other operating systems.
The Not-So-Universal Language of Laughter
Filesystem mounts in user namespaces