News for hackers. Stuff that matters.

tycho01

Re:Capsule Networks Explained on Saturday November 11, 2017 @04:07PM (#15678206)
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.
Re:Introduction to web scraping with Python on Wednesday October 25, 2017 @01:17PM (#15551982)
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.
Re:Introduction to web scraping with Python on Wednesday October 25, 2017 @07:10AM (#15549091)
> 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.

Re:Hacker News Clone Using GraphQL and React on Monday October 02, 2017 @08:54AM (#15383397)
This seems like a great candidate to add to HNPWA. :)
Re:Cloudflare Workers: Run JavaScript Service Workers at the Edge on Saturday September 30, 2017 @03:53AM (#15371794)
Could this be generalized to work across frameworks with e.g. https://github.com/prerender/prerender?
Re:Basic Income Research Proposal on Sunday September 24, 2017 @01:32AM (#15323473)
So... would there be still risks in giving basic income to females?

New graph db helps PRC gov identify dissidents

So, the new [TigerGraph](http://www.tigergraph.com/) contains a demo (behind signup wall) called Social Graph, 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...

( Read More... | no comments | on HN )
Re:The First Native Parallel Graph on Friday September 22, 2017 @01:47PM (#15314203)
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.

Note, Here Maps doesn't seem Asia proof yet, just seems to use English everywhere.
Re:KSQL: Open Source Streaming SQL for Apache Kafka on Tuesday August 29, 2017 @11:11PM (#15129461)
Now I'm wondering if something like Mondrian could help stream MDX queries over this...
Re:Vue.js vs. React on Sunday August 20, 2017 @11:57AM (#15058926)
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.
Re:AlphaBay, the Largest Online 'Dark Market,' Shut Down on Thursday July 20, 2017 @03:52PM (#14815722)
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?
Re:Programming won't be automated, or it already has been on Tuesday July 11, 2017 @10:35AM (#14744486)
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.
Re:Why We Chose Typescript on Monday July 03, 2017 @05:20AM (#14686954)
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.

Re:Why We Chose Typescript on Monday July 03, 2017 @05:09AM (#14686913)
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.
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.

Re:Net neutrality is in jeopardy again on Monday May 08, 2017 @10:30AM (#14291749)
I'm curious: to what extent could a US ruling on this affect the rest of the world?
Re:Quickstep – High performance open source SQL engine on Friday April 07, 2017 @02:45PM (#14062425)
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?

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.
I was curious, what's different about the community edition? It didn't really tell on the pricing page.
This compiler sounds similar to me as the Ahead-of-Time (AoT) compiler currently shipped in Angular 2.
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?

Re:MITIE: MIT Information Extraction on Friday August 28, 2015 @12:12AM (#10133702)
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?
Re:Eve Version 0 on Wednesday August 19, 2015 @01:00AM (#10083752)
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.
Re:Eve Version 0 on Wednesday August 19, 2015 @12:52AM (#10083737)
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...

Older »