skysight-inc/HackerNews huggingface dataset:
Postgres does have notifications. And the article mentions this:

> Notifications are not part of the SQL standard and most relational databases do not support them. There are some exceptions, however. For example, PostgreSQL has very decent support for notifications.
Most of the EC2 boot time is taken by the resource allocation and provisioning of the host (~2min). Changing the init system would only save you a couple of seconds of that.
Afaik this transcript is also new (spurred by the 20th anniversary). Oona Räisänen transcribed the recording, and translated the Finnish and Swedish parts into English. I saw her post it on Twitter, and thought it might be of interest here too.
Dear clueless assholes: stop bashing bash and GNU
EDIT I can see the divisor that must exist cannot be one of the given primes: taking just one of them, multiplied by the product of the rest, the next number it divides after p must be one extra addition of it, which will be greater than our number p+1. Therefore, it isn't a divisor. The same argument excludes all the other initial primes.

So this means: it has a divisor not in the initial primes (actually, I think it must have two). But why should it be prime?

I think a given divisor does not need to be prime; but it must not be divisible by an initial prime. I guess this means that either it itself is prime, or it has divisors which in turn are either prime or have divisors etc. None of these divisors are an initial prime, because then they would also be divisors of p+1, which we have established they are not.

So I guess that's the proof... but I don't feel sure of it. There are too many steps, and I'm not 100% sure of them, and can't see the whole. Perhaps I've not covered some possibility in some step - how could I be sure I've covered them all? Maybe as it becomes more familiar, I will come to see it.
Well about a thousand people's lives were at risk, about 850 of them were lost. If you're in the waters nearby and asked to get people out of the water onto your boat, I can't imagine a discussion of cost.

I mean I hear you, it's a wonderful thing, but I don't see how it's in any way strange or surprising.

But yeah, definitely haunting stuff. Recordings from astronauts always get me, like Komarov's, or the supposed one of a female astronaut in 1961 both during failed re-entry.
> Capitalism is not about right to exchange there is no right in capitalism that is in liberalism. Capitalism is an economic system that just is.

Even if I'm ok with calling capitalism a "system", it still is a "system" which consists in abstractly dividing capital into shares that can then be exchanged on a market.

This "system" is an abstract representation which you can't do without unless you prohibit the use of maths or freedom of exchange. That's what I meant: capitalism is a natural consequence of economic freedom. Calling it a system sounds very derogative to me as it colors it as artificial and optional. It is not.
When it comes to class-B/C accelerators (not YC et al.) I'd generally completely discount the value of mentoring, their network etc.
I'd just evaluate the purely financial value of both investments. And maybe just give Berlin more weight for having a better startup reputation and being closer to Poland (assuming you live there and want to stay there).
If you can raise non-accelerator money at better terms consider that too.
Oh, they would. Western kids won't hunt elephants to extinction or make charcoal out of rainforest.

Western kids are going to live their life in their tiny home, which is going to become more and more green and self-sufficient.

On the other hand, poor subsistence farmers live on large swaths of land with lots of wildlife, which they're going eat literally.

And then they'll try to recapture western standards of living, but without all that green concern. Won't they?
It's a great show and I love it. But apparently it's historically inaccurate about the "there are no lands to the west" (the norse knew about Britain before the raid on lindisfarne), and apparently Viking society wasn't that totalitarian, and had a bit more of a democratic system
This was also done at ATOS by their CEO Thierry Breton. Although I don't know the impact of it.

http://www.bbc.com/news/technology-16055310
Google Cuts Ties with ALEC Over Climate Change 'Lying'
Amateurs all around. Obviously the DHS can't trust him: who hacks gift cards at night then rolls into work at General Dynamics? It's not like anyone else can trust him, either: he's obviously dumb enough to be an informant (does he still not have a lawyer?), and he's likely not to shake that ever.

If anything, the story boils down to 22-year-old Mason grad loses his General Dynamics job through mindless bragging & to-be-expected snitching
The Network of Programming Languages
Oracle has Data Change Notification, which fires a callback when the results of a query change, and AQ which is a pub-sub mechanism that you can invoke from a trigger.
Not a great article on this topic. But still interesting.

The main points I see in the article, are that weak labour = weak market, and not every country can be an exporter.

It seems that pressure to increase profitability, ends up exerting itself by reducing labour utilisation (via efficiencies or other means). Which (can eventually) in turn, exert further pressure to increase profitability (due to a weaker market).

What I find disheartening is, the current tools governments have to improve the situation are hamstrung in a global environment.

* Corporate Taxation wont work without global reform

* Minimum wages, employment conditions, and other regulations don't work if the job can be outsourced / performed overseas

* Import tariff's on the former, usually result in your own exports being penalised (in retaliation)

* Existing players wish to maintain the status quo

The other issue, is "free time". There could be a considerable portion of the labour market are willing to take a part time-job "for the love of it" with their free time. Effectively volunteering or taking a "token" wage.

Industries accessible to hobbyists / free timers, will suffer a further devaluation of labour, if they haven't already. Anecdotally, it appears this has already started for some roles like teaching / professorships.

The odds seem firmly stacked against a good percentage of the global population. Hopefully those capable of making lasting change do so, before it's too late.
> JavaScript is the only language that let's you target every platform

Ironically, the three languages you listed - Java, C#, and Objective-C are all available on all major platforms. I could write code in any of those languages and have it run on

- Windows
- MacOS
- Linux
- Android
- iOS

Furthermore, the apps would all be native. That closest Javascript can come is to use the uncanny-valley of HTML5 without native widgets or performance.

Frankly, Given that the burden of learning a new language is tiny, I see no reason why we should try and cram Javascript into every nook and cranny. It's a fairly mediocre language at best.

tl;dr The three languages you listed are all capable of better cross platform support than Javascript.
agreed the colors seem to have higher saturation in the bootstrap version
livestream.com
Street addresses barely qualify as identifying in Tokyo.
Learning to Love Criticism
From a throw away account? That's cute.
Most people walk by homeless, possibly starving people everyday and they do sleep at night. It's a lack of empathy that everyone basically has.
Yahoo Directory has certainly been neglected and customers stopped using it in favor of search. However, I think there's still an opportunity for a directory 'done well'. Browsing hierarchically is a different mode of discovery. Customers approach it in a different way and that can help them to discover sites that they wouldn't otherwise find through search and news.
Yes, but one guess where a receipt for a "Grande Mocha (Decaf, Soy, No Whip)" might come from.
This Restaurant Wants to Be the Worst Rated on Yelp
> We have a system where wealth is accumulated. If that wealth goes in fewer and fewer hands then there is no economic freedom.

Ah. You're using the word 'freedom' to mean 'power'. This means you can raise the specter of power being concentrated in a few hands to advocate for concentrating power in a few (powerful politicians') hands, and at least it won't sound utterly ridiculous. Clever.
that's just tackling the symptom.

In this case it might work, but please teach the kids some self-control.

and btw: I dim my laptop down, keep the lid open wide so it makes less of a wall and usually just type plain text black on white or google relevant stuff. Given the lecture is remotely interesting.

I'd come to class with a noisy typewriter there.
Can you write Java applications for Windows Phone 8? (without buying a third party software which allows you to do so)
>There's no "capitalistic system", unless you consider "economic freedom" to be a "system".

"Economic freedom" is merely an emotive label applied to certain aspects of the current system, which is defined as much by people being unable to use underutilized economic resources without contracting with other parties as it is by there being relatively few restrictions on the nature of contracts and associations that might be made. An economic system in which people didn't have to contract with "owners" in order to use their surplus land or equipment or fork their codebase is arguably more "free" (though in many respects likely to be less productive). Trivially and infinitely replicable software is substituting for elements of expensive physical capital as much as for human labour, and the necessity and defensibility of IP is a concept subject to rather more challenge that the concept of working for a living.

I'd agree with you that the author is well wide of the mark on the assumption the useful services we can provide other humans are being automated away. That argument, along with labour-based theories of surplus value, and the idea of self-sufficient communities feels dated rather than futuristic now.
Ng-grid is being rewritten as UI Grid, it's in beta Check it out
Machine learning is teaching us the secret to teaching
Well, C and C++ come to mind.
Being free does not necessarily mean having the means to exercise this freedom.

E.g, I'm free to drive a luxurious car if I want to but if I don't own or rent one, I can't.

You may be free, but it does not mean your beer is.
No, but you can in C and C++.

Not only that, certain APIs are only available if you use them.
"The devil can cite Scripture for his purpose.

An evil soul producing holy witness

Is like a villain with a smiling cheek,

A goodly apple rotten at the heart.

O, what a goodly outside falsehood hath!”
We have government programs to feed and shelter the homeless, but how well can those scale?
No, he's actually right. Banks create money and it's totally a well-known recognized widely-accepted economic phenomenon, and it is trivial to look up the logic -- use Google.

The thing to criticize him on is the idea that the money is "not related" to the economy. If you borrow $300,000 USD, it's precisely because you plan to use that money to make a difference in the economy. Moreover, broad statistics are available on price stability, tracking the value of money against a value of a basket of goods like the "consumer price index". Most years the value of the dollar is stable to within 2%. If you actually want crazy uncorrelated money-creation in USD you'll have to go back to the 1980s.
Northern Europe. There are others like me, though I don't know how many there are. The problem is that there are some serious holes and twisted disincentives built into the welfare system. Basic income would be godsend.

For instance they complain that people spend too much time in their studies, and are trying to incentivize people to graduate faster by granting some benefits related to the student loan if you graduate on a planned timeline. In my case however, I would get more if I had postponed my studies instead of starting studying in UoAS this year. I'd get more still if I dropped out of school entirely and lived on social security, unemployed...

I know other people who are in a similar situation. For example, unemployed and unqualified middle-aged men with families and kids to feed. For them, the students' benefits are impossible to live on so they're incentivized against getting an education. They can somehow make it though, through crazy hoops than make no sense for the state nor for themselves.. it makes no sense for anyone.

It's not clear what this all will lead to. I'm expected to graduate in about four years. The job prospects in my area have been piss poor (this reflects badly on my CV), and it's not sure yet whether they're getting better or not.

So yeah, my lack of money is in part my own choice. I chose to study because I want to graduate sooner rather than later. Either way it sucks. And people around here want to downvote me for not wanting to pay $40 for a game/movie/book/software. Not realizing that it's almost two weeks worth of food for me...
> There are far more money in the system than there have been value created.

Poppycock of the highest order. The US economy generates about $16.8 trillion a year. Its wealth is estimated at ~$120 trillion. M2 is about $11 trillion.
on this note, does anyone know of a way to highlight stuff in #ifdef blocks appropriately within emacs? at the very least if a block of code is within #if 0 ... #endif, it should be grayed out...
Show HN: Flat Icons Set
Friendly disclaimers please, seeing as this is your company.
Yes. Java can be compiled to native machine code via GCJ, and can expose a normal C++ Api.

Whether you'd want to do this or not is another story. C# and Xamarin would be a far better choice for a one-size-fits-all cross platform codebase.
The academic field of Engineering Informatics addresses the particular issues the author raised as well as other connected issues. These problems are acutely relevant today although the issues have been known and attempts have been made to address them by many other concerned folk many times over for at least the last 20+ years with varying degrees of success. Given the poor state of engineering knowledge storage and collaboration and the effect this has on engineering productivity, it is a space begging for one of Clay Christensen's famous "Disruptive Innovations". As you point out the change is unlikely to come from existing vendors at they prefer file format lock-in. When the tide shifts this could be an Achilles' heel although I would expect the vendors to adapt. One of the most intractable issues is that each type of engineering has it's own heterogenous method of describing and recording their work. The best research I have encountered seems to point to Semantic technologies having the most to offer to possible solutions.
Yeah sure, react-bootstrap has all the normal bootstrap classes so as long as you theme it right you'll be sorted.
When Everything Works Like Your Cell Phone
While this does offer some historical significance the cost to maintain old web properties can far outweigh the value in keeping them. I run an 18 year old site and lately I've found quite a lot of relief in removing older features. In fact I'm considering removing the very feature that "made" my site many, many years ago. It's certainly a necessary move if you want to stay relevant online. I'm sure there are some folks at Yahoo who are very excited to shut this down and close the book on what is likely a maintenance nightmare.
It seems like it would be painful to use from react, which seems like a "major framework".

I'm not saying Google has any obligations to offer more code to support materials design... I'm just saying the impact of their design work is going to be limited because of it. (That certainly might be on purpose,I suppose)
Go is mostly used PHP, JavaScript, Python, Ruby etc, developers today.

Go is absolutely preferred by people building real solutions to real problems. Pure, idealized languages like Haskell seem to be preferred by people who don't actually do anything with it, but instead talk about it. It is the "big brother" language.

I don't mean this dismissively, though it invariably sounds that way, but there is a huge divide between things that actually get things done, and things that you can debate the intricacies of for weeks on end while you foment that grand plan that you'll never actually pursue.

Though I will add that your nonsensical, ignorant simplification and mischaracterization of Go merely belies the fact that you have virtually no real knowledge of it at all, beyond probably some rubbed off "knowledge" from advocacy boards.
It's been 20 years since I wrote any CNC controller software but the "assembly language" of CNC then was g-code (http://en.wikipedia.org/wiki/G-code).

In the end it really doesn't matter how your CAM software stores its data as long as you can translate it to g-code within the software or with a 3rd party compiler. The fun part for me back then was optimizing that translation with respect to the machine's capabilities so you can do things like minimize machining time while maximizing tool life and keeping surface roughness within tolerances.
I'm amazed that he's being bashed for this. There are a LOT of security flaws out there, this one is - as Stallman says - a blip on the radar.
Is it actually the case that Stallman has no permanent home? If so, is that by choice or circumstance? He has done so much.
I read hacker news for a long time and decided to join just to congratulate you for this!
I'm a developer and truly like the database aspect of the app. Linking tables is super easy and I like to organize some things in a certain way. Google Docs is not enough most of the time.
Right now only need it for personal use and totally loving it! One thing I haven't figured out yet is how to do auto increment in keys.
I'm also looking forward for the android version.
I also have a suggestion but not sure if the direction you're going for. I'd love to be able to do stats. Being able to query the data in a certain way (besides filters), building the select statement.
Coding standards will only get you so far. The bigger issue in my mind is the risk of having such a powerful shell at the core of arbitrary software stacks.

What I hope comes out of this is that Linux distributions standardize on a bare-bones shell for system-level and even application-level scripts, and more powerful shells are used only for interactive sessions.
And so begins the internet pile on.
> Personally, I do find syntax highlighting to be useful, but I think it is an interesting dissenting opinion that is worth mentioning.

I just think that syntax highlighting is usually executed really badly, often emphasizing even the least interesting parts of code in the most distracting colors.

The analogy to prose is quite adequate. Randomly highlighting the different word classes in a dozen flashy colors would distract me like crazy; but nobody would argue against using a larger font for headings and a smaller one for footnotes.

If I was programming all day, I would probably spend considerable time creating very subtle syntax highlighting themes for different languages (something like: slate function names, white strings, everything else grey, italic variable names). But I don't, so I usually just turn off syntax highlighting entirely.
one of the biggest differences between academia and industry, in the context of salary, isn't just the salary per se but the increment in salary that is possible. in academia your salary is very much fixed. no such thing as a bonus. you bring in a 3 million dollar research grant with an additional 2 million dollars in indirects (that go right into the University's pocket)? "thank you!" but your salary doesn't go up. no bonus for you.
Shush people will just use this as an excuse to roll coal!
These kinds of code issues aren't unique to bash. Just take a look at almost any FOSS project with a bit of history, say GCC, GNU binutils or Xorg, and you'll find the same issues in those projects.

IMNSHO the real issue is with the developers itself. A huge amount of them seem to be stuck in the 80s and anything invented in the field of software engineering is just ignored by them. Like there are plenty of programming languages now with saner string handling, but no, C89 or pre-ANSI C it is.
Show HN: A simple random password generator
Hi David,

Your CV is bottom heavy: much of the interesting stuff is buried in the experience section below the fold, so to speak.

In the experience section, the line spacing is too big for me to be able to easily and quickly form a mental picture of your experience. I should be able to do this in a quick glance. I wouldn't extend the experience section above 2 pages.

The bottom line is that I cannot quickly determine what you're about. Unable to determining that quickly, and by extension your 'fitability' to the position I'm recruiting for would make me put your CV at the bottom of the pile to focus on if I don't find any suitable candidates in the easy-to-categorize pile of CVs.

I would:

- start with the Experience section (no longer than 2 pages)

- move everything I can from the Experience section to the Skills section (tech used, etc); if I wouldn't want to list some tech I used just for one job, in the Skills section, I would make it a one-liner at that particular job description: "Technologies used: PostGIS, LDAP, etc"

- switch the focus of the Experience section from what I did, to what I accomplished. There's plenty of opportunity for the company to ask me about what I did at the interview; remember: the only purpose of the CV is to get you an interview, not to tell the story of your life. This doesn't mean you shouldn't list things you did that you feel proud of or feel that are very important/relevant.

- get rid of the Objective. It doesn't serve the purpose of a CV. I don't think a recruiter wouldn't select you for an interview because your CV doesn't contain an Objective, so it's more noise at best, at worst it makes the recruiter not select you because of something you've written in the Objective.

- add some color to the CV. Use different fonts. Experiment with different layouts. Make it memorable!

Finally, you are better that you give yourself credit for!
> almost any FOSS project

Though we will probably never know, I bet having legacy code isn't exclusive for open source projects.
So is it wrong to criticize bad code for being bad if it was written by Mother Theresa?

I think that if code is bad, it should be pointed out. Some will take it as bashing. Doesn't matter. We all want to run well written, secure software. When you're getting exploited, it doesn't matter if the code was written by a saint.
Google can do whatever they like, it just doesn't seem like they're using their available resources to accomplish a serious goal they seem to have (helping materials design become an impactful design language) and it will be interesting to see how the future of this design effort plays out.
You can version AutoLISP but the output is so verbose (at least for machine generated code) that diffing versions is like diffing PDFs or PCL files. You can see the changes but they don't make any sense without the whole file being rendered.

NOTE: Its been 20 years since I used AutoLISP and the code I was using was being generated from software that did cut-plan optimization for lathes so I am probably speaking from a very old/ignorant point of view.
Learning Objective-C was never the limiting factor for me writing native OS X code. The hard part about it was always figuring out the APIs. It's one of those things where if you have someone to teach you it's great, but learning on your own is time consuming and tedious and frustrating.

As much as I like using JS for scripting purposes in the OS, I feel like with this, I have the same problem: namely that the cocoa APIs are massive and I have trouble understanding what's going on, even after trying to learn them three or four times in the past decade.