skysight-inc/HackerNews huggingface dataset:
Echochamber.js is missing from the list.

> All of the commenting, none of the comments.

> When a user submits a comment, echochamber.js will save the comment to the user's LocalStorage, so when they return to the page, they can be confident that their voice is being heard, and feel engaged with your very engaging content. It does not make any HTTP requests. Since LocalStorage is only local, you and your database need not be burdened with other people's opinions.

https://github.com/tessalt/echo-chamber-js
Have you even seen what happens when X is reported for any other company versus when the same X is reported for Apple?
Because it's a hassle, people have limited time and it doesn't appear to provide much value.
Options can indeed be like gambling, but that doesn't mean we should restrict it. It'll just serve to screw over the non-rich just as the "distinguished investor" rules do.

The system is already structured to favor the wealthy by denying access, restricting it because of some problems only serves to help them.

Additionally, while the gambling house edge might be 1-7% in a casino, stocks are real assets (mostly) representing profitable companies (which on average increase in value over the long term).
"multinational companies need a neutral ground to settle disputes with competent judges without the whims of each company’s home base screwing it up."

This is definitely not it. The largest entities with the most IP at stake don't duke it out in the Cayman islands.

Moreover, Cayman - and any other offshore - does not have nearly the sophistication to handle complicated disputes.

'Sound rule of law' is one thing, but when laws are not very clear or complex, without a lot of historical rulings, without a sophisticated judicial + participants ... then it's not going to be part of the value add.

If you're really concerned about 'rule of law' then you want to be in EU/US/UK, possibly Canada, Australia, Switzerland and you don't even want it to touch other jurisdictions.
I am of the opposite view: As long as there are no edge cases, supporting more types in data languages is good, it leads to failing faster.

Too many types could get overwhelming, but I like where amazon's Ion is [1]. It actually supports multiple number types, with decimal being the default for values with a dot.

> you would need to know that when your number needs more than float precision or otherwise doesn’t follow the rules, it should be in quotes

Not really. The configuration value should either be a number or not, which is determined by the application reading the config. As a config writer you only care to make the type match (so, in json, if the application uses number you make sure you use number, and if it expects a string you use that)

(disclaimer: I work for amazon, but have nothing to do with Ion other than having used it. Opinion is my own, not my employer's, yadda yadda)

[1] http://amzn.github.io/ion-docs/
It means the author has to worry about car bombs from more than a single entity.
You could try spinning up https://github.com/precursorapp/precursor

The cloud version is running at https://precursorapp.com
The electric potential is relative. It's potential differences that matter.
They have it right.

The less power the state asserts, the more is left for the biggest corporations to use, throwing their weight around, dominating everybody smaller.
Any programming language runs on a huge stack of dependencies. For most languages it‘s just named „stl“ which makes it okay for most people, funnily enough.

Hell, when is the last time you saw a company C++ project without boost and at least a dozen other libraries?
Just different agencies at the same countries.
It means the authors were trained to plot degree distributions of any network they come across, and hey, here's another network, let's plot some degree distributions
If you do that, you will immediately lose your iPhone, as the curse is transferable.
What do they insert? Ads?
The Panama papers really only make sense in the context of multinationals operating from regimes with some degree of transparency, i.e. the West, Japan, Singapore etc..

'Most' of the problems are in regimes where everything is nicely hidden i.e. Dubai, Moscow, anywhere in China.

Why would anyone do banking in Dubai, where there are absolute Monarchs who can do whatever, whenever, with their money, finances information, when they can go to US/UK/EU and have full legal protections? Because 'no transparency'. And that's it. Billions of USD intended for Afghanistan investment end up in bank accounts there etc..

What we really need are the 'Dubai Papers'.
Why bother? What value would it provide to him?
> I think avoiding numeric types is a good decision.

Only if this format is intended for use-cases that never need to deal with numbers.

> One should remember that any sane application will be parsing the config file into internal data structures and validating it anyway so it gets little benefit from the numbers being already “parsed”.

That statement couldn't possibly be more wrong.

Number parsing (and encoding!) is a decidedly non-trivial problem. You need to concern yourself with -- at a minimum -- all of the following:

- Unsigned 64-bit numbers.

- A series of digits that would be bigger than a 64 bit whole number. Convert to float? Truncate in some way? Error?

- NaN

- Infinity

- Negative zero

- Denormal numbers.

- Differentiating between decimal/currency types and floating point numbers. Not all decimal values can be exactly represented as floats!

- Efficiently encoding floating point to use the minimum digits without losing precision.

- Parsing those minimal numbers with perfect "round-tripping".

- Doing the above efficiently.

- Securely too! Efficient parsers cut corners on sanity checks. I hoped you fuzzed your parser...

The above can easily amount to many kilobytes of extremely complex code. Look up "ryu" as an example of what Google came up with to make JSON number parsing reasonably efficient.

Meanwhile, reading a fixed-length number from a binary format can be done in a single machine instruction. One. It might not even take an entire CPU clock cycle! Okay, two, if you need to bounds-check your buffer, but there's ways to avoid that.

Afterwards, the bounds check is again literally just two machine instructions in complexity. That's not the difficult bit!

The difficult bit is the parsing.
I don’t think you understand how offshore works. You seem like someone who saw a bunch of YouTube videos. For example all re-insurance companies that back the US insurance markets are Bermuda companies, and this is explicitly OK in the tax code.
Who does he need to impress with his web skills?
same! I'll usually listen to chillhop tracks and it helps, and usually I'll just shuffle the same songs. And they can't be really good songs or that'll distract me.

Sometimes I'll also listen to Russian songs, weirdly that does it for me (I don't speak Russian)
Eliminate anything that is a distraction to you.

For me that means absolute silence (which means I can't ever get any work done in an open office). In these covid times I've rented a small private office very close to the house where I can hole up and concentrate (I have a younger child so silence isn't happening at home).

I turn off all notifications from every possible source. No emails, no slack, no phone. (My phone is always 100% on mute for everything, except calls from my wife in case there's an emergency).

Maybe most importantly, I take 20-30 minutes in the evening to make a plan on what to work on the next day. In the morning I just work on what I pre-planned. I will not check email or slack or anything at all until I've done 3-4 hours of solid work. Only then I'll check email in case there's anything new to care about. As soon as I check these communications the day tends to go downhill on distractions from dozens of discussion threads so I won't get anything else done in the day. But I banked in those 3-4 hours in the morning on progress.

When times are slow, sure, I'll check email/slack in the morning and won't get anything done all day.
The microwave I grew up with (70s/80s) had a log-ish scale. The first quarter turn was 0-60s, the second quarter turn got you to 5 mins, etc. I don't remember the exact gradations but I remember it was very easy to get almost any time you wanted.

I have hated every microwave since.
I worked at a company that payed out $700M in an IP dispute involving offshore entities (and worked for a while in an offshore entity, Monaco, though it's a different kind of 'offshore').

Edit: FYI your 'Bermuda' argument doesn't help make your point re: 'neutral ground IP law'. The reason companies exist 'offshore' is to avoid taxation and scrutiny, which is why they are there.
I imagine it’s difficult to determine whether someone has been infected given the short lived and unproven nature of the antibody response. Symptoms, on the other hand, can be self reported.
My experience as someone who (probably) has ADD and who knows lots of people who do, is that ADD people tend to be highly passionate and motivated. It's just that our motivations jump around all over the place.

For a long time my response to this tendency was to try to control, direct, pin down my motivation so that I could stick with something until it was done. Doing this caused me to actually have a real deficit of motivation, instead of just an always-changing motivation. Once I stopped trying to control it and embraced jumping-around, following my interest wherever it led me, I actually had much more success seeing tasks through to completion (and even circling back to ones I'd left behind, because I wasn't feeling guilty about having left them behind). It's like my attention is highly fragmented, but I still have the same amount.

An ADD person's motivation is like a wild animal that you just have to give room to so it can do its thing. Hitch a ride to it, instead of trying to tame it, and you'll eventually get where you want to go.
I didn't know you could do that! Thanks!
Living in Idaho, loggers are not against controlled burns. Fires can destroy timberland. A controlled burns the small brush and dead trees on the ground, not timber. Also logging done with proper clean up also can help reduce the severity of fires as there is less trees in a logged area. This can limit how fast a fire can spread.
I bought a Breville with jogger knobs for power and time, just because I liked the UI. Most importantly they can be changed even while cooking.

I think this is the current revision: https://www.breville.com/us/en/products/microwaves/bmo850.ht...

It does have all the feature buttons, which are just inside the door, although I admit I have never used them.

Alternatively buy a really cheap microwave that just has two physical knobs.
Is there a mode to not display my own comments, so I am not burdened by my own opinions either?
I'm aware of this, but first I have to get a VPS. Something I don't have yet.
This is how an webapp should be. No fuss, directly to the point!
Practically, you don't do a cert for your site, you do it to protect visitors to your site getting compromised by a MITM attack.

A site without a cert is basically telling its users "I don't care about you."
Great comment. It seems like a cool time.

What makes sense to accelerate, how to integrate it and balance accelerators vs. general cpus, and how to expose it all to the programmer all seem like fun and interesting problems.
If you optimizen for L1-L3 caches you need to know/control what hardware you are running on since cache sizes differ between processors, isnt it?
And I’ve worked for companies with extensive offshore arrangements, primarily for tax minimization and regulatory clarity. It sounds like a judge disputed your prior company’s issues!
> The % of programmers that actually need to know any of these numbers is tiny.

Context is key. This list was originally written by Jeff Dean, as noted in the credits. He's a legendary [1] Google engineer who (usually side-by-side with the under-credited Sanjay Ghemawat) created such systems as MapReduce, GFS, Bigtable, and Spanner. I'd read "numbers every programmer should know" as "numbers every programmer who wants to be like Jeff Dean would benefit from learning about". I can see how folks might interpret it as gatekeeping—if you can't rattle off these numbers exactly from memory, you aren't a real programmer. I don't think that's the spirit in which it's intended.

These numbers are useful in designing efficient systems in Google datacenters, making decisions like "is it better for all of my stateless servers to keep this on local disk or to send an RPC to an in-cluster server that has it in RAM?" or "do I have sufficient deadline to fail over to another cluster in the 99.999%ile case?" You don't really need to have the entire list memorized, but it helps to know the appropriate operations to consider when deciding if something is suitable from efficiency and latency standpoints. It helps to have intuition for the orders of magnitude. It's okay to look at the cheat sheet. You can do math on these numbers to get a surprisingly accurate idea of a design's performance/feasibility long before you work up a prototype, moving more quickly. Comparing these expectations to experiment helps you spot implementation flaws and get closer to achieving the theoretical performance. And if nothing else, being familiar with the ideas here will help you ace a Google system design interview.

Many of these numbers are also useful in other contexts in which performance matters and you have fairly direct control over what expensive operations are performed. (They're less useful say in an interpreted programming language in which much happens behind your back and you may not care much about performance anyway.) It certainly wouldn't hurt any programmer to know these numbers.

[1] see the "Jeff Dean facts" for an idea of how Google engineers view him: https://www.informatika.bg/jeffdean
Not have adhd :(
Rather than go to all that effort of doing something illegal for an individual, it's far simpler to find prior work.

https://www.google.com/search?q=javascript+injection+by+isps
From Glassdoor for Process Engineer (not senior): Intel average is 124k, Apple average is 143k
Yes, I’ve experienced it personally while doing my undergrad in india
It means corruption is a basic human behavior. Its a self generating phenomena, and is „natural“.

So there is no „illuminati“ to go after to solve this. Studies try and see how problems can be solved - if there was a single organizing entity like a mafia boss, it would be simpler to tackle the issue but there isn't, so its Marder than first expected.

As to tax evasion, id posit the question „so why are these people evading? Is it the law itself? Can they be otherwise somehow incentivized to invest in their Communities rather than evade? And how big is the contribution here? Is it worth pursuing?“
Solving the Equilibrium Index Problem in Python
Install Shutup.css. Temporarily turn off when you want to vent your opinion, turn back on to not be burdened by them.
I generally tend to agree. But drawing on that thing from my tablet is pretty darn awesome, it is not that far from the real thing
Wearing nice clothes, working in a place with people so I can't just drop dead asleep on my desk, and a nice drink always result in great deep work.
You miss the point entirely.

You put XML fragments inside a parent XML document using namespaces.

This is very well supported, and used extensively.

Trying to "escape" XML to nest it in a parent XML document is Wrong with a capital W.
Consider also that truth is not relative to political persuasion, and a commitment to truth above partisanship is likely the only way initiatives will succeed with bipartisan support.

“The truth will set you free.” (John 8:32)
I hope, for maximum irony, the novel features climate change as a plot point.
Check out https://excalidraw.com/
Alveoli are basically small air sacs in your lungs, so they're a surface (it's just an inverted ball, a hollow sphere in a not-so-solid object).

No idea how that influences where the electrons go.

I wonder how the nervous system would interact with that as synapses fire. I'm curious if they would build up, or if the synapses all over the body firing would make them bounce around constantly.
Ask HN: Crime Data for India
Is there an openly available service which gives daily crime statistics in India at least at state level? I would prefer direct from official source. I am interested in creating a crime map specifically for crime against woman. The recent events in Uttar Pradesh have shook me to the core, specifically the denials by the administration. I think presenting the data in an easily consumable manner would at least bring these crimes in focus.
Ideally, colorblind people wouldn't have to deal with solely color LEDs as a signal in the first place.

I'd like to not spend money on assistive devices if I don't have to.
and an excellent first class domain!
> We had that a decade ago. It was called XML and XML Schema.

It would be true if XML was not full of all this SGML debris like "entities" (really, uncontroller macros), if real schema formats was flexible enough (I needed <c> inside <a> and <c> inside <b> when they totally different), etc.

But when a config reader tool has to deal with 40+-year legacy of enterprise guys wanting to embrace the universe, but all this doesn't allow to control contents without external measures like regexp checking... that simply shuts up facing real world.
Can't recommend CodeRadio[0] enough for this purpose.

0: https://coderadio.freecodecamp.org/
It’s not about impressing but it ensures that it’s safe for everyone and it’s clear that his website gets huge traffic.
STM32-Base Project
" primarily for tax minimization and regulatory clarity"

--> primarily for tax and regulatory avoidance.
I personally have never succeeded at deep work on flights, but I found that long haul flights are excellent time for reflection and journaling. I can’t stay awake long enough to get deep flow state, but reflection is quite doable and maybe even improved by involuntary napping.
> Ordered dictionaries are not conveniently supported in all languages I tend to use.

Ordered dictionaries are a fundamental, extremely basic data type present in every language I've used in three decades.

a) What modern, widely used language doesn't have them?

b) Why?

c) Okay, so you've picked a bad language that has only hashtables. You can still implement ordered keys using an array of the keys & values in sorted order, and a hashtable of keys to the array indices.
They could probably make money there, but it would take time and energy to do, doesn’t seem like it helps their brand, and seems generally a bit afield for them.

Then again, they started their own TV studio, so what do know.
Opinionated or not, no Algol?
Turned out to be a disaster?

Intel's acquisitions have been pre-existing disasters, also-rans and underdogs looking for their big break, often hoping that getting access to Intel's fabs could make their next generation of chips more competitive. Many—if not most—of their acquisitions over the past decade only really make sense if they were intending to leverage Intel's supposed core competencies to not just get Intel into new markets, but grab a lot more market share in those new segments. And then being part of Intel ended up not really helping those companies, because Intel couldn't deliver on their core competencies.
Thanks for sharing. This and the parent are interesting anecdotes. It reveals the “cost” of the environment for “deep work”, and therein the price / value of deep work to these individuals. This is an expensive and impactful price to pay to achieve a higher state of mind. How can the environment be recreated on demand (just like a long haul flight schedule) with less cost and environmental impact?
Because wretched nigh on universal poverty, above 50% infant mortality, famine every 20 years killing perhaps a quarter of the pain, endless toil, all these things are bad. Given the choice between living like the average peasant in 1800 and maintaining something like our current first world standard of living and health while so destroying the environment that the first planet we need to terraform is Earth people will choose the latter. Most of the world’s population was peasants in 1900. No one had antibiotics. Air conditioning was practically unknown.

The state of nature is hellish and people will absolutely pave everything while breathing air that tastes like an ashtray to avoid it.
>Agree that website is simple, but it can be promotional on his end

If you have enough money, you don't need to promote yourself or impress anyone...
> the idea that the highest rated films and shows on IMDB represent the "best" of the mediums is kinda silly.

OP here. If you have a better source, use it. Which source is the best was not the point of the article anyway. The point was that you should look for good stuff, not blindly watch the new movie or read the new book.
It's partly an issue of language, but "old world monkey" and "ape" correspond to specific scientific classifications as well.
> It means corruption is a basic human behavior.

That is most certainly not what the study means. If you were going to extrapolate, you might be able to get away with corruption is basic rich people behavior, but even that is going way further than what the study is actually saying.
Perfect for the coding interview in times of covid!
“Except that the stores have to compete with each other, so who is going to choose the one with all the apps that trade user data? Certainly not the users who are allegedly patronizing Apple only because they don't want that.”

They will when many of the key apps are only available through the privacy agnostic stores.
Extensive discussion a few days ago: https://news.ycombinator.com/item?id=24636899
Limiting interactions is not the same as disabling pull requests wholesale (you can disable issues completely), they are temporary in nature (you can only disable them for 6 months at a time), and in addition I believe my comment was posted before they announced the new feature -- and this is a feature people have been requesting for a decade now.
ZEROe: Will Airbus's zero-carbon airplane take off?
You seem not to have read the book, and have the luck of not having been in that situation. Graeber basically describes what is a sand castle where administrative bs begets pointless occupation. Thinking that all expenditures are useful is a vastly simplifying view.
> the middle class grows and starts asking questions and wanting a better quality of life and, you know, perhaps want no more autocratic regimes and less corruption

I think the Coronavirus disaster has shown that China can be more efficient than all democratic countries where it counts. A serious blow to the prestige of democracy vs autocracy.
I find the following things really help me get in flow

A) (If this applies to you) work at a time when rest of the world is asleep

B) Have some medium quality thing going on at the same time

Ideal is NEtflix as they have a lot of mediocre shows. It should not be too good or it will distract you. It should not be too bad or it will distract you. Just good enough so that it is OK to watch but you don't care what happens in the actual movie or show

*

That's it. As quiet as possible + one medium quality distraction ongoing so the part of your brain that wants distraction gets it

Then just focus on your work
> iphones

https://projectsandcastle.org/
The movie was simplistic bullshit where every situation was nefarious broken people instead of the everyman that uses and would use these entity structures
Hey Taylor, and here I was just wondering what NPE was and finding the thought that Facebook farmed out an app to another company amusing. Anyway, your website is trash, but the app is pretty nice and I'm enjoying it so far.