skysight-inc/HackerNews huggingface dataset:
I love how Netflix is so open about their architecture, but I have one strong criticism.

After trying to get Spinnaker running, which is like 10 services for a fairly straightforward application, and reading about how Netflix has Cron jobs running to 'clean up' data inconsistencies... I started to think Google has a better approach to scaling the code.

Netflix is strong on eventual consistency, and making services as small as possible. Having tried to build something in that image, holy shit the issue of distributed transactions becomes a nightmare.

We had to build error handling in everything to handle the failure of everything else. Maybe half our code was 'just in case' to deal with exploding failure scenario complexity during service call fanout. If your service calls out to two or more services that also do data updates, God help you. There's no call ordering or way to make sure both succeed or fail, so if one does you could easily end up in an invalid state.

Contrast this to Google's approach. Maps is one service, Docs is one service. Their service boundaries are much larger so they can shove the complexity of consistency and rollbacks back into the DB where it belongs. And they avoid eventual consistency as much as possible.

If Google can make these big 'monoliths' work at huge scale I don't see any advantage to 'microservices', it's just a bunch of pointless overhead. I think Netflix has had a little too much industry koolaid ...
Please don't use code blocks for bulleted lists, it makes you comment impossible to read on mobile.
We have a 10 person daily standup that takes 30 minutes. The difference is leadership I think. Our meeting host struggles to cut off discussions that should be taken outside of the standup.
If we are speaking of ncdu (https://dev.yorhel.nl/ncdu) nnn has a much faster disk usage analyzer mode. And it's dynamic while ncdu is static (by default at least). nnn has a path copier which can copy the file names you would like to delete to clipboard. You can a shell in the same directory using `!` and delete the files.
Similarly, I have observed 'abject' going with 'poverty', usually.
This approach eventually breaks down. Could you give a useful colorized explanation for Urysohn's metrization theorem? Or the Vitali covering lemma?

Colors are useless. Just learn to think abstractly. This is what (supposedly) distinguishes you from lesser animals.
Nothing precludes a similar approach in Python:

def backoff(wait=5, exponent=1.5):
while True:
yield
sleep(wait)
wait = wait ** exponent

for backoff():
connect_to_a_thing()

Here's the question: do you need exponential backoff in more than one place? Because if you don't, bundling all of that doesn't buy you anything and the original works just fine.

> This is trivially composable with any other control flow you might want to write in Ruby.

And it is actually trivially composable with other Python control flow, it's just a backoff iterator, you can drive it however you want, or compose it with other iterators (e.g. enumerate() to know which instance you're on, islice to stop after a certain number of tries, …)
It would not change at all, I don't use them...
Alan Shreve demonstrated a version of this in Go: https://www.youtube.com/watch?v=dSqLt8BgbRQ
Also dont be unattractive.
I think its called the halo effect.
Why not just use Anaconda?
I like the topics Phillip lists at the end he especially wants to focus on in terms of delivery from Microsoft. Achieving all of these as well as a 4.2 version of the language would be a great win for the F# community.
I used to work at a place where if a meeting did not have a clearly defined agenda and purpose, it was automatically considered optional for all requested attendees.

Worked out pretty well.
"Most people I know who invested in bitcoin/cryptocurrencies don’t care about the implications (+positive or -negative) blockchain or cryptocurrencies will bring. All they care about is how much money they can make in the shortest way/time possible. Plus you’ll notice people who have invested in bitcoin/cryptocurrencies will constantly encourage or shame people into buying cryptocurrencies they have bought, because:
- That’s how they justify their biased and idiotic decision in investing in bitcoin/cryptocurrencies
- That’s how they increase the value of bitcoin/cryptocurrencies. The more people put faith and invest in something, the more it’s worth goes up. It’s also about comforting themselves when the bubble burst and it’s not just them who took a hit or went bankrupt, it’s their friends and family as well. That’s psychologically comforting."
In continuation of my earlier comment, nnn has a copy file path to clipboard action (https://github.com/jarun/nnn#file-copy-move-delete). I believe we can extend it to append multiple filenames which can then be deleted from the spawned shell.

Ideas are welcome! nnn is under active development. ;)
Well done - and thanks for doing this. I am curious to know what motivated you in the first place, and how you managed to achieve this.
I think that’s pretense. Homeowners use zoning primarily to protect property values, not build up communities. The suburb where I live now is incredibly neighborly. There’s also a bar within walking distance and a little corner store. Part of the reason is that lots are tiny (about 1/12 of an acre) and there are few cul de sacs so you actually see people walking their dogs, etc. Today, parking, lot size, traffic management, and other regulations would make it illegal to build something like our neighborhood. The minimum lot size is like 1/4 of an acre in our county! You’re basically obligated to build suburban hellscapes where you can’t even go to a neighbor’s house without getting in a car.
Just trying to get ahead and put best foot forward

Winks awkwardly
I have great rapport with my manager. And he agrees with me on 1-1s, he was super approachable before the 1-1 edict was handed down to him, and he went out of his way to touch base with you regularly. His life right now is wall to wall meetings all week long.

You may think your fixed 1-1s are effective for you, but that doesn’t mean your reports all agree.
Just as different psychological effects ensue from cannabis products when eaten vs smoked, the health effects of eating vs smoking various pesticides present on cannabis products are likely to differ.

While some testing and monitoring of health effects of various pesticides when they're eaten from food has been done, we really don't know what effects those same pesticides will have when they get in to the human body through smoking. The smoking route of administration could potentially be much worse for some of them.

Elsewhere in the thread someone mentioned the possibility of growing marijuana organically. Well, organic pesticides aren't necessarily better for you than inorganic ones. Their effects really have to be studied on a case-by-case basis. Simply using organic pesticides isn't going to magically save you. Going pesticide-free might, but then, well, you have to deal with pests.
Yes, it really does.

The issue is that the inert nitrogen has a really important role in carrying away heat from the flame. Fire is a dynamic reaction where temperature and speed is determined basically by how much heat a set of reagents produce/how much heat is carried away in the waste products. Nitrogen doesn't participate in the chemical reaction, but it gets heated alongside the waste gases, and so it reduces the temperature of the fire.

In a pure 0.2bar oxygen atmosphere, anything that would smoulder or burn slowly in standard atmosphere burn rapidly with a bright flame instead, and some things that you'd normally not consider flammable can sustain flame.

This is the reason the space station maintains a normal atmosphere instead of a thin pure oxygen one.

Conversely, if you double the amount of nitrogen (without reducing the amount of oxygen) in the air, almost nothing burns anymore.
Tiny ELF: Merry Christmas in a 96 byte executable
I agree about the UX, but it's just so damn reliable.
Even if I personally saw a green little man flying around my living room, my mind would more likely assume it was government technology masquerading as an alien.

It'd take something pretty incredible, orders of magnitude more advanced than I could phathom humans creating, to convince me of legit alien intelligent life.
I know I'm biased by familiarity, but I really like that 0 is truthy in Ruby. I often find that I want to check whether there is a number there at all, whether it is 0 or not, and a truthiness test works well for that.

Is there a good reason, other than expectations brought from other langs, why 0 should be falsey?
Many thanks for the reports you submitted!
Those doing the questioning try hard to blend the line between "we're just talking" and you needing a lawyer. The truth is, you need a lawyer precisely because you're "just talking."

We've also been conditioned to believe that retaining and using a lawyer should be conflated with guilt.
I’m continually impressed by how understandable golfed Ruby tends to be, especially when compared to Perl. Golfed Perl is completely inscrutable, whereas golfed Ruby is often times no less understandable than a longer version.
This is Rust. Not exactly a language that makes compromises on performance for the sake of simplicity.
If you think this sounds stupid - try, it works surprisingly well!
I have no idea how disabling JS is going to keep they from reading your tracking cookie. But if it makes you feel better, then go for it.
Pesticides are not the only solution to deal with pests, it's maybe the easiest to understand but is also the worst human made solution. Nature has solved this a problem long time ago through diversity of plants, insects, and animals.
Ask HN: Language/framework suggestions for next web project
Hey HN, I've been growing more and more disgruntled with dotnet core for various reasons, so I'm looking to branch out into other languages for my next web project. I've got a lot of experience with C#, F#, TypeScript and JavaScript. I love F# and functional programming, so I'm hoping to find another language that supports at least pattern matching and pipe operators. However I've also got a lot of experience with object-oriented programming so I wouldn't say no to something like that either.

My main requirement is that the language has good tooling that works on Windows, specifically WSL (native Bash on Windows) and VSCode, though it will be deployed to an Ubuntu server in the end. I prefer static type-checking and immutability. I don't have any hard performance requirements or anything like that, I'm just going to be building small web app projects.

I've done a little bit of research and I'm interested in looking at Haskell, Go and Kotlin. I'd love to hear suggestions from other devs here on languages/frameworks I should look at next. Bonus points for a language that has some kind of language-to-javascript transpiler like F# does with Fable.

Anyway, Merry Christmas and Happy Holidays!
Fuzzfactor, can you contact me (ken.shirriff@gmail.com) about the HP 1000? I found someone who is interested in it.
Nice followup on how termite mounds support biodiversity and fit into the larger Savannah ecosystem: https://www.youtube.com/watch?v=8eH6X2rAQEs
It depends on how strong your urge to drift is, but doing some small physical task can help. Some ideas: household chores like washing dishes or folding laundry, going for a walk, going for a drive, maybe knitting?...
Alzheimer's and the Brain
Well part of the problem is that real estate provides a large return without occupancy, if you reduce that return then landlords will seek tenants in order to make a return that beats other investment options.
You also have to accept the possibility of being creepy. People have varied and different responses to things and there is no way to 100% eliminate the possibility that any given person sees you as a threat to their safety. All you can do is take reasonable precautions so that a reasonable person would not be creeped out. Keep in mind that "reasonable" is culturally-dependent, so you should pay attention to the local social norms as aspirationally advocated and actually practised. One useful thing to do is to go into a situation with at least one friend so that you can check in with them when situations are ambiguous.
Red Lang goes blockchain
SHOCKING NEWS 2 pause it
Plausible deniability. For example, from the trimmed sector you can inference that the disk is being used.
On a related note, Sky News body language review of 2017 is quite fun.

https://youtu.be/l4n67_dbaC0

It’s interesting how the eyebrow flash and the smile are promoted in this BBC article on charm, yet perhaps did not do Hillary Clinton so much good in this age of the strongman. Women have it tough getting the tone right in politics and business.
No it's actually a DRM limitation. You're not allowed to watch high definition content of your platform doesn't support latest Widewine DRM even if you have the HW or SW decoding capability.
But you might have more money than you have time, in which case it makes sense to ship stuff from Amazon, and use the time you'd spend buying power adapters or extra socks or whatever to go and see the Math Museum or something.
Profit sharing in the very simple and literal sense, as in X% of company profits are directly given to employees.
I didn't say it was new, I said we are actively killing earth worms on our planet and destroying self renewing systems. One doesn't have to "use" earthworms, they are part of nature and work without needing any guidance our inputs. Simply leave the worms and other soil biology alone and they self renew!
color me shocked: this is really a rust web framework (compiles to wasm). i was expecting a backend framework that supported react development on the frontend in some non-trivial way. wow. very cool.

but i thought wasm couldn't manipulate the dom? is that not the case anymore?
Ow! Warn people before you put in a slippery slope, I almost broke my leg!
A typed query language will definitely help for anything you store either locally or remotely. In this case, it would provide information to compiler to do most of the type checking for you.

It is not only GraphQL itself I had in mind though. It is also about implementing a client library similar to Apollo GraphQL where you can provide watch queries wrapping your UI components. Watch queries provide great developer ergonomics for handling the flux data flow, that is, whenever there is a change to your data in store, if the corresponding elements in datastore are watched by a query, the UI components wrapped by this watch query are re-rendered with new data, automatically.

I think this combination will help desktop development by helping to reduce boilerplate code and by providing a convention to development team. We enjoy this combination already in web UI development for the last one year, in our team.
I don't exactly have an attorney on retainer or a generous "legal expenses" cost center.
Merry Christmas!

But social atomization and poor health turn out to be terrible dance partners for people who expected more hype their age.

Our society is too willing to consider the treatment of acute problems as the highest good. Instead of saving trillions by actually prioritizing the major risk reducers (diet, exercise, and de facto calorie restriction via intermittent fasting), we spend trillions on the people and resources to avoid dealing with the roots of a lot of health issues.

Nietzsche was right in denouncing the worshippers of "higher values" who then devalued the fundamentals of life, as if all thinking was done in an ex nihilo space.
Rider IDE from Jetbrains supports both C#/F# and when they initially launched the .net core + F# had some gaps, but they should have fixed it by now.
It's what customers do in free market to get better service.
Some good recommendations here! I do think that in the original parent post, but not in yours, the implication is that people who had problems had simply not found the correct motivation to solve them. I appreciate your take too though, and think I was maybe too hard on first poster, who maybe didn’t mean it the way it sounded.
Each cycle you waste on mobile is milliwatts you're burning from the battery. Even if the user doesn't perceive it their battery will appreciate it.
Nope. JS is notoriously bad at this matter having several falsy values. At least Ruby keeps it at minimum, only false and nil.
Why not use an isNumeric() to check if there is a number?
Can we afford free music and still pay creators fairly?
We are releasing the alpha version of an ad free music player (Skyhitz - https://skyhitz.io). Our vision is to make music available worldwide at the lowest cost possible, if the community builds itself strongly enough we might be able to enjoy great music for free and without ads. Creators will also be rewarded fairly by building a direct bridge between artists and fans. BTW we also plan to use blockchain technologies to enable payments between the community at a very low cost. What are your thoughts? We are open to hear some innovative ideas to work on.
This seems a good starting point https://stackoverflow.com/questions/37334668/is-there-a-pyth...

TLDR: not as nice as RSpec but close.
Now how long until Google breaks the API again? They did that the last time people started implementing Chromecast renderers in open source projects.
Instant webpage translation from English to Chinese
Correct. Do not talk to law enforcement without legal representation present. If the FBI shows up at your door with a search warrant your first action is to take the warrant and call an attorney.
it's not any more expensive than allocating a new object in Javascript. possibly less. if you want immutable models, allocation will most likely happen on mutation.
Wasm can't directly, but it can call into JavaScript, which can. That's what this does.

DOM support for wasm really means native DOM support, which removes that layer of indirection, and therefore will make it faster.
I don't think it's that hard, but it depends maybe a bit on how long your codebase has evolved through CUDA.
On a related note, I'm a long, long time HN'er and huge F# fan. A few weeks ago I received an invitation from Uncle Bob to visit him and do a case study using F#.

It wasn't a training video, much more of a fun coder-to-coder week where Bob and I went through a few sample problems. I tried to show him how thinking in F# is different from the C#/Java most of his viewers are familiar with. I also tried to share some of my excitement with where the language is and how cool it is to have fun coding again.

You can see more about this on the F# reddit group. There's a post where I asked the community what to go over [1], and a post detailing how things went [2].

1. https://www.reddit.com/r/fsharp/comments/7i7ssp/tips_for_int...

2. https://www.reddit.com/r/fsharp/comments/7k3chx/update_on_th...
JSON seems like a weird choice for a kernel-parsed data structure. Or perhaps it's just parsed in userspace and signaled to the kernel in a more direct format.
You're forgetting the existence of `find` which easily justifies `find_all`
Can't imagine it being a possibility because of so many variants and custom ROMs available. I am sure the ROM developers, kernel developers would have noticed something odd.
Could you elaborate on what you consider these "problems" are? The way I would break down these "problems" are:

Overhyped marketing (Face ID, Las Vegas self-driving bus, HSBC voice id, "AI imagines a Bank Butt sunset")

Questionable design choices (Amazon Echo, Alexa)

Adversarial attacks ("Google AI looks at rifles", street sign hack)

Bias (Allo turban emoji)

wtf is this (Facebook chatbot)

ML does have real shortcomings, but the problems in this list does not exemplify them well.
https://www.youtube.com/watch?v=q1aR5OLgcc0

For more on this topic, please research:

- no-till farming

- polycultures (no monocultures)

- cover crops (or cover soil when not in use)

- reduce or eliminate chemical inputs

- permaculture
* the spacing between items is entirely wrong

* the bezels don't look native (but look pretty much like 1990 toolkits like Motif)

* In your first screenshot:

- The checkbox seemingly changes size whenever it's checked or not.

- Likewise for the radio button, and the "small" one for some reason seems aliased or something like this.

- The small Tk logo in the tree view is also aliased and let's not talk about the canvas which looks like it's taken straight from a 1990's example.

- The tab sizes are weird and the spacing between the icon, the text and the border is uncanny, to say the least. Here's some example with Qt : https://i.stack.imgur.com/eoHaS.png or GTK: https://lists.gnu.org/archive/html/emacs-devel/2010-04/pngNP...

- The form containers (Label 1, Label 2, Label 3, Label 4) all have different sizes ; their bottom should be aligned.

* For your second screenshot, hre's another one fairly similar in concept (looks like it's made with GTK), but much prettier:

https://i.stack.imgur.com/7v6Ja.png

The most blatant thing is that the label "Direction" isn't aligned at all with the widgets that follow it. The placement of the widgets seems quite random, too. And why is there so much vertical spacing between the three rows of widgets ? But overall, notice how all the widgets in the GTK one line up nicely and have consistent margin and padding.

As an example I did a rough sketch (without caring too much) of the UI of the first screen shot with Qt. It took me 17 minutes (http://sendvid.com/f6gbp6el), with no prior try and without of a lot of habit with the Qt designer: https://i.imgur.com/4MLh48R.png and already I find it to look more professionnal (except of course the goofy canvas try :p). Another fifteen minutes and I feel like most of the Tk ui could be matched without too much stress.
> Using JSON here is a very strange choice.

I agree! Perhaps the userspace administrative tool (which links json-c) parses it and converts it to something more like an ioctl struct for the kernel.
It can through a thin bridge.

See https://github.com/koute/stdweb
Assuming you're talking about me, what in my comment came off as defensive? I definitely do not consider myself part of the whole "futurology"/Elon Musk/AGI in 15 years group, but I don't think this list exemplifies machine learning's weaknesses at all.
Haha, the last one is so stupid I think the newspaper should be better off closed. Clearly non-AI people writing about what they don't understand.
Many Europeans regard Americans as insincere in social interactions. I suspect many of these "tips" would fall very flat outside the USA. Americans always want to be your best friend, then it becomes clear at the end of the conversation that it meant nothing to them. Kind of a shame as it masks genuine kindness.
Chinese from China here.
I live nowhere near these places (Xinjiang and Tibet), I can say I agree with you mostly, but I highly suspect my opinion is popular here. The level of surveillance is scary but as discussed above, it is probably not uncommon. What scared me more is that any of these is not up to discuss and to be acknowledged in China, like even though I am shocked by this article I would not share it on any of my social media for obvious reasons. And for people like most of my family and friends who live far away from there, if you personally don't know anyone from Xinjiang then big chance you don't know what's happening there as it never broadcast in any sort. News like this can only be read by passing the GFW and by people who know English, real journalism in China is dead. So when 99% of this massive population only fed on what the authority gave them, the authority has virtually no control and everyone just live at their mercy.
So basically if someone agrees on the safety > liberty, then I say lucky you. For anyone who disagrees with the authority action, can only suck it up and accept the reality.