skysight-inc/HackerNews huggingface dataset:
Or mesos/marathon, though I'm in no way qualified to make comparisons vs k8s.

I am qualified to make that comparison, and Mesosphere all the way. Rapid, no bullshit deploy, not having to deal with key stack components being alpha, simple management, wide support (including running k8s on mesos if you are so inclined). There is a very long list of why mesosphere can be considered to be a stable and mature product.

Every time I work with k8s I think "this is cool and all, but absolutely not ready for production use" - and in my book production use means not needing a small army of sysadmins (sorry, SME's) to keep it running, not changing core components every change of the moonphase, the majority of core components being stable and battle-tested, and a learning curve that doesn't look like a altitude-vs-time plot of the latest SpaceX launch.
The weather is the one thing I don't like. Its never hot here. Its rarely even very warm. Winter is cool as expected, but 2/3 of summer is windy and foggy.

Everything else is probably exactly what you think it is.
You can't afford not to have one.
Yes, it's madness, unless your system is actually that complicated.

And I'm not sure designing a system to the strengths of k8s is wise either.
Is tunneling really the issue? The tunnel for the extension of the line 14 in Paris was completed last week, at a speed of 25 meters by day (twice as fast as expected). Yet the line won't open until at least 2020, many years after the initial deadline. Construction was stopped for more than a year because of groundwater flooding in one of the new stations, which prevented the boring machine from going through. I'm not sure the tunnel boring itself has ever been a technical challenge.
Where there are people there will be politics. Perhaps in the distant future when AI takes over it will be better.
Excellent advice. Imposter syndrome is very real and can cause people to low ball themselves but people should be asking for far more than they think. A contractor has to cover every benefit for himself and build a nest egg for downtime to boot.

But for a new contractor what to charge seems to be the struggle. I exited contracting when the .com bubble burst. These days I'd want to charge double my previous rate, possibly more.
I would not ride a non-Waymo vehicle out of concern for my safety. I’m a software engineer and am not impressed by the available information about their competitors development practices.
Me thinks you protest too much!
Depends on where you come from. In JS world, stable means there's a fork in it, and it's grayer than last weeks' meat. In server-side world, that means you're good to build a business on it for 15 years
Wendys and Pizza Hut had them.
Web application from scratch, Part IV
I'd go further than saying "doing actions against an id is a shortcut". I say it's an antipattern. Ids should only ever exist at the edge of your system: When you're taking serialized data in and turning it into objects, or you're taking objects and turning them into serialized data out. That serialization should be handled completely separately from your application logic; you shouldn't see (non-opaque) ids in your application logic.
Well, the one I use is CouchDB. It is very practical. Others I can think of quickly are CockroachDB, Cassandra, and Riak. And there are many others.

Are you possibly limiting the term decentralized to blockchain DBs? That would be a stretch. Decentralized DBs existed for a long time before blockchains.
After a quick google I get two results that disagree:

* wikipedia claims ongoing investigations against 37 people involved

* Politicians are working on the Musterfeststellungsklage, a class action equivalent for the German justice system. Explicitly so that buyers have better odds suing VW.
Hey thanks for clarifying -- Maybe I've just been a victim too long, but those actually don't seem like distinct ways. As far as why you can throw an exception in pure code but only catch it in monad, much ink has been spilled[0]. I won't claim to completely understand the reasoning in that SO post and the linked paper[1], but the reasons for this dichotomy seem to be clear.

2) -> 5) are not ways of handling errors though, they're ways of characterizing/combining monadic computations that CAN error, IMO. In the end, it's still the errors-as-values (`Either SomeException value`) concept, but in combined with the fact that your computation is in a monadic context. Also, maybe I've just been brainwashed by myself to think that way after doing Haskell for this short amount of time.

In practice, how I throw an error from a monadic computation (I generally have never done it from pure code) has been pretty well-defined, I haven't had to go down this particular rabit hole much at all -- ExceptT is what I've used the most (I've done most of my work with Servant[2]). Honestly what I've had problems the most with from my haskell code was dealing with the database or mail servers and tcp sockets and stuff -- stuff that failed at runtime because I put in some bad code Haskell couldn't check before runtime.

That said, monads & monad transformers are indeed a complex concept, and are very confusing to beginners (I'm still not 100% confident in my knowledge of them), so this is definitely a point against Haskell.

And of course your earlier point about unsafe functions in the std lib is as valid as ever.

[0]: https://stackoverflow.com/questions/12335245/why-is-catching...

[1]: https://www.microsoft.com/en-us/research/publication/tacklin...

[2]: https://haskell-servant.readthedocs.io/
I agree. Metrics have side effects as well. Optimizing for particular metrics can make an organisation incur tunnel vision, and leads to some really perverse and inefficient practices that don't really achieve the spirit of the metric.

Think hard about what to measure and not measuring anything at all is totally valid. Just talk to the humans in your org to see if they're happy and if they need any particular changes.
To be fair, better implementations of this (mix your own flavored sparkling water machines) are pretty nice to have around. I'm not sure they're worth $1000/year but they do cut down on waste from plastic soda bottles and cans.
I remember reading the book, the inmates are running the asylum. Where it talks about how Engineers take things like the alarm clock which just works but we make it over complicated.
Market pressures aren't fixing it, at least not fast enough to prevent a lot of pain to actual living humans. Yea in the long term it might be fixed, but in the here and now people are hurting. When I was out of college and stuck in retail I had to decide whether I was stealing food or medicine that week or going without, because those jobs don't pay enough to live. I am lucky enough to be talented enough at software to get a job doing it, but you can't expect everyone in the population to have those skills.

Expecting market pressure to take care of everyone is condemning people to die. I agree that the market is more efficient, but that efficiency comes without any sort of humanity. There are people who have no talents that are worth enough in our current economic configuration to earn enough to live at market clearing wages. Should we just let them starve or go homeless because of it?

I also agree that planning a 'right mix' of people does reek of totalitarianism, but the other choice isn't any better.

I don't see how letting the rich choose who gets to live a decent life based on whose most useful to them is any less totalarian when our society is channeling more and more wealth everyday to a small group of people.
Nonprofit blockchain technology use for charity
Red apples usually are coated in ground up beetle to give the bright redness colour. It’s considered non toxic. Donno if that’s the same as what you’re referring to. I think it’s called Shellac.
Which in my perception is still not nearly as hard as other industries would have been punished for similar crimes. I did not claim that they don't get punished at all.
Maybe it's the stockholm syndrome talking, but this sounds like a feature to me -- The type that represents a non-empty list and one that can be empty are distinct. If a function is a mapping of inputs to outputs, then those two functions are (and should be treated as?) distinct, despite the fact that one result space is clearly the subset of another.

The problem is I don't know much about the List.NonEmpty type -- it seems like it would be almost trivial to implement it while maintaining List-compatability, but clearly it's not (and was frustrating to use) so...

Your point is definitely true, some things like that are very frustrating to deal with in Haskell -- especially when you expect something like that to 'just work' and it doesn't.
That $800 plant isn't even a cactus as advertised (much less a desert cactus).

Cactus are native to the Americas. The plant in the photo is a
Euphorbia (closely related to the poinsetta sold around Christmas) and is from Africa. It looks like a cactus but isn't related at all.

One way to tell the difference between cactus and these "imposters" is that real cactus have spines protruding from a detachable pad that can be pulled cleanly off (the spines are an evolved leaf and detach in a similar way). The spines of the Euphorbia on the other hand are part of the main body of the plant and can't be cleanly detached.

Probably only a few plant nerds really care, but for $800 they shouldn't call it something it manifestly isn't IMOP.
The citizenry largely does submit to the rule of law regardless of what the government does. The consequences are too severe to do otherwise.

Especially when it comes to the CFAA in the US.
Ive brought my 2017 mbp to the Apple store in soho (NYC) twice to get stuck keys fixed. Both times it took about 10mns. (and they said they fix the new keys very frequently...)
>Types that don't actually do any constraining are useless.

Exactly!

I can make CartId/ProductId/WhateverId types that are just wrappers around String. But that's not actually using the type system to enforce correct behavior. Nothing in the type system prevents me from violating the invariants of my application.

I would only actually be using the type system, if my types were actually constrained so that only valid CartIds, that refer to real Carts, could be created. Then I would actually have a useful invariant, which the type system guarantees cannot be violated. (inasmuch as the validation step when creating CartIds is correct)
Not part of netflix marketing ha. But yes i recently watched the documentary and found it very interesting and thought hn might also.
I use https://github.com/ingydotnet/git-subrepo I find that much nicer

means for most people using the repo they don't have to worry about the other repos.
> actually show some caring attitude toward others of their same species.

because the person doing the bad stuff does not see the suffering of the end user, even if he sees it, he does not care.
Surfing with the Linker Aliens: Solaris Linking and ELF Blogs
How does one figure out who a given snapcraft packager is? E.g. Sublime Text says it's packaged by Snapcrafters. Who is that?
Things like this make me wonder about our Keurig, which could have been replaced years ago with a Bunn dual burner for less money and probably better coffee. Plus if everybody went to the breakroom at 9, 12 and 3 for coffee, collaboration would improve.
I think you're overcomplicating it: people often prefer their gain to others' gain.

And especially in the business mindset, the impact of the work you do is pretty much always downplayed. Same reason autoplay videos exist. It's very hard for a business structure to say no to an increase in profit due to a negative that's hard to quantify and that won't also result in an increase in profit.
I disagree. Have you ever done this? I've been on the other side of it. (I own my own company.) Get suggestions from staff & follow through. In the real world staff have lots of wants, nice ideas, and "wouldn't it be good if" suggestions. They have very little concept if other people are interested in their idea, if people would actually continue to use the idea once the novelty wears off, and so on.

In my office here's a list of "staff ideas" and how they turned out:

- "Let's have standing desks!" After the first six months, not a single person in the office has changed the height of their desk in over a year.

- "Let's get a microwave, so people will start bringing their lunch from home." The microwave gets used once a week (by the person who requested) and now it is one more thing that needs to be cleaned weekly.

- "Let's have couches, so people can work from places other than their desk!" The person who requested this used the couch every day. After he left the company, no one else has ever used it.

- "Let's buy more whiteboards and put them up in various places so it is easy to have discussions anywhere!" Of the 6 whiteboards, 5 of them have had the same writing on them for over six months. One whiteboard has had the same project diagram for over a year. The ink is so set I couldn't even erase it last time I tried. Only one whiteboard ever gets used -- the one we had before the suggestion.

- "Let's get croissants/yogurt/fresh fruit/whatever". In 90% of cases, the person who requested it is the only person who ever eats it. After a few months I have to discontinue ordering it because we are throwing away 90% of it.
South Carolina! :D
That obviously solves the problem. But do you see an application where Fluree adds value over just storing everything in the private database that keeps your PII?
try using https://github.com/ingydotnet/git-subrepo that gives you the ability to simply clone a repo.
DNA of every baby born in California is stored. Who has access to it?
Yeah big cats are one of the more merciful predators in that regard, many animals begin eating their prey without bothering to kill them first.
by "1337 hack" I concur, but "custom html 0day" sounds oddly specific imho.
Stylometric analysis is a thing.
“While vehicles may react autonomously in the event of emergency situations, humans shall regain control during more morally ambiguous events.”

That’s not going to end well. As we saw in the AZ crash, when there’s a situation at hand, it’s hard to transition the attention properly quickly over to a human who has been not paying attention because while the car was handling everything just fine. It’s unrealistic to think that’s possible in anything less than at least 10 seconds.
> Everything we do is a hopeless mix of cultures... It's like trying to stake out Mississippi water in the Gulf of Mexico.

Cultures influence each other, but it’s silly to argue they don’t have a meaningful geographic origin. Italians are right to take pride in Italian food. Would you say a carnitas taco is equally Mexican and Chinese?

Cultures are a real thing, usually tied to real places and real people. Pretending otherwise is approbation, but it’s also just rude and incorrect.
Thanks for the paper, that changes my point of view.
Pizza is a forgiving medium. Usually paired with sandwiches and fried foods which are likewise near indestructible.
LSD (a huge dose of liquid, straight up ego death for 6 hours) and DMT have both allowed me to experience entities and “converse” with them in a manner of speaking. An enjoyable couple of experiences, but I can understand why it’d be scary to experience outside of a psychedelic trip.
I’m talking about a scandal from a couple years ago where apples were submerged in buckets of toxic paint to get a red color.
>It is strange reading this - 330 generations ago, the entire world was communist

I'm sorry but this is a fairy tale view of human nature. People have always been selfish and have formed into dominance heirarchies. All you have to do is look at chimpanzee social behavior to see that unequal, heirarchical societies have been around for at least millions of years. True communism has never existed on a wide scale in human societies.
There is another program I use for editing that is older than ed.
It is written in asm.
I think it may actually be faster than sed (and sed is faster than AWK, Lua, Perl, Python, etc.)

1.spt:

; x = " - baz"
; y = " - elephant"
;a a = input :f(end)
; output = a
; a ? x :s(d)f(a)
;d output = y
; :(a)
;end

spitbol 1.spt < foo
How the shape of fonts affects our perception of what they describe.
No it’s not a prerequisite. When I started programming I didn’t know English, and it didn’t matter.

I actually learned the meaning of some words in English because I knew them from programming.

One example is while (mentre in Italian), I knew the difference between a do/while vs a while loop in C, and that helped me with the meaning/use of while in the spoken language.

From time to time I discover that some words have a meaning in English, other than tech. For example ping, I thought for many years it was just a network command. In Italian we “Italianize” many words, for example I often say “pingare” (to ping), that has no meaning in my mother tongue, so often I don’t think it has to have a meaning in other languages as well.

As for typing in non-latin alphabets I don’t know. My 2 cents on the topic are that I buy US keyboards and set international layout to be able to type letters with accents (needed in Italian) vs I hate Italian layout with accents but no parenthesis for programming. So my guess would be no: you need a US keyboard and thus alphabet to program.
Depending on when you were using Scala, it could have to do with abuse of implicits; back in like 2012/2013ish there we a bit of a craze with using implicits everywhere which would make any sort of IDEs job incredibly tough and compilation painfully slow. I write Scala in Emacs at the moment so I can't speak to intellij but Emacs certainly isn't the fastest editor around and I've yet to run into major issues.

The core team also finally realized how important tooling is and recently dedicated a team (a bunch of teams?) to working on language server based intelllisense which is nice.

I'd highly encourage anybody who last used Scala a while ago and didn't enjoy it to give it another shot at some point in the future. Lots of improvements over the past few years (and some really cool stuff coming up with Scala 3) make Scala IMO easily one the best languages around.
“We didn't chase the fad of using every Intel CPU feature”
I wouldn't be so brash as to just dismiss the substantial amount of research into muscles and posture. Especially without presenting any actual evidence yourself.

After reading most comments here, it seems Alexander is an alternative approach to thinking of posture. Not sure how you could prove it is the "correct" one.
Agreed. Bears in Japan avoid humans if they can; the general advice when walking in the forest is to make a lot of noise (singing songs etc) so that they can give you a wide berth.
Or the individual could have made all of that up, nothing here that validates the story at all, could just be a smart kid trolling vice.

I mean really no citations except for what the individual provided them and some half-baked analysis that words from the kaspersky report were in what they received.
> I'm well under-averagely endowed, a member of an undesirable race, and quite frankly think the age for acting as a goof for me has passed. I don't know how/when to ask women out, and I'm afraid if it'll be interpreted as sexual harassment. I'm no good looking chap for it to be considered flirting, might as well endure loneliness than social suicide.

You are sabotaging yourself here.

You won't find a girlfriend as long as you believe this story to be true. Girls don't care that much about the looks of guys, but they do care that they are clean, well dressed, etc. They also care about confidence and successful men. But even then it doesn't matter that much.

We have an expression "On every pot there is a lid that fits". I've met girls that were attracted to older men, to asian guys, etc. You don't have to be attractive to the average girl, you just have to find that one person that fits with you.
Moved to Tokyo

Bought a bike

Started bike camping
I've had bad experiences with Snap.

I understand that with Snap devs have to bundle their own dependencies and take care of upgrading, which is bad if I understood correctly.

In my case, a few programs I had installed needed to be connected to other snaps, and they would suddenly stop working for no apparent reason. Only by trying to launch the misbehaving program from the command line I'd find out I had to update the connected program(s).

Has never happened to me with Apt, so my opinion so far is that installing .deb files is vastly superior, at the moment.
Priyanka Chopra's bad news from Hollywood, related to 'Quantico'
Sorry, I meant physical mail not email.
You can not express the needed instructions in standard C or C++ code. Some compilers may have intrinsics. The inline assembly for gcc on PowerPC might be:

__asm__ __volatile__("eieio":::"memory");

Normally the CPU will freely reorder loads and stores that go to different addresses. It is not necessarily reordering instructions; the reordering happens on the way to the memory bus.

That special instruction helps. It will ensure that previous accesses to IO memory will be done before any that follow. It also has a similar effect in RAM, but sadly not between RAM and IO memory. For that, which might be needed for a DMA engine, you'll also need the "sync" instruction.
https://mobile.twitter.com/marcoarment/status/99499163232698...

except when it isn't
This has been the case since around 2004 at least. I reported it to the press at the time, without much fanfare.

Things to note with the SMS opt-in.

* You can abuse the opt-in message of "Real Name wants to track..” by registering with a real name of 160 blank letters (depends on provider) so the recipient only gets a blank SMS

* You can spoof the reply opt-in as th confirmation as they all use is a fixed string. Spoofing SMS sender is mostly trivial.

* Few services appeared to implement the regular notification to the tracked party

* As I understand it, implementation of opt-in was the responsibility of the service provider, not the telco, and the telcos did not seem to audit this in any way.

If anyone cares to investigate further, happy to give more details.
The trolley problem has and continues to be a stupid distraction for blogs and would-be pundits to insert some kind of false ethical puzzle into what is a very clear set rules of the road.

There is no trolley problem. When vehicles are on the road and operating according to the rules of the road, there is no choice about whether to swerve to avoid something at the expense of another. Cars are not being commanded to leave the road to avoid crashing into something on the road. You stay on the road, stay in your lane, and don't get involved with people on the sidewalk, etc.

If there's a bicyclist, motorcyclist, etc, they are just as much a vehicle as you are, occupying their position in another lane, or in front/behind you. You stop in your lane, change lanes if safe, and that's it.

There's no, "sacrifice 1 to save 3" kind of argument.
Is it really honest to say "gym made my posture worse", when actually it stemmed from overtraining certain muscle groups over-proportionately?

What do you think of the thesis that the right gym exercises might tune your muscle's "normal state" to more closely resemble "healthy" posture?
"He cannot picture his mother's face."

How common is the ability to picture people's faces in their heads? Is it more close to 60%, 90% or 99% of the population? I'm asking because I also don't have that ability. I think I lose the ability to picture people's faces a couple of seconds after seeing them, while preserving the ability to recognize them if I have seen them often enough.

"He can't recall his life."

What type of recall are you referring to? May I assume that factual recall is still present while visual, auditory and emotional recall is inactive?