skysight-inc/HackerNews huggingface dataset:
Which really is a head scratcher. You'd figure especially as a startup seeing a 5k oopsie isn't really as acceptable. Mistakes do happen and I don't mean any shade to this particular person (they'll never make this mistake again) but as an industry the aggregate consequence of this is you have a lot of waste and stupid choices that then have to be cleaned up when more knowledgeable (read highly paid) people are introduced later on.

They'll have to clean up the mess which causes real business consequences that, and I've personally seen this, will directly impact bottom line and have no quick or easy solution to wiggle out of.

Maybe it's acceptable for products like this because the balance between good engineering and company health probably aren't as cut and clear but stuff like this always makes me sad because it's such low hanging fruit, it doesn't require any real effort, just basic curiosity around your job.
> Please do whatever the hell you want.

Indeed. Especially if you want to piss off potensial users/customers.

> There's a difference between asking a question, making a suggestion and shoving ideals down somebody's throat.

Unfortunately, the "ideal" for many is to have an app for their - well - app, or service, whatever it might be. Usually it's just a perfectly functioning responsive web service that is turned to a native app instead of just going for a hybrid app (at least to start with).

In this specific case, there's is _absolutely no reason_ it should be provided as an app, at least not a native one.

Because:

The user already has everything installed on his phone to use the service; a browser.

To me, _as a (potential) user_, having to install this app would have been showing something down my throat. To solve that problem, the developer could have created it as a responsive web application first, and maybe made an hybrid app, and then decided if it is worthwhile creating a native app.

Why the desparate need to create native apps and have to maintain two totally different projects when there's no need to?
That might have been why they decided to do it but the question of return-on-investment in terms of infrastructure costs is still interesting and doesn't really depend on the underlying motivation for the choice.
Hacker steals $55M from bZx DeFi platform
I like the underlying design ideas. At first blush however the language itself seems like a more limited subset of Prolog?
That could be oral allergy syndrome. Are you allergy to pollen/dust or other foods?
>Nobody shifts hundreds of tons of rock for being seized by astrological magic.

Sez who?

Maybe just you.

;)

Egyptian pyramids, for example.

Ellora Caves, for another, at least for the "hundreds of tons of rock" part.

I can mention more.

And anyway, in ancient India, religion, astrology, rituals, sculpture, temple-building a.k.a. religious architecture, dance, music, song, even cooking / food, medicine and healing, were all interlinked and blended into one harmonious whole. Linked by a sort of analogue of the holy grail of physics, the grand unified theory of everything. I don't know if there is a specific single name for that or not, but I can mention many traditional terms that give clear pointers, if anyone is interested.

Stonehenge, too.

(Edited.)
That’s such a polite way of saying this is the dumbest thing you’ve ever seen

Because that was my first reaction and thought it was a joke, like real, but done out of jest

Similar to how an engineer put a string concatenation function on a networked compute instance, NPM and released it on docker
Well, total war and wholesale slaughter is a type of mass psychology I guess?

Seriously though, just like individuals who undergo a serious and dangerous psychotic episode often need to be restrained, even to the point of being shot if no other options are available that work, to avoid them causing massive damage to themselves or those around them, the same happens to nations sometimes.

Also, just like can happen in a small group with a psychotic individual, sometimes the crazy person wins.

For a nation that involves invasions, embargoes, etc. self-harm for an individual would be a country performing purges or genocide on it’s own people, or destroying it’s own economy due to some nonsensical ideology.

The issue with nations is the sheer scale of the damage they can cause, as compared to one standalone individual.

If say China starts going after neighbors, it’s roughly like it the 300 lb, heavily armed, weightlifter in the neighborhood starts going on a rampage on his family. Not much anyone can do without a whole lot of hurt for everyone.
> But how do you know if it should be an app?

In this case it's very easy: if all the functionality can be run in the browser, which already is an app installed on my computer, don't make it an app. At least not a native one.
I think the part of the discussion that is ignored here is the security aspect.

Apple has hardened their hardware against attackers replacing components of the phone with compromised versions. Sure, at the same time it prevents 3rd party repairs, but I don't think Apple's only motivation for doing this was to screw over 3rd party repair shops.

When the NSA leaks came out, there was some sections that showed how shipments of electronics could be intercepted and backdoored. I would 100% believe there are groups out there that have or are working on chip level attacks for iPhones and other mobile products. Swap Apple's Face unlock chip with a custom one that includes other embedded profiles that can unlock the phone without the owner's knowledge does not seem far fetched.

A lot of the changes to the MacBooks seem to also have been done with device hardening in mind.

I cannot tell you how much damage my iPhone 12 Pro has taken without the screen cracking, which makes me personally think the reasons these changes have been made are not just related to 3rd party repairs.
Rows returned model works really well for certain data loads (where all data customers use is customer-keyed)....

This model also scales DOWN really well .. while still providing good scalable availability...

That said, I DO agree with the sentiment of paying for a set performance level (clu, memory, storage), to provide predictable pricing.. obviously these guys were bit by the scaling capability.

I do a lot of pet projects, and I find DynamoDB works really well because my pet projects cost $0 most months... And I don't have to worry about servers, maintenance, or what not... I'm happy to do that at work, but I don't want that for my friends & fun projects... And I've not seen a decent DB managed RDS for <$5/month
No contamination, main has a type ‘IO ()’. A readline function would be ‘IO String’, so in a way you can think of them as “upon execution, we have this type”, or the “execution wraps this type”. You can’t touch the inner type of such function naively, so this purity is viral.
> const t = true;

That should be the job of a minifier, makes the code less readable.
Even in romantic relationships, it's a common trope that "we need to talk" is going to be a breakup.

Is it really realistic for working relationships to have a level of trust that even most intimate personal relationships don't achieve?
One of my employers was using BigQuery. I was so scared that I might accidentally run queries and get a big bill, even though our tables weren’t that big.

It is funny to look back, but getting huge bills without even realizing that we’re doing something wrong is very real possibility. Cloud vendors happily make their pricing opaque as it benefits them.

I’d avoid even the best product in the industry, if their pricing is opaque. Or if there is a “Contact Us” button when there needn’t be.
If you converted Euros to USD based on today's exchange rate, that's

23.90 EUR = 27.61 USD

33.90 EUR = 39.16 USD

As an american that's the lowest I've seen any kind of train ticket regardless of distance.
It’s compatible with just about everything still maintained. And a simple scp if not installed.
Look up MCAS and the more severe form of mast cell disease, mastocytosis, and their neuropsychological consequences.
Ah, you're probably right. I see now that the date on the NY piece is January 30, 2011.
It's possible during a migration to drop a constraint, make the update and restore the constraint. If a schema migration tool doesn't automate this or at least permit it, it's not a good schema migration tool.
They do it with the Eurotunnel, though I can't remember if I saw anything but trucks and busses on it
Really doesn't matter who is wrong or right here. Debates on LinkedIn are never a good idea. Could have been avoided with a DM.
Former VP Sues Rivian over 'Toxic Bro Culture' She Claims Led to Her Firing
Interesting. I hadn't heard of them. Their yearly prices are excellent.

Not unlimited data though. But I'll keep them on my list, thanks
Yeah, wow. No mention of external costs makes this an incredibly naive analysis. What's the name for the fallacy of getting distracted by dollar signs to the point of ignoring downsides? "There ain't no such thing as a free lunch" is a truism for a reason.
Framing that conflict and history as about "epistemic skepticism" is modern simplification. It makes modern point and avoids any hint of actual conflicts in that city.

It completely ignores very real and deadly politics of that city prior and reasons why Socrates was hated.
This was somewhat earlier in his career. People grow professionally. Some downward.
It used to be Lebanon in the 70s. But yeah thats long over. I think Baharain is the closest to being a democracy in the ME after Israel
You can find a lot of cheap VM instances at this site. I use buyvm.net and I've been happy with them the last 5 years.

https://lowendbox.com/
That pricing model seems rather inherently tricky to me, and also quite expensive. At $1.50 per 10 million rows read this can get very expensive the moment you do a full table scan on any non-trivial table. And while this example is a trivial case where you only need minimal database knowledge to ensure that no full table scan is necessary, many real world cases are much more complex.

It also seems very expensive compared to just renting DBs by instance, if you put any real load onto this. I can see this being attractive if your use case only queries single rows by key, but it's essentially a big minefield for any query more complex than that. A database with a rather opaque query planner doesn't seem like a good fit for this kind of pricing.
I use it semi-regularly; once a week or so. It's a genuinely useful tool that was just greatly oversold on launch. Things I use it for:

- Converting units while cooking. I prefer to cook by weight, and for most ingredients, you can do something like "2 cups of flour in g"

- Stuff I'd have used a scientific calculator in an earlier era: simple systems of equations, plots, etc.

- Comparing stats on countries, e.g. GDP growth in various countries
I'm so curious, so you maintain Vitess but don't use it personally?
Assume that OP is referring to the fact that they were purchased by Zoom recently.
I have no problems with a developer doing a 5k oopsie with things like card processing or an area that has a legitimate potential for direct monetary losses (such as payment processing where a bug could allow customers to order goods without actually paying).

I have a problem with whoever looked at <insert your favorite on-prem RDBMS here> and said "nah, let's go with a cloud-based solution that charges per-query and gives us an essentially infinite financial liability".
would be amazing if they made a modern alternative to qt and gnome. somethign with a reactive model like swift-ui or react itself
Yet another DE for Linux, which is another thing they desperately need to solve the fundamental fragmentation and inconsistent UI / UX in many Linux distros.

Rust solves many things, but in this case, there is little that it solves other than being ‘Written in Rust™’ and will still interface with the same buggy C libraries used in other DEs.

Unless it is all in Pure Rust, What is the point of this?
I’ve heard that about tomatoes, due to histamine/mast cell connections.

What’s the mechanism with potatoes? They seem like a mostly safe food.
Ask HN: How can I visualize transitions between emotions?
Hello!

I have a collection of 1050 tuples with following information:

1. Emotion 1

2. Transition Type

3. Emotion 2

"Transition type" is either "escalates to" or "de-escalates to."

I took these data from "The Emotion Thesaurus" by Angela Ackerman and Becca Puglisi.

I want to create something visual which will allow me to better navigate in those emotions.

If I render these data with Graphviz Dot, I get a giant (42 MB) PNG file which is hard to navigate.

What graph algorithms can I use to transform this mess into something that I can make sense of (apart from creating separate diagrams for escalations and de-escalations which would reduce the number of edges)?

I am thinking about creating something like a subway map where you have "lines" with individual emotions being stations on those lines.

For example:

Acceptance -escalates-to-> Satisfaction -escalates-to-> Happiness

Acceptance, satisfaction and happiness would form a line.

The difference between subway lines and emotion lines is that with emotions the connections are not always bi-directional. That is, if acceptance escalates to satisfaction, it does not mean that satisfaction de-escalates to acceptance.

I appreciate any ideas.

Dmitrii Pisarenko
its really not that hard. existing stuff make this a fairly easily solvable problem.

all you need for a DE is basically the wayland server, an application launcher, system tray, and settings programs.

I've been building one myself over the last couple months on top of sway (so I don't even need the wayland server). and its day to day useable for myself. two/three solid dedicated engineers can build one fairly quickly (2 - 3years).

hardest part is the UI toolkit, and there are some reasonable choices in rust. they're young but decent bases to get started.
I have seen smaller living spaces in San Francisco.
> V. A. Shiva Ayyadurai is an Indian-American engineer, politician, entrepreneur, anti-vaccine activist, and promoter of conspiracy theories, pseudoscience and unfounded medical claims.

> ..In a 2011 article published by Time, Ayyadurai claimed he invented email as a teenager in the late 1970s.
I don't know, I was looking for "how to configure cors for specific vhost in nginx" and all I got was Apache SO links. Had to use -apache.
Not Napa but I recall the 101 has some really high speed limits for some of the two-lane sections through Humboldt/Mendocino/Sonoma counties
Wright Electric to develop electric 100-passenger aircraft for regional flights
Oh my god you run KubeSail! Neat!

I saw this and thought “can I use kube sail and host stuff in a mini cloud?”
> which I will not visit

This is a bizarre reason to refuse to understand something - you can find these laws yourself in seconds, either the original legislation, or references to it in the media, by Googling for them.

https://www.cnbc.com/2018/05/02/backup-cameras-now-required-...

https://www.govinfo.gov/content/pkg/PLAW-110publ189/pdf/PLAW...

> I know a case is weak

Well take it up with the US and EU governments! I didn't write the laws - I'm just telling you what it is and why they introduced it.

You have to follow the law - and have a backup camera and screen in a new car - for other people's safety whether you like it or not! Just like you have to wear your seatbelt.
Ask HN: What should I learn to build side-projects in AR or VR?
I am a junior web developer that likes to create side-projects. I am interested now in building something in VR, maybe AR if it’s easier (is it?).

I am not interested in getting a job on Facebook or anywhere, nor founding my own ambitious startup. I just want to build simple things that I like to use.

I have zero knowledge of the space. I just started googling about it and thought that maybe HN knows better.

What’s the easiest way to build something simple in VR or AR?
> To ensure that every Pi at our decentralized locations always has enough network throughput, the uplink and downlink is fixed at 10 Mbps.

Ok, thx, I have a 100/10 Mpbs link at home. The only reason I'd place my Pi in a colo is to get 100/100 Mpbs or 1 Gbit network.

Edit: https://contabo.com/en/vps/ (200Mpbs in the cheapest plan) or https://www.seedhost.eu/ (1/10G) is not too far from the €6,- price mark and I don't have to own the hardware.
Fork yeah, that's very exciting, thank you for the info.

I'm not a Rustacean but these memory related CVEs need to stop. Any small steps toward a memory safe(r) OS is good news to me!
eh you don't seem to realize how shitty current (GTK/Qt) toolkits are from developer ergonomics.
You have a missing factor of two.
What are your thoughts on Citus and Cockroach where foreign keys are still supported when creating partitioned clusters?

Is due to fundamental differences in postgres vs innodb?
You're assuming it's either/or. When I worked at eHarmony we had a monitor that would scroll user feedback submitted online near the developer area. One of the most common complaints was about ads being shown to paid users.

I asked a PM about this and was told that the money they made was too much to turn down.

Capitalism. It's why we can't have nice things.
I didn't say it would work, only that it should work.
Still crazy, charging $0.15 for probably less than a few ms of computing power.
These days, if you're developing something for profit it's pretty hard to see your software as ethical. You're either trying to empower your user or trying to monetize them, the two will always fight one another and snuff the other out unless you, the developer, take a stand.I fully understand the market for proprietary software, but trying to define some ethical middle ground is just blatant lip service, nothing else.
Also a frequent WA user. I use it for things I could calculate, but are much faster to just ask in plain text.

How much that cloud instance really costs

$0.03/hr * 1 month

Bandwidth calculations for hosting providers

10 TB per month in Mbps
What are the external costs?
> No, Darcs and Pijul (for which I have high hopes, though it's not ready for prime time) deal with changes.

I didn't know about them. From what I read, Darcks is slow and Pijul doesn't really bring anything new to git and seems to "solve" the problem not being based on patches while not really doing better at what git already solved. At the end of the day, both can compare what was applied and what wasn't but the algorithms used around it are just more complicated no good reason, this means less tools and less community support.
The For Whom the Bell Tolls quote is a striking way to start the introduction. It makes the point of their inquiry much more obvious than the formal scientific language that follows. I'd love to see more of this ("real-world" connections, not movie quotes) in scientific writing.
Chicago to Milwaukee is ~$25, though that's only 90 miles.
Not wanting to sleep in the same room with somebody who has zero respect for you doesn't mean that you shower once a week and don't have any actual friends. I know a lot of people whose roommates resulted in constant headache, lost sleep, etc. and moved somewhere where they could have a room to themselves as soon as they could. I even know a couple people whose university-assigned roommates developed raging drug addictions, and they would have to live and sleep in the same room with these people.

If I'm a basement dweller because I want to have a place (even a very small one) where I have some semblance of privacy, then I guess it is what it is.
I always thought that Git and Fossil address different concerns of the respective underlying projects (Linux kernel work and SQLite corresp.)

It's clear that both projects need a revision control to manage changes, yet the requirements seem to diverge. Linux kernel is a massive project with a lot of involved contributors. While SQLite is a tighter team, majority of commits are reasonably by 'drh'. And the codebase itself, of course, is not on the same span scale.

As such, my understanding is that Git needed to allow slicing and dicing of various sources of patches so that they could be properly sequenced, tested, reviewed, and integrated (thus index/staging and rebase). On the other hand, SQLite needed an immutable history as part of its exhaustive approach to testing and documentation, and Fossil could also be an excellent testing ground for SQLite too ... and a more cohesive CLI (thus the repo-db, security model, persistent branch names, non-destructive delete etc.).

So, just as great Masters do, they created the right tools for their project. AND they shared their tools with the rest of the world, that is us all, for which we are grateful indeed.

Now, is Git or Fossil a right tool for your project depends on your needs and choices. Not all projects need the slicing and dicing of the patches, just as not all projects require immutability of the history. If anything, the current reality is that Git became a sort of C of the revision control, just it's possible to have a practical use of it without the need to learn it thoroughly. The requirement to rebase your changes for a PR is rather imposed by project conventions, not the tool.

I like to think about Git as being a Swiss knife to carve the wooden blocks of patches, so they fit together. Meanwhile, Fossil is a kind of a handy set of chisels to etch the revisions into the stone tablets of the project.
Thanks for this. I always get irritated by comments from Europeans like “why haven’t the Americans fixed the dysfunctional things about their country?”. You might as well ask “why don’t Syrians just decide not to have a war?”. Reality is not so simple.
Great strategies depend on great inputs – here’s how to find them. (2020)
I don’t have any reactions beyond taste, but raw tomatoes, especially high quality ones, taste… poisonous to me. Not in an “i don’t like this” way, but a nearly uncontrollable gag reflex way.

If you offered me $1000 to eat a ripe tomato off the vine, I’m not sure i could do it.
Healthcare is the big one
yes, and they are absolute nightmares to work with. which is fine its their project.
At least we're past the days where the Steam installer would rm -rf your home directory
That's an obvious strawman. You can include context without having to write an essay. If you have a few things to say then list those things.
I don't disagree with that, but that's still not a reason to turn down paid options. With ads, you are guaranteed to get a bad experience. With paid product, there is potential for a bad experience, but at least it's not the guaranteed default.

Regulation around ads is the only definitive solution, but in the meantime if there's a business model that's non-toxic I'm not going to hate on it even if technically someone could still misuse it.
I’m actually very curious how do such fads begin?

Sales? What’s there to sell if you recommend polyphasic sleep? Or just harvest attention of clueless morons and act as some health guru?

Such a weird phenomena, and so common, I feel moronical for not understanding what drives it.
I was actually considering PlanetScale, but them saying "Every time a query retrieves a row from the database, it is counted as a row read." when it's actually all the scanned rows, sounds intentionally confusing. "Retrieving" sounds like it should only be counted rows returned by a query.
Lots of university dorms in the US are setup so that two people share the same bedroom.
CurrentRound^ : int = 0

for (i = 1..NumberOfRounds):
CurrentRound := i
if(!SetupPlayersAndSpawnPoints()?):
ShutdownGame()
return
else:
Players.PutAllInStasisAllowEmotes()
ResetMatch()

Looks nonfunctional as heck to me. Also it isn't expression-based - at least that's what the bare `return` says to me.

Honestly just looks like a dialect of Python. I wonder what SPJ will do with it...
Zillow, Prophet, time series, and prices