skysight-inc/HackerNews huggingface dataset:
I know what a shill is... Are you implying that the manipulation is shilling? Can you provide an example?

I use Facebook. I don’t think I’ve ever seen anything I would qualify as manipulation in sponsored posts, as my sponsored posts are almost always product advertisements. So it’s not obvious to me what is meant by “manipulation” in the post I was responding to. I think asking for an example is quite reasonable.
Content Jumping (and How to Avoid It When Designing Webpages)
Do you never leave your house or go close to the windows? If you do, there you go.

Do you never run into traffic or stop at red lights in your car? If you do, there you go.

I wouldn't assume you'd always see the drone coming, even if you hear it it can probably strike in just a few seconds, before you realize what it is.

If the attacker wants to avoid being identified a remotely controlled drone is better than an RPG, and probably more accurate as well.
In the Spotlight – Personal Reputation Management
I believe the folksy saying here would be “lipstick on a pig.”

From the article:

“Facebook said it would begin barring politicians from placing new ads on Facebook and Instagram, the photo-sharing service it owns, starting on Oct. 27. Existing political ads will not be affected.”

Well then, amend that folksy saying to “lipstick on a pig, but we didn’t even finish painting his lips.” What possible difference could a week of different ad content make?

“Misinformation across private communication channels is a much more difficult problem to tackle than on public social networks because it is hidden. Limiting message forwarding could slow that spread.”

Again, little bit of lipstick on a gargantuan pig. I think the bulk of the really whacky stuff on Facebook is in semi-private groups; even my local neighborhood group is full of nonsense. (People are just obsessed with 5G causing cancer.)

Now, do I have a solution for this? Nope. I have no earthly idea how you police disinformation at scale. Heck, even if Facebook developed some sort of near-god-level AI that could track all this down, the craziness would just move to other platforms. (See: QAnon on TikTok.) I just find it a bit offensive they’re even pretending they can do something.
"This demo (talktotransformer) is turned off for the moment."
It appears to have been replaced by https://inferkit.com/ . I don't know how the usage limits for inferkit compare to talktotransformer. The pricing page can be found here https://inferkit.com/pricing .
Which means you can call it inside a for loop if you have guarantees that the order will always be the same. These are the caveats that don't fit in one paragraph. Also, repeating the rule 'it has to be called in the same order' is not explaining how it works.
But most of those are easily understood the second you say "Babel is going to take the JSX, convert it to javascript, and expects React to be there." Is that crazy? Sure, but it's also pretty easy to update your mental model for.

The most telling thing about hooks to me is that I need a library just to use intersection observer, because the way you have to implement it to replication the same 5 lines of code from vanilla js is so much more complicated.
You'd have to write the code to apply the state to the DOM. React abstracts that in a very optimized way.
I wonder if we are starting to see the initial symptoms of a future exodus. Exodus where though? I don't think Svelte is that place.
Where have you seen Let’s Encrypt using Google’s servers?

CAs are required to run full recursive resolvers, up to the root, and can’t just point at someone else’s DNS infrastructure. Which, if you think about it, is what you want: you don’t want the CA just trusting someone else is being honest, you want to go to the authoritative source.
The JVM has multiple implementations across a huge range of architectures. Java is managed by a standards process.

Once excluded, the article goes into depth on a range of things that one could argue Java specifically addresses and in a better, more portable way.

One could argue about GUIs, but the portability of GUIs is not just a Java/Swing problem.
The index is great, honestly. The knuckle controllers are fantastic (though there's some issues with the surface mounted joysticks not having great longevity), the HMD is fantastic, and the support seems pretty top notch (bad controllers being RMI'd).

The biggest thing seems to be the long lead times between ordering and arrival.
>For instance I bet a great swathe of the unemployed would not be depressed if they had a job.

I think this is worth a rephrase. Something like:

I bet a great swathe of people wouldn't be depressed if they didn't have to trade their time for food and housing tokens.
Comparatively, venture capital of the silicon valley sort is hard to come by, from what I can see.

There is also a weird preoccupation with the London startup scene; politicians decided they were going to nurture it and help fund things there. Which is fine, but they ignored the Cambridge area which is where a lot of the actual innovative tech in the UK gets developed, in favour of (effectively) a bunch of cool-sounding app vendors.
It might be a good idea to focus on the use of template strings for safe and handy SQL generation instead of introducing too many opinionated ORM concepts.

If one had to, i'd separate these things in different libraries and let the developer opt in to what he needs.
Dynamically Load JavaScript with webpack (a perspective)
I think it's remarkable that you think it's remarkable ;-)

eMule comes from an era when all applications were native and 1GB of RAM was considered extravagant.
If you think they're only using insulin and test I have a bridge to sell you.

All the pros use a variety of drugs illegally, including steroids, HGH, diuretics for show prep, etc. At least Ronnie had the sense to become a cop considering half of the force are already on steroids anyway.

Before anyone jumps to conclusions about what I'm saying, I think it should all be legal.
thanks. I love it! It is not clear where the `article.id` comes from in many-to-many example. Anyway I don't think I would use those relationships patterns, instead I would just load and operate in plain (shallow) model objects.
Being a "black box" is good. I don't have any expertise with React in particular, but any complex enough framework will break down when you extend it beyond the official documented APIs and start relying on undocumented behaviour. Nobody guarantees it will work after the next version bump.

I'm speaking from past experience with Django. Years ago I naïvely made the mistake of assuming that clean, readable source code in the framework implies a contract between the API author and user.
Paraphrased from a real example:

tar cf - files morefiles | ssh user@dest "tar xf -"

If you want to insert, say, compression:

tar cf - files morefiles | zstd | ssh user@dest "zstd -d | tar xf -"
I studied Latin to Ordinary Grade and (Classical) Greek to Higher Grade at school in Glasgow decades ago. This included reading, in Greek, Odyssey 9 and Iliad 6. Other set texts included works by Plato, Thucydides, Xenophon, and Euripides. Latin and Greek are still taught at the school.

I have the Loeb Classical Library version of the Odyssey, which has the Greek on one side and a prose English translation on the other.
Facebook posts are people talking to one another. You really want the government to legislate what people are allowed to say to each other?
Predator is an Acer line, not ASUS.
Are you sure Word is using the nVidia gpu and not the Intel (on processor) gpu?
Every time I see one of these posts glorifying class-based components and shitting on hooks, I always come away with the same impression: this person doesn't understand what hooks are for.

There are plenty of examples where a specific interaction might be more 'intuitive' in a class-based component, especially to someone who knows the lifecycle methods well, but class components had a tendency to become very big with lots of instance methods and be responsible for too much.

React has always had an eye towards being pure functional, preferring that you hide your application logic in pure functions, but when you're dealing with complex interactions that rely on various combinations of state and props, there wasn't an easy way to abstract that away. Forget about DRYing out your code base, it was really common to see identical functions in `componentDidMount` and `componentDidUpdate`.
Hooks represent a way of removing complex behaviors (that can't be represented as pure functions) from the component altogether.

A lot of people _consume_ hooks, and these are the kinds of usages that people are really complaining about. Components with 3 or 4 or 10 useState, useEffect, etc at the top. These behaviors get copy-pasted all over the app. They are hard to reason about in the same way that code where you never wrote any functions would be hard to reason about.

So yeah, you have to get used to thinking with hooks, just like you have to get used to thinking with pure functions. Sorry you had to learn something new.
you guys need to learn Svelte XD
http://svelte.dev/ less pain, more beauty
I get a surprising amount of personal email from several people who mistype their own email quite consistently. Everything from mortgage info to job offers and updates from teachers. And I don’t have a special mailbox name or domain. Can’t imagine how much someone with a domain like that might actually get.
For me it was WinMX. I remember around 2001 I found all GameDev magazines there. Something that was just not available in any other p2p network.
This article perfectly describes the types of menu that I loath to see at restaurants. It’s not an exaggeration when I say I always complain about these menus in person whenever I encounter them because I find them so hard to read. But question is… do these gimmicks subconsciously still work on me?
The best way of thinking about hooks I've seen is they're an attempt to describe all possible states of the component at once, right in the render function.

Instead of tracing through various imperative lifecycle handlers to see how side effects are handled, you have them all in one place. It's kind of a declarative(ish) approach to side effect management.

I personally like hooks and think they achieve this goal pretty well. The API is good, the abstraction maps over decently once you've grokked it (though this is honestly non trivial), and they end up simplifying 80%+ of common usecases.

But... I think it comes with a huge caveat. To consume, hooks are much quicker, easier, cleaner, etc. To write, I'd say less so. The problem is that in order to write and debug custom hooks, you have to deeply understand both the underlying component lifecycle model and the mapping onto the hooks API. This naturally makes creating, modifying and debugging hooks that bit harder than working directly with lifecycle methods in the class model, where there's one layer less of abstraction to deal with.
you guys need to learn Svelte
http://svelte.dev/ less pain, more beautiful :3
I've used more Java enterprise frameworks than you can shake a stick at; I started with Java 1.4 mostly so I'm certainly aware of those patterns!

Whether they are "equivalent" depends on your definition of equivalency. Could Java pre-SAM claim to have first-class functions; I would argue not because there was a separation between methods and classes - even though you could make a case that by having `Callable` or whatever anonymous classes you could use to emulate similar behaviours. Does Haskell have inheritance? No, but you can emulate some parts of it with a mixture of template haskell, record types and lenses.
Was anything they did ruled illegal? Pretty sure it wasn’t so I’m not sure how that is relevant.
"All ye bully-rooks with your buskin boots"

"Best ye go, best ye go"

"Outrun my bow"

Oh god, I'm in tears. This is amazing.
Possibly related to the song they release last year, "More Data"[1]? Both songs use the same "Meeeeeee..." sample, and they have complimentary topics.

[1] https://www.youtube.com/watch?v=sTWD0j4tec4
That is basically ADT based programming as made popular by languages like Modula-2 and USCD Pascal, as Abstract Data Types, where mything is a module.

That is the thing, at their basic level, objects are just some form of extensible modules.
There's an organism I have seen referenced in a while ... in the first half of the last decade, my daughter who's now a doctoral candidate in human genetics at JHU did research in a lab right next door to the famous "worm shack" at UofA ( http://wormshack.ua.edu/).
Nor is it anywhere near as portability. Though that's not a big issue these days.
What makes the fact that each hook call needs to be associated with an index so unacceptable?
> This is probably the only React hook nuance you really have to understand

Absolutely not. There is the dependencies array, how it only does a strict equals check (no shallow comparison), how you need to memoize other dependencies so they don't change on every render, why it is a problem to leave it empty, why useEffect cannot strictly replace componentDidMount, why you can't put one hook inside the other, how (and which) hooks can trigger a re-render or block updates, how state is captured by the closure and what to do if you need current state, how to persist things across renders using useRef.. and probably more.
> By the way, why don't people get SSRI's when they are depressed with a flu?

One reason is SSRIs typically require a a few weeks to reach effective levels in your system; about how long it takes to recover from the flu.

> depression is fundamentally and immune disorder

You appear to be playing a free association game with words, not describing reality.
Apps news digest. Fortnite ban, Instagram bug, seismometer smartphones, and more
SEEKING WORK - Remote/Sydney AU

Fullstack/backend developer with experience in Python/Django, React, AWS. 7 years exp.

Location: Sydney, AU

Remote: Yes

Willing to relocate: No

Technologies: Python/Django, AWS, Node.js, React

Résumé/CV: https://www.linkedin.com/in/yoong-kang-lim/

Email: yoongkanglim.work@gmail.com

Website: https://yoongkang.com
This was always the case. React always totally sucked, but you all jumped on the bandwagon instead of using something simpler. It surprises me that they made it worse over time. But it doesn't surprise me that all the fanaddicts are coming out to defend the newly discovered flaws and complexity, and responding to any criticism not with cool confidence or generous reason, but ideological hysterics.

Why'd you ever sign up for React in the first place? Are you now too invested and deluded by sunk cost fallacy to admit your flaw and get out? Just keep sinking more into it. Who does that benefit?

Maybe if FB wants to tie up startup competition with convolution...
Impressions from Intel’s Tiger Lake laptop CPU launch event
That doesn’t sound like fear but acceptance.

Although, what country doesn’t have the ability to dig through your luggage? In my personal experience, Europe is the only place that I’ve seen armed officers dig through 100% of the bags on a flight while the entire airport watched.
Ask HN: When will the USA open borders?
I use a similar approach and setting for c++, I purchased clion for two years and rarely used it, vim is just handy and light-weight, I will probably use clion when my project becomes huge, until then, vim is absolutely enough.

vim nowadays can find all the headers, do linter and auto-fix and auto completion, and when you're coding, you rarely need move the mouse at all, vim 8.2+ is itself a modern IDE inside a terminal, again, light and fast, I enjoy it.
It's been the way Elm describes its components; and I believe Andre Staltz has been criticizing jsx in favor of hyperscript since forever [0], and included hyperscript in cycle.js.

Lit-html, which is using template literals, is another good option.

[0] - https://staltz.com/some-problems-with-react-redux.html
Is there a LSPs in a box somewhere yet?
Which one? The concept of a singular "me" starts to break down in situations with clones.

Both would claim to be me, and I think both would be right. You're trying to force a certain conclusion by only asking one of them and by limiting there to only being one "real me".
They can still be plugged into different ground supplies. If they have different potential, you could get a large amount of current flow. If they're plugged into sockets in the same house, this is unlikely to happen.

This is usually more of a problem with audio equipment that has analogue signals with very high sensitivity. A ground loop can convert any nearby magnetic fluctuations (like say from the electricity flowing through the mains cables in the walls) into a nasty bit of noise.
Show HN: 50 days study C compiler
Dear Chris,

Thank you very much for taking the time to provide me with honest feedback! You're indeed right and highlight some interesting shortcomings.

Allow me to reply to your remarks.

In the post, I indeed didn't define what success looked like and I'll be amending this. My initial goal was to get a first feel of the market and not necessarily customer conversions (that might not have come through very well). But I did want to strike a chord with the many entrepreneurs who have built a product, do the magic launch and then nothing happens.

I think that potential readers would most definitely be interested in this extra information, so thanks for the idea!

For your final remark. You're very right that I'm underusing the marketing potential of these blog posts, and I'm still learning my way through content marketing. I'm also still struggling a bit with getting Wordpress to obey and make jump out call to actions. But maybe most importantly: I don't want to build an empty blog for pure marketing reasons and I'm trying to find the balance between these conversions and valuable content.

Thanks again for your input, I'll make work of it!
I personally find these quite easy to comprehend, but I suppose I can see how it might be difficult.

Edit: That was snarky, I apologise.
>The point is that if everything is in a single giant "library", and it burns down, then everything is losf forever.

What.cd suddenly comes to mind...
TypeScript, React and some charting library. create-react-app has the TS and React part, you just need to add the charts. With CRA, you don't really have to worry about the transpiler and so on, you just write npm run start.
If you're not paying people, then you're not hiring them. I guess that might be ok in some situations, but one of them where it isn't is if you imagine that not paying someone is still hiring them. And the reason it's not ok to pretend to yourself is that the inability to pay people means that the company isn't operationally viable on a day to day basis by virtue of being grossly under-capitalized.

Good luck.
Now pg lives in England. He was born here though, so I guess it's for family reasons.
There is standardization, it just happens at the state level.

Complaints about lack of standardization come from (a) businesses that want cheap, easy and immutable unique identifiers for everyone from a government that isn't maximally accommodating to their use case and (b) the federal government wanting better police record-keeping on the population.
I haven't rushed out to hooks when they got out (i'm a preact user not react) to the point that I got an intern tell me "Oh you don't use hooks, I'm not used to work like that".

After digging into them, they are a nice addition for some specific niche scenario where the component is not using any kind of global storage. But from the little experience I had, they bring almost nothing new (I could do the same without them) and they are also kind of difficult to read.

If I had to put a ADR for it, I'd simply skip it trough and specify storage / class components as being much better just because of readability and consistency.

Now maybe they have some better perf but it seems to me they are an addition that came because of the functional frenzy that react has gone trough.

Maybe we got too far, maybe we didn't really need them. Maybe they just look cool.

In the end, i've replaced all my hooks with either GS or Component just because I'm more confident about how my peers will be able to read the code.
If you can get people to disengage from basic politics (voting), then you can sway dozens to hundreds of seats.
> Google's "targeted-journalist-level" Advanced Protection Program

Thanks, I never heard of that before. https://landing.google.com/advancedprotection/
I'm trying to build that:

https://github.com/stephenh/joist-ts/

Disclaimer docs aren't amazing yet, so looking through the examples/integration tests are the best way to see how it works.

Prisma has a few mentions in this thread; joist's differentiator is that it leans more "domain model" i.e. validation rules, derived values, and business-logic-y things being in the model.

Which is not for everyone (i.e. the ORM-less approach of the OP/kiss-orm is fine too), but if you're looking for that sort of thing...

Joist also has a novel approach for modeling the lazy-initialized collections/references of ORMs, which is historically tricky in Node/JS/TS. In Joist, all collections/references require `await` to access by default, but that gets tedious very quickly, so you can use populate hints to get a now-synchronously-accessible sub-view of the object graph.
In which case it may be advisable to delegate the acme-challenge record to a different DNS provider, if doing so allows you to sidestep the anycast issues.
I've used this as an example of (non)-vector spaces in a linear algebra class before. Light perception is based off the stimulation of three color cones, so three (positive) values. The light available to us stimulates those cones in certain ways and three light colors are enough to form a "basis" of the space of perceived colors. But the fact that the values are always non-negative means that there are possible cone-stimulation values that are never achievable by our light.

However, super-saturating your eyes with a color and then removing the stimulus effectively allows you to also "subtract" out some light and therefore reach parts of the perceivable-color-spectrum otherwise unobtainable.

I thought it was a clever application but my students didn't seem too impressed!
Tcl's new paper-like display can also play videos
Threema Goes Open Source
You could say each call corresponds to a timestamp and they need to be ordered, and the person receiving that information would be none the wiser. It just doesn't lead you to understand what's happening underneath. Some may be fine with stopping at that level of understanding, but the stack-based approach of hooks is quite unnatural for JS and I don't think it is good in the long-term for developers to just 'accept' that as supernatural.
Love to see more options in this space! I've made a switch from traditional ORM (TypeORM and Sequelize) to a similar "light ORM", Pgtyped, and never looked back since.

Like in Kiss, you write queries in SQL. But unlike other "light ORMs", it also provides type safety by generating type declarations by directly connecting to your database instance and type-checking your query templates.

Honestly, I think it's the best of both worlds, and would love to see more developers finally learning SQL and ditching "fat ORMs" that try to hide it under abstraction layers that always end up leaking.