skysight-inc/HackerNews huggingface dataset:
Hey kid, welcome to the club. Career software person here.

Here's some unsolicited advice for improvements:

* Focus relentlessly on the calculator experience. Why am I pressing "calculate"? What are some ways you could rework it so that I can give quicker input and get more meaningful output? Your goal should be to reduce friction. Maybe let me type in the time in addition to having the android-style clock widget. Definitely show me a series of clocks as I'm updating the picker as I change the time. It's important to let your users play so that they can intuit about the concepts. Also, maybe show extra times for oversleep/undersleep, but accented in such a way that the user knows they're not healthy choices. Maybe include "in x minutes" with the times too. Maybe start the page with the current time + 8 hours selected, showing the live updating output.

* Bury all the sleep health and science stuff. It's probably great for SEO, but the star of the show here is the calculator widget. If anything, maybe instead have a short promotional video that explains the science/health stuff briefly and explains what the calculator does.

* This would be more useful on my phone, possibly as a native widget. And it would be useful paired with an alarm clock. I'd really like an app (ideally with a widget) that shows me wakeup times based on the current time and lets me quickly set alarms. I always check my phone right before I go to sleep anyway, so it would be easy to click a widget and get proper alarms set. You're probably going to need to learn React Native at some point anyway, might as well do it now.

Take this simple calculator, polish it to absolute perfection, give it away for free, and promote it wherever you can. Having one successful app at your age, even if you don't make a dime, will open up so much opportunity for you that it's 100% worth it.

Also, it's super hard to get software "right", and it's a drifting target. Look at how much Apple and Google have changed their basic Clock apps over the years. I think doing everything perfectly is usually terrible advice, but at your age and with the simplicity of this project, it's worth trying to be a perfectionist. You'll learn that everything is a lot harder than it looks and that you should be terrified of software development :)

Side rant: OP led with "I'm 15", which makes sense, and this wouldn't have frontpaged without that context. I understand that touches a nerve with people who believe the frontpage should be 100% dictated by objective merits. If this place gets overrun with industrious 15 year olds trying to show off their projects to an audience, well, we could have worse problems than that.
It does read like something from @shit_hn_says[0]

[0] https://twitter.com/shit_hn_says?lang=cn
From cURL the author can ignore the redirect to the bank's real site though.
I know someone that DDoSed a forum spammer.

They hit back, ten times as hard, and completely destroyed a well-established forum, with thousands of users, that had experienced an annoying (but not crippling) "penis pill" spam attack.
I have hard water so washing machine and dishwasher get limescale. I just run them on a hot cycle with a bottle of white vinegar every month or so. Leaves them sparkling clean. Same with the kettle. No need for nasty descaling products.
For historical events, where the local time is important, the combination of "UTC timestamp" and "local time offset in effect at the moment the timestamp was taken" seems to be the choice. Allows you to easily learn what time the wall clock was showing at the moment.
You are asking right, but you also listing points(opinionated) that are intended to protect you against human error.

Pick the tools that suits your flow.

Nothing wrong with bare metal or virtual servers.

EDIT: to add some good years ago was managing PHP shop where all production was baremetal and development/staging was replicated in containers, everybody happy, hope it helps
Wouldn't it be possible to have a C-like language that is somewhat backward compatible with C, and have the nice security features of Rust?

I get that Rust is awesome, but I'm not certain you need to make an entire new language just to have the security stuff.

Of course it might be complicated to do, but in the end, aren't there linters or other validators that can give the same security results rust has, but with C or even C++?
Some banks know security better than others

And yes the login one might be every 90 days, but to do a transaction there might be an extra one

(yes Germany did away with paper tans (2fa codes) in 2019 yay - thankfully not all banks are that stupid)
If they're hosted (e.g. shared hosting), then the hosting party may just lock you out if they had DDOS protection because you're using their resources. They're not happy with phishing sites being hosted on their sites, but also not - and they probably suffer more damage, even if it's "just" resources - from DDOS attacks.
That paper calls opposition of immigration "discrimination" and free speech "lawnessness". I don't agree with that.
> But please don't come along whining when it ends up unmaintainable, instable, or starts acting against you, like, you know, Windows does.

As a die-hard linux user, this line of thinking really plays against Linux. Software distribution hasn't caused problems in windows since XP. Likewise, all mac users seem pretty happy with .app bundles.

> Second, linux distribution maintainers are usually much better informed about the technical details of installing software in a stable manner than any software vendor. Sure you can get your software from the vendor. But then you should be willing to accept that it is often broken, inefficient, and insecure. Software vendors have no interest whatsoever in installing their software in a professional and sustainable way on your system, package maintainers do.

Do you realise how insulting this comes across ? As a software dev, my personal experience of "professional linux distro packagers" is people literally removing random lines of code of my software until it builds - who cares if it crashes as soon as you do more than open it anyways. I'd rather not have my software packaged than have it like that. My subjective experience from the software I use is that stuff like AppImage made straight by the dev is generally much more stable and works much better than whatever chtonian hack a debian packager decided to apply.
Probably not, but it's like stealing from a drug dealer. They can't report you without incriminating themselves. Of course stealing from drug dealers is known to have other ramifications...
You might want to try again, one year is a very long time in rust land. We've seen some very high profile stabilizations quite recently.
> If the lack of precision, simulation time, and general drudgery doesn't kill your enthusiasm when compared to your textbook learning, then by all means proceed.

Exactly why I stopped, this hits close to home
Not if you correct for multiple comparisons.
flip to an open HN tab, I used to flip to reddit, but I've blocked reddit now - wasted to much time.
+1

It takes at least 5 years of learning piano to get good enough to enjoy it. IMO this is why adults almost never take it up - we're just not prepared to invest in something that takes so much work with such a distant payoff
Thats already true, Poland has a border with Russia

https://en.wikipedia.org/wiki/Kaliningrad_Oblast

This whole rhetoric of scary Russian tanks and missiles ready to attack is stupid.

Russian needs europe to sell its oil and gas to and get luxury goods and food from. Do you think their chinese friends would approve? EU is third economical block in the world China would take a hit not able to trade with EU as freely if there is a war with russia.

Any military conflict with EU would be an economical collapse of Russia. So let's stop scaring people with this pale faded red scare.
> [...] acquiring new tech ventures that could be seamlessly integrated into its product catalog as self-standing revenue-generating streams.

ProtonMail would be a perfect match ideologically and probably also financially. But I guess they are not up for sale or would be too expensive.
Because one of the big concerns of almost everyone who isn't in high demand is gaps in CV. For some reason it seems that - and it's definitely believed that - employers will look very unfavorably at you if your history of employment isn't continuous.
This whole thread proves that free speech isn't possible in any society. The only question is who gets to decide what is verboten.
Hey! Nice tool!
I created a similar mind mapper a while back - it's completely free to use: https://mapsofmind.com

If someone is looking for a similar tool, do take a look! :)
Does this address the cryptic-ness of git commands? E.g. are the various commands we all know and love like `git reset HEAD`, `git co --track origin/branch` etc. made clearer?

Even after years of using git, this is for me a major pain point.
And the time offset that was in effect when the event happened, allows you to easily answer questions like "Did the shop open late, i.e. after 10 AM local time?".
>and also someone used a Set to check membership of single item. [1]

Depending on where it was done (fast path or not), this could be just fine.
In a society governed through secrets, we can never know what the sovereign is really doing in our name. This is the case with the USA today - it is not truly an open society, but one of layers .. and those with the 'special privilege' of having security clearances are desperate to maintain that socially high-class standing among themselves, so they wrap more and more secret agency around the issue so that the general public can never know, truly, what their sovereign is doing.

This allows immense corruption and profiteering. However, its not all just "ma' capitalism" - there are very strong indicators that a socialist superstate is being constructed within this society, which is parasitically feeding on the corpse of America today. Many consider the US military industrial complex the largest socialist organization that ever existed - it certainly crosses a lot of the boxes.
I decided, 3 weeks into my first full-time job (as a lab technician) that I profoundly disagreed with the concept of the capitalist work ethic. The idea that a person's life had meaning only if they stayed in work - often boring, tedious work - until their retirement day, after which they could be kicked onto the old-person's scrapheap to do fun stuff for a few years (if they were lucky) until dementia took their dignity and their memories and their final breath ... I hate that concept.

I have, over the years, walked out of well-paying, high responsibility jobs (Civil Service, IT) because the stupidity of the petty empire building and office politics became too much to bear. Sometimes I've been in a situation where I had saved up enough 'rainy-day' money to give myself time off to do other stuff - finally get a degree, write some books, work on an open-source project or even, yes, spend a couple of weeks staring at a wall while I daydreamed. When I've had no money, I've taken welfare cheques, or worked in menial zero-hour-contract manual labour jobs to keep food on the table, or started fresh in an entirely different service/industry.

Things I've learned:

1. Know how much money you need to survive with a roof over your head and food on the table. If you're earning more than that, you're in a good place.

2. Your job title and the numbers printed on your payslip do not determine who you are. Measure your worth in the relationships you have with your friends, family and work colleagues. Measure it in terms of your mental wellbeing.

3. There is no such thing as 'idleness'.
If we let intolerant people thrive, we will build a system where intolerance thrives while tolerant people, as well as the people the intolerance is directed towards, will be dealt with in a totalitarian way. "Paradox of tolerance" is a fundamentally liberal idea coined by Karl Popper, and it is fundamental to a free society, as the Soviet and Nazi regimes have shown by essentially targeting the same people under different coats of paint.
15 hours per week isn't really much, is it?
Did you just assume the commenter's gender?
I wonder if it is because using backpropagation all non-linear functions are chained together when the weights are learnt? Is it naive to think by that formulation the results will be quite similar since the final model equations are close?
In practical terms this is wrong in my opinion. You want the small provider that flies under the radar. If there are ambitions to compromise the hardware supply chain, it is a bit late to act. But it is logistically impossible or at least very unlikely to compromise every provider.

But you actually can run software on compromised hardware that can provide end to end encryption irrelevant on how thoroughly the system spies on you if you can control its network traffic and construct crypt generation from basic arithmetic functions of the system in question.
mdBook is nice indeed but it still lacks a proper way to create PDFs. `bookdown` has a very smooth way to do that. The only thing I don't like is that is very R centric in terms of syntax for adding tables, graphs and whatnot. It's not pure markdown.

For things that will be online only mdBook is great.

I'm currently testing honkit which is a gitbook-cli fork and it seems OK.
Top Dashboard Designs of the Week #6
Full Stack Curry: Part 1 – The Problem
I want to share a little project I've been working on I'm calling full stack curry. yep. full - stack - curry.
I am going to share how to build a production ready-ish curry ordering application from idea, planning, user stories etc all the way to deployment in gritty technical detail.

Feedback kindly welcome :)
US Core Inflation Jumps by Most Since 1991
> You can export generic Rust APIs with a stable C ABI by using trait objects, and it is often very easy to do this

do you have a guide for that ? all the reference I can find does not seem to behave any differently that it would in C++ - e.g. https://users.rust-lang.org/t/passing-a-trait-object-through... ; https://doc.rust-lang.org/nomicon/ffi.html ; ...
Inconvenient Truths on the “New Energy Economy”
> On this score you're out of luck even now—if the author, intentionally or unintentionally, did a bad job creating the PDF, you're out of luck. This is one area where I'll give HTML the win: it is, or can be, good at things like dynamic reflow, whereas PDF not only isn't but, I believe, effectively can't be.

I'm not sure what you mean. I've never had an ebook or paper have any influence on how my PDF reader works or how I interact with it.
Hm, hard to find “the one reason”. I think the most important factors are:

* What people (not necessarily the users but corporate decision-makers) are used to (Windows)

* Enterprise manageability (achievable on Linux, but built-in on Windows)

* What is preinstalled (Windows)

* What some exotic business applications work with (Windows)

Almost purely soft factors, very hard to counter if virtually all the computers you can buy at your local PC shop come with Windows preinstalled.

My neighbors (70+) accidentally got hold of a laptop that didn’t come with Windows but Ubuntu and they’re perfectly fine with it. It still has Firefox after all. :-)
No need for it to feel wrong

There are a few people who basically run PyPy development. They can do as they please. It's open source, so if you're so against it, you can make a "nobody profits" fork. Most outside contributions to open source projects are made by people who wanted to scratch an itch & then let the existing maintainers maintain that improvement. Their reward is the great software. This is still there so long as PyPy commits to remaining freely available
largely it's the network effect. in days of yore unix dominated the minicomputer market and VMS played second fiddle. these days, windows dominates via the network effect and macos plays second fiddle (and linux third).
> Of course in principle it's possible to have a company that balances a healthy profit with a useful and beneficial product, but in practice a vast majority of companies will abuse its customers and employees as much as legally permissible if it increases the incomes of the upper echelons. At least that's my view.

Survival of the fittest. Competition on the market guarantees that, over time, the companies that do useful things and balance that with profits and employee needs will die off, while companies good at maximizing revenue by any means necessary will flourish.

That's my cynical realization. Both too little and too much competition on the market is poison.
Sexism is very clearly an issue in tech, and this particular thing was one of the manifestations of sexism in tech. I can't blame the people reacting to this when they face this kind of culture pretty much every day.
If you think that some linux distribution maintainer knows my software better than I do, then you are high as a kite.
The Danger of Having a B-Team
> regular adequate exposure to sunlight is required for humans,

How is this explained, by what mechanisms?

Some of the effects we are observing might be the result of protection mechanisms for the skin.
The only reason people are testing positive again after having Covid and healing from it is because the test is very poor at distinguishing between various coronaviruses, the vast majority of which are harmless and sometimes cause the common cold. There is a big false positive rate as a result.
in fact, this thread was a product of dead time
1 BTC is still worth 1 BTC. Seems pretty stable to me.
Good times, I've done this with DWD (German meteorological service) in the 90s, using HamComm [0]

This project in the article however, listens directly to satellites, and not to a LF/HF ground-based station like we used to do.

[0] https://www.pervisell.com/ham/hc1.htm
Just like the half of advertising spend which is wasted...
Didn't happen to be a BMW did it? It was a big issue for a while.
Even if that's the case, it made the website unavailable for future victims who got the same text messages.
I am still amazed how many people believed the Russian election manipulation story without any evidence. Especially large portions of the press should stand ashamed in a really, really dark corner.

In hindsight I believe the people selling penis enlargement were correct about the reasoning abilities of humanity...
> You need something with traction

No language has traction, until it does.

It would be fair to point out though that Ada has had decades to catch on and replace C, but it hasn't done so, except in certain narrow areas of highly critical embedded software development in aviation and military applications. My understanding is that it's not easy to work with for 'general purpose' work (command-line applications on GNU/Linux), as it lacks mature bindings.

I think it's fair to say Ada failed to truly embrace Free and Open Source software. A pity, in my opinion.
qutebrowser, Falkon and Gnome Web aren't forks of anything, they use a well-defined and maintained API.

For qutebrowser and Falkon, that's QtWebEngine, which you could call a fork of Chromium I guess - but it's more of a stripped-down Chromium with a stable API on top and a couple of patches. QtWebEngine is maintained by multiple people employed full-time by the Qt Company: https://wiki.qt.io/QtWebEngine

For Gnome Web, that's WebKitGTK, which is an official WebKit port (i.e. part of the upstream WebKit repository maintained by Apple and others) and also has been actively maintained for the past 13 years or so.
Minimum wage actually came out of maximum wage laws in England. After a plague there was a shortage of laborers, which increased the costs of hiring them. A law was instituted to discourage people paying too much for laborers.
I've had Vitamin D deficiency from the child and I suffer from Achondroplasia(not diagnosed until recently). I've had ilizarov fixations twice during childhood to fix the bow legs and I had explicit medication for Vitamin -D only when I was teen for couple of years.

But after 15 years, I nearly ended-up becoming a Quadriplegic[1] and I was told my bone condition was like that of 80 year old (I was 32). For the past 2 years I've had single Zoledronic acid injection each year to treat the osteoporosis along with monthly Vitamin D3-Cholecalciferol 60K IU, recent tests showed that there has been about ~ 10% improvement in bone density at some areas and few areas have become worse.

I often wonder if whether I had been put through proper Vitamin D supplement from childhood, the situation would have turned out this bad.

Anyways, Vitamin D seems like the new Yoga and everything from memory to COVID prevention is being attributed to it; but I can say one thing for sure from my experience - If your Vitamin D is low, take proper medication on doctor's advice and follow it up regularly as bone diseases don't come with warning unlike other organs in our body.

[1]https://abishekmuthian.com/i-was-told-i-would-become-quadrip...
Shared libraries are also important for apps that want to load plugins via the shared library mechanism.
Tezos, the blockchain of bakers, is booming [DE]
It has its own share of legacy and poor tradeoffs. Transaction log is an overkill for most applications, but the only alternative is full cache in RAM, there's no middle ground like you have with file system.
كلمات اغنية الشوق عيضة المنهالي
I'd rather not get sick and risk dying, even if I'm under 50. Thank you very much.

And more importantly, even if the risk of death is low for me, I can still transmit it to high risk people.
Some of this really depends on where you live, how well you reapply sunscreen, and things like this.

I wound up at the doctor a couple years ago and my levels were really low. For some background, I'm from Indiana and moved to Norway. I got levels up, and was instructed to supplement from September through May. During the summer, I was told I could go outside for a minimum of 15 minutes a day so long as I had enough exposed skin - more than just my face. During the winter, there simply isn't enough sun.

Folks in other locations get different advice. It might change where you are at and with your current activity levels. Surfing may or may not give your skin enough exposure to the sun, depending on your suit. I'd suggest simply going to the doctor and getting levels tested if it worries you.
Any one explored this product
> Yes, of course you will be able to fill just about any c-role at just about any rate. But, somehow, just as with any other job, the good people – those you will actually want to fill that role – want to be paid what the market tells them they are worth.

How do you measure how good a CEO is?
Is having to let go 25% of your staff, axing the security team and stopping new developments indicative of good performance?
Both 9/11 and covid are a case of human error (the latter more incompetence and inaction though); at 9/11 they HAD all the information they needed, where the terrorists had been, their communications, etc (see https://en.wikipedia.org/wiki/September_11_attacks#FBI), but they apparently didn't connect the dots, failed to act, failed to not grant them entry into the country, etc.

Mind you, a lot of these projects are post-9/11 so I'm confident a lot of it has been a result of it and the massive financial injections that the US government put into counter-terrorism since then.

Finally, I like to think that the NSA and co don't want to advertise how much attempts they thwart; if they, for example, stop an attack every day, the people will become afraid of terrorists because incidents happen so often. But I'm not sure if they are being kept silent.
You Need More Money