skysight-inc/HackerNews huggingface dataset:
The ORM and SQL issue we have
Hello everyone, good morning from the Himalayas.

There was a post yesterday about an ORM and there was the obvious debate on why ORMs overall are a bad thing. I had posted that the experience of ORM varies by language. A language needs to support run-time manipulation of the definitions of schema to then allow shuttling of data from native types in that language to SQL.

But it does not stop there. If you use a query builder it goes a long way, sure. If you write SQL, it is a lot worse. What happens when your data is the source of truth for building rich query experience? Say we have 12 types of taxononmy (Size, Region, Price, Supplier, ...) and the user can filter dynamically? Also your environment (where is the user currently querying from) determines the set filters.

This is not easy to solve directly with SQL. How do you loop over all the incoming filters? How you extract data coming in from HTTP requests and bind them to an SQL query? Manually write each possible combination? This falls apart quickly and we need a better abstraction for SQL itself, not the underlying data. SQL was created for database users to sit and type out queries. The query parameters were known at the time of typing the SQL. This is mostly NOT how it is used in (backend) applications. SQL is being dynamically generated all the time. So the (backend) application strives to have a complete understanding of the model, relations, data types, constraints.

There are other advantages when you have the entire data definition in your programming language: CRUD becomes easier. Migrations also can be written in the programming language instead of SQL, although I have always appreciated writing SQL migrations too.

I really hope the community keeps experimenting and trying new ways to implement ORMs or something totally new - we need this. My 2 Rupees.
Backups are there to provide a business continuity in wide range of disruptions. What you want to protect your business from is up to you, but typically you need protection from all things OP mentioned.
One might say SQL is the issue, why do we simply not have a better protocol between languages and storage. I do not know the answer to that. I am simply stating that if you enforce SQL as the language to define your data and manipulate, then you are over optimizing, from the point of view of the application. NOT from the point of the data store. As a software developer who is focused on building products, I need the power shifted to the application. That abstraction helps build applications safely. Surely there will be edge cases because there is an impedance mismatch. We tackle that when we get there.
I grew up in Washington State and remember eating a lot of Gala, Braeburn, and Fuji apples in that time period; I think those are all pretty good apples to eat "out of hand" (compared to what you list for sure; a granny smith is great in a pie though!). Yeah, some of the tasty varieties like Cameo, Honeycrisp, etc, etc, weren't really widely available until quite a bit later, even if they were discovered in the 80s/90s.

You are right: durability and surviving extended stays in "cold storage" was a big factor.
I think they're actually similar technologies and wattages. So really I think people are comparing using a room unit (being a dehumidifier) versus a central AC systems cooling the entire house.
Isn't that basically what we have taxes for?
Made to help daily practice of simple maths
Just played a sample of the samples for a congregation of cats residing here.

I got four ignores and one stare of bored contempt.
They did that in Argentina a couple of times. Want 1$, though

As a result, people avoid storing large sums of money on banks in Argentina

Note that all governments will do similar things. Either by raising taxes, doing mandatory bonds, etc
Yes, Windows is a kind of OOP based OS at its "kernel" (not to mix with OS kernel).

So one way to extend UI components, since its inception, is to request the Windowsclass structure of an existing control, replace its event handler function and then call the "base class" handler for the built in behavior.
Well I thought Windows on ARM or Windows 10X was the perfect moment to get rid of those backward compatibility problem. At least there are incentive / reasons to be doing so.

And why can Microsoft goes the same route as Apple's Cocoa and Carbon?
I don't believe strongly in the global reserve currency framework.

I also don't think that the current tech can accomplish much of what I was hoping Bitcoin could accomplish.

If the goal is just to increase adoption given the current tech then I'm out, there's more interesting things to pay/give attention to.
Why then do people use programs like ANTLR, Ragel, Lemon/re2c, etc.
VPS providers generally (don't know about GCP) lift port restrictions if you write them and request it explicitly.

At least Vultr and Linode will also communicate with other big providers (e.g. Gmail or Outlook.com) in case you have delivery issues due to history of the IP addressor subnet before you took it over.
What do you think about your parents?
yuk you guys really subject yourselves to this?
Lol I don't think any of Ransomware authors uses Zero day to get into system. Most are using maldocs or phone calls.
I do not have much to do with windows these days, but if you try to cange advanced network interface settings or audio settings beyond selecting a single input, you stil need to find the link to the old panel hidden somewhere. Also, good luck changing WiFi settings from the fluid menu.

And lastly, while it always stays responsive, control of the background processes is also lacking. I spent quite some time restarting the download of a system language, just because I started it while having DNS issues (and to fix those... see above).

I personally don't mind the older designs being mixed in, especially since most of them look good enough with the updated buttons, but the settings panel is, in its current state, still a sidegrade at best.
You're using the Soviet bastardization of the name. The original Kazakh name (Almaty, which has been used through the whole history of the city) has nothing to do with apples or grandfathers.
My reaction to these kinds of things (see also: the abuse of the Battle School students in Ender's Game) is to think: (1) Perhaps it was the best way to teach certain things; but (2) I don't think the people who do such things usually rule out all the gentler methods first.

It sounds like the "challenges" weren't necessarily intended to teach you what you learned, and you just happened to have a mind and mindset that responded well to the situation, so it isn't even an instance of "competently executed dangerous teaching methods". Nevertheless, do you think there's a safer approach that would have had a high chance of teaching you and the other kids those lessons?
Featherlite liberate is pretty good if you are buying in India.
Nope. Because the goal was to make it as seamless as possible to port software to those platforms, ideally by just recompiling with a different flag. The offerings would be DOA without dev buy-in which wouldn’t happen if there was too much friction in porting.
It super frustrating to have to go on a treasure hunt just to find some options there.

To this day, every time I need to uninstall an application I still do: win+R -> control appwiz.cpl -> enter and it brings me to the place I want to be.
Brutal reform schools/camps can be found anywhere. Here's one in Japan whose headmaster was convicted of beating two students to death:

https://www.csmonitor.com/1999/0218/p12s1.html
Man Invests $20 in Obscure Cryptocurrency, Becomes Trillionaire Overnight
Funnily as a design developer, i switch off all UI enhancements because they slow down the system. So my system looks almost like Windows 95 confusing people.

I think the inconsistency is the price of having a system with so many features. I rather have them than have consistent Windows. Moreover, sometimes updating UI does not go as planned.

A regular calculator started like a breeze. After redesigning it in Windows 10 it takes several seconds to load. It is not a time worth spending if you add 2 plus 2.

To sum it up, consistent UI is great. But if it comes to my OS i don't care about it too much. More about the speed.
The _service_ is in Beta, but they are still selling a product to consumers, which means they are expected to follow normal engineering practies. This type of mistake is simply failing to meet best practices. I think it is roughly the hardware equivalent of using 3DES encryption, storing passwords in plain text, or allowing SQL injection. When you sell a device to consumers one of the considerations you have to consider is the operating range of that device especially if that device is used outdoors. Operating ranges are somewhat standardized, and most components will specify their operating range in the datasheet precisely because this is one of those fundamental considerations (like power requirements).

Examples:
[1] The least stringent automotive standard I could find (AEC-Q100 grade 3) expects components to operate from -40°C (-40°F) - 85°C (185°F).
[2] A pretty basic article on designing outdoor products suggests at least -20°C(-4°F) - 70°C (158°F).

This is a standard part of the design flow precisely so that you don't make a mistake as monumental as shipping an outdoor device that can't withstand the weather at the location you shipped it to.

[1] https://community.cypress.com/t5/Knowledge-Base-Articles/Mea...
[2] https://suntsu.com/2017/09/15/the-great-outdoors-designing-p...
Could you explain the difference between the two, for nonweb devs?
There are two different seams at play here. One is a 'loading seam' which is really just the vertically and horizontally mirrored area of the tile map. The rendered tile map is (simplifying a bit) basically 2x as tall and 2x as wide as the screen you see. The screen's position in it is effectively modulo the width and height of the tile map. If you move right 30px, it loads tiles and objects into the area 30px off the the right edge of what it already had loaded, wrapping back around to the left if necessary, then moves the viewport 30px to the right (again, simplifying).

So yes, there's always area that is kind of 'ready' outside the current viewport. It has tile data and probably objects loaded into it, ready to be seen. That's why you don't see 'pop-in' or whatever. Things are loaded before you get there.

But the game logic isn't activating all those things as soon as they're loaded into tile memory. You can probably actually view this in some emulator or another and what you'll see is things loaded up some time before they're actually on screen, but just sitting there until they're basically on the edge of the screen when they'll start moving.

How games do that will obviously vary quite a bit, but in SMW's case it "loads" sprites some specific distance off screen (which is not a full screen away), and then "activates" them pretty close to the edge of the screen. You can see this for yourself by like, going and finding a shell-kicking koopa or something and playing with the screen scroll. You will be able to get it to do it over and over again with only a little scrolling.

A lot of kaizo games were made quite a bit easier thanks to this, to the point where most of them now disable screen scrolling to prevent you from controlling spawns so easily.
Your iphones primary environment isn't outside under the sun for half of every day of the year though either.
So what do you do when Google enforce 1TB rule?
https://www.raspberrypi.org/blog/jacquard-loom-simulator/

https://github.com/jfinkels/analyticalengine

https://www.fourmilab.ch/babbage/emulator.html
Thats a good point about IP addresses.

I think the advantage with Hetzner cloud is that you rent the IP address separately. If you get an IP with a bad reputation you can stop renting it and get a new one.

Edit: I have not actually tried changing the IP, its just an idea. Also, I hope the spammers don't start doing this and spoil it for everyone else.
I have written a tool[1] to backup blogs to pdf, you can use it to save Paul's essays first, and use some other tool[2] to merge those PDFs to one mobi file.

[1]: https://github.com/jiacai2050/blog-backup
[2]: https://superuser.com/questions/54041/how-to-merge-pdfs-usin...
I fail to see how it in any way relates to #1.
I remember someone else pointing this out before as well, I forgot who, I think it was like Peter Thiel or Jamie Dimon or someone. He said something like "the US has some of the most natural advantages of all countries being a large stable country mostly isolated by the two oceans. Yet it chooses to maintain military presence and involve itself in wars all around the middle east, Asia and what not"
Which school? Seems to me uk boarding schools have changed a lot recently, with a lot of emphasis on pastoral care.
I don't know if it's ok to link to reddit from here, but here's a good explanation why Semmelweis ideas were not accepted from the beginning:
https://www.reddit.com/r/badhistory/comments/2bnsjx/ignaz_se...

tldr: it was a very radical idea and he was a difficult, unliked man. I read that as "kind of a jerk", but that's my interpretation.
We might react the same way if the person you dislike for being a smartass comes with an idea that there are invisible tiny things killing people.

I think there's a lesson here, it's not enough to be right. You need to sell your ideas well. Especially if you're selling to a group that already dislike you due to previous interactions.
Post and Kellog have joint tenancy in weird theories about breakfast cereal and masturbation. I wouldn't class Post as a thief in this space. Also grape nuts are fantastic (and that isn't a joke about nutting)
Apple has done so with FaceTime now. This feature will come in iOS 15 and MacOS Monterey.
Here are the terms and conditions.[1]

Nest resells this program, without saying up front that it's about adjusting your thermostat for their advantage.[2]

The site will not work in private browsing mode - you get "Cookies are blocked. To continue, change your browser settings to allow third-party cookies and try again." Why it needs third party cookies is not clear. It's so Google.

What Nest tells users is this:

A Nest thermostat can help you use less energy by cooling your home in summer or heating your home in winter ahead of time and tweaking the temperature up to four degrees during the rush hour.
You’re in control. If you’re home, Nest won’t let the temperature become uncomfortable. You can change the temperature at any time.

The Nest site does show terms under Legal. No mention of "Nest won't let the temperature become uncomfortable" there, of course. [3]

"Under the program, your Utility notifies Google of the existence of a Rush Hour Rewards event, causing Google’s servers to remotely inform your Google Nest thermostat (“Nest Thermostat”) to automatically change the temperature setpoint in your home on that day, without any manual intervention by you."

[1] https://my.radiothermostat.com/rtcoa/terms/ercot/rtcoa-ercot...

[2] https://nest.com/energy-partners/texas/

[3] https://nest.com/legal/energy-partner/texas/
It’s some data center in Nordic region, and during winter it gets so cold the servers can’t heat the place.
Your comment reminds me of Robyn Hitchcock's classic line about English boarding schools: "they fuck with your mind forever, then send you out to run the country".
Yeah 3mo is not a time to losing control of the inside environment
This shouldn't even be considered "pushing the envelope" it's not that hot.
They expected the camera not to drop frames. Their optical flow system tracked time independent of actual frame time. Anyone who've done optical flow or even anything with video recording on embedded devices knows these are known failure modes, and should be handled properly.

That is what's being discussed here, this is the failure mode in question. So yes, those experienced in optical flow and embedded control systems _would_ have handled this specific failure better.

But none of us are saying any hobbyist could have trivially sent it to Mars.

It should be obvious what we are specifically addressing: that this kind of error is not the sort that should happen in a properly thought out, bog standard real time system.

> JPL tends toward having generalists

And that's fine too, plus dumb mistakes always happen.

So it shouldn't be much surprise when the "armchair quarterback" responses show up, and rightly point out the issues. It would be more crazy not to be incredulous.
accessible reddit link :

https://old.reddit.com/r/troubledteens/
Notably someone as incredibly malignantly incompetent as Christopher Duntsch worked for two years after his first horrible work was discovered.

These people are protected in their incompetence.

For generations we’ve been told that regulation will help. It hasn’t. Suing post facto hasn’t. It’s time to try something else. It’s time to try deregulation and market factors.
I've been trying to find the "true and correct" visualization of music that would reflect its "inner symmetry". I started with an assumption that music is a much simpler entity than drawings, simply because it's one-dimensional. Now I think it's actually more complex because it represents an abstract entity that has no shape, yet has symmetry and for this reason it's so difficult to "draw music". Schopenhauer apparently knew this well:

"Absolutely direct experience of the will is impossible, because it will always be mediated by time, but in first-personal experience of volition and the experience of music the thing in itself is no longer veiled by our other forms of cognitive conditioning."
Hi, thanks for replying. I'll send you a message on Monday when I get back to work to recreate it.
Once again I read about something in the news and I'm just full of WTF. Unbelievable that this stuff exists. Unbelievable that any parent does this willingly. Unbelievable that a "troubled teen" is even a label of a thing that "needs sorting out".

It's just so blindingly obvious that if you teach and expose kids to love and respect and fairness then they'll grow up to love and respect and be fair to people. If you teach them violence, horror and coercion, that's what you're going to get as adults.

Seriously screwed up.
The screenshot of the alert said it was adjusted up 4 degrees. Not much.
Patterns of Distributed Systems: Gossip Dissemination
This isn’t tidal with their MQA scam.
The SaaS version of exchange has the same problem, and the support people start by having you switch to the old menu because they don't know where everything has been moved in the new one.
Either Hofstadter or Daniel Dennett has written about this in "the minds eye" when a teleporting system breaks and there are two of "you" and experiences diverge from a common root. Most SF about teleporting passes over what happens to your empty husk after "you" move on. Some do many-worlds. "Waystation" by clifford simak has tanks of recycled bodygunk in the teleporting stations to make new incomers.
Where is it suitable then? I expect higher temps on roof of the farthest northern borders of the US.
> Indeed, I've thought about a control for air conditioning, that's based on a combination of temperature and humidity, rather than temperature alone.

Better existing residential HVAC controls already do that, combining settings and sensors for dehumidfying, heating, cooling, and, if a humidifier is included in the system, humidifying.
Oh no, FICORA used to be stingy with who gets a Finnish TLD, but the whois doesn't even have contact details. This company doesn't even have a Y-tunnus.
I'm not in contact with them at this point.
The reception hardware is the front end of an amazing aerospace engineering effort. Honestly, I am not worried at all, since these issues will get ironed out in new iterations of the hardware.

I am more interested in seeing the service achieve streaming latencies required for video games and trading. The day that happens, I have no need to live near a city anymore.
Is there some sort of web interface for self-hosted e-mail that is reasonably good and sleek/modern-looking like Gmail, and also works well on mobile with swipe gestures and everything?
It's on, "https://www.memorysafety.org/docs/memory-safety/"
This, x100
I start to sweat, become uncomfortable, and lose focus around 72. I have a hard time doing mental work or relaxing. By 75, all I'm good for is physical labor. I'm not overweight, either. I guess it's genetics.
78 warm if you're sleeping. This recommends 60-67:

https://health.clevelandclinic.org/what-is-the-ideal-sleepin...
>You need to sell your ideas well. Especially if you're selling to a group that already dislike you due to previous interactions.

Alternatively, be nice to people, making it easier for them to like your ideas.
He writes: "Thus he identified fundamental limits of algorithmic theorem proving, computing, and any type of computation-based AI."

An automatic theorem prover is a kind of AI. Gödel showed its limitations.

There have been entire conferences dedicated to Gödel and AI.
OwnWise
They can be a lot cheaper. We commonly use them in HK to stop our flats going mouldy when we are out the house and it's 35C (90-95F) at 80% humidity. It's a lot cheaper, possibly an order of magnitude, than running the air-conditioning 24/7.
I don’t understand anything about shares, so I’m wondering, what do people here think about this campaign?
I agree (with a 6 month old of my own) but note that the tradeoff here is some random number of houses losing power _entirely_ through grid brownouts. I suspect overall the SIDs risk would be far elevated by cutting AC to 5% of houses entirely, spiking temperatures 20 degrees, than every house raising temperatures a couple degrees.

(you could try to structure the program so that only low-risk healthy adults were in the voluntary reduction camp, but it does seem like a bit of a logistical nightmare).
More like lazy clueless parents.
Two popular alternatives for this:

https://github.com/zrepl/zrepl

https://github.com/jimsalterjrs/sanoid/
Please don't take HN threads into nationalistic flamewar. It destroys this place, and you can express concern for children without that.

https://news.ycombinator.com/newsguidelines.html
I completely share your sentiment that Windows' constant nagging and irritating behavior is terrible for productivity.

But I'm not sure that this is a Windows issue per se, in that apps can and sometimes do produce random, custom notifications even on Linux and macOS. I think it's a "cultural" thing: it happens more often on Windows because... it happens more often, so people aren't as surprised when some new app does it, they've been seeing those for years and years. It's kind of "expected", the same way that most Windows users will say "just reboot it" without batting an eye [0]. "It's just how things are".

However, what trips me, is that even Microsoft's own products do this crap. I'm thinking of Teams in particular. I understand they've only recently introduced the "feature" of sending alerts to the notification center, yet Teams is a brand-new product, that appeared in the Windows 10 era.

And they use those same custom notifications on macOS and Linux, too, where they happily ignore any system configuration. Of course, those are actually custom windows that they put up, they didn't even configure the windows properties to be considered a notification (on Linux/X11).

---

[0] I know Windows requires much fewer random reboots nowadays, but the people are still trained to reboot it whenever something "doesn't work". They won't even consider that there's something wrong that should be investigated.
Except that everyone doing games in Java/Kotlin kind of needs to move into Unity, because Vulkan is only available as NDK API, with a very bare bones support from Google beyond "just clone this github repo with tools".

Also if you want a good Vulkan experience, better care only about Samsung and Google devices and ignore everything else.
Shaming doesn't accomplish that.