skysight-inc/HackerNews huggingface dataset:
Looks fantastic! I love the combination of SQLite fixed schema with the hierarchical view.

Some advice on the website: Do some browser sniffing (I know) to display a screenshot of the software on the user's operating system. This immediately answers the question "Does the software work on my computer?"
Also, the source code link should be near the Download section. Not everyone is trained that the triangle GitHub icon in the top right means "source code".
Red Hat is trying to address this with their Debezium project:

http://debezium.io/
For those interested in a Rust lang rewrite (only a week old even), see https://github.com/shawnanastasio/rudo and some reviews at https://www.reddit.com/r/rust/comments/6d5smn/rudo_a_toy_sud...
" The main point is still though that a large class of security issues that easily arise in PHP user programs by one of the ways you mention is far, far less likely to occur in Prolog programs"

This is true. While we're at it, I think it's worth bringing up that the most powerful use of Prolog is embedding it in a LISP that is "batteries included." One like Racket. That way, one can use a safe, easy-to-analyze, functional style for most of the application, one or more DSL's for the templating (esp HTML), and Prolog operating on LISP structures when Prolog is best thing to handle it with. Alternatively, Shen uses something like Prolog as its type system so you can hand-roll a custom, type system for each component which might include security properties.

Far as good design, web, and security-oriented, the best I've seen is Opa language for doing that plus being productive.

http://opalang.org/

Too bad they moved the backend to Node. Probably to latch onto an ecosystem getting momentum which is a lesson from Worse is Better philosophy. Most IT tech that didn't disappeared into history at some point. I'd have preferred it be Go if one of the new, popular things given its fast, simpler, and safe enough. Hell, if libraries aren't a concern, they can even output safe subset of C with all the checks enabled like Pieter Hintjens did with iMatix DSL's.
I agree, but simply telling user to download a better browser could be a pretty condescending attitude. Falling back to a css-less html 4 would be more responsible for everyone.
Ask HN: Which sites have the best permissions controls?
I'm curious which sites/tools have the best permissions controls. I am thinking more from a visual intuitive UI/UX perspective and less from a chmod/IAM power-user/developer-driven point of view.
Show HN: Bayesian networks as simple as a game
Exactly. I doubt most of the ChromeApps that exist today were made for ChromeOS. They were made because it was an easy and straight forward way of making a webapp on the desktop. Now, as OP mentions, everyone is moving to Electron and NWJS, neither of which works directly on ChromeOS.

The only upside I can see is that CrOS is soon going to support running Android Apps which may save it, but even then... Maybe they'll figure out a way to run Electron/NWJS apps on ChromeOS?
Related: https://www.curbed.com/2011/3/15/10477706/japan-benefits-fro...
Identical code folding is slick. It's the opposite of using macros, and is harder to fold code than to generate it.
"without a real slowdown"

Any operation, like 64-bit adds/muls/divs/etc would have to call emulation functions. It'll be orders of magnitude slower.
In what theory would that make even remote sense?

If there's no selective pressure for a will to emerge, a will will not emerge (barring some infinitely improbable random event).
I will concede that it's not time to panic, but it's a security bug and one that we know about. Let's continue to keep the bar high for successful exploits.
In some countries it is government-imposed, in the sense that national authorities exist in law, which will hoover up royalties before distributing them to creators and performers. This requires that any performance or distribution is recorded by (and paid to) such authority. At the moment, if an entity in the Italian market shows a French movie to Italian audiences, the Italian authority collects royalties before sending them to the registered owners of such rights; but what happens when a German entity shows the same film to Italian audiences? Does it pay Italian authorities or follow German rules?

That's the sticky point from a legal point of view, which needs European legislation and cooperation from all involved parties (investors, producers, distributors, streamers etc) to be resolved. Since the industry benefits from market segmentation though, they are dragging their feet. For example, it's usually better to sell the same film to a different distributor in each country, rather than a single one serving all markets - 28 smaller paydays will often tally up to levels that one single Euro-wide agreement is unlikely to reach; and some films will do well only in certain countries, so might be penalized at EU level.
> Who the fuck writes a fully costed business case on whether or not to spend a day setting up a CI server?

A lesson I learned the hard way is that if the business doesn't care then neither should you, It's just not worth fighting uphill battles like this. The only way to measure what a business cares about (distinct from what they say they care about) is by looking at what they're willing to spend money on.

If building software is annoying for you personally then you can automate much of it, maybe even setup a CI server on you're own machine.
It seems like since aggregators prices have gone up across the board.

There used to be the $19.99 best western in Mississippi but now you cant touch anything for under 50. Flipping through the BW directory was very enjoyable.

It was quite fun to grab that $14.99 holiday inn room " great rate" because i was an 800 number expert.

We still go to a dinky place in Maine off the grid ($39 off season with dogs/$89 in).. I hope they never sell.
I suppose I should have asked "what does polyfill mean in this context?" Does that term really alias "run [it] on" or is there something more subtle about this term's meaning?
> I forget HN is USA car culture with no public transit until hyperloops magically happen!

> Do you Americans eat your own weight in food every 168 hours?

Please just don't. Building upon and reinforcing stereotypes doesn't add to the discussion. Regardless of what you're responding to, do better than this. Some people don't have access to good public transportation: that's just a fact. Sharing how you approach life is great. Doing so in a way that bashes a group of people—regardless of what group it is—isn't helpful or make your statements amenable to reasoned consideration. HN is a community you choose to participate in. Are you accurately described by the statements you attribute to the HN community?
Also 80% capacity seems still quite useful for many other applications like grid storage. It's really only an issue when weight and space are at a premium. There will probably emerge a robust secondary market for used EV cells.
You're More Likely to Be a Disruptor If You Got Lower Grades in School: Study
It's not entirely clear how to interpret that; can you provide a summary?
American attitudes to cycling are about 20 years behind the times. Cycling is a completely practical mode of transport for everyday journeys, even in low-density suburbs and moderately rural areas.

Yes, you can fit all your shopping on a bicycle. You can even take your kids to school on one.

https://www.bakfiets.nl/
https://yubabikes.com/

Yes, your partner with a back injury can ride a bicycle. So can someone with coordination or balance problems, missing limbs or any number of other impairments.

http://hasebikes.com/91-1-Recumbent-Bike-KETTWIESEL-ALLROUND...
http://hasebikes.com/104-1-Special-Needs-Trike-Handbike.html

Yes, you can ride 20 miles to dinner without working up a sweat and you can do it in much less than 2 hours.

https://www.youtube.com/watch?v=wBjMEuViuPU

If there were the political will to make it happen, American cities could look like this:

https://www.youtube.com/watch?v=n-AbPav5E5M
Good demographics can help allocate proper resources. For instance the types of health services needed for a metropolitan area will differ wildly from a mining town.
Actually, every new condo complex in the East Bay seems to feature a half dozen of these.
Interesting, I would describe it as an SQL client with an easy interface to load column based files. It's built on top of SQLite, which gives an indication of the kind of performance one can expect.
Were you around in the 90s when people actually did try to use the JVM for this?

Do you remember the part where everyone started using JavaScript instead because of all the deficiencies of Java Applets? (Slow to load, resource intensive, no interaction with the surrounding page)
>"SSDs have even more unique access patterns - they give you (relatively) fast seek times,

SSDs don't have seek times at all as there is no actuator arm and read/write head to "seek" into place in order to read/write data.
I certainly didn't "expect" (nor ever authorize) my browser to maintain open SSL connections to servers in googleplex sending them God knows what.

Does that mean Chrome is malware, too?
I mean in the sense of high-performance applications. I'm sure it's fast enough for average. Since other commenter mentioned SIMD, I'm going straight to examples to see what the speed is like. Good test cases would include a key-value store, web server of at least lighttpd complexity, game like Quake (esp interested in fps), top Prolog vs imperative engines for parsing/NLP, MP3 player, and so on. Stuff that taxes even imperative programs for speed. I'd love to see Prolog do those with similar speed (esp no pauses on real-time).

Either of you have examples of such things?

EDIT: And what's the story on concurrency in terms of safety and scaling?
No answer. I wrote to Hayan Zhang <haiyan@gmail.com> btw.
We were talking about cars with 200km-300km of actual range... the whole point of the discussion is that newer electric cars have significantly improved range compared to the previous generation.
Incredibly interested in the answer to that question as well. Go will not have a future in regards to web development if they don't find a solution for the GC issue in wasm. I assume (and hope) that's a bigger topic compiler-team internally as well currently.
If that's the sole charging method, then a faster battery degradation is expected. Note that fast charging adds quite a lot of heat. Worst case is starting with a low charge, fast charging, going to a highway, fast charging at the destination. I've only done it once while traveling so I don't think the battery even cared – I still have full bars on a 1.5 year old leaf.

Note that the Leaf's battery is not actively cooled (it does have heaters for extreme cold). So it could be the case that people living in colder climates could get away with it with little degradation.

Still, you should keep quickcharging to 80%.
I always liked wxWidgets for that, and other people MFC, but where wxWidgets failed for me was a simple text area editor, which underneath was sending messages to the Windows Control, and in order to retrieve the current line, it had to scan through the whole text buffer over and over... "Leaky abstraction"...

I also was "worried" (more than need to) - how people with disabilities, or special devices (non-standard pointer devices, like artists) would use Qt, as I thought there is no native support.

And yet, I was mistaken. Windows (and other systems) expose an "assistive" layer where you can explain to the underlying windowing system what is each thing that you draw, the text, etc. And Qt solved it.

Once we moved from MFC -> Qt, and removed other uses of wxWidgets, non-ui programmers started adding bits and pieces much easier in Qt (I'm not claiming Qt superiority), because all it took sometimes was to subclass, and repaint something, add button or two and create new control. With MFC that was hard, and with wxWidgets kind of tricky (solutions always ended up being "Windows" specific, not that we cared about Linux/OSX back then).

So that's why I love flutter, and it reminds of Unreal's internal UI used by it's editor.

At work I'm still struggling with GWT, XML ui binder files, and trying to componentize modules. With flutter, Qt, and I guess Unreal's UI it's much easier. Or with JUCE for that matter...

So I'm no longer against "custom" drawn UIs, as long as they expose their contents properly to the OS (and if this matters really).

Sorry for the long rant...

Oh, and I mentioned it someplace else - I love how IntelliJ uses Swing - it's much better from Eclipse (which is trying the exact opposite with it's own platform-"wrapping" ui-kit)... And just 10+ years ago I thought the opposite.
Can I live in your world where you can just tell customers to go away.
Add to that list:

- unblockable advertising

- stronger DRM

- Bitcoin mining that regular user can't detect

- etc..

It will be good and bad, but, more bad than good.

We could choose not to run .exe .bat and the rest

So far, webassbly doesn't look optional.
Could something similar be done with other languages as well, say Simplified Chinese?
Meet the Robot That's Sucking Up Lionfish
I don't, I live in an apartment complex in the suburbs. But charging at home, nor office is really an option for me.
I've been learning Japanese for a bit over a year now, and while I am still very far away from being happy with my level in the language, I definitely noticed a distinct shift for the better in my understanding of the language and how fast I picked up new grammatical constructs etc when I stopped trying to contrast it to the western languages I already knew.

You have to accept that Japanese grammar might have some basic concepts in common with the grammar of western languages (verbs, objects, adjectives, etc) but that really doesn't get you far.

(for japanese learners reading this comment, the article that pushed the first domino for me was this one:
http://www.guidetojapanese.org/blog/2007/09/03/repeat-after-... )

Regarding your question about programming, I'd encourage you to read both The Little Schemer and Structure and Interpretation of Computer Programs.
Mark Ferrari – 8 Bit and '8 Bitish' Graphics [video]
...but what about a fourth gender? Or a fifth?
That's something else!

And yet I'm not surprised; all sorts of things turn out to have valuable niche uses despite being superseded in the mainstream. Now I'm wondering if the future might hold robot-driven sailing ships (wind and solar are renewable, and ocean shipping isn't exactly about speed) -- and I'm certainly not betting on internal-combustion engines going away for good.
or like the spinning tunnel effect, where the walls are spinning around you and you have difficulty walking straight because your brain thinks you're falling over

https://en.wikipedia.org/wiki/Spinning_tunnel
OK, but that still doesn't explain why it's a "spectacularly bad idea" for police/DA to not bother prosecuting in cases like this. What exactly are they supposed to do when they don't have a cooperative victim? Why is it not-stupid for the victim to avoid the costs of an adversarial court case, but it's stupid for the DA to avoid a case that he or she is guaranteed to lose?
How to Self-Publish a Book
It is generally accepted, but I'm not convinced that it is true. I suspect that most cars get replaced well before the engine's ultimate fairly.

In my own (anecdotal) experience, they burn a little oil at 200k, but have plenty of life left in them.
Don't be surprise, people consider electron "native" today.
> Tectonic has been forked from the old-fashioned WEB2C implementation of TeX

TeX was written in WEB which was a literate programming version of pascal (with, I believe, some c-like pre-processor support). WEB2C is a pascal-to-C transpiler. a pascal-to-rust transpolar would be interesting.
I have never owned a smart phone. I have a cheap throw away phone and I love it. I use phones for voice and rarely text. My battery sometimes lasts up to two weeks.

This isn't some rebellion against tech. I helped build the first GSM network in the United States long ago. I think that helped me dislike cell phones (in general) and distrust providers.
On something like the P100, 80% still sounds like a pretty good car.
Ugh, so much hate... It is okay to criticize the company and its products (nobody is perfect). But calling yandex data analysis school (I assume that is what you mean by "classes in universities") a "scam" is just disingenuous.

It is not a scam, it is basically a charity. First, it is free, no strings attached. You are even under no obligation to work for them afterwards (not even a moral one). The only price the students pay is that yandex becomes kind of an obvious place for internship, so many of the students apply (only then will they learn how to work with the "yandex tech stack", but that's the point of internship, no?) Allowing students to work with the yandex tech stack would be a hassle anyway - students would need to get access to the intranet, sign the nda etc... So these evil scammers teach them fundamental CS and machine learning concepts instead.

I guess the rest of the comment is similarly disingenuous and inaccurate.
LXD 2.14 has been released
Are you saying that granting limited sudo access to only specific programs is rare? That's the standard way to do it in every large enterprise, you just don't grant sudo all.

Only in the cloud space is the "sudo all nopasswd" a thing (ubuntu user on AWS).
True, I think. The approach used on the Mass Turnpike seems pretty good.
This should be added to the Racket tutorial
Any scheme where you have to remember what you owe is dumb. Send a bill in the mail and have it due in 30 days like anything else.
We'd probably be a lot further along if we all considered greasy hidden behaviors just as bad as greasy hidden behaviors written by those who don't pay taxes.
In the days of the Slant-6, cars never got to 300k miles unless they had ridiculously meticulous maintenance. Detroit cars were lucky to get to 100k without falling apart. These days, cars are barely broken-in at that age, and 200k is nothing remarkable. If you're not getting that kind of lifetime, then you need to stop buying a crappy brand.
A better compressed bitset
I paid $349 for my Nexus 5, $399 for my Nexus 5X; the cheapest price for the Pixel is $649. It's not double the price, but it's a 60-85%+ increase at the bottom end depending where you count from. I felt like $399 for the 5X was the wrong direction already.
Probably the biggest cause of security bugs in Java applets is the fact that the applet execution environment is a full JRE, with all the APIs involved in desktop JRE instances available, with "insecure" ones being locked down on an as-needed basis. So if a developer forgot to insert a security check in the JVM, the applet becomes able to subvert its sandbox. The browser VMs don't have these APIs available in the first place, so getting undesirable access to things like the filesystem is much more difficult than "spot the API with the missing check."
Oh, my bad, I did the math wrong for the oil changes.
I disagree. I think the concept of mathematics as a deciding factor of how well one would do in CS is based on the perception mathematics professors have on it. If you remove the requirement for lots of math for a CS degree then those professors lose out of classes to teach, diluting their necessity. Less classes mean less revenue for the schools. I think math and CS are entangled because of history, and protecting the status quo. Sure it's useful but that doesn't necessarily mean it must be mandatory. To lessen math in CS would mean too many entities lose out, so they have a vested interest in keeping things just the way they are.
Would you too like a better voice memo app? Please share what you think
How did the proton, photon and other particles get their names?
Sure, but perhaps good demographics should come from what has historically happened rather than poorly defined categories?

For instance, wouldn't the number of teen pregnancies in a given area over the past 10 years be much more useful in determining how much resources to allocate to reproductive health than knowing how many biologically female teenagers there are in that area?
The difference is vs the '00's is the big sites have 1) scale (= operating leverage and the best deals with hotel chains and better SEO), 2) years' of data and testing (which leads to higher conversion and an ability to pay more for inorganic traffic than newcomers), and 3) organic traffic (which subsidizes inorganic traffic).

HotelTonight fills a niche but I think the market they play in is pretty small.
No, it just means that I have crew for jobs like these that knows their stuff.

500K lines is 'small' by our standards and if we are not moving within two weeks that translates into one very unhappy customer. That's something a typical team of 5 to 10 people has produced in a few years.

Note that I wrote 'incremental' and 'starting'. That doesn't mean the job is finished at that point in time. But we should have a very solid grasp of the situation, which parts are bleeding the hardest and what needs to be done to begin to plug those holes. That the whole thing in the end can become a multi-year project is obvious, we're not miracle workers, merely hard workers.

In a way the size of the codebase is not even relevant. What is most important is that you get the whole team and the management aligned behind a single purpose and then to follow through on that. Those first couple of weeks are crucial, they are tremendously hard work even for a seasoned team that has worked together on jobs like these several multiple times.

The one case I wrote about here was roughly that size (so small by my standards), within 30 days the situation was under control. We're now two years later and they are still working on the project but what was done in that short period is the foundation they are still using today.

If a project is much larger than that then obviously it will take more time. Just the discovery process can take a few weeks to months, but in that case I would recommend to split the project up into several smaller ones that can be operated on independently with 'frozen interfaces' where-ever they can be found.

That way you can parallelize a good part of the effort without stepping on each others toes all the time.

The problem is not that you can't tackle big IT projects well. The problem is that big IT projects translate into big budgets and that in turn attracts all kinds of overhead that does not contribute to the end result.

If you strip away that overhead you can do a lot with a (relatively) small crew.

If you're going to tackle a code base in excess of something 10 M loc in this way you will again run into all kinds of roadblocks. For those situations it would likely pay off to spend a few months on the plan of attack alone.

If a project that large came my way I would refuse, it would tie us down for way too long.

But that's out of scope for the article afaic, we're talking about medium to large project, say 50 manyears worth of original work that has become unmaintainable for some reason or other (mass walk-out, technical debt out of control or something to that effect).

If those are 'very very small projects' by your standards than so be it.
Not really relevant. The main bug being discussed is a text parsing bug related to syntax, not memory access errors or the like. Rust seems cool and all but it isn't immune to logical errors.
I would think you can sell a copy of the software but if it somehow doesn't work on the buyer's computer, that's too bad. Surely the law won't require software vendors to provide ongoing support to all future owners. Maybe you'd have to sell your whole computer and software together for it to keep working.

Like if you buy an iPad with your name engraved on it, then when you sell it, the buyer will be stuck with your name still on it - Apple isn't obliged to re-engrave it with the new owner's name.