skysight-inc/HackerNews huggingface dataset:
>DBMS is throwing data integrity issues into your face, and encouraging you to think about them.

And I love it to death for it.

It also allows me to do some nifty little tricks.

I've developed my own Migration Tool that works by exploiting this data integrity, it actually aids me to identify and upgrade the database dynamically without worrying about which updates are applied and which not.
Just curious, maybe someone has better idea if this is harder or easier than writing the whole CPU emulator. What about writing a compiler from 16b binary to 32b/64b binary? Specifically, translate the common calls to be as close to compiled native as possible. It seems to me that unless someone wrote some functions directly in asm, most code should be relatively easy to translate.

Pros: better performance, better memory usage, most instructions map 1:1, there's lots of extra registers for storing extra state required by the translation, easier debugging (you can compile each function separately and verify without running). Cons: harder debugging (at runtime), harder to test, properly translating memory segmentation, need to find a way to adjust all the offsets automatically, need to convert all the API function call conventions (can be quite tricky with variadic arguments).
I understand better now what you're saying, though I would have called it "ability to scale" rather than "availability".

Our architecture prevents us from parallelizing the execution of commands within a bounded context. The ability to execute commands on any number of servers is for availability (transparent failover if an instance dies) rather than performance, since the event stream acts as a global lock anyway.

In practice, our system clocks in at a comfortable 1000 commands per second under stress tests ; during our peak hours and on our busiest aggregate, we only have to execute one command per second, so we can afford at least a x100 increase before we need to consider changing our architecture (and we're no longer an early-stage start-up, so x100 would mean a lot of revenue).

Similarly, the full state for our largest aggregate (not the command model, but the entire state of all projections) fits snugly in a few hundreds of megabytes, so all instances can keep it in-memory.
> In its first 10 months, the move saved the state at least $1.8 million in energy costs.

What is such a statement supposed to mean? What was the total energy cost in those months? Did they shave a 1% or a 20%?
Ask HN: What are the top ten hundred words used on HN and SO?
I'm editing some developer docs for an international audience and, as an exercise, want to try translating them into the top ten hundred words in the style of xkcd. However, translating concepts such as API or POST actually obfuscates them for a technical audience that is less familiar with English. What I want is to translate into the top ten hundred words of Dev-English.

Aside from running a web-scraper, is there a way to get the dataset of words used here and on StackOverflow?
Here is the thing, let's say you want to get a 100k job at google. It's a lot of work to get in the door.

What if write/cleanup your resume so it stands out?
What if I help you setup your online presence (website, github, linked in, etc...)?
What if I pitch you to the employer better than you can?

And at the end, you end up getting your job and you make 110k (because I did all the negotiations for you and got you a better starting salary). Sure you will give up 10k for a year but then you have a higher salary.

You save time and you make more money.

Does it sound too expensive now?

I am a developer myself and it's a pain job hunting but I realized over the year that I always did a great job negotiating my benefits and on several occasions I was making more than other more qualified co-workers (I know it sucks). I also found that I am good at placing other people and helping them get jobs - I did it for free most of the time to help out but eventually saw the business opportunity.

I appreciate all the feedback though and I did get several emails of interested people, so I setup this form if anyone is interested: https://goo.gl/forms/tYVvDddqWdJrn2fi2

NOTE: Again, I am not a sleazy recruiter/sales guy. I am a developer like you and understand where you come from - you can learn more about me at about.me/eibrahim

Thanks.
First check if the offending printers are actually being sold in Europe! They might only be for the US market.
> Utah abandoned the experiment in 2011 after residents complained they were unable to access services on Fridays.

The idea of a three-day weekend looks nice, but it should be applied to people, not services! Services should be still open Monday to Friday, just with 80% of the people working in.
So if you can't read Italian after a half-arsed effort to learn it, is this proof Italian is broken?
IMO validating in the DB also makes code faster.

When I get data from a well validated DB, I don't have to check that it is valid or has certain formats, that is ensured by the DB.

I can remove checks from the entire CRUD stack, if it's invalid data it does not get created or won't make it into the update.

The easiest way to check data is then to try the INSERT or UDPATE and if it works it's valid.

Otherwise I'd need to validate all fields, see if any contain errors, if any are missing, etc etc.
Enable cookies before clicking on the title link.

NYTimes only redirects to a log in prompt if you have cookies disabled.
No, instruments really don't. The point of conventional instruments is that once you learn them - which takes years - you can instantly express almost any musical idea using all the possible degrees of freedom available on that instrument.

With something like Ableton Push, you're one step removed from the sound generation, because you're triggering automata with a very limited expressive repertoire. (With Push, it's often just a triggered sample, which has almost no expressive potential at all.)

You can change keys instantly on a piano. You can play any chord you can get your fingers around, in any inversion, using any voicing, with fine control of the relative level of each note in the chord.

With button controllers the best you'll get is one chord per button with no fine shading of levels, no control over inversions or voicings, and so on.

It's absolutely fine to make music like this, but it's not fine to demand that all music be made like this.

Controllers like Push are good for performing effects - filter sweeps, and such - which aren't possible on a keyboard. But that's a different skill to learning scales, and much more expressively limited.

Electronic art forms generally are more rigid and less expressive than non-mechanised media. In theory you should be able to do more, but in practice no one has cracked the problem of building high-bandwidth expressive automata that are as physically responsive and open as traditional instruments/media.

Aesthetically, that can be a problem. A lot of machine-assisted art is either chaotic and formless, or formulaic and repetitive. The best classical music and classical performance lives in an expressive and creative sweet spot between those extremes, and it's incredibly hard to hit that spot with machine assistance.
Not sure if you're aware but Simon Weber has a Chrome extension for smart playlists in Google Music.

https://github.com/simon-weber/Autoplaylists-for-Google-Musi...
I actually found this method quite readable and a pleasant surprise!
Amazon et al should really make it possible for people to disaggregate their opinions on this kind of think. Lots of delivery companies are terrible but there's no ability to leave feedback ("driver threw parcel over fence") etc.
Ask HN: Where in European Union should I move to found a startup?
I am a citizen of Russia, but for long time I had been working as an independent contractor for my overseas clients. Currently I am living on Cyprus with my family.
I've been thinking about starting my own business in IT industry or areas connected to tech since my freelance career start 7 years ago.
Now, in my early thirties, I have a feeling that I must make next step by stretching my knowledge as I want to achieve goals and quench my thirst for passion about what I am doing, financial freedom, fame, power, all things that make a man happy and satisfied.

I have some ideas that I am crystallizing and researching their profitability, sustainability, ability to grow and supply my demands of self-realization.
One of projects I have in my mind now is a product to automate agriculture by providing a hardware & software platform to small farms that are numerous in European countries [1].

In researches for this product I am looking at the investment sources and see that there are public programmes for development of agriculture sector [2]. I think, my product could fall into one of categories of interest for these programmes.

My plan is to immigrate to Finland as an entrepreneur. It appeals to me to start a business, having transparent communication with authorities, clear tax schemes, emerging high-tech industry.

I am aimed to spread the product to other EU countries' farms that could get profit of it.

- Having the general picture of my vision and plans, can you please share your thoughts about my decision to move to Finland in relates to work on my startup?

- Is it a viable option to move to Finland to found a tech startup or am I wrong here? Should I look for other options?

- Is it possible for an immigrant entrepreneur to count for public programmes as a source of funding or publicity?

[1] https://epthinktank.eu/2013/04/12/young-farmers-in-the-european-union/fig-3-2/

[2] http://ec.europa.eu/agriculture/direct-support/index_en.htm
Took me no more than 10 seconds. After noticing that the essential terms is translated into a query for apps TAGGED as essentials by Apple (Facebook, Google Mail etc), I just put the term in quotes("essentials" vs essentials in the search bar).

It's a convention followed for literal matches in tons of environments (including Google Search IIRC).
I've been involved in the Plone community for a number of years. All you need to do to get commit rights is to sign the copyright assignment and ask. We currently have 400 people with rights, I suspect we lost a few when we migrated from self-hosted SVN to GitHub.

In over ten years of this policy, we've only had one committer act in bad faith.
Weekly Learning to Code Vlog
start here:

https://blog.stackoverflow.com/tags/cc-wiki-dump/

https://news.ycombinator.com/item?id=10440502
Holistic Info-Sec for Web Developers
Would love to get your feedback on my new book. You can read on-line for free, or purchase the ebook on LeanPub or physical book on Amazon
Personally, I'd love if Gmail would support markdown or retext.

I don't need any of this fancy.
>You ask what causes consciousness and how it emerges, which presupposes something before consciousness - something that can cause it and it can emerge from.

And why not? Most (all?) including rocks, have a cause and constituent elements that need to be arranged in a certain way for them to have a particular function.

The strange thing would be to presuppose consciousness as without something before it. Which would be like what Christians for example consider for the "soul".
Slartibartfast: "Science has achieved some wonderful things of course, but I'd far rather be happy than right any day."

Arthur: "And are you?"

Slartibartfast: "No. That's where it all falls down of course."

https://www.youtube.com/watch?v=cPWnitDyIOw
The trick, IMO, is to manually unroll them.

So what I do is something like this:

func (m *model) costFn() (cost *Node, n int, err error) {
var prev *recurrentOutput
for ...{
// build your recurrent graph here
}
}

func (m *model) runOne() (err error) {
cost, n err := costFn()
g := m.g.SubgraphRoots(cost)
machine := NewLispMachine(g)
if err = machine.RunAll(); err != nil{
return
}
}

The LispMachine type allows for rapid prototyping. Then once that's all done and stuff, you would probably have figured out what the size of your graph is and you can then create a TapeMachine that have the sizes you defined (though I have removed all the bits of the TapeMachine that made it turing complete, so it may be a bit hard to do that).
> Why is this at the top of HN?

It's catnip for the part of the HN audience who thinks:

1/ I am smart at computers and basic maths, so I must be smart on an absolute scale.

2/ I can't understand this easily, so therefor it is obviously broken.

Much like "timezones are hard, therefore wrong", "why should I learn other human languages, they don't work like I expect", "running a society is harder than telling a computer what to do, so people are stupid".
Very interesting! I have been thinking about something similar, but rather than learning from examples, it would have a generic "misaligned" cost function that would penalise lines which have similar content but in different columns, and minimise this by hillclimbing or similar.

The difficulty is tying it to a particular language's parser and whitespace rules.
The BBC is funny like that, they latch onto companies that they worship (e.g. Apple, Google, ARM, Flickr) and ignore all the others in the same sector. I suspect they see no further than the products their own staff use, or more cynically, individuals there are positioning themselves for lucrative job offers they hope will come rolling in...
Google probably has their own minifier. The development of such a tool would need to have a specifications page ready. Such as that one.
>The problem of a suitcase word is when different people are using different definitions to talk about the same concept. It is entirely reasonable to presuppose that that is nonsense.

Not really. People could be legitimately doing that, because the concept is inherently multi-faceted and each approaches it from a specific angle.
Samsung's Galaxy Note 7 Is the Bomb
Love this approach. We need more ai applied to problems in writing code. Like an ai parser that auto corrects errors. Anyone know if something like this exists?
Google landing teleport page
I considered using one of these but then I realised all I needed was pandoc and a makefile.
I recommend you check out CockroachDB.

They're approach is to use a Key-Value DB to build a linear-scaling PostgreSQL-like Database.

Personally, I'm just waiting for that to become a bit more stable, but it's probably the most promising in this regard and already very usable.
A white redirect page http://imgur.com/a/abxuS
That would likely be a new discovery worth a bit more than an HN post. So far the physical world is doing a damn poor job of explaining consciousness.
What a ridiculously uneducated article! The very first sentence starts 'I don’t know anything about music.' and IT SHOWS!!

Music notation has evolved over several hundred years, it's not arbitrary or random. The author should take some music classes before trying to write about it.
That was the only version of Lemmings I'd ever played until I tried the SNES version many years later. I discovered I'd been spoiled by the Acorn.

Anyone going to school in the UK during the 90s will probably have encountered an Acorn.
shorter winters.
Freaking downvoters today.
Show HN: Query protobufs using SQL
"This threatens my ego so I must devalue it"
There's all sorts of weird stuff like 'thunks' that need to be taken into account. It would be faster but is considerably harder to write, and "faster" isn't much of a requirement for Win3 apps.

Whereas a straightforward emulator of the 16-bit set with the standard computed jump table is fairly easy. Mostly requires a lot of typing. If your interpreter fits in the i-cache it can even be faster.

Although apparently since WINE will run 16-bit code, it looks like preservation of the 16-bit world is a Solved Problem.

(I've long wanted a human-assisted decompiler for 16-bit DOS/Windows code, as a means of salvaging old games. For a few games people have done this by hand and built modernised versions with the bugs fixed.)
I'm in the same boat. I typically check the Red website and Twitter page a few times a month for updates. I think it could be production worthy in a couple of years for a lot of uses. I read an interview Nenad (think the creator's name) did a couple of years ago and agreed with him on so many levels.
Samsung battery problems blamed on shorter deadlines, spec changes
Why'd keys be an overkill? It's just two files which need to be put at proper places.
The curious case of the switch statement
Check Out 15 Most Inspiring London Startup Influencers
Even if they were prepared for cyber crime, would they be prepared to act on information you give them? Sure, if you supply law enforcement with the location of your recently stolen electronic device they will go after it (as I've had them do twice now). That's pretty straightforward. On the other hand if you give them the details of some purported fraudster, of whom you are not even a victim, a thorough investigation would be necessary prior to any action on their part. At least I'd hope so, otherwise there's a whole new genre of swatting (i.e. framing unsuspecting victims as black hat hackers) that has yet to be exploited.
I'm now offering sponsorship of this blog
I'm an economic immigrant- I work and live in a different country (the UK)
than the one I was born, and brought up, in (Greece).

Immigration is singled out as an issue because of its emotional impact (and
that impact is greatly amplified by the political debate that feeds off it).

Every other aspect of our common life has the ability to hurt some peoples'
bottom line and benefit that of others'. That's politics in a nutshell: when
some social condition changes, some groups benefit and some others stand to
lose.

But then, why is losing out to immigrants more of an issue than losing out to local competition? Why would you be more upset if a foreigner gets your job than if
a local does? The issue is that someone else got your job- that's the bit that
hurts you. That the person is foreign may be adding insult to injury, but
kicking all the bloody foreigners out is not magically going to give you the
skills you need to do the job you currently can't. It's not going to make it more profitable for an employer to hire you at a higher wage if you have the skills to do the job, either.

A lot more could be achieved on the immigration front if countries spent all
that energy towards training their local workforce better.

But let's not also forget that when a foreign worker is paid less for more
work his or her intersts are also harmed- better enforced labour legislation
is to the benefit of all workers.

As to the natural effect of prices coming down for all when there's more of a
workforce- on the one hand that can be addressed partially by a better trained
workforce (which is mroe productive and can therefore afford to ask for better
wages). On the other hand, maybe we can agree that once the market for a given
skill is saturated, the price of that skill is the closest possible to the
true value of the skill.
It is probably true, except for the Martinis!
Stunning photo essay on rock climbing
I used nolanlawson's pouchdb-authentication which covers instructions and wrappers setup for http/cookie based couchdb auth. For oauth I'm not sure what people use..
I haven't seen CuDNN equivalents (in terms of perf) for common machine learning frameworks from AMD. I don't think they exist, if they did, people would shift to using AMD.

For NVidia I have seen some faster kernels than the ones supplied by NVidia - https://github.com/NervanaSystems/neon - though CuDNN introduced Winograd kernels too in their last update
You say that like it is a bad thing.

I'm really pleased that email cannot set a style header and has limited ability to have the email deviate greatly in presentation from other email I receive.
I think the most reasonable near-term approach "if you had to do it" would be reverse engineering and virtualities, but please bear in mind it was a hypothetical to begin with.

I expect the number of inputs to spider sensorium would be low thousands of analog inputs. To be clear I can't cite a reference for this.

Yes it seems intractibly difficult on paper but spider hardware can do it.

It's hard to rate what we'll expect from self driving cars on the flatworm to spider spectrum (probably closer to the flatworm end, but the cameras add an interesting dimension), but clearly reasonable yet ambitious people believe these problems are tractable with sufficient effort.
Or perhaps it is genuinely useful?

Music is an interest of mine, but not an active obsession. I've learned songs I want to play only through tabs, because every time I attempted to learn sheet music online, I ran away out of the fear of the heavy fog that exists in most descriptions about sheet music. Not to mention insufferable smugness, much like wine and craft beer snobs, about how sheet music is superior.

This guy, on the other hand, kept my attention, and described it in a way that I honestly found worth my time. I read the whole thing without wanting to switch tabs or multitask.
Sure. Hopefuly "a bunch" could be reduced to just two: Apple Music client and iPhone sync app. The rest would be removed without a replacement (on Windows). The headphone jack removal shows that Apple is willing to make people angry about some things for a long term benefit and iTunes is imho a good candidate for the next "act of courage", heh.
Super Duper Man – Motu Patlu in Hindi
Eh. Maybe. I'm pretty dessiccated and I can see the appeal. After only a few minutes of using it, you can see why it appeals to the youth of today. There's something just intuitive about it, and the ephemeral nature of the format is mildly addictive.
How big is it?
> The statistical and scientific nature of baseball is incredibly deep, far deeper than any other sport I can think of

Americans also love to break down and quantify sport metrics and analyze them up the wazoo (see basketball and American football). I have noticed this creep into soccer (not sure if this is to because of the 'America' effect, or because we now have the technology) - only recently did we start getting statistics on number of passes by a player (and success rate) as well as total distance covered in a match.

The traditional 'stats' for soccer were: goals, attempted goals (on/off target), fouls, cards, corners and % possession.

Call me a sport Luddite, but I want to enjoy a good argument with a friend about who the better player is between Messi and Ronaldo without looking up their pass rates.