skysight-inc/HackerNews huggingface dataset:
> It's all about who is writing it and why they are writing it, not the language.

But who is writing it and why they are writing it are inextricably linked with the language. Every language has a culture and a reason for existing, those are pressures that bear as much on the person writing the language and the code produced as much as the person writing the code does on the code and the language.

Whether or not say, modern Java encourages good code is neither here nor there, as not only is there resistance to learning new things there is resistance to using the new things properly. Java has a history of bloated, inefficient code for a reason, and when you use Java, the abstractions you use will alter the code that you write. It's impossible to get away from 'bad code' without rewriting things, and then you're not coding your new project you're rewriting someone else's. It's also 'good practice' to use x y z language idioms, but there are cases when such idioms make the code much harder to read and much less clean.

As an example from C: I like POSIX, but dirname and basename are two ridiculously shit functions. If I choose to use them, the rot starts infesting my code, and everything that deals with them has to account for that, which itself causes a bias towards more obtuse code.
https://keypolicydata.com/government/federal-taxes-and-spend...

Again, you're arguing things that simply are not so. The state of Hawaii receives, in US Federal tax money, 1.61 for every dollar of taxes it pays.

You can't have it both ways.

Your points about native lands also do not disprove the statehood of Hawaii. There are native lands in every state in the Continental US as well.
Me. I hate how the planet is arbitrarily sliced up. I hate the bureaucratic nonsense involved in going to various parts of it. I hate how my wife is forced to choose between citizenship in her country of birth and citizenship in her country of residence. I hate how our children have to get government approval just to visit their grandparents. And I hate how my welcome home to my own country after a brutally long plane ride is a long line, an agent who treats me like a suspected criminal, and the threat of upending my life.
> the country where they happened to be born.

They didn't just 'happen' to be born there - they, and the country, are the result of their ancestor's actions and struggles, and they are bound by more than mere coincidence.
> Someone pointed out to me that "this is privilege" conflates two very different ideas. It can mean "this is an unfair advantage which should be taken away", but it can also mean "this is a benefit denied to some people, and it should be shared with everyone".

You missed a third: “this is a product of a particular pattern of life experience which not everyone shares, and people should be mindful that it is not universal”.

IME, when a particular comment is described as coming from privilege, to the extent there is a “should” point along with the “is” point, the “should” point is about recognizing the different lived experience that the privileged comment disregards, not about resolving the difference in experience by universalizing either the privileged or unprivileged experience.
> New York (second poorest in the US)

On what basis? It ranks 15th for median household income.
Intel is definitely bigger than AMD, but it's not exactly an apples to apples comparison. I'd hazard a guess that quite a few of Intel's employees and R&D dollars are in areas that AMD isn't competing in (e.g. FPGAs, SSDs, IOT, and until recently modems)
Not in USA. They request a transit visa (although it is cheaper, it is procedurally very similar to single-entry tourist visa).
This is neat. I will start using! thanks!
Don't take it bad, but here is my attempt in creating a new "Lisp dialect" compiling into BASIC:

(main
(linenumber 10 (print "hello world"))
(linenumber 20 (print "Hey!"))
(goto 10))

More seriously, is Hy anything more than writing Python with some parentheses there and there?

Coding in Lisp has nothing to do with putting parentheses everywhere but rather with thinking in some specific way. For instance, I know that I am ready to code something in Lisp when I see my whole task as a sequence of CONS, but how could Hy truly implement such a thing as long as it relies on Python lists?
I too am curious about the author's opinions of SICP. As a self taught developer, SICP and HTDP gave me the classic "My-Eyes-Are-Open-And-Now-Can-See" experience. I didn't feel like it was something to take with me to business directly, but an explanation of how data and functions relate through show-not-tell.

It's sort of saddening to me that the average CS student exposed to this stuff doesn't experience the sublime when S-expressions suddenly click, or whatever.
Sure, if your site is solely static content, which is all GitHub pages supports. You can’t run “production code”.

I know some people use the service with a static site generator as a free way to host a blog, but it’s not really the same thing at all.
Apple is user-hostile when it comes to repairing hardware. Google is user-hostile when it comes to spying on users.

What’s a person to do?
I didn't justify Uber based on SF. I just told the Uber usage patterns I see in the city
That's not the only reason why but it's a big one. It's about visual protection with lots of narrow dark alleys and enclosed spaces connecting to endless stairwells. Making surveillance far more difficult and easy for people to disappear into it the minute a watcher sees police enter.

Don't underestimate just how lazy and safety obsessed Cops, so they'd need a partner to go with them to enter on foot.

Police do bike through once in a while when it's summer, usually in groups of 4-6 but Toronto isn't always accessible by bike during winter. Plus I rarely saw bike cops at night like you do cars cruising around.

These isolated places with towering buildings, tons of concrete, and only roads deep outside on the edges creates an excellent environment for shootings, robberies, and drug dealing to take place.

Either way it increases the effort it takes and almost all of them have full time security on site as the problems are constant.

Down the road there are 3 large buildings one by one lined on a major road which are equally in disrepair and impoverished, and they dont have people constantly hanging out side against the walls next to rear stairwell entrances, while everyone else is scared to go there at night. The keep their business inside or out of view.

There's a hundred examples of these places that are set up like this in NYC and Chicago.

Cabrini Green had the same issue with too many enclosed areas where people hung around constantly. The design was counter to open and friendly:

https://en.wikipedia.org/wiki/Cabrini%E2%80%93Green_Homes?ol...
macOS pricing makes sense given that Windows and Linux runners are probably standard VMs on some Azure host, while macOS runners are on their own rack-ified set of Mac Minis. (What MacStadium does)
Spam Robocalls Aren’t Slowing Down. Here’s the Tech That Could Stop Them
There is at least one motherboard that I know of with Thunderbolt on it for AMD processors, the X570 Taichi. It does have some limitations though.
None of the 28 EU countries can be classified as poor, let alone very poor ...
Such an archaic thing to have when the masses have largely adopted smartphone and tablets and are subscribers of things like NowTV, Netflix, Amazon Prime Video, or even paid YouTube subscriptions (among other less popular services which I am leaving out).
Onboarding Checklist for Web Developers
No- nvidia uses TSMC as far as I can tell.
OK, but hospitals don't get built by people waking up in the morning, buying some bricks and stacking them up. Hospitals (and anything else worthwhile) require a lot of people with specialized skills to work together while other people make food and roads and schools and so on. Some amount of talking is required to coordinate it all.

Is the fraction of people who actually build things small? An economist would say no, we're at nearly full employment. To the extent that too many people are doing non-worthwhile things in their job, the solution to that might involve more talking, not less.
None that I know of. My thought process has always been that regex was language agnostic. I think Perl has its own version that is widely used. But other than that, I do not know.
They just raised more funding in a Series D[1]. CircleCI isn't the only player in the space and GitHub entering the playing field doesn't change that either. There's enough space for a few competitors and having competition will probably push everyone to build a better product.

[1] https://circleci.com/blog/we-raised-a-56m-series-d-what-s-ne...
Most people in SF or NYC don't own an car. Unlike "yuppies" outside. For them ride-sharing is factored into monthly expenses.

Please be respectful while engaging.
I took the ferry from Dublin to Wales while on vacation. We collected all our passports once the ferry docked and we went to our car preparing for the immigration officers, police etc. There was no one. Literally. We only saw sheep for the first 10 miles or so after driving off the boat.
> If browsers ban JS in ads, HTML based ads will rise in value.

How are you going to detect what third-party JS is an ad? That's basically the job of an ad blocker. Do you expect Google to ship an ad blocker that blocks ads of its competitors? That'll be a great antitrust lawsuit.
You can still use MKL on AMD and it does yield a perf increase over OpenBLAS
Median income adjusted for cost of living (which is the usual way of comparing income between countries).
regulatory capture by oil & gas companies, big ag, big pharma are also responsible for 401k growth
AMD software ecosystem is pretty bad. They fired many of the Linux platform devs in ~2013 and never recovered. There is nothing like Intel's vtune and even the basic functions like performance counters, MCA support, ECC events etc are janky on AMD CPUs. Intel does a pretty good job all around there. Nvidia is leagues ahead on GPGPU with CUDA and general Linux driver stability.. sure it's a blob but if it works well in a commercial setting nobody cares.

The Rome is a nice chip nonetheless, I hope they can rehire a big enough Linux team to get over these humps it isn't that much work on the CPU/platform side.
Thank you!

I will take the time to implement a demo. It will help to visualize the actual product before hitting the sign in button I guess :)
Canon do the same; third party batteries in some cameras don't even show you remaining charge.
One Year of Magic: Magic Leap Launch Anniversary
I'm sad to see LJ go. I have been reading this on and off since the 1990s, not long after I received my first floppy disk with Slackware on it from a friend. I failed to renew this year. Now I wish that I would have.
Worse for climate change than all their supposed good deeds. An iPhone could easily last 5 years instead of 2, and millions of poor people could have a few extra thousand in their pockets if they just allowed proper repair.
When you are coming from Azure DevOps (previously Visual Studio Team Services) this is godsend. VSTS was only configurable via a GUI that produced an unreadable configuration file with hundreds of lines with stupidly long variable names. Then taunted this UX disaster by reminding you to comment the changes you made before saving. So each CI config had like 50 changes at the beginning of its history where you tested the configuration by making minimal changes.

Eventually they started using an in-repo config file like GitLab but only supported about 20% of the GUI features. It's still abysmal. I wouldn't mind when Azure DevOps (Server) were to be replaced by GitHub (Enterprise).
i agree that it's unfortunate that kids are so often isolated from adults. however, "disciplining" has a connotation of force, so you may want to reframe that to redirecting behavior and attention positively. parents usually don't mind the latter.

and to the OP's point, i'm not a particularly social person, but i love smiling and waving at babies. it's as rewarding to you as it is to the baby. =)
So was Windows 95.
Most people don't have MUNI near them. Also try riding scooters on a really windy day
...I don't think you understand what an open border means, and if you're getting hung up on the "legality" of it, an open border would literally make immigration legal. If you have no argument against legal immigration, then you have no argument against an open border, as it changes the policy, making immigration generally legal in its various forms.

Further, a nation-state's service to its people is a geographic and societal one. Once more people enter into the geographic area and participate in the society governed by the state, those people become its citizens, in every relevant sense. Additionally, you are admitting to agreeing with the idea that "Americans are more deserving humans to non-Americans" and that is xenophobic, literally the textbook definition.

It's funny to me that you think the Wikipedia article titled, "The Economic Impact of Illegal Immigration" is about legal immigrants.

Open borders is not a "free for all", and I hate to break this to you, but our lower rungs already do fend for themselves. Allowing more immigrants into this country would in no way further their dire straits, and in many ways it'd likely help them, as a larger poor population would increase votes for programs and infrastructure to support poor people.
I’ve spent time in consulting at and with the name brand pen testing shops and never heard of this type of consulting. I don’t doubt your account, but that’s a foreign concept to me. I’m curious which consulting shops work that way.
So we going with "lock down the hardware and software" anti-consumer Apple, or "spy on everything" anti-consumer Google?
Amazon web services relational database service: https://aws.amazon.com/rds/
Everything you think you know about gentrification is wrong
I keep hearing about this, where is something I can read / listen to about the announcement?
Incorrect.

Intel did announce in 2017 they planned to release thunderbolt royalty free in the future; however, they still have not released it as of yet. And given their new competition from AMD - I doubt they plan to now anytime soon
I have to work on the offline mode, this is in the roadmap :)
I made a thing and you can read the source: https://github.com/carlmjohnson/json-tidy
> make solves problems you get early in a project ("let's get this handful of files automatically built") and doesn't even try to address issues of modern software development, like build parallelism and dependency management. Its facilities for debugging problems are laughable.

Go look up plan9's mk. It's a remake of the program written by the designers a few decades later with everything they learned from it. Not only are the variables idiomatic, and the spaces problem fixed, but you can ask for output at each stage and (IIRC) view the graph that it builds.
Our company has extremely deeply tinted and reflective exterior windows that even at night (outside) with lights inside, you can barely see in if your face is 1" away from the glass.
I use the below to extract email addresses. Took from some website some time ago and made super light changes to it. Not sure if this is the best but it has served me fairly well.

email_reg = re.compile
(r'''

([a-zA-Z0-9._%+-]+ #First name and last name

@ #@ sign

[a-zA-Z0-9._%+-]+ #domain name

\.[a-zA-Z]{2,10}) #.com

''',re.VERBOSE)
How do these work? Is a TV somehow different than a large monitor?
I imagine that's not feasible when you consider battery decay.
AMD and Nvidia are both fabless manufacturers. They design but do not fabricate the chips. AMD used to, but spun out their fabs as GlobalFoundries. As you correctly noted, Intel is a foundry and does manufacture it's own chips.
Well, Linux isn't supposed to live lock under memory pressure. It's supposed to OOM kill the process that's causing the most problems. The bug (discussed in the mailing list thread the post links to) is that the Linux kernel isn't properly detecting live lock conditions and activating OOM-killer. The reason seems to be that for SSD users paging out file-backed memory happens quickly enough that the kernel still detects it as activity and doesn't know the system has locked up.

Arguably we currently have three options to prevent livelocking (short of fixing the kernel). All three have significant cons.

1. Have a big swap partition. Historically people have recommended not to have swap at all because (arguably) the kernel was too swappy and would swap out stuff that was needed. And also because some people prefer misbehaving processes to get OOM-killed instead of slowing the system to a crawl on old HDDs. I was in the latter camp, but I'm now experiencing this bug too (nothing gets OOM-killed, the system locks up instead) and considering reenabling swap.

2. Use the new memory pressure information the kernel provides with a userspace tool like earlyoom to kill misbehaving processes before the pressure is significant enough to slow the system. I tried this one out, but earlyoom repeatedly killed the X server under low memory conditions. On a desktop system, X is likely the parent process of everything you want to run, but this still might be a bug?

3. Disabling overcommit entirely. This supposedly breaks a bunch of userspace programs, and even assumptions made in the kernel itself. Worse still, it still results in processes probably killing themselves anyway when memory requests fail, but it doesn't have the advantage (on a correctly working Linux system) that the worst behaving process on the system gets killed instead of whoever happened to request too much memory.
You just violated the prime directive.
SuperBatt Type 069/ 072 Car Battery
You're going to make someone's life very special by having them deploy to a completely different environment than their secure workstation or build server and telling them that the security mitigations(or lack of) are causing an issue.
Ask HN: Why are pay-walled articles allowed on Hacker News
You see an interesting article headline with a lot of upvotes on the front page, and you proceed to click on it only to be greeted with a pay wall on getting to the web address, why are these sort of articles allowed to get to the front page in the first place?
Deep sea mining is upon us, whether you would risk it or not
Thank you I was just thinking that the author ruined the credibility of the tests by not using pythonic code.
Looks like early stage research. We need to keep an eye on these sorts of things, but you’re doing more damage than you are helping by promoting theories which are not well established.
I doubt cable companies would invest in such things if they weren't finding consumers abusing their services. We are not in a point where cable subscriptions are a minority so I think depending on demographic your argument is valid but for total population there are lots still paying for and watching cable.
I should have added, "relative to those countries".
> An integrated solution that bundles issue tracking, CICD pipelines, and package/container repository always beats spreading each feature throughout multiple separate service providers.

I agree but with GitHub actions, it's also possible for CircleCI to build a tight integration. When it comes down to it, each CI system has its idiosyncracies so choosing a CI system isn't as simple as how tightly integrated it is (e.g. how flexible it is with Docker, or the way it builds containers, or running multi-container setups)
> > New York (second poorest in the US)

> On what basis?

Probably the same basis by which California is the poorest: statewide cost-of-living adjusted poverty line.

There's a number of ways this measure is potebtially misleading; for instance, both New York and California are diverse states where the local cost of living varies considerably, and the numbers for any CoL adjusted measure would look very different if instead of a statewide CoL you used, say, county CoL based on residence and then aggregated the statewide numbers.

But using this or other statewide CoL-based metrics does get at something that mean or median income or measuring against the even less relevant national poverty line does not.
Ask HN: Difference Between Computer Science vs. Software Engineering Majors?
I'm going back to school, to get a degree, I'm hoping I'd fill the gap in my knowledge and to take advantage of an internship (hard to get internships if you're not a student) to pave the way for me into a job in software security (I'm interested in vulnerability research and reverse engineering).

I had two choices:
1) Computer Science.
2) Software Engineering.

I got accepted into the second one. and I've been thinking about it a lot for sometime, they both seem similar, but they're different, I'm not sure if its good or bad for my career plan to continue in the SE major.

Given What I said above is software engineering a good choice? Will I be viewed differently compared to CS students?

Does the content of the Software Engineering program cover a decent amount of knowledge?

The Software Engineering Program:
https://webapp4.asu.edu/programs/t5/roadmaps/ASU00/TSSERBS/null/ALL/2019

The Computer Science Program:
https://webapp4.asu.edu/programs/t5/roadmaps/ASU00/ESCSEBS/null/ALL/2019
On *nix the whole OS is your IDE.
>(I don't remember if rust is using LLVM IR at some stage, but even so).

Rust is LLVM based, so yes.
I guess I misread your comment. I agree that most of the people will not change their habits and we need to engage our governments too.
Yeah, and developers didn't do anything to fix it, and neither released the native version.
"As climate change renders the rest of the planet as hostile to human life as the far north, we too must make the choice between throwing up walls and letting them down"

Is this really the general conclusion about the cause why people want to emigrate to "developped" countries (the "we" in the citation) ? climat change ?
If you believe in America's founders, you should believe in open borders.

America's foundational documents are based on the the social contract theory of Hobbes & Locke - they differ on some aspects, but largely agree that governments are formed to elevate people from the State of Nature - we enter into a social contract to elevate ourselves.

But people nowadays don't form governments - and very few have much influence over the government in which they live. If you are born into a country, you are subject to the governance of that country.

By restricting the right of people to relocate to new governments, we deny them the ability to meaningfully assent to the social contract in which they live. If I'm born in a "shithole country" and I don't like it, tough luck. I gotta roll the dice to see if I get accepted for immigration in countries whose social contracts and mores I do agree with. I've never agreed to the social contract under which I am forced to live.

The conservative view on borders is based on fear - the desire to protect the in-group from the out-group. Despite their objections, it is in direct opposition to the foundational ideals of this country.
For anyone interested in this topic, I would strongly recommend Cal Newport’s book digital minimalism
How to Beat the HackerRank Test with a 100% Score
Buying an electric vehicle and slapping a solar panel on your roof simply isn't enough.

Perhaps, but in your comparison folks still grew "victory gardens". [0] Personally, I'm reminded that I need to call the installer back about putting those "victory panels" on my roof.

[0] https://en.wikipedia.org/wiki/Victory_garden
I keep this feature idea for a second product (or maybe for Gekri, but later). There is something I wish to develop something since 2016 targeting people in an organization.