skysight-inc/HackerNews huggingface dataset:
WAT is classic and very funny, but I recommend all software engineers to watch all of Gary Bernhardt's talks on his website: https://www.destroyallsoftware.com/talks

His talk about "Boundaries" taught me one of the most illuminating concepts I've learned in my career, about separation of concerns, functional core & imperative shell, unit testing, etc., and radically changed the way I write code - the talk uses Ruby as an example, but can be applicable to any language under the sun.

In fact, watch all five of them, they all reach this outstanding level of being educational, interesting and funny at the same time.
Brian Reid's deep detailed historic dive "PostScript and Interpress: a comparison" describes some of Chuck Geschke's important work at Xerox PARC and Adobe:

https://tech-insider.org/unix/research/1985/0301.html
"A few programming languages quirks" makes it sound less exciting than it actually is.

As per HN Guidelines <https://news.ycombinator.com/newsguidelines.html>, please don't editorialize titles.
Not in US usually.
> I don't understand your point. I don't do any offset. I just pick 500 keys by cursor

So you pick 500 keys and put them into a temp table. Then what? You still have to show a page that's 100 of those 500 keys.

> The alternative is to transfer 400 full rows of data that will be used just to compute pages.

The alternative is the hybrid cursor+offset approach, which doesn't transfer 400 full rows of anything.

> I don't see any DoS vector specific to this but I'd be thrilled to learn of one.

I generate enough sessions to fill your RAM with temp tables.
Pretty cool fact, thanks!
It is foolish to include you bonus in your financial planning.
For glory. I want to do the best I can do. I also want to be loved and respected with a lasting legacy. I lived in a hotel travelling the world for 5 years and it's just not as fulfilling as building things.
Hey I use that app on my work and personal macs! Just curious, how much did you buy it for?
So where does the information how dangerous something is comes from? Are companies allowed to lie about other companies, because the first thing I would do as a competitor would be set up a "website" that propagates how dangerous other companies products are.

This myth that somehow competition will sort things out really needs to disappear, it has been disproven again and again.
Do yo mean expiring-at-separation options?
> YMMV but the only time I ever experienced the myth that "working over 40 hours a week is the norm" was when I started working at a US-based company.

Irish lawyers and doctors work well over 40 hours a week on average too. I feel pretty confident the same is true in finance. Tax professionals in Spain do too. That about exhausts my personal knowledge of working hours in Europe but I kind of doubt management work less than 40 hours a week anywhere, even the civil service.

> and typically threatened to fire people pretty much each and every single week if they did not met those unrealistic goals.

The secret to greater American productivity and hence wealth. People just work more hours.
You'll need way more hash power for that. Remember if you have 51% hash power, you'll be able to do the 51% attack roughly half of the time.

To rollback the Bitcoin chain, you'll probably need 90-95% of the hashing rate to eclipse all other miners. That requires that the other 50% becomes 5%; or in other words you multiply your hash rate by 10. Which is not even remotely possible.
XRP and Stellar were the pioneers in this regard. Since about 2013 and 2014 respectively (or thereabouts). Such systems have negligible energy usage.

In general, anything using some flavour of Byzantine Fault Tolerance - of which there are a few - as a method of consensus, consumes very little energy for the payback.

If appropriately deployed (similar issue to PoW, decentralisation needs to be maintained) BFT-type consensus mechanisms also exceed the consensus security offered by PoW or PoS.

BTC and other PoW models are typically constrained by a 51% corruption of the network. BFT systems typically do better than that, as they often require numbers in excess of 50% to reach agreement (I believe I've seen around 80% - but it's been a while). The way the system usually works is it's constantly reassessing malicious nodes so it becomes difficult for a minority to gain a foothold to cause disruption. They also have the possibility to exhibit less destructive effects if breached (temporary network halt rather than network takeover).

Finally, in such systems modifications to the network protocols are voted upon democratically by participants on the network itself, and so far - at least in XRP's case - this appears to have worked well. Ripple has proposed a few changes that have been rejected by the network using this voting process, while others proposed by them or other participants have been approved and become part of the protocol.
Yours is not the stupidest comment i've read on Hacker News, but is definitely out of touch with reality. Thinking you can measure poverty and happiness with "rational numbers" is skewed already, but pretending capitalism is best at lifting people out of poverty when it's brought more forms of human suffering to the entire planet than any previous system, is completely delusional. Capitalism is entirely built on wage exploitation, actual slavery and colonization, extractivism, pollution, population displacements, and patriarchal control of sexuality and births (to reproduce the working force).

Claiming capitalism is even remotely fair is so wrong it's hard to believe such words can come out of someone's mouth. Outside of your tiny Silicon Valley bubble, the vast majority of the world's population agrees capitalism is the problem, not the solution.
If you get fired befoee the PTO do you get the money they stocked for you?
One sure thing is when you actually finish a project it might be worth trying to market it or just wait a little to see where it can go. See Firefox OS, or how we could have had an android independant alternative phone os and how Mozilla could have been financially independent thanks to revenues that are now going to KaiOS.
You can use their bash uploaded, but you can also use language specific ones.

The Python one, for example, is downloaded via PyPI, and you’ll usually have a pinned version with the hash of it. Any tampering would make pipelines fail. If a new release were pushed by rogue actors, someone would notice an unplanned version bump.
Those branches still run tests and coverage, so it’s likely that code of would run on them anyway.
> An "actual mail client" is any mail client that speaks This "use a real X" or "real programmers always do X this way" stuff is why many tech communities are considered hostile and toxic, especially to newcomers. It's childish in personal settings and unprofessional in work settings.

Isn't it perfectly justified in "use the right tool for a job" situations? If someone tells me not to hammer nails in with a pair of pliers, I'd hardly consider it "unprofessional" or "childish". If tool A requires you to use tool B for interoperability, I would imagine a reasonable person would simply use tool B, and not complain about people being "hostile" or "toxic" for suggesting to do so.
If you are doing it in your browser it does have offline storage if you stay logged in.
aside: how can you tell who downvoted something?
Yes! That's the one! Thanks so much :-).

> The headings in this book had a Telugu font I'd never seen used anywhere else.

Same for Kannada too and I too have read the book end-to-end a dozen or so times, even as an adult :-D.

I'll ping you! Thanks again!
> you can't have 'bonuses' that are not tied to something real

But many successful companies and employees do, including everywhere I've worked.
The compensation progression for a manager generally consists of a slow (if any growth) in base salary and most compensation increases come from stock and bonus. I believe this is generally the same for high level ICs. Some companies make it explicit that there is an IC level that corresponds to each manager level and both have the same compensation structure.
I’ve used it in lots of FLOSS projects, but the risk is lower there.

The level of access they get is too much for a secret-source project, especially for the little returns.
What is "fingerprinting" supposed to mean here?
If you exclude China from your numbers, you don't get the same result.
The general sentiment in this thread seems to be that bonuses are bad for morale in the long term, because people start to feel entitled to them. It's interesting to look at this from the side of the employer for a second.

You want to do right by your people (you know, if you're not a complete arsehole). Hopefully you pay them well. But revenue isn't always easy to predict, and once you give someone a raise, you can't take it away again (at least not easily). So you can't pay people excessive amounts all of the time, because the money might not be there all of the time. Of course the effect of a single large bonus (annually or one-off) is much greater than 1/12th of that same amount tacked on every month. On top of that, some bonus plans can have tax benefits (though I suspect this widely differs between countries etc). Bonuses seem like a pretty good way of paying people what you'd like to pay them, but without the risk of it bankrupting you.

I'm a little bit torn when it comes to bonus amounts, however. Some companies give everyone the same bonus. Or perhaps everyone within the same department or job category. This is nice from a "we're all in the same boat"-perspective. But it ignores the reality that some employees do much more valuable work than others (I'm sure there's a fancy pareto-like name for that, but I don't remember it). On the other hand, it might encourage some employees to "go above and beyond" in a way that's unhealthy.
Perhaps this list works? https://en.wikipedia.org/wiki/List_of_emerging_technologies
Dogecoin is winning cryptocurrency and there’s nothing you can do
> I like the ability to be able to copy code blocks from programs like visual studio and web storm knowing that I can preserve the color scheme and monospaced font. It makes readability great.

org-babel allows this, with added ability to (optionally) execute and see and interact with output inline.

> Evernote also lets me link notes to each other and can even do some interesting auto related suggestions for notes that are similar in context as well as allowing me to tag notes in addition to putting them in a traditional folder like hierarchy.

Fully supported via org-roam, with added bonus of backlinks.

> When I want to make a note about remembering how to perform some complicated task in Photoshop (for example) I might make a quick animation as a gif file and I want to see it animated and embedded in the note.

This is a pretty nifty workflow, and I admit a useful one. I am not sure if gifs can be viewed inline withing Emacs, but so far I haven't seen nor tried, so this is a definite shortcoming.

> Another key priority for me is set up and ease-of-use,

Emacs is absolute horrific experience here. It is a terrible match for anyone looking to setup and start in under 5 minutes, especially because it is wildly different from anything you might have come across.

> You said that you used Evernote in the past, I'm honestly curious why you abandoned it

Evernote, way when I used it was still pretty cool. It allowed saving whole webpages directly, and linking them inside notes. But for a broke student from not-so-rich country, its free tier of 60MB ran out very very quickly. Paid tiers were prohibively expensive as $1 meant a day's sustenance or more. I also had a crappy laptop and Evernote wasn't the fastest thing around. It also forced me to think in terms of Notebooks and hierarchy. The notes and notebooks are also not so easily greppable. The UI of Evernote, its biggest strength during on boarding, became crippling for me. As for why kicked it for me in the end is, as you mentioned, single commerical entity ultimately controlling my collected knowledge and its structure. I am personally not comfortable putting thousands of hours of work so someone else can control it. I also write my journal in org-mode, with detailed analysis of social interactions (I'm not good at people, if its not clear by now :)) and I don't want anybody but me taking a peek.

Fortunately, Evernote works for you! And thanks to detailed requirements, someone might refer this conversation in future and make an informed decision based on it, as I once did :)
“I had fifteen years of experience designing for web clients, she had one year, and yet some how, we were in the same situation: we enjoyed the work, but were utterly confused and overwhelmed by the rapidly increasing complexity of it all. What the hell happened? (That’s a rhetorical question, of course.)”

Exactly how I feel these days.
I wonder if it really matters if networks are insecure. I generally connect to the internet via whatever hotspot is available or 4G if not with no expectation that it's fully secure. That's what https and other encryption is for. And I don't generally have anything to hide - there are a bunch of tools like tor and VPNs for people who do. That's probably the way forward - secure tech on your device rather than trusting to the kindness of strangers.

Talking of phone network security one thing that does piss me off is my phone company just transferred my phone number of 10 years to fraudsters who presumably called customer support with some sob story. You'd think they could have some standards to stop that like at least sending an email to your usual address saying "There's been transfer request - you good?"
Of course you are. Do you think these evil capitalist vampires who built a monopoly on infrastructure through corruption over the years, are going to share it with their future competitors?

To use a big ISP's infrastructure they'll ask for a check in millions of euros. At least that's the case in France with Orange/Free/etc despite having strong regulations claiming they can't refuse to interop with competitors. For those curious, i'm talking both about collecting and peering agreements.

ISPs, just like any other capitalist business, is a mafia. If you want common people to have decent services, you need to treat it like a mafia.
Me going on at length about this:

https://news.ycombinator.com/item?id=26850935

I find it tiresome that so many people think they can know for certain what was going on based on a third-hand retelling after the fact and are so certain he was up to no good.

I am reminded of the importance of the "innocent until proven guilty" standard. Once people get it in their head that, clearly, he's guilty of something, all rational assessment seems to be readily abandoned in the name of a zeal for supposed righteousness and justice.

The term witch hunt comes to mind.
It would be easier to abolish corporation tax and shift to taxing capital gains and dividends as normal income.
True, so using the word “just” was a huge oversimplification on my side, I am sorry for that.

I agree the US constitution can not be changed without getting the people’s minds changed about the guns being a meaningful freedom defense mechanism.

But it is effectively a religion from what I see (I am not in the US). That makes any potential change very hard.
The Twitter thread you linked said exactly opposite thing.

Take a look at this one: https://twitter.com/DoveyWan/status/1382955030995554304

The Chinese text in this screenshot basically says:

"Some ISP datacenters were required to shut down and prepare for inspection. Others, because of the local government for 'reducing risk', they want to avoid the spotlight, so they shut down themselves. And then wait until inspection team from central government[1] leave, after that they restart"

That "Some ISP datacenters" in the first sentence were shut down because they do hosting for Bitcoin mining.

If you don't trust me, here are the copy-pastable replication of the original text. It is not very machine-translatable because it is spoken Chinese gone through WeChat's speech-to-text. Verify with someone you trust who can understand Chinese.

有些 isp 机房的话是那个他们要求停就配合检查，然后有一些是当地的政府为了规避风险吗？不想出风头，然后的话自己关的，然后的话，等他那个中央巡视巡视组走了之后的话再重新开启啊这样。

[1] https://zh.wikipedia.org/wiki/%E4%B8%AD%E5%A4%AE%E5%B7%A1%E8...
How do you know, and why do you care, about the sex of the commenter?

Also, how sad that an offer of teaching is rejected with such bitter contempt. I have absolutely relished the times in my life when someone has explained something to me. That's how I learn.
>> Heck, that car and the villa? State-owned and attached to the position, you lose your place -- your successor gets them

What country are you describing, pal? In Soviet Union it was "вольнодумство" ("freethinking"), which was a bad thing, to own personal cars / dachas by the highest members of partocracy only. Because that raised questions concerning their loyalty and belief in the system. But even they bought all that under the name of their wives and children. We've got plenty of memoirs of their scions to stop perpetuating the lies.
> Nobody is against closing the loop hole.

Nobody? Including those who benefit from it, you mean?
Are you preparing for an upcoming interview?
When I come to the "I just don't even care" state, I start looking for another job.

I was at a startup company that in my opinion got a great idea and with enough focus, we could have been successful. I always tried to think about the product, the impact, the roadmap, the quality... And after some time I realized that I just annoy the founders and I care and worry more about things then they do. So I decided to care about half as much as they did and in the meantime look for another job.

Today, I work at a big corporation, I was again motivated to be able to change things, improve things. The feature I recently worked on was just put on a roadmap with a ridiculous deadline, our work is blocked by like 5 different backend teams around the country, and somehow I should bend over backwards to deliver on time?

Keeping your motivation is hard when everything around you is trying squash it.

And I am not even sure it's a problem. Of course I wouldn't say this at my next job interview, but in reality, if you are motivated, most often you will get disappointed really fast. On the other hand, when you just go in to work, do a reasonable amount of effort, then you can work better with others with less stress, and in the end, who cares about "those few extra units"?
Thats not how SAFETY in engineering works. You cannot declare that certain situations that are likely to come up (children around a product that is in apparment / homes) are out-of-scope.

Source: Have worked in product development for devices.
It looks like any number greater than 10B will just get rendered as 10B. so you were looking at 10B visualized, even though it said 50B.
New IP – CCP's credit system for the rest of the world
Just dropping by to mention nycmesh.net an amazing self-organized Internet Service Provider. They're not everywhere just yet but where they are they're for sure providing the best (volunteered) service for the lowest money.

They're currently connected to two Internet Exchange points and have hundreds of antennas. See their map: https://www.nycmesh.net/map/

We need more self-organized cooperatives like that, whether in the ISP world (like guifi.net or ffdn.org federation) or in other areas of life. That's the only way we can effectively defeat capitalism without relying on our corrupt governments.
Let me introduce you to Hollywood accounting : https://en.wikipedia.org/wiki/Hollywood_accounting
very useful tools, bravo! However when I select AWS as provider and Europe as region, it doesn't show anything.
Customer Feedback Platform Alternatives to Canny, UserVoice
I'm not trying to suggest that. I'm suggesting an accurate diagnosis of the mistake that was made by management.

In the case of my example above, it was a failure of management to hire a sufficiently competent person, or a failure to fire the person when their lack of competence became apparent. It wasn't (in my example) a failure to communicate requirements properly.
Or the other joke:

My Boss arrived at work in a brand new Ferrari.

I told him: "Wow that's a nice car".

He replied:

"If you work hard, put all your hours in, and strive for excellence, I'll get another one next year"
There will be people who will come to the defence of just about anything nowadays. I often hear people criticize the USA for its litigiousness, so I think the worry is a little overblown.
Curated - all the essential tools for creators, inside notion.
You may have been thinking of this one: https://coveryourtracks.eff.org/
Good idea really. Did you work out what type of actions?

Made me think of Gregory Batesons schismogenesis work. According to his theory the divisions are sort of almost a given within groups, but they don't lead to schism/conflict/collapse when society produces Rituals. Would be really cool to see games exploring or capable of producing rituals as a route...no idea how that would work...
> losing a key employee to another agency - the same agency the mistake employee landed at

I've worked with those "mistake employees" and if they landed somewhere else that's probably the last place I would want to go.

Though to be fair everybody can make mistakes, and you would have to access if it was lack of skill, lack of attention, "impedance mismatch", or maybe it was the general climate that was making this employee less effective.
Public institutions will never be neutral as long as we have people staffing them and interacting with other people. It’s inevitable that these power dynamics would form: it’s heartening though that it can only be at the edges. That’s a very good sign.
4G is already pretty much cloud-based. But it doesn't mean the cloud should be run by the network equipment vendor - a more sustainable model would be the network operator, or at least European tier 1 developing and maintaining it.
Got it makes sense :)
This means I can’t use this with github pages
> I don't know how far a high code coverage correlates to a secure code base

This is a hard question, basically high code coverage does in no way imply that your code is secure (or correct working wrt. non security aspects) at all.

But at the same time not having reasonable good code coverage can often be an indicator for code being potential not that good, especially assuming non-malice of a author group I would start with reviewing the parts of there code with little code coverage (after reviewing parts which are common to be messed up, after running automatic analysis tools).

The important thing to realize is that most coverage is in % of lines covered which is even by 100% coverage far far less then 100% possible execution flows. And not seldom security vulnerabilities (instead of "just" normal bugs, assuming a security aware dev) are tricky unexpected execution flow (parts) in unexpected combinations through lines which as well might have 100% line coverage.

So what I would say in general:

- Don't get fixated on any specific number of % of lines with test coverage, especially not 100%.

- Focus on writing "good" tests instead of tests with high increase in coverage.

- Be security aware wrt. supply chain attacks and similar, like due to above's points I would argue that due to the points above in general there is no need to run coverage analysis anywhere but the CI, in which you could put it into a different container, i.e. separate sandbox CI stages for building artifacts from such which just do testing and/or analytics, don't ever allow CI write access to your repository directly.
See also: https://peopleschoice.coop

NYC drivers are also at it with https://drivers.coop
I don't think trust is something you can just decide to do. It's like loving someone or believing something. You either trust them or you don't.

Is your advice to pretend you trust them? Some kind of "fake it til you make it" approach?