skysight-inc/HackerNews huggingface dataset:
I find this discussion fascinating. When I hear people advocate for SLOs (and SLIs) they are often quite rigorous in how they approach it... that is until the very last step where they hand-wave the math and produce numbers that don't mean anything (like averages of percentiles and such). Often times (specifically for sites/services that have undulating traffic volume like more users in the day than at night), the incorrect mathematics can produce wildly inaccurate outputs... so all that rigor and you end up determining that you've failed or succeeded when, in fact, the opposite is true.

I appreciate the rigor in this post because it provides clear and simple instructions on doing the last step (your calculations) correctly so that all those fancy SLOs are actually honest.
Lightning network for Bitcoin has multiple privacy features, though it's still only in beta and will probably take a few years to have some adoption.
Yeah, I've done remote work on dialup and my breaks heavily correlated with cvs commands.
There's a good approach to asserts I adopted years ago for your typical low-risk CRUD/web/mobile app that I'm guessing ~90% of us are working on (as opposed to aviation software like in the article): Use asserts as you normally would, but in production have it fire an event to google analytics or some such. This is particularly useful for those middle-ground situations where a full app crash isn't justified because things will probably chug along fine, but nonetheless you want to know something's screwy.

For debug/testing mode I usually pop a toast or dialog so the tester knows to report something to me even if the app is otherwise working fine.

You often say to yourself "Well I know this assert will never trigger but I'll put it here just in case". Then you check your analytics next day after release and get humbled.
I'm seeing the same thing (Firefox).

Apart from that this is a great little extension. I especially like that it only asks for access to the sites it's known to work with, rather than blanket access.
Abel-Ruffini theorem only speaks about general solution in term of elementary operations and nth-root, which is a very restricted form of solution. Numerically solving roots for generic polynomial is perfectly doable (and the nth-root already require approximate computation). Moreover, the radical solution for cubic and quartic equation is already quite difficult and inefficient to use compared to numerical solution.
I don’t think that’s unworkable, as long as it is fairly limited. I expect the smaller countries to follow whatever their main trading parties do. The Netherlands would follow Germany, for example.

I also expect that, as in the USA, the dates to switch to DST and out of it would be uniform within the EU, just as they are in the USA (if you have DST, switch the second Sunday in March and the first Sunday in November in the USA, last Sunday’s of March and October in the EU)

It could get interesting at times, though. My personal record is four time changes in a day, on a trip from Minneapolis to LA with a stop in Phoenix.

1. Switch to DST the night before leaving Minneapolis (triple-checking alarm clock settings)

2. Switch to what I thought would be Phoenix time.

3. Upon learning that (most of; see https://www.timeanddate.com/time/us/arizona-no-dst.html) Arizona doesn’t do DST, switch to Phoenix’s non-DST time.

4. Switch to LA time.
This city has a vision for mass transit that doesn’t involve city buses
For free, when there are no waves, when the sun is shining, when there is no other vessel that crashes in to them and when you convince someone to make it all and then gift it to you.
Software development often does seem like a struggle between reliability/robustness and safety/correctness. Figuring out what to do with asserts falls in this debate!

For embedded development I have often had ASSERTs log out to a serial port with the function name/line # and continue operating - this can then be connected to any logging device. This makes the system a little more robust (it won't crash, right away at least) but less correct/safe.

During development testing we often had complaints of machines freezing due to asserts, which always increased the priority of those bugs! Definitely a good thing in the long run to fix those bugs and make the system more correct. Stopping all executing may not be the correct 'safe state' for an airplane though!
That only matters if voting actually functions as the root cause of election victory, but in practice it is merely an illusion of choice. Party leaders and influencers control the election field, ensuring they get to choose a controlling share of legislature membership. Voting may be a proximal cause of election victory, but it is the ability to choose most of the people who get to even run that actually matters.

In a two-party system, there are two flavors of propaganda and people can choose which political machine they want picking the candidates. In a one-party system like we've seen with the great Socialist states of the 20th century or with American party primaries, leadership control over elections is even more blatant.

In the American system, for example, the existence of third party or non-Machine candidates acts as a pressure valve that ensures no real change can happen, since the major parties can divvy up the successful rhetoric and defuse it with their own loyal candidates, while anyone else who gets elected will be in too small a number to form an effective legislative caucus.

The result of individual elections isn't important. What matters is how the system functions in aggregate.
The generational GC that the Go team implemented does not offer one of the primary benefits of generational GC: bump allocation in the nursery. Without that benefit, it's an unfair comparison.

This benefit is directly relevant to this thread, because bump allocation in the nursery makes the allocation fast path somewhere on the order of 6 instructions.
Marva Collins, Her Pedagoogical Method, and Her ‘Philosophy for Living’
300m^2 only gets you a couple hundred kW on the brightest days at peak efficiency. These ships require powerplants providing on the order of 50,000 kW.

A 40-acre floating solar farm would add a LOT of drag. Better to make the solar farm stationary, use it to synthesize fuel, and run the ship with an internal combustion engine for power density. Maybe someday batteries could be used.
It's not about trusting user input. It's asking for a function to create a 100 byte substring of a very long string and expecting it to take time~100 not time~len(src).

In fairness, that is probably just not the target "market" for strlcpy. Presumably, it is meant for "please copy this whole string which I expect to fit in the target (but catch me in the rare case that it does not)".
In the article's video review they demonstrate showing a pdf nearly full size on the e-ink screen when it's folded over into tablet mode.
Life after the tsunami: The Unburied Stone
IIRC the consistency is the issue: when DST kicks in they have to shift the milking time by an hour which apparently (based on a vague memory from a news article I read years ago) breaks the routine for the cows and can create issues.

The obvious solution would be not to shift the milking time with DST but then it means that the truck picking up the milk for the factory will arrive one hour later which creates issues with conserving the milk properly, so you basically have the problem at one point or an other.
That's Maersk Line, which is the container shipping division of Maersk. The rotor sails are being installed on a tanker vessel from Maersk Tankers. Deck space is a valuable commodity on a container vessel, so not as obvious where to place the rotors.
The Different Words We Use to Describe Male and Female Leaders
This was common practice in Southern Africa for many decades now. Farm workers live in compounds owned by the farm owner (on the farm), buy goods from the farm shop at exorbitant prices, and educate their kids at the farm school. Because farms are remote, the "farm economy" is a closed environment with the farm owner controlling wages, rent, school fees and the price of groceries.
Excellent analysis! I would modify #2 slightly, as a workaround might also be convenient and cheap.

Obviously one should use common sense to avoid adverse outcomes. Inexpensive productivity tools get approved more quickly, whereas upgrades to perfectly fine but previous generation laptops may take a week or so :-).
Learning from Our Chatbot Implementation Mistakes
> Sources are never provided.

We also do not need to provide sources for statements such as 'water is wet'.

Anything on a boat, or even shoreside near to the ocean is subject to corrosion and corrosion protection is a serious maintenance issue. I've lived 2 km from the sea and even there the nails would rust right out of the building due to the salt that the wind would carry in.
Summer time year around is going to suck in the winter for Northern Europe. I continue to be surprised that no one is willing to learn from Russia. They tried permanent summer time, and had to switch to winter time one last time.

It's not that people in Scandinavia isn't used to having pitch black mornings in the winter, it's about the sun not rising until 10 - 10:30.
Spain could even drop to GMT. Most of it is west of London, and that would align it with Portugal.
#Hacking the Hacker. Stopping a Big Botnet Targeting USA, Canada and Italy
What a weird, overly pedantic, comment to make.

Hilter invaded Poland in Sept 1939 and VE-Day was May 8, 1945; so the war in Europe lasted 68 months. 75 years ago the war was 47 months old, or 69% complete. I consider the final 30% of something the "tail end." It's weirdly pedantic and downright antisocial to go around arguing "tail end" means something else, especially when its entirely irrelevant to the topic at hand.

Since the internet is for cats I did some quick Googling and looks like, on average, a cats tail is around 34% of their total length (body plus tail) so saying the final 30% of something is the tail end is objectively accurate. Unless you want to go around arguing that some cats don't have tails.
>They are also saying that each country then can choose if they want to keep winter or summer time... That's going to be chaotic!

Given that we already have a bunch of timezones within the EU how is that any more chaotic than what we have today?
Essentially free energy... except the cost to install, the cost to operate, maintainable and of cause the cost when one of them breaks and causes damage.

For a lot of these “why don’t they just” the answer is simply that they did the math and saw too small an upside for too big a risk.

They are trying this out to see if the overall concept works in practice or if it falls short.
I think part of it is needing the technology/implementation piece. Wind power was viable for centuries, but as ships got bigger and bigger, steam/petrol engines became the standard in the shipping industry as traditional sails were no longer viable. Now that we are developing higher efficiency renewable energy technology, we have the opportunity to move full-circle back towards wind power again. However, since these current sails are only supplementing the ship's fuel costs by ~10%, there's still a long ways to go.
Allocation is not expensive in every other language. In Java HotSpot, JavaScript V8/SpiderMonkey, etc. it is somewhere on the order of 6 instructions. That is because those language implementations use generational garbage collectors with bump allocation in the nursery.

Go should switch to this strategy as well.
Well, again, you have to assume that the caller called you right, i.e. that the pointer you were passed points to a buffer with exactly one zero in it, at the end. Furthermore, unless there's also a (potentially wrong) length argument, you have to read every byte of the destination buffer while you're copying and stop when you see a zero. There's a lot to be said for a reimplementation like bstrlib that wraps char arrays in structs and gives you replacements for most of the string functions, but then you still have all these C APIs to deal with that use char*. And you have the overhead of trying to do things right at runtime. Sibling comment mocks languages that do compile-time safety checking, but I totally see the appeal.
Computer says no – Why my dad hates automation in customer support
I think it is a relatively common abbreviation used in informal writing online, similar to "AFAIK" or "AFAICT" (maybe those are not so common?) but admittedly less common than "QED" or "etc." Yes, it means "as far as I understand it."
What would you say makes gluing those languages together hard to maintain?

I've found the opposite, where it's difficult to look through the many dark corners of Perl to do something that could have been accomplished instead by a smaller tool.
But Desert Storm didn’t begin till Jan 1991. The military and ops didn’t come to bear till then. It was also unlike an attack on how me soil. It aas defence of an “ally” and importantly access to majority of global oil reserves. If ths had been post WTC bombing, you might have a point. This was way before feeling that ME radicals and such posed a mortal threat to the US and the West.
Let's golf a BIBABOBU decoder
Usually the hardware is tri or even quad redundant so the system can handle one of the boxes halting execution while it is either reset or other action is taken. If several failures happen one box may be powered off by the others to stop erroneous outputs from the failed box.
It would be better to spend this effort to add generational GC with a bump allocator to Go. That way memory allocation becomes faster for everyone, not just the tiny subset of people who use fancy tools.
Unless you like keeping track of time with a sundial that doesn't seem like a very strong argument.
> It's essentially free energy

The rotors have to be powered. I believe the losses to friction and added mechanical complexity made it unfeasible in the past.

I'd love to see this succeed. The magnus effect is pretty counter-intuitive; it's always nice to see weird physics get used for real.
Tl;DR: This is a review of a book by Erwin Shroedinger published in 1944 entitled "What Is Life"?

IMHO this book is interesting as a historical curiosity, but little else. The question is horribly dated because today we know the answer: life is the result of the Darwinian evolutionary process, i.e. the copying of information under the dual influences of random mutation and a non-random selection process. With the discovery of DNA and computers, the question "What is Life" just has a straightforward answer, so it is not nearly as philosophically intriguing as it once was.
> See the link in the previous comment.

That really doesn't describe a threat to the "white heterosexual Christian" identity. In fact, you're free to be a white heterosexual Christian at Google or anywhere else for that matter.

> Being fired for expressing a political viewpoint is a classic example of discrimination.

Again, the viewpoint on women and minorities was an intolerant one. Please study the Paradox of Tolerance.

> He never said that (I’ve just downloaded the memo and searched), nor anything similar to that.

You're right, he made a much more broad statement about the gender gap in the tech industry. Although there is this section:

> Openness directed towards feelings and aesthetics rather than ideas. Women generally also have a stronger interest in ​people rather than things​, relative to men (also interpreted as ​empathizing vs. systemizing​).

>○ These two differences in part explain why women relatively prefer jobs in social or ​artistic areas. More men may like coding because it requires systemizing and even within SWEs, comparatively more women work on front end, which deals with both people and aesthetics.

He's regurgitating the idea that biology, rather than society, is what is holding women back in the tech industry. This is an intolerant viewpoint, as it suggests that there is something inherent about being female that makes them inferior at participating in the tech industry.
Dinner is at 10pm in Spain, and 11pm in the summer? Interesting.
I would honestly expect it to be more than 10x easier. In Canada, the idea of raising a 2-3 million round is completely foreign, and in my city (Edmonton) the idea is absurd. I strongly suspect you could raise 10x more much easier in the Bay compared to Edmonton, making it worth it to have an office down there, even though the cost of SWEs is ~4x cheaper here.
Like other commenters I think you need to vote with your feet. If they don’t have active plans to move offices the answer is no. The why’s of you not being allowed to work from home on most Fridays or the office being in San Jose are irrelevant to your decision to stay or go. The needs of your bosses, and how much sympathy they have, are irrelevant too.

Is the job so great that the terrible commute is worth it for YOU? That’s what it boils down to.
So this person is ok with 50% of the parliment being filled with a group that represents maybe 0.00001% of the society? Great.
I think you could use rofi for that, just insert it to the pipes and filter accordingly.
You need to read the US Declaration of Independence.

"We hold these truths to be self-evident, that all men are created equal, that they are endowed by their Creator with certain unalienable Rights, that among these are Life, Liberty and the pursuit of Happiness."

The signers knew what they were doing was against the Kings laws - but they said, for the first time, there are higher laws that everyone is entitled to. Copyright and patents, while maybe good law, are not among these.
Maybe. But have you checked if your city isn't cool too?

Were I only following the local media and other people's opinion on our city, I'd still be believing it's all bunch of busybodies led serving a no-good city president. But, as a part of leading a local Hackerspace, I ended up involved in city-NGO cooperation space. I've interacted with both city officials and private organizations trying to run publicly beneficial projects in the city, and it turns out my city is really willing to help, to partner, to support.

Of course, the local and national politics sometimes leak through and create issues, so it's not all roses. But I left the space with the impression that one only has to try to start a friendly conversation, and there's plenty of city officials, with budgets behind them, willing to cooperate with your new endeavour.

EDIT: Oh, and yes, there are procedures. Things move much slower than you expect, and if you're trying to get some of the city money for the project, you end up organizing public consultations and preparing recommendation reports to the city, and doing other busywork that may seem, or even be, pointless in the case of your project. It can be frustrating.
Great example, thank you. Sounds like you had a fun 12 weeks :-).
Great topic. I've appreciate the infrastructure graph. Nice reference docu
That's right. But I can't imagine France would want to be on +2 year-round. (Paris mean time is only nine minutes ahead of GMT.)
> which, imo should also be dropped, we would have much better language as a result

This just creates two different languages. The older language only dies when everyone stops using it. The Ruby community managed to do that with 1.9 but Python 2 still exists alongside Python 3.
Starbucks would nicely fit with Whole Foods and Landmark Theaters, both already owned by Amazon and targeting American upper-middle class.
Two use cases I've had in recent years (technically not 2018, but well…):
- optimization of simple functions that are called a huge amount of times (the only viable alternative to assembly being intrinsics that come with their own portability constraints),
- just in time compilation.

Additionally, knowing assembly can help a lot when debugging weird crashes in code written in higher-level languages. gdb's asm layout is an awesome resource if you know how to use it, but someone who's never used assembly before will probably not even consider using it.
That's because the array to be sorted is packed and inflated, so as to be the worst possible input for that kind of sort.

Worst-case complexity.

Also, I needed to bump my JVM heap up to 16GB (not 9GB as recommended), just to run it.
How do they not have AC in the bay area? That seems highly implausible.
Not necessarily regarding the latter. Intrinsics only help with the part where your code doesn't fit the instruction set because the latter can encode operations the former can't natively, and the compiler might not always be able to detect such structures.Als Also, if you use assembler you can take better care about scheduling instructions around loops in a way to get very high throughput, because you might see that k-ary search happens to be faster than binary search because you can hide some of the latency you'd otherwise have. Also some other issues requiring higher-level restructuring once you see that your first implementation stalls the processor too hard.
Once you reach GPU cores and other non-OoO cores you need to be careful with memory load stalls, and try to use some staging memory or so and e.g. load the data for the iteration after the next iteration into staging, then fetch it into registers in the next iteration, so it is ready in the one where it will be processed. You need such optimization to reach e.g. high throughput in matrix multiplication, because you need to minimize the instructions that use the ALU but don't do actual result-affecting calculations (and instead just e.g. loop/array index manipulation and such). The ability to be good with this is reduced in OoO machines with register renaming, sadly, and I'd like a core that is fast for sequential code due to low-delay high-clock operation, yet exposes the whole register set to the assembly programmer... One of the recent chip startups seems to target such a processor. Obviously also the Mill, but that's vaporware since forever...
"not wasting away in offices" - Yep.

Every day I come into an office feels like a waste compared to a day I work from home.

A waste of my life to be more specific.

Requiring tech workers to be physically located next to each other during the hours of 9 AM to 5 PM, five days a week for years is archaic and a slap in the face of what we've done as an industry.
Yeah, I realized that this would be potentially be confusing about what I meant, so I edited my comment.
Also "If they'd cover it on TV news, it's probably off-topic."
I'm guessing that you're underestimating the cost of drag ... tailing a 300 sq meter "boat" would probably require more energy than it could produce. I have no data, and haven't done any back of the napkin calculations to back up my stance ... but just look at the speed difference between a monohull vs a catamaran vs a foil sailboat. Reducing the contact area with the water (and thus reducing drag) is _everything_.
Summer time is on average further off from solar time.

For instance normal time is pretty close to solar time when you're around Berlin.
I can't see how the left being libertarian on immigration while at the same time voting for large social welfare programs can work. you can have only one: no borders or social welfare. You can't have both at the same time (until globalization will even out income in the whole world)

Perhaps we could go 100% libertarian first (no borders, no taxes) and after a while go 100% social (not sure how globe-wide social welfare can work tho)
There were file sharing sites before Youtube came along and there are still file sharing sites other than Youtube now.

SO - stop enabling Google-Youtube to pull this stuff and go somewhere else - its called using the Internet?
No. The course of history changed radically as the result of the last presidential election in the U.S., and it will change radically again depending on the outcome of the midterms. Things are very different now than they would have been if Hillary Clinton had won, and if the Democrats take the House, things will go very differently than if they fail to do so.