skysight-inc/HackerNews huggingface dataset:
Show HN: Ad network for side projects has launched
I'm excited to have launched Tiny Ads.
https://tinyads.io
A privacy respecting ad network for side projects.
It's an old idea (web rings) lifted for a niche.
Tiny Ads wants to become a network of smaller projects by linking each other on their respected landing page. The ad will provide a standardized way to display projects across the web. Like a feed layer on top your web page.
New users will find your project by hopping from page to the next.
I hope to create a positive sum game here.

3 weeks ago I posted a here and got positive feedback. So, thank you.
I took it from demo to product spending on average 2 hours a day.

The backend is written in nodejs + postgres hosted on hetzner.
I'm running it on the cheapest tier ~3Euro.

Most of the heavy lifting is done by postgres + graphile/worker [https://github.com/graphile/worker].
Images are cached on cloudflare and the server just sends ~400 btyes of json telling the browser what to fetch. I'm genuilly interested how much traffic I can handle with just 3 Euro.

The frontend is pretty dumb. Simple html (4kb) with a bit of alpinejs.
>I don't think, "Most people are oblivious," they just don't care and/or don't understand the implications.

But they do, that's what's baffling. The number of people I have heard parrot the "Bill Gates put a tracking chip in the vaccine" has me both baffled and worried. These are people who appear to be otherwise completely sane and mostly rational. When I've pointed out that's literally what their phone does, so why would Bill Gates waste any money putting something in a vaccine (ignoring that's not even physically possible) - I get a "well that's different".

They are concerned, but as a non-technical person for some reason they just can't quite wrap their heads around what is happening.
Im not a vegan, but it absolutely can be healthy. They say 84% of vegans return to meat. https://www.psychologytoday.com/us/blog/animals-and-us/20141...

But this is because they aren't following a healthy approach. Moreover, unfortunately there we found out that there are basically no non-meat sources of B12. Except for the original bacteria. There were some almost-b12 options people were trying but failed. So even if you supplement b12, it's likely to be sourced via a meat source.

Worse yet, B12 isnt the only problem. There are 3 others that vegans often dont get in their diet because to get enough would require ungodly amounts of rather unusual foods like flaxseed or seaweed. Like how much can you really eat of those?

That said, there is a valid path of veganism. You can find the proper nutrition. You have to thoroughly investigate how to do it but you can.
This was originally announced[0] with the title HN Frontpage ranked using only votes from accounts over a year old

So is there a reason to think now that the cutoff date is Feb 13, 2008, or could it be dynamically counting accounts over a year old?

0: https://news.ycombinator.com/item?id=607271
Gitlab is a great service and a great alternative to github and bitbucket. But it has been quite flaky over many years and it's quite surprising they haven't prioritised system stability over everything else. https://twitter.com/gitlabstatus

Gitlab has been a fully remote proponent going back a few years and these persistent reliability issues add some doubt to that model - even if there might be altogether other issues in play.
The only interesting difference is less posts about Facebook get upvoted.
>GDPR is just there to protect the privacy of EU citizens and that's that.

From what exactly? You'll see where I was going when you try to answer that simple question.

Because your answer will be -- tech giants.
It'd be very cool if you could set the classic date in your profile.
So tiktok but for news?
I don't. I'm saying there's a point at which fandom becomes toxic and, for example, can't tolerate the slightest criticism without downvoting that person into oblivion.
Are there enough active and voting accounts to rate anything adequately?

It's like calculating market quotes only from deals by old enough participants.
This is why we want normal time not daylight delay. This solution wake up and have about two hours to eat breakfast, get dressed, etc. before day starts with earnest.
ExcelDna says it uses the C API not COM on the link you provided.
> I have asked this previously, asking again, believing bitcoin will become digital gold is believing - * US will let go of the petrodollar / reserve currency status. * China will allow a democratic process to control their currency / economy. * Other developing countries like India will give up the ability to control inflation etc of their own economy.

> Do you sincerely believe these are possible ?

"Possible" isn't the word I'd use, but "inevtiable". How long do we think that, for example, the petrodollar will last? 1,000 years? 500? 100? Shorter?

The real question is whether the adults and patriots within the state apparatus will see the writing on the wall and conclude that a better way forward for humanity is due.
But mail and phone were essentially the only methods of long-distance communication. The new methods of long-distance instant communication are not just groundbreaking for organizing legal business.

Something really has fundamentally changed with the introduction of instant encrypted messages. I'm for that change, and against the government attempting to ban it.
Into NLP – Tokenization
Turns out "classic" had 10 of my clicked links - while the normal "new" had 5. Will use classic from now on.
Helping Humans and Computers Fight Together: Military Lessons from Civilian AI
How is this helpful? If the HN veterans did not like the 2020 content of HN they would simply not use it.

The results are just showing the particular interests of that group of people who still enjoy the site after 12 years.
The OODA Loop: How Fighter Pilots Make Fast and Accurate Decisions
> When we think "programming", we think FAANG

No, we do not.
Object to legitimate interest! ...I find cookie dialogs that have an on/off switch _and_ such a button very confusing, but it sounds like it was created for these kind of situations. IANAL.
Wasn’t the original “written” using discrete logic (as in, no ROM)? How close to the original is your VHDL version then?
I’m not being facetious, or implying support for master/slave nomenclature. But if you ship a big change like this that impacts very core assumptions in 99% of the Git ecosystem, you’re perhaps in for a treat.
I'm surprised how Firefox is becoming more and more unusable, without much improvement. I live in a country that is not my mother tongue, and I'm not a fluent reader/speaker yet. I need the inline site translation feature to navigate things I'm unsure about, say government sites, tax office stuff. Firefox is not usable in such a scenario (make no attempt at convincing me, I looked far and wide for a good solution. The available plugins are not a substitution, as they trigger bot and spam filters).
Mozilla have been promising Chrome-like inline translation for a decade now, without any signs of actually working on it. I kept waiting for much of that decade, but 2 years ago I switched to Chromium. I now do not recommend people to use Firefox, even though I advocate for free software in my circle of friends and acquaintances.

Maybe this will change, but I do not really expect much from Mozilla's current leadership.
> this right is being curtailed by private actors.

It really isn't. They can keep you off their platform, nothing more.

> states should provide social networking/communication services to their citizens.

And you think this would be less censored?

> in social media individuals earn their own audience

So ... individuals got all those people to sign up to twitter? Twitter itself has nothing to do with it? You really think that? Platforms just pop out of the air fully formed?
Yeah, it does seem to pop up every now and then :) Many of the newer users don't know it exists until someone brings it up again.
If you can make enough money to move away from the destruction you wrought, and live in luxury while providing education that elevates your offspring to a higher social class, many people will do the wrong thing for selfish reasons.
This is a popular idea around here but is actually fairly radical and a pretty significant departure from what free speech has been understood to mean in the past.

That doesn't make it wrong and we do seem to be headed in that general direction. Just understand that what you're proposing doesn't necessarily follow from pre-internet free speech protections and is a different ideal.
Me too. Alas, I can't do it myself.
I don't mind targeted ads, I mind targeting based on information I haven't explicitly given. I understand that since I joined a group for local mountainbikers, which is tagged that it is about "cycling", I can see ads for mountainbiking. They infer my interests from information I have given (age, groups, ...). That's fair game.

I do NOT want to see a mountainbike ad, ever, because I browsed a random retailer for mountainbikes, or wrote a message about a mountainbike to a friend on messenger, or because a friend of a friend bought a bike on fb marketplace etc etc.
>> What the fuck is with this trend?

The aesthetic is absolutely gorgeous to a vast majority of people, myself included.

Especially the average person is going to look at the one with lights and the one without and assume the one with lights is automatically ‘better’.

It helps sales, it helps jack up prices.

You can see it in the dark clearly.

It looks more interesting on a live stream, something very important these days.

They’re programmable, and can be a fun way to express your personality.

These are just a few reasons this is a trend. :)
Your vote counts on the main homepage.

> a view that only counts votes from accounts which are more than a year old, or some other criterion which reduces young and drive-by accounts

Are you sure you know what the motiviation for accounts older than 2008 is (are you sure it's reducing young/drive-by accounts?)

Have you thought about what that motivation might be?
Same way, I selfish want normal time. No daylight delay. Dislike one more hour after arising before sun appearing. Hate sit in dark fore much time. So I am vote opposing any daylight delay and only fore normal time all time. Fortunate on my arguments can support from studies. https://news.ycombinator.com/item?id=26464461
i have zero problems with this kind of monetization. i mean, that's why i pay for youtube and spotify -- i wanna support the services/content creators in some way, but i abhor ads.
And it is not open-source

Nowadays most people refuse to pay for languages at all, when there are open-source languages.
There is a bunch of chip replacements as well like the armsid and the 68k stuff like pistorm and buffee
I saw a talk by Matt Godbolt demoing the compiler explorer showing showing the assembly between idiomatic C++ vs someone trying to outsmart the compiler. In all cases the idiomatic version was superior in performance and readability / maintainability.
Nice idea. Could be better if this threshold is implemented into the user profile and let the user decide.
Obviously nobody who was an adult in 2008 is still able to operate a computer or comprehend the latest tech trends.

This is clearly aimed at tapping the wisdom of the savvy investors who have made a bet on vintage hn accounts as the latest digital store of wealth, indicator of wealth and conferrer of legitimacy. If you were smart then you spent the last decade picking up these heirlooms in estate sales and recovering old logins from fossilised magnetic tape.
From having their information processed/sold without their consent. There is nothing implicit in the regulation that targets "tech giants".
Regarding speed of the C++ version: The fundamental mistake is to use std::unordered_map. The standard library map and set implementations (both ordered -> tree-based and unordered -> hash-based) are almost never the correct choice if you care about performance.

That's definitely a flaw in the language, but like with C you would just use a different implementation for this purpose.
My thoughts on the matter is that Test Driven Design is pretty cool, and if you had never written a test before, this is the one of the easiest tests to write.
it doesn't really matter how close the screen is to your eyes

Yeah, I didn't mean to suggest there is a continuous relationship between trust and distance from the eyeballs :) The promise of AR and VR is that there is a quantum leap when your entire field of vision (or a very large fraction of it) is enveloped by the display though.

it doesn't have the ability to control your sense of reality

That's the entire premise of the products – the "R" in AR and VR is about inserting a shim between you and reality. That requires a level of trust I wouldn't be fully comfortable giving to myself, let alone other people, and never FB.
Premiere for the IKEA Catalogues Online
Boomer edition.
The point I tried to make is that it doesn't matter if it's the us, china, france, russia, etc. Blaming brazil isn't the solution, they're only doing this because china (in this case) are prioritizing cheap soy over the health of the Amazon.

The exact same argument is true for palm oil in indonesia; blaming indonesia for destroying borneo and sumatra isn't going to fix the problem when it's all being exported to the EU and india.
In this context, for people in the Netherlands - there is a 'class action' (well not really, we don't have those in the same way as in the US, but functionally equivalent) lawsuit against Facebook in order to get monetary compensation from Facebook for the time(s) they violated privacy laws. The first hearing will be on the 1st of April. Of course Facebook has been trying to delay this case, e.g. by claiming Dutch users should have asked for redress in Irish courts.

If you want to join (for free), see https://www.consumentenbond.nl/acties/facebook/aanmelden .

Even if I only ever get a single euro from that case, that euro will feel better than making 1000's from regular work, and if it's ever paid out, I'll take my children out to dinner from it (I suppose I'll have to chip in the difference myself so that we won't have to split one item off the McD's dollar menu...) to celebrate that not all hope is lost.
Common Lisp (sbcl.org): (non-optimized - needs to remove need for consing)

(defmethod performance-count ((path-file string))

(let ((map (make-hash-table :test 'equal)))

(with-open-file (stream path-file :direction :input :if-does-not-exist nil)

(when stream

(loop for line = (read-line stream nil 'end)

until (eq line 'end)

do

(let ((split (split-string #\space (string-downcase line))))

(dolist (word split)

(let ((index (gethash word map)))

(if index

(setf (gethash word map) (incf index))

(setf (gethash word map) 1))))))

(let ((keys (sort (alexandria:hash-table-keys map) (lambda(x y)(> (gethash x map)(gethash y map))))))

(dolist (key keys)

(format t "~A ~A~%" key (gethash key map))))))))

WEB> (time (performance-count "/home/frederick/performance-comparison.txt"))

the 4

foo 2

defenestration 1

Evaluation took:

0.000 seconds of real time

0.000294 seconds of total run time (0.000000 user, 0.000294 system)

100.00% CPU

757,077 processor cycles

0 bytes consed

NIL
WEB>
Apple's return policies on their hardware are more than reasonable. You have 14 days to return an item (even if it's been used) and you don't need to justify it, you can simply say you don't like it. They don't charge for the OS seperately either so that argument makes no sense.
There is a paper where the authors use ketchup for polishing high precision lenses. The especially want to have the property of the shear-thinning for best results: https://www.spiedigitallibrary.org/conference-proceedings-of...

To be clear, there are better polishing agents in the scenarion than ketchup. On of the authors mentions that they wanted to do some research that could get them the IG Nobelprice.
If you think these guys couldn’t get a job as a software engineer you are deluding yourself.
How to deal with technical debt: an interview with Adam Tornhill
Can we get one the other way round?
- Rust
Peaked for who ? Wait for India and Africa to catch up with US lifestyle, that's when things will start getting interesting. We over polluted for the last 100+ years, even if we start plateauing we're still in for a bad time (and we're not even plateauing)

It's easy to save a few grams of metal here and there and ban plastic straw when we already live like kings while the rest of the world is barely starting to access the lifestyles we had in the 60s.
Isn't grep really optimal C implementation?
It's a dev blog, not a corporate announcement. I personally found it informative and I'm looking forward to using it.
I assume that it's to filter for people who have been around a long time. If there's some other specific motive, I'd love to hear what it is.
How to maintain a healthy codebase while shipping fast
Wait, have I been on HN since 2011 without realising this? There is nothing in the FAQ at least [1].

[1]: https://news.ycombinator.com/newsfaq.html

I have always avoid pushing “hide” since I assumed a new submission would pop up at the bottom and I never wanted to go beyond the top 30 as I feared I would stay on the site for a bit too long.
Nonsense all the way.

- There was less percentage of covid in his plant than in the state the plant is.

- Teslas are still less dangerous than other cars and im pretty sure tesla drivers also drink less while driving. Its just not more dangerous.
Working on planting more trees is nice, but we have a much bigger problem.

Phytoplankton are responsible for between 50 and 80% of the oxygen in the atmosphere https://oceanservice.noaa.gov/facts/ocean-oxygen.html

Phytoplankton population has declines almost 40% since the 50's.
https://www.scientificamerican.com/article/phytoplankton-pop...

As the oceans warm and more fresh water is released into the ocean from melting ice it caused the ocean to become more acidic, which is causing the phytoplankton population to decline further. Also as the water warms different types of phytoplankton increase and not all as economics at converting CO2 into oxygen, and some create other problems.

https://theweek.com/articles/747106/climate-change-putting-o...

Phytoplankton are the basis for the marine food chain

https://www.nationalgeographic.org/media/plankton-revealed/

Over 3 Billion people rely on the oceans as their main source of protein.

https://www.worldwildlife.org/industries/sustainable-seafood

There is nothing we can do as a "stop gap" solution for the oceans, and phytoplankton, just like any natural system in decline the phytoplankton population will continue a slow decrease and then when it hits a tipping point it will crash.

When the phytoplankton population crashes, and it will, the impact will be catastrophic. Short of inventing a technology to capture and sequester 45 Billion metric tonnes of greenhouse gases from the atmosphere each and every year, there is nothing we can do to stop or even slow down what's happening to the oceans.
Who writes the third party library, though?
Strategy and Tactics in Design
Any idea how much nuclear power has contributed to this discrepancy?

I.e., if the US had the same per capita nuclear power generation as France, what would the numbers look like?
It is a damning indictment when someone says, “The social behavior in our main comment sections is worse than Philly sports fans.”
How do you draw the line exactly? What if someone used FB or the official Appole/Google email/chat apps to start a revolution in some country? For illegal stuff you have laws and examples, for this stuff you need to guess what Silicon Valley does not like and censor your content just in case.

For the case you mention, do you think it helped? As I said I am not from US so I have no idea if the were any effects.
HIPAA is the lowest bar for healthcare now.

Most multi-hospital health systems won't even look at you without a SOC2 / HiTrust, combined with frequent security audits & pen tests.
Yes. I agree. I like targeted ads. Ads on electronic engineering or computer science are nice because I actually enjoy those things. But just because I looked at something as a possible present for someone doesn’t mean I want ads for weeks.

Facebook goes really far on this. It seems even pausing your scrolling for a few seconds more than usual is enough for them to think I’m interesting. I’m not. I’m just trying to figure out if I want to read this post or not.
The title and what are shown in the article do not match. The headline shows, "...CEOs software engineer...," yet the article shows, "...founding CEOs software engineer..." This is a huge difference.

Half of the Founding CEOs shown are not actual software engineers but other types of engineers.

In the vein of the article, "Why do article writers make basic off-by-one errors, engage in clickbait, and treat logical fallacies as the truth?"
> It's essentially the same argument as "everything is philosophy" or "everything is politics", technically true but only in a vacuous sense.

I'm not convinced that we need to reach for the everything-is-philosophy hammer in order to make a reasonable case that we are doing philosophy when we argue that, for example:

> Words like 'truth', 'beauty', 'justice' are vague, imprecise meshes of meaning, so much that making precise statements about them is extremely problematic even conceptually.
For this feature, apparently then don't measure.

They measured screen resolution and are assuming that only people with low res screens use this feature.

And they probably don't measure those who disable telemetry.
But do the trading apps actually transact? When I buy crypto in Robinhood, I really doubt that there is a dedicated transaction for me. Probably RH is buying batches of crypto and “distributes” their value equivalent to the buyers/sellers.
> Work is about finding a meaningful way of living your life, of creating something or giving something you can be proud of. If you just do it for money, you already fell prey for the bad parts of human greed and status games. This has nothing to do with other people.

I'm definitely doing that part wrong...
Signed - Salty Mozilla Employee
> Zuckerberg could get a job at Facebook. He obviously wrote a lot of Facebook's early code.
> Gates & Allen allegedly didn't do much actual coding themselves but they certainly understood it.

What? Gates & Allen similarly wrote "a lot of early code". Gates also acted as a Chief Software Architect in his final days at Microsoft.
How much money does whatsapp actually get from people in those countries? I was under the impression that ad revenue from third world users was very low. How much would it be to charge them the same amount they would get from ads?
I was suprised at the C++ outcome, so I started testing myself. I was very amazed to find a 4~5x speedup when reading directly from file (std::ifstream) instead of reading stdin. This was on a 10.5.7 MBP 2014

[edit]

more like 9~10x actually...

time { ./build/Release/countwords_ifstream; } | tail
...
real 0m1.337s
user 0m1.332s
sys 0m0.022s

time { ./build/Release/countwords_original < kjvbible_x10.txt; } | tail
...
real 0m12.184s
user 0m12.138s
sys 0m0.044s

changes between these two:

6a7
> #include <fstream>
8a10
> std::ifstream inp( "/Users/macgyverismo/Desktop/test/kjvbible_x10.txt" );
13c15
< while (std::cin >> word) {
---
> while (inp >> word) {
Yeah I’m so happy with the trend of traditional media turning the internet into a unidirectional pipe for marketing and propaganda, i.e. the traditional media.
I couldn’t stand all that contrarian “other viewpoints existing.”
I read it as counting source code words, in which case Linux Shell scripts really won this contest.

I'm not a linux/shell expert, but I really, really thought the shell script was the most performant answer... it was quite legible even to this Windows user, and only had one line of text.