skysight-inc/HackerNews huggingface dataset:
I have projects that use ORMs and projects that do not use ORMs. I have specific reasons for both types, and in certain circumstances one or another is more appropriate.

ORMs are a dependency that are often constantly updated, prone to corner cases, and require a lot of library specific knowledge-- but they often make code more secure against small mistakes or tossing in a string interpolation, which is important when working with others, especially junior developers. They can be quite nice to work with in having type checked queries, building up queries from pieces using an API, but they also tend to be heavy and miss some features of your DB.

Raw SQL on the other hand, is very flexible, standard, easy to read, and anyone who knows SQL can jump in. You can do REPL for queries and copy in, and edits to SQL are easy. The only dependency you need is the standard database drivers, and updates don't typically break things. If you have a basic understanding and use it right, security is great as well.
Gamers are the most toxic community I have ever encountered. Nothing but parroted vitriol and entitlement. I don't even look online anymore, I just play the games and make my own opinions.
According to the Sloan Digital Sky Survey, it's a star of type M7III, so a red giant
Show HN: Simple r4nkt demo video up/running
I finally got some time to record a basic demo/walk-through of r4nkt (https://r4nkt.com), a gamification service I've been working on.

Please check it out. I'd love some feedback: https://www.youtube.com/watch?v=Uo4gf-SeC0I
Their TrustPilot reviews[0] are a fun read now. This feels like an excellent example of the Streisand Effect[1]. I guess we'll see how suffers more, the man or the firm.

0: https://uk.trustpilot.com/review/www.summerfieldbrowne.com

1: https://en.wikipedia.org/wiki/Streisand_effect
This sketch comes to mind: https://youtu.be/BKorP55Aqvg
i'm really sorry for the devs. imaging spending a few years on developing an engine and game, just for all your competitors to get it for free
I'm a roguelike enthusiast who's attempted to play HyperRogue many times but always get stuck on not understanding the geometry at all. Any tips from those who have?
Yes, please let me pay money to sign up for an endless stream of toxic trash, genius business plan.
>you can trust them not to install a malware that swipes your bitcoins

Sure, they might not take malware that swipes my crypto, but I wouldn't put it past them to take malware that uses my resources to mine for crypto. What is the downside for them?
The Economic Problem
I suggest gopher.
Personally, all over. You have to know the biases of the particular source you're consuming, and take that into account with every article. It's possible to read NYT and get some good info from it, but you need to know when to look elsewhere for more information.

Some places I find myself frequenting more than others though: Democracy Now, Popular Front, Antiwar.com, Harper's. I also like Glenn Greenwald a lot — in my mind if you genuinely risked your life for one of the most important stories ever, I give you a lot of benefit-of-the-doubt.

Places I avoid completely: Fox News, CNN, Breitbart (do I even need to mention that?), Vox.
Nor does it mention jOOQ [1], arguably even more similar (as it is a lib and not a language built-in).

Some page with actual queries from the docs: https://www.jooq.org/doc/3.14/manual-single-page/#jooq-in-7-...
There are some patterns ORMs like Hibernate use to combat the races: versioning, pessimistic locking, etc.

And while performance can be an issue for many businesses it's the read queries that are most often the bottleneck. If write performance is critical then hopefully you've got sustainable revenue to cover the cost to optimize it.
Any negative review can be disputed by the company (if they are a client of TrustPilot) and the reviewer has to provide evidence within 7 days (iirc), else the review gets removed. So I'm quite sure all 1 star reviews will be gone in no time.
> the pricing seems to scale well up to 100K users

I'm not sure I agree. This isn't really an infrastructure cost, it's a direct COGS (cost of goods sold) cost, and hits the service's margin. For a SaaS business charging $10-1000 per month per user it's fine.

For a retail business though I think this could be prohibitively expensive. Let's say you have a 10% conversion rate and $100 a year spend for customers, that's actually only $0.83 a month per active user. This is a 6% margin hit.

Sure, maybe in retail you often don't need non-customers to log in, but maybe you do. Or maybe your active users correlate much more strongly with your paying users, but maybe they don't. Content-led, email newsletter style business could struggle with this pricing.
Show HN: Cased – protect any command line tool in minutes
Second that.. and hardest thing is you don't really know where you are getting charged. i mean you can look at the billing but boy they do add up to 1000s before you know and you are so hooked into auto scaling, s3, rds with multi-az what not..
Hellerstein's CS186 archive: https://archive.org/details/UCBerkeley_Course_Computer_Scien...
Don't Abuse Kotlin Scope Functions as an If-Else for Null Checks
To elaborate, it appears that American English treats "hospital" as a place. So you go to the hospital, just like you go to the airport, or the subway station.

On the other hand, Commonwealth English treats "hospital" as something more like a state. You go to hospital just like you go to work.
I mean there's an old anecdote about how Chess was seen as dangerously addictive.

In any case, I think making something that is emergently addictive or addictive because it is fun is different from engineering something to be addictive by liberally lifting from all the years of research that went into slot machine design.

I don't know whether you frequent casinos but if you sit in the slot area for a while then compare that to big budget mobile p2w games (including Clash Royale which is actually also fun) is quite alarming. There are so many design similarities that lootbox games are basically slot machines without needing to pay out money...
Why does her view on something completely unrelated matter to the facts? Why are you even comping through her Twitter history? This is clearly a personal attack "just because". Disgusting.
You have my attention, what is this recent sudo bug?
Upvotes are dangerous (downvotes even more so): that's how your bots and troll farms control discourse. I guess it's like a sort of Faustian bargain, in order to present anything in a more curated fashion you make available the opportunity to abuse that mechanism.
You could also show Python docs on a Kindle using its experimental browser:

1. On the development machine: $ python3 -m pydoc -n 0.0.0.0 -p 8888

2. On the Kindle web browser: http://DOCS_MACHINE_IP:8888

It's slow, sometimes times renders with ghosting, ant-sized fonts, but hey, the docs' search works. I rarely (almost never) use this setup but is nice to use the Kindle for other uses apart from books
I don't think it is, for the business-logic code portion any way.

You gotta be joking. Most of the time this is an attempt to transform dysfunctional processes from reality, to functional processes in software, resulting in dysfunctional software.
Seeking TypeScript/React Dervelopers
Vmo Solutions is a mature start-up building mission critical software for the airline industry. Seeing software developers at all levels
Wube is not predatory. The actions of a benevolent developer is much different than the actions of a predatory one.

If you want to see a company that really walks the line: look at Digital Extremes.
A very bright star (well, you'd barely be able to see it with your own eyes in a very dark spot). Wreaks havoc on our detectors and data processing algorithms!
It’s highly context dependent if 1GB means exactly 2^30 bytes or another number in the neighborhood of 1GB.
There was an accusatory, hostile tone that I personally found off-putting and not worthy of an HN discussion.

asicsp’s comment[1] was much more useful and neutral.

1: https://news.ycombinator.com/item?id=26074429
I totally agree, games are incredible right now, truly the games of my dreams as a kid. But with that bigger demographic has come the wrath of the commons, and the gaming community is just jam packed with cruelty and entitlement.
What I don't understand is why it has to be a hamiltonian cycle. It could be simplified to just picking the set of edges in the directed graph that make every vertex have one incoming and one outgoing edge. The naive approach would be to assign sequentially from a set of available receivers, such as people passing around a hat and picking numbers from it without replacement, and not having the last picked participant pick next.
I would imagine this would complicate contracts with clients who are not interested in a 3rd party knowing their entire population.
Looking at the actual written decision, it's a combination of your first point and the guy now living in Sweden, and choosing to rely entirely on witness statements he'd made by email. One could understand mounting a defence remotely might be more tricky, but if you email a court with "I have already made it perfectly clear that this case should never be heard in court and I will not be giving it any credence or legitimacy by attending" it's probably going to make a summary judgement against you
https://www.bailii.org/ew/cases/EWHC/QB/2021/85.html
Unless it's a non-tech issue, I'd recommend Stack Exchange for those types of things.

The issue with Reddit is that they lock all threads over a year old which makes them a poor mechanism to keep updated answers to questions.
Farmers are having to hack their own tractors  to make repairs
Why is trustpilot awful? Which businesses have been held hostage? How is their fee structure pay to win?

I did notice "invite an unlimited number of customers to write verified reviews" though. https://uk.business.trustpilot.com/plans
I noted that too and it's really weird. So, they do no have backup of their part of the data (or they don't want/are not able to restore it) but they still have the customers data?
There's also a Large Corp dynamic, where to maintain consistent user experience across the product portfolio, a common UI platform is built. The platform is then mainly driven by the requirements of the most dynamically interactive applications, leading to a complexity creep - even though most of the products could be simple CRUD web pages.
How to Start a Tech Blog
I know the struggle, I've completely abandoned three separate circles of friends due to moving cross-country and interpersonal drama, over a period of 10 years.

Building up a new circle of friends where I live now took some time, and was initially kicked off by reconnecting with a childhood friend. A huge positive is that we're all mid-30s to mid-40s and more mature, less concerned about outward appearances, so it feels more real and down to earth.

Just being able to be yourself in the company of others is refreshing, because you can relax and lower your guard.

Round of beers, one friend asks for a diet soda? Sure thing. Heck, I have a standing agreement with another friend that I'll bring him a soda even if he asked for a beer and I think he's had one or two too many, because he knows he has a tendency to drink a bit too much. He'll grumble about it, but because we've talked it through, he knows I'm looking out for him.

My best friend is a huge metalhead, but also loves sugary J-pop with a burning passion. And nobody thinks less of him for it. We don't believe in guilty pleasures, you like what you like.

Honestly, and I know this doesn't apply to everyone, I would rather have no friends at all if I couldn't be 100% myself around my friends :-)
And yet you presume that others here care enough about your opinion to post it for us. Presumtuous? No, you're entitled to your opinion and so is the author, and it's for the opinions of others that we all come to forums like this.
I flip between thought-games and mindless games, it's no different to when I want to go out and ride my bike or just watch YouTube. Different modes for different moods.
russian gangsters... don't hold your breath
http://archive.is/djpxj
I consider myself reasonably comfortable in SQL and don't mind crafting queries when it is optimized for performance and/or ORM wouldn't be able to produce something optimum. However, for typical CRUD stuff, I almost always use ORM because not having to deal with the boilerplate makes things so much more easier. E.g. JPA's query creation[0] allows me to dynamically generate the query based on the method name - that is just way too convenient to give up, I could use SQL too but there is no payoff in writing boilerplate compared to the convenience and decent performance provided by the ORM.

[0]: https://docs.spring.io/spring-data/jpa/docs/current/referenc...
> wood stove for water heater

Even ignoring the CO2 aspect, the particulate emissions from this would be quite problematic in any sort of dense area. Not to mention what fraction of those particulates would end up inside the house...

Also, you don't mention heating (houses, not water). That is a huge part of energy consumption in many parts of the world.
But that's exactly the point isn't it? I mean, using pgp because you don't trust the communication channel. And you would still have the same issue with a mailing list.
It has warts and limitations, but I find the approach that RedBean PHP uses to be very intuitive.

It supports other patterns, but the one where you open up the ORM and let it make the schema dynamically as your code runs, then later "freeze" it, is pretty neat.

See https://www.redbeanphp.com/index.php?p=/quick_tour for an overview. Are there popular ORMs that work this way for other languages?
PGP lacks forward secrecy. E.g. the Iranian government can collect every PGP-message you ever send, and if and when they compromise your private key, they can retrospectively

a) decrypt your entire message history, even if you've deleted it from your endpoint

b) prove that you're the author of every message, because only your private key can be used to craft the digital signatures.

Signal solves both problems. For dissidents' communication, PGP is hard to use and incredibly dangerous even when used correctly. It needs to be killed with fire and buried next to nuclear waste in a container made of Beskar or something.
Simply wrong according to who? You? The MLA[0]? Some other "authoritative" source?

Why is your third paragraph in parenthesis? Using your own logic, you should either remove that paragraph or re-write it without parenthesis.

I could go on, but it doesn't matter because I understand what you are saying. Writing is about conveying meaning in a chain of endless signifiers, "words, words, words..." On one hand, this is utterly impossible if we nitpick to hell, on the other, it's an amazing piece of technology that works because of convention, which you and the author eschew.

"Ah yes, convention, that's why we shouldn't be using brackets in quotes becau..."

0. https://style.mla.org/removing-letters-empty-brackets/
Streaming Audio from Containers on the Web
from my (admittedly meagar) understanding bitcoin is not backed up by any solid assets. Its value is solely dependent on what someone is willing to pay for it at any given time. It's a gamble that someone will be a bigger fool then you and buy your cryptocurrency. Someone will get hurt eventually.
> “is it even necessary for this three-ton industrial robot to be dynamically reprogrammed from a service center in Stockholm,”

The answer is Yes. Very very yes. Especially when said programmer can't travel across borders due to Covid restrictions.

But even without Covid, it's a lot cheaper and time-effective to let people look at stuff and fix things from stockholm, or antwerp, or warsaw or whatnot. Else every time your robot sneezes, you have to book plane tickets and a hotel. But worst of all, you risk losing many hours of production due to travel time.

In contrast, with remote operation, you can log in, fix problems in well under 30 minutes, and Get Production Running Again.

In a situation where any kind of stoppage basically means the factory is Not Making Money, you can see the very strong value proposition here.
>Not because they tried to lure me in with skinner boxes, keep me in with time-gating, and monetize me with microtransactions.

I'm familiar with all of these except for "time-gating." What is it?
It's good that you wrote your thoughts in a longer form, and thanks for sharing it. It's an interesting argument, and one I will think about more, but based on my first reading, I find it lacking. I feel the part about Gacha Games doesn't fit well in this framework. Also, I find it hard to categorize my personality along the lines you described:

- Static/dynamic typing: borders -- I prefer static typing to dynamic typing; this is a change from preference for dynamic typing in the past; today, I find "mixing and matching" of types to almost always cause runtime errors, not new insights

- Engines/frameworks: no borders -- I dislike frameworks in general, gamedev or otherwise, I much prefer to compose libraries myself

- Roguelike/Roguelite: ??? -- I don't care about a strict definition, but having a somewhat clear definition is useful for managing expectations

- Progression/No progression: ??? -- I like both

- Grinding/No grinding: no borders -- Grinding is boring, though I'll do it if you hang a nice enough carrot in front of me

- Gacha Games: no borders -- As expressed above, I consider them immoral, and that has less to do with mechanics and more with why they're employed. That said, I don't think Gacha mechanics have any sort of special borders compared to many other fun, well-defined mechanics.

- Professions: ??? -- My professional software dev is mostly a borderful experience, but I also do gamedev on the side...

- Easy Modes: ??? -- I don't see how it fits in your argument at all, or how is it even a topic at all (except for competitive multiplayer games, about which I don't care all that much). Most games have "easy mode" in form of a wide variety of cheats to choose from.

It seems I'm leaning a bit towards "no borders", but then I think this borders/no borders split isn't really "carving nature at its joints". It does not factor personality cleanly.

Also, as additional objection, I think you could use this argument to justify getting people addicted to gambling as a matter of "personality difference". I feel this explains too much.
I think they use a third-party SaaS to do all the heavy lifting.
> Add on that they probably have outdated software, probably a lot of it custom/customized, that have unknown security holes...

Then advertising themselves as a hosting site for experienced people makes all this mess quite poetic.
> Alert
>This profile has seen a significant increase in reviews.
>Although we understand you want to voice your opinion about things in the news and issues trending on social media, Trustpilot is a place for feedback based on genuine buying and service experiences.
>Due to this, this profile has been temporarily closed for new reviews.
All major corporate asset allocation is speculative. Look at Exxon's assets. Some are in short term investments. BTC can be seen as a short term investment to offset depreciation of the USD. https://www.wsj.com/market-data/quotes/XOM/financials/annual...
We're using knex at $dayjob, and we're not even using it for half our queries. Knex is pretty nice for simple CRUD operation, but for more complex queries we've found it much nicer to drop down to raw SQL (with knex.raw providing escaping).

What we have found helpful is to stick common queries into a helper function so that we can get a consistently shaped object back.
Seems to me it was Moxie attacking, not them.
It not just the yunguns, either. I'm from just the very end of the generation you describe, and have some memory of the limitations of computers at the time (I remember dialup and not being able to use the phone, having to change the computer to 256 colours in order to play games, things being too big to fit on a floppy disc, etc.) but I cringe every time my dad calls anything wireless "wi-fi", or uses wi-fi as a verb:

The laptop wi-fis to the internet! Sure, I guess... The phone wi-fis to the internet! Um, yeah... The phone wi-fis to the tower to get internet! Wait, what? The phone wi-fis to the tower to make calls! No! The phone wi-fis to my headphones! Ok, warmer, but that's Bluetooth. ThE tElEvIsIoN rEmOtE wI-fIs To ThE tElEvIsIoN!!!1 NO IT DOES NOT!!
> Which is yet another point against the justice system. If a regular person being accused cannot understand things nor can they afford someone who does... hiw can they defend themselves?

They mostly can't in the US - our justice system relies heavily on coercive plea bargaining. People like Shanta Sweatt[0] plead guilty because the alternative is to face a much longer potential sentence at trial.

90+%[0][1] (94% of convictions at the state level, 97% at the federal level) of cases go through plea bargaining and never reach a courtroom.

I've also heard from a judge that people who represent themselves are often mentally ill.

[0] https://www.theatlantic.com/magazine/archive/2017/09/innocen...

[1] https://www.nbcnews.com/think/opinion/prisons-are-packed-bec...
Query builders (as I call these type of tools) are great, especially when they allow typesafety over the SQL barrier. jOOQ[1] (on JVM) does this with code generation: migrate your db, re-generate the project specific jOOQ lib and all incompatible queries are not showing up red-underlined in your IDE.

I liked this as well in ORMs: the type safety them CAN provide.

Query builders VS ORMs, both have their advantages. Doing a Users.byId(123) is easier to read'n'write than doing so with a query builder. Its the complex queries where ORMs suck, string-SQL gives no type safety and query builders shine (given they provide type safety).

1: https://www.jooq.org/doc/3.14/manual-single-page/#jooq-in-7-...
You can get a VPS from Hetzner starting at 3 EUR/mo, or one from Digital Ocean at $5/mo. I know it's 3 to 5 times more expensive than this, but...
> One of my friends used the same strategy to block DDOS from China : just put "Falun Gong" on there and it was resolved instantly.

...because attacks from China are horrified at the thought of disrupting Falun Gong?
Thanks for the reference. Another algorithms text -- though Haskell centric -- that provides solutions is Algorithm Design With Haskell [1]. The exhaustive Combinatorial Mathematics by Douglas West [2] provides hints at least. These are advanced texts though. Another source of solved problems are "problems in" books. Dover offers affordable titles like Fifty Challenging Problems in Probability [3]. There are other
classics like Combinatorial Problems and Exercises [4] or Proofs from the Book [5], all with solved exercises.

[1] https://www.cambridge.org/core/books/algorithm-design-with-h...

[2] https://faculty.math.illinois.edu/~west/

[3] https://store.doverpublications.com/0486653552.html

[4] https://www.ams.org/books/chel/361/

[5] https://www.springer.com/gp/book/9783642008566
Notice the /gp/ in the link you submitted

https://www.apress.com/gp/book/9781484264270
^^

which forces the website to show prices for Spain and possibly other local settings.
Jonathan Blow is a refreshing character, truly passionate, opinionated but I don't feel like it's at the cost of others, and his games are pure. They don't pretend they're not games, and they eschew allll the bullshit that comes with modern games. I didn't need to sign up for an account, count any Special Points, fuss with menus or anything. Boot up the game, play away.
I'm not sure if this is the correct industry term, but 'wongarsu used it and explained it here[0], so I just picked it up. Basically, it's forcing you to wait hours to do the next step in the game - so that you'll start scheduling your day around the game.

--

[0] - https://news.ycombinator.com/item?id=26076702