skysight-inc/HackerNews huggingface dataset:
> Money can always buy power. If you can hire people and buy things, you can hire people to canvass for your candidate and you can buy publications to push them and your ideas.

I don't have all the answers. I'm talking about the problem we should be solving, not the specific solution. I can't proscriptively design a society in a social media comment. But I don't think the problem of money in politics is intractable.

> But even if you could "structure society in such a way that money cannot buy political power," you still have the problem of what to do now about currently existing inequality. In some ways you seem to be holding out impossible goals and conditions in a way that merely prevents actual action against real problems.

That's not what I'm doing at all. I'm saying that actions that move in the direction of preventing wealth accumulation are less optimal than actions that move in the direction of preventing money from influencing politics. We need ideals to orient ourselves towards even if the perfect solution is impossible to attain.
Role of Domain Model with CQRS / Event Sourcing
What a terrible article.

It starts with the comparison of a general-purpose hash table with specifically-tailored one.

Then it throws in a switch from a comparison-based sort to a radix-based one.

Then, the stunning discovery that std::vector value-initialises its elements (fixable with 3 lines of a custom allocator, if you don't want that behaviour).

In the middle, it preaches about portability while at the same time advocating the use of __builtin functions vs standard functions, and type-punning floats to int and back (undefined behaviour in C++).

And all of this for a 572ms -> 320ms performance improvement?
Whenever I hear about "investing prophets" I call bullshit and stop reading.
Interesting points however I disagree. The case for grocery stores is that it is immediate gratification. Food is something that you must take in on a regular basis. This cannot be netflix'ed.

Besides from that it is far more convenient to get your groceries delivered, you save time etc.
Compute secure passwords without storing them anywhere
It's been fun to watch the pieces come together around the Librem 5 (although this is for more than just that). I wish Purism had done a documentary similar to the "Double Fine Adventure" kickstarter. I'd have paid more for that.
Interesting, thanks. The Go Programming Language book also has a couple of nice examples of DFS and BFS, in the middle chapters. One is for sorting courses by prerequisites, and the other is for a web crawler, IIRC.
Maybe this difference doesn't matter but you can technically play Magic the Gathering by copying the cards or drawing your own. Get out a piece of paper, start drawing the stats on the cards. Play the game.

In other words, you're not paying for the game, your paying to collect cards. I never personally understood it but watched friends, family, and co-workers spent $2k-$5k on cards back in the mid 90s.

That seems different to me in some subtle way from in-game purchases in video games.
It is even funnier that all major C compilers, and in some cases libc, are nowadays implemented in C++.
Good school need you have a house or apartment within 500 meters.Those apartment may three times or more expensive than normal one.
Again, if there is any evidence for that, I'd love to see it. The fact that Kerry Mullis thought of PCR while trippin' balls isn't much more than an anecdote, and stopping to think about all the nobel-worthy work which wasn't thought up while tripping balls...

Put it another way, invention and new ideas haven't exactly increased since Albert Hoffman's big idea. You'd expect there to be a lot more cool stuff if this were really true, as there are certainly a whole lot of people who have tripped balls in the last 50-60 years.
I see. That makes sense. Thanks.
Yeah, depends on how you define "retire". There are plenty of people who hit financial independence and "retire" but still choose to work. I'd go so far as to say you should keep working after you hit financial independence or else life gets kinda drained of its meaning.

For me, "retirement" doesn't mean quitting work but rather having the ability to choose to only work on things I find meaningful. I'm also pretty horrible at dealing with authority and too insistent on knowing why people order me to do stuff at work. Most of the time, I can keep my irritation hidden from others but it would be nice to not have to deal with that irritation at all.

So long as the bulk of your money comes from one or two main "clients," you more or less have to do what they say, and they don't have to explain why. "Retirement" means having a diverse enough source of income that you no longer have to follow orders and can push back or simply decide not to work with them because you don't need the money.

TL;DR - we're obsessed with early retirement because we are human beings who crave autonomy mastery and purpose.

If there were a way to gain all of those benefits without having to pass through the process of accumulating vast sums of material wealth, I would certainly do that instead. And I am trying to find ways to get there without simply saving a ton of money. Having said that, even in the best of situations, human beings are gonna human and that means authoritarian leaders naturally emerge when money is involved. I'd rather have a giant sack of cash to shield myself from that inevitability.
Ask HN: Best resource to learn React for experienced web developer
Hello beautiful people!

I have over eight years of experience doing full stack development in Ruby with main focus on the backend. What is the best resource to learn React for an experienced freelancer?

Thank you so much
Tesla's full vision of self-driving cars that form a ridesharing network would indeed dramatically reduce the number of cars. Most cars sit around unused, taking up space. When idle time for cars drops, then demand for cars will drop.

This also means we'll have much less need for parking lots, etc. Parking infrastructure consumes a huge portion of prime urban land. Curbside parking alone is sometimes estimated at 10%.

Thus, it would also reduce sprawl, and thereby reduce both commute times and the amount of energy required to commute.

All of those things would be eco-friendly, if we can move in that direction. Particularly once we shut down all the coal plants.
That's what is so fishy about all of this. And, my comment was immediately downvoted, then got upvoted a bunch.
A well tested (js) library that does such animated filtering well is:

https://isotope.metafizzy.co/
I used to have something similar. I wouldn't describe it as worrying exactly but I would go through multiple scenarios to the point that I wasn't sleeping properly, work was affecting home life etc. It definitely had a negative effect on my health.

The approach I took was to forcibly compartmentalise things. If I needed to think deeply about something I would sit down, switch off distractions and do so for a fixed period. I would then find something else to pay attention to: read a book, phone someone, that sort of thing. So I couldn't continue thinking about the problem.

The key for me was to move to thinking hard about something else for a period, not let my mind wander.

I also found that having a couple of "go to" subjects, unrelated to work or home, that require complex thought processes, helped. I switch to thinking about them if there is no other candidate e.g. when I am going to sleep. YMMV but the 2 I chose were developing a new programming language and designing a town. I'd pick an aspect of one of them and think how I'd design that.

It worked for me. The only minor downsides I've noticed are 1) that I really don't like talking about home when at work and vice versa. And 2) when I actually had some free time, and decided to implement the language, I kept nodding off.
> We had this poster in our chow line that talked about when the exception becomes the rule (wish i could find the quote).

Sounds like normalisation of deviance [1]. The exception happens so many times that it becomes normal, then the exception to that normal and before you know it you’re way outside the original normal and you’ve blown up a space shuttle [2].

1: https://en.wikibooks.org/wiki/Professionalism/Diane_Vaughan_...

2: https://en.wikipedia.org/wiki/Space_Shuttle_Challenger_disas...
Limitations of Deep Learning (2017)
https://web.archive.org/web/20190118144940/https://twitter.c...
You are correct, I worded that poorly.
I got into CNC milling about 9 months ago. SVG to 2.5D problems are easy, and get you to a lot of cute solutions, its about as close to the work flow of 3D printers as you can get.

But the really interesting stuff is when you get to CAM. Multiple tool paths, genuine 3D cutting. Moving the work between paths etc. Its like going from juggling 3 balls (2.5d) to 5 balls (3D).

I haven't seen any competitive opensource CAM products, and its the main reason I continue to use Fusion 360 instead of OpenSCAD or SVG for my designs.
Ask HN: How to self-study mathematics from the undergrad through graduate level?
Hey HN community,
I've been looking to get deep and build my math skills from the foundation up. I have the time to dedicate to this endeavor and I'd love to hear if you have any specific resources/curriculums you recommend.

Something like https://www.susanjfowler.com/blog/2016/8/13/so-you-want-to-learn-physics would be ideal, but more focused on applied math.

One idea I had was to complete the MIT open courseware courses for the Applied and Pure math fields
Go 2: Number Literal Change Proposal
I think you have it backwards -- carbon works by some organic material not interacting with the atmosphere. Atmospheric CO2 has a relatively constant proportion of carbon-14. Once it stops interacting with the atmosphere it begins to decay and have a different proportion than atmospheric carbon.
Stable assets invest treasured metals
How do we make Hackathons more inclusive?
Ideology is part of it. Some Americans believe socialized health care is unjust:

http://thefederalist.com/2016/02/19/why-socialized-health-ca...

It's a position that doesn't make much sense in practical terms. Australia has universal public health care. Australia spends half as much per capita on health care than the US does and Australians have a longer life expectancy than Americans.

Australia's paying half as much for better health outcomes. For me, universal public health care isn't socialism as much as it is a better business model.
Find your next tech conference – conference search engine
> why does he only have a billion instead of a trillion dollars?

Seriously?
This is super interesting, and someone let me know if I'm interpreting it wrong.

This reminds me of times when I go back home and I have to remember a route to get somewhere, say the mall, and in my head I following a path that I remember. Every Time I need to go somewhere in a car it is the most obvious that I am following that path.

I wonder if this can be used to help people remember events by using locations to help bring that memory forward. Say you show a picture to someone on a day something traumatic has happened and the location actually helps them remember and they can walk through that situation.
When you say non-state, you surely mean by parties whom aren't favourable to US interests.

It's interesting that when a government or party that's not in the US's best interests is in power, it's okay for the CIA to use asymmetric tactics to fund rebels and favourable terrorism, stage coups d'etat, overthrow governments and meddle in foreign elections but when those parties seek to do the same to the US, it's terrorism.

Kind of hypocritical really. But that's US exceptionalism for you. It's only bad when someone else does it.

It's almost impossible at this point to point a finger and say "there's the bad guy, right there" because both sides are as bad as the other and both using much the same tactics on one another, both spewing rhetoric and hatred in the face of the other terrorists. It's like trying to mediate a kindergarten playground fight where the cost of losing the fight is death instead of being dragged to the principal's office by your ears. It's so undignified it's nauseating.
Has anyone done a study of how many potential users have been turned away by such a name that evinces disgust
I'm just a science fan and not an expert by any means but it appears that time simply stops at the event horizon for all intents and purposes. Things/light does not fall into the black hole as it just freezes at the event horizon... forever. There is no time in a black hole. Movement requires time.
>Fixing the DA clock-source results is far better music quality, then any speaker cable will ever can.

I read this as a having a decent quality DAC inline between the source and listening device will do more than expensive speaker wire?
> I'm talking about the problem we should be solving, not the specific solution. I can't proscriptively design a society in a social media comment. But I don't think the problem of money in politics is intractable.

> I'm saying that actions that move in the direction of preventing wealth accumulation are less optimal than actions that move in the direction of preventing money from influencing politics.

Well, how do you propose money be prevented from influencing politics? (In a way the preserves present-day extreme economic inequality, something that I'm not at all convinced is something we should endeavor to save).

I'd wager reducing inequality is a problem that's easier to measure and there are better understood actions to accomplish the goal.

But demanding we focus on a problem that we don't know how to solve, and refraining from enacting "less optimal" solutions in the meantime, is an argument for inaction and letting the perfect be the enemy of the good.
Sorry, I still am wobbly on the matter of how TLA+ is different from QuickCheck and it's clones?

The idea that "you don't test a use-case, you test many inputs that may work differently" is solved by fuzzing/test factories.

So TLA+ without the fuzzing, leaves what, temporal stuff? Did I miss anything?
Loyalty is an HR tool to get some psychological advantage. It's all show. In the end nobody cares.
VHEM: Voluntary Human Extinction Movement
Naturally being native does not sort out everything if not coded properly.

The difference being that native solutions have better tooling to handle such cases, one just needs to actually learn how to use them.

In a future where Worklets and WebComponents with virtual tables are a standard browser feature, similar approaches can be done in the browser as well.
Tesla starts building Gigafactory in China, expects to begin production in the second half in 2019. Also they start for hiring locals[1]. Is this related?

[1]https://www.cnbc.com/2018/12/06/teslas-china-factory-set-to-...
Even in the intended use scenario, I’ve personally found it difficult to reason about how to append it to the end of a packet.

It basically needs to be the final record, which conflicts with things like SIG0 that also want to be the final record.
They were called gifts. I thought it was a kind of clever way of displaying status and demonstrating that you were thinking of someone, just like real gifts or cards. I definitely would prefer a social network with modest ambitions that covered its costs this way rather than targeted advertising and pay to win social gaming.
Firefox DevTools WebConsole 2018 retrospective
GPS doesn't require a data connection.
There is a pretty cool keepass plugin [1] that generates randomly generated readable passwords based on a dictionary with definitions of nouns, verbs and adjectives and multiple patterns to create short sentences.

Even if the dictionary and patterns are known by an attacker, this still has very good entropy on ~16 characters long sentences. For usernames you can easily just go down to the minimum (around 6-10).

I find this superior to random values in a lot of places as it's easily readable and it's also easily typeable, when copy-paste doesn't work.

[1] https://bitbucket.org/ligos/readablepassphrasegenerator/wiki...
Potentially saving 75 dollars a month is very desirable to me. There are, of course, many reasons why that might not actually happen, but as long as I'm paying two separate companies for two completely different connections, it's almost guaranteed not to happen.
If you're using a password manager to randomly generate long, secure passwords, the email address shouldn't matter much. The only potential issue would be social engineering to gain access to the account, but seeing how most people use the same email everywhere, I would think you'd have to a potential target for that to be of concern.
The best defense, just in case one of these cases turns out to be legit, is to send a video of myself watching porn to all my contacts preemptively. Take out their leverage, you know?
Do you live in Russia? One can sympathize with the notion rich oligarchs siphon off of the economy there. But in other parts of the world economy, that narrative doesn't hold water.

https://www.forbes.com/richest-in-tech/#3139c5547316

I challenge you to find a profile there where someone isn't growing the economic pie and instead siphoning resources off. These are (almost) entirely people who started businesses that grew, providing new services.

Further, this notion that wealth concentration reduces liquidity is 100% contrary to economic fact. What do you think the wealthy do with their money? Park it in a huge mattress or swim in pools of gold like Scrooge McDuck? The money goes into capital investments, which map 100% to spending. Either direct R&D, capital equipment or venture, which are all spending, or in the stock market. For every dollar going into the stock market, one dollar comes out and has to go somewhere. Hint; it doesn't go into a swimming pool.

You may not like wealth inequality for personal moral reasons, but don't try to justify them with ill founded economic reasoning.
How to Mine Grin MimbleWimble – Step by Step Guide
If you're interested in Open-Source CNC you should check out two of my Open-Source projects. https://camotics.org/ a CNC simulator and https://buildbotics.com/ a CNC controller. I'm somewhat surprised neither of these were mentioned.
I don't know how SolarCity makes any money. The last time I looked into purchasing panels from them, it was 20 years to break even on your purchase. What a joke.
You can have hash sharding and be able to distribute tables easily compared to range sharding.
Yeah, I don't get this either. I live in Canada and mobile data is $$$s. I don't see the point in more-better-data when we can barely afford to utilize the current infrastructure. Providers are likely to recover this new infrastructure cost through price hikes.

I don't give a crap about faster mobile data, I've got a 5GB plan and faster data just means I could chew through it faster. All of the data heavy applications I can think of I use almost exclusively on wifi where it's available.

I think the real sell for 5G is it's capacity to carry thousands of concurrent connections, allowing for everything to be connected. A true IOT solution where anything you can think of can connect without congesting towers.
Even though Java is still very "class-centric", in the strictest sense Java doesn't make "everything a class". There have always been primitives for things like int, long, boolean, float, double, etc. And now that we have MethodHandles and what-not, you can (sort of) start to think of functions as first class entities in Java. And there are Lambdas as well which effectively let you build a function without it needing a class to contain it.
They also took care to stress multiple times last year, even during Q&A, that only iOS and Android are their main focus.
Since the sensor has a certain operating power, it does not work as well on very high doorways (>10ft) or in direct sunlight. Also the field of view cannot cover a very wide doorway (>8ft). Obstructions, reflections, and odd room geometry are common problems, but they can often be solved in software/configuration.

Within spec, the algorithm does well tracking 8+ people at a time, and even when a line of people extends through a doorway we usually don't have to track more than that.
It just means that the last mile over the air will only add 1ms of latency. Compared to LTE which I think has around 5ms.
The rest of the network (read Internet) is still just as fast as before.
Another question is whether translation from TLA to, say Haskell or Scala is on the roadmap? That would be a killer feature but I've never heard this being something that is planned for implementation.
Our Nomad Makers Origin Story
The Verily Study Watch
Maybe you should have spent a bit more time thinking about the above comment.

While using Ruby as an example, the point is not related to higher level languages.

If you don't understand your tools, you can use them so inefficiently that other, supposedly worse tools are much faster.
Elon HATES unions. He's a hard core Ayn Rand fan.
Scalyr’s new CEO
also, there is canonical green-tea-press book 'think dsp' available here: http://greenteapress.com/wp/think-dsp/

which covers the basics in python.
I made a Python API wrapper in case annoying would find it useful: https://learningequality.org/r/notion-py-an-unofficial-pytho...

It has full read/write support for Notion data, with a local data store that live-updates async when data changes on Notion, including callbacks. And you can manipulate database entries using classes with columns mapped to slugified attributes.
Best Linux apps for Chromebooks
I'm pretty sure this is the ultimate dream of "woke capital" -make a ton of loot while appearing to be virtuous. Probably others who are doing the same dislike the veil being lifted.
Fuchsia devs appear to be now experimenting with alternative UIs, given the introduction of Scenic and an experimental Rust UI framework.
Personalization would be asking the system to learn that I don't want Python 2.x. I want to be able to tell the search to exclude Python 2.x results. It's like the difference between me creating a bookmark and the browser generating a "favorite sites" list.
A few reasons off the top of my head...

Go has very simple dependency management. A library written in Go generally needs very little environment management and will often integrate easily with a Go codebase. This is further enhanced with Go’s implicit inheritance model.

Go compiles to a static linked binary. A library written in Go usually can be static linked as well with no system dependencies.

Go has excellent cross platform support. Unless a library makes system calls (and sometimes even then), it will also be cross platform.

Go has a clean, simple, style. The lack of features like generics, operator overloading, and constructors means you can look at the code and instantly understand what it does. There is no spooky action at a distance because a variable declaration turns out to be a complex function call. This makes it much easier to understand the overall system impact of using libraries written in Go.

Applications and libraries written in Go build very quickly. My experience with other languages is that trying a substantial new package is a go-make-a-sandwich level of inconvenience. Go libraries usually are ready to use as soon as git clone finishes.
Oh I thought the main argument why 5G helps autonomous cars was the lower latency.
It's not nearly good enough for a backup system. The whole point of having a backup system is for safety and reliability. You can't build a viable backup system atop an unreliable network.
Ask HN: Why my post get [flagged]?
This post about daily planner app and I think useful for developers: https://news.ycombinator.com/item?id=18939247

Why flagged?
Yea, a double video of you and what you are watching. Select the most degenerate stuff you ever watched.

This would be a nightmare for basically anyone.
Indeed, it's pretty common to 'proxy' more expensive cards when playing casually. Of course, if you want to play in a sanctioned tournament, you need to pony up.