skysight-inc/HackerNews huggingface dataset:
I don't understand the distinction you are making between a distributed ledger and distributed consistency.

I suspect it will be easy to create a byzantine error avalanche with your current design - or break consistency (eg. different views).

I'd be keen to see what aphyr could do with a jepsen test. Perhaps you could run an open hack matrix contest to see what people can achieve. It might surprise you.
Depends on what you're articulating with your dashboard but sometimes I find it useful to flip it around.

For example at my job we have a dashboard that displays a big wall of CI/CD pipeline statuses for a bunch of repos. A row for each project and a column for each environment. Green/Red/Yellow per stage etc. Very helpful to keep track of things at a glance. Everyone uses is with a bookmark on their own machine, not a TV or anything.

It was thrown together initially to make the "calculation" of all the statuses on every request. As we added more repos/environments the request time grew approaching 30s per request. Once it went over that it was breaking point as we were hitting 30s timeouts in AWS API Gateway, so you would get timeout errors half of the time instead of just a really slow loading page. Disaster!

There was a lot of duplication of work, if you hit the page twice at the same time it would go and find the same data on it's own, and it would come back with the same answer. It was also taking 30s~ for the page to load. Another consideration is that people don't need to the second accuracy. They can only get 30s old data now anyway so that's a good place to start.

In this case the solution was to break it up into worker thread, who's job it to find the latest status of everything. This can be sped up independently (think another worker per environment etc). This would just run in a big loop and constantly "cache" the latest view of the data. At it's fastest this refreshing every 4-5s, but the real bottleneck was actually getting rate limited on the AWS API. So in reality to stop us from hitting rate limit errors constantly be scaled it back so it's updating every 30s ish.

The requests are then much lighter, and are just reading the lastest view of the data from memory/cache (back down to XXms from XXs). People are happy as the page is back to being snappy. To help UX I also added a small UI element to let them know how fresh the data is with a "Last updated X seconds/minutes ago" as a transparent label in the corner that you can hover over to make opaque.

In your case think about how live the data really needs to be? Is it the trends over time that are more interesting? Would a "daily" update be enough? Hourly? Suddenly that 2 minute load isn't a big deal anymore when it's being run once a day.
>>The way we fix legacy software systems: By carefully refactoring it one step at a time and testing and monitoring to make sure our refactoring doesn't break stuff that's working correctly.

We no longer have the time for a slow approach where we make small changes and test and see. The system we have is not functioning, period, and end-users are protesting in the tens of thousands across all major cities in the country.
> The issue here is they agreed to allow GrubHub to pretend to be them.

Sadly, that's false. GrubHub is a bad actor.

https://www.eater.com/2019/10/30/20940107/grubhub-to-add-res...
You're not the only one who thought that :)
The hardest part about getting & changing software jobs is the algorithms interview part. Really dive deep and get good grades in your algorithms class and you will have a foundation that will help you change jobs and get more pay for years to come.
Secularism (the sharing of religious space in a pluralistic society) is not a particularly unifying perspective among American Christians so it's not very surprising. For American Christians, secularism is a fancy word for "forfeit the power in your hands."
Thanks for sharing your insights and experience. Are there predictive models elsewhere in your field, or in science, that inspire this search? Also I'm wondering if there are predictive models for cellular sub-systems, for example--the simpler stuff (afaik).
You can collect a lot of data that will have value long after the window is closed.
I am curious if you use https://crystal-lang.org/ at Shopify.
> stick it under your bathroom sink with the cable wrapped firmly around the water supply or drain pipe

What's the idea behind this? So that when someone tries to break in, they flood your bathroom? Or do you just mean secure it reasonably?
The format used by the framebuffer can differ based on your hardware and your display settings. You need to use a program that can load raw bitmap data, and it will need you to tell it what format the source data is in (resolution, byte order, etc).

There's a good explanation of this on StackOverflow:
https://stackoverflow.com/questions/1645181/taking-a-screen-...
I feel like you have denied the existence of people who are capable of writing down a good architecture on the first try, without all the grinding.
God bless whoever wrote tests before you. Whether it be a rewrite or working on the current code base, those who have the time and resources and don't write tests are inexcusable and bad stewards
Good to see that any pretense that the drug war was not just another way to enslave minorities and other undesirables is gone with the current government. Now they're bringing in the veteran warriors who have deep experience suppressing the aforementioned. A more hostile and unnecessary police force than the DEA doesn't exist.
Google sued for $5B over alleged privacy violations: report
Ask HN: What IRC / Matrix channels do you hang out on?
I was a big fan of IRC in the 90es and 2000s, but these days IRC seems relatively dead. I’m trying to hang out on Linux and open source channels on Freenode, but most of them are support related. I really miss the underground atmosphere of IRC with idling, homemade bots and what not. Does anyone here still hang out on IRC or Matrix and where? Where should I find my digital social life?
(PS - I’m in Australia and I don’t like Facebook, Reddit or Twitter.)
No need to improve readability if it's already fine. Verdana is appropriate at small sizes—in, say, image captions. At ‘normal’ sizes, it just m a k e s t h e e y e m o v e a l o t.

And I don't need to choose between the hyper-tight Helvetica and a bunch of MS fonts from the 90s, because thankfully the world is not limited to them.
If GH takes a 25% cut, then they need to be adding 25% more revenue to the takeout market. I would bet good money they are not.

Instead, they are paying for ad space to siphon the traffic of already hungry customers looking to order from a restaurant.

GH then shows the numbers to the restaurant and says "Look how much business GH brings you. You need to pay us for this"

In many cases they are extorting restaurants over what would be organic web traffic. In these cases they are not adding new revenue to the industry, and are instead choking the restaurants that already operate on thin margins.
There is certainly some complication in discerning what it means to be a "good hacker."
I wonder to what extent there is also a prisoner's dilemma problem here, insofar as defecting makes more sense if you have strong prior knowledge or belief that your opponent will defect. ( https://ncase.me/trust/ provides a great interactive and intuitive understanding of the prisoner's dilemma.)

For example, using one of the hypotheticals from the paper, I could imagine multiple reasons for a partisan to "support a redistricting plan that gives them more seats despite a decline in polling":

1) Choosing to intentionally commit anti-democratic behavior, such as to "win at all costs". Someone couldn't justify this (to themselves or others) directly through democratic values, though they could attempt to argue that winning averts some worse outcome.

2) Perceiving unfairness in existing polling (e.g. disenfranchisement, gerrymandering, etc), and choosing an action they perceive as "balancing" similar anti-democratic behavior by the other side, with the justification that the outcome may be closer to democratic. Someone could justify this (to themselves or others) directly through democratic values alone, particularly if they argued that they would prefer the outcome in which neither side commits such anti-democratic behavior.

Possibility (2) allows people to self-justify defection from democratic principles more easily, and feel more morally correct in doing so. It's difficult to get back from that situation to one in which everyone follows democratic norms and principles, if cooperating (following those norms and principles) is or is perceived as a losing strategy.
> Can Grubhub do this phone scamming thing if the restaurants don’t agree to work with Grubhub?

I don't know whether they (legally) can, but they do.

https://www.eater.com/2019/10/30/20940107/grubhub-to-add-res...
No, it really isn't, because in the end the oligarchs own both sides, full fucking stop. You can argue about the degree of harm, but almost always that approach is used to argue the degree of harm selectively about one particular partisan angle, and it's frankly bullshit.

Obama just put on a nice face and was eloquent while he expanded the surveillance engine, the drone wars, the arms shipments to unstable third world countries, bailouts for billionaires, etc. Trump is brazen and up front about it, but the end result is still the same bullshit! Cops sending agent provocateurs in to justify kettling protestors happened under Obama too. That doesn't justify it in the Trump era either though!

So tired of hearing this trite and cliched response anytime someone brings up that the corruption permeates the entirety of the policy elite establishment. The DNC and RNC (both corporations, never mentioned in the constitution) would rather work together in collusion than allow any real change to happen (as they did in the early 90s to control the debates), and until people wake up to the fact they won't be able to understand why nothing is changing. It just becomes a pendulum swing back and forth every few years while the inverted totalitarian kleptocratic oligarchic corporatists retain power in the shadows.

Lets just spit some real facts here. Blackmail operations such as Epstein was at the front of, are a core part of how this has happened. He is a great example of how the corruption knows no party lines, but that's also why he was taken out, the story buried and convoluted, and half-assed coverup stories like netflix's latest doc are put out. The greatest thing the oligarchy fears is a united people... and the ol party lines and any other divide they can drum up is good at keeping us at each others throats instead of theirs.

It's time to wake up and break out of the cycle. Or not. If not, we are Rome headed for a mighty and bloody collapse of epic proportions.

I've said it before and I'll say it again. Top down compromise of a centralized system becomes increasingly trivial the further the compromise progresses.
> Hollow points are primarily used by the police for their penetration (or lack thereof)—not their stopping power

I suspect that this is more true of the public justification for their use than the motivation (not saying it's not part of both, though.) Politically, “it reduces risk of accidental injury to bystanders” is probably more palatable, especially to the factions most likely to object to police-preferred gear, etc., than “it makes the injuries to the people we target more grievous”.
I think I remember reading that they often set all of this up prior to speaking with the owner / without getting their approval and then basically go to them after the fact and say "look how much traffic we've been bringing in for you"

Edit: Ah, yup - see link to eater.com post elsewhere in the thread
bringing this back, do you think the mindset of policy makers be closer to that of the scientist or engineer?
In all cases where GrubHub has the first result in my area, they didn't do anything to "make me aware" of the restaurant I'm trying to order from. All they're doing in many cases is making it a pain in the ass for me to order via the restaurant's own delivery page.
> Even in Sweden most protests are filled with bad actors and professional rioters who just want to cause a stir.

That sounds very much like your own biased opinion rather than the statement of fact you are presenting it as. I'm open to any evidence of that rather outrageous sweeping statement though.
The world average median income seems to be about $10,000.
You got further than me - I gave up after “for writing softwares” and then “which can directly be run by CPU”.
This is, of course, ridiculous. There are serious people who genuinely care about that issue.

More generally, there is always nearby the temptation to definitionally exclude one's political opponents from serious discussion by the lazy insinuation that they don't really believe what they say they believe, that their side is more opportunistic and cynical than yours, and that, therefore, what work even needs to be done to argue the point? After all, there are only two staked-out positions: those who agree with me already and those who are lying about their motives!

Try to resist this. It goes nowhere. It leads to nothing. And I assure you that, whatever the issue, there really are people who see it differently than you. I know that can be hard to accept, but it's almost always true.
>>Well, it is the executive branch chooses the supreme court...

And the Senate that confirms the nominees.
Walmart self-checkout is the second best working self checkout I've used so far. (The best one is Sam's Club: you scan things with your phone as you put them in the cart, and when you're done you tap checkout and leave the store. Payment happens in the phone app.)

If the cost of having self-checkout machines that actually _work_ and let you complete your purchase is that some items slip by, that might well be worth it.

In contrast, Safeway chain self-checkouts are such a miserable experience that for more than two items, even waiting in a long cashier line is worth it. Their system requires you to place every purchased item on a scale after the scan, and a good fraction of the time the scale fails to read the expected added weight, forcing you to wait for staff to unlock the machine again. For a cart full of purchases, this will happen half a dozen times.
No good plan survives first contact with the enemy...

Less pithily, the good architecture will almost certainly end up with arbitrary patches and madness after 2 years of active use, if anyone cares about it at all... And then somebody will join and say 'This is a mess, we should refactor and/or burn it to the ground.'
I think that a good general-purpose language would support both imperative and functional programming, since some things are easier to just do imperatively and some are easier to reason about functionally. It should be the choice of the developer which to choose. Thus variables should exist, and since they also need explicit declaration, they need something like a "var" keyword.
I recall being able to listen to cell phone calls on my scanner (a long time ago). One thing that it taught me was that people are generally very boring.
Is anyone actually encrypting it?

I’d rather folks help those that have put tons of effort into the voice demodulation of plaintext channels.
Actually working on something like that.
My team inherited a 70%-complete AngularJS application, the user interface for a passengers and crew on a new series of airplanes. It worked fine enough on modern tablets and phones, but there were also some interface devices hardwired into the planes, which would be very challenging to update at this point, and on those devices the software ran very slow.

Through several experiments, we determined that the sluggishness was unfortunately coming from AngularJS. We tried some performance improvements, but it wasn't getting very far.

We built some prototypes using other Javascript frameworks, and found VueJS gave us the best performance.

Management was concerned about us rewriting. The end customer was concerned about us rewriting. So risky! But we saw no other way to deliver adequate software performance.

We got done on time, with great system performance, to the accolades of a very happy end customer.
I'm not sure it's super common that many companies would agree to a 4-month feature freeze.

I don't think having a existing implementation makes it easier to write tests. I think having a ton of domain knowledge about the system and what inputs it could possibly get is what helps you here. And all the better if the existing impl also has a comprehensive test suite that can be feasibly 'ported' to the new language.

The existing implementation helps you if you decide to come up with new tests, because you can compare the result of those tests with the old and new implementations. But if you don't even know what new tests to write (which requires domain knowledge), you're stuck.
This isn’t true. In common-law jurisdictions, making new law is the primary role of appeals courts.
Facebook already censors plenty of its users for far milder speech than trump's wont. And let's be real, Facebook and Twitter couldn't deplatform the president if they tried. No matter where he goes, reporters will broadcast the hell out of it. All else fails, the white house has its own webpage that has historically been used to communicate with the public.
Ask HN: Describe Tech in Vulgar Terms
Tech rollouts used to be like a nice turd, slips out, first wipe is mostly clear, flush, walk out. Anticipation, features, completion.

Tech rollout now is a constant thing so it's like having a rail going from your mouth to your ass and you're constantly getting new crap stuffed in your face and you'll never see the old stuff again, good or bad.

Thanks, CI. Thanks alot.
I love everything dan luu does.
In Soviet union it was KGB and their black Volga's coming in the early morning hours to pick up the "inconvenient" ones. Early morning hours were picked because there were not many witnesses around. How far away from KGB are any of these 3 letter angencies? DEA, FBI, CIA, NSA...?
i've been using this in nyc and saved 16 dollars across 3 orders which is a lot more than i have with honey. would really like to use the direct order feature so restaurants can benefit more.
Yes, "sitting on your ass" was not the best way to describe what I wanted to say. I don't want to use all my time to do only what I want, I also want to make something valuable for other people.
The demo is fun, and I got some very groovy results. However, the UI is very difficult to navigate, even for a demo. In all computer engineering schools, there should be compulsory UI design class.
I just also want to add that gas heating is also effectively >100% efficient relative to electricity because there are no losses incurred on the power generation side.
I use Firefox on Android for regular browsing. I've also configured the default browser to be Firefox Focus, meaning that every time I click a link it opens a disposable session with no history available.

I guess I could still be tracked based on IP address as I'm not normally using Tor. Ublock and Privacy Badger does help there, I guess, but while it's not foolproof I do believe it's better than just assuming that Apple will take care of privacy for you.
I've been very interested in getting access to the depth data for a VR project I'm working on. Is this something you could talk more about, perhaps over email (in my profile)?
And disincentivizing breaking the curfew both reduces the number of rioters and makes them easier to distinguish from everyone else.
Set 8 questions can be found here: https://toadstyle.org/cryptopals/
yes, sorry if what i said seemed combative, but i wanted to be very clear and direct about the mechanism of change being the protesters and not the (particularly white) onlookers who support the protesters. that's not to disdain the support (yes to support!) or the changing of sympathies with (social) media (yes to sympathies!), but the effects of those are relatively marginal to change.

my secondary point is that it shouldn't need to take a video to convince (white) people. just listen to the protesters, carefully and earnestly, as well as the investigative journalism around what they say. that should be enough, if folks care enough to not ignore the injustices.
When everyone has a camera, social media audiences, live streams, YouTube channel, websites, and blogs/micro-blogging, what is the definition of Press and why do Press get to ignore restrictions and closed off areas?

Are the only Press allowed to be Press those that are part of a large national news network? Is Alex Jones Press if he shows up to these with a guy with a camera and enters areas civilians are not allowed to be in?
So this has happened at more than one company that I've been at, only difference is that these were AWS keys and used to mine bitcoin. AWS was actually pretty good about it, we rotated the keys as quickly as we could and they dropped all the charges.
I want to disengage from the false positives/negatives discussion, it’s too abstract to be relevant, and demonstrably false anyway. There exists a system with 0% false positives.

I find point (a) interesting. You posit that they have control over which situations they enter. But one of the major criticisms I hear, after abuse of force, is that “the police didn’t do anything”. It would seem that these are incompatible. They can choose, but we expect them not to. We expect them to put themselves in harms way for us. As a society, we do value civilian lives the same as police lives. In fact, we value civilian lives far more. By and large, so do they. If they did not, they would not ever put themselves in a position where they might be killed. But, we expect them to do just that. If there is a heavily armed lunatic inside his house threatening to kill his wife and kids, we get out of dodge and tell the police to deal with it. I sure as hell am not going near that.

Just look at the outrage and protests every time an innocent man is killed. When is the last time anyone rioted, protested, or even remembered when an innocent police officer was killed? Never going to happen. By and large, we don’t give much of a shit about their lives. Most of us don’t even seem to consider them human. They know that, yet they do the job anyway.

Do you know how many police have been killed so far during the riots? One of them was just gunned down in cold blood in Oakland while guarding a federal building. He wasn’t doing any crowd control or engaged with protesters. A white van drove past, stopped, opened the sliding door, gunned him and his partner down, and drove off.

Another police chief was found dead outside of a looted pawn shop last night.

Nobody is ever going to protest this.
lol. people have been saying it’s 2 years away for 5 years now. don’t be surprised when ethereum is worth nothing after this. ARK tried to do this and is pennies now.
matrix.org is the website for the non-profit foundation that looks after the overall project. https://matrix.org/hosting lists hosting providers, of which https://modular.im is run by the core team and directly funds development of Matrix. There aren't hard storage limitations on Modular currently.
not _directly_ related, but one interesting thing my coworker has been working on is visualizing ML models using graphs, which has made them much more interpretable for business stakeholders. Being able to break the model down into steps, feed the graph individual observations to see how the model flow would work, etc. I was surprised how receptive non-technical people were to the concept
In Australia, are parties a "first-class" part of the system? In the US, the historical animosity toward "factions" by the Federalists left us with a system where individuals are funded and the parties are independent corporate entities with their own rules but only de facto power.

In the US, a proportional representation system would have to be enabled by constitutional amendment, I think.
Then what was your point? You might as well delete your comment.