skysight-inc/HackerNews huggingface dataset:
The first example utilizes a feature of Swift's type system which obj-c does not have (enums with associated values) to write code which is better than could be done in obj-c. This seems like a perfectly good example of improving code by making it more "Swifty", as one of the distinguishing features of Swift is that it has a more powerful type system than most mainstream languages.

The second example is strange. It's improving the code by making it call the correct method from the standard library rather than the wrong one. I guess that's not bad advice, but I have no idea what it has to do with Swift in particular.

The third one is a missed opportunity. Swift has some unusual ideas around how things should be named (partially inherited from Smalltalk via obj-c, but also partially new), but instead of talking about that it's just generic "give things useful names" advice that has little to do with Swift.
Dash is awesome, and even more so when you use the Alfred integrations to get essentially a system-wide hotkey for doc search. Alfred hotkey, docset abbreviation you set, search string, and you're there.
And:

- https://pwnable.tw

- https://pwnable.xyz
Base salary is only one portion (usually less than half) of total compensation. Also, these engineers that I am referring to do not have the entry-level title -- they are often "senior software engineer" or "technical lead".

Maybe I should revise my claim to "top software engineers make over $200,000 in Austin, Pittsburgh, Seattle, etc.".
> I’ve always thought that this is going to hit illegal immigrants hardest.

That might be an argument if it were a UBI, but this is not a UBI, and it is just going to hit the poor in general the hardest.

> Rents on the low end are going to rise by $1000/month

Even if they would with an actual UBI (which is a whole different debate), they won't with this plan [0], which (bizarrely, as its author calls it a UBI) leaves out essentially the entirety of the poor plus the transitionally unemployed (that is, it leaves out anyone receiving benefits under Medi-Cal, CalWORKS, CalFresh, or, weirdly, Unemployment Insurance.)

Medi-Cal alone covers roughly the poorest 1/4 of Californians (10.8 million of 39.6 million in 2018.)

Unemployment Insurance is the weirdest exclusion, because it makes the bite of transitional unemployment deeper by $1,000/mo. Why anyone thinks that's even a remotely sane idea is beyond me. Funded with a VAT (which has essentially the same regressive characteristics as sales tax) this is basically the opposite of a UBI, its an upward redistribution from the poor and unemployed to the comfortable and employed.

The problem is not that it will drive low-end housing prices up, its that both the VAT and the not-all-universal Basic Income pieces will drive up prices on goods across the board (but not, except weakly indirectly, low-income housing.)

http://leginfo.legislature.ca.gov/faces/billTextClient.xhtml...
I use a tool called Zeal on linux which makes using docs even better than in a browser since its pretty much instant.
This looks like a really nice introduction. And it looks like there's not too much to learn before writing basic programs for the NES (I could be wrong). A simple environment with static hardware makes it less intimidating to jump into.

Back in high school I started getting into Z80 programming on the TI-86 calculator. It was a great platform for learning. It wasn't too complicated to start making simple programs (you could even code directly on the calculator if you didn't mind inputting everything in Hex.) And it was an easy step to start doing graphics. This reminds me of that kind platform.

Sometimes I dream about getting back into ASM for fun. But I have so many other, more practical, things I'd like to learn (I'm not in software development). This is temping, though.
Like a Lada?

https://i.redd.it/469hjiwz3ga21.jpg
Every energy solution in existence. Whether nuclear, steam, hydroelectric, solar or coal. Was manufactured from raw materials that were mined and refined. It makes no sense for you to single out solar as if it exclusively were the only energy source this precedent relates to.
> from a production perspective, I think security should be topic one

Two general approaches to security:

- Upgrade to a paid Elastic cluster, and use their own feature-full security suite.

- Put a reverse proxy server in front of Elastic (like nginx), and configure that to handle security.
How I will organise my Django Project Structure
In aviation, the recommendation is to wash the outside frequently with clean water.

However, cars are in contact with salt water, so there's an extra concern there.
To summarize the answers below - it all depends on what you are trying to do. Data lakes are generally less structured than other things. They can also contain non-text things, like images and videos that can also be mined.

Sounds like you are thinking more of a data warehouse, which is structured data on an engine that’s designed for querying large volumes of data. I’d recommend first starting with your objectives and then going for what solves with least amount of “stuff”.

I don’t work on data warehousing or pipelines now, but when I did a year ago, AWS and GCP both offered great tools with slight differences, where AWS was a bit pricier to start, but focused on more predictable pricing and GCP was much cheaper with pay as you go, but you could get yourself in trouble with cost by not following their best practices.
Indeed. I wish every language/library site were at least this good.
Awesome answer, thank you very much!
I'll consider everything you mentioned and see how I can improve things.
Apps look great. Where it fails is the thumbnail. It has the correct feel but something about it prevents me from considering clicking it.

What did you use to make the logos?
I'm pretty skeptical about these "best of" lists of books for self-directed mathematics education.

I have my own "best of" list that is very different to this list, although there are a couple of crossovers.

If you are fortunate enough to have access to a university library (or libraries) I would _highly_ recommend inquiring about access to their general collection. I was also fortunate enough to study mathematics to a university-level three-year degree at a research university. So I had an excellent head start.

A HUGE part of my journey of collecting my "perfect library" of mathematics self-tuition and reference books (and course books) was to do my own research on collecting the perfect titles. I started when I was in the early days of my mathematics degree and I used resources like Amazon, Usenet, libraries (already mentioned), and ... that was about it.

Another important question to ask yourself is the following:

"Why am I doing this?"

Life is short and by the time you hit middle age, if you have a family or bills to looks after, are you REALLY going to want to lock yourself away in your study room to learn Lebesgue integration instead of focusing on the rest of your life?

Consider that people fail to emphasise is that mathematics is a social activity much more than many people realize.

Exercise: Find the topics of mathematics that are important to your goals and are missing from the list and find your favorite books or two that cover/s these topics.

Exercise: Consider whether your interest in (self-directed) mathematics is so sincere such that you have a serious application in mind, that you might be better off enroling in a course? Even if it's a night course that last a couple of years, you will meet a LOT of people who can help in ways that are immensely more productive than trying to do this all by yourself.

I recently purchased volume 1 of my favorite calculus and analysis book. It's an incredible masterpiece. The coverage of topics is much broader and more interesting than Aposotol or Spivak. The latter books are both very good but they also have myopic, one-track pedagogical approaches and limited themes in their coverage.

Exercise: Find your own favorite introductory calculus book that is suitable for the motivated student.
Tables in Bootstrap with Examples
To be fair, that was probably a tough crowd to "market" to... most addicts need a pretty significant kick to force them into a change, and flyers don't provide any kick and are easily ignored.
I got annoyed when it didn’t have a decent standard library to handle command line flags and arguments.

The examples given so far, are mediocre.

parseopt is incredibly cumbersome.

docopt is an incredibly poor design, that I can’t believe anyone thought this was a good idea.

And failing to have such basic libraries, I realized, this language has a long way to go.

I contemplated building my own library to handle such a need, but why, this doesn’t solve my problem of building something. And if it’s missing such basic libraries, then what else is it missing? The odds were too great, and too risky for me to commit my time to it.
This is common (in principle) in Australia and the UK. Functionally you have a mortgage account and then an “offset” account that is automatically deducted (ie reduces) from interest payments.

More sophisticated accounts also include unsecured credit (credit cards). But that’s less common. Most just opt for automatic payments from the offset.
> New versions of Java have made great progress in the memory area.

Elastic uses huge amounts of memory (30GB is the norm). That's not a problem by itself, but Java garbage collections at this size can often take 10 seconds or more to complete on modern hardware. During this time, the server is basically down, the only solution is to increase timeouts or use replication servers.
> because you could just pick high-quality products from smaller manufacturers by looking at user reviews

Well one of the things big brands - especially in the consumer products industry like the one I work in - do quite religiously is product testing during research and a lot of q/a during manufacturing to eliminate as far as possible risk of safety issues.

We sometimes take competitive products through the same tests and while what some of the small producers sometimes produce wouldn't be illegal, we'd never run with those standards. Bigger competitors tend to be largely fine.
Fsck certificates, period. Make an exception for ecommerce and banking sites but leave the rest of us alone. Certificates have become the equivalent of the UK's national policy of building road humps 50 metres apart to thwart speeding drivers.
I also noticed this, and followed onto his page to find this fun! fact:

> However, after marketing the velocipede, it became apparent that roads were so rutted by carriages that it was hard to balance on the machine for long, so velocipede riders took to the pavements and moved far too quickly, endangering pedestrians. Consequently, authorities in Germany, Great Britain, the United States, and even Calcutta banned its use, which ended its vogue for decades.
I had a similar incident at my home lab:

- I had Windows Server 2016 with few Hyper-V VMs running

- RDP was exposed to the Internet

I remember I was working on that computer, and the screen got locked, like someone pressed Win+L. So, I logged in and saw the folder on my desktop called, if remember correctly "Process Explorer 2" or something similar. The screen got locked on me again after a few seconds.
I immediately realized the computer got infected. But after a few minutes, I had a very important meeting and only came back to investigate after about 3 hours.

Results:

- most of the files on the computer were encrypted. But files, which were in use (should I say "locked"?) - stayed. For example, VM disk images stayed unencrypted (but not metadata). That's how I saved one VM, which was somewhat important for me.

- I had Synology NAS with btrfs connected via SMB to that Windows Server and few folders got encrypted. But because I have daily snapshots - I restored that in few minutes.

After that incident, I reinstalled Windows Server (this time 2019) and started to pay more attention to the security, installed winlogbeats and found, that RDP is getting brute-forces at about 400 000 attempts / week from ~55 000 IPs.
So, I installed fail2ban analog for Windows: https://github.com/DigitalRuby/IPBan and now I'm getting about 600 failed attempts/week

Here is the screenshot of how the number of RDP attempts decreased after enabling IPBan:
https://hsto.org/webt/oq/q1/ir/oqq1irnzeagwsqnbfpe4gbl9f_o.j...
> Under this proposed bill how are they going to prevent illegals from claiming this benefit?

Presumably the proof of residency and other eligibility requirements will take care of that, too the extent they are excluded (though, its worth noting, that undocumented immigrants as such are not excluded, though over 1/4 of California's residents, mainly the poor, are, and that will cover much of the undocumented population.)

E.g., Poor undocumented immigrants are eligible for (limited-scope) Medi-Cal, but as Medi-Cal beneficiaries would then be ineligible for this benefit.
Epic work, well done!

What FPS you getting out of it?
I can't say I spelled every letter in the article but it says so many strange and wrong things I would not give it any benefit of the doubt of the sort of 'but it cannot really actually say that, right?'
Tesseract really baaaad imo
I just don't want to be in the business of maintaining our copy of someone else's toolchain and constantly rebuilding code that my team never edits. For non-java I could be talked into in-tree headers and moving native libs to a private deb/rpm repo.
Reminder to always be very cautious about installing Chrome extensions. Especially ones being touted by new accounts.
Yeah, right - and risk the wrath of your clients when they ask you why their shiny new website can't be accessed because it doesn't implement HTTPS. Face it, folks, the golden age of the internet is long past. Now we have to jump through a bewildering array of "security" hoops just to host a ing web page.
I’m in a field and physical area with a pool so shallow - that it seems like straight up madness to throw questions like that at people and kick them out the door for it.
Common sense says: republicans would NEVER go to a democrat like Rohrabacher for a sensitive job like this.
I think I have spent $1000-1500 on maintenance over the last 5 years or so with ~60k miles, and that's with taking my car to a private shop for a recall fix ($300-400, wife had the car out of town), which accounts for a quarter to half of that amount. I drive a Prius with oil changes every 5000 miles, which amounts to ~$30/change ($5-10/air filter, ~$5/oil filter, ~$20 for synthetic oil), or ~$400. The rest is small, periodic maintenance (starter battery, lights, fluids, etc) and tires (replaced twice).

So I'm looking at ~$0.02-0.03/mile maintenance costs doing most of the work myself, about half or more of which shouldn't be necessary with an EV. I probably could have been under $0.02 if I was more proactive in checking the recall notice.
Agreed. Importing LinkedIn profile is in the works. I like the idea of providing sample questions to pick from in advanced training, added to the roadmap. Cheers.
latest Tesla models don't need a key at all

phone + bluetooth is the primary key

and keycards cost $10
Only when they get it right. Years ago, I got an “amended” return from NYS where they claimed I’d lived in Yonkers at the time. Took way too many hours of my time to clear that up.
I noticed the author had some comments on this approach on an HN thread the day before, "QEMU for iOS". Probably the previous discussions stirred some creative juices and they figured it's a good topic to elaborate upon in blog post form.
https://microcorruption.com/ is also quite fun!
That was my first thought. I’ll have to wait until tomorrow to try it, but I have one super rarely used function ima rare package I’d love to see how other people are using.
Drunk history (Frankenstein episode) for me.
Anyone use Apache iceberg with success?
Chatbots are accessible publicly once created. You can view and interact with them here at https://presbot.com/network/
How is the network layer open when legit SMTP servers with proper SPF records are blacklisted by Google and Microsoft with no accountability. The internet is owned by these organisations. It's a fait accompli. It's only a matter of time before sites not hosted on cloud platforms become blacklisted due to the pitfalls of self-hosted certification. Jeeezus.
Wow that's a brutal list of books... I'm impressed the author could work through all of that in just six years! I feel like math is a subject you need to get back again and again to refresh in order to retain. I got some pretty good grades in linear algebra back in the day... but I don't really remember much about it right now, sigh.

My strategy to get back to study math these days is getting to learn Wolfram Mathematica and Sage. Once I can move around those two, I feel like I will be able to create a tighter feedback loop on whatever Math subject I'm happen to be studying at the time.
There's 6 examples. Out of those, only the first 2 are fakes using the brand name. How exactly is 33% "almost all"?

3 says "Although the YXTDZ booster is not trying to pass itself off as a Mifold by name, it’s clearly a knockoff of the Mifold’s unique design."

4 says it was called "Toddler Airplane Travel Safety Harness" and says it wasn't FAA certified. It doesn't say that it used the brand name.

5 and 6 are authentic products but older stock or a slightly different model number, respectively.
> If you have an irreducible loop in Java bytecode, which is possible, you will never be JITed and will get stuck running 100x slower in the interpreter.

The JVM doesn't JIT any irreducible loops?
I really believe these shady operations are ripe for satire and jabs in advertising. Much in the spirit of this one, just with teeth: https://m.youtube.com/watch?v=5c_Br-mO7Po
This. If we refuse to build luxury housing, people who could afford it will just outbid everyone on whatever we do build, because they need to live somewhere. And it may look like they're springing up everywhere but we're barely treading water, the absolute numbers still aren't keeping up with influx.
I've been working through https://guyinatuxedo.github.io/ while reading "The Shellcoder's Handbook" and Sam Bowne's class notes (https://samsclass.info/127/127_F19.shtml). Highly recommended
> You as a seller are not forced to sell on Amazon.

Sorry, but this argument is just silly.

Here's some food for thought: Birkenstock stopped selling on Amazon[1] due to a delluge of fakes. Now go to Amazon.com and search for Birkenstock. You get a shit ton of results.

So if Birkenstock is not selling them, since they don't sell on Amazon, then who sells them and do those sellers have a right to sell a 3rd party product despite the brand not wishing to sell on the platform at all?

If you can regulate that a pimply faced teenager in Tenessee is ruined for life for downloading 10 songs, then it should surely be possible to regulate a behemoth like Amazon not to allow the sale of crap from dodgy suppliers on its platform.

[1] https://www.cnbc.com/2016/07/20/birkenstock-quits-amazon-in-...
www.checkbot.io

It's a Chrome extension that crawls and tests websites for SEO, speed and security best practices.
Famicom had educational games in East Asia I know Thailand has several Famicom clones with keyboards and joysticks to play educational games on it. Each one costs like $35USD and hooks up to a PAL TV.

The Commodore 64 had an advantage over the Famicom in that it could use cassettes and floppy disks to store the games on and could have them in BASIC or assembly.
Great job getting this in front of people as soon as possible, this is a very polished product for a beta. Nothing worse than sitting on something waiting for it to be perfect or "complete". Excited to see where you go with this!
I also have E*Trade, where is this under?
Initially I heard about Euler's famous Basel problem. Years later I got to solving it for my self (for curiosity and fun). I guess what intrigued me was to think of trigonometric sine as an infinite polynomial...After I worked it out, I had indeed seen the fire in Euler's own eyes...I could see how excited he was at having discovered something amazing...But this got me into hooked into math history. What I really wanted was how people came about discovering the Taylor's series...the intuition behind it. So that is how I came across John Stillwell's book. I have to warn people it is rather academic. But if, you, as a self-learner, is excited about mathematics, I would suggest Norman J Wildberger's youtube lectures on mathematics history. I find the buildup to calculus quite fascinating. J. Stillwell's book was the recommended reference in those lectures...
A comparison to a similarly priced car/mileage/environment would be more interesting.
Tempting indeed, bookmarked for now, will take another look for sure.
Resolution in the frequency domain can be significantly improved over the natural resolution of the DFT (19 Hz in your case). If the fundamental frequency exactly matches one of the DFT bin frequencies, it would mean the frame size is an exact multiple of the period, so the DFT of successive frames would look the same, and there would be no phase shift at the fundamental component. (Or if overlapping frames were analyzed, there would be an expected phase shift in proportion to amount of overlap.) In the more likely case that the fundamental doesn't match a bin frequency, there's a phase shift between successive frames that's proportional to difference between the fundamental and the associated bin frequency. This can be extracted to get a more accurate estimate of the actual fundamental. I wrote a STFT-based chromatic tuner as a hobby project using this technique and it would easily resolve better than .1 Hz changes using 10(ish) ms frame sizes.
If OP is a woman, that advice probably wouldn't do her much good.
'Feels like a reckoning': Tech humbled as US startup boom falters
“Your whole responsibility is to protect your child, and I didn’t before he even had a chance to breathe.”

As a parent, the thought of being in this position, or any position of failing to care for my child, makes me feel sick. This really is a terrible failure. She found the wrong information and perhaps her child died as a direct result.

In British Columbia, Canada, a home birth under these conditions wouldn't be supported or allowed by a midwife. These are people who are typically very pro-homebirth and supported all 3 of my children in home births. I'm disturbed that people were encouraging her to trust herself so far past her due date.

The danger of accepting advice online with matters like this is that generally only an idiot would think they're competent enough to provide adequate advice.

I feel incredibly sad for her and her baby.
In some ways the real story is that the MoH cannot take a decision to let some staff keep working if they are found to bee infected - presumably because they are not easily replacable. It is easier for them to bypass the rule by not testing (or suppressing the results of tests) then having the autonomy to take such a decision on a case-by-case basis.

Seen in this light, this is depressingly familiar and universal. Seemingly strange actions basically necessiated because of bureaucratic inflexibility.
Air Concept – A Journey to the Top
Any particular reason you linked to Teradek instead of the one that you use? I'm very interested in something like this for trade shows and on-site demos.
She is facing legal issues:
https://www.bloomberg.com/news/articles/2020-01-24/elizabeth...

I don't know why her company failed or how she raised her money.
> I refuse to avoid Windows based solely on principle. Life is short, enjoy it.

I don't give fuck one about your "principles" for a similar reason: I can afford to think, so I do.
There are currently 2M Americans without running water
Is this the same thing as a swamp cooler?