skysight-inc/HackerNews huggingface dataset:
> Using a timestamp in a migration system doesn't really solve the problem at edge cases though: the time-based ordering of migration file creation may differ from the time-based ordering of migration application, especially accounting for different git branches, and different DB environments (prod, staging, dev DBs for each developer).

In many cases this might be "good enough", depending on change frequency.

For schema drift, I've given up on persisted databases outside of production. we have a docker image that gets made on each commit to our migrations. Staging environments have stopped making sense to me. It may or may not be representative of production. At that point, what does it do to serve me?

I'm sure there's some team scale where this doesn't hold up, especially around things like load testing. If that were a concern of mine, I'd still want to treat the environments as ephemeral, and would try my best to automatically setup/teardown the environment.
The Remains of The Day described one particular pathology quite well. Reducing one’s identity to one’s work and intentionally closing doors on experiences can lead to a life with regrets.

However my parents are in their late 60s and I can see that there is a joy to be gained from being able to put your skills to work. They’re both great parents but now we’re all grown up and they can do whatever they want and despite traveling the world and everything they are still most satisfied when they’re operating (apart from when they’re with us, obviously).

That’s definitely something I want for myself. It reminds me that the Polgar sisters still enjoy chess. Their parents early drive for them to excel at the game did not hurt it for them.
Sorry for the imprecision.

My city is “park laden”. I live next to a 1200 acre park. City parks aren’t nature; however, and having seen the real deal there’s only so much one can do to convince one’s subconscious otherwise.

But yes, I find daily life in an urban environment (however park laden!) to be depleting. Cities are still tons of fun to visit and explore, I’m glad they exist, etc. This might be different if I could reasonably make it to some nature between work and sunset, but in most cities you won’t make it past the burbs.

Hopefully that’s clarifying.
But does Loom reclaim allocated stack space once the thread's stack shrinks?
Yes, nature feels like home. This is most obvious when you let a young child loose in nature. They are both enthralled and tranquil at the same time, it’s quite a surprise to see the first time.
Having worked at Google for many years, 80 char line limit was easily the biggest frustration with coding. Because of that, I was forced to write less readable code, shorten variable and function names, omit some comments, fight with formatter and linter, spend extra time aligning things, etc.

For example, Python requires extra effort to brake lines, often adding extra parentheses or doing other unnecessary tricks. Lambda does not fit on the rest of the line? Too bad, define an extra function, because liner won't let you submit a lambda that spans more than one line...

Now, I am so happy with 120 char limit while still being able to fit two columns on one screen.
The problem with making cities green, like the problem with everything else, is terrible city design. There is quite a bit of greenery where I live and it is all anxiety inducing because it is planted near intersections and cutting off line of sight so you can't see pedestrians well or oncoming traffic. There are certain areas that have these wonderful bushes, too bad they opted for those bushes instead of sidewalks but hey, who cares about pedestrians am I right?
I don't think cross is related to what I'm talking about at all? In fact, relying on it likely makes things worse for downstreams.

For packaging, you want your dependencies to be packaged as well, with build system using system-wide versions instead of pulling things from Cargo, with proper dynamic linking. There are several tools that help you manage that for Rust, Debian has some packaging helpers too, but it's pain nevertheless once you have to, say, support multiple crate versions in your code to deal with stable distros. Some of these troubles come more from the ecosystem than the tooling itself.
The migration away from having numbers in identifiers is a subtle but extremely important aspect of modern code quality I feel.

Having worked on code thats at least 20 years older than me, by the far the hardest parts to work out are the func1, func2, func3.
That's not the dynamic.

It's people that think electric motors are always the right solution to every problem and it's only a matter of rube Goldberging it up to shoehorn electric motors in to places that that's better without them.

It's against arrogant dogmatic rose colored glasses fanboyism being mistaken for software engineering

And this isn't straw-manning, the internet is full of these evangelists that exist as effectively marketing arms, as if they're bicycling around wearing nametags on behalf of the Church of Current Day Frameworks.

All it does is create messy piles of tangled garbage that wastes people's times and gets thrown away to be rewritten when the next flashy thing comes around. It's hot fashion for programming

It's gross and needs to stop. Seriously. Let's build the future, help fix the world's problems and quit fucking around.

This fetishism for shiny things have left us impotent executioners of meaningful change and thus we are amidst the tech stagnation
"For most Google projects, we must
assume that they will live indefinitely" on page 6 made me chuckle.
Say the thing they ordered. They didn't allow evicting millions of Americans during winter in a global pandemic. They're also tracking people to make sure lockdown guidelines were followed. Of course Americans could not follow a guideline to save their lives, and now over a million preventably dead Americans get to be summarily forgotten because the real victim was your ability to go to a bar or concert when hospitals were renting refrigerated trucks to hold bodies.

But no biggie.
I seem to recall they used to serve Scan meatballs (well known Swedish brand) but outsourced to someone else a few years ago as a cost saving measure. Or maybe that was just in Sweden, no idea really.

I used to occasionally visit the IKEA near the Sydney airport to get sweets and biscuits from home, but last time I was there it was all home-brand stuff, not quite the same as I was hoping for.

As for the meatballs, these days I just make my own and freeze them. Homemade are always better anyway.
Other than the reasons already posted, I find it much easier to read code with 80 char line limits vs longer. For me it's like the benefit of reading an article in columnar format - going down vertically just feels more comfortable.
They are re learning those lessons slowly. I.e. OpenAPI and json schema are pretty much poor re implementations of SOAP and XSD but for json. I don't want to be that get off my lawn guy but it's laughable how equivalent they are for 99% of daily use cases.
Why brainstorming is bad for, well, creating new ideas: https://hbr.org/2015/03/why-group-brainstorming-is-a-waste-o...

I think if I need ideas, I need to ask people to think them through independently. The "video conference brainstorming" or "in-person brainstorming" is there just to make people "participate" - to create a theatre of "work" instead of doing actual creative work.
While it might be true that 120 chars are ideal for screens [0], the consensus is an optimal line length is roughly 50 to 75 chars. [1]

[0] https://www.viget.com/articles/the-line-length-misconception...

[1] http://webtypography.net/2.1.2
Line splitting in python is miserable, all the other languages are much easier for it.
CEOs Get a Taste for the Frontline Experience
Hey joe. I was DarkDragon. CS professor now.
That seems like an exception rather than the rule. The official English title is very wordy (Is It Wrong to Try to Pick Up Girls in a Dungeon?), and the romaji title is both easy to spell and rolls off the tongue really well. It's a good shorthand for fans to use.

Conversely, Hagane no Renkinjutsushi is longer and harder to pronounce than Fullmetal Alechemist. I've never seen this name used in lieu of the translated English name.
Kind of helps when your job is fighting fires and not preventing people from infecting their loved ones in the name of personal freedom.
Things that should surprise no one - not least the employees who lost their stock at a low market price.
It was not totally missed. The fact that it's so much harder to work in open office than home was in the letter, but sure it should have expanded on it being different from 20 years earlier.
Amazon’s Whole Foods Is Closing Six Stores: Here’s the List
I don't know anyone who's "anti housing". Housing is an essential need for everyone. But putting more housing into an area that is already dense is not the answer, and it never has been.

You should study induced demand. Has building more highways in LA improved traffic? No, it has only made it worse. Ever notice how every airport in the world is always under construction, and still always overcrowded? Yep, induced demand.

https://en.wikipedia.org/wiki/Induced_demand
And forcing people to use headphones would make it a lot easier too.
Sounds like a great argument against the lockdowns, considering that the root of the problem was the lockdowns.
Unhealthy water though
Cynicism Is Boring
Good read! I just saw that in one examples you create and start a thread by invoking #startVirtualThread, and then you call start on the returned thread again.
Using Postgres to \Watch Star Wars
I’m glad to see that all people that disagreed disagree with your request for an explanation, not with the content of the message :facepalm:

Anyway, I think it’s because comparing Sun to Google feels uncharitable (towards Sun).
Logistic regression is a really good method and takes time to get right. But it is indeed one of the most performant models in multiple companies
The bad part is that this only made the problem more unlikely, but didn't fix it.

Ideally you want to inform the client that their mail was discarded due to size. But you cannot make the mail bounce at that point because it magically turned into http already. The actual delivery is already done. You also cannot trigger an automated reply in your Django app, because it was nginx who dropped it and your app never saw it.
While theoretically valid, in practice, nothing beats env vars and I have yet to see problems. If it leaks, you can change it anyway. If somebody is on the server, env vars are the least of your problems (also they are session wise and not saved locally).

You should always use both - keep passwords in secret manager and during build communicate them to relevant parts of app via env vars. That way, you can easily reproduce it locally without secret manager available or slowing you down (maybe you need VPN to access it?, GitLab access to secrets etc.). Also, you can't easily change them for testing purposes or store variations of them - perhaps you mix several production with several testing environments. Contrary to that, you can keep dozen of them and easily change them in a single file while developing.

Thee are bunch of tools to hide leaking environment vars too by masking them.

So, no, this is not obsolete. Maybe it doesn't make sense in some scenarios but such cases shouldn't be the norm.
>Btw, when an anime is officially called by a short name in English it's because the Japanese side knows the real name is embarrassing because the author is a pervert and are trying to hide it. Case in point "Oreimo" which is a romantic comedy except in the last chapter it ends with the MC marrying his own sister.

I think what you're describing are isolated cases. There are others like "Konosuba" and "Arifureta" which are still quite popular.

>Or "Mahouka" whose author is a Japanese nationalist, at one point in the story has them nuke China, and the MC's sister is also in love with him. Huh, kind of a trend there.

"Mahouka" never struck me as controversial either. In fact, if anything it was quite individualistic.
In some sense, the two sides of the insurance business are decoupled.

When insurance companies agree on a 'bad bet', that just means that they are essentially agreeing to pay a high interest rate on their float.

A profit driven insurance company should only agree to such an expensive float if other funding sources are also expensive. And that's independent of the risk appetite of the investing managers of the insurance company.

To be explicit: a profit driven insurance company should issue more equity or a bond to finance their investment, unless the float is cheaper for them.

(Of course, this all goes out of the window, the moment you have legal rules that restrict insurance companies from issuing more bonds or equity. Then they might rationally agree to an expensive float.)
Does anyone remember Pandora Box

https://www.youtube.com/watch?v=UMeidL4xZ2A
The most annoying thing that apps do (even freaking vectors in c++) is that they do not return the memory to the system after they are done with a big task. Rather they will keep the memory just in case in the future they need it again.

No the unused memory is not yours to manage. Return it to the OS.
Starglider was brilliant =)
Computing is less fun exactly because all this is commonplace.
That seems to apply for blocks of text. I don't know that the same would hold true for code.
For general insurance, yet. But I am not so sure price indemnity insurance, like hole-in-one insurance, is quite as heavily regulated?
Seems like each source file has a comment saying:

Primary Author : ***
Review Status: Reviewed

I wonder what was their process for version control and code review back in the day?
One thing of note is that there isn't a single format that's optimal for storing tabular data - what's optimal depends on your use case. And if performance doesn't matter much, just use CSV.

As a simple example, column based formats can significantly speed up queries that don't access the full set of columns. They can come in handy for analysis type SQL queries against a big lump of exported data - where different users query the subset they are interested it.
The search term you want is modular certification.

The volumes necessary to justify the cost, time, risk, and specialized skill set necessary to achieve both regulatory and standards certification of a WiFi device are significant.
Lot's of ironic meme-style videos from 10+ years ago. (NSFW language)

- https://youtu.be/PGJKeESLBpQ

- https://youtu.be/X0pEBE_eYdU

- https://youtu.be/H8Nbd4yO1qw (this is a reup from 2009)

- https://youtu.be/VqqRRWIYiy8?t=16

Actually there is an entire playlist you can enjoy:

https://www.youtube.com/playlist?list=PL_7_xaiHt-pegi1SwC1tV...
Every analytics needs a consent banner
Twitter Circle is in testing for the tweets you’d rather keep to ‘select people’
You can remove username enumeration from login and password reset, but it's much harder to remove it from signup. And this is pretty much an all or nothing, there's no point giving cryptic error messages (in the case of forgot password) to users when hackers will just use the signup form anyways. Want a good example? Hacker News: "That username is taken. Please choose another." I just tried on github, generic error message on login, explicit "email in use" error on signup. Amazon? Same thing.

I'd wager that 99% of website allow username enumeration. The very few cases that don't, typically shield their signup with additional steps (captchas, mobile OTP (e.g. paypal, ...)). None of which are foolproof and all of which are a compromise not just from a security point of view but also from a usability point of view.

Until someone gives me a great way to do this with signups, I'm going to stick with the much more usable forgot password error message.
I think this is more comparable to something like Garry's Mod than a bare game engine.
SEEKING WORK | INDIA | REMOTE

I have more than 5 years of experience in building fullstack web apps. Lately, I launched 3 MVPs and after sometime they got acquired. I am proficient in Next.js (React.js), Vue.js, Node.js, MongoDB, posgreSQL, Hugo (For static sites)

I am available for part-time or full-time contract work, long-term or short-term

My recent work:
- https://sideinvest.io
- https://tilburgsciencehub.com/
- https://helppie.me
- https://secondfounder.com

Email: heyarviind [at] gmail.com
LinkedIn: https://www.linkedin.com/in/heyarviind/
Twitter: https://twitter.com/heyarviind
IFS='\0' doesn't do what it seems: https://github.com/koalaman/shellcheck/wiki/SC2141

You almost always want "read -r": https://github.com/koalaman/shellcheck/wiki/SC2162
Anyone who thinks most companies do things the same ways has never worked more than 1-2 places.

The only thing that's the same across companies is some broad generalizations, basically coming down to GAAP and HR. Everything else varies a whole lot.

Even with GAAP there is a large degree of variance, like - how does project accounting work, is it paid at the end or percent of completion? Do you capitalize engineering costs, or is it considered an operating expense?

Ordering and ERP is another huge source of variation, do you use dummy (sales) part numbers? Is internal listed cost fully burdened - or is that accounted for separately? How are part numbers organized?

Expense and reimbursement policy is another source of variation, a wild amount. Just nuts and bolts about how you book, are all different. Do you use a corporate credit card or get reimbursed?

Nevermind entertainment policy.

Basic stuff like is your org chart people orientated, job oriented or process oriented?

IT policy, internal communications styles and policy, how sales works, it's all different.
Missing semicolon.

sed -n 's/old/new/;w file.tmp' file

Unlike BSD and GNU sed, it appears that Plan9 sed will append to instead of overwite file.tmp

It also requires a space after the w command.
>> Columns are separated by \u001F (ASCII unit separator) > Rows are separated by \u001E (ASCII record separator)

>

> That's a nightmare to try to edit yourself in a text editor?

It is. When I needed to edit a file with field separators (a little tool I made used field separators) I found that Vim was great, because I could copy an existing character into a specific register, and then never use that register for anything else.
ha you sound as jaded as i do. ive come to learn that we will work with google (search) programmers as long as buisnesses fool themselves that outsourcing saves money.
This applies to privacy-friendly options as well. No way to track visitors without their permission.
Probably yes. Though objectively, they probably shouldn't be? I mean, the world is better prepared now to avoid and deal with pandemics than we were 3 years ago.
> Getting hit by an uninsured driver would be an absolute nightmare that I doubt I could even afford to bring to court.

Not sure about the specifics of your car insurance but mine would cover that.
The CDC's role should 100% _not_ be just about informing people. They and equivalent agencies around the world should have the power to take drastic measures in cases like a pandemic. That's their whole point. It's like saying traffic cops should only give warnings.

But also, semi-related: they implemented a policy to prevent people from becoming homeless during a global pandemic and it had a negative impact on the people who have been padding their bank accounts for decades by steadily increasing margins on a basic life necessity. Sorry if I don't feel bad.
Great Dev platform to build internal apps. Proud to be part of DronaHQ
The article mentions this, and how it's especially popular in Japan.
Most of the studies in the linked APA article have all the hallmarks of the replication crisis:

- Small sample sizes (O(100))

- Low correlation coefficients

- Everybody is predisposed to believe the conclusion (what kind of monster doesn't like nature?)

- There is zero incentive to report a negative finding

And even if some of the studies do replicate, the response variable is often either self-reported, or performance on some written test or survey: so it's not really clear what we are even measuring. What is the unit of "general connectedness" ? How about "eudaimonic well-being" ? These are not legitimate scientific concepts.

Nature is great. I find that a long walk in the woods is a good way to clear my head. But I'm not convinced that these studies add anything to my common sense intuitions about the matter. And by using weak methods to justify something we all already believe (or want to believe), we risk degrading trust in science that will be greatly needed when scientists reach a conclusion that isn't politically convenient.
Or, perhaps this guy was happy and has enjoyed his whole career, rather than constantly seeking that bigger paycheck 'cos money rules.

This guy might just ask how content you feel now, or are you already looking out for that next paycheck jump?
That whole network stack was based on a simple premise from the telco world ... that you should charge by the byte for a virtual end-to-end connection (just like we used to charge for a phone call - N bytes and M bytes/min).

IP sort of busted that whole idea - the idea that you could (should!) just drop packets when things get tough ran against this whole idea - but it made TCP/IP easier to implement, and perform better, and most importantly move faster and be adopted as the standard we use today
As one counter data point: Amazon has plenty of programs that promote people from warehouse roles into tech/corporate.
Probably doesn't even have to be during a tournament.
The biggest reason why promotions are becoming rare is because it actually isn't in the interest of the company to do them.

If you're filling an opening by promotion you'll still have to find someone new to fill the position that has been vacated with that promotion: and now you've got 2 new people vs 1 when hiring from outside.
Why do I feel young again at a tiny butcher shop then? Same old good sausages as always. Although for a much higher price...
I started watching Netflix regularly over the last couple of years, prior to that I mainly watched good film and the occasional series like breaking bad or game of thrones.

I feel so burnt out from Netflix series, they are all the same, crime, murder, replicas of game of thrones (vikings) etc. And the majority of films they list are mediocre, all the good ones I have seen multiple times.

I can't remember the last new good film I watched, maybe Tenet. I lost track of new things coming out.
You do realize that 30 dollars a month is about a dollar a day right? If you even consider using the support for that price they'll lose money on you.

I'd say that you should get your expectations straight, support isn't cheap.
> widely available for at least six

Custom Elements weren't available until 2018. So unless you are referring to the chrome-only experimental v0 version, I don't think you can say it has been widely available for more than 4. And there will likely be substantial improvements to it before it starts dominating web development.
> I just mean, if you _require_ plugins in order to be able to edit the content,

Vim doesn't require plugins (as long as you are editing an existing file, and not trying to create a new one).
Beyond that, to me "Nature has enormous emotional and cognitive benefits on people" is the same as putting a warning sign on car batteries saying "Don't drink the battery acid": This should be entirely common sense. Why would there be no cognitive benefit, when nature is the environment humans evolved in and that sustained life for millions of years?
We actually had that in Denmark prior to the turn of century... and basically only that or glass bottles for beverages, as cans were also banned. Now it's just like in other countries.
> You will make mistakes. You will fail. You're still expected to get up and try again.

Ok true. Nobody said otherwise here. But are you implying it’s ok for companies to exploit this natural naivety ?