skysight-inc/HackerNews huggingface dataset:
What are good queue replacements? My problem with activemq et. al. style queues is that monitoring them is much harder than a simple database. Ie. checking for pending items in the queue and also for debuggin processed items later. And somehow I don't "trust" these queues as much as a simple database. If I write a row to the database it is there and can easily be checked and used (no queue product has any comman line utilities or sql like general functionality to check the queue etc.)
The previously linked article also warns that do not use a database as the backend for the queue solution or you will have worst of both worlds...
I'm Collecting Daddy
Hey this is interesting! Did you notice a significant difference in performance using this technique over running the compiler from the command line? There has to be some overhead in memory, but performance might be acceptable.
You should probably cache down to .css files for production purposes, but that'll involve handling expiry.
Either way, it's a really cool trick though. Thanks to this, I might try to push my Sinatra image resizing script into nginx+lua instead.
Great insight. There's also a very good class about body language on Udemy (https://www.udemy.com/body-language-for-entrepreneurs/). Body language has a huge impact in the way other people perceive us.

A cool exercise is having a conversation only by listening very attentively to what the other person is saying (never, ever, breaking eye contact, being present all the time) and just making different facial expressions without saying a single word.
> Do not add stupidity like "like"...

Ironic, is it?
> When you blindly abide by the rules you will never reveal people abusing this system

Inspectors general live to find abusers of the system, to pursue and to convict them.
Having done this (years ago), there are good reasons sometimes. At the time I was working on a relatively complex hotel reservation system with a distributed database and the need for batch execution of background processes (things like sending emails and digital fax from a queue).

The master interface to the database was a series of PHP functions since the data massaging that had to occur (to facilitate correct interaction in multiple human languages across disparate timezones versus user preferences and time of day, etc.) ruled out direct DB access from anywhere else, back-end processes included.

I think the end solution was something like 'every minute run PHP X from cron, which checks if there are jobs, if so successively spawn children to handle'. It was basic but it worked. Godawful pain with MySQL replication over lossy Chinese internet WAN ... never again.
I wish I could eliminate 'like' from my conversation. I do try and make a conscious effort to reduce 'umm' and 'err' but someone 'like' keeps slipping into casual conversation.

I'm much better in professional settings and I have a tendency to pause when stuck, rather than fill in with filler words. Casually and socially I'm much more likely to fall back on useless terms.

It is a very tricky habit to escape. I wonder if you could build an all for that, that listened to your speech and buzzed when it picked up filler words?
How do you synchronize multiple trucks? One company wants their truck to leave at 6pm so something will be available the next morning. Another nearby needs to wait till 6:30 before they're ready to leave. Where's the train?

Perhaps trains would form spontaneously as automated trucks encountered each other? You can't plan it too tightly because one might be late. So it sounds like every truck will still need a driver ready to be the leader or on their own.

Keep in mind that one reason trucks are so much more popular than rail trains is their flexibility. One by one as they're ready and different start and end points each.
Nice!

If you missed it, there was also a similar demo but with Windows 95 just a few days ago, http://win95.ajf.me/
Experiments like this either fundamentally don't understand what it is about a novel that makes it wonderful or do it for the (excuse me) novelty of it.

A novel that works on any sort of level does so by means of compelling, empathetic characters, relatable tones, great storytelling, and rich language. Crowdsourcing fails to be more effective than a single author at all of these elements.
This particular cat is out of the bag; people shouldn't be encouraged to commit this crime in the future with the promise of fame and/or fortune. Publicising this sort of thing gives publicity-seekers exactly what they want.
can... someone explain what is going on here?

projects do suffer less merge conflicts the larger they are, and stevebmark is literally declaring this project as a whole unmaintainable from the word go, and his proof is that the story started with one line, and the pull requests to get the story off the ground are conflicting.

I don't understand what's going on here, I don't understand how anyone can support this position. This is crazy! I am very confused!
I don't know if his story is correct or not, but it does make more sense than any of the several, constantly-changing official versions we've been offered.
> I never see a good DB migration/evolution story

There's Flyway and Liquibase. Having that said, once you have branches, triggers, set up subpartitions and have PL/SQL blocks that mix DDL and DML things aren't easy anymore.
http://arresteddevelopment.wikia.com/wiki/File:3x06_The_Ocea...
Definitely, although there can also be refactoring benefits to look out for. In the article example it would be much easier to change the default popup window size (800x800) across the project if they're all using the same variable.

On the other hand, tools like CheckStyle can make people do some strange things when they take it too literally.

I once reviewed code that defined: static final int ONE_HUNDRED = 100;
And flat UI elements. And you interact with a single program that takes up most of the screen. The more things change...
I find it hard to believe, in this version and the official version that Osama was killed and not taken alive. If I was Obama or director of CIA, I would have asked the boys to bring him in alive.
Huh. Looks like I've wrongly attributed that phrase for pretty much its entire lifetime!
My conclusion is: if there were no Python 3, Python would be much better
Ninja Blocks – What’s been happening, what’s happening next
Printednest: a community built around 3D printed bird nests
Could you expand on "If other people interrupt, contradict, or insult you, ignore it."

Do you mean if you're in mid-sentence and someone interrupts you that you should continue talking as if they had not interrupted? I have someone I have to deal with who does this a lot, and I really struggle with it. I have pointed out the interruptions, and need to do so again, but interested to hear your point of view (as I really liked your points above)
> "Pho - Vietnamese rice noodle soup", and edit it to say "Pho - Vietnamese rice noodles in beef broth" instead

But in your original post you included "pho" in the list of words that restaurants use to replace the word "soup." In this example "Pho" is not being used as a replacement for "soup."
This TED Talk by Julian Treasure is a great starting point:
https://www.youtube.com/watch?v=eIho2S0ZahI
First time I read this article - May, 2015
How is that your conclusion? If you set up proper monitoring, you'll be notified and able to turn things off by the time you've been cost $10. I would hardly call that catastrophic...
My attempt at humor.
You can! http://en.m.wikipedia.org/wiki/Mental_poker
The "not invented here" pendulum has swung a long way, and I think that there's now a real, hidden anti-pattern in industry: "never invent here".

At some point, it's important for us as programmers to indulge that "I could do this better" instinct. If you're right you could make a real contribution to your employer or the community. If you're wrong then you'll still be a better engineer (and possibly a domain expert) for the effort.

If everyone embraced "not invented here" as a philosophy then the whole industry would stagnate.
It's nice to notice that top three actually does not have anything to do with programming. Those are absolutely general issues when ever doing anything at all.
If you're a dev and have never read these two wikipedia links, I highly recommend it.

http://en.wikipedia.org/wiki/Code_smell#Common_code_smells

http://en.wikipedia.org/wiki/Anti-pattern#Examples
You don't have to have 'at fault' on order to have insurance.

Insurance responds to the rules of the game. If the rules of the game are that damages from autonomous vehicles are capped, or that multi-vehicle collisions automatically share costs, then the cost of the insurance premium will adjust to that reality.

It takes a leap of thinking to get away from the current obsession with precisely allocating fault in vehicle accidents, but it's entirely possible to do.

Out of all the issues, insurance is the easiest one to solve.
i am not a smart speaker, but what helps me is to take notes of the main point of argument; this helps me to focus and to address the issues that have been raised.
> You are mutating state with HTTP GET

I agree. However, this is the first API I've seen where a mutable GET actually makes sense. Drawing a card is definitely a GET. How would you do it instead?
e.g. China, Russia, North Korea, Saudi Arabia, etc.
For anyone interested in learning more about the Open Assets Protocol, the official specification is here [1]. It's relatively short, and really quite readable.

The reference implementation is in Python [2], but I've been working on a JavaScript implementation [3] that's available via npm [4]. It's mostly complete, but I would love help from anyone interested in getting it over the finish line...

[1] https://github.com/OpenAssets/open-assets-protocol/blob/mast...

[2] https://github.com/OpenAssets/openassets

[3] https://github.com/andrewfhart/openassets

[4] https://www.npmjs.com/package/openassets
Sat phones are popular in that part of the world.
Emacs Script Pitfalls (2014)
To add to that last point, the most important thing to keep in mind when expanding your vocabulary is knowing when and when not to show it off. Few things come across more poorly than using a "smart" word when a simple one will do just as well.
I read A Big Ball Of Mud while in high school, left a big impression on me. Unfortunately, I've since seen that my projects all gravitate towards it at the end.
La radiación de las estaciones de base, altera la actividad de las proteínas
Are people really not capable of realizing when they're being trolled anymore? Was the email address not a big enough clue?
How could they forget premature generalization?
It's common practice on HN to flag articles with the date of creation--he's just pointing it out.

The title will be edited shortly, I'm sure.
Show HN: Website launch checklist
Thanks. This is very interesting, but different from what I used to believe about Haskell (as you can imagine, I'm not an active Haskell programmer). I will have to revisit my ideas.

I still wonder how this would work with scope extrusion of references. Consider this little Ocaml program

let ( impure, pure ) =
let i = ref 0 in
let impure x = ( i := !i + 1; x + !i ) in
let pure x = (
i := !i + 1;
let res = !i + x in
i := !i - 1;
res - !i ) in
( impure, pure );;

which returns two functions called "pure" and "impure". Both are of type int -> int. The function "pure" is computing the successor function (let's ignore corner cases), but using hidden state. The function "impure" is using the same hidden state, but is clearly impure.

Is it possible to do the same in Haskell? By "the same" I mean giving "pure" the type int -> int, despite using hidden state that is used elsewhere?
The FCC is pretty good about cracking down on illegal transmitters--I had a friend in high school who thought it would be a funny idea to set up an FM transmitter with one or more orders of magnitude Tx power than is allowed, and it only took the FCC a couple of days to come and seize his equipment, with a very stern warning. I would imagine if we had been older, he'd have been looking at a multi-thousand dollar fine, for good reason. The FCC really is not to be taken lightly.
Hi,

Very nice tool. Do you have any plans to publish this as an API? That would be really useful.

Thanks
Couldn't these floating cities get completely owned by tropical storms, hurricanes, etc?

Umm... unlike cities on land, which never have problems with those?
I understand that Microsoft might have felt they were backed into a corner on this issue but...

This is a horrifically bad thing to do.

When a user can change an option as simply as selecting a checkbox and that option doesn't simply cause some actions to return a clear error but instead causes those actions to dramatically change runtime behavior without any change in API behavior, that's bad, bad news.

Deploying and supporting software for hundreds of thousands of customers is really annoying and this type of obscure, broad reaching option is the biggest reason why. Every week I receive a bug report from a customer that turns out to be a minor setting I've never heard of, preventing installation, or blocking some system resource, or changing file system behaviors, or network behaviors etc.

If there's a clear error code that reports what option is blocked and why, then it's annoying but manageable. When there's a massive change in behavior but nothing captured in any log, crash report, etc... then AAAARRRGG!!
Exactly. As you try to write tests for things that break you may find that it's actually really hard to write tests. You need to initialize a database, or your code depends on X, Y, Z, and they all need to be setup.

This is an opportunity for refactoring.

Try to refactor just the code that's affected by the bug in a way that lets you inject any dependencies that it had. You can then inject Mock, Fakes, etc, and validate that the code your refactored out works as expected.

You've now added tests and refactored your code to be more maintainable. A 2 for 1 punch.
#5 is a classic example of the Expression Problem[1]. Are you trying to add more shapes or more functions that operate on shapes?

http://c2.com/cgi/wiki?ExpressionProblem
SEEKING WORK
Location: Karachi, Pakistan.
Remote: Yes.
Fulltime: No.
Email: dayem.siddiqui@khi.iba.edu.pk
Technologies:
-HTML
-CSS
-SASS
-Bootstrap
-Javascript
-Jquery
-Wordpress
Ahh. My apologies then.
I run XUbuntu in Virtualbox on my Air as my primary desktop and I rarely touch OSX, no big deal and does it really matter? I could use some more memory though but most of the time it works just fine.
A PUT would work, with action=draw&count=2, or action=shuffle, and so forth.
Link to the PDF of the paper:

http://research.kumpf.cc/2015-Buoys/2015-Buoys.pdf
I don't doubt that the scripts are useful.

What issues did you run into trying to automate the setup of an OS X environment?
I find it hard to believe that you can sell an electronic product that has that poor a behavior (it's emitting that much RF noise); this is the sort of hardware that really ought to be clamped down on, hard. RF Spectra is a shared resource, and a rather limited one, and it only takes one careless neighbor with poor electronic equipment to wreak havoc on other devices. If this lawnmower is getting used in the U.S. I would really like to see the FCC pay this manufacturer a visit.
> A better parallel would be not being able to replace the tires on your Audi

You're right actually.

Now, when was the last time anyone who didn't work at/own a tire shop, mechanic's garage change their own tires?

You need very specialised tools and specific knowledge/experience to change tires on cars - particularly if you want them balanced/aligned so they last more than a month.

So how is this any different?
Most of the time I can do it better because my problem space is so much smaller.

And sometimes I look at components and I'm so disgusted by the code or the API that I merely use it as an example and re-write the code for my own purposes. Just because somebody put it on Github or built a package doesn't automatically make the code good.

Most of the "not invented here" I come across is from developers who never look for 3rd party solutions. It doesn't even occur to them. And it's usually obvious stuff like XML or JSON parsing! Which is why the message of "Not Invented here" is a good one to repeat over and over.
yeah! I'll be launching an API soon. (in a week or two)
Fire in the Valley: The Birth and Death of the Personal Computer, Third Edition
PUT should be idempotent, though.
It's not a topic that lends itself well to what you're asking for. Fix some typos; delete some unnecessary sentences; pepper it with an SAT word or two. What else can you do?
Inventing an algebraic knot theory for eight year olds (III)
Also updated the descriptions on double quotes, the only purpose of quotes is escaping.
Brief history of the 160 character length of SMS (2009)
I inherited a similiar system. It was painful to say the least. I didn't realise how painful until I started using proper queueing systems and Sidekiq.
React TDD Example: Building an Accordion with React,Jest,Gulp and Test Utils
> Drawing a card is definitely a GET.

I see where you're coming from ("I'm drawing / taking / GETting some cards"), but drawing cards is not an idempotent action. I would implement it as a POST.
I don't know... the only bit of that which struck me as "artificial" or "try hard" was using the word "erudite". The word "erudite" feels a bit pretentious. But the rest of your version sounds pretty reasonable to me.

That's why I say, "vocabulary is important" but that it's not about using "big" or "fancy" words. I believe that they key point in using vocabulary well is precision. If you are using words like "stuff" other filler, where there are more precise words that could be used (in the appropriate context) I think you're better off going for the more precise version, IF you can do it without sounding pretentious.
If they can't manage to deflect questions about one little misplaced helicopter, I rather think our intelligence apparatus is losing its touch.
yes, as long as they are invoked using the PATH variable, (and not, say, by using the absolute path to them) it will work.
Apple cheated too by renaming NeXTStep to Mac OS and using its version instead. :)
Here are Amazon's plans for delivery drones
I came across this, looking for the length limit for tweets (which are 20 for username/handle, 140 for content).
New York has beaten London in a key Bitcoin race
What it’s like to run Google’s $2B venture capital fund
MIT Challenge - The 4 Year curriculum done in a year.
Ad tech company Rocket Fuel just received a bizarre acquisition bid
If they do it repeatedly and it's making it impossible for you to communicate, a simple "excuse me" will do. If they absolutely will not stop interrupting, just excuse yourself from the conversation.
The UK (BBC), Australia (ABC), New Zealand (Radio New Zealand)
For sure -- Microsoft needs to keep Windows advancing, but businesses will remain cautious and delay rollouts of major upgrades.

So there will still be major versions, each with their own security patches etc. -- I don't think there's any way around that.

At least this lets Microsoft keep more people up to date and minimize version skew -- "You want to upgrade, we want you to upgrade ... by all means go ahead and upgrade!"
Apple Top in China as Smartphone Market Dips for First Time Since 2009
In theory Hinduism, Zoroastrianism, and the ancient Greek, Roman, Germanic, Celtic, Norse, etc, religions, are all descended from https://en.wikipedia.org/wiki/Proto-Indo-European_religion - however, that is so long ago, by the time we get to the historical period, they have diverged a lot, both due to their own organic development in different directions, and also due to the influence of differing non-Indo-European cultures - such as Dravidian culture in the case of Hinduism; Semitic and Sumerian cultures in the case of Zoroastrianism; Etruscan culture in the case of the Romans
How Telecoms and the Indian Government Stop Net Neutrality in Its Tracks
This justifies my setup: $2000 speakers (noticeable upgrade from previous $500 speakers), $100 receiver amp from eBay, noname cables and accessories.
Why Games Journalism Should Update Its Thinking
How to Make Simple Indian Chicken Curry
Android Users Can Now Pre-Register for Upcoming Apps on Google Play
Thought about that as soon as I saw it returning rasters. SVG would be best offered alongside as an option; it requires more effort to use than just a png. Perhaps a 'vector' to accompany each 'image'?
Apple Expands Its Renewable Paper and Energy Initiatives to China
The Tech Journalist and the PR Pro in the Age of Open Source
Moving from AWS to DO will force you to handle a lot more devops/IT stuff to work around network and api reliability issues. So to make that worth it, it'd really depend on how much money you are looking to save and on the IT/devops resources you have available.

AWS may be more expensive, but perhaps instead of migrating away from AWS to another provider, you can start using AWS more efficiently. Most people I've helped out in similar situations were able to reduce their AWS bills between 50-75%.
This is the interview he refers to with Durrani in February (https://www.youtube.com/watch?v=7UeWkBYfJBM); I remain as unconvinced now as I was by Carlotta Gall's clearly one-source one-note story or the unconvincing psychological analysis of the Pakistan army from this 'retired source', (why couldn't he just go try to wangle an interview with the informant?) His contention that the Americans were running Jundullah in Balochistan was eventually made out to be unfounded. This is plausible but unfounded, it doesn't ring fully true just yet.
Organs-On-Chips Emulates Human Organs for Better Biomedical Testing
> God Class

I don't understand how to avoid this even if you break it up in smaller classes. You still need a point of entry where the logic begins and where it is decided which components to use. ThIs always means some kind of Manager or Main class for me. How do I fix it?
The WordPress Theme Lock-In Effect, What Is It? And How to Avoid It?
The lawyers and courts are what makes the existence and power of corporate organizations a reality. Contracts and articles of incorporation exist under the assumption that there will be litigation.

TANSTAAFL...or in this case you can't have it both ways.
I would say that over the past 10 years or so, especially with the rise of frameworks, PaaS and web API's, "never invent here" has become a much bigger and more troublesome anti-pattern.

Especially since the latter seems to have a much deeper and irreversible impact on the engineering culture.
I don't see it as totally different. The vast majority of Windows users get their license with their PC purchase. That's where Microsoft makes the bulk of their money. I suspect most users never upgrade from that version unless they buy a new PC. So giving free upgrades is not a big loss for Microsoft; it was never a big income generator.
I'm not totally sure what you mean by "external proofs will ultimately be neglected".
Ski Lifts in a Tropical City? An Indonesian Answer to Gridlock
Uber Funding Talks Highlight the Speedy Pace of Investments
Capitalism is actually a pretty efficient antidote to that. The way it works is that as a field ossifies into one where everyone is focused on looking good rather than actually being good, the potential financial returns to defecting from the consensus social order and doing something different increase. At some point, someone's bound to say "The emperor has no clothes!", do something that people actually want, and make out like a bandit.
مقاول بناء الكويت – مؤسسة فهد المسيليم للمقاولات العامة للمباني
Add Graphene to Spider Silk to Create the Strongest Fiber Yet
Can someone show or explain:

1. An example of how this could be used.

2. How to do something other than just shuffling the cards.