skysight-inc/HackerNews huggingface dataset:
> If you define different things for post and pre increment

They are defined as different things. One returns the current value and increments, the second increments the current value and returns it. In the first case you have to cache the previous value, in the second you don't. If your operators don't do that they are bugged and wrong.
They won't ask or inform you of this it just gets enabled. (Currently just in US). HN discussion from yesterday: https://news.ycombinator.com/item?id=28804588
I'm afraid this will be band for privacy - too many hands in the jar.
You are beating yourself up too much. Work hard, enjoy the money you make. That may mean going out for a nice dinner or buying an expensive pair of hiking boots. It's the little things that get us through the month. And family if you have one.
Assuming you are in your 20s there are people here twice your age still griping about work. You have a good headstart.
It did definitely drag on for far longer than that.

2009-2012 was the time of post-jQuery, with a lot of discourse around better alternatives to that (e.g. underscore.js, backbone.js).

React was released in 2013, which sparked a lot of offshoots. Vue came in 2014, and Angular in 2016, which I would say is the earliest point where you could see a significant drop in the activity.
Hitachi HiSaturn Navi (Sega Saturn with GPS and LCD Screen)
Thx, I am acutually thinking about this.
I hope this was a joke. Don’t shine lasers in your eyes. https://en.wikipedia.org/wiki/Laser_safety
I might actually need to get out of the house. Thx :)
Top Open Source BaaS Platforms
>> If you must have a resume or portfolio, you should most definitely add your HN username and link to it.

> Did anyone do it?

A cursory search on Google:

https://www.google.co.uk/search?q=%22https%3A%2F%2Fnews.ycom...

Seems to indicate that not many people did.
Compromising certificate authorities does not help in decrypting the data that is transmitted unless it is an active attack that modifies data.
At this point a USD collapse is a collapse of the entire planet's economic system. (IMO, I could be wrong.) It could collapse, but it will take the whole world down with it. To use the monarchy analogy again, yeah the emperor might be naked, but as long as we pretend he isn't, we'll continue to have order.

Even China isn't interested in a bankrupt USA/a crashed dollar, because it wants to keep its people fed, and they get fed when they can toil in the factories making cheap shit for Walmart...
You can always keep the encrypted data until technology has advanced far enough to easily decrypt it.
Yep.

The right (but useless) answer here is “Have a million dollar per month advertising spend, and talk to your account manager.”
I'm not saying they can't pull it off, but why use this method that is very detectable when you can use others that are transparent to the user (see my other comment)?
Full WireGuard Setup with OpenBSD
We want all our network traffic to through a WireGuard VPN tunnel automatically, both WireGuard client and server are running OpenBSD, how to do that?
Hackers are like so cool and popular
I've written code that would have been incredibly hard be made performant without React. With React, vittualizing rendering to only render visible elements is a breeze thanks to the inherent composability of react components, and now also hooks.

React is not the performance bottleneck, the DOM is
> If you’re just looking for a version of Firefox without the user-hostile parts

LibreWolf seems like an attempt at this: https://librewolf-community.gitlab.io/
The great hope of Australia's vaccine strategy was the University of Queensland's "Molecular Clamp". Unfortunately the clamp molecule, derived from part of the AIDS virus, triggered false positives in AIDS tests. They used that particular molecule as it was available and time scales were tight. A revised version is being developed with a new clamp molecule, but it won't be ready for the current round of vaccinations.

https://www.abc.net.au/news/health/2021-04-26/university-que...
It's not illegal, it's against the ToS of Microsoft that's something else, Microsoft is not a Lawmaker.
And Jacobin harms its readers for the exact same reason. Now what?
Can we cut this entire topic short going forward.

Stop using the term 10x programmer and start calling it a master programmer.

The entire article would become 2 paragraphs of "I was overestimating myself , you might be too"
My apologies, I was thinking of the founder:

"Blumenthal founded The Grayzone in 2015 to shine a journalistic light on America's state of perpetual war and its dangerous domestic repercussions."
Yeah. You don’t do this to your own country people. You get one of your five eyes friends to do it for you.
Could you please stop posting unsubstantive comments to Hacker News? We're trying for a different type of discussion here.

https://news.ycombinator.com/newsguidelines.html
Anyone know where I can buy a modern mouse that has three normal buttons, i.e. the middle button is not a scroll wheel?
Typescript, esbuild, and preact would have been described as shiny not very long ago. These things take time to mature.

I agree that the current JS ecosystem is fine if you don't get too far off into the weeds with obscure dependencies.
In my own observation and experience, the blue light from my notebook at night is most definitely and beyond all doubt hurtful to the quality of my sleep afterwards. No study or scientist could ever convince me otherwise. So headline seems fishy at least.
>The whole premise that a single person can meaningfully "represent" millions is so laughable, I don't know why we keep pretending it's actually democratic.

What does "meaningfully" mean, in this context?
Sometimes it is less reliable as self hosted solution.
"EU law" can refer to several different things.

As far as I understand, this is a ruling about Council Directive 91/250/EEC. A directive is like a template from the EU that gets copied into local laws. So there is no distinction between local an EU law here.

https://ec.europa.eu/info/law/law-making-process/types-eu-la...
If I complain about the bloat around docker and node I get downvotes. On HN hype > bloat.
What you seem to not be getting is that the damage to the environment is HERE. Hundreds of thousands of all kinds of species are DEAD and NOT COMING BACK. Water sources are DEPLETED and TOXIC, NOW. Etc. Plastic is on Everest and the Mariana Trench.

That's not Chicken Little, that's the denouement of The Boy Who Cried Wolf. Except in this case, the boy had decades of charts and photos and graphs showing that a whole pack of wolves were on their way.
Somehow I don't think the 1st Amendment protects a corporation's right to track and monitor its users for profit, even when they're not using the corporation's site/app. Or to fine-tune its algorithms to support behaviour modification.

Without the promises made on behalf of FB's tracking tech and the behavioural feedback loops they farm, the social features are basically worthless.

FB's problem isn't a 1st Amendment issue. It's the fact that it lies about the effectiveness of its ad tech to its advertisers, while also attempting to hide the toxicity of its behaviour mod techniques.

And there are too many parts of the world where it has monopoly status on both.
Currently, looking at the front page, there is 1 story in the top 20 that is about business - that's about Facebook's business model.
ExplorerPatcher: Place the taskbar back on the side in windows 11
Every time Fukushima is brought up, I am baffled how everyone remembers the nuclear incident, but not the many thousands of people that died from the tsunami. And ye, people are always "Let's not build nuclear" not "let's not build stuff next to the shore" - one is deemed an acceptable risk, the other is not. Why?
How to monitor availability of any web site?
Simple and useful instructions for configuring monitoring of site availability. One of the most reliable monitoring services.
A quick google search finds this:

https://elecomus.com/web/product/no-scroll-wheel-wired-2-4g-...

It says it's "designed for 3D CAD use". I know nothing about that but maybe if you search in that space you'll find more choice.

Edit: Non-amazon link
To continue the olympic metaphor, those medals are handed out for very specific subsets of skills, not even just runner vs swimmer, but specific distances, specific techniques or variants.

While 'olympic-level athlete' contains some level of meaning to me, I feel it is similarly vague enough that you wouldn't know whether a random athlete would be better than average at a random olympic sport. There's probably some correlation, but e.g. a googled list of 10 weirdest olympic events ever claims to include 'poodle shearing', 'solo synchronized swimming', 'horse long jump' as well as the more 'normal' sports that were recently introduced such as 'skateboarding', 'surfing', 'sports climbing'. Would a 10x poodleshearer be a 10x surfer? I'm not even sure that would hold true between skateboarding and surfing which are vaguely related in my mind (as someone who can do neither).

I feel 'programming' is a similarly wide field, and so it's obvious that e.g. a really good COBOL mainframe banking programmer, might struggle with generative audio-visual art and vice versa.

So I guess for me, the difficulty with this 10x programmer concept, is how do you differentiate the experience and the training from the 'raw genius' which is what i feel people are getting at when they use this concept. And that's without even getting into motivation and interest and impact on others (e.g. mentoring teams, supporting others) and business impact.

In general the whole concept seems so undefined that people are all projecting their own things onto it. Which is great for clickbaity blog headlines, but what is the actual take -away knowledge I am supposed to gain from this concept?

That my potential is limited by my genes, my industriousness, my time invested, my focus on one niche? That I should hire people that have iq or focus or domain knowledge or ..? That I should construct teams or businesses around a small number of people that specialize, or i should hire two different ranks of programmers, the 10x and the 1x and use them differently?
You are right, as of the moment of writing this, there is next to no "business news" on the FP right now.

Anecdotally, I would claim that there is a lot more non-tech content during the week, and mostly tech content on the weekends (see for yourself via the "past" link at the top).
Imagine what you could do with 10 million cameras, there would be no unsolved crime. You'd also be living in a de-facto police state. I'd much rather have some crimes go unsolved than to live under the watchful eye of the authorities as soon as I leave my house. And why stop there, after all, plenty of crimes happen in the house.
I started reading it last night. Then I remembered that I had started reading it about a year ago, but that I had given up around chapter 4.

This is where the novel switches gears completely. It introduces a new narrator who describes the spider world, except in human terms with cars, royal families, blacksmiths and references places with Earth-like names like Princeton, so clearly a kind of allegorical form of storytelling. It completely put me off what was up to then pretty decent hard sci-fi. It reminded me of the fable-like way the aliens are described in The Three-Body Problem, which I did not like.

I will try a few more chapters, I guess.
I generally enjoyed my time in both Konstanz and München, but not quite enough. It was quick and easy to find fun people. Great active social life.

München has horrendous housing shortage and traffic and is a bit too large for my taste. The alps are reasonably close but it is still quite a drive. The Konstanz region has the lake but is otherwise quite densely developed. It takes a bit to get away. Also, for Konstanz, Zürich is close enough to make Konstanz kind of pointless.

Germany has significantly heavier and more heavy handed bureaucracy than I want. Everyday life, all the small stuff, also costs more of my time there than in some other countries. This is an issue for me. I want the little necessities of my days to be as few, quick, small and frictionless as possible.

I visit these regions regularly, just don't have a good enough reason to move back there.
Just "Passive-aggressive, drive-by internet comments" would suffice.
This almost exists.

Windows comes in many flavours. The most "just stop it, okay?" version is the Long Term Servicing Channel (LTSC).

It's like the Windows you used to like, back in the XP days. No Xbox gaming bar or Minecraft. Minimal (no?) telemetry. No forced updates every 6 months that break things randomly.

In my line of work we used it a lot for things like virtual desktop fleets with thousands or even tens of thousands of instances
Why? Because the "normal" builds would every now and then just 'decide' to force update themselves despite our best efforts to stop that. All at once. On an ephemeral environment, where the machines would reset on boot, and then try to apply the forced update again. And again, over and over...

Some Microsoft manager wanted their KPIs met, so they just.. rammed something through. Fuck everyone running a VDI fleet, a billboard, a kiosk, a test environment, or anything that needs any kind of stability at all. Big man at Microsoft needs a bonus for that new Tesla!

This was common practice in our line of business. LTSC or failure, those are the options.

Meanwhile, Microsoft, whenever they turned up to a customer site, would just keep harping on about how LTSC is not intended for users, how it's "bad", and how the six-monthly releases provide Enhanced Experiences(tm) or whatever. They would stop just short of calling us unprofessional in front of our customers. Just.

It was the most absurd thing to watch happen. The disconnect between Microsoft and their customers is almost comical now...
Not necessarily. Just from three hours away would probably do with a little bit of storage.
> This seems like a non sequitur from your original complaint (not enough obscure tech content).

I don't see that person making that point.

> It’s natural that a lot of the discussion on a tech forum will focus on SV being the place where most of the biggest tech companies are

It isn't from a hacker perspective. Hacker culture is about what you can do yourself. If the homebrew computer club had been the IBM club things might have looked very differently.

> but the real value in HN is the long tail of unique content and comments from all over the world.

The complaint is that it isn't unique but usually the same narrative. You'll find plenty of Europeans on hacker news complaining about Europe. The reality is that most things are easier in Europe than in most of the US. That isn't a hard case to make. It just isn't popular.

> As I mentioned in another comment [1], the “notice-dislike” bias, often mentioned here by dang

That there is a given explanation isn't that surprising. Like when someone thinks there is a political bias on hacker news they always got in response that there can't be one because both left and right thinks there is. But that is just how a liberal bias would look like. Those more to the left would think it's too economically liberal and those more the right would think it's too culturally so. Yet the same explanation continues.

If you look at the front page now most of the technical topics aren't really current. "SSH Tunneling", "HN 15 Years ago", "NSA (2014)", "Lisp", "ScummVM", "V-USB", "Super Mario 64", "Amiga 68000", "Amiga 3000T". Those aren't really topics that requires current knowledge to discuss. On the other hand there are 3 current stories about Facebook. It's hacker nostalgia combined with a SV narrative. Which would be fine if it didn't result in current technical and hacker perspective topics clashing with that narrative.

I do realize that this is meaningless. I don't even read hacker news that much anymore. But there is my 2 cents.
Why should they not be?
Fair enough, hopefully that gets fixed, my machine doesn’t go to sleep that often so maybe that’s why I haven’t been affected. My servers are not usually long-running, I only use them when developing so that’s probably why.

For future reference linking to the issues page when there’s over 1.2k issues is unhelpful to the reader, you’re better off putting that list into your blog post, or just pick one that’s the most useful like https://github.com/microsoft/WSL/issues/7492. I doubt the reader is going to trawl for every single issue to find the ones you’re talking about. It’s like saying “Google it yourself”.
I mean I think the “I’m a private company I am not bound by tue constitution” is a little dated. Companies effectively run the world and practically have a lot of power over individuals. There is essentially zero difference between a large company impinging on shared liberties and the government. Maybe we should start by applying a broader set of protections to citizens in order to start addressing the systemic issues?
I did learn SQL and used it for years.

Then got on some ORM using projects and hated them. Joins were painful. I had to learn a new syntax which seemed really dumb when I already knew SQL so why the need to add a layer of complication on top?

Over time I got used to it. Recently inherited a project that didn't use an ORM. Tons of stored procedures I have to go look up. Tons of "on the fly" SQL with string concatenation (yes including the potential for SQL injection because author was apparently unaware you can't just take raw user input safely into your SQL strings). And it's just ugly the whole thing. String concatenation with a bunch of "if" statements.

A fan of good ORMs here. But wasn't always, it was a conversion.
Thanks for sharing, that's a big improvement! The details are easier to see, for me, in grayscale, that is using: Image.fromarray(255 - red).show()

I'm learning as I go here, using numpy functions I've never used before, but we can use more in-place modifying operations like this (np.multiply, np.add with where= and out=) and it decreases runtime of the benchmark by 25%.

Then, after that, this problem is embarassingly parallel and thanks to numpy we can parallelize your code very well, using all cores (improves runtime for me from 3.5 to 0.92 seconds) Using Python3.8.:

import concurrent.futures
import time

from PIL import Image
import numpy as np

def compute_mandelbrot(cs):
"""
cs: complex grid subset
"""
z = np.zeros_like(cs)
red = np.zeros_like(cs, dtype=np.uint8)
mask = np.ones_like(cs, dtype=bool)
for _ in range(199):
# z² + c -> z
np.multiply(z, z, where=mask, out=z)
np.add(z, cs, where=mask, out=z)
np.add(red, 1, where=mask, out=red)
mask &= np.abs(z) < 2
return red

def py_mandelbrot(size):
t1 = time.time()
yPts, xPts = np.ogrid[-1j:1j:size * 1j, -1.5:0.5:size * 1j]
cs = xPts + yPts

# over-split because chunks are not equal in time taken
nsplit = 32
nthreads = 8
css = np.array_split(cs, nsplit)

with concurrent.futures.ThreadPoolExecutor(max_workers=nthreads) as executor:
reds_out = list(executor.map(compute_mandelbrot, css))
red = np.concatenate(reds_out)

dt = time.time() - t1
print(f"dt={dt:.2f}")
Image.fromarray(255 - red).show()

if __name__ == '__main__':
py_mandelbrot(1280)

Python makes it easy to get computed chunks in the order they are submitted, using executor.map. I still tried out what it would look like if I concatenated the chunks in the order they were received. That's when I noticed that emptier tiles were computed faster. So then, we can split the problem into more fine-grained chunks and submit more of them while keeping the number of threads the same, for a small speedup since some chunks are faster to compute.
Hype. to be followed by disappointment (discord is terrible as an archive)
I agree with this 1000%.
Many alternatives to the Facebook Public Square exist: Discord, Diaspora, Mastodon, er... Ello, erm, Voat.

I’m joking of course. None of those make as much money as Facebook, and I think we can all agree it’s the fact that they are so rich that bothers us most. Far more than any public square argument. Where’s my yacht?!
> there should be a time period where Australian content dominates

There is absolutely a time window when you’re more likely to see articles about Australia here; late afternoon and evening when people in the US should be asleep (notwithstanding the number of insomniac hackers likely to exist in a country of 330M people).

Recently there have been big discussions about the Vic earthquake, the Vic/NSW pandemic response, the new military alliance, and there are always big discussions about new Australian laws relating to surveillance and tech/media interference.

You won’t get a time where Melbourne or Sydney dominates every day, as there are many other major cities awake during the same time (there are plenty of big stories about Europe during the US quiet period). And big stories about FAANG companies will always get a lot of traffic/discussion as they affect people around the world fairly equally.

> A lot of discussion is US centric

I didn’t and don’t dispute that. But the claim was that content/discussion about/by topics/people elsewhere is almost completely drowned out, which is not accurate. It’s an understandable perception, but it doesn’t hold up to scrutiny if you look closely at the stories and comments.
I don’t like killing living things. I also don’t like spiders
I have been called a 10xer (aka magician/one-man-army/genius/R2D2/etc..) quite a few times in my programming career. Sometimes I have felt that to be true but most times I just feel like a 1x.

Many years ago, one junior programmer asked me "How do you do it?". And I answered - "Trust your intuition". I realized later it was a "dumb" answer - but few years later I have realized the following (this may not be true for all 10xers):

I cannot remember a lot of things. Probably these memory issues are due to an undiagnosed ADD. But to compensate the memory issue, I have from an early age picked up the skill to see patterns, asking the right questions and attempting to understand things fundamentally (as much as needed to connect the dots). It exponentially increases the learning effort - but may be that extra effort gives me the intuition to solve/narrow down certain problems quickly. On top of that, I have tried to solve difficult problems just for fun - nobody had to ask me to do that. At times it is like Alice falling down the rabbit hole. I would become obsessed with solving that problem even if I had pending studies for exams next morning. All that added a plethora of experience/hours. If I find somebody solving a problem quickly when I am stuck (which in itself is a rare, because I tend seek help quite late), I typically ask questions on what they were thinking. May even dig into their mindset (to their discomfort) like a psychologist.

On the other hand, I am miserably just-average when I am not interested in certain work or do not understand its purpose.

If somebody feels like a 10x in their company, I advise them to move out to a team/company where they are back to 1x, and keep doing so until age catches up and slows them down.
You're right, maybe I'm just unfamiliar with how health insurance works in the US.

In Europe, neither public nor private insurance covers beauty surgeries (at least the ones I'm familiar with).
This site reckons there are 10:
http://hyperpolyglot.wikidot.com/lisp#ten-primitives

Steve Yegge said there were seven (or five):

McCarthy had five.

On an x86 architecture - you can do it with one.

https://stackoverflow.com/questions/3482389/how-many-primiti...
They've always been there.
That's literally what SEO companies do: create thematic content farm, link each other to become relevant and then sell backlinks to customers.

They were just written by cheap labour overseas and used spinners to generate multiple unique pages.

Eg. {this is great|awesome}, I can {generate 4 articles with this|make money while I drink pina colada on the beach}