skysight-inc/HackerNews huggingface dataset:
>> legacy code that has been gradually added to since the 1980s

> 20,000 lines of code really doesn't seem like that much.

It's not "20k lines of code" but "n lines of code that grew organically over decades to 20k lines" - with the help of probably way more than 100 people who all are not trained as developers. I think it's a safe bet to say the current state only has a faint memory of being a consistent code base.
> expand routes, increase availability, update their equipment.

... and be faster. The SFMTA in San Francisco , at an average travel speed of 5 miles / hour. Is only slightly faster than brisk walking. Also, from the downtown FiDi out 2 miles in every direction, the Bus has a bus stop at Every block. Yes, every block.
It's still amazing to me that an online book store is now the #1 seller of server infrastructure.
Only if you go after run of the mill coding jobs after your phd, in which case why bother at all. When applying for a postdoc, you'll very much want to bury that part of your work.
This is definitely the case for me. I work at a reasonably large (~5-7000 total employees) company that had a top-down Agile Mandate imposed about a year ago. It’s worked reasonably well, honestly, but there was a lot of chafing initially, and there’s still some resistance. Problems with the process are occasionally solved by abandoning it entirely, with mixed results.
Taxis, as so many have bemoaned on Hacker News, are usually artificially limited in number. For example, by the existence of the medallion system.
For several years I've been using RedNotebook - http://rednotebook.sourceforge.net. I use it mostly to journal what I worked on so that when I need to report it I don't have to struggle to remember anything. Since RedNotebook's text input is directly tied to the date, it works best in my opinion for daily log entries. However, there are shortcuts to jump to the previous/next entry to easily skip days with no log entry. Basic text formatting (txt2tags) is supported along with the ability to export to HTML, Latex, or PDF. It's created in GTK (if that matters), but is supported on Linux, Windows, and Mac.
> The problem is that the public at large seems to ignore many issues as long as their person is the one in charge.

Could this ultimately mean that corruption will be a natural side effect of extensive government power? A vigilant press/populace would be useful and may be what's missing today... but in these niche industries the mega-corporations are still the one with the deepest pockets and the most motivation as they have the most to win/lose.

I'm not trying to make this ideological and anti-government, it's just an interesting thought to consider, that it's possible the only power that can't be exploit is either one severely limited and inherently closely (which may defeat the utility of such a power) or having not power at all.
All of the ECHR countries?
aren't lyfts/ubers still heavily subsidized? the true cost of a line or pool isn't ~$4, or at least won't be $4 forever.
AT&T’s privacy policy states:

“We will not sell your personal information to anyone, for any purpose. Period.”

How is this not contrary to that?

Additionally, they define personal information as:

"Personal Information: Information that directly identifies or reasonably can be used to figure out the identity of a customer or user, such as your name, address, phone number and e-mail address. Personal Information does not include published listing information."

http://about.att.com/sites/privacy_policy
That was my initial reaction as well. However, I would guess that C++ is mostly used as a "C with classes" in the domain the author is talking about, so "C/C++" wouldn't be so incorrect.
Probably more to do with horrible opsec and machine vision than anything. Even pornhub can process their content to identify actors. FB buys a ton of data and accumulates from public sources. Other advertising companies do similar things by partnering with creditors. A use for this is matching sales with lead origination. Grocery stores do this with coupons.
The problem is that "terraforming another planet" is stuff that young men who are impressionable read in science fiction, it isn't reality. We can't terraform another planet. We haven't even successfully run a fully-enclosed self-sustaining ecosystem capable of supporting human life on earth. We have never sent anyone to another planet, and the rocket equation highly constrains interplanetary transportation, let along radiation shielded interplanetary transportation capable of sending humans.

We will _never_ terraform Mars, I doubt a human will ever set foot there. I doubt we'll even survive as an advanced species for 200 more years.

We actually _have_ every bit of necessary technology to sustainably run something very close to modern society, and we are too stupid collectively do fix terrestrial political problems. We don't even need to terraform our own planet, we just have to stop digging up coal and pumping up oil and burning it. No wasteful and inefficient "negative emission" stupidness is necessary. This is like "clean coal". It's something that very, very wealthy people that make money from oil and coal bring up to essentially troll the populace, and distract them from the problem until we're as close to the brink as possible.

I'm sorry to be depressing, but this magical thinking about sending people to Mars and terraforming planets is counterproductive.

edit: I take it back, we can terraform a planet. The sum total of human activity for 150 years has warmed the Earth few degrees (though they are a critical few degrees)
> I would argue we are treating symptoms and not figuring out the causes behind these illnesses such that a single drug treats all of them.

It's funny that you say that, because it seems that psychedelics may work for a variety of things because they address some lower-level factor, rather than just treating higher-level symptoms.

"In 6-month follow-up interviews, participants were asked: ‘Did this treatment work for you, and if so how?’ and responses were analysed for consistent themes (Watts et al. 2017). Of the 17 patients who endorsed the treatment’s effectiveness, all made reference to one particular mediating factor: a renewed sense of connection or connectedness. This factor was found to have three distinguishable aspects: connection to (1) self, (2) others and (3) the world in general (Watts et al. 2017)."

"In brief, we have proposed that brain serotonin 2A receptor signalling mediates a state of rapid plasticity that is conducive to major change (e.g. in outlook and/or behaviour)—when such change feels necessary (e.g. to aid mental or physical survival). Such a function may be related to humans’ unique capacity for adaptability."

Source/further reading: https://www.ncbi.nlm.nih.gov/pubmed/28795211
Introducing Liveupdate
Neural network writes romantic stories for your photos
> Now you need to do a follow on study to see how much science the 'rival' group does with a more modern codebase than your 'legacy' group does.

I would guess that a C++ codebase written by PhD students, not by seasoned C++ experts, is more complicated and much slower to debug, than a corresponding Fortran codebase.
So the article basically says:

1) Some stuff is already written in Fortran so they don't want to rewrite that. I dig it.

2) It's fast (except C sometimes) but easier to write than c. Like 100x faster than python.

I'm not sure about number two. With the gpu processing revolution wouldn't a python/TensorFlow stack be faster than Fortran? Am I missing something?

I remember talking to someone who had worked heavily on atmospheric weather predictors recently and her description of the program was: we divide the space into tiny little cubes and then run some differential physics equations to predict what will happen next. My basic questions to her:

1) From a computational perspective this seems very GPU friendly.

2) Why not use a convolutional neural network? If you use the same data for training you will probably wind up with a more accurate prediction than a theoretically based physics system.

Her reaction was basically that she hadn't heard of these things before so my impression is in fact that the physics community is just behind and they will catch up when they are ready.

Hope I'm not missing something here.
Well, yes, you always take the personal car, first time you check out the transit schedule is when it's broken.. surprise, you will wake up finding there is no good bus transit!

I wonder how that came to be. If Lyft is 15 minutes you could just as well bike.
Maximal Performance with HAProxy
What this shows is that the people of the city are more interested in taking uber and lyft than mass transit - and the people aren’t stupid, it’s better to assume they’re just as aware as environmental issues as anyone else.
IoT: Impacts of AI/ML, Security and Dominating Markets
Similar to dmoy our code review workflow supports making a (small) change while reviewing. We use GitHub PRs, and the edit function combined with choosing a commit message like "!fixup <original commit message>" and `git rebase --autosquash` (or `git merge --squash` when merging the PR) works well.

It's funny that you mention not wanting people to drop what they're doing as IMO that's one of the advantages of the approach I'm describing. The reviewer is already in the code, whereas the person being reviewed has often moved on to something else.
or on the flip side of it, perhaps in a city like NYC, yellow taxi cabs are the cause of major traffic, especially when they are just driving around looking for passengers, slowing down at corners where they may pick someone up, lining up near hotels, carrying only one group of passengers at a time, etc.
Or construction vehicles and road blockages have added traffic to major cities - many of which appear to be undergoing a construction boom.
And while I'm a proponent of mass transit, id argue that large buses- too large to navigate city streets especially when it comes to making turns - are a cause for major traffic in the city. They should be replaced by services like Via.
WATCH Live: Inter – Milan
Russia to introduce its own cryptocurrency
How do you keep a counter for each cell? Who keeps a counter for the cell that stores the counter?
A Breakdown of Operating Systems of Dockerhub
> We also need competition in bus service, not government-run, subsidized monopolies. Then we'd see many more transportation options.

No local transportation system in America covers its operating costs using fare revenue. Most local bus agencies in America only cover about 20% of opex with fares; the best agencies (e.g. BART) might get to 70%. This doesn't even consider capital costs.

Good luck getting a private entity to run a charity service. Local transportation is not a profitable endeavor and never has been.

> We should look at how these problems are solved in other countries.

Hint: it's not because the great Euro and Asian cities have competition. Only a handful like Tokyo have competing systems.
Correct me if i'm wrong - but wasn't the medallion system originally created in NYC due to influx of traffic from people trying to make money being a taxi driver after the great depression?
this is not true
The live demo of a neural network to tell romantic stories about images, thanks to the open-source project by github.com/ryankiros/neural-storyteller. Drag and drop images to input and see what happens! Share interesting stories with your friends.
You make a good point here, and mass transit has done the square root of bugger all to improve accessibility for a new generation.

For example: I live in the countryside and want to get a bus into town. Fair enough but sometimes the buses run late, and sometimes they run really late - like half an hour plus. I often don't have that kind of time to waste, especially not if it means standing or sitting around in the rain. Moreover, it makes the timetable a work of fiction, and in that case what's the point of the timetable[1]? The truth is that in many cases I couldn't really care less about the bus timetable: what I want to know is when the bus I need is going to get here, and I'd like to be able to track its location to help with that.

Be great if there was an app for that, but sadly there isn't (not where I live, anyway). I have a feeling the Swiss Post buses might support that, but I could be imagining it. Thing is, it's not very start-uppable as a concept: you need partnerships with any bus companies involved, you need GPS equipment in the buses, you need parternships with cell networks and good enough coverage that location and ancillary information can be sent back to base to be served up through the app, etc.

In town the bus stops have those TfL style boards that tell you how long until the next bus arrives and where it's going but, of course, you still have to go to the bus stop to get that information.

[1] Timetables do become more important when you have to make changes, or use multiple forms of transport and make them dovetail together, so I'm not actually advocating that they be dumped.
Both services are subsidizing their rides significantly, so while I think transit does need to work on improvements it’s important to remember that the comparison is currently unfair and will change when investors start looking for profits.
You're saying only the rich should be able to afford a comfortable, reliable, and convenient mode of transportation.

The real answer is to fix the horribly broken mass transit system across the nation. Only NYC and Chicago, maybe Boston and DC have a halfway decent system (and all four are horribly antiquated by any modern standard).
How do journalists hear about this type of story? Did the lady call up her local newspaper and say "hey I just read every book on the shelf at the library. Thought it was newsworthy."
Tax on wealth is really low unless you have millions.
Even biking works if you have bike racks on the bus and light rail. But most buses can only accommodate 1-3 bikes and light rail has no racks onboard at all.
This is one industry where "build it and they will come" will most probably hold true. Especially in dense areas.
Real Racing 3 Hack – Working Hack with Proof
I've experienced that frustration first hand in SFO, and when I was at uni in Nottingham - it might not have actually been quicker but the constant stop/start was becoming so annoying that I got out and walked in the end just because it meant I was moving.
Crypto-network effects are driving Thin Protocols
Buses are indeed subsidized. But which routes? I bet that the most popular bus routes, the ones that are always packed to the gills, make money.

What buses are subsidizing are the unpopular bus routes, the ones whose goal is to increase mobility for those who would otherwise not have it, such as night routes or relatively infrequent peak-hour commuter routes. Those cost a lot to run, and ride-hailing has the luxury of not having to run those routes.

I think in the discussion about costs we forget that public transit is, first and foremost, a public service.
coming into market st, and depending on which bus you take (islands or sidewalk exit) there is a huge gap on 2nd st if you are on a bus that exits onto the sidewalk. but yes 3rd and up has an exit every street

and same with heading out of market st, but i mean...the point of the buses is to pick up workers on market st so why wouldn't they try to stop on every street?

i think the issue is there are too many buses based on market st, thus causing tons of congestion. there needs to be more buses going through mission st. or further southeast in soma that eventually comes back up on van ness.

also most buses during rush hour for people getting off work by the time you get to 6th st the bus is entirely full and you can't get on. for that i'm not sure what the solution is other than having buses on that route start somewhere on 6th st rather than from the transit station or embarcadero..
They can, but this is more universal.

Also, I could see an argument for it if your build includes automated testing and you want to run your actual binaries (albeit via emulation) in those tests.
Ask HN: What is your side income?
- what is your side income?

- how long (or how many hours of work) it took to get that level of income?

- how many hours per week of maintenance is required?

Thanks
Not everywhere, though. My town (population just 3,000) in the UK has an hourly bus to Oxford and an almost-hourly bus to two medium-sized local towns. (Stagecoach S3 and Pulhams X9, for completeness.) None of these buses are subsidised, and this in an entirely rural area.

It's been proved that buses _can_ work without subsidy. It hasn't yet been proved that Uber and Lyft can.
For my everyday commute in SV, Lyft made it possible for me to even use Caltrain.

I use Lyft to connect the last mile from/to work, but the bulk of the distance is covered by Caltrain.

This combo is the most optimal for me because i get to dodge 101 highway completely.

Also, VTA buses are close to useless to me, not only that they are frequently late, but they are too dirty/smelly/full of riff raff, don't take credit card/Apple Pay, etc.
You don't think the public transportation systems are subsidized?
The first example in this article is misleading, imo, since the actual execution is synchronous, not asynchronous. The "programming style" is asynchronous, yes, but the execution will ALWAYS be the way its described since there are no other way it could be executed and therefore synchronous. Unless there are any way of things to happen out of order in relation to the execution flow, its effectively synchronous. If there is an possibility something can be executed out of order, its asynchronous. JS doesn't provide that because the event loop. It will always be executed in the order of the loop and that will be synchronous (even if and event re-queued because it's not done yet).
How milking venomous snails could help scientists treat cancer
Public transportation systems doing a better job of serving communities than Uber or Lyft would also work.
There went my Sunday morning
Telcos “selling realtime ability to associate web browsing with name and address”
What problems are you solving with Julia? The way I see it, Kotlin, Nim, and Crystal are completely different languages aimed at a different space.

e.g. Kotlin is being used for Android apps, which is worlds away from what MATLAB and R users do.
Yeah but they are more convenient and comfortable. Doesn't that say something about current public transit thinking? Some People are willing to pay a little bit more if it is convenient and comfortable.
I would suspect a few of these wealthy foreigners buying property are trying to make sure there wealth is tied up in something their home state cannot take away ownership of. If it depreciates a bit, it's probably fine. 97% of something is better than nothing. I also suspect they have nice stock portfolios already as well.
TensorFlow is for machine learning, not general purpose computations. And no, you will not get better results from a neural network than state of the art computational fluid dynamics.

As for general purpose GPU programming, some parts physics are GPU friendly put not all of them.
Switzerland makes home owners pay taxes as if they rented the house out for 12 months each year. This could add a nice chunk to your net cost of owning.
Wow really? That seems like a small number. Given that aroun 70+ million cars were sold in 2016, we probably have the industrial capacity to offset the yearly emissions.

I wonder how cheap these will get and if they can be deployed en masse easily
It's either that or because you consistently spelled it round-robinn.
Ask HN: Has LinkedIn started autoplaying videos in your feed recently?
usually a more durable form of memory (SLC as opposed to TLC or MLC)
Sure. A faster / better / cheaper train or bus takes cars directly off the road. So you can add more subways / trains / buses / etc. to do this.
Some of the meta data is only kept in ram and updated from time to time to special regions. These special regions can also suffer from endurance issues but are usually are SLC-use-MLC so they wear slower but it is a known failure mode for the metadata locations to wear and we've had it happen to us during testing, especially if we did lots of firmware upgrade/downgrade testing.
Just noticed it in my feed. Annoying. Not sure it was a feature that was there earlier or is new.
plenty of discussion here

https://news.ycombinator.com/item?id=15477286
> Yes, the electronic structure community is rapidly moving away from Fortran.

Really? Seems to me that with very few exceptions (e.g. GPAW which is python/C and nwchemEx which I've never heard about until the parent poster mentioned it), electronic structure is pretty much a Fortran bastion.

(Source: I did a Phd doing mostly electronic structure calculations, graduated ~5 years ago)
I would also really want to see a comparison of bugs and error rate, although that's probably a nightmare to try and work out.
Somebody needed to read excel files from Rust, possibly not from Windows? That would also be the reason why openpyxl and xlrd exist for Python: http://www.python-excel.org

e.g. importable data using real spreadsheet files is much more reliable than CSV, and easier for clients to generate.
I wonder if quantum computing can some how be used in machine learning as a short cut to train on massive arrays without exponential costs.
Makes sense

A lot of Chinese nationals are buying property in the states and Canada in order to accomplish the same thing

I wonder how this kind of cash parking affects property values?
As others have pointed out, the rideshares are subsidized in many ways. Monetarily, not just by VCs, but also by drivers who don't get benefits or salary guarantees. Road infrastructure provided by the city that isn't fully supported by gas taxes. Externalities like constantly-blocked bike lanes and congestion that inconvenience others in the city.

$4 doesn't get you far in SF, but if you do pay that rate to go across town, just know that you're not paying your fair share to support the driver, maintain the roads, and are probably inconveniencing other drivers and cyclists more than if you were using a bus. Which is fine — but if you then go and argue that this is a reason to never support public transportation, you're just buying into the Lyft/Uber marketing.
The extension they use for chrome can watch everything you do on the internets... :(

That stopped me. It looks interesting though.

It would be cool if there was a way to install chrome extensions in an isolated spot.
If you care about the issue and think it's important, you need to make sacrifices. Otherwise it's just champaign socialist talk... You want to decrease co2, you have to start making changes in your lifestyle.
We're pretty conservative with the things we add, it's 95% correcting comments/documentation and the other 5% minor (behavior-preserving) transformations.

We work in Python, so those transformations are things like using `collections.defaultdict` instead of a plain dictionary where it makes sense etc etc.
Go offline on Whatsapp or any application NO ROOT
Does anyone have a link to a collective list of all known bugs in PostgreSQL?
Really?

Loud/disruptive/unpleasant homeless people have reduced mass transit use in SF and LA. Delaying bus rapid transit by six years[0] because environmental impact is measured by car travel times reduces mass transit usage. Blocking the creation of tech shuttle stops to "save" a dozen parking spots reduces mass transit usage.

Uber/Lyft are increasing VMT is merely a side-effect of the impossible regulatory environment here. Let's fix that.

[0] https://www.citylab.com/transportation/2014/07/transit-proje...