skysight-inc/HackerNews huggingface dataset:
Have you used a lot of go? I'm a big fan of rust and definitely like rust devs and the rust community, but I find that people haven't used go enough to "get" it don't really understand just how much it can take away from cognitive load.

Rust and go are not really comparable in this regard, even if rust is much better than most people realize. There are too many ways to approach a problem in rust.

That said, definitely there are plenty of places where rust is a much better language choice than go
Pler
That sounds promising. Reminds me of C++ RAII memory management patterns.
And their list of political contributions.
It probably amounts to the same thing, but I think there's a more pragmatic approach to thinking about safety. A type is a way to remember that validation has already been done. This is true for constants by inspection (code review). For dynamic code, have a validator function that takes unvalidated input and returns a Color or an error, and always use that to create a Color.

That's usually sufficient. Any "cheating" should come up in code review as a suspicious cast to Color. In an audit, you could search for casts to Color.

Safe languages often have unsafe constructs. It's the same principle. The unsafe code is signposted, and you review it.

If you want further encapsulation, another useful trick is to make Color a struct with a private field. It's not usually necessary, though.

Go does have an unfortunate quirk that you can always create a zero value without calling a constructor, so you'll need to make sure a zero Color has meaning. (An interface doesn't really change this because the then the zero value is nil. That's not an improvement over making the zero value mean "black" or "transparent" or "invalid".)
This is why I keep a keen eye on single occupancy vehicles. They will be the ultimate form of transportation and we haven't decided upon a good model design yet (think Renault twizy)
From the readme examples it seems that the code is not provider-agnostic, i.e. you write specifically for e.g. AWS. How is it then better than using AWS' native SDK for your language?
There's a really good comment on reddit on the subject:

https://www.reddit.com/r/rust/comments/dx6e0h/comment/f7o8av...

TL;DR; yes but not too much if your CPU is high-end and if the number of AVX instructions is low enough (and the slowdown is negligible in front of the gains if the number of instructions is high).
Not an expert, and not answer to this exact question, but the video https://www.youtube.com/watch?v=PtsrAw1LR3E
and these slides https://pdfs.semanticscholar.org/41c5/e01cf7e3975efdc5a27f74...
could answer some of your questions.

One way to think about this, without any number theory requirements: if we keep throwing a coin with probability of heads p which is around 1/2 at the beginning, but then keeps decreasing on the rate of log n / n, we would expect (using undergraduate probability theory) that two heads indeed come up very close infinitely many times.

As primes up to n have the frequency of log n / n, this would be enough if the primes behaved like coin flip results. However, that is not the case, as primes are leftovers of some sieve, rather than totally independent and random.

The goal of some of the current methods is to establish a good ``probabilistic'' model of the primes, so that this intuition can be transformed to reality.
How Vulnerable Is the Tor Network to BGP Hijacking Attacks? (2018)
This post is concerned about security but the performance of this code is actually also scary. Does it execute that trampoline for each comparison?? In c++ the entire code would be fully inlined with a std::sort.
Health tech startup led by entrepreneur doc Scott Rifkin raises $10M
Jupyter Notebooks on the Go
I have witnessed dozens of people playing this and none have had a positive review of it afterward.
Single-person cars can be half width and share a lane, and run much closer together at speed.
No problem!!
But there aren't criminal killers all around us, hiding....So your makeshift headline is false. Vanishingly few home invasions lead to death.

I know of no definition of fear mongering that includes whether we can control a phenomenon. And unlike the home invader example, nanoparticles are real and do have bad effects.

You're also conveniently ignoring that you can avoid them by going further from their sources. And this info is relevant to urban planners, building designers, researchers, etc
If Oracle wins the Open Source community should adopt a new license to punitively punish companies like Oracle who abuse this system.

We can adapt our license to allow anyone to use the API except if they're using API licensing themselves, at which point they would be in violation.
aesthetics are relative, not absolute.
Yes, my point is irrelevant to the main discussion about commingling.

I was commenting only because most people make the same false assumption (that all units of X in warehouse Y are stored together) and find the random stow model interesting when told about it.
The MCAS had too much authority , Boeing give it extra functionality that was not initially designed for, this are facts that were revealed so far , I am not sure if you are trying to shift the blame to the pilots or only argue that they could have saved the plane despite Boeing fault.

All the facts revealed so far from the investigation show that the plane was rushed and things that could have improved safety like training and warring lights were omitted because of money.
There's no such thing as asset price inflation -- it's a pre-modern Austrian notion. The value of an asset is the discounted value of its future cash flows (the net present value). If an asset is worth more than its future cash flows, then you have an asset price bubble.

The rich think they are rich because they actually are rich, and they expect to be rich in the future. The value of the stock market is high because profits are high, and the owners of stock expect them to remain high. They could be overoptimistic about the future, but its driven by future expectations about the real economy.
Yeah it's definitely sarcasm. I love Linux but even I can't be arsed to get it to work half the time.
In the U.S. 9% of seniors live in poverty compared to 13% of the population (and 18% of children). Social Security not only does a fantastic job of keeping seniors out of poverty, but for many seniors who lived in poverty before the age of 65, the receipt of social security benefits lifts them out of poverty in their old age.

Thus, social security is much more than a pension program, it's actually a significant transfer that causes seniors to have lower poverty rates than working-age Americans.
I used to be a biomedical engineering technician before becoming a software dev, and I have to say I somewhat miss the immediate positive feedback from actual users when you solve a problem. If anyone feels similar after moving into software -- what do you do to keep your motivation up?
I have used docker with qemu syscall emulation to build various projects for foreign architectures. I really wanted to cross-compile, but the build tools chosen by those projects made it infeasibly difficult.
Once AVs become commonplace it's entirely possible that the majority of the cars on the road will have zero occupants, either because they're running errands or doing the deadhead leg of an occupied trip.

It's absurd to think that transit buses containing dozens of riders are going to be held up behind zero-occupancy vehicles. The roads are going to get much much worse.
I'm in a similar position, but don't avoid banks altogether. No debt, except a credit card balance which is paid off each month, and I only use that for the extra protection over a debit card.

For a short time after college I was in a bad spot with a low paying job and lots (relative to my income) of debt. In a way, I was fortunate to see what that's like early, with a relatively small amount of money (my CC limit was <$2000, but always maxed out because I was broke).

Not a situation I want to be in again.
At least React's "pass an object to the `style` prop" makes it relatively easy to do that overriding.

With utility classes, your code has no way of knowing that "bg-red" should override "bg-blue". (And frequently it won't, if "bg-blue" happens to come later in the CSS file.) So people end up inner-plaforming their own clunky solutions on top.
Programming in Time (Goto 2014)
Humans make mistakes. People code review after exhausting days or late at night. Or sometimes they skim more than they intended to. You want to make problems in the code obvious everywhere that you can.

In programming, if you miss an important detail the repercussions can be high. In a million line codebase every idiom that's slightly more complex than it needs to be is going to result in dozens of additional bugs, sheerly because of the increased surface area for making mistakes with that idiom.
Yes, if the logic goes unchecked.

I am, by and large, extremely, almost obsessively, practical and rational. Decisions pretty much always happen in a conditionally-formatted spreadsheet. It is my default.

That being said, my imagination can be very vivid and therapeutic.

Abstract painting, making music, writing ideas for potential tv shows, designing furniture, and my goofy sense of humor all result in some completely crazy ideas. Over time, I've learned to give myself more space to be creative. It's actually enabled me to be more practical because all that linear thinking now has a pressure-release outlet.
The CPI inflation metric certainly does exist, but the idea of inflation can apply to any basket of goods.
Sometimes you don't need deep networks to solve a problem, so you can save money and be more environmentally friendly by not using one.

Are ML models really solving something?
Solving it is better than continuing to live with it.
Maybe I'm missing something but Go _discourages_ nested conditionals. There are even static analysis tools in the idiomic toolkit which tell you when your conditionals can be simplified.
The decision to make CSS libraries that are reusable across all parts of your application is spot on. Also it helps with theming, eg dark mode. To avoid listing tons of classes on each element, you can use something like less:

.my-class {
.utility-class-1;
.utility-class-2;
}

Reusable constants also help a lot.
I acquired a Surface Pro X. I can't compare it to a 7 but battery life is excellent so far.

One thing that my previous Surface Pro 4 did was Connected Standby. It would usually be fine and wake up after an hour asleep just 1 or 2 percent battery down. But then other times I'd go to use it and it'd be at 20%.

So far this X has not betrayed me like that. It's been good for regular tablet use (not continuous) for 10 hour days, easy.
There's an entire field of real estate economics. There are professors and conferences and everything.

You won't find your theory about money sinks, because it's a theory unique to you. It may be the greatest breakthrough in the history of economics, but it's not a theory that currently anyone else believes in. I personally am skeptical.
You are unlikely to get a high enough credit to cover student loan debt if it is high. Else everyone would be doing it. Personal loans and HELOCs are even cheaper and hard to get with bad credit.
Those are the cases where the parallel construction was caught, right? What about all the cases where parallel construction was used and successfully kept secret?
It sounds neurotic but it’s not, we haven’t evolved to breathe all of these pollutants. It’s rational, we should be in the forest or, have clean air.

The article is to inspire the move to clean and renewable energy.
Curious to know how often you or the carpenter replace mud sills on 100 year old homes.
I didn't end up doing IMO due to weird school situations, but I'd won some prestigious math competitions (two other winners I befriended one year went on to become IMO gold medalists) and was able to solve some IMO problems in middle school on my own. At the time I felt I was just different from others in terms of mathematical ability.

My general feeling now is that talent as perceived by others is mostly a function of hard work. Looking back, the level of persistence I was able to apply to mathematical problems at such an early age without any real supervision was incredible. I was almost entirely self-taught from age 7-10 and without being on a strict curriculum, this included some college level math. I think this was a function of a lot of things that don't have much to do with natural ability.
But what ideals require that spouses' assets & liabilities be even more strongly linked, and any offered credit always identical, and that it should be even easier for creditors to pursue people for their spouses' debts?

(As you've not described these ideals, just asserted them, is the rationale religious in nature?)

The fact that jurisdictions as varied as California, Illinois, most other US states, Spain, & much of the EU don't yet do that is evidence to me that any "idealistic" case driving such a determination mustn't be too widely held.

And many couples prefer the separate treatment that's allowed them by current law. (Can you imagine the rage from a DHH-type, in mirror-universe where he and his wife had worked to maintain separate finances, but the law clipped his credit based on her income & repayment history? It'd be pretty similar!)

Finally, even if the laws of every jurisdiction, from towns to the UN, required such a link – it still wouldn't be identically costly/profitable to lend to each spouse of a pair, or equivalently costly/easy to collect in difficult situations.

Married partners don't become identical in earning power, conscientiousness, concern about their credit-rating, profitability, etc by either the act of marriage or any legislative fiat by people who wish that might be so.

In matters of the heart, sure, defer to romantics who see marriage as a total, unquestionable unification of two people into one eternal unit. In actuarial matters of lifetime probability and credit risk, defer to the people who have the real data & money on-the-line: creditors.
Not using reaction-based drives we won't.

https://what-if.xkcd.com/38/

Tyranny of the rocket equation strikes again.
So much health care is just to mitigate population control failures. More health care is solving the wrong problem.

So much computing is just to mitigate math education failures. More computing is solving the wrong problem.

Etc.

Thank goodness some people are willing to innovate.
30 years after the Velvet Revolution, the Czechs are back on the streets
> Should I stay and have children with my current partner?

> no chemistry on my side

Leave
The implication is that the banks are breaking up families because they can't afford to live close to each other any more.

Think about that. They are profiting by coming between a human being and their basic human needs.

They've pushed up the cost to acquire those basic human needs by 7x in the past 80 years.

I think it's breaking our society. The lie is they are enabling people to afford a home, when in fact it is because of them that the younger generations may never be able to afford one at all.
Ended up looking a lot like Bootstrap to me.
You Promised Me Mars Colonies but I Got Facebook
'Feeling of responsibility' is a nice way of putting it but the fact is that creative geniuses are pretty irresponsible and unconscientious fellows. They abandon a lot of projects and can't force themselves to work on things that don't interest them.
Yet again, I am not talking about whether code API is copyrighted or not; I'm just saying that regardless of the ruling, protocols aren't copyrighted. I said nothing about a particular implementation, but a code API, unlike a REST protocol, is a fixed expression. If that fixed expression is copyrighted, then what the copyright protects is a whole other discussion. Harry Potter is a fixed expression, but once applied, its copyright doesn't protect just a particular sequence of words, but various derivations of it as well (like translations). As to whether or not what this case is about is "in conflict with previous definitions of copyright," I have no opinion of the matter.
> The congestion problem is mostly overblown.

It's really not. Congestion is a huge problem already, and increasing the current road utilization by 83% will bring entire cities to a standstill for the entirety of waking hours.

> I just eyeballed but ~80% cars were single person.

Yes, and in the AV future the majority of cars on the road will have zero occupants, so things will get much, much worse as far as how many people are actually being transported vs road utilization.

You then go on to talk about robotaxis, but that supposes that most people will give up the idea of personal car ownership entirely instead of just buying their own AVs; this doesn't seem likely.
Who do I contact about buying your mortgage?
Cost savings came from not retraining pilots and not requiring airports to be redesigned, and so on.

Boeing needed to use a larger engine for the new plane because larger, hotter engines burn less fuel. When the engine is made larger the wings and fuselage have to raised to accommodate the larger engine, which means jet bridges at airports have to be modified to accommodate the new plane. Boeing wanted to avoid this, so they designed the airframe such that the overall geometry of the plane is still compatible with existing infrastructure at airports, but this meant that the airframe was unstable---it has a tendency to tilt up when accelerating. Boeing compensated for this hardware flaw with a software fix.

The two serious mistakes Boeing made are (1) designing a multilayer system where bottom layers rely on upper layers for safe operation (i.e., airframe relies on software for stability) and (2) lack of redundant sensors.
In general I agree with everything you're stating wrt accuracy of the statement. In context of motivation though, people are all different. And in this case I think there's a type of person who is internally motivated by seeing the results of their decisions and hard work.

In that context, trying to make it about the businesses you are serving (external validation) may not be as interesting to that person as making it about them finding the key to the optimization settings that unlocked growth for the team and business that is credited to them. Helping them celebrate via recognition or whatever else drives that individual can let them get more out of the win than they otherwise would have, and become more engaged in their role.
No it doesn't, quite the opposite actually. Go favours "exit early" strategies
I don't see how anything in the text permits that charitable reading. Even the inventor of monetarism itself, Milton Friedman, thought that the government could prevent recessions -- he just thought that the best way to do that was to target the money supply, so you get price stability and no recessions all at once. The whole point of his and Schwartz The Monetary History of the United States is that drops in the money supply are linked to recessions.
”The cars would no longer be an expression of personality and a status symbol”

You’re not the only one claiming that, but I don’t think it automatically follows. People can currently afford to buy cars for themselves, so unless self-driving cars will be (much) more expensive, people still would be able to afford them. So, in this case, the question is what else, if anything, people would want to use their money on instead of on owning a car.

If, on the other hand, self-driving cars will be much more expensive, there’s a risk that they will be too expensive. That may be offset by having self-driving cars make more hours each day, but I don’t think that’s a given.

One reason people own cars is that it guarantees a car is available when they need it. If people value that highly, self-driving cars will have to cater for that. I think that would mean the number of self-driving cars would have to be fairly similar to the number of cars now on the road. If that’s the end-game, why wouldn’t many people own a self-driving car, or lease one for their personal use?
Its interesting that service animals like dogs or monkeys can sometimes be trained to anticipate seizures. And in many of these cases its not clear what the signal is- a change in activity, odor etc.
Isn't the point of a CMS that users don't have to care about the underlying tech and hosting?
Adam is an awesome follow on Twitter. I still haven't come around to his way of thinking on utility classes. It feels messy compared to a component based approach. But, I totally respect his work and can see myself adopting something like this in the future.
If Pichai is making $100m a year it won’t be long
This is a guess, but a pyramid scheme is illegal, and so calling 'legal' companies by the term might be considered slander.
Since some of these companies live to bully through the court system, it's probably a conscious decision to avoid the term.
Just a guess though.
It is important to note that it is indeed about his parents doing a wonderful job, and not about them being very rich or something. The article http://www.davidsongifted.org/search-database/entry/a10116
describes this nicely.

Nothing that has been done for his early education required lots of money.
(Obviously, being in a developed country like Australia helped a lot --- but one can imagine something similar being done in almost any densely populated urban area in the world.)

However, almost everything in his very early age required large amounts of time, thinking, and attention by his parents.

If you have enough time, and your young children are interested in something, don't leave them to figure it out themselves.
LeetCodeAnimation: All the questions on LeetCode in the form of GIFs
Also, for anyone that cares, I wrote up a series on CSS-based Web design about ten years ago: https://littlegreenviper.com/series/cssdesign/

It's dated, but still absolutely relevant.

Here's the start of the specificity section, which goes on for some time: https://littlegreenviper.com/miscellany/stylist/introduction...
Properly designing incentive systems in a realm of pervasive externalities and nonobvious costs and benefits is difficult.

I'm not saying the market/cost approach is necessarily the best or appropriate. But it's an interesting thought experiment to work through it.

Sometimes imposing arbitrary requirements (e.g., "have an agenda") is a cheaper way of effecting the same ends. Though Goodhart's Law is another pitfall.

NB: "vipers"?
It might be more apt a metaphor than it seems...?

Resonant orbits might not be natural selection, but they might participate in a form of thermodynamic selection: two simple forms and structures selecting for and reinforcing one another.

They are both subsets of the same thermodynamic processes of structures/arrangements sticking arouns when they mutually support one another creating persistence in a chaotic system

My understanding is that some folks believe there are similar mechanisms underlying the emergence of both -- a generalized form of selection between mutually reinforcing structures that encode elements of prediction of the chaotic environment they reside in, be that the periodicity of orbits (that "know* a stable path that will reasonably persist) or life itself (that have similar baked in prediction abilities we perceive subjectively as consciousness).

Disclaimer: biochemist, technologist and armchair follower of complexity science
No, because the fixed portions are too small to be copyrighted, and they're also not creative. Being a fixed expression is just one of many necessary conditions, not a sufficient one. Also, not every copying of a copyrighted work is an infringement.

> they are.

They most certainly are not. If you think REST protocols are like code APIs, you should be able to explain why algorithms are not copyrightable but programs are. The law already makes a distinction between those two, so you'll need to explain why that distinction does not apply for protocols vs. APIs.