skysight-inc/HackerNews huggingface dataset:
... especially considering the recent revelations about corruption in SF Public Works:

https://www.sfchronicle.com/bayarea/philmatier/article/Corru...
If it's clean and clear cut you probably don't need deep learning either.
> Readers: what is your take on it and why?

It's ok to draw a line on what implementations you care about. And honestly, at this day and age, I couldn't care less about implementations that define NULL to be 0 (or something else that isn't a pointer). It's a case of where it's not worth everyone's time to be catering for the lowest common denominator.. instead, fix that implementation or just go download a better one.

If I could make breaking changes to C today, I would remove the NULL macro and replace with a lowercase null (or nil or whatever) keyword a definition that doesn't impose pointless burden on its users.

That said, I'm still very much in the habit of casting NULL to void* when I'm using it as an argument for variadic functions. It's silly, but that's just how we do things...
Kiss of Peace
XML parser:

https://a.kx.com/a/k/examples/xml.k
One key thing I've found useful of it is that it attempts to reduce duplication, by marking up existing data with CSS classes that then provide meaning
I agree with that and I definitely will try.

As explained in the first comment, one of the motivations for the project was to learn constraint programming. The tablature generator could be a nice example to compare different paradigms and algorithms.
Remove limited liability as a concept: stop funding the extrinsic risks of large corporate actors. Don't shield stockholders from criminal and unethical acts committed in the organization's name. Watch the incentives change and only very small companies exist. Where necessary, big companies will be run VERY cautiously, as they should be.

EDIT: of course this would "economically devastating", at least to the present way of being, can you imagine the risk of being an officer in a large corporation or a stockholder? but maybe the economic advantages of reduced corruption and mega-corp inefficiency would soften the blow in the medium to long term?
Wikipedia volunteers: Our best weapon against misinformation
Ray-tracer:

http://www.nsl.com/k/ray/raya.k
I was talking with a Data Scientist friend abiut what I love so much about Clojure and it was largely about the REPL. To him it sounded like nothing special - trying expressions in a prompt is hardly new or original and he does all the time in R. Which I thought is actually a really good selling point for Clojure - you get to do the really high-level data manipulation you do in R, Mathematica or even Python in a language that is compiled, good with concurrency, probably embraces your platform of choice and is also used for the frontend.

What makes it different for me is two things:
- the functional style mean that many things are much easier to track in a REPL - you don't need to use a stepping debugger to get to the troublesome value of i as often.

- Structural editing using parinfer or similar is fun.

Overall I'm not convinced that the Clojure REPL is that unique, but combined with the rest of the ecosystem it is pretty sweet.
Having used C++ for 25+ years, I know it better than I wish I did. I have also used Clojure professionally for 5 years now, and I find it much more readable, as in there's much less cognitive load when figuring out what something does.

It is not just about abstraction level either: Python gives me intense discomfort.

I have not used K, but quite like the way it looks.
It saddens me that every time I see a fediverse-related post on HN, it gets inundated by people who don't "get it" and that is to be expected: fediverse is not Twitter and everybody gets Twitter. That change in mentality is not easy.

Fun story: massive influx of users from India recently and the timelines got flooded by posts indirectly asking: "what is the way to fame here? How do I get followers?". Fediverse doesn't work like that. You just… talk with others. There's no "you and your followers". There's "us".

Analogy: you are not in a metropole. You are in a village that is extremely well connected to all other villages. You do not need to shout to be heard.

I'm on a FOSS-focused instance. We talk all kinds of stuff and FOSS is one of them. I have my Home timeline where I follow all the people I want to hear from (both my instance and all others). I have my Instance timeline where I'm basically guaranteed to read interesting stuff I can reply to and meet new people who also considered this instance to be their haven. And the Known Fediverse timeline… Well, it's fun to browse but come on, imagine a timeline of all tweets on Twitter: mostly useless.

Choosing the right instance also involves choosing the right moderators for you. Mods can block other instances. If you don't like what the mods do, change instance or start your own community. After all, it's not Twitter, the people decide how content is moderated, not a for-profit company.

That's the fediverse for ya. Hope to see you there!
I can't scroll this website at all.
I wish more articles would correctly use "misinformation" or "disinformation" depending on the context.

Disinformation is the deliberate spreading of false information to mislead the public.
The authors of the Gecode solver could explain it better than me, but I think that -O3 and -O4 perform a first pass that pre-compute variable bounds and values, which could reduce the exploration space significantly.
Graphical spreadsheet application:

http://www.nsl.com/papers/spreadsheet.htm
Well then you do some quantitative easing and all is well again ;).
Flash ads were trivial to block with plugins :-). And it was safe to block because usually no serious pages used Flash much except for artist portfolios.
Its a very impressive show of one-liners, I love how expressive the language is. I wonder however, how easy it would be to extend compared to something like Lisp. If these idioms for parsing html weren't built-in, what would a Rebol implementation of those funcs look like?
HOMM V was also a kind of failure in balance aspect until they fixed it. Do you remember Raise Dead/Resurrection spam and necromancers moving around 10k skeleton archers?
This has to stop, or we'll never progress as a civilization.

See all this incompetence revealed across the entire economy and governance in the wake of COVID-19? Apathetic people ticking boxes is a big component of the cause.
You can't secure Mifare Classic directly, it's totally broken.

The best solution is to assume that a card's encryption is or will be broken, and build a system around it.

That is to say, store encrypted or signed data on the MIFARE card.

VIGIK is a French system that uses RSA signed data in MIFARE cards which has not been cracked to date.
"I'm feeling bad, so should feel bad too"
LGR did a great video on the Gizmondo: https://www.youtube.com/watch?v=dv6UaHZxUys
I rather apply to Google and get rejected, for the experience, than even considering AMP.
Instabox | Stockholm, Sweden | Full-time | ONSITE, VISA | https://instabox.se/
Instabox (https://instabox.se/) is a growing tech startup that wants to change the logistics industry. We deliver your parcel to one of our smart lockers, seven days a week, as it should be. You pick it up on the same day using a pin code, without ever having to spend a second waiting in line.

We are an engineering team of 18, working across the stack, ranging from our iOS and Android apps to the code running on our smart lockers. Our stack is primarily based on Javascript (NodeJS/React), Python and Go, with MongoDB as our primary data store. We are located close to Medborgarplatsen in central Stockholm, where you will work together with a close-knit team of product-focused and motivated developers. In addition to the software focused roles, we are also looking for an industrial engineer to help us develop our hardware and physical automation (improving our locker designs for other environments and use-cases, figuring out how to sort hundreds of thousands of packages per week, dealing with bags etc.)

You can read more about the open roles as well as us and what we offer at:

- Backend Developer: https://jobb.instabox.se/jobs/820207-backend-developer

- Frontend Developer: https://jobb.instabox.se/jobs/816472-frontend-developer

- Senior Engineer, Testing and Reliability: https://jobb.instabox.se/jobs/826207-senior-engineer-testing...

- Data Engineer: https://jobb.instabox.se/jobs/841293-data-engineer

- Industrial Engineer: https://jobb.instabox.se/jobs/830980-industrial-engineer

Apply directly via the links about. If you have any questions, feel free to email me directly at tommy [at] instabox.se. Please attach your resume and any relevant links (Github, LinkedIn etc.)
Yep - satellite office growth isn’t a cost play, it’s a hunger for more bodies that can be thrown at projects that are guaranteed massive ROI.
> I just read this and I can say, I worked with a company that was roughly this but multiplied by 0.25.

Who hasn't? You will find the points of that bullshit bingo in any company with some degree on severity, even more so in a young startup.

A good portion of the article is the author realizing that stock options are shit when the company isn't doing as well as they claimed. (Welcome to the club!) Another portion is the author realizing that they don't like working on an open source project with a BDFL that they perceive to be resistant to input. And then they complain about the sales people doing a good job, because they are selling what makes the company money instead of support contracts for what they work on.

In the end, if I were to consider working at the company, nothing of that would tell me if it were a good idea or not.
A bit more convincing: http://www.kparc.com/edit.k

Properly formatted and with comments, it almost looks readable.

The insistence to use one- or two-letter identifiers that you then have to look up the meaning of in a comment makes it look pretty childish, though. "Look ma, it's still super terse even when doing something real!" Yes kid, it is when you refuse to do the one obvious thing that could actually make it readable.
I did the same thing (hiding outbreak related content) on reddit with a few uBlock Origin filters:

www.reddit.com##div[data-type="link"]:if(a:has-text(Covid-19))
www.reddit.com##article:if(span:has-text(Covid-19))
www.reddit.com##div[data-type="link"]:if(a:has-text(corona))
www.reddit.com##article:if(span:has-text(corona))
www.reddit.com##div[data-type="link"]:if(a:has-text(virus))
www.reddit.com##article:if(span:has-text(virus))
www.reddit.com##div[data-type="link"]:if(a:has-text(Corona))
www.reddit.com##article:if(span:has-text(Corona))
www.reddit.com##div[data-type="link"]:if(a:has-text(Corvid-19))
www.reddit.com##article:if(span:has-text(Corvid-19))
www.reddit.com##div[data-type="link"]:if(a:has-text(COVID-19))
www.reddit.com##article:if(span:has-text(COVID-19))

It's not very elegant but it was very fast to create and it's quite effective.

It works on mobile and old reddit; I didn't test it on new reddit yet.
Ask HN: What is the best way to sell sofware, legally, as an individual dev?
Is there any legal way to sell software as an individual dev, without a company?

I want to test a SaaS product but I don't want to set up a company yet. I just need a temporary method to handle payments & legal stuff until I validate the product.
Fully automated software to make a full time income sharing your opinions
Show HN: Wedding Saving – Wedding deals delivered to your inbox each week
That page describes the PS2 as technically superior to the Dreamcast.

Ah yes, all those technically superior jaggy polygons.
in a trial, you get invited and you might be placeboed out as a control.

in the “just try it and see scenario”, you offer it as a possibility, and everyone who ops in, gets it.

it might not be as scientifically rigorous, but that's a big difference to the patient who suffers from receiving a placebo instead of the real deal
Spending over 50% of your take home income on housing is better than being homeless. Especially when that leaves $2000 or more a month for all other expenses.
Masses love javascript. Just saying.

More seriously, core language quality is not the primary driver of language choice.

Otherwise we'd all be using something with S-expressions, Hindley-Milner, dependent and linear types. ducks
k costs $20,000 per-core (less accurate now than it used to be but I'm pretty sure it's still true for commercial uses). It has a billion-dollar company based entirely around it (Kx/FD) and a smaller multimillion one, so it worked out well, I guess.

J is free, but J has never had an advertising budget, and was only freed recently.

APL's current leading implementation is really bad in comparison to how nice the language used to be, and just as proprietary. It was also significantly nicer to input back when APL keyboards existed and typeballs did as well.

Very few people strike gold and then have the willingness to not sell it at market-rate. Unfortunately, most people implementing APL are very aware of the rate. And it's high.
I think it's a mistake to view all commuting time as "lost".

For example, my commute is about 40 minutes door to door. But I walk to work and listen to podcasts as I go so I'm getting some light exercise and catching up on things I want to listen to. If I didn't do these as part of my commute, I'd have to find other time to do them. I also find it helpful mentally to have a "transition" time between home and work to get ready for my day or wind down after work when things are getting more stressful, and I've heard others say the same.

Friends who commute to work on the train use the time to read books or sleep. Again, if they didn't do these things then, they'd need to find some other time to do them so the actual amount of lost time is pretty small.
I had the same issue, I reloaded the site and it worked. I guess this is a race condition in JavaScript and it works when it's cached in the browser cache.
> At this point it is pretty clear that calling first on a number is not valid. A quick doc check will show that first is for collections

I could just have the compiler explain the problem in the REPL, for example with SBCL:

* (defun foo (n)
(cond ((> n 40) (+ n 20))
((> n 20) (- (first n) 20))
(t 0)))
; in: DEFUN FOO
; (FIRST N)
; ==>
; (CAR N)
;
; caught WARNING:
; Derived type of N is
; (VALUES
; (OR (DOUBLE-FLOAT (20.0d0) 40.0d0) (SINGLE-FLOAT (20.0) 40.0)
; (RATIONAL (20) 40))
; &OPTIONAL),
;
; conflicting with its asserted type
; LIST.

Then there is less need for manually searching for problematic expressions in the code.

See http://sbcl.org
Show me another website that is this incompetent when lives are on the line
If you limit it to just the PC shareware version then perhaps. If you include all the special editions and the ports as part of the same game then there's no way it was a failure. It's been released about 50 times..
I realize that some of what I mentioned is less significant in the modern context but I was also paraphrasing over two hundred years of history. I'd be interested to hear why you feel that America's early embrace of multiculturalism, compared to its contemporaries at the time, was not significant enough to be noteworthy. Your points about world war 2 aren't without merit but that's also why I acknowledged them as well. Further, I'm not sure I understand what you feel mentioning the petro dollar really adds to the conversation when the point of that comment was to highlight that the US and China are both considered global powers despite the different paths they took, culturally, to obtain the accolade. It's certainly not insignificant as far as giving a thorough explanation of the ways by which America entrenched and maintains influence in the modern context, but that also wasnt the topic I was speaking to.
> I doubt there's layers and layers of template metaprogramming in Ableton Live, or that Maya is a study in inheritance

I doubt both of your assertions - public Ableton code uses templates fairly liberally (
https://github.com/Ableton/link/search?q=template&unscoped_q...) - and due to backtrace exposure I know that this is also the case for private implementation things.

For Maya just look at the plug-in API :

https://help.autodesk.com/view/MAYAUL/2017/ENU/?guid=__files...

https://help.autodesk.com/view/MAYAUL/2017/ENU/?guid=__files...

https://help.autodesk.com/view/MAYAUL/2017/ENU/?guid=__cpp_r...

command pattern, factories, etc... it's textbook OOP.

Also, most projects in the wild nowadays are C++11 or later, with actual use of C++11 language features. e.g. look for example OpenAGE, an AOE2 reimplementation - https://github.com/SFTtech/openage/blob/master/libopenage/jo...

That kind of thing is as far as "C with classes" as is possible.
The U.S. Isn't Ready for What’s About to Happen
Oil Prices Dive as Saudi Arabia Takes Aim at Russian Production
> So then, why is K less popular than pretty much any other language?

K is pretty polarizing and goes against many established “best practices” we get hammered into us every day as software devs.

Just look at the knee-jerk negative reactions on hn posts every time the APL family is mentioned.

We tried it in my team and a lot of people who were pretty productive in it still hated the experience.
With 5 to 10 lines of comment per one line of code, it starts to become readable. You're still left constantly wondering "what do a and x mean in this context, again?"

3/10, would definitely not want to use for any kind of real work.
Definitely. This could be the next step in my exploration of programming techniques to solve this problem.
I will have a look at your implementation.
I was also a bit confused, but it turns out that the last line is always dated today (in the local time zone ;-) and displays the last known status, which may be, and in this case definitely is, outdated.
I didn't know that.
I will fix the README of the project as well.
is this like a code golf example? or what you expect "good" K to look like?
What if I transfuse blood from healthy young subjects? That was a claim from some startups, a wacky VC or two, and even a joke in the Silicon Valley HBO show. The rumor mill says this is happening at a low level.
Bayesian statistics has to follow Bayes rule. There is a fairly specific framework behind the numbers in Bayes (i.e. probability). Fuzzy logic is looser.

You could say Bayesian statistics is a subset of Fuzzy logic.

Given how informal people have to be in Bayesian statistics to come up with reasonable priors (e.g. uniform), and how well it works by just guessing reasonable values, it could be argued that the power of Bayes is not in the inference but from the slack in the system it permits. Fuzzy logic is pure slack.

I think modern neural networks with activations like leaky relu look more at home in a fuzzy logic textbook than in a statistics text book.
Something to keep in mind Covid-19 has already taken a foot in multiple countries in the southern hemisphere, where they are going to enter fall pretty soon. This already reduces the possibility that it will totally fizzles out due to northern hemisphere summer.
Wordpress gets a hard pass for me specifically because (a) it has a plugin system that I've seen explode in practice far too often to trust, and (b) the task specifications provided by OP include marketing and management access to the editor. There is no stronger force behind pet features and rule breaking. I'd choose something easy to work with, but with an intentionally limited scope over anything with shiny bells and whistles in this specific case.
The "amount" of code is the same as in any functional language though. It's just written in a smaller text file.
A Common Lisp programmer would write it like that too. He would then disassemble the function, run away in terror and eventually come back to rewrite the whole thing with a more efficient loop expression.
The article's point is dishonest smugassery. Congratulations on convincing people to avoid K for its community, if not the language itself.
What is stopping you from getting into Rust?
The reason for choosing new technology on the developers part is for job security. If everything were still php you would have outsourced his job to India ages ago. The fact is that the developers need to do this because of the ding dongs mbas in management.
There are lots of recommendations for protection against coronavirus which are the same as the recommendations for protection against normal flu. If people are implementing them which is very likely, there should be a decrease in normal flu cases. We should be able to quantify how effective they, washing hands frequently, are.
> If people accept it as normal (i.e.: full global spread) that's enough

I agree, but what if they don't?

It's quite easy to just stop doing stuff, order everything on Amazon, and binge on TV and video games.

It's arguably even rational to do it. Socializing is somewhat of a risk right now, and I'm pretty comfortable at home.

The CDC said today that Americans should avoid taking long flights.
The administration is downplaying the risk to Americans.

> which means everyone is trying to "buy low" as soon as any sign of long term recovery is seen

The market was given a chance to do that last week when the fed cut rates. The fact that futures are limit down tonight suggests that this selling may go deep.

I would love to "buy low", but the bottom may not happen until prices are back to 2008 levels.

Also 10Y is now down below 0.35. I'm not sure where the cracks in the system are, but this is a global stress test of the economy.
Mainstream media is almost as anonymous and just as unaccountable as Internet "randos". The latter at least link to their sources sometimes.
Please do not do this. Long essay style commit messages are not really searchable, have no real way of discussions, do not support formatting, images etc and are hard to even read in many tools. A better way is to create an issue first and attach it to your commit.
> ... slow-stream a bunch of html elements

Slow-stream?
Zhang Weili Defends UFC Championship Title Despite Turbulent Preparation
For reference, the generally accepted standard for determining age from blood is the Horvath clock [1]. It seems to be accurate and only uses a penalized regression. Keep in mind this represents what your age is in reference to a "healthy" person. For example, a 50-year-old who smokes may have the equivalent practical age of a 60-year-old who doesn't. The Horvath clock is useful for evaluating lifestyle changes and your overall healthspan.

If people want to learn more about how DNA methylation relates to aging, I recommend reading Lifespan by David Sinclair.

[1] https://www.semanticscholar.org/paper/DNA-methylation-aging-...
With res you can have infinite scroll on old.reddit.com as well.

Which I actually like, but res comes with more shortcut bases behaviors so that may have something to do with it. I feel like the entire package gives me more control over how I browse reddit, not less.
Unfixable security flaw found in Intel chipset
The H-E-B where I live only stocks fresh grocery products from a 100 mile radius. Walmart, Amazon, and local stores for the rest.

The US is a web of distribution centers and interstates, not a few ports.

Sorry I don't want to suffocate in a city. Luckily no one can make me or anyone else leave. Rightly so.
Sure, duff device is obsolete due to cpu zero overhead looping but it is still nice to see, mind boggling piece of code. :)
Prairie dogs in Colorado. A number of pet dogs and a human owner or two get it each year. If recognized early, antibiotics work fine.
The DVD player was a very good advantage of the PS2.
Agreed.

I've written a couple of interpreters now, and even a simple maths-compiler that generated assembly-language output.

One of the things that made me postpone these projects for years was seeing so many parser/lexer examples which were just evaluating simple expressions such as "3 + 4", or "3 + 4 * 5". Going from there to a real language with functions, conditionals, etc, is a big step with no guidance.

Still this is a nice project, and it is well-documented even if it is "small".