skysight-inc/HackerNews huggingface dataset:
In case you don't want to click through the security warning, similar stories: https://duckduckgo.com/?t=lm&q=9+Famous+Apps+Built+with+Node...
Rutkowska is surely doing some of the most interesting research in this field.
A lot of times, the argument for why a lot of things are "code smells" turns into circular logic:

Code that is hard to test is poorly architected. Poorly architected means it's hard to test.

Example. Take this code (I'm reusing an example from this thread since I think it represents typical "well-factored" code, and isn't an obtuse example to prove a point):

class FooBuilder
def create(object)
if FooValidator.valid?(object)
FooFactory.save(object)
else
raise "Can't save an invalid object"
end
end
end

It's reasonably easy to intuit the purpose of this code, and what exactly makes for a valid object (since the validator is an explicit dependency of this class.) I've often seen this called "poorly architected code", however, since an isolated unit test needs to depend heavily on mocks to implement, and you end up with something like this:

class ObjectBuilder
def initialize(foo_validator, foo_factory)
@foo_validator = foo_validator
@foo_factory = foo_factory
end

def create(object)
if @foo_validator.valid?(object)
@foo_factory.save(object)
else
raise "Invalid - can't save object"
end
end
end

From the perspective of a coder coming in and trying to understand what's happening here, this code is much more difficult to understand, despite being more "testable". What makes a foo valid? How do I know what a "foo_factory" is? I suppose I could assume that the class defined in foo_factory.rb is probably one - but I can't actually be sure.

The code is more extensible, for sure, but in a way that probably doesn't matter. I can pass in any validator I want! Amazing! Except, in 99% of cases, I'm going to have one way of validating something. The same goes for saving.

I would posit that at least 90% of the time that I see dependency injection in a codebase, it's there solely to aid testing and almost never adds practical (as in, actually being used and not just theoretical) value to a codebase.
Indie.vc v.2 Release Notes
I guess eat for 5 days don't eat for 3? I've heard more often of the 5:2 diet though.
Spontaneous interaction is just a huge boon for productivity. That's how I've ever understood it.
It's a useful parameter that if set right will enhance new exploration over retreading territory. If set too high, you spend too much time exploring shallowly, and if set too low, you get stuck in a rut.
Not their fault, but it is their gain. One of the other posts here mentions a few solutions that wouldn't force retirees or those on fixed incomes out of their newly valuable properties. The coastal areas of California are unique in the US in that vast discrepancies exist between market value and what long-time property owners pay.

- Apply market-rate taxation only for values over a certain threshold, say $1m+ and non-owner occupied
- Defer tax payments until the property changes hands (aka they sell the property or pass it on)
- Reverse mortgages
> https://www.youtube.com/watch?v=5bQhGS8V6dQ

no wonder CANDO is impressive, the scope and fields involved are pretty rare...

I'm very eager to learn if C. Schafmeister work will bear 'disruptive fruits'.

ps: a talk about clasp https://drmeister.wordpress.com/2015/06/15/i-gave-a-talk-on-...
Don't most schools have a code of moral conduct to sign before graduation?
You don't have a right to "value". The exact same argument works against you. Preventing me from building housing hurts the poor! It makes their cost of living increase. And surely they suffer far more than rich property owners.

All economic transactions hurt someone's value, but they create more value than they destroy. It's a net good.
A lot can be said with types beyond simply checking things like "is this a String or an Int?".

Depending on the power of your type checker, you can say (with varying degrees of convenience) things like "this integer will always be positive", "this is always going to be a non-empty list", "these two functions can be composed", "I've exhausted all possible values for this variable; I know it because the compiler told me so", "it is safe to call this function, and I know it won't touch the database or do any kind of I/O", and many more.

Whenever you called a function and it wrote to a file when you didn't want that, that's also a type error!
So what kind of diet cures, say, type I diabetes?
It depends. In a language like Python having 100% test coverage is in and by itself beneficial. A unit test prevents the kind of problems what would be caught by the compiler in a compiled language.
> he just makes claims.

When was the last time you asserted a variable's type in a statically typed language in a unit test where you weren't testing reflection?
The best answer is to use a tool that saves in the format that the file was in originally. I think VSCode and some others do that. If the file only has 2-space indentation then TAB becomes 2-spaces. etc...

That said, assuming a greenfield the best case has to be to use tabs. This way if somebody has a preference to small indents then they can configure the TAB to render as 2-spaces - it becomes a render issue.

So, use a modern tool and it's a moot point.

P.S. not sure why Silicon Valley's Richard started talking about 8 space tabs. That would be crazy. The only time I've seen that is in a proportional font in a word processor.
Assertions are usually only run in development or test mode. So if you run an integration test, the unit tests happen inline through the assertions.
"isInstance" doesn't cover the full range of type errors. It simply covers whether something is, say, an Int or a String.

Types can encode much more. They can encode behavior.
But this has nothing to do with credit cards and everything to do with the media industry. It's the exact same thing as those braindead DVD regions, or youtube restrictions in Germany, or netflix national catalogues.
Not to be to critical of great volunteer work, but I wonder if this makes sense at this point in time. Most frameworks still move very quickly and break APIs left and right. For most users, it makes more sense to install a framework with their favorite Python/Lua package manager.

I can imagine that at some point, bringing in frameworks will be necessary because applications will start relying on them, but are there any such applications in Debian yet?
Server: Flask (or possibly Django) behind Nginix

Database: Postgres and possibly Redis

Frontend: Not much of a front-end person so I avoid all the complicated stuff and stick with Bootstrap. I also tend to prefer coffescript
In 2010, fish provided more than 3 billion people with almost 20% of their intake of animal protein, and a further 4.3 billion people with about 15 % of such, so if you want to talk about real economy and real job creation...
The headline, while accurate, doesn't really describe the breakthrough here.

In itself, it's not surprising that sunlight, hydrogen from water and CO2 could be put together to make biomass. That's pretty much what plants (and many natural bacteria) do already.

The novel aspect of these bacteria is that they apparently do the job 10x more efficiently than natural organisms.
I know, right? The skepticism people are putting up toward something that's right there in front of them in the world right now, the amount of back-and-forth that's being treated as justified, is kind of mind-blowing. (I've actually found that seeing the confidence people have in their self-assured dismissals of VR's feasibility has altered the way I perceive the attitudes I encounter in other fields, particularly politics.)

Since (nearly) everybody in this thread seems to be under the impression that it's impossible that the vast majority of people who've used the Vive are actually telling the truth about the lack of nausea it incurs, here's one of several weekly videos put out by the developers of Fantastic Contraption, showing people playing their game unimpeded for two and a half hours: https://www.twitch.tv/colinnorthway/v/61979623

In hours and hours and hours of real usage, the only thing about the headset you ever see anybody people in these videos complain about with the headset is sweat.
Ulterior States Doco (2015)
Not to mention they have these weird urges to completely control their userbase, to the point where people are creating services like go1dfish or uneddit to see posts that were deleted - and most of the time the posters didn't even break any rules. It's just toxic atmosphere for everyone.
It sounds like the way that Redux works would be great for this kind of logic.
Vim. :)

If it's just you, and a first outing, then a minimal set of whatever you're most familiar with. For me that would be nginx -> wsgi -> flask/bottle or similar -> postgresql, because python. Similar if you're more comfortable with ruby, js, whatever. Build out from there if it becomes worthwhile.

If you're a group, whatever allows the group to make best progress.
Yeah this couid be an excellent stop gap.
> I didn't know to scroll to the bottom

If only there was some sort of bar that could indicate your relative position on the page. Maybe in the same spot on all websites to make it easy to see. Maybe even part of the browser!

In all seriousness this seems much less a GitHub issue and much more about how well you computers.
Product Hunt doesn't give indie startups a better chance at exposure, so the juxtaposition does not make sense.
You're still arguing against something the OP isn't actually advocating. I see nothing suggesting that "quackery" or "fake medicines" should be approved.
Do other HN readers find themselves on the receiving end of ridicule by their fam & friends for taking this privacy stuff seriously? I'm constantly being told I'm unreasonably worried, borderline tin-hat wearing paranoid, for being concerned by the surveillance capabilities built into our modern consumer electronics which are available to governments and business alike.

But if someone my parents know have their identity stolen by stealing credit card bills and applications from their mailbox and then find themselves on the hook for $30,000 in fraudulent charges, well then it's all my parents talk about for the next 2 days.

That I understand the technology and they do not, seems to keep them from taking the issue seriously.
Not sure I understand the downvotes.
Sorry, I mean: this ticket filed against the tmux project, is an insult to the tmux devs in particular. Since its directly asking them to do free work to compensate for Red Hat's breakage.

Obviously Red Hat's behaviour in general shows disdain for any devs in any project who had working daemonization code that just got broken.
Yeah, I'm trying to remember where I saw it(definitely wasn't UE3, that engine is the definition of tight coupling). It may have been for inter-component communication inside a single entity for a cleaner ECS.
> I don't know what the solution is long term but I have a feeling someday this experiment in free market capitalism

The skyrocketing housing prices are caused by strict zoning regulations, and there is absolutely nothing about free market capitalism in strict zoning regulations.
Ola to launch new subscription model and post-paid billing
His HN profile: "i come from the future and want to see it built the way that it should be. please feel free to contact me to learn more."

What more do you need?
Total madness. The first of these birds to encounter an RC helicopter will be shredded, protection notwithstanding. It seems to me like training animals to commit suicide by hurling themselves into whirling blades is a larger crime than flying a radio controlled toy somewhere you're not supposed to.
You aren't talking about the San Bernardino iPhone 5c that had a A6 series CPU which predated the introduction of secure enclave are you?
Why Bloggers Should Tell Their Story
How do they compute the favoribility of a city?

Yekaterinburg, Russia:

English Speaking: bad

Free WiFi: bad

Friendly to Foreigners: bad

Racial Tolerance: bad

Gay Friendly: bad

New Orleans, USA:

The only bad thing is the absence of free WiFi in the city. Yet, Ekaterinburg is apparently 12% better than New Orleans. How so?
I just tried this, and it is surprisingly not bad functioning as a sort of oracle / suggester. I keep a notes.txt file with thoughts questions, ideas, etc. in most projects, and I would like this hooked up to it in vim, with a given line opening up the results window on the right as I moved to it.

I tried "draw a 3d cube", apparently it doesn't have any 3d java libraries baked in, but it did give me a bunch of 2d APIs, and then "plot a math function", giving me some trig functions directly and some plotting functions.

That would probably have saved me 80% of my time looking stuff up, especially in such a large search space
They not only make a lot of money, they also give a decent chunk of it to their programmers:

"We pay very competitive salaries, and offer our developers EUR 120,000 annually following one year of employment. If necessary, we will go out of our way to help you relocate to Berlin, and will do what we can to help you acquire a work permit."

https://www.think-cell.com/en/career/jobs/development.shtml
That's a pretty bold statement, considering that it's currently unknown whether general "intelligence", or g, even exists.
Their build process sounds similar to Bitcoin Core's release process.

Bitcoin downloads dependencies, checks them against their preconfigured hashes and then builds the different versions (Windows, Linux, Mac) in different VMs. The build is deterministic and thus produce the exact same files for everybody. Everyone signs the files they produced and uploads the signature. If all the signatures are valid for the same file you can be reasonably sure that the build process wasn't tampered with.

Getting deterministic builds even for a project like Bitcoin Core with few dependencies was hard. On the scale of Qubes this would be a monumental task. But maybe Debian's initative for reproducible builds makes this easier in the future.
Orchestrated how? If the passwords are not going over the wire unencrypted, it doesn't really matter how secure the wire is -- unless the attacker is also actively replacing stuff that does go on the wire and would touch unencrypted passwords at some point, like JS files, but that indeed requires an active attacker.
Charging $ to use Atom? No thanks.
$130

And your air ticket is going to cost a lot more than that. The painful part is that you have to fly to a city with a Brazilian Embassy (LA, DC) inside the USA and stay there for a week while your visa application process happens.
I don't disagree with you. I was just trying to explain why property owners often want some restrictions on what their neighbors can do.
Tabs all the way man it so much easier for code control.
Interesting original discussion: https://news.ycombinator.com/item?id=1440365
And that's exactly what the government is doing here. Removing the baby from the parents to prevent possible future harm until additional checks are made.

That takes time, and is stressful. But it looks like the best solution we have right now to a very difficult problem.

There is no other viable solution.
I can't see this video for some reason, but I remember seeing this beast as a child in the memorable "Science & Vie hors série" "Robots" magazine in 1977, that I still have somewhere :) The article mentioned that only its designer could successfully tame the monster and make it walk (a little bit).

By the way in the very same magazine there was a huge article about SHRDLU and an interview with Terry Winograd, who's been my hero ever since :)
If I Were the Leader of Google Adwords Customer Success
Ideally tabs. That's what they're for. But at some point someone on your team who doesn't understand the difference is gonna start making changes and screw it all up. Because of this, I use spaces. That way it always looks the way I intend it to look no matter how poorly the viewer's text editor is configured.
AUGMENTED AND VIRTUAL REALITY, a NEW FIELD FOR HACKERS
smart thinking!
The dude is a paramedic. His job is to drive like a madman through red lights to emergency situations to frantically try to save someone, not to weigh the merits of research.
With a decent hierarchical decomposition, integration testing at component/module/subsystem boundary achieves both good coverage and low latency test results.

I worked on a big ETL database migration tool in Python and it had a top level integration test with the smallest possible subset of data, like 500k end to end. Then each subsystem (it was architected like a nanopass compiler) had a more complex set of integration tests that only checked that pass but more rigorously. The whole project (10k lines of code) had under 10 unit tests that double checked tricky low level primitives. Every test was independent and could be run in parallel, my longest test was just under a minute, my shortest was about 1 sec. The shortest tests were run on module import ensuring both an easy affordance to testing and a tight feedback loop with no unit tests to impede refactoring.
My understanding is that English is a natural second language for the Dutch and is taught extensively in schools (i.e. learned by everyone). Also, they are close enough to the U.K. to receive broadcast television, etc. so they also have that level of immersion.

Every Dutch person I've met has had a terrific command of the language, much better than average native speakers. I suspect that at least some of this is due to the fact that as second-language students they actually take time to learn the rules of grammar, etc. Most native speakers pick it up "on the street", so the Dutch (that I've met) tend to sound more formal and educated, especially when there's no discernible accent.
“I saw Gawker pioneer a unique and incredibly damaging way of getting attention by bullying people even when there was no connection with the public interest. . . . I thought it was worth fighting back.” - Peter Thiel

Peter Thiel was not hiding his sexual orientation, but Gwaker made it look like so.

https://www.washingtonpost.com/posteverything/wp/2016/05/27/...
My boss used to call that a peoplefarad capacitor.
It does fit my kids. The experience gets less sharp if your interpupillary distance is too far out of spec, but down to about 7, kids function with it fine. Even little kids immediately 'get it' when they are using it; it is the least mediated computer experience I've seen.

You can put on a headset with a 75 year old man and hold out the controllers to him, he will reach out and take them.

Inre: weight, the kids don't like to play more than 30 minutes at a time or so, but that's partly because they want to talk about what they're seeing with someone there.

Probably the most frustrating part right now is that you want to engage with other people, ("oh wow!!" "can you believe that just happened?") and it can be hard to do so when you're isolated visually and auditorily. I think it's got a ton of potential as a party game technology though, with a little bit of work at the integration back and forth with friends sitting on the couch.

Inre: sedentary gamers, probably not, but it does encourage movement. In the first few minutes I tried out hover junkers I was literally crouching on the floor, popping up out to shoot at an opponent and then back down as quickly as I could. One of my daughters at her first try was down on the ground crawling around to look at something in under a minute or so.

So, it's at least a lot more movement than we currently have. :)
Hrm I'm struggling to see how it is/was any difference from years ago when games/movies were region locked. Protectionism has always been the name of the game.
The reason that's pushed for it in the context of articles on the web is that it breaks up the wall of text, and supposedly people are less likely to stop reading in the middle of an article if there isn't a wall of text.

It's a substitute for images for lazy authors.
> I'm not going to develop while connected to the internet.

You don't have to. If you do use crates from crates.io, then you need to be connected the first time, to get everything. Not after that.

> ... and is this even possible?

Running your own registry with your own universe of crates is very possible. Mirroring the external world inside that one is not that easy.

> I couldn't even find the crate. ... that isn't suitable.

Well, multi-bit fields are made up of one-bit fields... if you're looking for GDT, LDT, IDT stuff, the crate referenced in the article already has all of that defined for you. If you want to define it yourself, well, I did it with a struct and a method that handles the bit shifting.

> I have to wonder how well it performs.

Well, Rust is itself implemented in Rust, the standard library is all in Rust, so.

Also, finally, you don't have to use crates.io to use Cargo. You can just specify crates that are on your local filesystem, or a git repository hosted anywhere.
Anybody else remember the I Am Rich app for the iPhone?

https://en.wikipedia.org/wiki/I_Am_Rich
It is good to maintain an understanding about the difference.

On the other hand, many of the most egregious problems are due to weak typing and not as static advocates, well, advocate, static vs. dynamic.

Having a really good type inference engine helps make statically typed languages much more productive - but lisps and the like have real advantages too.
I agree they seem like buzz-words, but not from software engineering research. They look entreprisey or startup friendly buzz-words to me.
At around 16:00 he mentions a water-filtering molecule that works more efficiently than reverse osmosis.
I think she did that just to see if he would get annoyed.
Interesting, is there a formal name for this kind of type system that has the ability to look at the code paths and express disjoint type sets?

Is this a trend in newer languages in general or an FP specific thing?
This man is really my hero.

I cheered when he said "if you want to talk about premature optimization, you get out now".
There is a campaign collecting signatures to end geoblocking within EU: https://endgeoblocking.eu/
LEMP Stack in 90 seconds with Docker
> and hoping for the best

Well you are supposed to do a blood test for the metabolites that occur in the methylation pathway, to see if the cycle is running correctly. Not sure if that is mentioned on this particular site, but this is what people are doing for example on this ME/CFS forum [1]

> The entire website stinks of snake oil

You could still be right about this (or not), of course. I'd also like to see some clinical trials of this approach.

[1] http://forums.phoenixrising.me/index.php?threads/methylation...
(For those who might not have already seen.)

Chrome vs Firefox vs Safari vs Servo WebRender: https://www.youtube.com/watch?v=u0hYIRQRiws
Why would bbc.com be off limits to those in the UK? I've never heard this.
In a way, it's for the same reason people don't think EVs or solar power will dominate. They look too much at what is currently happening or has happened in the (recent) past, and think that's how things will always be.

The HN types tend to be more informed about what's currently possible with technology and have a better understanding of where this can lead to in the future. "Normal" people don't have that going for them, so for them it's "strange" that you would say such things.
Just as you said, statistically speaking being stupid from time to time is an inevitable part of the process :) When I manage to anticipate every angle correctly then usually there is no bugs, so it's not that relevant for this discussion. I was talking about those "other" moments, and usually, yes you are completely right, it's just me not being focused or not looking from the right angle on the problem. Thing that really sucks in programming is that computers almost never make mistakes on their own, it's always us who screw up the code :P