skysight-inc/HackerNews huggingface dataset:
I get value from using my AirPods while they last. They make my life better. Cryptocurrencies? Great if you got in at the top of the ponzi, but otherwise not.
How did this article just get 26 upvotes? It's so disgusting and disturbing to read.
FyneConf 2021 is now live
The Fyne Conference is back for another installment in 2021. We are holding a half-day virtual event to discuss all topics about the Fyne toolkit, its community and the applications built around it.
Panel buffers: useful data and widgets pinned to windows or buffers
Stupid question: could it be useful to set up an associations where all broadband users are [voting] members?
I have a bunch of dev friends who takes dance class like salsa. Some of them are there to date but some are really into it.
The Problem with Callout Culture: There Is No Mechanism for Forgiveness
Transactions do not matter at all. The energy is used to mine blocks. The same energy is used whether the blocks contain transactions or are empty
That would create more opportunities for all sorts of gaming (e.g. place orders before update, remove them right after, etc). Since fast players would still exist, they would react first to each slow update, which means all other participants would always see a book that's pretty much always outdated, and very heavily so.

HFTs are not a universal evil, they increase market efficiency and they pay for it.
Hah! Good luck dude, I feel sorry for you and your POS app that you can't upgrade. Stuck on JDK8 for the rest of your life while the rest of us have moved on. Must suck doing legacy support for such an ancient app. And by the sounds of it, you must have been hiring those 14 year olds @ $2/hour. Kinda explains why you're in the mess you're in, hahahahaha!!!
Misconfigured APIs Make-Up Two-Thirds of Cloud Breaches
486 lethal gun accidents, total. Meaning people of all ages. You're just trolling, aren't you?

I guess I can expect a comment now along the lines of “Oh yeah? So 486 deaths a year is OK with you as long as they’re not all toddlers?”
Surely having the bio "Crypto enthusiast and developer." means you're aware of your conflict of interest?
This is why you need an app ecosystem without remote control.
> one of his competitors would have eventually done it

Yes - but surely the person who actually did it has to get some credit!
A few companies ago I was tasked with replacing imgix at some company to save eight figures a year. Not sure how pricing compares though.
I interpret it as meaning they don't use dynamic memory allocation.
Compacting GC tends to have cheaper allocs and longer pauses (allocs need to be moved to different regions of memory and pointers to those allocs need to be rewritten to point to the new memory regions) while noncompacting has the opposite: slow allocations and small pause times.
I didn't read the article yet. It's insane to me that founders who didn't take any investment and sell their company for $12B wouldn't allocate a few billions to their 1200 employees, regardless if those employees had equity or not. If that happens then f** these bastards. Nothing I agree more than working for people with shitty morales, no integrity or compassion to others.

Don't work for such people. Regardless if they give you equity or not.
I did Antler in the EU recently: going in pretty much thinking it would not be beneficial, but it was. So going to say yes: for the mentoring and contacts it will be, even if you already have a bunch of startups under your belt.
Actually, no.

Page and Brinn started Google with the intention to improve the world. They weren't short of money, so not being part of what China was doing was productive, even if it did not make cash.

I know plenty of people that are driven by things other than money, and its not a raw deal at all.

Of course, after that, Google went Evil Incarnate so now there is no logic for them to be out of China.
> Ideas are your world.

Wow, I feel that this describes me perfectly. I've never considered it before, but I tend to think in hypotheticals, generalized broad solutions or abstract concepts. I rarely spend brain power thinking of practical or tangible things. Maybe this is a consequence of (or reinforced by) programming since an early age.

It has certainly taken it's toll. I'm always the one that forgets social occasions, leaves a mess and have sub-par social skills. My mind is always "in the clouds" so to speak.
This hasn’t been my experience, I prefer working for non software companies tbh
I self-host as as part of an organization with a custom auth that integrates with the orgs SSO. Storage and backups aren't enabled.
Bitcoin's popularity in spite of its extreme inefficiency is a testament to the incredible power of network effects in our current economic system. It seems that Bitcoin's price will not stop growing until the monetary system is replaced by Bitcoin. The monetary system appears to be funding its own demise in an unstoppable, predictable, systematic way.

It seems that Karl Marx was right when he said that "Unbridled Capitalism Will Destroy itself." - It has already destroyed itself in the eyes of a large number of people.

But clearly communism isn't the solution since it also ended up destroying itself on many occasions.

Maybe the solution is bridled (constrained) capitalism? It's interesting to think back to the gold standard and how gold acted as a constraint on capitalism. Maybe what we really need now are constraints; Bitcoin and other deflationary cryptocurrencies can provide this.
Remember that in the "old days", computers were very expensive and the selection of operating system and languages was almost always made by business executives based on money and trade press. Workers would typically have NO say in what language or systems they would use during their "day job" unless they changed jobs...and in those days, if one changed jobs too often, they were considered a risk. As if that didn't limit one's ability to learn new languages, employers would also only accept workers who were not experienced in their desired language/system during a very limited window, generally just after mass adoption, for example, during FORTRAN to C or Ada, TurboPascal to Delphi to Visual Basic, C to C++, etc.) so, for example, an ace FORTRAN programmer wouldn't get the chance to jump anywhere if they waited until, say 1990, to do so. By the same token, as people age, with more mouths to feed and more bills to pay, they become risk averse and many would avoid such language transitions altogether and in doing so, would render themselves obsolete as their unchosen language died. Still others would bet the farm and change jobs frequently, but wind up with dead-ends (Ada, FoxPro, TurboPascal, etc.) In the world of today, one can buy a computer for $40/mo that runs every language ever written (one way or another), but that just wasn't the case back in the day.

When an old Boomer says they did all the right things by learning new languages, they mean they took the risks they were (quite unfairly) expected to take (just to try and preserve their occupation), but in some way, they couldn't always keep up with industry changes. (Combine This with H1B-fraud and C-suite wage theft like https://en.wikipedia.org/wiki/High-Tech_Employee_Antitrust_L... and you have a retirement disaster decades in the making.)

To the 65 year old, you're not that old for a non-physical occupation (look at Woz) and when I started in this business 40+ years ago (tho still not yet old enough to qualify for the senior menu at Dennys), it was common to find guys your age around teaching us younglings --I learned a lot from them, miss them and I have sincere pity for the post-Y2K generations that lost that after the elders were forever purged (first to be RIF'ed and all at once as the dot-com bubble crashed demand for tech from 2001-2006). From following some of the elders through all of that, I know you're going to want to avoid head hunters, focus on marketing yourself to small companies and approach future work assignments as a LOYAL AND DEPENDABLE partner not just a body showing up to a "job". Pay attention to your shoes. Not fair that you have to hustle more as you get older, but nobody ever promised you fairness. (Also, I strongly recommend against investing in another line of business at 65, as I've seen that not work out a lot.) Lastly, don't listen to the critical voices on here and similar sites!

[ https://youtu.be/fLVN05Jl6wA ]
True, but can multiple cores, pipelining, etc... really make up for another factor of 1000x? And most of this complexity exists because memory latency couldn't keep up.
Yggdrasil
Thanks for looking in to this! I wonder if we could put together a swarm of small transactions that would allow us to reconstruct a bigger data set of interest.
> Any tips on how to improve?

How you talk changes how you think.

Ages ago, desperate to stop being angry, and completely out of any other ideas, I decided "Fine, I'll just fake being happy, positive."

Shockingly, after about 3 years, what started out as mostly sarcastic, actually mostly worked. From my reading since, I stumbled onto techniques known to academics, practitioners.

To get a sense of the mechanics, imagine having the habit of swearing all the time, and wanting to stop. Habits can be replaced, not unlearned. So I literally scripted responses, practiced saying them, tried to use the new script in place of my old script, and caught myself when I goofed. Both in my head (internal dialog) and interacting with others.

It got easier over time.

Backsliding is super easy. Even now, decades later. You can't dwell on that. Just acknowledge it and get back to the program. (Get back on the horse.)

It helps to have "positive" people in your life that you don't want to disappoint. For instance, I'm mostly able to avoid trolling here on HN because I really value u/dang's approval and efforts and it'd kinda hurts me emotionally to disappoint him. Find people IRL to serve in that role.

And avoid other people displaying the habits you're trying to not do yourself.

Forgive yourself. Choose to become the best version of yourself. Be kind to yourself.

Good luck.
A second pass of criticality on your own prediction can be helpful, especially if you can trick your mind into not re-using the identical logic and "facts" (heuristics upon premises, etc) when making the initial judgement.
That's the hope
Navalny's organization FBK has an extremist status given by a Russian court, so legally speaking all their YT channels could be wiped in a split second.
Front pages all around the world categorized: https://en.kiosko.net/
I recommend https://golangnews.com/ too, Not just because of its utility or that it has HN interface but also because Kenny Grant has been contributing to the Go ecosystem for a long time and his code is a pleasure to read.
The articles have paragraphes entitled "IPv0", "IPv1" and "IPv2". So not only it's not forgotten, there is actually an answer in the article. Don't hesitate to skim it before commenting.

To answer your question, IPv0 and IPv1 were part of TCP and IPv2 is the first draft for the split which was never used. IPv3 is a modification of the internet header but still in TCP. IPv4 is where the split happen. IPv5 is a streaming extension which was abandoned in favor of UDP streaming.
Cool! And thanks for introducing me to GTK.
Isn't there a lot of evidence that Russia's elections are rigged?

Like turnout percentages have ridiculous percentages of ratios that end in 0 and 5 - as do growth in turnout.
Classic whataboutism which also lacks data regarding the comparison. Airpods are an actual physical product. Bitcoin is nothing more than air, speculation.

That said, I prefer a smartphone I can open and replace the battery of. I own one, too: Fairphone 3. I'll look forward to the day wireless earpods have replaceable battery. However, we still gotta think about updating the firmware of the chipset.
The BBS Corner
Discrete mathematics theory is possibly more difficult than the set of complex numbers. Case in point: linear optimization across the reals/complex field is solved with the simplex algorithm.

Boolean optimization in contrast, is NP-complete since its equivalent to the knapsack problem (0 for "don't pack the object" and 1 for "do pack the object". Each object has a space it takes up + a value. Optimizing on value is NP-complete). Literally more difficult from a computational perspective than its Real/Complex analogue, and __provably__ so.

I'm enjoying my personal studies into Binary Decision Diagrams: the data-structures that are used in Verilog / VHDL synthesizers, libraries, CPU-design, verification (etc. etc.) to encode boolean truth tables and yes... tackle NP-complete and even #P-complete problems (#P complete is "determine the number of solutions" to an NP complete problem. Knights Tours aren't NP complete but... see the paper for an example of #P-like counting problems: "The Number of Knight's Tours Equals 33,439,123,484,294": https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.45...).

The boolean truth table for a 64x64-bit multiplication is 128-bits of input and 128-bits of output. That's 2^253 bytes of storage under a naive scheme, which is clearly unworkable. Binary Decision Diagrams make it possible to store, compute, and "think" about these functions at a high level. (Ex: counting solutions, finding the 1st solution, combining truth tables together, etc. etc.)

Knuth's TAOCP Volume 4A has been a good introduction to the theory, but Knuth's writing style is so difficult sometimes. I'm probably going to buy a supplemental textbook on the subject...
Just from the point of view of some manager: perhaps worked many years at a company with the ultimate goal of entering C-suite. Maybe gave up other good opportunities for this goal. In such situations it must suck a lot to see your power and influence wane. You might have made many sacrifices and then someone starts some projects that could ruin everything you worked so hard for.
Yeah, it's about proximity to the core business. People usually don't join FAANG to be HR or lawyers, but developers. I'm sure it's the same at other places - why join a bank as a programmer, or a law firm as a designer? Go where you're valued.
> Just because a native app could be a PWA which in turn could be a website doesn't really say much about which of these it actually should be

Conversely, just because something could be a native app, doesn't mean that it should be.

I use as few native apps as possible, as I much prefer the stronger sandboxing provided by the browser.

Why do you think that Twitter and Reddit nag you to install their shoddy native apps every time you visit their shoddy websites?
Looking forward to stories documenting how all these people are Russian operatives and such, now that the contact information is open and easy to find.

A dozen people bitching about something is a "Noble grass-roots civic effort" if you agree, or a dangerous cult inspired by foreign subversion, if you don't.
The main difference from user perspective are 1. ZGC doesn't support compressed references (-XX:+UseCompressedOops) which could affect workloads <32GB heap and 2. Shenandoah GC is not available in Oracle builds
Without digging into that benchmark, Go leans on stack allocation a lot more than many GC languages, and that’s a big part of why Go is able to achieve otherwise impressive performance. The same mechanism (idiomatic value types) that allows Go to elide GC in many cases also permits better cache coherency—there are fewer pointers into random regions of the heap so cache lines need to be flushed less frequently.
Version Control Without Git
No, i'm referring to your comment where you claim China is simply taking advantage of a loose system of government policy in negotiating a better deal for themselves in Australia which is simply not true. It is through deceit, fraud, and illegal practices such as the ones i have outlined above.

The point here is one that should not be of contest. Nations are part of international agreements on the basis of mutual trust and respect. It isn't a foregone conclusion as you lay out.

Other nations cannot simply continue accommodating favorable economic status to China when they establish an aircraft identification zone in international waters with the threat of surface to air missile batteries in place for those that choose to not recognize those claims.

The WTO and other international forums that China has used thus far to their advantage should reasonably be a lever that nations that feel wronged by their use of economic progress , converted to military posturing should have the freedom to resort to. That is simply the point.
Monero uses RandomX as its hash algorithm, which is based on random code excecution and optimised for CPUs.
https://github.com/tevador/RandomX
I think they just meant that all the designers on the team happen to be white, so even with the typo, the statement is still technically correct.
There's no reason to think telegraphs, physical media, and mechanical transport wouldn't have continued to scale and improve, merging in typewriters, punch cards (following Jacquard and Hollerith), CRTs, etc. As well as, say, high quality, "pro-sumer" sewing machines, machining tools, woodworking tools, etc. You know, the means of production.

Instead, analog technologies were strategically deprecated and phased out in favor of more easily surveillable digital alternatives, under the guise of "efficiency," in terms of energy and performance. Once a central network was put in place, innovation outside the network, in what we used to call the "real world," mostly stopped. It's all been fancier and fancier network protocols, applications, and appliances.

Everything is "smart," but under someone else's control. And the means of production are more centralized than ever.
I agree, but it's notable that MailChimp was unusual in this regard.

It's also easier to convince people they'd rather have cash than equity if you tell them the equity will never be liquid.
Not really. The 90th percentile of desktop web pages load less than half that much image data across all images on the page:

https://almanac.httparchive.org/en/2020/page-weight#image-by...

A 10MB limit per image seems like it will cover everything but outliers.
I got nerd-sniped and wrote a simple Python solver for this problem. You can find the ngram files at Norvig's site (https://norvig.com/ngrams/).

import collections
import math
import heapq

with open('count_1w.txt', 'r') as f:
unigrams = [l.split() for l in f]
unigram_map = collections.defaultdict(lambda: 0)
for word, count in unigrams:
unigram_map[word] = int(count)
with open('count_2w.txt', 'r') as f:
bigrams = [l.split() for l in f]
bigram_map = collections.defaultdict(lambda: collections.defaultdict(lambda: {}))
for word0, word1, count in bigrams:
bigram_map[word0][word1] = int(count)
log_p_unseen = collections.defaultdict(lambda: 0.)
for word0, counts in bigram_map.items():
for word1, count in counts.items():
unigram_map[word1] += count
total = sum(counts.values())
#smoothing for unseen words
mn, mx = min(counts.values()), max(counts.values())
if mn == mx:
p_unseen = 0.5
else:
#geometric series approximation
r = (mn / mx) ** (1. / (len(counts) - 1))
n = mn * r / (1. - r)
p_unseen = n / (n + total)
log_p_unseen[word0] = math.log(p_unseen)
c = (1. - p_unseen) / total
bigram_map[word0] = {word1: math.log(c * count) for word1, count in counts.items()}
c = 1. / sum(unigram_map.values())
unigram_map = {word: math.log(c * count) for word, count in unigram_map.items()}
max_len = max(map(len, unigram_map))

def optimal_parse(text):
word_spans = {j: [] for j in range(len(text) + 1)}
for i in range(len(text)):
for j in range(i + 1, min(i + max_len, len(text)) + 1):
if text[i:j] in unigram_map:
word_spans[i].append(j)
min_cost = collections.defaultdict(lambda: float('inf'))
parent = {}
queue = [(0., 0, 0)]
while queue:
cost, i, j = heapq.heappop(queue)
if cost > min_cost[(i, j)]:
continue
if j == len(text):
break
if j == 0:
word0 = '
'
else:
word0 = text[i:j]
for k in word_spans[j]:
word1 = text[j:k]
if word1 in bigram_map[word0]:
word1_cost = -bigram_map[word0][word1]
else:
#It would technically be more correct to normalize the unigram probability only over unseen words.
word1_cost = -(log_p_unseen[word0] + unigram_map[word1])
cost1 = cost + word1_cost
if cost1 < min_cost[(j, k)]:
min_cost[(j, k)] = cost1
parent[(j, k)] = i
heapq.heappush(queue, (cost1, j, k))
words = []
while j != 0:
words.append(text[i:j])
i, j = parent.get((i, j)), i
return words[::-1]

print(optimal_parse('ivehadathoughtandamcurioushowpeoplewouldsolveit'))
Agreed. It's the concepts behind the general format of most web frameworks that's good to know. Switching from something like Django to Express will come with challenges, but those come from structure of code and what batteries are included. If you understand databases, sessions, middleware, etc, you're transition from one to the other will probably be pretty easy.

I've worked with Flask, Express, NextJS, and vanilla PHP professionally, and while they feel different in structure and ergonomics, they all do the same thing and the transition was easy.
You're offline :( Looks cool, can you explain a bit more about this project? Is this a streaming interface that you've built yourself?
Software company here means somewhere where the software is part of the product, not part of the facilities.
I can't understand why he doesn't just use

https://en.wikipedia.org/wiki/Chebyshev_polynomials
Installing the OS and browsing the web at the same time? Take my money! Free? Ain't kiddin?

1000x Thank You to all devs, packagers and all i forgot in the Linuxverse.

A happy user since 07
It would not be a difficult problem if they allowed the " " operator to work as they claim it does, or revive the + operator.
This hit close to home. I don't think it's exclusive to programmers. I think this is happening in all industries, we just see it to a greater degree. Everyone's aware of polarization in politics, but I think it's happening to race, gender, and any other culturally distinct segment of humanity. With all this increased connectedness, we're distilling into groups that are like-minded, politically and otherwise.

I went to an all boys school. I believe it was terrible for social development and made it hard to relate to women. When I see that same-sex education is on the rise I feel we're making a big mistake.
Any company that builds physical products that require programming (either firmware or software), is a software company.

For most companies building the physical product is a loss leader, what they’re selling is their custom software.
Yes, I’d like to see some examples of this, I’ve never heard of the fast follow working but happy to be corrected. The thing is they will not have access to your metrics to know the rate of growth and as we all know most amazing startups look like bad ideas on the surface. Take for example something like Substack - it should be easy to copy but they already have a moat in terms of mindshare with writers so I’d say there isn’t much point. Basically by the time you’re thinking about copying something that has product market fit it’s already too late for you to be the incumbent.
Anecdote time: When I was in university I worked in a supermarket as a cashier. I became extremely efficient in packing groceries, in fact I took it as a point of pride to pack items as effectively as possible. Soft items on top or separately, tesselating boxed items and fully utilising bag space - without compromising bag integrity, approximately equal and manageable bag weights and sizes bespoke to the customer's strength. And everything FAST. I had repeat customers come specifically to me just for my packing. But I found that after my shifts I would nearly always dream about packing groceries, and operating the register.

These days I still enjoy arranging and packing my own groceries when shopping, to the infinite exasperation of my partner. I also enjoy the same thing with the dishwasher...
Basically "not thinking like the mainstream", heavily implying that the "masses" are manipulated by the government and media, same shtick as every other conspiracy theory group.