skysight-inc/HackerNews huggingface dataset:
>If you expect coordinated global action from some kind of global conductor I really invite you to look at the literature

"I lost my keys in the dark, but I'm looking under the streetlight because that's where the light is".

I don't understand the frame of mind where you keep arguing about how you don't have a flashlight, I don't have a flashlight, we can't possibly wait until morning, etc. If you can't solve a problem, swapping it for some arbitrary thing you can solve is pointless.

Saying "it has to work" is the sort of thing people say in the movies. Something "has" to work because the script writer decided on it.

Coordinated global action may in fact be impossible. Some people think an effective world government would be a fate worse than unrestricted emissions.

I'm just saying it's the solution by definition. Again, because that's what "global" means.

>It has to work more like slavery, colonialism and chemical weapons

I don't know what I can say for a third time that I didn't say the first two and I feel like you are ignoring.

These are all things that compose like my analogy of painting things blue. If the people in a family did bad stuff, then their family did; if the families in a country did, then the country did, etc.

They are not things that compose via the summation of numbers corresponding to their parts. You don't add up a measure of colonialism produced with a measure of colonialism consumed elsewhere. There is no target threshold for colonialism or slavery or chemical weapons.

Not to mention, from what I read, all three things are very widespread to this day, so if they were like carbon dioxide emissions, it would be a pretty pessimistic sign anyway.
Graph databases have been around nearly as long as databases generally, at least since the 1970s. The sole feature that makes a database a "graph database" is support for a minimal amount of recursion in queries, which was a feature before SQL even existed. There are good technical reasons graph databases have never been commercially successful.

Most databases support some form of recursion and have for decades. The reason they don't market themselves as a "graph database" is that the performance and scalability of graph data models in conventional database architectures is typically very poor, so representing your entire data model that way is not encouraged. The way indexing is implemented in many traditional database engine designs, e.g. B-trees, is pathological for some common graph-like traversals. Even databases that market themselves as "graph databases" have conventional internals and perform only marginally better for graph data models than databases that are positioned differently.

The idea of graph databases are great. Unfortunately, the existing implementations all suffer from very poor scalability due to fundamental limitations of the data structures and algorithms used internally. The core theoretical challenges are well-understood but few people are credibly working on addressing those.
LOL

"There, an assemblage of supporters yelled the players' names, and with every name, a fan resembling a member of the victorious team leaped from the bridge into the waiting canal. However, lacking a Caucasian person to imitate MVP Randy Bass, the rabid crowd seized a plastic statue of Colonel Sanders (like Bass, the Colonel had a beard and was not Japanese) from a nearby KFC and tossed it off the bridge as an effigy.

According to the urban legend, this impulsive maneuver cost the team greatly, beginning the Curse of the Colonel, which states that the Tigers will not win the championship again until the statue is recovered. Subsequently, numerous attempts had been made to recover the statue, often as part of a variety TV show."
It's refuting the premise that supervised RL becomes less supervised because you put the feedback in a handcrafted function and use a neural network. Deep RL in its current state should be grouped with Supervised RL, in other words (which is why I personally think that imitation learning is a great way forward, in contrast with the author). The issue is the amount of interactive tweaking and lack of a natural reward function that prevents DeepRL from being unsupervised.
The article doesn't mention it. So it makes everything seem a bit bizarre, but the thing that amazes me the most is that they celebrate Christmas at all.
But this film is credited to Sasha Hammid. Who was the real genius in their collaborations.
There's a great videographer on YouTube named Chris Broad who moved to Japan and has been living there for something like 10 years now. He does a show called "Abroad in Japan"

He did a great video on this topic which is worth checking out (as well is all his other content for those interested in Japanese culture!)

https://youtu.be/Pp6ggz_uwWE
It's not like anyone absolutely needs it, I was just fascinated by the recent surge in faster and more cross-platform utilities.
So much this. I never feel as lonely as I do in a packed city visiting for work.
It was a learning experience. And you're right, the real learning experience was to not port the STL
When I was at re:invent 2019 I joined some chalk talks which weren't recorded (or not published). Some of the hosts told lot of details of their internal infrastructure.
The issue is with email marketing the cost is basically zero to do a few more attempts at conversion and since you're already moving out of the potential lead pool throwing a few last second pitches your way is pretty low risk.
Map data yes, traffic data no. And the latter is quite important for driving.
Tell them and tell them and tell them. I persisted, but finally gave up.

We donate food that’s close to expiration to the local food pantry. They will take it after expiration, but they treat it separately and usually put it in the “free” table.
A relevant discussion that I'm digesting:

https://physics.stackexchange.com/questions/2670/what-is-the...
Ask HN: Do you regret having children?
You're in luck! Germany is next in line and we're planning to start operations late-2020 or 2021!
> we have investigated ourselves and have found no wrong-doing!
It’s in the store. It touts working offline, do you have save map data for an area first or can you use it the same way as other map apps?

I’ve used Google Maps’ offline saving feature when traveling internationally and where cell service is poor or absent.

https://apps.apple.com/us/app/organic-maps/id1567437057
What's so wrong with POSIX sockets? It's maybe not an elegant API, but not because "it's designed for C". It's problems are for example 1) it's doing too much abstraction (sockets). 2) you have to deal with some arcane data structures and ancient formats (endian conversions).

But, it does its job well enough: allowing the user to send and receive packets from the network.

If you're writing a networked application that works, chances are you either don't give a sh*t what API to use as long as it lets you send and receive packets (and thus you go with the relatively portable POSIX sockets (at least for Linux / WinSock2 on Windows)), or you use a lower-level API (probably proprietary) to reduce syscall overhead / get more control.

If you're parsing text, chances are all you need is fread() to read in the next chunk from a file, and from this you'll build a "next_byte()" function and then a "next_token()" function on top.

(I've done a lot of network code as well as parsing code, and the I/O API is among the least of my concerns).

All these fancy bottom-up kitchen sink libraries implementing "proper abstractions" or whatever do not provide any value past being able to be combined to form barely working and un-fixable applications where you will pull your hair out when you actually need some control over what's happening.

For something better, you'll need exactly this from external libraries: a clean programmatic (function call) interface that gives you control at a reasonable level of abstraction.
So just a word on the post. Opening this on my phone opened me into the GitHub app.

The repo has no explanation of what this is. I then clicked on the link to the page. Still couldn’t tell what it was except it manages padding and margin. Then all the examples seemed not to be responsive.

So all I could tell was that it seems to have something to do with spacing and doesn’t seem to work well. ¯\_(ツ)_/¯

This is just my experience and others seem to see the value in this library but just wanted to share my perspective.
If your marketing is already centered around a white-bearded Western guy in a suit, making the connection to Santa Claus seems almost natural in hindsight.
Not the person you were replying to, but my June statement lists 1,800 kWh. I'm in a two-bedroom apartment in Texas. The primary consumer of power by far is AC, which is kept at 68 degrees in the summer (partly for temperature, partly for humidity). My effective rate after all the fees was $0.11/kWh.
I'm not sure how you reach that conclusion when we keep doing crazy things that haven't ever been possible before with AI literally like every 6 months right now.
Nice work!

I don't know whether anyone here has used Rexx. The 'parse' instruction in Rexx was incredibly powerful, breaking up text by field/position/delimiter and assigning to variables all in one line.

I've often wondered if there was a command-line equivalent. Awk is great but you have to 'program' the parsing spec, rather than declare it.
Turning impression logs into people counts turns out to be a pretty difficult problem. Even with cookies it's still very complicated. Facebook has publicly acknowledged screwing it up several times.

We could go back to the days of talking about "hits" on a website, but for most things where you'd care about these types of metrics, it's a pretty crap metric.
> falls way short due to a PPPoE problem that limits fiber connections to under 500mb/s, and the lack of load balancing across multiple link networks (which I totally admit, is a first world problem).

how are you achieving load balancing? using LACP? not having working LACP seems kind of unacceptable in my opinion for suchs an expensive device.

Also, older enterprise grade routing hardware can be had for very cheap.
For an iPad, I find the apple ma-s ui much better. E.g. for search results in portrait, apple give you a column on the side (so you can see the map) but google fill your screen with results which makes more sense on a small phone. Google do the same “better” thing in landscape. I also find Apple’s street view copy much nicer to use but obviously they have the late-mover advantage. Google now have a poor copy of this interface but it’s hidden away.
Some programs allocate a lot of virtual memory and then don't use it.

Also, linux's forking model can result in a lot of virtual memory being allocated if a heavy-weight program tries to fork+exec a lot of smaller programs, since fork+exec it not atomic and briefly doubles the virtual memory usage of the original program.

I think there are better ways to spawn programs that don't suffer from this problem now...

If you have programs that are written to allocate virtual memory sparingly (like postgres) then that should be fine.

However, there is a second way you can be caught out: even if you disable overcommit, your program can still be OOM killed for violating cgroup limits, since cgroup limits always behave as though over-commit is enabled (ie. they allow you to allocate more than you are allowed, and then you get OOM killed when you try to use the allocated memory). This means you'd have to be really careful running eg. postgres inside a kubernetes pod.

This behaviour really sucks IMO. I would like it if you could set overcommit on a per-program basis, so that eg. postgres can say "I know what I'm doing - when I allocate virtual memory I want you to really allocate it (and tell me now if you can't...)". I think you can somewhat achieve this with memory locking, but that prevents it from being paged out at all...
Ask HN: GitHub Actions that deploy AWS lambdas?
I'd love to see some examples of GitHub Actions workflows that deploy AWS lambda functions, ideally with as few additional moving parts as possible.

I've done this myself via Vercel, but I want to learn how to deploy directly to AWS lambda from an automated CI/CD pipeline running on GitHub.
I tried developing a syntax like this: a table is set as context, then you do some transformations in pipeline fashion. That seems promising, but trying to rewrite some of my reallife examples, I found out that pipelines are much shorter than I expected. The reason was that you take a couple of tables, then make 3-4 of them (by filtering and grouping), then mix them together. And this does not fit well into pipeline structure, even with heavy nesting. In the end, the most gain on real examples (Python & Pandas) was where I made a function-like operation, which can be as well written in Python.

I can share some sketches if you wish (maybe it can give some ideas).

But generally, I think the code could be rather structured around calculation graph, than a linear sequence of operations.
That's what Group Policy is for.
Perhaps but being honest instead of resorting to the smear tactics of the past year would help start rebuilding the ruins of the medical establishment's credibility. What good is it to keep pushing out disinformation "for the public's own good" when it results in more and more people looking to alternative (and often very dubious) sources of medical advice?

What we need is a policy of absolute honesty with a one-strike-and-your-out-forever punishment for any health authority that engages in propaganda, even if they had good intentions. Credibility matters. It matters a lot. All of these coy little word games and character assassinations being conducted in the name of the common good is achieving the exact opposite result. As it stands now, the credibility of the medical community might be forever tarnished especially since there appears to be no attempt to get it back but rather endless doubling downs on the slime tactics that should be to exclusive province of political campaign directors and used car salesmen.
Context about this (highly biased) source: https://www.vice.com/en/article/a3d95p/the-unherd-and-the-wh...

It's kind of like a cattle-industry publication announcing that vegetarianism "is over".

There may be a genuine trend happening, but the author has a strong bias to want it to be happening.
It works only offline. You download the area before you can zoom in; there's no online tile-on-demand.
Apple Maps has a long way to go on biking directions. Today on the Chicago waterfront I selected biking directions and it just said “unavailable”

I do like the contextual directions on Apple Maps they say “at the next signal turn left” but I refuse to use two map apps
None of them in particular. The author of this article seems mostly concerned with constructing pedantic strawmen and handily defeating them with clever demonstrations. Claiming SQL is not expressive is a fault on the part of the developer of the schema. The notion of a broader ER model and why a good one matters seems to have completely eluded the author, aside from a brief mention of 6NF (which is definitely not the right place to start the conversation on normalization).

It is really easy to take a negative stance on a technology and poke holes in it without having some grounding in reality. If you are dealing with a problem domain that has hundreds of types/facts/relations, and the need to author logic spanning all of these things all at once, you are going to have a hell of a time managing this with any other technology. Looking at SQL through the lens of toy problems is a massive mistake. You have to look at it through the lens of the worst problems imaginable to begin seeing the light.

I used to think SQL was some ancient trash until I saw the glory of a 40 table join in a factory automation setting. If you need dynamic, hard answers right now, SQL is the only option that makes sense at this kind of scale.

I felt it would contribute more meaningfully to the overall discussion on HN if I were to sidestep a direct critique and present a view of the problem from a different perspective.
Yay, no more piping multiple cuts when you have multiple delimiters.
Scientific claims are indeed accepted by faith in the scientists and the scientific method.

Yet it cannot fully replace religion because it does not offer a way of living, a common set of values, a story to tell. What it offers is a method to gain the truth. Truth is not intrinsically good.

We need a method to gain the "good"/an ideal. I claim by personal experience and observation of history that Christianity leads to the perpetuation of the group and the individual. Arguably survival is good but insufficient which brings back to existential depression. Not only does a complete religion (i.e. unlike the incomplete religion of science) lead to survival but also to striving for what will make you thrive, beat existential depression. i.e. A "complete religion" gives a compass and a North star, a goal worth pursuing, a definition of good, a desirable ending to the story of one's life. A complete religion teaches you to reach the "good" and what "good" is.

Of course, one can take the path of "there is no God", whatever that means, and believe that everything always was, that there is no cause. That is human. I have been reading the Odyssey lately and gods are everywhere yet humans care only when it is to their benefit. The whole book would not exist if Agamemnon would have freed the daughter of a priest of Apollo when the priest asked for her with a ransom.

My definition of god is: higher power. What does higher power even mean? I would suggest the 4 fundamental forces are just some angels doing what God says. I cannot prove it and no one can disprove it. I lose nothing and gain a definition of good. All that is required is faith in some story.

In a not quite related note:
The bit about the pressure from dead ancestors is very interesting. I like perpetuating some stories while not having faith them in order to promote imagination, art and action. This is one of them.
I agree with this. If you are doing recursion in SQL, its probably because you have a bad schema. If the schema is clean, then you should probably be doing the recursion in your application logic. There are still cases where it makes sense but its super rare in my experience.
How to Build a Booking Search Engine with Ruby on Rails 6 and Elasticsearch 7
Schemas and requirements evolve over time. There is no perfect schema.

Schema design always results in endless "are we gonna need this?" questions, and usually everything is postponed down the road because it adds needless upfront complexity.

All data are naturally triplets, and with the relational model we are forced to group the triplet attributes into tables. The difficulty arises because these groupings are often incorrect, and then difficult to change. There is always premature optimization, because the SQL query statements become insane with too much normalization.

A bigger problem is how sticky schemas are due to how difficult they are to change, and how difficult it is to update your code to support a schema modification.

I think these two problems need more attention.

We've gone too far down the code-first / code-generation ORM approach which makes tinkering difficult.

I think all database design should happen visually. MS Access style. You should design your schema alongside your data (as you suggested by using spreadsheets). But instead of then transferring that to code, it should be a living schema that connects to your IDE code refactoring. The more declarative queries are and the closer they are to what needs to be finally rendered the more chance of reliable refactoring. The more imperative code modifying the queried data, the more complex and difficult to refactor things become. A lot of the cruft in a codebase is when schema changes are additive because people are too lazy or too risk averse to refactor.

E.g. Think about a User having one address, and then needing to support multiple addresses. There's quick and dirty way by adding more columns or adding to a JSON column, or we add a new Address entity and keep the existing User address columns, or we delete those columns and migrate data to the new Address table - which is the cleanest way to represent this schema change. I think there are few who would do the last option though, and this is the problem. Hiding this behind an API also causes more problems down the line because our frontend data model starts to separate from our actual DB data model.

We need better tools, and less code.
Making a small quote adapted to your use case and variable names is more like human learning than abusing GPL projects wholesale.
Kaseya Failed to Address Security Before Hack, Ex-Employees Say
When I lived in New Zealand for a year, one day my friends at school wanted to sneak out during lunch to go to KFC (which there they market as "kiwi for chicken"). This was something you'd not hear American high school students say, at least in California. However, it was significantly better tasting. Not mind blowing or anything, but pretty decent.
Of course. Veterinary pharmaceuticals have very different manufacturing standards, approvals, and dosages. It's unfortunate that so many have been pushed into this path by authoritarians who have in under a year turned the medical establishment's credibility into a pile of dust.
That would work only if you always build after committing all your changes, which is IMHO another anti-pattern.
Why is Chomsky worth listening to on ML/AI?

It's birds and airplanes: airplanes don't have feathers, but they solve different problems. Aerodynamics is a science, actual airplanes are engineered. But aerodynamics as a science evolved more slowly than actual flying airplanes; that's where we're at with ML.
It seemed to take current conditions into account - route around areas that are already bad but it didn’t seem to account for typical volume at the time you’ll likely be somewhere. We used to get these routes showing normal speeds all the way through NYC, even though it was obvious that conditions would be different by the time we go there.

I’d hope they’ve improved it since then. I mostly stopped using it because I’d get tons of unprotected left turns on major roads or zig-zag routes through neighborhoods and it just wasn’t worth having to deal with that to save a minute.
Frida Instrumentation Kit 14.0 – QuickJS with Hacked-On Multithreading (2020)
I see a choice of going down the Invermectin rabbit-hole where the framing and presentation feels a lot like an MLM campaign (except saturated w/ conspiracy) - or walking into a local store and getting sound ~95% efficacy w/ a pair of free Moderna shots.

The latter really seems more compelling to me.
Those are all factors. As a species, we need more scientific output and less sales and marketing.
Organic Maps is amazing. For hiking and climbing it has routes that Google and Apple do not put on their maps. For offline mode you can download entire US states or countries and the search is instant once you've downloaded the data to your phone. I still use Google/Apple Maps for navigation, but mostly because I've never give Organic Maps navigation a try.
I do not understand "KFC" as a business model; in the southern USA they have competition (every gas station has fried chicken), and the KFC chain seems to be dedicated to providing the worst food and the worst service in the market.

For the last 20 years or more, the KFC nearest to me has been known to the locals as a place to avoid at all costs. They've had 2 periods of revival, in the month after new owners took over, neither lasted more than a month or so. The default state is under cooked food, high prices, and shitty service. They have a policy of shorting orders and shorting change; it must be policy, random error would happen in the customers' favor sometimes.

I'd suspect they were a cover for some illegal activity, but if they are its happening at some higher level that I cannot perceive.