HNHacker News
TopNewBestAskShowJobs

javitury

314 karma · joined May 26, 2016

submissionscomments
javitury··on A principled approach to GraphQL query cost analysis
That's also in my opinion the hardest part in the backend. In the frontend, the most difficult part has been to support dynamic fields at runtime. E.g. a webuser chooses which fields they want to see.

Sure, you can use the "include" directive in ".gql" files to subset the fields. But it's a pain to use, specially in nested queries.

javitury··on My New FreeBSD Laptop: Dell Latitude 7390
> the 'official' dell dock

Do you use Linux? One of the reasons why I chose a thinkpad is having a docking station that reliably works on linux. Any past experience with thinkpad docks? How do they compare?

javitury··on Average adult will spend 34 years of their life staring at screens
> Myopia is somewhat genetic

That conclusion is can't be supported from the above fact alone.

It could be a development disorder with a certain probability of occurrence given other non-genetic factors.

Perhaps some pre-industrial people didn't get enough sun time, because they spent too time at home reading. Others had physical eye damage from work activities, etc.

javitury··on Georgism
The goal is to make the tax system not to reduce incentives to increase skills, labor, or technology.

"George preferred taxing unimproved land value"

javitury··on British Society for Immunology open letter to Government on SARS-CoV-2 response
Scientific advice shouldn't be ambiguous.
javitury··on U.S. Identifies First Coronavirus Case Without Outbreak Ties
3% fatality rate with appropriate (if not the best available) medical attention and resources
javitury··on Is a Dataframe Just a Table? (2019) [pdf]
Agree, data.table is the perfect blend of table and dataframe syntaxis for scientists. It's also performant.
javitury··on The Long Buy
The host is down, here is the page on the Wayback Machine:

https://web.archive.org/web/20200203194541/https://avc.com/2...

javitury··on Archivists Are Trying to Make Sure LibGen Never Goes Down
Check it before you buy it. Years ago I bought a 1TB WD external drive. The usb interface was connected directly to the drive.
javitury··on Ask HN: What do you self-host?
I run a small sever with node-red. Right now I use it to scrap university websites looking for PhD paid scholarships.

Also, I use it to find flats when I need ro.

javitury··on A uBlock Origin update was rejected from the Chrome Web Store
> It'd be great if Firefox bundles a content blocker like uBlock Origin in its distributions

No thanks. Firefox is a great web browser platform. Instead, it should focus on improving web extension apis, allowing users to build their own extensions upon it.

javitury··on Levittown
Leaded gasoline was banned around the year 2000 in both the EU and Mexico. At that time, crime rates were dropping significantly in Europe, without elapsing 18-25 years.

Also, European countries have some of the lowest crime rates in the world. If the young of the 2000s were under its influence, the effect is not large(not larger than 1-2 homicides per 100K people).

I believe that drug abuse during the 80s and 90s was the culprit of high crime rates in Europe. People addicted to drugs(heroin, crack, cocaine, etc.) committed lots of crimes. In the late 90s and early 2000s, Europe managed to lower drug abuse and then crimes dropped. For Mexico, there is likely another explanation. Like drug trafficking for instance.

Having said this, I think leaded gasoline has adverse effects on public health. I believe it can create mental problems on people.

However, not everyone exposed to leaded gasoline will develop those problems. And among those affected, not all of them will become criminals only because of lead poisoning. Therefore, I don't think that the majority of criminals during the 90s were so because of leaded gasoline. I think that other factors were more important, like drug abuse.

javitury··on Levittown
Many european countries eliminated unleaded gasoline during the same time. And crime rates dropped much sooner.

I'd say unleaded gasoline is not the most important factor. For Europe, I think it was drug use.

javitury··on Payment gateways for startups: a guide for founders
Here in Spain most brick and mortar banks will give you a merchant account with a Redsys payment gateway(national standard).

A standard merchant account will process cards for a ~0.90% fee. The account fixed costs are around 25€ per month. It has basic operations such as authorization, capture, refund and safe vault storage(for recurring payments)

With enough volume(>5000€) you can talk to the bank manager for a tighter fee structure and no monthly fee. For instance 0.6% fee + 0.10€ per transaction and no monthly fixed costs.

javitury··on Android updates are getting slower and slower, despite Google's best efforts
Those statistics should be broken down by new purchases and updating old devices.

At the time of Android 4.4, many people got an Android device for the first time, so adoption was high. At the time of Android 8, the market is already mature and many people still hold to their old Android 6 device.

javitury··on PostgreSQL Count(*) Performance Improvements
The author claims that the tally method using "mytable_count" is concurrency safe.

On the one hand, I think that is great. On the other hand, I am still suspicious.

javitury··on Which Programming Languages Use the Least Electricity? (2018)
Thank you for the explanation
javitury··on Which Programming Languages Use the Least Electricity? (2018)
> 2- avoid using the functional primitives like map

I understand that map requires creating a new array, and that is already included in point 1. What overhead are functional primitives subject to apart from memory allocation? e.g. forEach

javitury··on What Winning $250k at Poker Taught Me About Money
Not a poker player, but I think you don't focus on realized results, you have to focus on expected results. What is gone is gone.

Let's say you play texas hol'em, you go all-in with AA in the first round and lose. The expected payoff was positive even if you have lost. And if you were given the chance to play again, you should keep playing the same way.

javitury··on Sonic: Fast, lightweight and schemaless search back end in Rust
Performance figures are awesome. Also language support is great.

> Sonic only keeps the N most recently pushed results for a given word

This index discards old entries. This is fine for messages, in which aging items lose relevance. Yet the developer uses it for a help desk, which I think should give equal importance to all items.

In this area I would say the main comperitor is Groonga. It can be integrated into PostgreSQL with the PGroonga extension, and it indexes all of the data. However it consumes way more ram.

javitury··on How we do Vue: one year later (2017)
One thing I love about Vue is flexibility.

If you want to use pure javascript, you can create the render function directly and forget about templates. Most of vuetify components are pure javascript.

Also vue has support for JSX if you prefer that.

javitury··on Why Grievances Grow
Perhaps the 80% figure refers to people who think that political correctness has gone too far in at least one topic.

E.g. 30% think PC has gone too far for topic A, 30% think the same about topic B and 20% think both topic A and B are negatively impacted.

javitury··on Tell HN: Node.js koa-router package transferred to unknown user
koa-router was owned by @alexmingoia and not by @koajs. Still it is a central piece of the koa framework that compromises practically every koa setup. The only alternative I have found is this:

https://github.com/koajs/trie-router

The transition from express to koa has been slow, and this doesn't help. It will undermine the confidence on the koa framework.

javitury··on What Hooks Mean for Vue
In my opinion, they are mixins that can be applied without subclassing a component. In the examples a new section, data.width, is added. This modifies the state schema of the component.
javitury··on Simulating identification by zip code, sex, and birthdate
I think it's just about anonymity in research data. These are the most common variables across databasets.

More and more data is being released, specially government funded data in the US. Anonimity of respondents is a big deal. Would you like everyone to know your debt? Or your salary?

If people knew that they will be identified and their answers will be public, they may lie or refuse to participate.

As a researcher you want truthful data about a representative sample of everyone. If you exclude people sensitive to privacy, that is not represetative.

There is a trade off between respondent anonymity, usefulness of data and complexity. Take for instance the "Survey of Consumer Finances" released by the Federal Reserve. It provides quite many variables, which is useful but uses multiply imputed observations to provide anonimity. However, it's a pain in the ass to deal with multiply imputed data :(

javitury··on Firefox desktop market share now below 9%
What an irony. I've been using firefox for 10+ years and now it is faster, uses less resourses and doesn't crash. As a user, this is the browser I have been waiting for.

Yes, dev tools features could be expanded as well as the plugin franework(vimperator!).But these are non-issues for regular users.

javitury··on Vue 3.0 Updates [slides]
For me, how vuex works was very very easy to visualize. State, mutations and actions are very intuitive.

On the other hand, redux's reducers are harder to visualize at the beginning. Until you learn how the reducer works, every reference to "reducer" leaves you slightly confused.

I visualized redux's better with a simple example. It helps you to see how state and reducers interact.

javitury··on French Universities Cancel Subscriptions to Springer Journals
Yes, many top journals charge for both subscription and publishing. The only thing that open access journals lack is reputation in many fields (low number of good citations). Hopefully this will change in the next few years.
javitury··on Time to talk about why so many postgrads have poor mental health
That is not the whole picture. Most Ph.D programs require you to successfully complete 2 years in a research master program which is based on classes and homework assignments. It's not easy.

After that you enter into the Ph.D. for 3 years(max 4) and you are right, you can almost do whatever you want. Just bear in mind that either you publish in top journals or your academic career ends here.

javitury··on What Thunderbird Learned at FOSDEM
I'm surprised you see Evolution as a solution

Before I switched away from Gnome I had Evolution set up. It was slow, you couldn't make more than one operation at a time and notifications worked randomly. Even if you had new email, Evolution sometimes decided not to notify you for days. Reminders and synchronization of calendar and tasks were even worse.

← PreviousPage 3 of 5Next →