Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hknmtt
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
Ask HN: How was setting up EU VAT for you?
1 points
by
hknmtt
3y ago
|
1 comments
2.
▲
by
hknmtt
3y ago
yes, ff does a ton of background connections. use wireshark to see what it is doing. i tried to block all that crap once but after a while i just gave up. it is still my primary browser because it is now the only alternative to google'
3.
▲
by
hknmtt
3y ago
a) why not use switch { case len(a) < len(b): b = b[:len(a)] case len(b) < len(a): a = a[:len(b)] } b) do you know the usual length of the slices? if so, can't you autogenerate/manually write switch to manually
4.
▲
by
hknmtt
3y ago
Scrum/Agile is awesome! I always used the daily calls to ask as much dumb shit as possible to make the meetings as long as i could so i could keep charging my hourly rate without actually working.
5.
▲
by
hknmtt
3y ago
No, i just remember a comment from some former MS dev who knew something about the testing process in MS. I think it might have even been a comment in here actually.
6.
▲
by
hknmtt
3y ago
interesting. i was actually yesterday pondering whether youtube gave up on this since i have not had issues for months now. before i had to scrape all cache and logout. usually once a week. but then it stopped and all went back to normal. i
7.
▲
by
hknmtt
3y ago
i remember reading years ago about the reason windows updates since 8 or 10 were so bad was because MS fired all testers and scrapped their testing hardware and now they are testing virtually in cloud. I guess nothing has changed, still. co
8.
▲
Ask HN: How to Count Content Views?
1 points
by
hknmtt
3y ago
|
0 comments
9.
▲
by
hknmtt
3y ago
essentially that is how integrals are calculated in mathematics if i remember correctly. you take a curve and divide it into columns, the thinner the column the smaller the deviation(because the curve has round edges so your bar will have i
10.
▲
by
hknmtt
3y ago
say you load 1 million records and you average them at 5.1. you then load another million and average them at 4.5. so you 5.1+4.5=9.6/2=4.8. rinse and repeat. as long as you keep the amount of records processed per each run about the s
11.
▲
by
hknmtt
3y ago
actually i think you can also just average each chunk and then add it to existing data. like read N rows(say all have one location to keep it simple), average the data from the chunk, update/save min and max, move on to next chunk, do
12.
▲
by
hknmtt
3y ago
first search result for averaging streaming data: https://nestedsoftware.com/2018/03/20/calculating-a-moving-a... so you just walk the file and read a chunk, update the averages and move on. the resource usag
13.
▲
by
hknmtt
3y ago
>On a cache hit, SIEVE marks the object as visited. On a cache miss, SIEVE checks the object pointed to by the hand. If the object has been visited, its visited bit is reset, and the hand moves to the next position, keeping the retained
14.
▲
by
hknmtt
3y ago
> Officials explained that companies will be able to use commercially available databases to verify that users are old enough to access their content. The new law will take effect starting January 1st. ಠ_ಠ
15.
▲
by
hknmtt
3y ago
looks like the increased cost is not worth the profit. simple mathematics. capitalism is nature and you cannot fight the nature because sooner or later something gives.
16.
▲
by
hknmtt
3y ago
I used to use it a lot but in time it becomes more of an obstacle than a net positive. http and websockets with json(front end), cbor(back end) or pb(back end) is the way to go. it gives you exactly the same features but zero restrictions.
17.
▲
by
hknmtt
3y ago
"if you do something illegal, WE will fine you" ... yeah, that makes perfect sense.
18.
▲
by
hknmtt
3y ago
> Tier 2: $1,000, for illegal content strange legal system you got there
19.
▲
Ask HN: Why sign in/out replaced log in/out?
10 points
by
hknmtt
3y ago
|
13 comments
20.
▲
by
hknmtt
3y ago
> TTL doesn’t say anything about eviction among objects that are still live, no? TTL IS eviction policy. You just store a timestamp along the value. When you access it, you check the timestamp and if it is stale, you delete it and return
21.
▲
by
hknmtt
3y ago
I never understood this cost nonsense. TTL is the only thing that makes any sense to me. And implementation is trivial. All these caches are just a map underneath anyway, pointing to some data somewhere in memory. That's about it. Not
22.
▲
by
hknmtt
3y ago
As a user, for me, YouTube has been shrinking ever since the first adpocalypse. By that I mean I rarely see new videos or relevant recommendations. It is all stale content and pages only couple of pages instead of going infinite like it use
23.
▲
by
hknmtt
3y ago
Ive done many projects in my life, none took off. I've got my first computer in 96 and been online around 2001. So I think i have seen the internet evolve for the past two decades. And what I have been observing ever since we left the
24.
▲
by
hknmtt
3y ago
In Go, I would normally have my own time function which would return the std lib time function, which works flawlessly for testing my own code. The problem is if there is foreign code(ie. 3rd library dependency) that uses time and which mak
25.
▲
by
hknmtt
3y ago
no need for captchas, just implement throttling per ip. like bcrypt dues for passwords. if a bot fills up a form(or whatever), so be it, but it won't be able to do it for another N seconds or minutes..so the problem then is lowered fro
26.
▲
by
hknmtt
3y ago
I remember youtube being shady with firefox for ages. I think there was some kind of famous div being injected into firefox responses that caused some issues. Fuck google.
27.
▲
by
hknmtt
3y ago
I do like Go tests. Would love to have ability to find out untested parts of the code base though to increase coverage, but I do not think there is a way to measure this with available tools just yet. Although I have yet to make integration
28.
▲
by
hknmtt
3y ago
All of them. But it's not what you think. The experience I gained by working on them simply increased my confidence and THAT always got me a job. To the point where I reached fuck it level and never got stressed out by a work. I set
29.
▲
by
hknmtt
3y ago
historically, whatever a government gets involved in usually works out amazingly well. right?
30.
▲
by
hknmtt
3y ago
The biggest fuckup of CSS, to this day, is lack of vertical centering of content.
More ›