skysight-inc/HackerNews huggingface dataset:
We had a pair of VMs that switched hostnames in DNS at one point. (ie. the hostname 'test-1' resolved to the VM with the image named 'test-2')

someone would inevitably restart the wrong one from the VM host, thinking it was the one they'd been SSHing to :/
scrolling through http://git.suckless.org/st/plain/st.c I stumbled upon

#define LEN(a) (sizeof(a) / sizeof(a)[0])

I know precompiler magic is hard, and my C aint the best

but it makes me wonder if the parens at the end make sense -
shouldn't it be something like

#define LEN(a) (sizeof(a) / sizeof((a)[0]))

also asked here https://stackoverflow.com/questions/42001665/is-this-a-plain...
I thought I wouldn't like it, but the selection of web apps is very interesting.
<insert joke about Java being overly verbose>
AFAIK, you can filter 'bad' turkers (by country, performance, etc) and inform good ones that HITS are available. By the other hand, if you pay decently, turkers will be afraid to loose that income source and will perform their best. (Disclaimer: I've made some HITS in a distant past.)
Golang Bcc/BPF Function Tracing
I was there. The whole warehouse team was screaming with laughter, I was properly terrified.

No obvious repercussions. This was peak Tesco profit era, so it was considered a blameless error (AFAIK).
The actual problem was with their DB, not the repo storage so I'm not sure what the actual fallout was, but people lost things like issues/merge requests, so I can see how workflow would be interrupted.
True, but that particular part of it was written with an absolutely straight face. There could have been a gun in the car, in the glove compartment, etc. In an entire career as an enforcement officer, there's a real chance at some point you will encounter a situation like that. In which case, rationally you have to treat every situation like that. My comment was sarcastic to a point, but these are the real actual, even necessary consequences of near ubiquitous access to guns in a society.
How to give your application the support it needs
I just can't relate, I guess. I never wanted to reach a certain kg number; whenever I wanted to alter my weight, I just did it until I reached a state I was content with. I've gone from ~15 kg under to ~15 kg over, back to normal and maintained that. It took some time, but it was effortless.
If you like wacky ideas, consider the 'graph meta-diet' for weight loss. Goes like this:

Determine your current weight, w_0

Define a target weight, w_t

Pick a reasonable target weight function w(d) of the number of days elapsed since the start of the diet:

w(d) := max (w_t, w_0 - 100g * d)

(Ie aim for losing 100 grams a day, until you reached your target weight. Important, we are aiming for a specific level for each day, so any lost ground has to be made up; but getting ahead of the game will give you a breather.)

Get yourself a spreadsheet. Google Sheets works well. Draw that function's graph.

Every day, record your weight. If it's below the line, follow whatever other primary diet you want.

Important: if your weight is above the line, fast that day.

If you hate fasting, make sure your primary diet loses you weight at the right pace. If you don't mind fasting days, feel free to stuff your face with cake.

I guarantee, if you follow the graph, you will lose weight. (But I can't guarantee that you will have the discipline to follow the graph.)
Data Visualization: Creating Impactful Reports Through Charts
Risk Your Life: Path of the Union
Employee rights and labor laws are the main cause of unemployment everywhere, and of many related bad economic consequences.
I look at that page and all I see is icons for Word, Powerpoint, Access and Excel in a line. My brain has been hard-branded for so long. Google need to change that page a bit.
Using the block chain and PDS's for race-blind immigration
Seems like an interesting story, too bad I cannot read it even after trying the google search workaround.
Trump just racially-profiled 90,000 people. With the block chain and personal data stores out there today, why do we need to rely on personal identification for government services anymore? I don't want to give anyone carte-blanche access to my personally-identifiable information if this is how it's going to be used. I don't mind people using my data if they need it to provide me with a service that I value, but I don't think they should have the right to take and own it - especially if they're going to use it to decide that I'm a terror threat because of where I grew up.
I've heard some horror stories from mates working in data centers, where a simple route or firewall change knocks out a huge number of customers :/
Women CIOs paid less than men? HIMSS has some theories about that
Are you saying that it's impossible to draw conclusions from natural experiments? The 'family size' example here is nice:
https://en.m.wikipedia.org/wiki/Natural_experiment#Recent_ex...

I don't see why you need to design a new experiment if data that satisfy your requirements already exist.

For example, if I wanted to know whether people given the name 'george' are more or less likely than the population as a whole to have at least one child, must I recruit pregnant women, and assign half of them to name their child 'george' and allow the others to choose any name? Would it not be better to look at existing data to compare Georges and non-Georges, perhaps slicing by socioeconomic variables? The results would be instant (rather than requiring 65 years to gather) and the dataset larger.
getting the exact same env right will take you days

If your codebase has significant undocumented environmental dependencies and these are hard to script in place, there's something far more fundamentally wrong with your development process than bug reporting.
> "disabled-friendly"? What does that even mean?

I'd say lawsuits such these would be far fewer if people were at least aware of the existence of disabled people, and spend a modicum of attention on how to enable their participation in society.

"video" being latin for "to see" may provide a clue as to the type of disability that could have trouble accessing this content.

I'm not familiar enough with the subtleties of this case to know if subtitles, which IMHO could have been created rather cheaply or through volunteers, would have been enough to make them accessible, or there would have been problems with, for example, visual content such as diagrams and photos. In any way, I suspect the project was on weak footing within Berkeley anyway, and whatever support it may have had within the administration couldn't overcome the legal risks.

It's rare to find an example where the outcome, in strictly utilitarian terms, is as clearly negative as it is in this case. However, the ADA and similar legislation will always be a net negative if you're evaluating it in those terms.

To use the Individuals with Disabilities Education Act which has recently been in the news: guaranteeing disabled students equal access to public education is a losing proposition in terms of total utility. There will always be cases where a school needs to spend, say, $30,000 to make the new library accessible to people in wheelchairs, or may even decide not to build that library in the first place, because it doesn't have those $30,000. Without a doubt, spending the $30,000 on more books for that library would create more "total learning", even if means the few students in wheelchairs never even see a real book in their lifetime. There will even be cases where all this happens at school that don't even have any students in wheelchairs.

The reasoning, therefore, has to be different than purely utilitarian. Laws for disability access are a collective decision to break with purely economic rationality in an effort that emphasises a limited core of rights to be guaranteed for everyone much stronger than the broad welfare of society as a whole. That's not an unusual tradeoff. It's the same that's at play when we don't torture drug dealers to get them to give up their suppliers.

Note that there lots of reasonable exceptions on the books. Nobody is saying that your paragliding school needs to make accommodations for people in a persistent vegetative state. In this case, I'd argue that remote learning is an opportunity almost tailor-made for people with disabilities, and that whoever made this ill-fated decision at Berkeley – knowing how it will become a talking point against disability access – made a grave mistake.
The future of Microsoft’s languages: C# to be powerful, Visual Basic friendly
Culture Codes: Collection of Culture Decks of Companies
Making your Angular apps fast
> Their browser, surf, doesn't even support tabs as far as I can remember.

There is a general tabbing frontend that allows you to tab all sorts of applications: http://tools.suckless.org/tabbed.
MacOsX and Linux terminals support green on black themes out of the box. (Otherwise, I would adopt the white on black option.)
Weight is not the primary concern of being in good shape. Being thin, but in bad shape, is almost as detrimental to your health as being over weight and in bad-shape.
The lack of them is the leading cause of economic inequality and poor treatment of workers everywhere.
http://archive.is/miR4p should work
I'm just waiting for a robust VB to C# converter or at least a way to start moving code across gradually. For now, I'm locked into VB because of a huge code base that's all one giant assembly. It'd be great if you could put C# classes in a VB program (not as dlls), then we might see some VB programmers just stop using it for new features.
There's an error in the Primitive C types section, the width of long:

> long	8 (32 bit)	8 (64 bit)

the second column should be "4 (32 bit)" AFAIK, but definitely not 8 bytes / 32 bit.
I think we had the same issue in the UK, when uber drivers wanted
to be classified as full time workers.

Yep, the drivers won that tribunal in 2016 [1].

Courier company City Sprint also lost a case this year, where the judge described their contractual arrangements as "contorted, indecipherable and window-dressing" [2].

HMRC are investigating parcel delivery company Hermes for similarly classifying drivers as self-employed, and there's a potential case from the GMB Union (who won the case against Uber) [2] [3].

In the UK, the gig economy isn't as simple as companies insisting "you're self-employed because we say you are".

[1] https://www.theguardian.com/technology/2016/oct/28/uber-uk-t...

[2] https://www.theguardian.com/business/2017/jan/06/courier-win...

[3] https://www.theguardian.com/law/2016/oct/20/hermes-couriers-...

[4] http://www.itv.com/news/2017-01-25/hermes-gmb-taking-legal-a...
While I can't disagree that sourceforge failed, it was definitely more than a mere code-host.

Sourceforge had integrated mailing-list support, bug trackers, page-hosting, and more.

There was a community there, it was just that each community was based around a particular project. There was little chance of a user of project A from interesting with project B. But I guess the same could be said of github.

Sourceforge failed in part because of feature-creep, and availability issues. But I think it would be unfair to say that it wasn't "social".
Nah mate, I'm Australian and I understood pretty easily that it was a simile or parallel, not an accusation.
> The claims by Steven Price, who sought to represent as many as 1.6 million California drivers in a class action, were brought under the state’s Private Attorneys General Act

From a quick Google, the population of California is 38.8 million. I would be very surprised if 4% of the population worked for Uber.
Vis – A vim-like text editor
5 ECommerce Email Campaigns for 2017
As a comprehensive textbook on operating systems I would recommend reading "Modern Operating Systems" by Andrew S. Tanenbaum.

Yes, it's almost a 1000 pages, but it's written very accessibly and understandably.
as someone else further down this thread said "It matters because all the heavy lifting is done by C and has little if anything to do with Python itself."

I'm getting slammed for my previous comment!
HP Officejet 6700 Premium Driver Download
You went from zero Javascript/HTML to a job in six months? Is that common? I feel uncomfortable applying for a job in something I only have a few months experience with.

On the flip side, I've found that sometimes you don't need to panic about these things, and the flavour of the month is just that. I'm still making money from Win32 code in 2017, even though iPads & tablets were meant to replace all desktop & laptop computers by now.
ETNs carry credit risk as they generally dont actually own the underlying asset. Instead, the ETN's issuer promises to stand by the value of the underlying asset.

Historically this was not an issue but the collapse of Lehman Brothers, AIG-FP and others made it clear that owning assets is preferable to someone making a promise to give you those assets.
I think this would make a lot of sense on platforms that undergo massive fragmentation(all fingers pointing at android here). Browsers are also fragmented , but websites like Can I Use It[1] should be able to reduce the problem to a manageable extent. I love the idea of reproducible bugs. Because often the hardest part of solving any bug is first being able to reproduce it followed by finding the source. Since I presume these containers would also help in reliably reproducing those one-off bugs which happen only on first install/ first open / on some other event.

[1]:http://caniuse.com/
Are you seriously advocating for the return to employer abuses/neglect?

https://en.wikipedia.org/wiki/Triangle_Shirtwaist_Factory_fi...
I'm not saying a person is perfectly rational. But if you don't like something just don't do it. Corporations aren't forcing you.

Could you give an example of how you can't say no to advertisement?
I'm talking about how it works in practice. Ask someone in one of the targeted groups what it's like with getting their problems taken seriously.
>Why in the age of a _World_ Wide Web and "post-discrimination" are large companies such as Google deliberately targeting specific groups?

Because the gender ratio in STEM fields skews heavily towards men.

>What will be in the girls-only code program that might be inappropriate for boys?

I can't imagine there would be anything that was 'inappropriate', though there may be some boys less excited about making a dress light up. Google is using existing gender roles to introduce girls to code and get them excited about STEM, something that may be far more difficult once they grow older.
Then it turns from a cache miss problem to a memory bandwidth problem. If you are only using a small proportion of the cache line in your calculation, then you effectively multiply the data transferred to the CPU.
"Following that to its logical conclusion would mean that EU courts can decide that Parliament isn't actually allowed to decide to invoke article 50. One might wonder why they're even trying to leave."

The ability to succeed from a union doesn't imply 'sovereignty'.

The State of Texas can legally leave the US Federation at any time.

It has been established that the Province of Quebec in Canada could withdraw from the Canadian Confederation.

Scotland and Catalonia could effectively exit their respective federal entities - not by any obvious legal recourse but it surely could happen.

And yet, federal law in each of those regimes applies.

'Following your logic to it's conclusion' - Holyrood, 'L'Assemble National' and the State of Texas are 'sovereign' entities?

Parliament is not sovereign in areas wherein it as agreed to absolve that authority.

It's hard to claim otherwise - there is a EU judiciary that can overrule local laws in more areas that it cannot, certainly the bulk of the important ones.
you realise I'm a Unix sysadmin, right
JSMpeg – Decode It Like It's 1999
One might argue that the correct lesson to draw, from a broken bone got by doing something stupid on a bike, is not that one shouldn't ride a bike, but rather that one shouldn't do something stupid. That's the lesson I drew from it, anyway.

I'd be curious to know how old you were when you did the damnfool thing, and how your folks reacted to it. I was eleven or twelve and mine were generally unsympathetic, which suited me fine - it's not like I couldn't see in retrospect what a jackass I'd been, or like I wasn't quite properly embarrassed by the result. One does, after all, prefer to be able to say one earned a visible injury in some more respectable fashion than that!
I'll reserve my right to applaud at the end of the show, even if the singer was just being excellent for the sake of a pay check.
Show HN: Startup Toolkit – Interactive how-to guides to launch your startup
dd was going to be my last resort if I couldn't get something built.
Once you get closer to your ideal weight, you will likely want to get rid of the tummy or "love handles", as they are affectionately called. My point was that getting 80% there is easy, the last 20% or so is really difficult.
Home Automation Solutions
With our advanced home automation solutions that are designed with Internet of Thing (IoT) technologies; we endeavour to create smart homes and smart cities that are economically viable and environmentally responsible through efficient use of available resources.

More: http://www.solutionanalysts.com/services/iot-internet-of-things/home-automation/
I've found factoradic very useful for counting and enumerating permutations.

https://en.wikipedia.org/wiki/Factorial_number_system
Obligatory Xkcd https://xkcd.com/394/
I am the USA, in like a suburb-ish area. And uh.. Cars on sidewalks? Is that common in London? How did that become a thing? It sounds super dangerous.
Wait, what? Uber's lawyer said they were worth billions?
As a former VB6 programmer I'd say VB6 is the PHP of Visual Basic!
I agree with you.

Here is my thoughts: spreading knowledge and making it accessible is not a bad thing, of course. But, isn't it true that the current education system (form k-12 to academia) is built to produce a workforce for the industry(2.0)? Here is a quote from a recent HN thread: "Our current system is designed to produce factory workers for the industrial economy, which was adapted to produce knowledge workers for the information economy. But we are moving towards full automation of most of those jobs.

We will need to prepare people to be adaptable in a fast changing automated world: more entrepreneurial type skills are needed." [https://news.ycombinator.com/item?id=13533759]

Education for the sake of knowledge/science ended after Industry 2.0. Maybe that's why the world doesn't have great innovators & scientists and giant scientific leaps as got once until late 19th to early 20th century.

So, it's true that all the current frantic efforts (bootcamps, online degrees, nanodegrees etc.) to teach youth to code are about pouring easy-accessible workforce into the market - towards the final phase of Industry 3.0. After the Industry 4.0 is arrived, millions of workforce will be left out, IMO.
You have a business to keep running, I respect that. But if you truely want to bring innovation to the regular developer, bump up your F# efforts.

It needs a significant effort to educate developers to develop in a truly functional way. You are on track to implement many FP constructs and patterns into C#, so I'm sure the F# efforts would not be wasted at all.
I did that when I was nearly hit in a marked crosswalk (they didn't slow down and were less than arm's length from me) that was at an intersection with no light. They went around the block to come back and start threatening me for hitting their car...
Thanks, all of those links are very informative. Shame that it seems like quite a lot of work still to set up for my own applications.
"The EU courts can declare any bit of UK Parliamentary action 'unconstitutional'.
Only in areas where the EU has competence,"

Yes. And that's a pretty long list that touches on nearly every level of governance.

In fact - that list is in some ways more pervasive that the Canadian governments ability to intercede in Provincial affairs.

Fun fact: Canada does not even have 'free trade' within it's provinces as the Federal government doesn't effectively have the ability to regulate it. Yet nobody would claim that 'Ontario' is sovereign.

It would seem you've provided evidence that the EU rules over a very wide area of governmental competences, making it rather difficult to claim that the UK remains sovereign.
What a caveman!
I wouldn't describe myself as a VB fan but I don't hate it either.

I would say however that there is harm in picking technologies that less developers know (or will be willing to learn).

For your use of VB6 clearly it doesn't matter but I'm not sure I'd recommend anyone started a commercial project with VB...
What is wrong with corporate greed?

I want the best returns out of the corporations I invest in.

> Question how we're conditioned to think of lower corporate profits as a bad thing.

Perhaps it is my neoliberal worldview, but I think most people are like "corporate profits can go down" for <my cause>. People think that corporations are owned only by billionares.

Lower corporate profits are a bad thing for shareholders.

Why don't we just take poor people's money since they're so greedy for wanting money? Most of the arguments against excess wealth can be used against many first-world people including HNers.
-

SEEKING WORK - Remote

UI/UX designer and front-end developer with solid solutions to your frustrating problems.

-

I can help you with:

Discovery - Lets start with understanding your users and goals. Avoiding incorrect assumptions will make sure your users are happy and make your product a success.

UX Design - Using low-fidelity mockups and flow charts we will start our visual journey and define the user flow for your product so that it is strong and easy to use.

Prototyping - Making sure everything feels right. We will test your product through interactive prototypes until everything is as best as can be.

User testing - Getting some hands on the product is an important step to see how the users interact with the product.

UI Design - Adding your brand to the product, colors, style and overall feel. Everything has to be consistent with your image.

Front-end development - Implementation can be tricky. Making sure everything looks and works correctly is important. I can work with your developers or on my own to make the product a reality.

-

Contact me at gilli@gilli.is
Your examples illustrate my point quite well. It is (and should be) illegal to pour greek fire on even 1 person - small scale doesn't make the action ok.

Does this mean we should pass a law against salesmen, and just general interpersonal persuasion? If not, why not?
* Brought to you by, and paid for in full, the Hard Drive Manufacturers Association: "Bringing you quality hard drives that definetly aren't falsely advertised since 1956"
I have ImgBurn installed, and use it a lot, but i needed the 'play a sound when done' and 'eject when done' features - as they really help with bulk rips if you are doing something else at the same time.

I also know from experience, that the simpler the UI, the faster repetitive bulk tasks become - years ago I wrote something similar for Audio CDs when I was ripping my (at the time) 500+ music CD collection.
Well, I don't know what you consider "ridiculous", but I run a web/application server with significant complexity (written in Clojure) in a 2GB RAM VM, with the JVM taking up about ~800MB. I'd say that's pretty reasonable and it meets my production/business needs.
Isn't Microsfot.VisualBasic just as much part of C# as it is VB or any other .Net language?

The rest of your points all sound like bad practice anyway so hopefully people are already avoiding them.
I use the same method as yours, i pick it from http://www.devdungeon.com/content/python-tutorial-starting-y... , i dont see the point in using git for it, but it is a nice introduction