skysight-inc/HackerNews huggingface dataset:
My biggest peeve with XML is there's no concrete way to represent a piece of XML in code, it's in my opinion TOO flexible. You can express something as an attribute, a child, multiple children of the same element, a value of a child, etc. It doesn't translate cleanly to any kind of object structure in terms of code. And it goes in reverse too.

Now, there are standards like SOAP, etc... In the end, JSON and some clear docs for an API is usually easier to reason with than any of the boatloads of cruft that came along with XML. Not to mention the much larger transmission size.
Possible Ways to Build Mobile Applications
Wedding Winter Holiday Sale – Christmas Wedding Offers – A2zWeddingCards
Ask HN: How is the status of remote working in Europe?
Don't worry about the political issues. Wall Street will follow the ROI numbers, and money will be available for power sources with good ROI. Oil is on the way out. Coal isn't coming back, either. Peabody Coal, the biggest coal company in the world, went bust earlier this year. Nobody wants to build new coal plants. They're huge headaches to operate compared to natural gas plants.
Debt usually is senior and paid first if a business is sold. But not always. In the case of startup debt, loan terms can be non-standard because VCs who own preferred shares don't want to subordinate their stake. It depends on the terms sheets, debt might be senior to everything or it could be treated as equal to the later stage VC investors preferred shares preference (also called "pari passu" if you want to sounds like an arrogant tool lawyer).

You're right it would take a surprise total catastrophe for principle to be wiped out. But the principle isn't always the main worry for startup lenders. Well it is, but the loan terms are written in such a way lenders are confident they will get some or all of the principle back. The big worry and risk for lenders is usually time. Being paid back too soon or being paid very late are both risks (the latter happens in bankruptcy cases where court system can take a long time to get lenders their money back).
Why is iphone app development surpassing the Android?
Don't know anything about Infor but these are huge complex systems that people don't want to change because there is a huge risk of changes. So now they are falling behind, running up huge amounts of technical debt, and staying on old systems. I know with SAP most people have never heard of HANA and most of the companies that migrated did so because they were on very very old versions. Oracle EBS is pushing this migration to the cloud that is making a bit of traction with SMBs but not going anywhere in the enterprise and changes are difficult.
@itsquiz, thanks for the heads up. Will add your feedback to the list.
We are working on curating awesome content which should not take more than 3 mins at a time. Will enforce users to not spend more than 3 mins on our app each time. If you can also share any content sample that you want to see in app, that will help us curate much better. Thanks for the feedback.
I agree. I don't know if Apple would do it, but it would be great if they offered a Mac Pro with iMac style chips (i5 and integrated graphics at the low end) with prices starting at $1000 or $1500. Using the same case as the Xeon Mac Pros might save some money and keep things simpler.

Then they could make the Mac mini smaller and cheaper, like a scaled-up Apple TV. SSD only, no hard drive, 2 or 4 USB 3 ports, Ethernet and HDMI, starting at $399.
You are both wrong, article cites speed of 50km/year:

"a jet stream moving at more than 40 km a year"
However, my knowledge is years old. Have these problems been solved?

They must have been. I used some Snoracle T4 hardware, and the CPU's were blazingly fast. How they did it though, I don't know, as I didn't have a chance to look into it.
In Feynman's story, the "alien" we meet is an artificial human (a biological Locutus, if you will) built using a description we sent them rather than a coincidentally humanoid life form. For a throw-away illustration taking only a couple of minutes in the middle of a lecture about symmetry, the guy filled in a lot of the obvious gaping holes.
Only if you take the time to look back
Most cultures have a default regional/national cuisine that is time-tested, well-adapted to the local flora and fauna, and is reasonably healthy.

That means most of the complexity gets elided -- just eat and cook however all your neighbors/family eat, and you'll be fine, because other people have done all the hard work of figuring out what works well.

The most striking thing about America is how absent traditional food culture is -- how it's been progressively supplanted by industrialized food to the point where people are afraid to cook.

One way to fix this is to pick a reasonably close cuisine and just implement it. E.g. decide that you really like to eat Italian, buy an (authentic) Italian home cooking recipe book. It will be more expensive, because we're not in Italy, but the combinations will probably be healthy.
SPARC International is the steward of SPARC.
3D graphics - the graphics of the Mac Pro have not been refreshed in 3 years. Lots of memory. More CPU than the iMac. Better storage. Multiple screens. Better cooling. I have a MB Pro and an iMac, and while they are great devices, a proper desktop mac is something I miss.
I always hear these vague allusions to oil and gas subsidies, but never concrete examples. In fact, we actually tax the hell out of oil and gas at retail, so it seems a bit strange that we would actually be subsidizing it at the same time.

What kind of/magnitude of subsidies does oil and gas enjoy?
Of course they are committed to Mac! Just have a look at the numerous updates to their flagship product: Mac Pro.

Oh wait...
These are all great points, and I'm realising now I have missed the point a little. Reading arbitrary code is good, because you learn something regardless of whether the code is "good" or "bad" -- you learn how to understand more styles of code, and which patterns tend to be easy to understand and which tend to be hard. I guess the part that was tripping me up is that you shouldn't necessarily try to emulate all code you read.
So did we. Rasberry pi, spotify, facial recognition (using cmu open face) and a couple of other components...http://blog.algorithmia.com/hey-zuck-we-built-your-facial-re...
Building a huge complex and expensive system to save you 3 second to check the weather is not what I would call revolutionary.
I just bought an xps 15 running arch linux to replace my mba 13. The build quality is poorer for sure.

My main complains.

Keyboard:
- Cheap plastic that doesn't feel nice to type for long hours
- Oh I miss the mac keyboard layout, the control and alt keys on are hard to adjust on windows and linux especially when copy and paste puts your fingers in awkward positions

Touchpad:
- Good, but still a ways to go compared to macs. I am buying a MX Master to compensate for this.

Battery Life:
- Over exaggeration of duration in advertisement

Its aesthetically pleasing but the general everyday use just doesn't physically feel great. With a macbook, its very easy to focus cause every command is almost second nature. With the xps, I have look back at the keyboard all the time to see what's going on.

I need a linux machine so I don't have much choice. Or I can pay almost triple the price for a macbook pro for the same specs and even slower vm on top.
Having just visited Japan, one thing that struck me is that Japanese consumers by and large refuse to buy low quality crap, so stores generally don't stock them (including groceries).

Having really discriminating consumers is probably the one way to make sure stores stop selling unhealthy things. Regarding laws though -- consumers and voters are largely the same group of people. If they're not discriminating enough to care about not buying something, it's unlikely they'll vote on those preferences too.
I've been using preact with tsx and inline styles. Every component Is a es6 module that declares it's imports and exports. I have a theme.ts containing my theme variables. There are watchable models. Only views contain tsx and css as js. Views import a controller and mediate events to them. Controllers know nothing about the view and they are the only ones that can modify the model.

My application contains a single index.html with entry point to my js bundle, empty body tag and no css.

Everything is loaded as needed, encapsulated as modules. The simplicity is just amazing .

The way I think about it is react like thinking offers me the most semantic compression in my code.
I am not willing to pay $ per byte of storage or per minute of CPU time, no matter how buzzwordy the technology is.

Flat fee offerings will be an enabler, not the technological advancement.
Every time I'm in a Google microkitchen though, I'm struck by how many people grab the prepackaged snacks and candy while ignoring the fresh, seasonal fruit on the counter.
But perhaps not everything in the public space viewshed is public?

Are police allowed to stand on the street and look over your fence, or through your windows?

Are police allowed to leave a camera outside your house so they don't have to stand there while they look over your fence or through your windows?

This is particularly pertinent because the FBI happen to believe that everything that can be seen from public space is public. (And airspace more than a few meters above your house is also public.)

https://news.ycombinator.com/item?id=11912696 was on HN just a few months ago.
I admit also belonging to the group not understanding the point of EROEI (beyond whether it is grater or smaller than one).

Let's take two hypothetical means to produce electricity, A and B.

A is, from EROEI point of view, almost a perpetual machine, with EROEI of 1,000,000. Unfortunately it is really expensive, investment costs are one million dollars per watt generated.

B then, has really bad EROEI, 1.0001. However, getting that electricity costs only 0.0001 USD/MWh.

I do not understand in which circumstances it would be relevant or interesting to use EROEI as a metric to compare these power sources.

Note also that in absence of subsidies, ROI contains all the information EROEI gives.
Dude, email me (check profile). We can chat and talk code. :)
Transitioning to Python 3
Using C#, F# or any .NET language for cross-platform server software would also be a bizarre choice when there's Java or Go which are mature and simply work.
> So what's the surveillance for?

To prove to insurance you had something stolen as well as to give you "warm and fuzzies". (On surveillance being there to protect property, note the comment in this thread about a surveilled garage being burgled [1].)

[1] https://news.ycombinator.com/item?id=13217539
That's a bit disingenuous. iOS command center swipe up, timer button and it'll remember your last setting. Works faster than voice for the most common use case.
I'd be programming Erlang for my current project, except that its library position is a bit of a mess - full of 4-year-old projects on github that haven't been touched since they were uploaded. At least Elixir bringing in some Rubyists means there's some decent libraries for connecting to external systems now.
https://en.wikipedia.org/wiki/Energy_subsidies#United_States

$3.2bn / year for fossil fuels, about half of what went to renewables
I started my career "professionally" with Cold Fusion 3 or 4 about 16ish years ago, and left it behind for PHP4, and so on, once I had to start paying for my own hosting.

I realized a couple months ago how incredibly similar JSX is to Cold Fusion - At least CF4. It's nearly identical in some respects.
Keep in mind, the UltraSPARC T1 and T2 are only two cores suited to specific workloads. They'd still be starting from scratch on the RTL if they wanted to do anything different with the microarchitecture. Now they've (UCB-BAR anyway) got at least one open out-of-order core suited to the higher end, a flexible in-order core for microcontroller up to cellphone operation; not to mention the gaggle of open RISC-V cores from outside UCB-BAR.
This is what I use Windows for. It's an SSH terminal that has a web browser and plays music (via groove which is actually quite good)
If you're curious where this came from, it's actually a Preact component (props and state being passed to render() is the tell-tale sign), taken from its homepage: https://preactjs.com/
> They're huge headaches to operate compared to natural gas plants.

Ahem: that's because of "political issues". You should remain very worried (and vigilant) about the direction of energy policy under the incoming administration.
Only answering this because of the ecosystem comment.

I wish manufacturers would make products that work well with anything. Like Apple watches with Android phones and vice versa, Apple TV running Amazon's Prime TV app, Amazon's Prime TV box running Apple's TV app, etc.

All of these ecosystem-exclusive things are annoying and in some ways I believe holding technology back a little.
The wikipedia link: https://en.wikipedia.org/wiki/Energy_subsidies. e.g. in the UK north sea oil exploration is heavily subsidised: http://www.independent.co.uk/news/uk/politics/uk-government-.... Of course there's lots of politics and commercial interests here, so I don't overly trust the upfront numbers given by articles in newspapers.

As a reference point the UK has about the lowest consumer energy taxes in the EU, and the highest consumer prices.
ObjectiveFS does provide a flat fee ($15 per client), is that what you what?

If the $ per byte of storage is relatively small comparing to the cost of S3, I actually like that model, pay as you go.
Uber is inherently a two-sided marketplace. You don't care if your friends are shopping on ebay, but you care if enough people are selling there.
Show HN: An app where you can anonymously discuss about your boss
The author suggests that learning rather than hard-coding info in the brain allowed smaller brain size at birth, but does he cite any evidence or is it just speculation? It's not at all obvious to me.
How terrible it would be to be a driver if everyone acted like this...
I am experiencing the same thing, but on the reverse side.

At my home, I have a Ubuntu desktop which works perfectly. I use Eclipse, Android Studio and Atom editor. On work, I use MBP and pretty much the same environment.

I know it is not a common opinion but no matter what I do, I still like Ubuntu more than macos. I agree that macos looks more polished, engineered and complete but somehow, I prefer Ubuntu's plastic feeling. It has been 6 months and still my opinions did not change.

There is also the problems of macOS with Eclipse and other GTK applications (Meld) some other stuff about Mac that I couldn't fully adapt yet.

Lastly, FYI, no, I am not hater and I like MBP, especially as a solid metal object.
end of the OPEC bloc

You might not have noticed, but OPEC is dead.

A combination of shale oil in the US, Saudi and US desire to the disrupt the Russian oil-economy and Iran/Saudi rivalries mean OPEC can't set prices anymore. The best they can do is try to restrict supply enough to stop them going bust[1].

Even that isn't a sure thing anymore - no one can be sure that even that small agreement will stick[2].

An Exxon/Russia agreement under the Trump presidency will bury OPEC. (Not sure Exxon/Russia will be better than OPEC, but OPEC won't be able to do anything about it.)

[1] http://www.abc.net.au/news/2016-12-01/opec-get-its-cartel-mo...

[2] http://oilprice.com/Energy/Oil-Prices/Goldman-Flip-Flops-Aga...
It can hibernate. With an SSD, restoring back from hibernate is just a few seconds.
Sure, but nothing ties eBay sellers to eBay. For an Uber driver to add another Taxi app it's not just a case of downloading and installing the app. They have to create a user account, enter their bank account details, verify their email address, take a photo of themselves, their car, drivers licence and insurance documents and upload them to the Taxi app server. Then wait a day or two for it all to be processed.

If the Taxi app has a significant number of users you might convince driver's to jump through those hoops. But if the Taxi app has no users it's impossible.
I think people put too much significance into the name change. They often referred to themselves as just “Apple” since at least the early 1980's. They dropped “Computer” from their name just weeks before they announced the deal with Apple Corps Ltd to get permanent rights to the trademark.
>One downside of cheap solar might be a drop in crude prices, resulting in its more frivolous use.

I'd argue this logic is backwards. Only way solar can cause a drop in oil prices is by reducing it's demand. And if it is reducing the demand of oil, then the total demand of oil can't increase.

Further, only sustainable way to keep oil unused in ground is to get the market price of oil so low that nobody bothers to dig it up. I mean, if the oil price is $500 per barrel, there is simply no international agreement that will stop people and countries drilling oil from every possible site from north to south pole.
I'm just a simple investor and have no ties to the oil industry. I was surprised to learn about the tax incentives for investing in oil: http://www.investopedia.com/articles/07/oil-tax-break.asp
How to Re-Create Customer Service Miracles After the Holidays
I am not a fan of Wind energy because of location and the fact that windmills have reportedly killed a lot of birds, sames goes for the underwater windmills.

I love solar though, and yes, storage dependency is there, but then, we have done no research on it. the main problem is the will to do research.

I'll give you an analogy, for pumping water to x height, we use an electric water pump. As you might be aware trees are the best water pumps available, with 0 noise they pump water all the way upto their top, some trees are just crazily huge, so if we are to harness the tech in trees to figure out how the heck are they able to move water from roots to the top, we'll have a revolution on our hands, but in the words of Henry Ford, "If I asked what people wanted they'd have said faster horses" :-)

I want to see the entire world powered by solar with microscopic solar panels which are stuck to things like walls and stuff sending electricity wirelessly (invented by Tesla) to the home/office/car etc
For one, MIPS32 and SH2 are both 32-bit ISAs. Extending them to 64-bit would require just as much compiler re-working as building a new RISC ISA -- and it'd no longer be MIPS32 or SH2 anyway.
I didn't mean just the OPEC, I meant the oil economy itself. It is killing env + it has pushed a lot of money in the hands of people who sponsor terrorism.
I agree greens don't need to be limited... I do soups over stir fry, but similar... heartier greens like kale, spinach, arugula, etc can handle being cooked in with a soup. I tend to also use them in place of pasta in pasta dishes. That is sometimes a miss though.

I do make most of my own broths/stocks when I can... sometimes cravings for mushroom broth can be more expensive. There is definitely a taste difference between made at home and packaged broths... I'll use packaged, but not always a preference.

I also tend to taste the differences in meats more than veggies though... what they're fed seems to make some serious differences in flavor (wish they'd label that on chicken eggs)... I happen to like grain fed cows more than grass fed. It's pretty subjective though.

I do wish I was more of an early morning person, in order to hit up some of the farmers markets. Would be nice to find better connections for certain things I use more of.
Good point. I'm always thinking my code is crap (it is) and inferior. But reading other code has made me realize that others code often has its warts too.

The key is seeing others code warts (or lack of them) makes you identify your own warts.
German authorities investigate probable terror attack in Berlin
What I would like to see is the comparison pre-subsidies for the RoI. I am not convinced the author of the article reversed those.
This all seems to assume their long term plan has anything to do with providing car service for people, which seems ... strange.

Uber really wants to be a logistics company.
This stuff is flying under the radar at the moment, but all the peer-to-peer magic coming out of the dat project has the potential to completely democratise the web.
Webinar: Get to know InnoDB internals and performance characteristics
Those figures seem to come from here:

https://www.cbo.gov/publication/43993#section0

In particular, the $3.2bn/year is a tax write-off sort of 'subsidy', not a grant sort of subsidy, which I believe solar has received recently (section 1603).

Without doing more digging, I can't tell whether what those oil and gas write-offs are for. Exploration? Research?
If you have 32-bits available to encode the instruction and the operand, how do you encode a load of a 32-bit address, or even a 64-bit address?

That's why the SPARC assembler, as(1), accepts a completely made-up, non-existent, synthetic instruction, ld. In reality, what happens is that as(1) assembles this made-up fantasy into two instructions, sethi and or. This is the cold, hard reality of loading a 32-bit value from memory:

String0:
.asciz "Counter is %.2d\\n"
.align 4

main: sethi %hi(String0), %l0
or %l0, %lo(String0), %l0
This is nice! :)

How do I learn "this" kind of JavaScript? Does it have a special name or something?
I totally agree with you- but it's worth pointing out that a tiling window manager + minimal applications is still a designed interface.
What I missed in the article is a suggestion to also try and fix the problems you find in the code. Creating patches that macthes the style of a project, submitting them and handling the communication that usually follows including update to the patch until accepted is a good learning process too. And then you've also helped the project. Win win win win.

And finally. Remember to go back to your own code. You'll be amazed at how many warts you suddenly see. Things to improve, fix, change and cleanup.
In my case he's also a project manager for a couple projects (though none that I'm involved in).
Sometimes I wounder how much of HN comments is content advertisement.
>This is a company making money that is pursuing a blitzkrieg on the industry. They can sit back any day and rake in billions. I agree there isn't a high entry barrier, but I don't think they've lost the first-to-market advantage.

The problem here is that ridership at current prices is rather higher than ridership at 2x current prices... and 2x current prices only brings you up to break-even. you want to bring that up to the point where Uber is making billions? ridership is going to fall off a cliff.

I use uber a lot mostly because it's really cheap; For five bucks? yeah, for five bucks, I'll have someone drive me to work. if that goes to $10 or $20? Yeah, I'll still use it when I go to the bar or when my car is broken or something, but for that kinda scratch I'm probably taking a shuttle, driving myself, or using a bicycle to go to work.

The point here is that Uber's competition isn't really lyft or the cab companies, it's the car I have sitting in my own driveway.
Personal attacks are not allowed on Hacker News. Please stop posting uncivil and/or unsubstantive comments here.

https://news.ycombinator.com/newsguidelines.html

https://news.ycombinator.com/newswelcome.html

We detached this comment from https://news.ycombinator.com/item?id=13217110 and marked it off-topic.
Very good. Libraries are what everybody relies on, but IMHO gets to little attention and appreciation.
I think that because of numbers scientific publishing is moving towards to the programming projects model. Arxiv like GitHub. Eventually some of the good projects emerge. Part of it is being able to build community or become famous for anything and use that to advertise a project. Social skills plus programming skills. It would help to get good reviews too. It's not that all good papers are peer reviewed evenly.
New York City brings smartphone payments to metered parking