News for hackers. Stuff that matters.

neikos

Re:Basic Intro to Elliptic Curve Cryptography (2019) on Sunday May 31, 2020 @12:12PM (#23370472)
> ould just be a matter of iterating from A until you hit the end point and counting, right?

Yes, you could brute-force all the points. The good thing is, ECC is done on fields that are very large, so that actually enumerating them is not practical. Check out Curve25519[1] for some numbers.

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

Re:I found a loophole to prevent those pesky cookie notices on Thursday February 27, 2020 @08:02AM (#22432816)
The rules are somewhat imprecise, but basically any functional cookies do not need to have consent as it is implied by the user using the service. This includes thinks like the user-identifier to know who is logged in for example.
Re:User Agent Changes on Friday December 13, 2019 @02:32AM (#21779790)
This sounds like authentication with extra steps? Why not just send a bearer token?
Re:Whether to Use Anki or SuperMemo on Sunday November 25, 2018 @12:52PM (#18527869)
The choice for me was quite simple, paying once for the great Anki app, or monthly subscriptions for SuperMemo?

Since I abhor the subscription trend it made picking easy.

That was quite amazing read. Thank you for that.
As someone who has no idea about ML, why is knowing how it was trained important?

I would guess to anticipate possible problems, but I don't really know.

The issue is usually less what species gets endangered or faces extinction, but the fact that this is not done for progress but for greed (be it humanity or corporations).

Destructively changing anything should be approached with extreme care, since you cannot un-extinct a species.

I'd illustrate it like what happens on Linux when you are approaching OOM situations. You can either kill other processes, not knowing what they did or if they were vital, or just stop doing what you were doing. And so far societies have usually decided that mines are not as important as raw materials at some point.

Re:Ask HN: Where do you deploy to in 2018 and how? on Tuesday February 27, 2018 @08:59AM (#16473345)
I use the hetzner cloud[1] that has been recently launched. It is pretty fast and not too expensive.

[1]: https://www.hetzner.de/cloud

Re:Smart homes and vegetable peelers on Tuesday February 06, 2018 @04:25AM (#16315198)
That sounds like it has been tried to be solved, a quick google gives me: https://home-assistant.io/
Re:Oxidizing Source Maps with Rust and WebAssembly on Friday January 19, 2018 @04:17AM (#16185010)
What do you mean by 'hard to please'? The joke about the compiler being some beast you need to sacrifice a goat to seems to put the blame on the wrong end of the computer imo.

Unless what you are doing is not fit for what guarantees Rust gives you, the compiler should just be a crutch in case you missed a step.

Re:Google to open artificial intelligence centre in China on Wednesday December 13, 2017 @06:19AM (#15913535)
That was exactly my thought, and I do already see them in a similar light.
Re:No human genome has ever been completely sequenced on Monday October 23, 2017 @02:40PM (#15535744)
You should be able to scroll it.
In germany you do this when you are 18, after your Abitur usually.
Re:A black hole in a low mass X-ray binary star on Monday April 24, 2017 @03:27PM (#14187274)
I'd guess that if a lower mass orbits a higher mass body in a very tight orbit it might get thrown out.
That's the carboniferous period! [1]

And it went on for about 60 Million years which seems an unfathomable timespan.

1: https://en.wikipedia.org/wiki/Carboniferous

Re:Password Rules Are Bullshit on Friday March 10, 2017 @09:16AM (#13838683)
Two ways why I think E-Mails are useful at signup:

- Password Recovery (this can be optional though, for my sites it usually is)

- 'Legit Users', sending an email and having them confirmed through a code in them gives a bit more confidence in the user

Re:The PRPL Pattern on Tuesday February 28, 2017 @08:08AM (#13753439)
There is the preact site [1].

[1]: https://preactjs.com/

Re:Kirby is a file-based CMS on Sunday February 19, 2017 @05:19PM (#13682413)
Surely there must be a way to have things appear 'instantly' without needing to have it generated dynamically..
Re:Republicans hope to overturn internet privacy rules on Thursday February 16, 2017 @10:41AM (#13660732)
If you can see the exchange happen, then it is not really private. You don't need to know how much I spent, but just that I spent something. That already is enough to not make it private anymore.
There is the choice of preact[1], that has a very similar api, is more lightweight and even has a compatibility layer for the few react packages that need it.

[1]: https://github.com/developit/preact

Re:The Rust module system is too confusing on Wednesday January 11, 2017 @08:19AM (#13373689)
I fail to see how the usage is different? They both reference things that are 'external' eg. already compiled etc...
Re:ALPHA observes light spectrum of antimatter for first time on Tuesday December 20, 2016 @04:22AM (#13218501)
As someone who hasn't studied this (yet) does that mean that the reason protons and electrons don't annihilate is because their Baryon Number wouldn't sum up to zero? (With Protons having 1 and Electrons 0 if I understood correctly)
Re:CHVote: Open-source e-voting system from Switzerland on Wednesday December 14, 2016 @08:07AM (#13175649)
But how do you verify that the compiler produces the code you wanted it to create?

But how do you verify that the Computer actually does what is in the Bytecode?

Re:How to speed up the Rust compiler some more on Wednesday November 23, 2016 @09:40AM (#13022920)
python has a http server coming with the standard installation
Re:Choosing Ember over React in 2016 on Thursday November 17, 2016 @09:51AM (#12977868)
As a followup I don't seem to be the only one thinking like this [1]. [2] comes close to what I'd like, but the last update is from 2012 and the author doesn't seem to have done a lot lately.

[1]: https://allinthehead.com/retro/367/why-is-progressive-enhanc... [2]: https://github.com/jamesallardice/Progressive.js

Re:Choosing Ember over React in 2016 on Thursday November 17, 2016 @09:16AM (#12977598)
I also find it annoying that it seems people have transitioned from progressive enhancement meaning 'detect if we can use JS' to 'detect which features of JS to use' to 'detect how much processing power we can abuse without the user noticing'.

As someone who really enjoys his <0.3s page loads (that is fully fetched & rendered, less when from cache) even on mobile it feels annoying to not have a 'middleground'.

For example my current project, which is basically a small website where people can upload artwork, does not need to be a SPA. However, I'd like to integrate some interactivity to make browsing easier. Like a 'browser' view when you click a picture, or in place reloads (so the CSS doesn't need to be reloaded, nor perhaps the JS. However there doesn't seem to be a library for that to my knowledge. All I know are either on the jQuery level where you have small seperated pieces, or the React/Ember/Angular level where you have to write all or nothing in that language.

I wonder if it is even possible to have an 'augmenter' library that just makes existing HTML better (Perhaps with some hints in the 'data-' attributes), or maybe my google-fu is just bad.

Re:Announcing Rust 1.13 on Friday November 11, 2016 @04:17AM (#12929137)
If you don't mind unstable you can implement it yourself for Option. https://doc.rust-lang.org/src/core/up/src/libcore/ops.rs.htm...

I am sure it will come soon (tm) though

Re:Hyper Is Docker Done the Right Way on Friday November 04, 2016 @12:21PM (#12873725)
> "CoreOS, DigitalOcean, and Docker are sponsors of The New Stack."

Interesting and somewhat funny

Older »