Better HN
topnewbestaskshowjobs
Log inSign up

CSSer

2,366 karma · joined Mar 15, 2019 (7y ago) · 973 submissions

Sometimes fascinated by pieces of cheese
Submissions

comment 4y ago · link · parent

You taught me a new word today. Props for creative use in context too, I might add.

comment 4y ago · link · parent

I’m not sure that’s the point. I think it’s more about minimizing costs. The rest is just part of the opportunity cost.

comment 4y ago · link · parent

Now I want my new job title to be string interpolation theorist.

comment 4y ago · link · parent

Deep questions about data structures and sorting algorithms that are perfectly addressed by the standard library in JS iirc. I understand that virtually anything in CS is or can be relevant, especially for such a competitive role. I don't think one should limit their knowledge wholly to a specific domain, but it seemed like there was so much emphasis put on these kinds of concepts that there was very little time left to put emphasis on things that actually might be relevant in the day to day. Beyond that though, I can't say. That's all I got out of it.

comment 4y ago · link · parent

Committed to, actually. He made a video about how they were going to start doing it more: https://youtu.be/fHsa9DqmId8?t=1035. Also, more recently: https://www.youtube.com/watch?v=S2xHZPH5Sng.

comment 4y ago · link · parent

Maybe, that's true. There were more details that led to the impression but it's been too long ago now for me to remember them all.

comment 4y ago · link · parent

Can confirm. We do something like this (2 days in, 3 days remote). We have one mandatory day and then each team has a designated day where their whole team is present. I never minded going into the office anyway because I live in a fairly small apartment, so it's nice to have dedicated space away from home. The only downside I've experienced so far is that the all-teams day can be very chaotic, with more disruptions than ever before because everyone tries to plan everything that is more than a little involved for that day.

comment 4y ago · link · parent

They seem very rooted in the past for lots of ideas, which is ironic given the image and culture they try to project. For example, I've heard at least one story of someone being asked lots of irrelevant CS questions for a front-end role when they interviewed there. He did fine, but he said he felt like the interview somehow felt fifteen years out of date, which really stuck with me.

comment 4y ago · link · parent

Yes, but they're your repos, not an organization's. I'm certainly not going to question your self-knowledge. You may know that, and if you work with one or a couple other people closely they might know that too. The challenge is when you grow beyond that or don't always have the chance to communicate about these types of things, especially when they seem very obvious but might not be.

comment 4y ago · link · parent

You never know where that repo is going to go. It could be private today and public tomorrow with a totally different license. Git should be thought of as sticky in the sense that it's intentionally designed to preserve a history of everything for all time in the most efficient way possible. Anyone who's ever had to scrub an API key they accidentally pushed or optimize a monorepo can attest to this.

comment 4y ago · link · parent

What mechanisms are in place to prevent an employee from doing so? We have so many people in the industry now that it's hard to keep up with this stuff. To be fair, Github has all the ingredients necessary to be a giant, gaping security liability. It's a "secure" platform built around software designed for sharing. That sentence alone has a ton of baggage in it. I'm not even trying to diss Github either.

comment 4y ago · link · parent

No, I expect to pay for the cartridges as I use them.

comment 4y ago · link · parent

First, this sounds really cool! I was really into the idea until I got to here:

> Cana will automatically replace ingredient cartridges (which should each last around a month) as needed at no cost. However, you'll pay for the device's concoctions on a per-drink basis. Each will cost between 29 cents and $3, though Cana claims the average price will be lower than bottled beverages at retailers. The system also requires sugar and spirits cartridges — both of which are replaced automatically — and a CO2 cylinder.

I was initially hesitant about the prospect of proprietary lock-in and oh dear was I right to be. By "automatically" I assume they mean, "this requires a network connection and runs the risk of becoming a $500-$800 paperweight," and frankly, the idea of paying varying prices for each drink just sounds bizarre and unjustified. If the technology in this thing is so novel, surely they have enough control over their IP that there's no need for this kind of pricing model or lock-in. I could, of course, be missing something of my own accord, but it feels like they're trying to hide or obfuscate something.

comment 4y ago · link · parent

Is a commodity network a local network?

comment 4y ago · link · parent

Why can’t we solve this problem by forcing users to provide checksums? It’s particularly damning that Microsoft owns Github and Npm for their own strategic purposes and do nothing to mitigate the fact that source code hosted on Github can differ drastically from the compiled code in the registry.

comment 4y ago · link · parent

I found a bug. If you visit a page with a REPL, the REPL will always use the dark mode style on a subsequent visit regardless of the saved theme value in localStorage. To see this in action visit this page[0], toggle the theme to light (or dark and back again), and then do a refresh. When you toggle the theme to light, the REPL will update accordingly, but this doesn't persist after the refresh. Anyone know who I should tell about this?

[0]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

Correction: it only stays dark for me because my initial visit used dark mode. If your initial visit uses light mode, it will stay light even if you later choose dark mode.

comment 4y ago · link · parent

Can't be 100% certain, but GP is probably referring to Germany's reliance on Russian natural gas. They get at least half of their natural gas from Russia. Due to this, Germany was dragging their feet on taking action, hence the reluctance. However, they snapped out of this once things really kicked off[0].

[0]: https://www.reuters.com/business/energy/germanys-scholz-halt...

comment 4y ago · link · parent

Just out of curiosity, why do you feel that php is well suited for the model?

comment 4y ago · link · parent

I took four semesters of French in undergrad (U.S.) from zero knowledge. I went to a small, rural high school that only had the budget for a Spanish teacher. I decided I would've preferred French had I been given the choice so I switched when I made it to college.

I met and in some ways exceeded the level of proficiency the author noted. In a lot of ways, this was out of necessity because I would've otherwise been quickly left behind. Based on what the author shared about his own proficiency, I suspect the primary difference for me is grammatical. Ironically, this whole endeavor improved my English grammar too. I had teachers that consistently emphasized "correct French", graded everything I wrote, and then gave me thorough feedback. It seems like this made a big difference. I also peppered my instructors with questions about native slang and speech patterns I noticed in my personal practice/exploration. In response, they did a combination of humoring me with answers and guiding me towards what I needed to know first for those concepts to make sense later. I think this helped a lot because the native 'shortcuts' I learned later made much more sense in context than when I had first heard them.

All that being said, if I wrote up my own list of resources or recapped what I did to practice in my free time it would eerily match this. We consumed most of the same media, used the same practice tools, and even used the same references right down to the method of lookup (setting up the search engines), so there's no question in my mind it's possible to find and utilize resources that get you very far in your own time. I wonder if he has considered that someone learning a language in school should take advantage of all of these tools too.

> I firmly believe that learning languages in school, especially in the United States, is generally extremely inefficient. If you struggled learning a language in school, don’t let that affect your confidence with learning a new language now. If you practice intelligently, you can learn much more effectively on your own. You get to avoid doing redundant work that isn’t helping you, and you can spend much more time getting 1-on-1 speaking time with teachers who put all their focus lessons on you.

It's obvious to me he succeeded due to dedication (and his own account supports this), yet he moves so quickly to condemn the system with only anecdotal evidence. There's no doubt it's not perfect, but couldn't it possibly be that some students simply take French in school to meet a separate requirement and don't really care about learning a language? This was certainly my experience in Undergrad. It was no loss to me as it just freed up more of the teacher's time for my benefit. It also seems like I managed to avoid some of his frustrations in the process based on the experiences I noted above e.g. with finding adequate instructors. Overall, I applaud him for his achievements. I'm just not sure I'm ready to so quickly support this kind of conclusion. Institutions and learning are certainly changing, but it remains to be seen what shape that will take.

comment 4y ago · link · parent

I'd bust out laughing if I heard this in a stall.

comment 4y ago · link · parent

I think we might be hugging it to death. Oops.

comment 4y ago · link · parent

> Google... has shifted to using its Chrome browser to track online activities.

I really wish they were more specific about some of these claims.

comment 4y ago · link · parent

This is a weird article to me. I somehow agree with the conclusion but disagree with all of its points.

Unless my memory is failing me (possible, it’s late), it straw mans the article it’s referencing by implying Reddit would want to do something like that anyway. It also fails to offer a compelling narrative for what makes Reddit good to me because frankly, and I feel that a lot of people seem to be overlooking this here too, Reddit has plenty of its own problems.

Reddit is owned by Condé Nast and is largely used as a content mill to prop up its existing properties. Reddit is dominated by the Pareto principle. 80% of its content is generated by a very small subset of users. Reddit doesn’t have the best track record for free expression. Many subreddits have crazy moderators that volunteer for some Machiavellian rush and use their power to stifle or twist the narrative of public sentiment. Reddit doesn’t want to kill the golden goose, so when this kind of controversy arises or when controversial subreddits crop up they kill it with fire to protect their investment. Lastly, Reddit users more than half a decade ago were already lambasting the amount of corporate shilling and guerilla advertising that takes place on Reddit daily. A lot of this is, in fact, orchestrated by those users I mentioned who produce 80% of the content because yes, they have discovered a financial incentive to do so.

I wouldn’t deny that Reddit has any sincere users any more than I would deny that we have any sincere users here (I’m certainly not getting paid for this), but I’ve been a bit perturbed by the amount of whitewashed, positive vibes Reddit seems to be getting around here lately. I stick Reddit on the end of search queries too, but I feel like I still wade into results with a similar level of skepticism to that which I carry around most of the rest of the web.

comment 4y ago · link · parent

My current position’s interview went exactly as you described in the latter half of your comment. Sometime later after I was hired I asked why I wasn’t really thoroughly whiteboarded. My boss replied, “All I needed to know was that you had critical thinking skills and that you could solve problems. I was whiteboarded and I hated it. I remember walking away from the experience feeling like it said nothing about me,” and there was scarcely a single question he had asked me during the interview that I could give him a straightforward answer to. Almost every answer I gave him began with or included some version of, “Well, it depends. What about x?”

comment 4y ago · link · parent

That used car statistic is truly quite staggering. It's pretty frustrating how much of that is initially due to major manufacturer's own misread of the situation too, but no point in crying over spilled milk, right? Anyway...

> "The used cars and trucks index rose 1.5 percent in January, a deceleration from the 3.3-percent increase reported in December." (from your link)

It's good to see that this is slowing down. I was curious so I took it upon myself to gather a few links[0][1][2] with statistics on U.S. and global auto production. I wanted to know what the "old normal" looked like, what kind of drop in production is required to trigger this kind of inflation, and how close we are to getting back to normal. In short, my answers were our manufacturing numbers have been on a slow, steady decades long decline for some time now anyway[0] so I guess it depends on your level of pessimism, a 16-17% drop overall[1] (coincidentally about the same worldwide)[2], and about halfway back to normal but progress is slow and inconsistent[0]. Everything blew up in March 2020, somehow managed to snap back to normal temporarily in July 2020, and finally proceeded to spend the rest of 2020 and all of 2021 on an increasingly bleak rollercoaster that is just now beginning to rebound (hopefully).

[0]https://tradingeconomics.com/united-states/car-production [1]https://www.goodcarbadcar.net/usa-auto-industry-total-sales-... [2]https://www.oica.net/category/production-statistics/2020-sta...

comment 4y ago · link · parent

Despite the fact that he confirmed it’s not C code and despite the fact that the failure case has spaces in it which make it invalid? What am I missing here?

comment 4y ago · link · parent

Ah, I see, so host and producer but not owner. Good to know!

comment 4y ago · link · parent

It's interesting because this is all over this thread, but it's not actually a string interpolation issue. It's an issue with percent encoding[0]. They talk about it likely being an interpolation issue at first but end up ruling it out.

[0]: https://datatracker.ietf.org/doc/html/rfc3986#section-2.1

comment 4y ago · link · parent

> are developed as a partnership (usually) between a vendor and the auto company.

Depending on the manufacturer this is true for most of the car nowadays, right? I watched an engineering teardown of the new all-electric Mustang Mach E recently and they even used different vendors (which produced parts of vastly different calibers of quality) for the rear and front motors[0].

Point taken about ceding the branding power to the vendor, especially when that vendor is big and scary like Apple or Google.

[0]: https://youtu.be/jWOPMtejm_Y?t=768

1
262728
33