skysight-inc/HackerNews huggingface dataset:
Hey HN,

I would like to present you my first full stack web app. A side project which took me 1.5 years of great effort to complete, for the sole purpose to upgrade my skills on many contexts outside of my daily job.

It's in greek language but if that bothers you, you can translate it to your language using your browser functionality [0]

I would really appreciate to hear feedback from you. Reading HN all these years, really altered my mindset which affected many design choices which I had to make.

----

Intro:

Greek Deals is a greek community where users can find and share -legit- deals & offers across every commerce sector eg from amazon online deals to local neighborhood market deals. To compel users to find & share deals, a point system has been made. When user creates a deal and depending of how complete it is (description, image, duration etc) he earns the analogous points. Users can also vote for deals. Votes have exponential effect to points. Users can redeem their points (WIP) for a variety of rewards (vouchers, netflix, services etc).

Tech stack:

* Front End: Next.js, React.js, Typescript

* Admin Dashboard: React.js, Typescript, Electron

* Backend: Flask, Python, a bit D, Postgres, Redis, Celery, Docker / compose

Key Features:

* Performant fuzzy autocomplete search with latin character support (greeklish), stemming, weights etc

* Deal faceted search

* Real time, daily and weekly deal alerts based on user's choices

* OWASP practices

* Dependencies to minimum

* No 3rd party UI frameworks, every React component is custom (except Mapbox).

* Automatic image conversion to WEBP, fallback to JPG for unsupported browsers

* Infinite scrolling with the ability to restore scroll position

* Took a good dive to Postgres. I leveraged many of its goodies, like geo queries, full / fuzzy text search, materialized views, CTE, functions etc

* Dynamic banner creation for og:graph by visiting a HTTP endpoint, suitable for social media use. That resulted in a decent increase of impressions & engagements through out our social channels. example [1]

Flutter app for iOS and Android is WIP

LOCs: ~30K

Monthly budget: $75 (2xDO droplets, DO managed db, s3, mapbox, rsync.net)

[0] unfortunately using the translate.google.com proxy breaks JS and the sidebar on desktop monitors won't appear. Using the in-place translation through the context menu works normally.

[1] https://api.greekdeals.gr/v1/social/images/deals/XobXd4D

edit: syntax & formatting
Good to hear, and I'm glad to leave the refrigerant stuff to the professionals.
Could you make a regular old float sensor work?
Agreed. Much as I would love a Tesla, these are clearly concerning issues.

Even the switching of wiper and indicator stalks to different sides on Euro/US/AS/ASIA cars can be discombobulating for a moment. And a moments distraction is all it takes...

The touch screen isn't always better, but it is always different and sometimes worse.
Gotchas in Go
They are supposed to ... but finding correct abstractions is hard. After a year or two abstractions usually are not correct anymore. That is why "favor composition instead of inheritance" is important because hierarchy of inheritance is fragile abstraction and if you compose things it is easier to swap one thing with other if they have the same interface.
If OP isn't comfortable investing now, when would they be, or stated in other words, what about the socio-political environment needs to change to make investing 'comfortable'?

Depending on what kind of changes OP needs to see, they may not feel comfortable investing for years or even decades. And those years add up to many missed dividends and price appreciation.
Not traffic too. On the free plan I don’t think CF breaks this out
China's actions are actually legal under 1. WTO rules which allow developing nations to have some sort of protectionism to foster their own industries, and 2. Their own laws, which companies can choose to abide by.

Google and Facebook were never wholesale banned by China. You can see this with the fact that Google tried to re-enter China with project Dragonfly (a China-law compliant search engine), until it internally became politically unfeasible. Note that Microsoft operates Bing in China, and Yahoo as well.
Besides trademark confusion, there is also just plain confusion. For someone who hasn't seen it before, things get confusing when when the same product has multiple names. What do I call it? Which name is the important one? You don't want people to have to think about that.

Is "Mercator Studio" another name for your product? Why make people remember multiple names?

Something like "Mercator Mini Studio for Google Meet" would make sense if you want people to remember "Mercator" and search for that.
I know it's most likely real, but I just can't imagine how this must've felt to have your "eyes" lie to you actively and deliberately. It just doesn't sit well with me.
Overall, your post is more a critic on investment in this period rather than against index funds. Except for the presence of tech, which I'm not sure is this bad for people willing to take measured risk.

>there's too much cash being printed

Agreed, but then why hold on to cash until the election rather than buy gold or similar?
> Also, I don't think the RPi is necessary here; the bike is a Bluetooth device, so any computer with a Bluetooth interface can receive its data and process it. I'm not an RF expert, but rebroadcasting BT seems like it would create more interference.

The rebroadcasting is done because the goal was to get the data into a proprietary piece of software that expects data to come in over Bluetooth.

And rebroadcasting will actually be just fine on the air medium because right after receiving is exactly the time when the bike won't send another message.

The RPi is complete overkill of course, a tiny $3 nRF52 module could do that job just fine.
>And apparently fuck me for having the gall to want to control my air conditioner from my computer rather than GE Android app #12 that has God-knows-what baked in and that's going to be abandoned in two years anyway.

Do you have IR controller for your AC ? If so you could get one of those smart plugs that you can control remotely (zigbee, wifi service, whatever) and it will communicate with your AC via IR, you plug it in to the AC socket and then plug AC into it.
To put it bluntly, MikePompeo is an idiot and that's never going to work.
In my experience with being on a big data team is that most days you don't have to do anything all that hard but it always comes up eventually.
He probably wasn’t born in 1973.
I can only speak for myself, but my understanding is that the Navi cards are not intended nor advertised for compute.
Now, one might wish to get a consumer card with Arcturus after the Instinct MI100 is released or dislike that the Radeon VII is discontinued, or even that it wasn't split into render and compute lines, but basically, to me the complaint about Navi not being supported by ROCm sounds a bit like buying a boat and complaining that it can't fly.
Driver support was bumpy for me with Linux 5.0 or so, but I haven't had trouble with just running whatever kernel Debian ships for quite a while now. But I must admit I don't use the GPU for anything but compute, so I don't know about graphics.

But your mileage may vary, I don't want to make people swear.
I think you're right, but in a different way than I understand that you mean.

Whatever project I'm on I try my best to take on the hardest tasks. This allows me to code against things that are actually a challenge. Large refactorings, risky features, hard we-arn't-sure-if-this-is-possible tasks. This makes 40% of what I do hard. But it isn't because I'm writing software for ICMBs or satellites. I'm the dude that takes on the tough stuff and makes it work, and I think more developers would do themselves a favour if they did the same thing. Maybe you don't need to quit your job in order to change the ratio. If there is work at your present place that seems hard then volunteer for it. It will make you a better software developer.
Ebrains: A ‘Google Earth of the Brain’
no guarantee they'll be unlockable in later projects
Phoenix to Chicago is about 1700 miles. At 70mph moving average it's a 25 hour drive. Trucking regulations allow a 14 hour drive, ten hours rest followed by I believe a 12 hour drive. It might be strenous but it's not dangerous.

Also keep in mind 1700 miles at the IRS standard deduction of 55 cents a mile is $935. Assuming your car seats four (and all four seats are in use) that breaks down to just under $200/person.
> literally engineered to maximize engagement

Both can be true though. Personally I only engage with educational and non-low effort content, and that's what the algorithm feeds me. By definition, my engagement comes from non-low effort content, so to claim that TikTok pushes for low effort content is just plain false.
In C#, default implementations of new methods on interfaces should at least reduce the pain of additive changes.
At the end of the day, we all implement systems - large and small. The more moving parts a system has, the more complex its implementation tends to be. Decomposing large systems with moving parts takes many tries to master.
I really appreciate linking directly to old reddit rather than the crap default.
The magic product the writer is looking for does exist — somewhat. It's those Euro style mini-split heat pumps, that pump coolant through an external unit.

Up front cost is higher, but the efficiency gains are huge, and they can cool/heat much faster.
Convinced who, exactly?

Free software isn't illegal. You can run Linux and not buy IoT/IoS junk. Yes, you might have to decline Netflix and Disney.

The only place consumers are screwed is when they get stuck with monopolists like John Deere -- and no one got "convinced" there, just screwed.
This kind of response is a big part of why I have given up building commercial IoT products for now. It's great to want to have some super abstract high level self discovering protocol, but when you actually start to build on it it really hampers the product.

If you want to build a smart light switch you are trying to get the response time very low and worry about things like syncing behavior around the network. Doing these things ends up being very domain specific and you do creative engineering to make it happen. These are very different than the requirements for say a vacuum cleaner.

Then we have standards that come out like Bluetooth mesh or HomeKit that say this is exactly how a light switch should work. Great, except your light switch has this cool feature that Philips did not think of in the committee meeting and now you are forcing it in and your product once again suffers.

These standards all suck, some small percentage of your customers want custom access (rightfully so), and a large percentage are comparing you on price and experience. The outcome is a closed off product. With maybe a cloud API.

Like I said this is why I don't want to work on these products anymore. You cannot win.
This particular model will not cool below 60F/16C. Even if it could, the point of a portable A/C is to avoid cutting holes in the wall, which is not relevant if you're building a custom enclosure.

In theory, you could build an insulated box with a mini-split or window/wall unit, but they're probably all optimized for cooling a large space, not freezing a small space.

Tech Ingredients made a DIY fridge (and a freezer in later videos) using peltier coolers: https://www.youtube.com/watch?v=YWUhwmmZa7A
It's an alternative front end for YouTube. A rather nice one at that.
A point of note - I do believe there a homeless in Singapore. However, I believe what you're referring to is likely workers napping around lunch time. This is very common with a lot of the people who work outside in the day time, under trees, on sidewalks etc.,
"Permission denied" usually happens when it tries to build stuff in "GOROOT", that is, the standard library installed in /usr/lib/go or some such. This normally shouldn't happen, so there's probably something wrong with your installation or setup. Hard to be 100% sure though, that's just the usual cause in my experience.

I think Debian ships with Go 1.11 in current stable (and by extension, Ubuntu too, I assume?). The entire GOPATH to modules switch is messy, ugly, broke a lot of stuff, and is confusing for newcomers, even though modules is clearly better. I think we're finally nearing the end of it though.

You probably want to just use Go 1.14 (the latest version) if you can. The language itself is very stable (just not the surrounding tooling).
But what is happening is that personal devices are being used by military personnel on those bases. We’ve seen plenty of examples in the past of where location information has been leaked e.g. Strava.

And satellite photography can’t be used to extrapolate troop numbers, movements etc. Especially given that it can be done in real time.
Show HN: Japanese Language Learning Forum
I'm not comparing anything, just reporting what I'm seeing. I will say I'm glad we have an authority basing their decisions on the well being of the people based on the science we have at hand rather than political clout though.
I get the impression that you volunteer this information to provide a counterpoint to my observation whereas (when you think about it) from another perspective this could buttress it.
These comments seem to paid a really dystopian picture of Singapore. Of course there are problems with its government, but in my travels, Singapore was one of the most impressive countries I've ever visited. By far the cleanest city I've ever seen, the most futuristic, most efficient, and my favorite food city.

Singaporeans visiting America for the first time are often shocked at how much worse the U.S. was compared to their expectations, almost third-world like. If more Americans visited countries like Singapore and saw how much further ahead they are, maybe for once our people and politicians would have some modesty and fix things instead of just being complacent.
I can recommended keep investing what you understand best. Trying to invest in something you don’t understand is one way to minimize returns.

Another advise is to go long in the investment with some risk spreading according to your tolerance.
The rest of the 5%... well, that obviously is reserved for naming things.
Of course it is. Private property in general is only possible because of enforcement by the state. Relaxing IP laws and other measures that limit the power of the state to enforce negative liberty would fit the bill.
The hard thing about programming is making it easy ( readable)
Wirecutter reviewed the same models that you have?
Google trying to re enter China has no bearing on whether or not they were banned or are banned.

And actually, I was living in China when Facebook stopped working, and I was living in China when google.com stopped working, and when google.cn stopped working. And you are right, they were never officially banned, China would never admit to that, they just used the GFW to make them stop working and commenced a lot of work to make VPNs troublesome to use as well.

Yes, Microsoft operates Bing. But you can’t access gmail through it.
What about the mayor bloomberg route? https://m.youtube.com/watch?v=P5vJWHMlHHg
I'm in a busy city so I don't think I will have a Starlink option, but I'd gladly pay twice as much to fund this than keep paying money to our evil overlord Comcast.
I've had a similar experience with an ICE train going through a provincial station on a very straight track outside Berlin.

Unlike in (most?) stations in Japan, there are no gates between platforms and track.
I was standing maybe two-three meters away. (Took a step back initially out of fear of aerodynamic effects.) Damn, that was impressive! The roar, ground shaking, and how fast it was gone.

On a later ICE trip over that track, I observed that the train was doing 200 km/h at that point. ICEs can go 250-300 or so (on suitable tracks, which aren't many) based on model.
Several aspects of FDA regulation are widely regarded as inadequate

I think that's a matter of opinion, rather than a purely factual statement. It intersects with your comment "Far too many drugs and devices have sneaked onto the market with lower standards of scrutiny", because it begs the question "how many is too many?".

It's all a trade-off. The higher level of scrutiny requires more time and more money and can result in people being denied drugs that could have prevented harm or death.

It's my own personal opinion, but I think the FDA does a pretty good job considering the judgements they are asked to make.

And rofecoxib was eventually pulled, but only after careful scrutiny of the risk. It's not hard to do a retrospective analysis and see a safety signal. Pulling a product based on limited data means you may be doing harm by denying people a drug that helps them. Before the COX2s existed, perforated ulcers due to NSAID use weren't exactly rare.

And I'll just end with one final comment - overseeing a safe and effective drug supply is really damn hard. So I try and take that into consideration when evaluating the FDA's (or any countries drug agency) actions.
It's as hard as you want it to be, right at the limit of what you're currently capable of dealing with if done right.

I find that with increased experience, writing (any kind of) code is more intense. Because I'm pattern matching 35 years of experience at every turn.

As a result, I tend to write code in short (2-4h) but very intense bursts with plenty of rest in between lately.
I agree. Just to clarify:

The problem is with the oral Sabin vaccine, not with the injectable Salk vaccine. And the problem is not for the kid that got the injection, but for it has a live virus that escape and after a few infections it can become dangerous to an unvaccinated person.

Anyway, a few years ago they removed strain 2 from the oral Sabin vaccine that was the strain that usually cause the problems, and when a country has no cases for long enough they switch and use only the injectable Salk vaccine.
I can definitely say it's the tooling that throws me every time. And I do think we pull from Debian for that script currently, though we're going to update it soon. (I think I was told 1.15 was near anyways?)
Tesla's factory was the very first foreign-owned car plant, without a domestic partner. This certainly has not been the norm in China in the past 30 years:

https://www.scmp.com/business/companies/article/2154674/tesl...

China may be open to goods (ignoring the capricious enforcement of customs laws). But even politically benign services (banking, finance, insurance) cannot easily be "exported" to China. It's obviously protectionism.

https://www.npr.org/2020/01/16/797098404/u-s-financial-servi...
Oh please like we need a formal ban to shut things down, it's like America not banning tiktok right?

There were hearings and calls by US politicians to stop Dragonfly, after which it was stopped.
This project, Rolling Questions, is a forum that treats chat rooms as fundamental objects. Any line of chat can be "promoted to a question" which gets its own, new chatroom with the question as the topic for the page. Promoted answers are highlighted in green. It's a remix of the classical Q&A forum and we find it to be fast and efficient. This way, no questions are removed for not being "questiony enough," rather, they never become questions to begin with. Your constructive thoughts and feedback greatly appreciated and welcome.
The person who bypassed safety features, or insurance coverage.
I actually got some. They definitely looked like cabbage seeds. The label said they came from a nearby city, but otherwise was identical to mail labels from China. That, to me at least, suggests that they send them over in bulk to a warehouse first before splitting them out of their containers and mailing them locally.

It was super curious because I kept getting emails about package tracking, and that there was a delay because of a routing problem. Eventually the package arrived and I was not exactly excited when I spent the afternoon comparing them to a seed catalog to identify what they were.

It was a fun mystery adventure figuring out what they were, so there is that. Of course I won't be planting them. I burned them to ensure they'll never sprout.
China is already set to give vaccines to its people and other people from other poorer countries.
I find it difficult to recall the last time America took the moral high ground that wasn't based solely in looking good for anti-communist purposes in the last 75 years. The only exceptions were when domestic unrest forced the ruling class to give protestors civil rights.

In particular, US foreign policy has been a long unending horror show of bombing, invasions, and starvation via sanctions. At the UN our record is dismal at best, with the US often standing entirely alone with regressive countries we've bought off like Saudia Arabia on a litany of issues.
Yeah, because Tokaido Hikari shinkansen stops there but the more express Nozomi doesn't.

Generalising to any shinkansen line. To experience this effect, you'd need to take a sub-express train (still very fast) to/from a station where the fastest train doesn't stop.
That's not the issue. The issue is then to claim the moral high ground to compel other people to sacrifice something.
could use a junk-yard AC system as it's likely already been drained, would be pretty standard to refill with automotive product too.
Facebook's paid attention pretty publicly, openly stating their commitment to opposing hate speech promising to hire an executive-level person in charge of civil rights. Some groups have complained that Facebook won't adopt their preferred speech codes, but I largely think it's a good thing that Facebook won't change its policies to prohibit unpopular speech.
In my experience the stuff that comes later usually gets harder to do right. The first few features are pretty easy - the code base is small, the rules and state are simple, and there aren't any major performance issues. Later on features start coming into conflict, there's more complexity to be managed, and you've used up all of your latency budget.

How often do you hear that you just need to rewrite everything at that point? How often does that payoff?
Dual hose units are increasingly hard to find. Hardly anybody makes them anymore. I've read in a couple places that they don't work great, despite that window units do.
Here is the github issue thread: https://github.com/iv-org/invidious/issues/1320

Hopefully the community will pick it up and continue development. Projects like invidious, nitter and bibliogram have turned clicking youtube, twitter and instagram links into something I actively avoid (especially twitter which for which some thing's always gone wrong and I have to refresh) to being a joy to browse again.
Plenty of places in Europe are just as diverse as the US and still manage to come together and collectively fund important civil and social priorities.

Maybe you're just trolling; I can't really tell.
No; this is hyperbole, and cheapens the meaning of the word bricked. It's core function still worked perfectly. The app no longer works. The app was always a subscription service. There was an offer to swap (for free) with another bike, which continues to let you pay to another subscription service for similar or better functionality.

I'm all for hacking your gadgets, and open APIs, but let's get a sense of perspective.
15 Things YouTubers Do That Annoy People