skysight-inc/HackerNews huggingface dataset:
First off, kudos to the author, awesome project and a very nice read.

During the first round of lockdowns I also spent a few lazy afternoons tinkering around this idea, mostly to get the feeling of how hard it would be (https://github.com/carlosefr/pialarm).

There are a few nasty requirements commercial alarm systems have to meet that I don't see mentioned in the article, namely how it protects against tampering and voltage spikes (which can be used as a form of tampering).

One way to protect the controller from ESD and shorts is to use optoisolators on every input and output, which should also be dry contacts (grounded=on, floating=off) whenever possible.

To detect environmental faults and tamper-inducing faults the controller can use analog inputs (which the Raspberry Pi doesn't have, but can be easily added with an MCP3008 ADC, for example) instead of digital GPIOs. This is why commercial systems need input resistors inputs added at install time depending on the particular sensor configuration.

As a software person, thinking about these things gives me a much greater appreciation for people doing industrial electronics design.

PS: For the average geek, an easier path is to interface a Raspberry Pi to a "dumb" commercial alarm. You can have the Raspberry Pi behave like a standard sensor input or monitor the sounder outputs.
* https://github.com/excalidraw/excalidraw

* https://github.com/calcom/cal.com

* https://github.com/supabase/supabase

* https://github.com/appwrite/appwrite

* https://github.com/n8n-io/n8n

* https://github.com/appsmithorg/appsmith

* https://github.com/directus/directus

* https://github.com/Budibase/budibase
I haven't heard Matrix considered to be a "fediverse" protocol before. It is "federated", but that isn't sufficient (e.g. email is not a fediverse protocol).
How exactly would it "help"?

Kids these days, with their need for everything to be neatly packaged and spelled out for them so there's no need to wait for the story to unfold...
So why did you mentioned "And forget about crafting professional artisanal code on that cramped toy setup."? I will be using Windows in dual boot with Ubuntu, and if VM allows to activate Windows from a VM, I may remove Windows completely from this laptop.
Google updates the Widevine CDM regularly and has an aggressive deprecation schedule. I imagine those keys have long since been replaced as a result of this. Each piece of content is encrypted with a unique key and the CDM is only used for key exchange. The leaked keys would be useless for decrypting any stored content.
There is no reason to take on the tech debt of an ORM when you can use RLS to solve this be defining a policy that excludes records where deleted_at is not null.
Elon Musk's real wage decreased $200B this year. Regression to the mean hits all of us. You were being paid in funny money. The real economy post-Covid is much smaller than it was before Covid, unless masks and test kits and vaccines give you as much utility as food and cars and video games.
Thoughts on how I plan to retain more of what I consume
I had a realization that I may not be retaining all of the news podcasts, interviews, and YouTube content that I'm consuming. I put some thought into how I could better absorb that learning. Here are a few ideas that came to mind.
So have I, but notably the jobs where I have not, are identifiable by significant legacy code.

It's easy to make a quick impact on greenfield or yellow field projects with little or no pre existing dependencies.

Hiring managers need to consider if the question is relevant, given the work to be done.
Multicorn – PostgreSQL extension to make Foreign Data Wrapper development easy
Do any of those systems regularly plow into parked vehicles, medians, and people? if not then i’m significantly less concerned about them.
Yep, isn't that used to find dominant colours in images fast anyway?
I did start my own business, 8 years later I earn 2x what I was paid (not FAANG level by any means mind you), work perhaps 3x less, the work is a lot more enjoyable. I was a SE.
You need to provision enough time (years) to hit market-fit, and plan for errors being made along the way.
Oh yeah, nice. Thanks, the example did make it clear.
> When I pushed back on my manager, he said sorry, I deserved it, but they were required to give a certain percentage satisfactory and he had had to give the exceptional review to someone else.

In some organizations, the manager could've urgently worked up the chain of command, that some performance review plan had, er, unintended consequences. If that was the situation.

(The organization might've had a plan for raises that they could quickly reformulate to have the same cost but better morale and retention outcomes. Or this might've been their way to quietly prepare for layoffs, or to implement some awful stack-ranking practice. Or maybe a consultant, golfing buddy, or someone who wanted some change credited to themself... proposed some questionable HR practice. Or, if your manager wasn't being truthful, it could be that there was some reason that they or someone higher up thought/wanted you to get a lower rating, but manager didn't want to tell you that, so they blamed it on the curve.)
I take your point, but the article / story itself is obviously a story right from the start. So the only ones 'misled' are those who can't be bothered to read the FTA. I suppose you could argue it's clickbait, but again I'm not convinced.
No they rely on a product that has market-fit.
He has not yet been silenced in YT. [1]

[1] - https://www.youtube.com/@aseemmalhotra9376/videos
Not all the stops -- they didn't give them a decent contract.
Because psychology.
Vue.js 2022 Year in Review
Any go-to k8 tools that you consider important for most deployments?
Get Running with Couch to 5K
You mentioned statistics and provided anecdotes. Also, ironically, you perfectly exemplified the risk/benefit trade-off: you took some risk with the idea that you could make more profit, but ultimately that failed - which is why being an employee is sometimes a good deal for those who would rather have peace of mind. Your example of your current boss, who both founded and worked for another successful startup, is precisely the other side of the coin here.

Let's look at statistics then. In the US, it seems that about 30% small businesses are successful enough to last over 10 years [1]. Your personal failure in one particular venture is not out of the norm, but your rant against entrepreneurship is totally wrong.

By the way I don't think anyone is arguing that the system is fair, that people who don't start businesses are lazy, or that everybody can make it. I don't know where you came up with these arguments. All that has been argued is that trying to start a business on your own is a risk/reward trade-off strategy that can pay off, and often does.

[1] https://www.fundera.com/blog/what-percentage-of-small-busine...
Freudian slip? :) (I recall hearing of both manager reviews and pyschological safety emphasis at Google.)
I think it's probably better said that they "prepare to capitalize on luck." Most people don't do that, because it is fairly costly to do, but it pays off when you eventually get lucky.
I think this is the one: Home (2003): https://www.youtube.com/watch?v=Kce94adFCMc
It's not popular, but I'm very proud of my ADT library I'm working on. https://github.com/schwartzworld/schtate
Widevine L3 gets broken fairly often, I'd assume that's what xfinity stream on ChromeOS is using.
Setting up row level security policies to exclude rows `where deleted_at is not null` solves most of the issues with the discarded solution. Of course it would be crazy to have a system where you will need any extra where clauses for the default queries being made. You can even make a simple function that sets a statement level variable checked in the rls policy so that deleted rows can be included or only deleted rows be returned. The only negative thing I see about using a deleted_at column is that cancelling the delete in the before delete trigger changes the resulting "deleleted rows" count to be 0 instead of the expected number.
I don’t understand it from audio playback perspective, but from a bass and guitar perspective, the distortion added by tube amps containing _many_ harmonics of the primary note, including of 5ths and octaves, making it sound ‘rad’. These harmonics are tunable through electronics, canceling some out or emphasizing others.

And that is why AC/DC songs are in major keys.
> But I have a hard time to understand how increased supply would not have a downward effect on prices.

It does, if that is the only thing that happens. If land owners or existing home owners willingness to sell, prospective renters or buyers willingness to buy, or any number of different things also change then those effects can overshadow an increase in supply. As they frequently do.

Starbucks keeps opening new locations but that doesn't say much to the effect that the price of a cup of coffee will decrease.
The article was not about only tech, and the parent mentioned many other fields as well. I also don't think your imagined career path reflects the reality of even 0.1% of tech workers in the world today.
You mean Královec, Czech's new baltic sea port? ;)
Because although the sound quality is far far lower with a valve amp, people like the sound of the noise and distortion they introduce.
To the extent airlines aren't allowed to fail, that's all post-PanAm. And TWA. And Eastern.
Thank you so much for pulling all of this together in a single place.
It's also why a "5th" chord like E5, the "Power Chord", sounds like it has distortion even on an acoustic guitar - the chord voicing emphasises odd harmonics.
That's amazing, congrats to the authors. Wonder how it would perform on harmonically more complex pop songs (e.g. https://www.youtube.com/watch?v=ZnRxTW8GxT8).
I love how nobody actually answers the question in that thread.

Audiophiles neither like nor dislike tubes vs solid state amps... historically, tube amps had better corner case behavior; usually the corner case being less distortion driving difficult to drive speakers and headphones.

This hasn't been relevant, mostly, for at least 15 years. The world's best amps have been built in the past decade and are solid state. The only reason to own tubes today is for a change of pace, not for any technical reason.
This does not actually brute force the entire search space - the search space for all possible palettes is 2¹⁹² palettes, 16 times 12 bit, modulo 16! permutations and some other things like repeated colors. The algorithm described performs a greedy search picking the best fit for each palette entry in turns but it is at the very least not obvious that this will yield the optimal solution - maybe picking a suboptimal color for the first palette entry will allow a better fit later than picking the optimal color for the first palette entry. The same applies for choosing the color of the next pixel - it could be possible that making one pixel worse might allow subsequent pixel to be approximated better. Which then also leads to the choice of the error function - what is better, many medium deviation or many small deviation plus some big deviations?

Without careful analysis it is really hard to tell, at least for me, how a greedy approach compares to the optimal solution, but I would guess that one gets pretty close but I do not think that one is guaranteed to find the optimal solution. I would also guess that one could create pathological cases where the greedy approach produces surprisingly bad results.
I am discussing what was actually written - that is what "study" refers to in my comment. The article talks about only the successful.

I see no point in speculating about what the author may have thought about but omitted from the article.
Generally, the price premium of goods already reflects the resale value. One could see this with automobiles. Make/models with higher resale value get priced higher on the initial sale.

Also, you would be amazed at the amount of book returns that exists in the industry. Publishers routinely bake the cost of those returns into the hard/paperback's retail price and deduct the cost of the returns from royalties paid to authors. Most unsold pbooks are <gasp>destroyed!</gasp> This is because this is the relatively lowest direct cost option compared to the bookseller returning the book back to the publisher.

For an example with self-publishers, see: https://www.ingramspark.com/blog/making-your-book-returnable

If a self-publisher chooses to have the book returned to them (in the hopes that they can directly sell it from their author website), they are also charged the shipping & handling (deducted from the royalties).

The reason I bring this up is because, the publishers would rather the used books sales completely disappeared. That is part of the reason why they don't hesitate to destroy the returned books to avoid crashing the price.
> Then r-l is 0-1, which underflows.

True. Then (l,r) = (18446744073709551615,0) is a counterexample, since r-l = 1.
Well, the screws and plugs are Java and the litany of older managed languages we have with almost the exact same guarantees.

Why should I throw it away and buy a new set which will give me the same thing?
Depends whether you actually want to learn TypeScript or just how to consume it. More than 90% of TypeScript code I've seen is not actually taking advantage of TypeScript's static analysis capabilities to write safer more scalable code and is instead just being used as glorified autocomplete.

If you actually want to learn, then take a look at the implementation for stuff like Zod: https://github.com/colinhacks/zod/tree/master/src/helpers

You can do some really powerful stuff that hugely benefits your team. A decent example I stumbled across recently when I went to release my own library (that does the same thing) is https://github.com/leancodepl/ts-routes
How about a different approach. Instead doing more of the same, branch out in to a different language. Elm, for example. [0]

Elm specifically will teach you lots on the static types end of things. And it will only take a weekend or so of tinkering to show improvements in your TS life.

0 - https://elm-lang.org/
> What do you expect from FOSS "suppliers"?

That if it breaks I get to keep both pieces. Or I can fix it if I’m able.

What I don’t expect is for them to intentionally break things and/or just pull the rug out from underneath everyone because “they’re well within their rights”. Sometimes being a dick is just being a dick.

Too many people seem to think they have some right to make money by giving away their labor for free because people take them up on their offer of free labor. Don’t want to work for free then don’t work for free. Don’t want the richest corporations in the world using your software without contributing back then don’t offer it to them under a license where they can do this. Easy peasy.
I haven't benchmarked that, but in Rust `ScalarPair`s (i.e., structs who have up to to scalars) are passed in two registers, while bigger structs are always passed by pointer. Therefore, passing bigger structs by move will require the compiler to copy them, while with references it is not required to, so references may be faster in that case.
I remember watching a demonstration of tube vs transistor amplifiers on a TV show in the mid 70s.

1. Tube amp
2. Transistor amp
3. Transistor amp + noise mixed in

People on that show preferred (1) and (3).

I wonder if that show might be on YouTube today.
>Knowing what you’ve read is important to avoid recommending duplicates.

I don't see the issue with OP handling their own deduplication, makes for a better thread overall.
We're solving this problem at https://socket.dev starting with npm, with python coming in the next month or two. Here's an example of a date picker web component that runs an install script, collects telemetry, accesses the network and filesystem, and more -- all detected with our static analysis engine. https://socket.dev/npm/package/angular-calendar

We show alerts in GitHub pull requests, or the CLI, if you add a dependency with a supply chain risk.
The way to break through this problem is to offer different rewards beyond money in order to make people more ambitious.
The source is Ken Kocienda who developed it: https://twitter.com/kocienda/status/1400484168199401477

Of course, it was not the current multiprocess WKWebView, which requires more resources, and not the legacy UIWebView directly, more likely some of its internals.
If you can get an interview at a big tech company (the hardest part, IMO), they don't seem too bad.
Not mentioned here is that Zener diode reverse bias clipping harmonics can be similar to tube amps and are used in pedals to simulate the warm tube feel.
> but humanity has closed the doors to the kinds of futures I was working toward

Curious to hear more about what you mean by this.
Thank you. From what you can recall, how does High Rise compare in style and theme to this Report on an Unidentified Space Station? Were the text and themes very similar?
Wait, isn’t new year on September 1 anymore? :)
No. It’s a fine, useful signal.

I have asked this question in the past, and will continue to do so. I used to be more lenient with short term stint candidates. It never paid off, so I’m a lot more strict about it now. I have not once experienced the highly competent short stint non-contractor developer that HN would have me believe exists in such frequently that’d make this an unreliable signal.

I can’t realistically envisage an employee so valuable and productive that anything less than a 12 month stint wouldn’t leave a taste in my mouth, and for good reason. Not many people would be earning their keep for a fair portion of that. And I would’ve burned a lot of time learning how to work with them. At the end of it you’ve ended up with a loss of what little institutional knowledge they had, and a bunch of code written by someone without the proven ability to build maintainable software that’s only learned by being burned and learning the hard way.
Most business owners actually do risk something, or at least give up possible guaranteed income to start their business.
Another benefit is that it might ensure that your building pipeline is still working.
No, at around 1% fixed for 10 years. You can get up to 2% on very short term investments in Germany right now with interests rising.
Mobile providers are among the largest users of IPv6 for exactly that reason.
You might even already use IPv6 on mobile without realizing it..
I saw this post just as I was heading out the door and didn't want to wait before reading it. I found a decent reading on YouTube that I really enjoyed: https://www.youtube.com/watch?v=pc54PpZZblA
Your argument sounds good on the surface. But this is true of any two professionals. If you find any two scientists, engineers, doctors and ask them for professional opinions separately you will likely get different answers. They may come to hold the same opinion after collaborating.
Cascades can also lead to deadlocks as I found to my cost the one and so far only time I tried using hard deletes.
Python developers aren't smart enough to develop threaded code. Making threading work in python would be like giving crack to an infant. Python maintainers made the right choice to coddle their user base, you see if you have to be smart to use python then you wouldn't be using python to begin with and user base goes to zero. I kid I kid. Happy New Years - a python developer
> With all due respect to Croatia and the lovely people that live there, they cannot compete globally with Germany in any interesting export market.

This fails Econ 101. Gains from trade occur even if one country is absolutely worse at making and selling everything than another. You may want to revisit the concept of comparative advantage.

Their currency is also currently pegged to the euro, so this is absolutely no change from a macroeconomic perspective. It just reduces the barriers to trade, including tourism.
The thing is that most paying customers are most often on iOS, so target that experience while using react native and you will get some Android users for free. Android users are less likely to pay anyway.
It will take something absurdly massive like the iPhone to drop IPv4 to turn the tide. Look at how Apple's aggressive use of the iPhone has changed things. Right now it's their push for eSIM.
What? Obsessing over men being men and worrying about made up gender norms is the most childish binary way of thinking.
I don't want them to be able to take it from me in the mean time. It's far easier to pay $1000/year in taxes than $26000/year in mortgage/taxes.
Building a MySQL backup filter using sqlite3
Why does it all start with "2"? e.g. 2000 -> 2f00? Where are the other prefix segments?
The guide to custom domains for your SaaS app
That’s not what the Twitter Files showed at all (even assuming a generous meaning of “woke leftists agenda”). In fact, what the Twitter Files showed was the one occasion that they did push the White House’s position, it was done by a low level decision maker and was overturned very rapidly once it became known by management, and led to changes which greatly reduced the chances of something like that happening again.
i've been wanting to build one of these for years...

for basically the same reasons, it's not just in norway, those incumbent security system providers have been making out like bandits for decades
But not so much that you start looking like a lottery ticket. ;)
It can be the other way around, that the table has prefix/suffix, and the view doesnt. Alternatively view can be created with the same name, but in a different schema, which is set with higher priority for the user (e.g. via search_path in PG)
This is pretty much inherently super lossy, so not a good bypass. You need to decrypt the actual WV stream for a good copy.
There's enough evidence to start writing subpoenas, which is really how this process works. They don't generally start with enough evidence to convict, they start with enough to compel people to give them more.
ClickHouse updating materialized views in realtime.

How it is done:

1. Intermediate states of aggregate functions are first-class data types in ClickHouse. You can create a data type for the intermediate state of count(distinct), or quantile, whatever, and it will store a serialized state. It can be inserted into a table, read back, merged or finalized, and processed further.

2. Materialized views are simple triggers on INSERT. It enables incremental aggregation in realtime with materialized views.

Downsides:

Limited area of application. Does not respect multi-table queries if updates are done on more than one table.

Disclaimer: I'm developer of ClickHouse: https://github.com/ClickHouse/ClickHouse
With Mastodon, decentralization strikes back
Based on your reading, how do Ballard's other works compare in style and theme to this Report on an Unidentified Space Station? Are the text style and the themes very similar?
Yes, all the files you see on torrent sites are decrypted using L1 keys extracted from a nvidia shield using a TrustZone exploit.

> they just don't publish the methods and devices they are using for that so they don't get patched.

Well not exactly, it's hard to patch this when the keys leak from a very popular device.
This is such a valuable question for other languages too. I wonder if there's a repo/resource listing such projects..

I asked a similar question about ruby some time ago, and came across one good recommendation (https://github.com/sharetribe/sharetribe), but would love to have many more. I'm also self-taught and feel I haven't read enough great ruby code!