skysight-inc/HackerNews huggingface dataset:
well it happens a lot of techniques are still not understood.

I mean we develop database heavy code. Should we never test the code running with the database? would be a poor choice since we would loose a lot of coverage.
What we did instead were transactional tests. Which means that in PostgreSQL sense that we actually use SAVEPOINTS to actually wrap our tests inside a savepoint and than rollback to the sane state and never commit anything to the database.
With DI this is fairly easy since we can just replace the database pool with a single connection that uses the pg jdbc driver which can insert these savepoints.

Test suite runs ~4 minutes (scala full compile + big test suite ~65%+ coverage (we started late)) in best cases and can be slow if we have cache misses (dependencies needs to be resolved, which is akward slow on scala, sbt)
Did anybody else notice that this is a flying saucer?
Forgot the /s?
Notes is/was typically used in corporate setups. I'm not sure any non-business user would have ended up trying to use it.
In the early 90s, your friends hadn't necessarily all moved their social lives to the computer.
Yeah, we used it for a Game Jam lasting 48 hours, and still got something done. Most of us never tried doing games, so that's a big thing, just being able to jump in like that!
> How it was described to me is that the dopamine receptors in the brain become "re-calibrated"

This is true, but...

> never come back to normal

Never say never. They get back to normal rather quickly if you actually stop taking meth and start taking magnesium, piracetam and St. John's Wort and sleep well regularly. But I can't really tell for heavy addicts that inject meth instead of just snorting it and do it for years. I worry speaking this openly as it can happen to inspire some to try meth but I feel the knowledge must be shared to help those who are in the trouble already. If you know a meth addict that shows at least a minor sign of will to quit - don't blame him or tell him "just stop!", invite him to spend a meth-free weekend at your house, promise it won't hurt as bad as he thinks and feed him reasonably big amounts of the supplements I've mentioned. Another very helpful supplement is phenibut but it causes real physical addiction+tolerance itself so no more than 7 pills a month. Emoxypine and carphedon can also help a lot (safe, not addictive).

> All that said I find there are some people who can be "weekend warriors" and smoke meth for pleasure without being swallowed up by it. That said I've also seen good people hollowed out by meth. I suspect it's gene based but that's suspicion alone.

This is a very important thing to mention. People are different and should not be treated as perfectly equal. People that have the capacity for using substances consciously for good should not be denied the right to and stigmatized for doing this while people who can't should not be given the drug (e.g. I am pro 100% legalization of marijuana but against legalization of meth as only a minor portion of the people can manage with it constructively) and left alone without active participation of people actually understanding them.
[podcast] Devhints – TL;DR for Developer Documentation
Off topic, but this is the first Medium membership-exclusive content I've come across.

Discussion about it: https://news.ycombinator.com/item?id=13933550
Why not just charge patrons per hour spent in the cafe? Is it really that bad of a business model?
I'm not aware of any such plans in the US. All carriers throttle "unlimited" plans so unlimited plans simply don't exist. Not with the major carriers anyway.
So is working for a living wage. Imagine how much room there would be for new entrants if you were paid $8 an hour! Everyone who wanted to could have a programming job.
Im hired as junior dev. at a relatively large non-tech company, to provide them with software tools, I built all these tools by myself with no mentoring and no help, My fear is this, my code looks clunky (probably not written according to good software design ?), and hard to read for others, I also have no skills in collaboration, how would I be able to grow these skills without a mentor ?.
Getting 552: connection timed out here
creator of riak and a part of erlang + many other communities
The most sophisticated adtech in the world doesn't hold a candle to the engagement/addictive power of user-curated sites like HN and Reddit.
In antoher comment on this discussion :

>> Most people I knew at MIT had a full time offer they were happy with from their Junior year internship by their senior year.

This leads me to think that top-universities student are already "chosen/watched" by companies before the recruitment phase so both companies and student are much more confident they can work together.

So basically, top companies just recruit people the best way : by looking at students while they are still student. Which is fine, except the top universities are, I guess, the most expensive ones. But if that is true too, then that's another bias : companies have rich employees, so they hire people with the same set of personal values...
Plus, turning a junior into a senior developer isn't exactly a boolean switch, that is turned over night. It's a process and that junior developer will spend a lot of intermediate time between both states, in which he's still very useful, yet affordable since he's probably paid below senior level.
Andy was a very close friend and the best coworker that I’ve ever had. I recently did a personal reference for him and he was looking to work out here on the east coast. I’m crushed that I just found this out on HN through a friend. Andy was like a magnet. One of those people that you generally wanted to be around. In my eyes he was the perfect mixture of skill, hilarity, and crudeness. I tell stories almost every day of things we’ve done at work and out of work. We drank a lot of beer, did a lot of engineering, and pulled a lot of stunts. At the end of the day he proved to a lot of people you can engineer, sell, and be an insane rebel when it comes to the work environment. This is a life taken way too soon. I’ll miss you andy. -sean
I see cocaine as a higher risk, due to the long term permanent damage it causes to the heart and the brain. MDMA abuse causes a fairly rapid onset of negative symptoms and a reduction of positive effects that gets most people to stop before they can do too much damage to themselves (the long term impact of heavy MDMA abuse is still uncertain but anecdotal evidence suggests that recovery is possible).
> we don’t hire junior developers because we can’t afford to have our senior developers mentor them.

That feels too dumb to be real (which is exactly why it's probably a real thing).

You don't hire senior devs to code - good junior devs can code not only "just as fast", but probably faster too! You hire senior devs to guide you WHAT and HOW to code. And they can do that so much more effectively if they don't have to actually code all that stuff themselves! "Mentoring" is basically the job you hire a senior dev to do... how can people say with a straight face that they can't afford to let them do it?

I don't view this as "tragedy of the commons" as other people here suggest. I view this as plain human stupidity (which we're all guilty of, sometimes... it's just good to realize when you're being stupid before it seriously hurts you).
It’s actually ironical that it requires hard work and money to stop modern software from becoming data hoarders.
This I can nod agreed with, Im forced into open office, with a lot of marketing people, and I cant be productive, often times I end up spending my time at home fixing the hard problems, and just doing the easy ones at work.
btw. I'm a junior dev. without mentor working with non tech people.
> All that said, we take it for granted that we’re in an industry where people go from cold start to 6 figure salaries in 3-6 months. I’ve not aware of that ever having happened in the history of the world.

There have been plenty of trained or semi-trained labour shortages in the history of the world, with similar results.
I'm not saying they are being untruthful. But they are very clearly biased to the right on economic issues, and significantly more than traditional news. All the articles I saw on regulation and taxes were negative.

I probably even agree with them on many things, but they are _not_ unbiased.
> Sorting the entire array when I ask you for the top N elements! Getting the top handful of elements is a linear-time operation, people!

Unlike your other points, this one seems unlikely to cause any trouble in practice. From a polynomial-order perspective, a factor of log N is literally infinitesimal, essentially free.
Shameless plug: I’m starting a newsletter writing about career advice for junior developers. I’m at the point in my career where I feel like I can share my experiences and give direction on what I learned and what junior engineers should focus on when it comes to soft skills. I won’t be getting too technical. It’s the soft skills that I struggled with so it’s the soft skills that I want to help with.

If you’re interested you can subscribe at https://exponentialbackoff.substack.com
Steven Pinker: The way to deal with pollution is not to rail against consumption
No shit. We're using a computer architecture envisioned in the late 50s. Our main processing units are made by a near-monopoly. The situation is so bad that to do any real computing we need to put another computer (GPU) inside of our computer. If you think about it, it's patently absurd.

As far as grand new ideas: fleet architecture by Ivan Sutherland.

As far as master-of-the-obvious ideas: make a hybrid unit that contains flash, RAM and an FPGa-based processor. Persistent by default. Connect a lot of them and get rid of disks, caches and memory bottlenecks. Do something similar to what XMOS does for peripherals (simulate them) to simplify hardware even further.

You could even combine the two ideas above. Make a computer where programming isn't just about instructions, but about re-configuring hardware and information routing within the system.
The $3 coffee most certainly does entitle you to sit there for an hour. That's the whole point of getting a coffee in a coffee shop. And if you told me to leave after 5 to 10 minutes, I'd tell you to call the cops and make me. With that kind of attitude, however, your coffee shop won't be in business long, so it shouldn't really be a problem that you treat people with so much disrespect.
> algorithmically controlled feed it can turn into a dynamic auction.

That's already happened with GMail, hasn't it? The filters for Promotion, Social, and of course Spam already control what/where users see (and it'd be trivial for Google to charge a fee here based off visibility of Promotion-categorized messages).

It's still in a linear and usually legible way, of course, and I think it's arguably user-friendly if imperfect. Doing what facebook does with feed/status updates with email would be absolutely ludicrous, it would make GMail a ghost town overnight.
https://posteo.de/en
I’m somewhat surprised by the article. There is recently a giant indi cafe boom in Taipei that made it one of the most developed cafe city in Asia, but almost all well-regarded shops do everything they could to keep the place as quiet as possible. Maybe it’s the introvert eastern Asian culture in play here, I don’t know. The article assumes it is abnormal for cafes to be taken over by silence, but I mean, it’s totally cool to build your cafe a social place, but it’s not an inherently bad thing if your customers want it to be quiet either. Maybe your customers actually want that—and if that’s the case (maybe it’s not, I don’t know, but if it is), it sucks to have another quiet place taken away.
How to tell if a tech company is prepared for female engineers
Ah, didn't know that, thanks for the tip.
Notes was an interesting product until people started using it for email.
Phaser 3 is indeed out ) https://mobile.twitter.com/phaser_/status/963303506999480320
I think it's a true scotsman fallacy. We don't have a good definition for ML. So we reject methods and problems as not "real" ML". Ive done some logistic regression in my work and hesistated to call it ML. But Ive read a survey about tools used by people who do ML and logistic regression was the top item on that list.

Neurons are just an inspiration from biology. You can call them layers of neurons or you can call them matrices and do matrix multiplication. Nothing special about neurons.

I understand your argument that people like to use buzzwords and you don't like this. But it's a genral problem which applies to everything, not just ML.
> Why call the role a CTO then? If the role is closer to a tech lead or architect, just call them an architect.

I agree! How many times I got job offers that read basically: "CTO/sole developer". That's inflated and meaningless, like being one of 100 Senior VPs in a bank.
There's a 4G version! That's a real surprise!
i understand your sentiments, but i think the p2p model is never going to become so mainstream that they take over the equivalent centralised model. The reason being that "normal" people prefer ease and convenience.

The internet is practically already interactive television! very few people create and host, compared to the number of consumers.
I think that’s not his point. There is a probability p that vpn providers are not providing the service they advertise (ie lemon). But the probability that both are lemons become p^2 which is much lower (subpoena-ing a provider that maintains no log is useless).

Where it breaks I think is that you can chain as many VPNs as you want, only the last one sees what you are downloading, the others only see traffic to another VPN. So the authority just needs to subpoena that one.
As I said, I'm making it easy for myself.
It makes an interesting point about focusing on quality instead of a check mark by someone who is not directly under the hood. (project manager in this case) Also it cautions against seeing the trees (p1 bug) and missing the forest (good software).

I do think project managers are needed for this large scale software though. So I'm wondering, what is the best way a project manager should manage development of Apple's software?
> Your $3 coffee doesn't entitle you to sit there for an hour though

Read up on the history of cafes. This is what they historically were—places for people to be, not grab and go. If a coffee shop owner wants grab and go customers, they’re a glorified vending machine. (The article notes a conversation-versus-quiet dynamic that I can better empathise with.)
Microsoft Gives Sysadmins Meltdown and Spectre Detection in Windows Analytics
By living _in_ the estate, I mean I turned up to the residents meetings, and participated in the governence of the estate. Council housing has been sold off, and represents a cheap, profitable rental income. Because of the high rate of change, they are socially and funtionally seperated from either leaseholders or council tenants.

When it came to regeneration/improvements, we were the one consulted, not the private renters.

If I missunderstood your question, here is some waffle:

An estate is a logical collection of dwellings, normally flats (but can be houses) that were commissioned and built by local governement for the express purpose of housing the employed working classes.

for example my estate was made up of four blocks of about 180 flats. Each block encloses a shared garden, with childrens play equipment.

as to what they look like:

https://municipaldreams.wordpress.com/2015/12/22/the-brandon...
300 $ / hour ?
300 * 8 * 5 * 20 -> 240K$ per month ? It seems far too much.
This might be why they can't afford junior developer.
In this sort of scenario, the bugs lie in the expectations themselves. Tests that don’t account for that are dead weight.
Biased towards an economic position is not the same as being biased towards a political party.
Agile doesn't really foster collaboration in general. You can't have one ticket assigned to two developers and have them pair program, from the business perspective rather than the best way to develop inexpensive new talent pair coding is a massive waste of time and resources. However agile works really well for remote workers who have little social contact outside of the daily standups and slack. It helps to be an autodidact in the industry in general no matter where your skill level is. I've had kids with almost no experience smoke me on react because we were both having to learn it at the same time and the kid was a better autodidact than me.
Do we think the likelihood of packet loss is the same for HTTP/1 and /2 ?
When I read a phrase like:

>> allowing “engaging, interactive, and actionable email experiences.”

I immediately think advertisements.
You left out the very important detail that practically speaking, your content also needs to be hosted on Google's CDN if you want to get any of the benefits that content creators are likely to care about (being boosted in SERPs).
Since when Atlanta is not a major metropolitan area? Based on a super quick research, I would expect ATL to, at least, lead the chart, if not land at its top.
Lloyd’s of London began as a 17th century coffee house where people who sold marine insurance hung out. They’ve been used for business (and studying) as well as leisure since their inception.
Andy's CV/resume offers some insight into his career: https://github.com/argv0/resume/blob/master/andygross-resume...
Your argument for VPN tunnels in general makes sense, especially if you're on a hostile network, and that includes hostile ISPs you feel you can't trust.

Your argument for VPN services completely forgets that a VPN service in this regard is just another ISP.

How do you know you can trust this ISP any more than the one you're already using?
They're starting to appear. McDonalds has now introduced it in multiple European countries, plus isolated restaurants here and there (e.g. Burgerlich in Hamburg, which has touchscreens embedded in the tables: https://goo.gl/oJAh9v)
What it would have been like to witness the beginning of the universe
> I'll get down voted for saying this

No, you'll get down voted for the way you are saying it. There's a difference, and it's an important one.

Cheers
Code without test code doesn't mean untested code. And vice-versa.

Unless you're actually writing complex tools - no, you're probably not getting a "formalized way of modeling" what happens to your program.

If somebody tells me "hey, I have to keep manually testing this and that, I'm losing a lot of time, how about I spend 2 days writing my test thing?" - I'll say Sure!

But if someone tries to convince me in the abstract - I'll be skeptical. Developer busy-work is real.
Databases are ridiculously testable because your inputs are just text. What’s hard is when your inputs are platform environments and versions and hardware and racey events and...
Thanks for your comments. I agree with the baity title and your suggestion 'don't make shiny AI' is a better one :)
I can make an argument that the neutral news media ideal from the golden age of mid-century reporting is what has led to the populist disaster we are experiencing -- and that it's really just a return to an old normal.

outside of the major news agencies neutrality got cargo-culted. the easiest way to be 'unbiased' is tell both sides, right? well, if one side is reasonable you have to go and find that opposing view to meet that (fair and) balanced standard. this gave a platform to and legitimized a host of formerly fringe ideas. all that noise and conflict sure helps meet the advertising numbers... and now we have fox news.

thing is, this polarized, biased, sensational media is what media has always been! with a rose-colored exception in conformist middle america starting in the long boom after the second world war. It's been gradually fading back to the old ways since the 70's.
imho the reason why Phaser docs are so bad is an excuse to sell... Books about Phaser. Maybe I'm wrong, but why they exists if community repeated many times that docs should be improved?
The movie studio will send a DMCA to AWS who will pass it on to you, then what?

Helps with ISP snooping yes, though I expect it to be more expensive (VM and bandwidth in clouds isn’t cheap).
The whole idea of “selling” something that the customer don’t actually receive, and has no rights to, is insane. It’s tantamount to false advertising, and I think it should be made illegal.
Task. But a three-month project is, at the abstract level, also a task. I misunderstood you, that is all that is happening here.
Machine Learning Analyzer for Dating Photos
Its not about making big lumps of evil. Its about having a productive attitude about technology.

My kids do have access to technology - they have laptops, and a small collection of video games. But they're not allowed to just zone out for hours on end, consuming pixels.

I gave them laptops so they'd learn what real computers are. And, they have! The (10 and 7 year old) kids are coding!

But there is a huge difference between this level of engagement, and that of the decadent-consumer-of-mobile-content that we've produced in the last 5 years. There's a huge difference between the endless hours I spent, typing in programs from magazines on my 8-bit systems in the 80's, and just downloading the latest pixel-blah on the No-friend-o.

Kids should have technology - but they should be given the opportunity to become masters of it, not slaves. That's the decision that has to be made, in my opinion, by the modern parent. Tech has evolved to enslave us - it also can serve. Kids who know how to make technology serve them and not the other way around, are the only hope for the future ..
Some people like to sit down, or rest their food on a flat surface. If you don't want people working there, take away the power, the WiFi, and play some music. Maybe even make the tables smaller, but don't take them away altogether!
Even if we take it to be aggregate happiness to be progress, it can make a lot of sense to sacrifice one's own happiness to gain more happiness for others.

We could measure a decrease in the happiness of a suddenly very driven and successful engineer alongside the increase in their income, take that surplus income, and then convert it into happiness for others by way of purchasing critical medicines for impoverished people.

Summed up, it's possible for it to be good for certain people to decrease their own happiness to increase their outputted value, and then leverage that increase in value to provide much more happiness for many more than 1 other.