skysight-inc/HackerNews huggingface dataset:
Lol. That’s the spirit!
Given the following code (and with optimisations on):

pub fn no_assert(input: &mut [u8]) {
for i in 0..10 {
input[i] += input[i+1];
}
}

pub fn with_assert(input: &mut [u8]) {
assert!(input.len() >= 11);
for i in 0..10 {
input[i] += input[i+1];
}
}

The no_assert function ends up doing a bounds check for every iteration, and the with_assert function only does a single check.
Ah, so it's lying to applicants, but that's just incidental, the real target is lying to government to support immigration fraud. That makes sense.

Ethics are another question, but the rationale is clear.
> Being self-taught is fun, but without credentials you end up having to work at companies that are willing to take chances, and as a result of that these companies have a propensity towards going bankrupt

This is one of the notable difference between my pre- and post-degree careers: a degree opened the door to jobs with stable Megacorps. I still get the opportunity to work on cool, cutting-edge stuff, while also having a good salary & health insurance with reliable raises, decent vacation, and a lot of intangibles (nice equipment).

Plus, if you enjoy programming, CS is an incredibly fun degree (when you take the right courses).
Right, if you're looking at the entire country, but if you can draw a Lithuania shape that's got Lithuania-like properties, you should expect Lithuania performance within that shape.

Here's one: https://thetruesize.com/#?borders=1~!MTI4MDE3Nzc.MTIwNDM0NDM...

Naturally, the big thing is that labour costs dominate costs of everything, so we won't have gig fibre available for Lithuania costs. But the fact that we don't have gig fibre for any price universally in that region is mostly because they have the leapfrogging effect in Lithuania - they were later to the Internet than America. i.e. the size argument is a facile false explanation for the absence of the things because within the areas that have similar properties we'd expect similar performance.

In time we'll see gigabit fibre come to America, not because there is an absolute cost concern, but because as it comes time to upgrade aging infra we'll just put what's best at the time in, something that would be impossible if there were true geographic barriers.
This is just an "I'm curious" question.

Can any one who uses lots of data detail for what it is used? I never use more than 300 megs per month. Browsing the occasional web page is fun, but I've always gotten most of my big files off-line before I went somewhere. I don't do streaming media, so that's probably part of it, too.
I hope you pronounce it "knock-sock" because that would be brilliant. Leave the "No CS OK" reference for people to think about.
> CenturyLink has been acting in what appears to be good faith within Denver city limits ... offering gigabit fiber service ... for around $60-70/month

This is good, but I see higher/lower prices as a symptom, not the problem itself. My beef with Comcast and its ilk is not that their price is too high, but that they aggressively lobby to kill any viable alternatives, such as city fiber (which allows them to keep prices high and bundle "required hardware" rentals, but throw in short term incentives to appear cheaper than they are). My 2c.
I just finished Learn C the Hard Way and would be interested in a comparison between it and those other books mentioned.

Just from a quick glance, Modern C appears to be a much more in depth book. It appears to cover things like memory alignment, advanced types like unions, malloc, threads, etc.

Learn C the Hard Way is more of a quick introduction. You learn the basics, like pointers, basic data structures, basic types and then learn to do something interesting with those basics (build a web server). It also teaches some valuable real life practices that Modern C doesn't touch on, like how to structure your project, makefiles, how to use Valgrind and gdb.
I prefer a phone call at some point - there becomes a point in any conversation that the bandwidth offered by text is insufficient for the task at hand, whenever that happens I move it to the telephone
I suspect it's because of two side effects of more efficient communication.

A) It is effectively painless to instantly check with me whether or not I am free at any hour of any day with smartphones, so not doing so becomes less understandable

B) I am in touch with many many more people over the internet even in my local area than I could ever hope to hang out with
(or want to, as somewhat of an introvert workaholic)

I like to be intentional and plan out my social activities with a calendar, ideally a few days in advance, but I also don't mind meeting up on short notice. But any amount of notice is necessary to even make sure I am home, much less wanting to be social.

I actually feel smartphones have made me more active socially because instead of sitting around , we can plan things the day before while waiting for the bus, walking, etc.
Ouch moving countries is something I did not touch because of what a nightmare it is for many of these services and because it is not the "common" case.

It took me one year to transfer my google account to another country.

I am not doing it again.
More affluent population is more likely to just pay for half dozen streaming services, forgetting they're even subscribed to some of them. But all the remaining majority of the population is both price-sensitive and more likely to use Android.

Anyway, I'm not sure what's your point here.
Completely agree. I work from home and I rarely user over 1GB. It's very cheap for me.
I have always hated phone calls, even before texting was a thing.
I am probably concerned unnecessarily here but I am worried about providing all data from my phone to Google like this. I know they are probably already getting every bit of data from my phone through their ad network but I would like them to at least make the effort to get my data rather than me paying and giving it to them. I know its silly given that I am already giving it my current carrier, may be its better to just give it to Google as they already have my data and not giving it to the carrier will cut out one copy of my data.
> A growing catalog of up-to-date scrapers for popular websites would put of lot of freelancers out of work. I would invest in this.

Check out Apify store (https://apify.com/store). It's built exactly for that purpose.

(Disclaimer: I'm a co-founder of Apify)
Got a simpler phone to force me to call others more often. Plus the phone does not have enticing apps so I waste less time.
> Sadly, my wife and I are planning to go back to Verizon just to get iPhones.

Fi supports iPhones somewhat. The coverage isn't quite as good, due to lack of support for using multiple networks simultaneously, but it works.
The raspberry PI is an atrociously bad computer to use as a home server, if your data is worth anything.

Until the rpi4, disk i/o performance was ridiculous and contended with network i/o.

Don't get me wrong, I love the pis,but "home serving" is probably the worst possible usage for a raspberry pi.

Any core i5 4th/5th gen or later will do wonders. If you factor in the price of the rPI and all the things you actually need to make it usable, you might as well buy a refurbished Dell Optiplex, with more extensibility and reliability.
I'm pretty certain that they are. Can't remember the source at the moment though.
As a fellow introvert I must disagree: I dread speaking to people. I have a strong preference for text communication. When I am forced into a video meeting I minimize the video, prefer to just listen.
The EC has the same goal. You either believe in the goal or you don't.
Two weeks seems like an unreasonably long time to be missing $25,000. If my bank took that long to repay me that much money, I would probably switch banks.
I think that's a relevant point. I don't like California having a unique exception on an issue where every other state has been preempted by federal law.
It does give you another 7 gigs of data before they start to throttle your data.
They could go one step further, and send the code as an image (with a link to read it aloud, for blind users, of course)
The difference is that ATT owns the fiber after I pay for it and I have no rights or ownership of said fiber. If it has been a municipal endeavor or a non-profit endeavor I would have gladly paid the 70k and wrote off the amount as charitable contributions or state taxed write-offs. Granted I could have written it off as a one time business expense but AT&T still owned what I would have paid for.

I get that it is not cost effective, I have no problem with that, and am not under the impression that I am owed service, rather I just find the exclusivity agreements to be restricting competition and locking anyone out of the market that would have been willing to provide me with service at a more affordable rate. Comcast may have quoted me 20k to run the lines, I will never know, as it was not an option.
Okay, explain to me how data in isolation communicates meaning.
AFAIK, C11 threads are supported only in Linux. From a glibc point of view C11 threads are supported since v2.28.
It's more, from what I've seen, that one of the definining aspects of the war on misinformation is that it's a tactic against both Trump and Brexit - and that caring about the other side's disregard for facts is therefore spun as helping the spread of misinformation. For instance, the Washington Post quite rightly dinged Bernie Sanders recently for misrepresenting stats to make it look like his flagship policy on healthcare would save hundreds of thousands of Americans from bankrupcy. Sanders doubled down on his original claim and attacked the fact check. Parts of the press sided with him, claiming that the fact checkers were the one attacking facts by making such a big deal about this: https://www.politico.com/story/2019/09/11/democrats-fact-che... One even accused them of harming democracy itself: https://www.wgbh.org/news/commentary/2019/09/18/fact-checkin...
You call that blogging like a hacker?

This is blogging like a hacker:

https://www.stallman.org/archives/2019-jul-oct.html

This is blogging like a hacker:

https://blog.fefe.de/
You're right about that, but I don't think you're following the argument. The argument was that there could be a `SimpleObject` that's limited and parses quicker. A `SimpleObject` wouldn't parse a function call, just like JSON.parse.

As OP said, "subset of JS Objects". This subset of JS objects wouldn't support function calls.
...and two talks at "Authors at Google" (apparently he spoke there twice within one week):

https://www.youtube.com/watch?v=Y_usxrvKvus

https://www.youtube.com/watch?v=hXRe0N1hejE
Looks like this guy is the new Travis Kalanick. I don't know anything about WeWork or the CEO but its interesting that the personality of the CEO is what is causing grief for the company which the individual was instrumental in building.
We've had this problem, and ended up having to write it ourselves. There are a lot of patterns that identify data as potentially sensitive, and being able to redact this is part of something we've created.

It's open source and written in Go -- so you can see the types of data that we've identified as needing redaction:

https://github.com/replicatedhq/troubleshoot/blob/e42b7c3d77...
Well, yeah. The reason to raise rates is in part so that you can lower them to boost the market and avoid a recession. It is a tool, and whenever rates are low the tool is less effective.
It doesn't require Artificial General Intelligence, with enough training data (crowdsourced data and human-edited metadata like JSON-LD or RFD), we can classify automatically the attributes on the page (product name, movie title, creation date, author), structure them and recognise the type of entity.

Feel free to contact us if you want to invest (hello@dashblock.com), we are currently raising funds ;)
Well, not likely in the case of coal, anyway:
https://www.theguardian.com/environment/2019/mar/28/global-c...

"China and India have accounted for 85% of new coal power capacity since 2005, according to the Global Energy Monitor report. China permitted construction for the generation of less than 5GW of coal power in 2018, compared with 184GW in 2015. India permitted less than 3GW in 2018, compared with 39GW in 2010. India has added more solar and wind power capacity than coal over the last two years"
When as the last time understanding how threading works helped you in your day to day job? I ask earnestly as a professional self taught developer who doesn’t know how threading works and has never needed to
And the account is named hktruth, how is that supposed to be taken as impartial? Sounds like a duck as well.
The reason this is federal is California is free on states rights to set rules for cars sold in their state. However the federal government can force California to all someone to go elsewhere and buy a polluting car and register it. Because of this federal exception California can violate normal interstate commerce rules.

Note, I'm talking strictly states rights as I think they should be by the constitution. There are other areas of this where the feds have done things I disagree with (such as not allowing each state to set their own standards)
I think it's useful to hear multiple sides to an argument, and to dismiss one side of an argument with ad hominem attacks, like you just did, only demonstrates how vital it is to hear various sides of a situation.
Hiring manager here and I completely agree with this. In my experience there is almost zero difference between a junior engineer with a CS degree and a junior engineer who is self-taught or had a non-traditional CS education.

In actuality the things you learn in a 4 year CS program that you wouldn't get elsewhere (algorithm performance, theory, etc.) don't apply to all professional engineering jobs (especially at the junior level). Triplebyte has some great data on how bootcamp grads fair against CS grads (https://triplebyte.com/blog/bootcamps-vs-college) and my takeaway from this (and from personal experience) is that at the junior level it almost makes no practical difference.
Oh man, for some reason I thought pytest was a synonym for Python's unittest module.
> I can tell you conclusively what it does: it takes a monadic function that returns a Bool after performing some "action" as well as a list of values; it then performs this action on each element and look at whether the result is True or False; when True, keep it otherwise discard it.

The function below matches the signature of filterM for List monad, but does not do anything remotely similar to what you described.

foo :: (Int -> [Bool]) -> [Int] -> [[Int]]
foo f xs =
case bool of
[True] -> []
_ -> [xs]
where bool = f $ length xs

This is a contrived example, but I think a large part of your guess on what filterM does comes from the word "filter" in its name. This isn't any different from other mainstream programing language, so it is not a ding on Haskell.
I can give a correlation (not really causation) example:

An external recruiter talks to an engineer who graduated uni last year and has been a one-man show at a nonprofit. The engineer is looking for a place with mentorship and code review. Recruiter says he can get $120k total comp.

He goes to the company and tells them about a dev whom he’s known for years that a brilliant senior-level engineer who’s led the technical team of a nonprofit startup accelerator. Company interviews the engineer. Gives him an offer for $95k.

Recruiter negotiates for $25k of bonus opportunity and the contract is signed. Engineer joins and spends his first month trying to figure out what team he should be on. He bounces around a few different projects with a mix of success, package management bugs, and utter confusion. Gets some of the bonus. After a year, he learns of how the recruiter sold him in the final conversation with HR.
Today, in one of the four cities that birthed the very first connections made to the proto-internet (Berkeley), I am finally getting a second broadband option other than Comcast.

I'm an hour in to a 4 hour window waiting for my Sonic install. I am so happy to finally be have a choice.
That was probably technically wire fraud, but an interesting story no less. Not to worry, the statute of limitations is 5 years. (IANAL)
My phone is a Walmart special $30/no but my wife, on Fi, spends the max (~$90). She streams music for our kid, while driving. Dropping her to $70/mo is a win for me. Obviously everyone is different but I just wanted to point out the per person cap in a normal plan can be higher than the unlimited. I converted her over yesterday.
> Video may stream at DVD-quality (480p).

How do they manage that over TLS?
My wife and I use ting which is also $10/GB and we have only once paid as much as our previous unlimited plan for a month. It is unusual for us to see a bill as high as $60.
Indeed. Reminds me of arcfide's Co-dfns compiler:

>I think the first copyright on this compiler is around 2011. That's 6 years for 750 LoC. That's about 125 lines of code per year.

>But that doesn't tell the whole story. If you look at the GitHub contributions that I've made, I've made 2967 of about 3000 commits to the compiler source over that time frame. In that time I've added roughly 4,062,847 lines of code to the code base, and deleted roughly 3,753,677 line of code. And there's the real story...It means that for every one of those 750 lines, I've had to examine, rework, and reject around 5400 lines of code.

https://www.sacrideo.us/smaller-code-better-code/
Improved C Variadics in Rust
Yep, it's just one of the hacks that everyone's on board with. Like how we allow cash-tipped employees to not report tips, we allow this because (while politically unpalatable to change the law) it's better for the country this way.

After all, it's the law that fails to recognize that 7 years of experience in different environments may trump having a degree. Policy makers recognize this and allow the situation to exist because they know that you're not going to get residence for the 7-year-no-degree dude, you're going to get it for the 5-year-Masters-from-CMU fellow and it's better to have that guy in than out.
Maybe states could offer CAPTCHA license plates that would be easily readable to a human police officer or other first responder with a legitimate need, but unreadable by license plate OCR.

Or license plates could become programable e-ink displays that display a new hash every X minutes so that a person with a legitimate need could rapidly identify the vehicle but which would defeat bulk passive data collection.

On the other hand, wouldn't organizations collecting this information go quickly further for emissions other than visible light? A car's occupants are likely carrying around devices emitting GSM, Bluetooth and Wifi radio signals, as well as onboard systems. The model for this is Google's collection of household radio emissions with the StreetView surveillance patrols or the gargoyles in Snow Crash.

https://www.theguardian.com/technology/2010/may/15/google-ad...

https://en.wikipedia.org/wiki/Snow_Crash
Well yes, but that's true of any degree - heck, that's true of nearly any education. There are a handful of exceptions like medical school that give you access to cadavers that you otherwise wouldn’t have or a robotics lab that has million dollar equipment that you can play around with, but in general you can (theoretically) learn anything by just reading books/practicing. College focuses you on things you might otherwise not come across and, in theory at least, sets a level expectation: anybody with a CS degree ought to understand elementary calculus, for example. If a CS education is “useless” then so is nearly all education.
Auto makers don't have to use california's rules to determine how they design the whole US fleet. They choose to do so because the cost to comply nationwide is low if they're already doing it anyway. A company could absolutely design cars for the 31 states with lax standards and attempt to compete with lower costs. That nobody has done so in the last 50 years seems to imply that you actually wouldn't see much in the way of savings. Realistically international car companies will want to make as few changes as possible between markets, and so even if California's regulations are removed we'll still have Europe effectively dictating the floor of emissions standards.
A smart company would see this as a win. By getting more flexible work schedules and locations, people are allowing work to happen during what would have been off time, even during vacation. For a lot of jobs this probably works out to more work getting done than a forced 8-hours-in-the-seat plan.
good marketing, im creating an account to use later in the year

what’s the mínimums macos versión ?
why not web if this is electron ?
Programmers complain that Huawei’s Ark Compiler is ‘not even half-finished’
It is a thought experiment, you have to engage with it charitably.
> Standups are paperwork that just happen to not use paper.

If it isn't written down, it didn't happen!

(Memory is not an infallible record.)
The part I'm finding hard to wrap my head around is that gravitational waves _are_ the disturbances in the curvature of spacetime. Wouldn't that change how they're affected by the curvature of spacetime? Maybe I'm mixing the static and dynamic aspects of the field.
> the distribution of the boring events is fascinating

This line needs to be made into a motivational poster, or a statistics meme.
I don't want to google "crunchy Karen" at work...can someone post a description here?
I understand the desire for a site like this from a job seeker's perspective (no CS degree here either), but what is the incentive for the employer?

Are these no-CS job hunters not on every other site? As a job poster just put "No degree required" and your inbox should be flooded.

I don't see "no degree" as a skill that needs to be sought by paying $99 to post a job.
Fear not, friend, for the IMF has a plan to drag us kicking and screaming below the zero-bound, whether the empirical evidence supports the prescription or not. https://www.imf.org/en/Publications/WP/Issues/2019/04/29/Ena...
From my cursory understanding any state can get a waiver just that California was the only one that applied for it.
I Changed My Opinion on China
> converting mainframe batch systems [...], and that sort of mirroring does not work at all.

Interesting, what are the problems you encounter if you try that?
the DF UI is a big "fuck you and fuck you again in yo face" design. this is coming from vim/emacs user (no probs with modality, long chords, etc). also coming from a user, who gladly enjoys text only games. But for DF a good UI is a necessity, or else it gets in your way. Your fun and productivity is obsctructed by the UI, most of gameplay is focused on navigating through UI, not playing.
my 2ct ¯\_(ツ)_/¯
Also why I find Factorio so enjoyable - when you can zoom out and admire your creation acting for a while. If you zoom out in DF your eyes start to bleed.
This is giving me chills after reading Dark Forest. I hope this sparks a new era of SETI with gravitational waves as the medium. I believe a civilization advanced enough would use gravitational waves for communication.
If the thesis of this article were correct then there really shouldn't be much of any account hacking. I couldn't find anything that gives the prevalence of this, but there's tons of "what to do if hacked" articles and lots of posts on reddit/message board about "I was hacked! Will I get my money back?"

Also, if the first line defense with passwords is poorly designed, why would these security-by-obscurity hidden ones be any different? Sure, you sign in form a new computer (or one that had its cookies deleted) and the site says "You haven't used this computer before, answer this security question: What is you Father's middle name?" That isn't a high barrier. If you know my name and a little about me, plenty of white-pages style sites show relatives etc.