skysight-inc/HackerNews huggingface dataset:
So you have a PC at home? Those Dell LED monitors are really nice.
Here is a direct link to sketch https://sketchboard.me.
Realtime collaboration can be checked out by sharing the generated url.
http://sketchboard.io is the landing page. Tool is mostly targeted for
software developers, to support lightweight software design.
Any feedback is highly appreciated!
Sad, but they've got basically forced to take action by the US and UK agencies.
This is somewhat worse than the cold war because the US and Europe do consider each other to be allies, not enemies.
> 1. Note that there are no plans for postgres to implement a specialised UPSERT. The plan was/is to implement MERGE, which is a fair bit more generic (especially with the 2008 and 2011 extensions). In fact, TFA very specifically disagrees with this route in his conclusion.

Does the SQL standard actually guarantee that a MERGE is atomic? After all the MERGE statement involves a subselect which seems to be about as concurrency safe as a SQLite replace insert which a join.
Isn't upsert a bad design smell though?

If you have high concurrent updates, you should be dealing with append-only database design and collapsing into a view to query, like Datomic. All the locking required for atomic upserts would wreak havoc on performance anyway no?
Cutting through red-tape with Stripe
>>Monitors: 2x24" IPS dells vertical, with 30" dell IPS horizontal in center.

This setup requires a huge desk or system to hold it, doesn't it?
Replying to myself, but for those who haven't tried Python Tools for Visual Studio - http://pytools.codeplex.com/wikipage?title=PTVS%20Installati... - take a hard look at it. Once you get it working (which is a bit annoying with flask), its a beauty for debugging complex object mutation/state problems, etc
> 2226 words and not a single mention of CREATE RULE.

Two reasons:

a.) same concurrency problems.

b.) defined globally for the table. Completely useless for the kind of things I need an upsert for.
On a side note, what do you do at 105mbps that you cannot do at 50mbps?

Unless maybe you have a multi user household.

I pay $50 for 5mbps. It's highway robbery.
I think we can state they weren't copying each other.
This is about Torvalds being anti-GPLv3.
You should really check Fortran 2003/2008 :). The new Fortran is actually a pretty modern language - modules, coroutines, functions in functions etc ...
> GP's point was about defaults

Granted, but he then describes the difficulty of typing `hg log | less`. And defaults cut both ways, I still can't fathom why `git log HEAD` would display the whole repository history.

> It does for me, with git 1.7.9.5.

Doesn't for me with git 1.8.5.4. Regardless I removed that part since it's not the gist of the issue and the official documentation asserts it should.

> I have never understood why this is useful. Why not just name your heads something, anything?

Why is a meaningless name better than no name at all? Why is git's default behaviour of losing unnamed heads altogether better than just leaving them alone?
Ask HN: Just got to SF, what should I do?
So I'm going to be in San Francisco for the next month, and since it's my first time here I was wondering if any HN peeps in the area have recommendations for anything I should see/do while I'm here.

Also, if anyone wants a coffee on me, let's meet up!
I think the key point is that ability to help ensure survival and reproduction of great-grandchildren matters (evolutionarily) half as much as the same of grandchildren, which matters half as much as the same of children. Though in principle there's nothing preventing continued ability to have children in later years...
Retina Macbook Pro - Objective-C/Javascript - Git - Xcode/Sublime2 - Parse/Firebase

If I could investigate one thing it would probably be an external display but I haven't found anything thats retina and affordable.
* retina macbook pro
* topre keyboard (http://elitekeyboards.com/products.php?sub=topre_keyboards,rf104&pid=xf01t0)
* 27" Monoprice monitor (http://www.monoprice.com/Product?p_id=10509&seq=1&format=2)
* Apple magic trackpad
* Linode running Archlinux
* iTerm2
* vim
I love the idea of mesh networking to decentralize the net and using OTS solutions to do so. In fact, I've pushed for it on HN. But, here are a few problems:

* Before a "theory" website with cheesy blog/helloworld/contact images http://openlibernet.org/index.html#contribute, come up with a solution. The U.S. has been through several years of executive and legislative branches led on both sides by activists with good intentions and no real, thought-out workable solutions. Beyond bumper stickers of hope, you must have solutions, truly sell them, compromise on some keys points so you have enough people on board, and implement. We don't need a page telling us about a net we can't use yet.

* Bitcoin. Don't tie something completely unrelated to a networking solution.

* To make it work (really), you need points on the network that can do short and long-range. Wifi only is not enough.
you need more competition on isp's on US. I live in Mexico, every year I get more Mbps on my plan because the competition is pushing for better plans at lower prices... I just receive a letter from my company notifying how many Mbps now I have, and why is better to stay with them...
> If you have high concurrent updates

When do you not have concurrency?

> you should be dealing with append-only database design and collapsing into a view to query, like Datomic

True, but postgres is very bad at that. So you need to work with the tools that postgres gives you. Yes postgres currently does not give you an upsert but an upsert is much closer to postgres' design than an append only database that denormalizes on inserts.
Then it should really make sense why they are purchasing a company that does login better.

Side question: What is long and convoluted about Google's account management? It's one account with a single login which works across all Google products. Seems pretty straightforward to me. It only gets a bit more complicated if you try to disable parts of your account, but that's not the normal use case.
* No name Intel Core 2 Duo ~2GHz, 8GB RAM, 100GB & 500GB 7200RPM fixed disks, 25" & 19" monitors, Microsoft 4000 keyboard

* Windows 7 Pro

* C#, SQL, JavaScript

* SVN, Git

* Visual Studio 2013, Textpad, Notepad++, SQL Server Manager

As a bonus entry

* Beyond Compare
Transpiling is also known as source-to-source compilation.
Surface Pro 2 (256GB SSD, 8GB RAM)

2 x 1920x1080 monitors (one via displaylink, other via USB) + Surface Pro screen

Windows 8.1

Virtual Box running:

- Ubuntu

- Apache or Nginx (depending on project)

- PHP or Node.js (depending on project)

- MySQL, MongoDB, Redis (depending on project)

- Samba network share

PhpStorm (running in Windows to Samba) & vi in Ubuntu

MySQL Workbench & MongoVue

Node with Less compiler

Bitbucket

TortoiseGit

Amazon EC2, S3 & RDS

Putty

Spotify

Experimenting with Cloud 9 for Node & PHP projects

If there was one thing I would change, it's hiring someone and delegating. I'm the bottleneck now, not my tools.
Yup. I tend to use my home PC for gaming and development on personal projects.
Or "chair-throwers"?
Actually, its all sitting on top of a 46"x23" inch crappy IKEA VITA desk. Stands for side monitors hang off the desk by about an inch on each side but its not bad at all :) A better desk is definitely something I've got in planning stages...
Two vertical 27" displays on a Dell workstation running Ubuntu x64. Vertical is a great setup if you primarily read code and reference materials. Four virtual screens are mapped on those, the primary being a browser on one display, and fullsize terminal window on the other.

A dedicated development server box running several chrooted systems in a tmux session on Ubuntu x64. I'm in embedded and need to use toolchains of different vintage for legacy products, some available only in x32 flavors with library requirements from GWB 1st term era. The box handles my Hg repos which are backed up nightly to tapes in two company branches.

A Dell 13" laptop with Windows, mainly for company's time reporting system which is Windows only, and for occasional travel.
Read the damn text:

> While this text singles out Microsoft, other companies are equally evil. For example, porting the diet libc to Solaris would help Sun, noone else.

---

> A professional programmer is OS agnostic

While this sound all neutral and reasonable, this is silly on two counts:

First, different OSes have different qualities. A professional programmer isn't agnostic, she uses the best tool for the job.

Second, licences themselves are not equivalent either: they dictate what one is allowed to do with the software. A professional programmer isn't agnostic, she warns her customer about those issues.

If the customer wants to use a proprietary OS anyway, then you have a moral dilemma: help a proprietary vendor, or don't help your customer. Maybe the best choice is to write the software anyway. But don't try and pretend it doesn't suck.
It seems like they are charging $250 for unplugging and plugging in a modem. Sure, most people will pay it without thinking twice. But is it really necessary to inflate our already high broadband costs?
Unfortunately there are even worse consequences to this wide-spread false belief then this article suggests. First, the wealthy tend to use this belief to justify the large wealth gap between the haves and have-nots. More generally, and worse still, this belief makes it very easy for evil to be perpetuated. It can be used as an excuse for doing bad things in the name of "Justice". And it allows extraordinary corruption b/c it is so hard for just-minded people to comprehend that people can actually do bad things knowingly.
MacBook Pro, 13", Late 2011. Basic model (no upgrades done), 4 GB, 500 GB HDD, i5

OS X Mountain Lion (Mavericks won't install for some weird reason)

Python, HTML, CSS, JS, C

Sublime Text 2
US ISPs seem to offer faster speeds every year too. But I of course agree that they generally need more competition. Verizon finally lit up my block for FiOS and I'm getting faster speeds at 25% less cost.
Thanks for mentioning the "Python Tools for Visual Studio". We are working to establish Django+Python environments and needed suggestions for good IDE's since majority of the devs are on Windows.

How do you compare Python Tools for Visual Studio to PyCharm?
> according to my tests, it has no concurrent UPDATE problems

You have concurrency updates with deletes as well as inserts. That's literally the worst way to implement upserts currently. Even CTE's are superior to that.
Also, one of those 27" Dell monitors is in portrait and the other landscape. Perfect for coding. Love them!
I stand corrected and edited my comment accordingly. Thanks!
Still seems broken.

1) Navigate to http://lawnstarter.com/signup/

2) Enter my address, Google Street View of my house shows up

3) "Is this your address?" has "Yes" highlighted in green

4) I click the green "Yes" element, nothing happens

How do I get to the next step?
I have 150mbps down. I download files at 18mB/s, vs. 6mB/s.
I supposed there is no morality in the world that say you shouldn't be able to charge 150 bucks or whatever price for 5 megabits, but the quality of life would improve immensely with high bandwidth.

That is, the difference between slowly browsing the textual internet forever on dailup and watching khanacademy youtube videos with a crappy DSL connection. Imagine that everyone are on gigabit connections? What would that entails in term of increased well-being and economic propserity to humanity?

Cable companies don't seem to care about anybody but themsleves. Not the future of humanity, not the employees, not the concept of enlightened self-interest, not even the rich. They only care about MONEY.
we're all best buddies now,
please unlearn the Aaron Swartz matter

regards,
the staph
For most areas, that is wrong.
I have been in the same area for a decade, and got offered 8mbps for an increased cost 8 years ago. That's it.

Why? Because there is no competition.
A row lock is released on a delete.
8gb thinkpad t430s w/ 128gb ssd
Django, python
Emacs
Rackspace cloud servers

If I had more space, I would add an external monitor.
+1

When you have a huge investment in your data, a conservative approach to database servers is full of merit. Once I began to understand concurrent design my years of MySQL experience were suddenly curdled. I had to switch to a server/community that care about integrity, and do not play fast and loose with new features. It's not a popularity contest.
What you are suggesting is a loop where you try update/insert until it succeeds. Because there is no lock involved there is no guarantee that it will ever finish. That's exactly what's being mentioned in the blog as a workaround until an upsert exists.
Show HN: Insultingly simple configuration for Python applications
Hi everyone, I created a simple tool to help me configure my Django apps. I've open sourced it in case anyone else finds it useful.

Lazyconf prompts a user based on a predefined, edited, git-commitable schema. It then generates a data file, ignored by git, which can be accessed through Python, or through the command line.

Question/Feedback encouraged!
PC specs: anything which can run ssh and is at hand when I need it

OS: Any Unix/Linux will do

Source/Version Control: Whatever is used where I have to do some work

Editors: vi(m), no plugins

At the end of the day, I really only need some ssh, screen, a halfway decent shell, any versioning and a vi.

Also: Pen and paper to take notes and ANY simple GUI to run a browser is appreciated.

If I can have it, I'll take it all in UTF-8, please. :)
>> but I haven't found anything thats retina and affordable.

Not even those high-end LED backlit monitors? What about Apple's own cinema displays?
I never understood how can one write anything on 13" screen.
I hadn't heard of that, and it does sound like a nice feature, but it still seems a little hacky compared to Git branches. At best, it would be as good as them, but then why not stick with the original?

Oddly enough, I find myself liking the simplicity of Git here. You can do pretty complex stuff with it, but having only one type of branch seems to help some. That, and the local-only stashsets, which seem to be intentionally kept as simple as possible. In Mercurial, you have named branches, unnamed branches, cloned repos, bookmarks, maybe some other stuff that I don't know about, and I'm not really sure how they all interact and what's used for what.
So? I guess it would be better if they renamed it an "activation fee"?

Seems likely it's just an example of price discrimination: people who need more than 50 Mbps are probably willing to pay a premium to get it.
Not my post, but I also have 105mbps. In my neighborhood, the 50mbps connections share a node, while the 105mbps is on a different node.

Between 5pm and 11pm, the whole network gets over-saturated, except for the 105's.
Work:
Home built standing desk, Kensington Trackball w/scrollwheel, MS Ergonomic 4000 keyboard, second el cheapo screen, iMac 27" (2008), Mavericks. Latest Vim, git, and virtualbox. Virtualbox machines all provisioned w/ ansible, and simply rolled back manually rather than futzing around with anything more complex.

Home:
Second hand ikea desk, Samsung chromebook running Chrubuntu/awesomewm. TypeMatrix Keyboard, wowpen-joy vertical mouse. latest vim. git.

Mostly all coding in python/flask. Also plenty of BASH, JS, and the usual HTML/CSS.

At home, I'd really like a more powerful computer & bigger screen. One day. Perhaps soon.

At work, I'd really like a TypeMatrix Keyboard, or a TruelyErgonomic (Or Kinesis Advantage...).

At home and work, I'm using the 'Workman' keyboard layout.
What does a $250 upgrade fee have to do with that? If anything, shouldn't high fees encourage competition?
Yes, exactly. It is basically a time machine. A close reading of some federal compliance laws basically requires either this sort of history tracking or caching of every report ever ran, as the auditing requirements often stipulate needing to be able to "see how the report appeared at the time it was generated".
Managing diabetes with data science
They were surely already doing this, just making an issue about it in the press to score some political points.
Simple and effective. The "chat" window stays open and covers the toolbar UI even after done chatting.

Maybe it should either stay open or close automatically but with some notification UI.
openbsd does have loadable kernel modules

http://www.openbsd.org/cgi-bin/man.cgi?query=lkm

LD_PRELOAD and friends are also ignored on linux for setuid/setgid binaries, otherwise privilege escalation would be trivial, just start any dynamicly linked setuid binary with LD_PRELOAD and go to town.
This function will not work concurrently.
> The GNU/FSF mindset is one of "You're either with us or against us" - but over here in the real world, things are not so black and white.

That isn't in the least true. You should be very careful when trying to decode someones mindset because now you are putting words in someones mouth that never was there in the first place.
I find it odd that he described Ready Player One as "excellent", yet is excited about VR. Maybe he wasn't paying attention, but Ready Player One is in part a critique of VR. Notice that the real world has decayed quite a bit because of neglect; most everyone avoids the real world and escapes to the OASIS (the VR). And the book ends with the protagonist being happy enough that for the first time in as long as he can remember, he has no desire to log back into the VR.
For example, it may be done with the satellites, which are sent by the community. Kickstarter already helped similar projects.
I've been using the I3 window manager with Xubuntu for over a year now and have really grown to like it. Definitely worth checking on if your looking for a keyboard driven WM. http://i3wm.org
>>this seems to become cold war part 2.0

Based on the Snowden leak, I don't think the USA knew Cold War 1.0 was over.
8gb ram, i5 2x 21" monitor, windows7, sublime text, nodejs and Digitalocean vps
GPLv2-or-layer is effectively GPLv2 plus recipient-friendly features. It is NOT suitable for the intended purpose of GPLv3, which adds restrictions on the recipient (for the benefit of 2nd-order recipients of derivatives).
Main Development Hardware:
* i7-3930 @ 3.2 GHz/16 GB Ram/240 GB SSD/1 TB HD
* NVidia GeForce GTX 680 (For CUDA programming)
* 24" 1900x1200 Dell monitor on LCD Arm
* Quickfire Keyboard
* KVM Switch (for linux/mac secondary systems)

Software:
* emacs (in evil mode/development wiki in org-mode)
* zsh/tmux/git/cmake
* 99% of time programming C++. Compilers: Visual Studio 2013 (main)/Clang (secondary)/gcc (secondary)
* Windows 7 (main)/Linux (secondarily)/Mac (secondarily)

If I could change one thing? Faster compile times!!!! Anything that would improve turnaround time would be a huge productivity boost for me. I still think C++ is the right language for my project (vision related), but sometimes I dream about using a language with blazing fast compiles.
http://www.gnu.org/licenses/gpl-faq.html#VersionTwoOrLater

:
GPLv2-or-layer is effectively GPLv2 plus recipient-friendly features. It is NOT fully suitable for the intended purpose of GPLv3, which adds restrictions on the recipient (for the benefit of 2nd-order recipients of derivatives). But it is better than GPLv2, and the best it can be without time travel. V2OrLater code can be incorporated in V3 code, but can also be incorporated in code that is less GNU-sense-of-Free than V3
I'm not usually one to stand up for big businesses (especially telecoms companies) but you're being ridiculous.

>> "watching khanacademy youtube videos"

You don't need crazy fast internet to watch YouTube videos. I've been watching theme fine since I was on 1 mobs broadband. And do you really think that if we suddenly have super fast connections people will spend time watching educational content instead of porn and cat videos?

>> "Cable companies don't seem to care about anybody but themselves"

They care about their shareholders and maximising profits. They are running a telecoms business not trying to improve humanity!
Don't you find that it should be at least somewhat commensurate with the work required though? $250 to set the value for speed rating from 50 to 105Mbps on the backend service menu and then reboot the router; doesn't that seem a little bit like they might be playing on peoples lac of knowledge of the systems involved?
Thanks! True, chat window could automatically close after leaving the chat.
A Dell Inspiron, Intel i5, 4 GB RAM with 1TB worth of disk space.
I run Windows 8.1 Pro - love the clean look. I use Vagrant for coding - got different boxes for the different projects I work on. 2-3 boxes for coding on Flask(Python), Docker(Go) and various computational math tools(Numpy, Scipy, Octave, Sage, Julia, R, F#, Haskell) for MathHarbor, one box for some consulting gigs using Rails, and another for hacking on IPython. Use Git for VC. Sublime Text 3 is my editor of choice, but I don't use any plugins, for now.

If I could change one thing..that'd be the machine itself. Would love a Macbook.
Think of it from an environmentalist point of view: this is a call to boycott companies that harm the environment. You don't have a problem with calls for boycott, do you?

There are other examples. The computer industry for instance is very polluting. On the other hand, computers are very useful, and very convenient.

What to do?

Limit your consumption of computers of course. This means, among other things, do not buy a new cell phone every 1-2 years. This also means, boycott companies who perform planned obsolescence, (this includes Apple). A sufficiently massive boycott could force those companies to rethink their position, to a point where even people who don't care about the environment won't buy so much useless upgrades.
@eli- no, because Comcast et al actively suppress competition a la muncipal networks.
"After 10 hours on the phone with customer service, two trips to the local Comcast office and a chat with a rogue technician, the myth has been busted"

So the author spent maybe 12 hours figuring this out? Is his or her time worth more than 20 or so bucks per hour?
Its a well known psychological phenomena (I can't remember the name of it), that something you have worked hard for has more value than if you acquired the same thing say by winning it in a competition.

I assume in this case she also learned a lot from the process, which she will value also.
How do you implement unique constraints then?
Not really. It's already been established that the German government was partway complicit in GCHQs activities in the region.
On a side note, what do you do at 105mbps that you cannot do at 50mbps?

Me, years ago: What will I do with this massive 40 MB hard drive?

Me, years ago: What will I do with this massive 4 GB hard drive?

Me, fewer years ago: What will I do with this massive 40 GB hard drive?

Me, today: This 2 TB hard drive is almost full. How much are 4 TB drives going for?

Me, years ago: Wow! The Internet speeds at college are so fast.

Me, upon every Internet bandwidth increase: I don't need it to be this fast. . . but it sure is nice!

What will I do at 105 that can't do at 50? I don't know yet. That's the point. Almost no one does. 640 kb isn't enough for anybody.
Top remote working software startups should consider
Dell dual xenon CPU, 12 gb ram, dual 27" monitors + 1 20" third, dual graphic cards * on win 8.1 / Mac OSX * c#, JavaScript, ms and pl SQL, lucene, Go * SVN and GIT * visual studio, textastic, webstorm * 2 win server 2008 and one unbuntu server.