skysight-inc/HackerNews huggingface dataset:
One solution to the problem of ActiveRecord code in migrations getting out of date, that I usually like more than either the solution of only using raw SQL (though often it's the right tool for the job) or of editing migrations later, is to define a version of the classes you want to use locally inside the migration class. This is usually as simple as, eg.:

class DoSomethingWithPermission < ActiveRecord::Migration
class Permission < ActiveRecord::Base; end

# ...
end

It protects you from all sorts of tomfoolery – changes to the class name, its relationships, its validations, etc. – and doesn't require any change in style.

I also love the idea of migrations being forward-only, and deployed on their own (ie. without accompanying code changes). If you can pull it off, those constraints give rise to some nice properties: schema changes must work with existing deployed code, code changes must work with existing deployed schema, deploys can be done with zero downtime, botched schema changes can be fixed without rolling back code changes, etc. It is harder to do than the traditional style, requiring schema changes to be made in phases, and often involving triggers and/or views to keep things consistent, so its cost/benefit isn't necessarily a clear win.
The article was updated. I have to imagine many people pointed out the error.

Good observation on the disarmament movements. I wonder if "nuclear holocaust" qualifies as an "existential risk" for those who consider AI to be one.
What is Internet Privacy and what does it mean to you?
A little more succinct might be: "It's unwise to assume stupidity on the part of your competition, but don't rule out stupidity."
The presentation software may be closed, the crypto is open.

There was even a workshop to build your own.

https://www.defcon.org/html/defcon-23/dc-23-workshops-schedu...

Most of the posters were obviously not at Defcon based on the comments and general ignorance.
Improving the accuracy of the label is a good goal, but from your own link:

Some researchers say that, on the whole, the inaccuracies in calorie estimates don't make a big difference. "For most uses, I think they're good enough," said Malden Nesheim, professor of nutrition emeritus at Cornell University, in Ithaca, N.Y., and co-author of the book "Why Calories Count" (University of California Press, 2012).

People tend to eat a variety of foods, not just almonds or starches. So overestimating or underestimating the calories in one particular food will likely not have a huge impact on a person's daily calorie intake, Nesheim said.

And generally, the omissions in the Atwater system tend to result in overestimates, meaning they likely wouldn't interfere with weight loss.

"It would only be a problem for people who want to gain weight," said Mary Ellen Camire, a professor at the University of Maine's Department of Food Science & Human Nutrition in Orono.
Many times throughout the Entrepreneurial Thought Leaders podcast[1], a founder expresses the sentiment, "If I had known how hard it was going to be, I might not have started the company." The difficulty discounting has also been cited as the reason why many successful founders are young and inexperienced. So while hubris can lead to disastrous consequences for engineers, it could be viewed as an asset for inciting action.

[1] http://ecorner.stanford.edu/podcasts.html
I'm waiting for 'flat' design to be passé, myself.
Am I the only one who thinks this is good news? Not awesome, not even great, but good for development of space technologies.

It's literally another space race if it's true, and we know how the last one turned out.

As they seek to destroy stuff in space (from Earth and from space), they'll want to do it as cheap and fast as possible, and that will be picked up by civilian space companies and enthusiasts in no time.

I highly doubt it will cause any big wars - but if it does, we damn well deserve it.
AWS S3 Having Problems Again? (Monday 12PM Pacific)
We're seeing similar problems to last night -- lots of 503s from S3. Anyone else?
The software is free and based on your comment your looking for someone to trust. All communication and crypto is based on trust. If your waiting for someone else to make something for you... you are by default trusting them to do the security for you.
>We are currently witnessing the gentrification of hacker culture. The countercultural trickster has been pressed into the service of the preppy tech entrepreneur class.

Ouch. That hits hard.
How old is this site?

This isn't a disparaging comment. The explanation and detail is awesome, and lord knows I spent days on Q3 rails servers back in the early 2000s. I'm really just wondering whether this is a recent thing (in which case I'm happily astounded at the longevity of a 16-year-old game) or an older write-up that HN just found. Google has references to "Insta-Unlagged 1.0" back to 2001.
There are Bidi controller characters in the Trick Unicode. (Doesn't appear in Github rendering, oddly)
I agree that sometimes that works really well. Still, for some apps/websites there is really only one obvious and important function. In those cases, a tab bar would just be putting "the other junk" in a more important place than it should be.

There will always be a conflict in design between minimalism and functionality. The hamburger menu just happens to be prime territory upon which that battle is fought.
The University of British Columbia also has something similar, CS110 which uses a subset of Racket (Beginning/Intermediate/Advanced Student Language) to teach core CS concepts to a wide range of students.

The course videos are all available on Youtube: https://www.youtube.com/channel/UC7dEjIUwSxSNcW4PqNRQW8w/pla... and I believe the "Systematic Program Design" courses on EdX are an expanded version of the course.
You seem to have completely missed the entire point of my comment. In no way am I saying that a news site needs to have a link "Lifestyle" visible to the user at all times. In fact, you quoted directly from the most relevant point, the bit that says that there are practically infinite different ways to design a menu that avoids the problem of the hamburger.

As a trivial example, you could have a single menu labelled "Sections" with a disclosure arrow, and mousing over / tapping it would then reveal a list of all sections. It's functionally identical to the hamburger in actual usage, but because it's called "Sections" (and only contains sections, not arbitrary junk), it becomes an obvious thing for users to interact with if they're looking for the Lifestyle section.
That link was for the workshop files.
Yeah, timestamps seem to work much better, especially with distributed version control. Otherwise you have to coordinate who gets the next number in the sequence. There's still a race condition between two branches changing the schema in incompatible ways, but with a clean merge. But in my experience, code review, tests, and just developers running migrations day-to-day mitigates that issue.
Yes, seeing the same thing.
I think it's a good idea, but fwiw it's not CS-specific. Harvey Mudd's idea isn't that CS is so uniquely important that everyone should take it, but rather than everyone should take a lot of things, regardless of major, and CS is one of those things. The curriculum is designed with a philosophy of fairly broad education, kind of in line with a liberal-arts college ideal, but with more of a STEM flavor. I was a CS major there, and only maybe 1/3 of my total course hours were CS: the split is roughly 1/3 in your major, 1/3 Common Core, and 1/3 "HSA" (humanities, social-science, and the arts). [1]

The technical part of the Common Core is currently: 1 course biology, 1 course CS, 1 course engineering, 1.5 courses chemistry (0.5 is a lab), 2.5 courses physics, 0.5 course elective lab, 3 courses mathematics.

[1] There's even a hokey triangle illustrating that philosophy in the course catalogue (p.26): https://www.hmc.edu/academics/wp-content/uploads/sites/7/201...
It's a token gesture at best.

If he used all/most of the proceeds from his previous sales of the stock at its previous inflated prices and bought it all back at a this current low price then THAT would be a "show of support."
As for being a "powerpoint processor", we have gone through multiple prototypes with FPGA prototypes and physical simulation with high speed timing, and we are using that knowledge to get our performance and efficiency metrics. I don't want to release full benchmark data at this point based on software and FPGA simulations of an unfinished design, as it is that... unfinished.

Burn rate is very low (relatively speaking)... Our full size team, which we are building up (We're hiring!), is only 7 people. Our current runway is around 18 to 20 months, and we have some unannounced (and not included in that runway) funding coming along.

Semiconductor economics are also in our favor, with our ~100mm^2 chip being a lot cheaper (per unit, and in terms of GFLOPs/$) than NVIDIA's ~650mm^2 (and up) chips.

As for "getting my facts straight" I was using actual Titan X numbers I have seen for real applications (e.g. nbody simulation)... it only gets around 4000GFLOPs single precision compared to their advertised 7000. I was being generous to NVIDIA saying 20 GFLOPs/watt at best when they are currently at ~16 (before you include the CPU). If you know about NVIDIA, you should know they have a long history of bullshitting numbers.

As for our design, there is a lot more interesting stuff that we haven't disclosed for obvious reasons, but I do stand by all of our numbers. When it comes to our network on chip, the main reason we are keeping it this way is because it is a general purpose design... of course, we would be doing things very differently if we wanted to have something application specific for machine learning.
It is a full-blown war, it had been, and they won't stop it for the public or themselves.

Someone has stolen "genderless no form factor options" from the populous, and are using them against us all...

There isn't much anyone can do.

:-(
Yeah. It was a workshop at Defcon. There seems to be a huge lack of awareness in this thread!
Thankfully they're not sanitising inputs but correctly encoding outputs.
Bitcoin’s Largest Publicly Traded Company Bridges Gaps to the Banking Industry
Just started again in us-east-1.
My impression from the article wasn't an objection to hackers making money per se (indeed, most of the original "hackers", back in the days of Lisp machines and ITS and early Unix, were - if not academics - professional, paid programmers), but rather an objection to the characterization of hackerdom as a collective conformance to multi-million-dollar companies and investors in Silicon Valley rather than its proper (to the author) characterization as individual resistance to such collective conformance.

The article misses the mark here mostly because it swings a bit too hard toward crackeresque antisocial anarchy in order to compensate for the Valleyesque prosocial conformity being criticized. Really, the "hacker ethos" leans closer to asocial ambivalence.
Same for us
> on mobile...

This is a big part of the problem. Devs too lazy to use media querys to adapt the layout to the screen. We end up with poorly implemented "mobile" sites on our big, wide desktop screens. It's like the web took a step back to 1995 with pages hardcoded for 640px width. Looks good on my iPhone... time to deploy.

A hamburger menu that can be optionally converted to a persistent sidebar on screens with sufficient space would alleviate much of the usability problems.
Ask HN: Scared to disclose business idea, bad previous experiences
I am working on an innovative form of online bingo, to do this I need to partner with a 'white label provider' who will give me the regulatory licenses I need to run my operation. They also often provide e-commerce and banking services and marketing.

Most while label providers also run their own gaming services in direct competition to my future business. However to begin a relationship with them I have to disclose screenshots or a video of my design.

I am really worried about this because in the past a business idea was stolen from me, the perpetrator used my idea to create a shell webpage, with alongside some dubious claims about having many clients for their product (which wasn't in reality developed) won £5,000 at a startup competition.

So far with some preliminary discussion one white label provider has suggested buying the idea from me (I have disclosed little information about the innovation itself) and conducting the development themselves. Am I going to be fleeced again?
The science of skipping breakfast: How government nutritionists got it wrong
The immediate problem is that you need to send a huge number of neutrinos to be able to detect anything, so cost and bandwidth are prohibitive. In the proof of concept cited in your link, the experimenters used a 120 GeV beam to send a 0.1 bits/sec signal. (http://arxiv.org/abs/1203.2847)
Front End Developer – IBM (Austin, TX and Raleigh, NC)
Rocket Lab – Prices and Online Booking
Vulkan is extraordinarily thin. There really isn't the large complex global state machine that OpenGL has -- the potential for complex bugs are a lot less.
steam.com is another
Implicit in my comment was that it would be strange/tiresome to present it as a solid argument.

I more or less don't believe that principles are actually possible to act on in a principled manner. If everyone all at once took a deep breath and started calling the things they call principles ideals, we could probably avoid a lot of bad discussions (because implicit in that labeling is the observation that compromise sometimes happens).
"Cross Site Request Forgery" (CSRF)[1]

[1]https://www.owasp.org/index.php/Cross-Site_Request_Forgery_%...
It is... at least until something better comes along. Build your own if you want it... That is what the workshop was for.
My first thought was retrogaming.
It would be really cool to be able to load all of the old games onto a new big hard drive and play them on a computer that doesn't require anything special to make the game playable.

I'm sure there are other use cases as well but this is what occurred to me.
Beyond my belief that apriori human happiness should be the highest priority for society, youre misunderstanding me. Yes, it is obvious that we rely on society to sustain modern life. I'm pretty sure that in 2015 America the main economic problems to be solved are about efficient distribution of the fruits of capital. Maybe I'm wrong, and food, housing, transportation and communication really are primarily supply constrained where I live. Maybe I'm wrong and people who have the means to live satisfying lives, in general, really do suddenly withdraw from society and stop doing and making things.

Regardless, we'll agree to say fuck basic income. I like this even more radical idea: There must be <= 10x total income spread within any company. (I have no idea how to handle the obvious loopholes)
Thoughts from Optimizely on organizing and measuring a customer success team
excellent read
OpenStreetMap Crowd Report – Season 2015
nice article!
Labels Like ‘Alternative Medicine’ Don’t Matter. The Science Does
> I'm not being pedantic about the mechanism. I'm being reasonable about the fact that the method most people have to figure out whether what they have is going to be successful is useless (IE if they can't determine how many calories they eat/burn, they can't possibly change the numbers :P)

The problem isn't with nutritional labels of varying accuracy, but with people under-estimating the calories per portion (without reading the label) and who serve enormous portions.
When accessing an ad-supported website, there is an implied agreement to not automatically block ads. Using AdBlock is an immoral violation of this implied agreement.
Because you can!
Mudd Alumni here. I had the pleasure of being a student of Professor Ran Libeskind-Hadas and Zach Dodds (who are two of the authors of this book). Amazing group of professors!
The inspiration came from Firefox Mobile, which has a unified home screen that incorporates navigation, recent history, bookmarks, and tabs from other devices, all in the same home screen.

If Home is highlights of the day, then it seems natural to scroll down and see a heading for "Yesterday" with yesterday's highlights, rather than less relevant news from today (which could appear in the other views).
Am curious, what career do you have now that is freer of labor exploitation?
Moon Quakes
Yep, same. Lots of latency too--here's what we're seeing: http://kuebri.ch/bucket/s3_latency_081015.png
An open letter to Flightcar
Being wealthy and middle-aged isn't intrinsically bad.
Same here :(
The neat thing about UI is that even bad designs eventually become the best ones as people get used to them and recognize them. The hamburger menu appears on a bazillion sites and it's going to be familiar to most users soon if it isn't already.
I love both programming and engineering (for those who see a stark contrast between the two); but at some point, the unadorned "senior software engineer" role starts to feel rather menial (and if you will, perennially "junior") -- in the sense of always being asked to do work scoped out by others (and implicitly, not being thought of as capable of thinking about the bigger picture, technically or business-wise). Age definitely has something to do with it, also: the role that seems "hot" when you're in your 20s, what you get looked at as "mature" or "experienced" for in your 30s... but then at a certain point, there's a certain "you're still doing this?" tinge that sets in (as in: why haven't you cashed out, or started your own company, etc).

So while I'll (hopefully) always be coding for at least some portion of the day, for nearly as long as I breathe -- at a certain point I realized there was both a creative and professional -- not to mention financial -- imperative to hybridize. (Which can mean different things for different people -- but basically boils down to adopting some kind of a secondary discipline, either in terms of domain knowledge; or, yes, managing people; or delving directly into the business side of things).
I started on a project filled entirely with 'senior people' once, and was really pumped about the prospect of doing Serious Programming with serious people, instead of doing a bunch of mickey mouse crap.

Six months later everything was going horribly wrong because there was not a single one of us who was willing to solve a simple problem with simple code. Everybody was engineering the hell out of every single 'solution' and the code was impossible to read.

From this I learned a couple of things. One was that I had not learned as much from my Second System Syndrome as I thought I had. The second was that every project benefits from having people who are entertained by solving 'mundane' problems, to whom you can assign all concerns that are not part of the information architecture.

But the most important is that the best solution is -never- the one that is dazzlingly brilliant. It's often the one that's subtly clever (everyone agrees "that works", but some can wax poetic about how great it is at satisfying the concern), but sometimes it's the one that's dead simple.

Few solutions are easier to replace than the dead simple one.
Great article!
Oh they quote Morozov?

That's an instant fail.
That's true of many endeavors, and is unrelated to any 'zero-sum' argument.
> Or running TradeStation with a handful of pair strategies or whatever.

You can now buy trading strategies from their TradingApp Store. Supposedly, they've been written by professional algorithmic traders.

https://www.tradestation.com/trading-technology/tradestation...

https://tradestation.tradingappstore.com/search/all/Rating
Bohr's trip about spin
There's mention of open source, but it looks like MQTTParty is itself closed source? (The phrasing "It’s an MQTTParty and you’re all invited" seems misleading here: I interpreted to mean "we made this and everyone can use it.")
> If I'm viewing a news site, I'm not going to think that the hamburger menu is where I go to find the Lifestyle section.

Well, if there is such a menu, where else would it be?
bad day.
We're seeing similar symptoms here as well.
Can anyone explain what Zirtual is/was?
I haven't read antifragile, and its been a while since he's made the book interview rounds. If I recall his point correctly, it's that antifragile systems need to be able to fail, and grow from them. If we design to minimize the impact of any such failures, the system as a whole is considered reliable.

The problem with applying this to IT security is that I see no way to lower the impact. With hard drives, we use RAID to build a more resilient system from unreliable components. It seems harder to do that with the concept of customer passwords, credit card numbers and SSNs and still have a system the accountants can use to reliably file earnings reports.
Seeing it too. 15:00 EST
Are you seriously wishing for someone to experience rock bottom and be met with, "Screw you, I'm improving myself!"?
Trade is an interesting term, because in our experience (for those of you in developed economies) it is circumscribed by a legal framework. So to partipate in legal trade is to implicitly accept the boundaries of law.

I think the article does rightly note that hackers in a historical sense haven't had that same fundamental limit.

Who win-wins if Uber satisfies a need by flouting established taxi law and asking forgiveness instead of permission?
I switched to carpentry, but it's only temporarily.
Everyone involved in my day to day job is a skilled labourer.
We have clients we work for.

No product managers, no product owners, no product marketing, no business developer, no corrupted tech-site that shoves their own vested interests down our throats.
There is a mea culpa in the article about this.
These are not scientists at all.These are coke lobbyists who sell their souls for coke's money. Shame on them.
You're confusing internal politics with labour exploration just to create a straw man for the parent.
I just hope we can keep people like you (or anyone who uses the word "we" like this) away from any sort of position of responsibility.
The basic physics of this doesn't make sense. If you hold calorie intake as constant, and then increase energy expenditure through exercise, then the energy has to come from somewhere.

What I think you're saying is that getting overweight people to exercise may yield mixed results because of their lack of discipline or other human psychological factors.

But to suggest that exercise doesn't help with weight loss goes against the laws of physics.
Index case (medical science)