skysight-inc/HackerNews huggingface dataset:
>An alternative is to specify the representation explicitly and provide a set of functions designed to work with it, but also to allow direct access by other functions when that is useful.

I don't see that as an alternative. I consider this natural OOP. You don't lose anything by strictly enforcing the encapsulation because you can always explicitly provide low level methods into the data structures. Conversely, you lose all safety when you open up encapsulation. The method API of an object is the contract it provides. If you go around that contract it's much harder to make safe implementation changes.

Because of this, low level access should be opt in, in the way you describe.
I had the same thought! Something about how the author describes the rush of air, the security and known 'homeliness' of the cockpit resonates with me.

Im sitting in airport lounge about to hop on a transatlantic. Dreaming of drifting to sleep up in the air and never waking up is a bit scary but also peaceful (I am not suicidal, thanks). travel is definitely an easy escape and repetitious in my life. I like routine and always book the same seat, same flight to get to Europe, etc. There's comfort there for me and I really identify the way the author describes the peacefulness of a nighttime long haul flight.
As a teacher, it's a necessary tool. But you are right that it can be abused by teachers who are both attempting to inspire critical thinking AND trying to navigate their students to the "correct" answer at the same time.

If a teacher wants to convey a specific opinion or viewpoint, they should just share it. But if a teacher is genuinely willing to listen and wants to get their students to think critically about a topic -- without a desire to navigate the students in a specific direction -- then the Socratic method is very useful. But the teacher has to be truly willing to listen to their students. And that is hard for some teachers.
Siemens Gamesa Unveils World First Electrothermal Energy Storage System
This is a PR piece promoting Mazdas new technology.
> Is there anything wrong with preferring people who have spent a lot of time practicing leetcode?

If you care about diversity and inclusion, yes. This interview format prefers people with formal education, extra time, good mental health, no kids, etc.

This can easily eliminate some women + caregivers + those with kids, the self taught, people that struggle with mental health or learning disabilities (including ADHD), etc.

Anecdotal story:
Studying LC because I'm self taught led me into burn out and I ended up with an ADHD diagnosis (common for women to get diagnosed at an older age anyway). My ADHD brain wants to do things it likes and studying LC isn't one of them so it led to being burned out faster. A former manager even told me to slow down and I didn't listen!

I struggled for a while with interviews and getting my current job. Each additional interview became extremely traumatizing for me (which is probably compounded by Rejection Sensitive Dysphoria that comes with ADHD). It's been almost a year since I got my job and I still worry about interviewing again in the future.

For me, being a woman in tech with ADHD makes it really hard to walk into an interview feeling confident. It's intimidating to be obviously different then the vast majority of my interviewers and I'm so worried if I'll keep my train of thought and remember things or talk in a way that makes sense. And it spirals into me worrying if I make women in tech look bad because so many people seem to believe women are inherently worse.
China executed scapegoats after huge internal outrage and an attempted coverup.

Not the kind of thing that builds trust.
"It only takes 20 years for a liberal to become a conservative without changing a single idea." - Robert Anton Wilson

The idea of there being an right and wrong direction to history is flawed at best.

The current rejection of liberal values didn't come out of nowhere either. Some people are unhappy and feel the system has failed them. This was the same reason that pushed liberal ideas to the forefront in the first place.
Evaluating the predictability of medical conditions from Facebook posts
Yes, specifically 250mg saw none (or at least no statistically significant ones).
These Influencers Aren’t Flesh and Blood, yet Millions Follow Them
I'd be shocked if bike frames were not robotically welded already.
Thank you. But:

> Something went wrong

> We're sorry. This page failed to Outline.

I've noticed that a lot, lately, with Outline links posted on HN. Maybe sites have figured out how to block it?
No company is stupid enough to make their employees take a >50% paycut in year 5, unless they are intentionally signaling that the employee is not desired and should leave. If they did everyone would quit on their 4th anniversary. Refreshers typically exceed or match the initial grant.

Even if they DID make you take a paycut you could jump ship every four years anyway, so why would you care about comp past year 4?
Honestly, streaming aside, before OBS there really wasn't any way to record your webcam except the shitty proprietary webcam application. Similarly, for screen recording, most people used Fraps or Taxi, both of which were very limited.
I know it's just anecdata but Google also lowballed me very hard. They even offered me less than I was currently making at Microsoft, and when I told them that, they basically said, "well, that's how it is." I walked away, and now get an email every year asking me if I'd reconsider. Maybe it was the wrong decision, but it really left a bad taste in my mouth. As a woman in engineering, I now totally believe in the Google pay gap, especially if they are lowballing people coming in.
I was writing specifically about (potential) app blocking API.

I'm not sure what user trust you're talking about, though. Apple allowed shady VPN tracking/blocking apps in the past and users used them.
Clinton raised and spent roughly 1.5X as much money as Trump. She also had near universal support from actors, sports figures, the media (aka the people Nike pays that money to). It didn’t win her the election. Some crappy banner ads on Facebook don’t even register against that.
I'll try that, thanks
Suggesting someone is a doctor is a personal attack??
There's a CSS & FP Working Group note that listed variables--or more specifically, symbolic constants--as a proposed future extension to CSS2 back in 1998,[0] and I'd assume that there are even earlier discussions on the matter as well. The idea of using variables in CSS isn't new by any means. If you read this 2008 essay by Bert Bos[1] against extending CSS to include variables Bos makes a really intriguing comment that "macros help for authors, not for the semantic Web" in his conclusion.

Perhaps I'm reading into things, but it seems rather illuminative in terms of understanding how at least some key figures in the development of CSS may have viewed things. If you consider CSS in terms of two distinct audiences--authors/maintainers and users who consume CSS-styled documents--then at least some of the decisions with the CSS specifications seem to make a bit more sense. In which case, it's not so much that CSS didn't need the listed functionality as it is that other goals for the specifications were prioritized over the benefits of variables and other functionality. Reusability, modularity, and simplicity were some of the main priorities. They still are, but I think we've seen a redefinition of those terms with the direction front-end development has taken in the past decade; I also think that improvements in the uniformization of browser implementations and development of better debugging tools has helped erase some of the concerns given in the essay.

0. https://www.w3.org/TR/NOTE-CSS-potential#id05684046681

1. https://www.w3.org/People/Bos/CSS-variables
Ah, yeah. Takes me back to my college years. I was a sophomore at the time and was running Win2k server release candidates. Had a new freshman brag about having WinME, which was on the 9x kernel. Went back to my room in the dorms amd alternately sent a ping of death. Ping of death would crash him, but a ping flood was a DoS. His computer would hang trying to handle all of the traffic. Rendered the network unusable on my end while I was doing it, but the PC was otherwise fine (i.e. I could play offline games). Proved my point, he was humbled and stopped bragging and I left him alone after my little demonstration.
Lots of aluminum bike frames are already made from hydroformed tubes. Anything that looks like it wasn't just made from pipes, is molded. The question is whether making a frame from a smaller number of molded parts is cost effective. The different parts have to be of different thicknesses, and there's just the geometry puzzle of how to do it without ending up with a big seam that has to be welded anyway.

Early Schwinn frames included parts (head tube, bottom bracket) that were formed from sheet metal. One thing about making tubes from tubing is that there's very little waste.
https://www.reddit.com/r/BuyItForLife/ Note the sidebar links.
I don't disagree with the general realpolitik you describe, but it's not clear that damaging Huawei isn't damaging the USA as well. American companies supply Huawei, and their business is being harmed; and American consumers buy Huawei equipment -- if Huawei is excluded from the US market then presumably that may have an inflationary impact on substitutes, so American consumers will be paying more for certain goods.

Wouldn't this also have been considered as part of the decision to ban Huawei? And yet the administration proceeded anyway.
Yes something similar to OOQLF (https://www.oqlf.gouv.qc.ca/accueil.aspx).
Specifics of enforcement are not clear at this point though.
Yep, and the proof that any graph that can be drawn without crossings on the torus can be properly colored with no more than 7 colors is vastly easier than the case for graphs drawn on the sphere/plane.
Ask HN: Should I get the new Macbook?
I'm currently in the market for a new device. I'm interested in the i9 15" Macbook but I've heard nothing but bad things lately. However I'm not sure how much of that is genuine or just being unhappy with change.

I had the 2017 Macbook with the touchbar, the large touchpad and the butterfly switches and didn't find it as horrible as some people are making it it out to be. Has it gotten worse since then? Have heating issues become more pronounced?

What should I do here, HN?
In the United States it's the same, but the left don't even take it as an example of socialist failures. Instead they attribute the state of Venezuela to having been the consequence of American interventionism. It's actually a tragedy, because the lessons to be learned from the failure of socialism come at the cost of countless lives, the least we could do is come away with something of utility.
A regular review process is key. A lot of startups don't do regular, systematic performance reviews and people think that is a good thing, but it's actually a bad thing.

A good performance review gives you the opportunity to demonstrate how well you are doing and back that up with feedback from your peers. It gives your manager documentation that proves you deserve more compensation. And you get this opportunity on a regular basis.

Even if you don't get a big compensation increase every time, annual reviews are generally when the company, as a matter of policy, gives out cost-of-living raises and stock grant refreshers. At companies without review processes this doesn't always happen every year.
U.S. already in recession, Fed will cut rates back to zero: Rosenberg
> One learns a lot about code quality, or lack thereof, when doing enterprise consulting.

Pure truth, there. One has seen neither really awful code nor really great code until they have seen the wide array of code quality produced by an enterprise with a few decades of software development history. Any enterprise will suffice, it doesn't have to be a huge corporate entity.

There are a very few developers who are really good and who really care, and there are very few who really do not care and who are really not good, and most are somewhere in between.
I am glad you used to enjoy my writing!

I think in this case I may be trying to draw out a narrower point than you think. My argument is that you can't infer consent from how people adapt to circumstances in a situation where they are not given a choice.

The whole issue of consent in online privacy is fascinating, because I don't think even experts in the field could understand how their data is used (or will be used) enough to give meaningful consent. I certainly couldn't.

I also agree with you that there is an open empirical question of how much people actually care about this stuff. One way I would like to see it tested is having a legal basis for competitors to sites like Google to give binding privacy guarantees. Then at least we'd be able to put a dollar value (positive or negative) on privacy with a market test.
https://en.wikipedia.org/wiki/China_and_the_United_Nations
And then I forget/lose my 15 digit passcode, then what? Either there is a retrieval method that makes the whole thing irrelevant, or else I've replaced one catastrophe with another to no purpose.
I feel your pain, recalling the last time I moved out. Buying anything on Amazon is a disaster.

Friendly tip. Go to a local supermarket or department store and get what you need there. The item will for sure come from a normal manufacturer/brand and satisfy the local regulations against toxic plastic and stuff, even if it was made and imported from china.
No. I'm pretty much useless without at least two screens. Four or five are better. I require a mouse and a classic IBM layout keyboard. Trying to work on a laptop is almost cruel and unusual punishment, and I cannot fathom how people manage with 13" miniature laptops that have displays one quarter of even one of my monitors.

My desktop tends to look a bit like the Pepe Silvio Always Sunny episode, with stuff spread everywhere and spatially arranged. It works beautifully, as long as the machine stays up; it's a little work to recreate the state if a Windows update or power outage forces a reboot.
Of course such tags are completely irrelevant without the effects of the jurisdiction that aims to secure their authenticity. In particular, when buying online from overseas you have very little guarantees of what you'll actually get, unless you are familiar with the brand and/or merchant.

Things are different when buying domestically at a retail store. Retailers have supply chain or import the products themselves. Importing and selling products that violate safety standards, or products that show safety marks like CE without authorization, is not in the retailers' best interest, since the Customs Agents will come down hard on them. As large monetary sanctions are the only effective way to deter corporations from breaking the rules, the fines/reparations are proportional to the volume of the illegitimate products sold.

Not to speak of the civil liability when some kid gets electrocuted thanks to the hazardous phone adapter your company imported.
Funnily enough that's a normal practice in the UK/Ireland. In all the places I've lived, washer and dryer are plugged straight into a regular outlet (sometimes with an extension cord if it can't be reached).

Makes me wonder, why not make a 110v washing machine and save the trouble of having both 110v and 220v at home?
The hacking thing wasn't related to Clinton's emails, it was the DNC's emails, which are not subject to FOIA. That these things are conflated in many peoples' minds is ... kinda the point.
> Especially given that you can then deliver crappy software and the market will bear it, because we have been trained to expect and accept crappy software.

I'd put it differently; I'd say we've been trained to expect anything with (user-visible) software to be crappy, and to accept it because we have no alternative.
Love Cogmind! If you're a purist, first thing you'll want to do is [Esc] [4] Options [v] Keyboard Mode [F] ASCII mode. Can confirm the game works on Linux using Wine.
>the waiter asked if she would like butter on her bread. My friend waited for it to be added //

I've heard stories like this before. It sounds a bit stupid on the part of Trading Standards (TS).

Waiter: "Do you want butter"

Customer/TS agent: "Yes, please"

Then the TS agent prosecutes you for putting butter on their food. Well why did they ask for butter. I mean, I realise that people are sometimes absolute idiots but I don't think you should prosecute restaurants for serving what you ask for.

A story in our local press was that the TS agent said "no peanuts for me as I have an allergy, I'll have the lamb bhuna, ..." and then they ordered a load of dishes - as you would for a family - and they included in their order "chicken satay". They specifically asked for it.

Guess what the restaurant did, they gave them what they asked for. And Trading Standards prosecuted them and made them out in the press to be evil.

Now to me it sounded like the person was ordering a bhuna with no nuts and a load of stuff for other people, if they're stupid enough to order a nut dish isn't that their own fault?

I don't know what's happened to personal responsibility but the expectation for businesses to coddle people has gone too far IMO.

/rant
Curious how people who use this find it compares to an environment like Racket?
It's a company using politics to get free press. Nothing new here.
Digital minimalism to me is using the minimum viable digital footprint as part of minimising my meatspace footprint. Which I am admittedly terrible at. But I still think it's a good idea :) I <3 My Kindle tho, I prefer my fiction as audio and non-fiction on ebook. My dead tree library is mostly out-of-print computing / programming texts from the 60s-80s.
Are you talking the Conformite Europe Mark? Or the all but identical China Export Mark?

(Now I'm expecting some Bitcoin "investor" to jump in with "blockchain all the certification marks!" as though that'd solve the problem of people not caring...)
Rediscovering the Remarkable Engineers Behind Olivetti’s ELEA 9003
There would be tradeoffs, but rhat could be made to work. It is different from how things work in practice today.
But without the student loans, the under privileged will not be able to afford said education - I don't want to see a society where only those who can afford it go to university.
Should Slack Merge with Dropbox or Box?
Productivity growth collapsed in 1973 and it has not recovered yet. There were a few good years in the 1990s, but nothing like the reliable productivity growth that the USA saw for the century before the 1970s.
How the US Military’s Latest Surveillance Technology Was Inspired by Hollywood
That's true, but there's also a vast difference between the CIA spying on and locking people up for being the wrong religion, and China secretly recording a conversation about the planning of a bombing.

Similarities between the two governments are that they would both characterize their spying on, imprisoning, and torture of religious minorities as preventing potential bombings, and characterize their counterparts as oppressive police states. China might have the stronger case, as they have about a quarter of the prisoners per-capita that the US does.
You forgot the nyckelharpa:

https://youtu.be/e7sK5OiJHHQ

Which kinda inverts all this in an entirely different way. Well, except for the wheelharp, the two sound very similar yet distinct.
I failed one because I used callbacks instead of promises...
It's tougher than it looks.

Especially so with newer Chinese made products actually adding lead weights inside their cheap plastic cases to make their cheap products feel as though they were cut from a heavier cloth.

Some rules of thumb that I have when it comes to buying old power tools are:

Does it look like something your grandfather might have owned?

Is it of all metal construction? If not, are the plastics of a high enough density to make them almost as indestructible as metal?

Does it plug directly into the wall? And does it work?

If you can answer those questions in the affirmative when it comes to any power tool, chances are it is of good quality.

The best way by far imho however is just to get out there and start looking.

After a few months, you'll begin to notice lots and lots of exactly the same items showing up in the same shelving sections.

The same kettles, the same breadmakers, the same drills, the same table lamps, most all of them having been made in the past 20 years and currently knocking on death's door.

Once you've seen enough of that crap, when a quality item displays itself in front of you, you'll know it's a great deal and snap it up with excitement.

I love thrifting.

Good luck out there!
I use it all the time for its convenience and simplicity.
How to Run Evolution Strategies on Google Kubernetes Engine
And thousands of people are working in the ad industry because so many people want internet content for free.
Given these two possibilities, why would one choose to place switches in disparate places throughout your code?

You are touching on something called the "expression problem". You might be interested in reading some commentary about it. There is an inherent decision to be made any time you have many algorithms each operating on many data types. In most programming models, you have to choose between grouping your code based on your data types (but then any new algorithm needs to be implemented on each data type) or based on your algorithms (but then any new data type needs to be supported by a new case in each algorithm). Neither is the "right answer". You fundamentally have a two-dimensional system here, and you need to decide which axis you are going to prioritise in your design.
Well, you have to add sort, cut, paste, and uniq for a full system.
This point also confirms my relativity of perception thoughts. Yes, compared to me, the bottom 50% certainly has more adversity. But why stop there? The bottom 50% in America is likely the top 20% somewhere else (I'm making all of this up, of course). Then the bottom 50% of that 20% is likely the top 1% somewhere else. And on and on it goes.

I don't believe that thinking about nameless, faceless people thousands and thousands of miles away is particularly effective at altering daily behavior and mindset here, but it's important to recognize nonetheless.
Phone companies should be required to forward the originator information to the users receiving the calls. Then people can collectively block callers, adblock style.
The Technical Benefits of Service Meshes and Their Operational Limitations
Why the N in FAANG? Why isn't it FAAMG? I can't get a reasonable answer to this.
This article is too soft on Apple. ALHLS is a complete disaster.
I was skeptical about Opera's VPN, but it does seem to work. Of course, I don't count on it not logging my real IP, but still, it's a useful free service.
Girl falls on face during wedding
Figma is such a nicely polished product. I've only used it in fits and spurts, but it's easily as good an experience as Sketch. Our design team uses it all the time, and their technical blog posts have been incredible reading.
I’ve got the 2018 model, 15” with most specs maxed out. It’s been a wonderful daily driver for my development work. If you liked your 2017 then it’s the same machine, just with better internals, so you’ll probably feel exactly the same about it.
Building Your Own “Franken-Bidet”