skysight-inc/HackerNews huggingface dataset:
To be clear - Cassandra is great for time series but it's not a "time series database" - it just solves all of the same problems (and then some), because it gives you natural replication, real HA, cross-wan, let's you cluster/order data on disk using big table like sorting, and scales over a thousand nodes per cluster.

For sensor data collection, it's very hard to beat. Lay something like spark or filodb on top for more flexibility and it's virtually unmatched.
Coal probably does poison our food with mercury and other heavy metals :(
I've made a Windows GUI for a powerful command line open source application that was for Linux. It makes a few thousands dollars a month. It did take many years of part time programming along with user feedback to get to that stage though.

Desktop and Windows might seem like a dying market but that's what people use at work and those are the people who can pay for things.
Especially for anything templated or inlined.

Seriously, I'm getting sick of these Rust/Go/Hype is better than $competitor because $edgecase. Yes, but what if I want to do sparse matrix manipulation? What if I want to interact with hardware, and set registers? What if I want to use the library Bob wrote back in 2001, because it is really well tested and we've never encountered a bug since 2003?
They literally hire people to shove riders into cars. That has to slow down boarding, which becomes a vicious cycle after you already needed more throughput than you have.
it is a constant battle against block caps for every title, every product name and every banner

I know how this feels. Designing for people with big goals and limited design intuition generally means battling the implicit, repeated guidance that EVERYTHING IS MORE IMPORTANT THAN EVERYTHING ELSE.
Yeah I heard it sucked. I did like Cloud Atlas. But The Matrix was inspired by Ghost in the Shell so I have huge hope that they couldn't kill Ghost in the Shell like this current director did.
Yeah, that was atrocious. A major letdown after being a huge Matrix fan.
Interview with Craig Newmark
Who needs a fairy godmother if you have Amazon Prime Now? ;)

(only sorta kidding..)
Ask HN: What do you think about mounting a file system over a WebSocket?
Interesting idea. Use Websocket to mount a remote file system. The system must be running some daemon.

But what does it mean to "mount" a filesystem to a webpage?

Does the webpage have access to those files?
Yes.

But then what's the difference of running a HTTP server?

Hmm....Commands over websocket, programmatic access via script, authentication inline.

I like the idea...it seems interesting.

What do you think? Would this be useful or interesting to you?

Some possibly related prior art:

- https://www.npmjs.com/package/websocket-stream

- http://lukas.pokorny.eu/sftp-over-websockets/

Background:

I just used SCP for the first time to copy a file between two SSH sessions happening in browser windows, and I made the above note to myself. I didn't know more about it so I thought I'd ask here and see if anyone has any useful thoughts.
little clarification: I'm not talking about street signs in general or tastefully done holograms. It's about those building-sized holograms, mostly in daylight scenes, that looks so unnecessary. (article's "solograms" part has shots very carefully selected and they look fine)
> Germany they were replaced by renewables

This is unfortunately inaccurate (http://www.euractiv.com/section/health-consumers/news/report...), and Germany is one of the country where coal is the deadliest in Europe, thanks to anti-nuclear campaign from the green party.
"unless that language has explicit restrictions prohibiting such an optimization"
It is indeed true that C++ is not able to easily express aliasing. It is extremely cumbersome and error prone to properly specify the aliasing rules when using pointers (especially when you start using char* and void*). So either you force the programmers to place a lot of `restrict` everywhere (expect 1/100 programmer is able to understand/do this properly), or you just fallback to not optimize these cases to their maximum (safe), or allow the compiler to aggressively try to guess the aliasing by itself (and enjoy mind crushing debug sessions later on).
The visuals of this film is stunning. It's probably justified to watch the movie just for the visuals.
At this point aren't you still hard coding commands, but using "links" rather than URLs? And doesn't the dependency on every link in the chain outweigh one - easily maintained - URL?
They really are adding renewable production at quite an aggressive pace: https://www.cleanenergywire.org/factsheets/germanys-energy-c...

Myself I'd prefer they would use that extra production to phase out coal first before shutting down their NPPs.
That can be mitigated in the US because the entire country doesn't run along a fault line. Not so Japan. Yes, don't build your nuclear reactor in western California.
An alternative is to just ditch these complicated documentation formats altogether. Put down your pitchforks, I'll explain.

The author of REST, Roy Fielding stated that only the entry URL and media type should be necessary to know in advance. Swagger would be considered out-of-band information, if it's necessary to have this documentation beforehand then it doesn't follow this constraint. Interactions must be driven by hypermedia, an idea which has a very unmarketable acronym.

The alternative that is suggested is to document media types, not APIs. If HTML were not a standard and every web page had to define its own technical specifications, the web wouldn't have taken off, because it wouldn't have been interoperable. Interoperability is key, it reduces friction from transitioning between web pages on different servers. How HTTP APIs are built today is wasteful, there are vendor-specific tooling costs up front and it doesn't scale.
Yes they could equally say increased use of solar results in increased birth weights.

Really the take away here is simply "coal is bad" - there's correlation between coal plants and lowered birth weights.

Anything that supplants coal (nuclear, solar, wind, hydro, tidal, etc) will result in increased birth weights. Replacing them with coal will result in lowered birth weights.

It's a bit weird their pushing nuclear this way right now, didn't Westinghouse just go belly up?
I don't know if you're aware of the SOAP vs REST debate 10 years ago or Web Services vs CORBA before that. Client generation, or any code generation at all, was seen as a big no-no in the REST camp, so I find it ironic that today this is used as Swagger et. al.'s saving grace. What I frequently see is that inherently action-oriented protocols are crammed into resource-oriented REST facades, only without any formal interface descriptions at all, and without formal transactional or authorization semantics. OTOH, JSON REST services can't be used without browser-side glue code at all so the Web mismatch argument isn't working either. Makes you really wonder if there is any rationality or progress in middleware usage at all.
The "Let's have some fun", part comes across as slightly condescending to me. Perhaps I'm way too cynical, but my first reaction was that this is a fairly novel way to grow Twitter followers and promote an agenda.
Great suggestion.

It's easy to forget the problems non-tech small businesses face when you spend your days on HN. As someone who works at a company that deals with these small businesses I see it everyday. For many of them providing simple solutions that let's them move from pen-and-paper-based solutions to databases and small applications simply feels like the kind of magic we take for granted around here.
We used to have languages, like fortran, that were incredibly explicit, and people didn't like that either :)

" or you just fallback to not optimize these cases to their maximum (safe), "

No, you fallback to runtime aliasing checks if it's important enough.

If something can later prove they alias or not, it eliminates the conditional.
Computer job salaries from Google Spreadsheet
It's not just about the compiler being smart. There is nothing more you can do with x -> 2 + x other than compile it as is. Now if I somehow prove that x will never be greater than 10 then all of a sudden the compiler can in theory just turn that addition into a lookup table or do all sorts of other things I couldn't think of.

So it's more than just sufficient cleverness. It is also about the language providing you the tools to express certain invariants that the compiler can mechanically verify and then use in an optimization pipeline.

Edit: This is mostly out of context now and can be ignored.
Do you sell it through the Microsoft Store or somewhere else?
> a "const" value can be modified through other mutable references, so copies induced by pass-by-value could change program behavior.

This doesn't mean the compiler can't make this optimization. Unless we are talking about multiple threads here (which we aren't), there is no other code that is executing that can change what this const reference is pointing to. If we are talking about threads, then data races like this are UB in C++, and the compiler can do anything it wants, including emitting nonsense code.
"Whether it's practical to develop a smart-enough compiler in a reasonable amount of time is probably the real issue.
"
These issues have been solved pretty much forever (in terms of what is possible) at the compiler level.
You just select your engineering tradeoff.

There is no more magic in this area :)
We can scale the algorithms better than we used to, but the precision tradeoffs, completely fixed at this point.

In any case, most of the languages have to be able to express these properties in a more generic way (or else have a rust-specific IR/compiler, which has it's own issues), and if they can do that, you can usually make the other language express the same thing.

This is, in fact, one of the ways things get standardized.
People build an extension, formalize it later.
... or indeed brick your laptop (as happened to me once with an HP).
Material Components for the web
And soundtrack is actually big part of both original gits movies. Not sure why its' absence is not really noticed.
I doubt that mobile screens will get bigger. The resolution will increase, but that just means that the few over-designed details that are shown will be crisper.
J.P. Morgan Set to Run First Apps in Public Cloud
Bitcoin mining is also controlled by a small number of people. Over 50% of the blocks hashed over the last 4 days are from the same 5 pools. [1]

The difficulty mechanism has been an abject failure and utterly destroyed bitcoin's promise of decentralization. Under that mechanism, commodity mining hardware automatically defeats itself.

We now have a small number of big players who've built custom, super-secret hardware that can't be distributed or discussed or their investment will be immediately destroyed, and normal people are unable to contribute in any meaningful way (not even with GPUs anymore).

[1] https://blockchain.info/pools?timespan=4days
... http://phaxio.com has been offering an API for faxes for years now.
Easy is subjective, simple is objective. You probably meant easy ;)
What data does it transmit and is it opt-in?
I agree, but would like to add that there is a caveat to 'designers should code' that is not letting a programming language or framework dictate design through its limitations or structure.

I am a designer who codes, in fact my background is UX and my job is as a developer. It's easy to think about implementation during design, for example, designing a web-app and knowing it will be implemented in Angular leads to thinking about how Angular will implement it, leading generally to modals everywhere, just everywhere. If I knew nothing about the technical implementation I wonder if it would be a smoother design process, possibly better results. But then I see so much poor design everywhere that I can never be sure if something was designed by a coder who knows little about design or a designer who knows nothing about implementation.
>Another analogy I use is complaining about the human body. Like "who designed this thing there there trachea and esophagus are so close together?!? What an idiot!!!" Or "why are all these people mentally ill and otherwise non-functional members of society? Who designed this crap?"

Okay, so what's wrong with discussing the limitations of the human body and the ways to improve it then?

Yes, the web evolved instead of being designed (however much that distinction makes sense), but arrived at a shi^H^H^H suboptimal result. And it arrived there through deliberate design decisions of people - who unfortunately were designing a different system in the first place.

It's like English. I love English, but it's a bloody mess that we're all stuck with now - except that changing a computer system is comparatively easy to changing the direction of a language.
A bit. It's an improvement, but if you're writing Kotlin on the backend then Kotlin/JS starts to look tempting on the basis that it's the same language everywhere.

Although using the same language in different environments obviously feels a bit different.
Basically in any reasonably capable enemy airspace, you need to fly with emissions control - ie. no radio, no radar else passive detection systems will find, triangulate and guide a SAM on you.

If you're doing drones, this means programming fully autonomous AI to identify and kill targets - which no one quite wants to do just now. For the same reason, "swarms" are tricky since you need radio coordination. Drones have proven useful against significantly less technologically capable adverseries but don't forget the drone captured by Iran by what appears to be control signal spoofing
What is an example of a well done API that functions the way you describe?
Judge Finds Gmail Privacy Settlement Inadequate
I disagree that there is no magic left in compiler construction. It's still an active area of research with many papers published every year.
> If coal plants had the same radiation rules as nuclear plants, they couldn't run.

I think you mean if nuclear plants had the same radiation output as coal plants, they would be required to shut down.

Edit: thanks for the downvotes, I realise now that I'm basically stating the same thing as OP.

Quite the double standard that coal plants are allowed to spew so much radiation when all other forms of power generation are held to a higher standard.
He could at least have gone for the "It was for security purposes to ensure that no-one could intercept your return and get into your garage"

Amateur
You can also stop driving if you support the environment and stop buying phones if you care about child slavery and stop using electricity if you don't want nuclear wastes.

Personally I stopped eating meat, and just this is quite a cost in additional constraints in your life, because society is designed in a way and doing something different requires extra efforts.

Yes, boycotting something you don't want is a good move, but if you apply it to all things you want to protest against you will no longer be part of society.

So you can't only rely on that. It can't be the only answer. We need to take stand to also refuse those bad moves, especially before they happen.
Not being able to express your idea without intense backlash is a pretty strong signal you might be wrong.

Of course, there are many exceptions to this in history.
I have a cousin who participates in this willing cognitive bias (really crazy ideas like flat Earth theory). Of course he only cherry picks from the unfounded conspiracy bucket that suits his chosen political view and what he wants to be true. Nothing rooted in any evidence review or similar approach.
Release a nonblocking async C++ client library for NSQ: evnsq
Possible genders surveyed from computer professionals
I have a question for you, same question I ask myself for every project. You are describing a system/solution. Can you define the problem that you want to solve?
It's not a nitpick at all. Without legalization there is no tax money from sales of recreational drugs, and the black market still exists to collect that profit instead. Decriminalization also does not fix problems like contamination of drugs, mislabeling, or inconsistent dosage, whereas legalization would.

Decriminalization is better than nothing but actually misses out on most of the benefits.
> There is nothing more you can do with x -> 2 + x other than compile it as is.

You can often inline it. Now that may or not yield improvements in speed, but more to the point: It's quite possible that it's used in a context where x is bounded sensibly, and you can optimize further from there.
The coding strategy for not using uninitialized memory in C is to initialize it before you use it ;)

And I'm fairly cretin that all the major compilers have a check and warning for it in various forms.

If you make a global simple type it is initialized to zero.

If you use calloc it initializes to what ever digit you want (ie) 0.

If you use malloc etc then you set it with memset.

if you use automatic variables you set them on creation, int i = 0;

If you make an automatic aggregate type you set it like so, struct bob = {0};

and so on.

if you want to make sure your pointer is not uninitialized you set them to NULL on creation and set them to NULL on un-assignment or free. And then always test them for NULL.

All of that is very beginner to intermediate level knowledge and anyone who is going to use something like CERT is expected to know all the basics.

There are valid reasons why you can claim that C memory management is unsafe or not as safe as other languages but its not related to initialization.
FYI Holocaust revisionists make similar arguments.
Fukushima has demonstrated that relying on 60's technology and refusing to upgrade or invest because of political sensitivities exposes you to disasters 50 years down the line.

It's like if everyone got afraid of airplanes in the 1980's and kept flying the same ones from the 60s through today because people were afraid to build new ones. Would you say air travel was unsafe, or that we made poor technology investments?
Travel to Gawadar for Explore CPEC Opportunity – Dilkash Pakistan
And I have tickets to COTA !
This is not really about what UX will be in 5 years, it is how it is right now!
> It's not just about the compiler being smart. There is nothing more you can do with x -> 2 + x other than compile it as is.

> It is also about the language providing you the tools to express certain invariants that the compiler can use.

Compiled code is useless if it is never called. The moment it's called, whether the caller is known during compilation or not, the caller can pass down any additional information it has, whether for that call or to help the callee optimize future calls. Heck, if it really wants to, the compiler could simply let the "compiled" code be the AST or source code itself (plus a JITter), and make the program generate code on the fly when the caller calls it, optimized using whatever information the caller is willing to provide. Again, nothing fundamentally in a language preventing this. It a tradeoff between implementation difficulty, execution latency, program size, and the like.
I'm no expert on Chernobyl or power generation. But I think Chernobyl was the result of under-investment and poor management, whereas many of the deaths from coal are an unavoidable consequence of burning coal. Hence, you can say nuclear is safer as long as it's managed well.
> The default install includes a subscription that is maintained (and signed!) by the project maintainers.

This sounds like a legal risk the maintainers need to be careful with.
If you're looking for a good ORM with migrations in python, I highly recommend SQLAlchemy and Alembic, with the web app in Flask (although you could use any web framework, which is a nice benefit of using smaller components like this). There's a bit more boilerplate to get it set up the first time vs Django, but it's not bad and there are good resources for it. SQLalchemy is an amazing ORM, and the flexibility of being able to write and organize your code with this stack in ways that work well for your problem vs being stuck doing it the "Big MVC Framework Way" in Django is really nice.
"One in a million is next Tuesday" from Larry Osterman is another great reflection on this from the software perspective. [1]

[1] https://blogs.msdn.microsoft.com/larryosterman/2004/03/30/on...
Kind of funny how money on my screen are just digits, I could just open up the console and edit the amount displayed but you know... it's not real haha. I'm still poor as hell.
Freelance === passive income, kaboooom
The whole rational behind abandoning the web is a scarecrow. Like saying rich companies are going to abandon a market if we don't do them a favor.

As long as there is a market, they will come.

The web is too big of a pie to let it go.

But even if they decided to go, it wouldn't be a bad thing. Proprietary things on proprietary platforms, and less people trying to destroy the open platform. I'm all for that.
Spending a few minutes a day reading "Filthy Rich Clients" would already help.

Sun is the one to blame, as traditional UNIX company their Swing team just didn't had any clue about the desktop world, outside enterprise walls.

Oracle is actually doing much more than Sun ever did, they introduced a way to package applications with Java 8, originally part of the JavaFX project, and are adding support for AOT compilation (it was tabu at Sun) and application specific runtimes.
I work in respiratory therapy. Would like real-time ventilator telemetry data: volume, flow, pressure, SpO2. Alarms. Setting changes to medical devices (ventilator specifically). Condition requiring ventilation (ARDS, COPD,
premature birth, etc.) Clinical assessment of patient outcome.
That appears to be an objectionable decision in and of itself, if I understand the argument of the person you've replied to.
I love new languages (unlike a lot of HN, I'm excited about Rust AND Go), but please remember that C/C++ compilers have been around, sometimes for more than 30 years. Do not think new compilers will just waltz in and suddenly topple all this previous work - That will be a long march.
Yes, the horrible life of the persecuted right wing racists. We MUST let them spew any racist garbage they wish at all times on any platform, otherwise they will throw a hissy fit and vote for Trump again. It's very important we let ourselves be held hostage to that idea. We need to constantly consider the feelings of the persecuted few outspoken racist conservatives. Can you imagine their plight and how bad they have it? They only control every branch of the united states government. Well, they don't control the judicial branch... yet.
At which point you are hoping the black box known as the compiler is "sufficiently smart". It's nice to hope but not in the context of compilers.
I guess you could focus on building a side project that doesn't need front end skills. Your aim is to get a bit of satisfaction and money and prove you can do something like this, right? Building something simple you can start on right now, starting from where you are right now.

Two ideas:

You could build some kind of email integration, or something delivered over, or using, email. The email processing itself would be mostly backend stuff, you could template the emails with Django or even Python triple quote strings.

Or you could build an API of some sort. The only front end really needed for an API company ( such as Stripe or whatever ), is documentation. You can write your docs on one of those doc hosting platforms ( readthedocs might be one? I don't know much about it now ).

For your side project, it's probably important to pick some things you like and start doing them, rather than trying to make certain up front which things are going to make money.