skysight-inc/HackerNews huggingface dataset:
You have to click through to read the assignability rules. A very short summary is that people often create new types based on core types. For example:

type Name string

Now you can define methods on Name:

func (n Name) Foo() { ... }
...
x := Name("Me")
x.Foo()

But, you can't use Name and string interchangeably:

func StringFoo(x string) { ... }
StringFoo(Name("Me")) // does not compile

In the case of generics, maybe you want to write a function that can handle any string:

func Bar[T string](x T) { ... }
Bar(Name("Me"))
Bar("Me")

This doesn't compile, because Name isn't assignable to string. The fix is to declare the type parameter as [T ~string]. (The compile error suggests this, in fact. You can also write string(Name("Me")) but if T were being used as the type of the return value, the returned value would be type string, not type Name.)

In the case of slices, it can be more complicated. These types all seem similar, but aren't the same:

[]string
[]Name
type StringSlice []string
type NameSlice []Name

The idea of the article is figuring out how to write a generic type signature that would accept any of these and return the right type.

Finally, you can rename types and use them interchangeably if you don't want the "safety" of making a new type:

type Name = string

Now you can't write methods on Name, but you can use Name and string interchangably. (This, incidentally, is how "any" works. The package builtin contains "type any = interface{}".)

If the complaint about syntax is not using <T type> to denote type parameters like Java and C++, [] simplifies the parser. You can read the original generics proposal for all the details.
The nvme slot in the studio that is not actually a nvme compatible drive is just egregious garbage.
People used to pay hundreds of dollars for GPS units and hundreds more for annual maps updates before Google entered the picture. There may be alternatives now, but Google Maps absolutely revolutionized the space when it showed up and brought online maps/GPS to regular consumers for the first time.
> Wall switches work fine

Yes but it's nice to have extra functionality.

I use the wireless Hue dimmer switches, the batteries last a long time. I have one on my coffee table... it's nice to dim lights for multiple lamps from the couch, or adjust the colour temperature. My wall switches have no dimming dial, nor do my lamps. I can't go back to non-dimmable lamps.
> Pretty much from day-one the Biden administration was trying to get a new FCC member to the understaffed commission, however with the slimmest possible 51-49 Senate majority it only takes one "blue dog" Democrat (or one heavily reliant on industry donations) to block it all. [0]

They nominated the same person, over and over, who failed to get nominated each time. The failure is totally their fault if they nominate someone who can't get confirmed.

They should have learned to count votes and nominate someone who could get enough.

> That state of affairs continued until the latest attempt finally passed this month. [1]

When they finally nominated someone different, someone who could get confirmed.
> With arms in their hands, the people will not be likely to permit the overthrow of their institutions by the unscrupulous ambition of a civil magistrate or military chieftain. The very fact of their being armed will serve as a check to any arbitrary or forcible invasion of their constitutional rights.

~ Henry Flanders 1860 https://twitter.com/MorosKostas/status/1645290303832858627

> Some tyrannical governments resort to disarming the people, and making it an offence to keep arms, or participate in military parades. In all countries where despots rule with standing armies, the people are not allowed to keep guns and other warlike weapons.

~ Joseph Bartlett Burleigh 1852 https://twitter.com/MorosKostas/status/1645292036277547009

> This provision is so plainly proper that its propriety need not be argued. It will be sufficient to contrast it with the practice of despotic governments, who, while they maintain large standing armies, at all times subservient to their pleasure, will not allow arms in the hands of the common people.

~ Rev. Daniel Parker 1848 https://twitter.com/MorosKostas/status/1645292053784559616

> Right to Bear Arms - To deny the right of citizens to bear arms is a means employed by despotic rulers to enforce arbitrary government. Without such clause, ambitious men might, by the aid of the regular army, overthrow the liberties of the people.

~ Albert E Maltby 1909 https://twitter.com/MorosKostas/status/1645293391234863105

A long thread of many sources: https://threadreaderapp.com/thread/1645290263299117056
It protects the people in the building. Likewise, arresting a serial killer protects anyone they would have killed next.
at least thanks for google offer google drive to me:)
Show HN: Railway.app POC
I built a project to understand different features of Railway. Finally got the time to add documentation and make it public.
Technologies Used: Railway, Bun, Hono, JWT, Typescript, Celery, Python, Redis, PostgresSQL.
I am pretty sure it is limited to the desktop OS.
>Bing and Nokia Here were not that far behind

I can assure you they were. I worked at Microsoft through the entire Windows Phone era and used the devices from the Samsung Focus through the Lumia 950.

They were WAY behind. Traffic data, road closure data, what lane you should be in to make your turn data. Street view, business hours, voice-guided turn by turn navigation - they were way behind in all those areas the entire time and it was heartbreaking. I loved Windows Phone the platform, but maps were at least as strong a reason as apps for me finally giving up.
Apparently hating on homebrew is super popular right now. I run brew on osx and linux and have zero issues.
I understand not fully trusting docker, you have to trust several levels of kernel features and configuration, plus it shits all over your firewall like it owns the place.

Real virtualization is a bit more airtight, though. There have been some escape exploits but they all abused drivers that you wouldn't use heedless (shared folders, VGA, PCIe passthrough), not the virtualization layer. But that's a distinction without a different, really, so good on you for being careful!
VictoriaMetrics is a layer on top of Prometheus from a quick read.

I managed simple alerts just using Prometheus's alert manager and aws's simple mail system, I prefer this simpler approach.
I do the same. Everything “smart” that I need I build myself. Just buy a few esp32 or arduinos and write it up or use it with node red.

It’s not hard if you know a little programming and electronics.

I assume that any smart devices that I can buy are just money machines, made to spy on me, or both.
Hence for example using a clip lead on the bare terminals to turn your HVAC on and off when you feel the need, rather than automating the maintenance of temperature by such unworthy means as a thermostat.
In Atlanta they are definitely theft related. Thieves literally set the stores on fire as part of a shoplifting plot. They did it at target as well. Vine City will reopen because the city promised a police precinct in the store.
I was thinking it was bitter, but you reminded me that there is something sweet about it, it brings us closer to the end of Google. In fact this makes me wonder if it could be half over. https://www.statista.com/statistics/1259275/average-company-...
I agree with your points about Tex as a specific case (I didn't know about improvement made over time before), but let me see if I am understanding how your comment relates to the general point correctly.

Are you saying that "modern" is a fine label because of the hollowing?

- Times change
- Requirements changes
- Expectations change

And that, when something is described as "modern" (compared to its "outdated" predecessors), that's because it tries to address changing times?

I'm not sure that this is true (I don't know one way or another) when it comes to common usages of the word "modern" as applied to software.

I don't think there is any harm in being more precise about what improvements have been made so it's clear to readers/consumers. (My mind doesn't automatically equate "modern" with the things you've listed, and that's likely the case for other people too.)
Google, at least as of a couple years ago, provided chat support and painless warranty replacement on Pixel phones that actually broke.
I use dish soap on my cast iron skillet fairly regularly, and it does ruin my ability to fry an egg, at least until I smoke off some oil again.
Well, you already skipped the better alternative. Lutron or crestron.
Fully agreed. And everything that you say in that last paragraph is just as true today as it was then, at least in the US. We do not have a good strategy in place for taking care of all of these displaced people, and society in general will suffer for it.
I while back I read a study, can't find it, that said that English majors turn out to be top programmers. I suspect their ability to understand the nuances of the language gives them an advantage as programmers. Plus the English language is infinitely more complex than any computer language so they are able to pick it up and how to use it to accomplish a task.

I suspect that some non-CS majors might seem better simply because they have a great task they want to accomplish so they work hard to accomplish it so that drive makes them stand out but like any set of people you get great programmers and not so great ones.
To a certain extent yes, but really no.

Tailwind is basically just a DSL for CSS. You write these Tailwind classes like "pl-4" or "items-center" and the compiler converts these into real CSS like "padding-left: 16px" or "align-items: center". You can even write arbitrary CSS using square brackets, although the syntax starts getting a bit messier: "pl-[33%]" will convert to "padding-left: 33%", so you really can use whatever arbitrary units and styles you want. So no, it's not particularly like Bootstrap, because Bootstrap is a set of predetermined base styles and components, whereas Tailwind is just a DSL for doing whatever you want to do in CSS but in a different syntax.

There is a similarity in that Tailwind provides a number of default lengths, colours, etc for you to use - the "2" in "p-2". These can be used as-is, although in most serious projects, you'll end up adjusting these based on the standard widths coming from your designer. So for example, you might have a 5px scale, in which p-1 represents a scale of 5px, p-2 is 10px, etc. In this sense, Tailwind is reminiscent of CSS frameworks like Bootstrap, but it's more similar to using CSS variables, or having a set of SCSS theme variables - you can use these values in a variety of ways, and there's always the opportunity to just use the raw CSS value syntax with the square brackets.

Specifically with the grid example, Tailwind doesn't come with any grid baked in, but you can easily access flexbox (e.g. "flex flex-column items-end" for a vertical flex with items aligned at the end), or CSS grid as you need them, so you're using all the tricks of modern CSS that you'd expect, including very flexible, resizeable layouts.

It really helps to think of Tailwind as just a DSL for CSS-in-HTML. Anything you can write with CSS, you can write with Tailwind, just differently. As to whether you need that DSL, it mainly comes down to how separate you want your CSS from your templates. In my experience, the further away my CSS is from my templates, the more like spaghetti they become, so keeping them close together helps a lot. And for deduplication, I can just use whatever tools I was using to deduplicate my HTML - partials, components, loops, etc.

(That said, I tend to find that I prefer writing CSS modules, although I do tend to create lots of utility classes there so that I can have consistent padding widths/colours, etc, so my CSS tends to have a bit of a Tailwind vibe to it.)
My Windows and Linux boxes have been stable for the 25 years I've been using them too.

But what do I know, I'm just a personal anecdote.
https://i.imgur.com/RfFM4cr.jpg
the issue i found is that you have to basically rebuild your basic unix network tools from the ground up, including ssl and curl and so forth, because the TLS version used by the builtins on 10.old.whatever, not to mention the certificates, no longer work with modern websites and FTP sites are slowly dying off. then you have to figure out which version of those tools are compatible with each other and with 10.version.you.are.using

there are a lot of scripts out there to mitigate this but the boot-strapping is always a bit of a bother. like the script i wrote, my first instruction was "So... you go download chrome for 10.x for PPC... you can find it here in the old forgotten wasteland of google on a deserted old site that might not exist much longer... and by the way this is not secure at all"

like, you just cannot do this securely. cellularmitosis has made leopard.sh linked below, of course the first step is to download from an http site.

its kind of one of those things that have changed about the web, the cultural shock.... nowdays basically so much is based on an account, or at the very least ssl. back then nobody gave a **.

so to actually use a g5 on the modern web, like ... can you log into a video site to watch a video? well only if you dont care about being hacked when you type in your user id and password to the video site. can you shop? only if you dont care about being hacked. same.. can you browse literally anything? google will constantly harass you into logging in. so will basically everything else. and if you dont your experience will suck.

can you... write code for a g5 and try to back port modern algorithms to it? sure just log in to .. .github... on your.. insecure machine that could easily be hacked. and lose your github account to hackers. then you can cry about it after you login to social media. on your hacked account. so maybe not. then you can post about it on hacker news... where of course your account has been hacked by a keylogger.

if your machine doesnt crash because someone installed a bitcoin miner into it, or a tor node, or bittorrent or god knows what that could get you arrested.

the modern web is just such a pile of degenerate criminality and scammers and thieves and robbers, not to mention the spy agencies of various governments, that basically that is the main thing driving old systems off of it. its not that its not possible to optimize code or write new code for old platforms. its that the basic machine running an old OS is compromised at a fundamental level, open to the world for exploitation if you dare to type anything into it that is the least bit private or confidential, and its connected online.
It's difficult for me to celebrate what this company has become.
> to be retrievable in a definite order, usually the order of insertion.

always has an oder, which is usually of insertion.
>Blaming the entire economic system is a great way to stop marginal reforms. Perfect is the enemy of the good.

You have my interest: what marginal reforms would prevent a multinational conglomerate from enshittifying lightbulbs? Would you change the management structure? The ownership structure? You’d think an huge institution with the momentum Philips has would be able to resist the kind of “growth hacking” this article is complaining about, but that’s empirically not the case. If you were god for a day how would you restructure Philips Hue? (I’m digging for a heartfelt rant because I really don’t have a good answer here.)
what is the biggest barrier to moving to the second option, customers?
Sort of, but it's pretty blunt. You can select between a few different English corpuses, but it's basically fiction versus everything, not more fine than that.
Yes this was the prevailing view pre-20th century. https://threadreaderapp.com/thread/1645290263299117056
This is absolutely correct, in my view. I spent the last 4 years trying to bootstrap with a partner. I’ve kept up the day job to keep the lights on, and provide some limited support to my partner whilst they commit 100% to writing code. They are a junior developer, so there was a lot of learning, and slow going, which was fine and accounted for.

Product 1 was a coding tool for a low/no code system that is really very good and provides amazing functionality, but most devs (the target audience, really) are - unsurprisingly - put off by the GUI based approach. We built a tool that allows developers to drive the platform using a DSL we developed. This was built based off the IntelliJ community edition platform.

The majority of the two years time we worked on this was spent on polish, and there was no end in sight. It is functional and really fills a solid niche, but the product is not something I would consider ready for production use by other developers. Given the amount of work left to be done, the possibly imited target market even when finished, and the growing realisation that to make this profitable we’d have to go enterprise B2B (again a massive hurdle) we left it at that, and started looking at something else to build. We spent a year on product 2, think saltstack, but better, but my partner was already on their last legs, emotionally and financially, and they called it quits a few weeks before v1.0 of product 2, leaving me in a position where the product is nearly there, but we are unable to cross the finish line on account of me not being able to quit my job and work on this full time. It is beyond frustrating.

In hindsight, there are many things I could have done different or better, but bootstrapping is hard for anything but the simplest products. I have two major products that are totally cool but unfinished due to the need for polish, life altering bills left over from this adventure, and I am facing a job/project market that is aggressively ageist (I’m officially an Old) and no outlook on better professional and financial prospects (boo-hoo, poor me, I know).
If they get declared a gatekeeper, yes. Until then it doesn't apply.

I'm not sure they meet the requirements of being a gatekeeper. One of the requirements for example is 45 million monthly active users in the EU. According to Microsoft, Xbox is only at 4 million:

https://support.microsoft.com/en-us/account-billing/informat...

Playstation and Nintendo might be more popular, but 10x more popular? Even the Switch has only sold 6x the Xbox Series consoles.
https://en.wikipedia.org/wiki/Lightning_rod
https://en.wikipedia.org/wiki/Static_wick
We know about automation, I’m talking about the farming is a horrible existence story?
Norway sits on an ocean of oil that they use to prop up their economy.

> socialism is bad, let's go for the polar opposite and make the poor poorer and the rich richer

The US free market moved scores of millions of dirt poor immigrants into the middle class and beyond.
Current Survey of Clifford Geometric Algebra Applications (2022) [pdf]
That's great until homebrew breaks in some fucked up way (which a few years ago it used to do often), or they break a package (ditto) and you try to report that to them, and they act like insufferable little shits back (and don't fix the problem.)

It reminds me of my boss emailing gnu.org to tell them one of their mirrors was down and got a nastygram back that said "It's spelled GNU/Linux" and the mirror went unfixed.
Yes. And I think that is why the Dutch are still selling to them (contrary to what they promised the us); cutting them off from asml duv at this point won’t do any damage other than to asml.
> It has been the most important thing since the dawn of human civilization

Technically this is appeal to tradition. Certainly it's true that our various worldly cultures are strongly influenced by this idea, but factually speaking... before paternity tests, there was literally no way to know for men if a child was their paternal child, especially in societies with very little physical attribute variance. Therefore , it's not really true that "it's the most important thing," because we've never been able to tell for certainty who a child's father is until very recently. Even with physical attributes, our knowledge of genetics is relatively recent in human history, so there's probably lots of false positives / negatives (with hair or eye color for example).

> What if someone just dropped off a random child at your doorstep and tells you you’re responsible for its upbringing now.

This doesn't make sense in the context, is this a red herring or a strawman or similar? I believe the discussions is around situations that would normally involve a paternity test, which to me all essentially double checking whether a woman could have been impregnated by some other person than the expectant father.
I can get mutton from my local Inala butchers earlier this month, slow cooked for a full day. I never though they were specialty.
I remember using Google Chrome as a way to fight the Microsoft's IE monopoly. Now I'm using Firefox for similar reasons
There are a bunch of like $10 rando lights that come with a remote, including hue and brightness (not contrast or saturation though).
It has, but by then they'd already lost many users.
> they decide when they want to change it

Not only when, but the changes they make are almost universally a rewriting of the assumptions at time of purchase, where you lose.
Pointing people at the spec is probably the best decision the Go team ever made. Why wonder about things when you can have true authority in an honestly very short piece of text? No guessing, just an exact description of what's going to happen.

(I was in there recently reading about operator precedence recently and discovered an operator I didn't know existed, "bit clear (AND NOT)", &^. Amusingly, I needed to do that operation but wasn't sure if I needed parentheses for X & (^Y) or not. I still don't know why it's a dedicated operator, however. The spec rarely says WHY, just WHAT.)
That's much better than Google Podcasts, thanks!
Thank you, your feedback help me alot @theamk. The document, term `free`, `forever` will be fixed.
At the first point of view, I want to create a tool which can help our team run the bash script easier, faster, safer, with clearly reports, so I build rfsh, free for usage. You can input a .csv file, a bash script .template file, rfsh will take care the rest.
Please let me know in-case there have anything else you think I should do for improvement.
They took a chance on mapping and photographing damn near every road on the planet. They had a huge number of business/restaurant locations marked on the map which you could search for.
They were the first to have great turn by turn directions that rerouted if you make a wrong turn (this existed but the user experience sucked and they had to be manually updated when roads changed).

They created Google Earth which was _mindblowing_ at the time.

They didn't invent it but they advanced it so much farther and faster that they might as well have.
Calculating story points based on the size of the t-shirt you're wearing that day might actually yield more realistic results. In my case every story would become an XL! :)