skysight-inc/HackerNews huggingface dataset:
Can anyone speak to how the EU is enforcing the travel restriction?

I can go online and buy a flight right now. Let’s say my airline let’s me board without a business visa (which they likely won’t). When I arrive in the EU are they saying, “No you must book the first return flight home” or is it similar to the deportation process? I’m curious because I haven’t actually seen any information about what is happening to people upon arrival without the right visa.
Can someone tell me why it’s so hard to extract bookmarked tweets off Twitter? I don’t know of any API or scraping option for getting thousands of bookmarks out of the platform. Those are the most useful tweets to me
IIRC Skype for business isn't actually based on Skype and a lot better than it.
My Interviews with Facebook, Twitter, and Microsoft
Owned one. It was a damn good phone, had a great UI that remains unsurpassed to this day, but it clearly came at least two years too late to gain the critical mass needed for a thriving ecosystem.
I sell a binary clock I created with my brother and my wife : https://boutique-the-city-clock.com/product/the-city-clock/

We just sold our 1500th clock !

Apart from that I'm a french full time software dev
I have been to Microsoft campus three times. Guess who I saw zero of. Don't complain about not being able to hire.
>> Then they sheepishly admit that this is true.

So even some of the most successful high statis people are caving in to outside pressure to be something other than what they want. Problem is, the benefits of that (money, status, maybe power) are nice thing to have even if they're not your goal.
I had a friend once refer to it as “funemployed”. I loved the term, though I still prefer to refer to intentional and willful breaks from employment as sabbaticals.
Thank you, Fixed!
Here's more information on the 3 new logical assignments

Logical OR assignment (||=) [1]
Logical AND assignment (&&=) [2]
Logical nullish assignment (??=) [3]

An example for OR assignment:

let a = '';
a ||= 'hello';
console.log(a); // prints 'hello'
a ||= 'not this';
console.log(a); // prints 'hello'

[1]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
[2]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
[3]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
Good point. I guess that a key assumption of most strategies is that the world's economy will continue to grow. The condition is to wait long enough to see it through without panic selling.
have just updated it - <hacker-news-handle>@gmail.com :)

You have the potential to make a couple of our more creative members extremely happy :)
'Magicians do not lie about the universe,' says Jillette of the Amazing Randi
I'll keep an eye on this for the responsive feature that's planned!

I recently implemented a timeline on the https://wavy.fm front page to communicate that the website is still in development. Trying to make it responsive with flexbox was an absolute nightmare, so I ended up using JS to render the component differently on mobile.
You can try that, but then why should SF/US based employees be paid more?

Sauce for the goose is sauce for the gander and all that.
>If you do the local taxes right

How do you do this?
Updated. The QAnon bomber was, indeed, a different incident in Illinois. The Hoover Dam incident only involved firearms and an armored vehicle.

And what term other than 'shot up' would you use to describe a deranged person recklessly discharging a firearm as part of a targeted attack?
> I know of some that are left in for backwards compatibility, but otherwise its clearly working well enough to be the dominant tool for so many industries.

Some sort of a strict mode or a way to designate data types on table columns would solve probably 90% of the issues people have with Excel.
How Debuggers Work: Getting and Setting x86 Registers
taken individually, these all seem like minor nitpicks. but together, they make for a pretty high-friction E2E experience on telegram. the first time I try to have a "secret chat" with someone, it's often the first time they realize that telegram isn't E2E by default or that it even has that feature! I have to wonder about the design decisions made here. it seems pretty obvious that the combination of limitations is going to result in the vast majority of messages not being E2E. in practice, "secret chat" on telegram is only worth the trouble when both participants understand they are doing something shady.
How much energy would be the right amount for Ethereum to use?
I feel it for the post's author - few things are as demoralizing as finding out that your heroes are flawed, which Mozilla definitely is.

Having said that, the points he lists against Firefox are also perfectly valid criticisms of Chrome, so I fail to see how is switching to Chromium any better - if they got fed up with Firefox because they "shut down communication", just wait until they try to communicate with Google of all companies.
In Sweden it's totally OK to fix a program you own so you can use it, no matter what the license says. This includes disassemly if necessary.
Pretty sure some exec with 3 MBAs used TikTok as an example of "Making a YouTube with short vertical videos works, therefore let's make a Netflix of short vertical videos" to convince them to pony up :)
Absolutely. If you don't have a good attitude, you can't learn anything and no one will trust you with any responsibility.

Where I'm from, "having an attitude" actually means you have a bad attitude. You should say "having a good attitude." :)
Because we're a hackspace so I couldn't risk getting caught doing that. Totally had nothing to do with my failing to find useful OSX installers and cracks for the version we had :)
The Resurrection of Cray and AMD in a Trifurcating HPC Space
The article is just poorly written.

Even the first line is messed up...

> Those 1,004 star systems are in a direct line of sight to our planet...

It's SPACE. Every star within 1000 light years is in a direct line of sight to every other star.
There are more rail companies in Europe, than in US. If you bothered looking at the UK, you'd notice that they alone has as many freight companies at US.

In US rail companies aren't exactly known for innovation either, because of extreme distances they haul and already efficient diesel-electric locomotives - there's no practical pressures to innovate at all.

There are multiple reasons why rail traffic in Europe and US is different, but none of it is because "socialism".
Tell me that's not true.
Hey! I just squeaked through a home purchase in Golden. Felt totally lucky.

My next order of business is to help other non-out-of-state-developers start moving to Golden.

Along the way I want to make golden become a more affordable place to live, and also an even more desirable place to live.

(I know - it's a tall order.)

I've been connecting with folks who live (or want to live) in the area.

Feel free to send me a message (email, twitter, whatever) and I'll try to help you in this goal!

I'd much rather you move in than some rich out-of-state-er who's working on their second vacation home.
This post got removed from HN homepage. Was it flagged @dang?
I’ve noticed there are a lot of these kinds of suburbs by some large cities in the West. For example: most of the towns in the SF peninsula, Bellevue/Renton, many suburbs of LA and parts of OC. Whereas when many people think of suburbs in the rest of the country, it’s like one or two large highway exits surrounded by chain restaurants and big-box store shopping complexes leading to cookie cutter planned communities.
Hello. Yes, I have not prepared enough the description so guys and ladies I am sorry for that. Just added more information to the README.md file on GitHub.

Answers to the questions:

> - Read application code (written in python?) and extract an API specification? Is it flask only?

You can:

1. Construct schema objects and request objects using Python classes with marshmallow [1] library;

2. Split API paths (routes) into separate python modules, files for convenience and then add them in the `api/project.py` file.

> - Does it update the file on disk repeatedly?

No. You need to re-build the `api.yaml` file by yourself, using this command: "python build.py"

> - Does it modify generated application code to add an endpoint for the Swagger UI and host it?

No. You need to write the business logic of your API by yourself. For example, you write an API in Go and describe the API definitions (specifications) using
my project just by adding new paths, schemas. Flask is used only for development purposes, it is not meant to create API using Flask, but you can do it as well.

> - Are any modifications to the pre-existing applications necessary?

No.

> - Does it wrap an existing application?

If you meant if this is a wrapper for other apps then it is. These two: marshmallow [1] and apispec [2]

If you meant if this wraps existed API then the answer is yes. You can describe existing APIs using my project.

> ... are there other tools in your space that do what you do, but differently?

Yes, a lot and for many languages. I can mention swagger-php [3], flask-swagger [4] which I know. But the two are using annotations in code (via docstrings) to describe the API definitions/specification when my project is meant to create ONLY API defs/spec.

[1]: https://marshmallow.readthedocs.io/en/stable/

[2]: https://github.com/marshmallow-code/apispec

[3]: https://github.com/zircote/swagger-php

[4]: https://pypi.org/project/flask-swagger/
Interesting test, but too unrealistic bugs.
You can design a ground effect vehicle to also be able to fly. 90+% of the time you get fuel savings utilizing ground effect, and when the sea’s rough you can just increase attitude at a significant increase in fuel usage.
> Why do they have so many more PhDs now?

Because these jobs are researcher jobs, and research is a distinct skill-set than what is learned in the typical undergrad and masters program. Could we train researchers in another, more efficient way? Maybe, but PhD program are the current means of training specialized researchers.

> plus extra student loan debt

For researcher jobs, this will almost never be true. The vast majority of STEM PhD students are fully-funded and given a stipend (although usually small). The dynamics of course change if the student has to support other dependents.

> Even with a higher salary (and higher tax burden), it's not clear that you come out on top during your lifetime

For fields like Computer Science, there are many viable and high-salaried career for non-PhDs, so a PhD will likely lose lifetime money. For other fields like biomedical research, then they will probably profit over a full career. But really, people don't do PhDs for the money, people like their fields, they like the university environment, they like being around other researchers, or they like the independence—all of these things can be valuable beyond lifetime salary.
Wait what? this was fake news? I saw many tweets on this topic a day ago on trending. Thought it was real.

Guess having a billion people online can really help make news viral. IT cell in action.
people obsess about obsessions -- like Emotionally Abusive Relationships.. This post IMO is social anti-matter. proceed with caution...

Personally I wish Firefox could stabilize and "keep on trucking", myself, warts and all. That means your f* crazy company too. Get Well Soon
I think in this case, they're using the word "status" to refer more to how people might perceive someone relative to certain societal norms, whereas privilege is more about the basic abilities or advantages someone has because of their "socioeconomic status".

The tweet thread is using the word "status" a little differently than a sociologist might use it when talking about "socioeconomic status".
The ability to click and drag the timeline to scroll through it would be an excellent addition!
And personally I don't like the idea/feeling of having recurring fixed costs - I just want to pay (more) once and that's it.
Might save a few keystrokes here and there:

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

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

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
I find that difficult to believe that twitter employees, regardless of where they are based would act in such a blatant manner. Is there a way to prove this? Examples of such actions or bias?
GDPR is EU law. So the regional rulings are extremely important for deciding what you think you can and can't do.

And I think we're missing the main point. How can it be reversed if there are hundreds of possibilites.
If it was flagged too many times, you would see [flagged]
The American suburb was invented by streetcars.
I'm not getting may anti-adblock behavior with Ffx 82 & uBO. What browser are you running?
> I really enjoy living in a city with somewhat sane zoning

Which city is that? I'm not aware of any US cities with sane zoning.

To me that means no minimum square footage, minimal set back rules, no garage restrictions, no height restrictions, no restrictions on multi-units and ADUs, and limited or no restrictions on mixed use.
Do you have any source for this? And more information about their infra costs?
Node.js still implements CommonJS callback-style APIs (for web, file i/o etc) and module loading, specified in 2009 or so. "Stuff changing all the time" really isn't doing justice to Node.js. IMO, the Node.js API turned out to be very much on the stable side of things, yet also sports eg upcoming QUIC support
It's from Arthur C. Clarke: "If one considers the millions of years of pre-history, and the rapid technological advancement occurring now, if you apply that to a hypothetical alien race, one can figure the probabilities of how advanced the explorers will find them. The conclusion is we will find apes or angels, but not humans."

[0]http://www.projectrho.com/public_html/rocket/alientech.php
Like the scene from Five Easy Pieces with Jack Nicholson. He asked the waitress for an omelet with a side of toast. She says they don't have a side of toast, so he asks for a chicken salad sandwich, on toasted wheat bread, and hold the mayonnaise, the lettuce and the chicken salad.
Any scientific bases or just made out of thin air and anecdotal evidence?
PAM is one utter freaking nightmare to set up if one wants to stray from the distro defaults. Actually I'm astonished no one has dared to try and develop an alternative... god knows it's about time.
My music teacher often reminded my of this Lombardi quote which really resonated with me:

"Practice does not make perfect. Only perfect practice makes perfect."
The software was absolutely loved. You're right about the app store lacking though.

I'd still take WP over Android or iOS.
when I was growing up, genocide is not free speech, war is not free speech
The problems at Microsoft started under Bill. Microsoft's tablet and mobile platform initiatives went absolutely nowhere. Pen computing, MPC and Origami were complete flops. Longhorn never even happened, Vista was a disaster. Windows 8 was after Bill left as software architect but he was still involved with the company at that time.

Yes Office on iOS was a smart move, buy why was it even necessary? It was a white flag after over a decade of missed opportunities. Only under a new leader could it be re-branded as a refreshing change of direction.

I honestly don't know to what extent the problems there can be laid at Ballmer's door, but it really wasn't just him, frankly it was him and Bill. They were fantastic at executing on established products and technologies pioneered by others but dropped the ball time and again at innovating into new areas.
Next, researchers will strive to achieve similar sharp resolution with less rigid, large protein complexes, such as the spliceosome

Does this mean we don't currently have a good picture of what the spliceosome looks like? That seems important!
How do you even bookmark a tweet nowadays? Does this feature still exist? Because I can’t find it.
> How in the world could that happen?

Broken exception handling, for one.
Out of Work in America
No need to, to be honest. The grind only goes while you still enjoy what you are doing. Anything else is harming your productivity and well-being, be careful.

Also, development in a sense is a numbers game. You get more experience and try to expand as much as you can, rinse and repeat. Entrepreneurship is only another way, you can make it happen (and many of us did) just being a normal employee.
MSRs can do anything, really. They're also not universally "registers" in any meaningful way. Basically, instead of adding new instructions for everything, CPU designers just add a new MSR. Its kinda like how the kernel assigns a new major/minor for every new device driver instead of a new syscall.

MSRs can also be added by microcode update as we saw with MSR_IA32_SPEC_CTRL, which was used to mitigate Spectre (among other things).

Disclaimer: I work on Linux at Intel, and I was one of the ones posting in that LKML thread quoted in the article.
Intel Xe Graphics' Performance Uplift from OpenCL to OneAPI Level Zero to Vulkan
Blockchains exist for situations in which the participants in a transaction or system as a whole do not trust one another. You will always pay a price for that. Centralized systems are much more efficient but they depend on trust. In the cases where that trust breaks down or shouldn't have been given in the first place, it tends to create problems that are astronomically more costly than if a trustless system was used in the first place.
Software was really good though - just not widely used to get enough credit.

Sad that we are stuck with Android and iOS basically now.
Boswell's Life of Johnson
This model is also exceptionally successful in Java Servlet, C# Razor Page, and elixir. And perl CGI. It's possibly more common than not!
The title is disingenuous.

The article is based on http://www.equality-of-opportunity.org/assets/documents/inve... which states that “Children at the top of their 3rd grade math class are much more likely to become inventors, but only if they come from high-income families (Figure 2)”.

The chart does show high performing kids producing more inventions irrespective of class but with the rich kids producing at approximately double the rate. There seems to be a clear pattern of increasing invention with increasing scores for poor kids but not so for rich kids till you get to the top performing kids.

The secret to success appears to be a combination of talent and opportunity in approximately equal measures. The article also points out that opportunities are not equal.

Sounds like the classical nature or nurture question with the answer being both. You aren’t getting very far without talent.
Nuances of Constants in Go – Why You Should Use Them
Just to be that guy. There is a slight difference between Personal Identifying Information and Personal Information.
Arguably a lot of people are driven to be entrepreneurs because of the status.

The issue with the bankers is that they’re trapped in a local maximum.

A successful entrepreneur is probably the highest status role possible in modern society (think Zuckerberg, Bezos, Gates) maybe even rivaling POTUS.

I don’t buy that entrepreneurs are not interested in status, they’re just making a longer term status play (and taking on more financial risk to do so).

Look at “30 under 30” lists, accounts on Twitter and their bios, there’s massive amounts of status seeking there. I suspect the successful low status people are actually the standard devs/IT employees, not founders.

An annoying part of this game is that it’s also high status to pretend you’re low status or that you don’t care about status (hence all the “I’m humbled to accept <high status achievement>”)

Dating is always awkward, doesn’t really matter what you’re doing (except maybe doctor).
It is completely untrue. That's been disallowed on both sites since day 1.

>I came up with the original concept of 8chan while on a psychedelic mushroom trip. I was past the peak and was on the tail end of the trip, and I just decided to browse 4chan because that's what I did when sober. I was still tripping pretty bad though so I kept seeing these fractal patterns and I wrote down the words "infinite chan" to remember for later.

>The next day, I was able to put into words more of what the site would be like. I was inspired partly by the admin of 4chon.net, savetheinternet, who routinely refused to make requested boards for users. I wondered what it would be like if there were a Reddit-style imageboard where anyone could make a board without express admin approval, and began hacking on the imageboard engine I knew best to make it a reality: vichan. I decided to expire boards after inactivity so that it didn't get full of dead boards like Reddit does with dead subreddits, and released version 1 of 8chan two days later.

https://knowyourmeme.com/editorials/interviews/qa-with-fredr...
Surprising how few of the items in the stack are open source.
I tried yarn 2 on a greenfield project, but discovered:

- pnp is made possible in part by mysterious “patches” to certain dependencies that don’t work well with it. Mysterious as in they’re obfuscated, and there isn’t much detail besides commit history. This is blocking if you wanna try out, say, the TypeScript 4.1 beta and the patch isn’t ready yet. But more importantly um... I do not want my dependency manager mysteriously patching stuff with obfuscated code?????

- it applies these patches even if you disable pnp, so same objections to the entire yarn 2 approach (currently)

So I’m back on yarn 1 and apparently gonna need to look at npm 7 at this point.
I'd push back against "serious JS codebase", there.

Maybe it's just me but a monorepo with 180 packages sounds like a hole you've dug yourself into and you're propping yourself up with yarn.

I certainly don't think that anyone who keeps their packages separate (you could do that even within a monorepo, surely) has a "non-serious" codebase.
And how much of that is reflected in productive activities that economic value instead of being scams, proofs of concept, funny money and manufactured spending?
You should be satisfied with the results of a pen test if you can get a real hacker to do it for you. Finding real white hat hackers is hard, but they are out there.

Most 'security guys' are not hackers. They do not have CS degrees and are not curious at all. Rather, they are 8 to 5 office workers that are compliance and risk oriented. They run automated vulnerability scanners (that are largely useless and filled with false positives based on the version string of Apache). They submit reports to management where they discuss how to make the 'red' things 'green' to impress the Board.

Real hackers are very curious about technology and like to see how they can break things or make things do something that they were not intended to do. That's how they find bugs.

Two totally different worlds. One is focused on 'compliance and risk and loss prevention insurance policies' (basically CYA) while the other is focused on actually being technically secure by trying to break things before the bad hacker comes along and does so.
If by that you mean that Leetcode is busy work, I agree. Personal projects and hobby work are a better sign of potential.
Think of the zone they're talking about as a disk: the plane of Earth's orbit, extending out to the maximum distance where the transit is still considered detectable. Most of that disk's area is far off, towards the edge; little of it is near.

The article puts this in a confusing way, imho.
We're working on the API for Bookmarks right now. Hoping we can ship this before too long. https://trello.com/c/qztXMWCK/76-bookmarks-v2-twitter-api