skysight-inc/HackerNews huggingface dataset:
> the other senior dev might not be a superman of similar competence

Superman? Any experienced developer should be able to work with other people’s code. If you can’t, you’re either inexperienced, or need to learn the language/frameworks used.

> look there's a unicorn!

IMO 70% of third-party code is crap, regardless on unit tests. Moreover, nearly 100% of the third-party libraries comes with a license saying “provided as is, without warranty of any kind” or similar.

When using any third-party code, you have to carefully test whether it fits your particular purpose. You’ll need to test that code as a part of your system, feeding your data, and measuring the performance characteristics you need. Unit tests don’t help with that.

> You have to think this through starting at the design level.

Waterfall model only works if you’re building a space shuttle or similar.

Architect isn’t a prophet. Design changes through development as requirements change. Between major versions, they can change dramatically. Also there’re external factors that often affect your design: language, it’s runtime, host OS, sometimes even CPU architecture — they all change.

Eventually, you gonna need to update your design even if at the time of your version 1.0 it was just flawless.
Eiffel was one of the very first ones to have that feature actually, around 2006 when the language was revised for the ECMA standard.

https://www.eiffel.org/doc/eiffelstudio/Differences%20betwee...
An Introduction to the Theory of Lévy Flights [pdf]
The Swank diet and later the McDougall diet have been halting and sometimes slightly regressing MS symptoms in most cases, for decades now.
The Swank diet in particular, has kept people alive with the disease for 34 years.
https://www.youtube.com/watch?v=kZ5NGLM1k90
Here's a BBC Radio Four programme about some women at Bletchley Park: http://www.bbc.co.uk/programmes/b062ktlf

(I have no idea if they geo-block this, nor what the workarounds are.)

Here's a bit of text to accompany that programme: http://www.bbc.co.uk/programmes/articles/Q3lFn2vTv9JMgxX98bR...
So that's the famous Tony Hoare. Nice trip down memory lane there.

Who was the guy at the end from the Erlang community? (The one who drew a chart with the axes useful/useless versus unsafe/safe that he claimed he got from Simon Peyton-Jones?)
Add a glossary/dictionary for all the new React terms, at the end of the article ..
Yep, exactly. I've seen similar concepts be successful in the past. Of course we only get to see the successful ones (survivorship bias) and for every successful 'experiment' there are a 1,000 failed ones, but I figured why not give it a try.
"Trying to make kids memorize a bunch of stuff that's unimportant to them is incredibly inefficient and the information fades fast."

I've come to the conclusion that it's not about this information itself. It's more about learning how to learn. This is the skill that the education system helped me develop, and which is useful for me long after the "training data sets" the school used have fallen into complete oblivion. Personalized mnemotechnics.
I work with an engineering application that uses a 5th/6th normal form database that is implemented in standard SQL server/Oracle DBs. It is awful and painful. A simple query with maybe five properties and 2 relationships takes upwards of 20 joins. Yet the database only has 4 tables...
> as virtual paper scraps scattered before me in all directions

The platform had virtual paper scraps on a board users could move around, so it's not just matrix-style writing, it's how the system worked
>Intelligence isn't very hard to measure. The methods to test it are quite mature.

On the contrary. A lot of the standard methods are crude and coarse measures of intelligence.

https://www.sciencedaily.com/releases/2012/12/121219133334.h...
IMHO "unit tests as documentation" isn't quite the right description. Its more like "guaranteed to work example code and tutorials".

One example is where there might be preconditions for calling a function. This type of information is necessary to know but can be hard to work out even with rich documentation. Without documentation, you are going to be reading a lot of code to try and reverse-engineer the internals.

With unit tests, you can do a quick "find all references", see how the method is called within different tests cases and be confident that the setup actions in the given test fixtures will work for you.
Ask HN: If you started making a web app today which tool would you choose?
Some of us believe living in a place, especially a place one was born/grew up, should be a right, not a privilege. Here's Polanyi (with comments from Brad Delong) on land:

"Land could not, in Polanyi's view, be allowed to be the plaything of the self-regulating market for essentially sociological reasons: where people lived determined who they were, and a self-regulating market that told people they could no longer afford to live in the community where they thought they belonged would trigger such a strong sense of communal injustice to spark the chaos of revolution:

Commercialization of the soil was only another name for the liquidation of feudalism which started in Western urban centers as well as in England in the fourteenth century and was concluded some five hundred years later in the course of the European revolutions, when the remnants of villeinage were abolished. To detach man from the soil meant the dissolution of the body economic into its elements so that each element could fit into that part of the system where it was most useful....

Some of this was achieved by individual force and violence, some by revolution from above or below, some by war and conquest, some by legislative action, some by administrative pressure, some by spontaneous small-scale action of private persons over long stretches of time. Whether the dislocation was swiftly healed or whether it caused an open wound in the body social depended primarily on the measures taken to regulate the process....

The inertia of the common law was now deliberately enhanced by statutes expressly passed in order to protect the habitations and occupations of the rural classes against the effects of freedom of contract. A comprehensive effort was launched to ensure some degree of health and salubrity in the housing of the poor, providing them with allotments, giving them a chance to escape from the slums and to breathe the fresh air of nature, the “gentleman’s park.” Wretched Irish tenants and London slum-dwellers were rescued from the grip of the laws of the market by legislative acts designed to protect their habitation against the juggernaut, improvement. On the Continent it was mainly statute law and administrative action that saved the tenant, the peasant, the agricultural laborer from the most violent effects of urbanization."

http://www.bradford-delong.com/2016/05/highlighted-for-march...

Different values.
I was talking about them in a general context; for a particular language / a particular setting of course they may be a mistake.
This reminds me of a recently declassified document from the CIA that discusses how to undermine organizations by being poor managers, employees, etc. It's difficult to search HN for this at this point because A) we always discuss that agency and B) our best search option gives us the option of the past month or the past year. Maybe someone has this bookmarked or downloaded. It came in PDF form.

This is happening to us here. I think they're doing it by using the "No true Scotsman" informal fallacy and other methods. We'd blame the hundreds of thousands of new users. I believe they've found a way to unwind this community. Nothing revolutionary will ever come from here (how could it?). I think the community has been compromised and that we won't find out until 50 years from now when most of us are dead.

This is how I feel after years of watching the community. I have no stake in it either way. I'm open to opposing views.

Thanks vermontdevil for finding the link. If in 1944 they had a field manual for subverting physical organizations, it's foolhardy to believe they don't have a field manual for subverting "online communities with up and down arrows."
>Coming from an Eastern European country, my parents were making less than $10000 a year combined in the '80s and '90s. Nowhere near "wealthy" by western standards. However, they gifted me with a strong STEM education, which translated in material affluence 25 years later on a different continent.

That's the very definition of anecdotal evidence and survivorship bias. Both things that a strong STEM education should help squash.

It's also based on a historical peculiarity. In the west, and in particular in the US, to get a good STEM education you statistically have to be middle class or wealthy in the first place. (It's not impossible to have one if you're not -- just more difficult and rare). That wasn't the case in Eastern Europe, where the state provided easier access to higher education.
What bothers me about this piece is that the seven generations she almost describes as "lost" were the most productive generations in humanity's history. Think how the developed world looked in 1850 and how it looks now. This is the work of there generations of "dogs locked in a cage". Something doesn't compute.
> have you been challenged recently with Google captchas?

I consistently fail captchas, last iterations are simply too hard for humans. Googles aren't even the worse.
Methyl anthranilate is present in pretty high concentrations in the fruit of grapevines descended from Vitis labrusca, a native grape species of northeastern North America. Concord, Niagara, and Delaware are some of the commonly available grape varieties that are crosses with v. labrusca and the "grapey" Welch's taste that some North Americans enjoy and most Europeans loathe comes mostly from the methyl anthranilate.

Just sayin'
Top 5 reasons I don't trust the government

1. Many of the regulatory systems which are supposed to protect the populace have been captured or have their effectiveness impaired by special interests, ie. the revolving door between the SEC and Wall Street, the FDA and Big Pharma, and DOE and Big Oil

2. Even when our institutions are not captured there is a perverse logic supporting institutional missions that lead to abuse of power. The Tuskegee experiment makes perfect sense you've got to have a control group in order to better understand the pathology so you can better protect the populace.

3. Poor execution or formation of government policies that would in any other profession be cause for malpractice or being disbarred or worse are routinely foisted upon the populace.

4. Corruption

5. Increasingly your rights and legal protections are seen by institutions as being granted by those institutions instead of being protected by those institutions. Your rights are correctly perceived by the institutions as hindrances to their institutional missions.

Better legal policies wouldn't even crack the top 5 reason for me to trust government. We are way beyond wonky tweaks to our legal system. All of the above essentially boils down to accountability. If policy makers and lawmakers could be held legally accountable for policy mistakes, possibly even financially responsible for the mayhem they cause I for one would feel a much closer allegiance to our government.
AWS S3, Lambda (NodeJS). You'll get one year for free, then you'll pay very little on that configuration.
"I went to a very liberal public school, where my teachers taught me to be an independent thinker, and to distrust authority. [...] A common refrain was "Why do we do things this way? OLD DEAD WHITE MEN.""

Hmmm. The cliche of dismissing Western culture as one created by "old dead white men" isn't independent, only lazy thinking to me, and it deserves criticism by itself.

The fact that you yourself refer to it as a "refrain" is quite telling on my opinion...
Googling "shaken baby syndrome not real". Apparently, there is some question as to whether this syndrome exists or is over diagnosed.
This is intriguing, but you're asking for lots of very personal info about us without even telling us your name, your company's name, or your industry.

Would it completely sabotage this unique recruiting strategy to tell us at least something about yourselves?
Do you have a link documenting that Google Authenticator (or Symantec) uses it?
github link to code?
Nice, that's a great deal! What's the percentage drop in salary an experienced software engineer would have if moving there?
Oh, brilliant, thanks. I suspect this evaded my searches because it doesn't say '960mx' in any machine-readable way!

There's some fascinating stuff in here. For example:

> 8.4 Object Lifetime

> To support the implicit deallocation of certain objects while preventing dangling references, the object lifetime concept is supported. The lifetime of an object can be local or global. "Local" objects have a lifetime that is tied to a particular program execution environment [...]. "Global" objects are not associated with a particular execution environment.

> Each job has a distinct set of local objects. No two jobs can have ADs [access descriptors] that reference the same local object. The processor does not allow an AD for a local object to be stored in a global object. Thus, when a job terminates, all the local objects associated with a job can be safely deallocated, and there cannot be any dangling pointers.

The machine was designed, to run Ada programs. Does this line up with how memory management works in Ada? It certainly resembles how it works in Rust!
Do you use nodejs for everything? Real-time, CRUD heavy apps, etc..?
Well first its invalid to use 'assumed' IQ. Thats just nonsense metrics made up after the fact not based on science.

Moving on I am always confused by these extremely low average IQ's for nations. 70 is the cut off for what is considered mental retardation... It seems pretty unbelievable that 50% of a stable nations population could actually be of a level of intelligence that normally indicates the inability to acquire and feed oneself reliably without limited support. To me this argument seems clearly contradicted by reality.

Final point is, average IQ of Europe 100 years ago on a modern IQ test is 70... so the argument that a nation of IQ 70 people would not have produced an 'Einstein' since the formation of the earth... is contradicted by the fact that a people of with an average IQ of 70 (in 1916) did actually produce Einstein in 1879.
There are lots of obviously useful things to print, but printing them is expensive and difficult.

I looked into replacing a door shelf for a huge Samsung refrigerator. It's a $2000 refrigerator with $50 parts that constantly break. I could buy a new part every few months, 3D print something suitable, or give up and just replace the refrigerator.

Step one is getting a model. Everything is organically curved. Ugh. This is impossible. Well, putting that problem aside, let's just throw together an approximation so that I can get a price. It's a bucket about 20x30x40 cm, and needs to be about 5mm thick. To survive longer than the original junk, it'll need to be made out of something decent. The first thought is naturally titanium. Woah, expensive! The second thought, reluctantly, is laser-sintered nylon. Woah, expensive! I don't want to just go thinner, but I could carve out some holes or leave ribs. This is getting complicated. Woah, still expensive!

It's a good thing I didn't put the effort into somehow making a model that would perfectly fit the organic shape. My effort would have been wasted as soon as I found out the price.

I bought a new refrigerator. The old one is still here, growing mold, because I can't get it out of my house.
If the app is mostly a tool that doesn't need SEO I would use Phoenix with jsonapi.org compliant api + EmberJS.
9 Famous Apps Built with Node.js
I'll bite. What's wrong with it on iOS?
It takes time to solve a captcha regardless of whether or not it's going to /dev/null or into some neural network.

(My second paragraph was actually directed at a reply to your comment.)
Why should some young people who got lucky in a unicorn startup get to push out some old people that helped build that community?
Woman Who’s Created the 21st Century Finance Model for Emerging Technologies
Unit tests can also prevent aggressive refactoring by being heavily coupled to the implementation due to the nature of mocking essentially private details of the code under tests. You then have to aggressively refactor your tests along with your code and all the safety that the test would give is gone.
Would love comments, questions, and criticism on my choices.

Hosting: Lambda via Serverless for API, S3 for HTML/assets

API: Node/JS via TypeScript, Postgres RDS, GraphQL

Front end: React
Thanks. I hope encryption can be better integrated into mass market tools. For example the https://adnauseam.io/ browser extension which can be added to Chrome and used to dilute all the data collected by making it contradictory and meaningless.

I considered using Tor as my default browser but it felt like I was putting a big red target mark on myself even though I am not doing anything illegal. I would like encryption and obfuscation to be the status quo as mentioned in your quote - so it would be more of a passive protection and therefore less suspicious.
One year after acquisition, Path is more dead than ever
> "Land could not, in Polanyi's view, be allowed to be the plaything of the self-regulating market for essentially sociological reasons: where people lived determined who they were, and a self-regulating market that told people they could no longer afford to live in the community where they thought they belonged would trigger such a strong sense of communal injustice to spark the chaos of revolution:

That's precisely why land should be left to the market. Because the alternative is not some egalitarian decision making with perfect information. The alternative is allocation of land through the political process, which has historically been used to encourage less than noble ideals like racial segregation and overuse of eminent domain.
Has anyone here played The Binding of Isaac?

Awesome game. Hard as hell, though.

Every time you start the game all the levels are randomly generated. Each level has a treasure room which contains an item that may give a boost to your status or give you a special ability. Some items make the playthrough a lot easier, some can make it even harder. The items you get are basically down to luck.

The game is still hard anyway. There's no item that guarantees you'll win and, fortunately, there are strategies that help you make the most out of what you got. If you're good enough at the game the items may not even matter, you're just that good.

Unfortunately we don't have infinite tries at life like we do in a video game to learn how to get better. You have to learn while you play the only run you've got.

That's how I see the whole issue of luck vs. merit.
Are you me? That's my ideal approach! Except I'm not so crazy to consider running the build on the slow box (:D), rather my approach would be to have 1Gbps+ between the two machines, build on the fast machine, and run (perhaps directly from NFS?) on the slow machine. I was thinking of editing on the slow machine too (so it's the machine you use) but I don't think going that far is actually necessary. Now, as to how exactly I would implement this idea under DOS for my 486 is another story entirely...

I know what you mean by the obviousness thing. I however am sitting here with no idea how even to desktop with Arcan. I wouldn't mind finding out though.

And I was wondering if it was updating the FFT so slowly because of... yeah, something like that. I see. I have to acknowledge and agree that it does indeed not sync well. Fixing this sounds like a large pile of boringness; I can see that the other display components update pretty quickly, at least. (But now I'm wondering, is the video of a VNC server? I thought it was SDL. How are you updating the screen so quickly?!)
The bugs are way more subtle than that. You're lucky if your bad programming is caught somewhere at runtime. In most cases, Python and other weakly-typed languages will do everything they can to fit the data you're providing with what the code is expecting. This means converting strings to numbers and the other way around, plus a lot of other oddities you would not always expect (see PHP's intval for a crash course in bad language design). All that results in bugs that are far from obvious, and that don't always raise neat exceptions.

EDIT: I stand corrected, I don't know enough about Python in particular. The argument is still valid for other languages with weak types.
Oh, that's awesome :D I really want to do that one day... but no going in for you, mkay?! Thou shalt stay in one piece, particularly thy spine.

Also, wow, that's really neat, having everything Just Work(TM) like that. If you use this setup on a regular basis (and it sounds like you do), I can't help but suggest ditching QEMU's VNC server and using TigerVNC (from inside the guest), which automatically resizes the remote virtual display (assuming the guest VM is Linux). Other options include going full crazy and setting up Xpra, a rootless VNC alternative that's a bit heavyweight, or the potentially interesting idea of "DISPLAY=host:0 chrome &" inside the guest (of course with lots of intricate fussing with security).

I can understand overtrusting the browser; sadly thanks to the W3C (which is now basically run by a bunch of corporations) and their hundreds of thousand-page specifications, browsers are impossible to audit. Besides Dillo (LOL) and Cargo (bookmarks to come back to in 1 year), NetSurf seems very interesting, and builds pretty quickly (after you figure out the build process :D:D) too.
Another possible explanation is that the automatic spam filter detected some strange pattern, for example a lot of upvotes from just created accounts. Did you share the HN post in tweeter or something?
As shitty as it is to copy and paste spam messages all day for (probably) little money, I'm not quite sure it would qualify as a sweat shop. Even if it was quite warm in the office.
Sounds good. I might invest in a dedicated setup like that. One of the advantages of a triple monitor setup is that our eyes can instantly scan around the screens with only a small amount of head movement. With VR the same move requires a larger head turn, and the resolution not as good. Not to mention the nice desktop area.
Descargar Música Cristiana Gratis, Audio Biblia, Himnarios Y Sonidos En Mp3
We have such systems in place - see Wikipedia and/or Stackoverflow. Both platforms IMHO have become stagnant messes. A group of people who spend waaayyyyy too much of their life on those platforms and by now identify with it way too much get power-hungry. It's "their" platform now. While still being able to deliver some value a lot of the fun and "feeling easy" about or when using the platforms actively (instead of just passively looking at what they produce) is gone.

It's equivalent to managers or politicians who are in power for too long. Basically, the 0.1% who contribute the most are the ones who should actually get thrown out of "office" occasionally.
Why do Indian-Americans win spelling bee contests?
I always thought this should exist for philanthropy. If you get a critical mass, it becomes self perpetuating. I am not sure the value of doing it just because, but taking a standard percentage of funds raised and passing the rest through to charities would probably really get people spending.
Someone told me that Zing also does PEA, but I don't know that to be a fact.
> I think that's what's gotten us into trouble to begin with. There are fewer houses in the Bay Area than the number of people with extremely good salaries.

Why not simply allow to increase the density (say skyscrapers) by chaning the zoning regulations to solve the obvious issues?

I mean: If you can pass a law for subsidiaries one can also pass a law to change the zoning regulations.