HNHacker News
TopNewBestAskShowJobs

krzepah

75 karma · joined July 30, 2019

submissionscomments
krzepah··on A tale of webpage speed, or throwing away React
There is a find feature in the specs already. My users actually need to be able to interact with a lot of rows.

I can just bind ctrl-f to my search feature.

Also, it doesn't take 3 seconds to load but few ms as well.

See, you don't just pick a tech, you need to start from the specs and get what the user need.

Also, in pure HTML (because i tried it) ; the same rendering would be hanging anytime you try to act on something.

krzepah··on A tale of webpage speed, or throwing away React
You can do server-side rendering with react. I'm pretty sure ppl started doing so at least 5 years ago
krzepah··on A tale of webpage speed, or throwing away React
This is how i manage more than 60,000 DOM nodes https://github.com/developit/preact-virtual-list ; actually i think i could handle 600,000 and still have no problem.
krzepah··on A tale of webpage speed, or throwing away React
Maybe implement authentification properly and store a refresh token that you can use to trigger auth on app load.
krzepah··on A tale of webpage speed, or throwing away React
Why on earth would you specify your styling in your JS ?
krzepah··on Mozilla's Speech-to-Text Engine Is at Risk Following Layoffs
Can you please source at least when you state such things on HN ? this is not reddit
krzepah··on Architecture decision record (ADR) examples for software planning, IT leadership
Hi ! I admit I like it. Writing down such document would allow my fellow developers to understand the important paradigms I'm choosing more easily. I feel like it's the missing piece before the documentation of a choosen tool. For instance you could work on a React project and a novice new dev wouldn't have to go trough the ENTIERE react documentation to be able to start getting a sense of what you are doing. He could read the arch records and have the notions links written down immediately inside.

I will try to use it thank you !

krzepah··on Ask HN: Self-taught webdev with lots of free time. What should I learn?
Oh and if by any chance you are not efficient with linux & docker do it !!!!!!
krzepah··on Ask HN: Self-taught webdev with lots of free time. What should I learn?
Try functtional programming using ramda.js to step up your js skills; try putting up a prom & grafana stack for monitoring, try using something like django & drf for your APIs (django is somewhat a large web dev market & is really solid, DRF will make you go lighting speed on your dev, it will also step up your permissions programming skills) ; work up to 100% coverage with unit tests and then write e2e tests that reflects the specs, ElasticSearch is a valuable tool to know as well (for logging or be it to use it as a search engine for one of your projects) - get 100% score on web.dev, do not use any css template and actually master it (all that flux / grid system is still a mess for me) (use variables etc..., maybe even scss or sass to be able to loop and whatnot) ; the list could be lot longer but one thing i learnt is that iterating on architecture is a lot more beneficial than spitting out features
krzepah··on Freedom is not simple
Hi man, the article seems nice, i couldn't read it all yet but I spotted a mistake "This is often now (should be not ?) the case"
krzepah··on Can I buy your side project?
Isn't there a bias because open-sources projects are those more easily seen ?

What happens to those projects that are put on "wait" ? I doubt everyone just put-on his work free of consequences

krzepah··on Calculating Pi: My Attempt at Breaking the Pi World Record
I understand your disappointment but I'd like to point out this is a really nice achievement on it's portfolio as a sys admin
krzepah··on C++ 20 Is Done
Can you elaborate on why you did that ? I expected something wrong but I couldn't find anything about it ?
krzepah··on If Linux Never Was – imagining an alternate reality without Linux
NooooOooOOoOoooOOOOooooOoooooooo :'(

We'd be all on win :((((

Joke aside : BSD would probably at it's place - one thing that we could advocate as being unique to unix is it's viral open license system

krzepah··on All Programming Languages are Wrong (2018)
I just watched a talk from Bjarne Stroustrup who told about a biologist who was getting data using python. It's script had to run for 3 month to get that data.

The script was re-written and they got it right into 10 min exec time when he couldn't do it in 3 months anymore

https://www.youtube.com/watch?v=fX2W3nNjJIo&feature=youtu.be...

krzepah··on All Programming Languages are Wrong (2018)
I simply agree with what you said. "Computation is always free" made me cringe as well. I also felt that the initial page is abruptly stopped without giving any kind of explanation.

Then clicking next you get jumped into a new language implementation : /

krzepah··on U.S. surveillance laws have proven ineffective at countering terrorism
Today we hide behind computers and algorithms to do the "dirty job"
krzepah··on Gitmoji – Yay or Nay?
I heard some ops willing them to have a clearer vision of what's commited but I don't like being dependend on them. I ended up looking what kind of emoji I had to use on every commit and it felt like a waste of my time
krzepah··on Freedom of expression is at a ten-year low globally, study says
I understand that the debate is complicated and I'm actually not into the vaxx debate itself so I don't have to take a judgment. However, I'm happy to see you are underlying the intent point which I completely agree to and I've been poorly trying to defend.
krzepah··on Freedom of expression is at a ten-year low globally, study says
I think you are jumping on his words and not taking his statement to their true meaning. Are you telling on the opposite side that someone publicly announcing false information that could harm someone should not be responsible for it?

You are the one who's making me afraid.

krzepah··on Google has handed information related to my account to the DoJ
That's not how it should work. You could just go fish for anyone's data on the basis that he had a relation with someone that broke the law.

Data should be protected just like the intel you are giving to your lawyer or your doctors. There is absolutely no reason a government should be able to simply catch your data without a reasonable cause.

Knowing someone is NOT a reasonable cause. If they had proof that he did something that's a different story, but then they'd just catch him wouldn't they?

krzepah··on Local-first software: you own your data, in spite of the cloud
Hi everyone, I've been working on this subject for a few months already ;

Thank you OP, your work is wonderful to read and even though I've spent a few months on the idea already I haven't thought of reusing Dropbox or similar. I think exciting things are about to come :)

I'd like to submit Working Group proposal to the IETF.

Why would we need an RPC for Independent Apps?

Independent Apps are surfacing as being a solution to the lack of control of our own data. oAuth Framework has allowed a more secure web, but even if it makes a difference between an identity provider and a resource host, it does confuse the resource and the service hosts.

Independent Apps should NOT be claimed by a lone company, let's make it something that the web owns.

How would it be structured?

I personally believe there should be multiple subjects treated by the IWA Framework, as one being the qualities of independent apps, and second being how data is accessed. Both of these are currently Topics of Interest for the IETF : https://ietf.org/topics/ - However the way this Working Group would proceed should be discussed and decided by it's members.

Why not submit a single person draft?

I could propose a draft but it wouldn't have the same meaning as if it would be drafted by a Working Group. As individuals, we are motivated by our own agenda and the quality of said draft wouldn't be the same. I'm volunteering, but I'd like to allow other persons to join in as well.

You can join your mails here https://forms.gle/igNdd6rH4MnPK8rb8 , at December 6 I will send the Working Group proposal to the IETF with gathered persons, if accepted I believe it should remain open to anybody to join.

krzepah··on I created the same app with React and Redux
Unistore
krzepah··on I created the same app with React and Redux
Checkout Unistore, you might like it, it involves less boilerplate code
krzepah··on Ask HN: Did anyone leave Software Engineering as your profession? If yes, why?
Hi,

I've had the luck to work on a 10 years old Django System. Everyone from the 6 people working on it said it was the purest sh.t they saw.

On the other hand, I need to learn new stuff. I tried Express or other JS fmw but these are not new things.

You can get pretty sh.tty unusable code with a monolith, while state-of-the-art is expected to be understood and seek by people that crave for more.

Tbh, I think it all depends on how well a team is prepared, and ofc it is more complex with the later tools, but they definitely avoid a lot of useless and shame code.

It is also very common that business hasn't validated their initial client base.

krzepah··on Attorney General will ask Zuckerberg to halt plans for end-to-end encryption
They don't need to write up the tools, just to use them, they are widely available
krzepah··on Attorney General will ask Zuckerberg to halt plans for end-to-end encryption
Ok let's turn that the other way,

Do you say you want to apply a dictatorship state of global surveillance because criminals are going to use the internet? What about other tech available to them? Are we going to set up a surveillance mechanism in those as well? Scooters? Cars?

Who's going to compile all that data? How is it protected?

It's about the Governance of Information,

and guess what,

I want to be Governing my Data, not some shady politician that got elected for a 5 or 7-year term in some other country.

Every actor in those systems have access to the data of every person that got their info collected.

And yet we are still here with that pedophilia and terrorism argument that, while they are very true, have still evolved and expanded. Even with the Cloud Act and all of the shady agreements

It's an evolution of our sick society, we had that kind of criminality rampant in 2000, we saw that evolve with the net,

But just like the young gangsters that evolve with stolen scooters,

Criminality will always have its sick way.

But dictatorship and global surveillance?

We didn't accept that in the 2000.

And we should never accept that at any cost,

even if it falsely promises to resolve the problem of pedophilia, terrorism, and criminality on those spaces by applying weird unknown algorithms

Technology will always be used by criminals because these are part of the society we build and evolve. They will change their behavior just like all of us; We cannot give up on our freedom and ethics to help catch the few.

And that's what's the problem. I don't care about police retrieving the data of a criminal once a judge has agreed to that, I care when we give them the entire web information and allow them to dictate the behavior of those networks

krzepah··on Attorney General will ask Zuckerberg to halt plans for end-to-end encryption
Criminal activities are exacerbated by the internet it would be a lie to say no. But just like with cars, scooters, or any tech that's sufficiently democratized.

They need a permit for a car? Why not just steal it?

I need an identity to do shady stuff on the internet?

Why not steal it?

We cannot reason with malevolent forces, there is always going to be away,

And by that time, we compiled the data of everyone, centralized it all, and let govs that don't understand the implication collect those as if it was mere petrol or gold.

We are putting everyone's life at risk doing so, just wait until it leaks out or it starts getting sold. (ahem, oh wait !)

It is a problem, and tbh it saddens me a f* tons.

krzepah··on Why doesn’t anyone weep for Docker?
Docker is more than enough for most of the setups TBH, prometheus and what will work just as well. I would never recommend K8 locally, if you can even avoid docker it's a win.

It's just a matter of preferences, where you want to invest your time to learn etc... Kubernetes being the fully fledged "state-of-the-art"

I would just recommend the work of Stefan Prodan who's repository and blog are full of open and well thought devops work, even if you are just interested in K8 or only Docker

krzepah··on List of military tactics
Discovered Civ 6 few days ago, only the few first games are a bit frustrating due to the apparent complexity of it (I didn't end them, each game is spanning over 250 turns which is an eternity), however you get sucked into it rather easily and well, you have belicism malus if you get into unsuspected war, have to be a diplomat with other empires, you can win by earning points, those can be military, scientific, religious, or cultural, you gotta understand other leaders to not get them on your back. I've spent wayyyyy to much time on it already :/
← PreviousPage 2 of 3Next →