Better HN
topnewbestaskshowjobs
Log inSign up

tycho01

19 karma · joined Jan 8, 2015 (11y ago) · 37 submissions

Submissions

1.

Plant trees while navigating with one hand: DDG/Vim-like keybindings for Ecosia(twitter.com ↗)

1 points · by tycho01 · 7y ago · discuss

2.

Alibaba Open-Sources Mars to Complement NumPy(medium.com ↗)

3 points · by tycho01 · 7y ago · discuss

comment 9y ago · link · parent

If the point is to easily reconstruct geometry, then mimicking humans should mean using 3D imagery (same object seen from two eyes) to get a better idea of its shape. Wonder if that might some day become part of best practice in computer vision too.

comment 9y ago · link · parent

It appears this is based on that cssselect library mentioned above, compiling CSS selectors to XPath. That is, performance should approximate XPath, while convenience should be higher.

comment 9y ago · link · parent

> If CSS selectors needed only a few enhancements to compete with XPath

You may want to try ParslePy, it combines CSS/XPath functionality, allowing you to declaratively specify the selector paths in a JSON file. I just made a PR to allow YAML over JSON, but not sure if Pip picked up on it yet.

comment 9y ago · link · parent

This seems like a great candidate to add to HNPWA. :)

comment 9y ago · link · parent

Could this be generalized to work across frameworks with e.g. https://github.com/prerender/prerender?

comment 9y ago · link · parent

So... would there be still risks in giving basic income to females?

9.

New graph db helps PRC gov identify dissidents

1 points · by tycho01 · 9y ago · discuss

comment 9y ago · link · parent

What I find interesting about their sample data sets is the Social Graph one, which uses a model of data that afaik only the Chinese government would have access to: tying everything to a person's identity including where they've slept and how they've traveled.

They then demonstrate a sample query on this dataset, called 'connection mining', identifying people who have enough data in common with a given person.

Now, although the Datanami article does not particularly state the Beijing government as making use of TigerGraph's services, it does mention his clients as including 2 Chinese state-owned companies, State Grid and China Mobile.

Given it's been established his clientele includes Chinese state-owned companies and no-one but the Chinese government has the data described in this 'Social Graph' data set though, let's say this may have been made for Beijing. Sounds like they might be using this query to track dissidents by association.

comment 9y ago · link · parent

Related story: https://www.datanami.com/2017/09/19/tigergraph-emerges-nativ...

12.

The First Native Parallel Graph(tigergraph.com ↗)

3 points · by tycho01 · 9y ago · 2 comments

comment 9y ago · link · parent

Note, Here Maps doesn't seem Asia proof yet, just seems to use English everywhere.

comment 9y ago · link · parent

Now I'm wondering if something like Mondrian could help stream MDX queries over this...

comment 9y ago · link · parent

Dunno if it's just me, but I read these Vue articles and all I see is a bunch of hypocrites with an identity crisis, criticizing React for fragmentation, Angular for having 'one Right Way'. So they're better than React for offering one Right Way, then they're better than Angular for offering fragmentation? I mean, jeez, pick one stance and stick with it.

comment 9y ago · link · parent

Take-away: if you're doing something illicit you'd better reconsider being dumb about passwords. Or would just user names / IPs have done them in?

comment 9y ago · link · parent

Idris language encourages type-driven development, and can make guesses about holes in your program based on the types. I expect (and hope) we'll be seeing more of that in programming in the future. It's not a silver bullet, but should definitely help.

comment 9y ago · link · parent

I tried typing functional programming library Ramda using TS, and got frustrated it still had some limitations (e.g. needing overload codegen in lieu of variadic support).

I tried finding what TS can do now, and figured out type-level tuple iteration, among a few others. The current roadblock seems to be getting function return types. Progress, for anyone interested: https://github.com/Microsoft/TypeScript/issues/16392

At this point I'm amazed how close we are to typing anything, despite having only 5 (!) type-level operators, with their respective warts.

comment 9y ago · link · parent

See this thread: https://esdiscuss.org/topic/es8-proposal-optional-static-typ... Note that things have moved a bit, and we're now only a few standing proposals away from being able to properly infer the challenging functions mentioned there.

comment 9y ago · link · parent

I'm reading the Idris book now, and one cool thing there is guessing bits of implementation based on the type declarations (there written before implementation).

I imagine in a visual environment, being able to make useful suggestions on potential ways to use/combine different nodes/types would help as well as an auto-complete for the user's intent.

I'm actually also a bit reminded here of MS Excel Power Query, which also offered a GUI for data transformation, see e.g. [this pic](https://blogs.office.com/wp-content/uploads/2015/07/6-update...).

I bring this up because I see you covered visualizing the steps, while they focused on showing the data (though after finishing a transformation the script could be generalized into a reusable function). I wonder if adding a dimension like that could be helpful for Luna as well.

If you target non-programmers, showing things as concrete as possible (e.g. their data transformed by whatever function they just pulled together) sounds like it might help make things even more accessible.

comment 9y ago · link · parent

I'm curious: to what extent could a US ruling on this affect the rest of the world?

comment 9y ago · link · parent

I'd be interested to ask, since this project identifies as distinguishing itself in terms of performance, would you have any benchmarks on how it fits in with some of its peers?

I saw it also supports both row-oriented and columnar modes. Does that mean this is meant both as a transactional and as an analytics-oriented database?

comment 9y ago · link · parent

Would be interested to see this as well. Looks like TPC-DS would a big benchmark in SQL, though apparently aimed toward transaction processing... maybe more relevant when they add update/delete then.

comment 9y ago · link · parent

I was curious, what's different about the community edition? It didn't really tell on the pricing page.

comment 9y ago · link · parent

This compiler sounds similar to me as the Ahead-of-Time (AoT) compiler currently shipped in Angular 2.

comment 10y ago · link · parent

I'm interpreting this as saying they want to use the same representation to use in memory (for querying) and for 'serialization' (sending the same thing over the wire). This begs the question why separate serialized representations ever became a thing in the first place.

My understanding is that serialization became a thing because in-memory representations tend to use pointers to shared data structures that may thus be referenced multiple times while being stored only once. This would not translate 1:1 to serialized representations (where memory offsets would no longer hold meaning) -- much less in any language-agnostic way.

So I have this suspicion that Apache Arrow would not support reusing duplicate data while storing it only once. Would anyone mind clarifying on this point?

comment 11y ago · link · parent

Uses BLAS but no mention of cuBLAS to speed things up? Does that mean the linear algebra wasn't big enough a component to merit optimizing on?

28.

Mesosphere Infinity: Bundling Spark, Akka, Cassandra and Kafka on DCOS(mesosphere.com ↗)

4 points · by tycho01 · 11y ago · discuss

comment 11y ago · link · parent

Yeah, it could be done using the ADODB interface on data in the workbook itself rather than from some actual DB. See this link for an example: http://stackoverflow.com/a/26678696/1502035 That being said, when I encountered someone doing this I was pretty surprised as well.

comment 11y ago · link · parent

Right, makes sense, I'll try and check out what's available then. :)

By writing to the model, you mean programmatically adding new measures or the like?

My interest is in programmatically querying models using DAX, though to this end I'd also look to look in the direction of Microsoft's DirectQuery mode in SQL Server which supposedly did DAX-to-SQL conversion.

If one could use such a conversion plus MDX to start querying models on an Apache Spark cluster through pivot table/chart interfaces...

12