skysight-inc/HackerNews huggingface dataset:
* Consider using `Text` instead of `String`, as `String` is a linked-list of `Char` and quite inefficient

* Consider refining some of your fields into more constrained types. Sort orders probably only have a couple of valid values, and might reduce to an enumeration instead of `String`.

* In `instance ToQueryString PriceRequest`, I'd be surprised if those type annotations are necessary. The inferencer should be able to work out that `req` is a `PriceRequest`.

* In `instance FromJSON AggregatedSnapshot`, I think the `read`s should go. I think you want to use the `Float` instance of `FromJSON` instead. (What the `read <$> ...` is doing is parsing to a string, and then using the partial (!) `read` function on the result. JSON responses that have a value that fails to read for that key will crash the program.)

* In `instance FromJSON AggregatedSnapshot`, consider `withObject` here too, which encapsulates the pattern you're using.
Electrification = some kind of hybrid, or battery electric vehicle. In some contexts, this can include 48v mild hybrids, but I don't know about China.
Gotta say, "long-abandoned implementation of some unclear method that was considerably faster than Matlab's known-to-be-slow implementation on some problems" does not sound particularly interesting. I suspect that Chris is only interested at all because he is spectacularly thorough (as evinced his comparisons with other ODE solvers and his code) and the method might not yet be included in DifferentialEquations.jl. There's little reason to believe that Intel was onto something "magical" here; it seems that they just had a good implementation of a decent method.
Well bad things don't happen in a vacuum.
> Why is that not good enough?

I don't think "why isn't what we have good enough" has ever been the mantra of pioneers in their field, but ok

I don't get why you seem to take such exception to the stance that "we can do better". We can always do better.

Do you imagine 500 years from now the same technologies and web models in play as today? Even 100 years from now? Do you really think they are the pinnacle of the web.

If you really do, I'd sincerely love to read your counter blog post on this, as I reflect on this quite a bit and have generally always come to the conclusion that there's a long way to go.

> This is like sitting there in 1600 and saying that the printing press sucks because it doesn't encrypt documents

If that's so, isn't your comment akin to saying "why isn't the printing press good enough for you"? :)
In the good old days, we'd have just gotten Mulder and Scully on the case...Those were simpler times...
Good point and I agree it's less sensitive.

But to avoid minimizing it, there is a scenario I've heard where it matters: crazy ex-boyfriend discovers you're using a new messaging service, just because he still has your phone number in his contacts.

Ideally, nobody should know you're using a new messaging service unless you've given explicit consent to share that info with them.
Twitter enables the toddler in the White House.
Maybe the future history of the web will be Chinese made. Multiple independent app platform on Android there. Also if standardization is slow and mired by incumbent company interests maybe something capable of a unilateral forward thrust into a big Market will have success
I think it gives warning when you paste something ends with a `\n`.
Twitter has had a net negative effect on discourse, media and, by extension, on society. More characters won't help.
There are two possibilities the compiler is faced with, that the function pointer is null or that the external function was called and the function pointer is set to a concrete function.

Since the null pointer option would lead to undefined behavior at runtime (no one is confusing cause and effect here) the compiler can ignore this case.

That leaves only one choice, and that's the result of the compilation.

It can be surprising but it makes sense.
I don't currently own a vacuum, I have a very small apartment with hardwood floors, and my experience with Dyson vacuums is limited to casually viewing them a few times in stores, but what do you mean by "cheap plastic"? Are you saying that all plastic is cheap or that Dyson specifically uses poorly made plastics? From my understanding using well made injection molded plastics can be both difficult from a production/engineering standpoint as well as quite expensive, but again I don't know the quality of plastics in Dyson products. I agree in that I'm not a big fan of their color schemes.

Also, maybe someone with more vacuum experience can chime in but what's the preferred material choice for an upright vacuum? Plastic seems pretty perfect to me in that it has good impact resistance and probably won't scratch or damage furniture/walls too much. I know aluminum is quite the rage in the consumer electronics world but I doubt that would make a good choice. I bet carbon fiber would be nice although the price would increase a few hundred percent.
> The obvious example is that it's just as common to read Hitler's book and speeches as it is to read Marx when studying history.

I'm sorry, that is not "obvious" at all. It's trivial to name dozens of academics who are self-admitted Marxists, and who give Marxist ideas fulsome praise in the classroom. They outnumber self-admitted Nazi academics by thousands to one, at a minimum (I can't think of even one example of the latter, off-hand, but I suppose there might be one or two out there).
On the one hand, it's a common sentiment that we should just be grateful for how great things are today. See, for example, the famous comedy routine "Everything is Amazing and Nobody is Happy" by Louis CK [1].

On the other hand, would we have cell phones, ubiquitous credit card-capable point of sale machines, and airplanes with in-flight Internet, if people hadn't dared to dream that things could be better?

Yes, children can learn basic HTML, CSS, and JavaScript. But what if we had a platform that was easy to learn and not full of security pitfalls? One can dream. And the OP has some concrete suggestions for how to get there.

And sometimes, you have to drop existing systems, or aspects of them, to get to that better future. For example, on a cell phone, you don't actually get a dial tone and send DTMF in real time, as one did on a touch-tone landline phone. (This reminds me of jacquesm's contrast of DTMF and GSM [2], posted in the comment thread for part 1.)

[1]: https://www.youtube.com/watch?v=q8LaT5Iiwo4

[2]: https://news.ycombinator.com/item?id=15322196
You create it in the "chrome" folder in your Firefox profile. The "chrome" folder itself may need to be created.

https://support.mozilla.org/en-US/kb/profiles-where-firefox-... has directions for finding where the profile lives.
I have a feeling china will be the first to adopt self driving cars for mainly for environmental and congestion concerns; they are also authoritarian enough to actually do it. So ya, this could very well happen in 10 years or so.
The "Py" is for python.
It's true... Daily Mail is not as lowbrow as the Wall Street Journal :-)
If only there was a git shell...
Have you considered packaging the Chrome extension as a WebExtension for Firefox?

https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Po...
He also removed the exif data
If your warnings policy isn't useful for developers it isn't a good policy.

And the translation strategy understand discussion here isn't dangerous.
Nvidia said they're not using Chisel for the RISC-V cores they plan to embed in their GPUs.

see https://www.youtube.com/watch?v=g6Z_5l69keI&t=545
How do you select the upvote arrow in Vimperator?
Google celebrates 19th birthday with 19 games from Doodles past
Does anyone remember the Geo Metro? It did ok enough back in the 90s, I remember my mom getting one when the family wasn't doing too hot.

Used cars in the USA are tricky: you have a severe chance of getting a lemon with no decent warranty. Also, financing is much guarded on used than new. In Japan, they make cars over 5 years old prohibitively expensive to maintain. In China....well....you really can't trust anything used, they have ways of dressing up a total to look completely undamaged and even new.
The only way to tell if it's running will be if your dog is losing its everloving mind.
Working on it! We released our new "Standard" networking tier last month and switched to src x dst pricing that saved some people ~10-20% depending on the src x dst pair.

Disclosure: I work on Google Cloud.
Mark Zuckerberg, you dress like crap
This might be especially true when the source of the official explanation has skin in the game.

Politics is a hairy business.
Several manufacturers have very cheap cars available in other markets. Renault immediately comes to mind with the model year 2016 Kwid that is sold in emerging markets.

One of the things you may find unpalatable is how they hold up in crash tests. That is, they don't or they don't do it very well. At those price points, safety is truly optional.

Let's compare the Renault Kwid that was tested in March 2016, and a newer Renault Kwid III with a driver-side airbag that was tested a month later.

* Renault Kwid I: https://www.youtube.com/watch?v=a3Xiw-xP3HA

* Renault Kwid III: https://www.youtube.com/watch?v=qi1LgUrd5fI

The newer Kwid certainly didn't have _complete structural cabin failure_, but forces experienced and expected injuries still resulted in 0-stars for front occupants. You get what you pay for.

Here's an Indian news story (cheap car safety was a hot button issue in 2016) that included an interim revision of the Kwid (the Kwid II, amongst other current cars failing crash tests) which fared better structurally, but had the driver basically eat the steering wheel: https://www.youtube.com/watch?v=0qqbQZBmxyE Renault isn't some scrappy upstart either -- they know how to engineer very safe cars, but they (as does sister company Nissan, as well as Hyundai and VW) sometimes make some pretty sketchy stuff for emerging markets.
I think that's why the web is so successful. No one likes the DOM APIs but they provide important capabilities and people just wrap them anyway.

The fact you can take the capabilities and evolve the APIs continuously is the big pro here and it's a lot easier to do on the web than on other platforms.

The "binary protocol stuff" is a great example of something the web _shouldn't_ do because it can be solved in a library (and already is) and doesn't add a capability.

WebAssembly on the other hand is great since it adds a capability.

At this point where Chromium has more LoC than the linux kernel I think "boiling the ocean" is a very good analogy - and the only thing that got a little close were mobile apps.
Relatable. For years, I aliased mroe to more. Now I alias mroe and more to less.

My wife drafts a lot of legal documents, and has a problem with "doe snot". Which unfortunately the spelling checker is perfectly happy with.
There is a difference between trusting a local and a remote CPU. Selling compromised CPU's to end users is much riskier than colluding with a megacorp to create "altered" CPU's for their servers.
Pegasystem aims for more transparent AI
I think my favorite MacBook Pro keyboard was the one on the Aluminum PowerBook. The 12 inch Aluminum PowerBook is my favorite Apple product of all time. It was perfect to me in every way.
Intel announces self-learning AI chip Loihi
I used Scrapy extensively last term in my non-CS co-op. Really loved how quickly I could make beautiful dashboards with a bit of Python / VBA.

My problem with Scrapy was that there was a lot of manual work involved for each site, but perhaps that speaks more about my proficiency rather than Scrapy.

What's the next step from here in terms of gathering, cleaning, and analyzing data?
In this particular case, (1) and (2) were pretty much the same, as the format that became HEIF was drafted up in 2013 and finished in 2015, by Nokia, as a contribution to the proceedings of the joint MPEG/ITU-T JCT-VC working group working on the standard MPEG-H; it was accepted.

Previously, with Apple 'live photos', having two separate files sitting on the disk was good enough.

HEIF is very new, but it's now blessed by the premier standardization organizations in this space as a component of the next wave of media coding. Aside from the the innate value of standards in which industry players agree on common formats and semantics, Apple's move needs to be seen in context of the rival 'Alliance for Open Media' [1], which includes many big names working on future open media codecs outside of the usual MPEG / ITU-T / contributors' patent pool combo. Apple's adoption of an MPEG standard is also signalling its commitment to that particular brand of standardization.

[1] http://aomedia.org/about-us/
I really wanted to like Mastodon, but their "default" instance is just too restrictive on speech. It's basically a tumblrina safe space network. I'm saying this as a mostly-liberal, not your average OMG LIBTARDS ARE SNOWFLAKES person.

If a social network, even a federated one, wants to gain traction, it needs to be a bit more open. Yeah, nazis are obnoxious assholes, but I'd rather have a network with them on it (and just ignore them) than have to constantly worry "am I saying the 'wrong thing'??" each time I post something.

I mean, the whole point of distribution seems to be that you can say what you want and it can't get shut down. Mastodon's ideals are at odds with its goals, IMO.
Ya, China isn't India, safety standards are a bit higher and similar to the west. This especially applies to foreign brand cars made in JVs (we aren't talking about something like a Land Wind X7, where you get what you pay for).
Dyson vacuums were the only ones that could last longer than a semester under constant usage in my college fraternity.
> they succeed by having adequate tech and a huge pile of marketing money.

The key to the web's success is its completely unparalleled levels of accessibility. All you have to do is remember a domain name and you have a portal into anyone's personal network application on any device; that feature can never be topped regardless of the tech's quality or the marketing budget.
Even more of a reason not to make this large, system breaking change.
However large and robust the deployment may be, it's still a narrow use case/environment compared. It may be very well outside the norm of C++ use cases, frankly. A lotta people make Windows apps still.
‘rumor’ or ‘gossip’ it used to be
I think the opposite - the descriptive language of bazel (buck, pants, build.gn and others too) is the key feature. I haven't seen anything that comes so close to defining in very precise, and clean manner your exact dependencies across multiple build platforms.

It is a foreign lang for folks used to MSBuild, .vcxproj/.sln, etc. - like the debug/release, or CRT options are not right away visible (just saw a commit 15-20 hrs ago in bazel to support dynamic CRT linking), but I'm sure this is coming.
How? I was looking for this last week and couldn't find any settings that worked. Nothing relevant in about:config, and the toolbar customization shows the search bar there until I close customization.
No way. Maybe someone Chinese knows the limit better, but I definitely couldn't send a 70 character message without it having been broken up into 3 or 4 texts.
Whatever happened to the B-Tree library? Will it be included in Abseil's container lib some day?
Ha! I have almost the same thing:

gi() { ARG=$(echo $1 | sed s/^t//); shift; git "$ARG" "$@"; }
The plastic used in the DC41 vacuum cleaner is so flexible that parts of it bend almost to the point of breaking during normal use.

Without judging if the plastic is cheap, it certainly feels less solid than they used to, in my experience. Sure, sample of one.
These dismissive comments are unhelpful. The nice thing about HN is substantive discussion can happen, whereas I rarely expect it elsewhere. But preemptive comments like yours can prevent this from happening.
Your comments are very well said and explained in a constructive context! Thank you for this feedback, good chewing material.
At a high level, it's the result of having global, flat Networks and not wanting to declare the network "up" until you've "programmed" all the routes. So if you have 1000 VMs distributed globally, you get to make sure that they're not "connected" until your new VM in asia-east1-a can talk to all other VMs in your Network (and vice versa).

With the to/from API path this routing is much simpler since you don't get the N^2 behavior.

Again, Disclosure: I work on Google Cloud (but I've never contributed engineering-wise to Cloud networking).
Magsafe power cord.

USB and USB-c.

At least a 32GB ram option.
I’ve contributed to a couple of Mafintosh’s projects. the dude is impressively prolific and writes good code. Nice to see him get some recognition here.
I, on the other hand, don't love managing dozens of passwords. And either way, a browser could easily offer multiple identities via multiple email accounts if you desired under their model.
If you have time, please elaborate on what you'd like to see.
NASA’s New Hubble E-Book Series Dives into the Solar System and Beyond
>"Yeah, this reasoning especially also struck me as weird, because Twitter's 140 character limit was chosen from an English-speaking viewpoint."

I don't believe this is correct but rather 140 characters limit was chosen because SMS will break a message greater than 160 characters into two messages. 140 characters leaves 20 characters for a username.
How does this compare to rocketchip and other RISC-V cores? Which is easiest to get started on with an FPGA? From my looking, rocketchip seems like it is seeing the most active development in open source, but I would love to see a comparison of all open RISC-V cores.
This is a good question, and believe me, it's an approach I strongly considered.

In the end, I couldn't find a system that would work well as a base for the functionality I wanted to build. If I could have, I would have been all over it, but it would have required compromises to the simplicity and convenience of the service that I didn't want to make. No secret store that I know of is designed in a way that would make it scalable as a saas service like EnvKey without heavy retrofitting.
Can Tech Startups Do Journalism?
Hell, if they could inspect someone's drives based on sending them data it would make all warrants with computers trivial to get. Write a little script that just sends the data and doesn't even check if message is sent successfully, send a classified file to everyone you want to search, and bam you have legal access to anyone's computer at any time. It would be even more of a joke of probable cause than "I smelled marijuana" if the courts allowed it
System monitoring dashboard for terminal
Every morning for 20 minutes starting about 18 months ago, it's been very useful.
I started with "The Mindful Geek" https://www.amazon.com.au/Mindful-Geek-Mindfulness-Meditatio... and found it useful and secular.
Interesting, I have an opposing viewpoint. I'm living in Vancouver, and don't have a car. The car2go system is very useful here, as great as transit is, it's hard to head home late at night or making grocery trips, which is where the smart cars come in. They may not be the most luxurious car, but they are still amazing for driving in the city. You don't need to go super fast (as you usually don't have the chance), and the "cheap" plastic they use for the interiors isn't as bad as you make it out to be. It's certainly not the choice I would make for a car, but they work really well in the city.
> To stress a point from my last article, text based protocols (not just JSON) have the fundamental flaw that buffer signalling is all ‘in band’, that is, to figure out where a piece of data ends you must read all of it looking for a particular character sequence

While this is indeed a drawback of many text-based protocols, there's no fundamental connection between it and being text-based. Many binary protocols and formats have the same drawback. Conversely, netstrings [1] don't require scanning for delimiters, escaping any special byte values, or special behavior for netstrings-within-netstrings. They could easily be used as the basis for a text protocol (and probably have been, somewhere; BitTorrent uses something similar but not identical, mixed with delimited fields, and not text-only).

[1] https://cr.yp.to/proto/netstrings.txt
You don't necessarily need individual VMs to be IPv6 addressable to do this. That is, since our global load balancer already supports IPv6 termination, your app's API or website or whatever will be served as IPv6.

Take a look at our announcement from last week for more info: https://cloudplatform.googleblog.com/2017/09/announcing-ipv6...

Disclosure: I work on Google Cloud (so I indirectly benefit from you using our services)
There was a GSOC project on Julia wrappers for FeniCS.

https://julialang.org/blog/2017/09/gsoc-fenics
Watching what a user types into Google & using the Google result is pretty much textbook copying.
I just rotated my phone.
Current issues in USA politics are larger than just a toddler on twitter. Source: disappointed American
I didn't see any work besides writing? It seems like he's working on a financial company, not advancing the open web.

I didn't see any mention of a plan to make it happen. It seemed more like "It would be nice if..."
Called it

https://news.ycombinator.com/item?id=13759157

Should have charged people for it though. They need the money.
It's ugly but it doesn't matter. If this hits the USA I will buy one last year.

Goodbye petroleum age.
According to your article, 160 characters was a product of technical limitations later justified by postcard and Telex research, not the other way around as you claim.
Show HN: Mapjot – Create interactive maps easily and share them with others
It's entirely possible that two people might not come to a unique solution to a problem, but whether or not they'll "disagree" over it requires the additional hypothesis that they'll pick some "solution" as their own.

For instance, someone might come to us asking for a text editor. In the absence of additional constraints (e.g. "it should be lightweight", "it should be extensible", "it should be WYSIWYG", etc), there's no unique solution. A unique solution only arises given some sufficient set of constraints. And the discussion will only degenerate into another vim vs Emacs pissing contest if there's any two people in it, one to defend each editor, who aren't keen enough to appreciate this.
I worked a lot with Delphi ("Visual" was not in the name, BTW) and I predicted more than 15 years ago in a mail list that web programming was going to completely eat most of the GUI programming.

What happened? Short version: 1) Everybody talks about productivity but nobody really cares 2) "Some" people care a lot about the price of programming tools 3) Web architecture provides for free a handful of requirements that were increasingly being demanded and were difficult to fulfill with desktop programming tools.
> We are sure not discussing things like peak load capacity here.

Right. I'm talking about how there can be an average surplus and also a peak shortage at the same time.

Articles talking about "power surplus" can't seem to decide if they mean average or peak, and I can't find an official definition of the term.
Scientists discover second octopus city
Batch the monthly payments into one $12 yearly payment.