skysight-inc/HackerNews huggingface dataset:
I was hoping for a lot more to.

I was hoping for a global union with a broader scope.

This union could defend workers in areas of the industry where abused are public knowledge, like the video game industry or workers sold like meat by IT service companies.

Defending and organizing freelance workers is also a goal, individually and isolated, it's really hard for member of this group to have any weight.

It's also very common to have companies asking for very long hours. Just for reference 48 hours per week/8 hours per day is the baseline from the ILO. And the same could be said for workers that have to take on calls at night or over the weekend (ILO set a 24 consecutive hours rest time per week).

Gender equality is still somewhat of an issue, specially since the industry is mostly male, it's still can be an hostile for women to work in.

Another subject that is not directly linked to the self interest of workers, but in my opinion deeply important, is: the social responsibilities of the companies we are working for.

Tax evasion is really common for tech companies, specially the bigger ones. These taxes are our roads, our schools, social services, police and the list goes on.

Personal data collection is becoming critical. Some companies are collecting personal data in a scale never previously seen. Limiting the collect to what is necessary, ensuring the data is not sold, making sure it's properly secure and displaying clearly and transparently what is collected and why, all of this is really important. Workers having a say in it is important specially since they see the collect from the inside.

Lastly, Internet and tech companies are increasingly important as free speech platforms. Twitter and Facebook were instrumental in the Arab spring for example. These platforms must act ethically, they should not influence people for their self-interests and they should not be a place of censorship. (all this is analogue to journalism ethics and standards in fact).

In most cases, being a tech worker is far from being the worst job ever. The pay is generally good, the working conditions are far from horrible and the job is far from stultifying. There are still some abuses however and these must be dealt with. But we cannot ignore the social impacts of our jobs, this should be the other great subject dealt with by a tech workers union.
FB can't make a YT clone in under a year because "years of experience still count for something"? So a scenario where a YT clone is made quickly, yet years of experience still count for something, is not possible at all?
>I'm not sure how free this license is.

There is an ongoing discussion about what license to use for what part of the project, and what is the rational behind such and such choice. See this Github issue: https://github.com/numworks/epsilon/issues/38
What Is UART in Plain Langugage?
> Consider a functional programming language with immutability and pattern matching, which should help a lot.

So Erlang then
1. Yes.

2. Same as all of the other Al MacBooks.

3. No.

4. No. You can just buy 2x HDMI adapters off eBay.

5. No.

6. No.
Ask HN: Which sites would you include in a science news aggregator
Im building a science news aggregator, i get science news from all over the place but i feel like i miss some of the best news because i don't know where to look. I get a lot of it from HN, but i miss some because it gets drowned out by other stuff. I'm building something (for myself and anyone interested) that just gets all the latest news from all the important sites and shows it. I just don't know what or where all the "important" sites are. If you have any good sources please let me know.
> For instance, is it possible to instantiate a struct on the stack?

Yeah, it is. You can easily avoid the GC as long as you don't mind managing memory yourself (unfortunately this means that you cannot use the stdlib either, or at least parts of it, if you disable the GC with the `--gc:none` flag you'll get warning messages from the compiler about procs that need the GC which is nice).

> I'd also have liked the compiled C code to be readable, which if I'm not mistaken, Nim doesn't do.

Yeah, that's one thing that Nim definitely doesn't do. I don't think there are many languages that do. It would be an interesting experiment to see how pretty you could make the generated C by either fixing things in the compiler or just running a C formatter on it.
A couple of reasons are cost and being distracted. If you give kids a computer, they'll definitely prefer to dig around in it doing absolutely anything besides school work, no matter how boring the other things on the computer are. And plenty of poor kids can't afford to just carry a laptop around every day, which means risking losing or smashing it. Schools can have them but they won't be instantly available - there'll be 10 minutes of class wasted getting out the laptop cart and signing them out and collecting them back in, and dealing with kids fighting each other over them. It's a massive pain. I've done that and it's not at all practical for daily use. Then how do they do their homework if the CAS computer's at school? I've heard of schools using Chromebooks and Ipads, which might address some of those problems, but not as well as a basic scientific calculator.
That’s what I thought you meant.
Nice project. Dependig on the location a ground fridge could be an alternative. Soil temperature is close to the annual mean in a few meters depth.
https://www.builditsolar.com/Projects/Cooling/EarthTemperatu...
Thanos seems like the closest thing to a silver bullet for Prometheus missing features (as by design).

Quick question:

In a multi Prometheus setup, if all the Thanos nodes are behind a load balancer (without sticky sessions), do a particular query from a dashboard interface like Grafana to that Load Balancer result in the same dataset, if run multiple times?
5saq
Ok. Why isn't there a kind of network function that works with scaling, like convolution works with translation?
Er, you have no idea if what you just said is true, the only fact is the price drop.
Slightly off-topic, but what happened to indiehackers? I liked the page more before the redesign/stripe-takeover.

The page was more clearly arranged and you could browse it without being logged in or having an account. There is also this ridiculous "stripe-verified" badge for businesses doing business with Stripe now, which is not that interesting for indie hackers I guess.

It also seems the interviews are not that important anymore, but being some kind of community is - but I don't think that people want that, because we have that already here or at reddit - the nice thing were the interviews.
Inspired by, not based on, I think.

FTA: "Just like Proton Native, Vuido is based on libui, which is currently an alpha version, but I think that it looks very promising."
So you think the DSN was idle for 9 hours while they waited for the known speed of light delay? That's not how the DSN is scheduled. The only way that the DSN wastes bandwidth is when they retransmit something that was actually received correctly. New Horizons would never ask for time that was unnecessary.
7rr4f4
I've weaned myself off a physical calculator with Insect ( https://insect.sh/ ) with the webpage stored on my computer but it's still slow to launch and slow to enter things. The main advantage over a physical one for me is copying and pasting to other programs which I do a lot of. The main downside is not enough precision, so I go for Windows calculator when I need more digits. I just wish it was actually high precision like it claims to be :(
> FB's weak links in my estimation are the stubborn insistence to have everything under Facebook.com (rather than a sibling site), and the trust they've lost in the last year.

They have WhatsApp and Instagram under different names.
Can't clients do their own encryption though?
Debugging Lisp Part 1: Recompilation (2015)
Erlang is not particularly performant, and it seems like what the top comment is describing requires something faster.
Vipassana Meditation really helps.
If by "bloom filter-esque", you mean a probabilistic way of testing whether a number is prime or not, then the answer would yes for a majority of numbers.

How? Just run Fermat's little theorem on multiple values of "a" until you feel comfortable. [1]

Why a majority? There are certain exceptions such as the Carmichael numbers to which we need to use slower algorithms to verify the primality of.

Note that I'm assuming the number of calls to an algorithm is constant since it would be naive to discount the size of the number you're testing.

What are the implications of this result? Off the top of my head I can only think of one: the problem of deciding whether a number is prime or not is in the complexity class P (decidable in polynomial time). [2]

How does this affect cryptography? I would say not by that much.

Why? The "hardness" of some forms of cryptography (asymmetric) isn't from the ability to determine primality of a number. It's from the ability of determining the factors of a number. [3] That problem itself has greater implications for the field.

The question of whether it is possible to do so in polynomial time on a classical computer is actually an open question in CS right now.

Note the emphasis on classical! Amazingly, there exist a polynomial time algorithm to do so on a quantum computer called Shor's algorithm. [4]

[1] https://en.wikipedia.org/wiki/Fermat_primality_test

[2] https://en.wikipedia.org/wiki/AKS_primality_test

[3] https://en.wikipedia.org/wiki/Integer_factorization

[4] https://en.wikipedia.org/wiki/Shor%27s_algorithm
We can say that there was 3 kinds of floppy drives :

- Drive by a floppy controller chip : Controlled by a WDC, Intel or custom ASIC. For example Amstrad, Sinclair +3 or Amiga floppy drives.
- Full intelligent : Like Commodore or Atari 8 bit floppy, that carries a computer inside.
- Dumb : Like Apple II and I think that IBM PCs.

Full intelligent not was a bad idea when the home computers had these low speeds, as could (on theory), read/write the floppy and at same time do other stuff on the computer. Also, allowed to move the file system implementation and part of the I/O firmware to these embed computer to the floppy drive. But to work nice, need a fast and good connection to the computer. Having a serial communication via bit-bagging as did Commodore, killed it.
> John wore a T-shirt that featured a smiley face with a bullet hole in the forehead from which trickled a few drops of blood.

Was it this one? http://watchmen.wikia.com/wiki/Comedian%27s_badge
How to Become a Millionaire in Nigeria – Information Guide Africa
How to Become a Millionaire Before You Are 30
Maybe it's a shittest if you actually try to apply some theory rather than using your common sense and say that "Based on the last time I was in New York, it will definitely break dropped from the first floor"
It's almost invariably end users who suffer, not the "makers". And because of a human cognitive bias it doesn't matter that the middleboxes are wrong, if you get a new Chrome and it doesn't work you blame Chrome, you don't blame the middlebox that had been getting this wrong for five years.

Almost a year's work on TLS 1.3 was spent on working around problems with middleboxes. Because without that it would be impossible to deploy in practice. TLS 1.2 took years to deploy because so many middleboxes were incompatible and we had to wait for them to rust out.
All five seasons of Babylon 5 will begin streaming on Amazon Prime next month
Not sure why downvotes. If you block EU IP, EU resident accessing a website on holiday outside EU will not know that the website is not meant to offer services to EU residents. Solely blocking EU IPs is not sufficient. What would do probably is to have a banner on the website, where user is informed that website doesn't allow EU resident visitors with "Leave" button.
Now the problem is if the EU resident confirms that he/she is not an EU resident. Then controller or processor is still processing protected data, but unknowingly.
Zig looks amazing! Thank you! While it doesn't compile to C, you read my mind that I actually wanted a C replacement rather than compile to C.
The repository I linked to is official. See https://public-inbox.org/git/xmqqindt6g1r.fsf@gitster.mtv.co...

What list are you referring to? If it doesn't list the one on GitHub it needs to be fixed.
Ah, I see, a bit more tentativity has been filed away for when I finally check it out.

I was regarding how it outputs progress indication, like

[ 16%] Building C object ...
[ 91%] Linking C executable ...

etc (many lines elided). Back on the slow machine I was using when I was very new to Linux, progress indication ("how soon can I stop freaking out about this maybe not working") was very nice to have :D

But (10 years on) I can understand it being icky to use. I guess, ugly as it is, it's a little more structured than automake is, and maybe that's its redeeming quality.

Maybe build systems are the dead-centre of a "sour spot" (opposite of sweet spot) in computer science, with no truly nice solutions out there? (Genuinely curious. The exponential profusion of JS build systems suggests it's rather hard to solve.)

The only explanation I have is that

- Maybe the author is used to cmake

- Maybe this project has Big Goals And Ventures™ syndrome - and, hence, all the enterprise build systems. (Hopefully not, it looks kinda nice)
> unfortunately this means that you cannot use the stdlib either

This is the kind of friction I expect from a language which uses GC, for my usecase. I think it might make sense for Nim to support a GC-less stdlib for people who do not want GC in their code.
Why Do These Lizards Have Green Blood?
The high-stakes race to stop the trafficking of priceless artefacts
I often use the declarative programming language Prolog to solve dynamic programming tasks, because it is easy to type and helps you to declaratively express what a solution looks like. After you have expressed what must be the case in a solution, you can easily enable memoization on top of the existing code.

For example, here is how you can use Prolog to solve the task from the article. The following Prolog predicate is true iff a given runway (represented as a list of "t" and "f" elements) is safe with a given speed:

:- use_module(library(clpfd)).

safe_runway(0, [t|_]).
safe_runway(Speed0, Rs) :-
Speed0 #> 0,
Rs = [t|_],
( Speed = Speed0
; Speed #= Speed0 - 1
; Speed #= Speed0 + 1
),
length(Prefix, Speed),
append(Prefix, Rest, Rs),
safe_runway(Speed, Rest).

Sample query and answer:

?- safe_runway(4, [t,f,t,t,t,f,t,t,f,t,t]).
true .

One interesting aspect of this solution is that we can generalize this query, and also use the same program to answer the question: Which speeds are actually safe for a given runway?

For example:

?- safe_runway(Speed, [t,f,t,t,t,f,t,t,f,t,t]).
Speed = 0 ;
Speed = 2 ;
etc.

To enable memoization for this task, you only have to use your Prolog system's tabling mechanism. For example, in SWI-Prolog, you turn this into a dynamic programming solution by adding the directive

:- table safe_runway/2.

This makes the Prolog engine automatically remember and recall solutions it has already computed.
Yeah for sure. But it’s not secure by default, and clients still can’t hide the metadata like peer addresses, connection time, bandwidth usage etc.
I am sceptical of the ability of laymen to even meaningfully understand the field that I am in enough to contribute their own ideas. The amount of literature that would have to be read and assimilated is vast, really achievable only for academics. My prewritten response would only be “Do at least an MA in this field, then we’ll talk”.
> manufacturers who realised that current CPUs have more than enough power for everyday tasks, and needed a way to create demand for even faster CPUs

Lol.

It's a common trend across software. Try comparing office 2003 to office 2013. Office 2003 starts instantly on a modern desktop and uses minimal RAM. Office 2013 takes a good four or five seconds to fire up and uses a few hundred mb memory. And they both do exactly the same thing. With cpu speeds and ssd proliferation there's no incentive to keep things low footprint any more.
Ooooh, duh. Takes notes
Lenovo Mirage Camera: Stereoscopic VR Video
WebRTC has built in e2e encryption IIRC.
You're wrong. Libui uses GTK on linux, but uses native toolkits on windows and MacOS.
There's this

https://github.com/zserge/webview

Basically a webview which can use a c++ backend and a js/html front-end, cross platform
Over 10 years I have had about half a dozen side enterprises whilst doing a very demanding full time job.

Several of these made money, most didn't. The best one was an ocr app which netted around usd 24k before the market got saturated.

It's very difficult to manage work with a side job and a family!

However, unexpected to me, the biggest benefit from these side gigs is that I am better at my day job. I have learnt new techniques and skills vs my peers. I am able to manage new situations better than others and make better predictions on outcomes. This has been the biggest benefit.

There's a lot to be said for companies that allow employees to officially pursue other (non conflicting) interests.
I am glad they came along when they did. Works great for me.
Please take a look at this:

https://github.com/muhammadmuzzammil1998/Log-mailer/commit/f...
Pension bonds are an ingenious idea for providing retirement income
>> you could browse it without being logged in or having an account.

That's a fair point I hear quite a lot. Not sure what the reasoning is there (assuming it is the case).

>> It also seems the interviews are not that important anymore, but being some kind of community is - but I don't think that people want that, because we have that already here or at reddit - the nice thing were the interviews.

Have to really strongly disagree on this point... The IH community is - without a shred of doubt in my mind - the single most impactful thing Courtland has built at Indie Hackers. Happy to believe that you don't want that, but there are a lot of founders and lurkers on the IH forum who really do want it...
After reading that, I have a new respect for Nolan as an auteur. He clearly believes in the art of film-making, and not just throwing out big-ticket movies. I've much preferred his more cerebral work such as The Prestige and Intersteller, over big ticket stuff like his Batman Trilogy (and I'm a HUGE Batman fan). I hope he continues down this artistic path.
I see the confusion, my apologies; I was referring to moderation of comments by users. This is very susceptible to astroturfing and manipulation, as discussed elsewhere in this thread.
I think the parent's trying to tell you guys not to sell yourselves short - that what you're doing is exactly what mathematics is.
Well, if my car broke down, I probably wouldn't ask for directions, either.
FM Radio faces Government switch-off as Digital listening passes 50% milestone
A capacitor is an even better analogy - "charge" is asymptotic, and the function of the cast iron (and the water in the fridge) is to smooth out local fluctuations in heat (rather than to store it long term).
Ask HN: Solving a situation with contract termination on last day of vesting
Hello,

I got into a shitty situation in a startup. I had one year vesting period. I even converted more than 50% of my salary into stocks for the first half of year. After six months, I switched to standard 50% schema. It was my proposition before signing a contract. I thought that it would help to spend cash on team growth to launch a product faster.

So one year mostly passed.
However, the contract is getting terminated by CEO initiative a day before vesting period finishes. There is no criminal from my side or any other wrong reasons. I just got know that company doesn't need me anymore, and I worked not like expected months before, etc. And there are no answers why discussion happens now, but not before :)

Asking for a bit of advice here. How to solve this situation correctly?
Most People Don't Know What Lowercase “G” Looks Like and We're Not Even Kidding
In this article there is annoyingly little information about actually permanently passing epigenetic changes to offspring. If that indeed doesn't happen then epigenetics has little to add to evolution.
> the privacy page will be updated to describe, what I am tracking and how long data is being stored. As needed to comply with GDPR/DSGVO.

I thought the GDPR required users to opt-in to tracking (if consent is used as the lawful basis for processing), and if they choose not to opt-in, you must disable the tracking while still providing the service. Are you sure just updating your privacy page is enough?

Then there are the requirements to allow users to download or delete their data.
Anyone know one for electrical engineering?
So wxWidgets but in C. I wish it used snake_case (similar to Gtk).
It's unfortunate that github doesn't let a project disable the on-website UI for pull request submission; as it is it's easy for somebody to end up wasting their time trying to submit a change that way. (QEMU has that issue too.)
In the end this indeed doesn't really help you much, because the ISP just ends up maintaining a giant database with records of every single connection that they can use to figure out who did what.

And who pays the bill for that? You do.
That is a huge issue indeed, but it usually gets a bit better if you manage to overcome it once or twice as well as understanding where that thrill comes and feeds from. Learning to become better at your own 'thrill-management' is actually a super-important skill, i.e. knowing that you better build that prototype in two or three days rather than the next two or three months (no excuses, almost ANY SAAS prototype can be built in a week or less -- it's all about prioritising what you can do manually, fake, or add later), as well as knowing that, inherently, a lot of us here are problem-solving fans, we like to figure something out and once the challenge is completed, or we see the finish line, we want to move on to other things. A good tip I picked up from writing is to stop working not when you've finished a big package of work, but instead, right in the middle of it when your brain has already started thinking ahead of your next two or three steps. That's where you leave it, and it'll be MUCH easier to continue next morning.

What also helps, of course, is past experiences -- I've built a product that requires little to no maintenance (now), the prototype took one looong day and then another weekend to roll out, and it randomly picked up Toyota as a customer in its second week. New customers kept the thrill going, and when times were calm, I just let the website 'exist' on its own -- it's made over $100k and while those kinds of projects are my daily work (compared to an 'an actual job'), the time it required to maintain would've easily been available next to a moderately demanding job. Much like other things in life, even with software, it may need to simmer for quite a while before it really starts shining. There's no single recipe of success, but people tend to forget (while looking for big dramatic SEO-guru growth-hacking insights) that getting a few basic things right will improve your chances of success dramatically (managing motivation, knowing when to let things simmer (getting from 0 to 10, and from 10 to 100 customers can often take depressingly long), knowing when to let users guide you, stuff like that).
You only use Erlang for the orchestration part. Probably Fortran or something for the actual number crunching.
Estonia plans to become a free public transport nation
Attendance to hackathons deserves mocking in its own... :)