skysight-inc/HackerNews huggingface dataset:
My first job out of college was maintaining and refactoring a 10+ year old Perl CGI application. After a bit of adjusting, I found it quite rewarding to refactor overgrown messes into nice and readable OOP patterns, and more significantly, it was character-forming because it really hammered home the point that one person's quick fix will always become someone else's maintenance burden down the road. It's definitely been a positive influence for me to experience the other side of the stick early on in my career.
I suppose there are only few things you want to be doing, and there are infinite things you don't want to do.

There is tendency You will be doing what you don't want to do. If you let it.
Updates to Google Cloud’s infrastructure capabilities and pricing
They do, for instance here someone in 2017 tested that YouTube doesn’t work anymore on the original iPhone:

https://www.forbes.com/sites/bensin/2017/01/04/does-the-orig...
Sometimes wrong things get upvoted and reach to the top on Reddit. How does this algorithm stop that? Case: In football (soccer for US folks), there was a report by Marca about two players fighting in dressing room after a terrible loss. It got to 6000 upvotes on reddit. Turns out later everyone denied it. Now, would that show up, unless corrected at the source? because you can't invalidate keywords. What happens when things are in a flux?

For a market analogy - while the market hyped up Apple and Microsoft, they also hyped up Theranos. Market had the 99 boom, and then 2000 crash, and a 2008 crash. That is, market can very easily by misled. Replacing a system with something slightly better is probably not a good idea. There are ways Google can be improved or replaced, but things like these are not the way.
It won't go away. Most people simply just don't pay for digital content. Most people post Archive.is links to news articles proudly, as if the content itself can be created for free. People complain about clickbait, but that's really besides the point. Same thing about YouTube. People even go out of their way to use technologies like Sponsorblocks which will fast forward the video through any mention of an advertisement.
Here is a case of this exact thing occuring in one of the wealthiest counties in the US, right outside of Washington, DC. The police were actively assisting the traffickers as well.

https://abcnews.go.com/US/wireStory/suit-fairfax-police-offi...
I doubt not getting paid enough is the problem. although a contributing factor. it doesn't necessarily leads to bitterness, unless other factors come into play.

Such as the scenario of providing feedback on how certain technical choices made by (supposedly technical) managers, in contradiction with senior architects and most senior developers, are going to cost a lot to reverse down the road, then when that's precisely what happens, and being explained the company isn't in a position to increase your salary, that manager gets promoted anyway, and 3 new hires joins in to help reverse the misguided technical direction, but of course new hires have no clue how anything was put together, so end up asking the long timers some help, help that is pretty much doing 80% of work to meet deadlines, and then of course the newer hires' manager ensures the credit goes to his new reports, so that he can at least give those a rise and retain them. and also control them since they still little exposure to the entire stack.

the bitterness is usually not about the money, it's about how a few bad apples know how to play power games and ultimately ruins all the hard work of long ago gone managers who somehow made meritocracy at the core of the company. Those managers weren't very technical either, but they worked more ethically and shined at their role.

note: this isn't my own anecdotal story. it's a theme I've started seeing more and more in the last 5y or so, plaguing mid size companies the most, those that reached a level of maturity.
Storing functions in datastructures with the purpose of applying a different logic depending on context/configuration but with the same goal _is_ the strategy pattern. It doesn't matter if you call it like that or not.
I'm surprised no one is talking about RSUs. They are very dangerous because if your employer starts doing badly you're at risk of losing your stock ownership in the company as well as your job. You should sell most of RSUs as they vest esp if they're a big chunk of your net worth.
Lots and lots and lots of experimentation (experimentation on paper) and looking out for clever ways to find parts of the equation-at-hand that cancel each other out, so that the resulting notation is hopefully as short and practical as the equation is good at being accurate.
Their patches do seem to be available under BSD here: https://github.com/kiwibrowser/src.next/blob/kiwi/LICENSE
Brute force

E: if you want to have reliable, consistent results that is
Haha this is awesome, rolling...

Looks like a Funnel or Chat bubble with the letter V in it.
If it's not viable, it's not a minimum viable product because it's not viable. If it's not something you can sell or at least market to customers, it's not a minimum viable product because it's not a product. If it doesn't meet enough needs in a clear enough way, it's not a minimum viable product because you haven't met the minimum.

MVP is not a longterm goal, but it can be an important stepping stone. All three of those words matter, though, not just the "minimum". It has to be a viable product. Once you have an product that is viable, you can start selling it as a solution to some problems and find out what else those paying customers want it to do. Don't give up three years of income making a product more than it has to be, but don't release that small starter version yet if it's buggy or confusing, either.
And the traditional, near-cash liquidity hedges like precious metals already follow inflation. No need to dabble into such risky things as crypto.
> a happy, stress-free employee produces more valuable output

The output is certainly more costly, but does it bring in more income for the company?

Are there any studies published about this? I imagine Big Tech would keep it as a closely-guarded secret.
The whole "node-based" vs "based on node" ambiguity is going to get annoying. Already makes it hard to find stuff on Github.
Ok, sure. Let's try it.
Show HN: HN Posts on the Russian-Ukrainian Conflict
I'm iOS dev and few limitation:

1) Biggest one Lidar is only on iPhones Pro in contrast to TrueDepth that after iPhone X landed in all iPhone devices

2) Lidar has very low resolution

I wish the added Lidar to all iPhones + combined this with TrueDepth (both in front and back of iphone) - true depth has better resolution but is slower (only 30fps + higher latency) and only works best for distance < 1 meter
> I don't think you can realistically use Swift client-side.

I beg to differ. I've been using it client-side for years. I do not like the hybrid offerings.
I read the full article, but I use Racket most of the time so to understand the code I secretly ignore the parenthesis and use the indentation instead.

I like Scratch for kids for very small programs, and perhaps for programs with some easy to encapsulate subparts, but my feeling is that once you need to use recursion the friendly part of Scratch is a problem. My daughter used it for a month or two, but she preferred to go back to a language with text representation that makes cut&paste easy.

About the rest of the article: Does the compiler use some trick to make arithmetic operations faster under the hood or you are using just the unary/binary representation in lists?
No, they are not close to the same.
Google “hijacked millions of customers and orders” from restaurants – lawsuit
Right, asking for a cash discount is going to have the salesman laughing behind your back. They might give a financing discount, but they don't want cash. So read the fine print, but it may make sense to finance a vehicle for the anti-cash discount (like a $1000 discount coming from some program run by the lender) and then pay off the loan completely after a month. Depends on fees etc if this makes sense for you, but it might.
Initially the point was to reduce the number of Taxi on NYC streets, especially unsafe Taxi. The existing regulations did require a defensive driving course for Taxi drivers as well as a fairly clean driving record etc. But at it’s core was New Yorkers being fed up by how crowded the streets had gotten.
It's almost like:

Sent from my iPhone

Except now it is:

Written in Rust
> A lot of people don't (and in my opinion, shouldn't) conflate such a primal activity as "sacred". Is it really a good idea to put sex up on a pedestal?

It's one of the best ideas people have ever come up with.

> Do you know how many people out there resent the amount of control that society tries to maintain over sexual expression and activity?

A small but increasingly loud minority. The vast majority of people benefit from social strictures and taboos surrounding sex.
Pedantry: These are really Unicode escape codes not UTF-8 escape codes, since they're codes for Unicode code points. You can write invalid UTF-16 with these escapes (because unlike UTF-8 the UTF-16 encoding actually borrows Unicode code points that are not scalar values, called the "surrogates") but I don't know what the standard says should happen if you do that.
The UI text is impossible to read on my laptop. Looks like it ignores UI scaling settings and therefore is tiny on high-res screens.
Seneca's letters changed my mind when I discovered ones. BTW why do you think this letter needs the most attention?
> It only mandates that the countries that signed the agreement wouldn't be the ones to attack Ukraine

Shows exactly how much international agreements are worth: One of the countries that signed the agreement was Russia.
I generally agree that MVP tends to be cargo-culted rather than chosen as an intentional strategy. Most people who tend to spew the term often don't even know what they mean. I also agree on people tending to focus way too much on the 'minimum' and not nearly enough on the 'viable'. for example, how can you know if investing in the UI or design of a product is necessary for viability? I've seen that any interesting UI is often cut in the effort to find an MVP... but, well, sometimes an interesting design actually increases viability.
> maybe the order in which construction steps take place is significant

That is just horrible...

> maybe parts of the construction might be conditional

No builder pattern needed for that, just use optional arguments and/or an option/nullable type.
got to see my avatar!
No, there are no spare machinists right now. They would come pick up our machines and install them in bunkers to make weapons of war.
Seems to me that the author doesn’t understand what MVP means. Old maybe, but busted? Gtfo
The more they grab though, the stronger their position at the international negotiation table, to achieve what you describe as their goal. "You want us to withdraw from everywhere?? Nah ... The maximum we are willing to go for is withdrawing to the 'new republics'." And then some inconsequent negotiations may grant them that, thinking "Well it will be just as before then." And by agreeing to such a bad result to stop the bloodshed, Putin has got what he originally wanted. Maybe that is his long term goal and the redt is show for the west. An act to spread as much horror and terror as possible.
Disney is introducing cheaper Disney+ with ads, so I guess some people can only afford to pay less.

(or you can see it as a way for DIS to raise their current subscription prices like netflix did)
This is excellent advice. The number one thing you can to do to improve your financial resiliency is to avoid debt.
He'd also have to be confident that he personally could survive a counter strike - which would be quite a decision to make.
One of my first jobs was as a maintenance programmer for about 100KLoC of 1970s-era FORTRAN IV.

Not one comment to be found, short, inscrutable variable names, no indenting, and having been stepped on by dozens of junior devs before me.

It was "Voodoo bug fixing." I had to close my eyes, and throw a dart, hoping I got it.

It taught me, very early on, to write good code.
Show HN: I wrote a beginner SRE book, and it's free today
Hello! I wrote an introductory SRE Book:

Site Reliability Engineering Tidbits

and it's free today!

These are short fun chapters about SRE, monitoring, debugging, observability, and resiliency.

This book aims to provide hands on examples of implementing a number of concepts described in Google's SRE books. It also describes how i've seen SRE concepts impact some of the organizations I've worked in.

A couple chapters are hands on debugging exercises going through the process of debugging applications based on data. I'm excited because every chapter describes something that I've done in paying jobs, so it documents real life SRE in action at various size organizations, and not theoretical SRE concepts.
I don't even understand how that's legal. If you took 100% of your time off as leave, what recourse would they have to fire you? Presumably this only happens in regions with laws that have few legal protections for employees?
That's also true of the areas in Southern Italy, Sicily, North Africa, and Illyria. Nothing about the East differentiated it, and the Romans saying that it conquered them culturally were the same as the Americans now lamenting that the US has seen cultural changes. "Oh no! You're not sending consular armies out every year to acquire new territory as your sole cultural identity!" was the complaint.

Completing the conquest of the Mediterranean basin and being left bordering only states against whom the Romans never had any particular success, the Sahara, (Parthians/Sassanids) or holding the line against rotating groups of peoples pushed further west in the Balkans and Germania left the Roman state without obvious paths to expansion. That does not mean that Hellenistic states "conquered them culturally".

If you think the West was some unified area with "Latin-speaking" culture, heritage, bureaucracy, and self-identity, you'd need to write a thesis-length paper justifying it no matter what century. Even the Italian peninsula was none of those things until long after the establishment of the Principate, at which point wealth had already precluded the existence of men like Cincinnatus.
For a lot of the same reasons in this article I like to use tup[0] when I can. It doesn't integrate into anything which is both good and bad. I wish my IDE could check with tup to see what dependencies get pulled in by what files. However, it's nice that it doesn't care what language or ecosystem I'm using.

Also, it's very strict about declaring dependencies properly, and will actually fail the build if you've set things up in a way that depends on something not tracked (by watching filesystem access as the compiler runs). That gives me warm fuzzies that my builds are reproducible.

Also I can get a neat dependency graph as a PNG if I want.

[0] https://gittup.org/tup/
I hope mine's purple. Huh, it's a like a pale ceiling death laser.
> If [Russia] manage[s] to "get the international community to the table" and try to have "peace talks" while holding a gun in their other hand, the west might cave in and allow them taking the whole east of the country, if only Putin pinky swears to stop the war.

IIRC, that's currently the expected best case outcome of this. The Ukrainians are fighting with everything they have, but the Russian Army is just plain bigger and better equipped, so they've only bee able to slow it down, not meet it and defeat it. I don't really see that changing unless the West stops tiptoeing around (at least) and offers more than halfhearted military support to Ukraine.

To be clear: the West's support is less halfharted than it was before the war, but it's still halfharted (e.g. the nonsense with the Polish jets, only supplying "weapons of a defensive character," etc.).
Put your finance in something like mint.com so that you know where every penny goes. Add to the system how much you pay in income tax so you get the full picture.

Trim excess expense that doesn’t bring you something

Invest the excess into something durable (house, stock, gold, etc)

Don’t hold dollard in your account, it’s value is going down

Look into increasing your value/salary
Words: Jotto, three_words, Wordle, hangman plus word check utilities – in CLI
Over here in crazytown I'm using Makefiles to automate system deployments.

I thought it was insane at first but actually I've come around to it; Make hits that sweet spot of being ubiquitous, simple, and flexible. There's a little bit of a learning curve but once you're over that initial hurdle it's pretty straightforward, especially for one-way operations, e.g. install without uninstall, build without clean, etc.
Slobbing out and giving up: why are so many people going ‘goblin mode’?
Buying a house gives you extreme leverage, though, and with extremely favorable tax treatment. You can put as little as $25k down on a $500k house and when the land underneath it increases in value you get to keep all the upside and pay no capital gains on up to $250k in profit ($500k if you're married). And you'll pay, what, a fixed rate of 3.5% for 30 years?

If you find a bookie giving you terms like that, then you should take them.
Europe often uses 3 phase 220V or 1 phase 380V for heavy loads like stoves.
now we need the backwards version, draw your icon, get your name
> Would Kyiv be prepared to relinquish Donetsk, Luhansk, Crimea and establish a Finland-like declaration of neutrality to avoid the complete demolition of the country?

Ironic that you mention Finland, considering that Finland is now looking to join NATO to secure them from Russian aggression.
> Also, I think the Swedish military would likely be a very formidable opponent to anyone trying to invade Sweden.

Muahahahahaa... Maybe as recently as the late 1970s or even, at a stretch, early-to-mid 1980s. But after that, newsflash for you: Sweden pretty much got rid of its erstwhile impressive defense.
haha yeah no.
I'm not advising anyone. i was more asking questions/speculating.

pretty good chance i wont do any of this.
Sure. Design is the hard and interesting part. The rest is just grunt work
There's a reason you predominantly see this from companies in the US, with at-will employment.
There's many reasons for bitwise operators to exist.

For instance it's extremely easy, when looking at the binary representation of a number to check the correct end of the byte and determine if a number is odd or even.

You can use bitwise operators to bit shift and check if a value is over a certain amount but seeing if there is any value after a bit shift.

there's tonnes of real world applications:

* Bit fields (flags)

As they're the most efficient way of representing something whose state is defined by several "yes or no" properties. ACLs are a good example; if you have let's say 4 discrete permissions (read, write, execute, change policy), it's better to store this in 1 byte rather than waste 4. These can be mapped to enumeration types in many languages for added convenience.

* Communication over ports/sockets

Always involves checksums, parity, stop bits, flow control algorithms, and so on, which usually depend on the logic values of individual bytes as opposed to numeric values, since the medium may only be capable of transmitting one bit at a time.

* Compression, Encryption

Both of these are heavily dependent on bitwise algorithms. Look at the deflate algorithm for an example - everything is in bits, not bytes.

* Finite State Machines
I'm speaking primarily of the kind embedded in some piece of hardware, although they can be found in software too. These are combinatorial in nature - they might literally be getting "compiled" down to a bunch of logic gates, so they have to be expressed as AND, OR, NOT, etc.

* Graphics

There's hardly enough space here to get into every area where these operators are used in graphics programming. XOR (or ^) is particularly interesting here because applying the same input a second time will undo the first. Older GUIs used to rely on this for selection highlighting and other overlays, in order to eliminate the need for costly redraws. They're still useful in slow graphics protocols (i.e. remote desktop).
I don’t understand how delivering software is related to “how can I prepare for hard economic times?”

Let me tell you, as one of the highest performing team members in every organization I’ve been at: if a manager doesn’t care about you, no amount of performance will help you. It didn’t help me.

And whether a manager cares about you is mostly luck of the draw. Sure, there’s politics at play. But the most common situation is that you’re not really helpful to their career mobility.

In that situation, “learn to ship software” is the opposite of helpful. If your manager doesn’t have your back, and you can sense this, you need to look for a new job. Because I guarantee you’ll be the first to go. It all comes down to whether some dude in a proverbial suit likes you.

(Isn’t it interesting how it’s always some dude? I feel like women would be better suited to actually caring about team members.)

You should at least mention to those young devs that performance is one of the least important aspects of being a part of a team, for 97% of companies. It’s table stakes. Raising the stakes won’t help you if you can’t play the game.

As for preparing for hard economic times, my advice is pretty simple. Exploit the good times, and never assume it will last. If you can’t survive losing your income for three months, make changes. That’s pretty much it.
Lol, you clearly don't live in the U.S.

With the exception of Manhattan, and some parts of D.C. and SF, no car = no job.
Does it matter? It's not as if I designed this laptop myself. I had 2 options. If you can only put a battery in your laptop that holds X W/hrs of power and you sell it with a CPU and other components that demand enough power to drain it in 3 hours, then that's a design flaw.

At least unless you put a big glaring "This laptop has 3 hours battery life" on the purchase page. Instead, they just repeatedly say how many Watts the battery holds and leaves you to assume that it's such a big number that it'll have great battery life.
Mike is also a great developer and infrastructure person so in a sense he is his own customer.
The snarky comment about body odor may have exacerbated things. This conversation quickly descended to an emotional level.
In weeks with more rainfall it can 5-7 cm. If you skip it, then by the next week it looks like jungle / prairie.

The only way to avoid frequently cutting grass and not having your lawn look unkempt is not to have grass. Either replace with some other short green or keep a neat garden with nothing else. Culturally people just don't do that. But you'd sooner see a trend shift towards alternatives than "just don't cut as often".
Seems less "forced" and more "why didn't we do this sooner?". The CPU has been plenty fast for a few generations now.