skysight-inc/HackerNews huggingface dataset:
I can't stand how awful the UI is on Mac compared to Windows. Why have the sections and the page list waste a ton of space on the left and why can't I collapse sub-sections?
Market orders often give a false impression of safety, and then can come back to bite you at the worst possible moment - when the market is very volatile.

For example, say you have some commodity and you set up a stop order at $100. Often people assume this means that you're guaranteed to get at least $100 for your commodity, and so your losses are limited. But that's not what it means! What it means is, if the price goes below $100, your broker will sell for whatever they can get. Those aren't the same thing, and that's what makes market orders so dangerous. It's insidious because they are the same thing in normal, liquid markets, and they stop being the same thing when things get choppy.

For a relatively recent example, a couple years ago Switzerland suddenly dropped the Franc's peg to the Euro, which momentarily spiked its value by 30% and made the market totally illiquid while people tried to figure out what the correct price was post-peg. A bunch of forex traders got wiped out as a result, because they had hugely levered positions on the Euro, and assumed that their stop orders would save them if something went wrong. But when the Franc spiked to 0.80 EUR, they had to sell at that price (at a huge loss) even though it settled back to 1 EUR moments later. If not for those market orders, they would've been fine.
There are no use cases for EME other than DRM.
highly doubt that microsoft crafted this product to have lowe performance on purpose.
Did you read the posted article? It spends a lot of time trying to figure out how to measure context switches. Which I carefully wrote up around 1995 and still works to this day. That's independent of the hardware and was sort of my point. This is a solved problem.

And if you look at Table 10, the time for a context switch is remarkably similar to what it was 20 years ago (which means the OS is fatter, not surprising, it's scales up on SMPs now).
Had a blast building the Winnie Android app while going solo for the first time! Happy to answer any questions about my experience.
And ease of modification.
Sure. How about LNG (liquid methane)? We have enough natural gas to last quite a while. In the far future, hopefully we will have mastered producing kerosene using algae.
Invented by Google, the New World of Site Reliability Engineering is Emerging
Following. And I add two to the list:
- Macbook's wifi connection is crazily unreliable. Based on Googling, it's also not unique.
- Iphone cannot find mobile net after coming out of the basement until I turn the mobile net off and on again.
Grrr.
Sorta like when the web first got started and domain names weren't in the public imagination yet:

https://www.wired.com/2005/08/tech/
My 7 year old audio interface (E-MU 0404 USB 2.0 for who cares) started making BSODs after upgrading from Windows 8 to Windows 8.1. The latest manufacturer drivers were for Vista.

I reported it on answer.microsoft.com. They asked for a crash dump. Complied. Another non-ms person analyzed the crash dump and suggested that it's USB 3.0 related. Disabling that in the BIOS solved the issue.

But the MS guys kept on going. A few weeks later, a reply that they managed to get their hands on a similar device (!!, cost about $200), but they couldn't find a driver, so they asked for mine. Pointed them to the online driver location (hidden on manufacturer site). Some time after that they commented that they managed to reproduce the BSOD. A few months later they released a fix (into Windows).
But the only time it is buggy if you SAY it's Linux. If you say it's Windows, it works fine. That's not having the software passively become buggy, that's CHANGING the way the software works if and only if the OS is Linux, but working correctly if it's told (but isn't actually) Windows.

I don't think this is a conspiracy, but I don't think the characterization that users think that because OneDrive works on Windows better than Linux, buggy by inaction is assumed to be buggy by action: this situation is far more damning than that.
INI files are cool, IMO [1]. Though they may have originated in Windows or DOS, other tech uses them too nowadays (and from long, of course). Some languages must have support for INI files in their standard or 3rd-party libraries. I know Python does, in the ConfigParser module. In fact, I'm currently using it in a project I'm working on for a client.

[1] I think they are cool because of their simplicity - it is just a two-level hierarchy - sections and options within sections. And options are key-value pairs. For many applications, this is enough, and any format that supports more may be overkill (though would still work).

Edited to add the [1] footnote.
Great post! I absolutely love the tip about reviewing your own PRs. I never would have thought to do that and it seems like a great practice to look at your own code from a different angle.
A (sufficiently complicated) cross-border ownership arrangement should make machine-owned property undetectable.
Would you say it's fair to compare the memory usage / loading time of a huge TS file in VSCode vs in vanilla Vim, when one loads Language Services and provide advanced language features while the other just does Syntax Highlighting?

Or comparing Vim against Sublime for loading large files, when Sublime needs to draw the very fine and useful minimap but Vim doesn't?

In addition, most of these perf tests are extreme cases, whereas some editors are optimizing for more common use cases.
> what is to prevent someone from simply ripping the computer out of the taxi, wiping it, and then making off with a free car?

machine can probably hire security for bitcoins to deal with it.
That argument _may_ apply to very young learners. I.e. students in high school or younger. It certainly does _not_ apply to the people the original article is talking about (i.e. researchers). Anyone who can't handle the circumference of a circle being 2 pi has no chance at understanding modern mathematical research no matter how simplified it becomes. It's not even on the radar.

By the way I simply am not convinced by this 2 pi vs tau debate. Now the area of a unit circle would become tau / 2. The original problem doesn't go away it just changes. The argument can be that you write write tau more than you'd write tau / 2, but the fundamental difficulty remains. Notation in mathematics is _extremely_ important, but pi vs tau is so far down the rabbit hole of diminishing returns, that I just see the debate as a total waste of time (and that's before I consider the fact that it won't ever change due to momentum...).
Skype was messed up for ages, they actually have a really cleaned up Linux client, it's based around Electron so it actually works a lot better than the older one. Skype is an example that they do care about Linux too.
Many long haul flights of Tier 1 carriers already have AC power at the seats, so #1 and #3 have already been taken care of.
> I'm glad Linux/Firefox can Netflix, but I'd like it if web standards were open and not patent encumbered.

The actual web standard is open. Netflix was one of the key players in making this an open extensible standard instead of it being an extension or plugin for browsers.
When I called in about this bug a few months ago the support representative was surprisingly helpful. He didn't bat an eye when I said I was using Ubuntu, quickly researched the issue while we were talking, and suggested (while making clear that it was not an official response) that I work around it by spoofing the user agent string. Seemed genuinely sympathetic.
TRIM isn't super important given bcache's write pattern (sequential writes to large aligned blocks). It doesn't do random overwrite in place of small blocks.
Ironically, people seem to forgive Apple a lot of similar practices.
Why not? Shareholder accountability.

"We didn't bother protecting our content, and yes, sales are down 25% year over year, but..."

Fired.
No law. Just don't have a mail receptacle.
overturned convicted monopolists
3.5 feet is barely higher than a desk (a normal one). That's like leaving your waiter a penny tip.
There are quite many ways "pirates" capture a video. Recording the screen is probably the last resort and makes you end up with a very low quality copy.

But yes, until they also build in the technology they have in PlayStations (Cinavia) to video cameras, that is the most obvious leak.
I don't think you should invest your time in this.

Deploying to S3 is controversial, involves personal preferences, there are already many tools[1] that say they do the same job as yours, each one is slightly different than the others.

There are also so many quirks difficult to solve from a script or command line tool, and at the same time so easy to solve using human inteligence at the time they happen.

[1]: Example: https://stout.is/
It's still a binary blob, isn't it?
Hard to answer the ideas question without more context, but I'd focus on ideas related to something you are passionate/knowledgeable/curious/have an opinion about. It's so much easier to write a piece of content when you actually care about the topic and have something add to what's already out there.

As for writing, I find it super helpful to have a formula that I can repeat for multiple articles... again, depends on the topics you're writing about. Give yourself timeframes - you'll probably fail to stay within the limits at first, but it can often help to keep you focused.
> I wonder if people said "Hanlon's Razor" when they first heard about the VW emissions scandal.

I don't think that was possible, because the engine specifically performed [0] better during the test and worse during normal operations. So what would Hanlon's Razor be? Whoops, the testing procedure accidentally happened to make our engine perform better?

[0] With the definition of performance being emissions output, not power or torque.
Sutherland saw, very early, that a constraint system was the way to go. We went through generations of CAD systems and draw programs which didn't do constraints. Even today, most draw programs don't do constraints as well as Sketchpad.

Sketch mode in Autodesk Inventor does constraints very well, including difficult geometry problems like circles tangent to other circles. This is a solved problem today, but tends to be solved right only in the better CAD systems.

(If only the HTML people had thought in terms of constraints. Left edge of box B is coincident with right edge of box A. Right edge of box B is coincident with right edge of window. Left edge of box A is coincident with left edge of window. Top edge of box A and top edge of box B are collinear. Boxes A and B have equal width. That's the way to get two columns.

Unlike CSS layout, this concept can be extended beyond rectangular boxes; constraints with circles and splines are usually solveable.)
> Am I missing something? Is this a case where an open standard

Yes. The bit where this is an "open standard" to implement completely closed, non-standard plugins, which cannot be implemented by reading the spec.

With this "open standard" any browser or OS not blessed by Hollywood can't have a full web experience.

And I take great issues with that.
Yeah but if nothing else you've got to have the environment for someone to test it with, right?
> Also, this action was only pursued after two professors at a university for the deaf filed an official complaint with the DoJ. Isn't it bizarre that two professors at an institute of higher-learning filed a complaint to have educational resources, which were freely available to the entire world, deleted?

No, it is not bizarre that lawyers at a university for the deaf, precisely the population that one expects to notice this infraction and to also have the monetary resources to file a complaint, were the ones who filed a complaint. That's often how lawsuits come about.

Yes, the DoJ is all about priorities. Obama's administration put more resources into its civil rights division compared to the Bush (GWB) era, which looked more into voter fraud among other issues. That other administrations may have let the law go unenforced does not mean that the law should or can be ignored when litigants pursue a complaint.

And yes, I have read the other HN threads on this and have occasionally chimed in the discussion [0]. The issue is a lot more nuanced than "THANKS OBAMA SJWs". But it's a path that the United States as a whole decided to walk down in 1990, in bipartisan fashion, when it passed the sweeping American Disabilities Act. The ADA has had massive costs for businesses and organizations in the past decades: http://www.usccr.gov/pubs/ada/ch2.htm

[0] https://news.ycombinator.com/item?id=13768856
Hi, I'm the co-founder of Viro Media, Vik Advani. Our platform is built on top of React Native, allowing for cross platform native development across mobile VR headsets, including Daydream, Oculus Gear VR, Android Cardboard and iOS Cardboard. In the same way you can build powerful mobile apps using React Native, you can do now that for VR.
Thanks for sharing the link. In JavaScript you can put functions inside functions, so if it's only used once you can put it where it's used, witch would have the same effect as in-lining it. But you also get to eat the cookie as you get the advantage of using functions.

I like the advice of setting a breakpoint and then stepping though all the code for example a frame. If what actually happens is way off from how the code is structured your team will have problems comprehending what the code does, witch will make it very hard to work with.
If you're like one these people who believe that DRM is actually an act of evil, then I guess it makes sense.
I've been using btrfs since about 2011, and I've stopped using ext4 / xfs / zfs everwhere since about 2014.

From 2012-2014 it was mostly breakage every other month. From 2014-2016, it was semi-annual issues.

For the last ~18 months I have had ~30 machines running btrfs with no issues, some servers, some personal computers. The release notes are boring, the bugs are boring, and to me its definitely in a state I would strongly consider trusting it with any workload.

I worry that btrfs is just going to remain doomed. It wasn't stable half a decade ago, so it - for some reason - cannot be more stable now. But it has seen so much work put into it to make it as mature as it is now, and in my experience it is pretty damn mature now. All I want to see is another year and a half of perfect stability before I would start arguing to drop zfs entirely.
Jesus, they're killing it.
That had a very weird tone.
Add to the list: AirDrop. Even with recent hardware on both sides, the success rate is so low that I pretty much never even try to use it anymore, preferring to use Dropbox when I own both devices.
> If you seriously think VoD services were going to operate using standards without DRM in place I'm not sure you'll find many productive conversations on this topic.

I know you are completely right. But I'm still not happy about it and I will still complain about it.

The technical ineffectiveness of DRM isn't something that needs to be explained on HN, this is absolutely about business people and lawyers getting too much power without having the necessary technical understanding.

While I'm waiting for the solution on that, I'll continue watching torrented shows that are obviously Netflix screencaps.
If it wasn't clear, I think the problem is capitalism because the would-be monopolist can simply rent a politician to antagonize whoever is in charge until either the policy or the policymakers are changed. Money is not all that talks in elections, but it's a huge factor.
This is so true that the title should be changed. I propose:

Online video services get DRM added to browser in order to "protect content".
Maybe someone will bring back https://en.wikipedia.org/wiki/Fucked_Company ?
Speaking of the 2038 bug, I'm impressed with Paul Ryan's rhetoric [0]

“I asked CBO to run the model going out and they told me that their computer simulation crashes in 2037 because CBO can’t conceive of any way in which the economy can continue past the year 2037 because of debt burdens,” said Ryan.

I love politicians.

[0]-http://www.cnsnews.com/news/article/ryan-debt-track-hit-800-...
Pops: first moving prints for Boomerang
> Presentation-layer protocols are the basis of RPC-like protocols like REST or SOAP

A nitpick, but, REST isn't RPC-like, and is an architectural style, not a protocol.
It's nice to have a little think-piece that I can share with others when they are interested in Computer Science and want to learn more. This is supposed to be a practical guide to start a conversation.

Once the people begin to think about processes that they completely take for granted (like sorting socks, quickly looking up phone numbers), it's fascinating to see when they start inventing very well-known algorithms on the spot to solve a problem. For example, they come up with binary search for looking up a phone number.
> GDAX processes orders one at a time (linearizable). So it's not a huge concern since you trade directly on the exchange

Not sure what you mean here.

How is this different from any other exchange that also process each order sequentially and atomically.

I mean how would you process two orders at the same time for a single product?
Sushmita+Sen's+Forest+Wildlife+Special+Film+“The+Story+Of+All+Of+Us”
"but snapshots are by far the most complex of the remaining features to implement"

I thought defrag (or things like defrag) was the most complicated thing to implement ?

ZFS has always had snapshots but I am told defrag is a long, long ways away ...
5 Steps to Plan the Next Weekend Trip in a JayPad (web App, No Account/download)
given how shady that business is (seriously it's just a bunch of sharks fleecing anybody they can get their hands on)

There's definitely sharks fleecing people in the sense of "buy my automated trading bot!" or "pay $500 for my class and I'll get you pips for days!" or "Pay me $300 for this strategy that will win every time" but forex inherently isn't shady. It's no more shady for an individual trader than stocks, bonds and ETFs as you're legitimately and singularly acting on changes in the value of currencies.

This, and there are numerous respectable retail brokers who aren't in the game of anything other than opening/closing positions for their clients. The nature of the security makes it a lot easier for properly registered entities to create markets where trades can happen sans the sharks you're mentioning.

The idea that "forex is for scammers" is losing a lot of validity and it's an attitude that I-a guy who trades with his spare/drinking money-wish would go away entirely. At the end of the day, currency trading can be just as risky and loss-worthy as trading stocks to someone who A) doesn't know what they're doing B) is excessively risky with their positions C) all of the above.
Patent-encumbered media codecs are available in most Windows and Mac browsers thanks to the OS shipping codecs. On Linux?

On Windows you have a battle-tested Direct3D 9/11 backend for WebGL (ANGLE) used by Chrome and Firefox, while on other platforms you're subject to the whims of the GL implementation (and on Linux there are multiple drivers to choose from in some cases). Direct3D graphics are also thread-safe in a way that is not consistently true for OpenGL (just ask a driver developer) which means that certain operations could block the UI thread (or in the case of Chrome, GPU process) that can be performed asynchronously on Windows, resulting in a difference in application behavior.

On Windows there is one common software audio stack (they dropped hardware audio acceleration ages ago because it was a compatibility nightmare). On Linux in some circumstances there are multiple audio stacks which can produce differences in user experience and behavior. Recently Firefox has switched over to pulseaudio, which has caused some grief.

Windows and Mac and Linux all have different networking stacks that can result in behavioral differences between OSes if you're using WebSockets or WebRTC.

The GamePad API is also subject to OS differences depending on whether your gamepad has drivers and which underlying system API the browser uses. This even varies between browsers on the same machine.
There's nothing wrong with market orders for liquid securities. If the market is not liquid you can run into issues where the fill for your order is way out of line with what you expected to pay. If you're trading common products (ex: SPY) then it's a non-issue.

On the flip side, a limit order is effectively giving away a free call option as you're telling the market, "I'll pay $X for this". Normally someone would have to pay for that privilege.
Instagram has a real ad quality problem. I routinely get ads like "99 percent off Yeezy's!!!!!" This links to clear scam websites.
When we talk about scaling (not necessarily to the size of reddit/youtube) that implies you're already way beyond an app running with a mysql.

> MongoDB

MongoDB is a pile of crap and a shame to all the NoSQL datastores. Please don't bring MongoDB in a talk about databases. If that is your only experience of NoSQL, it is perfectly normal that you think of NoSQL as a mistake to never use ;)
That's exactly what they are going for - desk height.
Are you sure you're talking about Microsoft, and not about Intel's C++ compiler?
But, it's not abitrary content. It's text. And we've had good text rendering engines for decades.
SXSW Better Than a Tornado Full of Sharks
I hope this never happens. What happens when we can't hold people liable for their actions anymore? Punishment isn't very meaningful for machines, as suffering isn't integral to their experience.

If we give robots agency, we risk creating something that can be scapegoated.
Why is self-ownership an oxymoron? It seems fairly self-descriptive, as a term. One of the primary axioms of ownership is that it is conserved. Two entities cannot both wholly own the same entity. It is then very natural to say that an entity for which no one else claims ownership owns itself. This way the sum of all ownership sums to 1.
It's more difficult. For example on Safari you can't take full-res screenshots. https://www.quora.com/How-can-I-screenshot-Netflix-without-g... But I think the point is that you don't know what code or data is being run on your computer. You can only see the end result.
To a huge chunk of users video IS the web. If Netflix, Hulu, and YouTube didn't work (assume YT adopts DRM) the browser would basically be DOA for a HUGE chunk of people.
Maybe its better to say that no one should ever _intentionally_ use a market order if a limit order is possible?

A limit order to buy at 10% below the market price is effectively a market order in normal market conditions because it still fills at the best price, but you're also protected from abnormal conditions. So the limit order is lower risk and you got that lower risk for free (if the commission is the same), so why would you ever use a higher risk order type for no benefit?

The exception is if you're forced to enter an order because of a previous transaction. In that case the risk inherent in market vs limit was a part of the transaction that you're being forced to exit. In fact being forced to exit introduces a new risk, time to fill, and a market order is the best way to mitigate that risk vs a limit order.

Use a limit order if you're doing the trade on your own terms because you reduce your risk for free.
Well, I also intend to persuade scientific funders. :P
I honestly used Atom and Code prior to deciding to try Sublime. My experience has been the same as these results. Sublime is much quicker than either one. I do still like Vim (Neovim to be specific), but right or wrong that isn't what I am comparing to Sublime. I usually just compare Sublime, Code and Atom. Of which Sublime wins by a landslide (which you can more than likely blame on Electron).