skysight-inc/HackerNews huggingface dataset:
Anyone looking to get a dog should do their research before getting a dog.

I have a pug. I made the decision after doing a lot of research and finding a breeder that clearly understood the health issues that pugs face, and was able to explain what he and other breeders have been doing to improve the health of the breed, including what factors they look at when deciding which pugs are healthy enough to bear/sire a litter.

My pug is getting close to 4 years old now. She did have to have surgery to remove some skin and to change the shape of her lower eyelids because hair would rub against the eyes, which caused pigment to be pushed up. It's still a common problem with pugs, and breeders know it. The worst case scenario for my pug at this point is that I'll need to put an ointment containing ciclosporin in her eyes daily for the rest of her life.

Beyond that, her vet is extremely happy with her health and doesn't expect her to have any of the common health issues pugs face. Yes, I have to be careful about letting her get overheated when it's hot out, but other than that, she has no breathing issues. I watch her weight carefully since pugs are greedy little things. Many people think a pug is supposed to be fat, so a 6.3kg female pug looks very skinny to them.

There are still plenty of unscrupulous breeders who don't care about the health of pugs, but spending time to make sure you aren't getting a pug from one of them will put them out of business, and leave the breeders who are doing a good job restoring the health of the breed.
Nice. Agreed on errors with big dt. For me it is usually when shortening the time step to try to minimize for these that floating point errors start to come in.

Now chuck in some velocity dependent forces and start screaming (that's what I've found with physical simulations anyway).
If he can't do anything, why would the stock change at all?
No, Vim is not "hard" at all.

Vim is "complex", though, and it requires investment, just like any professional tool. One would be a moron to think he can master Photoshop, Fontlab, or Pro Tools in a week and one would be a moron to think one of those crappy distributions will make him master Vim in a week.

If you don't want to invest in Vim just use something else.
That would deprive almost any person of the chance to learn how to say something meaningful!
If you want HTTP/2 support Chi[0] can probably help. It's plenty snappy too.

[0]: https://github.com/pressly/chi
Another way to look at it: if restrictions on high skill tech immigration tighten, then tech companies that would have been founded in America will instead be founded elsewhere.

This is more true of software than of any other industry, because software is built mostly with human capital which can cross borders fairly easily.
Honestly this all occurred over a year ago and I just ditched it
You can get the network type or downlink speed in Firefox and Chrome using NetworkInformation interface: https://developer.mozilla.org/en-US/docs/Web/API/NetworkInfo...

Then you can lazy load your assets depending on that condition.
In Poland, when talking about salaries, we're using before tax ("brutto"). After tax is about 4/5 of the original salary ("netto").
People behind the biggest apps in the world
I wrote more on this above, so I won't repeat myself in this comment, but yes WebAssembly is a "virtual machine byte code". It is literally a bytecode language that doesn't target physical machines. It bears no resemblence to x86 or ARM so it has to be JIT compiled or interpreted.

Saying it doesn't target a VM because it targets "the web" is meaningless.
Reminded me of this great post:
"Are Your Programmers Working Hard, Or Are They Lazy?"

Key point: "To managers I would say, judge people by results, by working software, not by how hard they appear to be working."

http://mikehadlow.blogspot.se/2013/12/are-your-programmers-w...
Yes, I've noticed for years that Go gets heavily used in web service-oriented startups with many concurrent users (plus, its easier to pick up than Erlang :-)).

But what I would really hope to see is Go being used for anything else than servers/services. I understand this is all the rage for certain companies, but none of that directly touches my own interests. Is Go only good for that niche, or will we see Go being adopted outside that "web services world"? E.g., for building old-school desktop apps, Go's concurrency features might be pretty cool - if its not too low-level for that?
Ransomware 2.0: Anatomy of an emerging multibillion business
“When I was poor and complained about inequality they said I was bitter; now that I'm rich and I complain about inequality they say I'm a hypocrite. I'm beginning to think they just don't want to talk about inequality.”
> Looked it up yesterday. Average engineer salary in capital of Slovenia is 2000/month.

Yeah, and it's difficult to know who reports stuff accurately, whether that takes into account people living in backwaters vs. fancy offices in Ljubljana etc. etc. etc.

For what it's worth, some Slovenians seem to be reporting healthy salaries here, although as you say, there's a good number of self employed there (and workers in Ljubljana definitely affect the average... or the other way around, you know what I mean):

http://www.averagesalarysurvey.com/slovenia
> There are times when this doesn't work. Syscall resumption and cancellation come to mind. Also, __kernel_vsyscall is a hack to make fast syscalls work on the awful 32-bit x86 architecture, not a nice feature.

It's a pretty nice feature in the context of being able to make compatibility layers on other OS'ses in userspace which was the discussion here. Or would be if it was always used. Why doesn't it work for syscall resumption and cancellation?

> There is no __kernel_vsyscall or similar feature on x86_64.

Yes that was exactly what I was complaining about.

> You can on Linux using seccomp.

Yes but why would I want to make a linux compatibility layer on linux?
> In Poland, when talking about salaries, we're using before tax ("brutto"). After tax is about 4/5 of the original salary ("netto").

You do that, and I'm really happy that you do; I've had far too many confusing situations caused by people quoting netto instead, it's definitely common enough that it's something I look out for.
What's the argument against using an auction for H1-B visas rather than a lottery? That'd maximize the tax collected from their salaries and ensure the salaries are on par with the going rate for said workers. Arguably it's in the interests of everyone besides companies trying to get cheaper labor via H1-B visas.

The only counterpoint I've ever heard is "It's not fair for company XYZ in low cost of living Podunk, USA because we can't compete at those high salaries against banks / SV / expensive cities". So what? I doubt they can compete against the ability of TCS or Infosys to game the system and get the lions share of the visas either.
Indeed, but the comment you're responding to was tongue-in-cheek, specifically suggesting that Trump being positive of a stock is a negative indicator for it.
Windows 10 Cloud’s UWP Walled Garden Bypassed, Allowing Win32 Apps To Run
That would be a great retort except for the fact that there are people who care about inequality but aren't willing to take money from a system which is the very driver of inequality they preach against. Human beings are great at justification, no matter who they are.

Do as I say but not as I do? That seems to be a problem with politics as a whole. It'd be better if we didn't defend it.
Web assembly is just a different interpretation of gratuitous javascript.
You can do these in San Francisco, though I prefer keeping the mornings and working the evenings. Wasting daytime sunshine is a terrible idea.
By trained or by untrained people? Domain specific experts, or newbies? .And why "clicks"? For many tasks, the way to get them done realy quick is with keys...

I had to do some IT support for a doctor's office many years ago, and (unrelated to what I was doing), had a chance to look at the system the front desk lady used to manage the patients, appointments etc. and it used a "clunky" old text based system (perhaps even DOS based?). TO me, it looked utterly bizarre and incomprehensible. But man, the front desk lady was lightning fast doing anything with it. Of course she trained on the system for years, and just entered keypressed rapidly that didn't make sense to me, but achieved the desired result... So, zero clicks, low search times, no (for me visible) user errors... so I guess they never should have switched, as this was the "objectively optimal" UI?

Personally, I don't think so. I.e. I think the UI could have been better, and easier to learn. But of course it's also important to see how usable it is once you do learn it... I was at that doctor's office again, not so long ago, this time as a patient... new lady (the old one retired, I assume), new system... flashy graphics... everything done with clicking, I don't even know if there still are shortcuts, the new lady certainly didn't seem to use any. And it did feel slower overall -- though this is of course a subjective evaluation only, with many years between the two observations. Plus it's somewhat unfair to compare somebody who trained a decade on a system with somebody who for all I know started a week ago... but I guess that's exactly my point here...
Too bad it doesn't say what Octave is.
> considering salary as preposterously simple function of labor supply with no other parameters.

Or it's not a complete model of the many possible parameters relevant in the economy. "preposterously simple" needs qualification on why it is ""preposterous" given IT IS NOT A COMPLETE ECONOMIC MODEL.

> It doesn't "demonstrate" ANY exact relationship

It demonstrates the rate of salary proportional to some function of the difference in supply and demand. If there are multiple factors involved in determining a value, I can still represent the nature of the relationship a single factor has with that value. It's "that-exact relationship", not "that exact-relationship".

I won't be told, because you're wrong. I don't "feel" badgered, I am badgered.
instapaper.com seems to be hosted @ AWS
I wasn't meaning to criticise the use of PHP at all.

But creating some sort of bundle with a portable PHP and server, just a zipped folder or something, would hugely reduce the barrier to entry, and reassure people like me who shy away from part of the tech stack.
Show HN: Paperless – Emacs assisted PDF document filing
The left - right with the H J K L keys? Or the normal Keys ? And why is this a bad habit?
Windows containers use the Windows kernel. Windows does not have SELinux so of course that is not supported. It runs Windows program not Linux programs, so there is no mapping of entry points. There is lots of docs from Microsoft eg https://docs.microsoft.com/en-us/virtualization/windowsconta...
NSW paid over $337M for 2.5 hours of energy today
I worked through quite a few of the exercises on http://exercism.io/ and can recommend the challenge and the community around it for learning by writing code.
I wouldn't describe Australia as poor though.

Where I'm from(Poland) summers can get stupidly hot, 40C on some days, it's difficult to sleep at night, yet I don't know anyone who has air conditioning at their house. It's a huge luxury, due to the cost of the unit + cost of electricity to run it.
> I have no doubt that programming is a skill that you can improve on through practice. You don't have to be talented or passionate, but you should probably be one or the other. Otherwise, what's the point? Why are you a programmer?

Many people cannot find jobs in fields that they are talented in or passionate about that pay well and have decent working conditions. They have to take jobs in other areas.

An ideal job for this would be one that pays well, has decent working conditions, has consistent working hours with little or no overtime, and that does not leave you mentally or physically tired after work. With such a job you have plenty of time and energy outside of working hours to pursue those things you are passionate about.

Programming could be such an ideal job. It generally pays well. It generally has decent working conditions. Plenty of programming jobs (especially those that don't need talent) have consistent hours, take little mental energy, and no physical energy.
Old: https://news.ycombinator.com/item?id=8216853
Speculation again: it highlighted that Nordstrom would not be pressured into a decision that would yield poorer results.
Snaps would be more along the lines of what I'm suggesting.

Using the system package manager still pulls down dependencies I don't want system-wide.
Planned Espionage Act could jail journos and whistleblowers as spies
Here is a plan with more self-sufficient steps: http://belkadan.com/blog/2016/05/So-You-Want-To-Be-A-Compile...
Some sites are a combination of content (blog, products etc) and a login area with a complex UI. A SPA works well for sophisticated user interfaces but is overkill for content that is just for reading. But then you have to decide is it worth jumping back and forth between JS and your server side language (Java/Ruby/Python) or maybe it would be nice to just have one language to rule them all...
I believe you need to continue writing code to stay in the engineering mindset. Otherwise it's very easy to lose touch.

It would be a superhuman manager who is able to maintain their engineering practise, whilst managing all the soft skills (negotiation, politics, communication, presentation) that a manager needs to do.

In my opinion, the skillets are diametrically opposed. One deals with precise certainties, the other on soft human ambiguities.
Lexmark X2470 Driver Download
something something democracy.

The country is run (roughly) on something resembling democracy and equality. If, instead, the ethos changes to "more power to people who pay more", we give up any pretence at democracy. We might as well just advertise that politicians are for sale.

Which the mostly are right now, but at least they have to pay lip service to the people. Once that's gone, the culture of the country will change enormously. And not for the better.

See William Shirer's "Collapse of the Third Republic" for what happens to countries in this situation. It's less well known than "The rise and fall of the third reich", but I found it a lot more informative.

https://en.wikipedia.org/wiki/The_Collapse_of_the_Third_Repu...
A+Miniature+Rocket+Could+Soon+Be+Used+For+Hunting+The+Cancer+Cells
A few things still need to be ironed up.

Expect full support around .NET Core 2.0 time.

https://github.com/Microsoft/visualfsharp/issues/2400
Design Principles Behind Great Products
> Ship less JavaScript.

Please do. The fastest code to parse is the code that doesn't exist.
The problem is the incentive system.

I have never been known for my lack of directness and in given so, I used to work with an Indian developer who was very good at his job. So one day I just flat out asked him, I said Karthick why do a good portion of Indian developers suck, his response floored me.

Without missing a beat he responded, look it's a misaligned incentive system. When I go back to India the first question I am asked is how many people do you manage. If I go on a date, it's the first words out of a fathers mouth.

He went on to tell me that you see Indian has remains of the cast system still culturally in place and this stems from that way of thinking, but it has morphed into changing your cast by moving up the corporate ladder. The fastest way to managing people is IT given it's over representation in the Indian economy. So what you have is a bunch of would be MBA's getting tech degrees so they can do their time and make it to management. They have no passion for technology and look at it as doing their residency for management.

Then he looked at me and said, with a laugh. Put Simply they go into IT to get laid. Whereas I went into IT to become and American, because and Indian guy with citizenship is John Don (he meant Don Juan).
Shouldn't hashcat be in that list - https://hashcat.net/hashcat/
They also broke the security on the default configuration because now you can just interact with the system components to bypass UAC, see e.g. [0]. This is officially not a security vulnerability because UAC isn't actually a security barrier unless you set it to "Always prompt", but just a feature to make applications play nice. But note that it's not on "Always prompt" by default...

[0] https://github.com/hfiref0x/UACME
Isn't the fallback only SMS/phone? That seems like a roadblock compared to say Google Authenticator.
That's almost the exact scenario I am talking about.

Your custom type there is perfect in JS. The JIT will VERY quickly determine that i is always an integer (actually before the code is first run it will have figured it out), and will "unbox" that to treat it as such (and not a JS "number" type). Objects in JS have a "hidden class" where they can be stamped out literally just like the C# example, so the JIT will be working with the exact same thing. A memory-mapped custom type.

Read up on "Hidden classes" [0] which can give you some insight into how it works. Basically as long as you treat a JS object like you'd treat that C# "custom type" (don't dynamically add or remove properties, stick to one type per property), it will instantly treat it identically to how C# would treat it until it changes (at which point it bails out and tries again, and if that happens too much, it will then default back to fully-dynamic).

But even if that weren't the case, you could still write your own data storage in JS that works like that. You could do something like this:

const customType = new Uint32Array(3)
const A = customType[0]
const B = customType[1]
const C = customType[2]

That storage will not only be typed, but will also have LESS overhead than the C# example, at the expense of clarity (after all, that's basically a C array there). This is basically how asm.js works, and what the code looks like when you compile C code into JS. Obviously you don't want to do that in most cases, but if the JS engine is your bottleneck and your data storage is causing slowness, then it might help.

JITs have come a LONG way in the past 5-10 years. It's pretty incredible what they can do, and it's actually not that hard any more to make smaller functions that can run at C speeds in V8 and SpiderMonkey.

[0] https://github.com/v8/v8/wiki/Design%20Elements
Graphql-Builder – GraphQL Client Library for Clojure and ClojureScript
Oh I don't disagree at all btw., I've been doing MS SQL server and frontend professional recently so I haven't been in the loop about OSS DB, glad to hear things improved.
Considering things from the point of view of the immigrant, the current h1b system seems to me like the only route to immigration for a person who is not exceptionally skilled or wealthy or connected. So there are definitely people who would like to immigrate who would lose out if it became an auction.

I'm not saying those people should necessarily be a major consideration, but you did say "everyone besides companies trying to get cheaper labor".
> "What's the share price"

Which is at least partially based on public perception of the company.

> It's the government's responsibility to train people

That's... a weird thing to say. I like to think of myself as an adult. I chose the discipline to study, got loans (yes), graduated, and paid them off. The university I went to was private. At no time did the government tell me what to do.

It is the peoples responsibility to go into programs that will get the decent jobs. If those programs are full, they can ask for new colleges or universities to be made. Or, they can study themselves.

I've hired a number of self-taught programmers. They're not much different from people with university degrees.
I like the general idea, but when I look at this implementation is seems like it lacks basic facilities for abstraction. E.g. naming values. This reminds me of CSS, which similarly suffers from such a lack of abstraction and is slowly gaining such features. Cf Less, Sass, and other CSS preprocessors which provide more facilities for abstraction.
That's really useful data. As always with statistics, I've thought about what factors could influence the data. One is population, so the obvious thing would be to weight the number of visas issued (which should be proportional to the number of visas applied for if it's a lottery) with the population of that country, specifically the number of people with bachelor degrees or higher.

But even with weights controlling for educated population, from rough calculations I've done, H1-B visas seem to be issued disproportionally often to Indian nationals.

If it were somehow possible to see the average H1-B wage per nationality, that would also be very interesting.

But neither would answer why that's the case, a simple (and probably wrong explanation) could be that Europeans are simply less likely to wait for H1-B visas given the benefits inherently provided in those countries. (Edit: What I mean is you still can't tell if this disproportionality is a good or bad thing, only that there is such a disproportionality.)
Everyone else is irrelevant.
"""The vast majority of enterprise software is written in .NET"""

I'm only familiar with one domain of enterprise software and that's ERP software. I'd like to see a %age number for "vast majority" but let's just say I'm struggling to think of ERP software based on the .NET stack outside of the Microsoft products (which are not exactly a success story).
SAP is based on Java/ABAP, Oracle is based on Java, Salesforce is mostly Java (and those already cover >50% of the worldwide market). I think Infor uses both Java and .NET but maybe someone else can chime in.
About the only .NET shop I can think of is IFS.

Zero of the FLOSS ERPs that I know use .NET for obvious reasons (mostly Java as well, some Python and the occasional Perl etc.). Maybe some will in the future but who knows. I'd also argue that most new ERP will likely be written with a "web-first" mindset which might mean .NET but is more likely to mean more traditional web stacks (imo)

Microsoft products are certainly used all over the place (most notably SQL Server in SAP products) but I think for this sub domain Java is king. Since ERP is a decent chunk of enterprise software I don't think it's likely that a "vast majority" of enterprise software is indeed based on the .NET stack.
Good developers are 'hardly working' and bad developers are 'working hard'.

Good developers are striving for the simplest solution in the realistic time frame in the given context and then they just go do it, which is what I mean by 'hardly working'.

Bad developers are at it day and night to further screw up an already screwed up system, they are 'working hard' at the screw up!

And as not everything is right in this world, the 'hardly working' ones either quit or have to make way for 'working hard' ones.
> Gitlab IMHO has the worst UX of all git based products out there

Remember that git-based products include Gerrit (a UX which I hear hate about, but frankly, I like a lot)
Thanks for taking the time to write that out. I'll check them out.
I deleted all members of the list. It is now sorted as per the first axiom. Goal achieved, job complete.
> Ship less JavaScript

posted on a site shipping 456.1KB of packed JavaScript