skysight-inc/HackerNews huggingface dataset:
int const* const x; // C

int const& x; // C++

A reference is functionally equivalent to a const pointer. (Reference reassignment is disallowed. Likewise, you cannot reassign a const pointer. A const pointer is meant to keep its pointee [address].)
The difference between them is that C++ const references also allow non-lvalue arguments (temporaries).

It is much easier to read from right to left when decoding types. Look for yourself:

- double (* const convert_to_deg)(double const x) // const pointer to function taking a const double and returning double

- int const (* ptr_to_arr)[42]; // pointer to array of 42 const ints

- int const * arr_of_ptrs[42]; // array of 42 pointers to const ints

- int fun_returning_array_of_ints()[42];

Try it out yourself: https://cdecl.org/

Hence, I am an "East conster". (Many people are "West consters" though.)

You can return function pointers:

typedef struct player_t player_t; // let it be opaque ;)

int game_strategy1(player_t const * const p)

{

/* Eliminate player */

return 666;

}

int game_strategy2(player_t const * const p)

{

/* Follow player */

return 007;

}

int (* const game_strategy(int const strategy_to_use))(player_t const * const p)

{

if (strategy_to_use == 0)
return &game_strategy1;

return &game_strategy2;

}

Functional programming = immutable (const) values + pure functions (no side effects).

Consting for me is also a form of documentation/specification.

"East const" for life! :)
They're not great places to take stolen goods either, at least not generically, for anything with a serial number or distinct characteristics. Every item that get's pawned or sold in a store goes into a searchable database like LeadsOnline [0]. My family owns a number of pawn shops and we got a very low number of stolen items, the most common was someone stealing from family.

[0] https://www.leadsonline.com/main/index.php
So there's a tweet I've seen where some anti-vaxxer is asking if anyone else has noticed why all these unvaccinated people are suddenly getting Covid like there's some sort of conspiracy. Sadly it'll probably be taken as "confirmation" of nanobots or something. Of course, this all just misses the point entirely.

I have the same feeling about this. It's not that piracy increases innovation. It's that overly restrictive limits stifle innovation and this includes the ridiculous software patent fiasco.

It's not really surprising that the Patent Office didn't discover that patents in general and software patents in particular are in fact the problem.

There's tons of evidence of this too. The Wright brothers' original patent on flight control completely stifled the aviation industry such that when the US entered World War One they were unable to build planes and they had to buy them other nations. This particular event is why there's a patent pool for aviation now.

A smartphone is literally covered by thousands of software patents for completely obvious "innovations".

Commercial software tends to have a lot of restrictions such that only paying customers can (legally) use it. Sellers would rather not have someone use it and view them as a potential future sale than risk giving it away for a low or zero price. Many of those people using that software would probably lead to innovation.

The lesson here should be that overly restrictive IP enforcement in general is the problem.
Required reading for every technical leader: https://randsinrepose.com/archives/shields-down/

> Resignations happen in a moment, and it’s not when you declare, “I’m resigning.” The moment happened a long time ago when you received a random email from a good friend who asked, “I know you’re really happy with your current gig because you’ve been raving about it for a year, but would you like to come visit Our Company? No commitment. Just coffee.” ... Your shields are officially down.

> Your shields drop the moment you let a glimpse of a potential different future into your mind. It seems like a unconsidered off-the-cuff thought sans consequence, but the thought opens you to possibilities that did not exist the moment before the thought existed.

> Every moment as a leader is an opportunity to either strengthen or weaken shields. Every single moment.

As a CTO of a young company, I start many mornings thinking about my team's shields. Am I asking them to focus on projects or parts of the stack they don't find interesting, or being less proactive than I should be in unblocking their needs? And most importantly, am I staying true to our values and providing them the transparency they need? Because if we get to the point where the OP article is, where team members want to find a different team, there is no other tech team they can transfer to, so their shields being down becomes a critical vulnerability! There's a balance, of course, and some weeks are just too chaotic to be perfect at this, but I try as much as I can. I like to think that this is also the type of environment that makes people the most creative they can be - it's a win-win for everyone.
My biggest problem with using these tools is mandates forced by someone in the company that no one on my team has ever met. As another commenter pointed out, I just want a big checklist, with sub check lists, and a handful of properties, that i can create update and delete at will.

Instead of being a tool to help us do our job more efficiently, it has become a source of busy work, that requires extra employees to use properly.

After switching to Jira it was so locked down with arbitrary rules that I need to take a break every time I use it.

I'm seriously considering looking for a new job that doesn't use a corporately mandated system, or have daily stand ups.
It doesn't mean that innovation is to the benefit of the user, though, does it? Maybe all the innovation is in anti-piracy technology?
You joke but if everyone had a tag, the speed limit could adjust itself in real time, enabling you to go faster when it is safe to do so and go slower when it isn't.

In other words, we could improve the driving experience and save lives with a little bit of work if we had folks with a working brain in government and elsewhere.
Improve your writing skills and start making money
If there was, say, a correlation between women speaking that way and people interpreting it as less professional/authoritative I think that would be an interesting conversation and one worth having, and it would be about sexism/oppression. Thats kind of a zoomed out view though, zoomed in on this situation (living in the world as we find it) I largely agree with the chain of replies.
Donation of Apple-1 STEM boards: form for schools
Right but that would be an argument away from pirating, ie straight competition encourages innovation bec ppl don’t want to pay the egregious fees for software that they don’t fully utilize.
Fun fact after that last one, while France will call a French drain a drain, Quebec (the French-speaking part of Canada) actually calls it a "drain Français" due to the influence of English neighbours. We translated the guy's name.
T3rm.dev launches web3 terminal for shadowy super-coders
> No other company is scanning for CSAM on your phone

no, they're just doing it in the cloud, after everything was uploaded automatically :)
In one of the worst cases in the world (Peru), COVID-19 killed about 1% of a country's population. In countries like the US, it has killed/made seriously ill/given long term complications to a vanishingly small percentage of the population. Every year, people face risks at least as bad as COVID-19 without flinching or taking any particular risk reduction approaches. I feel awful and very sad for the people who lost a relative, friend, neighbor or colleague to this disease, but in most developed countries, your own personal risk of direct harm from COVID-19 is very, very, very low.

However, the risk to public health systems is immense. Too many people getting COVID-19 at the same time (let's remember that even with out Delta, it's remarkably contagious), and whatever fraction of them require hospitalization start jamming up the hospitals. Now, your regular everyday trauma, acute disease or sudden worsening of a chronic condition becomes a potentially fatal incident, because the hospitals can no longer treat you (at all, or even just effectively).

That is the actual risk of COVID-19 in terms of a nation-state, and what nation-state would say "oh, it's just a a personal decision whether or not you take steps to help avoid that scenario"? Rhetorical question, because we known precisely which ones have taken that approach, and what the results have been.
SteelSeries | Full Stack Engineers | On-Site (Chicago) or Remote (US, Canada) | Full-Time | https://steelseries.com/

SteelSeries is a leading manufacturer of gaming peripherals and accessories, including headsets, keyboards, mice, and gamepads.

We are looking for full stack engineers to take our gaming software platform, SteelSeries GG (https://steelseries.com/gg), to the next level.

Tech stack: JavaScript, React, Go, C++

Our current open roles:

* Senior Software Engineer (https://jobs.jobvite.com/steelseriescareers/job/obTrgfwv)

* Lead Software Engineer (https://jobs.jobvite.com/steelseriescareers/job/oeatffwQ)

* Software Engineering Manager (https://jobs.jobvite.com/steelseriescareers/job/oadJffw5)

Interested? Please check out https://careers.steelseries.com and email tom@steelseries.com to find out more.
Piracy would be much easier to enforce laws for if copyright law didn't protect nearly a century's worth of works.

If copyright law was something more reasonable, say five years, then the MPAA/RIAA could viciously protect everything within those five years and consumers would more likely stay away from those materials given the negativity of the consequences.

The way things are now, you literally have to pirate some games like No One Lives Forever because the copyright law around them is so convoluted that no one knows who can legally sell it anymore. Even worse if you're looking for something like The John Larroquette Show which can't be found anywhere outside of piracy due to a lack of interest by distributors.
I have a MSc in Finance (so I understand options a bit), and I am currently working for my second startup. I was offered equity each time, and it was never part of the reason why I moved to work there.

I consider early startup equity like lottery, and an option on that lottery is worth even less in my eye. The taxes and legal specifications make these options super hard to evaluate... At the end, its mostly a way to defer an uncertain employee salary to an uncertain future... Normal equity is a mechanism to share decisional power, not only money. In my mind, most startup equity is to equity what Avril Lavigne is to heavy metal... not the real thing, something else in disguise.

And to be even bolder, I am actually against using options for any form of compensation, for employees AND for management. By nature, the value of an long call option does not only increase with the value of the underlying, but also with the volatility of the underlying. And if your option is way out of the money (Underlying <<<<<<< Strike price), your sensitivity to volatility is higher than the sensitivitiy to the underlying. In which situation would you want anybody in a business to have these incentives?
Downvotes because nerds love to construct a super super unlikely corner case to argue against something ;)
> Most devs, if HN is any indication, believe that jumping ship every 1-2 years is the best way to move up.

It's not just developers. The old model of companies rewarding loyalty and actively investing in furthering their employees' skills has declined across the board, and it's no coincidence that the timeline correlates with the timeline of the demise of unions and collective wage/employment condition agreements.
> Since March 2020, I have been using my work computer at home: an HP Z440 workstation.

Sounds like it’s a work computer and not originally purchased by the blogger.
As in pirating encouraged innovation in licensing? Fair. But it’s not really the argument that most people understand the headline to mean.
We can always use the types of snow.
https://en.wikipedia.org/wiki/Types_of_snow
I count
6 types of snow
3 intensity of snowfall (which can also mean snow)
8 snow crystal classifications
4 types of snowpack material properties
7 wind induced snow structures
5 sun/temperature induced snow structure
9 ski resort classifications
7 informal classifications
Sneaky Sasquatch is a good game, it is really deeper older kids/adults, but for younger kids its easily playable.
> I'm disappointed to report that Linux needs a lot of improvement to be viable for most people.

I'm continually surprised that people are continually surprised by this. I'm sure this post will get a lot of anecdotal replies; of course it can work fine for many people, but that's not the point. I used it exclusively on the desktop from 1995 to 2002. I could make it work for me, today, if I wanted to.

> You and I have realized Apple can make these type of changes whenever they want.

Was this not obvious? I'm pretty shocked that, for example, Docker can decide to change their license, and now in a few months a bunch of companies owe them money for every single user they have, even if the users don't do anything different. If they opened the license agreement and chose NOT to upgrade. If they never use the software again. But bam, terms changed, now you owe us money.
I had a Microsoft Lumia and used it into the ground until the screen died. It was a good phone, lacked some critical app support, but otherwise was a very solid smartphone alternative to iOS and Android. And you could even replace the battery! I can't say that is MS were still in the game, things would be markedly better, but at least there would be a decent, if distant, 3rd place smartphone platform.
There’s a few Youtube channels doing a kind of street journalism recording the effects of the crisis in different cities. Some channels do interviews with the addicts when they’re sober. It’s hard to see what the “best” way forward is but i think its not that difficult to identify some things we do today that aren’t helping at all.

https://m.youtube.com/channel/UCOuf_kStlWnhuauw4ce8l-w/video...

https://m.youtube.com/channel/UCyWpRDBBb84ogtALVskwciw
That’s not how electron works - it bundles dependencies. Like any other app bundle (exe, msi, dmg). Same goes for non-electron websites (/apps).

I guess there’s a way to also auto-update those, but that defeats the goal of using Electron - reproducible, predictable app builds to ship to consumers.
Is the System76 experience worthwhile so far? I'm about to invest in a Pangolin [0] this Labor Day weekend and could use an honest review from a fellow HN ex-Mac user.

[0] https://system76.com/laptops/pangolin
"Ironically, the ruling Chinese Communist Party (CCP) will be China’s biggest obstacle in its race with America. The party’s existential fear of losing control will impel it to maintain a tight grip on the economy, making it less efficient. Giant but ossified state-owned enterprises will continue to waste resources. The CCP’s arbitrary exercise of power—as exemplified by its sweeping crackdown on China’s most successful tech companies, such as Didi and Alibaba—will stifle the innovation and growth of its tech sector more effectively than America’s sanctions."

Doesn't say anything about growth, but does imply the govt structure is inefficient, which doesn't make sense to me. It's certainly MORE efficient.

"China should be able to narrow the gap with America in the 2020s, but its growth will probably slow down in the 2030s, and the prospect of China overtaking America will look increasingly dim. If this is the case, the coming decade might be the most volatile because China’s continuing ascent might make its leaders more reckless and Washington less secure."

Yeah, it doesnt say anything like:
"China will eventually stop growing because it's not a liberal democracy". There's some hand-waving that the CCP (individuals) will be reckless...which is a random claim.
there is a Youtuber - Kraut that had a video out on China "Trump's biggest failure". In the video, he makes the point that the Chinese view 1900 - 2000 as the century of humiliation. The takeaway I think is to look for Chine to expand and assert itself more on the global stage.
amazing to me with wealth inequality people don’t do the most basic calculations to do a fair comparison between racial groups or any other group.

A 22 year old with 10k saved but making 200k a year at google is a lot better off than a 80 year old who has 200k saved thats living off social security, despite have 1/20th of the wealth.

the median age of whites is 50 percent higher than that of black people so they should have 15 more years of savings accrued in their net worth

https://www.pewresearch.org/fact-tank/2019/07/30/most-common...
How does it structure the flash cards into a knowledge tree? Is it like Roam plus Anki?
And they already are, Apple (and indeed all companies) have to follow all sorts of rules in all sorts of countries. Some of those rules are fairly harmless, some of them are about radio power levels, some of them are "don't show the Taiwanese flag in China".
Steve Jobs always quoted Picasso

"Good artists copy, great artists steal"
...So they're still doing it. Yeah no thanks. I've seen what the Stasi and KGB did. We don't need a tech company like Apple to tattle on our behalf for what their AI interpreted as illegal but was not. The last thing the average American wants to do is to talk to police and lawyers.
I ordered the pine64 but it still has not arrived.
Readability is largely subjective. I think this sentiment is better described as optimising readability for the lowest common denominator in terms of both ability/experience and the most common style of code, that being imperative. That's not an unreasonable choice to make but there are other criterion by which to judge how easy or hard code is to read.

It comes up a lot in discussions about Go. A simple, "readable" language in which I can't tell you at a glance what a block of code does or is responsible for.
Author of the article is "Al Root"

For a while there, with that font, I thought it was written by a bot.
As anecdotal and loosely related point, in the ethereum community we think that the unprecedented rapid pace of innovation is largely attributable to the need for smart contracts (and often their UIs) to be open source or users won't trust them.
1. They own their cloud, you own your device. Having your own device work against you is more problematic in principle than having another party you give your data to working against you. I don’t like the concept of devices that I own betraying me.

2. When scanning is done locally, it’s easier for them to secretly or openly modify the software to scan everything on your device, rather than just what’s just uploaded to iCloud. If they tried scanning everything (including non-iCloud images) in the cloud, the network traffic of uploading every image on your device to the cloud would be observable.
"Apple Delays Rollout of Security Compromising Backdoor"
As a complete remorseless pirate (as in, I download stuff but I never uploaded anything I purchase) and as someone whose software was pirated (causing me to go out of business, for that specific venture), I think piracy is bad purely because someone is infringing on a contract.

If customer A buys my software and accepts a contract which say not to redistribute, he can't go and break that contract unpunished. I should be able to legally persecute customer A, if I can prove a breach of contract happened. If someone is re-sharing that content or if they're downloading it, they never had a contract with me and they should be able to do what they please.

Sure, that's bad for me, but that's part of doing business. Eventually the price of things will go up to account for people pirating.

Also, if I'm selling so much of my software that I can't possibly trace and persecute all the users leaking my software, I think we should accept a certain amount of piracy and loss of revenue. Call it, a natural tax on my software being so successful.

Still, the government shouldn't be able to intrude on customer A privacy, internet providers shouldn't be compelled to release data on customer A. DMCA is absolute cancer and the proof that the government is not doing the people's interest but the interest of big media corporations.
wage inflation has almost never outpaced overall inflation. when that happens companies have extremely strong incentives to do things like outsource or automate or hire illegal labor
Would there not be a risk that you may get something working nicely in openjdk and then you go to do a native compilation, and it turns out that it doesn't work due to some new method call which uses reflection or something?
Financial independence to... spend less money?
Nobody worried about the science or logic behind vaccinating people for smallpox, polio, measles, mumps, rubella, pertussis, and however many other viral infections we insist kids get vaccinated against before they start kindergarten. Why is COVID-19 different?
Those use a different perceptual hash that's intended to be kept secret.

It's significantly harder to develop collisions for an algorithm you cannot inspect or obtain the output of.

(well also, emailing actual CSAM is way easier and mostly just gets the sender reported)
Milorganite does just that! Comes from the Milwaukee sewage treatment.
Saying flatly "that's not true" is too bold. I don't have a responsibility to answer for what you think I'm arguing, only what I'm actually arguing. (And equivocating on my words doesn't change that.)

> if the font distributor shows the buyer some text and requires them to click "I Agree" before downloading the font, then they have a valid contract

Right. But if they don't agree, then no legal mechanism exists to keep the "customer" from getting those shapes from someone who doesn't impose a contract, since anyone can peddle the same letterforms without violating copyright.
We need a SaaS that manages all of these SaaS subscriptions and accounts! That's something I'd pay $10 a month for
Bond optimizes their hiring and onboarding process with DocSend and Dropbox
The fungal mind: on the evidence for mushroom intelligence
Edit: NB: the part code is actually CY7C1049-

Old but still available and just in stock!

https://uk.farnell.com/w/c/semiconductors-ics/memory/sram?sr...
> The web uses files extensively.

Not these days.

Almost all web content is dynamically generated from one kind of indexed data store or another.

> Its not like downloads aren't files.

The fact that you can download some files is similar to the fact that shoebox apps can export files. It may be true but it doesn’t change anything.

> Any page is a file.

This isn’t true. But even if it were, I doubt you’d convince rektide that this would meet his definition of ‘files’.
For some reason, I just don't think the people described in this article are moving millions and millions of dollars of makeup and over-the-counter drugs every year in order to keep their basic needs met.
Ultimately high value things will get secured behind a clerk where you take a picture card of what you want to them.

Stores will use cameras and AI to build a comprehensive case against someone or group and then notify the police. That will be enough for a warrant etc...

Probably a startup or two in this space. I am sure home depot or CVS will invest in your series A.
We all have had, but in the past. it isn't feasible now.

I mean, you can buy "safe" smartphone, but first you can't prove beyond reasonable doubt that it is actually safe and private, and second, you attract more attention because the same phones are being bough by the criminals.
Remember when 70% of iOS apps stopped working because the Facebook SDK crashed on launch after Facebook servers started sending slightly differently formatted JSON crap? And then, it happened again?

Looks like this innovation has finally landed in Windows!