skysight-inc/HackerNews huggingface dataset:
The company I work at has an internal yum repository that we use for application and certain application dependenices. It's worked reasonably well for us, mainly because we stick with using dependencies provided through the internal or public yum repositories or some other public external yum repositories if a particular dependency is not available otherwise.

I'm sure a similar solution could also work with apt.
Finally! I honestly think that any statically-typed language without some minimal facility for generics - even C macros will do - isn't fit for purpose. I used Java and C# before the generics were introduced and you can't pay me enough to go back to that.
Popper is clear. He’s not willing to extend tolerance to completely intolerant people.
I see this like Delta Faucets and Delta Airlines. I've never had any trouble thinking of one when I meant the other, and I suspect the same is true here.
United takes 24 Boeing 777s out of service as the FAA orders inspections
Okay so what’s the “free speech” principle that demands sending in the government to force those websites to publish against their will?
The show is very loosely related, as rather than a nuclear war the ship takes part in, there's a pandemic that devastates the world that the ship is coincidentally protected from by isolation.
Yeah I agree with this. Go is awesome but pretty complicated. Channels still break my brain every time I use them.
I don't believe there is sufficient evidence for mass casualties, but the OP is arguing a different tack: they're saying that we have evidence for forced sterilization and targeted oppression of the Uyghur culture, which by their sources can be construed as genocide.
Yeah, as a TV show it would almost be an anthology series. Lots of little vignettes told in the same continuity with totally different casts.
https://open.spotify.com/artist/3BYSJ9i8xIlXO9ebJO9Yv9?si=2y... I’m going to try submithub with my music starting tomorrow. I currently sit at 3 listeners this month. So we will see what happens.
https://en.wikipedia.org/wiki/Thucydides_Trap
The algebra was tedious because for example, the very second thing you prove in the tutorial is that addition is associative. If you were teaching this to humans you would then immediately tell them that you now can omit parentheses because you have an algorithm to re-parenthesize however you want.

But instead, for entire rest of the tutorial, you had to manually rewrite every single parenthesis yourself (with syntax that is pretty unergonomic for doing so too).

I guess I found it a little disappointing that it's not easy to instruct it on how to fill in gaps so you can skip steps the same way you would in a human proof (which would only need a note saying that you're using associativity and parens are omitted thereafter, and any human reader will accept that as valid)
> The sanctions on SMIC were imposed by the US which incentivized a stock piling and cut global supply.

No... SMIC was making a great deal of 200mm business, possibly the biggest 200mm foundry.

A lot of those decades old automotive ICs were fabbed there for the proximity to assembly lines, and tarriff avoidance.
API vs. SDK explained in restaurant terms
We will never have anything if we decide only perfect things are allowed to exist.

Its not the best example but even our country/state/local level justice system has cases where it fails. In addition to judges actually making incorrect verdicts, there are many ills that cause this - eg. Police not following procedures, poor people not having the money to right wrongs by appealing decisions, being bullied or scared into pleas etc.

That does not mean we should not have a justice system at all. Just like us, the systems we build are not perfect. That does not mean they should not exist. There is immense value in the valley between non existent and perfect.
> by their calculations that security requires (forcefully) integrating the Uighur people into Chinese culture and nationalism

Of course this won't work. People prefer the freedom to work on what they want, and they contribute more to GDP when given that freedom.
Yeah, you're definitely paying a premium for them handling smaller quantities, end-to-end, in one easy tool. IBKR requires knowledge of Forex trading, but is hands down the cheapest and fastest solution - for those that are able to work it. To be fair, that describes basically all of IBKR.

It's still mind-blowing to think IBKR charges $20 per million, when the airport Travelex will charge you $20 per hundred lol.
If I had seen the movie before reading the book, I think I would have enjoyed both, maybe the problem was our high expectations.
Order Amid Chaos: A poet-scientist considers the imponderables of existence
Sounds like you're thinking of non-FRS, non-FCC-licensed radios? Top Amazon results for "Baofeng FRS" here are the GT-22 and BF-88ST. Both are FCC certified, e.g. FCC ID 2AJGM-BF88ST. No VFO, UHF only. You turn it on and you're stuck on FRS freqs.

(It seems to me that the Baofeng danger-danger straw man gets larger by the day but it's still straw, and unfair given that licensing is done and specs are met.)
> There were no computer science classes in high school in America when I went 10 years ago.

To be fair, this is a function of the high school you went to. AP Computer Science has existed in some format since the 80s.

"The College Board added computer science to the Advanced Placement Program in the 1983-84 academic year; as the discipline has evolved, the AP Computer Science course and exams have also changed."

https://secure-media.collegeboard.org/apc/ap07_compsci_teach...
This might be wrong but can't you use cython and then compile python to speed it up? Obviously won't be as fast as Go but seems like it can have speed ups
Conversely, I think go can be pushed as an easy language. In large, whether a language is "easy" seems dominated by perception.

That is, most things that are "hard" have a reputation as being hard by non practitioners.

Which isn't to say that empirically it is clear some languages make some errors easier to make.
Do you write about every cool stuff you come across here?
> By doing so you'll be able to see that the US Navy is strategically positioned to defend international trade against any kind of blockade that an enemy would try to pull up in a strategic chokepoint

What is "international" trade these days. It's trade in between two countries, yours, and China.

To blockade anybody economically, China just needs to put an embargo.
I don't gamble, but I am tempted by the long bet suggestion.

I have a hard time seeing how we'd define a shared criteria for what constitutes "skilled actor", as well as "good writing".

I wouldn't be surprised if you could automate things like soap operas pretty convincingly.

I would be shocked if software managed to produce something as compelling as The Expanse without extensive, nuanced human control of it.

Just how automated are you aiming for? What level of literary quality is your goal here?

At heart I'm a musician and minor lit nerd who learned to program instead of following my passions because it was a good career that used creative skills. That means I have Opinions on literature and artwork. I love generative algorithmic stuff like procedural C64 demos and generative compositions but don't see a way to achieve great automated storytelling without cracking general AI, which I see as likely unachievable.
100%, being productive is addicting and fun. Laboring through for-loops 80th time in a the day is something for sadist purists, not me.

As a non-expert at Go, I would have loved classic OOP + batteries included Python and remove the curly braces. Perfect.
Nonsense. In the US you have to just click another link to find viewpoints not represented on the website you’re currently at. In China you have to use a VPN to view blocked content. As an American I’m ashamed of my fellow Americans who don’t understand this.
I’m not sure the US has been applying what we’ve learned, if we’ve learned anything at all. There’s no follow through on restrictions, people have been travelling and partying, etc...
Hospitals are still overwhelmed in some cities, health care workers are tired and over-worked, etc... There isn’t enough political capital to end the pandemic or to provide meaningful economic support, so we’re left picking up the pieces of both at the same time.
yes, that is awesome! thank you!
Have you looked at Nim? Python-like syntax, compiles to C, and a considerably sized stdlib (http, parsing, channels)

https://nim-lang.org/
Linear search if it's not sorted. If it's sorted binary search will be much faster. So you need a flag for the function to tell it to use one of the two. This is why writing generic functions can be tricky. Programmers may use something inefficient just because it makes their lives easier.
> If someone tries to dismiss an opinion by calling someone a "privileged white male" how would that be any better than dismissing someone's opinion for being black?

It would depend on the content and context of the opinion itself, no? Why not just ask the dismissing person why they say that? We’ve come to the point where we generalize and characterize instead of understanding, then simply disagreeing.

> Yet in today’s society we know which one would be acceptable. As long as it’s shitting on a white person or a male you’re good to go.

White men are getting shat on but still represent or control nearly all economic and political interests (at least in U.S. and it’s empire). I’m really curious to why you feel this way? It’s not like women and Black people have been getting a pass in exchange. I just think social media has made it easier for white men to be (or feel like) targets of vitriolic, but protected speech. Welcome to the club.

From my perspective, it seems in finance, real estate and politics, going along with the “privileged white male” perception (even if an untrue of the person in question) still seems like the best way to take advantage of markets and institutions. And I suspect that’s why, given a megaphone and platform, everyone else is piling on.
I cannot reproduce this behavior; I see the complete FQDN in the reply when I run the commands you specify.

I do, however, note that, in the -X part of the tcpdump output, the periods between labels are not really ASCII period characters, but simply displayed that way by tcpdump; these are in fact byte counts for the label lengths, which, since all the individual labels are below 32 characters in length, makes these bytes ASCII non-printing control characters, which tcpdump then displays as periods.

In another comment, eknshow writes¹ that DNS labels can either be specified inline with a byte count (as described above), or can be a pointer to another set of bytes. Could this be what you are seeing? That is, could the domain part be present, but specified as pointers and therefore not be obvious in the tcpdump output? One would have to carefully examine the raw bytes to be sure.

1. https://news.ycombinator.com/item?id=26217913
As shown in the example, this tool hides/protects the python source code from the target user by replacing with the compiled shared library.

wheel/wheelfile.py
->
wheelfile.cpython-38-darwin.so

Such obfuscation process is handled by Cython.
This one, maybe? https://xkcd.com/810/
You may enjoy working with Nim.

Its main drawback is the small number of native libraries available for it, but wrapping and using existing libraries from other languages is a walk in the park.

https://nim-lang.org/
How I use neovim for note-taking
> The cost imposed is proportional to the fee, since the fee has to pay for the electricity used to mine the transaction.

No. Miners get rewards for mining blocks, which pay for 80%. Transaction fees don't pay for the electricity used in a transaction: not even close.

> If you believe the electricity consumption in general has huge externalities

Well, sure, I believe that electricity is artificially cheap. I also believe that spending $50+ of electricity per transaction done is absolutely nuts. And that amount is steadily increasing...
It isn't nebulous. In China you and your family disappear if you criticize the CCP, even if you do so while overseas. Elsewhere you may speak your mind without fear of being locked up or killed.
to get traction, look for groups that like to play scavenger hunts. also contact the openstreetmap community and public transport enthusiasts. you should find some people interested in doing something with this.
But I don’t need to worry about either. My OS vendor distributes it and I trust their distribution model. My printer has no say at all.
Walk When You Walk
> Python libraries should not pin dependencies. _Applications_ can pin dependencies, including all recursive dependencies of their libraries.

This is essentially what we do where I work. When we maked a tagged release, we will create a new virtual environment, run a pip install, run all the tests and then run pip freeze. The output of pip freeze is what we use for the install_requires parameter in the setup method in setup.py.

That said, a library could certainly could update their old releases with a patch release and specify a <= requirement on a particular dependency when versions newer than that no longer work. That said, it would be a bit of work since indirect dependencies would also have to be accounted for as well.
It's not that it is a personal attack, it's more that I expect more talk about the actual architecture and infrastructure behind the topic versus making it a political topic.

I didn't notice them providing any statistics in regards to the racial issues. All I noticed was anecdotal evidence and an incredibly biased account of a single police encounter that happened back in 2014. They are using one guys story and a single incident involving police in order to talk about the negatives it had on other races. These are bold claims with little backing given.

This is why I don't like when podcasts like this try and tackle these issues. Because they end up being incredibly biased and one-sided. They didn't provide the whole story on the police incident, nor did they provide any other points of views or statistic on the racial issues they mentioned.

I like hearing well-researched and articulated pieces about racial inequality. What I don't like is hearing a biased opinion/anecdote filled podcast episode about it.

It seems every Podcast I listen to now always has some weird need to make it political. This never used to be the case even just a couple years ago. Now we even see sporting programs taking sides in politics and it just seems so unnecessary.

I often spend too much time deep into the weeds on these kinds of topics much like I am now. Sometimes I just want to consume some media without politics being involved. However it rarely seems like I am able to anymore. Even TV shows I watch now are starting to feel ruined and lack the good script writing they used to in favour of shoehorning whatever current PC thing is trending.
How does a Result type making error handling easier? More reliable, sure, I buy that. But I write a bit of Rust these days, and error handling is definitely not easier. It's actually kind of an enormous pain in the ass, and it certainly seems to involve more lines of code than it does in Go (not just in my code, but in all the libraries I've read).
Well USD is fundamentally worth $1. Really the most fundamental of all.
Do you know how he makes such precise curved folds? I'm no expert, but love me some origami and I can't believe that I'd be able to get folds to turn out like that. Anything I would attempt would invariably have little sub-creases instead of a smooth fold.
I’m not rated for a specific interval with only one leg, though. I’d really like to know how an aircraft gets certified for six hours and not, say, six and a half.
Yes exactly. Either you're "with" the mob or you're getting mobbed. The word police and thought police are in full force on sites like Twitter and reddit now.
What an odd reply. Gwern doesn't really talk about the attributes of "the Absolute" in this post. He explains why computational complexity arguments against the possibility of smarter-than-human AIs fail. I have read several of your comments about AI, and never once have I felt that you engaged with the substance of the arguments. This seems to be no exception.
“Everything should be made as simple as possible, but no simpler.” I’ve often felt Go went too far trying to make everything simple, to the point that it’s wrapped around and made things complex.
Another story I can't validate, is that most of the EEC (at the time) agreed that if there was any attempt by NATO forces to arm and deploy the bombs held inside the european territory and they hadn't agreed, they'd seize them.

Basically, first-strike was a posture in public. The real question was "who commanded it"
Cell site visualization tool featured on HN front page a few days ago shows thousands of 2g and 3g sites in NYC

https://alpercinar.com/open-cell-id/
As much as I don't personally enjoy writing Go. This is a huge benefit. There's a decent amount of conformity around the "right way" of doing things. I'll admit, it has definitely made me consider my approach to solving problems in other languages much simpler. I'm not back to writing loops in JavaScript when I use it. It really bugs the functional programming folks but... no one can argue that it's readable, and it's pretty fast.
>Boeing designing flight critical systems.

737 Max.
FDR/senior government and military officials in the US army knew. They made choices to focus on American interests at multiple points, even as they closed on victory on the European front, they prioritized strategic targets over concentration camps. The USSR ended up being the one to free most of the camps, and conquer most of Germany. Strategic targets are definitely important for protecting soldiers, but really the point here is that the military leaders were aware, and the fact the soldiers were surprised/shocked is a result of them not being informed and/or it being a shocking thing to see even when you know it’s coming.
I don't know how people don't see the irony. This is introducing race into a non-racial game.
I don't think that the claim has ever been that Go is especially easy to program in; it's about as good as any other mainstream language for expressing logic. It's that Go is simple enough that the language gets out of your way really quickly.

I think the article kind of got the idea midway through, at "I think most programmers can figure out what the above does even without prior Go experience". Yes. That's the idea.
Thanks, Nim looks extremely interesting. Anyone here used Nim in production?
That's a fair point. The big problem I see with "lots of exciting live events at any time", and I agree this is not everyone's perspective, is how I am again confronted with a curation dilemma. Need someone to vet the content (reviews, ratings etc) to help me choose, and it's still a pain. With live content, review of content before consumption is no longer possible. I guess new forms of creator review could come up. I really liked this perspective that takes a broader historical look at oral culture https://zeynep.substack.com/p/the-clubhouse-app-and-the-rise... [ still not convinced live can scale, but maybe less o :) ]
Swift could be interesting for you. Modern syntax, easy to use, performant.
Not too bad. I limit players in a first game to 5 or 7, so that we didn't have to use the two hardest races but the Eni Et and Unity are either both in, or neither. (Eni Et interest converters work best with Unity grey cubes; without them, both races are a little behind.) The game took a little while, but it wasn't terrible. I definitely recommend it when people are interested.
https://www.un.org/en/genocideprevention/genocide.shtml

Article II b: Causing serious bodily or mental harm to members of the group;

Article II d: Imposing measures intended to prevent births within the group;
I have looked into it and I don't find that at all. I agree that solar and wind are more profitable in the short term, and they fit the private-equity model of funding much better than Nuclear. That has nothing to do with engineering and technology, nor about what the actual best long-term solution for securing our energy needs is.

Even if Wind/Solar-only was viable (it's not), available everywhere (it's not), and substantially cheaper over the lifetime of the plants (it's competitive) it would not make sense to rely only on wind and solar. Besides the intermittency, it still takes 3.125MM solar panels for a 1GW plant according to the USDOE. By my math, that requires 1,400 acres of land just for the space the panels cover. Even if you improve on that, you are still talking about ~1,000 acres. And we'd need to build over-capacity to charge the batteries (more mining-intensive materials) for when power generation is low, it would require 2-4x the land.

That's a LOT of land! It would still make sense to me to replace NatGas with cheap, carbon-free nuclear power and it's small physical footprint.
Does Ruby track that a list is already sorted? If not, you are still adding cognitive overhead for the programmer to track it
I'm just learning Go myself, where can I learn or reference these popular patterns that have emerged over the past few years?
I think anyone can agree with the author that Go definitely lacks conveniences you're used to in other modern languages.

I just think we also tend to dramatize how much that matters.

I also think Go's benefit really is that it's simple and that you have very few tools that let you do anything other than focusing on solving your problem, and like the author I do think goroutines are the exception to that.

Where I work, we don't even use them. We use plain ol' mutexes instead.

When coming from higher level languages, Go does feel frustrating. In Javascript, you're writing `const [a, b, c] = await Promise.all([x(), y(), z()])`. In Go, you're writing 40 lines of WaitGroup code. It's easy to go ughhh.

But I think a nice way to appreciate Go's conservative middleground is to go back to writing some C/C++ code for a while, like some Arduino projects. Coming from that direction, Go feels like a nice incremental improvement that doesn't try to do too much (with perhaps the exception of goroutines).

Go's performance is also particularly stand-out which makes up for many of its convenience shortcomings. It's fast enough that I've written some code in Go where I would have written C not long ago. And writing C involves quite a bit more concessions than what Go gives you, so in comparison, Go kinda spoils you.

Go has plenty of annoyances too though. Not having any dev vs prod build distinction is annoying. Giving maps a runtime penalty of random iteration in order just to punish devs who don't read docs is annoying. It's annoying to have crappy implementations of things like html templating in the stdlib which steal thunder from better 3rd party libs. Not being able to shadow vars is annoying. `val, err :=` vs `val, err =` is annoying when it swivels on whether `err` has been assigned yet or not, a footgun related to the inability to shadow vars. etc. etc.

But it's too easy to overdramatize things.
>2. The use of fibers/coroutines as built-in error boundaries. This is such a pleasant natural extension to the Erlang proposal I find myself wondering why so few of the languages I'm familiar with have taken the same approach. Presumably I need to get out more.

This is done in Lua, although it has a divergence between `pcall()` and `coroutine.wrap()`.